@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;1,200&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,600;1,100&display=swap');

html body {
    height: 100%;
   /* background-color: #FFE5E0;*/
    direction: ltr;
    /*padding-top:210px;*/
}


html body p {
    line-height : unset !important;
}


.tcms-font-normal {
    font-size: 100%;
}

.tcms-font-medium {
    font-size: 110%;
}


.tcms-font-large {
    font-size: 120%;
}



 

#topBar {
    background: rgb(191 24 25 / 70%);
    background: linear-gradient(90deg, rgb(217 45 45) 0%, rgb(141 13 13) 100%);
    color: #fff;
 /*   position: fixed; */
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

 

#header {
    color: rgb(240, 240, 240);
    background: linear-gradient(90deg, rgb(255, 229, 224) 0%, rgb(255, 229, 224) 35%, rgb(255, 229, 224) 100%);
   /* position: fixed;
    top: 38px;
   */
    right: 0;
    left: 0;
    z-index: 1030;
}


div#appid-175 {
    /*position: fixed;
    top: 165px;
*/
    right: 0;
    left: 0;
    z-index: 1030;
}


nav#header-nav h1 {
    font-weight: 600;
}


.navbar > .container, .navbar > .container-fluid, .navbar > .container-xs, .navbar > .container-sm, .navbar > .container-md, .navbar > .container-lg, .navbar > .container-xl, .navbar > .container-xxl {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
}


.navbar-nav {
    display: flex;
    flex-direction: row;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    align-content: space-between;
    justify-content: flex-end;
}



#navbarbrand img.navbar-brand-logo {
    width: 80px;
}

.navbar-brand{
    font-family: 'Kanit';
}

#header a {
    color: yellow;
    text-decoration: none;
}


.nav {
    border-radius: 0;  
}



.navbar-light .navbar-brand {
    color: rgba(34, 41, 47, 0.9);
    font-family: 'Kanit';
}


.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li:hover > a {
    background: #7B0909;
    border-radius: 4px;
    color: #fff;
}

.horizontal-menu .header-navbar .navbar-container {
    border-radius: 0;
}

#appid-175 .dropdown-menu { 
    background-color: #7B0909; 
}

#appid-175 .dropdown-item { 
    color: #ceccd7; 
}

#appid-175 .horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li > .dropdown-menu a:hover {
    background-color: transparent;
    color: #dfe97e !important;
}


.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li > .dropdown-menu a:hover {
    background-color: transparent;
    color: #cbce44;
}



.file-manager-application .content-area-wrapper .file-manager-main-content .file-manager-content-body .view-container:not(.list-view) .file-manager-item .feather-layout {
    height: 32px;
    width: 35px;
}

.main-menu.menu-light .navigation {
    background: #fff;
    font-family: 'Kanit';
}

@media (min-width: 1440px) {
    .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        max-width: 1200px !important;
    }
}

.horizontal-layout.navbar-floating .horizontal-menu-wrapper {
    
    background-repeat: repeat-x;
}

 

.horizontal-menu .horizontal-menu-wrapper {
    position:relative;  
    top:0px; 
    z-index: 990;
    width: 100%;
    background: #FFE5E0 !important;
}


 
.main-menu-content {
 font-family: 'Kanit';
background: #FFE5E0;
}


.header-navbar .navbar-container ul.navbar-nav li > a.nav-link {
    color: #A31111; 
    font-size: 1.1rem;
    font-weight: 600;
}

.navbar-expand-sm .navbar-nav {
    flex-direction: row;
    border-top: 0px solid #a31111;
}


.horizontal-menu .horizontal-menu-wrapper .header-navbar {
    min-height: unset ;
}

.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation > li {
    padding-top: 0;
    padding-bottom: 0;
}


h1, h2, h3 {
    font-family: 'kanit';
}

#footer {
    background-color: #272727;
    min-height: 200px;
    color: unset !important;
    font-family: 'kanit';
}

    #footer a {
      /*  color: unset !important;*/
        font-family: 'kanit';
    }
    #footer h3 {
        color: unset !important;
        font-family: 'kanit';
    }

.footer-bottom {
    background-color: #333;
    min-height: 30px;
    padding: 14px 0px 14px 90px  ;
    color:#f0f0f0 !important;
}


  .feather-file {
    height: 32px;
    width: 35px;
}


.app-flex h4, .app-flex .h4 {
    font-size: 1.286rem;
    font-family: 'Kanit';
    font-weight:600;
}


element.style {
}



.app-flex  .card {
   /*
    min-height: 350px;
    max-height: 350px;
  */ 
   overflow: hidden;
}


.app-flex .text-body { 
    max-height: 40px;
    overflow: hidden !important;
}

.app-tab .nav-tabs .nav-item {
    position: relative;
    font-family: 'Kanit';
    font-size: 1.5rem;
}


.app-tab .list-group-item a {
    color: #7367f0;
    text-decoration: none;
    color: #333;
    font-family: 'Sarabun';  
}

.app-tab .post-date {
    font-family:'Kanit';
}
.app-visitor {
    font-family: 'Kanit';
}

.app-single-blog {
    font-family: 'Sarabun';
}

    .app-single-blog h4.card-title {
        font-family: 'Kanit' !important;
        font-size:1.7rem;
    }

    .app-single-blog p {
        font-family: Sarabun;
    }


.landing-page {
    font-family:'Kanit';
}

.carousel-item h3 {
    font-size:3rem;

}
.carousel-item p {
    font-size: 1.8rem;
    font-family:'Kanit';
}

.consent_section {
    font-family: Sukhumvittadmai_med;
    color: rgb(0, 0, 0);
    background: rgb(230, 232, 236);
    border-bottom: 1px solid rgba(145, 146, 148, 0.6);
    font-size: 14px;
    line-height: 1.4;
}

    .consent_section .consent_wrapper {
        max-width: 1300px;
        margin: 0px auto;
        padding: 20px 30px;
    }

[class*="wrapper"]::before, header::before, [class*="wrapper"]::after, header::after {
    display: table;
    content: "";
}


[class*="wrapper"]::after, header::after {
    clear: both;
}

    .consent_section .consent_left {
        padding-right: 50px;
        max-width: 70%;
        float: left;
    } 
    .consent_section .consent_right {
        float: right;
        padding-top: 10px;
    }

.btn-accept-consent {
    color: rgb(116, 93, 185);
    background-color: rgb(255, 255, 255);
    text-decoration: none;
    border: 1.5px solid rgb(116, 93, 185);
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    line-height: 44px;
    font-size: 14px;
    padding: 0px 20px;
}

.consent_title {
    color: rgb(75, 45, 133);
    margin: 0px;
    font-size: 22px;
}



.blog-detail-wrapper {
    font-size: 1.3rem !important;
}

.app-page-title {
    font-family: 'Kanit';
}


.app-marquee span.title {
    width: 100px;
    padding-left: 10px; 
    padding-bottom: 5px;
    padding-top: 5px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    font-weight: 600;
 color: chocolate;
}

.app-marquee marquee{ 
    padding-top: 5px; 
}


#appid-228 {
    background: navy;
    color: #fff;
}

#appid-225 li.list-group-item {
    line-height: 1 !important;
}

.pricing-card .card.popular {
    border: 5px solid #7367f0;
}

 

.navbar-nav .feather, [data-feather] {
    height: 3rem;
    width: 3rem;
    display: inline-block;
    color: #bd3838;
    border: 1px solid !important;
    padding: 2px;
    border-radius: 5px;
    background: #f0f0f0;
}

.list-group .list-group-item {
    line-height: 1.5;
    font-family: 'Kanit';
}

.accordion-button {
	font-size: 1rem !important;
	padding-left: 1.5rem;
}

li.list-group-item a {
    color: #212121;
}


li.list-group-item a:hover {
 
    text-decoration: underline;
}

.list-group-flush > .list-group-item {
    border-width: 0 0 0;
}


.header-navbar.navbar-shadow {
     box-shadow: unset !important; 
}


#appid-231 .accordion-body .list-group .list-group-item {
    line-height: 1;
    font-family: 'Kanit';
}


div#appid-179 h1 {
    display: none;
}

div#appid-179 span.badge.bg-primary.rounded-pill.ms-auto {
    background-color: #770000 !important;
}

div#appid-179  .nav-tabs .nav-link.active {
    position: relative;
    color: #770000;
    background-color: #FFE5E0;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}


div#appid-179  .list-group-item {
    position: relative;
    display: block;
    padding: 0.55rem 1.25rem;
    color: #6e6b7b;
    background-color: #fff;
    border: unset;
}


.blog-detail-wrapper .list-group .list-group-item {
  
    font-size: 1rem;
}


.list-group-item.active {
   background: rgb(2,0,36);
background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(180,29,111,1) 35%, rgba(115,103,240,1) 100%);

}

.pagelist .pagination li {
    width: 35px;
    height: 35px;
    margin: 3px;
    align-items: center !important;
    vertical-align: middle !important;
    padding-top: 5px;
    text-align: center;
    border-radius: 50%;
    color: #6e6b7b;
    background-color: #f3f2f7;
    border: 0 solid #dae1e7;
}

.btn-primary {
    border-color: #9A0F0F !important;
    background-color: #9A0F0F !important;
    color: #fff !important;
} 
.pagelist .pagination li.active {
    z-index: 3;
    border-radius: 5rem;
    background-color: #9A0F0F;
    color: #fff !important;
    font-weight: 600;
}

@media only screen and (min-width: 320px) and (max-width: 460px) { 
   
	.navbar-brand {
        text-align:center
    }
    .navbar-brand span {
        display:block;
    }

    
}

@media screen and (min-device-width: 360px) and (max-device-width: 768px) { 
   body {
		padding-top:230px;
	}
}

@media (max-width: 767.98px)
{
 
.main-menu {
    z-index: 1031;
    position: fixed !important;
    display: table-cell;
    height: 100%;
    overflow: hidden;
    top: 38px;
}

.main-menu-content {
    font-family: 'Kanit';
    background: #fff;
}

}




#appid-296 {
    background: #fff;
    padding: 10px;
    margin-top: 10px;
    padding-top: 0;
}

#appid-296 h1{
    display:none;
}

.badge.badge-light-success {
    background-color: rgb(199 40 40 / 12%);
    color: #c73728 !important;
}

.app-flex h4, .app-flex .h4 {
    font-size: 1.0rem;
    font-family: 'Kanit';
    font-weight: 600;
    margin-top: 10px;
}


#appid-179 .tab-content {
    background-color: unset;
    padding-bottom: 10px;
    padding: 10px;
}


#appid-290 .carousel-control-prev-icon, .carousel-control-next-icon {
    display: inline-block;
    width: 5rem;
    height: 5rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}


div#appid-299 {
    font-family: 'Kanit';
}

.nav-tabs .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(30deg, #f06767, rgb(240 103 103 / 50%)) !important;
    transition: transform 0.3s;
    transform: translate3d(0, 150%, 0);
}

 .personal-1 .personal-cover {
    width: 160px;
    margin: auto;
}

.personal-1 .personal-images {
    width: 160px; 
 
}


 .personal-2 .personal-cover {
    padding: 20px;
    background: url(https://www.khaosamyod.go.th/sub/images/content/manager-sub/bg-m.png) top center no-repeat;
    width: 200px;
    height: 200px;
    margin: auto;
}

.personal-2 .personal-images {
    width: 160px;
    height: 160px;
    border-radius: 50%;
}


#appid-326 .navbar-nav {
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
    list-style: none;
    align-content: space-between;
    justify-content: flex-start;
}

div#appid-361 {
    padding: 10px;
}