/* CSS Document */
.post-grid .entry-title h2, .events .entry-title h2 {
    font-size: 1.15rem;
    letter-spacing: 0;
}
.post-grid.event .entry-title h3 {
    font-size: 1.1rem;
    letter-spacing: 0;
}
.entry .entry-c .entry-content {
  overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
}
.entry-image .image-box .image-content {
	transition: all 0.5s ease;
}
.entry-image .image-box:hover .image-content {
	transform: scale(1.1);
}
.entry .entry-content {
	font-family: 'Lato', 微軟正黑體修正, 'Microsoft JhengHei', '微軟正黑體', sans-serif;
	color: #0e0e0e;
}

/*Kaffe*/
#kaffe .post-grid:not(.events) .entry-date .date {
    font-size: 1.85rem;
    line-height: 1;
    font-weight: bold;
}
#kaffe .post-grid:not(.events) .entry-date .yymm {
    font-size: 1rem;
    color: #999999;
}
#kaffe .post-grid:not(.events) .entry-title {
	margin-top: -0.2rem;
}
#kaffe .post-grid:not(.events) .entry-content {
    margin-top: 0;
}

/*Dave*/
#dave .entry .entry-content {
	margin-top: 0.5rem;
}
#dave .entry-date.top-border:before {
    content: '';
    display: block;
    width: 2rem;
    height: 2px;
    background: #929292;
    position: absolute;
    left: 0;
    top: 0;
}

/*Sanela*/
#sanela .entry .entry-content {
	margin-top: 0.5rem;
}
#sanela .entry-meta li {
    font-size: 1rem;
}

/*Eket*/
#eket #text_box h2 {
    font-size: 1.25rem;
}
#eket #text_box h4, .entry-day {
	font-size: 1rem;
	color: #999999;
}
#eket #text_box .entry-content {
	margin-top: 0.5rem;
}

/* Image Frame */
.entry .entry-image {
  position: relative;
  overflow: hidden;
	padding: 0;
	border-bottom: none;
}
.entry .entry-image:before {
    content: "";
    display: block;
    padding-top: 66.666%;
}
.entry .entry-image .image-content {
    position:  absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
	overflow: hidden;
}
.entry .entry-image .image-content div  {
   width: 100%;
   height: 100%;
}
entry .entry-image .image-content a {
    text-align: center;
    vertical-align: middle;
	width: 100%;
	height: 100%;
	display: block;
}
.entry .entry-image .image-content img {
	height: auto;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.5s ease;
}

/* House Style */
body {
	font-size: 1rem;
}

.content-wrap {
	padding-top: 0;
}

#page-title {
	display: none;
}

#posts.gutter-40>.col,
#posts.gutter-40>[class*="col-"] {
	padding-bottom: 26px;
	margin-bottom: 26px;
}

#posts .entry:before {
	content: '';
	display: block;
	width: calc(100% - 40px);
	height: 1px;
	background-color: #efefef;
	position: absolute;
	left: 20px;
	bottom: 0;
}

.entry-content .houseInfo {
	margin-top: 0.5rem;
}

.recommend-list .entry-title h3 {
	font-size: 1.125rem;
}

.recommend-list .entry-content {
	font-size: 0.8rem;
}

#tab-menu .tab-nav {
	align-items: flex-end;
	background-color: rgba(255, 255, 255, 0.5);
	padding-left: 5px;
	padding-right: 5px;
}

#tab-menu .tab-nav li {
	height: auto;
	border: none;
}

#tab-menu .tab-nav li a {
	position: relative;
	color: #ffffff;
	margin: 10px 5px;
	font-size: 1.25rem;
	height: auto;
	background-color: rgba(35, 24, 21, 0.5);
	transition: all 0.2s ease;
}

#tab-menu .tab-nav li:hover a {
	background-color: rgba(35, 24, 21, 1);
	color: #ffffff;
}

#tab-menu .tab-nav li.ui-tabs-active a {
	background-color: rgba(35, 24, 21, 1);
	color: #ffffff;
	top: 0;
}

#tab-menu .tab-container {
	border-top: solid 1px #ffffff;
	background-color: rgba(255, 255, 255, 0.5);
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
	width: 100% !important;
}

.bootstrap-select>.dropdown-toggle.bs-placeholder {
	color: #333;
}

#tab-menu .btn.dropdown-toggle {
	font-size: 1.125rem;
	padding: 15px;
}

#tab-menu .sm-form-control {
	font-size: 1.125rem;
	padding: 15px;
	border-color: #f8f9fa;
	background-color: #f8f9fa;
	border-radius: 0.25rem;
}

#tab-menu .button {
	font-size: 1.125rem;
	line-height: 41px;
	color: #fff;
}

i.tab-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
}

.tab-icon-buy {
	background: url("/front/image/icon-buyhouse.svg") no-repeat center center;
	background-size: cover;
}

.tab-icon-sell {
	background: url("/front/image/icon-sellhouse.svg") no-repeat center center;
	background-size: cover;
}

.tab-icon-rent {
	background: url("/front/image/icon-renthouse.svg") no-repeat center center;
	background-size: cover;
}

.tab-icon-office {
	background: url("/front/image/icon-factory.svg") no-repeat center center;
	background-size: cover;
}

@media (max-width: 767.98px) {
	#tab-menu .tab-nav li {
		min-width: 50%;
	}

	#tab-menu .tab-nav li a {
		font-size: 1rem;
		padding: 5px 0;
	}

	#tab-menu .tab-nav li.ui-tabs-active a {
		padding-top: 5px;
		padding-bottom: 5px;
	}
}

@media (min-width: 992px) {
	.mb-lg-n120 {
		margin-bottom: -120px !important;
	}
}

.my-active {
	color: var(--light);
	background-color: var(--bg-color);
}

.house-detail-bar .col-6 {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}
.house-detail-bar .col-6:before {
	display: block;
	content: '';
	width: 1px;
	height: calc(100% - 3rem);
  background-color: #dfdfdf;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-top: -15px;
}
.house-detail-bar .fbox-content h3 {
	font-size: 1.2rem;
}
.house-detail-info .basic-title {
	width: 6.88rem;
	font-family: 'Lato', 微軟正黑體修正, 'Microsoft JhengHei', '微軟正黑體', sans-serif;
}
.house-detail-info .basic-value {
	color: #000;
	font-family: 'Lato', 微軟正黑體修正, 'Microsoft JhengHei', '微軟正黑體', sans-serif;
}
.agent-title {
	background-color: #efefef;
}
.house-agent-detail .tab-label {
	background-color: #fff;
	border-radius: 0 0.75rem 0 0;
	position: relative;
	padding: 10px 0;
}
.house-agent-detail .tab-label:after {
	content: "";
	position: absolute;
	bottom: 0;
	right: -9.5px;
	width: 10px;
	height: 10px;
	pointer-events: none;
	overflow: hidden;
	background: radial-gradient(100% 100% at top right, transparent 10px, #fff 0, #fff 0);
}
.location-tab-box {
	height: calc(100% - 52px);
}
.location-tab-box .tab-container {
	padding: 10px;
	height: calc(100% - 42px);
	overflow-y: scroll;
	min-height: 200px;
}
.location-life-time {
	display: block;
	padding-left: 18px;
	color: #646464;
	background-image: url("/front/image/icon-walk.svg");
	background-position: 0;
	background-repeat: no-repeat;
}
.location-life-list li {
	margin-bottom: 10px;
}
@media (min-width: 768px) {
	.house-detail-bar .col-md:nth-child(2):before {
		display: none;
	}
}
@media (max-width: 767.98px) {
	.house .price .h2 {
		font-size: 1.5rem;
	}
	.house-detail-bar .col-6 {
		justify-content: flex-start;
	}
	.house-detail-bar .fbox-content h3 {
		font-size: 1rem;
	}
	.house-detail-bar .col-md:first-child:before {
		display: none;
	}
	.house-detail-bar .fbox-sm .fbox-icon, .house-detail-bar .fbox-sm .fbox-content {
    padding: 0 0.25rem;
	}
	.house-detail-bar .fbox-sm .fbox-icon {
		width: 2.5rem;
	}
}

.gutter-4 {
	margin-right: -2px;
	margin-left: -2px;
	margin-bottom: -2px;
}

.gutter-4 > .col,
.gutter-4 > [class*="col-"] {
	padding-right: 2px;
	padding-left: 2px;
	padding-bottom: 4px;
}
.selector-box {
	position: relative;
}
.selector-btn {
	font-size: 1.125rem;
	color: #999;
	border: solid 1px #f8f9fa;
	background-color: #f8f9fa;
	padding: 15px 24px 15px 15px;
	border-radius: 0.25rem;
	position: relative;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}
.selector-btn:hover {
	cursor: pointer;
}
.selector-btn:after {
	content:"\e77a";
	display: inline-block;
	font-family: 'font-icons';
	margin-left: 0.25rem;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
}

.dropdown-box {
	position: absolute;
	z-index: 799;
	left: 0;
	top: calc(100% + 4px);
	display: none;
	opacity: 0;
	transition: all 0.2s ease;

	border: solid 1px #dbdbdb;
	background-color: #fff;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,0.1);
	padding: 10px;
	border-radius: 0.25rem;
	max-width: 960px;
	min-width: 290px;
	max-height: 264px;
	overflow-x: hidden;
	overflow-y: scroll;
}
.dropdown-box.show {
	display: block;
	opacity: 1;
}
.house-search-bar .radio-style-2-label, .house-search-bar .checkbox-style-2-label {
	font-weight: normal;
}
.house-search-bar .radio-style-2-label:before, .house-search-bar .checkbox-style-2-label:before {
	width: 18px;
	height: 18px;
	margin-right: 5px;
	padding: 3px;
}
.radio-style:checked + .radio-style-2-label:before, .checkbox-style:checked + .checkbox-style-2-label:before {
	background: #2483c6;
	border-color: #2483c6;
	box-shadow: inset 0px 0px 0px 3px #fff;
}