/*    nav .navbar-nav li a {
        color: white !important;
   } */

    .nav-sidebar .nav-link.active,
    .nav-pills .nav-link.active,
    .nav-link.active {
        color: #fff !important;
        background-color: #f3732c !important;
    }


     input[type=checkbox],input[type=radio]
     {
       width:20px!important;
       height:20px!important;
     }

     .btn {
       border-radius : 40px;
       cursor : pointer
     }




     .bg-primary
     {
       background-color: #29335c !important;
       border-color:  #29335c !important ;
     }


     .bg-warning
     {
      background-color: #f36b21 !important;
      border-color:  #f36b21 !important ;
      color: #ffffff;
     }

       .btn-primary
       {
         background-color: #29335c !important;
         border-color:  #29335c !important ;
       }

       .btn-default
       {
        background-color: #fff !important;
        border-color:  #ccc !important ;
        color: #000000;
       }

       .btn-warning
      {
       background-color: #f36b21 !important;
       border-color:  #f36b21 !important ;
       color: #ffffff;
      }

      .btn-success
      {
       background-color: #1cc88a  !important;
       border-color:  #1cc88a !important ;
       color: #fff;
      }

      .btn-danger
      {
       background-color: #ec2024  !important;
       border-color:  #ec2024 !important ;
       color: #fff;
      }


      .text-dark
      {

        color: #000000 !important;
      }


      .text-warning
      {

        color: #f36b21 !important;
      }


      .text-primary
      {

        color: #29335c !important;
      }



      .text-success
      {

        color: #1cc88a !important;
      }

      .text-danger
      {
        color : #ec2024 !important;
      }


      .dt-button {
        color: #ffffff !important;
        padding: 7px 20px !important;
        background-color: #ffffff !important;
        border-color: #4cae4c !important;
        display: inline-block !important;
        padding: 6px 12px !important;
        margin-bottom: 0 !important;
        font-size: 14px !important;
        font-weight: normal !important;
        line-height: 1.428571429 !important;
        text-align: center !important;
        white-space: nowrap !important;
        vertical-align: middle !important;
        cursor: pointer !important;
        border: 1px solid transparent !important;
        border-radius: 4px !important;
     }

   .loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #243C7F;
    width: 150px;
    height: 150px;
    margin : auto;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.pagination .page-item.active .page-link {
    background-color: #f3732c;
    border-color: #f3732c;
    color: #ffffff
}




.pagination .page-item .page-link {
    color: #000000
}


a {
    cursor: pointer;
}

    .nav-item .dropdown-menu .dropdown-item{
        color : black !important;
    }


    .dropdown-item.active{
        color: #fff !important;
        background-color: #f3732c;

    }

::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
  }

  ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #f3732c;
  }


  .carousel-item {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 15%;
    right: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
  }

  .carousel-caption h3 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
  }

  .carousel-caption p {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    font-size: 36px;
    color: #fff;
    opacity: 0.9;
    top: 50%;
    transform: translateY(-50%);
  }

  .carousel-control-prev:hover,
  .carousel-control-next:hover {
    color: #fff;
    text-decoration: none;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    font-size: 50px;
  }

  .carousel-indicators li {
    background-color: #ccc;
    border-radius: 50%;
    width: 12px;
    height: 12px;
  }

  .carousel-indicators .active {
  background-color: #f3732c;
  }


  .image_fit {
    object-fit: cover !important;
    background-position: center !important;
    background-size: cover !important;
  }

  .nav-sidebar .nav-link {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.nav-sidebar .nav-link p {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
}

.bootstrap-select .dropdown-menu.inner {
    white-space: normal !important;
    max-width: 100vw !important;
}

.bootstrap-select .dropdown-menu.show {
    max-width: 100vw !important;
    overflow-wrap: break-word;
}

.bootstrap-select .dropdown-menu li a span.text {
    white-space: normal !important;
}

.dt-button {
    background-color: #198754 !important; /* ปุ่มสีเขียว */
    color: white !important;
    border-radius: 4px;
    padding: 5px 10px;
    margin: 5px;
}
