@charset "UTF-8";
/* font */
.noto{
    font-family: 'Noto Sans Thai', sans-serif !important;
}
.srb{
    font-family: 'Sarabun', sans-serif !important;
}
.srb-content{
    font-family: 'Sarabun', sans-serif !important;
    font-size:16px!important;
    text-indent: 2em;
    letter-spacing: 0.5px;
    line-height: 20pt;
}
.srb-history p, .srb-history pre {
    font-family: 'Sarabun', sans-serif !important;
    font-size:16px!important;
    text-indent: 2em;
    letter-spacing: 0.5px;
    line-height: 20pt;
}

.srb-history h1, .srb-history h2, .srb-history h3 {
    font-family: 'Noto Sans Thai', sans-serif !important;
}

.srb-contact{
    font-family: 'Sarabun', sans-serif !important;
    font-size: 15px!important;
    letter-spacing: 0.5px;
}

h1, h2, h3, h4, a {
    font-family: 'Noto Sans Thai', sans-serif;
}

.noto-history{
    font-family: 'Noto Sans Thai', sans-serif !important;
    font-size:16px!important;
}
.text h2 {
    font-family: 'Sarabun', sans-serif !important;
    font-size:16px!important;
    text-indent: 2em;
    letter-spacing: 0.5px;
    line-height: 20pt;
}

.text p {
    font-family: 'Sarabun', sans-serif !important;
    font-size:16px!important;
    text-indent: 2em;
    letter-spacing: 0.5px;
    line-height: 20pt;
}

.text-g{
    color: #108c19;
}

.pace .pace-progress {
    background: #108c19!important;
}

/*เมนู*/
.header .header-nav .nav>li.active>a {
    color: #108c19;
}
.header .header-nav .nav>li.active>a:hover {
    color: #108c19;
}
.header .dropdown-menu {
    border-top: 3px solid #108c19;
}
.header .dropdown-menu .dropdown-item:focus, .header .dropdown-menu .dropdown-item:hover {
    color: #108c19;
}
.dropdown .arrow.top:after, .dropdown .arrow.top:before {
    border-bottom-color: #108c19 !important;
}
.dropdown-menu-list>li>a:hover {
    color: #108c19 !important;
}

.btn-success-custom {
    --bs-btn-color: #000000;
    --bs-btn-bg: #108c19;
    --bs-btn-border-color: #108c19;
    --bs-btn-hover-color: #000000;
    --bs-btn-hover-bg: #129b1c;
    --bs-btn-hover-border-color: #0a8913;
    --bs-btn-focus-shadow-rgb: 0,146,146;
    --bs-btn-active-color: #000000;
    --bs-btn-active-bg: #05840e;
    --bs-btn-active-border-color: #0a8913;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000000;
    --bs-btn-disabled-bg: #108c19;
    --bs-btn-disabled-border-color: #108c19;
}

.section-title {
    margin: -5px 0 15px;
}
.section-title a.btn {
    color: #108c19;
    border: 1px solid #108c19;
}
.section-title a.btn:hover {
    border: 1px solid #ced4da;
}

.account-container .account-sidebar {
    /*width: 300px !important;*/
    border-radius: 0 6px 6px 0;
}
@media (max-width: 767.98px){
    .account-container .account-sidebar {
        width: auto;
        position: relative;
        padding: 15px;
        border-radius: 0 0 6px 6px;
    }
}

.product-tab {
    padding-top: 20px !important;
}
.product-tab .nav.nav-tabs .nav-item .nav-link.active {
    background: 0 0;
    border-color: transparent;
    border-bottom: 1px solid #108c19;
    color: #108c19;
}

.input-group-text {
    background-color: #108c19;
    border: 1px solid #108c19;
}

.pagination > li > a
{
    background-color: white;
    color: #108c19;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover
{
    color: #fff;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a {
    color: white !Important;
    background-color: #108c19 !Important;
    border: solid 1px #108c19 !Important;
}

.pagination > .active > a:hover {
    background-color: #108c19 !Important;
    border: solid 1px #108c19;
}
.pagination .page-item.page-item {
    margin-left: 2px;
}
.pagination .page-item.page-item a {
    color: #108c19;
}

.loading{position: absolute;left: 0; top: 0; right: 0; bottom: 0;z-index: 2;background: rgba(255,255,255,0.7);}
.loading .content {
    position: absolute;
    transform: translateY(-50%);
     -webkit-transform: translateY(-50%);
     -ms-transform: translateY(-50%);
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    color: #555;
}

/*บุคลากร*/
.item.item-thumbnail.eper {
    border: 1px solid #108c19;
    border-radius: 4px;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 5px;
}
.box-shadow{
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}
h3.eperfont {
    font-family: 'Noto Sans Thai', sans-serif !important;
    font-size: 16px;
    padding: 0;
    margin: 0;
    line-height: 25px;
    color: #108c19;
}
p.eperfont {
    font-family: 'Noto Sans Thai', sans-serif !important;
    font-size: 13px;
    padding: 0;
    margin: 0;
    line-height: 22px;
}
p.ehperfont {
    font-family: 'Noto Sans Thai', sans-serif !important;
    background-color: #108c19; 
    color: #fff;
    padding: 4px;
    margin-bottom: 0px !important;
}
.title-eperson {
    color: #fff;
    padding: 14px;
    background-color: #108c19;
    border-radius: 5px 5px 0 0;
}
.center {
    display: block;
    text-align: -webkit-center;
}

/* etcs */
.header .header-logo img {
    max-height: 60px;
    margin-right: 5px;;
}
@media (max-width: 575.98px) {
    .header .header-logo {
        flex: none;
    }

}
.header .header-nav:last-child {
    width: auto;
}

.text-logo{
    font-size: 22px !important;
    color: #108c19;
}
.text-logo-small{
    font-size: 12px !important;
}
