@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);

html, body {height:100%;}
body {
	margin: 0;
	color: #252525;
	font-family: "Noto Sans KR", sans-serif;
	font-size:12px;
}

a {color:inherit; text-decoration:none;}
a:visited {color:inherit;}
a:hover {text-decoration:none;}

.aleft {text-align: left !important;}
.aright {text-align: right !important;}
.acenter {text-align: center !important;}


/* emulate select box */
.selectbox {
	position: relative;
	display: inline-block;
	vertical-align: middle;
}
.selectbox .lbl {
	position: relative;
	display: block;
	border: 1px #ccc solid;
	border-radius: 3px;
	padding: 8px 25px 8px 10px;
	color: inherit;
	cursor: pointer;
}
.selectbox .lbl .arrow {
	position: absolute;
	right: 5px;
	top: 8px;
}
.selectbox ul {
	position: absolute;
	margin: 0;
	padding: 0;
	list-style: none;
	display: none;
	background-color: #fff;
	border: 1px #ccc solid;
	z-index: 999;
}
.selectbox ul li {
	display: block;
	padding: 7px 10px;
	white-space: nowrap;
	text-align:left;
	cursor: pointer;
}
.selectbox ul li:hover {
	background-color: #ddd;
}
.selectbox ul li input[type=radio] {
	display: none;
}

/* form elements style */
input {vertical-align: middle;}

input[type=text],
input[type=tel],
input[type=email],
input[type=number],
input[type=domain],
input[type=password] {
	font-family: inherit;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 5px;
	padding-right: -5px;
	border: 1px #ccc solid;
	font-size: inherit;
	color: #444;
	background-color: #fff;
}

input[type=checkbox] {
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 20px;
	height: 20px;
	background: url(../images/base/checkbox-off.png) no-repeat;
}
input[type=checkbox]::-ms-check {
	display: none;
}
input[type=checkbox]:checked {
	background: url(../images/base/checkbox-on.png) no-repeat;
}
input[type=checkbox]:focus {
	outline: none;
}

input[type=radio] {
	-webkit-appearance: none;
	-moz-appearance: none;
	width: 20px;
	height: 20px;
	background: url(../images/base/radio-off.png) no-repeat;
}
input[type=radio]::-ms-check {
	display: none;
}
input[type=radio]:checked {
	background: url(../images/base/radio-on.png) no-repeat;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: #fff;
	background-image: url(../images/base/select-arrow.png);
	background-repeat: no-repeat;
	background-position: 100% 50%;
	border: 1px #d7d7d7 solid;
	border-radius: 3px;
	font-family: inherit;
	font-size: inherit;
	vertical-align: middle;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-left: 5px;
	padding-right: 24px;
}
select::-ms-expand {
	display: none;
}


/* buttons style */

.main-buttons {
	padding-top:10px;
}

button * {vertical-align: middle;}

/*  button default style */
input[type=button],
input[type=submit] {
	padding: 8px 15px;
	background-color: #a6a8b1;
	border: 1px #a6a8b1 solid;
	font-size: inherit;
	color: #fff;
	cursor: pointer;
}
input[type=button]:hover,
input[type=submit]:hover {
	background-color: #333;
	border: 1px #333 solid;
}



/* 밝은색 버튼 */
input[type=button].light,
input[type=submit].light,
button.light {
	border-color: #ccc;
	background-color: #ccc;
	color: #444;
}

/*	주 버튼 (큰버튼) */
input[type=button].main,
input[type=submit].main {
	padding: 15px 25px;
}

/* 작은버튼 */
input[type=button].small,
input[type=submit].small {
	font-size: 11px;
	padding: 2px 7px;
}


/* Daum 우편번호 찾기 */
.daum-post-wrap {
	display: none;
	border: 1px solid;
	height: 200px;
	margin: 5px 0;
	position: relative
}

/* ----------------- dialog ----------------------- */
.dialog {
	position: absolute;
	background-color: #fff;
	width: 310px;
	border: 1px #13608c solid;
	border-radius: 3px;
	box-shadow: 3px 3px 5px #ccc;
	display: none;
}
.dialog .title {
	position: relative;
	padding: 15px 0;
	background-color: #13608c;
	border-radius: 2px 2px 0 0;
	color: #fff;
	font-weight: bold;
	text-align: center;
	font-size: 16px;
}
.dialog .title .close {
	position: absolute;
	right: 9px;
	top: 12px;
	width: 20px;
	height: 20px;
	cursor: pointer;
	background: url(../images/base/btn-close-white.png) no-repeat 50% 50%;
}

.dialog .dlg-content {
	padding: 10px;
}

.dialog .dlg-item {
	width: 100%;
	border-spacing: 0;
	border: 1px #d9d9d9 solid;
	border-collapse: collapse;
}
.dialog .dlg-item th {
	background-color: #f2f2f2;
	font-weight: normal;
	text-align: center;
	padding: 3px;
	border: 1px #d9d9d9 solid;
}
.dialog .dlg-item td {
	font-weight: normal;
	text-align: left;
	padding: 3px;
	border: 1px #d9d9d9 solid;
	min-height: 22px;
}
.dialog .dlg-buttons {
	padding: 10px 0;
	text-align: center;
}
.dialog .dlg-buttons input[type=button],
.dialog .dlg-buttons input[type=submit] {
	font-size: 14px;
	border: 1px #ccc solid;
	background-color: #ccc;
	color: #fff;
	cursor: pointer;
}
.dialog .dlg-buttons .btn-act,
.dialog .dlg-buttons input[type=submit] {
	background-color: #f80;
	border-color: #f80;
}

.dialog input[type=text],
.dialog input[type=password],
.dialog input[type=email],
.dialog input[type=tel],
.dialog input[type=number] {
	width: 97%;
	border: 1px #d9d9d9 solid;
	min-height: 22px;
	font-size: 12px;
}

/* messagebox */

.msgbox {
	position: fixed;
	border: 1px #777 solid;
	background-color: #f1f1f1;
	color: #000;
	z-index: 99999;
	box-shadow: 2px 3px 7px #333;
	display: none;
}
.msgbox .title {
	position: relative;
	background-color: #333;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	padding: 8px 0;
	cursor: default;
}
.msgbox .message {
	padding: 20px;
	font-size: 12px;
	line-height: 180%;
	color: #000;
}
.msgbox .buttons {
	border-top: 1px #ccc solid;
	padding: 15px 0;
	text-align: center;
}

.msgbox .buttons input {
	border: 1px #333 solid;
	background-color: #333;
	padding: 10px 25px;
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	margin: 0 10px;
	height: auto;
	border-radius: 5px;
}

.msgbox .buttons input[type=submit] {
	border-color: #000;
	background-color: #000;
}
.msgbox .buttons input[type=reset] {
	border-color: #777;
	background-color: #777;
}
.msgcurtain {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: .3;
	filter: alpha(opacity=30);
	z-index: 99998;
}
