html, body {
    font-family: Montserrat, serif;
}

body {
    margin-top: 65px;
}

.mt-m7 {
    margin-top: -5rem;
}

.mb-7 {
    margin-bottom: 5rem;
}

.navbar-brand {
    max-width: 250px;
}

#navbar {
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: #f7feff;
    -webkit-box-shadow: 0px -26px 15px 25px #7c7c7c;
    box-shadow: 0px -26px 15px 25px #7C7C7C;
}

#navbarSupportedContent .nav-link {
    padding: 20px 30px;
}

#navbarSupportedContent .nav-link:hover {
    background-color: #8ed5ff;
}

#section-main {
    min-height: 300px;
    background-image: url("/img/main.jpg");
    background-size: cover;
    background-position: center;
    color: black;
}

.main-content {
    background-color: rgba(255, 255, 255, 0.25);
    padding: 3px;
    margin: 5px 5px 15px 5px;
}

#section-search {
    padding-top: 50px;
    padding-bottom: 50px;
    background-image: url("/img/main.jpg");
    background-size: cover;
    background-position: center;
}

#section-main h1 {
    font-weight: bold;
    font-size: 2.5rem;
}

.featured-articles-container {
    background-color: #f0f9ff;
    padding: 10px;
    border-radius: 0 25px 0 25px;
}

.facility-search-input-group {
    -webkit-box-shadow: 0px 0px 40px -12px #000000;
    box-shadow: 0px 0px 40px -12px #000000;
    background-color: white;
    flex-wrap: nowrap;
    border-radius: 10px;
}

.facility-search-input-group .form-floating {
    margin: 8px 4px 8px 8px;
}

.facility-search-input-group .form-floating label, .theme-blue {
    color: #00a1ff !important;
}

.facility-search-input-group #nfz_sos_facility_search_phrase,
.facility-search-input-group .input-group-text {
    border-radius: 0px;
    border: 0px;
}

.facility-search-input-group .input-group-text {
    background-color: white;
    padding: 0px;
    z-index: 1;
    transition: 0.3s;
    border-radius: 10px !important;
}

.facility-search-input-group .input-group-text .btn,
.facility-search-input-group #nfz_sos_facility_search_phrase {
    box-shadow: none;
}

.facility-search-input-group .input-group-text:hover {
    background-color: #00a1ff;
}

.facility-search-input-group .input-group-text:hover .btn {
    color: white;
}

.facility-search-input-group .input-group-text .btn {
    width: 76px;
    height: 76px;
    font-size: 30px;
    color: #00a1ff;
    border-radius: 10px;
}

.info-card {
    padding: 20px;
}

.info-card .info-card-body {
    color: white;
    background-color: #00a1ff;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 40px -12px #000000;
    box-shadow: 0px 0px 40px -12px #000000;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    height: 100%;
}

.info-card .info-card-body>* {
    width: 100%;
}

.info-card .info-card-icon {
    font-size: 40px;
    text-align: center;
}

.header-pulse, .header-underline, .header, .header-background {
    font-weight: bold;
}

.header-background {
    background-color: #f0f9ff;
    padding: 10px;
    border-radius: 0 25px 0 25px;
}

.header-pulse:after {
    display: block;
    content: url("/img/pulse.png");
}

.header-underline:after {
    margin-top: 4px;
    content: '';
    height: 3px;
    background-color: #00a1ff;
    width: 60px;
    display: block;
}

.article.card {
    -webkit-box-shadow: 0px 0px 30px -14px #000000;
    box-shadow: 0px 0px 30px -14px #000000;
    transition: 0.3s;
    border: none;
}

a:hover > .article.card {
    -webkit-box-shadow: 0px 0px 30px -14px #00a1ff;
    box-shadow: 0px 0px 30px -14px #00a1ff;
}

.article.card, .article.card .card-img-top {
    border-radius: 0px;
}

.article.card .article-cover {
    aspect-ratio: 2 / 1;
    background-position: center;
    background-size: cover;
}

.articles-index-left, .articles-index-right {
    margin-bottom: -99999px !important;
    padding-bottom: 99999px !important;
}

.article.card h2 {
    color: white;
    font-size: 1rem;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* after 3 line show ... */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}

.article-url {
    text-decoration: none;
}

.article.card .card-body {
}

#section-footer {
    background-color: #1b87c7;
}

.white {
    color: white;
}

.header-underline.white:after {
    background-color: white;
}

.weigh-normal {
    font-weight: normal;
}


.footer-links a:hover {
    text-decoration: underline;
}

#section-credits {
    text-align: center;
    padding: 15px;
    background-color: #1b87c7;
    color: white;
}

.specialization-label, .locality-label {
    text-align: center;
    padding: 10px;
    word-break: break-word;
    transition: 0.3s ease-in-out;
}

#section-specializations a, #section-specialization a, #section-benefit a {
    color: black;
    text-decoration: none;
}

.specialization-label:hover {
    background-color: #f0faff;
}

.specialization-row a, .locality-row a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.article-dots {
    font-size: 2.5em;
    color: #bebebe;
    text-align: center;
}
.header-medium {
    font-size: 1.7rem;
}

.header-small {
    font-size: 1em;
}

.article-container h1,
.article-container h2,
.article-container h3,
.article-container h4 {
    font-weight: bold;
}

.article-container h2 {
    font-size: 1.5rem;
}

.article-container h3 {
    font-size: 1.3rem;
}

.article-container h4 {
    font-size: 1.1rem;
}

.article .card-body {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: linear-gradient(
            0deg, rgba(0,0,0,0.7371323529411764) 0%, rgba(0,0,0,0.4962359943977591) 60%, rgba(0,212,255,0) 100%
    );
}

@media (min-width: 768px) {
    .articles-index-right .card-title {
        font-size: 0.9rem !important;
        margin-bottom: 0px !important;
    }

    .articles-index-right .card-body {
        padding: 0.5rem 0.5rem;
    }

    .articles-index-left .article {
        height: 100% !important;
    }

    .articles-index-left .article.card h2 {
        font-size: 1.4rem;
    }

    .articles-index-left .article-cover {
        width: 100% !important;
        height: 100% !important;
    }
}

.breadcrumbs {
    background-color: #e5f4ff;
    padding: 7px 0px;
}

.breadcrumbs a {
    text-decoration: none;
    font-size: 0.9em;
    margin-bottom: 5px;
    width: 100%;
    display: block;
}

.facility {
    padding: 10px;
    margin-bottom: 20px;
    font-size: 0.8em;
    background-color: #f0f9ff;
    padding: 10px;
    border-radius: 0 25px 0 25px;}

.provider-name {
    color: #005279;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.facility-address-header {
    margin-top: 10px;
    font-weight: bold;
    font-size: 1em;
}

.facility-url:hover > div {
    text-decoration: underline;
}

.facility-address-inner {
    margin-left: 16px;
}

.facility-place, .facility-specialization, .facility-benefit {
    margin-bottom: 2px;
}

.facility-more-info {
    font-size: 0.8em;
}

.statistics-header {
    font-size: 1.1em;
    text-align: center;
}

.statistics-case {
    margin-top: 10px;
}

.statistics-case-inner {
    padding-left: 16px;
}

.statistics-case-details {
    font-size: 0.8em;
    margin-top: 2px;
}

.facility-review {
    background-color: white;
    padding: 10px;
    border: 1px solid #f1f1f1;
    border-radius: 5px;
    margin-bottom: 5px;
}

.facility-review-title {
    font-weight: bold;
}

.facility-review-content {
    padding-left: 5px;
    padding-top: 5px;
}

.facility-review-content pre {
    font-size: 1.1em;
}

.ui-tooltip {
    background: white;
}

.ui-autocomplete, .search-spinner {
    border-radius: 0 0 10px 10px;
}

.ui-autocomplete, .ui-widget.ui-widget-content, .search-spinner {
    background: white;
    border-top: 0;
    border-bottom: 1px solid #f8f8f8;
    border-left: 1px solid #f8f8f8;
    border-right: 1px solid #f8f8f8;
    overflow: hidden;
    -webkit-box-shadow: 0px 5px 6px 2px rgba(0,0,0,0.24);
    box-shadow: 0px 5px 6px 2px rgba(0,0,0,0.24);
}

.ui-autocomplete .ui-menu-item-wrapper,
.ui-autocomplete .ui-menu-item-wrapper:hover {
    border: 0 !important;
    padding: 10px 5px;
}

.ui-autocomplete .ui-menu-item {
    display: flex;
    width: 100%;
    height: auto;
}

.ui-autocomplete .ui-menu-item-wrapper:hover {
    background: #f8f8f8;
    color: black;
}

.autocomplete-result {
    display: flex;
    width: 100%;
    height: 100%;
    font-family: Poppins, serif;
}

.autocomplete-result .left {
    width: 75%;
    font-size: 1em;
}

.autocomplete-result .right {
    width: 25%;
    color: grey;
    text-align: right;
    font-size: 0.8em;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: 0;
    background: white;
    font-weight: normal;
    color: black;
}

.form-check-label.required a {
    color: #00a1ff !important;
    text-decoration: underline !important;
}

@media (max-width: 767px) {

    .autocomplete-result .left {
        width: 70%;
        font-size: 1em;
    }

    .autocomplete-result .right {
        width: 30%;
    }

    .provider-name {
        text-align: center;
    }

    #section-main {
        min-height: 75vh;
        height: auto;
    }

    /*.article.card {*/
    /*    flex-direction: row;*/
    /*    height: 13vw;*/
    /*    min-height: 120px;*/
    /*}*/

    /*.article.card h2 {*/
    /*    font-size: 1.2rem;*/
    /*}*/

    /*.article.card .card-body {*/
    /*    width: 60%*/
    /*}*/

    /*.article.card .article-cover {*/
    /*    aspect-ratio: 3 / 2;*/
    /*    width: 40%;*/
    /*}*/

    /*.article.card h2 {*/
    /*    -webkit-line-clamp: 4; !* after 3 line show ... *!*/
    /*}*/

    #section-footer {
        text-align: center;
    }

    #section-footer .header-underline:after {
        margin: 4px auto 0 auto;
    }

    .footer-links li {
        padding-bottom: 10px;
    }
}

.facility-search-input-group #nfz_sos_facility_search_phrase:focus::placeholder {
    color: gray;
}

.search-spinner-container {
    display: block;
    width: 100%;
    position: relative;
    top: -10px;
    z-index: 10000;
}

.search-spinner {
    position: absolute;
    background-color: white;
    padding: 10px 5px;
    text-align: center;
    width: 100%;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 25px;
    height: 25px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 25px;
    height: 25px;
    margin: 1px;
    border: 3px solid #00a1ff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #00a1ff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.footer-links a {
    color: white !important;
    text-decoration: none;
}
