/**
 * CV. ILMION KREATIF = ILMION STUDIO 
 * https://mdtsolution.com - hi@ilmion.com
 * 
 * STYLE
 * version      : 1.0.0 - Beta
 * Realeased    : 17 Aug 2018 - Singosari - Mirza Ramadhany
 * Last Updated : - 
 */

 /* Select2
http://ivaynberg.github.io/select2/
*/
  
  .num{text-align: right;}
  .date > input{ text-align: center; }

  .btn-w2gr{height:20px;font-size: 12px; display: block;}
  

  .select2-container {
    width: 100% !important; /* Memastikan Select2 mengisi lebar penuh kontainer */
  }

  .select2-container .select2-selection--multiple {
    min-height: 35px;
  }

  .select2-container--default .select2-selection--single{
    border: 1px solid #cccccc;
  }

  .select2-container--default.select2-container--focus .select2-selection--multiple{
    border: 1px solid #cccccc;
  } 
  
  .select2-container--default .select2-selection--single {
    border: 1px solid #ced4da; /* Menggunakan warna border Bootstrap */
    border-radius: 0.25rem; /* Menggunakan radius border Bootstrap */
    height: calc(1.5em + 0.75rem + 2px); /* Menyesuaikan tinggi dengan input Bootstrap */
    padding: 0.375rem; /* Menggunakan padding Bootstrap */
    line-height: 1.5; /* Menggunakan line-height Bootstrap */
  }
  
  .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: inherit; /* Memastikan teks berada di tengah vertikal */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
  }
  
  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + 0.75rem + 2px); /* Menyesuaikan tinggi panah */
  }
  
  .select2-container--default .select2-selection--single:focus,
  .select2-container--default .select2-selection--single:active,
  .select2-container--default .select2-selection--single.select2-selection--open {
    border-color: #95bee9; /* Warna border fokus Bootstrap */
    box-shadow: 0 0 0 0.2rem rgba(129, 169, 212, 0.623); /* Efek bayangan fokus Bootstrap */
  }
  
  .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #3276b1; /* Warna highlight Bootstrap */
    color: white; /* Warna teks highlight Bootstrap */
  }

  .select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #ced4da 1px;
  }

  .input-group .select2-container {
    flex: 1 1 auto; /* Memungkinkan Select2 mengisi ruang yang tersedia */
    max-width: calc(100% - 40px);
  }

  .input-group .select2-container--default .select2-selection--single {
      border-radius: 0; /* Menghapus radius border agar sesuai dengan input-group */
  }

  .input-group-append .input-group-text {
      border-radius: 0; /* Menghapus radius border pada tombol */
  }

  /*jika tombol berada di kanan*/
  .input-group .select2-container--default .select2-selection--single {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
  }

  /*jika tombol berada di kiri*/
  .input-group .select2-container--default .select2-selection--single {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
  }

   /* .select2{
    min-width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; 
  } */
 /* .input-group > .select2{
    position: relative;
    flex: 1 1 auto;
    width: 10%;
    min-width: 0;
    overflow: hidden;
  } */

  .select2-container--open .select2-dropdown--below{
    z-index: 9999;
  }

  .select2-readonly-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Atau warna latar belakang lain yang sesuai */
    z-index: 10; /* Pastikan overlay berada di atas elemen Select2 */
}
  /* .select2-container .select2-selection.select2-selection--single {
    height: 35px;
  }

  .select2-selection__rendered, .select2-selection__clear, .select2-selection__arrow{
    margin-top: 2px;
  } */

/* 
  .select2-container .select2-selection > .select2-chosen {
    margin-right: 26px;
    margin-left: 0;
  }
  .select2-container.select2-drop-above .select2-choice {
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
  }
  .select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: transparent;
  }
  
  .select2-container--default .select2-results__group {
    color: #2c2c2c;
  }
  .select2-search input,
  .select2-search-choice-close,
  .select2-container .select2-choice abbr,
  .select2-container .select2-choice .select2-arrow b {
    background-image: none !important;
  }
  .select2-dropdown-open.select2-drop-above .select2-choice,
  
  .select2-dropdown-open.select2-drop-above .select2-choices {
    background-image: none !important;
    border: 1px solid rgba(23, 168, 4, 0.07);
    background: #880606;
  }


  .select2-dropdown-open .select2-choice .select2-arrow {
    -webkit-transform: scale(scale(1, -1));
    -ms-transform: scale(scale(1, -1));
    transform: scale(scale(1, -1));
  }
  .select2-dropdown {
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-bottom: none;
    border-radius: 2px;
    padding-top: 0px;
  }
  .select2-dropdown.select2-drop-above {
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    box-shadow: none;
  }
  .select2-container--open .select2-selection {
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.07);
    background: #f0f0f0;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
  }
  .select2-search--dropdown {
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
  }
  .select2-search--dropdown input {
    background: #fff !important;
    vertical-align: baseline;
    line-height: 28px;
    border-radius: 2px;
    border: none;
    font-size: 12px;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
  }
  
  .select2-results {
    margin: 3px 8px 10px 8px;
  }
  .select2-results li {
    color: #626262;
  }
  .select2-results li.select2-result-with-children > .select2-result-label {
    color: #2c2c2c;
  }
  .select2-results li.select2-result-with-children > .select2-result-label:first-child {
    padding-top: 8px;
  }
  .select2-results .select2-results__option--highlighted {
    background-color: #f0f0f0 !important;
    border-radius: 3px;
    color: #626262 !important;
  }
  .select2-results .select2-no-results,
  .select2-results .select2-searching,
  .select2-results .select2-selection-limit {
    background: none;
    color: #626262;
    font-size: 12px;
    padding-left: 8px;
    padding-top: 0px;
    position: relative;
    top: -5px;
  }
  .select2-dropdown {
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    padding-top: 5px;
    z-index: 790;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.15);
  }

  
  .select2-container--open .select2-selection--multiple .select2-selection__choice {
    background-color: #fff !important;
  }
  .select2-selection--multiple .select2-selection__rendered {
    background-image: none;
  }
  .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    background-color: #e6e6e6;
    background-image: none;
    border: none;
    box-shadow: none;
    color: inherit;
    border-radius: 8px;
    margin: 6px -5px 0px 10px;
    padding: 0 8px 0 7px;
    line-height: 21px;
  }
  .select2-selection--multiple .select2-selection__rendered .select2-selection__choice:first-child {
    margin-left: 0;
  }
  .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
    color: #626262;
    font-weight: 900;
    margin-right: 4px;
  }
  .select2-selection--multiple .select2-selection__rendered .select2-search--inline {
    margin-left: 8px;
  }
  .select2-selection--multiple.select2-container-active .select2-choices {
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: none;
  }
  .select2-selection--multiple .select2-search-choice-close {
    left: 6px;
  }
  .select2-search-choice-close {
    background: none;
    top: 4px;
    right: 0;
  }
  .select2-search-choice-close:hover {
    text-decoration: none;
  }
  .select2-drop-multi .select2-results .select2-no-results,
  .select2-drop-multi .select2-results .select2-searching,
  .select2-drop-multi .select2-results .select2-selection-limit {
    top: 0px;
  }*/
  /* .select2.form-control {
    padding: 0;
    box-shadow: none;
    border: 0;
  } */
  /* .select2-drop-mask {
    z-index: 700;
  } */

  .form-floating .select2-container--default.select2-selection {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
  }

  .form-floating .select2-container--default .select2-selection>.select2-selection__rendered {
      margin-top: 1.2rem;
      margin-left: 0.25rem;
  }
 
  .form-floating .select2-container--default .select2-selection {
    height: 58px;
  }
  
  .glyphicon {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .glyphicon-chevron-left:before {
    content: "\f053";
  }
  
  .glyphicon-chevron-right:before {
    content: "\f054";
  }
  
  .glyphicon-chevron-up:before {
    content: "\f077";
  }
  
  .glyphicon-chevron-down:before {
    content: "\f078";
  }

  /*validate*/
  ul.myErrorClass, input.myErrorClass, textarea.myErrorClass, select.myErrorClass{
      border-width: 1px !important;
      border-style: solid !important;
      /* border-color: #cc0000 !important; */
      /* background-color: #f3d8d8 !important; */
      /* background-image: url(http://goo.gl/GXVcmC) !important; */
      background-position: 50% 50% !important;
      background-repeat: repeat !important;
  }
  ul.myErrorClass input {
      color: #666 !important;
  }
  label.myErrorClass {
      color: red;
      font-size: 11px;
      /*    font-style: italic;*/
      display: block;
  }

  /*badge*/
  .badge-blink {
    animation: blinker 2s linear infinite;
  }
  
  @keyframes blinker {
    50% {
      opacity: 0;
    }
  }

  /*datatble */
  .dataTable tr{
    border: 1px solid rgb(219, 219, 219);
  }

  /* w2 ui grid*/
  .w2ui-grid-col {
    box-shadow: none;
    border-radius: 0px;
    background-color: #7c1c1c; /* Warna latar belakang abu-abu muda */
    color: #333; /* Warna teks abu-abu tua */
    font-family: Arial, sans-serif;
  }
  .w2ui-grid .w2ui-grid-header {
    font-size: 12px;
    text-align: center;
  }

  .w2ui-grid .w2ui-grid-body table .w2ui-head {
    background-color: #FAFAFA;
    background-image: none;  
  }

  