@charset "UTF-8";


.mdev .m-text .elementor-heading-title {
    text-transform: inherit;
    margin-top: 0;
    font-size: 20px;
    color: #fff;
    line-height: 26px;
    display: flex;
    align-content: center;
    align-items: center;
}
.mdev .m-text .elementor-heading-title a {
    display: flex;
    align-content: center;
    align-items: center;
}

.mdev .m-text h1 {
    text-transform: inherit;
    margin: 0;
    font-weight: 300;
    font-size: 28px;
}
.mdev .m-text .elementor-heading-title i {
    width: 222px;
    height: 76px;
    display: inline-flex;
    background-image: url(/wp-content/uploads/2024/08/ca861479c0b7c4f9c99718aeded86734.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#swiper-dancers {
    overflow: hidden;
}

.swiper-button-next:after, .swiper-button-prev:after {
    display: none;
}
.hidden-gallery {
    display: none;
}

.mdev .dialog-type-lightbox .dialog-widget-content {
    width: 100%;
}

.mdev .video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 28px;
    column-gap: 28px;
    position: relative;
}

.mdev.ndev #main-content .anew .pg-m div.uc_post_image {
    object-position: center;
    background-position: center;
}

/* при ширине экрана >= 1201px */
@media (min-width: 1201px) {
    .mdev .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* при ширине экрана >= 768px и < 1201px */
@media (min-width: 768px) and (max-width: 1200px) {
    .mdev.ndev .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .mdev.ndev .video-grid-item {
        height: 400px;
    }
}

/* при ширине экрана >= 479px и < 768px */
@media (min-width: 479px) and (max-width: 767px) {
    .mdev .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mdev.ndev .video-grid-item {
        height: 360px;
    }
}

/* при ширине экрана < 479px */
@media (max-width: 478px) {
    .mdev .video-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .mdev.ndev .video-grid-item {
        height: 360px;
    }
}


.mdev .video-grid-item {
    position: relative;
    height: 500px;
    cursor: pointer;
}

.mdev .video-content {
    z-index: 20;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding-top: 30px;
}


.mdev .video-title {
    color: #fff;
    letter-spacing: 1px;
    font-size: 24px;
}

.mdev .video-thumbnail-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 45%);
    transition: background 0.3s ease;
    -webkit-transition: background 0.3s ease;
    -moz-transition: background 0.3s ease;
    -ms-transition: background 0.3s ease;
    -o-transition: background 0.3s ease;
}

.mdev .video-grid-item:hover .video-thumbnail-overlay {
    background-color: rgb(0 0 0 / 30%);
}

.play-button {
    position: absolute;
    background-image: url(/wp-content/uploads/2023/07/plays.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 84px;
    height: 84px;
    cursor: pointer;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.mdev .video-grid-item:hover .play-button {
    transform: translate(-50%,-50%) scale(1.2);
}

.mdev.page-id-2246 .afishi-title .elementor-heading-title {
    margin-bottom: 45px;
}

.video-popup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: auto;
}

.video-popup-show {
    display: flex; 
    justify-content: center; 
    align-items: center;
}

.video-popup-content {
    background-color: transparent;
    padding: 0;
}

.video-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 20;
}

.video-popup-close:before, .video-popup-close:after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 11px;
    height: 25px;
    width: 2px;
    background-color: #fff;
}

.video-popup-close:before {
    transform: rotate(45deg);
}

.video-popup-close:after {
    transform: rotate(-45deg);
}

.video-wrapper {
    position: relative;
    width: 90vmin; 
    height: 80vmin;
}

.video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; 
}


.mdev .right-h-block .elementor-widget-container .elementor-heading-title {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    color: #fff;
    justify-content: center;
    letter-spacing: 0.5px;
}
.mdev .right-h-block .elementor-widget-container .elementor-heading-title a {
    font-size: 1.5em;
    line-height: 24px;
    padding-bottom: 6px;
    font-weight: 600;
}

.mdev .right-h-block .elementor-widget-container .elementor-heading-title .location {
    font-size: 13px;
    letter-spacing: 0.3px;
}

.mdev .main-arrow {
    left: 35px;
}

.mdev .thegem-te-menu .menu-toggle.small .menu-line-1,
.mdev .thegem-te-menu .menu-toggle.dl-trigger .menu-line-1,
.mdev .thegem-te-menu-mobile__overlay.mobile-view .menu-toggle .menu-line-1,
.mdev .thegem-te-menu .menu-toggle.small .menu-line-2,
.mdev .thegem-te-menu .menu-toggle.dl-trigger .menu-line-2,
.mdev .thegem-te-menu-mobile__overlay.mobile-view .menu-toggle .menu-line-2,
.mdev .thegem-te-menu .menu-toggle.small .menu-line-3,
.mdev .thegem-te-menu .menu-toggle.dl-trigger .menu-line-3,
.mdev .thegem-te-menu-mobile__overlay.mobile-view .menu-toggle .menu-line-3 {
    width: 33px !important;
}

.mdev .timework,
.mdev .location {
    font-weight: 300;
    opacity: 0.9;
}

.mdev .afishi-title .elementor-heading-title {
    margin-bottom: 0;
}
.mdev .afishi-desc .elementor-heading-title {
    margin-bottom: 40px;
    font-size: 20px;
    color: #fff;
    letter-spacing: 1px;
}


.mdev.thegem-fp-dost-solid #fp-nav ul li:hover a span:not(.fp-sr-only), 
.mdev.thegem-fp-dost-solid #fp-nav ul li a.active span:not(.fp-sr-only), 
.mdev.thegem-fp-dost-solid #fp-nav ul li:hover a.active span:not(.fp-sr-only) {
    background-color: rgb(255 255 255 / 65%) !important;
}

.mdev.thegem-fp-dost-solid #fp-nav ul li a span:not(.fp-sr-only) {
    width: 5px;
    height: 5px;
}

.mdev .elementor-element-a130b6b .elementor-icon-box-icon {
    position: relative;
    top: -1px;
    opacity: 0.6;
}

.mdev #main-m .main-title h2 {
    font-size: 60px;
    text-transform: inherit;
    color: #cf1e45;
    background: linear-gradient(135deg, #FF0000 0%, #c70303 54.98%, #a30303 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 5px;
    -webkit-text-stroke: 1px #ffffff;
    text-stroke: 1px #ffffff;
    color: transparent;
    background: transparent;
}

.mdev .counters .odometer-value {
    color: #cf1e45;
    background: linear-gradient(135deg, #FF0000 0%, #c70303 54.98%, #a30303 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 5px;
    -webkit-text-stroke: 1px #ffffff;
    text-stroke: 1px #ffffff;
    color: transparent;
    background: transparent;
}

.mdev #main-m .main-text .elementor-heading-title {
    letter-spacing: 1.5px;
}

body.mdev #main-m .gem-widget-button .gem-button {
    margin-top: 50px;  
}
body.mdev .gem-widget-button .gem-button .gem-inner-wrapper-btn {
    height: 60px;
    font-size: 18px;
    padding-right: 40px !important;
    padding-left: 40px !important;
    font-weight: 500;
    letter-spacing: 0.9px;
    font-family: 'Jost';
    outline: 1px solid rgb(255 255 255 / 40%);
}

.gem-widget-button .gem-button {
    overflow: visible;
}

body.mdev .gem-widget-button .gem-button .gem-inner-wrapper-btn:before {
    content: '';
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    position: absolute;
    opacity: 1;
    outline: 1px solid rgb(255 255 255 / 40%);
}

body.mdev .gem-widget-button .gem-button {
    box-shadow: 0 6px 36px rgb(184 22 60 / 60%);
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    opacity: 0.9;
    transition: all 0.3s;
}
body.mdev .gem-widget-button .gem-button:hover {
    opacity: 1;
}

.elementor-element-619e45d > .elementor-container,
.elementor-element-1210c8b > .elementor-container {
    gap: 15px;
}

.mdev .counters .gem-counter-text {
    font-size: 18px;
    margin-top: 30px;
    max-width: 310px;
    line-height: 26px;
    opacity: 0.85;
}

.mdev .advant .quickfinder-item .quickfinder-item-inner {
    display: flex;
    flex-direction: column;
    padding: 25px 25px 25px 45px !important;
    min-height: 382px;
    display: flex;
    align-items: center;
    text-align: center;
}
.mdev .advant .quickfinder .quickfinder-description ul {
    padding-left: 25px;
}
.mdev .advant .quickfinder .gem-icon {
    margin-top: 0px;
}
.mdev .advant .quickfinder-item-info .quickfinder-title {
    max-width: 300px;
    padding-left: 0px;
    margin-bottom: 20px;
    min-height: 62px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0px 10%;
}

.mdev .advant .quickfinder .quickfinder-description {
    padding-bottom: 0;
}
.mdev .quickfinder .icon-horizontal-left.icon-wrapping-inline .gem-qf-icon-image-wrapper, 
.mdev .quickfinder .icon-horizontal-left.icon-wrapping-wrap .gem-qf-icon-image-wrapper  {
    position: relative;
}

.mdev .home-gallery .elementor-col-100 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element {
    margin-bottom: 0;
    margin-top: 60px;
}

.mdev .home-gallery .elementor-heading-title {
    font-weight: 800;
    text-transform: inherit;
    margin-bottom: 0px;
    margin-top: 30px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #ffffff;
    text-stroke: 1px #ffffff;
    color: transparent;
    background: transparent;
}
.mdev .home-gallery .gem-texbox-text-wrapper {
    justify-content: space-between;
}

.mdev .for_you > .elementor-container > .elementor-row {
    flex-direction: column;
    margin-top: 10px;
}

.mdev .for_you > .elementor-container > .elementor-row [class*="fy-col"] {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.mdev .for_you .fy-col-1 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element.des_you {
    margin-bottom: 50px;
}

body.mdev.ndev .for_you .gem-texbox-text-wrapper .gem-textbox-title.title-h4 {
    color: #fff;
    font-size: 24px;
    text-transform: inherit;
    font-weight: 300;
    opacity: 0.85;
    margin-bottom: 0;
}

.mdev .home-gallery .gem-textbox-title {
    letter-spacing: 1.5px;
}

body.mdev.ndev .for_you .mrmr .gem-textbox-title.title-h4 {
    font-size: 21px;
    font-weight: 400;
    opacity: 0.88;
    padding-left: 12px;
    padding-right: 12px;
}

.mdev .for_you .fy-col-1 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element {
    margin-bottom: 10px;
}
.mdev .for_you .fy-col-2 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element {
    margin-bottom: 0;
    margin-top: 20px;
}

.mdev .for_you [class*="fy-col"] .title-h1 {
    color: #fff;
    font-weight: bold;
    line-height: 1.2em;
    font-size: 36px;
    text-transform: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #ffffff;
    text-stroke: 1px #ffffff;
    color: transparent;
    background: transparent;
}

.mdev .for_you .fy-col-1 .title-h2 {
    color: #fff;
    font-size: 24px;
    text-transform: inherit;
    font-weight: 300;
}

body.mdev.ndev .for_you .fy-col-1 .gem-textbox-content,
body.mdev.ndev .for_you .fy-col-1 .gem-texbox-icon-image-wrapper  {
    text-align: center;   
}

body.mdev.ndev .for_you .fy-col-1 .gem-texbox-icon-image-wrapper .elementor-icon {
    border: 0px solid;
    border-color: #fff;
    background: transparent;
    margin-bottom: 0;
    padding-bottom: 10px;
}

body.mdev.ndev .for_you [class*="fy-col"] .gem-texbox-icon-image-wrapper .elementor-icon svg {
    width: 76px !important;
    height: 76px !important;
}

body.mdev.ndev .for_you .fy-col-2 .gem-textbox-content {
    display: flex;
    justify-content: flex-start;
    text-align: left;
    align-items: center;
}

body.mdev.ndev .for_you .fy-col-2 .gem-texbox-text-wrapper .gem-textbox-title.title-h4 {
    font-size: 19px;
}


.mdev [id*='fin-popup'] .popup-content img {
    height: 100%;
    object-fit: cover;
}

.mdev .f-map > .elementor-container > .elementor-row,
.mdev .f-map .elementor-widget-html > .elementor-widget-container {
    height: 100%;
}

.mdev .f-map .elementor-widget-html {
    height: 100%;
    position: absolute;
    margin: 0;
}

.mdev .f-map .ndw-map {
    position: relative;
    filter: grayscale(60%);
}


/* Определение ключевых кадров для анимации появления снизу */
@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Определение ключевых кадров для анимации скрытия вниз */
@keyframes slideDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(100%);
    }
}

/* Основной стиль блока с анимацией */
.template_block_10 {
    display: flex;
    align-items: flex-start;
    flex-flow: column nowrap;
    width: 100%;
    max-width: 1400px;
    height: 200px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    z-index: 15;
    background-image: url(/wp-content/uploads/2024/10/bg1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #1D1115;
    border-radius: 20px 20px 0 0;
    
    opacity: 0;
    transform: translateY(100%);
    
    animation: slideUp 1s ease-in-out 5s forwards;
}

/* Класс для анимации скрытия */
.template_block_10.hide {
    animation: slideDown 1s ease-in-out forwards;
}

/* Остальные стили остаются без изменений */
.template_block_10 .b0 {
    position: relative;
    z-index: 1;
    flex-flow: column nowrap;
    height: 100%;
    align-items: flex-start;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-left: 50px;
}

.template_block_10 .b0 span:nth-of-type(1) {
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 15px;
    -webkit-text-stroke: 1px #ffffff;
    text-stroke: 1px #ffffff;
    color: transparent;
    background: transparent;
    font-size: 46px;
}

.template_block_10 .b0 span:nth-of-type(2) {
    width: 665px;
    color: #FFF;
    font-size: 18px;
}

.template_block_10 button {
    cursor: pointer;
    transition-duration: 0.5s;
    position: absolute;
    width: 152px;
    height: 49px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 0;
    top: 77px;
    right: 50px;
    font-weight: 500;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    font-family: 'Jost';
    line-height: 1;
    color: #fff;
}

.template_block_10 button:hover {
    background: rgb(46 10 10 / 50%);
}

.template_block_10 .i0 {
    position: absolute;
    top: 30px;
    right: 242px;
    object-fit: contain;
}

.template_block_10 .i1 {
    position: absolute;
    cursor: pointer;
    right: 17px;
    top: 13px;
}

.cross-er {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 18px;
    top: 18px;
    cursor: pointer;
}

@media screen and (min-width: 1250px) and (max-width: 1440px) {
    .template_block_10 {
        width: 1250px;
    }
    .template_block_10 .i0 {
        right: 222px;
        width: 330px;
        height: 145px;
        top: 31px;
    }
}

@media screen and (max-width: 1250px) {
    .template_block_10 .b0 span:nth-of-type(1) {
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
        padding-bottom: 15px;
        -webkit-text-stroke: unset;
        text-stroke: unset;
        background: transparent;
        font-size: 32px;
        color: #fff;
        font-weight: 600;
    }
    .template_block_10 .b0 span:nth-of-type(2) {
        width: 400px;
    }
    .template_block_10 .b0 {
        padding-left: 30px;
    }
}

@media screen and (min-width: 1050px) and (max-width: 1250px) {
    .template_block_10 {
        width: 1050px;
    }
    .template_block_10 .i0 {
        width: 322px;
        height: 142px;
        top: 37px;
        right: 256px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1050px) {
    .template_block_10 {
        width: 100%;
        height: 120px;
        max-width: 906px;
    }
    .template_block_10 .i0 {
        width: 274px;
        height: 121px;
        top: 5px;
        right: 166px;
    }
    .template_block_10 button {
        width: 107px;
        height: 35px;
        top: 42px;
        right: 38px;
    }
    .template_block_10 .i1 {
        top: -25px;
        right: 5px;
    }
    .template_block_10 .b0 span:nth-of-type(1) {
        padding-bottom: 0;
    }
    .template_block_10 .b0 span:nth-of-type(2) {
        font-size: 16px;
    }
}

@media screen and (max-width: 850px) {
    .template_block_10 .b0 span:nth-of-type(1) {
        font-size: 27px;
        margin-bottom: 2px;
    }
    .template_block_10 .b0 span:nth-of-type(2) {
        width: 300px;
    }
}

@media screen and (max-width: 768px) {
    .template_block_10 .i0 {
        bottom: 17px;
        width: 330px;
        height: 100px;
        top: unset;
        right: 30px;
        z-index: 1;
    }
    .template_block_10 button {
        top: 20px;
        right: 92px;
    }
    .template_block_10 .i1 {
        top: -31px;
        right: 2px;
    }
}

@media screen and (max-width: 650px) {
    .template_block_10 .i0 {
        bottom: 10px;
        width: 360px;
        height: 122px;
        right: -112px;
    }
    .template_block_10 {
        height: 170px;
    }   
    .template_block_10 button {
        top: -60px;
        right: 60px;
        background: rgb(153 25 30 / 60%);
    }
    .cross-er {
        right: 18px;
        top: 10px;
    }
    .template_block_10 .b0 {
        padding-left: 20px;
    }
    .template_block_10 .b0 span:nth-of-type(2) {
        width: 100%;
        max-width: 300px;
        font-size: 16px;
    }
    .template_block_10 .b0 span:nth-of-type(1) {
        font-size: 24px;
        margin-bottom: 8px;
        padding: 0;
    }
}
@media screen and (max-width: 500px) {
    .template_block_10 .i0 {
        bottom: 10px;
        width: 226px;
        height: 76px;
        right: -73px;
    } 
    .template_block_10 {
        height: 130px;
    }
    .template_block_10 .b0 span:nth-of-type(1) {
        font-size: 20px;
    }
    .template_block_10 .b0 span:nth-of-type(2) {
        font-size: 15px;
        max-width: 220px;
    }
    .template_block_10 button {
        height: 40px;
    }
    .template_block_10 button {
        top: -50px;
        right: 44px;
    }
}

@media screen and (max-width: 375px) {
    .template_block_10 .b0 {
        padding-left: 16px;
    }
}
@media screen and (max-width: 360px) {
    .template_block_10 .b0 {
        padding-left: 16px;
    }
    .template_block_10 .b0 span:nth-of-type(2) {
        font-size: 14px;
        max-width: 170px;
    }
}

@media (max-width: 767px) {
    body.mdev .f-map .elementor-social-icons-wrapper {
        margin-bottom: 0;
    }
    body.mdev.ndev .gem-widget-button .gem-button {
        width: 100%;
    }
    body.mdev .gem-widget-button .gem-button .gem-inner-wrapper-btn:before {
        outline: 1px solid rgb(255 255 255 / 25%);
    }
    body.mdev .f-map > .elementor-container {
        height: auto !important;
    }
    body.mdev .f-map .cont-block {
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
}

.mdev .f-map [class*='ymaps'] canvas,
.mdev .f-map [class*='ymaps-2'][class*='-ground-pane'] {
	-webkit-filter: invert(95%) grayscale(100%) contrast(90%);
    filter: invert(95%) grayscale(100%) contrast(90%);
}

.mdev .f-map [class*='ymaps-2'] [class*='pictogram_icon_heart'] {
    background-image: url(/wp-content/uploads/thegem-logos/logo_7bbee7936603e67910aec222896d9c99_1x.png);
    list-style-image: url(/wp-content/uploads/thegem-logos/logo_7bbee7936603e67910aec222896d9c99_1x.png);
}

@media (min-width: 1025px) and (max-width: 1201px) {
    .mdev .elementor-element-daa317c.flex-horizontal-align-center.flex-absolute-desktop {
        left: 25%;
        transform: translateX(-25%);
    }
}

.mdev .taxt-call {
    padding-right: 45px !important;
    padding-left: 0 !important;
    opacity: 0.85;
    transition: opacity 0.3s ease-in-out;
}
.mdev .taxt-call:hover {
    opacity: 1;
}
body.mdev .taxt-call .gem-widget-button .gem-button .gem-inner-wrapper-btn {
    padding-right: 20px !important;
    padding-left: 20px !important;
    height: 42px !important;
    font-size: 12px !important;
    text-transform: uppercase;
}


.mdev .f-map .cont-block > .elementor-column-wrap > .elementor-widget-wrap {
    padding: 0;
}

.mdev .f-map .cont-block {
    max-width: 330px;
    width: 100%;
    min-height: 467px;
    border: 3px solid #3c3c3c;
}

.mdev .elementor-element-068640b {
    margin-bottom: 0px;
}

.mdev .f-map .cont-block .gem-texbox-icon-image-wrapper {
    display: none;
}

.mdev .f-map .cont-block .gem-textbox-title {
    font-size: 11px;
    color: #aeaeae;
}
body.mdev.ndev .f-map .cont-block .gem-textbox-description {
    color: #fff;
    padding-bottom: 0;
}
body.mdev.ndev .f-map .cont-block .gem-textbox-description [href*="tel"] {
    color: #fff;
}

.mdev .f-map #WhatsApp circle {
    fill: #25d366;
}

.mdev .gal-imgs .gallery-item .image-wrap  {
    height: 480px;
}

.mdev .gal-imgs .gallery-item .image-wrap picture img {
    width: 100%;
    max-width: 100%;
    left: 0;
    height: 480px;
    object-fit: cover;
}

.mdev .gal-imgs .gallery-item {
    width: 420px !important;
}


.mdev.elementor-editor-active #main {
    z-index: 400;
}

.mdev .f-map .elementor-social-icons-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
}

.mdev .f-map .elementor-social-icons-wrapper .elementor-grid-item {
    padding-left: 15px;
}

.mdev .f-map .elementor-social-icons-wrapper a.elementor-icon {
    font-size: 42px;
    height: auto;
    border: 0;
    background: transparent;
    width: 100%;
}

.mdev .home-menu .gem-texbox-text-wrapper {
    height: 250px;
}

.mdev .home-menu h3.elementor-heading-title {
    font-weight: 300;
    font-size: 24px;
}
.mdev .home-gallery .mgd-mg .elementor-heading-title {
    margin-bottom: 5px;
}

.mdev .home-gallery .elementor-col-100 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element.mgd-mg {
    margin-bottom: 0;
    margin-top: 60px;
}

.mdev .f-map .elementor-widget-html + .elementor-section > .elementor-container {
    max-width: 1710px;
}

.mdev .advant .quickfinder-item li {
    font-size: 16px;
    line-height: 28px;
    margin-bottom: 15px;
}

.mdev .advant .quickfinder-item li:before {
    top: 10px;
}

 
.mdev .anew [class*="elementor-widget-ucaddon_post_grid"] .uc_post_image {
    border-radius: 0;
}

.mdev .pg-m.swiper-button-prev {
    left: -25px;
}

.mdev .pg-m.swiper-button-next {
    right: -25px;
}

.mdev .anew .pg-m .swiper-slide {
    min-height: 430px;
    min-height: 500px;
}

.mdev #main-content .anew .pg-m div.uc_post_image,
.mdev .anew .pg-m div.uc_content {
    background: transparent;
    padding: 0;
    height: unset;
    position: absolute;
    top: 0;
    z-index: 1;
    bottom: 0;
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid rgb(173 16 81 / 30%);
}

.mdev .anew .pg-m div.uc_content:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 44%);
}

.mdev .popup-content p:empty {
    display: none;
}

.mdev .popup-content > .d23f {
    display: flex;
    flex-direction: row-reverse;
}

.mdev .popup-content.afisha-pp {
    display: flex;
    justify-content: center;
    flex-direction: column;
    grid-gap: unset;
}

.mdev .mfp-content [id*='fin-popup-uc_post_grid_afisha'] {
    max-width: 800px;
    background: #fff;
    padding: 40px;
}


.mdev .anew.grls .pg-m div.uc_content:before {
    background: rgb(0 0 0 / 45%);
}

.mdev #main-content .anew .pg-m div.uc_post_image {
    background-size: cover;
    background-repeat: no-repeat;
}

.mdev .anew [class*="elementor-widget-ucaddon_post_grid"] .uc_content > div {
    align-items: flex-start;
    padding-left: 60px;
    z-index: 1;
    width: 100%;
}


.mdev #main-content .anew .uc_post_title a {
    color: #fff;
    letter-spacing: 1px;
    font-size: 28px;
}

.mdev #main-content .anew .uc_post_text {
    margin-top: 25px;
    color: #fff;
    font-size: 16px;
    padding-right: 25px;
    line-height: 26px;
    text-align: left;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
	padding-left: 8px;
    padding-top: 4px;
    padding-right: 8px;
	-o-transition: color 0.3s, background-color 0.3s;
    -webkit-transition: color 0.3s, background-color 0.3s;
    transition: color 0.3s, background-color 0.3s;
}

#main-content .uc_post_grid_style_one_image + .uc_content .uc_post_text, 
#main-content .uc_content .uc_post_title > a > div {
	padding-left: 8px;
    padding-top: 4px;
    padding-right: 8px;
	-o-transition: color 0.3s, background-color 0.3s;
    -webkit-transition: color 0.3s, background-color 0.3s;
    transition: color 0.3s, background-color 0.3s;
}

.mdev #main-content .anew .uc_more_btn {
    padding: 0;
    background-color: transparent;
    margin-top: 15px;
    font-size: 28px;
    font-family: 'Jost';
    font-weight: 500;
}


.mdev:not(.home) .page__top-shadow .block-content,
.mdev:not(.home) #site-header.header-sticky {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 2px solid #404040;
}


.mdev .abo-video {
    padding-top: 85px;
}

.mdev .abo-video .e-hosted-video {
    padding: 0;
    height: 600px;
    border-right: 1px solid #622039;
}

.mdev .abo-video .e-hosted-video video {
    height: 100%;
    border: 1px solid #622039;
}

.mdev .patte {
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
}
.mdev .patte-2 {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
}

.mdev .thegem-te-menu__overlay.desktop-view .nav-menu li.menu-overlay-item-open:not(:last-child) > ul {
    margin-top: 15px;
    margin-bottom: 15px;
}

.mdev .patte-2 .gallery-item .overlay-wrap {
    border: 1px solid #858585;
}

.mdev .white-popup {
    background: rgb(55 54 54);
    padding: 20px 20px;
}


.mdev .other-page .elementor-widget-thegem-quoted-text {
    max-width: 1200px;
    margin: 0 auto;
}

.mdev .other-page .elementor-widget-thegem-quoted-text .gem-text-output {
    letter-spacing: 1px;
}

.mdev .other-page .elementor-widget-thegem-styledbutton .gem-widget-button {
    margin-top: 50px;
}


.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li.menu-item-current > a, 
.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li.menu-item-active > a, 
.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li.menu-overlay-item-open > a, 
.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li li.menu-item-current > a, 
.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li li.menu-item-active > a, 
.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li li.menu-overlay-item-open > a, 
.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li.menu-item-current > .menu-item-parent-toggle, 
.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li.menu-item-active > .menu-item-parent-toggle, 
.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li li.menu-item-current > .menu-item-parent-toggle, 
.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li li.menu-item-active > .menu-item-parent-toggle, 
.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li li.menu-overlay-item-open > .menu-item-parent-toggle,
.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li a:hover {
    color: #cf1e45;
    background: linear-gradient(135deg, #FF0000 0%, #c70303 54.98%, #a30303 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li.menu-overlay-item-open > .menu-item-parent-toggle, 
.mdev .thegem-te-menu__overlay.desktop-view .nav-menu > li .menu-item-parent-toggle:hover {
    color: #cf1e45;
}


.mdev .thegem-te-menu__overlay.desktop-view .menu-overlay-item-open .sub-menu {
    border-top: 1px solid;
    border-bottom: 1px solid;
}


.mdev .teelts h2 {
    font-size: 22px;
    line-height: 32px;
    padding-left: 20px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #fff;
}

.mdev .teelts .table-block .lines {
	display: flex;
    margin-bottom: 8px;
    border-radius: 2px;
    overflow: hidden;
}
.mdev .teelts .table-block .lines:first-child {
    margin-bottom: 18px;
}

.mdev .teelts .table-block [class*=line-] {
    padding: 10px 20px;
    font-size: 18px;
    letter-spacing: 1px;
    color: #fff;
    display: inline-flex;
    width: 210px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: 'Jost';
}

.mdev.single-prog .elementor-widget-ucaddon_prog_single_page_dpoau:not(:last-child),
.mdev.single-prog .entry-content > .elementor > .elementor-section.elementor-section-boxed:not(:last-child) {
    margin-bottom: 80px;
} 

.mdev .teelts .table-block .line-1 {
    width: 100%;
    flex: 1 1 50%;
    justify-content: flex-start;
}
/*
.mdev .teelts .table-block .line-2 {
    padding-right: 105px;
    padding-left: 0;
    width: auto;
}
*/

#main-content .uc_post_grid_style_one_image[href*="grid_afisha_elementor_990558d_item2"] + .uc_content .uc_post_text,
#main-content .uc_content.uc_post_title > a[href*="afisha_elementor_990558d_item2"] > div,
#main-content .uc_post_grid_style_one_image[href*="grid_afisha_elementor_990558d_item1"] + .uc_content .uc_post_text,
#main-content .uc_content.uc_post_title > a[href*="afisha_elementor_990558d_item1"] > div {
    -o-transition: color 0.3s, background-color 0.3s;
    -webkit-transition: color 0.3s, background-color 0.3s;
    transition: color 0.3s, background-color 0.3s;
}
#main-content .uc_post_grid_style_one_image[href*="grid_afisha_elementor_990558d_item2"] + .uc_content:hover .uc_post_text,
#main-content .uc_content:hover .uc_post_title > a[href*="afisha_elementor_990558d_item2"] > div,
#main-content .uc_post_grid_style_one_image[href*="grid_afisha_elementor_990558d_item1"] + .uc_content:hover .uc_post_text,
#main-content .uc_content:hover .uc_post_title > a[href*="afisha_elementor_990558d_item1"] > div {
color: #fff;
    background: rgb(0 0 0 / 45%);
    padding-left: 8px;
    padding-top: 4px;
} 

.mdev .teelts .table-block .lines:nth-child(1n) [class*=line-]  {
	background: rgba(255, 255, 255, 0.13);
}
.mdev .teelts .table-block .lines:nth-child(2n) [class*=line-]  {
	background: rgba(255, 255, 255, 0.08);
}
.mdev .teelts .table-block .lines:first-child [class*=line-]  {
	background: unset;
    font-weight: 600;
    font-size: 20px;
}

.elementor-element-d764431 {
    height: 100% !important;
    padding-top: 100px !important;
    background-attachment: fixed !important;
}

 

.mdev .p-menu  {
    margin-bottom: 60px;
}

.mdev .p-menu .teelts {
    max-width: 1200px;
    margin: 0 auto;
}
.mdev .p-menu .teelts .table-block {
    margin-bottom: 30px;
}


.mdev .home-gallery.home-menu {
    height: auto;
}

.mdev .home-gallery.home-menu .elementor-col-100 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element.mgd-mg {
    margin-top: 90px;
}
.mdev .home-gallery.home-menu .elementor-col-100 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element.mgd-mg.mgdr {
    margin-top: 0;
}

.mdev .home-gallery.home-menu .elementor-col-100 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element.elementor-widget-ucaddon_prog_single_page_crazy,
.mdev .home-gallery.home-menu .elementor-col-100 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element.elementor-widget-ucaddon_prog_single_page_dpoau {
    margin-top: 0;
}
.mdev .home-gallery.home-menu .elementor-col-100 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element.mgd-mg + .elementor-widget-ucaddon_prog_single_page_crazy,
.mdev .home-gallery.home-menu .elementor-col-100 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element.mgd-mg + .elementor-widget-ucaddon_prog_single_page_dpoau {
    margin-top: 30px;
}

.mdev .thegem-te-menu-mobile__default.mobile-view li.menu-item-current > a,
.mdev .thegem-te-menu-mobile__default.mobile-view li.menu-item-active > a,
.mdev .thegem-te-menu-mobile__default.mobile-view li.menu-item-current > span > a,
.mdev .thegem-te-menu-mobile__default.mobile-view li.menu-item-active > span > a {
    border-left: 4px solid #dd0a1c;

}

@media (max-width: 1244px){
	.mdev .other-page {
		margin-top: 150px;
	}
}

@media (max-width: 1024px){
	.mdev .other-page {
		margin-top: 80px;
	}
}

@media (max-width: 767px){
    .mdev .other-page blockquote {
        font-size: 18px;
        line-height: 30px;
    }
    .mdev .other-page .elementor-widget-thegem-styledbutton .gem-widget-button {
        margin-top: 25px;
        margin-bottom: 25px;
    }
    .mdev .f-map > .elementor-container {
        height: 100vh !important; 
    }
    .mdev .f-map .cont-block {
        max-width: 100%;
        height: 100vh;
    }
    .mdev .f-map .cont-block > .elementor-column-wrap > .elementor-widget-wrap {
        align-content: center;
    }
    .mdev .f-map .cont-block > .elementor-column-wrap > .elementor-widget-wrap > .elementor-widget-imag {
        margin-bottom: 0;
    }
    .mdev .home-gallery .elementor-col-100 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element {
        margin-bottom: 0;
        margin-top: 10px;
    }
    .mdev .home-gallery.home-menu .elementor-col-100 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element.mgd-mg {
        margin-top: 0;
    }
    .home section:not(.elementor-inner-section, .start, .f-map) {
        padding-top: 50px;
    }
    .mdev .for_you .fy-col-1 > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element.des_you {
        margin-bottom: 0;
    }
    .mdev .p-menu {
        margin-top: 80px;
    }
}

@media (max-width: 580px){
    .mdev .taxt-call {
        display: none !important;
    }
}

@media (max-width: 500px){
    .home section:not(.elementor-inner-section, .start, .f-map) {
        padding-top: 20px;
    }
    .ndev .home-menu .elementor-element-70875ef .elementor-heading-title, 
    .lama.ndev .home-gallery .elementor-element-2a7a354 
    .elementor-heading-title, 
    .lama.mdev .for_you .elementor-element-0d6df35 .elementor-heading-title, 
    .lama.mdev .for_you .elementor-element-20d2d3a .elementor-heading-title {
        margin-bottom: 5px;
    }
    .mdev .teelts .table-block [class*=line-] {
        text-align: left;
        font-size: 17px;
    }
    .mdev .teelts .table-block .line-2 {
        text-align: right;
    }

    .mdev .gal-imgs .gallery-item .image-wrap  {
        height: 450px;
    }
    
    .mdev .gal-imgs .gallery-item .image-wrap picture img {
        width: 100%;
        height: 450px;
    }
    
    .mdev .gal-imgs .gallery-item {
        width: 100% !important;
    }
}