/* ==========================================================
   PROPERTY DETAILS
   Candor Property
========================================================== */


/* ----------------------------------------------------------
   Property Header
---------------------------------------------------------- */

.cp-property-header {
    background-color: #ffffff;
}


.cp-property-title {
    color: #302b73;

    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
}


.cp-property-address {
    color: #777777;

    font-size: 17px;
}


.cp-property-price {
    color: #302b73;

    font-size: 30px;
    font-weight: 700;
}


.cp-property-status {
    color: #b6a58f;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.4px;

    text-transform: uppercase;
}


/* ----------------------------------------------------------
   Main Gallery
---------------------------------------------------------- */

.cp-property-gallery-main {
    position: relative;

    overflow: hidden;

    border-radius: 8px;

    background-color: #f4f4f4;
}


.cp-property-gallery-main img {
    display: block;

    width: 100%;
    height: 580px;

    object-fit: cover;
}


.cp-property-gallery-main .swiper-button-prev,
.cp-property-gallery-main .swiper-button-next {
    color: #ffffff;
}


.cp-property-gallery-main .swiper-button-prev::after,
.cp-property-gallery-main .swiper-button-next::after {
    font-size: 32px;
}


/* ----------------------------------------------------------
   Thumbnail Gallery
---------------------------------------------------------- */

.cp-property-gallery-thumbs {
    height: 100px;

    overflow: hidden;
}


.cp-property-gallery-thumbs .swiper-slide {
    cursor: pointer;

    opacity: 0.55;

    border-radius: 5px;

    overflow: hidden;

    transition: opacity 0.2s ease;
}


.cp-property-gallery-thumbs .swiper-slide:hover {
    opacity: 0.8;
}


.cp-property-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}


.cp-property-gallery-thumbs img {
    display: block;

    width: 100%;
    height: 100px;

    object-fit: cover;
}


/* ----------------------------------------------------------
   Main Area
---------------------------------------------------------- */

.cp-property-main-area {
    background-color: #ffffff;
}


/* ----------------------------------------------------------
   Property Facts Box
---------------------------------------------------------- */

.cp-property-facts-box {
    padding: 20px 15px;

    background-color: #f6f4f1;

    border-radius: 8px;
}


.cp-property-fact {
    display: flex;

    min-height: 140px;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 15px;

    color: #302b73;
}


.cp-property-fact .material-icons {
    margin-bottom: 8px;

    color: #b6a58f;

    font-size: 30px;
}


.cp-property-fact strong {
    font-size: 20px;
    font-weight: 700;
}


.cp-property-fact > span:last-child {
    margin-top: 3px;

    color: #777777;

    font-size: 13px;
}


.cp-property-type {
    font-size: 16px !important;

    line-height: 1.3;

    text-align: center;
}


/* ----------------------------------------------------------
   Property Content
---------------------------------------------------------- */

.cp-property-content {
    padding-left: 5px;
    padding-right: 5px;
}


.cp-content-title {
    color: #302b73;

    font-size: 30px;
    font-weight: 700;
}


.cp-property-summary {
    color: #302b73;

    font-size: 18px;
    font-weight: 600;

    line-height: 1.7;
}


.cp-property-description {
    color: #444444;

    font-size: 16px;

    line-height: 1.8;
}


/* ----------------------------------------------------------
   Features
---------------------------------------------------------- */

.cp-property-features-list h3 {
    color: #302b73;

    font-size: 24px;
    font-weight: 700;
}


.cp-feature-item {
    display: flex;

    align-items: flex-start;
}


.cp-feature-item .material-icons {
    flex-shrink: 0;

    margin-right: 10px;

    color: #b6a58f;

    font-size: 20px;
}


/* ----------------------------------------------------------
   Media Card
---------------------------------------------------------- */

.cp-property-media-card {
    padding: 28px;

    background-color: #f6f4f1;

    border-radius: 8px;
}


.cp-media-title {
    color: #302b73;

    font-size: 24px;
    font-weight: 700;

    line-height: 1.25;
}


.cp-media-buttons .btn {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 12px 18px;
}


.cp-media-buttons .material-icons {
    margin-right: 9px;

    font-size: 21px;
}


/* ----------------------------------------------------------
   Enquiry Panel
---------------------------------------------------------- */

.cp-property-enquiry-panel {
    padding: 30px;

    background-color: #f6f4f1;

    border-radius: 8px;
}


.cp-property-enquiry-panel h3 {
    color: #302b73;

    font-size: 23px;
    font-weight: 700;

    line-height: 1.25;
}


.cp-property-enquiry-panel p {
    color: #555555;

    line-height: 1.6;
}


.cp-property-enquiry-panel label {
    color: #302b73;

    font-weight: 500;
}


.cp-property-enquiry-panel .form-control {
    border: 1px solid #dddddd;

    border-radius: 3px;
}


.cp-property-enquiry-panel .form-control:focus {
    border-color: #b6a58f;

    box-shadow: none;
}


/* ----------------------------------------------------------
   Location
---------------------------------------------------------- */

.cp-property-location {
    background-color: #f6f4f1;
}


#cp-property-map {
    width: 100%;
    height: 430px;

    overflow: hidden;

    border-radius: 8px;
}


/* ----------------------------------------------------------
   Media Modals
---------------------------------------------------------- */

.cp-media-modal {
    overflow: hidden;

    border: 0;

    border-radius: 8px;
}


.cp-media-modal .modal-header {
    align-items: center;

    padding: 20px 25px;

    border-bottom: 1px solid #eeeeee;
}


.cp-media-modal .modal-title {
    color: #302b73;

    font-size: 22px;
    font-weight: 700;
}


.cp-media-modal .close {
    color: #302b73;

    font-size: 30px;

    opacity: 1;
}


.cp-media-modal .modal-body {
    background-color: #ffffff;
}


.cp-modal-floorplan {
    display: block;

    width: auto;
    max-width: 100%;
    max-height: 80vh;

    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991.98px) {

    .cp-property-gallery-main img {
        height: 450px;
    }


    .cp-property-media-card {
        margin-top: 10px;
    }


    .cp-property-enquiry-panel {
        margin-top: 0;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767.98px) {

    .cp-property-title {
        font-size: 34px;
    }


    .cp-property-price {
        font-size: 26px;
    }


    .cp-property-gallery-main img {
        height: 320px;
    }


    .cp-property-gallery-thumbs {
        height: 80px;
    }


    .cp-property-gallery-thumbs img {
        height: 80px;
    }


    .cp-property-facts-box {
        height: auto;
        min-height: 0;
        padding: 12px 6px;
    }


    .cp-property-fact {
        height: auto;
        min-height: 0;
        padding: 10px 4px;
    }


    .cp-property-fact .material-icons {
        margin-bottom: 4px;

        font-size: 24px;
        line-height: 1;
    }


    .cp-property-fact strong {
        margin-top: 2px;

        font-size: 16px;
        line-height: 1.1;
    }


    .cp-property-fact .cp-property-type {
        font-size: 14px;
        line-height: 1.15;
    }


    .cp-property-media-card {
        padding: 24px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 575.98px) {

    .cp-property-title {
        font-size: 30px;
    }


    .cp-property-address {
        font-size: 15px;
    }


    .cp-property-price {
        font-size: 24px;
    }


    .cp-property-gallery-main img {
        height: 270px;
    }


    .cp-property-gallery-thumbs {
        height: 70px;
    }


    .cp-property-gallery-thumbs img {
        height: 70px;
    }


    .cp-content-title {
        font-size: 26px;
    }


    .cp-property-summary {
        font-size: 17px;
    }


    .cp-property-media-card {
        padding: 20px;
    }


    .cp-property-enquiry-panel {
        padding: 20px;
    }


    #cp-property-map {
        height: 300px;
    }


    .cp-media-modal .modal-header {
        padding: 15px 18px;
    }

}