@import "./components/container.css";
@import "./components/select.css";
@import "./components/input.css";
@import "./components/checkbox.css";
@import "./components/price-slider.css";

* {
  position: relative;
}

:root {
  --titleColor: #0a0a0a;
  --textColor: #777777;
  --IPMColor: #ad1414;
  --IPMColorLight: #c02d2d;
  --IPMColorBlack: #0a0a0a;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "obliqua", Regular;
  font-size: 18px;
  line-height: 24px;
  color: var(--textColor);
  font-weight: normal;
  font-style: normal;
}

h2 {
  color: var(--titleColor);
  font-size: 48px;
  line-height: 64px;
}

@media (max-width: 425px) {
  h2 {
    font-size: 32px;
    line-height: 40px;
  }
}

h3 {
  font-size: 32px;
  line-height: 36px;
  color: var(--titleColor);
}

@media (max-width: 425px) {
  h3 {
    font-size: 24px;
    line-height: 28px;
  }
}

h4 {
  font-size: 24px;
  line-height: 28px;
  font-weight: bold;
  color: var(--titleColor);
}

@media (max-width: 468px) {
  h4 {
    font-size: 18px;
    line-height: 22px;
  }
}

.main-button {
  background-color: var(--IPMColorBlack);
  color: white;
  font-family: inherit;
  margin: 0;
  padding: 18px 32px;
  border: 0;
  outline: none;
  cursor: pointer;
  white-space: normal;
  font-size: 24px;
  text-align: center;
  transition: background-color 0.3s ease-in-out;
}

.main-button:hover {
  background-color: var(--IPMColor);
}

@media (max-width: 425px) {
  .main-button {
    font-size: 18px;
    line-height: 22px;
    padding: 10px 11px;
  }
}

.section {
  padding: 64px 0;
}

.global-container {
  margin: 0 auto;
  width: 100%;
  max-width: 1648px;
}

.icon-info-block {
  padding: 5px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
}

/* Header Style */
#header {
  height: 140px;
}

/*logo style*/
#logo {
  height: 110px;
  display: inline-block;
  float: left;
  margin-top: 20px;
}

/*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;
  padding-right: 0px;
  font-size: 19px;
}
#navbar-mobile {
  display: none;
}
#navbar-mobile .fa-1x {
  font-size: 1.6rem;
  color: var(--titleColor);
}

#navbar-mobile .navbar-collapse {
  margin: 0 33px;
  background-color: var(--IPMColorBlack);
}

#navbar-mobile .navbar-collapse ul {
  margin: 32px;
  padding: 32px 0px;
  border-top: 1px solid var(--IPMColor);
  border-bottom: 1px solid var(--IPMColor);
}

#navbar-mobile .navbar-collapse ul .dropright {
  padding-top: 64px;
  text-align: left;
}

#navbar-mobile .navbar-collapse ul .dropright .dropdown-menu {
  padding: 0;
  padding-left: 8px;
  min-width: unset;
  background: transparent;
  border: 0;
}

#navbar-mobile .navbar-collapse ul .dropright .dropdown-item {
  display: inline-block;
  width: 24px;
  padding: 0px 4px;
}

#navbar-mobile .nav-link {
  color: white;
  font-size: 20px;
  line-height: 25px;
  font-weight: 500;
  text-align: left;
  padding: 0px;
  padding-top: 5px;
  padding-bottom: 5px;
}

#navbar-mobile .nav-link:hover {
  color: var(--IPMColor);
}

.navbar-toggler.toggler-example {
  cursor: pointer;
  margin-right: 10px;
}
.dark-blue-text {
  color: #ffff;
}
.navbar-light .navbar-toggler {
  color: rgba(0, 0, 0, 0.5);
  border: 0;
  margin: 0;
  padding: 5px;
}

.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;
}

#header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#header li {
  float: right;
  margin-left: 2px;
}

#header li > a {
  display: block;
  color: var(--titleColor);
  text-align: center;
  padding: 40px 16px;
  padding-top: 10px;
  text-decoration: none;
  transition: transform 450ms;
}

#header li .dropdown {
  padding: 40px 16px;
  padding-top: 10px;
}

#header li .dropdown .dropdown-menu {
  padding-top: 24px;
  min-width: unset;
  background: transparent;
  border: 0;
}

#header li .dropdown .dropdown-item {
  width: 35px;
  padding: 4px 0px;
}

#header li:hover a {
  transform: translateY(-5px);
}

@media (max-width: 1750px) {
  #header {
    padding: 0px 32px;
  }
}

@media screen and (max-width: 1206px) {
  #navbar {
    font-size: 14px;
  }
}

@media (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;
  }

  #header {
    height: auto;
  }

  #below-header {
    text-align: center;
  }

  .below-header-text-h1,
  .below-header-text-p {
    margin-left: 0 !important;
  }
}

#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;
}

.properties-filters__submit-button {
  background: #ad1414;
  padding: 17px 60px 15px;
  font-size: 24px;
  color: white;
  border: none;
  height: max-content;
  cursor: pointer;
}

.filters-form.mobile .properties-filters__submit-button {
  margin-top: 30px;
  width: 100%;
}

#header-text {
  height: auto;
  width: 100%;
}
.properties-side-header {
  font-size: 55px;
}
.number-of-results {
  padding-top: 10px;
  font-size: 20px;
}

/*
    Properties Filter Desktop START
 */
.properties-filters__desktop {
  background-color: #94b7dd;
  padding: 16px;
  gap: 16px;
  display: none;
}

.properties-filters-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.price-slider__fields {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.price-slider__fields-field {
  background: white;
  display: flex;
  padding: 5px 23px 4px;
}

.price-slider__fields-field input {
  border: 0;
  outline: none;
  padding-left: 2px;
  width: 78px;
}

@media screen and (min-width: 776px) {
  .properties-filters__desktop {
    display: grid;
  }
}

@media screen and (min-width: 1200px) {
  .properties-filters__desktop {
    grid-template-columns: 1fr max-content max-content;
  }
}

/*
    Properties Filter Desktop END
 */

/*
    Properties Filter Mobile Start
 */

.properties-filters__mobile {
}

.properties-filters__mobile__tabs {
  background: #94b7dd;
  padding: 32px;
  display: none;
  margin-top: 32px;
}

.properties-filters__mobile__tabs input[type="submit"] {
  width: 100%;
  margin-top: 32px;
}

.properties-filters__mobile__tabs-tab-title {
  color: white;
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 600;
}

.properties-filters__mobile__tabs-tab-title.filters_tab {
  font-size: 20px;
  line-height: 23px;
  font-weight: bold;
  color: var(--IPMColor);
  margin-bottom: 32px;
}

.properties-filters__mobile__tabs__list {
  display: grid;
  gap: 8px;
  padding: 0;
}

.properties-filters__mobile__tabs__list li {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.properties-filters__mobile-filters-list {
  display: flex;
  justify-content: space-around;
}

.properties-filters__mobile-filters-list button {
  border: 0;
  height: 50px;
  background: none;
  width: 50px;
  cursor: pointer;
}

.properties-filters__mobile-filters-list button:focus {
  outline: none;
}

.properties-filters__mobile-filters-list button img {
}

.properties-filters__mobile__tabs-tab {
  display: none;
}

@media screen and (min-width: 776px) {
  .properties-filters__mobile {
    display: none;
  }
}

/*
    Properties Filter Mobile End
 */
.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-2 {
  height: 30px;
  margin-top: 12px;
  width: 200px;
  background-color: #94b7dd;
  border: 1px solid white;
  font-size: 16px;
  color: white;
  margin-right: 20px;
}

.find-your-property {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 32px 0px;
  gap: 9%;
  align-items: center;
  justify-content: center;
}

.find-your-property .text-container {
  order: 1;
  padding: 0px 64px;
}

#map {
  order: 2;
  background-color: darkolivegreen;
  height: 695px;
}

@media (max-width: 1000px) {
  .find-your-property {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .find-your-property .text-container {
    padding: 0px 32px;
    order: 2;
  }

  #map {
    order: 1;
    margin: 0px 32px;
  }
}

@media (max-width: 564px) {
  #map {
    height: 324px;
  }
}

.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 {
  min-height: 762px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 32px;
  row-gap: 64px;
  padding-top: 64px;
}

.property .image-container {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.property .image-container img {
  position: absolute;
  z-index: 1;
  width: 120%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.property .image-container .plate {
  position: absolute;
  z-index: 2;
  bottom: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px;
  padding-left: 14%;
  background: transparent
    linear-gradient(
      120deg,
      #ffffff00 0%,
      #ffffff00 9.8%,
      #ffffffbf 10%,
      #ffffffbf 100%
    )
    0% 0% no-repeat padding-box;
}

.property .image-container .plate .text-container h4 {
  font-weight: normal;
  font-size: 20px;
  line-height: 22px;
  margin-bottom: 0;
}

.property .image-container .plate .text-container p {
  margin-bottom: 0;
}

.property .image-container .plate .price {
  text-wrap: nowrap;
}

.property .property-descrition {
  padding: 0px 32px;
}

.property .property-description .icons-info {
  padding: 16px 0px;
  display: grid;
  gap: 32px;
  grid-template-columns: 5fr 1fr 1fr;
  align-items: center;
  justify-content: space-between;
}

.property .property-description .icons-info p {
  margin-bottom: 0;
}

.property .property-description .icons-info .icon-info-block{
  align-items: center;
}

.property .property-description > p {
  height: 215px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1700px) {
  #properties {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (max-width: 1100px) {
  #properties {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  #properties {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .property .image-container {
    height: 250px;
  }

  .property .image-container .plate .text-container h4 {
    font-size: 17px;
  }

  .property .image-container .plate .text-container p {
    font-size: 12px;
    margin-bottom: 0;
  }

  .property .image-container .plate .price {
    font-size: 18px;
    line-height: 26px;
    text-wrap: nowrap;
  }

  .property .property-description .icons-info p {
    font-size: 16px;
    line-height: 22px;
  }

  .property .property-description .main-button {
    width: 65%;
  }
}

.page-navigator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-navigator button {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  border: 0;
  background-color: transparent;
  font-weight: bold;
  font-size: 24px;
  line-height: 70px;
  text-transform: uppercase;
  color: var(--IPMColor) !important;
}

.page-navigator #prev-page img{
  margin-right: 30px;
}

.page-navigator #next-page img{
  margin-left: 30px;
}

@media (max-width: 1700px) {
  .page-navigator {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 540px) {
  .page-navigator button {
    font-size: 20px;
    line-height: 24px;
  }

  .page-navigator button i {
    display: block;
  }
}

.items-on-page-control {
  padding: 32px 0px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.items-on-page-control.second {
  display: none;
}

.items-on-page-control .total-properties {
  text-align: center;
  border: 1px solid var(--textColor);
  padding: 12px 32px;
  font-size: 18px;
  line-height: 22px;
  color: var(--IPMColorBlack);
}

.items-on-page-control .itemsPerPageDropdown {
  width: 16%;
  min-width: 200px;
  padding: 12px 22px;
  border: 1px solid var(--textColor);
  font-size: 18px;
  line-height: 22px;
  background-color: transparent;
  color: var(--textColor);
  appearance: none;
  background-image: url("/assets/icons/arrow-down.png");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 0.65rem auto;
}

@media (max-width: 1700px) {
  .items-on-page-control {
    padding: 32px;
  }
}

@media (max-width: 770px) {
  .items-on-page-control.first {
    display: none;
  }

  .items-on-page-control.second {
    display: flex;
  }
}

@media (max-width: 535px) {
  .items-on-page-control .total-properties {
    padding: 15px;
    font-size: 12px;
    line-height: 12px;
  }

  .items-on-page-control .itemsPerPageDropdown {
    min-width: 160px;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 18px;
  }
}

@media (max-width: 425px) {
  .items-on-page-control {
    justify-content: center;
  }

  .items-on-page-control .total-properties {
    width: 100%;
  }

  .items-on-page-control .itemsPerPageDropdown {
    min-width: unset;
    width: 100%;
  }
}

#no-records {
  display: none;
  text-align: center;
  margin-top: 150px;
  margin-bottom: 150px;
}
#loading {
  position: absolute;
  transform: translate(-50%, -50%);
  bottom: 50%;
  left: 50%;
}
.no-records-h1 {
  font-size: 60px;
}
.no-records-p {
  font-size: 30px;
}

.property-location-icon {
  color: #94b7dd;
}
.property-location-text {
  font-size: 30px;
}
.fa-map-marker-alt {
  font-size: 30px;
  margin-bottom: 5px;
}

#yes {
  width: 100%;
  float: left;
  margin-top: 100px;
}

/*Footer section style*/
footer {
  background-color: var(--IPMColorBlack);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 60px;
}

.footer-grid h3 {
  color: white;
  margin-bottom: 25px;
  font-weight: 400;
}

.footer-grid p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.footer-grid .awesome-icon {
  padding: 5px;
  background-color: var(--IPMColor);
  font-size: 25px;
}

.footer-grid .icon-info-block {
  color: white;
}

.footer-grid .certificates {
  margin-top: 25px;
}

.contact-us-bx24-form-re-styling .b24-form-control {
  border-radius: 0 !important;
  border: 1px solid var(--textColor) !important;
  background-color: white !important;
  padding-left: 20px !important;
  font-size: 18px !important;
  line-height: 22px !important;
}

.contact-us-bx24-form-re-styling .b24-form-control-label {
  padding-left: 20px !important;
  color: var(--textColor) !important;
  opacity: 1 !important;
}

.contact-us-bx24-form-re-styling .b24-form-btn {
  background-color: var(--IPMColor) !important;
  color: white !important;
  font-family: "obliqua", Regular !important;
  font-weight: normal !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 18px 32px !important;
  border: 0 !important;
  outline: none !important;
  cursor: pointer !important;
  white-space: normal !important;
  font-size: 24px !important;
  text-align: center !important;
  transition: background-color 0.3s ease-in-out !important;
  border-radius: 0 !important;
}
.contact-us-bx24-form-re-styling .b24-form-btn:hover {
  background-color: var(--IPMColorBlack) !important;
}
@media (max-width: 1700px) {
  .footer-grid {
    padding: 0 30px;
  }
}

@media (max-width: 1250px) {
  .footer-grid {
    padding: 0 30px;
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid .form-column {
    grid-row: 2;
    grid-column: 1/3;
  }
}

@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid .form-column {
    grid-row: unset;
    grid-column: unset;
  }
}

/*Footer copyright section style*/
#footer-copyright {
  background-color: var(--IPMColor);
  color: white;
  padding: 17px 0;
}

@media (max-width: 1700px) {
  #footer-copyright {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* 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: 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%;
  }
}
