#TextareaAutoWidth {
    /* Khoá # dùng để xác đinh 1 control qua id */
    width: 100%; /* Set the initial width to 100% of the container */
    resize: none; /* Disable textarea resizing by user */
  }
textarea {
    /* áp dụng cho mọi control là textarea */
    width: 100%;
    resize: none;
    /* Add more styles here as needed */
  }
select{
    font-weight: bold;
}
.div_item_align_right {
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
    padding: 0.1em 0.1em 0.1em 0.1em; 

  }
  .div_item_align_left {
    display: flex;
    justify-content: flex-start;
    /* justify-content: Center; */
    align-items: baseline;
    padding: 0.1em 0.1em 0.1em 0.1em; 

  }
.custom-textarea {
    font-family: 'Times New Roman', Times, serif, sans-serif;
    font-size: 13px;
    color: #333;
  }
.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: #53f1d7 !important;
    font-weight: bold !important;
    color: #868585 !important;
} 
.ui.item.label
{
    border: none !important;
    background-color: #f63fbc;
}
body{
    padding: 0;
    margin: 0;
    font-size: 14px;
}
.ui-autocomplete 
{
    background-color:#f4f2d5;
    position: absolute;
    /* width: 50%; */
}
.ui-autocomplete-input {
    /* background: #53f1d7 !important;  */
    line-height: 18px; 
    height: 18px;
    background: #ebfcd5 !important; 
    /* font-weight: bold !important; */ 
    color: #000000 !important;
    border-bottom: rgb(205, 205, 205) 1px solid !important;
    border-radius: 2px;
    padding: 0px;
    margin: 0;
    /* background-color: #f63fbc;
    background-color: rgb(236, 64, 158);  */
 }

tr td:nth-child(7).ui-autocomplete-input,
tr td:nth-child(6).ui-autocomplete-input,
tr td:nth-child(18).ui-autocomplete-input,
tr td:nth-child(17).ui-autocomplete-input {
  background: rgb(234, 231, 233) !important;
}
/* <div class="div100col2"> */
.item {
    display: inline-block;
    /* Add any additional styling for individual grid items */
  }
.div100col2 {
    display: inline-grid;
    grid-template-columns: minmax(20px, 1fr) minmax(20px, 2.5fr);

    line-height: 18px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 1rem;
    border: 2px solid hsl(0, 65%, 18%);
    grid-gap: 10px;
    grid-row-gap: 0px;

    justify-content: center;
    align-items: start;
    padding: 0.7em 0.5em 0.5em 0.5em; 
    margin: 0px;

}
.div100col1 {
    display: inline-grid;
    grid-template-columns: minmax(50px, 1fr) ;
    grid-gap: 0px 0px;
    justify-content: space-around;
    align-items: left;   
}
.div100col2_1 {
    display: inline-grid;
    grid-template-columns: repeat( 2, minmax(30px, 1fr) );
    grid-gap: 0px 0px;
    justify-content: space-around;
    align-items: center;   
}


.div100col2 label
{ 
    /* display:block;   */
    text-align:right;
    justify-items:end; 
    /* align-items: center; */
    /* padding: 0.7em 0.5em 0.5em 0em; */
}
.div100col3 { 
    display: inline-grid;
    grid-template-columns: minmax(30px, 0.5fr) minmax(30px, 0.5fr) minmax(30px, 0.5fr);
    grid-gap: 0px 0px;
    align-items: left;
}
.div100col3_1 {
    display: inline-grid;
    grid-template-columns: 0.69fr 0.7fr 1fr;
    grid-gap: 0px 0px;
    justify-content: space-around;
    align-items: center;
}
.div100col4 { 
    display: inline-grid;
    grid-template-columns: repeat( 4, minmax(60px, 2fr) );
    grid-gap: 0px 5px;
    margin: 0px;
    justify-content: space-around;
    align-items: center;
    border: 0px solid hsl(0, 1%, 78%);

}
.div100col4_dashboard { 
    display: inline-grid;
    grid-template-columns: repeat( 4, minmax(60px, 2fr) );
    grid-template-rows:  0fr 0fr 0fr 0fr;
    grid-gap: 0px 80px;
    margin: 100px;
    justify-content: space-around;
    align-items: center;
    border: 0px solid hsl(0, 21%, 30%);
    /* display: flex; */
    justify-content: center;


}
.div100col4_1 { 
    display: inline-grid;
    grid-template-columns: minmax(50px, 80px) minmax(30px, 80px) minmax(60px, 1fr) minmax(60px, 1.2fr) ;
    grid-gap: 0px 5px;
    margin: 0px;
    justify-content: space-around;
    align-items: center;
    border: 0px solid hsl(0, 1%, 78%);

}
.div100col4_3 { 
    display: inline-grid;
    grid-template-columns: minmax(60px, 2.5fr) minmax(10px, 50px) minmax(10px, 50px) minmax(60px, 1fr) ;
    grid-gap: 0px 5px;
    margin: 0px 20px;
    justify-content: space-around;
    align-items: center;
    border: 0px solid hsl(0, 1%, 78%);

}
.grid-item {
    border: 0px solid rgb(141, 140, 140);
    padding: 0px;
  }
  
  .grid-item:nth-child(14) {
    grid-column: 2 / span 3;
  }
  .grid-item:nth-child(18) {
    grid-column: 2 / span 3;
  }
.div100col5 { 
    display: inline-grid;
    /* grid-template-columns: 29% 20% 14% 20% 14%; */
    /* grid-template-columns: 1fr 1fr 1fr 1fr 1fr; */
    grid-template-columns: repeat( 5, minmax(30px, 1fr) );

    grid-gap: 0px 0px;
    justify-content: space-around;
    align-items: center;
    /* padding: 0.7em 0.5em 0.5em 0em; */
}
/* chia form làm 2 cột */
.div100col6 {
    /* display: grid; */
    display: inline-grid;
    grid-template-columns: 15% 20% 20% 6% 6% 12%;
    /* column-gap: 1rem; */
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    border-radius: 1rem;
    /* background-color: hsl(0, 0%, 100%); */
    border: 1px solid hsl(0, 65%, 18%);
    gap: 0rem;
    justify-content: space-around;

}
.div100col7 {
    /* display: grid; */
    display: inline-grid;
    /* grid-template-columns: 15% 15% 20% 12% 12% 6% 6%; */
    grid-template-columns: repeat( 7, minmax(50px, 1fr) );

    /* column-gap: 1rem; */
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    border-radius: 1rem;
    /* background-color: hsl(0, 0%, 100%); */
    border: 1px solid hsl(0, 65%, 18%);
    gap: 0rem;
    justify-content: space-around;

}
.div100col8 {
    display: inline-grid;
    grid-template-columns: 1fr 1.5fr 1fr  1fr  1fr  1fr  1fr  1fr ;
    line-height: 14px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 1rem;
    border: 4px solid hsl(0, 65%, 18%);
    /* background-color: hsl(0, 0%, 100%); */
    grid-gap: 0px 0px;
    justify-content: left;
    align-items: center;
    padding: 0.7em 0.5em 0.5em 0.5em; 

}
.div100col19 {
    display: inline-grid;
    /* grid-template-columns: minmax(30px, 1fr) minmax(30px, 2.5fr); */
    /* grid-template-columns: repeat( 20, minmax(10px, 3fr) ); */
    grid-template-columns:  
    minmax(20px, 0.5fr)
    minmax(10px, 0.3fr) minmax(10px, 0.3fr)  
    minmax(100px, 0.6fr) minmax(100px, 2fr) 
    minmax(230px, 4fr)  minmax(200px, 2fr) 
    ;
    grid-template-rows:  0.5fr 0.5fr;

    line-height: 14px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0rem;
    border: 4px solid hsl(0, 65%, 18%);
    /* background-color: hsl(0, 0%, 100%); */
    grid-gap: 1px 1px;
    justify-content: left;
    align-items: top;
    align-content: top;

    padding: 0.7em 0.5em 0.5em 0.5em;

}
.div100col15 {
    display: inline-grid;
    /* grid-template-columns: minmax(30px, 1fr) minmax(30px, 2.5fr); */
    /* grid-template-columns: repeat( 20, minmax(10px, 3fr) ); */
    grid-template-columns:
    minmax(5px, 0.1fr)  
    minmax(20px, 0.5fr)
    minmax(10px, 0.3fr) minmax(10px, 0.3fr)  
    minmax(100px, 0.6fr) minmax(100px, 2fr) 
    minmax(230px, 4fr)  minmax(200px, 2fr) 
    ;
    grid-template-rows:  0.5fr 0.5fr;

    line-height: 14px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0rem;
    border: 4px solid hsl(0, 65%, 18%);
    /* background-color: hsl(0, 0%, 100%); */
    grid-gap: 1px 1px;
    justify-content: left;
    align-items: top;
    align-content: top;

    padding: 0.7em 0.5em 0.5em 0.5em;

}
.div100col22 {
    display: inline-grid;
    /* grid-template-columns: minmax(30px, 1fr) minmax(30px, 2.5fr); */
    /* grid-template-columns: repeat( 20, minmax(10px, 3fr) ); */
    grid-template-columns:
    minmax(5px, 0.1fr)  minmax(30px, 0.5fr)
    minmax(30px, 1fr) minmax(30px, 1fr)  
    minmax(30px, 1fr) minmax(30px, 1fr) 
    minmax(100px, 1fr)  minmax(100px, 1fr) 
    minmax(100px, 1fr)  minmax(100px, 1fr) 
    minmax(100px, 1fr)  
    ;
    grid-template-rows:  0.5fr 0.5fr;

    line-height: 14px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0rem;
    border: 4px solid hsl(0, 65%, 18%);
    /* background-color: hsl(0, 0%, 100%); */
    grid-gap: 1px 1px;
    justify-content: left;
    align-items: top;
    align-content: top;

    padding: 0.7em 0.5em 0.5em 0.5em;

}
input[type="text"]:enabled {
    background: #fefeeb;
    height: 18px;
    
    border: rgb(156, 153, 153) 0.1px solid !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-left: 0 !important;

    outline: none;
  }
  input[type="text"]:disabled {
    height: 18px;
    border: rgb(156, 153, 153) 0.1px solid !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-left: 0 !important;    
    outline: none;
  }
  input[type="date"] {
    height: 18px;
    border: rgb(156, 153, 153) 0.1px solid !important;
    border-radius: 2px;

    border-top: 0 !important;
    outline: none;
  }
.bold-option {
    font-weight: bold;
    color: #f00c0c !important;
    font-size: 15px;
    border: rgb(205, 205, 205) 1px solid !important;
    border-radius: 2px;
    padding: 0px;
    margin: 0px;
  }
  .bold {
    font-weight: bold;
    color: #f00c0c !important;
    font-size: 15px;
    border: rgb(205, 205, 205) 1px solid !important;
    border-radius: 2px;
    padding: 0px;
    margin: 0px;
  }
.span-2 {
    grid-row-end: span 2;
  }
  .grid-item0 {
    padding: 1px;
  }
  .grid-item1 {
    padding: 1px;
    background-color: rgb(207, 203, 203);
  }

.div100col16 {
    display: inline-grid;
    /* grid-template-columns: minmax(30px, 1fr) minmax(30px, 2.5fr); */
    /* grid-template-columns: repeat( 20, minmax(10px, 3fr) ); */
    grid-template-columns:  
    minmax(30px, 0.5fr)
    minmax(30px, 0.5fr) minmax(30px, 0.5fr) 
    minmax(50px, 0.8fr) minmax(50px, 0.8fr) 
    minmax(30px, 0.5fr)
    minmax(250px, 4fr)  minmax(250px, 4fr) 
    ;
    grid-template-rows:  0.5fr 0.5fr;

    
    line-height: 14px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0rem;
    border: 4px solid hsl(0, 65%, 18%);
    /* background-color: hsl(0, 0%, 100%); */
    grid-gap: 1px 1px;
    justify-content: left;
    align-items: top;
    align-content: top;

    padding: 0.7em 0.5em 0.5em 0.5em;

}

.gridRowline {
    grid-column: 1 / -1;
    height: 2px;
    border-bottom: 1px dotted  black;
    width: 100%;
    padding: 0px;

 }
  .grid-container {
    /**
     * User input values.
     */
    --grid-layout-gap: 0px;
    --grid-column-count: 5;
    --grid-item--min-width: 10px;
  
    /**
     * Calculated values.
     */
    --gap-count: calc(var(--grid-column-count) - 1);
    --total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
    --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));
  
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
    grid-gap: var(--grid-layout-gap);
  }

/* Khung thuc thi */
.container{
    width: 100%;
    margin: 0;
    padding: 0;
}
.container_dashboard{
    width: 100%;
    margin: 0;
    padding: 0;
    /* display: inline-block; */
    display: flex;
    justify-content: center;

}
h1{
    text-align: center;
}

.clear-both{
    clear: both;
}

.buttons{
    text-align: center;
    font-size: 14px;
}
.buttons a{
    color: rgb(0, 0, 0);
    padding: 3px;
    margin-right: 5px;
    margin-left: 5px;
    line-height: 30px !important;

    background: rgb(173, 252, 76);
    border-radius: 5px; /* Adjust the value as needed */
    border: none;
}
a{
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
    background-color: rgb(236, 234, 234);
    color: #f00c0c !important;
}
/* a:visited {
    color: rgb(94, 252, 254);
  } */
input[type='radio'] {
    accent-color: #ed5353;
}
input[type="submit"] {
    color: rgb(0, 0, 0);
    text-align: center;
    /* font-weight: bold; */
    font-size: 14px;
    margin-bottom: 1px;
    margin-right: 5px;
    margin-left: 5px;
    line-height: 21px;
    padding: 1px;
    background: rgb(173, 252, 76);
    border-radius: 5px; /* Adjust the value as needed */
    border: none;
  }
  input[type="submit"]:hover {
    background-color: rgb(236, 234, 234);
    text-decoration: underline;
    color: #f00c0c !important;
  }
#admin-heading-panel{
    background: #17d66d;
    height: 10px;
    line-height: 10px;
    color: #fff;
}
#admin-heading-panel a{
    color: #fff;
}
.left-panel{
    float: left;
}
.left-panel span{
    color: #eeff09;
    font-weight: bold;
}
.right-panel{
    float: right;
}
.right-panel img{
    vertical-align: middle;
}
.right-panel a{
    margin-right: 10px;
}
/* Ben Trai */
.left-menu{
    float: left;
    width: 160px;
}
/* Ben Phai */
.main-content{
    float: left;
    width: 100%;
    margin-left: 0px;
}
.main-content h1{
    margin: 0;
    text-align: left;
    background: #525151;
    color: #fff;
    font-size: 18px;
    font-weight: normal;
    line-height: 40px;
    border-radius: 10px 10px 0 0;
    padding: 0 10px;
}
#admin-footer{
    background: #717171;
    padding: 5px 0;
    line-height: 60px;
    color: #FFF;
}
#content-wrapper .container{
    padding: 0px 0;
}
.menu-heading{
    background: #FFF;
    line-height: 25px;
    padding: 0px;
    color: rgb(225, 54, 188);
    border-radius: 10px 10px 0 0;
    font-size: 16px;
}
.menu-items ul{
    margin: 0;
    padding: 0;
}
.menu-items ul li{
    list-style: none;
    line-height: 30px;
    border-bottom: 1px dashed #ccc;
    padding-left: 15px;
}
.menu-items ul li a{
    color: #000;
}
.menu-items ul li:first-child{
    border-top: 0;
}
.menu-items{
    padding: 0 0px 15px 0px;
    border: 1px solid #ccc;
    border-radius: 0 0 10px 10px;
}
#pagination{
    text-align: right;
    margin-top: 15px;
}
.page-item{
    border: 1px solid #ccc;
    padding: 1px 5px;
    color: rgb(241, 45, 245);
}
.current-page{
    background: #17d66d;
    color: #FFF;
}
#listing-editing{
    border: 1px solid #ccc;
    padding: 20px;
}

#content-box{
    border: 1px solid #ccc;
    padding: 20px;
}


#editing-form input 
{
    margin-bottom: 0px;
    line-height: 14px;
    /* float: left; */
}
#editing-form textarea 
{
    width: 500px;
    height: 200px;
}

#cke_product-content{
    float: left;
    width: 700px;
}
.right-wrap-field{
    float: left;
    width: 75%
}
.right-wrap-field img{
    width: 200px;
    border: 1px solid #ccc;
    padding: 5px;
    height: 150px;
}
.right-wrap-field input{
    float: none;
}
.right-wrap-field ul{
    padding: 0;
    margin: 0;
}
.right-wrap-field ul li{
    list-style: none;
    float: left;
    position: absolute;
    padding: 0;
    margin: 0;
}
.right-wrap-field ul li a{
    position: absolute;
    background: rgba(0,0,0,0.1);
    color: #000;
    padding: 5px;
    bottom: 3px;
    right: 0;
}

.box-content
{
    margin: 0 auto;
    width: 800px;
    border: 1px solid #ccc;
    text-align: center;
    padding: 20px;
}
.listing-search{
    margin-bottom: 15px;
}
.total-items{
    margin-bottom: 5px;
    text-align: right;
}
.total-items strong{
    color: red;
}
#menu-list .listing-prop{
    line-height: 40px;
}
select[name="parent_id"]{
    margin-bottom: 10px;
    height: 40px;
}


/*Lesson 23*/
.listing-address{
    float: left;
    width: 180px;
}
.listing-phone{
    float: left;
    width: 151px;
}
.listing-id{
    float: left;
    width: 50px;
    text-align: center;
}
#order-detail-wrapper{
    width: 450px;
    margin: 50px auto;
    border: 4px solid #000;
    padding: 5px;
}
#order-detail{
    border: 1px solid #000;
    padding: 20px;
    line-height: 20px;
}
#order-detail ul{
    margin: 0;
    padding: 0;
}
#order-detail ul li{
    list-style: none;
}
#order-detail label{
    font-weight: bold;
}
#member-listing .listing-time{
    width: 100px;
    font-size: 12px;
}
.privilege-group{
    margin-bottom: 15px;
}
.group-name{
    margin: 0;
    padding-bottom: 5px;
}
.privilege-group ul{
    margin: 0;
    padding: 0;
}
.privilege-group ul li{
    float: left;
    width: 20%;
    list-style: none;
}
#editing-form .privilege-group ul li input{
    float: none;
}
#editing-form .privilege-group ul li label{
    float: none;
    width: auto;
}
table {
    border-collapse: collapse;
    
}
th.border_bottom {
    border-bottom: 1px solid black;
}
th.leftright {
    border-left: 1px solid black;
    border-right: 1px solid black;
    padding-left: 5px;
    padding-right: 5px;
  }
th.right {
    border-right: 1px solid black;
    padding-left: 5px;
    padding-right: 5px;
  }
tr.border_bottom {
    border-bottom: 1px solid black;
  }
td.leftright {
    border-left: 1px solid black;
    border-right: 1px solid black;
    padding-left: 5px;
    padding-right: 5px;
    text-align: right;
  }
td.right {
    border-right: 1px solid black;
    padding-left: 5px;
    padding-right: 5px;
    text-align: right;
  }
  #site-footer {
    background-color: var(--background-color);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}.footer {
    /* background-color: #f5f5f5; */
    background-color: var(--background-color);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

  }