@charset "utf-8";
/* *******************************************************
 * filename : layout.css
 * description : 전체 레이아웃 CSS
 * date : 2018-01-16
******************************************************** */

@import url("./font.css");	/* 나눔고딕 */ 
@import url('//cdn.jsdelivr.net/nanumsquare/1.0/nanumsquare.css');

/* layout */
body, table, th, td, button, select, input {
	font-family:"Noto Sans KR", "나눔고딕", NanumGothic, "Nanum Gothic","돋움", Dotum, Arial, sans-serif;
	font-size:13px;
	color:#666;
	-webkit-text-size-adjust:none;
}

body { background-color:#fff; }
#wrap{width:100%; min-width:320px; }/* min-width 홈페이지 컨텐츠 가로값에 맞게 변경 */

input:focus::-webkit-input-placeholder, textarea:focus::-webkit-input-placeholder { /* WebKit browsers */ color:transparent; } input:focus:-moz-placeholder, textarea:focus:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color:transparent; } input:focus::-moz-placeholder, textarea:focus::-moz-placeholder { /* Mozilla Firefox 19+ */ color:transparent; } input:focus:-ms-input-placeholder, textarea:focus:-ms-input-placeholder { /* Internet Explorer 10+ */ color:transparent; }


/* ****************** 공통클래스 ********************** */
/* 공통클래스 */
.area{margin:0px auto; padding:0 15px;}
.clearfix{*zoom:1;}
.clearfix:after{clear:both; display:block; content:"";}
.blind{overflow:hidden;position:absolute;top:0;left:0;width:1px;height:1px;font-size:0;line-height:0}
.text-ellipsis{overflow:hidden; white-space:nowrap; text-overflow:ellipsis;}
.trans200{-webkit-transition:all 0.2s;-moz-transition:all 0.2s;-o-transition:all 0.2s;-ms-transition:all 0.2s;transition:all 0.2s}
.trans300{-webkit-transition:all 0.3s;-moz-transition:all 0.3s;-o-transition:all 0.3s;-ms-transition:all 0.3s;transition:all 0.3s}
.trans400{-webkit-transition:all 0.4s;-moz-transition:all 0.4s;-o-transition:all 0.4s;-ms-transition:all 0.4s;transition:all 0.4s}
.trans500{-webkit-transition:all 0.5s;-moz-transition:all 0.5s;-o-transition:all 0.5s;-ms-transition:all 0.5s;transition:all 0.5s}
.material-icons{line-height:inherit; color:inherit; vertical-align:middle;}
.text-ellipsis{white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

.font-square {font-family:"Nanum Square",'NanumSquare', "나눔고딕", NanumGothic, "Nanum Gothic","돋움", Dotum, Arial, sans-serif;}


/* ******************  Header ********************** */
#header, #headerInner{height:60px; } /* 헤더 높이값 */
#header{position:relative;}
#headerInner{position:fixed; top:0px; left:0px; width:100%; z-index:99; background-color:#fff;}
#headerInner .logo{position:relative; top:50%; margin-top:-20px; left: 15px;}
#headerInner .logo img{height:40px; vertical-align:top; }	/* logo이미지에 맞게 높이값 수정 */
#headerInner.header-logo-center .logo{text-align:left;}	/* logo CENTER */

/* -------- Header :: NAV OPEN BUTTON -------- */
.nav-open-btn{
	position:fixed; top:0; right:0; z-index:1001; height:60px; width:60px; background:#fff;
	transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715); 
	-webkit-transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);  
	-oz-transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715); 
	-ms-transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);
}
.nav-open-btn.active {background-color:#fff;}
.nav-open-btn .line{
	display:block; width:16px; height:2px; background-color:#999; margin: 4px auto;
	-webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
 }
.nav-open-btn.active .line{background-color:#fff;}
.nav-open-btn.active .line:nth-child(2){opacity: 0;}
.nav-open-btn.active .line:nth-child(1){
  -webkit-transform: translateY(6px) rotate(45deg);
  -ms-transform: translateY(6px) rotate(45deg);
  -o-transform: translateY(6px) rotate(45deg);
  transform: translateY(6px) rotate(45deg);
}
.nav-open-btn.active .line:nth-child(3){
  -webkit-transform: translateY(-6px) rotate(-45deg);
  -ms-transform: translateY(-6px) rotate(-45deg);
  -o-transform: translateY(-6px) rotate(-45deg);
  transform: translateY(-6px) rotate(-45deg);
}
.nav-open-btn.active .line{background-color: #000;}

/* -------- Header :: Gnb Mobile -------- */
/* .gnb-bg{display:none; 	position:absolute; top:0; left:0; width:100%; height:100%; background-color:#000; opacity:0.6; filter:alpha(opacity=60); z-index:998;} */
#gnbM{ 
	display:block; 
	overflow-y:auto; 
	position:fixed; 
	top:0px; 
	right:-102%; 
	width:100%; 
	height:100%;  
	/* max-width:280px;  */
	background-color:#fff; 
	z-index:999; 
	box-shadow:-2px 1px 11px rgba(0, 0, 0, .3);
	transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715); 
	-webkit-transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);  
	-oz-transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715); 
	-ms-transition:all 0.3s cubic-bezier(0.47, 0, 0.745, 0.715);		/* gnb OPEN 속도 */
	visibility:hidden;
}
#gnbM.open{
	right:0px; 
	visibility:visible;
}

p.mypage {margin:1.2rem 2rem;font-size:16px;}
p.mypage * {vertical-align:middle;}
p.mypage i {font-size:30px;color:#6f97db;}
p.mypage a {text-decoration:underline;color:#6f97db;}

#gnbM #navigation {border-top: 1px solid #ddd;padding:1rem 2rem;}	
#gnbM #navigation > li {margin:1rem 0;}
#gnbM #navigation > li > a {position:relative; display:block; padding: .6rem 0;font-size:16px;color: #555}
#gnbM #navigation > li.active > a {}

.gnb-btn-con{margin-top:2rem;}
.gnb-btn-con button{width: 100%; height: 80px; font-size: 15px; font-weight: 400; color: #fff; margin-top: 10px;}
.gnb-btn-con button.mt-0, .gnb-btn-con div.mt-0{margin-top: 0;}
.gnb-btn-con button i{font-size: 20px; margin-right: 8px; margin-top: -2px;}
/* 로그인,로그아웃 버튼 */
.logout-btn, .logout-btn{background-color: #474747;}
/* 약사 관련 버튼 */
.chemist-btn{width: 100%; height: 47px; font-size: 15px; font-weight: 400; color: #fff; text-align: center; line-height: 47px;}
.chemist-join, .chemist-btn{background-color: #7bb024;}
/* 공인중개사 관련 버튼 */
.realtor-btn{width: 100%; height: 47px; font-size: 15px; font-weight: 400; color: #fff; text-align: center; line-height: 47px;}
.realtor-join, .realtor-btn{background-color: #964197;}
/* 분양업체 관련 버튼 */
.store-btn{width: 100%; height: 47px; font-size: 15px; font-weight: 400; color: #fff; text-align: center; line-height: 47px;}
.store-join, .store-btn{background-color: #f68d1f;}
/* 마이페이지 버튼 */
.mypage-btn{background-color: #ffc80b;}

/* gnb 닫기버튼이 메뉴와 같이 움직일경우에만 주석 해제 */
/* .nav-open-btn.active{right:82%; }
#gnb{max-width:none;} */

.logout-btn { border: none; margin-top: 20px; font-size: 18px; color: #fff; background: #5aaeff; margin-top: 15px; margin-left: 35px; margin-bottom: 14px; padding: 2px 10px; border-radius: 5px; }

#gnbM #navigation i {font-size:28px;}
.gnb-btn-con .jointx { font-size: 16px; color: #444; margin-bottom: 10px; padding-top: 20px; border-top: 1px solid #efefef;margin-left:2rem; }
.gnb-btn-con button { width: 32%;}
.realtor-join, .realtor-btn,
.chemist-join, .chemist-btn,
.store-join, .store-btn { background-color: #fff !important; }
button.logout-btn,
button.mypage-btn {height:auto;padding:.4rem 1rem;border-radius:5px;}





/* -------- Sub Layout :: 상단 메뉴 (2차만) -------- */
#topMenuBar {position:relative; }
#topMenuBar .depth1-tit{overflow:hidden; width:100%;}
#topMenuBar .depth1-tit a{position:relative; display:block; height:50px; color:#fff;  background-color:#515880; padding:0 20px;}
#topMenuBar .depth1-tit a span{line-height:50px; font-size: 15px; font-weight: 500;}
#topMenuBar .depth1-tit a .arrow{position:absolute; top:50%; right:12px; margin-top:-12px;}
#topMenuBar .depth1-tit a.open .arrow{transform:rotate(-180deg); margin-top:-14px;}
#topMenuBar .top-menu-list{display:none; width:100%; position:absolute; top:50px; left:0px; z-index:99}
#topMenuBar .top-menu-list li{width:100%; }
#topMenuBar .top-menu-list li a{display:block; height:40px; line-height:40px; padding:0 20px; font-size:13px; border-bottom:1px solid rgba(0,0,0,0.2); background-color:#fff; color:#515880; }
#topMenuBar .top-menu-list li.active{position:relative;}
#topMenuBar .top-menu-list li.active a{padding-left:25px; color:#515880; font-weight:500;}
#topMenuBar .top-menu-list li.active a:before{content:""; position:absolute; top:50%; left:10px; width:7px; height:3px; margin-top:-1px; background-color:#515880}

/* ****************** FOOTER ********************** */
#footer{background-color:#474747;}

/* Footer :: 푸터메뉴 */
.foot-menu-wrap {border-bottom: 1px solid #656565; text-align: center;}

.foot-menu{overflow:hidden;}
.foot-menu li{position:relative; float:left;}
.foot-menu li.menu01{width: 28%;}
.foot-menu li.menu02{width: 22%;}
.foot-menu li.menu03{width: 22%;}
.foot-menu li.menu04{width: 28%;}
.foot-menu li a {display:block; height: 60px;}
.foot-menu li a span{display: table; width: 100%; height: 60px;}
.foot-menu li a span em{display: table-cell; vertical-align: middle; font-size:13px; color:#fff; line-height: 1.4; padding:0 10px; font-weight: 300; -ms-word-break: keep-all; word-break: keep-all;}
.foot-menu li:before{position:absolute; left:0; top:50%; margin-top: -5.5px; content:"|"; color:#707070; vertical-align: middle; font-size: 11px;}
.foot-menu li:first-child:before{display:none} 

.foot-info {padding-top: 25px; padding-bottom: 30px; text-align: center;}
.foot-info img {display: inline-block; height: 50px;}
.foot-address {font-size:12px; line-height: 1.4; color:#b9b7b9; font-weight: 300;}
.foot-address p{margin-top: 7px; -ms-word-break: keep-all; word-break: keep-all;}
.foot-address p em{display: inline-block; font-size: 10px; margin: 0 10px;}
.foot-address address {display:inline-block;}

/* Footer :: 하단정보 */
.family-address{font-size:13px; line-height:26px; color:#333;}
.family-address span{margin-right:15px}
.family-address address{color:#888; font-size:11px; margin-top:15px;}


/* ****************** SUB LAYOUT ********************** */
/*  SUB LAYOUT :: 비주얼 */
#visual{width:100%; height:110px; padding-top: 60px;}
.visual-txt {display: table; width: calc(100% - 30px); height: 50px; text-align:right; font-size:18px; line-height: 1.4; letter-spacing: -0.85px; color:#222; font-weight: 300;}
.visual-txt p{display: table-cell; vertical-align: middle; padding-right:10px; font-weight:500;}
/*  SUB LAYOUT :: 상단정보 */
#middleArea {position:relative;}
#content {background-color:#fff; min-height:400px; padding-top: 45px; padding-bottom: 40px;}
#content.mypage{padding-top: 0;}
#contentInfoCon{overflow:hidden; margin-bottom:20px;}
#contentInfoCon .content-tit{float:left; color:#282828; font-size:35px; font-weight:500; letter-spacing:-0.85px;}

.product-side {display:none;}

/* ****************** SIDE - LEFT ********************** */
.sub-left-advertisement {position:absolute; z-index:10; left:50%; margin-left: -718px; top:40px;width:88px; border:1px solid #D6D6D6; background-color:#fff;}
.sub-left-advertisement.fixed {position:fixed; top:40px; }
.sub-left-advertisement > p {font-size:16px; letter-spacing: -0.3px; color:#fff; text-align:center; height:38px; line-height: 38px; background-color:#A3A3A3}
.sub-left-wrap {margin:15px 0;}
.sub-left-inner {margin:0 7px;}
.sub-left-inner a {display:block; height:127px;}
.sub-left-inner p {word-break:keep-all; font-size:13px; line-height: 16px; color:#767676; margin:10px 0; height:32px; overflow:hidden; text-align:center;}

/* ****************** SIDE - RIGHT ********************** */
.sub-right-advertisement {position:absolute; z-index:10; right:50%; margin-right:-804px; top:40px;}
.sub-right-advertisement.fixed {position:fixed; top:40px;}
.side-right-inner {width:174px; height:127px; border:1px solid #DCDCDC; background-color:#F7F7F7; text-align:center; margin-bottom: 10px;}
.side-right-inner a {display:block; height:127px;}
.side-right-inner {font-size:16px; letter-spacing: -0.25px; color:#8e8e8e; font-weight: 300; line-height: 127px;}
.side-right-inner img {width:100%; height:100%;}

/* ****************** MODAL LAYERPOPUP ********************** */
/* modal layer */
.modal-fixed-pop-wrapper{display:none; overflow-y:scroll; overflow-x:hidden;  position:fixed; top:0px; left:0px; width:100%; height:100%; z-index:9999; background:#000; background:rgba(0,0,0,0.8);}
.modal-fixed-pop-inner{position:absolute; display:table; width:100%; height:100%; text-align:center;}
.modal-inner-box{ position:relative; display:table-cell; vertical-align:middle;}
.modal-loading{position:absolute; top:50%; left:50%; margin:-25px 0 0 -25px; z-index:10000;}
.modal-inner-content{text-align:left;}
.loading {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 8px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}
/* modal layer content */
.footer-modal-content{position:relative; width:96%; max-width:1000px; margin:20px auto; background-color:#fff; }
.footer-modal-content h1{height:60px; line-height:60px; font-size:24px; font-weight:600; letter-spacing:-0.75px; text-align:center; padding:0; background-color:#777; color:#fff;}
.modal-close-btn{position:absolute; top:11px; right:10px; color:#fff; }
.modal-close-btn i{font-size:38px;}
.modal-close-btn i:hover {color:#fff}
.footer-inner-box{padding:30px; }
.footer-inner{padding:20px; height:400px; overflow-y:auto; overflow-x:hidden; border:1px solid #ddd; }

/* 사이트맵 */
.sitemap-wrapper{padding:30px;}
.sitemap-wrapper > ul{overflow:hidden;}
.sitemap-wrapper > ul > li{float:left; width:20%; text-align:center;}	/* 메뉴 갯수에 맞게 %로 계산, 두줄로 들어갈 경우 height값 설정 */
.sitemap-wrapper.menu4 > ul > li{width:25%;}
.sitemap-wrapper.menu6 > ul > li{width:16.6%;}
.sitemap-wrapper.menu7 > ul > li{width:14.2%;}
.sitemap-wrapper > ul > li > h2{color:#191919; margin:0 2% 20px 2%; padding-bottom:20px; font-size:16px; border-bottom:1px solid #888; letter-spacing:-1.0px; margin-bottom:20px; font-weight:500;}
.sitemap-wrapper > ul > li .sitemap-2dep {padding:0 5%;}
.sitemap-wrapper > ul > li .sitemap-2dep a{display:block; padding:10px 0; color:#666; font-size:13px; font-weight:400; line-height:1.2em;}
.sitemap-wrapper > ul > li .sitemap-2dep a:hover{color:#000; text-decoration:underline;}

@media all and ( max-width: 800px ){
	/* modal layer content */
	.footer-modal-content h1{height:46px; line-height:46px; font-size:18px; text-align:left; padding:0 15px}
	.modal-close-btn i{font-size:24px}
	.footer-inner-box{padding:15px}
	.footer-inner{padding:10px; height:250px;}
	/* 사이트맵  */
	.sitemap-wrapper{padding:15px}
}


/* ************ 200122 EB 추가 css ************ */	
#footer.add-css .foot-menu li{width: 33.33%;}
#footer.add-css .foot-menu li a, #footer.add-css .foot-menu li a span{height: 50px;}
