/* VICFANG.COM */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	color: rgba(0, 0, 0, 0.5);
}

/* Layout */
.container-fluid {
	padding: 0;
}

/* Background Colors */
.custom-bg-dark {
	background-color: #222222;
}

.custom-bg-dark-transparent {
	background-color: rgba(0, 0, 0, 0.7);
}

.custom-bg-light {
	background-color: #DDDDDD;
}

.custom-bg-light-transparent {
	background-color: rgba(255, 255, 255, 0.7);
}

.custom-bg-green-dark {
	background-color: #3C763D;
}

.custom-bg-green-light {
	background-color: #DFF0D8;
}

.custom-bg-blue-dark {
	background-color: #31708F;
}

.custom-bg-blue-light {
	background-color: #D9EDF7;
}

.custom-bg-red-google {
	background-color: rgba(234, 67, 53, 0.25);
}

.custom-bg-yellow-google {
	background-color: rgba(251, 188, 5, 0.25);
}

.custom-bg-blue-google {
	background-color: rgba(66, 133, 244, 0.25);
}

.custom-bg-green-google {
	background-color: rgba(52, 168, 83, 0.25);
}

/* Text Colors */
.custom-text-dark {
	color: #222222;
}

a.custom-text-dark:hover,
a.custom-text-dark:focus {
	color: #000000;
	text-decoration: none;
}

.custom-text-dark-transparent {
	color: rgba(0, 0, 0, 0.5);
}

a.custom-text-dark-transparent:hover,
a.custom-text-dark-transparent:focus {
	color: rgba(0, 0, 0, 0.75);
	text-decoration: none;
}

.custom-text-light {
	color: #DDDDDD;
}

a.custom-text-light:hover,
a.custom-text-light:focus {
	color: #FFFFFF;
	text-decoration: none;
}

.custom-text-light-transparent {
	color: rgba(255, 255, 255, 0.5);
}

a.custom-text-light-transparent:hover,
a.custom-text-light-transparent:focus {
	color :rgba(255, 255, 255, 0.75);
	text-decoration: none;
}

.custom-text-red-google {
	color: rgba(234, 67, 53, 0.75);
}

a.custom-text-red-google:hover {
	color: rgba(234, 67, 53, 1);
	text-decoration: none;
}

.custom-text-yellow-google {
	color: rgba(251, 188, 5, 0.75);
}

a.custom-text-yellow-google:hover {
	color: rgba(251, 188, 5, 1);
	text-decoration: none;
}

.custom-text-blue-google {
	color: rgba(66, 133, 244, 0.75);
}

a.custom-text-blue-google:hover {
	color: rgba(66, 133, 244, 1);
	text-decoration: none;
}

.custom-text-green-google {
	color: rgba(52, 168, 83, 0.75);
}

a.custom-text-green-google:hover {
	/*color: rgba(52, 168, 83, 1); changed to blue on hover*/
	color: rgba(66, 133, 244, 0.75);
	text-decoration: none;
}

/* Buttons */
button,
button:active,
button:hover,
button:focus,
button:visited,
.btn,
.btn:active,
.btn:hover,
.btn:focus,
.btn:visited {
	outline: none;
	box-shadow: none;
}

.custom-btn-dark {
	border: 1px solid #000000;
	background-color: #222222;
	color: #DDDDDD;
}

.custom-btn-dark:hover {
	background-color: #000000;
	color: #FFFFFF;
}

.custom-btn-green {
	border: 1px solid #DFF0D8;
	background-color: #3C763D;
	color: #DDDDDD;
}

.custom-btn-green:hover {
	background-color: #DFF0D8;
	color: #222222;
}

.custom-btn-blue {
	border: 1px solid #D9EDF7;
	background-color: #D9EDF7;
	color: #31708F;
}

.custom-btn-blue:hover {
	background-color: #FFFFFF;
}

/* Forms 
.form-control {
	border: none;
}

.form-control:focus {
	border: none;
	outline: none;
	box-shadow: none;
}
*/

.custom-outline-blue,
.custom-outline-blue:focus {
	border: 1px solid #D9EDF7;
	background-color: #FFFFFF;
	color: #31708F;
}

/* Top Banner */
#Top-Banner {
	margin: 0;
	padding: 0;
}

#Top-Banner a:nth-child(1) > img {
	width: 100%;
	height: auto;
}

#Top-Banner a:nth-child(2) > img {
	width: 100%;
	height: auto;
}

/* Header */
#Header .navbar {
	padding-right: 0;
	padding-left: 0;
}

/* Banner */
div[id^="Banner-"] {
	margin-top: 20px;
}

div[id^="Banner-"] > .container {
	height: 100px;
	padding-top: 20px;
}

/*>>>>> 30-06-2020 <<<<<*/
#nearbyhouses ul.list-group li.list-group-item,
#sold_info ul.list-group li.list-group-item {
	align-items: center;
	-webkit-align-items: center;
}

@media (max-width: 575.98px) {
	div[id^="Banner-"] h5 {
		font-size: 1rem;
	}
	
	div[id^="Banner-"] p {
		font-size: 0.8rem;
	}
	
	div[id^="Banner-"] button {
		font-size: 0.8rem;
	}
}

/* Navigation Mobile */
#Navigation-Mobile {
	margin-top: 20px;
	text-align: center;
}

#Navigation-Mobile img {
	width: 60px;
	height: 60px;
}

/* Listings */
div[id^="Listings-"] {
	margin-top: 40px;
}

div[id^="Listings-"] .card {
	width: 98%;
	height: 320px;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

div[id^="Listings-"] .card:hover {
	width: 100%;
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
	border: 1px solid #3C763D;
	text-decoration: none;
}

div[id^="Listings-"] .card div:nth-child(1) {
	height: 50%;
}

div[id^="Listings-"] .card div:nth-child(1) .card-img-top {
	width: 100%;
	height: 100%;
}

div[id^="Listings-"] .card div:nth-child(2) {
	overflow: auto;
}

@media (max-width: 991.98px) {
	div[id^="Listings-"] .card {
		height: 360px;
	}
}

@media (max-width: 767.98px) {
	div[id^="Listings-"] .card {
		width: 100%;
		height: 120px;
		display: block;
		box-sizing: content-box;
	}
	
	div[id^="Listings-"] .card div:nth-child(1) {
		width: 160px;
		height: 120px;
		display: inline-block;
		float: left;
	}
	
	div[id^="Listings-"] .card div:nth-child(1) .card-img-top {
		border-top-right-radius: 0;
		border-bottom-left-radius: calc(.25rem - 1px);
	}
	
	div[id^="Listings-"] .card div:nth-child(1) .card-img-overlay {
		display: none;
	}

	div[id^="Listings-"] .card div:nth-child(2) {
		width: calc(100% - 160px);
		height: 120px;
		display: inline-block;
		float: right;
	}
}

/* Listings Pagination */
div[id^="Listings-"] .listings-pagination .pagination {
	margin-bottom: 0;
}

div[id^="Listings-"] .listings-pagination .pagination .page-item .page-link {
	border: 1px solid #D9EDF7;
	background-color: #FFFFFF;
	color: #31708F;
}

div[id^="Listings-"] .listings-pagination .pagination .page-item.disabled .page-link {
	color: #DDDDDD;
}

div[id^="Listings-"] .listings-pagination .pagination .page-item.active .page-link {
	background-color: #D9EDF7;
}

/* Listings Button Group */
div[id^="Listings-"] .listings-button-group {
	
}

/* Section */
div[id^="Section-"] {
	margin-top: 40px;
}

div[id^="Section-"] .card-body{
	overflow: auto;
}

/* Section-1 */
#Section-1 .card {
	height: 360px;
}

@media (max-width: 991.98px) {
	#Xin-Wen .card {
		height: 600px;
	}
	
	#Xin-Wen img {
		width: 120px;
		height: 90px;
	}

	#Xin-Wen small {
		width: calc(100% - 120px);
		height: 90px;
		display: inline-block;
		float: right;
		overflow: hidden;
	}

	#Zui-Xin-Shang-Shi .card {
		height: 240px;
	}
}

@media (max-width: 767.98px) {
	#Xin-Wen .card {
		height: 480px;
	}
	
	#Xin-Wen img {
		width: 80px;
		height: 60px;
	}

	#Xin-Wen small {
		width: calc(100% - 80px);
		height: 60px;
	}
}

/* Section-2 */
#Section-2 .card {
	height: 360px;
}

#Fang-Jia-Zou-Shi img {
	width: 85%;
	height: auto;
}

/*
#Te-Bie-Tui-Jian img {
	width: 160px;
	height: 120px;
}

#Te-Bie-Tui-Jian small {
	text-align: center;
}*/

@media (max-width: 991.98px) {
	#Section-2 {
		margin-top: 0;
	}
}

/* Section-3 */
#Section-3 img {
	width: 100%;
	height: auto;
}

/* Footer */
#Footer {
	margin-top: 20px;
}

#Footer .container {
	padding-top: 40px;
	padding-bottom: 80px;
	text-align: center;
}

/* Bottom Banner */
#Bottom-Banner > .container {
	height: 80px;
	padding-top: 15px;
}

@media (max-width: 575.98px) {
	#Bottom-Banner h5 {
		font-size: 1rem;
	}
	
	#Bottom-Banner p {
		font-size: 0.8rem;
	}
	
	#Bottom-Banner button {
		font-size: 0.8rem;
	}
}

/* Modal */
.modal-open,
.modal-open .modal {
	padding-right: inherit !important;
}

.modal-open div[class*="sticky-"],
.modal-open div[class*="fixed-"] {
	margin-right: inherit !important;
	margin-left: inherit !important;
	padding-right: inherit !important;
	padding-left: inherit !important;
}

/* WeChat Modal */
#Modal-WeChat img {
	width: 100%;
	height: auto;
}

/* Testimonial */
.testimonial {
  border: 2px solid #ccc;
  background-color: #eee;
  border-radius: 5px;
}
.testimonial img {
  float: left;
  margin-right: 20px;
  border-radius: 50%;
}

/* Increase the font-size of a span element */
.testimonial span {
  font-size: 16px;
  margin-right: 10px;
}

/* Add media queries for responsiveness. This will center both the text and the image inside the container */
@media (max-width: 500px) {
  .testimonial {
    text-align: center;
  }

  .testimonial img {
    margin: auto;
    float: none;
    display: block;
  }
}

.tm-checked {
  color: orange;
}

/*-------------11-Oct-21------------*/
#Bottom-Banner > .container{
	height: auto;
	padding-bottom: 15px;
}
@media screen and (min-width: 768px){
	#Bottom-Banner .row .col-lg-2,
	#Bottom-Banner .hidden_desktop{
		display: none;
	}
	#Bottom-Banner .row .col-lg-6{
		flex: 0 0 calc(50% + 16.666667%);
		-webkit-flex: 0 0 calc(50% + 16.666667%);
		max-width: calc(50% + 16.666667%);
	}
	#Bottom-Banner .slide .carousel-item p{
		margin-bottom: 0;
	}
	#Bottom-Banner .col-lg-4{
		flex: 0 0 33.33%;
		-webkit-flex: 0 0 33.33%;
		max-width: 33.33%;
	}
}
@media screen and (max-width: 767px){
	#Bottom-Banner .row .col-lg-2{
		flex: 0 0 120px;
		-webkit-flex: 0 0 120px;
	}
	#Bottom-Banner .row .col-lg-6{
		flex: 0 0 calc(100% - 120px);
		-webkit-flex: 0 0 calc(100% - 120px);
		padding-left: 0;
	}
	#Bottom-Banner .slide .carousel-item p{
		margin-bottom: 14px;
	}
	#Bottom-Banner button{
		margin-top: 15px;
	}
	#Bottom-Banner .hidden_desktop{
		display: block;
		margin-top: -8px;
	}
	#Bottom-Banner .hidden_mobile{
		display: none;
	}
}