/*-- Body Reset --*/
/*============= overflow-x: hidden and body position: relative 
to remove horizontal scroll on mobile device =============*/
html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #616971;
  position: relative
}

h1 {
  font-size: 1.4rem;
}

p {
  font-size: 14px;
}


/*============= TOP BAR HEADER =============*/
.top-bar {
  background: orange;
  height: 2.8rem;
  /*(1rem = 16px)*/
  padding: 0.5rem 0;
  /* 0.5rem (Padding top bottom) 0 (Padding left right)*/

}

.top-bar a {
  color: white;
  text-decoration: none;
  font-size: 0.7rem;
}

.top-bar a:hover {
  color: white;
  font-size: 0.9rem;
}

/*============= NAVIGATION =============*/
.navbar {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05rem;
  box-shadow: 0 .5rem .5rem rgba(0, 0, 0, .1);
  z-index: 1;
  text-transform: uppercase;
}

.navbar-brand img {
  width: 10rem;
  pointer-events: none;
}

.nav-item {
  padding: 0.5rem;
}

.nav-link {
  color: #616971 !important;
}

.nav-link.active,
.nav-link:hover {
  color: orange !important;
}

/*============= CAROUSEL =============*/
#carousel {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, .1);
}

.carousel-inner {
  max-height: 38rem !important;
}

/*---Change Carousel Transition Speed --*/
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  transition: transform 1.2s ease;
}

/*-- Carousel Content --*/
.carousel-caption {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
}

.bg-custom {
  background-color: rgba(0, 0, 0, .4);
  /* .4 will make the container transparent */
  color: white;
  border-radius: 1rem;
}

.carousel-caption h1 {
  font-size: 3rem;
}

.border-primary {
  border-top: .2rem solid #ffa500 !important;
}

.carousel-caption h3 {
  font-size: 2.2rem;
  text-shadow: .1rem .1rem .2rem rgba(0, 0, 0, 1);
}

.btn-lg {
  border-radius: 0;
  text-transform: uppercase;
  font-size: 1rem;
  border-width: medium;
  height: 2.5rem;
}

.btn-danger {
  background-color: #ac2615;
  border: .05rem solid #ac2615;
}

.btn-primary {
  background-color: #ffa500;
  border: .05rem solid #ffa500;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #f5ae2a !important;
  border: .05rem #d79418 !important;
}

/*============= Search Not Found =============*/
.center-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.center-container img {
  max-width: 100%;
  height: auto;
  pointer-events: none;
}

.dropdown-item{
  font-size: 0.7rem;
}

/*============= SHARE PROPERTY =============*/
ul.sharelink {
  list-style-type: none;
  display: flex;
  margin: 0 auto;
  padding: 20px 5px;
}

ul.sharelink li {
  padding: 8px;
  width: 100%;
}

ul.sharelink li a .fa-whatsapp{
   color: green;
}

ul.sharelink li a .fa-facebook{
   color: blue;
}

ul.sharelink li a .fa-twitter{
   color: skyblue;
}

ul.sharelink li a .fa-envelope{
   color: red;
}

/*===== PAGINATION =====*/
.page-item.active .page-link {
  color: #fff !important;
  background: #ffa500 !important;
  border-color: #ffa500;
}

.page-item .page-link {
  color: #000 !important;
  background-color: #fff !important;
  border: 1px solid #dee2e6;
}

/*===== FIXED BACKGROUND IMG =====*/

.fixed {
  background-image: url('../img/browse-listing.jpeg');
  pointer-events: none;
  -webkit-filter: brightness(0.8);
  filter: brightness(0.8);
}

.fixed-background {
  /*overflow: hidden;*/
  padding: 5rem 0;
}

.fixed-background h1 {
  /*overflow: hidden;*/
  font-size: 2rem;
}

@media(max-width:992px) {
  .fixed-background h1 {
    font-size: 1.5rem;
  }
}

@media(max-width:992px) {
  .fixed-background {
    padding: 0rem 0;
  }
}

/*-- Emoji Navbar --*/
.emoji {
  background-image: linear-gradient(to right, rgb(174, 130, 49), black);
  color: #fff;
  padding: .1rem 0 !important;
}

.emoji .svg-inline--fa {
  margin: 0 auto;
}


/*============= ROUNDED IMAGES =============*/
.rounded img {
  border-radius: 20px;
  height: 6.25rem;
  pointer-events: none;
  -webkit-filter: brightness(0.8);
  filter: brightness(0.8);
}

.img-text-container {
  position: relative;
}

.inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  width:100%;
}


/*============= HOW TO BUY HOME =============*/
.how-to-buy-text-container {
  position: relative;
}

.how-to-buy-text-container img {
  pointer-events: none;
  -webkit-filter: brightness(0.9);
  filter: brightness(0.9);
  pointer-events: none;
}


/*============= MAP =============*/

.map-text-container {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  pointer-events: none;
}

.map-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  padding-top: 3%;
  border-radius: 20px;
  height: 10rem;
}


/*============= BAckground Image find-a-property.php =============*/
.carousel-bg-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  padding-top: 3%;
  border-radius: 20px;
  height: 10rem;
}

.carousel-bg-text h1{
  font-size: 2rem;
}

form.search input[type=text] {
  padding: 10px;
  font-size: 17px;
  border: 1px solid grey;
  float: left;
  width: 80%;
  background: #f1f1f1;
}

form.search button {
  float: left;
  width: 20%;
  padding: 10px;
  background: orange;
  color: white;
  font-size: 17px;
  border: 1px solid grey;
  border-left: none;
  cursor: pointer;
}

form.search button:hover {
  opacity: 0.9;
}

form.search::after {
  content: "";
  clear: both;
  display: table;
}


/*============= Property Overview Details =============*/
ul.overview-list{
  list-style-type: square;
  margin: 0 auto;
}

ul.overview-list li{
font-size: 0.9rem;
}


/* Devices under 992px (lg) */
@media (max-width: 619px) {
.map-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  padding-top: 5%;
  border-radius: 20px;
  height: 10rem;
  width: 320px;
}
}

/*============= FOOTER =============*/
footer {
  background-color: #000;
}

footer img {
  height: 3.5rem;
  margin: 1.5rem auto;
  /* auto will keep the image centered */
  pointer-events: none;
}

footer p,
footer a,
.socket a {
  color: #fff;
  font-size: 13px;
}

ul.links {
  list-style-type: none;
  display: flex;
  margin: 0 auto;
  padding: 20px 5px;
}

ul.links li {
  padding: 8px;
}

ul.links li a {
  text-decoration: none;
}

ul.links li a:hover {
  color: orange;
}


/*============= SOCKET =============*/
.socket {
  background-color: #36454F;
  border-top: .1rem solid rgb(174, 130, 49);
}

.socket-p {
  font-size: 13px;
  padding-top: 20px;
}


/*============= MEDIA QUERIES =============*/

/* Devices under 1199px (xl) */
@media (max-width: 1199.98px) {
  .carousel-caption h1 {
    font-size: 2.8rem;
  }

  .carousel-caption h3 {
    font-size: 1.8rem;
  }
}

/* Devices under 992px (lg) */
@media (max-width: 992px) {

  .carousel-caption {
    position: absolute;
    top: 37%;
    transform: translateY(-50%);
  }

  .carousel-caption h1 {
    font-size: 2.5rem;
  }

  .carousel-caption h3 {
    font-size: 1.5rem;
  }
}


/*============ BOOTSTRAP BREAK POINTS:

Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/

/*-- Bootstrap Mobile Gutter Fix --*/
.row,
.container-fluid {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

/*-- Fixed Background Image --*/
.fixed-background {
  position: relative;
}

.fixed-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -999 !important;
}

.fixed {
  z-index: -999 !important;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}