@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC&display=swap');
#btn-papers{
    color: #efeee4;
    background-color: #2e4565;
}

.student_paper{
    width: 82vw;
    margin-left: 9vw;
    margin-right: 9vw;
    margin-top: 6.25vw;
    margin-bottom: 7.864vw;
    flex-direction: column;
    display: flex;
    align-items: center;
}

/* selection bar*/
.select_bar_container{
    width: 82vw;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cat-list_container{
    width: 82vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 1.041vw;
}

.cat-list_container > p{
    font-family: 'Noto Sans TC', sans-serif;
    /*font-size: 0.9375vw;*/
    font-weight: bold;
    line-height: 0.06;
    letter-spacing: 2.7px;
    color: #2e4565;
    width: 5vw;
}

.cat-list{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    width: 77vw;
}

.cat-list > li{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 1.97916vw;
    margin-top: 0.5vw;
}

.cat-list_item_dot{
    width: 1vw;
    height: 1vw;
    border: solid 2px #2e4565;
    border-radius: 50%;
}

.cat_active > .cat-list_item_dot{
    background-color: #2e4565;
}

.cat-list_item:hover .cat-list_item_dot{
    background-color: #2e4565;
}

.cat-list_item{
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
}

.cat-list_item_name{
    font-family: 'Noto Sans TC', sans-serif;
    /*font-size: 0.9375vw;*/
    font-weight: bold;
    line-height: 0.06;
    letter-spacing: 2.7px;
    color: #2e4565;
    margin-left: 1.3vw;
}

/* keyword search bar */
.request_form{
    width: 82vw;
    height: 3.125vw;
    margin-top: 3.125vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: solid 1.5px #b5bbbe;
    border-radius: 1.5625vw;
}

#keyword{
    width: 70vw;
    border: 0px;
    background-color: transparent;
}

input::focus{
    outline: none;
}

input[type=text]{
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.041667vw;;
    font-weight: 500;
    letter-spacing: 2.7px;
    text-align: left;
    color: #647386;
}

#search_svg{ /*the svg image*/
    width: 1.71875vw;
    height: 1.71875vw;
    margin-left: 1.5625vw;
}
#search_btn{
    cursor: pointer;
    background-color: transparent;
    border: 0px;
}

#search_btn > img{
    width: 2.03125vw;
    height: 2.03125vw;
    margin-right: 1.5625vw;
}

#search_hint{
    width: 82vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#search_hint > p{
    width: 40vw;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 3.3854vw;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.54;
    letter-spacing: 0.5078125vw;
    text-align: left;
    color: #b5bbbe;
    margin-top: 4.167vw;
}

.item_titles{
    width: 82vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #2e4565;
    border-bottom: solid 2px #647386;
    margin-top: 3.125vw;
    padding-bottom: 2.084vw;
    font-weight: 500;
    letter-spacing: 2.7px;
}

.name_col{
    margin-left: 7.8125vw;
}


.mobile-selector{
    display: none;
}

.mobile-selector-dropdown{
    width: 30vw;
    border: solid 2px #2e4565;
    margin-left: 2vw;
    position: relative;
    list-style: none;
}

.dropdown-title{
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    border: none;
    color: #2e4565;
    font-weight: bold;
    padding: 3vw 4vw;
}

.arrow-down{
    width: 5px;
    height: 5px;
    border-top: solid 3px #2e4565;
    border-right: solid 3px #2e4565;
    transform: rotate(135deg);
}

.mobile-selector-dropdown-menu{
    min-width: 100%;
    display: none;
    position: absolute;
    background-color: #e4dfd2;
    border: solid 2px #2e4565;
    z-index: 1;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    list-style: none;
    left: 0vw;
}

.mobile-item{
    color: #2e4565;
    padding: 2vw;
    text-decoration: none;
    line-height: 1.3;
    display: block;
    overflow: auto;
}

/*********************/
/* paper card */

.block_papers{
    width: 82vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

ul.table{
    width: 82vw;
    display: block;
    border: 0;
    border-collapse: collapse;
    margin: 3.125vw 0;
}

.thead{
    width: 82vw;
    display: table-header-group;
}

.tbody{
    width: 82vw;
    display: table-row-group;
}

.thead-tr{
    display: table-row;
    border-bottom: solid 1px #647386;
}

.thead li, .tr li {
    display: table-cell;
    padding: 20px 30px 20px 0;
}

.tr{
    display: table-row;
    transition: display 0.3s ease-in;
    border-bottom: solid 1px #647386;
}

.fontstyle-thead {
    color: #2e4565;
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1vw;
    font-weight: 500;
    letter-spacing: 0.140625vw;
}

.tr li{
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 1.30vw;
    font-weight: 500;
    letter-spacing: 0.1vw;
    color: #2e4565;
    line-height: 1.59;
}

.align-left{
    text-align: left;
}

.tdata-group1{
    width: 4.5vw;   
}

.tdata-group2{
    width: 8vw;
    margin-left: 5vw;
}

.tdata-group3{
    width: 10vw;
    margin-left: 4vw;
}

.tdata-group4{
    width: 15vw;
    margin-left: 5vw;
}

.tdata-group5{
    width: 45vw;
    margin-left: 5vw;
    letter-spacing: 0.171875vw;
}

.mobile-tr{
    display: none;
}

@media (max-width: 960px) {
    .cat-list_container > p {
        font-size: 10px;
    }

    input[type=text] {
        font-size: 13px;
    }

    #search_hint > p {
        width: 384px;
        font-size: 32.5px;
        letter-spacing: 4.875px;
        margin-top: 40px;
    }

    .row_paper > span{
        font-size: 14px;
    }

    .item_titles{
        font-size: 11px;
    }

    .mobile-selector{
        width: 65vw;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .web-selector{
        display: none;
    }
}

@media (max-width: 768px){
    span.year{
        width: 6vw;
    }

    span.name{
        width: 7vw;
    }

    span.degree{
        width: 10vw;
        margin-left: 6.3vw;
    }

    span.advisor{
        width: 6vw;
    }
}

@media (max-width: 480px){
    .cat-list_container{
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 6.041vw;
    }

    .cat-list{
        width: 84vw;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-top: 2vw;
    }

    .cat-list > li{
        margin-top: 2.5vw;
    }

    .request_form{
        height: 10vw;
        border-radius: 5vw;
    }

    #keyword{
        width: auto;
        margin-left: 0vw;
    }
    
    #search_btn > img{
        width: 5vw;
        height: 5vw;
        margin-right: 0vw;
    }

    #search_svg {
        width: 4vw;
        height: 4vw;
        margin-left: 2vw;
    }

    .tbody{
        display: flex;
        flex-direction: column;
    }

    .thead li, .tr li{
        padding: 15px 0;
    }

    .tr li{
        font-size: 16px;
        line-height: 1.3;
        letter-spacing: 0.5vw;  
    }

    .thead-tr{
        width: 82vw;
        display: flex;
        flex-direction: row;
        align-items: center;
        font-size: 14px;
    }

    .thead-tr li:nth-child(5){   
        display: none;
    }

    .web-tr{
        display: none;
    }

    .mobile-tr{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-tdata-wrapper{
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }

    .tdata-group1{
        width: 10vw; 
    }
    
    .tdata-group2{
        width: 20vw;
        margin-left: 3vw;
    }
    
    .tdata-group3{
        width: 20vw;
        margin-left: 3vw;
    }
    
    .tdata-group4{
        width: 18vw;
        margin-left: 5vw;
    }
    
    .tdata-group5{
        width: auto;
        margin-left: 0vw;
        letter-spacing: 0.171875vw;
        font-weight: bold;
    }
}