html {
    scroll-behavior: smooth;
}

.space {
    scroll-margin-top: 120px; /* колкото е височината на менюто ти */
}

.intro-hp h1 + p {
    color: #002664;
    font-weight: 400;
}

h1.heading {
    font-size: 48px;
    line-height: 1.2;
}

.intro {
    margin: -51px 0 0 0;
    padding: 130px 0;
}


.intro.intro-fak {
    padding: 130px 0 50px 0;
}

.intro-hp {
    background: url(/build/images/health-portal-intro-bgr.0d288c68.jpg) center right no-repeat;
    background-size: cover;
}

.intro-ps {
    background: url(/build/images/patient-services-intro-bgr.4c498b4b.jpg) center center no-repeat;
    background-size: cover;
}

.intro-hp-nav {
    display: -webkit-box;
    display: flex;
    gap: 10px;
}


/* CONSULTATION */
.consultation .consultation-box {
    padding: 70px 100px;
    border-radius: 24px;
    background: url(/build/images/consultation-bgr.fe35d3c8.jpg) center no-repeat;
    background-size: cover;
}

.consultation .consultation-box .heading {
    text-align: left;
    margin: 0 0 10px 0;
}

.consultation .consultation-box p {
    color: #4a4a49;
}


.video iframe {
    border-radius: 24px;
}

.hidden-on-hp {
    display: none;
}

.blog-list-hp.space {
    padding: 0;
}

.blog-list-hp .blog-item {
    margin: 0 !important;
}

.blog-list-hp.blog-list .tab-content {
    margin: 0;
}


.more-care .care-item {
    display: block;
    background-color: #F8F9FA;
    border-radius: 24px;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.more-care .care-item:after {
    content: "";
    background: url(/build/images/arrow_next.36202c28.svg) center no-repeat;
    background-size: 100%;
    width: 25px;
    height: 25px;
    position: absolute;
    right: 25px;
    bottom: 15px;

    -webkit-transition: all .4s;

    transition: all .4s;
}

.more-care .care-item:hover:after {
    right: 20px;
}

.more-care .care-item .lab {
    color: #002664;
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    text-transform: uppercase;
    width: 80%;
}


.hp-nav {
    top: 150px;
    z-index: 1;
}

.hp-nav .hp-nav-link {
    padding: 20px;
    border-radius: 24px;
    background-color: #F8F9FA;
    margin-bottom: 20px;
    display: block;

    cursor: pointer;
    -webkit-transition: all .4s;
    transition: all .4s;
}

.hp-nav .hp-nav-link .lab {
    color: #002664;
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    position: relative;
    padding: 0 20px 0 0;
}

.hp-nav .hp-nav-link.active .lab {
    margin: 0 0 15px 0;
}

.hp-nav .hp-nav-link .lab img {
    height: 17px;
    position: relative;
    top: -2px;
    margin-right: 6px;
}

.hp-nav .hp-nav-link .lab:after {
    content: "";
    background: url(/build/images/arrow_next.36202c28.svg) center no-repeat;
    background-size: 100%;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 3px;
    right: 0;
    -webkit-transition: all .4s;
    transition: all .4s;
}

.hp-nav .hp-nav-link .lab:hover:after {
    right: -5px;
}

.hp-nav .hp-nav-link .val {
    height: 0;
    overflow: hidden;
}

.hp-nav .hp-nav-link.active .val {
    height: auto;
}

.hp-nav .hp-nav-link.active,
.hp-nav .hp-nav-link:hover {
    box-shadow: 8px 10px 55px -4px #00173D1F;
    background-color: #fff;
}

.hp-nav .hp-nav-link:hover {
    background-color: #fff;
}


.first-aid-kit img {
    border-radius: 24px;
}


.hp-videos .hp-video-item {
    margin: 0 0 30px 0;
}

.hp-videos .hp-video-item:hover h3 a {
    color: #002664;
}

.hp-videos .hp-video-item .video-img {
    position: relative;
    margin: 0 0 15px 0;
    display: block;
}

.hp-videos .hp-video-item .video-img .video-poster {
    border-radius: 24px;
}

.hp-videos .hp-video-item .video-img .video-play-icn {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    -webkit-transition: -webkit-transform 0.4s ease;
    transition: -webkit-transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}

/* Анимация при ховър */
.hp-videos .hp-video-item:hover .video-img .video-play-icn {
    -webkit-animation: zoomAndShake 0.6s ease forwards;
            animation: zoomAndShake 0.6s ease forwards;
}

/* Дефиниране на анимацията */
@-webkit-keyframes zoomAndShake {
    0% {
        -webkit-transform: translate(-50%, -50%) scale(1) rotate(0deg);
                transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    30% {
        -webkit-transform: translate(-50%, -50%) scale(1.05) rotate(-2deg);
                transform: translate(-50%, -50%) scale(1.05) rotate(-2deg);
    }
    60% {
        -webkit-transform: translate(-50%, -50%) scale(1.07) rotate(2deg);
                transform: translate(-50%, -50%) scale(1.07) rotate(2deg);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) scale(1.05) rotate(0deg);
                transform: translate(-50%, -50%) scale(1.05) rotate(0deg);
    }
}
@keyframes zoomAndShake {
    0% {
        -webkit-transform: translate(-50%, -50%) scale(1) rotate(0deg);
                transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    30% {
        -webkit-transform: translate(-50%, -50%) scale(1.05) rotate(-2deg);
                transform: translate(-50%, -50%) scale(1.05) rotate(-2deg);
    }
    60% {
        -webkit-transform: translate(-50%, -50%) scale(1.07) rotate(2deg);
                transform: translate(-50%, -50%) scale(1.07) rotate(2deg);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) scale(1.05) rotate(0deg);
                transform: translate(-50%, -50%) scale(1.05) rotate(0deg);
    }
}

.hp-videos .hp-video-item .video-meta {
    display: -webkit-box;
    display: flex;
}

.hp-videos .hp-video-item .video-meta .meta-val {
    border-right: 1px solid #DADADA;
    padding: 0 20px;
}

.hp-videos .hp-video-item .video-meta .meta-val:first-of-type {
    padding-left: 0;
}

.hp-videos .hp-video-item .video-meta .meta-val:last-of-type {
    border-right: 0;
    padding-right: 0;
}

.hp-videos .hp-video-item .video-info h3 a {
    height: 24px;
    position: relative;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 1;
    margin: 0 0 10px 0;
}


.blocks {
    background: url(/build/images/block-fragment.4c5cf8fd.svg) left top no-repeat;
    background-size: 30%;
    position: relative;
    overflow: hidden;
}

.block-item {
    background-color: #fff;
    box-shadow: 8px 10px 55px -4px #00173D1F;
    border-radius: 24px;
    margin: 40px 0 45px 0;
    padding: 25px;
    text-align: center;
}

.block-item h3 {
    color: #002664;
}

.block-item img {
    width: inherit !important;
    height: 70px;
    margin: -45px auto 10px auto;
}

.block-item p {
    margin: 0;
}


.where-is-fak .fak-item {
    box-shadow: 8px 10px 55px -4px #00173D1F;
    border-radius: 0 0 24px 24px;
}

.where-is-fak .lab {
    color: #002664;
    font-size: 18px;
    line-height: 24px;
    text-transform: uppercase;
}

.where-is-fak ul {
    margin: 0;
}


.what-is-fak {
    background-color: #EEF2F7;
    padding: 100px;
    border-radius: 24px;
}

.what-is-fak img {
    border-radius: 24px;
}


.initiative-row {
    padding: 30px 0;
    border-bottom: 1px solid #DADADA;
}

.initiative-row:first-of-type {
    padding-top: 0;
}

.initiative-row h3 a {
    color: #002664;
}

.initiative-row p {
    font-size: 12px;
    line-height: 16px;
    color: #4A4A49;
}

.initiative-row .loc {
    color: #002664;
    font-weight: bold;
}

.initiative-row .day {
    color: #002664;
    font-size: 22px;
    line-height: 30px;
    font-weight: bold;
}

.initiative-row .month {
    color: #002664;
    font-size: 18px;
    line-height: 24px;
}

.initiative-row .initiative-img {
    border-radius: 24px;
}

.ps-service-modal {
    padding: 10px;
    background-color: #fff;
    border-radius: 12px;
}

.ps-service-modal h2 {
    color: #002664;
    padding: 10px 0 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #DADADA;
}

.ps-service-modal h3 {
    color: #002664;
}

.ps-service-modal .offered {
    padding: 15px;
    background-color: #EEF2F7;
    border-radius: 24px;
}

.ps-service-modal .offered ul {
    padding: 0;
    margin: 0 0 15px 0;
    list-style: none;
}

.ps-service-modal .offered ul li {
    margin: 0 0 3px 0;
}

.ps-service-modal .offered ul li img {
    height: 20px;
    margin-right: 2px;
    position: relative;
    top: -1px;
}

.ps-service-modal .loc {
    display: block;
    background-color: #fff;
    box-shadow: 0 4px 16px -4px #00266414;
    padding: 15px;
    border-radius: 12px;
    margin: 0 0 15px 0;
}

.ps-service-modal .loc:last-of-type {
    margin-bottom: 0;
}

.ps-service-modal .loc img {
    height: 20px;
    position: relative;
    top: -1px;
}


@media only screen and (min-width: 1600px) and (max-width: 2000px) {
    .useful-blocks .block-item {
        padding: 25px 60px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {

    .intro-hp-nav {
        gap: 10px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
                flex-direction: column;
        -webkit-box-align: start;
                align-items: flex-start;
    }

    .intro {
        padding: 80px 0;
    }

    .intro.intro-fak {
        padding: 80px 0 10px 0;
    }

    .what-is-fak {
        padding: 50px;
    }

    .block-item {
        padding: 25px 10px;
    }
}

@media only screen and (min-width: 767px) and (max-width: 991px) {
    .intro-hp {
        background: url(/build/images/health-portal-intro-bgr-tab.a6b2b2e1.jpg) center right no-repeat;
        background-size: cover;
    }

    .intro {
        padding: 70px 0 50px 0;
    }

    .intro.intro-fak {
        padding: 70px 0 0 0;
    }

    .intro h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .intro-hp-nav {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
                flex-direction: column;
        -webkit-box-align: start;
                align-items: flex-start;
    }

    .what-is-fak {
        padding: 30px;
    }

    .what-is-fak img {
        margin: 0 0 15px 0;
    }

    .block-item {
        margin: 40px 0 20px 0;
    }

    .fak-content-item {
        padding: 15px;
    }
}

@media only screen and (min-width: 0px) and (max-width: 767px) {
    .intro-hp {
        background: url(/build/images/health-portal-intro-bgr-mob.d6188a09.jpg) center right no-repeat;
        background-size: cover;
    }

    .intro {
        padding: 50px 0 30px 0;
    }

    .intro.intro-fak {
        padding: 50px 0 0 0;
    }

    .intro h1 {
        font-size: 24px;
        line-height: 32px;
    }

    .intro-hp-nav {
        gap: 10px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
                flex-direction: column;
        -webkit-box-align: start;
                align-items: flex-start;
    }

    .hp-nav {
        position: inherit;
    }

    .page .blog-list {
        margin: 0 !important;
    }

    .blog-list-hp .blog-item {
        margin: 0 0 30px 0 !important;
    }

    .consultation .consultation-box {
        background-color: #ECECEC;
        background-image: none;
        padding: 30px;
    }

    .more-care .care-item img {
        max-height: 100px;
    }

    .more-care .care-item .lab {
        font-size: 16px;
        line-height: 22px;
    }

    .blog-list .blog-item h3 {
        padding: 0 !important;
    }

    .what-is-fak {
        padding: 15px;
        border-radius: 12px;
    }

    .what-is-fak img {
        margin: 0 0 15px 0;
    }

    .fak-content-item {
        padding: 15px;
    }

    .block-item {
        margin: 40px 0 20px 0;
    }

    .initiative-row .initiative-img {
        margin: 15px 0;
    }

    .blocks h1 {
        font-size: 24px;
        line-height: 32px;
    }
}
