@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic&family=Noto+Sans+JP:wght@400;500&family=Noto+Sans+Mono:wght@400;500&family=Roboto:wght@400;700&display=swap');



	/* @import url(http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css);
	 */
	html	{overflow-y:scroll;	}
	body {font-family:'Nanum Gothic','Noto Sans JP'; font-style: normal;margin:0;padding:0;min-height:800px;}
	header{ position:relative; width:100%; margin:auto; height:34px;}
	nav{ position:relative; width:100%; margin-bottom:50px;}
	section{
  	display:flex;
	  flex-direction: column;
    justify-content:center;
    align-items: center;
    margin-bottom: 50px;
	}


	section.m2{
  		margin-top: 15px;
	}

	@media (max-width:1217px){
	nav{
		margin-bottom:84px;
		}
		section.m2{
		margin-top: 50px;
		}
	}
	@media (max-width:617px){
		nav{
			margin-bottom:117px;
		}
		section.m2{
		margin-top: 84px;
		}
	}
  footer{
  	display:flex;
  	justify-content:center;
  }

	*{
		box-sizing:border-box;

    }
	.header_fixed
	{
		top:0px;
		position:fixed;
    width:100%;
		z-index: 20;
		background-color:#3dacc8;

	}
	.header_fixed_inner{

		display:flex;
  	justify-content:center;
		margin: 0;
		align-items:center;

	}

	.nav_fixed
	{
		padding-top:10px;
        padding-bottom: 10px;
		position: fixed;
		width:100%;
		z-index: 10;
		background-color:#EEE;
   }
	@media (max-width:1217px){
		.nav_fixed{
			padding-top:44px;
		}
	}
	@media (max-width:617px){
		.nav_fixed{
			padding-top:78px;
		}
	}

	.left_fixed
	{
		position: fixed;
		left: 120px; /* 왼쪽 여백 */
		top: 30%;
		transform: translateY(-50%);
		z-index: 12;
		background-color:#FFF;
	}


	.sch_style{
		display: flex;
		justify-content:center;
        align-items: center;
  	}
	.sch_style input{
		margin-right:10px;
	}
	.sch_style input.narrow{
		margin-right:4px;
	}
	.sch_style input.sw{
		margin-right:10px;
		margin-bottom:7px;
	}
	.sch_style label{
			font-size:14px;
	}
	.sch_style label input{
		position:relative;
		top:2px;
		right:-8px;
	}

	/* 라디오 버튼 그룹 스타일 */
.radio_group {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #bbf0ce;    /* 연한 회색 배경 */
    padding: 5px 10px;   /* 안쪽 여백 */
    border-radius: 10px; /* 둥글게 */
    border: 1px solid #53865f;
    margin-right: 5px;   /* 그룹 다음 요소와의 간격 */
}

.radio_group label {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;

}
.radio_group label input{
	position:relative;
	top:0px;
	right:0px;

}

/* 라디오 버튼 정렬 미세조정 */
.radio_group input[type="radio"] {
    margin: 0;
    cursor: pointer;
}




	.date_style{
		display: flex;
		justify-content:center;
  }
	.date_style input{
		margin-bottom:7px;
	}

	.center_flex{
		display: flex;
		flex-direction:row;
		justify-content:center;
		align-items:center;
		font-size:1rem;

	}


	.section_div
	{
		margin:5px;
		border:3px solid #009966;
    overflow-x: auto;
    overflow-y: hidden;
	}

	.darkgreen
	{
		background-color:darkgreen;
	}

	.green
	{
		background-color:#4CAF50;
	}

	.orange
	{
		background-color:orange;
	}
	ul.main_menu {
		margin:0 0 0 0;
		padding:0;
		font-size:14px;
	}

	ul.main_menu li {
		list-style-type:none;
		display:block;
		width:100px;
		text-align:center;
		padding:0;
		margin:0;
		float:left;
		background-color: #3dacc8;
		color:#ffffff;
	}

	ul.main_menu li.active
	{
		background:#3795af;
	}
	ul.main_menu li:hover
	{
		background:#3795af;
		cursor:pointer;
		cursor:hand;
	}
	ul.main_menu li.deepchange
	{
		background-color:#3795af;
	}
	ul.main_menu li a {
		padding:10px 0 8px 0;

		text-decoration: none;
		display: block;
	}
	ul.main_menu li a.dca{
		padding:7px 0px 7px 0px;
	}

	ul.main_menu li a:link{color:white;  text-decoration: none;}
	ul.main_menu li a:visited{color:white;	text-decoration: none;}
	ul.main_menu li a:hover{color:white;  text-decoration: none;}
	ul.main_menu li a:active{color:red;  text-decoration: none;}

	ul.basic_menu {
		margin:0 0 0 0;
		padding:0;
		font-size:14px;
	}

	ul.basic_menu li {
		list-style-type:none;
		display:block;
		width:100px;
		text-align:center;
		padding:0px 0 0px 0;
		margin:0 0 0 0;
		float:left;
		background-color:#4CAF50;
		color:#ffffff;
	}

	ul.basic_menu li.active
	{
		background:#485;
	}
	ul.basic_menu li:hover
	{
		background:#485;
		cursor:pointer;
		cursor:hand;
	}
	ul.basic_menu li.deepchange
	{
		background-color:#485;
	}

	ul.basic_menu li a {
		padding:10px 0 10px 0;
		text-decoration: none;
		display: block;
		line-height:14px;
	}

	ul.basic_menu li a:link{color:white;  text-decoration: none;}
	ul.basic_menu li a:visited{color:white;	text-decoration: none;}
	ul.basic_menu li a:hover{color:#80ff00;  text-decoration: none;}
	ul.basic_menu li a:active{color:red;  text-decoration: none;}



/* The container <div> - needed to position the dropdown content */
	.dropdown {
		position: relative;
		display: inline-block;
	}

	/* Dropdown Content (Hidden by Default) */
	.dropdown-content {
		display: none;
		position: absolute;
		background-color: #3795af;
		min-width: 100px;
		box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
		z-index: 22;
	}


	/* Links inside the dropdown */
	.dropdown-content a {
		color: black;
		text-decoration: none;
		display: block;
	}

	/* Show the dropdown menu on hover */
	.dropdown:hover .dropdown-content {
		display: block;
		border-bottom-right-radius: 1em 5em;
	}

	/* Change the background color of the dropdown button when the dropdown content is shown */
	.dropdown:hover  {
		background-color: #3e8e41;
		border-top-left-radius:     1em 5em;
	}

	.button {
		background-color: #4CAF50; /* Green */
		border: none;
		color: white;
		padding: 3px 6px;
		text-align: center;
		text-decoration: none;
		display: inline-block;
		font-size: 12px;

		-webkit-transition-duration: 0.4s; /* Safari */
		transition-duration: 0.4s;
		cursor: pointer;
	}

	.btn1 {
		background-color: #4CAF50;
		color: white;
		border: 2px solid #4CAF50;
        height:28px;
	}

	.btn1:hover {

		background-color: white;
		color: #4CAF50;
	}
	.btn1:disabled {
		background-color: #4CAF50;
		color: #CCC;
		cursor: not-allowed;
	}
    .btn2 {
		background-color: #4CAF50;
		color: white;
		border: 2px solid #4CAF50;
        height:25px;
	}

	.btn2:hover {
		background-color: white;
		color: #4CAF50;
	}

.btn3 {
    background-color: #999;
    color: white;
    border: 2px solid #999;
    height:25px;
    padding: 3px 10px;
}

.btn3:hover {
    background-color: white;
    color: #333;
}
.btn4 {
    background-color: yellow;
    color: black;
    border: 2px solid yellow;
    height:25px;
    padding: 3px 10px;
}
.btn4:hover {
    background-color: white;
    color: black;
}

.btn5 {
    background-color: red;
    color: black;
    border: 2px solid red;
    height:25px;
    padding: 3px 10px;
}
.btn5:hover {
    background-color: white;
    color: black;
}

.file_text
	{
		padding: 3px 6px;
		text-align: left;
		text-decoration: none;
		height:30px;
		font-size: 12px;
		background-color:white;
		color: black;
		border: 2px solid #4CAF50;

	}

.select {

   padding: 3px 6px;
		text-align: left;
		text-decoration: none;
		height:26px;
		font-size: 12px;
		background-color:white;
		color: black;
		border: 2px solid #4CAF50;
	}
	.select_sw {

		padding: 2px 3px;
		text-align: left;
		text-decoration: none;
		height:26px;
		font-size: 12px;
		background-color:white;
		color: black;
		border:2px #999999 solid;
	}

	table.tb4{
		margin: auto;
		border:4px solid #919191;
    	border-collapse:collapse;
		table-layout:fixed;
	}
	table.tb4 th{
		border:1px solid #777;border-collapse:collapse;
        background-color:#919191;color:#fff;
	}

  	table.tb4 td{
		border:1px solid #919191;border-collapse:collapse;
	}
	table.tb5
	{
		table-layout:fixed;
		border:5px solid #919191;border-collapse:collapse;
	}
	table.tb_date
	{
		border-collapse:collapse;
	}
	table.tb_date td
	{
		padding:0px;
		width:90px;
	}

	caption
	{
		color:#CC99FF;
		font-size:18pt;
		font-weight: bold;
		margin:7px;
		text-align:center;
	}

	ul.inline_ul
	{
		list-style:none;
        text-align:center;
        padding:0;
        margin:0;
		overflow:auto;
	}
	ul.inline_ul li
	{
	    display:inline;
		padding:0;
        margin:0px;
	}


	li.inline_li
	{
		display:inline;
		padding:0;
    margin:2px;
	}
	.fileUpload {
		position: relative;
		overflow: hidden;
		height:30px;
		padding:2px;

	}
	.fileUpload input.upload {
		position: absolute;
		top: 0;
		right: 0;
		margin: 0;
		padding: 0;
		cursor: pointer;
		opacity: 0;
		filter: alpha(opacity=0);
	}

	td{font-size:9pt;   text-align:center;}

	th{font-size:9pt;  background-color:#999; color:#fff;}

	td.menu_ct{width:116px;background-image: url("top_center.gif");}

	.td_jap{font-size:0.8rem;font-family:'Noto Sans JP';}
	.td_left_jap{text-align:left; padding:0 0 0 10px;font-size:0.8rem;font-family:'Noto Sans JP';font-weight:500;}

	.td_ct12{font-size:12pt;}
	.td_rt12{text-align:right;font-size:12pt;padding:5px}
	.td_lf12{text-align:left;font-size:12pt;padding:5px}

	.td_ct11{font-size:11pt;}
	.td_rt11{text-align:right;font-size:11pt;padding:5px}
	.td_lf11{text-align:left;font-size:11pt;padding:5px}

	.td_left{text-align:left; padding:0 0 0 5px;}
	.td_left_blue{text-align:left; padding:0 0 0 10px;color:#3399ff;}
	.td_left_red{text-align:left; padding:0 0 0 10px;color:#FF3300;}

	.td_right{text-align:right; padding:0 3px 0 0;}

	.b01_style
	{
		font-size:9pt;
		width:55px;
		height:25px;
		background-color: #dddddd;
		color:#444444;
		cursor:pointer;
	}

    .b02,
	.b02_style
	{
		font-size:9pt;
		width:83px;
		height:25px;
		background-color: #eeeeee;
		color:#444444;
		cursor:pointer;
	}



	.move_btn
	{
		border:3px #999999 solid;
		padding:2px 1px 1px 1px;
		color:#444444;
		width:45px;
		height:25px;
		background-color: #fafafa;
		font-size:9pt;
		cursor:pointer;
	}

	.b03, .b03_style
	{
		border:3px #999 solid;
		border-radius: 2px;
		padding:1px;
		color:#444444;
		width:45px;
		height:25px;
		background-color: #fafafa;
		font-size:12px;
		cursor:pointer;
	}
    .b01_style:hover,
    .b01_style:focus,
    .b02_style:hover,
    .b02_style:focus,
    .b03_style:hover,
    .b03_style:focus,
    .b02:hover,
    .b02:focus,
    .b03:hover,
    .b03:focus,
    .move_btn:hover,
    .move_btn:focus {
        border: 3px #66CCFF solid;
        background-color: #DFF;
    }

    .place_btn
	{
        min-width:60px;
        font-size:0.8rem;

		max-width:130px;
		height:25px;
		background-color: #EEE;
		color:#444;
		cursor:pointer;
        margin:2px;
	}
    .place_btn:hover,
    .place_btn:focus {
		border:2px #66CCFF solid;
		background-color: #DFF;
	}

	.odbtn{
  	border-width:3px;
    border-style:solid;
    width:54px;
	}
.bc_09f{
    border-color:#09f;
}
.bc_096{
    border-color:#096;
}
.bc_f9f{
    border-color:#f9f;
}
.bc_f90{
    border-color:#f90;
}


	.b05,
    .b05_style
	{
		border:2px #999999 solid;
		color:#444;
		width:45px;
		height:18px;
		background-color: #eee;
		font-size:7pt;
		cursor:pointer
	}
	.b05_style:hover,
    .b05_style:focus,
    .b05:hover,
    .b05:focus {
        border: 2px #66CCFF solid;
        background-color: #66CCFF;
    }

	.b06_style
	{
		border:5px #999999 solid;
		padding:2px 1px 1px 1px;
		color:#444444;
		width:140px;
		height:45px;
		background-color: #fafafa;
		font-size:14pt;
		cursor:pointer;

	}
	.b06_style:hover,
    .b06_style:focus {
        border: 3px #66CCFF solid;
        background-color: #66CCFF;
        font-size: 15pt;
    }
	:focus {outline:none;}


	input,button,textarea
	{
		font-family:'Nanum Gothic','Noto Sans JP';
		font-style: normal;
		font-size:9pt;
		border-style:solid;
		border-color:#999;
	}

	input[type=radio]
	{
		border:none;
  	}

	input[type=checkbox]
	{
		border:none;
  	}
    /* 입력창 포커스 시 */
input[type="text"]:focus {
    border-color: #6CF;
    background-color: #DFF;
}
/* textarea (또는 .area_style 요소) 포커스 시 */
.area_style:focus,
textarea:focus {
    border-color: #6CF;
    background-color: #EFF;
}

.right{text-align:right;}
.left{text-align:left;}

	.t01_style, .t01 {border-width:2px; height:25px;  padding:1px 2px 1px 1px; text-align:right;}

	.t02_style, .t02 {border-width:2px; height:25px;  padding:1px 1px 1px 2px; }

	.area_style {border-width:2px; height:25px;  padding:1px 1px 1px 2px; overflow-y:auto;}

	.t03_style, .t03 {border-width:3px;  height:25px;  padding:2px 2px 2px 3px; }

	.t04_style, .t04{ width:38px; height:25px; text-align:right; padding:1px 2px 1px 1px;}

	.t05_style, .t05 { width:38px; height:25px; text-align:right; padding:2px 2px 2px 2px;background-color: #d9d9d9;}

	.t06_style, .t06 { width:38px; height:25px; text-align:right; padding:2px 2px 2px 2px;}

	.t07_style, .t07 { height:25px; text-align:right; padding:2px 2px 2px 2px;}

	.t08_style, .t08 { border-width:0px; height:17px;  padding:0px 1px 0px 2px; }

	.up_table td a:link{		COLOR: #333;		FONT-SIZE: 12pt;TEXT-DECORATION: none}
	.up_table td a:visited{	COLOR: #333;	FONT-SIZE: 12pt;TEXT-DECORATION: none}
	.up_table td a:hover{	COLOR: #ffe;		FONT-SIZE: 12pt;TEXT-DECORATION: underline}

	td.menu_ct a:link{		COLOR: #333;		FONT-SIZE: 12pt;TEXT-DECORATION: none}
	td.menu_ct a:visited{	COLOR: #333;	FONT-SIZE: 12pt;TEXT-DECORATION: none}
	td.menu_ct a:hover{	COLOR: #ffe;		FONT-SIZE: 12pt;TEXT-DECORATION: underline}

	.blue13pt {color:#0000FF;FONT-SIZE: 13pt;}
	.black13pt {color:#000000;FONT-SIZE: 13pt;}
	.pink13pt {color:#ff66ff;FONT-SIZE: 13pt;}
	.red13pt {color:red;FONT-SIZE: 13pt;}

	.red {color:#FF0000;}
    .gray {color:#444;}

	.blue {color:#0000FF;}
	.black {color:#000000;}

	.backblue{background-color:#09f;color:#fff;padding:2px;}
	.backgreen{background-color:#096;color:#fff;padding:2px;}
	.backorange{background-color:#f90;color:#fff;padding:2px;}
	.backbrown{background-color:#c96;color:#fff;padding:2px;}

	/* order_shokan2, buy_shokang2, purchase_shokan2.php */
	table.b0ps
	{
		background-color:#ffffff;
		border:0;
		border-collapse:collapse;
	}
	table.b0ps td
	{
		padding:0px 0px 0px 2px;
		border:0px solid #fff;
	}

	table.b0ps_top
	{
		background-color:#ffffff;
		border:0;
		border-collapse:collapse;
	}
	table.b0ps_top td
	{
		padding:1px 0px 0px 0px;
		border:0px solid #fff;
	}
	.gusk
	{
		 font-size:9pt;
		 padding:1px 1px 1px 1px;
		 border:1px solid #999999;
		 height:18px;
	}
	.gusk_focus{outline:none;border-color:#66CCFF; background-color: #f1ffff;}
	.big{
		width:200px;height:60px;font-size:22px;

	}
	.ui-datepicker {
	  width: 12em;
	}


.ui-button-text-only .ui-button-text {
    padding: .2em .5em;
	 font-size: 0.8em;
}
.ui-state-active {

    color: blue;
}
.ui-widget-overlay
{
  opacity: .70 !important; /* Make sure to change both of these, as IE only sees the second one */
  filter: Alpha(Opacity=70) !important;

  background-color: #333 !important; /* This will make it darker */
}

.dirty {
    background-color: #fff4e0;
}
/* 저장 완료 하이라이트: td에 직접 칠해서 tr 배경과 충돌 방지 */
tr.saved-flash > td {
    background-color: #d6f5d6 !important;
    transition: background-color .8s ease;
}
/* 우측 하단 토스트 */
.toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    padding: 8px 12px;
    background: #222;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    opacity: .9;
    z-index: 9999;
}
.month-bar {
    height: 10px;
    background-color: #DDD;
    margin: 0 auto;
    max-width: 1114px;
    border-bottom: none;
}

.month-box {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* 12개 단위로 줄바꿈 */
    gap: 8px;
    padding: 6px;
    margin: 0 auto;
    max-width: 1114px;
    background: #EEE;

    border-top: none;
}
/* 선택된 월 강조 */
.month-btn.active {
    border-color: #f96; background: #fff4ec; color: #d65600;
}
/* --- S 사이즈 전용 모드 --- */

.month-box.size-s {
    gap: 4px;      /* 간격 축소 */
    padding: 3px;  /* 패딩 축소 */
    max-width: 810px; /* (선택사항) 전체 너비도 줄이고 싶을 경우 */
}

.month-bar.size-s {
    height: 6px;   /* 상단 바 높이 조절 */
    max-width: 810px;
}

.month-btn.size-s {
    width:62px;
    padding: 2px 2px; /* 버튼 내부 여백 축소 */
    font-size: 12px;  /* 글자 크기 축소 */
}
.w20 { width:20px; }
.w25 { width:25px; }
.w30 { width:30px; }
.w40 { width:40px; }
.w41 { width:41px; }
.w45 { width:45px; }
.w50 { width:50px; }
.w55 { width:55px; }
.w60 { width:60px; }
.w65 { width:65px; }
.w70 { width:70px; }
.w76 { width:76px; }
.w80 { width:80px; }
.w84 { width:84px; }
.w90 { width:90px; }
.w96 { width:96px; }
.w100 { width:100px; }
.w102 { width:102px; }
.w110 { width:110px; }
.w120 { width:120px; }
.w130 { width:130px; }
.w140 { width:140px; }
.w150 { width:150px; }
.w160 { width:160px; }
.w165 { width:165px; }
.w170 { width:170px; }
.w180 { width:180px; }
.w190 { width:190px; }
.w200 { width:200px; }
.w210 { width:210px; }
.w220 { width:220px; }
.w230 { width:230px; }
.w232 { width:232px; }
.w240 { width:240px; }
.w260 { width:260px; }
.w270 { width:270px; }
.w280 { width:280px; }
.w290 { width:290px; }
.w300 { width:300px; }

.w304 { width:304px; }

.w352 { width:352px; }
.w360 { width:360px; }

.h25 { height:25px; }
.h26 { height:26px; }
.h28 { height:28px; }
.h30 { height:30px; }
.h40 { height:40px; }
.h50 { height:50px; }
.h80 { height:80px; }
.bold{	font-weight: bold;}

.notojp{	font-family:'Noto Sans JP';    }
.roboto {	font-family:'Roboto';    }

.notomono {font-family: 'Noto Sans Mono', monospace;}




/* 크롬, 엣지 등 */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


    /* 공통 dialog */
.dlg {
    padding: 0;
    border: 0;
    border-radius: 5px;
    overflow: hidden;
    max-width: 98vw;
    max-height: 92vh;
}

/* 공통 backdrop */
.dlg::backdrop {
    background: rgba(0,0,0,0.6);
}

/* 공통 iframe */
.dlg_iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

  .custom-modal { overflow: hidden;padding:0; margin:auto; border:none; border-radius:8px; box-shadow: 0 0 20px rgba(0,0,0,0.3); width:420px; height:720px; }
    .custom-modal::backdrop { background: rgba(0, 0, 0, 0.5); }
    .modal-iframe { border: none; width:100%; height:100%; }

.flatpickr-calendar,
.flatpickr-calendar.open {
    animation: none !important;
    transition: none !important;
}

/* 달력 전체 크기 축소 */
.flatpickr-calendar {
    transform: scale(0.8);
    transform-origin: top left;   /* 뜨는 기준점 */
}
.flatpickr-calendar {
    font-size: 18px;              /* 전체 글자 크기 */
}
.flatpickr-months .flatpickr-month {
    height: 40px;                 /* 상단 월/연도 바 높이 */
}

input[type="date"]:invalid::-webkit-datetime-edit,
input[type="date"][value=""]::-webkit-datetime-edit {
    color: transparent;
}
input[type="date"]:focus::-webkit-datetime-edit {
    color: inherit;
}

.ipchulbtn {
    background: #fff;
    color: #0066cc;
    border: 1px solid #0066cc;
    border-radius: 3px;
    font-size: 11px;
    padding: 3px 4px;
    margin: 0 1px; /* 좌우 2px 마진 추가 */
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
}
.ipchulbtn:hover {
    background: #0066cc;
    color: #fff;
}

.prodbtn {
    background: #fff;
    color: #7b1fa2;
    border: 1px solid #7b1fa2;
    border-radius: 3px;
    font-size: 11px;
    padding: 3px 4px;
    margin: 0 1px; /* 좌우 2px 마진 추가 */
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
}
.prodbtn:hover {
    background: #7b1fa2;
    color: #fff;
}
.regbtn {
    background: #fff;
    color: #00897b;
    border: 1px solid #00897b;
    border-radius: 3px;
    font-size: 11px;
    padding: 3px 4px;
    margin: 0 1px; /* 좌우 2px 마진 추가 */
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
}
.regbtn:hover {
    background: #00897b;
    color: #fff;
}
.regbtn.done {
    background: #e0f2f1;
    color: #004d40;
    border-color: #004d40;
    font-weight: bold;
}

