/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

:root {
    --themecolor: #7f378f;
}

.theme-color {
    color: var(--themecolor);
}

.mt-30 {
    margin-top: 30px;
}

.mt-50 {
    margin-top: 50px;
}

.mb-30 {
    margin-bottom: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.grid-2-left {
    display: grid;
    grid-template-columns: 1fr .5fr;
    align-items: center;
}

/* Buttons */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f3f4f6;
    padding: 20px 25px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 25px;
    color: var(--themecolor);
}

body .back-btn .icon img {
    margin-bottom: 0;
}

a.back-btn:hover {
    color: var(--themecolor);
}

/* Single Property*/
.single-property .back-btn {
    float: right;
}

.single-property .property-base-grid {
    display: grid;
    grid-template-columns: 1fr .3fr;
    gap: 50px;
    align-items: start;
}

.single-property .property-left-grid {
    display: grid;
    grid-template-columns: 1fr .5fr;
    gap: 20px;
}

.single-property .property-left-grid .div1 {
    grid-area: 1 / 1 / 2 / 3;
}

.single-property .property-left-grid .div2 {
    grid-area: 2 / 1 / 3 / 2;
}

.single-property .property-left-grid .div3 {
    grid-area: 2 / 2 / 3 / 3;
}

.single-property .property-left-grid .div4 {
    grid-area: 3 / 1 / 4 / 3;
}

.single-property .info {
    display: flex;
    gap: 40px;
}

.single-property .price {
    font-size: 36px;
    line-height: 38px;
    font-weight: 100;
}

.single-property .info > div {
    display: flex;
    gap: 10px;
}

.single-property .info img {
    height: 30px;
}

.single-property .details {
    display: flex;
    gap: 25px;
    flex-direction: column;
}

.single-property .flex {
    display: flex;
    gap: 10px;
}

.single-property .details img {
    margin: 0;
}

.single-property .details > div {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.single-property .map-wrapper {
    border-radius: 15px;
    overflow: hidden;
}

.single-property .contact {
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    padding: 20px 30px;
}

/*Contact Form*/
.single-property .form-container {
    padding: 20px;
    background-color: #F5F5F5;
    border-radius: 15px;
}

.form-container label {
    font-size: 15px;
    line-height: 16px;
}

.form-container input {
    background-color: white;
    padding: 10px;
    border-radius: 12px;
}

@media only screen and (max-width: 1000px) {
    .single-property .property-left-grid {
        display: flex;
        flex-direction: column;
    }

    .single-property .property-base-grid {
        grid-template-columns: 1fr;
    }
}