@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC&display=swap');

body {
  margin: 0px;
  padding: 0px;
  padding-top:30px;
}
.bodyContent {
  font-family: 'Roboto Condensed', sans-serif;
}
p {
  font-size: 20px;
}
#navbarResponsive > a {

  font-size: 20px;
}
a:hover {
  text-decoration: none;
}
a {
  color: #00A2B1;
}
.teal {
  color: #00A2B1;
}
.bold {
  font-weight: bold;
}

.nav-styles {
  background-color: #ffffff; 
  margin-bottom: 15px;
  margin-top: 0px; 
  box-shadow: 1px 1px 7px grey;
}
div[id^='IDX-slideshowGallery-'] {
  overflow: hidden;
}
/* center nav elements on collapse */
.navbar .navbar-collapse {
  text-align: center;
  }
  .collapse > a {
    margin-left: 20px;
}

@media screen and (max-width: 400px) {
  h5{
      font-size:17px;
  }
  p{
    font-size: 16px;
  }
  h4{
    font-size: 17px;
  }
  h1{
    font-size: 22px;
    text-align: center;
  }
  .aboutUs {
    margin-top: 15%;
  }
}

  .carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 1.5s;
    transition-property: opacity;
   }
   
   .carousel-fade  .carousel-item.active,
   .carousel-fade  .carousel-item-next.carousel-item-left,
   .carousel-fade  .carousel-item-prev.carousel-item-right {
     opacity: 1;
   }
   
   .carousel-fade .active.carousel-item-left,
   .carousel-fade  .active.carousel-item-right {
    opacity: 0;
   }
   
   .carousel-fade  .carousel-item-next,
   .carousel-fade .carousel-item-prev,
   .carousel-fade .carousel-item.active,
   .carousel-fade .active.carousel-item-left,
   .carousel-fade  .active.carousel-item-prev {
    transform: translateX(0);
    transform: translate3d(0, 0, 0);
   }

   @media screen and (min-width:768px){
    .navbar-brand-centered {
        position: absolute;
        left: 50%;
        display: block;
        width: 160px;
        text-align: center;
        background-color: #eee;
    }
    .navbar>.container .navbar-brand-centered, 
    .navbar>.container-fluid .navbar-brand-centered {
        margin-left: -80px;
    }
}

.firstLetter {
    font-size: 1.33em;
  }
.footer {
  font-size: 13px;
}
#mapButton {
  box-shadow: 2px 5px 7px grey;
  margin-top: 30px;
}
#mapButton:hover {
  border: 1px solid #00A1B1;
  background-color: #00A1B1;
  color: black;
}
#mainCarousel {
  border-radius: 10px;
  overflow: hidden;
}
#buyingHeader {
  background-image: url('../images/buyingheader.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 425px;
  margin-top: 42px;

}
#agentsHeader {
  background-image: url('../images/agentsheader.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 350px;
  margin-top: 42px;
}
#buyingHeader h3 {
  font-family: 'Noto Sans TC', sans-serif;

}
.buyingHeadText {
  margin-left: 40%;
}
#buyerContractImage {
  width:350px;
  height: auto;
}
#sellingHeader {
  background-image: url('../images/sellingHeader.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  height: 350px;
  margin-top: 42px;
}
.sellingHeadText {
  margin-left: 30%;
}
#sellingHeader h3 {
  font-family: 'Noto Sans TC', sans-serif;

}

.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 500px;
  margin: 20px auto;
}