/*
Theme Name: Проктолікар
Text Domain: prl
Version: 1
*/

.wpcf7-not-valid-tip {
    display: none !important;
}

.wpcf7-response-output {
    display: none !important;
    font-size: 20px;
}

.wpcf7-not-valid {
    border: 2px solid red;
}

div.wpcf7 .ajax-loader {
    transform: translate(10px, -40px);
}

.light .breadcrumbs {
    color: #fff;
}

.light .breadcrumbs li::before {
    color: #fff;
}

.simple-page>*:last-child>*:last-child {
    margin-bottom: 0;
}

.simple-page iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 620px;
    max-height: calc(56.3vw - 30px);
    border: 0;
    position: relative;
    margin-top: calc(20px + 30 * ((100vw - 320px) / 1600));
    margin-bottom: calc(20px + 30 * ((100vw - 320px) / 1600));
}

.nav-menu li.current-menu-item a {
    color: #70b942;
}

.nav-menu li.current-menu-item a:before {
    right: auto;
    left: 0;
    width: 100%;
}

.page-id-349 .review-item {
    cursor: default !important;
}

.achievement-item .text strong {
    color: #70b942;
}

.wpcf7-submit.btn {
    padding-top: 23px;
    padding-bottom: 23px;
}

div.wpcf7 p {
    position: relative;
}

div.wpcf7 .ajax-loader {
    margin: 0;
    position: absolute;
    bottom: -17px;
    right: -11px;
}

.disease-item::after {
    background: rgba(0, 0, 0, 0.4);
}

.team-info {
    min-height: 130px;
}

@media (max-width: 767px) {
    .team-info {
        min-height: auto;
    }
}


.text-cut-4 {
    -webkit-line-clamp: 12 !important;
}

/*@media (min-width: 1800px) {*/
/*    .block.left .circle-img {*/
/*        width: calc(75px + 321 * ((100vw - 320px) / 2100));*/
/*        height: calc(75px + 321 * ((100vw - 320px) / 2100));*/
/*    }*/

/*    .block.right .circle-img {*/
/*        width: calc(75px + 321 * ((100vw - 320px) / 2100));*/
/*        height: calc(75px + 321 * ((100vw - 320px) / 2100));*/
/*    }*/

/*}*/

.sl-overlay {
    opacity: 1;
}

@media (max-width: 1100px) {
    .footer-item__socials {
        justify-content: space-between;
    }
}

@media (max-width: 766px) {

    .banner-content .text,
    .banner-content .title {
        margin-top: 20px;
    }

    .btn-close:before,
    .btn-close:after {
        width: 14px;
    }

    .popup-container .btn-close {
        top: 2px;
        right: -5px;
    }

    .page-template-about_us .banner-content .text,
    .banner-content .title {
        margin-top: 0px;
    }

    .footer-item__socials {
        flex-direction: column;
    }

    .footer_additional_socials {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}


.current-clinic {
    -webkit-box-shadow: 0px 0px 15px 2px rgb(0 0 0 / 0%);
    box-shadow: 0px 0px 15px 2px rgb(0 0 0 / 0%);
    color: #fff;
}

.current-clinic::before {
    -webkit-transform: translate(-50%, -50%) scale(0.2);
    -ms-transform: translate(-50%, -50%) scale(0.2);
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
}

.current-clinic .clinic-city {
    color: #fff;
}

.current-clinic .clinic-address {
    color: #fff;
}


.simple-page>blockquote p {
    font-size: calc(18px + 4 * ((100vw - 320px) / 1600));
    position: relative;
    color: #202020;
    font-weight: bold;
    letter-spacing: 0.03em;
    line-height: 1.4em;
    text-align: center;
    background: #F8F8F8;
}

.parallax-bg .bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
}

.contact-home .parallax-bg .bg {
    position: absolute;
    width: 100%;
    height: 140%;
    top: -20%;
}

.banner .parallax-bg .bg {
    position: absolute;
    width: 100%;
    height: 110%;
    top: 0%;
}

.block.right .circle-img img {
    border-radius: 50%;
}

.footer_additional_socials {
    display: flex;
}

.footer_additional_socials a {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    background: #ffffff;
    padding: 5px;
    border-radius: 4px;
}

.footer_additional_socials a:last-child {
    margin-right: 0;
}

.footer_additional_socials svg {
    width: 100%;
    height: 100%;
}

.footer-item__socials {
    display: flex;
    align-items: center;
}

blockquote::before {
    z-index: 5;
}

.clinic-img img {
    height: 100%;
}

#content-block {
    min-height: auto;
}

@media (min-width: 1200px) {
    .section .banner .h1 {
        opacity: 1;
        visibility: visible;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
        max-width: 85%;
    }
}

.video-inner img {
    margin: 0 auto;
}

.btn-call a {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
}

/*.site-ready .item-animation .animate-item.to-up.animated {*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*    -webkit-transform: translateY(0);*/
/*    -ms-transform: translateY(0);*/
/*    transform: translateY(0);*/
/*    max-width: 85%;*/
/*    margin: 0 auto;*/
/*}*/

.footer-item.develope.developebg a {
    position: relative;
    padding-right: 3px;
}

.footer-item.develope.developebg a:before {
    background: #202020 url(img/redstone-icon.svg);
    background-repeat: no-repeat;
    width: 71px;
    background-position: right center;
    background-size: 100%;
    content: '';
    right: 0;
    position: absolute;
    height: 100%;
}

.simple-page li.page_item>a {
    color: #3485d6;
}

@media (max-width: 550px) {
    .address-block .address-cont div:last-child {
        font-size: 0;
    }

    .address-block .address-cont div:last-child a {
        font-size: 18px;
        font-weight: 600;
    }
}
@media (max-width: 1199px) {
    .home-banner .banner-content img[src*="470x310"] {
        margin-right:  auto;
        margin-left: auto;
        margin-bottom: 100px;
        border-radius: 10px;
        width: 100%;
    }
    .home-banner .banner-content img[src*="470x310"] + div {
        width: 86%;
        left: 7%;
        right: 7%;
    }
}
@media (max-width: 991px) {
    body .block .block-info { text-align: center;}
    body .block .block-info .text {margin-right: auto}
    body .block .block-info > * {text-align: left}
    .home .section.our_clinics1 + .spacer-xl,
    .home .section.our_clinics1 {display: none}
}
@media (max-width: 767px) {
    .home-banner .banner-content h1 {margin-top: 15px}
    .clinic-slide {
        margin-top: -10px;
    }
    .clinic-slide .clinic-img::before {
        background: rgba(0, 0, 0, 0.2);
    }
    .page-template-about_us .banner .btn {
        font-size: 14px;
        padding: 12px 10px 10px;
    }
    .page-template-about_us .banner .banner-content {
        text-align: center;
    }
}


/* run line */

.run-line {
    background: #90c04a;
    color: #202020;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    font-weight: 600;
}

.run-line span {
  display: inline-block;
  padding-right: 2rem; /* space between repeats */
  animation: ticker 10s linear infinite;
}


@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.additional-text-footer{
    color: #fff;
    font-style: italic;
    padding-top: 20px;
    font-size: 12px;
}

body:has(.run-line) .breadcrumb {
    padding-top: 19px;
}

.header-fixed .toggle-block .address,
.header-fixed .mobile-address .address {
    z-index: 1;
}

@media (min-width: 1200px) and (max-height: 950px) {
.banner-content .num-block {
    bottom: calc(0px + 160 * ((100vw - 320px) / 1600));
}
}
@media (min-width: 1200px) and (max-height: 850px) {
    .banner-content .num-block {
        bottom: calc(0px + 240 * ((100vw - 320px) / 1600));
    }
}
@media (min-width: 1200px) and (max-height: 800px) {
    .banner-content .num-block {
        bottom: calc(0px + 330 * ((100vw - 320px) / 1600));
    }
}
@media (min-width: 1200px) and (max-height: 700px) {
    .banner-content .num-block {
        bottom: calc(0px + 400 * ((100vw - 320px) / 1600));
    }
}

body .btn-popup {
    display: inline-block;
        vertical-align: bottom;
        text-align: center;
        position: relative;
        z-index: 1;
        cursor: pointer;
        text-decoration: none;
        border: none;
        background: -webkit-gradient(linear,
                left top,
                right top,
                from(#70b942),
                color-stop(55.46%, #7bc449),
                color-stop(103.11%, #95ce5e));
        background: -o-linear-gradient(left,
                #70b942 0%,
                #7bc449 55.46%,
                #95ce5e 103.11%);
        background: linear-gradient(90deg,
                #70b942 0%,
                #7bc449 55.46%,
                #95ce5e 103.11%);
        -webkit-transition: all 0.4s ease-in-out;
        -o-transition: all 0.4s ease-in-out;
        transition: all 0.4s ease-in-out;
        text-transform: uppercase;
        font-size: 14px;
        line-height: 1em;
        font-weight: bold;
        letter-spacing: 0.1em;
        padding: 5px 15px 5px;
        border-radius: 5px;
        color: #fff;
        margin-bottom: -3px;
}
body .btn-popup::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    opacity: 0;
    z-index: -1;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    border-radius: inherit;
    background: -o-linear-gradient(30deg,
            #95ce5e 0%,
            #7bc449 55.46%,
            #70b942 103.11%);
    background: linear-gradient(60deg,
            #95ce5e 0%,
            #7bc449 55.46%,
            #70b942 103.11%);
}
body .btn-popup a {
    font-size: inherit;
    color: #ffffff;
}
body .btn-popup a:before,
body .btn-popup a:after {
    display: none;
}
@media (min-width: 1200px) {
    body .btn-popup:hover:before {
        background: -webkit-gradient(linear, left top, right top, from(#95ce5e), color-stop(55.46%, #7bc449), color-stop(103.11%, #70b942));
        background: -o-linear-gradient(left, #95ce5e 0%, #7bc449 55.46%, #70b942 103.11%);
        background: linear-gradient(90deg, #95ce5e 0%, #7bc449 55.46%, #70b942 103.11%);
        opacity: 1;
        color: #fff;
    }
    body .nav-menu ul .btn-popup a:hover,
    body .nav-menu ul .btn-popup:hover a {
        color: #ffffff;
    }
}

@media (max-width: 1500px) {
    body .btn-popup {
        font-size: 12px;
        margin-bottom: -5px;
    }
}

@media (min-width: 1200px) {
    .menu-item-has-children .sub-menu {
        position: absolute;
        width: 300px;
        padding: 10px;
        background: #fff;
        border-radius: 5px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
        z-index: 1000;
        top: 100%;
        left: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
    }
    .menu-item-has-children:hover .sub-menu {
        opacity: 1;
        visibility: visible;
    }
}
@media (max-width: 1199px) {
    .menu-item-has-children {
        position: relative;
    }
    .menu-item-has-children:before {
        content: '+';
        position: absolute;
        top: 0;
        right: 0;
        width: 32px;
        height: 32px;
        color: #000;
        line-height: 32px;
        font-size: 30px;
        z-index: 9;
    }
    .menu-item-has-children .sub-menu {
        max-height: 0;
        overflow: hidden;
        position: relative;
    }
    .menu-item-has-children:active  .sub-menu,
    .menu-item-has-children:hover .sub-menu,
    .menu-item-has-children:focus .sub-menu {
        padding: 10px;
        background: #fafafa;
        visibility: visible;
        max-height: 200px;
    }
        .menu-item-has-children:active:before,
        .menu-item-has-children:hover:before,
        .menu-item-has-children:focus:before {
            content: '-';
        }
    
}

@media only screen and (max-width: 768px) {
    .sd-btn-call {
        left: 15px;
        right: auto;
        bottom: 22px;
    }
}


/* Wrapper над картою */
.map-filter {
    max-width: 520px;
    z-index: 1;
    position: absolute;
    width: 90%;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* Кастомна стрілка */
.map-filter::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #5c6b7a;
    border-bottom: 2px solid #5c6b7a;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

/* Сам select */
.map-address-select {
    width: 100%;
    height: 52px;
    padding: 0 44px 0 16px;
    border: 1px solid #d9e1e8;
    border-radius: 12px;
    background: #fff;
    color: #22313f;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    box-shadow: 0 2px 8px rgba(34, 49, 63, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

/* Hover / focus */
.map-address-select:hover {
    border-color: #b9c6d2;
}

.map-address-select:focus,
.map-address-select:focus-visible {
    border-color: #2e7dd7;
    box-shadow: 0 0 0 3px rgba(46, 125, 215, 0.15);
}

/* Placeholder option */
.map-address-select option[value=""] {
    color: #7b8794;
}

/* Disabled state */
.map-address-select:disabled {
    background: #f6f8fa;
    color: #9aa6b2;
    cursor: not-allowed;
}

/* Mobile */
@media (max-width: 767px) {
    .map-filter {
        margin-bottom: 14px;
    }

    .map-address-select {
        height: 48px;
        font-size: 14px;
        border-radius: 10px;
    }
}

.info-box a {
    color: #70b942;
    font-weight: 700;
    line-height: 1.5;
    display: block;
}

@media (min-width: 1200px) {
    .contacts .h2.title {
        font-size: 24px;
    }
}

@media (min-width: 1500px) {
    .contacts .h2.title {
        font-size: 33px;
    }
}