/*
 * Theme Name: My Timber 2.x Starter Theme
 * Description: Starter Theme to use with Timber
 * Author: Upstatement and YOU!
*/

.bg-slider.banner__bg picture {
    /*opacity: 0;*/
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-slider.banner__bg picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-slider.banner__bg::before {
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.30);
}

.header__logo a span {
    font-weight: 400;
}

@media screen and (min-width: 767.98px) {
    .banner__info-bg {
        padding: 21px 35px;
    }
}

@media screen and (min-width: 576px) {
    .banner {
        height: 100%;
    }

    .banner .container {
        height: 100%;
    }

    .banner__wrapper {
        height: 100%;
    }

    .banner__bottom {
        flex-direction: revert;
        justify-content: space-between;
        margin-top: auto;
    }
}

.banner.banner--zag .banner__info {
    background-color: #fff;
}

.banner.banner--zag .banner__info-img {
    margin: -114px -40px -58px -5px;
    position: relative;
    top: -53px;
}

@media screen and (min-width: 767.98px) {
    .banner.banner--zag .banner__info-img picture img {
        max-width: 450px;
        margin-left: -70px;
    }
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
    height: 0;
    margin-top: -35vh;
}

.slider-control {
    width: 100px;
    height: 70vh;
    border: none;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMzQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEgMzNsMTYtMTZMMSAxIiBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PC9zdmc+);
    font-size: 0;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
    background-color: transparent;


}

.slider-control.slider-control--prev {
    transform: rotate(180deg);
}

.slider-control:hover {
    opacity: 1;
}

@media screen and (max-width: 1376px) {
    .slider-control {
        width: 35px;
        background-size: 16px auto;
    }
}

@media screen and (max-width: 480px) {
    .slider-controls {
        display: none;
    }
}

.banner__info-bg {
    background: #fff;
}

.banner__subtitle {
    font-size: 24px;
    padding-bottom: 19px;
}

.banner__bg {
    position: absolute;
}

.banner.banner--zag.banner--min {
    height: auto;
    position: relative;
    padding-top: 107px;
    margin-top: -100px;
    min-height: 640px;
}

.section-photo {
    padding: 70px 0;
}

.gallery__list {
    grid-template-columns: repeat(1, 1fr);
    display: grid;
    gap: 12px
}

@media screen and (min-width: 576px) {
    .gallery__list {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 12px
    }

    .banner__wrapper {
        padding-bottom: 70px;
    }
}

@media screen and (min-width: 992px) {
    .gallery__list {
        gap: 24px;
        grid-template-columns: repeat(3, 1fr);
        display: grid;
    }



}

@media screen and (min-width: 992px) {
    .gallery__item:first-child {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-row-end: 3;
    }
}






.gallery__item {
    width: 100%;
}

.gallery__item img {
    display: block;
    aspect-ratio: 1.515/1;
    display: block;
    width: 100%;
    border-radius: 12px;
    height: 100%;
    object-fit: cover;
}

.section-photo {
    padding: 60px 0;
}

@media screen and (min-width: 1440px) {
    .section-photo {
        padding: 86px 0;
    }
}

@media screen and (min-width: 992px) {
    .gallery__item:nth-child(7) {
        grid-column-start: 2;
        grid-column-end: 4;
        grid-row-start: 4;
        grid-row-end: 6;
    }

    .gallery__item:nth-child(14) {
        grid-column-start: 1;
        grid-column-end: 3;
        grid-row-start: 7;
        grid-row-end: 8;
    }

    .banner__bottom-policy {
        font-size: 20px;
        color: #222;
    }

    .btn--1.button {
        height: 48px;
        padding-inline: 1.8em;
    }


}



.section-form .banner__info {
    box-shadow: 0 8px 32px 0 #00000024;
    border-radius: 10px;
}

.section-form .banner__info-bg {
    border-radius: 10px 10px 10px 10px;
}

.section-form {
    overflow: visible;
    padding: 62px 0 70px 0;
}

.footer.footer-white {
    padding: 24px 0;
    color: #000;
    border-top: 1px solid #ededed;
}

.footer.footer-white .banner__bottom-default {
    font-size: 20px;
    color: #222;
}

.gallery__title {
    color: #000;
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 46px;
}

.gallery__title {
    color: #000;
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 35px;
}


.section-form .banner__info {
    background-color: #fff;
}

.section-form .banner__info-img {
    margin: -114px -40px -58px -5px;
    position: relative;
    top: -53px;
}

@media screen and (min-width: 767.98px) {
    .section-form .banner__info-img picture img {
        max-width: 450px;
        margin-left: -70px;
    }

    .banner__body {
        margin-bottom: 27px;
    }

    .banner__info-content-info h4 {
        font-weight: 700;
    }

    .banner__info-content-info {
        padding-bottom: 14px;
    }

    .banner__info-content {
        padding-top: 28px;
    }
}

.btn--1.button {
    border-radius: 6px;
}

.banner__info-content {
    margin-right: auto;
}

@media screen and (max-width: 576px) {
    .section-form .banner__info-img {
        margin: -63px 0 -69px 0;
        top: -53px;
    }

    .banner.banner--zag.banner--min {
        display: flex;
        align-items: center;
        padding-top: 60px;
    }

    .gallery__title {
        font-size: 29px;
    }


}

.btn--1:hover {
    opacity: 1;
    background: #FF6666;
}

.banner__info-content-info span {
    color: #525252;
    font-weight: 400;
}

.gallery__item {
    position: relative;
    cursor: pointer;
}

.gallery__item::before {
    content: '';
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjYiIGhlaWdodD0iNjYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTIwLjIgMzNoMjUuNk0zMyAyMC4ydjI1LjZNNjUgMzNjMCAxNy42NzMtMTQuMzI3IDMyLTMyIDMyQzE1LjMyNyA2NSAxIDUwLjY3MyAxIDMzIDEgMTUuMzI3IDE1LjMyNyAxIDMzIDFjMTcuNjczIDAgMzIgMTQuMzI3IDMyIDMyeiIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);
    background-size: 64px auto;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: .3s ease;
    pointer-events: none;
    border-radius: 10px;
}

.gallery__item:hover::before {
    opacity: 1;
}

@media screen and (min-width: 992px) {

    .gallery__item:nth-child(1)::before,
    .gallery__item:nth-child(7)::before,
    .gallery__item:nth-child(14)::before {
        background-size: 104px auto;
    }
}