* {
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', sans-serif;
    /*Set google font*/
    position: relative;
}
*, ::after, ::before {box-sizing: content-box;
}
#test {
    overflow: hidden;
    background: rgba(0, 0, 0, 0.74);
}

/*Background image style section*/
#background-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.img-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;

}
/* Header Style */
#header {
    height: 140px;
}

/*logo style*/
#logo {
    height: 110px;
    display: inline-block;
    float: left;
    margin-top: 20px;
    margin-left: 100px;
}

/*flag icons style*/
.left-icon {
    margin-left: 30px;
}

.flag-icon {
    height: 50px;
    width: 50px;
    margin-top: 60px;
    display: inline-block;
    padding-left: 5px;
    transition: transform 250ms;
}

.flag-icon:hover {
    transform: translateY(-4px);
    cursor: pointer;
}

/* Navbar Style */
#navbar {

    float: right;
    padding: 30px;
    font-size: 19px;

}
#navbar-mobile {
    display: none;

}.fa-1x {
    font-size: 1.6rem;
  }
  .navbar-toggler.toggler-example {
    cursor: pointer;
    margin-right: 10px;
  }
  .dark-blue-text {
    color: #ffff;
  }
  .navbar-light .navbar-toggler {
    color: rgba(0,0,0,.5);
    border-color: #ffff;
}
a.nav-link {
    background-color: rgb(255, 255, 255);
    color: black;
    border-bottom: rgba(128, 128, 128, 0.329) 1px solid;
    font-size: 18px;
}
.navbar-light .navbar-nav .nav-link {
    color: rgb(0, 0, 0);
}
.navbar-light:hover .navbar-nav .nav-link {
    color: rgb(0, 0, 0);
}
.navbar {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0px 0px 0px 0px;

}
.nav-link-1 {
    margin-top: 10px;
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

li {
    float: right;
    margin-left: 2px;
    
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 40px 10px;
    text-decoration: none;
    transition: transform 450ms;
    
}

li:hover a {
    transform: translateY(-5px);
}
@media screen and (max-width: 1206px) {
    #navbar {

        padding: 30px;
        font-size: 14px;
    
    }
 }
 
/* below header style*/
.below-header-text {
    height: 200px;
    color: white;
}

.below-header-text-h1 {
    margin-top: 20px;
    margin-left: 105px;
    font-size: 40px;
}

.below-header-text-p {
    margin-top: 15px;
    margin-left: 105px;
    font-size: 18px;
}
.navbar-brand {
    padding: 10px;
}
/* mobile styles (logo, navbar, flag icons, below header section) */
@media screen and (max-width: 1023px) {
    #logo {
        display: none;
    }

    #navbar {
        display: none;
        
    }
    #navbar-mobile {
        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:hover a {
        transform: translateY(-0px);
    }

    #header {
        text-align: center;
    }

    .flag-icon {
        display: inline-block;
        margin: 5px;
        vertical-align: middle;
        margin-bottom: 20px;
        display: none;
    }

    #header {
        height: auto;
    }

    #below-header {
        text-align: center;
    }

    .below-header-text-h1,
    .below-header-text-p {
        margin-left: 0 !important;
    }

}



/* Search form style */
#search-content {
    height: 620px;
}

#search-form-filter {
    padding-bottom: 30px;
    background-color: #ffff;
    border-radius: 10px;
    margin-left: 105px;
    display: inline-block;
    float: left;
    margin-bottom: 30px;
}

.search-form-filter-p {
    font-size: 40px;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 5px;
}

/* select type form style */
#property-type-form {
    background-color: #f3f3f3;
    display: block;
    height: 52px;
    width: 420px;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: -10px;
    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;
    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;
}
/* Price filter slider */

.wrapper {
    width: 400px;
    background-color: #fff;
    padding: 0px 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 #7e7e7e44;
    border-radius: 15px;
    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: #dbdbdb;
    border-radius: 5px;
}

.wrapper .progress {
    position: absolute;
    height: 100%;
    left: 5%;
    right: 65%;
    background-color: #ad1414;
    border-radius: 5px;
}

.wrapper .range-input {
    position: relative;
}

.wrapper .range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -5px;
    pointer-events: none;
    background: none;
    appearance: none;
    accent-color: #ad1414;
}

.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: #ad1414;
    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;
}





/* price of house background style */
#price-house {
    background-color: #ffff;
    height: auto;
    width: 400px;
    border-radius: 30px;
    margin-right: 50px;
    position: relative;
    float: right;
    transition: all .4s ease-in-out;
    padding-right: 30px;
    padding-bottom: 20px;
    text-align: right;
}
#price-house:hover {
    transform: scale(1.02);
    cursor: pointer;
}
.price-house-h1 {
    padding-top: 40px;
    padding-left: 30px;
    text-align: left;
}

.price-house-p {
    padding-top: 10px;
    padding-left: 30px;
    text-align: left;
}
.house-price-div {
    padding-top: 30px;
}
.house-price {
    font-size: 38px;
    position: relative;
    bottom: 0;
    right: 0;
    padding-bottom: 20px;
    padding-right: 20px;
}

/* mobile style for blocks of form and price house */

@media screen and (max-width: 1240px) {
    #search-form-filter {
        margin: auto;
    }

    #price-house {

        margin: auto;
    }


}

/* into smaller blocks */
@media screen and (max-width: 940px) {
    #search-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    #price-house {
        height: 200px;
        display: none;
    }

    #search-content {
        height: 100%;
    }

    #search {
        padding-top: 50px;
    }

    #price-house {
        margin-top: 20px;

    }


}

@media (max-width: 500px) {
    #search-content {
        height: 100%;
    }

    #search {
        padding-top: 50px;
    }

    #search-form-filter {
        width: 350px;
    }

    #property-type-form {
        width: 290px;
    }
    #property-status {
        width: 290px;
    }
    #sku-input {
        width: 290px;
    }
    #location-form {
        width: 290px;
    }

    .wrapper {
        width: auto;
        padding: 0px 0px 0px 0px;
    }

    #search-submit-button-form {
        width: 290px;
    }

    #price-house {
        width: 350px;

    }

    #price-house {
        margin-top: 20px;

    }
}

@media (max-width: 500px) {
    #price-house {
        width: 350px;

    }

    #price-house {
        margin-top: 20px;

    }
}

/* About us section style */

#about-us {
    background-color: #94b7dd;
    text-align: center;
    padding: 70px;
    color: white;
    padding-top: 130px;
}

.about-us-content-h1 {
    font-size: 55px;
    letter-spacing: 4px;
}

.about-us-content-p {
    font-size: 25px;
    padding-top: 80px;
    padding-bottom: 60px;
}
#about-us-know-more {
    font-size: 25px;
    height: 40px;
    width: 200px;
    padding: 10px 20px 10px 20px;
    color: white;
    border-radius: 5px;
    border: white 2px solid;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: all .4s ease-in-out;
}

#about-us-know-more:hover {  
transform: scale(1.1);
}
/* Our services section style */

#our-services {
    padding-bottom: 100px;
    text-align: center;
}

#our-services-h1 {
    padding-top: 50px;
    padding-bottom: 50px;
    font-size: 70px;
    letter-spacing: 2px;
}

.service {
    width: 250px;
    display: inline-block;
    padding-right: 80px;
    padding-left: 80px;
    border-right: solid black 4px;
}
.service-image {
    height: 120px;
    transition: all .4s ease-in-out;
}
.service-image:hover {
    transform: scale(1.1);
}
.brick-wall {
    border: none !important;
}

.service-h4 {
    padding-top: 20px;
    font-size: 30px;
}

.service-p {
    font-size: 20px;
}

/* Our services section mobile style */
@media screen and (max-width: 984px) {
    #our-services {
        padding-bottom: 30px;
    }

    .service {
        border: none;
        display: block;
    }
    .service {
        border: none;

    }

    #our-services {
        height: 100%;
    }
    .service {
        width: 250px;
        display: inline-block;
        padding-right: 80px;
        padding-left: 80px;
        margin-top: 40px;
    }
    .service-image {
        height: 120px;
    }
}


@media screen and (max-width: 1707px) {
    .service {
        width: 210px;
        padding-right: 50px;
        padding-left: 50px;
    }
    .service-image {
        height: 100px;
    }
}

@media screen and (max-width: 1267px) {
    .service {
        height: 260px;
        width: 180px;
        padding-right: 30px;
        padding-left: 30px;
    }
    .service-image {
        height: 100px;
    }
}

/* popular properties section style */
#popular-properties {
    padding-bottom: 40px;
    background-color: #ad1414;
    color: #ffff;
    text-align: center;
}

.popular-properties-text-h1 {
    font-size: 60px;
    margin-left: 160px;
    padding-top: 40px;
    text-align: left;
}

.popular-properties-text-p {
    font-size: 22px;
    margin-left: 160px;
    padding-top: 10px;
    text-align: left;
}

.popular-properties-text-p2 {
    font-size: 30px;
    margin-left: 160px;
    padding-top: 10px;
    text-align: left;
}

#button-view-all {
    font-size: 24px;
    display: inline-block;
    float: right;
    margin-right: 60px;
    margin-top: -80px;
    border-radius: 5px;
    padding: 10px;
    transition: transform 250ms;
    text-align: left;
}

#button-view-all:hover {
    transform: translateY(-8px);
}

a {
    all: unset;
    color: white;
    text-decoration: none;


}

a:hover {
    cursor: pointer;
    color: white;
    text-decoration: none;
}

@media screen and (max-width: 1300px) {
    .popular-properties-text-h1 {
        text-align: center;
        margin-left: 0px;
    }

    .popular-properties-text-p {
        text-align: center;
        margin-left: 0px;
    }

    .popular-properties-text-p2 {
        text-align: center;
        margin-left: 0px;
    }

    #button-view-all {
        display: block;
        float: none;
        text-align: center;
        margin-right: 0px;
        margin-top: 40px;
    }
}

.property {
    height: 620px;
    width: 400px;
    background-color: #ffffff;
    display: inline-block;
    margin-top: 50px;
    margin-left: 25px;
    border-radius: 10px;
    color: black;
    text-align: left;
    transition: all .4s ease-in-out;
    vertical-align: top; 
    overflow: hidden;
    box-sizing: border-box; 
}


.property:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.property-image-div {
    height: 60%;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.property-image-div img {
    width: auto;
    height: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
.property-image {
    border-radius: 10px 10px 0px 0px;
    height: 100%;
    width: 100%;
}

.property-info {
    height: 40%;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
}

.property-info-h2 {
    font-size: 24px;
    padding-top: 20px;
    padding-left: 30px;
}

.property-info-p {
    margin-top: 10px;
    margin-left: 30px;
    font-size: 20px;
}

.property-info-ref {
    margin-left: 30px;
    margin-top: 10px;
    font-size: 20px;
}

.property-info-data {
    font-size: 25px;
    font-weight: bold;
    position: absolute;
    bottom: 10px;
    right: 10px;
}
@media screen and (max-width: 430px) {
    .property {
        height: 620px;
        width: 100%;
        margin-left: 0px;
        
    }
    .property:hover {
        transform: scale(1.0);
    }
}

@media screen and (max-width: 340px) {
    .property {
        height: 640px;
    }
 }
/*Build dream house section style*/
#build-dream-house {
    background-color: #ffff;
    display: flex;
    flex-wrap: wrap;
}

#build-dream-house-left {
    width: 50%;
    padding: 70px 80px;
    box-sizing: border-box;
}

.dream-house-text-h1 {
    font-size: 58px;
    border-left: solid #94b7dd 12px;
    padding-left: 20px;
    margin-left: -32px;
    margin-top: 0;
    letter-spacing: 2px;
}

.dream-house-text-p {
    font-size: 28px;
    margin-top: 30px;
    max-width: 600px;
}
/*Know more (build dream house) button style*/
#button-know-more {
    font-size: 25px;
    height: 40px;
    width: 200px;
    padding: 10px 20px 10px 20px;
    margin-top: 30px;
    background-color: #ad1414;
    color: white;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: transform 450ms;
}

#button-know-more:hover {
    background-color: #ad1414ec;
    transform: scale(1.05);
}

/*Build dream house left section style*/
#build-dream-house-image {
    width: 50%;
   /* height: 600px; image on mobile or not */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*Build dream house mobile style*/
@media (max-width: 768px) {
    #build-dream-house {
        flex-direction: column-reverse;
    }

    #build-dream-house-image {
        display: block;
        width: 100%;
    }
    #build-dream-house-left {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1454px) {
    #build-dream-house-image {
        display: none;
    }
    #build-dream-house-left {
        width: 100%;
    }
}

/*Opinion section style*/
#opinion {
    background-color: #94b7dd;
    text-align: center;
    color: #ffff;
    padding: 60px 0;
}

#opinion-header {
    font-size: 28px;
    letter-spacing: 2px;
}
@media screen and (max-width: 420px) {
    #opinion-header {
        word-wrap: break-word;
    }
 }
.opinion-photo-img {
    height: 220px;
    border: white 2px solid;
    border-radius: 100%;
    margin-top: 30px;
    padding: 12px;
}

#opinion-stars {
    color: gold;
    font-size: 40px;
    margin-top: 20px;
}

#opinion-text {
    font-size: 22px;
    margin-top: 20px;
}
#opinion-show-more {
    font-size: 25px;
    height: 40px;
    width: 200px;
    padding: 10px 20px 10px 20px;
    color: white;
    border-radius: 5px;
    border: white 2px solid;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: all .4s ease-in-out;
    margin-top: 20px;
}

#opinion-show-more:hover {  
transform: scale(1.1);
}

/*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 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;
    }
 }

/*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: #ad1414;
    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: 420px) {
    #scroll-button {
        right: 0px;
    }
}
@media screen and (max-width: 1712px) {
    .property {
        height: 520px;
        width: 300px;
    }
    
    
    .property:hover {
        transform: scale(1.08);
        cursor: pointer;
    }

    .property-info-h2 {
        font-size: 24px;
        padding-top: 20px;
        padding-left: 30px;
    }
    
    .property-info-p {
        margin-top: 10px;
        margin-left: 30px;
        font-size: 20px;
    }
    
    .property-info-ref {
        margin-left: 30px;
        margin-top: 10px;
        font-size: 20px;
    }
    
    .property-info-data {
        font-size: 25px;
        font-weight: bold;
        position: absolute;
        bottom: 10px;
        right: 10px;
    }
}

@media screen and (max-width: 1314px) {
    .property {
        height: 420px;
        width: 250px;
    }
    
    
    .property:hover {
        transform: scale(1.08);
        cursor: pointer;
    }

    .property-info-h2 {
        font-size: 19px;
        padding-top: 10px;
        padding-left: 20px;
    }
    
    .property-info-p {
        margin-top: 5px;
        margin-left: 20px;
        font-size: 14px;
    }
    
    .property-info-ref {
        margin-left: 20px;
        margin-top: 5px;
        font-size: 14px;
    }
    
    .property-info-data {
        font-size: 19px;
        font-weight: bold;
        position: absolute;
        bottom: 10px;
        right: 10px;
    }
}

@media screen and (max-width: 1116px) {
    .property {
        height: 400px;
        width: 210px;
    }
    
    
    .property:hover {
        transform: scale(1.08);
        cursor: pointer;
    }

    .property-info-h2 {
        font-size: 16px;
        padding-top: 10px;
        padding-left: 20px;
    }
    
    .property-info-p {
        margin-top: 5px;
        margin-left: 20px;
        font-size: 14px;
    }
    
    .property-info-ref {
        margin-left: 20px;
        margin-top: 5px;
        font-size: 14px;
    }
    
    .property-info-data {
        font-size: 19px;
        font-weight: bold;
        position: absolute;
        bottom: 10px;
        right: 10px;
    }
}


@media screen and (max-width: 322px) {
.popular-properties-text-h1 {
    overflow-wrap: break-word;
}
#our-services-h1 {
    overflow-wrap: break-word;
}
.about-us-content-h1 {
    overflow-wrap: break-word;
}
#build-dream-house-left {
    padding: 70px 0px;
}
}