body, html{
  height: 100%;
  margin: 0;
}
body {
  /* font-family: '微軟正黑體'; */
  font-size: 16px;
}
label.red {
  color: #ec1d23;
}
label.navy {
  color: #20282e;
}
.icon {
  margin: 0;
  padding: 0;
}
/* Theme text color */
.sp-text-red {
	color: #ec1d23;
}
.sp-text-blue {
	color: #20282e;
}
.sp-text-grey {
	color: #333f48;
}
.sp-background-light {
  background-color: #fafafa;
}
a.property-title {
  color: #ec1d23;
  text-decoration: none;
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .desktop-view {
    display: none;
  }
  .mobile-view {
    display: block !important;
  }
}
@media (max-width: 575.98px) {
  .desktop-view {
    display: none;
  }
  .mobile-view {
    display: block !important;
  }
}
/* top nav */
/* Add a black background color to the top navigation */
.topnav {
  display: flex;
  margin: 0 auto;
  width: 100%;
  background-color: #fff;
  overflow: hidden;
}
.sp-nav-border {
  border-top: 3px solid #ec1d23;
}
.mm-topnav {
  display: none;
}
.ms-topnav {
  display: none;
}
@media (max-width: 575.98px) {
  .topnav {
    display: none;
  }
  .mm-topnav {
    display: none !important;
  }
  .ms-topnav {
    display: block !important;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    overflow: hidden;
  }
  .ms-topnav-logo {
    display: flex;
    justify-content: center;
  }
  .ms-topnav-logo img {
    width: 280px;
    height: 77px;
  }
  .ms-topnavbar {
    display: flex;
    flex: 1;
    flex-direction: row;
  }
  .ms-topnavbar-contact {
    float: left;
    display: flex;
    flex: 1;
  }
  .ms-topnavbar-contact ul {
    margin: 0;
    padding: 0;
  }
  .ms-topnavbar-contact ul li {
    text-decoration: none;
    list-style: none;
    display: inline-block;
  }
  .ms-topnavbar-menu {
    float: right;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .topnav {
    display: none;
  }
  .mm-topnav {
    display: flex;
    flex: 1;
    flex-direction: column;
  }
  .mm-topnav-menu-miscellaneous {
    display: flex;
    flex: 1;
    flex-direction: row;
  }
  .mm-topnav-menu-contact {
    display: flex;
    flex: 1;
    flex-direction: column;
    text-align: right;
  }
  .mm-topnav-menu-contact a {
    color: #20282e;
  }
  .mm-topnav-menu ul {
    margin: 0;
    padding: 0;
  }
  .mm-topnav-menu ul li:not(:first-child) {
    padding-left: 5px;
    padding-right: 5px;
  }
  .mm-topnav-menu ul li {
    text-decoration: none;
    list-style: none;
    display: inline-block;
  }
  .mm-topnav-menu {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
  }
  .mm-topnav-menu a {
    color: #20282e;
  }
}
@media (max-width: 991.98px) {
  .topnav {
    display: none;
  }
  .mm-topnav {
    display: flex;
    flex: 1;
    flex-direction: column;
  }
  .mm-topnav-menu-miscellaneous {
    display: flex;
    flex: 1;
    flex-direction: row;
  }
  .mm-topnav-menu-contact {
    display: flex;
    flex: 1;
    flex-direction: column;
    text-align: right;
  }
  .mm-topnav-menu-contact a {
    color: #20282e;
  }
  .mm-topnav-menu ul {
    margin: 0;
    padding: 0;
  }
  .mm-topnav-menu ul li:not(:first-child) {
    padding-left: 5px;
    padding-right: 5px;
  }
  .mm-topnav-menu ul li {
    text-decoration: none;
    list-style: none;
    display: inline-block;
  }
  .mm-topnav-menu {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
  }
  .mm-topnav-menu a {
    color: #20282e;
  }
}
@media (max-width: 1199.98px) {
  .topnav {
    display: none;
  }
  .mm-topnav {
    display: flex;
    flex: 1;
    flex-direction: column;
  }
  .mm-topnav-menu-miscellaneous {
    display: flex;
    flex: 1;
    flex-direction: row;
  }
  .mm-topnav-menu-contact {
    display: flex;
    flex: 1;
    flex-direction: column;
    text-align: right;
  }
  .mm-topnav-menu-contact a {
    color: #20282e;
  }
  .mm-topnav-menu ul {
    margin: 0;
    padding: 0;
  }
  .mm-topnav-menu ul li:not(:first-child) {
    padding-left: 5px;
    padding-right: 5px;
  }
  .mm-topnav-menu ul li {
    text-decoration: none;
    list-style: none;
    display: inline-block;
  }
  .mm-topnav-menu {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
  }
  .mm-topnav-menu a {
    color: #20282e;
  }
}
.topnav-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  width: 280px;
}
.topnav-menu {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}
.topnav-menu a {
  color: #20282e;
}
.topnav-menu-miscellaneous {
  display: flex;
  display: block;
}
.topnav-menu-main {
  display: flex;
  display: block;
  text-align: center;
}
/* Style the links inside the navigation bar */
.topnav-menu-main {
  float: left;
}
.topnav-menu-main ul {
  margin: 0;
  padding: 0;
}
.topnav-menu-main ul li {
  text-decoration: none;
  list-style: none;
  display: inline;
}
.topnav-menu-main ul li:not(:last-child) {
  padding-left: 10px;
  padding-right: 10px;
}
.topnav-menu-main a:hover {
  color: #ec1d23;
}
.active {
  color: #ec1d23;
}
.side-nav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #20282e;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s;
}
.side-nav a {
  color: white;
}
.side-nav ul {
  margin: 0;
  padding: 0;
}
.side-nav ul li {
  width: 100%;
  padding-bottom: 5px;
  text-decoration: none;
  list-style: none;
  text-align: center;
}
.closebtn {
  color: #ec1d23;
  position: absolute;
  top: 10px;
  right: 25px;
  margin-left: 50px;
}
/* home banner */
.home-banner {
  height: 700px;
  background-image: url("../img/theme-picture.jpg");
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 575.98px) {
  .home-banner {
    height: 240px;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .home-banner {
    height: 400px;
  }
}
@media (max-width: 991.98px) {
  .home-banner {
    height: 400px;
  }
}
.home-banner .banner-slogan {
  font-size: 2em;
  text-shadow: 0px 0px 18px #999;
}
.home-banner p {
  font-size: 1.5em;
}
@media (max-width: 575.98px) {
  .home-banner .banner-slogan {
    font-size: 1.5em;
  }
  .home-banner p {
    font-size: 1.25em;
  }
}
.custom-jumbotron {
  background-color:rgb(242, 242, 242, 0.85);
}
.sp-transaction ul {
  margin: 0;
  padding: 0;
}
.sp-transaction ul li {
  text-decoration: none;
  list-style: none;
}
.sp-transaction .item {
  color: #20282e !important;
}
.sp-transaction .property-price  {
  color: #ec1d23 !important;
}

.sp-hot-card-img-top {
  height: 200px;
  width: auto;
  object-fit: cover;
}
.sp-hot-card-title {
  margin: 0;
  padding: 0;
}
.sp-property-img-top {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .sp-property-img-top {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
  }
}
.sp-latest-property .property-name {
  color: #ec1d23;
}
.sp-latest-property .property-price {
  font-size: 1.25em;
  color: #ec1d23;
}
/* property detail */
/* breadcrumb */
.sp-breadcrumb {
  background-color: #f2f2f2;
  color: #333f48;
  font-size: 0.75em;
  font-weight: bold;
}
.sp-breadcrumb a {
  color: #20282e;
}
ul.sp-breadcrumb-list {
  margin: 0;
  padding: 0;
}
ul.sp-breadcrumb-list li {
  color: #6b6b6b;
  text-decoration: none;
  list-style: none;
  display: inline-block;
}
ul.sp-breadcrumb-list li:not(:last-child):after {
  content: "/";
  font-weight: bold;
  padding-left: 5px;
}
//.property-theatre img {
//  height: 400px;
//  object-fit: cover;
//}
@media (max-width: 575.98px) {
  .theatre-prev {
    margin-right: -20px;
    z-index: 9999;
  }
  .theatre-next {
    margin-left: -20px;
    z-index: 9999;
  }
}
.sp-property-gallery .owl-item {
  cursor: pointer;
}
.sp-property-gallery .owl-item img {
  max-height: 100px !important;
  object-fit: cover;
}
@media (max-width: 575.98px) {
  .sp-property-gallery .owl-item img {
    max-height: 90px !important;
    object-fit: cover;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .sp-property-gallery .owl-item img {
    max-height: 70px !important;
    object-fit: cover;
  }
}
/* property view number */
.view-title {
  font-weight: bold;
  font-size: 22px;
}
.view-number {
  font-size: 1.75em;
}
/* property info */
.sp-property-detail {
  display: flex;
  flex: 2;
  flex-direction: column;
}
.property-detail-desc {
  border: 1px solid #f2f2f2;
}
.property-detail-title {
  font-size: 20px;
}
.property-detail-desc-detail {
  color: #6b6b6b;
}
.sp-property-info {
  display: flex;
  flex-direction: row;
  color: #6b6b6b;
  font-size: 14px;
  justify-content: space-between;
}
.sp-prperty-info-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.sp-prperty-info-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.sp-property-info-right > .property-price{
  font-size:1.5em;
}
.sp-property-name {
  color: #ec1d23;
  font-weight: bold;
  font-size: 1.5em;
}
.sp-property-partition ul {
  margin: 0;
  padding: 0;
}
.sp-property-partition ul li {
  text-decoration: none;
  list-style: none;
  display: inline-block;
}
.sp-property-partition ul li:first-child {
  padding-right: 10px;
}
.sp-property-partition ul li:not(:first-child) {
  padding-left: 10px;
  padding-right: 10px;
}
.sp-property-partition ul li:not(:last-child) {
  border-right: 1px solid #ccc;
}
.sp-location-item:not(:last-child)::after {
  content: '·';
  margin-left: 5px;
  font-weight: bold;
}
.sp-property-gallery > img {
  width: 100px !important;
  height: 100px !important;
  object-fit: cover;
}
.agent-name {
  font-size: 1.5em;
}
.method-wrapper {
  padding: 20px;
  border-right: 3px solid white;
  background-color: #f2f2f2;
}
.mortgage .contribute-result {
  font-size: 1.5em;
}
/* search property */
.searchTriggerContainer {
  position: relative;
  height: 50px;
  cursor: pointer;
}
.searchTrigger {
  position: absolute;
  right: 0;
  font-size: 20px;
}
.searchSideMenu {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #fff;
  overflow-x: hidden;
  transition: 0.5s;
}
.searchSideMenuOpen {
  width: 100%;
  padding: 20px;
}
.searchButton {
  width: 100%; 
  position: fixed; 
  left: 0; 
  bottom: 0; 
  font-size: 20px;
  background-color: #ec1d23;
}
.search-status {
  font-size: 1.5em;
}
.search-status ul {
  margin: 0;
  padding: 0;
}
.search-status ul li {
  text-decoration: none;
  list-style: none;
  display: inline-block;
}
.search-status ul li:not(:last-child)::after {
  content: '．'
}
.quicksell .title {
  color: #20282e !important;
}
.quicksell .partition {
  color: #20282e !important;
}
.quicksell .property-price {
  font-size: 1.25em;
}
.topsales-wrapper img {
  width: 100% !important;
  height: 350px !important;
  object-fit: cover;
}
@media (max-width: 1199.98px) {
  .topsales-wrapper img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .topsales-wrapper img {
    width: 100% !important;
    height: 350px !important;
    object-fit: cover;
  }
}
@media (max-width: 575.98px) {
  .topsales-wrapper img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover;
  }
}
.floorplan-search {
  width: 100%;
}
.side-nav-floorplan {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #20282e;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s;
}
.side-nav-floorplan a {
  color: white;
}
.side-nav-floorplan ul {
  margin: 0;
  padding: 0;
}
.side-nav-floorplan ul li {
  width: 100%;
  padding-bottom: 5px;
  text-decoration: none;
  list-style: none;
  text-align: center;
}
/* vr */
.sp-display-active {
  display: block;
}
.sp-display-inactive {
  display: none !important;
}
.gallery-display-type {
  padding: 10px;
}
.gallery-display-type p {
  margin: 0;
  padding: 0;
}
.gallery-display-type.sp-active {
  border-bottom: 2px solid #ec1d23;
}
.matterport-showcase iframe {
  min-height: 240px;
  margin: 16px 0;
  width: 100%;
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .matterport-showcase iframe {
    min-height: 360px;
  }
}
@media (max-width: 1199.98px) {
  .matterport-showcase iframe {
    height: 550px;
    max-width: 1068px;
    margin: 0 auto 15px;
  }
}
.matterport-showcase {
  text-align: center;
}
/* vr in card */
.matterport-showcase-card iframe {
  height: 260px;
  width: 100%;
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .matterport-showcase-card iframe {
    min-height: 260px;
    margin: 0;
    padding: 0;
    width: 100%;
  }
}
.matterport-showcase-card {
  text-align: center;
  margin: 0;
}
/* sell and lease search */
/**
 *  * Extra small devices (portrait phones, less than 576px)
 *   */
 @media (max-width: 575.98px) {
  .search-mobile-view {
    display: block !important;
  }
  .search-desktop-view {
    display: none !important;
  }
}
/**
 *  * Small devices (landscape phones, 576px and up)
 *   */
@media (min-width: 576px) and (max-width: 767.98px) {
  .search-mobile-view {
    display: block !important;
  }
  .search-desktop-view {
    display: none !important;
  }
}
/**
 *  * Medium devices (tablets, 768px and up)
 *   */
@media (min-width: 768px) and (max-width: 991.98px) {
  .search-mobile-view {
    display: none !important;
  }
  .search-desktop-view {
    display: block !important;
  }
}
/**
 *  * Large devices (desktops, 992px and up)
 *   */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .search-mobile-view {
    display: none !important;
  }
  .search-desktop-view {
    display: block !important;
  }
}
/**
 *  * Extra large devices (large desktops, 1200px and up)
 *   */
@media (min-width: 1200px) {
  .search-mobile-view {
    display: none !important;
  }
  .search-desktop-view {
    display: block !important;
  }
}
/* footer */
footer {
  background-color: #20282e;
  color: white;
}
