body {
}

@font-face {
    font-family: Roboto-Bold;
    src: url('../webfonts/Roboto-Bold.ttf');
}

@font-face {
    font-family: Roboto-Regular;
    src: url('../webfonts/Roboto-Regular.ttf');
}

h1, h2, h3, h4, h5, h6, p, a {
    color: #444;
}

    a:hover {
        color: #106338;
        text-decoration: none;
    }
/* remove rounding from cards, buttons and inputs */
.card, .btn, .form-control {
    border-radius: 0;
}

button:focus {
    outline: none;
}

.header {
    /*background: url('../images/bg-header.png') no-repeat top right white;*/
    background: url('../images/readingbook.png') no-repeat top right;
    background-size: 280px;
    height: 120px;
}

.logo {
    max-height: 100px;
}

.ct-navbar {
    border-bottom: 2px solid #106338;
}

    .ct-navbar .navbar-nav .nav-link {
        padding: 14px 0;
        color: #444;
        margin-right: 30px;
        font-size: 1.1rem;
    }

        .ct-navbar .navbar-nav .nav-link:hover {
            color: #106338;
        }

    .ct-navbar .navbar-nav .nav-item.active .nav-link {
        color: #106338;
        font-weight: 700;
        border-bottom: 4px solid #106338;
    }

.hotline-hd .nav-link {
    background: #E6EFE7;
    padding: 13px 18px;
    font-size: 1.1rem;
    color: #565656;
}

.bg-index {
    background: url('../images/bg-index.png') no-repeat top right #E6EFE7;
    background-size: 500px;
    min-height: calc(100vh - 130px);
}

.ct-dropdown-menu .dropdown-item {
    padding: .35rem 1.5rem;
}

.dropdown-dms {
    width: 286px;
}

    .dropdown-dms .dropdown-menu {
        top: -2px !important;
        padding: 15px;
    }

    .dropdown-dms.dropdown-dms-index .dropdown-menu {
        top: 0px !important;
        min-height: 400px;
    }

    .dropdown-dms .dropdown-menu .dropdown-item {
        padding: .5rem 0;
        border-bottom: 1px solid #E5E5E5;
    }

.icon-circle {
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
}

.icon-circle-s2 {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 20px;
}

    .icon-circle-s2:hover {
        background: #8bc35e !important;
        color: #fff;
    }

.btn.focus, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0rem rgba(0,0,0,.0);
}

.input-group-search {
    width: calc(100% - 286px);
}

.custom-select-search {
    max-width: 260px;
}

.top-post-section {
    width: calc(100% - 286px);
    margin-top: 20px !important;
}

.left-menu {
    width: 286px;
}

.right-ct {
    width: calc(100% - 286px);
    padding-left: 30px;
}

.book-deck .card {
    max-width: 183.5px;
}

.nav-cate .nav-item .nav-link {
    background: #ebebeb;
}

.nav-cate .nav-item.active .nav-link {
    background: #8bc35e;
    color: #fff;
}

.tt-ct {
    border-left: 3px solid #8bc35e;
    padding-left: 15px;
    background: #fff;
}

.list-books .media {
    align-items: center;
}

.list-books .image-box {
    width: 130px;
    margin-right: 15px;
}

.list-group-item {
    border: 1px solid rgba(0, 0, 0, 0.06);
}

    .list-group-item.active {
        background-color: #ffffff;
        border-color: rgba(0, 0, 0, 0.06);
    }

        .list-group-item.active > a {
            color: #106338;
            font-weight: 600;
        }

        .list-group-item.active .badge {
            color: #106338 !important;
        }

.form-control:focus::placeholder {
    opacity: 0;
}

.breadcrumb {
    padding: .75rem 0;
    background-color: transparent;
}

.sidebar {
    width: 286px;
}

.ct-news {
    width: calc(100% - 286px);
}

.list-news .image-box {
    width: 280px;
    margin-right: 20px;
}

.list-news-sm .image-box {
    width: 84px;
    margin-right: 10px;
}

.list-news-sm .media {
    border-bottom: 1px solid #efefef;
}

footer {
    background: url(../images/bg-ft.png) no-repeat bottom left #106338;
    background-size: 100%;
}

.ct-footer {
    /*min-height: 450px;*/
    padding-top: 70px;
}

.ft-logo {
    position: absolute;
    left: 0;
    top: -170px;
}

.nav-footer .nav-link {
    color: #fff;
    padding: 5px 0;
}

    .nav-footer .nav-link:hover {
        text-decoration: underline;
    }

p.copyright {
    position: absolute;
    left: 15px;
    bottom: 0;
    color: rgba(255, 255, 255, 0.3);
}

/* -------------------------Collapse------------------------- */
.panel-group {
    margin-bottom: 0;
}

    .panel-group .panel {
        border-radius: 0;
        box-shadow: none;
    }

        .panel-group .panel .panel-heading {
            padding: 0;
        }

            .panel-group .panel .panel-heading h4 a {
                background: #fff;
                display: block;
                font-size: 16px;
                font-weight: bold;
                padding: 15px;
                text-decoration: none;
                transition: 0.15s all ease-in-out;
            }

                .panel-group .panel .panel-heading h4 a:hover, .panel-group .panel .panel-heading h4 a:not(.collapsed) {
                    background: #8bc35e;
                    transition: 0.15s all ease-in-out;
                    color: #fff;
                }

                    .panel-group .panel .panel-heading h4 a:not(.collapsed) i:before {
                        content: "";
                        color: #fff;
                    }

                    .panel-group .panel .panel-heading h4 a:hover i {
                        color: #fff;
                    }

                .panel-group .panel .panel-heading h4 a i {
                    color: #999;
                }

        .panel-group .panel .panel-body {
            padding-top: 0;
        }

        .panel-group .panel .panel-heading + .panel-collapse > .list-group,
        .panel-group .panel .panel-heading + .panel-collapse > .panel-body {
            border-top: none;
        }

        .panel-group .panel + .panel {
            border-top: none;
            margin-top: 0;
        }

/* -------------------------Ratio------------------------- */
.image-box {
    position: relative;
    overflow: hidden;
}

    .image-box::before {
        content: "";
        display: block;
        padding-top: 100%; /* initial ratio of 1:1*/
    }

    .image-box .image {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        margin: auto;
        background-size: cover;
        background-position: center;
    }

    .image-box.ratio-1-1::before {
        padding-top: 100%;
    }

    .image-box.ratio-2-1::before {
        padding-top: 50%;
    }

    .image-box.ratio-1-2::before {
        padding-top: 200%;
    }

    .image-box.ratio-3-4:before {
        padding-top: 150%;
    }

    .image-box.ratio-4-3:before {
        padding-top: 75%;
    }

    .image-box.ratio-5-3:before {
        padding-top: 60%;
    }

    .image-box.ratio-16-9:before {
        padding-top: 56.25%;
    }
/* -------------------------Close ratio------------------------- */

/* -------------------------Cut Text---------------------------- */
.text-1line {
    display: -webkit-box;
    /* autoprefixer: off */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-2line {
    display: -webkit-box;
    /* autoprefixer: off */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-3line {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fix-dropdown-menu {
    max-height: 536px;
    overflow-y: auto;
}

/* ------------------------Close Cut Text----------------------- */
@media (min-width: 993px) {
    .ct-navbar .navbar-nav .nav-link {
        padding: 15px 0;
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    .ct-navbar .navbar-nav .nav-link {
        padding: 14px 0;
        font-size: 1.1rem;
    }
}


@media (max-width: 1199px) {
    .fix-dropdown-menu {
        max-height: 475px;
    }
}

@media (max-width: 992px) {
    .slogan p {
        font-size: 14px;
    }

    .slogan h3 {
        font-size: 18px;
    }

    .left-menu {
        width: 100%;
    }

    .right-ct {
        width: 100%;
        padding-left: 0;
    }

    .sidebar {
        width: 100%;
    }

    .ct-news {
        width: 100%;
    }

    .input-group-search {
        width: 100%;
    }

        .input-group-search .form-control {
            width: 100%;
        }

    .custom-select-search {
        width: 100% !important;
        max-width: 100%;
    }

    .input-group-search .btn {
        display: block;
        background: #8bc35e;
        width: 100%;
        color: #fff !important;
    }
}


@media only screen and (max-width: 767.98px) {
    .header {
        /*height: 90px;*/
        background: url(../images/bghead.png) no-repeat top right;
    }

    .navbar-light .navbar-toggler {
        color: rgba(0,0,0,.5);
        border-color: rgba(0,0,0,0);
    }

    .navbar-toggler {
        padding: .25rem 0;
    }

    .ct-navbar .navbar-nav .nav-link {
        margin-right: 0;
    }

    .slogan p {
        font-size: 12px;
    }

    .slogan h3 {
        font-size: 14px;
    }

    .input-group-search {
        width: 100%;
    }

        .input-group-search .form-control {
            width: 100%;
        }

    .custom-select-search {
        width: 100% !important;
        max-width: 100%;
    }

    .input-group-search .btn {
        display: block;
        background: #8bc35e;
        width: 100%;
        color: #fff !important;
    }

    .top-post-section {
        width: 100%;
    }

    .bg-index {
        background-size: 300px;
    }

    .btn-group-sm > .btn, .btn-sm {
        padding: .25rem .2rem;
    }

    .ct-footer h6 > span {
        font-size: 9px;
    }

    p.copyright {
        position: relative;
        color: rgba(255, 255, 255, 0.3);
        margin-bottom: 0;
        padding-bottom: 15px;
        left: 0;
    }

    .ct-navbar {
        border-bottom: 2px solid #8bc35e;
        background: #e4f3d7 !important;
    }

    .left-menu {
        width: 100%;
    }

    .right-ct {
        width: 100%;
        padding-left: 0;
    }

    .card-deck.book-deck {
        flex-direction: row;
        display: -webkit-inline-flex;
        display: -moz-inline-flex;
        display: -ms-inline-flex;
        display: -o-inline-flex;
        display: inline-flex;
        flex-wrap: wrap;
    }

        .card-deck.book-deck .card {
            max-width: 100%;
        }

    .list-tt-book {
        font-size: 1.1rem;
    }

    .book-detail .image-box {
        width: 150px !important;
        margin-right: 15px;
    }

    .input-group > .custom-select {
        width: 100%;
    }

    .modal-dialog {
        width: 100%;
    }

    .sidebar {
        width: 100%;
    }

    .ct-news {
        width: 100%;
    }

    .list-news .image-box {
        width: 110px;
        margin-right: 15px;
    }

    .ft-logo {
        left: 5px;
        top: -140px;
        width: 100px;
    }

    .readmore-post, .text-ct-post {
        display: none;
    }
}


.color-white, .color-white p, .color-white h1, .color-white h2, .color-white h3, .color-white h4, .color-white h5, .color-white h6 {
    color: #fff !important;
}

.text-upper {
    text-transform: uppercase;
}

.no-wrap {
    white-space: pre-wrap;
}

.font13 {
    font-size: 13px !important;
}

.font15 {
    font-size: 15px !important;
}

.bgbanner {
    background: url(../images/bghead.png) no-repeat top right white;
    /*background-size: 280px;
    height: 120px;*/
    /*background-image: url(../images/bghead.jpg);*/
}

.ft-text {
    color: #fff;
}

.hd-text1 {
    font-family: Roboto-Bold;
    font-size: 12pt;
    color: #E4E4E4;
}

.hd-text2 {
    font-family: Roboto-Bold;
    font-size: 23pt;
    color: #0E581B;
}

.col-adv {
    max-width: 33%;
    display: inline-flex;
    /*border: 1px solid #444;*/
}

.col > a > img {
    margin: 9px;
}


.download-app {
    width: max-content;
}

    .download-app .btndownload-Download {
        border: 1px solid #8c9094;
        border-radius: 10px;
        background-color: #8bc35e;
    }
