:root {
    --corp-identity-color: #2d2c2e;
    --secondary-color:#636262;
    --accent-color: #f8e382;
    --light-color: #D6B899;
    --button-color: #69a656;
    --link-color: rgba(0,0,0,.5);
    --input-border-color: #ced4da;
    --input-border-radius: .25rem;
}

@media only screen and (min-width : 1200px) {
    .container { max-width: 1500px; }
}

.navbar-dark .navbar-nav .show > .nav-link {
    color: #212529;
}

.navbar .navbar-nav .nav-item {
    white-space: nowrap;
    margin: 0 0 0 0.5em;
    border-radius: 0.25rem;
}

.navbar .navbar-nav .nav-item.active, .navbar .navbar-nav .nav-item .nav-link:hover,.navbar .navbar-nav .nav-item.active .nav-link, .nav-tabs .nav-item.active, .nav-tabs .nav-item .nav-link:hover,.nav-tabs .nav-item.active .nav-link  {
    background-color:var(--secondary-color);
    color: var(--accent-color) !important;
    border-radius: 0.25rem;
}

.nav-link{
    color: var(--corp-identity-color) !important;
    padding: 0.5rem !important;
}

.nav-tabs .nav-link.disabled {
    color: #ddd;
}

.nav-item {
    background-color: var(--accent-color) !important;
}

div#logo {
    color: #999;
    padding-right: 30px;
}

@media (max-width: 1400px) {
    div#logo {
        margin-left:-180px;
        border-bottom-right-radius: 20px;
        padding-right: 0;
    }
}

@media (max-width: 1400px) {
    ul.navbar-nav {
        flex-wrap: wrap;
    }
    .navbar .navbar-nav .nav-item  {
        margin-right: 1em;
        margin-top:1em;
    }
}

@media (min-width: 1000px) {
    div#mainNavbar {
        margin-top:-145px;
    }
}


html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 80px; /* Margin bottom by footer height */
}

.header-section {
    padding-bottom: 1rem;
}

.header-section,
.footer
{
    background-color: var(--corp-identity-color) !important;
}

.feedback-form {
    margin-top: 2rem !important;
}

.input-center-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.input-center-container input {
    margin: 0 1rem;
}

#stories-headline {
    text-align: center;
    font-size: 3rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#stories-row {
    place-content: center;
}

.story-text {
    font-size: 1.2rem;
}

.comment-section {
    flex-direction: column;
    align-items: center;
    border-top: 0.4rem solid gray;
    padding: 2rem;
    border-radius: 0.25rem;
    margin: 2rem 8rem 0 8rem;
}

.project-diary-section {
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    margin: 2rem 8rem 0 8rem;
}

.comment-section > textarea {
    width: 50%;
}

.input-center-container input {
    width: 20rem;
    align-self: center;
}

.input-center-container > div {
    display: flex;
    flex-direction: column;
}

.datepicker-input{
    padding: 0.3rem 1rem;
    border: 1px solid var(--input-border-color);
    border-radius: var(--input-border-radius);
}
.datepicker-toggle {
    display: inline-block;
    position: relative;
    width: 18px;
    height: 19px;
}
.datepicker-toggle-button {
    background-image: url('data:image/svg+xml;base64,...');
}

.btn-primary,
.custom-link {
    color: white;
    border: none;
    background-color: var(--button-color);
}

.btn-primary:hover {
    background-color: var(--light-color);
    color: var(--corp-identity-color);
}

.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:focus {
    background-color: var(--corp-identity-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--corp-identity-color), 0.2);
}

.custom-text-area {
    margin-bottom: 2rem !important;
}

.projects-list > div {
    padding: 2rem 0;
}


.custom-submit-button {
    margin: 1rem 0;
    padding: 0.75rem 1.5rem;
    border: 1px solid gray;
    color: var(--link-color) !important;
}

.submit-btn-container {
    display: flex;
    justify-content: right;
}

.flex-button-container {
width: fit-content;
}

.flex-button-container > a {
    margin: 2rem;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}
.footer {
    display: flex;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px; /* Set the fixed height of the footer here */
    line-height: 60px; /* Vertically center the text there */
    /*background-color: #f5f5f5;*/
}

/* hide select2 options instead of greying them out */
.select2-container .select2-results__option[aria-disabled=true] {
    display: none;
}

label.required:after, fieldset legend.required:after {
    content:" *";
    color: red;
}

/* prevent required asterisk on each radio option */
input[type='radio'] + label.required:after {
    content:"";
}

/* remove legen padding top so upload labels and normal labels are on the same vertical line */
fieldset legend.col-form-label {
    padding-top: 0;
}


/* bootstrap stepper see https://mdbootstrap.com/snippets/jquery/mdbootstrap/949845#css-tab-view */
.steps-form {
    display: table;
    width: 100%;
    position: relative;
}

.steps-form .steps-row {
    display: table-row;
}

.steps-form .steps-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
}

.steps-form .steps-row .steps-step {
    display: table-cell;
    text-align: center;
    position: relative;
}

.steps-form .steps-row .steps-step p {
    margin-top: 0.5rem;
}

.steps-form .steps-row .steps-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.steps-form .steps-row .steps-step .btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
    margin-top: 0;
    -webkit-appearance: initial;
}

.language-switcher {

}

.language-switcher .flag-icon {
    width: 1.5em;
    height: 1.0em;
}

.language-switcher .dropdown-menu {
    min-width: initial;
}

.form-section-title{
    font-size: 1.5rem;
    font-weight: bolder;
}
.district-heating-situation-description-table-title{
    font-size: 1.2rem;
    font-weight: bolder;
}

td > .form-group {
    margin-bottom: 0;
}
.coordinates-label{
    font-weight: bolder;
}

.strong {
    font-weight: bold;
}
.form-section-subtitle{
    font-size: 1.2rem;
    font-weight: bolder;
}

.form-control.disabled, .form-control.readonly {
    background-color: #e9ecef;
    opacity: 1;
    pointer-events: none;
}

/* custom bootstrap file browse button translations */
.custom-file-input:lang(az) ~ .custom-file-label::after {
    content: "Baxın";
}
.custom-file-input:lang(be) ~ .custom-file-label::after {
    content: "Агляд";
}
.custom-file-input:lang(hy) ~ .custom-file-label::after {
    content: "Դիտել";
}
.custom-file-input:lang(ka) ~ .custom-file-label::after {
    content: "დათვალიერება";
}
.custom-file-input:lang(ro) ~ .custom-file-label::after {
    content: "Naviga";
}
.custom-file-input:lang(uk) ~ .custom-file-label::after {
    content: "Перегляньте";
}

h1 {
    font-size: 2rem;
}
h2 {
    font-size: 1.6rem;
}
h3 {
    font-size: 1.3rem;
}
h4 {
    font-size: 1.2rem;
}

.card-header a[data-toggle="collapse"] {
    color: #000;
}

.card-header h3 {
    margin: 0;
    /* match the line height of a small button */
    line-height: 29px;
}

/* https://stackoverflow.com/a/50931961/2424814 */
.btn-group-xs > .btn, .btn-xs {
    padding: .25rem .4rem;
    font-size: .875rem;
    line-height: .5;
    border-radius: .2rem;
}

/* animate chevron rotation on toggle */
[data-toggle="collapse"] .fas {
    transition: all 0.5s ease;
}

.landingpage {
    color: #073B4C;
    background-color: #E3B34C;
}

a.fc-col-header-cell-cushion:hover,
a.fc-daygrid-day-number:hover {
    text-decoration: none;
    color:#007bff;
}

#calendar > div.fc-view-harness.fc-view-harness-active > div > table > tbody > tr > td > div > div > div > table > tbody > tr:nth-child(4),
#calendar > div.fc-view-harness.fc-view-harness-active > div > table > tbody > tr > td > div > div > div > table > tbody > tr:nth-child(5)
{
    display:none;

}

#calendar > div.fc-view-harness.fc-view-harness-active > div > table {
    height:60%;
}

div#register fieldset legend {
    color: #073B4C;
    font-weight:bold;
    font-size:120%;
}

form[name=project] div.form-group small {
    margin-top:-1.1rem;
}

.steps-heading {
    margin-left: 1rem;
}

.steps-body {
    margin-left: 2rem;
}

#smart-overview-table .SMART-S {
    background-color: darkblue;
    color: white;
    text-align:center;
}
#smart-overview-table .SMART-M {
    background-color: royalblue;
    color: white;
    text-align:center;
}
#smart-overview-table .SMART-A {
    background-color: dodgerblue;
    color: white;
    text-align:center;
}
#smart-overview-table .SMART-R {
    background-color: lightskyblue;
    text-align:center;
}
#smart-overview-table .SMART-T {
    background-color: lightblue;
    text-align:center;
}

.smart-table-hidden {
    display: none;
}

@media print {
    .noPrint{
        display:none;
    }
}