html, body {
    /* overflow-y: auto;
    height: 100%;
    min-height: 100%;
    width: 100%; */
    overflow-x: hidden;
}

/* main {
    min-height: 69.2%;
} */


/*
|--------------------------------------------------------------------------
| Home Header text
|--------------------------------------------------------------------------
*/

.home-header {
    /* padding-left: 10px;
    padding-right: 10px; */
    font-size: 3rem;
    font-family: var(--bs-font-home-header);
    font-weight: bold;
    margin: auto;
    color: #3a4056;
}

.header-hr-primary {
    background: url('../img/goodkit/line_header_a.svg') no-repeat;
    height: 30px;
    width: 250px;
    display: inline-flex;
}
.header-hr-secondary {
    background: url('../img/goodkit/line_header_b.svg') no-repeat;
    height: 30px;
    width: 250px;
    display: inline-flex;
}
@media (max-width:768px) {
    .home-header {
        font-size: 2rem;
    }
}
@media (max-width:576px) {
    .home-header {
        font-size: 1.5rem;
    }
    .header-hr-primary {
        width: 150px;
    }
    .header-hr-secondary {
        width: 150px;
    }
}
/*
|--------------------------------------------------------------------------
| SECTION Librarain's Choice
|--------------------------------------------------------------------------
*/


.slick-librarian div.slick-track {
}
.slick-librarian .slick-current {
}

.slick-librarian .slick-list .slick-track {

    display: flex!important;
    align-items: flex-end!important;
}

.prevArrowBtnLibrarian {
    position: absolute;
    z-index: 10;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
    width: 60px;
    border-radius: 5px 5px 5px 5px;
}
.nextArrowBtnLibrarian {
    position: absolute;
    z-index: 10;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
    right: 0;
    width: 60px;
    border-radius: 5px 5px 5px 5px;
}
@media(max-width:1024px){
    .prevArrowBtnLibrarian {
        width: 50px;
        margin-left: -10px;
    }
    .nextArrowBtnLibrarian {
        width: 50px;
        margin-right: -10px;
    }
}

/*
|--------------------------------------------------------------------------
| SECTION New Arrivals
|--------------------------------------------------------------------------
*/
.new-arivals-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.btn-new-arrivals{
    font-size: 1.2rem;
    border-radius: 0.8rem 0.8rem 0 0;
    padding: 0.2rem 1.2rem;
    background-color: var(--bs-secondary);
    color:var(--bs-white);
}
.btn-outline-new-arrivals {
    font-size: 1.2rem;
    border-radius: 0.8rem 0.8rem 0 0;
    padding: 0.2rem 1.2rem;
    background-color: #b5d1e3;
    color:var(--bs-white);
}
.btn-outline-new-arrivals:hover,
.btn-new-arrivals:hover{
    color: var(--bs-white);
}
@media (max-width:992px) {
    .new-arivals-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media (max-width:600px) {
    .new-arivals-content {
        grid-template-columns: 1fr 1fr;
    }
}

/*
|--------------------------------------------------------------------------
| SECTION NEWS
|--------------------------------------------------------------------------
*/
.slick-news .slick-track{
    margin-bottom: 1rem;
}
.card-news {
    height: 100%;
    display: grid;
    grid-template-rows: auto 60px;
    border: none;
    margin: 0 20px !important;
    border-radius: 15px;
}
.icon_view {
    position: relative;
    top: 1px;
    font-size: 16px;
}
.icon_more {
    position: relative;
    top: 3px;
    font-size: 16px;
}











.dropdown-menu-arrow::before {
    position: absolute;
    top: -6px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: inline-block;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #343a40;
    border-left: 7px solid transparent;
    content: '';
}

.dropdown-menu-lage {
    width: 350px !important;
}


.modal-open {
    overflow: auto;
}

.text-article {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.company-header-avatar {
    width: 100px;
    height: 100px;
    -webkit-border-radius: 60px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 60px;
    -moz-background-clip: padding;
    border-radius: 60px;
    background-clip: padding-box;
    margin: 7px 0 0 5px;
    float: left;
    background-size: cover;
    background-position: center;
}

.company-header-avatar-article-list {
    width: 60px;
    height: 60px;
    -webkit-border-radius: 60px;
    -webkit-background-clip: padding-box;
    -moz-border-radius: 60px;
    -moz-background-clip: padding;
    border-radius: 60px;
    background-clip: padding-box;
    margin: 7px 0 0 5px;
    float: left;
    background-size: cover;
    background-position: center center;
}

.text-limit2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.banner {
    height: 32px;
    color: white;
    width: 100%;
    background-color: var(--bs-primary);
    padding-top: 5px;
    text-align: center;
}

.banner a {
    color: white;
    text-decoration: underline;
}




.text-line {
    /* font-family: 'Kanit', sans-serif; */
    font-style: italic;
    width: 100%;
    text-align: center;
    border-bottom: 2px solid #efefef;
    line-height: 0.1em;
    margin: 20px 0 25px;
    color: #7d8399;
}

.text-line .new {
    background-color: #f9fafc;
    padding: 0 10px;
}

.text-line span {
    background: #fff;
    padding: 0 10px;
}


.media-type-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.media-type-content label {
    font-weight: 600;
    font-size: 20px;
    display: block;
    color: #3a4056;
}

.media-type-content a {
    margin-top: 50px;
    text-decoration: none;
    transition: transform .2s;
}

.media-type-content a:hover {
    transform: scale(1.2);
}

.media-type {
    padding-bottom: 70px;
    padding-top: 50px;
}

.new-arivals {
    background-color: #fff;
}





 
.card-book {
    margin: 0  30px 30px 30px;
    /* background-color: #f9fafc; */
    border: none;
    text-align: center;
    display: grid;
    grid-template-rows: auto 48px;
}

.card-body {
    padding: 10px 0px 0px 0px;
}

.card-body a {
    color: var(--bs-font-color);
 
}

.article {
    margin-top: 50px;
    margin-bottom: 70px;
}

.title-book {
    height: 48px;
}

.img-book {
    display: flex;
    align-items: flex-end;
}

.slick-track {
    display: flex !important;
}

.slick-slide {
    height: inherit !important;
    margin: 10px 10px;
}

.slick-dots li button:before {
    font-size: 15px;
    line-height: 40px;
}

.slick-carousel {
    margin-top: 10px;
}

.footer-news {
    background-color: white;
    border-top: 0px;
}



a:link {
    text-decoration: none;
}

.font-20 {
    font-size: 0.9vw;
}



.dropdown-item:hover {
    color: black!important;
}





@media (max-width: 1200px) {
    .font-20 {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .media-type-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .font-20 {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .media-type-content {
        grid-template-columns: 1fr 1fr;
    }
    .article-list img .article-list-img {
        height: 250px!important;
    }
}


/*
|--------------------------------------------------------------------------
| SECTION SEARCH
|--------------------------------------------------------------------------
*/
.form-control.form_search {
    padding: 10px;
    border-radius: 50px !important;
    border: 0px;
    background-color: var(--bs-triple);
    font-size: 1.2rem;

}

.btn_search {
    font-size: 1.2rem;
}

/*
|--------------------------------------------------------------------------
| SECTION Gallery
|--------------------------------------------------------------------------
*/
.card-gallery{
    border-radius: 25px !important;
    border:none;
    margin: 0 25px 0 25px;
    background-size: 100% 100%;
    width: 340px;
    height: 340px;
}
.text-gallery{
    margin-top: 70%;
    padding:0 10px 0 10px;
}
.img-gallery > img{
    border-radius: 25px !important
}

@media (max-width: 1367px) {
    .card-gallery{
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 1200px) {
    .card-gallery{
        width: 270px;
        height: 270px;
    }
}



/*
|--------------------------------------------------------------------------
| SECTION BANNERS (Carousel)
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Optimize for all devices
|--------------------------------------------------------------------------
*/
@media (min-width: 320px) {
	.frm_nav_search .twitter-typeahead { width: 100%; }
	#frm_home_search .twitter-typeahead { width: 100%; }
	#frm_home_search .input-group-append { margin-top: 10px; width: 100%; }
	#frm_home_search .input-group-append > .btn { width: 100% }

	#frm_section_search .twitter-typeahead { width: 85%; }
	#frm_section_search .typeahead { border-radius: 0 0 .5rem 0; }
	#frm_section_search .input-group-append { width: 25%; }

    .btn_search {
        border-radius: 2rem 2rem 0rem 2rem;
        padding: 10px;
    }
	.card-librarian {
        border: none;
        margin-bottom: 30px;
        display: grid;
    }
    .fs_line_1{
        font-size: 1rem;
    }
}
/*--- Small devices (landscape phones, 576px and up) ---*/
@media (min-width: 576px) {
	#frm_home_search .twitter-typeahead { width: 75%; }
	#frm_home_search .input-group-append { margin-top: 0; width: 25%; }
	#frm_home_search .input-group-append > .btn { width: 100% }
    .btn_search {
        border-radius: 2rem 2rem 0rem 2rem;
        margin-left: -60px;
        padding: 10px;
        z-index: 10 !important;
    }
    .card-librarian {
        border: none;
        margin-bottom: 30px;
        display: grid;
    }
    .fs_line_1{
        font-size: 1rem;
    }
}
/*--- Medium devices (tablets, 768px and up) ---*/
@media (min-width: 768px) {
	#frm_home_search .twitter-typeahead { width: 80%; }
	#frm_home_search .input-group-append { margin-top: 0; width: 20%; }
	#frm_home_search .input-group-append > .btn { width: 100% }
    
    .btn_search {
        border-radius: 2rem 2rem 0rem 2rem;
        margin-left: -60px;
        padding: 10px;
        z-index: 10 !important;
    }
    .card-librarian {
        border: none;
        margin-bottom: 30px;
        display: grid;
        margin: 0 30px !important;
    }
    .carousel-caption {
        top:15%;
    }
    .fs_line_1{
        font-size: 1rem;
    }
}
/*--- Large devices (desktops, 992px and up) ---*/
@media (min-width: 992px) {
	.btn_search {
        border-radius: 2rem 2rem 0rem 2rem;
        margin-left: -60px;
        padding: 10px;
        z-index: 10 !important;
    }
    .card-librarian {
        border: none;
        margin-bottom: 30px;
        display: grid;
        margin: 0 50px !important;
    }
    .carousel-caption {
        top:15%;
    }
    .fs_line_1{
        font-size: 1.5rem;
    }
}
/*--- Extra large devices (large desktops, 1200px and up) ---*/
@media (min-width: 1200px) {
    .btn_search {
        border-radius: 2rem 2rem 0rem 2rem;
        margin-left: -60px;
        padding: 10px;
        cursor: pointer;
        z-index: 10 !important;
    }
    .card-librarian {
        border: none;
        margin-bottom: 30px;
        display: grid;
        margin: 0 50px !important;
    }
    .carousel-caption {
        top:22%;
    }
    .fs_line_1{
        font-size: 2rem;
    }
}

.a-link:hover{
	text-decoration: underline !important;
}
