@charset "utf-8";

/* layout CSS Document */
#wrap {
	position: relative;
	min-width: 360px;
	width: 100%;
	height: 100%;
	z-index: 100;
	overflow: hidden;
	background: #fff;
}

/*
=========================================================================
header_lab.php 헤더
=========================================================================
*/
#header {
	position: fixed;
	left: 0;
	top: 0;
	background: #fff;
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);
	width: 100%;
	z-index: 500;
}

#header .hInner {
	padding: 0 3%;
	display: flex;
	justify-content: space-between;
}

#header .logoWrap {
	display: flex;
	cursor: pointer;
	margin-top: 20px;
}

#header .logo>a {
	width: 170px;
	height: 40px;
	background: url(../img/common/logo.png) no-repeat center / 90%;
	display: block;
}

#header .hLine {
	width: 1px;
	height: 10px;
	background: #49525E;
	transform: translateY(15px);
	margin: 0 12px 0 5px;
	background: var(--main-color);
}

#header .hName {
	transform: translateY(5px);
	color: var(--main-color);
	font-weight: 700;
}

#header .hRight {
	display: flex;
	margin-top: 5px;
}

#header .hTab {
	display: flex;
}

#header .hTab li {
	margin-right: 30px;
	font-weight: 500;
	cursor: pointer;
	position: relative;
	padding: 22px 0 26px;
}

#header .hTab li .menu>a {
	color: #222;
}

#header .hTab li:hover .menu>a {
	color: var(--main-color);
	font-weight: 600;
}

#header .hTab li.active {
	color: var(--main-color);
	font-weight: 600;
}

#header .hTab li.active .menu>a {
	color: var(--main-color);
	font-weight: 600;
}

#header .hTab li .hIcon {
	width: 18px;
	height: 18px;
	display: inline-block;
	transform: translateY(3px);
	margin-right: 5px;
}

#header .hTab li:nth-of-type(1) .hIcon {
	background: url(../img/common/header_icon1.png) no-repeat center / 90%;
}

#header .hTab li:nth-of-type(1).active .hIcon {
	background: url(../img/common/header_icon1_active.png) no-repeat center / 90%;
}

#header .hTab li:nth-of-type(1):hover .hIcon {
	background: url(../img/common/header_icon1_active.png) no-repeat center / 90%;
}

#header .hTab li:nth-of-type(2) .hIcon {
	background: url(../img/common/header_icon2.png) no-repeat center / 90%;
}

#header .hTab li:nth-of-type(2).active .hIcon {
	background: url(../img/common/header_icon2_active.png) no-repeat center / 90%;
}

#header .hTab li:nth-of-type(2):hover .hIcon {
	background: url(../img/common/header_icon2_active.png) no-repeat center / 90%;
}

#header .hTab li:nth-of-type(3) .hIcon {
	background: url(../img/common/header_icon3.png) no-repeat center / 90%;
}

#header .hTab li:nth-of-type(3).active .hIcon {
	background: url(../img/common/header_icon3_active.png) no-repeat center / 90%;
}

#header .hTab li:nth-of-type(3):hover .hIcon {
	background: url(../img/common/header_icon3_active.png) no-repeat center / 90%;
}

#header .hTab li:nth-of-type(4) .hIcon {
	background: url(../img/common/header_icon4.png) no-repeat center / 90%;
}

#header .hTab li:nth-of-type(4).active .hIcon {
	background: url(../img/common/header_icon4_active.png) no-repeat center / 90%;
}

#header .hTab li:nth-of-type(4):hover .hIcon {
	background: url(../img/common/header_icon4_active.png) no-repeat center / 90%;
}

#header .hUser_area {
	display: flex;
	cursor: pointer;
	position: relative;
	margin-top: 20px;
}

#header .hUser_rank {
	padding: 0px 8px;
	border-radius: 5px;
	color: #fff;
	margin-right: 8px;
	font-size: .8em;
	height: 20px;
	line-height: 20px;
	margin-top: 4px;
}

#header .hUser_rank1 {
	background: #FD7D08;
}

#header .hUser_rank2 {
	background: #9475EC;
}

#header .hUser {
	font-weight: 700;
	color: var(--main-color);
	font-size: 1.15em;
	margin-right: 5px;
	transform: translateY(-2.8px);
}

#header .hUser_sub {
	margin-right: 10px;
}

#header .hArrow {
	width: 14px;
	height: 32px;
	background: url(../img/common/header_arrow.png) no-repeat center / 90%;
}

#header .hArrow.active {
	transform: rotate(180deg);
}

#header .aiBtn {
	padding: 6px 20px;
	height: 20px;
	line-height: 18px;
	background: #1CC071;
	color: #fff;
	border-radius: 50px;
	margin-right: 30px;
	font-size: .9em;
	cursor: pointer;
	margin-top: 20px;
}

#header .aiBtn:hover {
	background: #19ad66;
}

.dropdown-menu {
	position: absolute;
	top: 80%;
	left: 0;
	z-index: 1000;
	float: left;
	min-width: 5rem;
	padding: .5rem 0;
	margin: .125rem 0 0;
	font-size: 1rem;
	color: #212529;
	text-align: left;
	list-style: none;
	background: rgba(0, 0, 0, 0.75);
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: .5rem;
	display: flex;
	flex-direction: column;
	padding: 10px 20px;
	white-space: nowrap;
	display: none;
	animation: fade-in .5s ease;
}

@keyframes fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.dropdown-menu.active {
	display: flex;
	line-height: 2.2em;
}

.dropdown-menu a {
	color: #fff;
	font-weight: 400;
}

.dropdown-menu a:hover {
	color: #c9f3d5;
}

#header .hUser_area .dropdown-menu {
	right: 0 !important;
}

@media (max-width: 1300px) {
	#header .logo>a {
		width: 150px;
		height: 35px;
	}

	#header .hTab li {
		margin-right: 20px;
		padding: 19px 0 24px;
	}

	#header .aiBtn {
		margin-right: 20px;
		padding: 3px 15px;
	}
}

@media (max-width: 1200px) {
	#header .hInner {
		padding: 18px 3%;
	}

	#header .logoWrap {
		margin-top: 0;
	}

	#header .hRight {
		display: none;
	}
}

@media (max-width: 900px) {
	#header .hInner {
		padding: 16px 3%;
	}

	#header .logo>a {
		width: 140px;
		height: 33px;
	}

	#header .hUser_area {
		font-size: .97em;
	}

	#header .hArrow {
		width: 12px;
		height: 30px;
	}

	#header .hLine {
		transform: translateY(13px);
		margin: 0 10px 0 3px;
	}
}


/* 모바일 */
#header .mMenu {
	display: none;
}

#header .mMenuBtn {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 20px;
	height: 18px;
	margin-top: 8px;
	cursor: pointer;
}

#header .mMenuBtn .mline {
	width: 100%;
	height: 2px;
	background: var(--main-color);
}

.mGnb {
	position: fixed;
	right: -100%;
	top: 0;
	background: rgba(30, 30, 30, 0.95);
	padding: 50px 3% 50px 50px;
	width: 40%;
	height: 100%;
	min-width: 270px;
	z-index: 100;
}

.mclose {
	z-index: 900;
	cursor: pointer;
	overflow: hidden;
}

.mclose .line {
	width: 26px;
	height: 2px;
	background-color: #aaa;
	position: absolute;
	top: 30px;
	right: 5%;
}

.mclose .line:nth-of-type(1) {
	transform: rotate(45deg);
}

.mclose .line:nth-of-type(2) {
	transform: rotate(-45deg);
}

.mGnb .hUser_rank {
	padding: 0px 6px !important;
	font-size: .7em !important;
	transform: translateY(2px);
	line-height: 18px !important;
}

.mGnb .hUser_area {
	margin-left: 0 !important;
	font-size: 1.2em;
	margin-bottom: 20px;
}

.mGnb .hUser {
	color: #68d6a8 !important;
}

.mGnb .hUser_sub {
	color: #ccc !important;
}

.mGnb .myMenu {
	display: flex;
	color: #ccc;
	justify-content: space-between;
	padding: 8px;
	border-bottom: 1px solid #555;
	border-top: 1px solid #555;
}

.mGnb .myMenu li {
	padding: 0 5px;
	width: calc(50% - 10px);
	box-sizing: border-box;
	text-align: center;
	cursor: pointer;
}

.mGnb .myMenu li a {
	color: #ccc;
}

.mGnb .myMenu li.line {
	width: 1px;
	height: 14px;
	background: #555;
	padding: 0;
	transform: translateY(8px);
	cursor: inherit;
}

.mTab {
	padding-top: 20px;
}

.mTab .main {
	padding-bottom: 10px;
}

.mTab .m {
	color: #ccc;
	font-size: 1.2em;
	font-weight: 600;
	line-height: 2.5;
}

.mTab .main .sub {
	display: flex;
	flex-wrap: wrap;
	font-size: 1em;
	line-height: 1.8;
	color: #ccc;
}

.mTab .main .sub a {
	color: #ccc;
	margin-right: 15px;
	display: block;
}

.mTab li .hIcon {
	width: 18px;
	height: 18px;
	display: inline-block;
	transform: translateY(2px);
	margin-right: 8px;
}

.mTab li:nth-of-type(1) .hIcon {
	background: url(../img/common/header_icon1_active.png) no-repeat center / 90%;
}

.mTab li:nth-of-type(2) .hIcon {
	background: url(../img/common/header_icon2_active.png) no-repeat center / 90%;
}

.mTab li:nth-of-type(3) .hIcon {
	background: url(../img/common/header_icon3_active.png) no-repeat center / 90%;
}

.mTab li:nth-of-type(4) .hIcon {
	background: url(../img/common/header_icon4_active.png) no-repeat center / 90%;
}

.mGnb .aiBtn {
	text-align: center;
	font-size: 1em;
	width: calc(100% - 40px);
	margin-right: 0 !important;
	height: 28px !important;
	line-height: 28px !important;
	margin-top: 20px;
	font-size: .98em !important;
}

@media (max-width: 1200px) {
	#header .mMenu {
		display: block;
	}
}

@media (max-width: 900px) {
	.mGnb .hUser_area {
		font-size: 1.2em !important;
	}
}

@media (max-width: 720px) {
	#header .mMenuBtn {
		margin-top: 6px;
	}

	.mGnb {
		padding: 30px 3% 30px 30px;
	}
}


#header .subHeader {
	padding: 20px 3%;
	min-width: 360px;
	box-sizing: border-box;
}

#header .subHeader .logoWrap {
	margin-top: 0;
	cursor: inherit;
}

@media (max-width: 1200px) {
	#header .subHeader {
		padding: 18px 3%;
	}
}

@media (max-width: 900px) {
	#header .subHeader {
		padding: 16px 3%;
	}
}

/*
=========================================================================
header_main.php 헤더
=========================================================================
*/
#header .header_main .login {
	width: 100px;
	height: 36px;
	line-height: 35px;
	text-align: center;
	background: var(--main-color);
	color: #fff;
	border-radius: 5px;
	font-size: .95em;
}

#header .header_main .login a {
	display: block;
	color: #fff;
}

@media (max-width: 1300px) {
	#header .header_main .login {
		width: 90px;
		height: 34px;
		line-height: 33px;
	}
}

@media (max-width: 900px) {
	#header .header_main .logo>a {
		width: 150px;
		height: 35px;
	}
}

@media (max-width: 720px) {
	#header .header_main .login {
		width: 85px;
		height: 32px;
		line-height: 31px;
	}
}

/*
=========================================================================
aiorder_detail.php 헤더 aiorder_view.php 헤더
=========================================================================
*/
#header .header_aiorder .logo a {
	cursor: inherit;
}

#header .header_aiorder .hRight {
	transform: translateY(-2px);
}

#header .subBtn {
	margin-right: 30px;
}

#header .order_status {
	display: flex;
}

#header .order_status.div { text-align:center;}

#header .aTit {
	color: var(--main-color);
	font-weight: 600;
	margin-right: 10px;
	margin-top: 2px;
}

.popup_close {
	width: 20px;
	height: 20px;
	background: url(../img/common/icon_close.png) no-repeat center / 90%;
	margin-top: 5px;
	cursor: pointer;
	display: none;
}

.header_aiorder_view .subBtn li button {
	background: #777;
	border: 1px solid #777;
	color: #fff;
}

.header_aiorder_view .subBtn li button.point {
	background: #fff;
	border: 1px solid #777;
	color: #777;

}

/*
.header_aiorder_view .subBtn li:nth-of-type(5) button {
}
.header_aiorder_view .subBtn li:nth-of-type(2) button,
.header_aiorder_view .subBtn li:nth-of-type(3) button,
.header_aiorder_view .subBtn li:nth-of-type(4) button {
	background: #777;
	border: 1px solid #777;
	color: #fff;
}
*/

.header_aiorder_view .subBtn li:nth-of-type(4) {
	/* display: none; */
}

@media (max-width: 1300px) {
	#header .header_aiorder .hRight {
		display: flex;
	}

	#header .header_aiorder .subBtn button {
		padding: 5px 10px;
	}
}

@media (max-width: 900px) {
	#header .header_aiorder .subBtn button {
		padding: 3px 10px;
	}

	#header .header_aiorder .subBtn {
		margin-right: 20px;
		font-size: .9em;
	}
}

@media (max-width: 720px) {
	#header .header_aiorder .subBtn {
		margin-right: 10px;
	}

	#header .header_aiorder .subBtn {
		font-size: .8em;
	}

	#header .header_aiorder .logoWrap {
		display: none;
	}

	.popup_close {
		display: block;
	}
}

/*
=========================================================================
레이아웃 공통
=========================================================================
*/
.content {
	background: #f5f5f5;
}

.content_w {
	background: #ffff;
}

.contIn {
	padding: 120px 3% 80px;
}

.cont {
	margin-bottom: 50px;
}

.cont:last-of-type {
	margin-bottom: 0;
}

@media (max-width: 1400px) {
	.contIn {
		padding: 110px 3% 70px;
	}

	.cont {
		margin-bottom: 30px;
	}
}

@media (max-width: 1200px) {
	.contIn {
		padding: 90px 3% 60px;
	}
}

/*
=========================================================================
footer.php 푸터
=========================================================================
*/
#footer {
	background: #49525E;
	width: 100%;
	color: #ddd;
	font-size: 0.94em;
}

#footer .finner {
	padding: 40px 3% 60px;
}

#footer .ftop {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #888;
	padding-bottom: 20px;
}

#footer .flogo {
	width: 150px;
	height: 40px;
	background: url(../img/common/flogo.png) no-repeat center / 90%;
}

#footer .flink {
	display: flex;
	line-height: 2.2em;
}

#footer .flink li {
	cursor: pointer;
	font-weight: 500;
}

#footer .flink li:first-of-type {
	margin-right: 25px;
}

#footer .flink li::after {
	content: '+';
	margin-left: 8px;
}

#footer .finfo {
	padding-top: 20px;
}

#footer .finfo .ftxt1 {
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
}

#footer .finfo .ftxt1>p::after {
	content: '';
	width: 1px;
	height: 10px;
	margin: 0 10px;
	background: #aaa;
	display: inline-block;
}

#footer .finfo .ftxt1>p:last-of-type::after {
	display: none;
}

#footer .finfo .ftxt1 span {
	color: #47ce96;
	font-weight: 500;
}

#footer .finfo .ftxt2 {
	margin-bottom: 30px;
	display: flex;
	flex-wrap: wrap;
	width: 900px;
}

#footer .finfo .ftxt2>p::after {
	content: '';
	width: 1px;
	height: 10px;
	margin: 0 10px;
	background: #aaa;
	display: inline-block;
}

#footer .finfo .ftxt2>p:last-of-type::after {
	display: none;
}

#footer .finfo .ftxt3 {
	color: #ccc;
}

@media (max-width: 1300px) {
	#footer {
		font-size: 0.85em;
	}

	#footer .finner {
		padding: 35px 3% 55px;
	}
}

@media (max-width: 1200px) {
	#footer .flogo {
		width: 140px;
		height: 30px;
	}
}

@media (max-width: 900px) {
	#footer .flink li:first-of-type {
		margin-right: 20px;
	}

	#footer .flink li::after {
		margin-left: 5px;
	}

	#footer .finfo {
		width: 90%;
	}

	#footer .finfo .ftxt2 {
		width: 90%;
	}
}

@media (max-width: 720px) {
	#footer .finfo {
		width: 100%;
	}

	#footer .finfo .ftxt2 {
		width: 100%;
	}
}

@media (max-width: 600px) {
	#footer .flink li:first-of-type {
		margin-right: 12px;
	}

	#footer .flink li::after {
		margin-left: 3px;
	}
}

/*
=========================================================================
고정 버튼
=========================================================================
*/
/* top_btn */
#top_btn {
	position: fixed;
	bottom: 10px;
	right: 10px;
	width: 40px;
	height: auto;
	z-index: 200;
	cursor: pointer;
}

#top_btn img {
	width: 100%;
	height: auto;
}

@media (max-width: 900px) {
	#top_btn {
		width: 35px;
	}
}

/* ---- 약관 모달 footer.php---- */
#modal_agree .fModal_box {
	position: fixed;
	left: 50%;
	width: 950px;
	height: calc(100vh - 60px);
	z-index: 500;
	display: none;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 20px;
	overflow: hidden;
	min-width: 320px;
	display: none;
	height: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

#modal_agree .modal_inner {
	height: calc(100% - 70px);
	box-sizing: border-box;
	overflow: auto;
}

#modal_agree .agree_txt {
	display: block;
	height: auto;
	padding: 0;
	border: none;
	overflow: hidden;
}

@media (max-width: 1200px) {
	#modal_agree .fModal_box {
		width: 800px;
	}
}

@media (max-width: 900px) {
	#modal_agree .fModal_box {
		width: 85%;
	}
}

@media (max-width: 720px) {
	#modal_agree .fModal_box {
		width: 90%;
	}
}

/* 내치과보험-증권 모달 */
#modal_agree .modal_tit {
	position: fixed;
	top: 0;
	width: 100%;
	height: 70px;
	line-height: 70px;
	color: #fff;
	font-weight: 700;
	font-size: 20px;
	background: #198b61;
	text-align: center;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	padding: 0;
}

#modal_agree span.icon_modal {
	background: url(../img/common/icon_modal_tit.png) no-repeat center / 100% auto;
	width: 20px;
	height: 20px;
	display: inline-block;
	transform: translateY(3px);
	margin-right: 10px;
}

#modal_agree .modal_close {
	position: absolute;
	top: 18px;
	right: 25px;
	width: 28px;
	height: auto;
	cursor: pointer;
}

#modal_agree .modal_close img {
	width: 100%;
	height: auto;
}

#modal_agree .modal_inner {
	padding: 20px 40px;
	overflow-x: hidden;
	overflow-y: scroll;
	background: #fff;
	margin-top: 70px;
}

@media (max-width: 720px) {
	#modal_agree .modal_tit {
		height: 60px;
		line-height: 60px;
		font-size: 18px;
	}

	#modal_agree .modal_close {
		position: absolute;
		top: 16px;
		right: 23px;
		width: 26px;
	}

	#modal_agree .modal_inner {
		margin-top: 60px;
		height: calc(100vh - 280px);
	}

}

@media (max-width: 550px) {
	#modal_agree .modal_box {
		top: 80px;
		height: calc(100vh - 160px);
	}

	#modal_agree .modal_tit {
		height: 50px;
		line-height: 50px;
		font-size: 16px;
	}

	#modal_agree .modal_inner {
		padding: 30px;
		margin-top: 50px;
	}

	#modal_agree .modal_close {
		top: 14px;
		right: 20px;
		width: 20px;
	}
}

.agree_txt {
	display: none;
	width: 100%;
	height: 150px;
	overflow-y: scroll;
	padding: 15px 20px;
	box-sizing: border-box;
	border: 1px solid #ccc;
	color: #555;
	font-size: .95em;
	margin-bottom: 15px;
}

.agree_txt.active {
	display: block;
}

.agree_txtbox {
	margin-bottom: 30px;
}

.agree_txt .info {
	font-size: .95em;
}

.agree_txt .info h5 {
	margin: 25px 0 5px;
	font-weight: bold;
	font-size: 1em;
}

.agree_txt .info span {
	display: block;
	color: #555;
}

.agree_txt .info .ibox {
	background: #f9f9f9;
	padding: 10px 25px;
	margin: 10px 0 20px;
	border-radius: 12px;
}

.agree_txt .info .ibox p {
	color: #666;
	margin: 10px 0;
}

.agree_txt .info .ibox p strong {
	display: block;
	color: #3c3838;
}

.agree_txt .info .ibox1 {
	text-align: center;
}

.agree_txt .info .ibox1 p strong {
	margin: 10px 25px 25px;
	font-size: 16px;
}

.agree_txt .info .ibox_end {
	margin: 20px 0 0 0;
}

@media (max-width: 550px) {
	.agree_checkBox .mnone {
		display: none;
	}
}

.only-print { display: none; }