@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css); 
* { font-family: 'Spoqa Han Sans', 'Spoqa Han Sans JP', 'Sans-serif';     box-sizing: border-box;}

body, .form-control, .btn {
	font-size: 13px;
}

.container {max-width:1200px;}

.navbar .navbar-nav .nav-item .nav-link {
	font-size:17px;
	letter-spacing: -1px;
	font-weight:700;
	color:#444444;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu a:hover,
.dropdown-menu a:focus,
.dropdown-menu a:active {
	background-color:#ffa409 !important;
}

/************************************ 홈 *********************************/
.visual{
  height: 520px; /* modified */
  background-image:url(/uploads/slide/fac59418b928f30d3a97dfb35a631cf3.jpg);
  background-size:cover;
  background-position:center center;
  position:relative;
  position:relative;
}

@media(max-width: 991px){
  .visual{
	height: 220px; /* modified */
	margin-bottom:60px;
  }
  #category{
	margin-top:30px;
  }
}


.btn.btn-primary {
	background-color:#ffa409 !important;
	border-color:#ffa409 !important;
}

.btn.btn-danger {
	background-color:#f44336 !important;
}


.btn.btn-default {
	background-color:#fff !important;
}

.badge.badge-primary {
	background-color:#ffa409 !important;
}

.badge.badge-danger {
	background-color:#f44336 !important;
}

.btn-confirm {
	border:1px solid #0649c0 !important;
	color:#0649c0 !important;
}


.text-primary {
	color:#ffa409 !important;	
}

.text-danger {
	color:#f44336 !important;	
}

.badge-installation {
	background-color:#25affb !important;	
	padding:0.2em 0.3em 0.2em 0.2em !important;
	font-size:85% !important;
	color:#fff;
}

.badge-sell {
	background-color:#ffc701 !important;
	padding:0.2em 0.3em 0.2em 0.2em !important;
	font-size:85% !important;
	color:#fff;
}

.badge-full {
	background-color:#6a33fe !important;
	padding:0.2em 0.3em 0.2em 0.2em !important;
	font-size:85% !important;
	color:#fff;
}

.badge-rent {
	background-color:#21cf11 !important;
	padding:0.2em 0.3em 0.2em 0.2em !important;
	font-size:85% !important;
	color:#fff;
}

.badge-short {
	background-color:#21cf11 !important;
	padding:0.2em 0.3em 0.2em 0.2em !important;
	font-size:85% !important;
	color:#fff;
}

.tag {
	background-color:#ffffff !important;
}

.profile .card-header {
	color:white;
	background-color:#ffa409 !important;
}


.btn-call {
	background-color:#ffa409 !important;
}

.section h2 span {
	color:#ffa409 !important;	
}

footer {
	background-color:#ffa409 !important;
	color:#fff;
}

.search-section {
	background-color:#efefef !important;
}

.cluster_cnt{
	background-color:#ffa409;
}

.address_cluster:hover .cluster_cnt {
	color:#ffa409;
	border:3px solid #ffa409;
}

.ui-widget-header {
    background-color: #ffa409 !important;
}

.control_footer div {
	background-color:#ffa409 !important;
}

/********************************************************************************************
 * 메인페이지
 ********************************************************************************************/

.visual .box #search_form {
	background-color:rgba(0,0,0,0.6);
}

.visual .box {
	bottom: 70px;
}

.page-item.active .page-link {
	border-color:#ffa409 !important;
	background-color:#ffa409 !important;
	color:#FFF !important;
}

.page-link {
	border-color:#ffa409 !important;
	background-color:white;
	color:#ffa409 !important;
}

.infobox .card-body {
	border-top:5px solid #ffa409;

}

.cluster {
	border-radius:50%;
	background-color:#ffa409;
	text-align:center;
	font-size: 13px;
	cursor:pointer;
}

#category .item {
  border:1px solid #cacaca;
  border-radius:5px;
  padding-top:20px;
}

#category .item h4{
  padding:10px;
}

#category .icon {
  width:auto !important;
}

#category img {
  max-width:50%;
  display:inline;
}#theme .item-photo p {
	color:white;
}

#theme .item-photo {
	height:230px;
	position:relative;
	margin-bottom:30px;
	background-size:cover;
	padding:20px;
	border-radius:20px;
}

#theme .item-photo .btn {
	position:absolute;
	bottom:30px;
	left:20px;
	z-index:3;
	color:white;
	max-width:55%;
}

#theme .overlay {
  position:absolute;
  left:0px;
  top:0px;
  right:0px;
  bottom:0px;
  background: rgba(0, 0, 0, 0.4);
  z-index:1;
  border-radius:20px;
}

#theme .textonoverlay {
  position:absolute;
  top:20px;
  width:100%;
  z-index:2;
}

#theme .item-photo h2 {
  color:white;
  text-align:left;
  z-index:2;
  font-weight:500;
}

#theme .btn {border:0px !important;font-size:16px;padding:5px 15px !important;}

/* 모바일에서 적용되는 내용 */
@media(max-width: 500px){
	 #theme h2 {font-size:0.875rem !important;}
	#theme .item-photo {height:170px;}
}
.back-background .card-category, .back-background .card-description, .back-background small, .card-background .card-category, .card-background .card-description, .card-background small, .front-background .card-category, .front-background .card-description, .front-background small {
    color: hsla(0,0%,100%,.8)!important;
}

.back-background, .card-background, .front-background {
    background-position: 50%;
    background-size: cover;
    text-align: center;
}

.card-background .card-title a {
    color: hsla(0,0%,100%,.8)!important;    
}

.back-background .card-title, .card-background .card-title, .front-background .card-title {
    color: #fff;
    margin-top: 10px;
}

.back-background:after, .card-background:after, .front-background:after {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    left: 0;
    top: 0;
    content: "";
    background-color: rgba(0,0,0,.56);
    border-radius: 6px;
}

.back-background .card-body, .card-background .card-body, .front-background .card-body {
    position: relative;
    z-index: 2;
    min-height: 280px;
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0 auto;
}
 .swiper-slide {
  background-size: cover;
  background-position: center;
}
.gallery-top {
  height: 80%;
  width: 100%;
}

.gallery-thumbs {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}

.gallery-thumbs .swiper-slide {
  height: 100%;
  opacity: 0.6;
}

.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}

#property-gallery {
	height:500px;
}

.col-title {
  border-bottom:1px solid #e0e0e0;
  padding-top:15px;
  padding-bottom:10px;
}

.col-value {
  font-weight:bold;
  border-bottom:1px solid #e0e0e0;
  padding-top:15px;
  padding-bottom:10px;
}

#property-detail .row {margin-right:0px;margin-left:0px;}
#property-detail .card-body h5 {border-bottom:1px solid #333;}
#property-detail .card-body {padding:20px;}

.property-detail-map-wrapper {
    position: relative;
    height: 340px;
}

.property-detail-map-wrapper .property-detail-map {
    height: 100%;
    position: absolute;
    right: 0;
    width: 100%;
}

@media(max-width: 500px){
	 #property-gallery {
		height:300px;
	}   	

	.property-detail-map-wrapper {
   	 height: 200px;

	}
}
.map-property.finish .property-image-wrap{
	border:1px solid #4285F4;
}

.map-property.finish .property-image,
.map-property.finish .property-wrap{
	opacity: 0.4;
}
.map-property .finish-text{
	display:none;
}

.map-property.finish .finish-text{
	display:block;
	position: absolute;
	top: 47px;
	left: 65px;
	font-size: 18px;
	font-weight: bold;
	color: #4285F4;
}

.map-property .property-image {
	text-align:center;
	position:relative;
	background-color:#efefef;
	background-size:cover;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	height: 112px;
	width:100%;
}
/* 매물 목록 셀 공통 적용 */

.property ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display:flex;
  height:20px;
}

.property li {
  display: inline-block;
}

.property li:after {
	content: ",";
}

.property li:last-child:after {
	content: "";
}

.property:hover {
  box-shadow: 0 0 20px 0 #ccc;
  transition: 0.25s;
  transform: scale(1.01);
}

.property h4 {
  height:30px;
  text-overflow:ellipsis;
  white-space:nowrap;
  word-wrap:normal;
  overflow:hidden;
}

.property h4 a {
  color:#565656;
}

.property .icon_zone {
	padding:5px 0px 0px 5px;
}

.property .property-image {
  text-align:center;
  position:relative;
  background-color:#efefef;
  background-size:cover;
}

.property .property-image .notitle {
  position:absolute;
  top:35%;
  text-align:center;
  width:100%;
  font-size:2.5em;
  color:#cdcdcd;
}

/** 거래 종료된 물건 스타일 **/

.property .property-image .badge {
  font-size:14px;
  padding:5px 10px;
}

.property.finish .property-image-wrap{
	border: 1px solid #4285F4;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.property.finish .property-image,

.property.finish .property-wrap{
	opacity: 0.4;
}

.property .finish-text{
	display:none;
}

.property.finish .finish-text{
	display:block;
	position: absolute;
	top: 20%;
	width:100%;
	text-align:center;
	font-size: 22px;
	font-weight: bold;
	color: #4285F4;
}


/* 한 줄에 4개씩 표시될 때의 스타일 */

.property4 {
  height:330px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.property4 .property-image{
  width: 100%; 
  height: 176px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  position:relative;
}

/* 한 줄에 3개씩 표시될 때의 스타일 */

.property3 {
  height:390px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.property3 .property-image{
  width: 100%; 
  height: 220px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  position:relative;
}

/* 한 줄에 2개씩 표시될 때의 스타일 */

.property2 {
  height:165px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.property2 .property-image-wrap {
	width:250px;
	position:absolute;
	left:0px;
	top:0px;
}

.property2 .property-image{
  width: 100%; 
  height: 163px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  position:relative;
}

.property2 .card-body {
	padding-left:280px;
}


/* 한 줄에 3개씩 표시될 때의 스타일 */

.property1 {
  height:90px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  margin-bottom:10px !important;
}

.property1 .property-image-wrap {
	width:140px;
	position:absolute;
	left:0px;
	top:0px;
	border-top-left-radius: 0px !important;
	border-top-right-radius: 0px !important;
}

.property1 .property-wrap {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.property1 .property-image{
  width: 100%; 
  height: 88px;
  position:relative;
}

.property1 .card-body {
	padding-left:150px;
}

.property1 .title_wrapper {height:auto;}

.property1 div {
	flex:1;
}

@media(max-width: 500px){

	.property {
		height:130px;
		border:1px solid #E6E6E6 !important
	}

	.property .property-image-wrap {
		width:138px;
		position:absolute;
		left:0px;
		top:0px;
	}

	.property .property-wrap {
		display: block;
		flex-direction: row;
		align-items: center;
		padding-top:10px;
		padding-right:10px;
	}

	.property .card-body {
		padding-left:150px;
	}

	.property .property-image{
		height: 128px;
	}

	.property div {
		flex:0;
	}
}
