.mt-60 {
    margin-top: 60px;
}

.mt-180 {
    margin-top: 180px;
}

body {
    font-family: 'Open Sans', sans-serif;
}

a {
    text-decoration: none !important;
    font-weight: 400;
    color: #0a9ebb !important;
}

.anchor {
    offset-anchor: 60px;
}

section {
    margin-bottom: 120px;
}

.container {
    font-family: 'Open Sans', sans-serif;
}

.navbar {
    position: absolute;
    width: 100%;
    margin-bottom: -56px;
    top: -56px;
    z-index: 10;
}

.navbar.scroll {
    position: fixed;
    top: 0;
    box-shadow: #cdcdcd 1px 1px 4px 0;
}

.header-information {
    margin-bottom: 56px;
    color: #0a9ebb;
    border-bottom: 1px solid rgba(12, 184, 182, 0.4);
    top: 0; /* Stay on top */
    width: 100%; /* Full width */
    transition: top 0.3s; /* Transition effect when sliding down (and up) */
    padding: 0.4rem;
}

/*  Components   */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.section-header > h1 {
    margin: 0;
}

.section-description {
    font-size: 15px;
    line-height: 1.6em;
}

.section-subheader {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 21px;
    margin-bottom: 20px;
}

div.divider {
    width: 150px;
    height: 2px;
    margin: 20px;
    background-color: #0a9ebb;
}


/*  Title  */
.title_with_img {
    position: relative;
    margin-bottom: 9rem;
    height: 90vh;
    min-height: 800px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url('/img/imd_hospitalwide_banner2.jpg');
}

.title_text-block {
    width: 60%;
    position: absolute;
    top: 10rem;
    /*background-color: rgba(54, 55, 55, 0.75);*/
    color: black;
    padding: 30px 20px 25px;
}

.title-heading {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.3;
}

.title-sud-heading {
    font-size: 18px;
    line-height: 1.6em;
    margin-bottom: 42px;
}

@media screen and (max-width: 1455px) {
    .title_text-block {
        top: 10rem;
    }
}

@media screen and (max-width: 1220px) {
    .title_text-block {
        top: 1rem;
    }
}

.green-btn {
    background-color: #0cb8b6 !important;
    border-color: #0cb8b6 !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    padding: 8px 20px !important;
}

.green-btn:hover {
    background-color: #0a6260 !important;
    border-color: #5C898B !important;
}

/*    3 cards            */

.info-cards {
    display: flex;
    border: 1px solid #c7c7c78f;
    border-radius: 12px;
    transition: all 0.5s;
    padding: 30px;
    flex-direction: column;
    align-items: center;
}

.info-cards:hover {
    border-color: white;
    box-shadow: 0 0 15px 0px #c7c7c78f;
}

.card-icon-block {
    background: #0a9ebb;
    border-radius: 50%;
    width: 90px;
    padding: 20px;
    margin-bottom: 20px;
}

.card-icon-block.bg-red {
    background: #fcecea;
}

.card-icon-block.bg-purple {
    background: #f0eefe;
}

.card-icon-block.bg-green {
    background: #ebf7ec;
}

.card-title {
    font-weight: 600;
    line-height: 1.2em;
    font-size: 20px;
    margin-bottom: 10px;
}


/*      head            */

.contact_header {
    color: white;
    font-weight: bold;
    font-size: 32px;

}


/*  content   */
.about-us {
    padding-bottom: 10px;
    text-align: center;
    width: fit-content;
}

.about_text {
    font-size: 16px;
    line-height: 24px;
}

.about_img {
    width: 100%;
    height: auto;
}

.operation-options-block {
    background-image: linear-gradient(90deg, #5C898B 32%, transparent)
}

.oper-option {
    background: none !important;
}

.oper-option.active {
    background: #5C898B !important;
}

.operation-description {
    display: none;
}

.operation-description.active {
    display: flex;
}


@media screen  and (max-width: 992px) {
    .about_text {
        margin-top: 2rem;
    }

    .about_img {
        width: 100%;
        height: auto;
    }
}


.no-button:after, .no-button:before {
    background: none !important;
}

/* team_block   */
.carousel {
    margin-top: 2rem;
}

.carousel-control-next .carousel-control-prev {
    color: black;
}

.carousel_photo > img {
    width: 20rem;
}

.temp {
    position: absolute;
    top: 16rem;
    left: 77%;
    background-color: rgba(54, 55, 55, 0.75);
    color: white;
    padding: 30px 20px 25px;
}


/* TEAM -------------------------------------------*/
.person-card {
    padding: 0 20px;
}

.person-border {
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    overflow: hidden;
}

.person-avatar-block {
    width: 100%;
    height: 320px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.person-avatar-block > img {
    width: 100%;
}

.person-name {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
}

.person-about {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
}

.person-occupation {
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    margin-top: 10px;
}

.slick-arrow {
    border: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 0 2px 1px #00000042;
}

.slick-prev,
.slick-next {
    outline: none !important;
    background: #0cb8b6b5 !important;
}

/* END TEAM -------------------------------------------*/

.accordion-medgreen .accordion-item {
    border-color: #089ebb;
}

.accordion-item {
    scroll-margin: 60px;
}

.accordion-medgreen .accordion-button.collapsed {
    box-shadow: none;
}

.accordion-medgreen .accordion-button:not(.collapsed) {
    color: black;
    background-color: #089ebb3b;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.accordion-medgreen li::marker {
    color: #0cb8b6;
}

/* Анімовані кнопки акордеону — Захворювання та процедури */
.accordion-medgreen .accordion-button {
    position: relative;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.25s ease, padding-left 0.3s ease;
}

.accordion-medgreen .accordion-button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #0cb8b6;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.accordion-medgreen .accordion-button:hover {
    background-color: #0cb8b612;
    color: #0a9491;
    padding-left: 1.6rem;
}

.accordion-medgreen .accordion-button:hover::before,
.accordion-medgreen .accordion-button:not(.collapsed)::before {
    transform: scaleY(1);
}

.accordion-medgreen .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230cb8b6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-medgreen .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230cb8b6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-medgreen .accordion-collapse.show .accordion-body {
    animation: accBodyIn 0.4s ease;
}

@keyframes accBodyIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* SERVICES -------------------------------------------*/
.service-switch-block {
    flex: 1 1 0px;
}

@media screen and (max-width: 1220px) {
    .service-switch-block.large {
        flex: none;
    }
}


.services-buttons-block {
    margin-bottom: 30px;
}

.service-switch {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    background: #9e9e9e;
    transition: background-color 0.5s;
}

.service-switch.active {
    background-color: black;
}

.service-switch.active > .service-name,
.service-switch.active > .service-icon {
    color: white;
    fill: white;
    filter: brightness(0) invert(1);
}

.service-switch.cyan {
    background-color: #0cb8b61a
}

.service-switch.active.cyan {
    background-color: #0cb8b6
}

.service-switch.red {
    background-color: #e6492d1a
}

.service-switch.active.red {
    background-color: #e6492d
}

.service-switch.green {
    background-color: #37af471a
}

.service-switch.active.green {
    background-color: #37af47
}

.service-switch.blue {
    background-color: #1665d81a
}

.service-switch.active.blue {
    background-color: #1665d8
}

.service-switch.yellow {
    background-color: #f6ab2f1a
}

.service-switch.active.yellow {
    background-color: #f6ab2f
}

.service-switch.grey {
    background-color: #9ea0a51a
}

.service-switch.active.grey {
    background-color: #9ea0a5
}

.service-icon {
    width: 50px;
    margin-bottom: 8px;
}

.service-name {
    font-weight: 600;
    text-transform: capitalize;
    font-size: 15px;
}

.service-description {
    display: none;
    justify-content: space-between;
}

.service-description.active {
    display: flex;
}

.service-image > img {
    width: 100%;
}

.service-header {
}

.service-subheader {
    font-size: 15px;
    line-height: 1.6em;
    margin-bottom: 17px;
}

.service-p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6em;
}


.text-cloud {
    border: 1px solid #0cb8b6;
    background-color: #0cb8b6;
    color: white;
    font-weight: 600;
    padding: 12px 8px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.15;
}

.list-name {
    border-bottom: 2px solid #0a9ebb;
    font-size: 20px;
    width: fit-content;
    font-size: 20px;
    margin-bottom: 8px;
}

.service-list > li::marker,
.place-list > li::marker {
    color: #0a9ebb;
    font-size: 20px;
}

.clouds-block > .text-cloud {
    margin-left: 20px;
    margin-right: 20px;
}

.clouds-block > .text-cloud:first-child,
.clouds-block > .text-cloud:last-child {
    margin-right: 0;
}

/*   map     */
#map {
    height: 400px;
    /* The height is 400 pixels */
    width: 100%;
    /* The width is the width of the web page */
}

/*  footer   */
footer {
    padding-top: 2rem;
    background-color: #2e363b;
    color: white;
}

.contact_item {
    margin-top: 1rem;
    text-decoration: none;
    color: white;
    color: white;
}

.contact_item > img {
    width: 18px;
}

.contact_item--fb {
    margin-left: 16px;
}

.contact_item--fb svg {
    vertical-align: middle;
    margin-right: 5px;
    margin-top: -2px;
}

.place_text b {
    color: #0a9ebb;
}


@media screen and (max-width: 768px) {
    .title_text-block {
        width: 100%;
        top: 0;
        height: 100%;
        backdrop-filter: blur(4px);
    }

    .title-heading {
        font-size: 23px;
        font-weight: 600;
        line-height: 1.3;
    }

    .header-information {
        height: 0;
        padding: 0;
    }

    .title-sud-heading {
        font-size: 16px;
    }

    .title_with_img {
        height: 50vh;
        min-height: 410px;
        margin-bottom: 5rem;
    }
}

/* FOOTER -------------------------------------------*/
.site-footer {
    background: #1a2e35;
    color: #cdd8da;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-logo {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    border: 2px solid #0cb8b6;
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
}

.footer-tagline {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #0cb8b6;
}

.footer-col-title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.7);
}

.footer-contact-list li svg {
    color: #0cb8b6;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-list a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-list a:hover {
    color: #0cb8b6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-copy {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    margin: 0;
}

.footer-fb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-fb:hover {
    color: #0cb8b6;
}

.footer-qr {
    max-width: 200px;
}

.footer-qr-frame {
    position: relative;
    width: 180px;
    max-width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
}

.footer-qr-img {
    width: 100%;
    display: block;
}

.footer-qr-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 23%;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 0 0 3px #fff;
    display: flex;
}

.footer-qr-logo img {
    width: 100%;
    display: block;
}

.footer-qr-cap {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.4;
    margin: 10px 0 0;
}

@media (max-width: 991px) {
    .footer-qr {
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .footer-bottom .text-md-end {
        text-align: left !important;
        margin-top: 10px;
    }
}
/* END FOOTER -------------------------------------------*/

/* GO TO TOP -------------------------------------------*/
.go-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #0cb8b6;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}

.go-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-top:hover {
    background: #0a8c8a;
}
/* END GO TO TOP -------------------------------------------*/