/* Notice list  */
body,html{
    height: auto;
    background-color: #FAFAFA;
}
/* item */
.notice_items{
    width: 100%;
    /* flex */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* notice cont */
.notice_cont_wrapper{
    width: 100%;
    padding: 15px 16px;
    /* flex */
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-bottom: 1px solid #e9e9e9;
    cursor: pointer;
}

/* notice cont */
.notice_cont{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    
}

.common-top-header {
    box-shadow: none;
}

.noticetype {
    color: #00a0b6;
    font-family: 'NanumSquareNeoExtraBold';
    font-size: 14px;
}

/* notice title */
.notice_title, .notice_detailtitle{
    width: calc(100% - 41px);
    height: auto;
    max-height: 40px;
    color: #141415;
    font-family: 'NanumSquareNeoExtraBold';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    overflow-y: hidden;
}

.notice_detailtitle {
    font-size: 20px;
}

/* notice date */
.notice_date{
    color: var(--main-dark-grey);
    font-family: var(--font-kr);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px; /* 100% */
}

/* notice arrow */
.notice_arrow{
    width: 25px;
    height: 25px;
    
    transition: all 0.2s ease-in-out;
}

.notice_arrow img{
    width: 100%;
    height: 100%;
}

/* Notice Detail */
.notice_detail{
    display: none;
    padding: 20px 16px;
    background: #FAFAFA;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.10) inset;
}

.notice_detail > *{
    width: 100%;
}

/* Notice Open */
.notice_cont_wrapper.open .notice_arrow{
    transform: rotate(-90deg);
}

.notice_cont_wrapper.open ~ .notice_detail{
    width: 100%;
    display: flex;
}

/* PC 상단 헤더 */
.notice_pc_top_header{
    display: none;
}

/* 하단 PC 푸터 */
.companyinfo{
    display: none;
}

/* 공지사항 PC 버전 작업 */
@media screen and (min-width: 992px) {
    /* 상단 모바일 헤더 히든 & PC 헤더 표시 */
    .common-top-header{
        display: none;
    }

    .notice_pc_top_header{
        max-width: 1080px;
        width: 100%;
        margin: 0 auto;
        /* flex */
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        margin-bottom: 16px;
    }

    /* 전체 wrapper */
    .notice_total_wrapper{
        max-width: 1000px;
        width: 100%;
        margin: auto;
        background-color: #fff;
        padding: 40px 20px 80px 20px;
        display: flex;
        flex-direction: column;
        height: calc(100% - 80px);
        overflow: auto;
        
    }

    /* 공지사항 리스트 */
    .notice_list{
        max-width: 1000px;
        width: 100%;
        margin: 0 auto;
    }

    /* 하단 PC 푸터 */
    .companyinfo{
        display: flex;
        padding-top: 40px;
        margin-top: 150px;
    }
}

@media screen and (max-width:768px) {
    .common-top-header-main {
        flex:1;
        justify-content: center;
    }

    .common-top-title {
        flex: 1;
        text-align: center;
        padding-right: 41px;
    }

    .notice_title {
        margin-top:5px;
    }

    .notice_title, .notice_detailtitle {
        font-size: 16px;
        word-wrap: break-word;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 20px;
        max-height: 80px;

    }

    .notice_date {
        margin-top:5px;
    }
}