* {
  -webkit-text-size-adjust: none;
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
		  background: url('images/jb_blank.png');
		 
}


html {
	height: 100%;
	font-size: 100%;
	scroll-behavior: auto; /* smooth 대신 JS로 제어 */
}

body {
	min-height: 100%;
	overflow-y: hidden;  /* 스크롤은 body만 담당 */
	background-color: #fff;
}

html, body { 
	font-size: 16px;
	font-weight: 400;
	font-family: 'Pretendard', sans-serif;
	line-height: 1.5;
	color: var(--sub-main); 
	margin: 0; 
	padding: 0;
	word-break: break-all;
	scroll-behavior: smooth;
	overflow-y: scroll;
	scrollbar-width: none; /* Firefox */
	width: 100%;
	height: 100%;
	letter-spacing: -0,025rem;
}

body::-webkit-scrollbar { display: none; } /* Chrome */

h1, h2, h3, h4, h5, h6, p, ul, li, ol, dl, dd, dt, 
input, select, option, small, a, a:link, a:visited, a:active, 
strong, span, font, b, tr, td, th, table, tbody, thead, 
del, ins, address,em, dfn, cite, code, kbd, pre, samp { 
	font: inherit; 
	color: inherit; 
	line-height: inherit;
	margin: 0; 
	padding: 0; 
	box-sizing: inherit; 
}

img {
	vertical-align: bottom;
}

a, a:link,
a:visited, 
a:active, 
a:focus { 
	text-decoration: none;
	color: inherit;
}

a:hover { 
	/* color: var(--main); */
	text-decoration: none; 
	transition: all ease-in-out 0.3s; 
}

legend { 
	visibility: hidden; 
	width: 0; 
	height: 0;
}

caption { 
	overflow: hidden; 
	width: 0; 
	height: 0; 
	font-size: 0; 
	line-height: 0; 
	text-indent: -9999px;
}

.clear { 
	clear: both; 
	float: none;
	display: block; 
	font-size: inherit;
	color: inherit;
}


.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.fit_img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 100;
	margin: 0;
}

.responsive_img {
	width: 100%;
	max-width: 100% !important;
	height: auto;
}

/*---------------------------------------------------------------------------------------------------------------

	FORM

---------------------------------------------------------------------------------------------------------------*/

.iptText { 
	display: inline-block; 
	position: relative;
	vertical-align: middle;
	height: 2.188rem; 
	line-height: 2.188rem;
	padding: 0 0.625rem;
	margin: 0 0.188rem 0 0;
	border: 0.0875rem solid #ddd; 	
	background: #ffffff;
	font-size: 0.875rem; 
	border-radius: 0.375rem;
	color: var(--text-color);
}

.sltBox {
	display: inline-block; 
	position: relative;
	vertical-align: middle;
	height: 2.188rem; 
	line-height: 2.188rem; 
	padding: 0 0.625rem;
	margin: 0 0.188rem 0 0;
	border: 0.0875rem solid #ddd; 	
	background: #ffffff;
	color: var(--text-color);
	outline: none;
	font-size: 0.875rem;
	border-radius: 0.375rem;	
	-webkit-appearance: none; 
	-moz-appearance: none;    
	appearance: none;
	background: url('images/sp_form.png') no-repeat 100% -40px #ffffff; /* �붿궡�� �꾩씠肄� 異붽� */       
	cursor: pointer;
	
}

.sltBox select {
    padding: 0px;
	line-height: 2.188rem;
	height: 2.188rem;
    width: 110%;
    border: none;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.iptText:focus,
.sltBox select:focus {
    outline: none;
	border-color: var(--hover);
}

.iptText + .btn {
	margin: 0 0.125rem;
}

.iptText.block + .iptText.block {
	margin: 0.313rem 0;
	display: block;
	clear: both;
}

.iptText.block,
.sltBox.block {
	box-sizing: border-box !important;
	width: 100% !important;
}

.iptText:disabled,
.sltBox:disabled {
	background-color: #f1f1f1;
	border-color: #ccc;
	cursor: not-allowed;
	color: #999;
}

.iptText.lg,
.sltBox.lg {
	height: 3rem;
	line-height: 3rem;
	padding: 0 0.75rem;
	font-size: 1rem;
	border-radius: 0.375rem;
}

.iptText:focus,
.sltBox:focus {
	transition: all ease-in-out .3s;
	border: 1px solid #aaaaaa;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {  /*safari and chrome*/
	.iptText {
		box-shadow: none !important;
		-webkit-appearance: none;
	}
    .sltBox {
        height: 2.063rem;
        line-height: 2.063rem;
		border-radius:  0.375rem;
		padding: 0 0.625rem;
    } 
}

.styled_radio input[type=checkbox]:not(old),
.styled_radio input[type=radio]:not(old){
	width   : 0.938rem;
	margin  : 0;
	padding : 0;
	opacity : 0;
}

.styled_radio input[type=checkbox]:not(old) + label,
.styled_radio input[type=radio]:not(old) + label{
	display : inline-block;
	position: relative;
	margin-left : 0px;
	margin-right: 0.938rem;
	margin-bottom: 0;
	padding-left : 2.2rem;
	background : url('images/checkbox-default.png') no-repeat 0 5px;
	-webkit-background-size: 1.5rem;
	background-size: 1.5rem;
	font-size: 1.12rem;
	font-weight: 600;
	line-height: 2;
	letter-spacing: 0;
	cursor: pointer;
}


.styled_radio input[type=radio]:not(old) + label {
	background   : url('images/radio-default.png') no-repeat 1px 5px;
}

.styled_radio input[type=checkbox]:not(old):checked + label{
	background   : url('images/checkbox-selected.png') no-repeat 0 5px;
	-webkit-background-size: 1.5rem;
	background-size: 1.5rem;
}

.styled_radio input[type=radio]:not(old):checked + label{
	background   : url('images/radio-selected.png') no-repeat 1px 5px;
	-webkit-background-size: 1.5rem;
	background-size: 1.5rem;
}


.styled_radio input[type=radio],
.styled_radio input[type=checkbox] {
	display: none;
}


.textarea { 
	display: block; 
	position: relative;
	vertical-align: top;
	padding: 0.938rem;
	margin: 0;
	width: 100%;
	border: 0.087rem solid #ddd; 	
	background: #f9f9f9;
	font-size: 0.875rem;
	line-height: 1.5;
	border-radius: 0.375rem;
	box-sizing: border-box;
	resize: none;
	outline: none;
}

.textarea:focus {
	background-color: #FFF;
}

placeholder { 
	color: var(--sub-color);
	line-height: 1.5; 
}

::-webkit-input-placeholder { color: var(--sub-color); }
::-moz-placeholder { color: var(--sub-color); } /* firefox 19+ */
:-ms-input-placeholder { color: var(--sub-color); } /* ie */


.border_box.scroll {
	overflow-y: scroll;
}

.border_box p {
	font-size: 0.875rem;
	line-height: 1.5;
	font-weight: 600;
	margin: 0 0 0.625rem;
	letter-spacing: -0.05em;
}

.border_box dl {
	display: block;
	position: relative;
	margin: 0 0 1.25rem;
	padding: 0.938rem 1.25rem;
	background: #ffffff;
	border: 1px solid #dddddd;
}

.border_box dt {
	font-size: 0.795rem;
	font-weight: 600;
	line-height: 1.5;
	margin: 0 0 0.625rem;
	color: var(--black);
}

.border_box dd {
	font-size: 0.75rem;
	line-height: 1.3;
	margin: 0 0 0.375rem;
	color: var(--black);
}

.border_box dd ul {
	padding: 0.313rem 0.75rem;
	margin: 0;
}

.border_box dd ul li {
	list-style: none;
	font-size: 0.75rem;
	line-height: 1.3;
	margin: 0.125rem 0;
	color: var(--sub-color);
	letter-spacing: -0.025em;
}

.border_box dd ul p {
	font-size: 0.75rem;
	font-weight: bold;
	line-height: 1.4;
	margin: 0.5rem 0 0;
}


/*---------------------------------------------------------------------------------------------------------------

	BUTTON

---------------------------------------------------------------------------------------------------------------*/
button.btn,
a.btn { 
	display: inline-block;
	position: relative;
	vertical-align: middle;
	height: 2.063rem; 
	*height: 2.063rem; 
	background: #101010; 
	color: var(--white);
	padding: 0 0.938rem; 
	margin: 0px;
	font-size: 0.875rem; 
	font-weight: 500;
	line-height: 2.063rem;
	border-radius: 0.375rem;
	outline: none;
	border: 1px solid #101010;
	white-space: nowrap;
	transition: all ease 0.3s;
}

button.btn:hover,
a.btn:hover {
	box-shadow: 0 0px 3px rgba(0, 0, 0, 0.078);
}


.btn + .btn {
	margin: 0 2px;
}

.btn.sm { 
	height: 1.563rem; 
	line-height: 1.563rem;
	*height: 1.563rem; 
	padding: 0 0.625rem; 
	font-size: 0.75rem; 
	border-radius: 0.275rem;
}

.btn.lg { 
	height: 2.875rem; 
	line-height: 2.875rem;
	*height: 2.875rem; 
	padding: 0 1.563rem; 
	font-size: 1rem; 
	border-radius: 0.375rem;
}

.btn.huge { 
	height: 3.75rem; 
	line-height: 3.75rem;
	*height: 3.75rem; 
	padding: 0 2.5rem; 
	font-size: 1.25rem; 
	border-radius: 0.375rem;
}

.btn.btn-block {
	width: 100%;
	padding-left: 0px !important;
	padding-right: 0px !important;
	text-align: center;
	margin: 0;
}

.btn.btn-block + .btn.btn-block {
	margin: 5px 0 !important;
}

.btn.default { background: var(--main); border-color: var(--main); }
.btn.primary { background: var(--primary); border-color: var(--primary); }
.btn.success { background: var(--success); border-color: var(--success); }
.btn.danger { background: var(--danger); border-color: var(--danger); }
.btn.info { background: var(--info); border-color: var(--info); }
.btn.warning { background: var(--warning); border-color: var(--warning); }
.btn.light { background: var(--muted); color: var(--white); border-color: var(--muted); }
.btn.white { background: var(--white); color: var(--hover); border-color: var(--hover); }
.btn.inverse { background: var(--hover); color: var(--white); border-color: var(--hover); }
.btn.line.gray { background: var(--white); color: var(--text-color); border-color: var(--light2); }
.btn.line.default { background: var(--white); color: var(--main); border-color: var(--main); }

.btn.line.default:hover {
	color: var(--white);
	border-color: var(--black);
	background-color: var(--black);
}

.btn.inverse:hover {
	background-color: var(--main);
	color: var(--white);
	border-color: var(--main);
}


/*---------------------------------------------------------------------------------------------------------------

	LIST

---------------------------------------------------------------------------------------------------------------*/

ul, ol, dl { 
	margin-top: 0; 
	margin-bottom: 0px;
	padding: 0;
}

li, dl, dd, dt { 
	margin: 0; 
	list-style: none;
	padding: 0;
}

ul ul, 
ol ul, 
ul ol, 
ol ol { 
	margin-bottom: 0;
}

/*===============================================================================================================

	Pagination

===============================================================================================================*/
.pagination {
	display: block;
	position: relative;
	padding: 0;
	margin: 0px auto 30px;
	text-align: center;
	clear: both;
	float: none;
}

.pagination li { 
	display: inline-block;
	position: relative;
	vertical-align: top;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination li a {
	display: block;
	position: relative;
	padding: 0 12px;
	margin: 0 2px;
	height: 35px;
	line-height: 35px;
	text-align: center;	
	font-size: 18px;
	border: 1px solid #ffffff;
	border-radius: 3px;
	color: var(--muted);
}

#mobile .pagination li a {
	height: 30px;
	line-height: 30px;
	padding: 0 10px;
	font-size: 16px;
}

.pagination li a.control,
.pagination li a.control:hover {
	display: block;
	position: relative;
	padding: 0 13px;
	margin: 0;
	background: #ffffff;
	border: 1px solid #cccccc !important;	
	color: var(--black);
}

#mobile .pagination li a.control,
#mobile .pagination li a.control:hover {	
	padding: 0 11px;
}

.pagination li a:hover,
.pagination .current {
	color: var(--black);
}

.pagination .current:hover {
	cursor: default; 
}

.pagination i {
	line-height: 35px;
	font-size: 18px;
}


#mobile .pagination i {
	line-height: 30px;
	font-size: 16px;
}


/*---------------------------------------------------------------------------------------------------------------

	LAYOUT

---------------------------------------------------------------------------------------------------------------*/

#wrapper { 
	width: 100%; 
	min-width: 92.5rem; /* ≒ 1480px */
	margin: 0 auto;
	position: relative; 
	padding: 0;
}

.container { 
	width: 100%;
	min-width: 80rem;  /* 1280px */
	max-width: 80rem; /* 1480px */
	margin: 0 auto; 
	position: relative; 
}

.alignLeft {
	float: left !important;
}

.alignRight {
	float: right !important;
}


.col_row {
	display: flex;
	position: relative;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: flex-start;
	box-sizing: border-box;
}

.col_row .col {
	position: relative;
}

.align-center {
	align-items: center !important; 
}

.justify-center {
	justify-content: center !important;
}

.col_1_12 { width: 8.333333%; }
.col_2_12 { width: 16.6666666%; }
.col_3_12 { width: 25%; }
.col_4_12 { width: 33.3333333%; }
.col_5_12 { width: 41.666666%; }
.col_6_12 { width: 50%; }
.col_7_12 { width: 58.33333%; }
.col_8_12 { width: 66.6666666%; }
.col_9_12 { width: 75%; }
.col_10_12 { width: 82%; }
.col_11_12 { width: 91.66666%; }
.col_12_12 { width: 100%; }

.gap5 { gap: 0 0.313rem; }
.gap10 { gap: 0 0.625rem; }
.gap15 { gap: 0 0.938rem; }
.gap20 { gap: 0 1.25rem; }
.gap30 { gap: 0 1.875rem; }
.gap40 { gap: 0 2.5rem; }
.gap50 { gap: 0 3.125rem; }
.gap60 { gap: 0 3.75rem; }
.gap70 { gap: 0 4.375rem; }
.gap80 { gap: 0 5rem; }
.gap90 { gap: 0 5.625rem; }
.gap100 { gap: 0 6.25rem; }
.gap120 { gap: 0 7.5rem; }
.gap150 { gap: 0 9.375rem; }

.divider {
	display: block;
	position: relative;
	padding: 0;
	margin: 2.188rem 0;
	width: 100%;
	height: 0.0875rem;
	background-color: var(--hover);
}

.divider.white {
	background-color: rgba(255, 255, 255, 0.2);
}

.divider.thick {
	height: 0.25rem;
	background-color: #efefef;
}

.scroll {
	overflow-y: scroll;
}

.scroll::-webkit-scrollbar{
    display: none; 
}



/*---------------------------------------------------------------------------------------------------------------

	MARGIN

---------------------------------------------------------------------------------------------------------------*/

.automargin { margin: auto !important; } 
.nomargin { margin: 0px !important; }
.notopmargin { margin-top: 0px !important; }
.norightmargin { margin-right: 0px !important; }
.nobottommargin { margin-bottom: 0px !important; }
.noleftmargin { margin-left: 0px !important; }
.allmargin { margin: 1.875rem !important; }
.topmargin { margin-top: 1.875rem !important; }
.rightmargin { margin-right: 1.875rem !important; }
.bottommargin { margin-bottom: 1.875rem !important; }
.leftmargin { margin-left: 1.875rem !important; }
.halftop { margin-top: 0.938rem !important; }
.halfbottom { margin-bottom: 0.938rem !important; }
.halfleft { margin-left: 0.938rem !important; }
.halfright { margin-right: 0.938rem !important; }
.halfmargin { margin: 0.938rem !important; }


.h0 { margin-top: 0 !important; }
.h5 { margin-top: 0.313rem !important; }
.h10 { margin-top: 0.625rem !important; }
.h15 { margin-top: 0.938rem !important; }
.h20 { margin-top: 1.25rem !important; }
.h30 { margin-top: 1.875rem !important; }
.h40 { margin-top: 2.5rem !important; }
.h50 { margin-top: 3.125rem !important; }
.h60 { margin-top: 3.75rem !important; }
.h70 { margin-top: 4.375rem !important; }
.h80 { margin-top: 5rem !important; }
.h100 { margin-top: 6.25rem !important; }

.va_t { vertical-align: top !important; }
.va_m { vertical-align: middle !important; }
.va_b { vertical-align: bottom !important; }

/*---------------------------------------------------------------------------------------------------------------

	PADDING

---------------------------------------------------------------------------------------------------------------*/

.p0 { padding: 0 !important; }
.p10 { padding: 0.625rem !important; }
.p15 { padding: 0.938rem !important; }
.p20 { padding: 1.25rem !important; }
.p30 { padding: 1.875rem !important; }
.p40 { padding: 2.5rem !important; }
.p50 { padding: 3.125rem !important; }
.p60 { padding: 3.75rem !important; }
.p70 { padding: 4.375rem !important; }

.pt0 { padding-top: 0 !important; }
.pt10 { padding-top: 0.625rem !important; }
.pt15 { padding-top: 0.938rem !important; }
.pt20 { padding-top: 1.25rem !important; }
.pt30 { padding-top: 1.875rem !important; }
.pt40 { padding-top: 2.5rem !important; }
.pt50 { padding-top: 3.125rem !important; }
.pt60 { padding-top: 3.75rem !important; }
.pt70 { padding-top: 4.375rem !important; }

.pr0 { padding-right: 0 !important; }
.pr10 { padding-right: 0.625rem !important; }
.pr15 { padding-right: 0.938rem !important; }
.pr20 { padding-right: 1.25rem !important; }
.pr30 { padding-right: 1.875rem !important; }
.pr40 { padding-right: 2.5rem !important; }
.pr50 { padding-right: 3.125rem !important; }
.pr60 { padding-right: 3.75rem !important; }
.pr70 { padding-right: 4.375rem !important; }

.pb0 { padding-bottom: 0 !important; }
.pb10 { padding-bottom: 0.625rem !important; }
.pb15 { padding-bottom: 0.938rem !important; }
.pb20 { padding-bottom: 1.25rem !important; }
.pb30 { padding-bottom: 1.875rem !important; }
.pb40 { padding-bottom: 2.5rem !important; }
.pb50 { padding-bottom: 3.125rem !important; }
.pb60 { padding-bottom: 3.75rem !important; }
.pb70 { padding-bottom: 4.375rem !important; }

.pl0 { padding-left: 0 !important; }
.pl10 { padding-left: 0.625rem !important; }
.pl15 { padding-left: 0.938rem !important; }
.pl20 { padding-left: 1.25rem !important; }
.pl30 { padding-left: 1.875rem !important; }
.pl40 { padding-left: 2.5rem !important; }
.pl50 { padding-left: 3.125rem !important; }
.pl60 { padding-left: 3.75rem !important; }
.pl70 { padding-left: 4.375rem !important; }



/*---------------------------------------------------------------------------------------------------------------

	LABEL

---------------------------------------------------------------------------------------------------------------*/
.label { 
	display: inline-block;
	position: relative;
	vertical-align: middle;
	padding: 0.15rem 0.5rem; 
	background: #222222;
	color: #ffffff; 
	font-size: 0.8rem; 
	line-height: 1.5; 
	font-weight: 500;
	letter-spacing: -0.025em;
	margin: 0;
	border: 0.0875rem solid transparent;
	outline: none;
	border-radius: 0.275rem;
}

.label.white { 
	background: var(--white);
	color: var(--sub-color);
	border-color: #cccccc; 
}

.label.default { 
	background: var(--main);
	border-color: var(--main);
}

.label.primary { 
	background: var(--primary);
	border-color: var(--primary);
}

.label.success { 
	background: var(--success);
	border-color: var(--success);
}

.label.danger { 
	background: var(--danger);
	border-color: var(--danger);
}
	
.label.info { 
	background: var(--info);
	border-color: var(--info);
}

.label.warning { 
	background: var(--warning);
	border-color: var(--warning);
}

.label.light { 
	background: var(--light);
	color: var(--sub-color);
	border-color: var(--light);
}

.label.purple { 
	background: var(--label-purple);
	border-color: var(--label-purple);
}



/*---------------------------------------------------------------------------------------------------------------

	BADGE

---------------------------------------------------------------------------------------------------------------*/

.badge {
	display: inline-block;
	position: relative;
	vertical-align: middle;
    padding: .18em .7em;
    border-radius: 10rem;
	background: var(--black);
	color: var(--white); 
	font-size: 0.875rem; 
	line-height: 1.2; 
	letter-spacing: -0.025em;
	margin: 0;
	font-weight: normal;
}


.badge.white { background: var(--white); color: var(--sub-color); }
.badge.primary { background: var(--primary); }
.badge.success { background: var(--success); }
.badge.danger { background: var(--danger); }	
.badge.info { background: var(--info); }
.badge.warning { background: var(--warning); }
.badge.light { background: var(--light); color: var(--white); }
.badge.default { background: var(--main); }



/*---------------------------------------------------------------------------------------------------------------

	COLOR SYSTEM

---------------------------------------------------------------------------------------------------------------*/
.text-default { color: var(--main) !important; }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-info { color: var(--info) !important; }
.text-warning { color: var(--warning) !important; }
.text-muted { color: var(--muted) !important; }
.text-orange { color: var(--orange) !important; }
.text-white { color: var(--white) !important; }
.text-pink { color: var(--pink) !important; }
.text-black { color: var(--black) !important; }
.text-hover { color: var(--hover) !important; }


:root {
	
	--title-color: #383839;
	--text-color: #444444;
	--sub-color: #666666;

	--main: #b84026;
	--primary: #4737df;
    --success: #31a000;
	--danger: #d10202;
	--info: #1c92dd;
	--warning : #F0BA32;
	--muted: #999999;
	--orange: #ed4a13;
	--white: #ffffff;
	--pink: #f60a84;
	--light: #f1f1f1;
	--light2: #d5d5d5;
	--black: #000000;
	--hover: #54301A;

	--label-red: #FBEDE5;
	--label-purple: #F4EBFF;
	--label-blue: #E5F6FF;

	--light-warning: #faf7e4;
	--light-red: #FF5A5F;
	--light-purple: #995AF5;
	--light-blue: #aee2fe;
	--light-green: #E8F8F2;

	--border: #d7d7d7;
    --error: #e74c3c;
    --input-h: 3.125rem;
    --radius6: 0.375rem;
    --radius12: 0.75rem;
    --radius20: 1.25rem;
	--shadow: 0 4px 20px rgba(0,0,0,0.05);
	--transition: all ease .3s;

}

.bg_main { background-color: var(--main) !important; }
.bg_inverse { background-color: var(--hover) !important; }
.bg_primary { background-color: var(--primary) !important; }
.bg_success { background-color: var(--success) !important; }
.bg_danger { background-color: var(--danger) !important; }
.bg_info { background-color: var(--info) !important; }
.bg_warning { background-color: var(--warning) !important; }
.bg_orange { background-color: var(--orange) !important; }
.bg_white { background-color: var(--white) !important; }
.bg_black { background-color: var(--black) !important; }
.bg_light2 { background-color: var(--light2) !important; }
.bg_hover { background-color: var(--hover) !important; }
.bg_light_warning { background-color: var(--light-warning) !important; }
.bg_light_red { background-color: var(--light-red) !important; }
.bg_light_purple { background-color: var(--light-purple) !important; }
.bg_light_green { background-color: var(--light-green) !important; }
.bg_light_blue { background-color: var(--light-blue) !important; }
.bg_label_purple { background-color: var(--label-purple) !important; }
.bg_label_blue { background-color: var(--label-blue) !important; }


.radius6 { border-radius: var(--radius6); }
.radius12 { border-radius: var(--radius12); }
.radius20 { border-radius: var(--radius20); }

.shadow { box-shadow: 0 4px 20px rgba(0,0,0,0.05); }


/*---------------------------------------------------------------------------------------------------------------

	TYPOGRAPHY

---------------------------------------------------------------------------------------------------------------*/
.young-serif-regular {
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-style: normal;
}


h1, h2, h3, h4, h5, h6 {
	letter-spacing: -0.02em;
	line-height: 1.5;
	margin: 0;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2.25rem; }
h4 { font-size: 1.875rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

big { font-size: 140%; }
small { font-size: 75%; }
p { margin-bottom: 10px; }
address, em, dfn, cite, .italic { font-style: italic; }
del { text-decoration: line-through; }
.underline, ins { text-decoration: underline; }

.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }

.strong { font-weight: bold; }
.normal { font-weight: normal; }
.uppercase { text-transform: uppercase; }

.w100 { font-weight: 100 !important; }
.w200 { font-weight: 200 !important; }
.w300 { font-weight: 300 !important; }
.w400 { font-weight: 400 !important; }
.w500 { font-weight: 500 !important; }
.w600 { font-weight: 600 !important; }
.w700 { font-weight: 700 !important; }
.w800 { font-weight: 800 !important; }
.w900 { font-weight: 900 !important; }

.line-condensed { line-height: 1.2 !important; }

.text-sm { font-size: 0.875rem; }

/*===============================================================================================================

	Table Style

===============================================================================================================*/
.table {
	display: block;
	position: relative;
	margin: 0 0 30px;
	font-size: 15px;
	color: #555555;
	line-height: 28px;
	border-top: 2px solid #888;
}

.table table {
	width: 100%;
	
}

.table thead .th {
	padding: 15px 17px;
	border: 1px solid #ddd;
	text-align: center;
	font-weight: bold;
}
.table tbody .th,
.table tbody .td {
	padding: 13px 17px;
	border-left: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.table tr td:first-child,
.table tr th:first-child {
	border-left: none;
}

.table .th {
	font-weight: 400;
	color: #000000;
	background: #fafafa;
}

.table.striped tr:nth-child(even) {
	background: #f9f9f9;
}


#m_wrapper .table {
	display: block;
	position: relative;
	font-size: 14px;
	line-height: 24px;
	letter-spacing: 0;
	border-top: 3px solid #555;
	color: #222;
}

#m_wrapper .table tbody .th,
#m_wrapper .table tbody .td {
	padding: 10px 10px;
	border: 1px solid #ddd;
}

#m_wrapper .table .th {
	color: #000;
	background: #f5f5f5;
}

#m_wrapper .table tr:first-child .td,
#m_wrapper .table tr:first-child .th {
	border-top: none;
}

#m_wrapper .table tr .td:first-child,
#m_wrapper .table tr .th:first-child {
	border-left: none;
}

#m_wrapper .table tr .td:last-child,
#m_wrapper .table tr .th:last-child {
	border-right: none;
}

.table-container {
	width: 100%;
	height: 400px;
	overflow-y: auto;
	border-radius: var(--radius6);
	background: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);

	/* 얇은 스크롤 */
	scrollbar-width: thin;
	scrollbar-color: rgba(0,0,0,0.1) transparent;
}
.table-container::-webkit-scrollbar { width: 6px; }
.table-container::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 3px; }

/* 테이블 기본 스타일 */
.modern-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.985rem;
	font-weight: 500;
	color: var(--text-color);
}

/* 상단 헤더 */
.modern-table thead th {
	position: sticky;
	top: 0;
	background: var(--hover);
	color: #fff;
	font-weight: 500;
	text-align: left;
	padding: 12px 16px;
	z-index: 3;
	border-bottom: 2px solid #1e2030;
	text-align: center;
}

/* 바디 */
.modern-table tbody td {
	padding: 12px 16px;
	border-bottom: 1px solid #f0f0f0;
	vertical-align: middle;
}

.modern-table tbody tr:hover {
  background: #f8f9fb;
}

/* 상태 배지 */
.status {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 500;
	text-transform: capitalize;
}

.status.primary { background: #e6e0ff; color: #6a5acd; }
.status.success { background: #d8f8e5; color: #3a9e68; }
.status.info { background: #dff5fb; color: #3b9ecb; }
.status.warning { background: #ffe9d5; color: #d98232; }
.status.danger { background: #ffbeb7; color: #e5402e; }

/* 하단 푸터 */
.modern-table tfoot td {
	position: sticky;
	bottom: 0;
	background: #fafafa;
	border-top: 2px solid #ddd;
	font-weight: 600;
	padding: 10px 16px;
	z-index: 2;
	box-shadow: 0 -2px 3px rgba(0,0,0,0.05);
}


.arrow {
	display: inline-block;
	position: relative;
	width: 6px;
	height: 6px;
	background: transparent;
	text-indent: -9999px;
	border-top: 0.1rem solid #111111;
	border-left: 0.1rem solid #111111;
	text-decoration: none;
	color: transparent;
	margin-left: 5px;
	margin-bottom: 0.15rem;
	vertical-align: baseline;
}

.arrow.big {
	width: 12px;
	height: 12px;
}

.arrow.main {
	border-top-color: var(--main);
	border-left-color: var(--main);
}
.arrow.white {
	border-top-color: var(--white);
	border-left-color: var(--white);
}

.arrow:before {
	display: block;
	height: 200%;
	width: 200%;
	margin-left: -50%;
	margin-top: -50%;
	content: "";
	transform: rotate(45deg);
}

.arrow.prev {
	transform: rotate(-45deg);
}

.arrow.next {
	transform: rotate(135deg);
}

.arrow.up {
	transform: rotate(45deg);
}

.arrow.down {
	transform: rotate(-135deg);
}


/*===============================================================================================================

	POP MODAL

===============================================================================================================*/
.popup_modal_wrapper {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	align-items: center;
	justify-content: center;
	z-index: 10000;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.popup_modal_wrapper.show {
	display: flex;
	opacity: 1;
}

.popup_modal {
	background: transparent;
	border-radius: 0;
	width: 52rem;
	max-width: 60vh;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	/* animation: modalFadeIn 0.3s ease; */
}

.popup_modal .swiper-slide {
	max-height: 80vh;
	overflow-y: scroll;
	scrollbar-width: thin;
	scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.popup_modal .swiper-slide::-webkit-scrollbar { width: 6px; }
.popup_modal .swiper-slide::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.8); border-radius: 3px; }


#m_wrapper .popup_modal {
	max-width: 100%;
	box-sizing: border-box;
	padding: 0px;
	height: 100vh;
}

#m_wrapper .popup_modal .swiper-slide {
	height: 100vh !important;
	max-height: 100vh !important;
}

#m_wrapper .popup_modal .swiper-slide img {
	vertical-align: middle;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.popup_modal_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	padding: 1rem 1.25rem;
	background: #f6f6f6;
	border-radius: 0.5rem 0.5rem 0 0;
	border-bottom: 0.063rem solid #ddd;
	font-size: 1.25rem
}

.popup_modal_body {
	padding: 1.25rem;
	max-height: 60vh;
	overflow-y: auto;
	font-size: 0.938rem;
	font-weight: 500;
	line-height: 1.5;
}

#m_wrapper .popup_modal_body {
	padding: 0;
	height: 100vh;
	max-height: 100vh;
}

.btn_close {
	color: #fff;
	z-index: 99999;
	top: 10%;
	left: 50%;
	transform: translate(-50%, -10%);
	position: absolute;
	background: none;
	border: none;
	cursor: pointer;
	width: 3rem;
	height: 3rem;
	margin-left: 25.5rem;
	transition: none;
}

.btn_close i {
	font-size: 3.2rem;
}

#m_wrapper .btn_close {
	left: auto !important;
	right: 15px !important;
	top: 15px;
	margin-left: 0 !important;
	transform: translate(0%, 0%);
	background-color: rgba(0, 0, 0, 0.8);
	border-radius: 50%;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
}

#m_wrapper .btn_close i {
	font-size: 1.5rem;
	line-height: 2.5rem;
}

@keyframes modalFadeIn {
	from {
		transform: translateY(-0.625rem);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}


/*===============================================================================================================

	ICONS

===============================================================================================================*/

.icon-circle {
	border-radius: 50%;
	text-align: center;
	overflow: hidden;
	width: 2rem;
	height: 2rem;
	line-height: 2rem;
	font-size: 1.8rem;
	background-color: var(--black);
	color: #fff;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.15);
}

.icon-circle.lg {
	width: 3.65rem;
	height: 3.65rem;
	line-height: 4rem;
	font-size: 3rem;
}

.icon-circle.huge {
	width: 4.25rem;
	height: 4.25rem;
	line-height: 4.68rem;
	font-size: 3.45rem;
}