/**/

.ebooktypepanel li {
    width: 100%;
}

.dropdownlist {
    width: 100%;
    font-size: 13pt;
    height: 40px
}

.selectpicker {
    margin: 8px;
    width: 10%;
}

.txtSearch0 {
    float: left;
    width: 75%;
    height: 40px
}

.tabletitle {
    background-color: gainsboro;
}

.pad-left-right {
    padding-top: 10px;
}

.selectpicker {
    width: 100px;
    font-size: 13pt;
    height: 40px
}



@media screen and (max-width: 500px) {
    .selectpicker {
        margin-left: 0px;
        margin-top: 10px;
        margin-bottom: 10px;
        width: 100%;
    }

    .txtSearch0 {
        float: left;
        width: 100%;
    }

    #ddlTypeOfLibraries {
        width: 100%;
    }
}

.pad-left-right {
    padding-top: 10px;
}

.prev,
.next {
    /*position: fixed;*/
    top: 50%;
    font-weight: bold;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.content {
    width: 50%;
    margin: 0 auto;
}

/**/
.heading1 {
    margin-bottom: 10px;
    text-align: center;
    font-size: 24px;
    padding: 20px 0 20px;
}

.heading1 span {
    color: #777;
    position: relative;
    font-family: 'ubunturegular', 'Open Sans', sans-serif;
}

.heading1 span:before {
    left: -75px;
    content: '';
    height: 5px;
    display: block;
    background: url(/Resources/assets/index/imgs/heading/heading-left-line.png) no-repeat;
    width: 58px;
    float: left;
    bottom: 0;
    position: absolute;
    height: 6px;
    top: 15px;
}

.heading1 span:after {
    content: '';
    height: 5px;
    display: block;
    background: url(/Resources/assets/index/imgs/heading/heading-left-line.png) no-repeat;
    width: 58px;
    float: right;
    bottom: 0;
    position: absolute;
    height: 6px;
    top: 15px;
    transform: rotate(180deg);
    right: -75px;
}

/**/
#listbooks {
    margin-top: 10px;

}

#listbooks .li-list {
    display: block;
    margin-bottom: 1rem;
}

#listbooks .thumb:hover {
    cursor: pointer;
}

#listbooks .thumb {
    padding: 15px 10px;
    border: 1px solid #e7e7e7;
    background: #f8f8f8;
    border-radius: 5px 5px 5px 5px;
    overflow: hidden;
}

#listbooks .thumb .Titlelink {
    margin-bottom: 5px;
}

#listbooks .img-thumb a {
    display: flex;

}

#listbooks .img-thumb img {
    max-width: 100%;
}

.name-book {
    color: #767676;
    font-weight: 700;
}

.text-thumb .name-book {
    color: #333;
    font-size: 11pt;
}

.name-book,
.name-authors {
    font-size: 12px;
    display: block;
    display: -webkit-box;
    max-height: 45px;
    --webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


/**/
.icon i {
    color: var(--primary);
}

/*gridview*/
#listbooks.gridview .li-list {
    margin-bottom: 0;
}

#listbooks.gridview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

#listbooks.gridview .thumb {
    height: 100%;
}

#listbooks.gridview .opac_next {
    grid-column: span 2;
    text-align: center;
}

@media(min-width: 768px) {
    #listbooks.gridview {
        grid-template-columns: repeat(3, 1fr);
    }

    #listbooks.gridview .opac_next {
        grid-column: span 3;
    }
}

@media(min-width: 991px) {
    #listbooks.gridview {
        grid-template-columns: repeat(5, 1fr);
    }

    #listbooks.gridview .opac_next {
        grid-column: span 5;
    }

}

#listbooks.gridview .Titlelink {
    max-height: 70px;
    overflow: hidden;
}

#listbooks.gridview .name-authors {
    display: block;
}

#listbooks.gridview .img-thumb,
.detailbtn {
    display: block;
}

#listbooks.gridview .img-thumb,
#listbooks.gridview .danhsach-theloai .img-thumb {
    box-shadow: 0 1px 5px 0 rgba(50, 50, 50, 0.67);
    border-radius: 3px;
    width: 125px;
    margin: 0 auto 15px auto;
    display: flex;
    overflow: hidden;
    height: 190px;
}

#listbooks.gridview .iconfile {
    padding-top: 10px;
    position: relative;
    margin: 0px auto;
    text-align: left;
    float: left;
    width: 80%;
}

/**/
#listbooks.listview .Titlelink {
    min-height: auto;
}

#listbooks.listview .detailbtn {
    display: none
}

#listbooks.listview .li-list {
    width: 100%;
    min-height: 0px
}

#listbooks.listview .img-thumb {
    display: none
}

#listbooks.listview .name-authors {
    display: none
}

#listbooks.listview .text-thumb {
    float: left;
    padding-left: 10px;
    width: 100%;
}

#listbooks.listview .name-publishyear {
    display: block;
}

#listbooks.listview .name-subject {
    display: block;
}

#listbooks.listview .name-abtract {
    display: block;
    word-wrap: break-word;
}

#listbooks.listview .name-numberofpage {
    display: block;
}

#listbooks.listview .name-description {
    display: block;
}

#listbooks.listview .iconfile {
    padding-top: 10px;
    position: relative;
    margin: 10px;
    text-align: left;
    float: left;
    width: 60%;
    margin-left: 10px !important;
}

/**/

#pnRecordGroups.nav-tabs {
    --bs-nav-tabs-link-active-color: #fff;
    --bs-nav-tabs-link-active-bg: var(--primary);
    --bs-nav-tabs-link-active-border-color: var(--primary);
    --bs-nav-link-color: var(--primary);
    width: 100%;
}

#pnRecordGroups.nav-tabs .nav-item {
    display: block;
    width: 100%;
}

/**/
.IconPanel a {
    margin-right: 5px;
}

/**/
.m-magazine-number {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.m-item {
    height: 100%;
}