

::-moz-selection { /* Code for Firefox */
    color: #fff !important;
    background: #2196f3 !important;
  }

  ::selection {
    color: #fff !important;
    background: #2196f3 !important;
  }



@font-face {
    font-family: 'Open Sans';
    src: url("/fonts/open_sans/static/OpenSans_Condensed-Regular.ttf") format("truetype");;
    /* font-weight: 700;
    font-style: normal; */
}

/* @font-face {
    font-family: 'Sarabun';
    src: url("/fonts/Sarabun/Sarabun-Regular.ttf") format("truetype");;
    font-weight: 700;
    font-style: normal;
} */

@font-face {
    font-family: 'Itim';
    src: url("/fonts/Itim/Itim-Regular.ttf") format("truetype");;
    /* font-weight: 700;
    font-style: normal; */
}

@font-face {
    font-family: 'Nato Sans';
    src: url("/fonts/Noto_Sans_Thai_Looped/NotoSansThaiLooped-Regular.ttf") format("truetype");;
    /* font-weight: 700;
    font-style: normal; */
}

/* .ace_editor * {
    font-family: 'Open Sans' !important;
    font-size: 12pt;
} */

body{
    color: #555 !important;
    letter-spacing: 0.2px !important;
    /* font-size: 16px !important; */
}
table{
    font-size: inherit !important;
}

div.dataTables_wrapper div.dataTables_filter input{
    width: 250px !important;
}

.page-title{
         margin-top: 10px !important;
         margin-bottom: 10px !important;
}

.breadcrumb{
    margin-top: 0.2rem !important;
    margin-bottom: 0.2rem !important;
}
.select2-container--disabled>.selection>.select2-selection>.select2-selection__rendered{
    background-color: rgb(206, 206, 206) !important;
}

.loading_panel{
    background: #ecefff7c;
    opacity: 1;
    position: absolute;
    z-index: 999999;
    top: 0px;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;

}

.loading_panel .spinner-grow{
    position: relative;
  left: calc(50% - 50px);
  top:50%;
}

.btn-group, .btn-group-vertical{
    /* vertical-align: text-top !important; */
}

.style-3 .badge-success{
    color: #8dbf42 ;
    border: 2px dashed #8dbf42 ;
}
.select2-dropdown{
    z-index: 9500 !important;
}
.bdb-1{
    border-bottom: 1px solid #d4d4d4;
}
.bg-lightgray{
    background-color: #d4d4d4;
}

.ql-toolbar.ql-snow + .ql-container.ql-snow{
    margin-top: 0 !important;
}

.ql-toolbar.ql-snow .ql-picker-label {
    border: 1px solid transparent;
    color: #414141 !important;
}

.ql-snow .ql-stroke, .ql-snow .ql-fill, .ql-snow .ql-stroke.ql-fill {
    stroke: rgb(41, 41, 41) !important;
}
.btn-xs{
    font-size: 12px !important;
    padding: 5px !important;
}

.btn-md{
    font-size: 14px !important;
    padding: 5px !important;
}

.bg-orange-2{
    background-color: #ffde98 !important;
}

.bg-orange-3{
    background-color: #fae8c0 !important;
}

.header_question{
    margin-top: 20px;
    margin-bottom: 10px;
    padding-bottom: 12px;
}
.header_question.header-info{

    border-bottom:2px solid #95cfff;
}

.header_question.header-info>span{
    background-color:#4ED7F1;
    padding: 10px 20px;
    border-radius: 10px 10px 0  0;
    color: #fff;
}

.header_question.header-warning{
    border-bottom:2px solid #FFDE63;
}

.header_question.header-warning>span{
    background-color:#FFBC4C;
    padding: 10px 20px;
    border-radius: 10px 10px 0  0;
    color: #fff;
}


.header_question.header-primary{
    border-bottom:2px solid #0d6efd;
}

.header_question.header-primary>span{
        color: #fff !important;
    background-color: #687FE5 !important;
    padding: 10px 20px;
    border-radius: 10px 10px 0  0;

}
.header_question.header-dark{
    border-bottom:2px solid #c0c0c0;
}

.header_question.header-dark>span{
    background-color:#c0c0c0;
    padding: 10px 20px;
    border-radius: 10px 10px 0  0;
    color: rgb(58, 58, 58);
}

.header_question.header-danger{
    border-bottom:2px solid #ffa8a8;
}

.header_question.header-danger>span{
    background-color:#FF6363;
    padding: 10px 20px;
    border-radius: 10px 10px 0  0;
    color: #fff;
}


.header_question.header-success{
    border-bottom:2px solid #d0f0a1;
}

.header_question.header-success>span{
    background-color:#d0f0a1;
    padding: 10px 20px;
    border-radius: 10px 10px 0  0;
    color: #2a4600;
}


.bg-drag-active{
    opacity: 0.7;
    background-color: #ffd595;
}
.alert{
    z-index: 999999 !important;
}
.dad-placeholder {
    border: 2px dashed #639bf6;
    border-radius: 10px;
  }

  .gridview-card .card-body{
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

  }

  .gridview-card .card-title{
    font-size: 1.5rem;
  }


  .bg-primary-input{
    background-color: #ffe5d6;
  }

   .blue_content,.primary_content,.green_content,.orange_content,.info_content{
    padding: 10px !important;
   }


  .gray_content{

  }


  .select2.select2-container{
    margin-bottom: 0 !important;
  }

  .item-box-templete{
    padding: 5px;
    z-index: 999;

    border-radius: 5px;
    margin: 10px 0px;
    background-color: rgb(38, 41, 48);
    border: 1px dashed #555a74 !important;
    color: #2e334e !important;
}

 .item-box-templete label {
    color: #bbb !important;
    font-weight: 300;
 }
.item-box-templete:hover{
    background-color: rgb(81, 85, 95);
    cursor: pointer;
}

.item-box-templete-disable{
    padding: 5px;
    z-index: 999;

    border-radius: 5px;
    margin: 10px 0px;
    background-color: rgb(230, 230, 230);
    border: 1px dashed;
}

.widget-box-templete,.widget-box-container{
    padding: 5px;
    z-index: 999;

    border-radius: 5px;
    margin: 10px 0px;
    background-color: rgb(38, 41, 48);
    border: 1px dashed #252a46 !important;
    color: #2e334e !important;
}
.widget-box-templete i.widget-icon,.widget-box-container i.widget-icon{
    font-size: 30px;
    margin-top: 5px;
    color: #999;
}
.widget-box-templete label ,.widget-box-container label
{
color: #bbb;
}
.widget-box-templete:hover ,.widget-box-container:hover{
    background-color: rgb(87, 87, 87);
    cursor: pointer;
}

.widget-box-templete.available,.widget-box-container.available{
    background-color: #2d303f;
    cursor: pointer;
}
.widget-box-templete.available:hover,.widget-box-container.available:hover{
    background-color: #3a3d50;
    cursor: pointer;
}

.widget-box-templete.available label.widget-box-container.available label{
    cursor: pointer;
}

.widget-box-disable{
    padding: 5px;
    z-index: 999;

    border-radius: 5px;
    margin: 10px 0px;
    background-color: rgb(233, 233, 233);
    border: 1px dashed;
}
.widget-box-disable i.widget-icon{
    font-size: 30px;
    margin-top: 5px;
}
.widget-box-disable:hover{
    background-color: rgb(233, 233, 233);
    cursor: pointer;
}

.swal2-cancel{
    margin-right: 10px;
}
.cursor-pointer{
    cursor: pointer;
}

.cursor-pointer:hover{
    background-color: #ffda95;
}
.hide-scroll::-webkit-scrollbar {
    display: none;
  }
.layout-item.active{
    background-color: #ffda95;
}
.table > thead > tr > th{
    text-transform: none !important;
}
.table > tbody > tr > td{
    color: #333 !important;
}
.add-widget-active{
    /* background-color: #d1deff !important ; */
    border:2px dashed #90b0ff !important ;
}

.add-widget-active2{
    /* background-color: #dfe8ff !important ; */
    border:2px dashed #90b0ff !important ;
}
.module-header1{

    color: #333 !important;
    background-color: #ebf2ff;
    padding: 5px;
    border: 1px solid #dbe6fa;
    border-radius: 5px 5px 0 0;
    margin-bottom: 5px;
}

.module-header1 h6{
    color: #333 !important;
}

.card{
    box-shadow: 0px 5px 5px #eee !important ;
    border-radius: 10px;
    border: 1px solid #eee !important;
}

.card-header{
    padding: 0.4rem 1.2rem !important;
    border-radius: 5px 10px 0 0;
    font-weight: 400;
}
.card-body{
    padding: 1rem;
}

.card-primary>.card-header{
    background-color: #87A2FF;
    color: #fff;
    font-size: 1rem;
    /* border: 0.5px solid #fff; */
    border-radius: 10px 10px 0 0;
}

.card-primary>.card-header i{
    color: #1739ce;
}
.timeslot.card-primary>.card-body>.table-responsive>table>thead>tr>th{
    background-color: #afbdff;
    color: #1739ce;
}
.timeslot.card-primary>.card-body>.table-responsive>table>tbody>tr>td.td-left{
    background-color: #cdd6ff;
    color: #1739ce;
}



.card-info>.card-header{
    background-color: #7BD3EA;
    color: #fff;
    font-size: 1rem;
    /* border: 0.5px solid #fff; */
    border-radius: 10px 10px 0 0;
}

.card-info>.card-header i{
    color: #0D5286;
}
.timeslot.card-info>.card-body .table-responsive>table>thead>tr>th{
    background-color: #9fddf5;
    color: #0D5286;
}

.timeslot.card-info>.card-body>.table-responsive>table>tbody>tr>td.td-left{
    background-color: #b8ebff;
    color: #0D5286;
}

.card-default>.card-header{
    background-color: #dddddd;
    color: #494949;
    font-size: 1rem;
    border-radius: 10px 10px 0 0;
}
.card-default>.card-header i{
    color: #494949;
}

.timeslot.card-default>.card-body .table-responsive>table>thead>tr>th{
    background-color: #dddddd;
    color: #494949;
}
.timeslot.card-default>.card-body>.table-responsive>table>tbody>tr>td.td-left{
    background-color: #f4f4f4;
    color: #494949;
}

.card-dark>.card-header{
    background-color: #464646c0;
    color: #fff !important;
    font-size: 1rem;
    border-radius: 10px 10px 0 0;
}
.card-dark>.card-header i{
    color: #3a3a3ac0 ;
}
.timeslot.card-dark>.card-body .table-responsive>table>thead>tr>th{
    background-color: #3a3a3ac0;
    color: #e2e2e2 !important;
}
.card-warning>.card-header{
    background-color: #FFD66B;
    color: #fff !important;
    font-size: 1rem;
    border-radius: 10px 10px 0 0;
}
.card-warning>.card-header i{
    color: #a06c0b ;
}
.timeslot.card-warning>.card-body .table-responsive>table>thead>tr>th{
    background-color: #f3ce60;
    color: #493701 !important;
}
.card-success>.card-header{
    background-color: #72BF78;
    color: #fff !important;
    font-size: 1rem;
    border-radius: 10px 10px 0 0;
}
.card-success>.card-header i{
    color: #1a6109 ;
}
.timeslot.card-success>.card-body .table-responsive>table>thead>tr>th{
    background-color: #c3fdb5;
    color: #1a6109 !important;
}
.timeslot.card-success>.card-body>.table-responsive>table>tbody>tr>td.td-left{
    background-color: #dff1db !important;
    color: #494949;
}


.card-danger>.card-header{
    background-color: #FF6363;
    color: #fff !important;
    font-size: 1rem;
    border-radius: 10px 10px 0 0;
}
.card-danger>.card-header i{
    color: #664d4c ;
}
.card-danger table>thead>tr>th{
    background-color: #fff;
    color: #733532 !important;
}

figure{
    margin: 0;
}

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto{
    padding-right: 10px ;
    padding-left: 10px ;
}

.table-fixed {
    width: 100%;


  }

  /*This will work on every browser but Chrome Browser*/
  .table-fixed thead {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: 60px;
    z-index: 999;
    background-color: #fff;
    color: #fff;
  }

  /*This will work on every browser*/
  .table-fixed thead th {
      position: sticky !important;
      position: -webkit-sticky !important;
      top: 60px;
      z-index: 999;
  }

  .btn {
    border-radius: 3px;
    padding: 0.3rem 0.6rem !important;
    /* font-size: 0.925rem !important; */
}

  .code-box{
    background-color: #333;
    color: #3fdf00;
    padding: 10px;
  }
  .btn-success-excel{
    background-color: #58b931 !important;
    color: #fff !important;
  }
  .btn-success-excel > i{
    color: #fff !important;
  }
  .select2-results__group{
    background-color: #c3ceff;
    color: #1b2c79;
  }
  .text-header-primary{
    background-color: #c3ceff;
    color: #2641b8;
    padding: 10px;
    border-radius: 10px;
  }

  .text-header-info{
    background-color: #9fddf5;
    color: #0D5286;
    padding: 10px;
    border-radius: 10px;
  }

  nav > .nav.nav-tabs{
    background-color: #fff;
  }

  .gj-picker .today{
    color: #2641b8;
    background-color: #1b53e246;
  }
  .widget-hidden-box{
    opacity: 0.5;
  }
  .dropdown-item{
    margin-top: 5px;
    border: 1px dashed #afbdff;
  }
  .dropdown-item:hover{
    background-color: #e0e5fd;
  }
  #sidebar-input .nav-link{
    background-color: #191E3A ;
    color: #ccc;
  }

  #sidebar-input .nav-link.active{
    color: #333;
    background-color: #fff !important;
  }

  #sidebar-input .nav{
    background-color:#191E3A !important;
  }
  .module-item-box{
    /* background-color: #fff; */
    border: 1px solid #edf2ff;
    border-radius: 10px;
  }
  .module-item-box:hover{
    background-color: #f3f6ff;
  }

.ck.ck-editor__editable .image, .ck.ck-editor__editable .image-inline {
    position: relative;
}
.ck-content .image.image_resized {
    box-sizing: border-box;
    display: block;
    max-width: 100%;
}
.ck-content .image {
    clear: both;
    display: table;
    margin: .9em auto;
    min-width: 50px;
    text-align: center;
}
.ck-content .image.image_resized img {
    width: 100%;
}
form{
    margin-bottom: 0;
}

.menubar-list{
    padding: 10px;
}
.menubar-list .list-group-item{
    font-weight: 500 !important;
    border-radius: 10px !important;
    padding: 0.55rem 1rem !important;
    font-size: 15px !important;

}

.menubar-list.menubar-default .list-group-item{
    border: none;
    /* border-bottom: 1px solid #afbdff; */
    cursor: pointer;
    color: #333;

}
.menubar-list.menubar-default .list-group-item:hover{
    background-color:#e7e7e7;
    color: #333;
}
.menubar-list.menubar-default .list-group-item.active{
    color: #fff;
    background-color:#4671ff;
}

.menubar-list.menubar-primary .list-group-item{
    border: none;
    /* border-bottom: 1px solid #afbdff; */
    cursor: pointer;
    color: #2f46ad;

}
.menubar-list.menubar-primary .list-group-item:hover{
    background-color:#dde4ff;
    color: #2f46ad;
}

.menubar-list.menubar-primary .list-group-item.active{
    color: #ebebeb;
    background-color:#6797ff;
}

.menubar-list.menubar-success .list-group-item{
    border: none;
    /* border-bottom: 1px solid #b0f09c; */
    cursor: pointer;
    color: #2f9211;
}
.menubar-list.menubar-success .list-group-item:hover{
    background-color:#b0f09c;
    color: #2f9211;
}

.menubar-list.menubar-success .list-group-item.active{
    color: #fff;
    background-color:#73ca58;
}

.menubar-list.menubar-info .list-group-item{
    border: none;
    /* border-bottom: 1px solid #9fddf5; */
    cursor: pointer;
    color: #0979a5;
}
.menubar-list.menubar-info .list-group-item:hover{
    background-color:#9fddf5;
    color: #0979a5;
}

.menubar-list.menubar-info .list-group-item.active{
    color: #fff;
    background-color:#60c8f1;
}
/* .ck-reset_all :not(.ck-reset_all-excluded *), .ck.ck-reset_all{
z-index: 1060 !important;
} */
.header-container{
    padding-right: 12px !important;
}
.table th, .table td{
    padding: 0.5rem;
}
.nav-tabs {
    border-bottom:none !important;
}
.nav .nav-tabs{
background: #fff;
border-bottom:none !important;
}

.tab-module .nav-link{
    padding: 8px 10px;
    font-size: 16px !important;
    /* background: #e7eeff; */
    color: #104edd;
    /* border: 1px solid #fff; */
    border-radius: 10px 10px 0  0;
}

.tab-module .nav-link.active{
    background-color:#215ADF !important;

    color: #fff !important;
}

.tab-module .nav-link.active i {
    color: #fff;
}
.gj-textbox-md{
    border: 1px solid rgba(0,0,0,.42) !important;
    padding: 5px 5px !important;
}
.gj-datepicker-md [role=right-icon]{
    top: 20% !important;
}
.tab-content{
    border: none !important;
}
.table > tbody:before{
    content: "" !important;
    display: none !important;
}
.select2-container .select2-selection--single .select2-selection__rendered{
    padding: 6px  25px 5px 10px  !important;
    height: 34px !important;
    letter-spacing: 0rem !important;
    background-color: rgb(246, 246, 255) !important;
}

.form-control{
    /* padding: 0px 5px !important; */
    background-color: rgb(246, 246, 255);
}
.swal2-title{
    font-size: 1.2rem !important;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #e9e9e9 !important;
    opacity: 1;
}

.select2-container--disabled>.selection>.select2-selection>.select2-selection__rendered{
    background-color: #e9e9e9 !important;
}

.site-dept-info{
    font-size:16px;
    overflow:hidden;
}
@media (min-width: 375px){
    .site-dept-info{
        display: none;
    }
}

@media (min-width: 390px){
    .site-dept-info{
        display: none;
    }
}

@media (min-width: 576px){
    .modal-dialog.modal-xl {
        max-width: 90% !important;
        margin: 1.75rem auto;
    }

    .site-dept-info{
        display: block;
    }
}



@media (min-width: 1200px){
    .modal-dialog.modal-xl {
        max-width: 70% !important;
        margin: 1.75rem auto;
    }
}

.form-control2 {
    height: auto;
    border: 1px solid #bfc9d4;
    color: #3b3f5c;
    font-size: 15px;
    padding: 8px 10px;
    letter-spacing: 0.8px;
    height: calc(1.3em + 1.3rem + 2px);
    padding: .75rem 1.25rem;
    border-radius: 6px;
}

.validation-alert-panel{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #333;
    opacity:0.8;
    height: 100%;
    z-index: 997;
}
.text-medium{
    font-size: 1.35em !important;
}



@media screen {

}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
    background-color:#191E3A !important;
}

.header-container .theme-brand .theme-logo a img{
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
}

.widget-header {
    background-color:#191E3A !important;
    color: #fff !important;
}

.table tbody tr td{
        padding: 5px  10px !important;
}

.table thead tr th{
    padding: 5px  10px !important;
    font-size: 14px !important;
}

.modal-header .close{
    background-color: #fff;
    color: #333;

    border-radius: 10px;
    width: 35px;
    height: 35px;
}

input[type='checkbox'].custom-control-input, .input-group > input[type='checkbox']{
    margin-right: 5px;
}

.input-group-text{
    padding: .5rem .75rem !important;
    line-height: 1 !important;
}

figure.image.image_resized img {
    width: 100%;
}

figure{
    width: auto;
}


img.image_resized{
    width: 100% !important;
}


@media only screen and (max-width: 390px)  {
  figure, img.image_resized{
    width: 100% !important;
  }
}

@media only screen and (max-width: 430px) {
  figure, img.image_resized{
    width: 100% !important;
  }
}



@media (min-width: 768px) {
    .container {
        max-width: 100% !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 85% !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 75% !important;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 75% !important;
    }
}

@media (min-width: 1900px) {
    .container {
        max-width: 70% !important;
    }
}



/*
@media (min-width: 720px) {
  figure{
    width: auto !important;
  }
} */

/* @media (min-width: 768px) {
  figure{
    width: 100% !important;
  }
} */
 .ml-auto{
    margin-left: auto;
 }

  .mt-auto{
        margin-top: auto;
    }

 .mr-auto{
    margin-right: auto;
 }

 .mb-auto{
    margin-bottom: auto;
 }

 .m-auto{
    margin: auto;
 }

.ml-0 {
    margin-left: 0px !important;
}

.ml-1 {
    margin-left: 5px !important;
}
.ml-2 {
    margin-left: 10px !important;
}

.mr-0 {
    margin-right: 0px !important;
}

.mr-1 {
    margin-right: 5px !important;
}
.mr-2 {
    margin-right: 10px !important;
}
/* .btn-group, .btn-group-vertical{
        vertical-align: top !important;
} */

#s2form-render{
    background-color: #fff;
    padding: 10px;
    border: 1px solid #c1c2c5;
    margin-top: 10px;
    border-radius: 10px;
}
.form-check-input:checked{
    background-color: #3888ff !important;
    border-color: #3888ff !important;
}

.custom-control-label.active,.form-group label.active{
    background-color: #a8cbff !important;
    border: 1px solid #5b9dff;
    border-radius: 0 10px 10px 0;
    color: #333;
    padding: 0px 10px !important;
}

.form-check-inline.custom-checkbox input[type="checkbox"]{
    max-width: 16px;
    max-height: 16px;
    min-width: 16px;
    min-height: 16px;
}

.pr-0{
    padding-right: 0;
}
.pl-0{
    padding-left: 0;
}

.form-check-input{
        background-color: #eee;
        border: 1px solid #bbb;
}

.clearfix{
    display: block;
    width: 100%;
}

.select2-container--default .select2-selection--single .select2-selection__arrow{
    top: 5px !important;
}
.modal-body .bootbox-close-button{
    float: right;
    background-color: #fff;
    border-radius: 10px;
    border: 2px solid #191E3A;
    padding: 0px 10px;
}
.input-group{
    flex-wrap: nowrap !important;

}

.input-group .form-check-input{
    min-width: 1rem;
    min-height: 1rem;
}
.modal-dialog.modal-xxl{
    min-width: 90% !important;
}

figure .table tbody, td, tfoot, th, thead, tr{
    border-color: #0979a500 !important;
}

.ck.ck-balloon-panel {
    z-index: 99999 !important;
}

button.close{
    /* padding: 10px; */
    border: 1px solid #ccc;
    background-color: #eee;
    border-radius: 10px;
}
