.container {
  position: relative;
  z-index: 1;
}

.container::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;

  background-size: cover;
  background-position: center;
  opacity: 0.5; /* Change opacity here */
  z-index: -1;
}
    
    
    
    .fixed-top-right {
        position: fixed; /* Fixes the element relative to the viewport */
          top: 50;       /*  Positions it at the top edge */
          right: 25;     /*  Positions it at the right edge */
        /* Optional: Add padding, background, z-index, etc. for styling */
        padding: 10px;
   
        z-index: 1000;   /* Ensures it appears above other content */
    }
    
  
  .panel {
       padding: 10px;
    }
    


.outerDIV {
    border: 1px solid black;
    /*  display: table; */
    padding: 20px;
    overflow: auto;
    resize: both;
}

.table-responsive-scrollable {
    /* max-height: 650px;
    /*ไม่เกbo กdiv height
    /* Adjust as needed */
    overflow-y: scroll;
}

.table-responsive-scrollable-drag {
    /* Adjust as needed */
    overflow-y: scroll;
}


/* filter search and table for result list  */

.myInput {
    background-position: 10px 10px;
    background-repeat: no-repeat;
    width: 80%;
    font-size: 12px;
    padding: 12px 20px 12px 40px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
    border-radius: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.myInput:hover {
    border-color: rgba(83, 22, 182, 0.8);
    border-style: solid;
    border-width: 1px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    /* Change this to your desired color */
}

.myInput:focus {
    outline: none;
}

.myTable {
    border-collapse: collapse;
    width: 100%;
    border: 0px solid #ddd;
    font-size: 11px;
    vertical-align: text-top;
}

.myTable tr,
.myTable td {
    text-align: left;
    padding: 2px;
    vertical-align: text-top;
}

.myTable tr:hover {
    background-color: #f1f1f1;
    border-radius: 8px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
     vertical-align: text-top;
}

.myTable td:hover a:hover {
    color: green;
    vertical-align: text-top;
}

.myTable a {
    color: black;
}


/* ***** */

.divin {
    display: grid;
    row-gap: 1px;
    grid-template-columns: auto auto auto;
}



#item3 {
    grid-column-start: 3;
    grid-column-end: 3;
    text-align: right;
}

#item1 {
    grid-column-start: 1;
    grid-column-end: 2;
    text-align: left;
}

.btnX {
    padding: 0px;
    width: 30px;
    height: 25px;
    font-size: 12px;
    border-radius: 5px;
    margin: auto;
     text-align: center;
    border-color: rgb(177, 189, 202);
}

.divx {
    display: table;
    /* */
    background-color: rgb(255, 255, 255);
    width: 350px;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    padding: 10px;
    overflow: auto;
    z-index: 1500;
    min-width: 300px;
    position: absolute;
    user-select: none;
    /*
      display: table; 
    float: right;
    margin: auto;
    width: 500px;
    height: 600px;
    position: relative;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    text-align: center;
    z-index: 1000;
    padding: 15px 15px 15px 15px;
    resize: horizontal;
    overflow: auto;
    min-width: 300px;
    */
}

.divx2 {
    /* Div ที่ต้องการจัดกึ่งกลาง */
    min-width: 300px;
    width: 100%;
    height: 600px;
    margin: auto;
    position: relative;
    padding: 10px;
    /* จัดกึ่งกลางแนวนอน */
    background-color: rgb(255, 255, 255);
    text-align: center;
    border-radius: 8px;
    vertical-align: text-top;
    overflow: auto;
      user-select: none;
}



.headerpick_CS {
    cursor:pointer;
    height:10px;
    border-radius: 5px;
    grid-column-start: 1;
    grid-column-end: 4;
    text-align: center;
    color: rgb(8, 8, 8);
   
    
    width: 100%;
     z-index: 2000; border-radius: 10px 10px 0 0;
     
background: white;
}
