@charset "utf-8";

/** modal popup **/
.modal-back {
	position: fixed;
	top: 0; right: 0;
	bottom: 0; left: 0;
	background-color: #000;
	display:none;
}
.modal {
	position: fixed;
	top: 0;
	left: 0;
	right:0;
	bottom:0;
	width: 100%;
	z-index: 100010;
	padding: 0;
	text-align: left;
	display:none;
}

.modal-back.in {
	z-index: 100000;
	opacity: .5;
}
.modal.in {
	z-index: 100001;
}
.modal.scroll,
.modal.loading {
	background-color: #fff;
}

.dark.modal.scroll {
	background-color: #2a292a;
}

/* modal open 시 contents (전체모달 아닌경우) */
.modal-open #contents-wrap,
.process-open #contents-wrap,
.nav-open #contents-wrap {
	/* position: fixed;
	left: 0;
	right: 0;
	z-index: 100;
	width: 100%; */
}
.modal-open {
	overflow:hidden;
}

.modal-dialog {outline: 0;
	position: relative;
	z-index: 100020;
	width: 100%;
    max-width: 800px;
	top:50%;
	margin: 0 auto;
	background-color: #fff;
}

.modal-dialog1 {outline: 0;
	position: relative;
	z-index: 100020;
	width: 100%;
    max-width: 600px;
/*     max-height: 100px; */
	top:50%;
	margin: 0 auto;
	background-color: #fff;
}

.modal.mid .modal-dialog {
	width:800px;
}
.modal.wide {
	position:absolute;
	top:197px
}
.modal.wide .modal-dialog {
	width: 1180px;
	top:0 !important;
	margin-top:0 !important;
}
.modal.wide .modal-conts > .conts {
	overflow:inherit;
	height:inherit;
  max-height: inherit;
}
.dark .modal-dialog {
	background-color: #2a292a;
}
.popTxt{ margin-bottom: 2%; }
/* .modal.slide-all : 아래에서 위로 슬라이드 업 full size modal */
/*.slide-all > .modal-dialog {
	position: absolute;
	top: 150%;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	-webkit-transition: .4s cubic-bezier(0.280, 0.840, 0.420, 1);
	transition: .4s cubic-bezier(0.280, 0.840, 0.420, 1);
}
.slide-all.in > .modal-dialog  {
	top: 0;
}*/
/* .modal.slide-all.fade : fade full size modal */
/*.fade.slide-all > .modal-dialog {
	top: 0;
	opacity: 0;
	-webkit-transition: .4s;
	transition: .4s;
}
.fade.slide-all.in > .modal-dialog  {
	opacity: 1;
}*/

.fade > .modal-dialog {
	opacity: 0;
	/* -webkit-transition: .4s;
	transition: .4s; */
}
.fade.in > .modal-dialog  {
	opacity: 1;
}
/* .modal.scale-up : size 점점 커지면서 로딩되는 modal */
.scale-up > .modal-dialog {
	left: 50%;
	width: 360px;
	margin-left: -180px;
	-webkit-transform: scale3d(0.3, 0.3, 0.3);
	transform: scale3d(0.7, 0.7, 0.7);
	-webkit-transition: -webkit-transform .4s cubic-bezier(0.280, 0.840, 0.420, 1);
	transition: transform .4s cubic-bezier(0.280, 0.840, 0.420, 1);
}
.scale-up.in > .modal-dialog  {
	position: absolute; /*아이폰6+에서 가운데로 안가서 추가*/
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

.modal .modal-header {
	width: 90%;
	background-color: #fff;
	padding: 0 40px;
	border-bottom: 1px solid #dfe1e6;
	
}

.modal.tooltip .modal-header {
	border-bottom: none;
}
.dark.modal .modal-header {
	padding-top: 20px;
	background-color: #2a292a;
	border-bottom: none;
}


.modal .modal-header.no-header {
	/* height: auto; */
	height: auto;
	border-bottom: none;
}

.modal .modal-title {
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	height: 65px;
	padding-bottom: 0;
	font-size: 24px;
	color: #0f0f0f; letter-spacing: -.05rem;
	position: relative;
}
.dark.modal .modal-title {
	justify-content: flex-start;
	color: #fff;
}
.modal.alert .modal-title {
	justify-content: center;
	height: 50px;
	font-size: 1.2rem;
}
.modal.tooltip .modal-title {
	font-size: 20px;
	justify-content: flex-start;
}

.modal .modal-title span{padding-left:10px;font-size: 14px;color:#767676}
.modal .modal-title span::before{content: '*';display: inline-block;color:#0c82e9;margin-right:6px}

.modal .close {
	top: 12px;
	right: 33px;
}

.modal .close1 {
	top: 19px;
	right: 33px;
} 

.modal.alert .close {
	top: 7px;
}
.modal .close:before,
.modal .close:after {
	background-color: #0f0f0f;
}
.dark.modal .close:before,
.dark.modal .close:after {
	background-color: #fff;
}
.modal .modal-conts {
	/*overflow: auto;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%; */
	padding: 40px 0;
	/*-webkit-overflow-scrolling: touch;*/
}

.modal .modal-conts1 {
	/*overflow: auto;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%; 
	padding: 40px 0;*/
	/*-webkit-overflow-scrolling: touch;*/
}


.modal.alert .modal-conts {
	position: relative;
	padding: 45px 0 0;
}
.modal.alert .btn-sec {
	padding:0;
}
.global.modal .modal-conts {
	padding-top: 80px;
	padding-bottom: 54px;
}

.modal .modal-conts > .conts {
	overflow: auto;
	height:610px;
	margin-bottom: 40px;
	padding: 0 40px;
}

.modal .modal-conts1 > .conts1 {
	overflow: auto;
	margin-bottom: 0px;
	padding: 0 40px;
}

.modal .modal-conts.smodal > .conts {
	overflow: auto;
	height: 120px;
	margin-bottom: 20px;
	padding: 0 40px;
}
.modal.alert .modal-conts > .conts {
	height:inherit;
	margin-bottom: 0;
	padding-bottom: 45px;
	text-align: center;
}
/*.modal.alert .alert-msg {
	font-size: 15px;
	line-height: 1.5;
}*/
.modal.tooltip .modal-conts > .conts {
	padding-top: 0;
	padding-bottom: 20px;
	text-align: left;
}
.modal.tooltip .tooltip-msg {
	overflow-y: auto;
	max-height: 100px;
}
.modal .tit-area {
	display: block;
	margin-bottom: 10px;
	font-size: 15px;
	color: #0f0f0f;
	text-align: left;
}

.modal .conts {
	color: #111;
	line-height: 1.5;
}
.dark.modal .conts {
	color: #ffffff;
}
.modal.alert .conts {
	font-size: 1rem;
	line-height: 1.5;
}
.modal .conts * {
	/*line-height: inherit;*/
}
.modal .sub-text {
	font-size: 1.2rem;
	color: #0f0f0f;
}
.modal .sub-text span {
	color: #ed7100;
}



/** 탭 **/
.tab ul {display: flex;}
.tab li,
.tab a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 100%;
	font-size: 1.2rem;
	letter-spacing: -.03em;
	color: #2e2d2e;
}
.tab strong {font-weight: inherit;}
.tab .active a {font-weight: 500;}
.tab .active strong {color: #ed7100;}

/* 전체 탭 */
.tab.full {	border-bottom: 1px solid #dfe0e6;}
.tab.full li:not(:first-child):before {
	position: absolute;
	top: 50%;
	left: 0;
	content: "";
	width: 1px;
	height: 20px;
	margin-top: -10px;
	background-color: #e9ebf0;
}
.tab.full a {height: 70px;}
.tab.full .active a:after {
	position: absolute;
	bottom: -1px;
	left: 0;
	content: "";
	width: 100%;
	height: 3px;
	background-color: #ed7100;
}

/* 레이어 탭 */
.tab.inner.fixed { position: fixed; top: 0; left: 0; width: 100%; z-index: 999; -webkit-transition:all .2s; transition:all .2s }

.tab.inner {
	/*border-bottom: 1px solid #2e2d2e;*/
}
.tab.inner li {
	text-align: center;
	height: 60px;
	background-color: #f2f4f7;
	border-top: 1px solid #c4c4cc;
	border-left:  1px solid #c4c4cc;
	border-bottom: 2px solid #2e2d2e;
	cursor: pointer;
}
.tab.inner li,
.tab.inner a {
	font-size: 1.125rem;
}
.tab.inner li:before {
	position: absolute;
	top: 0;
	right: -1px;
	content: "";
	height: 57px;
	border-right: 1px solid #c4c4cc;
}
.tab.inner li:last-child:before {
	right: 0 !important;
}
.tab.inner li.active,
.tab.inner li.active:before {
	border-color: #2e2d2e;
}
.tab.inner li.active {
	font-size: 1.2rem;
	border-width: 2px;
	background-color: #fff;
	border-bottom-color: #fff;
	font-weight: 500;
}
.tab.inner li.active span {
	color:#ed7100;
}
.tab.inner li.active:before {
	top: -2px;
	right: -2px;
	z-index: 2;
	height: 58px;
	border-right-width: 2px;
}

/* close 버튼 */
.close {
	position: absolute;
	z-index: 901;
	width: 36px;
	height: 36px;	
}
.close:before,
.close:after {
	position: absolute;
	content: "";
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.close:before {
	top: 4px;
	left: 50%;
	width: 2px;
	height: 28px;
	margin-left: -1px;
}
.alert .close:before {
	top: 8px;
	height: 20px;
}
.close:after {
	top: 50%;
	left: 4px;
	width: 28px;
	height: 2px;
	margin-top: -1px;
}
.alert .close:after {
	left: 8px;
	width: 20px;
}

/** button define **/
/* 기본 */
.mbtn {
	display: inline-block;
	min-width: 180px;
	height: 45px;
	padding-left: 20px;
	padding-right: 20px;
	background: #ffffff;
	border: 1px solid #c4c4cc;
	font-size: 1rem;
	line-height: 43px;
	font-weight: 500;
	color: #555;
	text-align: center;
	cursor: pointer;
	white-space: nowrap;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	transition: 0.5s;
}
input[type="submit"].btn,
input[type="button"].btn {
	line-height: 43px;
}
.mbtn:disabled,
.mbtn.disabled {
	opacity: .3;
}
.mbtn:active {
	background-color: #e9ebef;
}
.modal-btn .mbtn {
	min-width: 150px;
	height: 50px;
	line-height: 48px;
}
.alert .modal-btn .mbtn {
	width: 100%;
	-webkit-border-radius: 0;
	border-radius: 0;
}

.mbtn + .mbtn  {margin-left: 1rem; }

/* 기본 */
.mbtn.btn-default {
	background-color: #545354;
	border-color: #545354;
	color: #ffffff;
}
.mbtn.btn-default:hover {
	background-color: #2d2d2d;
	border-color: #2d2d2d;
}
.mbtn.btn-default:active {
	background-color: #2e2d2e;
	border-color: #2e2d2e;
}
/* 주요 */
.mbtn.btn-primary {
	-webkit-background-image: linear-gradient(to right, #11881f, #156da9);
	background-image: linear-gradient(to right, #11881f, #156da9);
	background-color:#11881f;
	border: none;
	line-height: 45px;
	color: #ffffff;
}
.mbtn.btn-primary:disabled,
.mbtn.btn-primary.disabled {
	background:#b0efba;
	opacity:1;
}
.mbtn.btn-primary:hover {
	background:#11881f;
}
.mbtn.btn-primary:active {
	background-image: none;
	background-color: #11881f;
	border: 1px solid #11881f;
}
.modal-btn .mbtn.btn-primary {
	line-height: 50px;
}
.modal.alert .mbtn.btn-primary {
	-webkit-background-image: none;
	background-image: none;
	background-color: #156da9;
}

/* 전체 닫기 */
.mbtn.btn-close {
	height: 40px;
	background-color: #e9ebf0;
	border: 1px solid #e9ebf0;
	color: #48535b;
	font-size: 14px;
	font-weight: 500;
	line-height: 38px;
}

@media screen and ( max-width:800px){

.modal-dialog { width: 96%;}

}

@media screen and ( max-width:540px){

.modal .modal-title {height: 65px; font-size: 22px;}
.modal .modal-header {padding: 0 1rem;}
.modal-dialog { max-width: inherit; /*width: 100%; height:100%; */}
.modal .modal-conts {padding: 1rem 0;}

.modal .modal-conts > .conts { padding: 0 1rem; height: 420px;margin-bottom: 30px;}

.modal .close {top: .85rem; right: 1rem;}

.modal-btn .mbtn { min-width: 140px;height: 44px;line-height: 42px;}
.modal-btn .mbtn.btn-primary {	line-height: 42px;}
.mbtn + .mbtn {  margin-left: .5rem;}

/* 레이어 탭 */
.tab.inner li { height: 50px;}
.tab.inner li,
.tab.inner a { font-size: 1rem;}
.tab.inner li:before {height: 47px;}
.tab.inner li.active {font-size: 1.05rem;font-weight: 600;}
.tab.inner li.active:before {height: 48px;}


}

