:root{

    --primary-color: #244AD1;
    --secondary-color: #011766;
    --hover-color: #2b58f9;
    --light-color: #f6f8fe;
    --border-color: #e1e6fa;
    --green-color: #25A325;
    --red-color: #CB2316;
    --dark-grey: #747576;
    --light-grey: #d0d0d0;
    --white-color: #ffffff;
    --black-color: #000000;
    --gray-color: #666;
}
* { margin:0; padding: 0; box-sizing: border-box; --webkit-box-sizing: border-box; }

html, body { color: var(--black-color); }

/* Common Section */
.flex { display: flex;}
.flex.justify-center { justify-content: center; }
.flex.space-between { justify-content:space-between; }
.flex.align-items-end { align-items: end; }
.flex.align-items-center { align-items: center; }

.text-left {text-align: left;}
.text-center {text-align: center;}
.text-right {text-align: right;}

.main-container { width: 90%; max-width: 1200px; margin: 0 auto;}

img { max-width: 100%;height: auto;} 

/* Form */
.form-element .form-field { width: 100%;  border: 1px solid var(--border-color); background: var(--light-color) ; padding: 15px; border-radius: 5px; } 
.form-element .form-data li { margin-bottom: 10px;}
.form-element .form-data.col-2 { display: flex; flex-wrap: wrap; justify-content: space-between; }
.form-element .form-data.col-2 li { width: 48%; }
.form-element .form-data.col-2 li.full { width: 100%; }

.ui-button { text-align: center; background: var(--primary-color); color: var(--white-color); border: none; border-radius: 5px; padding: 12px 25px; font-weight: 700; font-size: 16px; cursor: pointer; display: inline-block;  }
.ui-button.full { width: 100%;}
.ui-button:hover { background: var(--hover-color); } 


/* Range slider css */
.custom-range{padding:0 20px;}
.ui-slider-horizontal {height: 4px; background:var(--light-grey); border-radius: 6px; margin-bottom: 20px; margin-top: 30px;}
.ui-slider {position: relative;text-align: left;} 
.ui-slider-horizontal .ui-slider-range {top: -1px;height: 100%;}
.ui-slider .ui-slider-range {position: absolute;z-index: 1; top: 1px; height: 4px;font-size: .7em;display: block; box-shadow: 0 3px 0 var(--primary-color) inset; -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px;}
.ui-slider .ui-slider-handle {position: absolute;z-index: 2; width:20px;height:20px;cursor: default; border: 1px solid var(--primary-color); cursor: pointer;background:var(--white-color) 50% 50% no-repeat;border-radius: 50%;box-shadow: .5px .5px 2px 1px rgba(0,0,0,.32);}
.ui-slider-horizontal .ui-slider-handle {top: -.6em; margin-left: -.7em;}
.ui-slider-handle:after {content : attr(data-value);position: absolute; top: -24px;left: -20px; min-width: 50px; font-size:12px; height: 20px; padding: 1px; text-align: center; color: var(--primary   -color); }  
.ui-slider a:focus {outline:none;}
.filter-form ul li:nth-last-child(2){margin-right:35px !important;}
/* Hero Section */
.hero-section { background: url('../images/list-page-banner.jpg') no-repeat center center; background-size: cover;  background-color: var(--secondory-color); padding: 100px 50px 100px 50px;}
.hero-section .heading { color: var(--white-color); font-size: 40px; font-weight: 700;}

/* Breadcrumb */
.breadcrumb { display: block; width: 100%; margin-top: 10px; } 
.breadcrumb li { display: inline-block; color: var(--white-color); font-size: 18px; font-weight: 600; } 
.breadcrumb li:first-child:before { content: ''; height: 12px; width: 12px; display: inline-block;  background: url('../images/icon-home.svg') no-repeat center;   }
.breadcrumb li:after { content: ''; height: 12px; width: 20px; display: inline-block;  background: url('../images/breadcrumb-arrow.svg') no-repeat center center;   }
.breadcrumb li:last-child:after{display: none;}
.breadcrumb li a { color: var(--white-color); } 
.breadcrumb li a:hover { color: var(--hover-color) ; }

.type-label { color: var(--red-color); font-weight: 700;} 
.type-label:before { content:' '; background:var(--red-color);  width: 8px; height: 8px; display: inline-block; margin-right: 5px; border-radius: 50px;  }

/* Listing Page */
/* Filter Form */
.filter-form-wrap { position: relative; top: -50px;}
.filter-form { position: relative; background: var(--white-color); padding: 30px; border-radius: 5px; box-shadow: 0px 8px 12px rgba(213, 213, 213, 0.9); }
.filter-form ul li { margin-right: 10px; width: 100%;  }
.filter-form ul li label { display: block; margin-bottom: 5px;  }
.filter-form ul li:last-child { width: 120px; margin: 0; }

.property-list-wrap { margin-bottom:80px ;}
.property-list { display: grid; grid-template-columns: 1fr 1fr 1fr ; gap: 40px; padding: 20px 0; }
.property-list > li { background-color: var(--white-color);  border-radius: 5px; box-shadow: 0px 8px 12px rgb(239 239 239 / 80%); overflow: hidden; }
.property-list > li .property-image img { width: 100%;}
.property-list > li .property-details { padding: 10px 25px 25px 25px; }
.property-list > li .property-details .price { color: var(--green-color); font-size: 22px; font-weight: 700; }
.property-list > li .property-details .status { margin-bottom: 15px;}
.property-list > li .property-details .title { font-size: 24px; font-weight: 700; margin: 10px 0; color: var(--black-color);   }
.property-list > li .property-details ul { display: flex;  border-bottom: 2px solid var(--border-color);  }
.property-list > li .property-details ul:last-child { border: none;}
.property-list > li .property-details ul:last-child li { padding-bottom: 0;}
.property-list > li .property-details ul li {display: flex; padding: 20px 0; position: relative; justify-content: center; align-items: center;  flex-grow: 1; flex-basis: 0; min-width: 0; margin-right: 10px;  }
.property-list > li .property-details ul li img { width: 32px;}
.property-list > li .property-details ul li:first-child {justify-content: start;}
.property-list > li .property-details ul li:last-child { margin: 0;justify-content: end;}
.property-list > li .property-details ul li:before { content: ""; background-color: var(--border-color); width: 2px; height: 25px; display: block; position: absolute; right: 0; }
.property-list > li .property-details ul li:last-child:before  {display: none; }
.property-list > li .property-details ul li span { display: inline-block; margin-left: 10px; font-weight: 600;  color: var(--black-color); font-size: 16px;line-height: 18px;  }

.status { border-radius: 5px;  padding: 0px 15px; display: inline-block;   }
.status.available { color: #40ad11; background-color: rgb(196 242 196 / 50%);  }
.status.pending {  color: #ba864f; background-color: rgb(239 222 97 / 38%); }
.status.sold {  color: #a00808; background-color: rgb(221 131 131 / 33%);  }

.view-more-button { border-radius: 5px;  font-size: 12px; display: inline-block; background-color: var(--primary-color); color: var(--white-color); padding: 5px 25px 5px 10px; font-weight: 600;}
.view-more-button:after { position: absolute; right: 8px; top: 32px; content:""; display:inline-block; width: 10px; height: 10px;  background: url('../images/icon-view-more.svg') no-repeat center center;    }
.view-more-button:hover{ background-color: var(--hover-color); color: var(--white-color); }

/* Listing details Page */
.gallery-layout {  display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 1fr); grid-column-gap: 20px; grid-row-gap: 20px; padding: 20px 0;} 
.gallery-layout-1 { grid-area: 1 / 1 / 3 / 4;} /* height: 425px; width: 712px; */
.gallery-layout-2 { grid-area: 1 / 4 / 2 / 6;}  /* height: 202px; width: 470px; */
.gallery-layout-3 { grid-area: 2 / 4 / 3 / 5; } /* height: 202px; width: 223px; */
.gallery-layout-4 { grid-area: 2 / 5 / 3 / 6; } /* height: 202px; width: 223px; */

.gallery-layout li { background: #d0d0d0; border-radius: 10px; line-height: 0; overflow: hidden;}
.gallery-layout li:last-child{ position: relative; }
.gallery-layout li:last-child span { background-color: rgba(0, 0, 0, 0.4); position: absolute; width: 100%; height: 100%; z-index: 0; display: flex; justify-content: center; align-items: center; color: var(--white-color); font-weight: 600; font-size: 50px; cursor: pointer;}


.main-scetion { margin-top: 30px;}
.main-content { display: flex; margin-bottom: 100px;}
.main-content .left-section {  width: 70%; padding-right: 40px;}
.main-content .right-section { width: 30%;}
.main-content .left-section .title { padding: 20px 0 0 0;}
.main-content .left-section .title h1 { font-weight: 600; color: var(--black-color); font-size: 30px;}
.main-content .left-section .address { background: url('../images/icon-address.svg') no-repeat 0 5px; padding: 0px 10px 10px 20px; }
.main-content .left-section .type-and-view { margin-bottom: 20px; list-style: none;}
.main-content .left-section .type-and-view li {  padding-right: 10px; margin-right: 10px; border-right: 1px solid var(--light-grey); }
.main-content .left-section .type-and-view li.views {background: url('../images/icon-view.svg') no-repeat 0 4px; padding-left:20px;}
.main-content .left-section .type-and-view li:last-child { border: 0; margin: 0;}
.main-content .left-section .notes { margin-bottom: 20px; }
.main-content .left-section .notes abbr { color: var(--primary-color); font-size: 16px; font-weight: 700;}
.main-content .left-section .notes p { display: block;}
.main-content .left-section .heading { padding: 20px 0; font-size: 20px; color: var(--black-color); font-weight: 600;}
.main-content .left-section .location-map { border: 2px solid var(--border-color); padding: 20px; border-radius: 10px;} 

.property-details-single { border: 2px solid var(--border-color); padding: 30px; border-radius: 10px; margin-bottom: 20px;  }
.property-details-single ul {  display: grid; grid-template-columns: repeat(3, 1fr); grid-column-gap: 30px; grid-row-gap: 30px;   }
.property-details-single ul li {display: flex; padding: 2 0px 0; position: relative; align-items: center;  flex-grow: 1; flex-basis: 0; min-width: 0; margin-right: 10px;  }
.property-details-single ul li img { width: 50px;}
.property-details-single ul li:before { content: ""; background-color: var(--border-color); width: 2px; height: 25px; display: block; position: absolute; right: -10px; }
.property-details-single ul li:last-child:before,
.property-details-single ul li:nth-child(3n):before  { display: none; }
.property-details-single ul li abbr { display: block; margin-left: 10px; line-height: 15px; }
.property-details-single ul li span { display: block; margin-left: 10px; font-weight: 600;  color: var(--primary-color); font-size: 16px;  }

.agent-details {margin-bottom: 30px; background-color: var(--light-color); padding: 20px; border-radius: 10px; position: relative; }
.agent-details .heading { background-color: var(--red-color); color: var(--white-color); padding: 2px 10px; font-weight: 700; font-size: 11px; display: inline-block; position: relative; left: -20px;  }
.agent-details .heading:after { content: ""; width: 0; height: 0; border-width: 14px 10px 14px 0; border-color: var(--red-color) transparent var(--red-color) transparent; border-style: solid; position: absolute; left: 100%; top: 0;}

.agent-details .agent-content { display: flex; margin: 20px 0; }
.agent-details .agent-content .agent-image { margin-right: 10px;  }
.agent-details .agent-content .agent-image abbr { width: 70px; height: 70px; display: flex;  justify-content: center; align-items: center;  border: 2px solid var(--border-color); border-radius: 50%;  background-color:var(--primary-color); font-size: 30px; font-weight: 700; color: var(--white-color); overflow: hidden;    }
.agent-details .agent-content .agent-name { color: var(--black-color); font-weight: 700; margin: 18px 0; font-size: 20px; }

.agent-info ul { margin-bottom: 30px;}
.agent-info ul li { margin-bottom: 10px;}
.agent-info a { color: var(--primary-color); font-size: 16px; margin-left: 10px; } 

.similar-properties .heading { font-weight: 700; font-size: 20px; padding: 20px 0; margin-bottom: 20px; border-bottom: 1px solid var(--light-grey); color: var(--black-color);}
.similar-properties ul li { margin-bottom: 20px;}
.similar-properties .property-image { width: 40%; line-height: 0; overflow: hidden; border-radius: 10px; margin-right: 10px;}
.similar-properties .property-data { width: 60%;}
.similar-properties .property-data .title a { font-size: 16px; color: var(--black-color); font-weight: 700; text-decoration: none;}  
.similar-properties .property-data .price { color: var(--primary-color); font-weight: 700; }

/* Sidebar Forms */
.sidebar-group h4, .prop-content-group h4 {font-weight: normal;  font-size:28px;}
.sidebar-group hr{color: var(--light-grey);}
.sidebar-group p {margin-bottom:20px;padding-top: 14px;}
.prop-content-group, .sidebar-group {width:100%;margin-bottom: 35px;}
.sidebar-group {padding: 20px 20px;background: var(--light-color);border-radius: 10px;}
.sidebar-group img {margin-bottom: 20px;}
.sidebar-group h5 {margin-bottom: 15px;font-weight: bold;}
.sidebar-group h4, .prop-content-group h4{font-size: 22px !important;font-weight: 600 !important; padding-bottom: 14px;}
.sidebar-group .btn.btn-large{width: 100%;}
.sidebar-group .btn-large {text-align: center;background: var(--primary-color);color: var(--white-color); border: none;border-radius: 5px;padding: 12px 25px; font-weight: 700; font-size: 16px;text-decoration: none;display: inline-block;cursor: pointer;}
/* Loader */
.search-loader { position: absolute; left: 0; bottom: 0; width: 100%;}
.loader-line { width: 100%; height: 5px; position: relative; overflow: hidden; background-color: #ddd; -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px;}
.loader-line:before {  background-color: var(--primary-color);  content: ""; position: absolute; left: -50%; height: 100%; width: 40%; -webkit-animation: lineAnim 1s linear infinite; -moz-animation: lineAnim 1s linear infinite; animation: lineAnim 1s linear infinite; -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px;}
.pagination { padding: 20px; text-align: center; }

.calculator  { border: 2px solid var(--border-color); padding: 20px; border-radius: 10px; margin-bottom: 20px;}
.calculator .flip-input, .calculator .flip-output { width: 50%;  }
.calculator .roi-input{ width: 60%;  }
.calculator .roi-output { width: 40%;  }
.calculator .flip-input, .calculator .roi-input { margin-right: 10px ;}
.calculator .flip-output, .calculator .roi-output { margin-left: 10px ;}
.calculator .calculator-title { border-bottom: 2px solid var(--border-color); width: 100%; margin: 0 0 20px 0; padding-bottom: 20px; }
.calculator .calculator-title h4 { padding: 0; color: var(--primary-color); font-weight: bold; }
.calculator .calculator-subtitle { margin-bottom: 10px; color: var(--primary-color); }
.calculator .sub-total { padding: 10px 0; font-size: 16px; } 
.calculator .sub-total strong, #net_profit_view { color: var(--primary-color);   } 

.year-input { margin-top: 10px; border: 2px solid var(--border-color); background: var(--light-color); padding: 10px 0; display: flex; border-radius: 10px;  }
.year-input li {border-radius: 10px;  border: 2px solid var(--light-color);  margin-bottom:0 !important;  margin: 0 10px; overflow: hidden; cursor: pointer; }
.year-input li input[type="radio"] { position: absolute; left: -100px;}
.year-input li label { display: inline-block; width: 100%;  padding: 5px; height: 100%; text-align: center; cursor: pointer; }
.year-input li.active {border: 2px solid var(--border-color); background-color: var(--white-color); color: var(--primary-color); font-weight: bold; }
.year-input li:hover { border: 2px solid var(--border-color); color: var(--primary-color); font-weight: bold  }

.results-data { list-style: none; padding: 0; }
.results-data li { padding: 14px 0; display: flex; justify-content: space-between; border-bottom: 1px solid #ccc; }
.results-data li span { font-weight: bold; color: var(--primary-color);}
.results-data li:last-child { border-bottom: 0; }

.calculator-switch-buttons { margin-bottom: 10px; border-radius: 10px; display: flex; padding: 5px 0; border: 2px solid var(--border-color); background: var(--light-color);  }
.calculator-switch-buttons li { cursor: pointer; border-radius: 10px; padding: 5px 10px; border: 2px solid var(--light-color);  margin: 0 5px;}
.calculator-switch-buttons li.active {border: 2px solid var(--border-color); background-color: var(--white-color); color: var(--primary-color); font-weight: bold; }
.calculator-switch-buttons li:hover { border: 2px solid var(--border-color); color: var(--primary-color);   }

.calculator-reset { cursor: pointer; color: var(--primary-color); }
.calculator-reset::before { vertical-align: middle;  margin-right: 5px; content: ''; width: 20px; height: 20px; background:url(../images/icon-reset.svg) no-repeat; background-size: cover; display: inline-block;  }
.calculator-reset:hover { text-decoration: underline;}

/*New Popup Modal*/
.blocker{z-index: 999999 !important;}
.modal{max-width: 600px !important;width: 100% !important;top:1%;vertical-align: top !important;z-index: 999999 !important;}
.modal h2{font-size:24px;font-weight: 600;}
.modal .gform_footer.top_label input[type="submit"]{background: var(--primary-color) !important;margin-top: 10px !important; margin-bottom: 0px !important; color:#fff !important;border-radius:5px !important;height:55px;width:100%;border: none;  font-size: 16px; font-weight: 500;}
.modal .gform_footer.top_label input[type="submit"]:hover{background: var(--secondary-color) !important;}
.modal .gform_wrapper.gravity-theme .gform_footer{display: block !important; position: relative; margin: 0px !important;}
/* Popup Modal End */


@keyframes lineAnim {
    0% { left: -40%;}
    50% { left: 20%; width: 80%; }
    100% { left: 100%; width: 100%; }
}

@media (max-width:1200px) {
    .property-list { grid-template-columns: 1fr 1fr;}
}
@media (max-width:900px) {
    .main-content { display: block;}
    .main-content .left-section { width: 100%; padding-right: 0px;  padding-bottom: 20px;}
    .main-content .right-section { width: 100%;}
}
@media screen and (max-width:768px) {
    .modal-content { width: 100%;position: fixed;top: 0%;left: 0%;height: 100%;transform: translate(0%,0%);}
    .mp_modal.show-modal .modal-content { overflow-y:scroll;} 
    .modal-content h2{font-size: 20px;}
}
@media (max-width:700px) {
    .property-details-single ul {grid-template-columns: repeat(1, 1fr);}
    .property-details-single ul li:nth-child(1n):before { display: none;}
    .property-list { grid-template-columns: 1fr;}
    .flex-column { flex-direction: column;}
    .filter-form ul li { margin-bottom: 10px;}
    .calculator .roi-input, .calculator .roi-output { width: 100%;  }
    .sidebar-group h4, .prop-content-group h4{font-size: 20px !important;}
    .modal-content { width: 100%; } 
}
@media screen and (max-width:480px) {
    .filter-form ul li:nth-last-child(2){margin-right:0px !important;}
    .filter-form ul li:last-child{width: 290px !important;}
}