/* тень для текста на подложке (страницы объектов) */
.text-shadow .tn-atom {
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

/* фикс порядка фоток на мобильных устройствах в блоке с преимуществами ЖК */
@media (max-width: 959px) {
  .uc-mob-reverse .t477 .t-container {
    display: flex;
    flex-direction: column-reverse;
  }

  .uc-mob-reverse .t477__top {
    margin-top: 20px;
    margin-bottom: 0px;
  }
}


/* стили для блока с Планировками */
.uc-layouts .t-slds__main {
    background-color: white;
}

.uc-layouts .tn-atom__slds-img {
    background-origin: content-box;
    padding: 30px;
}

.t-zoomer__container {
    background-color: white !important;
}

/* фикс темного фона */
html, .t774__wrapper {
    background-color: #000A0D;
}

/* стили для блока с картой */
.t554 {
    width: calc(100% - 80px);
    overflow: hidden;
    padding: 40px;
}

@media screen and (max-width: 480px) {
    .t554 {
        width: calc(100% - 40px);
        overflow: hidden;
        padding: 20px;
    }
}


.t554__general-wrapper {
    border-radius: 30px !important; 
    overflow: hidden !important; 
}

.t554 .t-map {
    border-radius: 30px !important;
}

.t554__card {
    border-radius: 30px !important;
    background-color: white !important;
}

@media (max-width: 959px) {
    .t554__card-wrapper {
        max-width: 100%;
    }
    
    .t554__card {
        border-radius: 0 !important;
    }
}


/* фикс главного экрана объекта */
.background-padding {
    padding: 40px;
}

@media screen and (max-width: 480px) {
    .background-padding {
        padding: 20px;
    }
}

.fix-center {
    top: 50% !important;
    transform: translateY(-50%);
}

/* стили для растягивания карточек с планировками на всю ширину на телефонах */
@media screen and (max-width: 480px) {
    .mob-100, .mob-100-gallery {
        width: 100% !important;
    }

    .mob-100-gallery {
        height: 75vw !important;
    }

    .t-slds__main, .t-slds__item, .tn-atom__slds-img {
        width: calc(100vw - 40px) !important;
        height: 75vw !important;
    }
}

/* разработка сайта - mmnw.dev */