@charset "UTF-8";

/* ----basic style--- */
body {
    overflow-x: hidden;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    background-color: #FAFAFA;
}

.num {
    color: #1c1c1c;
    text-decoration: none !important;
    font-family: "Montserrat", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 600 !important;
}

.num b,
.num.bold,
.num.bold {
    font-weight: 600 !important;
}

p,
a,
li,
h3,
dt,
dd,
button,
label,
td,
th {
    color: #1c1c1c;
    text-decoration: none !important;
    font-family: 'NanumSquareAcr';
}

button {
    cursor: pointer !important;
}


a:focus,
a:hover {
    color: #1c1c1c;
}

b,
.bold {
    font-weight: bold;
}

input:focus {
    outline: none;
}

input::placeholder {
    color: #aaaaaa;
}

/* section {
    min-width: 1300px;
    
} */

.ml-21 {
    text-indent: -21px;
    margin-left: 21px;
}

.ml10 {
    margin-left: 10px;
}

.ml15 {
    margin-left: 15px;
}

.mt15 {
    margin-top: 15px;
}

.mt30 {
    margin-top: 30px;
}

.fs17 {
    font-size: 17px;
}

.fs18 {
    font-size: 18px !important;
}

.fs20 {
    font-size: 20px !important;
}


.fs33 {
    font-size: 33px;
}

.fs27 {
    font-size: 27px;
}

/* header style */

.wrap {
    width: 100%;
    background-color: #fff;
    max-width: 100%;
}

.container-fluid {
    width: 90%;
    height: 100%;
    margin: 0 auto;
}

.bg-body-tertiary {
    background-color: #fff !important;
}

.navbar-nav {
    width: 89%;
    height: 90px;
    line-height: 90px;
    margin-bottom: 0px;
}

.navbar-nav>li {
    width: 25%;
    text-align: center;
    min-width: 73px;
    transition: 0.1s;
}

.nav-link:focus,
.nav-link:hover {

    color: #0C3981;
}

.navbar {
    min-height: 120px;
    border-bottom: 1px solid #dee2e6;
    padding: 0;
}

.nav-link {
    color: #1c1c1c;
    font-weight: bold;
}

.navbar-nav>li {
    position: relative;
}

.site-logo {
    width: 300px;
}

.navbar-brand {
    height: 80px;
    display: block;
}

.navbar-nav li:nth-child(6) {
    letter-spacing: -1px;
}

/* login */
.top_menu {
    position: absolute;
    top: 10px;
    /* right: 220px; */
    right: 10%;
    z-index: 99;
}

.top_menu div {
    float: left;
    margin: 0 5px;
    height: 24px;
    line-height: 24px;
    padding: 0 10px;
}


.tm_02 {
    height: 20px;
    vertical-align: 0;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    padding: 0 !important;
}

.tm_02 span {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url(../images/lock_change.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: -4px;
    margin-right: 5px;
}

.tm_03 {
    background-color: #002f7b;
    color: #fff;
    border-radius: 5px;
}

.tm_03 p a {
    color: #fff;
}

.tm_03 p,
.tm_01 p {
    color: #fff;
    text-decoration: none !important;
    font-family: 'NanumSquareAcr';
    font-size: 14px;
}


.tm_01 {
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #002f7b;
    color: #002f7b;
}

.tm_01 p {
    color: #002f7b;
}

.logout {
    border: 1px solid #DCDCDC;
    border-radius: 5px;
    font-size: 14px;
    line-height: 21px !important;
}

/* 인증서 스타일 추가 */

.tm_04 {
    border: 1px solid #f26522;
    border-radius: 5px;
    padding: 0px 14px !important;
    line-height: 18px !important;
    transition: 0.2s;
}

.tm_04 a {
    color: #f26522;
    font-size: 14px;
}

.tm_04:hover {
    background-color: #f26522;
}

.tm_04:hover a {
    color: #fff;
    font-weight: normal;
}


/* drop */

.drop_menu {
    display: none;
    position: absolute;
    top: 104px;
    left: 16px;
    width: 90.2%;
    height: auto;
    padding: 10px 0;
    background-color: #fff;
    cursor: pointer;
    z-index: 999;
}

.drop_menu::before {
    position: absolute;
    content: "";
    top: 0;
    left: -410px;
    background-color: #fff;
    height: 100%;
    width: 1940px;
    border-bottom: 1px solid #dee2e6;
}

.dm_box {
    position: relative;
}

.drop_menu .dm_box a {
    display: block;
    text-align: center;
    font-size: 0.9em;
    line-height: 2.2em;
    padding: 0.8px 0;
}



.drop_menu .dm_box a:hover div,
.drop_menu .dm_box a:focus div {
    color: #0C3981;
    font-weight: 900;
}

.drop_menu .dm_box .col {
    display: inline-block;
    height: 34px;
    line-height: 34px;
}

span.bar {
    display: none;
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 61%;
    height: 3px;
    background: #0C3981;
}

.on_drop {
    top: 104px;
    opacity: 1;
    display: block;
}

.off_drop {
    top: -180px;
    opacity: 0;
    display: none;
}

/* 0418 */

.navbar-expand-lg .navbar-collapse {
    position: relative;
}

/* password change  */

h5.modal-title {
    font-family: 'NanumSquareAcr';
    font-size: 20px;
    font-weight: bold;
}


#change_pw {
    color: #fff;
    background-color: #475F7B;
    border: 1px solid #475F7B;
}

#change_pw:hover {
    background-color: #2d4e75;
    color: #fff;
}

.modal-body {
    padding: 40px 75px;
}

.modal-body label {
    width: 90px;
    font-size: 14.7px;
    text-align: right;
}

.modal-body input {
    width: 250px;
    height: 34px;
    line-height: 34px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

#backShadow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e3e3e33b;
    z-index: 999999;
}

.navbar-collapse .current-list-item {
    position: relative;
}

.navbar-collapse .current-list-item a {
    color: #002f7b;
}

.navbar-collapse .current-list-item::after {
    position: absolute;
    content: "";
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #002f7b;
    width: 61%;
    height: 3px;
    text-decoration: underline;
}

/* 버튼 폰트 수정  */

.fa-file-excel span {
    font-family: 'NanumSquareAcr';
    font-weight: 500;
}

.dm_box a:hover {
    color: #002f7b;
}

.dm_box a.on>div {
    position: relative;
    color: #002f7b;
    font-weight: bold;
}

.dm_box a.on>div::before,
.dm_box a.on>div::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.dm_box a.on>div::before {
    left: -16px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    border-width: 4px 6px 4px 0;
    border-color: transparent #002f7b transparent transparent;
}

.dm_box a.on>div::after {
    right: -16px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    border-width: 4px 0 4px 6px;
    /* 삼각형의 크기 조정 */
    border-color: transparent transparent transparent #002f7b;
    /* 삼각형의 색상 */
}




/* 일주일 보지않기 추가 */
.guide_modal.modal {
    --bs-modal-width: 660px;
    --bs-modal-margin: 15.15rem;
}

.guide_modal.modal .modal-content {
    border-radius: 0;
    box-shadow: 1px 2px 7px rgba(0, 0, 0, 0.3294117647);
}

.guide_modal.modal .modal-header {
    padding: 30px;
}

.guide_modal.modal .modal-body {
    padding: 50px 35px;
}

.guide_modal.modal .modal-body p {
    font-size: 15px;
    line-height: 1.6;
}

.guide_modal.modal .modal-footer {
    flex-direction: column !important;
    border: none;
}

.guide_modal.modal .btn-primary.guide_Btn {
    width: 180px;
    background-color: #002F7B;
}

.btn-close.guide_close {
    width: 1.5em;
    height: 1.5em;
    background: transparent var(--bs-btn-close-bg) center/1.5em auto no-repeat;
    /* margin-top: -40px;
  margin-right: -20px; */
}

.g_checkbox input[type=checkbox] {
    display: none;
}

.g_checkbox .label-name {
    position: relative;
    padding-left: 30px;
    font-size: 14px;
    color: #a3a3a3;
}

.g_checkbox .label-name:before {
    content: "✓";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    border-radius: 50%;
    font-size: 12px;
    line-height: 19px;
    color: #fff;
    background-color: #D8D8D8;
    text-align: center;
}

.g_checkbox input[type=checkbox]:checked+.label-name:before,
.g_checkbox input[type=checkbox]:hover+.label-name:before {
    background-color: #0C3981;
    content: "✓";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 12px;
    line-height: 19px;
    text-align: center;
}

.g_checkbox input[type=checkbox]:checked+.label-name,
.g_checkbox input[type=checkbox]:hover+.label-name {
    color: #0C3981;
    font-weight: bold;
}

.dShow_box {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

/* 포인트 소멸 동의 스타일 */

.guide_red {
    color: #FF4F51;
}
#agreeModal .modal-dialog {
    min-width: 320px;
}
#agreeModal.modal {
    --bs-modal-width: 660px;
    --bs-modal-margin: 9.15rem;
}

#agreeModal.modal .modal-content {
    border-radius: 0;
    box-shadow: 1px 2px 7px rgba(0, 0, 0, 0.3294117647);
}

#agreeModal.modal .modal-header {
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #FAFAFA;
    border-bottom: 1px solid #D9D9D9;
}

#agreeModal.modal .modal-body {
    padding: 40px 35px !important;
}

#agreeModal.modal .title {
    font-size: 16px;
    font-weight: bold;
    text-align: left;
}

#agreeModal .modal-header h1 {
    font-family: "NanumSquareAcr";
    font-weight: bold;
    margin: 20px 0 20px 20px;
}

#agreeModal .modal-header p {
    font-weight: bold;
    line-height: 1.4;
    margin: 0 20px 5px 20px;
}

.agreeBtn {
    width: 160px;
    border-radius: 50px;
    padding: 8px 0;
}

#agreeModal .modal-footer {
    justify-content: center;
}

.ml_in {
    margin-left: 56px;
    text-indent: -56px;
    line-height: 1.6;
    margin-top: 20px;
}


.modaltxtBox {
    max-width: 320px;
    min-width: fit-content; 
    margin: 20px auto 60px auto;
}

.modaltxtBox p {
    font-weight: bold;
}

#agreeModal .modal-footer {
    gap: 0 50px;
    padding-bottom: 30px;
    border-top: none;
}

/* 체크박스 */

.modalChk input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #0d6efd; 
    border-radius: 4px; 
    position: relative;
    display: inline-block; 
}

.modalChk input[type="checkbox"]:checked {
    vertical-align: -5px;
    margin-right: 5px;
    background-color: #0d6efd;
}

.modalChk input[type="checkbox"]:checked::before {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 13px;
}

.modalChk {  
    display: flex;
    justify-content: center;
    gap: 0 70px;
}

.modalChk input[type="checkbox"]:disabled { 
    cursor: default;
}

.modalChk label {
    width: max-content;
    color: #6f6f6f;
    cursor: pointer; 
 }

 .modalChk label:hover {
    font-weight: 900;
 }

  .modalChk label:hover img {
    transform: scale(1.2)  ;

  }

 .modalChk label img {
    width: 18px;
    vertical-align: -5px;
    transition: 0.3s;
}

/* 포인트 소멸 동의 스타일 끝 */


@media (max-width: 576px) {

    .container,
    .container-sm {
        max-width: 90%;
    }
}

@media (max-width: 870px) {
    .navbar {
        min-height: 170px;
        padding-top: 40px;
    }

    .top_menu div {
        margin-bottom: 5px;
    }

}


@media (max-width: 768px) {

    .container,
    .container-sm {
        max-width: 90%;
    }
}