/* 
Theme Name: MAG Child Theme
Template: mag_tcd036 
*/

@import('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css');

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.woff2') format('woff2'),
        url('fonts/Montserrat-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Bold.woff2') format('woff2'),
        url('fonts/Montserrat-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Medium.woff2') format('woff2'),
        url('fonts/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-SemiBold.woff2') format('woff2'),
        url('fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

.property-hero {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    /* min-height: 500px; */
}

.hero-form {
    padding: 30px 20px 40px;
    width: 355px;
    margin-left: auto;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    height: 100%;
    box-sizing: border-box;
}

.property-hero >img {
    opacity: 0;
    display: none;
}

.single-property-hero {
    display: flex;
}

body.single-post * {
    /*box-sizing: border-box;*/
}

body.single-post {
	font-family: 'Montserrat';
}

.property-title-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    box-shadow: 0px 10px 15px -5px rgb(0 0 0 / 10%);
    border-radius: 0 0 35px 35px;
    align-items: center;
}

.property-info h3 {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
}

.property-info .location {
    color: #333;
    font-size: 12px;
}

.property-links {
    display: flex;
}

.property-links > a {
    margin: 0 30px;
    padding: 20px 0;
    text-align: center;
    color: #273750;
    transition: .35s ease;
    text-decoration: none;
    min-width: 90px;
}

.property-links > a:hover{
	text-decoration: none;
	color: #BFA84D;
}

.property-links > a i {
    display: block;
    text-align: center;
    font-size: 50px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

a.pdf-download-box i {
    color: #d43226;
}

a.floorplan-download-box i {
    color: #ff9d00;
}

a.gallery-box i {
    color: #38ae43;
}

a.payment-box i {
    color: #e91e63;
}

a.location-box i{
	color: #55acee;
}

.property-title h1{
    font-size: 30px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 0px;
}

.property-title {
    font-size: 30px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 30px;
}

.property-details-table {
    background: #BFA84D;
    color: white;
    border-radius: 30px;
    padding: 15px 0px 26px 0px;
    display: flex;
    flex-wrap: wrap;
    margin: 35px 0;
}

.property-details-table > div {
    width: calc(50% - 40px);
    margin: 0 20px;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.property-details-table > div i {
    margin-right: 6px;
    font-size: 14px;
    font-weight: 400;
}

.property-details-table a {
    color: #fff;
    text-decoration: underline;
}

.property-details-table strong {
    font-weight: 600;
}

h2.heading-sides-border {
    font-weight: 600;
    color: #333333;
    font-size: 16px;
    text-align: center;
    position: relative;
    margin-bottom: 30px;
    margin-top: 35px;
}

h2.heading-sides-border:before {
    content: '';
    height: 0;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    border-bottom: 1px dotted #BFA84D;
    margin-top: -1px;
}

h2.heading-sides-border span {
    position: relative;
    background: #f8f8f8;
    padding: 0 10px;
}

.single-property-wrapper {
    font-weight: 400;
    font-size: 15px;
    line-height: 25px;
}

.single-property-wrapper strong{
	font-weight: 600px;
}

.payment-plans-wrap {
    display: flex;
    justify-content: space-between;
    margin: 0 -20px;
    text-align: center;
}

.payment-plans-coloumn {
    width: calc(100%/2 - 40px);
    margin: 0 20px;
    background: #BFA84D;
    color: white;
    border-radius: 30px;
    padding: 15px 40px 20px 40px;
}

.payment-plans-coloumn > div {
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
}

.payment-plans-coloumn > div:last-child {
    border-bottom: 0;
}

.single-property-wrapper > div {
    margin: 60px 0;
}

.single-property-wrapper > div.single-property-hero {
    margin-bottom: 0;
    margin-top: 0;
}

.single-property-wrapper > div.property-title-bar {
    margin-top: 0;
}

.single-property-wrapper > .property-title {
    margin-bottom: -30px;
}

.video-wrap-outer {
	max-width: 800px;
	margin: 0 auto;
}

.video-wrap {
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    border-radius: 30px;
}

.video-wrap iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.property-gallery {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -4px;
}

.property-gallery > a {
    display: block;
    width: calc(100%/4 - 8px);
    margin: 4px;
}

.property-gallery img {
    vertical-align: middle;
    width: 100%;
}

img {
    vertical-align: middle;
    max-width: 100%;
}

.downloads-buttons-list {
    display: flex;
    justify-content: center;
}

.downloads-buttons-list a.button {
    background: #BFA84D;
    border-radius: 7px;
    font-size: 14px;
    color: #fff;
    padding: 10px 25px;
    margin: 0 55px;
    border: 2px solid #BFA84D;
}

.downloads-buttons-list a.button:hover {
    background: #fff;
    color: #BFA84D;
    text-decoration: none;
}

.fa-solid {
    font-family: 'FontAwesome'!important;
}

.proptery-highlights {
    text-align: center;
}

.proptery-highlights > div {
    margin-bottom: 7px;
}

.proptery-details {
    text-align: center;
}

.single-property-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.property-section-intro {
    text-align: center;
    margin-bottom: 30px;
}

.single-property-wrapper > div:last-child {
    margin-bottom: 0!important;
}

.hero-form h2 {
    text-align: center;
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 20px;
}

.hero-form input, .footer-property-form input {
    padding: 0 0.8rem;
    width: 100%;
    border-radius: 0.3rem;
    box-shadow: 0 0 0 2px transparent, 0 1px 0 rgb(0 0 0 / 8%) inset;
    background: #f2f2f2;
    border-radius: 8px;
    padding: 0 16px!important;
    height: 40px;
    border: 0;
}

.hero-form select, .footer-property-form select {
    box-shadow: 0 0 0 2px transparent, 0 1px 0 rgb(0 0 0 / 8%) inset;
    background: #f2f2f2;
    border-radius: 8px;
    padding: 0 16px!important;
    height: 40px;
    border: 0;
}

textarea#input_1_5, textarea#input_2_5 {
    background: #f2f2f2;
    border-radius: 12px;
    height: 120px;
    padding: 12px 20px;
    font-family: 'Montserrat';
}

input#gform_submit_button_1, input#gform_submit_button_2 {
    background: #BFA84D;
    color: #fff;
    font-size: 20px;
    margin: 0;
    margin-top: 10px;
    cursor: pointer;
    border: 2px solid #BFA84D;
    height: 60px;
    box-shadow: none;
}

input#gform_submit_button_2:hover,
input#gform_submit_button_1:hover{
	background-color: #fff;
	color: #BFA84D;
}

div.footer-property-form .gform_footer.top_label,
div.hero-form .gform_footer.top_label {
    padding: 0;
}

.footer-property-form .gform_wrapper.gravity-theme .gform_fields,
.hero-form .gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 8px;
}

.form-property-title {
    text-align: center;
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 0;
}

.aligncenter {
    margin: 0 auto;
    display: block;
}

img.aligncenter{
	margin: 30px auto;
}

.footer-property-form {
    background: #8b8b8b;
    padding: 30px 30px;
    border-radius: 30px;
}

.form-property-title {
    color: #fff;
}

.footer-property-form .gform_heading {
    display: none;
}

.footer-property-form .form-property-title {
    margin-bottom: 20px;
}

.footer-property-form .form-property-title{
	text-align: left;
}

.single-property-wrapper > div p {
    text-align: center;
}

.gfield .iti.iti--allow-dropdown input {
    padding-left: 95px!important;
}

.iti__flag-container {
    color: #000;
}

ul#iti-0__country-listbox {
    list-style: none;
    padding: 0;
}

.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

.acf-map img {
   max-width: inherit !important;
}

/* Popup */

.download-popup-wrapper .download-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    max-width: calc(100% - 60px);
    width: 580px;
    z-index: 100;
    padding: 40px;
    background-color: #4891e6;
    border-radius: 60px;
    max-width: 90vh;
    overflow: auto;
    transition: .35s ease;
}

.download-popup-overlay {
    background-color: rgba(0,0,0,.75);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 99;
    transition: .35s ease;
}

.download-popup-wrapper i.fa-xmark {
    position: fixed;
    top: 50px;
    right: 50px;
    font-size: 40px;
    color: #fff;
    z-index: 1000;
    cursor: pointer;
}

.download-popup .gform_heading {
    text-align: center;
    color: #fff;
    font-weight: 400;
}

.download-popup h2.gform_title {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 20px;
}

.download-popup span.gform_description {
    margin-bottom: 20px;
    display: block;
}

.download-popup .gform_body.gform-body input {
    background: #fff;
    border: 0;
    height: 40px;
    border-radius: 8px;
    padding: 0 15px!important;
}

html.download-popup-active .download-popup-wrapper {
    opacity: 1;
    visibility: visible;
}

html.download-popup-active .download-popup-overlay {
    opacity: 1;
    visibility: visible;
}

.iti.iti--allow-dropdown.iti--separate-dial-code input#input_3_3 {
    padding-left: 95px!important;
}

textarea#input_3_5 {
    height: 120px;
    border: 0;
    border-radius: 8px;
    padding: 15px!important;
    font-family: inherit;
}

input#gform_submit_button_3 {
    margin: 0 auto;
    display: table;
    background: #fff;
    color: #4f93e3;
    padding: 10px 25px;
    font-weight: 500;
    font-size: 24px;
    border: 2px solid #fff;
    border-radius: 10px;
    cursor: pointer;
}

input#gform_submit_button_3:hover{
    color: #fff;
    background-color: #4f93e3;
}

.download-popup-wrapper {
    opacity: 0;
    visibility: hidden;
}

.download-popup-overlay {
    opacity: 0;
    visibility: hidden;
}

div#gform_3_validation_container {
    display: none;
}

.gform_wrapper.gravity-theme .description, .gform_wrapper.gravity-theme .gfield_description, .gform_wrapper.gravity-theme .gsection_description, .gform_wrapper.gravity-theme .instruction {
    font-size: 12px;
    padding: 6px;
}

/* Responsiveness */

@media all and (max-width: 1200px){
	body.single div#main_contents {
	    max-width: calc(100% - 60px);
	}

	div#mobile_footer_menu {
	    display: none;
	}
}

@media all and (max-width: 768px){

	div#mobile_footer_menu {
	    display: block;
	}

	.hero-form {
	    width: 100%;
	}

	.property-links {
	    flex-wrap: wrap;
	    justify-content: center;
	}

	.property-info {
	    margin-bottom: 10px;
	}

	.property-title-bar {
	    display: block;
	    text-align: center;
	}

	.property-links > a {
	    width: calc(50% - 30px);
	    margin: 0 15px;
	    padding: 10px 0;
	}

	.property-info h3 {
	    margin-bottom: 0;
	}

	.property-details-table > div {
	    width: 100%;
	}

	.payment-plans-coloumn {
	    width: 100%;
	    margin-bottom: 15px;
	}

	.payment-plans-wrap {
	    flex-wrap: wrap;
	}

	.property-gallery > a {
	    width: calc(100%/2 - 8px);
	}

	.downloads-buttons-list {
	    display: block;
	}

	.downloads-buttons-list a.button {
	    margin-top: 10px;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	}

	.property-hero >img {
    	display: block;
	    opacity: 1;
	    height: auto;
	}

	.property-hero {
	    background: rgba(0,0,0,0.5)!important;
	}

	.hero-form {
	    height: auto;
	}

    .single-property-wrapper {
        margin-bottom: 40px;
    }
}

div#gform_confirmation_message_3 {
    text-align: center;
    color: #fff;
    font-size: 20px;
}