/* ============================================
    Spis treści:
    0. Ogólne
    1. Sidebar
    2. Header
    3. Gallery
    4. Icon Box
    5. Description
    6. Details
    7. Map
    8. Video
    9. Related Ads
============================================ */

/* =========== [0. Ogólne] =========== */
.mrb-wrapper {
    padding-left: 30px;
    padding-right: 30px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.mrb-wrapper .mrb-content {
    padding-right: 40px;
    width: 66.6%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-sizing: border-box;
}

.mrb-wrapper .mrb-sidebar {
    padding-left: 20px;
    width: 33.3%;
    box-sizing: border-box;
}

.mrb-h4-title {
    font-weight: 400;
}

@media (max-width: 1200px) {
    .mrb-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .mrb-wrapper .mrb-content {
        padding-right: 0px;
        width: 100%;
    }
    .mrb-wrapper .mrb-sidebar {
        padding-left: 0px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .mrb-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }
    .mrb-wrapper .mrb-content {
        gap: 15px;
    }
}

/* =========== [1. Sidebar] =========== */

.mrb-sidebar-content {
    position: sticky;
    top: 50px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    background-color: #FFF;
    box-sizing: border-box;
}

/* Agent */
.agent {
    display: flex;
    align-items: center;
    gap: 20px;
}

.agent-image {
    flex-shrink: 0;
    height: 100px;
    width: 100px;
    object-fit: cover;
    object-position: top;
    border-radius: 200px;
}

.agent-title {
    margin: 0;
    font-size: 22px;
    font-weight: 400;
}

.agent-title a {
    color: #323334;
}

.agent-content {
    margin-bottom: 0;
}

/* Formularz */
.mrb-sidebar-content input,
.mrb-sidebar-content textarea {
    border-width: 0px 0px 0px 0px !important;
    padding: 1.6rem 2.4rem 1.6rem 2.4rem !important;
    color: #777777 !important;
    background-color: #F8F8F8 !important;
}

.mrb-sidebar-content [type="checkbox"] {
    padding: 0 !important;
    border: 1px solid #ccc !important;
}

.mrb-sidebar-content [type="checkbox"]:checked {
    background-color: #323334 !important;
    border-color: #323334 !important;
}

/* Sociale */
.mrb-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.mrb-socials .social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border-width: 1px !important;
}

@media (max-width: 767px) {
    .mrb-sidebar-content {
        padding: 2rem;
    }
    .agent-image {
        width: 80px;
        height: 80px;
    }
}

/* =========== [2. Header] =========== */
.mrb-header {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.mrb-header-localization {
    font-size: 1.3em;
    color: #020101;
}

.mrb-header-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

.mrb-header-price-wrapper .mrb-header-price {
    font-weight: 400;
}

.mrb-header-price-wrapper .mrb-header-area {
    color: #888888;
    font-size: 18px;
    font-weight: 400;
}


.mrb-header-price-wrapper .mrb-header-price,
.mrb-header-price-wrapper .mrb-header-area {
    margin: 0;
}

@media (max-width: 767px) {
    .mrb-header {
        flex-direction: column;
        gap: 0;
    }
    .mrb-header-price-wrapper {
        align-items: flex-start;
    }
}

/* =========== [3. Gallery] =========== */
.swiper-property {
    padding-bottom: 30px !important;
    width: 100%;
}

.swiper-property .swiper-pagination {
    bottom: 0px !important;
}

.swiper-property .swiper-pagination-bullet {
    height: 7px !important;
    width: 7px !important;
}

.swiper-property .swiper-pagination-bullet-active {
    background-color: #000 !important;
}

.swiper-property .swiper-button-next,
.swiper-property .swiper-button-prev {
    color: #FFF;
}

.swiper-property .swiper-button-next:after,
.swiper-property .swiper-button-prev:after {
    font-size: 28px;
}

.video-anchor {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #FFF;
    background-color: #232425CC;
    z-index: 9;
}

/* =========== [4. Icon Box] =========== */
.mrb-icon-box {
    padding: 2rem 4rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #FFF;
    box-sizing: border-box;
}

.mrb-icon-box>div:not(:first-of-type) {
    padding-left: 15px;
    border-left: 1px solid #E1E1E1;;
}

.mrb-icon-box-main-item-title {
    margin-bottom: 4px;
    font-size: 14px;
    text-transform: uppercase;
}

.mrb-icon-box-main-item-desc {
    margin: 2px 0 0 0;
    color: #C69C6D;
    font-size: 16px;
    line-height: 1em;
}

.mrb-icon-box-item {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.mrb-icon-box-item-head {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mrb-icon-box-item-head>span {
    font-size: 1.8rem;
    font-weight: 700;
    color: #323334;
    
}

.mrb-icon-box-item-head>i {
    line-height: 1.2;
}

.mrb-icon-box-item-head .u-icon-bed {
    font-size: 24px;
}

.mrb-icon-box-item-head .u-icon-shower {
    font-size: 18px;
}

.mrb-icon-box-item-head .u-icon-garage,
.mrb-icon-box-item-head .u-icon-square {
    font-size: 20px;
}

.mrb-icon-box-item-head .u-icon-calendar2 {
    font-size: 17px;
}

.mrb-icon-box-item-desc {
    font-size: 12px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .mrb-icon-box {
        padding: 2rem;
    }
}

/* =========== [5. Description] =========== */
.mrb-content-desc {
    padding: 4rem 4rem;
    background-color: #fff;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .mrb-content-desc {
        padding: 2rem;
    }
}

/* =========== [6. Details] =========== */
.mrb-details {
    padding: 4rem 4rem;
    background-color: #fff;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .mrb-details {
        padding: 2rem;
    }
}

/* =========== [7. Map] =========== */
.mrb-map {
    padding: 4rem 4rem;
    background-color: #fff;
    box-sizing: border-box;
}

.mrb-map-container {
    display: flex;
	flex-wrap: wrap;
    gap: 20px;
}

.mrb-map-container iframe {
    flex: 1;
    width: 100%;
}

.mrb-map-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 100px), 1fr));
    align-content: flex-start;
    gap: 10px;
}

.mrb-map-grid .item {
    padding: 10px 3px;
    color: #323334;
    font-weight: 500;
    border-bottom: 1px solid #e1e1e1;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .mrb-map {
        padding: 2rem;
    }
}

/* =========== [8. Video] =========== */
.mrb-video {
    scroll-margin-top: 100px;
    padding: 4rem 4rem;
    background-color: #fff;
    box-sizing: border-box;
}

.mrb-video video {
    width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .mrb-video {
        padding: 2rem;
    }
}

/* =========== [9. Related Ads] =========== */
.related_ads {
    display: flex;
    flex-direction: column;
    margin-top: 60px;
	width: 100%;
}

.related_ads h4 {
    margin: 0;
    font-size: 28px;
    font-weight: 400;
}