html,
body {
    font-size: 14px;
}

@font-face {
    font-family: 'kanit_light';
    src: url('font/fonteot/Kanit-Light.eot');
    src: url('font/fontwoff2/Kanit-Light.woff2') format('woff2'),
    url('font/fontwoff/Kanit-Light.woff') format('woff'),
    url('font/fontttf/Kanit-Light.ttf') format('truetype'),
    url('font/fontsvg/Kanit-Light.svg') format('svg');
}

@font-face {
    font-family: 'kanit_bold';
    src: url('font/fonteot/Kanit-Bold.eot');
    src: url('font/fontwoff2/Kanit-Bold.woff2') format('woff2'),
    url('font/fontwoff/Kanit-Bold.woff') format('woff'),
    url('font/fontttf/Kanit-Bold.ttf') format('truetype'),
    url('font/fontsvg/Kanit-Bold.svg') format('svg');
}

@font-face {
    font-family: 'THsarabun';
    src: url('font/fonteot/THSarabunNew.eot');
    src: url('font/fontwoff2/THSarabunNew.woff2') format('woff2'),
    url('font/fontwoff/THSarabunNew.woff') format('woff'),
    url('font/fontttf/THSarabunNew.ttf') format('truetype'),
    url('font/fontsvg/THSarabunNew.svg') format('svg');
}

/*Login*/
.login-style {
    /*background-image: url(bg-logo.png);*/
    background-size: 108%;
    background-color: #000 !important;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, rgb(66 66 66 / 100%) 100%), url(bg-logo.png);
    background-repeat: repeat-x;
    background-attachment: fixed;
    background-position: center;
}

.justify-content-center {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.row-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/*.form-login{*/
/*margin-top: 100px;*/
/*width: 600px;*/
/*overflow: hidden;*/
/*background: #fff;*/
/*border-radius: 5px;*/
/*-webkit-box-shadow: 0 10px 34px -15px rgb(0 0 0 / 24%);*/
/*box-shadow: 0 10px 34px -15px rgb(0 0 0 / 24%);*/
/*}*/
.imgLogin {
    background-repeat: no-repeat;
    background-position: center center;
}

.form-group .r-login {
    border-radius: 25px;
}

.r-login {
    cursor: pointer;
    color: #ffffff;
    /*margin-top: 10px;*/
    height: 38px;
    width: 100%;
}

.navbar {
    margin-bottom: unset;
}

.navbar-nav > li > a {
    padding-top: 7px;
    padding-bottom: unset;
}

[class*=sidebar-dark-] .nav-treeview > .nav-item > .nav-link {
    color: #c2c7d0;
    padding-left: 40px;
}

.btn-app > .badge {
    font-size: 12.5px !important;
    font-weight: 400;
    position: absolute;
    right: -5px !important;
    top: -5px !important;
    width: 20px;
    height: 20px;
    border-radius: 10px;
}

.color-login {
    background-color: #00519A;
    border: none;
}

.color-login:hover {
    background-color: #ffffff;
    color: #00519A;
    border: solid #00519A 1px;
}

/*Login*/

/*.app-header__logo .logoadmin-src {*/
/*height: 40px;*/
/*width: 140px;*/
/*background: url(images/logo03.png);*/
/*}*/

.one-box-data {
    margin-bottom: 50px;
}

.box-head-step {
    margin-bottom: 20px;
}

.text-space {
    max-width: 2% !important;
    text-align: center;
}

.input-group, .input-data {
    height: 34px !important;
}

.img-catalog-pre {
    width: 100%;
    border: solid 1px #D5D5D5;
    float: left;
    margin: 5px 0px;
    overflow: hidden;
}

.box-data {
    padding: 2rem 2rem;
    margin-bottom: 2rem;
    background-color: #f1f4f6;
    border-radius: .3rem;
}

.vertical-nav-menu li a:hover {
    background: #ffcdc7 !important;
    color: black !important;
    text-decoration: none;
}

.vertical-nav-menu li a.mm-active {
    color: #343a40;
    background: #ffcdc7 !important;
    font-weight: bold;
}

.app-sidebar__heading {
    text-transform: uppercase;
    font-size: .8rem;
    margin: .75rem 0;
    font-weight: bold;
    color: #92171E !important;
    white-space: nowrap;
    position: relative;
}

.closed-sidebar .app-sidebar .app-sidebar__inner .app-sidebar__heading::before {
    background: #ffcdc7 !important;
}

.vertical-nav-menu li.mm-active > a {
    font-weight: bold;
    color: black !important;
}

.vertical-nav-menu ul:before {
    background: #ffcdc7 !important;
}

.w-15p {
    width: 15% !important;
}

.w-10P {
    width: 10%;
}

.bg-ffcdc7 {
    background-color: #ffcdc7 !important;
}

.w-5p {
    width: 5% !important;
}

.head-list-92171E {
    font-weight: bolder;
    text-transform: uppercase;
    color: #92171E;
}

.m-t25 {
    margin-top: 25px;
}

thead tr th {
    background-color: #ffecea;
}

.table thead th a {
    color: black;
}

#headingOne {
    background-color: #ffecea;
    height: 40px;
    cursor: pointer;
}

.fa-fw, .fa-edit, .fa-sticky-note {
    font-size: 25px;
}

.fa-trash, .fa-edit {
    font-size: 16px;
    color: #92171E;
}

.head-list {
    color: #92171E;
    font-size: 16px;
    font-weight: bold !important;
}

.box-action {
    width: 150px;
    display: flex;
    border: 0px !important;
    justify-content: space-evenly;
}

.chk_slide {
    display: flex;
    justify-content: space-between;
}

.btn-danger {
    color: #fff;
    background-color: #f95867;
    border-color: #f95867;
    box-shadow: none;
    width: 100px;
}

.color-top-head {
    width: 100%;
    height: 5px;
    background-color: #92171E;
}

.card {
    margin-bottom: 30px;
}

.category {
    padding: 15px;
    border: solid 1px #d2d2d2;
    margin: 10px 15px;
    border-radius: 4px;
    max-width: 22% !important;
}

.direction {
    color: #9e9e9e;
    font-size: 11px;
}

.category label {
    width: 100%;
}

.pagination {
    display: flex;
    justify-content: center;
}

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    background-color: #000000 !important;
}

#margin-border-top {
    margin: 180px;
}

.header-user-info {
    margin-right: 1rem;
}

.icon-gradient {
    font-size: 35px;
}

.bg-arielle-smile {
    background-image: radial-gradient(circle 248px at center, #16d9e3 0%, #30c7ec 47%, #46aef7 100%) !important;
}

.btn-right {
    float: right;
}

.card-header span {
    font-size: 25px;
}

.image_main {
    width: 50%;
    float: left;

}

.image_sub {
    width: 33.33%;
    float: left;
}

.image_main, .image_sub, .image_main_ipad {
    overflow: hidden;
    position: relative;
}

.div-span-on-img-color {
    position: absolute;
    bottom: 0px;
    color: white;
    padding: 15px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgb(71 71 71) 28%, rgb(250 250 250 / 0%) 100%);
    opacity: 80%;
    width: 100%;
    height: 60%;
}

.w-100P {
    width: 100%;
}

.m0 {
    margin: 0px;
}

.div-span-on-img {
    font-family: kanit_light;
    position: absolute;
    bottom: 10px;
    left: 15px;
    color: white;
}

.h-cover {
    font-weight: bold;
    /*font-size: 35px;*/
}

.s-cover {
    font-size: 16px;
}

.btn-save-cancel a {
    width: auto;
}

.btn-save-cancel button {
    width: auto;
}

.vertical-nav-menu li.mm-active > a {
    font-weight: bold;
    color: #00519A;
}

.help-block {
    color: red;
}

.form-check img {
    opacity: 50%;
}

.form-check img:hover {
    opacity: 100%;
}

.cover_publisher {
    float: left;
    width: 30%;
    margin-right: 2%;
}

.data_publisher {
    float: left;
    width: 68%;
}

.r-box {
    float: left;
    width: 16.6%;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 0px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.topic-head {
    border-bottom: solid 1px #dfdfdf;
    padding-bottom: 15px;
    margin: 0px 15px 0px;
}

.topic-head span {
    font-size: 30px;
    font-family: font_heading;
}

.boxProductTheme1-head {
    font-size: 18px;
    font-weight: bold;
    height: 45px;
    overflow: hidden;
}

#heading {
    font-family: font_heading;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.btn-read-product {
    cursor: pointer;
    border-radius: 25px;
    border: 1px solid #00519A;
    color: #00519A;
    width: 111px;
    padding: 4px;
    height: 40px;
}

.btn-read-product:hover {
    background-color: #00519A;
    color: white;
}

.boxProductTheme1-read {
    text-align: center;
    margin: 15px;
}

.detail-box {
    padding: 0px 50px;
    width: 58.33333333%;
    float: right;
}

.publisher-isbn {
    margin: 15px 15px 0px;
}

.publisher-isbn span {
    color: #565656;
    font-family: font_heading;
    font-size: 16px;
}

.price {
    border-bottom: solid 1px #dfdfdf;
    padding: 15px 0px;
    margin: 0px 15px 0px;
}

.price span {
    font-size: 46px;
    color: #00519A;
    font-weight: bolder;
    font-family: font_heading;
}

/*.detail-book {*/
/*margin: 15px 15px 0px;*/
/*}*/
/*.detail-book span{*/
/*font-size: 22px;*/
/*font-family: font_body;*/
/*-webkit-line-clamp: 4;*/
/*display: -webkit-box;*/
/*overflow: hidden;*/
/*-webkit-box-orient: vertical;*/
/*}*/
/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

#description-th, #description-en {
    font-family: font_body;
}

.imgposition {
    opacity: 0.4;
}

.r-box img:hover {
    opacity: 1.0;
}

.opClass {
    opacity: 1.0;
}

.form {
    font-family: font_heading;
    padding: 50px 70px;
}

.form-login {
    margin-top: 100px;
    width: 600px;
    overflow: hidden;
    background: #fff;
    border-radius: 5px;
    -webkit-box-shadow: 0 10px 34px -15px rgb(0 0 0 / 24%);
    box-shadow: 0 10px 34px -15px rgb(0 0 0 / 24%);
}

.form-group .r-login {
    border-radius: 25px;
}

.justify-content-center {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.row-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.color {
    background-color: #00519A;
    border: none;
}

.color:hover {
    background-color: #ffffff;
    color: #00519A;
    border: solid #00519A 1px;
}

.r {
    cursor: pointer;
    color: #ffffff;
    /*margin-top: 10px;*/
    height: 38px;
    width: 100%;
}

.logout {
    width: 40px;
}

/*textedit*/
blockquote {
    border-left: 3px solid #00519A;
    padding: 5px 0 5px 10px;
    margin: 15px 0 15px 15px;
}

/*.rte_command_fullscreenenter,*/
.rte_command_insertemoji,
.rte_command_preview,
.rte_command_togglemore,
.rte_command_lineheight,
.rte_command_toggleborder,
.rte_command_fontname,
.rte_menuitem_cmd_insertimagebycamera
{
    display: none;
}

/*rte-resizecorner*/
/*{*/
/*display: none;*/
/*}*/

rte-dialog-outer {
    max-width: 1070px;
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.rte-dialog-insertgallery rte-dialog-inner, .rte-dialog-inserttemplate rte-dialog-inner {
    top: 25px;
}

.richtexteditor {
    height: 610px !important;
    width: 100% !important;
}

.table-bd tr td {
    border: solid 1px #D5D5D5;
}

.table-bd {
    width: 100%;
}

.internet {
    display: flex;
    justify-content: space-between;
}

/*smartphone heard*/
@media only screen and (max-width: 501px) {
    .row-box {
        width: 360px;
    }

    .small-box {
        text-align: left !important;
    }

    .small-box .icon {
        display: block !important;
    }

    .input-group-addon {
        width: auto;
        padding: 9px 12px;
    }

    .name-internet {
        margin-right: 5px;
    }

    .internet {
        width: 100%;
    }

    .btn-plus {
        margin-top: 5px;
        text-align: right;
        padding: 0px;
    }

    .div_data_sm {
        display: flex;
        flex-direction: row;
    }

    .img-catalog {
        width: 17.6%;
        float: left;
        margin: 0px 5px;
    }

    .img-catalog-pre {
        height: 80px;
    }

    .p0 {
        padding: 0px !important;
    }

    .image_main {
        height: 85px;
    }

    .h-cover {
        font-weight: bold;
        font-size: 16px;
    }

    .s-cover {
        font-size: 13px;
    }

    .chk_slide {
        width: 100%;
    }
}

/*tablet*/
@media only screen and (max-width: 1000px) and (min-width: 501px) {

    .input-group-addon {
        width: auto;
        padding: 9px 12px;
    }

    .name-internet {
        width: 19.6% !important;
        margin-right: 5px;
    }

    .internet {
        width: 79.3%;
    }

    .div_data_sm {
        display: flex;
        flex-direction: row;
    }

    .btn-plus {
        margin-top: 5px;
        text-align: right;
        padding: 0px;
    }

    .img-catalog {
        width: 18.5%;
        float: left;
        margin: 0px 5px;
    }

    .img-catalog-pre {
        height: 130px;
    }

    .image_main {
        height: 180px;
    }

    .h-cover {
        font-weight: bold;
        font-size: 20px;
    }

    .s-cover {
        font-size: 13px;
    }

    .p0 {
        padding: 0px !important;
    }

    .chk_slide {
        width: 100%;
    }
}

/*desksm*/
@media only screen and (max-width: 1200px) and (min-width: 1001px) {
    .input-group-addon {
        width: auto;
        padding: 9px 12px;
    }

    .name-internet {
        width: 20% !important;
        margin-right: 5px;
    }

    .internet {
        width: 79%;
    }

    .col-md-12 > .div_data {
        display: flex;
        align-items: baseline;
    }

    .btn-plus {
        margin-top: 5px;
        text-align: right;
        padding: 0px;
    }

    .img-catalog {
        width: 18.7%;
        float: left;
        margin: 0px 5px;
    }

    .img-catalog-pre {
        height: 210px;
    }

    .image_main {
        height: 280px;
    }

    .chk_slide {
        width: 35%;
    }
}

/*desklg*/
@media only screen and (min-width: 1200px) {
    .input-group-addon {
        width: auto;
        padding: 9px 12px;
    }

    .name-internet {
        width: 20% !important;
        margin-right: 5px;
    }

    .internet {
        width: 79%;
    }

    .col-md-12 > .div_data {
        display: flex;
        align-items: baseline;
    }

    .btn-plus {
        margin-top: 5px;
        text-align: right;
        padding: 0px;
    }

    .img-catalog {
        width: 19%;
        float: left;
        margin: 0px 5px;
    }

    .img-catalog-pre {
        height: 210px;
    }

    .image_main {
        height: 280px;
    }

    .chk_slide {
        width: 35%;
    }
}