:root {
    --corp-identity-color: #b3d8be;
    --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 {
    color: #073B4C;
    background-color: white;
    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 {
    background-color: #073B4C;
    color: white;
    border-radius: 0.25rem;
}

.nav-tabs .nav-item.active, .nav-tabs .nav-item .nav-link:hover, .nav-tabs .nav-item.active .nav-link {
    background-color: #073B4C;
    color: white;
    border-radius: 0.25rem;
}

.nav-link {
    padding: 0.5rem !important;
    color: #073B4C;
}

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

div#logo {
    background-color: #fff;
    border-bottom-right-radius: 40px;
    color: #999;
    padding-right: 30px;
}

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

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


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

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

.header-section,
.footer,
.btn-primary {
    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;
}

.message-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-technical-assistance-section {
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    margin: 2rem 8rem 0 8rem;
}

.message-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: black !important;
    border: none;
}

.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 .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;
}

div.dt-buttons {
    float: left;
}

body > div.container.mb-5 > div.card.mb-5 > div.card-header:first-child {
    background-color: #E3B34C;
}

h1 {
    color: #073B4C;
    font-size: 2.1rem;
    text-align: center;
}

div.card-body.evaluationform {
    border: 1px solid #E3B34C;
}

.evaluatorTextColor {
    color: #073B4C;
}

.evaluatorHr {
    border-top: 2px solid #118AB2;
}

small.form-text.text-muted {
    font-style: italic;
}

* {
    color: #073B4C;
}

.messageNotRead {
    font-weight: bold;
}

*[data-message] {
    cursor: pointer;
}


/*horizontal timeline*/
.timelineContainer {
    width: 100%;
}

.timelineLine {
    height: 6px;
    width: 100%;
    background: #073B4C;
    border-radius: 5px;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
    position: relative;
}
.circle {
    width: 20px;
    height: 20px;
    background: #073B4C;
    border-radius: 15px;
    position: absolute;
    top: -7px;
    border: 3px solid white;
    cursor: pointer;
}
.circle:before {
    content: '';
    width: 10px;
    height: 10px;
    background: white;
    position: absolute;
    border-radius: 100%;
    top: 2px;
    left: 2px;
    display: none;
}
.circle.hover:before, .circle.active:before {
    display: block;
}

.vl2 {
    width: 20px;
    height: 20px;
    position: absolute;
    top: -22px;
}

.vl {
    width: 20px;
    height: 50px;
    position: absolute;
    top: -22px;
    text-align: center;
    border-left: 2px dashed red;
    margin-left: 9px;
    z-index: -100;
}

.vl:hover {
    border-left: 3px dashed red;
    margin-left: 8.5px;
}

a.removeUser {
    cursor:pointer;
}

.reference-person-label {
    font-size: 130%;
    font-weight: bold;
}

fieldset.border-epah {
    border: #b3d8be 2px dashed !important;
}