/* Override Defaults */
/* .ip-banner {
    display: none;
} */

.ip-breadcrumbs {
    display: none;
}

#inner-page-wrapper > .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0 !important;
}

/* Gallery */
.sb-gallery-holder-lg:not(.slick-initialized) .sb-gallery-item ~ div {
    display: none;
}

.sb-gallery-holder-sm:not(.slick-initialized) {
    display: flex;
    flex-wrap: wrap;
}

.sb-gallery-holder-sm:not(.slick-initialized) .sb-gallery-item:nth-child(n + 4) ~ div {
    display: none;
}

.sb-gallery-holder-sm .sb-gallery-item {
    width: calc(100% / 4);
    padding: 0 15px;
}

.sb-gallery-holder-sm-wrap {
    padding: 15px 50px;
    background: rgba(255, 193, 86, 0.8);
    max-width: 1440px;
    margin: -93px auto 45px;
    width: calc(100% - 30px);
    z-index: 200;
    position: relative;
}

.sb-gallery-holder-sm .sb-gallery-item:not(.slick-current) .img-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    opacity: 0.8;
    z-index: 10;
}

.sb-gallery-holder-sm {
    margin: 0 -15px;
}

.sb-gallery-holder-nav button {
    position: absolute;
    font-size: 25px;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
    outline: none;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
}

.sb-gallery-holder-nav .prev {
    left: 15px;
}

.sb-gallery-holder-nav .next {
    right: 15px;
}

/* Details */
.single-building-details {
    padding: 0 15px;
}

.sb-breadcrumbs .ip-breadcrumbs {
    display: block;
}

.sb-breadcrumbs .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.sb-details-info-main {
    margin: 0 -15px;
}

.sb-details-info-item {
    width: calc(100% / 2);
    padding: 0 15px 0;
    margin: 0 0 40px;
}

.sb-details-info-item-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    font-size: 18px;
}

.sb-details-info-item-details {
    width: calc(100% - 50px);
    padding: 0 0 0 20px;
}

.sb-details-info-item-label h4 {
    margin: -8px 0 13px;
    font-size: 25px;
    font-weight: 700;
    font-family: var(--font-family-title);
    text-transform: uppercase;
    color: var(--secondary);
}

.sb-details-info-item-value {
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
    word-break: break-word;
}

.sb-details-info {
    background: rgba(217, 217, 217, 0.2);
    padding: 70px 50px 30px;
    width: 60%;
}

.sb-details-about-txt {
    font-size: 20px;
    line-height: 1.7;
}

.sb-details-about {
    margin: 0 0 80px;
}

.sb-radio .sb-details-info-item-value {
    text-transform: capitalize;
}

.sb-details-image {
    width: 40%;
    padding: 0 50px 0 0;
}



.sb-details-image .img-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 135px;
}

.sb-details-image .img-wrapper::after {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 75%;
    background: var(--primary);
    z-index: -1;
    margin: auto;
}

/* Contact */
.single-building-contact {
    background: var(--secondary);
    margin: 70px 0 0;
    padding: 100px 15px;
}

.single-building-contact .bg-canvas {
    opacity: 0.2;
}

.sb-contact-main {
    max-width: 1140px;
    width: 100%;
    margin: auto;
    background: transparent;
}

.sb-contact-col.agent {
    width: 25%;
    background: rgba(255, 255, 255, 0.15);
    padding: 30px 30px;
}

.sb-contact-col.desc {
    width: 75%;
    padding: 0 0 0 50px;
}

.sb-contact-agent-name {
    font-family: var(--font-family-title);
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
}

.sb-contact-agent-position {
    font-size: 17px;
    color: #fff;
    margin: 7px 0 0;
}

.sb-contact-agent-details {
    padding: 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sb-contact-agent-details-col.right a {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #000;
    font-size: 19px;
}

.sb-contact-agent-details-col.right {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 110px;
    margin: 5px 0 0;
}

.sb-contact-agent-details-col.right a:first-child {
    margin: 0 10px 0 0;
}

.sb-contact-agent-details-col.left {
    width: calc(100% - 110px);
}

.sb-contact-desc-txt {
    font-size: 25px;
    color: #fff;
    margin: 0 0 45px;
    line-height: 1.7;
    font-weight: 300;
}

.sb-contact-btn {
    margin: 0 15px 0 0;
}

.sb-contact-btn a {
    padding: 10px 15px;
    max-width: 100%;
}

.sb-contact-btn a:hover {
    background: #fff !important;
    color: var(--secondary) !important;
}

.sb-form.contact-form-main input,
.sb-form.contact-form-main textarea {
    border-color: var(--secondary);
    color: var(--secondary);
}


.sb-form.contact-form-main input::placeholder,
.sb-form.contact-form-main textarea::placeholder  {
    color: var(--secondary);
    opacity: 1; /* Firefox */
}
  
.sb-form.contact-form-main input::-ms-input-placeholder,
.sb-form.contact-form-main textarea::-ms-input-placeholder { /* Edge 12 -18 */
    color: var(--secondary);
}

#popmake-274 {
    padding-bottom: 55px !important;
}

.sb-form.contact-form-main .wpcf7 form .wpcf7-response-output {
    color: var(--secondary);
}

/* Location */
.single-buidling-location {
    padding: 100px 15px 50px;
}

.single-buidling-location::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: var(--primary);
    z-index: 10;
}

.single-buidling-location .bg-canvas {
    opacity: 0.1;
    filter: grayscale(1);
    background-position: top;
}

.sb-location-main {
    background: transparent !important;
}

.sb-location-map iframe {
    display: block;
    width: 100%;
}

/* Navigation */
.sb-back-btn {
    text-align: center;
    padding: 15px 30px;
    background: var(--secondary);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 15px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
}

.sb-navigation a:not(.sb-back-btn) {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    font-size: 20px;
}

.sb-navigation {
    margin: 40px 0 0;
}

@media only screen and (max-width: 1199px) {
    .sb-details-info-item {
        width: 100%;
    }
}


@media only screen and (max-width: 991px) {

    .bg-fixed {
        background-attachment: scroll !important;
    }

    .single-building-gallery {
        margin: 100px 0 0;
    }

    .sb-gallery-holder-sm-wrap {
        margin: 15px auto 45px;
    }

    .sb-details-info-item {
        width: 100%;
        padding: 0;
    }

    .sb-contact-col {
        width: 100% !important;
    }

    .sb-contact-col.agent {
        max-width: 400px;
        margin: 0 auto 40px;
    }

    .sb-contact-col.desc {
        padding: 0;
        text-align: center;
    }

    .sb-contact-cta {
        flex-direction: column;
    }

    .sb-contact-btn {
        margin: 0 0 15px;
    }

    .sb-details-about {
        text-align: center;
    }

    .sb-contact-agent-details-col.left {
        width: 100%;
        margin: 0 0 10px;
    }

    .sb-contact-agent-details {
        justify-content: center;
        text-align: center;
    }

    .sb-navigation a:first-child {
        order: 1;
    }
    
    .sb-navigation a:last-child {
        order: 2;
    }
    
    a.sb-back-btn {
        order: 3;
        margin: 20px 0;
    }
    
    .sb-navigation a:not(.sb-back-btn) {
        margin: 0 10px;
    }

    .sb-details-image {
        width: 100%;
        padding: 0;
        max-width: 400px;
        margin: 0 auto 15px;
    }

    .sb-details-info {
        width: 100%;
    }

}

@media only screen and (max-width: 480px) {
    .sb-gallery-holder-nav {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sb-gallery-holder-nav button {
        position: relative;
        top: 0;
        transform: none;
        margin: 20px 10px 0;
        right: auto !important;
        left: auto !important;
    }

    .sb-gallery-holder-sm .sb-gallery-item {
        padding: 0 5px;
    }
    
    .sb-gallery-holder-sm-wrap {
        padding: 15px 20px;
    }
    
    .sb-details-info-main {
        margin: 0;
    }

    .sb-details-info {
        padding: 70px 15px 30px;
    }

    .sb-details-info-item-details {
        padding: 0 0 0 15px;
    }
}