/* header */
.header {
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - 270px);
    height: 84px;
    z-index: 10;
    background: linear-gradient(to right, var(--color-sub_02), var(--color-sub_01));
}

.header .menu {
    width: 100%;
    padding: 0 60px 0 40px;
}

.header .menu .gnb {
    gap: 6px;
    font-size: 15px;
}

.header .menu .gnb li {
    gap: 6px;
}

.header .menu .gnb span.ico {
    display: block;
    /* 색상 제어 */
    background-color: var(--color-white);
    -webkit-mask-image: var(--ico-arrow);
    mask-image: var(--ico-arrow);
    width: 16px;
    height: 16px;
}

.header .menu .user button {
    height: 38px;
    font-size: 15px;
    background-color: transparent;
}

.header .menu .user ul {
    top: 40px;
    right: -20px;
    box-shadow: 0 6px 10px rgba(0,0,0, 0.25);
    width: 170px;
}

.header .menu .user ul li {
    height: 54px;
    padding: 0 16px;
    gap: 14px;
}

.header .menu .user ul li:hover {
    background-color: var(--color-secondary);
}

.header .menu .user ul li span.ico {
    display: block;
    width: 20px;
    height: 20px;
    background-color: var(--color-primary); /* 색상 제어 */
}

.header .menu .user ul li span.ico-01 {
    -webkit-mask-image: var(--ico-menu02);
    mask-image: var(--ico-menu02);
}
.header .menu .user ul li span.ico-03{
    -webkit-mask-image: var(--ico-menu08);
    mask-image: var(--ico-menu08);
}


/* side menu */
.side_gnb {
    position: fixed;
    top: 0;
    left: 0;
    width: 270px;
    height: 100dvh;
    padding: 26px 0 30px;
    z-index: 10;
}

.side_gnb::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.10));
    z-index: 1;
}


.side_gnb a.logo h1 {
    background-image: var(--img-logo);
    background-repeat: no-repeat;
    background-size: contain;
    width: 180px;
    height: 47px;
    margin: 0 auto;
}

.side_gnb div.scroll-y {
    height: calc(100% - 80px);
    padding: 0 0 30px;
    margin-top: 54px;
}

.side_gnb .side_item .tit {
    padding: 15px 16px 15px 26px;
    color: var(--color-gray_600);
    transition: all 0.4s;
}

.side_gnb .side_item .tit span.img {
    background-image: var(--ico-arrow);
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(90deg);
    display: block;
    width: 16px;
    height: 16px;
}

.side_gnb .side_item .tit h2 {
    font-size: 16px;
    gap: 16px;
}

.side_gnb .side_item a {
    padding: 15px 16px 15px 26px;
    transition: all 0.4s;
    gap: 16px;
    color: var(--color-gray_600);
}

.side_gnb .side_item a span.ico,
.side_gnb .side_item .tit span.ico {
    display: block;
    width: 20px;
    height: 20px;
    
    /* 색상 제어 */
    background-color: var(--color-primary);
}


.side_gnb .side_item .tit h2 span.ico-06 {
    -webkit-mask-image: var(--ico-menu06);
    mask-image: var(--ico-menu06);
}
.side_gnb .side_item .tit h2 span.ico-03 {
    -webkit-mask-image: var(--ico-menu03);
    mask-image: var(--ico-menu03);
}
.side_gnb .side_item .tit h2 span.ico-04 {
    -webkit-mask-image: var(--ico-menu04);
    mask-image: var(--ico-menu04);
    height: 24px;
}
.side_gnb .side_item .tit h2 span.ico-05 {
    -webkit-mask-image: var(--ico-menu05);
    mask-image: var(--ico-menu05);
    width: 28px;
    height: 15px;
}



.side_gnb .side_item a:hover,
.side_gnb .side_item .tit:hover {
    background-color: var(--color-secondary);
}

.side_gnb .side_item li.active,
.side_gnb .side_item .tit.active {
    background-color: var(--color-secondary);
    
}

.side_gnb .side_item .tit.active h2 {
    font-weight: bold;
    color: var(--color-primary);
}

.side_gnb .side_item li.active a {
    font-size: 17px;
    font-weight: 500;
    color: var(--color-point);
}

.side_gnb .side_item.dropdown > ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.side_item.open .tit span.img {
    transform: rotate(-90deg);
}

.side_gnb .side_item.dropdown a {
    display: block;
    font-size: 15px;
    padding-top: 12px;
    padding-bottom: 13px;
    transition: all 0.4s;
}
.side_gnb .side_item.dropdown li.active {
    background-color: transparent;
}
.side_gnb .side_item.dropdown li.active a {
    font-size: 16px;
    background-color: var(--color-secondary);
}

.side_gnb .side_item.dropdown > ul h4 {
    font-size: 16px;
    padding: 12px 26px;
    color: var(--color-primary);
}

.side_gnb .side_item.dropdown > ul ul.inner li {
    padding: 0 10px;
}

.side_gnb .side_item.dropdown > ul ul.inner a {
    padding-top: 9px;
    padding-bottom: 9px;
}

.side_gnb .side_item.dropdown > ul ul.inner li.active {
    background-color: var(--color-secondary);
}
.side_gnb .side_item.dropdown > ul ul.inner li.active a {
    font-size: 15px;
}




/* modal popup */
.modal_popup .modal_con {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-gray_100);
    background-color: var(--color-white);
    padding: 50px 30px 32px 30px;
    width: 380px;
    border-radius: 20px;
    text-align: center;
    z-index: 30;
}

.modal_popup .mainText {
    font-size: 16px;
    color: var(--color-black);
    font-weight: 700;
}

.modal_popup .subText {
    font-size: 15px;
    color: var(--color-gray_300);
    margin-top: 4px;
}

.modal_popup .btn_box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 40px;
}

.modal_popup button {
    display: block;
    width: 120px;
    height: 40px;
    border-radius: 6px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 600;
}

.modal_popup button.cancel_btn {
    color: var(--color-primary);
    background-color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.modal_popup.cancel button.register_btn {
    background-color: #fff;
    color: #E80000;
    border: 1px solid #E80000;
}

.modal_popup.cancel button.cancel_btn {
    color: var(--color-gray_500);
    background-color: var(--color-gray_100);
    border: none;
}




/* toast popup */
#toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 12px 18px;
    border-radius: 100px;
    z-index: 9999;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
    -webkit-transition: opacity 0.35s ease, -webkit-transform 0.35s ease, visibility 0s linear 0.35s;
    -moz-transition: opacity 0.35s ease, -moz-transform 0.35s ease, visibility 0s linear 0.35s;
    -o-transition: opacity 0.35s ease, -o-transform 0.35s ease, visibility 0s linear 0.35s;
    will-change: opacity, transform;
}

/* 보일 때 상태 */
#toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0s;
    -webkit-transform: translateX(-50%) translateY(20px);
    -moz-transform: translateX(-50%) translateY(20px);
    -o-transform: translateX(-50%) translateY(20px);
}



/* detail popup */
.popup_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
}

.popup_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 20;
}

.popup_bg.transparent {
    background-color: transparent;
}

.popup_con {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 21;
    width: calc(100% - 32px);
    max-width: 920px;
    padding: 14px 30px 40px;
}

.popup_con .pop_head {
    font-size: 20px;
    padding: 10px 0;
    margin-bottom: 24px;
}

.popup_con .pop_head button {
    background-color: transparent;
    width: 40px;
    height: 40px;
}

.popup_con .pop_head span.img {
    display: block;
    background-image: var(--ico-close);
    width: 30px;
    height: 30px;
    margin: 0 auto;
}

.popup_con .pop_body > ul {
    gap: 30px 40px;
}

.popup_con .pop_body > ul li {
    width: calc(50% - 20px);
}

.popup_con .pop_body li > p {
    font-size: 16px;
    margin: 0 0 12px 10px;
    min-width: 96px;
}

.popup_con .pop_body li p span.t-r {
    font-size: 12px;
    font-weight: 400;
}

.popup_con .pop_body li.password div.display_flex {
    margin-bottom: 10px;
}

.popup_con .pop_body li.password > p {
    margin-bottom: 24px;
}

.popup_con .pop_body li.password button.onOff {
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
}

.popup_con .pop_body li.password span.ico {
    width: 18px;
    height: 18px;
}

.popup_con .pop_body li.password span.eye_on {
    background-image: var(--ico-eye);
}

.popup_con .pop_body li.password span.eye_off {
    background-image: var(--ico-eyeOff);
}

.popup_con .pop_body li.password .absolute {
    padding: 2px 0 0 6px;
    font-size: 13px;
}

.popup_con .pop_body li .pw_btn {
    padding: 0 12px;
    height: 32px;
    font-size: 14px;
    /* margin-top: -12px; */
} 

.popup_con .pop_body li .pw_input:disabled + .onOff {
    display: none;
}

.popup_con .pop_body li .pw_input:not(:disabled) + .onOff {
    display: block;
}

.popup_con .btn_box {
    margin-top: 60px;
    gap: 16px;
}

.popup_con .btn_box button,
.popup_con .btn_box a {
    width: 80px;
    font-size: 16px;
}

.popup_con .pop_body li textarea {
    width: 100%;
    margin-top: 10px;
    height: 100px;
    padding: 12px;
}

/* 상세보기 팝업 */
.popup_wrap.detail .popup_con .pop_head {
    margin-bottom: 16px;
}
.popup_wrap.detail .popup_con .pop_body > ul,
.popup_wrap.userInfo .popup_con .pop_body > ul {
    gap: 30px 0;
}

.popup_wrap.detail .popup_con .pop_body > ul  li,
.popup_wrap.userInfo .popup_con .pop_body > ul li {
    padding: 0 0 4px 20px;
    font-size: 15px;
    width: 50%;
}

.popup_wrap.detail .popup_con .pop_body a,
.popup_wrap.detail .popup_con .pop_body button,
.popup_wrap.userInfo .popup_con .pop_body button {
    width: 80px;
    margin: 0 0 14px auto;
}

.popup_wrap.detail .popup_con .pop_body p {
    margin: 0;
}

.popup_wrap.detail .popup_con .pop_body p.t-semibold {
    padding: 16px 0;
    font-size: 17px;
    margin-top: 5px;
}



/* 팝업 테이블 */
.table_pop {
    width: 100%;
    border-spacing: 0;
    text-align: center;
    margin-top: 14px;
}

.table_pop th {
    font-size: 17px;
    font-weight: 400;
}

.table_pop tbody tr {
    cursor: pointer;
}

.table_pop tbody tr:hover {
    background-color: var(--color-gray_100);
}

.table_pop td {
    font-size: 15px;
    border-top: 1px solid var(--color-gray_200);
}

.table_pop th, 
.table_pop td {
    height: 46px;
}

.place .table_pop th, 
.place .table_pop td {
    padding: 0 22px;
}



/* 팝업 검색 공통 */
.popup_con .search_form div {
    height: 46px;
    border-radius: 100px;
    padding: 0 10px;
}

.popup_con .search_form input {
    border: none;
}

.popup_con .search_form input:focus {
    border: none;
    box-shadow: none;
}

.popup_con .pagination {
    margin-top: 30px;
}





/* 파일 다운로드, 업로드 팝업 */
.popup_wrap.download .popup_con,
.popup_wrap.upload .popup_con {
    max-width: 812px;
}

.popup_wrap.download .btn-box {
    gap: 20px;
    margin-bottom: 20px;
}

.popup_wrap.download .btn-box button {
    width: max-content;
    padding: 0 22px;
    height: 35px;
    margin: 0;
}

.popup_wrap.download .download-table {
    margin-bottom: 30px;
}

.popup_wrap.download .download-table > p {
    font-size: 18px;
    margin-bottom: 16px;
}

.popup_wrap.download table {
    border-spacing: 0;
    font-size: 15px;
}

.popup_wrap.download table thead tr {
    height: 48px;
}

.popup_wrap.download table thead tr th {
    font-weight: 500;
}

.popup_wrap.download .ico-col {
    min-width: 150px;
    width: 150px;
}

.popup_wrap.download table tbody tr {
    height: 50px;
}

.popup_wrap.download .download-table button {
    margin: 0 auto;
    width: 40px;
    padding: 0;
}

.popup_wrap.download button span.ico {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto;
}

button span.up {
    -webkit-mask-image: var(--ico-upload);
    mask-image: var(--ico-upload);
    background-color: var(--color-sub_01);
}
.popup_wrap.download button.trash span.ico {
    background-image: var(--ico-trash);
}

.popup_wrap.upload > 

.popup_wrap.upload .filebox {
    margin-bottom: 34px;
}

.popup_wrap.upload .filebox input {
    font-size: 17px;
}


.popup_wrap.upload .select-col p {
    min-width: 110px;
    width: 100px;
}
.popup_wrap.upload .btn-box {
    gap: 16px;
    margin-top: 70px;
}
.popup_wrap.upload .btn-box button {
    width: 150px;
    height: 46px;
}



/* 파일 업로드 */
.pop_body .filebox {
    width: 100%;
    height: 180px;
}

.pop_body .filebox .upload-name {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display: block;
}

.pop_body .filebox label {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
}

.pop_body .filebox input[type="file"] {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
}



/* -------------- 설문지 팝업 survey -------------- */
.survey .popup_con {
    height: calc(100% - 80px);
    max-width: 950px;
}

.survey .pop_body {
    width: calc(100% + 60px);
    margin-left: -30px;
    padding: 0 30px;
    height: calc(100% - 80px);
}

.survey .pop_row {
    margin-top: 20px;
    padding: 16px 0;
}

.survey .pop_row > p {
    font-size: 17px;
    margin-bottom: 12px;
}

.survey .pop_row.border,
.survey .pop_row > ul.write {
    padding: 16px;
}

.survey .pop_row.border > p {
    margin-bottom: 26px;
}

.survey .pop_row.border li > p {
    margin: 0;
}

.survey .pop_row.border > ul > li {
    width: calc(50% - 8px);
    padding: 0;
    margin: 0;
}

.survey .pop_row > ul > li {
    width: 100%;
    padding-bottom: 16px;
}

.write li:nth-child(odd) {
    border-right: 1px solid var(--color-gray_200);
}

.write li:nth-child(even),
.survey .pop_row > ul li > div {
    padding-left: 16px;
}

.survey .pop_row ul li span.bar {
    width: 2px;
    height: 12px;
    background-color: var(--color-gray_400);
}

.survey ul li div.likert_box {
    width: 100%;
    max-width: 400px;
}

.survey .likert_box .number {
    width: 100%;
    height: 50px;
    margin-top: 6px;
}

.survey div.likert_box label {
    width: 100%;
    height: 100%;
}

.survey div.likert_box label input {
    display: none;
}

.survey div.likert_box label span {
    line-height: 50px;
}

.survey div.likert_box label input:checked + span {
    background-color: var(--color-gray_200);
}

















@media (max-width: 1200px) {
    .side_gnb {
        width: 200px;
    }

    .header {
        width: calc(100% - 200px);
        height: 60px;
    }
    
    .side_gnb a.logo h1 {
        width: 140px;
    }

    .side_gnb div.scroll-y {
        margin-top: 48px;
    }

    .side_gnb .side_item .tit h2 {
        font-size: 15px;
    }

    .side_gnb .side_item a,
    .side_gnb .side_item .tit,
    .side_gnb .side_item li.active a,
    .side_gnb .side_item.dropdown a,
    .side_gnb .side_item.dropdown > ul h4 {
        padding: 13px 10px 13px 18px;
        font-size: 15px;
    }

    .side_gnb .side_item.dropdown li.active a {
        font-size: 15px;
    }

    .popup_con .pop_head {
        font-size: 18px;
    }

    .popup_con .pop_body > ul {
        gap: 20px;
    }

    .popup_con .pop_body > ul li {
        width: calc(50% - 10px);
    }

    .popup_con .pop_body.detail > ul {
        gap: 20px 0;
    }

    .popup_con .pop_body li p {
        font-size: 15px;
    }

    .table_pop th {
        font-size: 15px;
    }

    .project .table_pop th, 
    .project .table_pop td {
        height: 40px;
    }

    .popup_wrap.download .download-table > p {
        font-size: 16px;
    }

}