/*Scrollbar*/
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-track {
    /*Фон*/
    background: #CAC7C4;
}
body::-webkit-scrollbar-thumb {
    /*Ползунок*/
    background-color: #242323;
}

/*Selection*/
::selection {
    background: #242323;
    color: #FCFAF7;
}

/*Form buttons*/
.tn-form__submit .t-submit {
    overflow: hidden;
    position: relative;
    z-index: 0;
}
.tn-form__submit .t-submit:before {
    background-color: #242323; /*фон кнопки при ховере*/
    position: absolute;
    z-index: -1;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    transition: all .3s ease-out;
}
.tn-form__submit .t-submit:hover:before {
    top: 0;
    transition: all .3s ease-out;
}

/*Cases*/
/*Фон галереи*/
.t-zoomer__container {
    background-color: #FCFAF7 !important;
}

/*Точки*/
.t-slds__bullet_wrapper {
    padding-bottom: 4px !important;
}

/*Галерея три в ряд*/
@media (max-width: 960px) {
.t603__tile_33 {
    width: 33.3333%;
}
}

/*Галерея одно фото на телефоне*/
@media (max-width: 480px) {
.t603__tile {
    width: 100%;
}
.t662__row {
    flex-direction: column;
}
.t662__tile {
    width: 100%;
    padding: 0 !important;
}
.t662__tile_sm .t662__bgimg {
    padding-bottom: 150%;
}
.t662__tile_sm {
    padding-top: 10px !important;
}
}