* {
    margin: 0;
    padding: 0;
    /*Set google font*/
    font-family: 'Ubuntu', sans-serif;
    position: relative;
}
/* Header Style */
#header {
    height: 120px;
    padding-bottom: 20px;
}
/*logo style*/
#logo {
    height: 140px;
    display: inline-block;
    float: left;
    margin-left: 100px;
}
/*flag icons style*/
.left-icon {
    margin-left: 30px;
}
.flag-icon {
    height: 50px;
    width: 50px;
    margin-top: 50px;
    display: inline-block;
    padding-left: 5px;
    transition: transform 250ms;
}
.flag-icon:hover {
    transform: translateY(-4px);
}
/* Navbar Style */
#navbar {
    float: right;
    padding: 30px;
    font-size: 19px;
}
#navbar-mobile {
    float: left;
    display: none;
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
li.nav-li {
    float: right;
    margin-left: 2px;
}
li.nav-li a.nav-a {
    display: block;
    color: white;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
    background-color: #94b7dd;
    border-radius: 120px;
    margin-left: 10px;
    margin-top: 22px;
    border: 2px solid #94b7dd;
}
li.nav-li a:hover {
    background-color: #ffff;
    border: 2px solid #94b7dd;
    color: black;
    transition: all 0.4s ease-in;
}
a {
    all: unset;
    color: white;
    text-decoration: none;


}

a:hover {
    cursor: pointer;
    color: white;
    text-decoration: none;
}
#main-content {
    color: #2c3e50;
}
#filter-side {
    float: right;
    margin-top: 160px;
}

#myBtn {
    height: 90px;
    font-size: 16px;
    background-color: #94b7dd;
    color: white;
    border: white 2px solid;
    border-radius: 4px;
    width: 320px;
    text-align: center;
    font-size: 22px;
    border-radius: 15px 0px 0px 15px;
    transition: transform 550ms;
}
#myBtn:hover {
    cursor: pointer;
    transform: translateX(-10px);
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 20px;
    text-align: center;
    width: calc(500px + 30px);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

  
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
  }
  
  #search-form-filter {
    padding-bottom: 30px;
    background-color: #ffff;
    width: 500px;
    border-radius: 10px;
    display: inline-block;
        margin-bottom: 30px;
}
.search-form-filter-p {
    font-size: 40px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 5px;
}
#property-type-form {
    background-color: #f3f3f3;
    display: block;
    height: 52px;
    width: 420px;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 15px;
    border-radius: 5px;
    border: solid 1px #919191;
    font-size: 15px;
    color: #919191;
    cursor: pointer;
}
#location-form {
    background-color: #f3f3f3;
    display: block;
    height: 52px;
    width: 420px;
    margin-left: 30px;
    margin-top: 15px;
    border-radius: 5px;
    border: solid 1px #919191;
    font-size: 15px;
    color: #919191;
    cursor: pointer;
}
#property-status {
    background-color: #f3f3f3;
    display: block;
    height: 52px;
    width: 420px;
    margin-left: 30px; 
    margin-top: 15px;
    border-radius: 5px;
    border: solid 1px #919191;
    font-size: 15px;
    color: #919191;
    cursor: pointer;
}
#sku-input {
    background-color: #f3f3f3;
    display: block;
    height: 52px;
    width: 420px;
    margin-left: 30px;
    margin-top: 15px;
    border-radius: 5px;
    border: solid 1px #919191;
    font-size: 15px;
}
::placeholder {
    color: #919191;
}
.wrapper {
    width: 400px;
    background-color: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    margin-left: 10px;
}

.wrapper header h2 {
    font-size: 24px;
    font-weight: 600;
}

.wrapper-p {
    text-align: center;
}

.wrapper header p {
    font-size: 15px;
    margin-top: 5px;
}

.wrapper .price-input {
    display: flex;
    width: 100%;
    margin: 30px 0 35px;
}

.wrapper .price-input .field {
    display: flex;
    width: 100%;
    height: 45px;
    align-items: center;
}

.price-input input {
    width: 100%;
    height: 100%;
    outline: none;
    border: 1px solid #999;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    margin-left: 12px;
}

.price-input input::-webkit-outer-spin-button,
.price-input input::-webkit-inner-spin-button {
    display: none;
}

.wrapper .seperator {
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
}

.wrapper .slider {
    height: 5px;
    position: relative;
    background-color: #ddd;
    border-radius: 5px;
}

.wrapper .progress {
    position: absolute;
    height: 100%;
    left: 5%;
    right: 65%;
    background-color: #94b7dd;
    border-radius: 5px;
}
/* Ensure range inputs are within the wrapper */
.wrapper .range-input {
    position: relative;
}

.wrapper .range-input input {
    position: absolute;
    width: calc(100% + 10px); /* Add extra width to account for thumb size and spacing */
    left: -5px; /* Shift it slightly to the left to hide the thumb outside the wrapper */
    height: 5px;
    top: -5px;
    pointer-events: none;
    background: none;
    appearance: none;
    accent-color: #94b7dd;
}


.wrapper .range-input input::-webkit-slider-thumb {
    height: 15px;
    width: 15px;
    background-color: #4070f4;
    border-radius: 50%;
    pointer-events: auto;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}
.min-input {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
.max-input {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
/* submit button */
#search-submit-button-form {
    background-color: #94b7dd;
    display: block;
    border: none;
    height: 52px;
    width: 420px;
    margin-left: 30px;
    margin-top: 15px;
    border-radius: 5px;
    font-size: 22px;
    text-align: center;
    color: #ffff;
    cursor: pointer;
}


#properties-side {
    width: 64%;
    height: auto;
    margin-left: 18%;
    float: left;
    margin-top: 40px;
}
#header-text {
    height: auto;
    width: 100%;
}
.properties-side-header {
    font-size: 55px;
}
.number-of-results {
    padding-top: 10px;
    font-size: 20px;
}
#ad {
    padding-bottom: 50px;
}
#sort-div {
    width: 100%;
    background-color: #94b7dd;
    display: block;
    float: left;
    padding-top: 10px;
    padding-bottom: 10px;
}
.sort-by {
    display: none;
    float: right;
    background-color: #94b7dd;
    height: 60px;   
    display: inline-block;
    color: white;
    font-size: 20px;
    margin-right: 20px;
}
.sort-by-text {
    display: none;
    margin-top: 20px;
    padding-right: 10px;
    float: left;
    padding-left: 20px;
}
select.decorated option:hover {
    box-shadow: 0 0 10px 100px #1882A8 inset;
}

#browser {
    display: grid;
    align-items: center;
    height: 50px;
    border-radius: 120px;
    color: white;
    border: 1px solid white;
    font-size: 20px;
    text-align: center;
    width: auto;
    margin-right: 10px;
    float: left;
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 10px;
}

#browser:hover {
    cursor: pointer;
}
.select-height {
    font-size: 140%;
}
.show-on-page {
    float: right;
    background-color: #94b7dd;
    height: 60px;
    color: white;
    font-size: 20px;
}

.show-on-text {
    margin-top: 14px;
    padding-right: 10px;
    float: left;
    padding-left: 20px;
    color: white;
    font-size: 20px;
}
.custom-select-show-on {
    float: left;
}
.custom-select-2 {
    height: 30px;
    margin-top: 12px;
    width: 200px;
    background-color: #94b7dd;
    border: 1px solid white;
    font-size: 16px;
    color: white;
    margin-right: 20px;
}
#map {
    height: 600px;
    width: 100%;
    margin-top: 50px;
}
.info-window-title {
    font-size: 20px;
    color: #94b7dd;
}
.info-window-location {
    font-size: 16px;
    font-weight: bold;
    padding-top: 5px;
    color: #94b7dd;
}
.info-window-type {
    font-size: 16px;
    padding-top: 5px;
    color: #94b7dd;
}
.info-window-area {
    color: #94b7dd;
}
.info-window-bedrooms {
    color: #94b7dd;
}
.info-window-price {
    font-size: 20px;
    color: #94b7dd;
}
.info-window-button {
    height: 30px;
    background-color: transparent;
    color: #94b7dd;
    border: 1px solid #94b7dd;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 5px;
    float: left;
    margin-top: 10px;
}
.popup-image {
    float: left;
}
.info-window-button:hover {

    background-color: #94b7dd;
    border: none;
    color: white;
}

.custom-popup {
    background-color: #f2f2f2; 
    border: 1px solid #94b7dd; 
    padding: 10px;
    border-radius: 5px;
}

#properties {
    height: auto;
    width: 100%;
    margin-top: 50px;
}
#no-records{
    display: none;
    text-align: center;
    margin-top: 150px;
    margin-bottom: 150px;
}
#loading {
    text-align: center;    
    margin-left: 45%;
    margin-top: 40px;
    margin-bottom: 40px;
}
.no-records-h1 {
    font-size: 60px;
}
.no-records-p {
    font-size: 30px;
}
.property {
    height: 390px;
    width: 100%;
    border-bottom: #dedede solid 1px;
    margin-bottom: 20px;
}
.left-side {
    height: 100%;
    width: 28%;
    float: left;
}
.property-location-icon {
    color: #94b7dd;
}
.property-location-text {
    font-size: 30px;
}
.fa-map-marker-alt {
    font-size: 30px;
    margin-bottom: 5px;
}
.right-side {
    height: 100%;
    width: 70%;
    margin-left: 2%;
    float: right;
}
.image-div {
    height: 70%;
    width: 100%;
    margin-top: 0px;
    background-image: url();
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.contract-type {
    padding: 8px;
    background-color: #94b7dd;
    position: absolute;
    color: white;
    right: 0;
    margin-top: 10px;
    text-transform: uppercase;
}
.hover-info {
    height: auto;
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.63);
    opacity: 0;
    color: white;
    transition: opacity 0.6s ease;
}
.property:hover .hover-info {
    position: absolute;
    opacity: 1;
    display: block;
}
.property-type {
    height: 40%;
    width: 100%;
}
.property-type-text {
    font-size: 24px;
    margin-left: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.bathrooms {
    height: auto;
    width: 50%;
    float: left;
}
.bedrooms {
    height: auto;
    width: 50%;
    float: right;
    text-align: left;
}
.property-bathrooms-text-1 {
    font-size: 16px;
    margin-left: 30px;
}
.property-bathrooms-text {
    font-size: 16px;
    margin-left: 30px;
    padding-bottom: 10px;
}
.button-view-details {
    margin-top: 20px;
    width: 100%;
}
#view-details {
    font-size: 25px;
    height: 40px;
    width: 62%;
    margin-left: 15%;
    padding: 10px 10px 0px 10px;
    color: #94b7dd;
    border-radius: 5px;
    border: #94b7dd 2px solid;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: all .4s ease-in-out;
    background-color: white;
}

#view-details:hover {  
transform: scale(1.01);
border: #94b7dd 2px solid;
color: #ffffff;
background-color: #94b7dd;
}


.property-title {
    width: 100%;
}
.property-title-strong {
    font-size: 19px;
}
.property-location {
    width: 100%;
}
.property-location-text {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 19px;
}
.property-price {
    width: 100%;
    color: #94b7dd;
    padding-bottom: 10px;
}
.property-price-value {
    font-size: 28px;
    padding-top: 10px;
}
hr {
    border: none;
}
hr.property-hr {
	border-top: 1px dotted #8c8b8b;
}
.property-description {
    max-height: 200px; /* Fixed height */
    width: 100%;
    font-size: 17px;
    margin-top: 10px;
    overflow: hidden; /* Hide overflow content */
    
    white-space: pre-line;
    
}
.property:last-child .property-description {
    max-height: 210px;
    overflow: hidden;
    white-space: pre-line;
}

#test111 {
    width: 100%;
    float: left;
    text-align: center;
}
.arrow-button {
    font-size: 16px;
    padding: 10px;
    background-color: #94b7dd;
    color: #ffff;
    border: none;
    border-radius: 5px;
    width: 200px;
}
.arrow-button:hover {
    cursor: pointer;
}
#total-properties {
    text-align: center;
    
}
#total-properties-text {
    color: #94b7dd;
    border: 2px solid #94b7dd;
    border-radius: 10px;
    text-align: center;
    width: max-content;
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}
#yes {
    width: 100%;
    float: left;
    margin-top: 100px;
}

/*Footer section style*/
#footer {
    background-color: #ad1414;
    color: #ffff;
    overflow: hidden;
}


#footer-left,
#footer-right {
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}
.footer-text-h3 {
    font-size: 18px;
}
.footer-text-h1 {
    font-size: 45px;
}
.footer-text-p {
    font-size: 24px;
}
#footer-left {
    width: 50%;
    padding-left: 8%;
    float: left;
    padding-top: 5%;
}


#footer-right {
    width: 45%;
    float: right;
    
    padding-top: 5%;
}


.left-footer-text {
    padding-left: 0px;
    font-size: 24px;
}


#footer-contact-form {
    clear: both;
}

/*Footer departments flag section style*/
#footer-flags-of-office {
    text-align: center;
    background-color: #ad1414;
    
}

.cepi-flag {
    border-radius: 50%;
    /*<----optionality*/
}


/*Footer copyright section style*/
#footer-copyright {
    text-align: center;
    background-color: #ad1414;
    color: white;
    font-size: 14px;
    padding: 20px;

}

/* Scroll to top button style */
#scrollButton {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #f2f2f2;
    color: #94b7dd;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 250ms;
}

#scrollButton:hover {
    width: 52px;
    height: 52px;
    transform: translateY(-8px);
    
}

#scrollButton i {
    font-size: 24px;
}

@media screen and (max-width: 1292px) {
    .show-on-page {
        float: left;
        background-color: #94b7dd;
        height: auto;
        color: white;
        font-size: 20px;
        width: 100%;
        display: block;
        padding-bottom: 20px;
    }
    .sort-by {
        float: left;
        background-color: #94b7dd;
        height: auto;
        color: white;
        font-size: 20px;
        width: 100%;
        display: block;
        padding-bottom: 20px;
    }   

   
}
@media screen and (max-width: 1450px) {
    #properties-side {
        width: 72%;
        height: auto;
        margin-left: 2%;
        float: left;
        margin-top: 40px;
    }

 }
 
 @media screen and (max-width: 1162px) {
    #properties-side {
        width: 82%;
        height: auto;
        margin-left: 1%;
        float: left;
        margin-top: 40px;
    }

 }
 @media screen and (max-width: 1001px) {
    #properties-side {
        width: 98%;
        height: auto;
        margin-left: 1%;
        float: left;
        margin-top: 40px;
    }

 }
 @media screen and (max-width: 850px) {
    .left-side {
        height: 100%;
        width: 40%;
        float: left;
    }
    .right-side {
        height: 100%;
        width: 58%;
        margin-left: 2%;
        float: right;
    }

 }
 @media screen and (max-width: 598px) {
    .left-side {
        height: 100%;
        width: 50%;
        float: left;
    }
    .right-side {
        height: 100%;
        width: 48%;
        margin-left: 2%;
        float: right;
    }

 }
 @media screen and (max-width: 470px) {
    .left-side {
        height: 100%;
        width: 100%;
        float: left;
        display: block;
        border-bottom: #dedede solid 2px;
    }
    .right-side {
        height: auto;
        width: 100%;
        margin-left: 2%;
        float: left;
        display: block;

    }
    .property {
        border-bottom: none;
    }
    hr.property-hr {
        border: none;
    }
    .property-title {
        padding-top: 20px;
    }
    .property-description {
        display: none;
    }
}

@media screen and (max-width: 1231px) {
    #myBtn {
        float: right;
    }
    #filter-side {
        height: auto;
        float: right;
        margin-top: 0px;
    }
 }
 @media screen and (max-width: 570px) {
    .custom-popup {
        background-color: transparent;
        border: none; 
        padding: 0px; 
        border-radius: 0px;
        width: 100%;
    }
 }

/*footer mobile style*/
@media screen and (max-width: 900px) {

    #footer-left,
    #footer-right {
        width: 100%;
        float: none;
    }
}
@media screen and (max-width: 530px) {

    .left-footer-text {
        padding-left: 0px;
    }
    #footer-left {
        text-align: center;
    }
}
@media screen and (max-width: 420px) {
    .left-footer-text {
        word-wrap: break-word;
    }
 }

 @media screen and (max-width: 1023px) {
    #logo {
        float: none;
        display: block;
        margin: auto;
        margin-bottom: 40px;
    }
    #navbar {
        display: none;
    }
    #navbar-mobile {
        width: 300px;
        float: none;
        padding: 0;
        text-align: center;
        margin: auto;
        display: block;
    }
    #navbar-mobile ul.top-navbar {
        display: block;
        text-align: center;
        padding: 10px 0;
    }
    li.nav-li {
        float: none;
        margin: 10px 0;
    }
    li.nav-li a.nav-a {
        background-color: rgba(255, 255, 255, 0.267);
        color: rgb(0, 0, 0);
        border-radius: 5px;
        padding: 18px 10px;
    }
    #header {
        text-align: center;
    }
    .flag-icon {
        display: inline-block;
        margin: 5px;
        vertical-align: middle;
        margin-bottom: 20px;
    }
    #header {
        height: auto;
    }
}
