.required::before {
  color: #d00;
  content: "*";
  /* position: absolute; */
  margin-left: 4px;
}

.requiredvalid {
  border: 1px solid #dc3545;
  outline: none;
}

.requiredvalid:invalid + span::after {
  content: 'กรุณาระบุ';
  color: red;
}




.form-control-feedback {
  position: absolute;
  top: 32px;
  right: 0;
  z-index: 2;
  display: block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  pointer-events: none;
}

.pull-right {
  float: right !important;
}

.table {
  width: 100% !important;
}

.card-footer {
  background-color: white !important;
}

.selected {
  background-color: #B0BED9 !important;
}

.colorgreen {
  color: green;
}

.colorred {
  color: red;
}

.text-right {
  text-align: right !important
}

.cursorpointer {
  cursor: pointer;
}

.checkbox-datatable {
  margin-top: 0px !important;
}

.iconviewtable{
  /* color: #f39c12 !important; */
  cursor: pointer; 
  /* font-size:20px */
  }
.iconedittable{
  /* color: #f39c12 !important; */
  cursor: pointer; 
  /* font-size:20px */
  }
  .icondeletetable{
    color: red !important;
    cursor: pointer; 
  /* font-size:20px */
  }

  .padding-top-none{
    padding-top: 0 !important;
  }

  button:disabled {
    cursor: not-allowed;
    pointer-events: all !important;
  }

  .modal-xl{
    max-width: 1200px !important;
  }
  .image-logo{
    width: 120px;
  }
  .label-head-red{
  color: rgb(59, 0, 221);
  font-weight: 900;
  font-size: 25px;
  }
  .label-head-black{
  font-weight: 900;
  font-size: 25px;
  }
  .icon-inline{
    display: inline !important;
    margin-left: -10px !important;
  }
  
  .button-100{
    width: 100% !important;
  }
  .button-login{ 
    height: 40px !important;
    border-radius: 50px !important;
    font-size: 18px !important;
  }
  .icon-red{
    color: rgb(59, 0, 221) !important;
  }
  .label-menu{
    cursor: pointer;
    color: rgb(59, 0, 221) !important;
    font-weight: 1200;
     font-size: 35px;
     padding-left: 10px;
  }
  
  .div-menu{
    cursor: pointer;
  }
  .div-menu:hover{
   background-color: transparent;
  }
  .barmenu{
    width: 350px;
    display: block !important;
  }
  
  #sidebar {
    min-width: 270px;
    max-width: 270px;
    background: #f2f2f2;
    color: #fff;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
    z-index: 900;
    border-right: 1px solid #d2d6de;
    height: 100%;
   }
    #sidebar .h6 {
      color: #000;
     }
    #sidebar.active {
      margin-left: -270px; 
    }
    #sidebar h1 {
      margin-bottom: 20px;
      font-weight: 700;
      font-size: 30px; 
    }
      #sidebar h1 .logo {
        color: #000;
       }
        #sidebar h1 .logo span {
          font-size: 14px;
          color: #44bef1;
          display: block; 
        }
    #sidebar ul.components {
      padding: 0; 
    }
    #sidebar ul li {
      font-size: 16px; 
    }
    #sidebar ul li.active {
      background-color: #1874CD;
      color: white !important;
    }
    #sidebar ul li a:hover {
      background-color: #104E8B !important;
      color: white !important;
    }
      #sidebar ul li > ul {
        margin-left: 10px; 
      }
        #sidebar ul li > ul li {
          font-size: 14px;
         }
      #sidebar ul li a {
        padding: 10px 0;
        display: block;
     
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
       }
        #sidebar ul li a span {
          color: #44bef1; 
        }
        /* #sidebar ul li a:hover {
          color: #000;
         } */
      #sidebar ul li.active > a {
        background: transparent;
        color: white;
       }
    @media (max-width: 991.98px) {
      #sidebar {
        margin-left: -270px; }
        #sidebar.active {
          margin-left: 0; 
        }
         }
    #sidebar .custom-menu {
      display: inline-block;
      position: absolute;
      top: 20px;
      right: 0;
      margin-right: -20px;
      -webkit-transition: 0.3s;
      -o-transition: 0.3s;
      transition: 0.3s; 
    }
      @media (prefers-reduced-motion: reduce) {
        #sidebar .custom-menu {
          -webkit-transition: none;
          -o-transition: none;
          transition: none; } 
        }
      #sidebar .custom-menu .btn {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        position: relative; 
      }
        #sidebar .custom-menu .btn i {
          margin-right: -120px;
          font-size: 18px;
        }
        #sidebar .custom-menu .btn.btn-primary {
          background: transparent;
          border-color: transparent; 
        }
          #sidebar .custom-menu .btn.btn-primary:after {
            z-index: -1;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            content: '';
            -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            transform: rotate(45deg);
            background: #f5f5f6;
            border-radius: 10px;
           }
          #sidebar .custom-menu .btn.btn-primary:hover, #sidebar .custom-menu .btn.btn-primary:focus {
            background: transparent !important;
            border-color: transparent !important; 
          }
  
            @media (max-width: 991.98px) {
              #sidebarCollapse span {
                display: none; } 
              }
  
  
  .image-menu-top{
    width: 20px;
  }
  
  
  .flex-container {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
  }
  
  .owl-nav{
    top: 50%;
    position: absolute;
    font-size: 40px !important;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
  }
  .owl-prev{
    float: left !important;
    outline: 0px !important;
  }
  .owl-next{
    float: right !important;
    outline: 0px !important;
  }
  .imgslide{
    height: 350px;
  }

  .dupplicate
  {  
    background-color: #d3d3d3f1 !important;
  }
  .diff
  {  
    background-color: #f1f1f1 !important;
  }