/*
  Css Name :btBioView.css
  Description :바이오SMK CSS
  Modification Information

      수정일      수정자          수정내용
   ----------    --------  ---------------------------
   2021.01.23    이선호      바이오SMK css

    since    :2021.01.23
*/
@charset "utf-8";
.page-sub-title {font-size: 1.2em;position: relative; padding-left: 25px; margin-bottom: 5px; letter-spacing: -1px;float: left}
.page-sub-title:before{content: ''; position: absolute; left: 0;top:-2px; background-image: url("/images/common/content-title.png"); background-repeat: no-repeat;background-position: center;width:20px;height: 100%;}
.pdfviewer-btn{text-align: center; color: #fff; background: #2261CE; border-radius: 3px;}
.pdfviewer-btn > svg { height: 20px; margin-right: 5px; margin-bottom: -3px;}
.pdfviewer-btn *{fill:#fff}
#contentList li{display:inline-block; width:calc(100% / 4 - 16px);margin-right: 15px;margin-bottom: 15px;}
#contentList li:nth-last-child(1){margin-right: 0px;}
#contentList li *{cursor: pointer}
#contentList li .content-card{border:1px solid #C7D9EC;}
#contentList li .content-card-img{height: 238px;overflow: hidden; position: relative;}
#contentList li:hover .content-card-img:after{opacity:0.5; background: #000000}
#contentList li .content-card-img:after{ position: absolute; content:""; top:0; left:0; width:100%; height:100%; opacity:0;}
#contentList li .content-card-img .pdfviewer-btn > svg{margin-right: 10px;}
#contentList li .content-card-img img{height:100%;}
#contentList li .content-title{font-size: 1.2em; letter-spacing: -1px; padding: 10px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box;	-webkit-line-clamp: 2; -webkit-box-orient: vertical;}
#contentList li .content-desc{font-size: 0.8em; letter-spacing: -1px; padding: 0 10px 10px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box;	-webkit-line-clamp: 3; -webkit-box-orient: vertical;}
#contentList .pdfviewer-btn{width: 45%; height: 42px;}
#contentList .pdfviewer-btn > svg{margin-right: 10px;}


.mobile-title {
    color: #111;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.6px;
    margin-bottom: 20px;
}

.search-box{
    display: flex;
    padding: 30px;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    align-self: stretch;
    border-radius: 5px;
    background: #F3F5F8;
    margin: 60px 0 30px;
}

.searchDivMobile ul {
    width: 100%;
}
.mobile-search-list{
    display: flex;
    flex-direction: column !important;
    gap: 5px !important;
}
.mobile-search-type {
    text-align: left;
    color: #111;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.mobile-search-list .search-option {
    width: 100%;
}

.search-keyword {
    margin-top: 5px;
    margin-bottom: 10px;
}

.search-text {
    color: #111;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.search-option {
    width: 230px;
    height: 44px;
    padding: 12px;
    align-items: center;
    border-radius: 5px;
    border: 1px solid #D3D3D3;
    background: #FFF;
    color: #111;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    background-image: url(/images/common/FiChevronDown.png);
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.search {
    display: flex;
    width: 500px;
    height: 44px;
    padding: 12px;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    border: 1px solid #D3D3D3;
    background: #FFF;
    color: #666;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.search-btn {
    display: flex;
    height: 44px;
    padding: 14px 20px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-radius: 5px;
    background: #0E419C;
    color: #FFF;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.board_list {
    border-bottom: 1px solid #D3D3D3;
}

.board_list thead th {
    background: #F3F5F8;
    border-top: 1px solid #111;
    border-bottom: 1px solid #D3D3D3;
}

.board_list td {
    overflow: hidden;
    color: #111;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-bottom: 1px solid #D3D3D3;
}

.bbs-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0; /* 필요시 */
    margin: 60px 0 30px 0;
}

#bbsList .content-blue{
    background: #0029B0;
}

#bbsList .content-blue span{
    color: #FFF !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px !important;
}

#bbsList .bbs-list li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% / 3); /* 3등분 */
    box-sizing: border-box;
    padding: 14px 25px;
    cursor: pointer;
}

#bbsList .bbs-list li:nth-child(1) {
    border-radius: 30px 0 0 30px;
    border: 1px solid #D3D3D3;
}
#bbsList .bbs-list li:nth-child(2) {
    border-top: 1px solid #D3D3D3;
    border-bottom: 1px solid #D3D3D3;
    border-right: 1px solid #D3D3D3;
}
#bbsList .bbs-list li:nth-child(3) {
    border-radius: 0 30px 30px 0;
    border-top: 1px solid #D3D3D3;
    border-bottom: 1px solid #D3D3D3;
    border-right: 1px solid #D3D3D3;
}

#bbsList .bbs-list li span{
    color: #111;
    text-align: center;
    font-family: Pretendard;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 28px */
    letter-spacing: -0.4px;
    flex: 1 0 0;
}



#pageCntView > span{color:#2261CE}

.pdfViewPopup{position: fixed; top:1%; left:50%; width: 75vw; height: 95vh;z-index: 99999; transform: translateX(-50%);}
#pdfViewPopupBg{background: rgba(0, 0, 0, 0.5); position: fixed; top:0; left:0; width: 100vw; height: 100vh;z-index: 9999}

/* 모바일 */

#contentListMobile .pdfviewerBtnMobile > svg { height: 20px; margin-right: 5px; margin-bottom: -3px;}
#contentListMobile .pdfviewerBtnMobile * {fill: #fff;}
#contentListMobile .pdfviewerBtnMobile{width: 53%;}
#contentListMobile .pdfviewerBtnMobile{text-align: center; background: #2261CE; border-radius: 3px; color:#fff; padding: 5px 8px!important; margin: 5px 0;}

.pdfViewPopupMobile{position: fixed; top:50%; left:50%; width: 75vw; height: 25vh;z-index: 99999; transform: translate(-50%, -50%);}



.card-list {
    padding: 0;
    margin-top: 6px;
    margin-bottom: 20px;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}

.card-item {
    width: 100%;
    padding: 15px 0px;
    border-bottom: 1px solid #D3D3D3;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    display: inline-flex;
    cursor: pointer;
    transition: all 0.2s ease;
}

.card-item:hover {
    background-color: #f8f9fa;
}

.card-item:last-child {
    border-bottom: none;
}

.card-number {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #111111;
    font-size: 14px;
    font-family: Pretendard;
    font-weight: 500;
    word-wrap: break-word;
}

.card-title {
    align-self: stretch;
    color: #111111;
    font-size: 14px;
    font-family: Pretendard;
    font-weight: 500;
    word-wrap: break-word;
    line-height: 1.4;
}

.card-title:hover,
.card-title:active,
.card-item:hover .card-title,
.card-item:active .card-title {
    color: #002D7A;
}

.card-date {
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: inline-flex;
    width: 100%;
    color: #555555;
    font-size: 14px;
    font-weight: 400;
    word-wrap: break-word
}

.card-date .professor,
.card-date .register-date {
    color: #555555;
    font-size: 14px;
    font-family: Pretendard;
    font-weight: 400;
    word-wrap: break-word;
}

.card-list .no-data {
    text-align: center;
    color: #666;
    padding: 40px 20px;
    font-size: 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #D3D3D3;
}

/* 모바일 전용 탭 스타일 */
@media (max-width: 520px) {
    .contentMobile #bbsList {
        width: 100%;
        overflow-x: auto;
        margin: 20px 0 30px 0;
        -webkit-overflow-scrolling: touch; /* iOS 스크롤 부드럽게 */
        padding: 0 5px; /* 양쪽에 여백 추가 */
        scrollbar-width: none;
    }

    .contentMobile .bbs-list-mobile {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        padding: 0;
        margin: 0;
        list-style: none;
        min-width: max-content;
        gap: 8px;
        width: auto;
    }

    .contentMobile #bbsList .bbs-list-mobile li {
        display: flex;
        justify-content: center;
        align-items: center;
        white-space: nowrap; /* 텍스트 줄바꿈 방지 */
        box-sizing: border-box;
        padding: 14px 20px;
        cursor: pointer;
        border: 1px solid #D3D3D3;
        background: #FFF;
        flex-shrink: 0; /* 축소 방지 */
        min-width: 140px; /* 최소 너비 설정 */
        border-radius: 25px; /* 모든 탭을 둥글게 */
    }

    /* 모든 탭이 동일한 둥근 형태 */
    .contentMobile #bbsList .bbs-list-mobile li:first-child,
    .contentMobile #bbsList .bbs-list-mobile li:nth-child(2),
    .contentMobile #bbsList .bbs-list-mobile li:last-child {
        border-radius: 25px; /* 모든 탭 동일하게 둥글게 */
        border: 1px solid #D3D3D3;
    }

    .contentMobile #bbsList .bbs-list-mobile li span {
        color: #111;
        text-align: center;
        font-family: Pretendard;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 140%;
        letter-spacing: -0.28px;
        flex: 1 0 0;
    }

    /* 선택된 탭 스타일 */
    .contentMobile #bbsList .content-blue {
        background: #0029B0 !important;
        border-color: #0029B0 !important;
    }

    .contentMobile #bbsList .content-blue span {
        color: #FFF !important;
        font-weight: 700 !important;
        letter-spacing: -0.2px !important;
    }

    /* 탭 호버 효과 */
    .contentMobile #bbsList .bbs-list-mobile li:hover {
        background: #F3F5F8;
        border-color: #2261CE;
    }

    .contentMobile #bbsList .bbs-list-mobile li.content-blue:hover {
        background: #0029B0 !important;
        border-color: #0029B0 !important;
    }

    /* 스크롤바 스타일링 */
    .contentMobile #bbsList::-webkit-scrollbar {
        height: 4px;
        margin-top: 5px;
    }

    .contentMobile #bbsList::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }

    .contentMobile #bbsList::-webkit-scrollbar-thumb {
        background: #D3D3D3;
        border-radius: 2px;
    }

    .contentMobile #bbsList::-webkit-scrollbar-thumb:hover {
        background: #2261CE;
    }
}

/* 작은 화면에서 탭 크기 더 축소 */
@media (max-width: 480px) {
    .contentMobile #bbsList .bbs-list-mobile li {
        padding: 12px 16px;
        min-width: 120px;
    }

    .contentMobile #bbsList .bbs-list-mobile li span {
        font-size: 13px;
        letter-spacing: -0.26px;
    }

    .contentMobile .bbs-list-mobile {
        gap: 6px; /* 간격 줄임 */
    }
}

/* 매우 작은 화면에서 더욱 축소 */
@media (max-width: 360px) {
    .contentMobile #bbsList .bbs-list-mobile li {
        padding: 10px 12px;
        min-width: 100px;
    }

    .contentMobile #bbsList .bbs-list-mobile li span {
        font-size: 12px;
        letter-spacing: -0.24px;
    }

    .contentMobile .bbs-list-mobile {
        gap: 5px; /* 간격 더 줄임 */
    }
}