html, body {
    /* overflow-y: auto;
    height: 100%;
    min-height: 100%;
    width: 100%; */
    overflow-x: hidden;
}

/* main {
    min-height: 69.2%;
} */


.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;
}

.user-icon {
    color: black
}

.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;
}

.title {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 3rem;
    font-family: var(--bs-font-primary);
    font-weight: bold;
    margin: auto;
    color: var(--bs-dark);
}

.underline-header{
    margin-top: -50px;
	--color: var(--bs-primary) !important;
	--position: center bottom;
	--width: 50px;
	--height: 5px;
	background: linear-gradient(var(--color), var(--color)) var(--position) / var(--width) var(--height) no-repeat;
}

.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-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.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: #000;

}


.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) {
    .new-arivals-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .media-type-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .new-arivals-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .font-20 {
        font-size: 15px;
    }

}

@media (max-width: 600px) {
    .media-type-content {
        grid-template-columns: 1fr 1fr;
    }
    .new-arivals-content {
        grid-template-columns: 1fr 1fr;
    }
    .article-list img .article-list-img {
        height: 250px!important;
    }

}

.icon_more {
    position: relative;
    top: 3px;
    font-size: 16px;
}

.icon_view {
    position: relative;
    top: 1px;
    font-size: 16px;
}
/*
|--------------------------------------------------------------------------
| 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 Librarian
|--------------------------------------------------------------------------
*/

.slick-librarian div.slick-track {
    display: flex;
    align-items: flex-end;
}

.prevArrowBtn {
    position: absolute;
    z-index: 10;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
    left:-8%;
}
.nextArrowBtn {
    position: absolute;
    z-index: 10;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
    right: -8%;
}

/*
|--------------------------------------------------------------------------
| 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 ARTICLE
|--------------------------------------------------------------------------
*/
.bg-article {
    background-image: url(../img/goodkit/info/bg-info-bedo.png);
    background-size: cover;
}

.bg-okmd {
    background-image: url(../img/goodkit/info/bg-info-okmd.png);
    background-position: center;
    background-size: cover;
}
.card-article {
    grid-template-rows: auto 60px;
    border-radius: 15px;
    border: none;
    /* margin: 0 20px !important; */
}

/*
|--------------------------------------------------------------------------
| SECTION BANNERS (Carousel)
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Optimize for all devices
|--------------------------------------------------------------------------
*/
@media (max-width: 576px) {
    .title {
        font-size: 2rem;
    }
}
@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%; }


	.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% }

    .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% }

    .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) {

    .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) {

    .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;
}
