@charset "UTF-8";

/*=================================================================================
 * Common
 =================================================================================*/
body {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #000;
    line-height: 1.3;
    letter-spacing: 0px;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
}
a {
    color: #333;
    word-wrap: break-word;
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
}
a:hover {
    color: #2680fa;
}
h1 {
    font-size: 32px;
    font-weight: 700;
}

h2 {
    font-size: 26px;
    font-weight: 700;
}
h3 {
    font-size: 22px;
    font-weight: 700;
}
h4 {
    font-size: 18px;
    font-weight: 700;
}
h5 {
    font-size: 17px;
    font-weight: 600;
}

button:focus,
input:focus,
textarea:focus,
select:focus,
body:focus {
    outline: 1px solid #3069b3;
}
body input[type='text']:-webkit-autofill,
body input[type='text']:-webkit-autofill:hover,
body input[type='text']:-webkit-autofill:focus,
body input[type='text']:-webkit-autofill:active,
body input[type='text']:-webkit-autofill:focus-within,
body input[type='text']:-webkit-autofill:visited {
    /* -webkit-box-shadow:0 0 0 1000px #3069B3 inset !important;  */
    -webkit-text-fill-color: #3069b3 !important;
}
input[type='checkbox']:focus,
input[type='radio']:focus {
    outline: none;
}

/* Scroll */
::-webkit-scrollbar {
    width: 5px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background-color: #e2edff;
}
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #bac5d9;
}

/*=================================================================================
 * UI Style
 =================================================================================*/
/* Input */
input,
select,
textarea {
    font-family: 'Pretendard', sans-serif;
    width: 100%;
    height: 38px;
    line-height: 38px;
    padding: 0 10px;
    background-color: #fff;
    border: 1px solid #d5d7dc;
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1d;
    border-radius: 5px;
    vertical-align: middle;
    -moz-appearance: none;
    -webkit-appearance: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

input[readonly],
select[readonly],
textarea[readonly] {
    background-color: #f4f6fc !important;
    border: 1px solid #d5d7dc !important;
    color: #333333 !important;
    cursor: not-allowed;
}

input[type='text']:disabled,
input[type='search']:disabled,
input[type='password']:disabled,
input[type='tel']:disabled,
input[type='email']:disabled,
input[type='number']:disabled,
input[type='date']:disabled {
    background-color: #f5f5f5;
}

input[type='text']::placeholder,
input[type='search']::placeholder,
input[type='password']::placeholder,
input[type='tel']::placeholder,
input[type='email']::placeholder,
textarea::placeholder {
    color: #9da3b5;
    font-size: 15px;
    font-weight: 400;
}

input[type='number'] {
    padding-right: 0;
}

textarea {
    width: 100%;
    height: 120px;
    line-height: 1.3;
    padding: 10px;
    border-radius: 5px;
    color: #454545;
    vertical-align: baseline;
    -moz-appearance: none;
    -webkit-appearance: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    resize: none;
}
.textarea-box {
    position: relative;
}
.textarea-box .text-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 14px;
}

/* Input Text Clear */
.input-btnbox {
    display: flex;
    align-items: center;
    width: 100%;
}
.input-btnbox .input-clear {
    width: 100%;
}
.input-clear {
    position: relative;
    display: inline;
}
.btn-clear {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: none;
    width: 16px;
    height: 16px;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    background-color: #768391;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
}
/* Password Show/hide */
.password-showhide {
    position: relative;
    display: inline;
}
.btn-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
}

/* Select*/
select {
    width: 100px;
    background: url('/dgnfolder/images/ico-userdetail.svg') calc(100% - 10px) 50% no-repeat #fff;
}

.select-open {
    border: 1px solid #0481f9;
}

/* Radio Style */
.radio-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}
.radio-box li {
    display: flex;
    align-items: center;
    padding: 10px 0;
}
.radio-box label {
    margin-left: 10px;
    white-space: nowrap;
    line-height: 1;
}
input[type='radio'] {
    padding: 0;
    border: none;
    display: inline-block;
    position: relative;
    width: 15px;
    height: 20px;
    padding-left: 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
input[type='radio']:before {
    content: '';
    position: absolute;
    background-color: #fff;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    text-align: center;
    border: 1px solid #d5d7dc;
    border-radius: 100%;
}
input[type='radio']:checked:before {
    border: 1px solid #222222;
}
input[type='radio']:checked:after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    background: #222;
    border: 1px solid #222222;
    border-radius: 100%;
}
input[type='radio']:disabled:checked:before {
    border: 1px solid #ccc;
    background-color: #f5f6f8;
}
input[type='radio']:disabled:checked:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    background: #888;
    border-color: #888;
    border-radius: 100%;
}

/* Checkbox Style */
.check-box {
    position: relative;
    display: inline-flex;
    flex-flow: row wrap;
    align-items: center;
}
.check-box li {
    display: flex;
    align-items: center;
}
.check-box label {
    margin-left: 10px;
    margin-right: 20px;
    white-space: nowrap;
    line-height: 1;
}
input[type='checkbox'] {
    padding: 0 !important;
    border: none;
    width: auto;
    display: flex;
    background-color: inherit;
    align-items: center;
}
input[type='checkbox']:before {
    /* 가짜 체크박스 */
    content: ' ';
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    vertical-align: text-bottom;
}

input[type='checkbox']:checked:before {
    /* 체크박스를 체크했을때 */
    content: ' ';
    color: #fff;
    background: url('../images/icon/ico-chk.svg') #03428e no-repeat center;
    border-color: #03428e;
}
input[type='checkbox']:disabled:before {
    background: #e6e6e6;
    border-color: #c6c6c6;
}
input[type='checkbox']:disabled:checked:before {
    color: #acaeb7;
    background: url('../images/icon/ico-chk.svg') #c6c6c6 no-repeat center;
}

/* Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 22px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #858585;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: '';
    width: 18px;
    height: 18px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #0481f9;
}

/* Move the slider to the right */
input:checked + .slider:before {
    transform: translateX(26px);
}

/* Date */
.date-box {
    position: relative;
    display: flex;
    align-items: center;
}
.input-date,
input[type='date'],
input[type='datetime-local'],
input[type='month'].input-date,
input[type='text'].input-date {
    position: relative;
    min-width: 160px;
    background: url('../images/icon/ico-calendar.svg') no-repeat right 10px center;
    z-index: 1;
}

/* Input - search */
.srch-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.srch-box .input-srch {
    position: relative;
    width: 100%;
    min-width: 240px;
    height: 38px;
    padding: 5px 10px 5px 50px;
    background-color: #eeeef2;
    border: none;
    border-radius: 12px;
    color: #768391;
}
.srch-box .btn-srch {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 38px;
    background: url('../dgnfolder/images/btn-srch.svg') #eeeef2 no-repeat center;
    border-radius: 12px 0 0 12px;
    z-index: 9;
}

/*=================================================================================
 * Button
 =================================================================================*/
.btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 6px 24px;
    line-height: 36px;
    background-color: #fff;
    font-weight: 500;
    color: #007afd;
    border: 1px solid #007afd;
    border-radius: 5px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s;
    opacity: 1;
}
button:hover,
.btn:hover {
    background-color: #f7f9ff;
    border: 1px solid #007afd;
}
button:disabled,
.btn.disabled {
    background-color: #fff;
    border: 1px solid #b3b3b3;
    color: #b3b3b3;
    cursor: default;
}
button img,
.btn img {
    margin-right: 10px;
}

.btn-center-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}
button.l,
.btn.l {
    padding: 10px 42px;
    height: 56px;
    font-size: 18px;
}

.btn-blue {
    background-color: #007afd;
    color: #fff;
}
.btn-blue:hover {
    background-color: #0274ee;
}
.btn-blue.disabled {
    background-color: #e6e6e6;
    border: none;
    color: #b3b3b3;
}

.btn-login {
    display: inline-flex;
    padding: 9px;
    border: 1px solid #ddd;
    border-radius: 30px;
}
.list-table button,
.list-table .btn {
    height: 32px;
    line-height: 32px;
}

/*=================================================================================
 * Status Style
 =================================================================================*/
.sta-green {
    background: #e4f4ee;
    color: #14bf58;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    font-weight: 600;
    padding: 0px 16px;
    line-height: 32px;
    font-size: 15px;
}
.sta-blue {
    background: #e8f0fc;
    color: #3273e4;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    font-weight: 600;
    padding: 0px 16px;
    line-height: 32px;
    font-size: 15px;
}
.sta-orange {
    background: #fbf7e7;
    color: #ffab04;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    font-weight: 600;
    padding: 0px 16px;
    line-height: 32px;
    font-size: 15px;
}
.sta-red {
    background: #fde7ea;
    color: #f14d68;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    font-weight: 600;
    padding: 0px 16px;
    line-height: 32px;
    font-size: 15px;
}
.sta-gray {
    background: #eaedf0;
    color: #656e7e;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    font-weight: 600;
    padding: 0px 16px;
    line-height: 32px;
    font-size: 15px;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    h1 img {
        width: 120px;
    }
    .srch-box {
        position: fixed;

        top: 80px;
        left: 20px;
        right: 20px;
    }

    .btn-login {
        width: 65px;
        justify-content: center;
    }
}
