/*
Theme name: Baltic Horizon
*/

.hide:not(.shown) {
    display: none;
}

#map {
    height: 100%;
}

.location__map:before {
    display: none;
}

.offer__building-info {
    display: none;
}

.offer__building {
    position: relative;

}

.offer__building svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
}


.offer__building path {
    fill: #CFC1A6;
    opacity: 0;
    cursor: pointer;
    transition: all .3s ease;
}

@media(min-width: 768px) {
.offer__building path:hover {
    opacity: .6;
}
}

.offer__building__main {
    position: relative;
}
.offer__building__floor {
    position: relative;
    display: none;
}

.vis-hidden {
    display: none;
}

.vis-visible {
    display: block;
}

.lg-object.lg-image {
    background: #fff;
}

.offer__building .button {
    background: #cfc1a6;
    color: #121420;
    position: absolute;
    top: 15px;
    right: 15px;
    display: none;
    z-index: 5;
}
.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover 
{
    border-color: #cfc1a6;
    
}
.offer__building .button.vis-visible {
    display: inline-flex;
}

.interiors__images img {
    border-radius: 4px;
}

.scroll-top-arrow {
    position: fixed;
    bottom: 2.2em;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #fff;
    z-index: 3;
    height: 2.5em;
    -webkit-box-shadow: 0 12px 38px rgb(0 0 0 / 11%);
    box-shadow: 0 12px 38px rgb(0 0 0 / 11%);
    width: 2.5em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    top: 50%;
    right: 25px;
    margin-top: -2em;
    transition: all .3s ease;
    display: none;
}

.form__checkbox label:after {
    display: none;
}

.wpcf7-list-item-label:after {
border-radius: 2px;
background-color: #cfc1a6;
width: 9px;
height: 9px;
opacity: 0;
pointer-events: none;
transition: opacity .25s linear 0s;
z-index: 2;
top: 9px;
left: 5px;
content: "";
position: absolute;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7 form .wpcf7-response-output {

    border: 0;
    margin: 0;
    padding: 0;
    margin-top: 30px;
}

input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
    opacity: 1;
}

.header__menu ul li a {
    color: white ;
}
.offer__building-info {
    bottom: auto;
    right: auto;
}
.scroll-top-arrow.up {
    display: flex;
}

.scroll-top-arrow path {

    transition: all .3s ease;
}

.scroll-top-arrow svg {

    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.scroll-top-arrow:hover {
    background: #cfc1a6;
    
}

.gallery__content {
    display: none;
}
.gallery__content.is-active {
    display: flex;
}

body,html {
    overflow-x: hidden;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

.wpcf7-list-item-label a {
    color: inherit;
    text-decoration: underline;
}

.gallery__content a {
    position: relative;
}

.gallery__content a svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all .3s ease;
    width: 40px;
    height: auto;
}

.gallery__content a:hover svg {
    opacity: 1;
}


@-webkit-keyframes B {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 50px, 0);
        transform: translate3d(0, 50px, 0)
    }
    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}

@keyframes B {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 50px, 0);
        transform: translate3d(0, 50px, 0)
    }
    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}

.fadeInUp {
    -webkit-animation-name: B;
    animation-name: B
}

.about__top-image {
    max-width: 56.5%;
}

.about__top-image img {
    border-radius: 4px;
}

@media(max-width: 1150px) {
    .about__top-image {
        max-width: 48.5%;
    }
}

@media(max-width: 1024px) {
    .about__top-image {
        max-width: 100%;
    }
}

.swiper-button-next {    background-color: #1b2234;
    width: 76px;
    height: 76px;
    justify-content: center;
    align-items: center;
    display: flex;
    position: absolute;
    z-index: 2;
    bottom: 0;
    right: 0;
    cursor: pointer;
    transition: all .5s ease;
}
.swiper-button-prev {    background-color: #1b2234;
    width: 76px;
    height: 76px;
    justify-content: center;
    align-items: center;
    display: flex;
    position: absolute;
    z-index: 2;
    bottom: 76px;
    right: 0;
    cursor: pointer;
    transition: all .5s ease;
}

.swiper-button-prev img {
    transform: rotate(-180deg);
}

.swiper-button-prev:hover, .swiper-button-next:hover {
    background: #fff;
}

.about__top-image .swiper-slide img {
    width: 100%;
}