@charset "utf-8";

:root {
    --color-main: #8A001F;
    --color-sub: #00583E;
    --color-border: #ddd;
    --color-text: #535353;
    --color-bg: #CBCBCB;
    --yellow: #E1C038;
    --red: #E12121;
    --tab: #9E927B;
    --suit: 'SUIT Variable';
    --playfair:"Playfair Display";
    --pre: 'Pretendard';
    --mont: 'Montserrat';
}

/* common */
.board-wrap{
    width: 1300px;
    margin: 0 auto;
    padding: 160px 0;
}
.mem-title{
    width: 100%;
    padding: 13px 30px;
    border-bottom: 2px solid #000;
    color: #000;
    font-size: 28px;
    font-weight: 700;
}

.flex-agree{
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

/* contents */
.contents-board{
    position: relative;
}

.search-input{
    font-weight: 400;
}
.search-join{
    display: flex;
    background: var(--color-main);
    color: #fff;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    gap: 6px;
}

.join-search-box{
    display: flex;
    gap: 8px;
}
/* 공지 리스트 */
.board-table{
    width: 100%;
    border-top: 2px solid #000;
    font-size: 22px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}
.board-table thead th{
    background: #F6F6F2;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
    vertical-align: middle;
}
.board-table tbody td{
    padding: 20px 0;
    vertical-align: middle;
    font-size: 20px;
    color: #000;
    border-bottom: 1px solid #ddd;
}
.board-table tbody td a{
    width: 70%;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
    margin: 0 auto;
}

/* 공지 view */
.news-board-view{
    width: 100%;
    border-top: 2px solid #000;
    font-size: 22px;
    border-bottom: 1px solid var(--color-border);
}
.news-board-view thead th{
    background: #F6F6F2;
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
    vertical-align: middle;
}
.news-board-view thead td{
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
    padding: 0 30px;
}
.news-board-view tbody th{
    vertical-align: middle;
    background: #F6F6F2;
    font-size: 22px;
    border-bottom: 1px solid var(--color-border);
    padding: 30px 0;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
}
.news-board-view tbody td{
    padding: 40px;
    vertical-align: middle;
    height: 66px;
    font-size: 20px;
    color: #000;
    border-bottom: 1px solid var(--color-border);
    line-height: 24px;
}
.news-board-view img{
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}
.news-board-view tbody td .view-contents{
    width: 100%;
    height: 400px;
    border: none;
    font-size: 20px;
    line-height: 24px;
}

/* 이전, 다음글 */
.board-arrow-btn{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding-left: 50px;
    font-weight: 500;
}

/* 목록보기 버튼 */
.join-list{
    display: block;
    width: 196px;
    text-align: center;
    border: 1px solid #000;
    margin: 90px auto 0;
    padding: 19px 0;
    font-size: 22px;
}

/* 페이지 넘버 */
.common-page-number{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 55px;
}

.board-page{
    display: flex;
    gap: 40px;
}
.board-page button{
    font-size: 18px;
    color: #818181;
}
.board-page button.on{
    color: var(--color-sub);
    font-weight: 700;
}

/* 글쓰기 버튼 */
.write-join{
    position: absolute;
    bottom: -12px;
    right: 0;
    width: 114px;
    height: 42px;
    background: #818181;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 이벤트 게시판 */
.common-board-list{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 30px 20px;
    justify-content: space-between;
}
.common-board-list li{
    width: calc(100% / 2 - 10px);
    border-top: 2px solid #000;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}
.common-board-list li .img-area{
    width: 100%;
    height: 134px;
    display: block;
    overflow:hidden;
}
.common-board-list li .img-area img{
    width: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.common-board-list li:hover .img-area img{
    transition: all 0.3s;
    scale: 1.15;
}

/* 이벤트 타이틀 */
.common-board-title{
    background: #F6F6F2;
    height: 115px;
    font-size: 26px;
    padding: 20px 16px;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
}
.common-board-title span{
    position: absolute;
    right: 16px;
    bottom: 20px;
    font-size: 22px;
    color: var(--color-text);
}

/* 이벤트 만료시 */
.common-board-list li.end{
    cursor: default;
}
.common-board-list li.end .img-area{
    position: relative;
}
.common-board-list li.end .img-area::before{
    content: '이벤트 만료';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
}
.common-board-list li.end:hover .img-area img{
    scale: none;
}

.download-btn{
    margin: 260px auto 60px;
    display: flex;
    justify-content: center;
    align-items: normal;
    gap: 10px;
    flex-wrap: wrap;
}
.download-btn button{
    background: var(--color-main);
    color: #fff;
    padding: 11px 44px;
    font-size: 22px;
    text-align: center;
    max-width: 500px;
}

.no-list{
    color: var(--color-text);
}
