/*Sticky mobile menu*/

.menu-fixed {
     position: fixed !important;
     top: 0;
     opacity: 90%;
     width: 80px;
}

/*Mobile contacts in header*/

.mobile-contacts {
    display: none;
}

#logo {
    width: 30%;
}
#logo_desc {
    font-size: 26px;
}
#site_description {
    font-size: 12px !important;
    line-height: 20px;
    padding-top: 8px;
    font-family: "Gabriela", cursive, "Open Sans", sans-serif !important;
}
#site_name {
    padding-top: 10px !important;
}

@media (max-width: 991px) {
#logo, .logo_desc {
    height: auto !important;
}

#site_description {
    line-height: 1.5rem;
}

#logo {
    width: 90%;
    margin: 0 0 0 auto !important;
}

.mobile-contacts {
    display: block;
    text-align: right;
    font-size: 14px;
    }
}

@media (max-width: 790px) {
#logo {
    width: 70%;
    }
}

@media (max-width: 480px) {
#logo {
    width: 90%;
    margin: 0 auto !important;
    }
}

/*Blocks style*/

.heading-block {
    max-width: 70% !important;
}

/*Logo styles*/

#site_description {
    font-size: 14px !important;
}

/*Menu links*/

#page-menu nav li:hover a, #page-menu nav li.current a {
    background-color: transparent;
}

/*Adaptive video*/

.iframe_container {
    height: 0px;
    padding-bottom: 56.2%;
    position: relative;
}
.iframe_container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
}

/*Header paddings*/

.header-extras {
    margin: 10px 0 0;
}

.btn-holder {
    padding-top: 15px;
    margin-left: 30px !important;
}

/*Form styles*/

.wpcf7-form label {
    font-weight: 400;
}

.wpcf7-form-control-wrap input {
    max-width: 300px; 
    line-height: 1.7rem;
    border-color: lightgrey;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-top: 10px;
}

.promo span {
    display: inline-block;
}

#popmake-145 {
    padding: 50px 28px 28px;
}

/*Rutube logo in footer*/

#rutube-logo:hover {
    border: none;
    transition: all 1s ease-out;
}


#rutube-logo:hover {
    border: 1px solid white;
    cursor: pointer;
    transition: all 1s ease-out;
}


/*Media queries*/

@media (max-width: 1000px) {
        #slider h2, #slider h1 {
        font-size:150% !important;
    }
}

@media (max-width: 780px) {
        #slider p.d-none:nth-of-type(2) {
        display: block !important;
    }
    
        #slider h2, #slider h1 {
        font-size: 100% !important;
        line-height: 1.5;
    }
}

@media (max-width: 460px) {
        #slider h2, #slider h1 {
        font-size: 70% !important;
    }
}

@media (max-width: 430px) {
    .popmake-145 {
        font-size: 14px !important;
    }
}

/*Заяц вверху страницы*/
#zayac {
        display: none;
}

@media (min-width: 480px) {
    #logo {
        text-align: right;
    }
    #zayac {
        display: block;
        position: absolute;
        top: 10px;
        left: 20px;
    }
    
    #zayac img {
        width: 100px;
        height: 125px; 
    }
}

@media (min-width: 768px) {
        #logo {
        text-align: center;
    }
    #zayac {
        top: 10px;
    }
}

@media (min-width: 992px) {
    #zayac {
            display: none;
    }
}

@media (min-width: 1300px) {
    #zayac {
        display: block;
        position: absolute;
        top: 30px;
        left: 5px;
    }
    
    #zayac img {
        width: 70px;
        height: 88px; 
    }
}

@media (min-width: 1400px) {
    #zayac {
        top: 10px;
        left: 20px;
    }
    
    #zayac img {
        width: 100px;
        height: 125px; 
    }
}

/*Ссылки на каналы*/
#chanels {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
/*Jivosite position on mobile*/
/*.__jivoMobileButton {*/
/*    top: 0px;*/
/*}*/
/*Jivosite under Quiz*/
/*.wrap__f1KWH {*/
/*    z-index: 2147483600 !important;*/
/*}*/

.social-icons {
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	justify-content: center;
	gap: 20px;
}
.image-full-width {
    width: 100%;
    margin: 60px auto;
}
.heading-block:has(.image-full-width) {
   max-width: 100% !important;
}

.splide__slide.is-active {
    animation: pulseZoom 3s ease-in-out infinite;
}

@keyframes pulseZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/*Выделенный пункт меню с 3Д туром*/
#page-menu nav li:first-child a {
    color: #FFFF00;
    font-weight: bold;
}

.vertical-text {
    position: absolute;
    left: 0 !important;
    top: 50vh;
    background-color: #00bcd5;
    padding: 20px 0;
    writing-mode: sideways-lr;
    white-space: nowrap;
    transform: translateY(-50%);
    opacity: 0.9;
}