body {
  font-family:Mitr-Regular;
  color: #474546;
  font-size: 1.3rem;
 background-color: silver;
}
.color1{ color: #cc433c;}
.color2{ color: #99c456;}
.color3{ color: #474546;}
.color4{ color: #d93832;}
.color5{ color: #59595b;}
.bgcolor1{ background-color: #cc433c; color: #fff; width: 100%;}
.bgcolor2{ background-color: #99c456; color: #fff;}
.bgcolor3{ background-color: #f5f5f5; color:#474546 ;}


.header-dd {
  background-color: #d93832;
  font-family:Mitr-Bold;
  font-size: 1.4rem;
  color: #fff;
  height: 20px;
  
}
.icon-margin {
  margin-right: 15px;
}

.firstpage .social-button:hover {background-color: #eee; color:#000;}
.firstpage .text-social{font-size: 0.9rem;padding-top: 5px;}

.footer{
  background-color: whitesmoke;
  text-align: center;
  color: #ccc;
  font-family:Mitr-Regular;
  font-size: 0.9rem;
  height: 30px;
  padding: 5px;
}
.menusupers .amount{
height: 100px;
width: 100%;
background-color:#fff;
font-family:Mitr-Regular;
font-size: 1.5rem;
text-align: center;
padding: 10%;
border: 2px solid rgb(239, 11, 11);
color: rgb(239, 11, 11);

}
.menusupers .button1{
  height: 100px;
  width: 100%;
  background-color:#fff;
  font-family:Mitr-Regular;
  font-size: 1.0rem;
  text-align: center;
  padding: 5px;
  border: 2px solid #474546;
}

.menusupers .successbutton1:hover {background-color: #5e5c5d; color: #fff;}
.menusupers .successbutton1:active {background-color: #5e5c5d;  color: #fff;}
.menusupers .button2{
  height: 45px;
  width: 100%;
  background-color:#fff;
  font-family:Mitr-Regular;
  font-size: 1.0rem;
  text-align: center;
  padding: 10px;
  margin: 5px;
  border: 2px solid #006d47;
  color: #006d47;
}

.menusupers .successbutton2:hover {background-color: #46a049; color: #fff;}
.menusupers .successbutton2:active {background-color: #46a049; color: #fff;}


.menusupers .button3{
  height: 45px;
  width: 100%;
  background-color:#fff;
  font-family:Mitr-Regular;
  font-size: 1.0rem;
  text-align: center;
  padding: 10px;
  margin: 5px;
  border: 2px solid #1700b0;
  color: #1700b0;
}

.menusupers .successbutton3:hover {background-color: #1c00d3; color: #fff;}
.menusupers .successbutton3:active {background-color: #1c00d3;  color: #fff;}

.button4{
  height: 45px;
  width: 100%;
  background-color: #99c456; color: #fff;
  font-family:Mitr-Regular;
  font-size: 1.0rem;
  text-align: center;
  padding: 10px;
  
}
.button5 {
  height: 45px;
  width: 100%;
  background-color: #1700b0; color: #fff;
  font-family:Mitr-Regular;
  font-size: 1.0rem;
  text-align: center;
  padding: 10px;

}

.firstpage a.button5 {
  height: 45px;
  width: 100%;
  background-color: #1700b0; color: #fff;
  font-family:Mitr-Regular;
  font-size: 1.0rem;
  text-align: center;
  padding: 10px;
 
}

/* ////firstpage///// */
.firstpage{
  font-family:Mitr-Light;
  font-size: 0.9rem;
}

.firstpage h2{
  font-family:Mitr-Light;
  font-size: 1.5rem;
  padding: 8px;
}
.firstpage h3{
  font-family:Mitr-Regular;
  font-size: 1.2rem;
}

.firstpage label{
  font-family:Mitr-Light;
  font-size: 0.9rem;
  color:#474546; ;
  /* color:rgb(255, 140, 0); */
}

.firstpage .form-control{
  font-family:Mitr-Light;
  font-size: 0.85rem;
  /* color:rgb(0, 255, 42); */
}
.firstpage .form-check-inline { margin-bottom: 10px;}

.firstpage table{ 
  font-family: system-ui;
  /* font-family:Mitr-Light; */
  font-size: 0.98rem;
  /* color:rgb(0, 255, 42); */
}

.firstpage thead tr th{
  font-family: system-ui;
  font-size: 0.8rem;
  /* font-family:Mitr-Regular; */ 
  /* color:rgb(255, 140, 0); */
}


/* ////servicepage///// */
.servicepage{
  font-family:Mitr-Regular;
  
  font-size: 1rem;
}

.servicepage h3{
  font-family:Mitr-SemiBold;
  font-size: 1.2rem;
}
.servicepage img{
  height: 80px;
  width: auto;
  margin-bottom: 20px;
}

.servicepage .cardS{
  background-color:#fff;
  width: 100%;
  height: 150px;
  text-align: center;
  margin: 10px;
  padding: 10px;
  border: 2px solid #ccc;
}

.servicepage .successcardS:hover {background-color: #4CC286; color: #fff; font-family:Mitr-Bold;  border: 2px solid  #006d47;}
.servicepage .successcardS:active {background-color: #4CC286;  color: #fff; font-family:Mitr-Bold;  border: 2px solid  #006d47;}


.servicepage h6{
  font-family:Mitr-Light;
  font-size: 0.9rem;
}

.servicepage .borderR{

  border-right-color:#ccc;
  border-right-style: solid;
  border-right-width: 1px;
  /* background-color: palegreen; */

}

 .amount{
  height: 80px;
  width: 100%;
  background-color:#fff;
  font-family:Mitr-Regular;
  font-size: 1.5rem;
  text-align: center;
  padding: 10%;
  border: 2px solid rgb(239, 11, 11);
  color: rgb(239, 11, 11);
  }

 .getmoney{
    height: 70px;
    width: 100%;
    background-color:#fff;
    font-family:Mitr-Regular;
    font-size: 1.5rem;
    text-align: center;
    padding: 5% 0% 8% 0%;
    border: 2px solid rgb(1, 107, 189);
    color: rgb(1, 107, 189);
    }
  
.returnmoney{
      height: 70px;
      width: 100%;
      background-color:#fff;
      font-family:Mitr-Regular;
      font-size: 1.5rem;
      text-align: center;
      padding: 5% 0% 8% 0%;
      border: 2px solid rgb(239, 193, 11);
      color: rgb(239, 193, 11);
      }

  .adata{
    height: 30px;
    width: 100%;
    background-color: #4CC286;
    font-family:Mitr-Regular;
    font-size: 1rem;
    text-align: center;
    padding: 5% 0% 8% 0%;
    color: #fff;
    }

    .cost{
      height: 70px;
      width: 100%;
      background-color:  #fff;
      font-family:Mitr-Regular;
      font-size: 1.8rem;
      text-align: center;
      padding: 5% 0% 8% 0%;
      border: 2px solid  #474546;
      color: #474546;
      }
      .successcost:hover {background-color: #4CC286; color: #fff; font-family:Mitr-Bold;  border: 2px solid  #006d47;}
     .successcost:active {background-color: #4CC286;  color: #fff; font-family:Mitr-Bold;  border: 2px solid  #006d47;}
      
  /* Fixed sidenav, full height */
.firstpage .sidenav {
  height: 100%;
  width: 100%;
  /* position: fixed; */
  /* position: sticky; */
  /* position: relative; */
  position: -webkit-sticky;
  /* z-index: 1; */
  top: 0;
  left: 0;
  background-color: #d93832;
  /* overflow-x: hidden; */
  padding-top: 20px;
}


/* Style the sidenav links and the dropdown button */
.firstpage .sidenav a, .dropdown-btn {
  padding: 5px 5px 5px 5px;
  margin-top: 5px;
  margin-bottom: 5px;
  text-decoration: none;
  font-size: 0.9rem; 
  color: #fff;
  display: block;
  border: none;
  background: none;
  width:100%;
  text-align: left;
  cursor: pointer;
  outline: none;
  border-top: #f55048 1px  solid;
}

/* On mouse-over */
.firstpage .sidenav a:hover, .dropdown-btn:hover {
  color: #46a049
}

/* On active */
.firstpage .sidenav a:active ,  .firstpage .sidenav a.active {
  color: #46a049;
}

/* Main content */
.firstpage .main {
  margin-left: 200px; /* Same as the width of the sidenav */
  font-size: 20px; /* Increased text to enable scrolling */
  padding: 0px 10px;
}

/* Add an active class to the active dropdown button */
.firstpage .active {
  background-color:#46a049;
  color: white;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.firstpage .dropdown-container {
  display: none;
  background-color: #59595b;
  padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
  float: right;
  padding-right: 8px;
}
.firstpage .hid h6 {
  /* background-color: brown; */
   font-size: 0.7rem;
  
}



.txtprofile{
   
  color: #495057;
  background-color: #f3f3f3;
  /* padding: 5px 12px; */
  height: calc(1.5em + .75rem + 2px);
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  border: 1px solid #ced4da00;
}
.ic_edit{
  cursor: pointer;
  font-size: 0.8rem;
  color: #4e4e4e !important;
}
.ic_edit:hover{
  color: #9c9c9c  !important;
}
.alink{
 
}
.hidden , .hide{
  display: none !important;
}
.select2-hidden-accessible {
  display: block;
  width: 100%;
  height: calc(1.5em + .75rem + 2px)  !important;
  padding: .375rem .75rem !important;
  font-size: 1rem  !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #495057 !important;
  background-color: #fff !important;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 12px !important;
  padding-top: 2px !important;
}
.select2-container--default .select2-selection--single {
  background-color: #fff !important;
  border: 1px solid #ced4da !important;
  border-radius: 4px;
}
.select2-container .select2-selection--single {
  height: 34px !important;
}
.select2-results{ 
  font-family: Mitr-Light;
    font-size: 0.8rem;
    color: #3c3c3c;
}

thead td{
  text-align: center;
  font-weight: 600;
}
table.tmiddle td{
  vertical-align: middle !important; 
}
th.tmiddle , td.tmiddle{
  vertical-align: middle !important; 
}
.badge.b1{
  padding: 4px 7px;
  font-size: 0.7rem;
}
.badge-warning.b1{
  color: #FF9800;
  background-color: #ffe8bdb8;
  border: 1px solid #FF9800;
}
.badge-success.b1{
  color: #22c729;
  background-color: #f3fff3;
  border: 1px solid #4CAF50;
}
.badge-info.b1{
  color: #2196F3;
  background-color: #eaf6ff;
  border: 1px solid #2196F3;
}
.badge-primary.b1{
  color: #3F51B5;
  background-color: #dde2ff;
  border: 1px solid #3F51B5;
}
.badge-secondary.b1 {
  color: #b3b3b3;
  background-color: #cccccc87;
  border: 1px solid #c3c3c3;
}
label.pl6{
  padding-left: 6px;
}


.btn-light {
  color: #212529;
  background-color: #edeff1;
  border-color: #f8f9fa;
}
.btn-warning {
  color: #f8f9fa !important;
  background-color: #ffc107ab !important;
  border-color: #ffc107 !important;
}

.btn-warning:hover {
  background-color: #e0a800b8 !important;
  border-color: #d39e00 !important;
}

.btn-warning.active {
  background-color: #ffbf00f5 !important;
  border-color: #ffbf00 !important; 
}

.firstpage .tab-content .active { 
  background-color: #ffffff00;
  color: #2b2b2b;
}

.alert {
  position: fixed !important;
  top: 0;
  right: 0;
  width: 20%;
}


#loadingpic .modal-content{
  background-color: #fff0;
  border: 0px;
}

.firstpage .paginate_button.active {
  background-color: #fff;
  color:  #007bff;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 0em 0em !important;
}

table.bg-primary {
  background-color: #98caff!important;
}
table tr.bg-primary , table td.bg-primary {
  background-color: #98caff!important;
}
#money_come{
  font-size: 2rem;
  padding: 2rem;
}

#PaymentModal .modal-header, #PaymentModal .modal-footer { 
  justify-content: center;
}
#PaymentModal .modal-header .close{
  padding: unset;  
  margin: unset;  
}

.input-group-append .btn{
  padding: .2rem .75rem;
}

img.logo_icon{
  width: 90px;
  height: 90px;
  border: 1px solid #2b2b2b;
}
img.logo_icon1{
  width: 90px;
  height: 90px;
  border: 0px solid #2b2b2b;
}

.select2-container{
  width: 100% !important;
}

table.listorder{
  width: 300px;
  position: fixed;
  bottom: 0px; 
  right: 480px;
  z-index: 5000;
}

.modal .btn_light1{
    color: #f5f5f5;
    background-color: #29c1c12e;
    border-color: #f8f9fa;
}

.modal .btn_light2 {
  color: #FFC107;
  background-color: #e7a52e2e;
  border-color: #FF9800;

}
.btn.btn_light1:hover {
  color: #f8f9fa;
  text-decoration: none;
}
.btn.btn_light2:hover {
  color: #FFC107;
  background-color: #e7a52e6e;
  text-decoration: none;
}

.modal .btn_light3 {
  color: #4CAF50;
  background-color: #4caf5036;
  border-color: #4CAF50;
}
.btn.btn_light3:hover {
  color: #f8f9fa;
  text-decoration: none;
}
.btn.btn_light3:hover {
  color: #4CAF50;
  background-color: #b3eea8;
  text-decoration: none;
}


.btn:hover {
  color: #ffffff;
  text-decoration: none;
}

#loadingpic1 .modal-header{
  padding: 0rem 1rem;
  border-bottom: 0px solid #dee2e6;
  color: #dcdcdc;
}
.modal{
  font-family: Mitr-Light;
  
}
#loadingpic1 .modal-header .close{ 
  color: #dcdcdc;
}
#modal_success1{
  color: #2b9935;
  font-weight: 600;
}
#modal_warning1{
  color: #ffb619;
  font-weight: 600;
}
#modal_warning1 .modal-content{
  background-color: hsla(208, 100%, 97%, 0);
  border: 0px solid #FF9800;
}

.menuicon{
   
  height: auto;
  width: 30px;
  margin-right: 5px;
}

.btn-outline-warning:hover {
  color: #ffffff !important;
  background-color: #ffc107;
  border-color: #ffc107;
}

/* // Extra small devices (portrait phones, less than 576px) */
/* // No media query for `xs` since this is the default in Bootstrap */

/* // Small devices (landscape phones, 576px and up) */
@media  (min-width: 576px) { 
/* ฟ้า */
  .header-dd {
    /* background-color: rgb(145, 227, 201); */
    font-family:Mitr-Regular;
    font-size: 1.4rem;
  }

  .firstpage .sidenav a, .dropdown-btn {
    padding: 10px 20px 10px 25px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 1.13rem; 
  }
  .firstpage .hid h6 {
    /* background-color: brown; */
     font-size: 1rem;
    
  }
  .firstpage label{
    font-family:Mitr-Light;
    font-size: 0.9rem;
    color:#474546; ;
    /* color:rgb(255, 140, 0); */
  }
  

  
}

/* // Medium devices (tablets, 768px and up) */
/* เขียว */
@media (min-width: 768px) { 
  .header-dd {
    /* background-color: rgb(203, 221, 9); */
    font-family:Mitr-Bold;
    font-size: 1rem;
  }
  .firstpage .hid {
   
    }

 }
 /* // Large devices (desktops, 992px and up) */
 /* น้ำเงิน */
@media (min-width: 992px) {
  .header-dd {
    /* background-color: rgb(9, 16, 221); */
    font-family:Mitr-Bold;
    font-size: 1.4rem;
  }
  .firstpage .hid {
    
    }
 }

/* // Extra large devices (large desktops, 1200px and up) */
/* ส้ม */
@media(min-width: 1200px) {
  .header-dd {
    /* background-color: rgb(255, 98, 0); */
    font-family:Mitr-Regular;
    font-size: 1.4rem;
  }
  .firstpage .hid {
   
    }
 }

 .btn_fulltax{
  border-radius: 40px !important;
  padding: 14px 14px !important;
  font-size: 22px !important;
 }

 table td.byday {
  height: 42px !important;
  font-weight: 700 !important;
 }
table .bg-success {
  background-color: #d1ffe591 !important;
}

.bg-success1{
  background-color: #d1ffe591 !important;
}
.box_tb_billall{
  z-index: 50000; 
  display: block;
  position: fixed;
  bottom: 0px; 
  right: 0px;
  width: 25%;
}
#tb_billall{
  /*
  z-index: 50000; 
  display: block;
  position: fixed;
  bottom: 0px;
  left: 49%;
  width: auto;*/
}
#tb_billall td{
  background : #ecf7ff;
}
/* 
.box_tb_billall .box_icon_collapse{
  font-family: 'FontAwesome';   
  float: right; 
  content: "\f067"; 
} */
.box_tb_billall .box_icon_collapse:after {
  font-family: 'FontAwesome';  
  content: "\f068";
  float: right; 
}
.box_tb_billall .box_icon_collapse.collapsed:after {
  content: "\f067"; 
}

.box_icon_collapse {
  cursor: pointer;
}
/* 
.accordion .box_icon_collapse :after { 
  content: "\f067"; 
} */
form span.text-danger{
  font-size: 24px;
  font-weight: 800;
}

.modal-footer{
  justify-content: center !important;
}