/*
Theme Name:     Medilink Child
Template:       medilink
Theme URI:      https://radiustheme.com
Author:         Radiustheme
Author URI:     https://radiustheme.com/demo/medilink
Description:    Medilink | Responsive WordPress Medical Theme is one of the Latest and World Standard Multipurpose Responsive WordPress Medical  Theme. Using medilink user can get to Start a  Medical, Medical  Shop and Medical schedule.
Version:        1.0
License:        GNU General Public License v2 or later
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    medilink
Tags:           one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/
body{
    overflow-x:hidden;
}
.no-phone{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
.footer-item{
    font-size: 18px;
    line-height: 28px;
}
.footer-item li{
    font-size: 18px;
    line-height: 28px;
}
.logo{
    display:flex;
    align-items:center;
    font-size:20px;
    color:#fff !important;
    gap:15px;
    font-weight:600;
}
.title-span{
    color:#fcf7ed;
    font-style: italic;
    font-weight:700;
    font-family: "Philosopher", Sans-serif !important;
}

/*КНОПКА*/
.custom-btn-container {
    position: relative;
    display: inline-block;
    z-index: 999;
}

.custom-btn-magnetic {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 380px;
    height: 80px;
    background-color: #1c1d20;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    border-radius: 0%;
    cursor: pointer;
    transition: transform 0.1s ease;
    position: relative;
    overflow: hidden;
    z-index: 999;
}
.custom-btn-fill {
    position: absolute;
    top: 160%;
    width: 500%;
    height: 500%;
    background: rgb(0 123 255 / 0%);
    transition: all 0.3s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: -1;
}

.custom-btn-magnetic:hover .custom-btn-fill {
    transform: translate(-50%, -50%) scale(1);
}
.mob-btn-magnetic{
    width:80px;
    height:80px;
}
.mob-btn-magnetic:hover .btn-line-wrapp>span{
    background:#000 !important;
}
.btn-line-wrapp{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.text-line{
    display: block;
    width: 35px;
    background: #fff;
    height: 1px;
}
.custom-btn-magnetic:hover {
    color: #007bff;
    background-color: #b8ccee;
    border-radius: 10px;
    color:#000 !important;
}

/* Shake animations */
@keyframes shake-left-up {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-10px, -10px); }
    50% { transform: translate(10px, 10px); }
    75% { transform: translate(-5px, -5px); }
    100% { transform: translate(0, 0); }
}

@keyframes shake-left-down {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-10px, 10px); }
    50% { transform: translate(10px, -10px); }
    75% { transform: translate(-5px, 5px); }
    100% { transform: translate(0, 0); }
}

@keyframes shake-right-up {
    0% { transform: translate(0, 0); }
    25% { transform: translate(10px, -10px); }
    50% { transform: translate(-10px, 10px); }
    75% { transform: translate(5px, -5px); }
    100% { transform: translate(0, 0); }
}

@keyframes shake-right-down {
    0% { transform: translate(0, 0); }
    25% { transform: translate(10px, 10px); }
    50% { transform: translate(-10px, -10px); }
    75% { transform: translate(5px, 5px); }
    100% { transform: translate(0, 0); }
}

.shake-left-up {
    animation: shake-left-up 0.5s;
}

.shake-left-down {
    animation: shake-left-down 0.5s;
}

.shake-right-up {
    animation: shake-right-up 0.5s;
}

.shake-right-down {
    animation: shake-right-down 0.5s;
}
/*КАРТОЧКИ преимуществ*/

 .swiper-container {
            width: 100%;
            height: 100vh;
            overflow: hidden; /* Убираем горизонтальную прокрутку внутри слайдера */
            padding-left: 35px; /* Отступ слева */
            padding-right: 65px; /* Отступ справа */
            box-sizing: border-box;
        }
        .swiper-wrapper {
            display: flex;
        }
        .swiper-slide {
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            border-radius: 10px;
        }
        .title-product{
            position:absolute;
            border-radius: 10px;
            top:50px;
            left:50px;
            background:#fcf7ed;
            padding:15px 40px;
            color:#000;
            font-size:18px;
            font-weight:600;
        }
        .swiper-slide img {
            width: auto;
            height: 100%;
            cursor: pointer;
        }
        .slider-galler{
            gap:10px;
        }
        /* Стили для увеличенного изображения */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.9);
            justify-content: center;
            align-items: center;
        }
        .modal .swiper-container {
            width: 98%;
            height: 98%;
        }
        .modal .swiper-slide img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
        }
        .close {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 40px;
            color: white;
            cursor: pointer;
            z-index: 1001;
        }

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    content: 'next';
    background: hsla(0, 0%, 93.3%, .9);
    color: #152c3a;
    font-size: 20px;
    padding: 20px 26px;
}
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: 'prev';
    background: hsla(0, 0%, 93.3%, .9);
    color: #152c3a;
    font-size: 20px;
    padding: 20px 26px;
}
/*-------------------БЛОК ДОСТОПРЕМ----------------------*/
.container{
  display:flex;
  width:100%;
  padding: 0% 0%;
  box-sizing:border-box;
  height: 650px;
}
.box{
  flex:1;
  overflow: hidden;
  display:block;
  transition: 1s !important;
  /*margin:0 2%;*/
  box-shadow: 0px 0px 10px rgb(0 0 0 / 30%);
  line-height:0;
  position:relative;
  border-radius:10px;
}
.box + .box{
    margin-left:1%;
}
.box img{
  width:200%;
  height:calc(100% - 10vh);
  object-fit:cover;
  transition:.5s;
  border-radius:10px 10px 0 0;
}
.box span{
  font-size: 3.3vh;
    display: block;
    background: #FCF7ED;
    color: #000;
    text-align: center;
    height: 9vh;
    line-height: 2.6;
    border-radius: 0 0 10px 10px;
}
.elementor-20698 .elementor-element.elementor-element-06e2b99:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap{
    border-radius:10px !important;
}
.box:hover{
    flex: 1 1 50%; 
    transition: 0.7s !important;
}
.box-hover > img{
  width:100%;
  height:100%;
}
.hidden-block{
    display:none;
}
.box:hover .hidden-block{
    position: absolute;
    top: 30%;
    /* margin: 0 auto; */
    display: flex;
    width: 100% !important;
    width: auto;
    justify-content: center;
}
.hidden-block-wrapp{
    background:#333333a3;
    padding:30px;
    margin:0 20px;
    text-align:center;
    border-radius:10px;
}
.hidden-block-title{
    color: #fff;
    font-size: 26px;
    line-height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hidden-btn{
    background: #fff;
    color: #333;
    padding: 7px 35px;
    margin-top: 15px;
    font-size: 16px;
    display: inline-block;
    border-radius: 50px;
    text-transform: uppercase;
}
.hidden-btn:hover{
    color:#fff;
    background:#d9a95b;
}
.color-span{
    color:#d9a95b;
    font-weight:500;
}
.hidden-block-title img{
    width:90px;
    display:block;
    margin-bottom:7px;
}
/*Футер*/
    .footer {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 50px;
        justify-items: center;
    }
.footer-item a{
    color:#fff;
    font-size:24px;
    margin-bottom:10px;
    display:block;
}
@media (max-width: 768px) {
    .swiper-container {
        height: 60vh; /* Уменьшаем высоту для мобильных устройств */
        padding-left: 10px;
        padding-right: 10px;
    }
    .f-item-none{
        display:none;
    }
    .footer-bottom {
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }
    .swiper-slide img {
            width: auto;
            height: 100%;
            cursor: pointer;
            object-fit: cover;
        }
    .slider-nomer img {
        height: 250px;
        width: 900px;
    }
    .slider-apart .elementor-swiper-button-next, .slider-apart .elementor-swiper-button-prev {
        width: 50px !important;
        height: 50px !important;
    }
    .slider-apart .elementor-swiper-button-prev {
        right: 70px !important;
    }
    .elementor-element .swiper .elementor-swiper-button{
        padding:15px !important;
        transform: translateY(-40%) !important;
    }
    html{
        overflow-x:hidden;
    }    
    .bg-resto {
        height: 300px;
    }
    .footer {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: start;
    }
    .footer-center {
        justify-content: flex-start;
    }
    .footer-right {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .footer-bottom {
        flex-direction: column;
        justify-content: space-between;
    }
    .item-bottom-footer {
        display: flex;
        align-items: flex-start;
        gap: 0;
        flex-direction: column;
    }
    .title-product {
        top: 10px;
        left: 10px;
    }
}
/*Отступы*/
.elementor-7 .elementor-element.elementor-element-97a9f60{
    padding:0 20px;
}
.elementor-7 .elementor-element.elementor-element-869af83 {
    padding: 0 20px;
}
.elementor-7 .elementor-element.elementor-element-9024889{
    padding: 0 20px;
}    
@media(max-width:767px){
    .elementor-7 .elementor-element.elementor-element-1a49b86 {
        display: flex;
        align-content: flex-start;
    }
}