html {
  min-height: 100% !important;
  position: relative !important;
}

body {
	/*overflow: hidden !important;*/
	/*background-color: #fefffa;*/
	background-image: linear-gradient(to bottom, #f9f7f7, #f2e7e9);
	color: #501515;
	font-family: "Roboto", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft JhengHei", "Arial", "sans-serif";
    font-size: 1rem;
}

p, ul li, ol li {
    font-weight: bold;
}

a {
    color: rebeccapurple;
}

a:hover {
    color: #611b7b;
}

h1, h2, h3, h4, h5, h6 {
	color: #c33837;
	font-weight: bold;
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
}

.navbar-toggler {
  border-width: 0;
}
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28196, 56, 55, 12%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar .back-icon {
  color: #c33837;
  font-size: 1.4rem;
  margin-top: 0.2rem;
}
.navbar.sub-nav {
  background-color: #c33837;
}
.navbar.sub-nav .title {
  color: white;
  font-size: 1.0rem;
  font-weight: bold;
}
.navbar.sub-nav .sort {
  color: white;
  margin-top: 0.2rem;
  font-size: 0.8rem;
}

.navbar-light .navbar-nav .nav-link, .dropdown-item {
	color: #501515;
    font-weight: bold;
}

.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
	color: rgba(80, 21, 21, 0.7);
}
.navbar-collapse {
    flex-grow: unset;
}
.navbar .dropdown-menu {
    background-color: #f9f7f7;
}

.dropdown-item {
	color: #501515;
	/*color: rgba(80, 21, 21, 0.7);*/
}
.dropdown-item:hover, .dropdown-item:focus {
    color: rgba(80, 21, 21, 0.7);
}

.header {
  /*background-color: #fbfaf3;*/
}
.header .container {
  padding-top: 0;
  padding-bottom: 0;
}

.search-container {
	border-bottom: 1px solid #c33837;
	margin-bottom: 1em;
}

.footer {
	background-color: #c33837;
	margin-top: 2em;
}

.copyright {
    font-weight: bold;
    font-size: 0.9rem;
}

.content-subtitle {
	margin-bottom: 2.3rem;
}

section {
	margin-bottom: 2.5rem;
}

.hide {
  display: none !important;
}

.landing {
	padding: 0 5%;
}

main .container {
  padding-top: 0;
}

.container {
  padding-top: 0;
  /* overflow: hidden; */
}
.container .title-text {
  color: #c33837;
  text-align: center;
  font-size: 1.2rem;
}

.slick-slider {
  width: 110%;
  margin-left: -5%;
  /*overflow-x: hidden;*/
}

select {
	-moz-appearance: auto;
	-webkit-appearance: auto;
}

.card {
  height: 100%;
  overflow: hidden;
  background-color: #f9f7f7;
  border: 1px solid #ccc;
  border-radius: 0;
}

.card-body {
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
}

.card-top {
  flex-grow: 1;
  margin-bottom: 2.5rem;
}

.card-icon {
  width: 1rem;
  height: 1rem;
  margin: 0.1rem 0.5rem;
}

.card-name {
    padding: 0.2rem 0.5rem;
    width: 100%;
    min-height: 3.2rem;
    background-color: #c33837;
    margin-top: auto;
}

.card-name div {
    color: #f9f7f7;
    font-size: 1.1rem;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    /*white-space: nowrap;*/
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
  
.card-title {
  width: 90%;
  color: #501515;
  font-size: 1rem;
  -webkit-line-clamp: 1;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  margin: 0;
  font-weight: bold;
}

.card-text {
  color: #c33837;
  font-weight: bold;
  text-align: center;
  font-size: 1.2rem;
}

.card-body {
  padding: 0;
}
.card-body .card-text {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	padding-bottom: 0;
	margin-bottom: 6px;
}
.card-body .card-tag {
	left: 5px;
	top: 5px;
	padding: 4px 10px;
	position: absolute;
	background-color: #f17c8e;
	color: white;
	z-index: 1;
	font-size: 1em;
}
.card-body .card-bm {
	right: 5px;
	bottom: 5px;
	position: absolute;
	color: white;
	z-index: 1;
	font-size: 1em;
}
.card-body .row {
	margin: 0;
	min-height: 20px;
}

.card-bottom {
    position: absolute;
    bottom: 0.1em;
    width: 100%;
}

.title-name {
	color: #c33837;
	padding: 10px;
}

.title-name h5 {
    margin: 0 auto;
}

.field {
	border: 1px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	/* background-color: #fbfcf6; */
	margin: 0 !important;
}
.field.col-md-6 {
	padding: 0;
}

.row.field {
	min-height: 5em;
}

.field h5 {
	margin: 0;
	padding: 1rem 1rem;
}

.field-name {
	background-color: #fcf8ef;
	/*width: 140px;*/
	display: flex;
	align-items: center;
	font-size: 1rem;
	font-weight: bold;
}

.form-group label {
	font-size: 1rem;
	font-weight: bold;
}

.field-text {
	display: flex;
	align-items: center;
}

h5.field-name {
	color: #501515;
}

label {
	margin: 0;
}

.error {
    color: red !important;
}

.remarks {
    font-size: 70%;
}

.contact-title {
	color: #c33837;
	/*font-size: smaller;*/
}

.contact-field {
	color: #501515;
	font-size: medium;
}

.property-col {
	margin: 1em !important;
	padding: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.property-thumbnail-slider a {
	overflow: hidden;
}

.prop-image__wrapper {
	background-color: #f4f4f4;
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 33%;
	background-size: cover;
	background-position: 50%;
	background-repeat: no-repeat;
}

.prop-image__wrapper:hover {
	transform: scale(1.03);
	transition: 1s;
}

#property-images {
	margin-bottom: 1.5em;
}

.play-circle {
	width: 2.5em;
	opacity: 0.8;
}

.search-form {
	width: 100%;
	padding: 2em 1em;
}

.is-simple {
	margin-bottom: 1.5em !important;
	background-color: #f9f7f7 !important;
	border: 1px solid #c33837 !important;
}

button:focus,
input[type="button"], input[type="button"]:focus, input[type="button"]:hover,
input[type="text"], input[type="text"]:focus, input[type="text"]:hover,
a, a:focus, a:hover {
  text-decoration: none !important;
  outline: none !important;
}

.search .dropdown {
  float: left;
  width: 40%;
  border-right: 1px solid #eee;
}
.search .dropdown:first-of-type > a {
  padding-left: 0;
}
.search .search__filter {
  display: block;
  position: relative;
  font-size: 1.1rem;
  padding: 10px 0;
  width: 100%;
  text-align: center;
  cursor: pointer;
  color: gray;
}
.search a {
  color: #501515;
  -webkit-transition: color, .2s;
  transition: color, .2s;
  padding: 0 10px;
  display: block;
}
.search input {
  width: 100%;
  padding: 10px 10px 10px 30px;
}

.search {
  /*margin: 10px auto 40px;*/
  background-color: #fff;
  border-radius: 5px;
  width: 90%;
  position: relative;
  padding: 0;
  border: 0;
}

.search:after, .search:before {
  content: " ";
  display: table;
}

.search:after {
  clear: both;
}

.search__filter {
  display: block;
  position: relative;
  font-size: 1.6rem;
  padding-left: 10px;
  width: 100%;
  height: 70px;
  text-align: left;
  cursor: pointer;
  color: gray;
}

.search__filter-title {
	top: 0;
	left: 10px;
	font-size: .9rem;
	color: #777;
}
  
.search__button {
  border: none;
  width: 90%;
  display: block;
  float: none;
  background: #c33837;
  color: #fff !important;
  padding: 10px;
  border-radius: 5px;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  height: 50px;
  margin: auto;
}

.search__button_sm {
	border: none;
	width: 100%;
	display: block;
	float: none;
	background: #c33837;
	color: #fff !important;
	padding: 10px;
	border-radius: 5px;
	font-size: 1.6rem;
	font-weight: 700;
	text-align: center;
	height: 50px;
	margin: auto;
}
  
.reset__button {
	border: none;
	width: 100%;
	display: block;
	float: none;
	background: #ccc;
	color: #fff !important;
	padding: 10px;
	border-radius: 5px;
	font-size: 1.6rem;
	font-weight: 700;
	text-align: center;
	height: 50px;
	margin: auto;
}

.search__button .fa-search {
	padding-left: 10px;
}
  
  
.search__button:hover, .search__button_sm:hover {
  background-color: #A12028;
}

.reset__button:hover {
	background-color: #888;
}

.sm-search {
	padding: 10px 20px;
	background-color: #c33837;
	color: #fff !important;
	border-radius: 5px;
	font-weight: bold;
}

.sm-search:hover {
	background-color: #A12028;
}

.search__more {
	/*position: absolute;
	bottom: 0;
	right: 0;*/
	color: #c33837 !important;
	font-size: .9rem;
	font-weight: 700;
	white-space: nowrap;
    padding: 1em;
}

.search__more:active, .search__more:focus, .search__more:hover {
  color: #c33837;
  text-decoration: none;
}

.search__more .fa {
  background-color: #c33837;
  color: #fff;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 5px;
}

.search .dropdown {
  float: left;
  width: 33.3333%;
  border-right: 1px solid #c33837;
  border-bottom: 1px solid #c33837;
}

.search .dropdown.last {
  border-right: 0 solid #c33837;
}

.search .dropdown:focus {
  outline: none;
}

.search .dropdown:last-of-type {
  border-right: 0;
}

.search .dropdown:first-of-type > a {
  padding-left: 0;
}

.search .btn-default {
  border: none;
  border-radius: 5px;
}

.search .btn-default.active.focus, .search .btn-default.active:focus, .search .btn-default.active:hover, .search .btn-default:active, .search .btn-default:active.focus, .search .btn-default:active:focus, .search .btn-default:active:hover, .search .btn-default:focus, .search .btn-default:hover, .search .open > .btn-default.dropdown-toggle.focus, .search .open > .btn-default.dropdown-toggle:focus, .search .open > .btn-default.dropdown-toggle:hover {
  background-color: transparent;
}

.search .btn-default.active, .search .btn-default:active, .search .open > .btn-default.dropdown-toggle {
  background-color: transparent;
  border: none;
}

.search .caret {
  border: none;
  border-right: 2px solid #777;
  border-bottom: 2px solid #777;
  width: 15px;
  height: 15px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 35px;
  margin-top: -7px;
  right: 20px;
}

.search__detail {
  position: relative;
  clear: both;
  width: 90%;
  margin: auto;
}

.search__detail .list-group {
	border: 1px solid #c33837;
	background-color: #fbfaf3;
	margin-bottom: 1.5em;
}
  
.search__detail .list-group-item {
    font-weight: bold;
	padding: 0;
}

.search__detail .dropdown.extended ul {
  left: auto !important;
  right: 10px !important;
}
/*
#search .search__detail {
  position: absolute;
  z-index: 200;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(to bottom, #fbfaf3, #F4E9D6);
  text-align: center;
}
#search .search__detail .white-theme {
  background-color: #00000000;
}
#search .search__detail .input-container {
  background-color: #c33837;
}
#search .search__detail .input-container input {
  width: 90%;
  padding: 5px 10px;
  margin: 5px;
  text-decoration: none !important;
  outline: none !important;
  border-radius: 5px;
  background-color: white;
}
#search .search__detail .btn-container {
  padding: 30px;
}
#search .search__detail .btn-container .btn-reset {
  background-color: #878785;
  color: white;
  padding: 10px 40px;
  border-radius: 5px;
  margin-right: 10px;
}
#search .search__detail .btn-container .btn-search {
  background-color: #c33837;
  color: white;
  padding: 10px 40px;
  border-radius: 5px;
  margin-left: 10px;
}
*/
.is-simple .search__detail {
  display: none;
}

.search__detail:after, .search__detail:before {
  content: " ";
  display: table;
}

.search__detail:after {
  clear: both;
}

.search__detail__filter {
  position: relative;
  padding: 10px 30px;
  font-size: 1.1rem;
  width: 100%;
  height: 60px;
  text-align: left;
}


.search__detail .dropdown {
  /*width: 16.6666%;*/
}
.search__detail .dropdown .fa {
  float: right;
  margin-top: 4px;
}
.search__detail .dropdown .dropdown-menu a {
  color: #501515 !important;
  padding: 0 10px;
  display: block;
}

.search__detail .dropdown-toggle::after {
  display: none;
}

.search__detail .caret {
  border: none;
  border-right: 2px solid #777;
  border-bottom: 2px solid #777;
  width: 8px;
  height: 8px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  margin-top: -7px;
  right: 20px;
}

.selector-selection {
  float: right;
}

.search__detail .orange-theme {
  background-color: #c33837;
  color: white;
}

.search__detail .white-theme {
  /*background-color: #fbfaf3;*/
  color: #c33837;
}
.search__detail .white-theme .selector-title {
  color: #501515;
}

.submit-button {
	background: #c33837;
	color: #fff !important;
}
  
.submit-button:hover {
	background-color: #A12028;
}
  
.reset-button {
	background-color: #ccc;
	color: #fff !important;
}

.reset-button:hover {
	background-color: #888;
}

.slick-invisble-init {
  display: none;
}

.slick-initialized {
  display: block;
}

.slick-dots li.slick-active button:before {
  color: #C62730;
}

.slick-next {
  right: 24px !important;
  z-index: 5 !important;
  display: none !important;
}

.slick-prev {
  left: 24px !important;
  z-index: 5 !important;
  display: none !important;
}

.slick-prev:before,
.slick-next:before {
    /*color: #c33837 !important;*/
    color: white !important;
}

.slick-arrow {
    opacity: 0.7;
    /*transform: scale(1.2) !important;*/
}

.carousel,
.carousel-slick {
  /* background-color: #501515; */
}

.slick-slide {
  opacity: 0.2;
}

.slick-current {
  opacity: 1;
}

.property-thumbnail-slider .slick-next {
    right: 30px !important;
    z-index: 5 !important;
    display: inline-block !important;
}

.property-thumbnail-slider .slick-prev {
    left: 30px !important;
    z-index: 5 !important;
    display: inline-block !important;
}
  
#map-container {
	margin: 1.5em auto;
}

.breadcrumb {
	background-color: #c33837;
	border-radius: 0;
	color: #f9f7f7;
	margin-bottom: 2em;
}

.breadcrumb-title {
	/*color: #f2e7e9;*/
	/*font-size: smaller;*/
}
    
.breadcrumb .container {
	padding: 0px 1.5em;
}

.social-head {
    width: 10em;
    padding-top: 0.5em;
}

.social-icon-container {
  display: flex;
  justify-content: space-around;
  margin: 10px auto;
  height: 42px;
  width: 84%;
}

.desktop .social-icon-container {
	height: 1em;
	margin: 0 auto;
}

.social-icon {
  height: 100%;
}
.social-icon img {
  height: 100%;
  margin: 0 auto;
}

.carousel .slick-slide {
  opacity: 1;
}
.carousel .slick-next {
  right: 24px !important;
  z-index: 5 !important;
  display: inline-block !important;
}
.carousel .slick-prev {
  left: 24px !important;
  z-index: 5 !important;
  display: inline-block !important;
}

.home-carousel-image-container {
	width: 100vw;
	/*height: calc(100vh - 70px - 1rem);*/
	padding-bottom: 50%;
	background-size: cover;
	background-position: center center;
}

.carousel-image-container {
	/*width: 100vw;
	height: calc(100vh - 70px - 1rem);*/
	padding-bottom: 75%;
	background-size: cover;
	background-position: center center;
}

.btn-submit {
    background-color: #c33837 !important;
    color: white !important;
}

.btn-bookmark {
    border-color: #501515;
    border-width: 2px;
    color: #501515;
    font-weight: bold;
}

.btn-bookmark:hover, .btn-bookmark:active {
    border-color: #501515;
    background-color: #501515;
}

.btn-bookmark:not(:disabled):not(.disabled):active, .btn-bookmark:not(:disabled):not(.disabled).active {
    border-color: #501515;
    background-color: #501515;
}

.btn-bookmark:focus, .btn-bookmark.focus {
    box-shadow: 0 0 0 0.2rem rgb(50 15 15 / 50%);
}

.btn-bm {
    border: 0;
    color: #501515;
}

.btn-bm:hover, .btn-bookmark:active {
    border-color: #501515;
    background-color: inherit;
    color: #501515;
}

.btn-bm:not(:disabled):not(.disabled):active, .btn-bm:not(:disabled):not(.disabled).active {
    border-color: #501515;
    background-color: inherit;
    color: #501515;
}

.btn-bm:focus, .btn-bm.focus {
    box-shadow: 0 0 0 0.2rem rgb(50 15 15 / 50%);
}

.form-group {
	margin-bottom: 0;
	width: 100%;
}

.form-title {
  color: #c33837 !important;
}

.form-subtitle {
  color: #501515 !important;
  font-size: 0.5rem;
  display: block;
}

.form-checkbox-container {
  display: flex;
}
.form-checkbox-container label {
  margin-right: 30px;
}
.form-checkbox-container input[type='radio'] {
  -webkit-appearance: none;
  moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  border-radius: 1rem;
  width: 20px;
  height: 20px;
  border-color: grey;
  margin-right: 10px;
}
.form-checkbox-container input[type='radio']:checked {
  background-color: #c33837;
}
.form-checkbox-container input[type='radio']:focus {
  box-shadow: none;
}

.page-body {
	margin-top: 3em;
}

.title-image {
    margin-bottom: 1.5em;
}

.title-image img {
    width: 100%;
}

.page-body td {
  line-height: 1;
}
.page-body img {
  max-width: 100%;
  height: auto;
}

.page-body ol, .page-body ul {
    padding-left: revert;
}

.slick-initialized.carousel-slick .slick-track {
  display: flex;
}
.slick-initialized.carousel-slick .slick-track .slick-slide {
  display: flex;
  height: auto;
  align-items: center;
  justify-content: center;
}

.grid-square {
	width: 100px;
	height: 100px;
	display: inline-block;
	border: solid 1px rgb(0,0,0,0.2);
	padding: 0 5px;
	margin: 8px;
	background-size: cover;
	background-position: center;
}

.navbar-light .navbar-nav .nav-link {
	font-size: 17px;
	font-weight: bold;
}

.navbar-dark .navbar-nav .nav-link, .footer .copyright {
	color: #f9f7f7;
}

#contact-widget {
	padding: 1.5rem;
	background-color: #fcf8ef;
	/*min-width: 200px;
	height:300px;*/
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 0.5rem;
	position: -webkit-sticky;
	position: sticky;
	top: 1rem;
	z-index: 10000;
}

#contact-widget h5 {
    margin-top: 0;
}

#contact-widget div {
    font-weight: bold;
}

.youtube-video {
    overflow: hidden;
    position: relative;
    width:100%;
}

.youtube-video::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fade-in {
	animation: fadeIn ease 20s;
	-webkit-animation: fadeIn ease 20s;
	-moz-animation: fadeIn ease 20s;
	-o-animation: fadeIn ease 20s;
	-ms-animation: fadeIn ease 20s;
}

.postlist a {
    border: 1px solid #c33837;
    margin: 0.5rem;
    background-color: #f9f7f7;
}

.postlist a span {
    color: #501515;
}

.postlist a h5 {
    margin-top: 0;
}

.postlist .postimg-container {
    padding: 0;
}

.postlist .postimg {
    padding-bottom: 66%;
    background-size: cover;
    background-position: center;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (max-width: 576px) {
	body {
		overflow: hidden !important;
	}
	.card-container {
	  padding: 0.3rem !important;
	}
  
	.card-text {
	  font-size: 1rem;
	}
  
	.field .field-name, .field .field-text {
	  /*font-size: 0.8rem;*/
	}
}
  
@media (max-width: 767px) {
	.desktop {
	  display: none !important;
	}
	.navbar {
		padding: 0;
	}
	.navbar-nav {
		background-color: #ac0813 /*#c33837*/ /*#db2733*/;
	}
	.navbar-light .navbar-nav .nav-link {
		color: #f9f7f7 !important;
		padding: 1em;
	}
	.dropdown-menu {
		margin: 0.125rem 1em 0;
	}
	.breadcrumb .container {
		padding: 0;
	}

	.search {
		margin: auto;
		width: 100%;
	}

	.search__filter {
		font-size: 16px;
		height: auto;
	}
	.search__more a {
		font-size: .7rem;
	}
	
	.search__button .fa-search {
		padding: 0;
	  }
	.search .caret {
	  top: 25px;
	  right: 10px;
	}
	.search__detail__filter {
	  font-size: 14px;
	  height: auto;
	}
	.sm-search {
		padding: 8px 5px;
		white-space: nowrap;
	}

	.card-icon {
		margin: 0.1rem;
	}
	.card-title {
		width: 85%;
	}
    
}

@media (min-width: 768px) {
	.mobile {
	  display: none !important;
	}
    .navbar-expand-md .navbar-nav .nav-link {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .footer .navbar-nav .nav-link {
        color: #f9f7f7;
    }
	.search .dropdown a.dropdown-toggle {
		padding-top: 1em;
	}
	#property-images {
		padding: 0 20px;
	}
    .social-icon img {
        height: 150%;
    }
}

@media (max-width: 991px) {
	.search__filter-title span {
		display: none;
	}
	.search .caret {
		width: 10px;
		height: 10px;
	}
	.search__detail .dropdown {
		width: 100%;
		border-bottom: 1px solid #eee;
	}
	.search__detail .caret {
		width: 8px;
		height: 8px;
	}
    .property-thumbnail-slider .slick-next {
        right: 25px !important;
    }
    .property-thumbnail-slider .slick-prev {
        left: 25px !important;
    }
}

@media (min-width: 992px) {
	.search {
		margin: auto;
		/*padding: 1em;*/
		/*max-width: 90%;*/
	}
}

@media (max-width: 1199px) {
	.search__button {
		font-size: 1.2rem;
	}
}

@media (min-width: 1200px) {
	.search {
	  /*max-width: 80%;*/
	}
}
  