/* common */
a{
	color: inherit;
}
.wrap {
	min-width: 320px;
    height: 100%;
    overflow: hidden;
	height: 100dvh;
    /* min-height: 1080px; */
}
.nav {
    height: 60px;
    display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: space-between; align-items: center;
    justify-content: space-between;
    padding: 0 20px 0 20px;
	background-color: var(--color-primary); position: relative;
}

.logo {
    width: 204px;
}

.logo h1{
	width: 100%; height: 100%;
}

.logo a {
    width: 100%;
    height: 100%;
    display: block;
}
.logo a img{
	width: 100%; display: block;
}
header .users {
	margin-top: 10px;
}
header .user-menu{
	width: 140px;
	background-color: var(--color-bg-white);
	position: absolute; right: 0; top: 60px; box-shadow: -1px -1px 10px rgba(0,0,0,0.3);
	display: none; z-index: 1000;
}
header .user-menu.opened{
	display: block;
}
header .user-menu .btn{
	border-top: 1px solid var(--color-border-default);
	width: 100%; height: 40px; border-radius: 0;
}
header .users-info{
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: center;
	gap: 10px;
}
/* 세션 타이머 */
header .users .session-timer{
	height: 20px; line-height: 20px;
	background-color: var(--color-bg-surface); border-radius: var(--radius-pill);
	color: var(--color-text-default); padding: 0 5px; font-size: 13px;
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: center;
	gap: 2px;
}
header .users .session-timer::before{
	content: ""; width: 16px; height: 16px; display: block; background-color: var(--color-text-default);
	mask-image: url("/img/clock.svg"); mask-repeat: no-repeat; mask-position: center center; mask-size: contain;
}
header .users .session-timer.warning {
	color: var(--color-text-danger);
	font-weight: bold;
}
.btn-user{
	color: var(--color-text-inverse);
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: center; align-items: center; gap: 2px;
}
.btn-user::before{
	content: ""; width: 20px; height: 20px; display: inline-block;
	mask-image: url("/img/users.svg"); mask-repeat: no-repeat; mask-position: center center; mask-size: contain;
	background-color: var(--color-bg-white);
}


.body_wrap {
    height: calc(100% - 60px);
    display: flex;
    flex-direction: row;
}

.gnb {
    z-index: 300; width: 240px;
    height: auto;
    position: relative; flex-shrink:0;
	background-color: var(--color-bg-onSurface);
	display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch;
}

.gnb_title{
	height: 60px; background-color: var(--color-bg-priramy-active); text-align: center;
	flex-shrink: 0;
}

.gnb_title h2{
	font-size: 24px; line-height: 60px; color: var(--color-text-inverse); font-weight: bold;
}

.gnb_title .gnb-close{
	display: none;
}

.gnb_list{
	overflow-y: auto; flex-grow: 1;
}
.gnb_list button{
	outline: none;
}
.gnb_list::-webkit-scrollbar{
	width: 10px; background: var(--color-bg-onSurface);
}
.gnb_list::-webkit-scrollbar-thumb {
    background-color: var(--color-bg-nav-scroll); border-radius: 10px; background-clip: padding-box;
	border: 3px solid transparent;
  }
.gnb_list::-webkit-scrollbar-track {
    background-color: var(--color-bg-onSurface); border-radius: 10px;
}

.gnb_head {
    width: 100%;
    height: 50px;
    color: var(--color-text-nav);
    font-size: 14px;
    font-weight: 500;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border-default);
}

.gnb_head::after {
    width: 18px;
    height: 18px;
    content: "";
    display: block;
    transform: rotate(180deg);
    margin: auto 0;
	mask-image: url("../img/arrow-down.svg"); mask-repeat: no-repeat; mask-position: center center; mask-size: contain;
	background-color: var(--color-icon-nav); transform: none;
}
.gnb_head.on {
    color: var(--color-text-nav-active);
}
.gnb_head.on + .gnb_body{
	display: block;
}
.gnb_head.on::after {
	transform: rotate(180deg);
}

.gnb_body {
    border-bottom: 1px solid var(--color-border-default);
	background-color: var(--color-bg-nav-sub);
	display: none;
}
.gnb_body ul {
    padding: 5px 25px;
    margin: 0;
}
.gnb_body ul li a {
    color: var(--color-text-nav-sub);
    font-size: 14px; font-weight: 500; padding: 10px 0; display: block;
}
.gnb_body ul li a.on {
    color: var(--color-text-nav-active-sub);
}

/* 메인 */
.main-content {
    display: grid; grid-auto-columns: 2fr 1fr; gap: 20px;
    width: 100%; height: auto;
}
.main-box {
    width: 100%; height: auto; padding: 10px 20px 23px; min-width: 0;
    border: 1px solid var(--color-border-default); border-radius: 10px;
}

.main-box .summary-panel {
    display: flex; justify-content: space-between; gap: 20px; margin-bottom: 20px;
}
.main-box .summary-panel .panel {
    width: calc(100% / 2); height: 100%;
}

.main-box .summary-panel-item {
    border: 1px solid var(--color-border-default); border-radius: 10px;
    background-color: var(--color-bg-surface); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    display: flex; gap: 15px; justify-content: space-around;
    padding: 25px;
}
.main-box .summary-panel-it:focus {
    border: 1px solid var(--color-primary);
}

.main-box .summary-panel-item .summary-panel-list {
    text-align: center; 
	/*cursor: pointer;*/
    color: var(--color-text-default);
    font-size: 13px; display: flex;
    flex-direction: column; gap: 5px;
}
.main-box .summary-panel-item .summary-panel-list .value {
    font-size: 18px; font-weight: 700;
}

.main-box .tbl-full {
    height: 100%;
}

.main-box .tbl-column2:first-child {
    padding-top: 0px;
}

.main-box .tbl-custom > table > tbody > tr > td {
    cursor: pointer;
}

.main-box.intranet .tbl-custom > table > tbody > tr > td {
    cursor: default;
}

.txt-blue {
    color: var(--color-primary);
	cursor: pointer;
}

/* 컨텐츠 공통 */
.content {
    width: 100%; height: 100%;
    position: relative;
    overflow: auto;
	padding: 20px 30px;
}

.content_header {
	height: 40px;
    border-bottom: 1px solid var(--color-border-default);
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    flex-direction: column;
    position: relative; padding-bottom: 10px;
}

.content_header .header_line {
    display: flex;
    justify-content: space-between;
}

.content_title {
    color: var(--color-text-default);
    font-size: 18px;
    font-weight: 700;
}


.scroll-bullet-wrap {
    padding-top: 30px;
}
.scroll-bullet-wrap .title-bullet {
    padding-bottom: 10px;
}

.title-bullet{
    min-width: 100px;
	font-weight: 500; color: var(--color-text-default); font-size: 14px; position: relative; padding-left: 10px;
}
.title-bullet::before{
	content: ""; width: 3px; height: 15px; display: block;
	position: absolute; left: 0; top: 2px; background-color: var(--color-bg-point);
}

.table-gnb {
    width: 100%;
    height: calc(100% - 60px);
}

.table-gnb_list_head {
    width: 100%;
    display: block;
    color: var(--color-text-default);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 20px;
    height: 35px;
    background: var(--color-bg-grid-head);
}

.table-gnb_list_body {
    padding: 10px 30px;
}

.table-gnb_list {
    width: 100%;
    display: block;
    color: var(--color-text-label);
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 3px;
}

.table-gnb_list:last-child {
    margin-bottom: 0;
}

.table-gnb_list.on {
    color: var(--color-text-default);
    font-size: 12px;
    font-weight: 500;
}



.report {
    color: var(--color-text-default);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    padding-bottom: 0;
}

.comment_title {
    color: var(--color-text-default);
    font-size: 16px;
    font-weight: 500;
    padding: 20px 0 15px 0;
}

.comment {
    width: 100%;
    background: var(--color-bg-onSurface);
    padding: 15px 20px;
    position: relative;
}

.comment_box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-bottom: 1px solid var(--color-border-default);
    padding-top: 15px;
    padding-bottom: 15px;
    position: relative;
}

.comment_box:first-child {
    padding-top: 0;
}

.comment_box .nickname {
    color: var(--color-text-default);
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}

.comment_box .comment_text {
    color: var(--color-text-default);
    font-size: 12px;
    font-weight: 400;
    margin: 0;
}

.comment_text-box {
    display: flex;
    justify-content: space-between;
}

.comment_more {
    background: url(../img/more.svg);
    width: 24px;
    height: 24px;
    position: absolute;
    right: 0;
    cursor: pointer;
}

.comment_more-box {
    background: url(../img/comment_more-bg.svg);
    width: 65px;
    height: 104px;
    top: -35px;
    position: absolute;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
    z-index: 9;
}

.comment_box .comment_day {
    color: var(--color-text-default);
    font-size: 11px;
    font-weight: 400;
}

.comment_box.on {
    background: var(--color-bg-onSurface);
    padding-bottom: 50px;
}

.comment_box.on .under {
    width: 24px;
    height: 24px;
    background: url(../img/under.svg);
    display: inline-block;
    position: absolute;
    left: 12px;
}

.comment_box.on .input_text_in {
    background: var(--color-bg-white);
    height: 100px;
    margin-left: 45px;
    color: var(--color-text-default);
    font-size: 12px;
    font-weight: 400;
    padding-left: 3px;
    margin-right: 20px;
}

.input_text_out {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border-default);
    height: 100px;
    margin-bottom: 35px;
}

.content_body{
	padding-top: 10px; flex: 1 1 auto; min-height:0; height: calc(100% - 40px);
	display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch;
	flex-shrink: 1;
}

.content_body.scroll {
    height: auto;
}

.color-primary{
	color: var(--color-text-primary) !important;
}
.color-blue{
	color: var(--color-text-blue) !important;
}
.color-danger{
	color: var(--color-text-danger) !important;
}

/*
.tbl-top + div{
	flex-grow: 1;
}
*/

/* Btns wrap */
.btns{
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: space-between; align-items: center;
	margin-top: 10px;
}
.btns-left{
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: flex-start; align-items: center; gap: 5px;
	flex-grow: 1;
}
.btns-right{
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: flex-end; align-items: center; gap: 5px;
	flex-grow: 1;
}

/* Table grid */
.tbl-top{
	min-height: 28px;
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: space-between; align-items: center;
	margin-bottom: 10px;
}
.tbl-top-left{
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: flex-start; align-items: center; gap: 5px;
	flex-grow: 1;
}
.tbl-top-right{
	display: flex; flex-direction: row; flex-wrap: wrap; align-content: flex-start; justify-content: flex-end; align-items: center; gap: 5px;
	flex-grow: 1;
}
.tbl-top-legend p{
	display: inline-block; position: relative; padding-left: 20px;
	font-size: 13px; margin-right: 10px;
}
.tbl-top-legend p::before{
	content: ""; width: 12px; height: 12px; display: block;
	position: absolute; left: 0; top: 50%; transform: translateY(-50%);
	background-color: var(--color-bg-grid-legend); border: 1px solid var(--color-border-disabled);
}

.tbl-top-release p{
	display: inline-block; position: relative; padding-left: 20px;
	font-size: 13px; margin-right: 10px;
}
.tbl-top-release p::before{
	content: ""; width: 12px; height: 12px; display: block;
	position: absolute; left: 0; top: 50%; transform: translateY(-50%);
	background-color: var(--color-bg-grid-release); border: 1px solid var(--color-border-disabled);
}


/* 그리드 */
.tbl-full {
    width: 100%; flex: 1 1 auto; min-height: 0;
    height: calc(100% - 38px);
    position: relative;
}
.tbl-full .tbl-wrap {
    width: 100%; /*height: calc(100% - 90px); */
}
.tbl-full .tbl-wrap:has(.tui-pagination){
	height: calc(100% - 40px);
}
.tbl-full .tbl-wrap:has(.tui-pagination):has(.tbl-top){
	height: calc(100% - 90px);
}
.tbl-full .tbl-wrap:has(.tbl-top){
	height: calc(100% - 40px);
}

.tbl-full.type02 .tbl-wrap {
    width: 100%; height: calc(100% - 70px);
}


.tbl-row2{
	display: flex; flex-direction: column; gap: 20px;
}
.tbl-row2 > .tbl-full {
    width: 100%; height: calc(50% - 10px); min-height: 0;
}

.tbl-row2 > .tbl-full:has(> .tbl-column2) {
    padding-bottom: 0px;
}

.content_body:has(.tbl-row3){
    height: auto;
}


.tbl-row3 > .tbl-full {
    width: 100%; height: 300px; min-height: 0;
	margin-top: 20px;
}
.tbl-row3 > .tbl-full:first-of-type{
	margin-top: 0;
}

.content_body:not(:has(> .search-box)) > .tbl-full:not(:has(.tbl-full)) > .tbl-wrap:has(.title-bullet),
.search-box + .tbl-full:not(:has(.tbl-full)) .tbl-wrap {
    height: calc(100% - 90px);
}
.search-box + .tbl-full:not(:has(.tbl-full)) .tbl-wrap > .grid  {
    height: calc(100% - 50px);
}

.tbl-wrap:not(:has(> .tbl-total)){
    height: calc(100% - 40px);
}
.tbl-wrap:has(.tbl-registration) {
    height: calc(100% - 40px);
}
.tbl-full.type03 .tbl-column2 {
    height: calc(100% - 40px);
}
.tbl-wrap > .grid {
    flex:1; display: flex; flex-direction: column;
    height: 100%; width: 100%; min-height: 0; 
}

.tbl-column2 {
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: stretch;
	gap: 20px; height: calc(100% - 10px);
}
.tbl-column2-left{
	width: 320px; flex-shrink: 0;
}
.tbl-column2-right{
	flex-grow: 1; overflow: hidden;
}
.tbl-column2-half{
    flex-grow: 1; overflow: hidden; width: 50%; height: 100%;
}
.tbl-column2-half .tbl-wrap {
    height: calc(100% - 50px);
}

.tbl-full.type03 .tbl-column2-half .tbl-wrap {
    height: calc(100% - 5px);
}

.tbl-wrap .tbl-total{
    position: absolute; font-size: 14px; bottom: 20px;
    left: 0px;
}

.grid-btns{
	padding-top: 10px;
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: space-between; align-items: center;
}
.grid-btns-right{
	flex-grow: 1;
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: flex-start; align-items: center; gap: 5px;
}
.grid-btns-right{
	flex-grow: 1;
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: flex-end; align-items: center; gap: 5px;
}

.grid-detail table{
	min-width: 100%;
}
.grid-detail table tr th,
.grid-detail table tr td{
	border: 1px solid var(--color-border-default); padding: 10px 15px;
}
.grid-detail table tr:first-child th,
.grid-detail table tr:first-child td{
	border-top: 1px solid var(--color-border-strong);
}
.grid-detail table tr th{
	width: 180px; background-color: var(--color-bg-grid-head); font-weight: 500; font-size: 13px; text-align: left;
}
.grid-detail table tr td{
	font-weight: normal; font-size: 13px;
}
.grid-detail table tr td .writing{
	line-height: 1.6; min-height: 200px; max-height: 400px; overflow: auto;

}
.grid-detail table .editor{
	padding: 0; border: none;
}


/* 상세테이블 */
.tbl-detail{
	font-size: 13px; border: 1px solid var(--color-border-default); border-top: 1px solid var(--color-border-strong);
	background-color: var(--color-border-default);
	display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; gap: 1px;
	/*
	display: grid; grid-template-columns: repeat(3, 1fr);
	*/
}
.tbl-detail > dl{
	width: calc(50% - 0.5px); min-height: 40px;
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; gap: 1px;

}
.tbl-detail > dl > dt,
.tbl-detail > dl > dd{
	padding: 5px 8px;
}
.tbl-detail > dl > dt{
	width: 120px; background-color: var(--color-bg-grid-head);
	font-weight: 500; flex-shrink: 0; display: flex; align-items: center;
}
.tbl-detail > dl > .required::after{
	content: ""; display: inline-block; margin-left: 5px; background: var(--color-bg-danger);
	width: 5px; height: 5px; border-radius: var(--radius-pill); position: relative; top: -4px;
}
.tbl-detail > dl > dd{
	background-color: var(--color-bg-white); flex-grow: 1; display: flex; flex-wrap: wrap; align-items: center;
	position: relative;
}
.tbl-detail > dl > dd textarea{
	width: 100%;
}
.tbl-detail > .tbl-detail-column3-1{
	width:  33.4%;
}
.tbl-detail > .tbl-detail-column3-2{
	width: 66.6%;
}
.tbl-detail > .tbl-detail-column2-1{
	width: 100%;
}
.tbl-detail > .tbl-detail-column2 dd{
    width: 100%;
}

.file_lists{
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: flex-start; align-items: center; gap: 10px;
}
.file_lists .file_top{
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: flex-start; align-items: center; gap: 5px;

}
.file_lists .file_left{
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: flex-start; align-items: center; gap: 5px;
}
.file_lists .file_right{
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: flex-start; align-items: center; gap: 5px;
}
.file_lists .file_volume p{
	display: inline-block;
}
.file_lists .label-ui{
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: flex-start; align-items: center;
}
.file_lists + .file_add{
	padding-top: 10px;
}

/* 테이블 */
.tbl-custom-wrap {
    width: 100%; height: 100%; display: flex;
    flex-direction: row;
}
.tbl-custom-wrap > .tbl-custom:last-child {
    border-left: 1px solid var(--color-border-strong);
}
.tbl-custom {
    width: 100%; border-top: 1px solid var(--color-border-strong);
	overflow-x: auto;
}
.tbl-custom > table {
    width: 100%; border-collapse: collapse;
}
.tbl-custom > table.fixed {
    min-width: 800px;
}
.tbl-custom > table > thead > tr{
    border: 1px solid var(--color-border-default); border-top: 0;
}
.tbl-custom > table > thead > tr > th {
	height: 35px; 
    border-right: 1px solid var(--color-border-default); min-width: 50px;
    background-color: var(--color-bg-grid-head); font-size: 13px; color: var(--color-text-default); font-weight: 500;
}
.tbl-custom > table > tbody > tr > th {
    width: 120px;
}
.tbl-custom > table > tbody > tr > th, 
.tbl-custom > table > tbody > tr > td {
    height: 35px; padding: 5px 8px; font-weight: 400; font-size: 13px; color: var(--color-text-default); border: 1px solid var(--color-border-default);
}
/*.tbl-custom > table > tbody > tr > td {*/
/*    font-weight: 400; border: 1px solid var(--color-border-default);*/
/*}*/

.tbl-custom > table > tbody > tr > th,
.tbl-custom > table > tbody > tr > th {
    background-color: var(--color-bg-grid-side-head); border: 1px solid var(--color-border-default);
}

.tbl-custom table .border-strong {
    border-left: 1px solid var(--color-border-strong);
}


/* B2B 주문내역등록 테이블 */
.tbl-registration{
	display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch;
	gap: 1px; border: 1px solid var(--color-border-default);
	background-color: var(--color-border-default);
}
.tbl-registration .tbl-registration-row{
	display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr 60px; align-items: stretch; text-align: center;
	gap: 1px;
}
.tbl-registration .tbl-registration-head{
	font-weight: 500; font-size: 13px; color: var(--color-text-default);
}
.tbl-registration .tbl-registration-row > div{
	display: flex; justify-content: center; align-items: center;
}
.tbl-registration .tbl-registration-head .tbl-registration-row > div{
	background-color: var(--color-bg-grid-head); height: 40px;
}
.tbl-registration .tbl-registration-body{
	display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch;
	gap: 1px;
}
.tbl-registration .tbl-registration-body .tbl-registration-row > div{
	padding: 10px; background-color: var(--color-bg-surface);
}
.tbl-registration .tbl-registration-body .tbl-registration-row > div .btn-input,
.tbl-registration .tbl-registration-body .tbl-registration-row > div .datepicker,
.tbl-registration .tbl-registration-body .tbl-registration-row > div input{
	width: 100%;
}


/* 검색테이블 */
.search-box{
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch;
	gap: 10px; margin-bottom: 10px; flex-shrink: 0; position: relative;
	background-color: var(--color-bg-search); border: 1px solid var(--color-border-default); border-radius: var(--radius-control);
	padding: 10px 10px 10px 20px; flex: 0 0 auto; line-height: 28px;
}
.search-box .search-box-form{
	display: flex; flex-direction: row; flex-wrap: wrap; align-content: flex-start; justify-content: flex-start; align-items: center;
	column-gap: 2%; row-gap: 10px; color: var(--color-text-default);
	flex-grow: 1;
}
.search-box .search-box-form dl{
	display: flex; flex-direction: row; flex-wrap: nowrap; align-content: flex-start; justify-content: flex-start; align-items: center;
	gap: 15px;
}
.search-box .search-box-form dl dt{
	font-size: 13px; font-weight: 500; flex-shrink: 0;
	white-space: nowrap;
}
.search-box .search-box-form dl dd{
	flex-grow: 1; min-width: 0;
}
.search-box .search-box-btn{
	width: 120px;
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-end; align-items: flex-start; gap: 5px;
	flex-shrink: 0;
}
.search-box .search-box-form:has(.break){
	row-gap: 0;
}
.search-box .search-box-form .break{
	flex-basis: 100%; height: 10px;
}
.search-box .search-box-options{
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 5px;
	flex-grow: 1; 
}

.search-box .search-box-form2{
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 40px;
}
.search-box .search-box-form2 > dl{
	display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 15px;
}
.search-box .search-box-form2 > dl > dd{
	min-width: 0;
}
.search-box .search-box-form2 > dl > dd > input[type="text"],
.search-box .search-box-form2 > dl > dd > select{
	width: 100%;
}
.search-box .search-box-form2 > dl > dd .range-input{
	width: 100%; min-width: 280px;
}


.flex-row{
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: center;
}
.gap10{
	gap: 10px;
}
.gap40{
	gap: 40px;
}

/* 필수값 */
.req::after{
    content: "*"; color: var(--color-bg-danger);
    margin-left: 3px; margin-top: -3px;
}


/* login */
.login-wrap {
    width: 100%;
	min-width: 320px;
    height: 100dvh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.login-bg {
    width: 100%;
    padding: 30px;
    display: flex; align-items: center;
    justify-content: center;
}
.login-content {
    width: fit-content;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-content .login-logo {
    width: 100%;
}

.login-content .login_box {
    width: 500px;
    background: var(--color-bg-surface);
    border-radius: 20px;
    padding: 40px 55px;
    position: relative; display: flex;
    flex-direction: column;
    align-items: center;
}
.login-content .login-type {
    font-weight: 700; font-size: 30px; color: var(--color-text-black);
    padding-bottom: 35px; width: 100%;
}

.login-content .login {
    width: 100%;
}
.login .box {
    margin-bottom: 10px;
    position: relative;
}
.login .box label {
    color: var(--color-text-nav);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
}

.login .box input {
    width: 100%;
    border-radius: var(--radius-control);
    border:  1px solid var(--color-border-control-default);
    padding: 18px 5px;
    margin-top: 5px;
}

.login-members{
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-end; align-items: stretch; gap:15px;
}
.eye.close {
    width: 16px;
    height: 16px;
    background: url(../img/close_eye.svg);
    position: absolute;
    bottom: 10px;
    right: 8px;
    cursor: pointer;
}

.eye.open {
    background: url(../img/eye.svg);
}
.join-top {
    display:flex; justify-content: space-between;
}
.login-back {
    border: 1px solid var(--color-border-default);
    width: fit-content;
    padding: 5px 10px;
    border-radius: 20px; height: 30px;
    font-size: 13px;
    color: var(--color-text-default);
    cursor: pointer;
}
.login-back:hover {
    border: 1px solid var(--color-border-active);
}
.login-back a {
    display: flex;
    gap: 5px;
}
.login-back img {
    width: 15px;
}

.box:last-child {
    background: var(--color-primary);
    text-align: center;
    border-radius: 5px;
    margin-top: 30px;
    /*padding: 17px 0;*/
    height: 56px;
}

.box:last-child button {
    color: var(--color-text-white);
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    line-height: 56px;
}

.help {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    align-items: center;
}
.help a {
    font-size: 13px;
    font-weight: 700;
}
.help a:hover{
	text-decoration: underline;
}

.help .label-ui span {
    white-space: nowrap;
}

/* b2b */
.b2b .login-bg {
    background: url("../img/b2b-login-bg.jpg") no-repeat;
    margin-top: 49px;
    height: 620px;
    display: flex;
    background-position: top 40px center;
    background-size: cover;
}
.b2b .login-content {
    margin-top: -18px;
}
.b2b .login-content .login-logo {
    margin-bottom: 50px;
}
.b2b .login-content .login-logo .logo {
    background: url("../img/logo-vertical-blue.png") left no-repeat;
    width: 100%;
    height: 39px;
    background-size: contain;
}

.b2b p {
    font-size: 16px; font-weight: 400; color: var(--color-text-white);
    text-align: center; padding: 15px 0 0;
}
.b2b .login-text {
    font-size: 14px; font-weight: 400;
    padding: 10px 0 35px 0;
}

/* intranet */
.intranet .login-bg {
    background: url("../img/intranet-login-bg.jpg") center no-repeat;
    background-size: cover;
    height: 100dvh;
}

.intranet .login-content {
    margin-top: 0;
    justify-content: center;
}
.intranet .login-content .login-logo {
    margin-bottom: 50px;
}
.intranet .login-content .login-logo .logo {
    background: url("../img/logo-vertical.png") left no-repeat;
    width: 100%;
    height: 39px;
    background-size: contain;
}

.intranet p {
    font-size: 16px; font-weight: 400; color: var(--color-text-white);
    text-align: center; margin-top: 15px; margin: 15px 0;
}
.intranet .login-text {
    font-size: 14px; font-weight: 400; color: var(--color-text-white);
    position: absolute; left: 70px; bottom: 30px; margin: 0;
}



/* Join */
.join-wrap{
	width: 100%; min-width: 320px; height: 100dvh; position: relative;
	background-color: var(--color-bg-onSurface); overflow-y: auto;
}
.join-wrap .join{
	width: 480px;
	background-color: var(--color-bg-surface); border-radius: var(--radius-surface); padding: 30px 40px;
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -48%);
	font-size: 14px; color: var(--color-text-default);
}
.join-wrap .join .logo{
	position: absolute; left: 0; top: -40px;
	width: 180px;
}
.join-wrap .join .logo img{
	width: 100%; display: block;
}
.join-wrap .join h2{
	font-size: 1.4rem; font-weight: bold; color: var(--color-text-black); margin-bottom: 20px;
}
.join__form dl{
	margin-bottom: 20px;
	display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch;
	gap: 2px;
}
.join__form dl dt{
	font-weight: 500; color: var(--color-text-black); font-size: 14px;
}
.join__form dl dd{
	display: flex; flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch;
	gap: 5px; position: relative;
}
.join__form dl dd input{
	width: 100%;
}
.join__form dl dd .join__id{
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: center;
	gap: 5px;
}
.join__form dl dd .join__id input{
	flex-grow: 1;
}
.join__form dl dd .join__id .btn{
	flex-shrink: 0;
}
.join__form dl dd p{
	font-size: 12px; font-weight: normal; color: var(--color-text-label);
	position: absolute; left: 0; top: calc(100% + 2px); line-height: 120%;
}
.join__form dl dd .join__mail{
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: center; 
	gap: 5px;
}
.join-wrap .join__form dl dd .join__mail input,
.join-wrap .join__form dl dd .join__mail select{
	flex-grow: 1;
}
.join-wrap .join__form .btn-join{
	width: 100%; height: 46px; text-align: center; justify-content: center;
	font-size: 16px; font-weight: 500; margin-top: 20px;
}

.address-find{
	width: 100%;
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: center;
	gap: 5px; margin-bottom: 5px;
}
.address-find input[type="text"]{
	flex-grow: 1;
}
.address-find .btn{
	flex-shrink: 0;
}

/* 에러페이지 */
.error-wrap {
    width: 100%; height: 100dvh; padding: 20px;
}
.error-box {
    width: 100%; height: 100%; display: flex;
    justify-content: center; align-items: center; flex-direction: column;
}
.error-code-bg {
    width: 100%; background: url(../img/error.png) center no-repeat;
    height: 300px; background-size: contain; display: flex; align-items: center;
    justify-content: center; position: relative;
}
.error-code {
    font-size: 50px; font-weight: 700; color: var(--color-text-nav);
}

.error-message {
    font-size: 16px; margin: 10px 0; color: var(--color-text-nav); text-align: center;
}
.error-btn {
     display: flex; margin-top: 30px;
     justify-content: center;
     align-items: center;
}

.error-btn .btn {
    height: 40px;
    padding: 0 30px;
}

/* 레이어팝업 각 페이지 커스텀 */
.fileattachmentPopup {
	width: 500px;
}

/* 자금일보 - 자금일보 모달 */
.intranet-capital-layer .tbl-detail > .tbl-detail-column2-1 > dt:first-child {
	width: 125px;
}
.intranet-capital-layer .tbl-detail > .tbl-detail-column2-1 > dt,
.intranet-capital-layer .tbl-detail > .tbl-detail-column2-1 > dd {
	width: calc((100% - 125px)/2); flex-shrink: 1;
}
.intranet-capital-layer .tbl-detail-column2-1 > dt {
    font-size: 0;
}
.intranet-capital-layer .tbl-detail-column2-1:first-child > dt , .intranet-capital-layer .tbl-detail-column2-1 .view-tit {
    font-size: 13px; position: relative;
}
.intranet-capital-layer .tbl-detail-column2-1 .view-tit:before {
    content:""; width: 100%; height: 5px;
    background: var(--color-bg-grid-head); position: absolute; top: -3px; left: 0;
}
.intranet-capital-layer .tbl-detail-column2-1 .view-tit:after {
    content:""; width: 100%; height: 5px;
    background: var(--color-bg-grid-head); position: absolute; bottom: -3px; left: 0;
}

/* 발주서 - 자재소요량 */
.intranet-purchase-layer .tbl-detail > dl > dd {
    width: 100%;
}

/* 사용자 관리 - 사용자 정보 수정 및 사용자정보수정 페이지 */
.tbl-detail dl .full {
    width: 100%; display: flex; gap: 5px; margin-bottom: 5px; justify-content: space-around;
}

.tbl-detail dl .full input {
    width: calc(100% - 79px);
}


/* OTP 발급 모달 */
.otp-guide ol{
	counter-reset: item;
}
.otp-guide ol > li{
	counter-increment: item; margin-bottom: 20px;
	position: relative; padding-left: 24px;
}
.otp-guide ol > li::before{
	width: 20px; height: 20px; display: block; line-height: 20px; font-size: 12px;
	content: counter(item); border-radius: var(--radius-pill); background-color: var(--color-bg-primary);
	color: var(--color-text-inverse); text-align: center;
	position: absolute; left: 0; top: 0; font-weight: bold; box-sizing: border-box;
}
.otp-guide ol > li > h3{
	font-size: 15px; font-weight: bold; color: var(--color-text-black);
}
.otp-guide ol > li > p{
	font-size: 13px; font-weight: normal; color: var(--color-text-default); margin-bottom: 10px;
}
.otp-guide .store-img{
	display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: flex-start;
	gap: 5px;
}
.otp-guide .store-img img{
	width: 120px;
}
.otp-guide .otp-key input{
	width: 300px;
}
.otp-info{
	border-top: 1px solid var(--color-border-default); padding-top: 20px; padding-left: 26px;
	position: relative;
}
.otp-info h3{
	font-size: 14px; font-weight: bold; color: var(--color-text-black); margin-bottom: 10px;
	position: relative;
}
.otp-info h3::before{
	content: "?"; width: 20px; height: 20px; display: block;
	position: absolute; left: -26px; top: 0; border-radius: var(--radius-pill);
	background-color: var(--color-bg-secondary); line-height: 20px; font-size: 12px; font-weight: bold;
	box-sizing: border-box; color: var(--color-text-inverse); text-align: center;
}
.otp-info ul{
	margin-top: 10px;
}
.otp-info ul > li{
	font-size: 13px; font-weight: normal; color: var(--color-text-default);
	padding-left: 10px; position: relative; margin-bottom: 5px;
}
.otp-info ul > li::before{
	content: ""; width: 4px; height: 4px; display: block;
	position: absolute; left: 0; top: 8px;
	background-color: var(--color-bg-secondary); border-radius: var(--radius-pill);
}

/* otp 입력 */
.layer-wrap.otp-input{
    max-width: 520px;
}
.otp-input-layer dl {
    display: flex; align-items: center; margin: 10px 0 15px;
}
.otp-input-layer dl dt {
	width: 100px;
	font-weight: 500; font-size: 14px; color: var(--color-text-default);
}

.otp-input-layer dl dd {
	width: calc(100% - 100px);
}

.layer-wrap.otp-input .layer-btn {
    justify-content: space-between;
}

.layer-wrap.otp-input .layer-btn.intranet {
    justify-content: end;
}

/* 결재라인 */
.approval-line-popup .layer-body {
    overflow-x: auto;
}
.approval-line-popup .layer-btn {
    width: 100%;
    display: flex;
    justify-content: end;
    column-gap: 5px;
    margin-top: 15px;
}

/* 품목검색 */
#itemSearchModal .layer-btn {
    margin-top: 55px;
}