/********************************************************************************
 * 페이지 기본 스타일
 */
html {
    width: 1915px;
    height: 100dvh;
    /* 폰트 */
    font-family: 'Pretendard Variable', sans-serif;
    font-variation-settings: 'wght' 300;
    font-size: 0.9rem;
    overflow: auto;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100dvw;
    height: 100dvh;
    overflow: auto;
}

.scroll-container {
    overflow-y: auto;
    scrollbar-color: #aaaaaa #dddddd;
}
.scroll-container::-webkit-scrollbar {
}
.scroll-container::-webkit-scrollbar-track {
}
.scroll-container::-webkit-scrollbar-thumb {
}
.scroll-container::-webkit-scrollbar-button {
}

.header {
    align-items: stretch;
    height: 30px;
    padding: 10px;
    border-bottom: 1px solid #dddddd;
}

.footer {
    align-items: stretch;
    height: 30px;
    padding: 10px;
    border-top: 1px solid #dddddd;
}

.body {
    align-items: stretch;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
}

.nav {
    align-items: stretch;
    width: 180px;
    padding: 10px;
    border-right: 1px solid #dddddd;
}

.section {
    align-items: stretch;
    flex-grow: 1;
    padding: 10px;
}

.required:before {
    content: '* ';
    color: #cc0000;
}

/********************************************************************************
 * 그리드 데이터 영역
 */
.form-group th {
    padding: 5px 10px;
    background-color: #eee;
    border-top: 1px solid #ddd;
    text-align: right;
    vertical-align: middle;
}
.form-group tr {
    height: 40px;
}
.form-group td {
    padding: 5px;
    border-top: 1px solid #ccc;
    vertical-align: middle;
    height: 100%;
}
.form-group tr:last-child th {
    border-bottom: 1px solid #ccc;
}
.form-group tr:last-child td {
    border-bottom: 1px solid #ccc;
}

/********************************************************************************
 * 테이블 데이터 영역
 */
.table-zone table {
    width: 100%;
}
.table-zone table > thead > tr {
    border-top: 1px solid #aaaaaa;
    border-bottom: 1px solid #aaaaaa;
    background-color: #dddddd;
    height: 30px;
}
.table-zone table > thead th {
    vertical-align: middle;
}
.table-zone table > tbody > tr {
    height: 32px;
}
.table-zone table > tbody > tr:nth-child(even) {
    background-color: #eeeeee;
}
.table-zone table > tbody > tr:last-child {
    border-bottom: 1px solid #aaaaaa;
}
.table-zone table > tbody > tr:hover {
    background-color: skyblue;
}
.table-zone table > tbody td {
    vertical-align: middle;
}
.table-zone .page-zone {
    display: flex;
    margin-top: 10px;
}

/********************************************************************************
 * 입력 컨트롤 기본 설정
 */
input, select, textarea {
    font-size: 0.9rem;
    border: 1px dashed #cccddd;
    border-radius: 5px;
    padding: 5px;
}
input[readonly] {
    font-size: 0.9rem;
    border-radius: 5px;
    padding: 5px;
    background-color: #efffff;
    border: 0;
    cursor: default;
}
input[disabled] {
    font-size: 0.9rem;
    border-radius: 5px;
    padding: 5px;
    background-color: #dddddd;
    color: #777777;
    border: 0;
}
input:focus {
    outline: none;
    border: 1px solid dodgerblue;
}
select:focus {
    outline: none;
    border: 1px solid dodgerblue;
}
textarea:focus {
    outline: none;
    resize: none;
    border: 1px solid dodgerblue;
}
input[type="checkbox"] {
    margin-right: 5px;
}
input[type="radio"] {
    margin-right: 5px;
}
input[type="checkbox"][readonly] {
    pointer-events: none;
}
input[type="radio"][readonly] {
    pointer-events: none;
}
input[type="checkbox"][readonly] + label {
    color: #777777;
    pointer-events: none;
}
input[type="radio"][readonly] + label {
    color: #777777;
    pointer-events: none;
}
input[type="checkbox"][disabled] + label {
    color: #777777;
    pointer-events: none;
}
input[type="radio"][disabled] + label {
    color: #777777;
    pointer-events: none;
}
input[readonly]:focus {
    border: 0 !important;
}
::-webkit-input-placeholder {
    color: #cccccc;
}
:-ms-input-placeholder {
    color: #cccccc;
}
:-ms-input-placeholder {
    color: #cccccc;
}
::placeholder {
    color: #cccccc;
}
::-moz-placeholder {
    color: #cccccc;
}
/* firefox spinner 제거 */
input[type="number"] {
    -moz-appearance: textfield
}
/* firefox 이외 spinner 제거 */
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 입력 컨트롤 전체영역 */
.full-control {
    width: calc(100% - 10px);
    height: 100%;
}

/* checkbox, radio 간격 */
.check-group input[type="checkbox"] + label {
    margin-right: 20px;
}
.radio-group input[type="radio"] + label {
    margin-right: 20px;
}

/********************************************************************************
 * 달력 input 조정
 */
.ui-datepicker-trigger, .ui-monthpicker-trigger {
    background-color: transparent !important;
    position: absolute !important;
    border: 0 !important;
    height: auto !important;
}

/********************************************************************************
 * 버튼
 */
button.bas {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    font-size: 1.1rem;
    height: 25px;
    background-color: #cccccc;
    color: #000000;
    border: 0;
    border-radius: 7px;
    padding: 0 15px;
    margin-right: 5px;
    cursor: pointer;
}
button.bas.fat {
    height: 35px !important;
}
button.bas.thin {
    font-size: 0.9rem;
    height: 20px !important;
}
button.bas.add {
    background-color: #0099ff;
    color: #ffffff;
}
button.bas.reg {
    background-color: #0000aa;
    color: #ffffff;
}
button.bas.sav {
    background-color: #0055ff;
    color: #ffffff;
}
button.bas.del {
    background-color: #880000;
    color: #ffffff;
}
button.bas.ath {
    background-color: #ffd000;
    color: #000000;
}

/* 버튼영역 */
.button-zone {
    width: 100%;
    height: 30px;
    padding: 5px 0;
}

/********************************************************************************
 * 탭메뉴
 */
.tab_wrap {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: 30px;
}
.tab_wrap input {
    display: none;
}
.tab_wrap .tab_menu_wrap {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: inherit;
    height: 25px;
    border-bottom: 1px solid #aaaaaa;
}
.tab_wrap .tab_menu_wrap label {
    display: inline-flex;
    width: 120px;
    height: 25px;
    justify-content: flex-start;
    align-items: center;
    padding-left: 5px;
    border-style: solid;
    border-color: #aaaaaa;
    border-width: 1px 0 0 1px;
    border-radius: 0 10px 0 0;
}
.tab_wrap .tab_menu_wrap label:first-child {
    margin-left: 10px;
}
.tab_wrap .tab_menu_wrap label:last-child {
    border-right-width: 1px;
}
.tab_wrap .tab_menu_wrap label.active {
    background-color: #dddddd;
}

/********************************************************************************
 * 조회영역
 */
.search-zone {
    width: calc(100% - 20px);
    border: 1px solid #cccccc;
    background-color: #eeeeee;
    padding: 10px;
    border-radius: 5px;
    
}

/********************************************************************************
 * 페이징
 */
.fa-angles-left, .fa-angle-left, .fa-angle-right, .fa-angles-right {
    cursor: pointer;
}
.page-zone i {
    cursor: pointer;
    color: #000000;
}
.page-zone i.off {
    color: #dddddd;
}