/* sub css */
/* 각 파일명 별로 주석 표기
    반응형은 맨 아래 부분에 한 번에 작업.
*/


/* ---------- sub - 취임사 ---------- */
.detail-wrap {
    padding: 48px;
    border: 56px solid #eef4f5;
    box-sizing: border-box;
    background-color: #fff;

    font-size: 1.1em;
    line-height: 1.5;
    word-break: keep-all;
}

.detail-wrap .d-content {
    margin-bottom: 56px;
}

.detail-wrap .d-content p {
    margin-bottom: 32px;
}

.detail-wrap .d-content .m-txt {
    font-size: 32px;
    font-weight: 600;
}

.detail-wrap .d-content p span.s-txt-color,
.detail-wrap .d-content p span.s-txt-bold {
    display: block;
    margin-bottom: 16px;
    font-size: 1.2em;
    font-weight: 600;
}

.detail-wrap .d-content p span.s-txt-color {
    font-weight: 700;
    color: var(--Primary1);
}

.detail-wrap .content-04 span {
    font-size: 1.2em;
}

/* ---------- sub-notice - 공지사항 ---------- */

/* 서치 영역 */
.input-area {
    width: 100%;
    padding: 16px 24px;
    box-sizing: border-box;
    border-radius: 16px;
    background-color: #eef4f5;
}

.input-area .aItem {
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: row;
    gap: 8px;
}

.input-area .aItem .dropdown {
    width: calc(100% / 6);
}

.input-area .aItem .dropdown .dropdownCon {
    border-radius: 8px;
    border: 1px solid var(--Stroke);
}
.input-area .aItem .subsearch .dropdownCon {
    border-radius: 8px;
    border: 1px solid var(--Stroke);
}

.input-area .aItem .subsearch {
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: row;
}

.input-area .aItem .subsearch .dropdown {
    width: calc(100% / 5);
    border-right: 1px solid var(--Stroke);
}

.input-area .aItem .subsearch .dropdown a {
    border-radius: 8px 0px 0px 8px !important;
}

.input-area .aItem .subsearch .rightItem {
    display: flex;
    width: 100%;
    flex-direction: row;
}

.input-area .aItem .subsearch .rightItem input {
    padding: 0 8px;
    box-sizing: border-box;
}

.input-area .aItem .subsearch .rightItem .btn  {
    padding: 13px 16px;
    border: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    box-sizing: border-box;
    background-color: var(--Primary1);
}

/* 공지사항 게시글 영역 */
.boardCount {
    margin-bottom: 8px;
}
.boardCount span {
    font-weight: 700;
}
.boardListWrap {
    width: 100%;
    padding: 24px 0;
    box-sizing: border-box;
    word-break: keep-all;
}

.noticeList {
    display: flex;
    flex-direction: column;
}
.noticeList li {
    padding: 24px 0;
    box-sizing: border-box;
    border-bottom: 1px solid var(--Stroke);
}
.noticeList li a {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.noticeList li a .n-tit {
    font-size: 1.2em;
    font-weight: 700;
}
.noticeList li a .n-stit {
    display: flex;
    align-items: center;
    gap: 16px;
}
.noticeList li a .n-stit span {
    position: relative;
    font-size: 0.9em;
    color: var(--Greyscale8);
}

.noticeList li a .n-stit span:after {
    content: "｜";
    font-size: 0.8em;
    position: absolute;
    right: -14px;
    top: 2px;
    color: var(--Greyscale6);
}
.noticeList li a .n-stit span:last-child:after {
    display: none;
}

/* 페이지네이션 */
.pagination-area .pagination .num.active {
    border: 1px solid var(--Primary1);
    border-radius: 100%;
    box-sizing: border-box;
    font-weight: 600;
}

.pagination-area .pagination li a .double_arrow_left {
    width: 100%;
    height: 100%;
    background: url(/assets/DOM_0000009/image/common/ico_double_arrow_left_b7b7b7.svg) center / cover no-repeat;
}

.pagination-area .pagination li a .double_arrow_right {
    width: 100%;
    height: 100%;
    background: url(/assets/DOM_0000009/image/common/ico_double_arrow_right_b7b7b7.svg) center / cover no-repeat;
}

.pagination-area .pagination li a .chevron-left {
    width: 100%;
    height: 100%;
    background: url(/assets/DOM_0000009/image/common/ico_chevron_left_b7b7b7.svg) center / cover no-repeat;
}

.pagination-area .pagination li a .chevron-right {
    width: 100%;
    height: 100%;
    background: url(/assets/DOM_0000009/image/common/ico_chevron_right_b7b7b7.svg) center / cover no-repeat;
}

/* ---------- sub-write - 게시글 작성 ---------- */
.boardWrap {
    display: flex;
    flex-direction: column;

    width: 100%;
    margin-top: 8px;
    padding: 16px 0;

    border-top: 1px solid var(--Stroke);
    box-sizing: border-box;

    word-break: keep-all;
}

.boardWrap .title_write {
    display: flex;
    width: 100%;
    height: 60px;

    align-items: center;

    border-bottom: 1px solid var(--Stroke);
    box-sizing: border-box;

    font-size: 1.4em;
    font-weight: 700;
}

.boardWrap .title_write input::placeholder {
    font-size: 1em;
    color: #d4d4d4;
}

.boardWrap .cont_write {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.boardWrap .cont_write .writeBox {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--Stroke);
    box-sizing: border-box;
}

.boardWrap .module_t {
    width: 160px;
    font-weight: 700;
}

.boardWrap .module_w {
    display: flex;
    justify-content: flex-start;
}

.boardWrap .cont_write .writeBox .module_w input {
    padding: 8px 16px;
    border: 1px solid var(--Stroke);
    border-radius: 8px;
    box-sizing: border-box;
}

.boardWrap .cont_write .writeBox .module_w .phone_box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.boardWrap .cont_write .writeBox .module_w .phone_box input {
    width: 80px;
    text-align: center;
}

.boardWrap .write_contBox {
    display: flex;
    flex-direction: column;
    padding: 24px 0px;
    box-sizing: border-box;

    border-bottom: 1px solid var(--Stroke);
    box-sizing: border-box;
}

.boardWrap .write_contBox .module_t {
    margin-bottom: 16px;
}

.boardWrap .write_contBox .module_w {
    width: 100%;
}

.boardWrap .write_contBox .module_w .txt_box {
    width: 100%;
}

.boardWrap .write_contBox .module_w .txt_box textarea {
    border: 1px solid var(--Stroke);
    border-radius: 8px;
    box-sizing: border-box;
}

.boardWrap .write_contBox .module_w .txt_box textarea:focus {
    outline: none;
}

.boardWrap .upload_Box {
    padding: 24px 0;
    box-sizing: border-box;
}

.boardWrap .upload_Box .module_t {
    margin-bottom: 16px;
}

.uploadfield ul {
    margin-bottom: 24px;
}

.uploadfield ul li {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 8px 0;

    border-bottom: 1px solid var(--Stroke);
    box-sizing: border-box;
}

.uploadfield ul li label {
    padding: 4px 8px;
    border: 1px solid #dce1e2;
    border-radius: 8px;
    box-sizing: border-box;

    background-color: #eef4f5;
}

.uploadfield ul li span {
    display: block;
    width: 100%;
    padding: 4px 8px;
    box-sizing: border-box;

    color: var(--Greyscale6);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.board_btn_box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.board_btn_box a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 56px;

    border-radius: 8px;

    font-weight: 600;
}

.board_btn_box a.board_cancle {
    background-color: #eef4f5;
}

.board_btn_box a.board_confirm {
    color: #fff;
    background-color: var(--Primary1);
}


/* ---------- sub-in 게시글 보기 ---------- */
.board_tit {
    margin-bottom: 8px;
    font-size: 1.6em;
    word-break: keep-all;
}

.board_subtit {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    color: var(--Greyscale7);
    word-break: keep-all;
}

.board_content {
    margin-bottom: 56px;
}

.file_Box {
    padding: 16px;
    border-radius: 8px;
    box-sizing: border-box;
    background-color: #eef4f5;
}

.file_Box .module_t {
    margin-bottom: 8px;
}

.downloadfield ul li {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.downFileItem .fileName {
    max-width: fit-content;
    min-width: unset;
    border: 0px;
    background-color: transparent;
}

.downFileItem .downBtn {
    padding: 4px 8px;
    border: 1px solid var(--Stroke);
    border-radius: 8px;
    box-sizing: border-box;
    background-color: #fff;
}

.board_move {
    display: flex;
    flex-direction: column;

    width: 100%;
    margin-top: 8px;

    border-top: 1px solid var(--Stroke);
    box-sizing: border-box;
}

.board_move .moveCon {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;

    padding: 16px 0;
    border-bottom: 1px solid var(--Stroke);
    box-sizing: border-box;
}

.board_move .moveCon .leftItem {
    display: flex;
    gap: 8px;

    font-weight: 700;
}

.board_move .moveCon .rightItem {
    display: block;
    width: calc(100% - 90px);

    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.board_btn_box .board_listbtn {
    font-weight: 700;
    color: white;
    background-color: var(--Primary1);
}


/* ---------- sub-gallery - 갤러리 ---------- */
.boardListWrap .galleryList {
    display: flex;
    flex-wrap: wrap;
    width: 100%;

    padding: 16px 0;
    box-sizing: border-box;
}

.galleryList .galleryItem {
    width: 25%;
    height: 320px;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    margin-bottom: 16px;
    padding: 0 8px;
    border-radius: 16px;
    box-sizing: border-box;

    word-break: keep-all;
}

.galleryList .galleryItem a {
    display: block;
    width: 100%;
    height: 100%;
}

.galleryList .galleryItem a .imgArea {
    width: 100%;
    height: 220px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    overflow: hidden;
}

.galleryList .galleryItem a .imgArea img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.galleryItem .infoArea {
    width: 100%;

    padding: 16px 8px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    box-sizing: border-box;

    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

.galleryItem .infoArea .g-tit {
    display: block;
    width: 100%;
    margin-bottom: 8px;

    font-size: 1.1em;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;

    overflow: hidden;
}

.galleryItem .infoArea .g-stit {
    font-size: 0.9em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}


/* ---------- sub 반응형 통합 ---------- */
@media only screen and (max-width: 1260px) {
    /* ---------- sub-gallery - 갤러리 (960px) ---------- */
    .galleryList .galleryItem {
        width: calc(100% / 3);
    }
}

@media only screen and (max-width: 960px) {
    /* ---------- sub - 취임사 (960px) ---------- */
    .detail-wrap {
        padding: 24px 16px;
        border: 8px solid #eef4f5;
        font-size: 1em;
    }

    .detail-wrap .d-content .m-txt {
        font-size: 24px;
    }

    /* ---------- sub-notice - 공지사항 (960px) ---------- */

    /* 서치 영역 */
    .input-area .aItem {
        flex-wrap: wrap;
    }

    .input-area .aItem .dropdown {
        width: 100%;
    }

    /* 게시글 영역 */
    .noticeWrap {
        padding: 24px 16px;
    }
    .noticeList li a .n-tit {
        display: -webkit-box;
        font-size: 1em;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .noticeList li a .n-stit {
        flex-wrap: wrap;
        gap: 8px;
    }

    .noticeList li a .n-stit span:after {
        right: -10px;
    }

    /* ---------- sub-gallery - 갤러리 (960px) ---------- */
    .galleryList .galleryItem {
        width: calc(100% / 2);
    }
}

@media only screen and (max-width: 640px) {
    /* ---------- sub-notice - 공지사항 (640px) ---------- */

    /* 서치 영역 */
    .input-area .aItem .subsearch {
        flex-wrap: wrap;
        gap: 8px;
    }
    .input-area .aItem .subsearch .dropdown {
        width: 100%;
        border: 0;
    }

    .input-area .aItem .subsearch .dropdown a {
        border-radius: 8px !important;
    }

    .input-area .aItem .subsearch .rightItem input {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    /* 페이지네이션 */
    .pagination {
        gap: 8px;
    }
    .pagination-area .pagination li a {
        width: 24px;
        height: 24px;
    }


    /* ---------- sub-write - 게시글 작성 (640px) ---------- */
    .boardWrap .module_t {
        width: 100%;
        margin-bottom: 16px;
    }
    .boardWrap .module_w {
        width: 100%;
    }
    .boardWrap input,
    .writeboardWrapWrap textarea {
        font-size: 16px !important;
    }
    .boardWrap .title_write input {
        font-size: 20px !important;
    }
    .boardWrap .title_write input::placeholder {
        font-size: 20px !important;
    }
    .boardWrap .cont_write {
        width: 100%;
    }
    .boardWrap .cont_write .writeBox {
        width: 100%;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .boardWrap .cont_write .writeBox input {
        width: 100%;
    }


    /* ---------- sub-in 게시글 보기 (640px) ---------- */
    .board_tit {
        font-size: 1.3em;
    }

    .board_subtit {
        font-size: 0.9em;
    }

    .downFileItem .fileName {
        font-size: 16px;
    }

    /* ---------- sub-gallery - 갤러리 (940px) ---------- */
    .galleryList .galleryItem {
        width: 100%;
    }
}