﻿body {
    -moz-transform: scale(0.85, 0.85); /* Moz-browsers */
    zoom: 0.85; /* Other non-webkit browsers */
    zoom: 85%; /* Webkit browsers */
    font-size: 16px;
    font-size: 1em;
    font-family: "Roboto","THSarabunNew", sans-serif;
    -webkit-text-size-adjust: 100%;
}
.modal-backdrop {
    width: 100% !important;
    height: 100% !important;
}
.modal-xl{
    max-width:85%;
}
.disabled a {
    pointer-events: none;
    color: grey;
}
.row_selected {
    background: rgb(249, 231, 159);
}
[data-background-color='Warehouse'] {
    background-color: rgb(1 107 185 / 0.8) !important;
    color: white;
}
[data-background-color='Warehouse-body'] {
    background-color: rgb(234, 237, 237) !important;
    color: white;
}
[data-background-color='Zone'] {
    background-color: rgb(255 156 113 / 0.9) !important;
    color: white;
}
[data-background-color='Location'] {
    background-color: rgb(44 148 207 / 0.65) !important;
    color: black;
}
[data-background-color='Location-body'] {
    background-color: rgb(234, 237, 237) !important;
    color: white;
}
[data-background-color='Pallet'] {
    background-color: rgb(245, 203, 167) !important;
    color: black;
}
[data-background-color='NoStock'] {
    background-color: rgb(153 163 164 / 0.5) !important;
    color: white;
}
.pointer {
    cursor: pointer !important;
}
.ui-menu-item-wrapper{
    font-size : 15px;
}
.loading {
    cursor: wait !important;
}

.text-boarder {
    border: 1px solid #CCD1D1;
}

.text-boarder:focus {
    border: 1px solid black;
}
.trGroup {
    background-color: rgb(133, 193, 233);
}

.Itemtooltip {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ItemtooltipPopup {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ItemAdd {
    float: left;
    position: absolute;
    margin-left: 160px;
}
.ItemAddLot {
    float: left;
    position: absolute;
    margin-left: 160px;
}
.ItemAddSearchLot {
    float: left;
    position: absolute;
    margin-left: 160px;
    width:30%!important;
}

.ItemDate {
    float: right;
}

.CreateDate {
    float: right;
}

.ItemExport {
    float: left;
    padding-left: 5px;
}
.ItemPrintAll {
    float: left;
    padding-left :5px;
}

div.dt-buttons.btn-group.flex-wrap {
    display: inherit;
}

.dz-image img {
    width: 150px;
    height: 150px;
}
.container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.breadcrumb {
    background-color: white;
}

.breadcrumb > .active a {
    color: black;
    text-decoration: underline;
}

.breadcrumb > .no_active a {
    color: blue;
}

.modal-header-popup {
    background-color: #2471A3;
    color: white;
}

.select2-selection {
    border-color: #CCD1D1 !important;
    padding-top : 4px;
    padding-left : 4px;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    /*font-size: 1.2em;*/
    font-size: 15px;
}

.select2-container--default .select2-selection--multiple {
    height: 38px;
    /*font-size: 1.2em;*/
    font-size: 15px;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border: 1px solid black !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid black !important;
}

.select2-selection--multiple {
    overflow: hidden !important;
    height: auto !important;
}

.form-check-label {
    padding-bottom: 3px;
}
.form-check-input {
    margin-top: 1px;
}
input[type='checkbox'] {
    width: 16px;
    height: 16px;
}
input[type='radio'] {
    width: 16px;
    height: 16px;
}
.ui-datepicker-today {
    background: #85C1E9 !important;
}
.ui-datepicker-current-day {
    background: #85C1E9 !important;
}
.badge{
    font-size : 14px;
}
#loading {
    background: url(../css/spinner.gif) no-repeat center center;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    position: fixed;
    opacity: 0.7;
    background-color: rgba(255,255,255,0.7);
    z-index: 99;
    text-align: center;
    font-size: 35px;
}

#search {
    position: absolute;
    top: 49%;
    left: 59%;
    text-align: center;
    z-index: 100;
    font-size: 30px;
}

#save {
    position: absolute;
    top: 49%;
    left: 59%;
    text-align: center;
    z-index: 100;
    font-size: 30px;
}

.buttons-excel {
    position: absolute !important;
    padding: 0px;
    margin: 0px;
}

.export-excel {
    background-color: rgb(29 111 66 / 0.70);
    color: white;
}

.export-excel:hover {
    background-color: rgb(29 111 66 / 0.90);
    color: white;
}

.btn-copy {
    background-color: rgb(128, 139, 150);
    color: white;
}

.btn-copy:hover {
    background-color: rgb(86, 101, 115);
    color: white;
}

.btn-print {
    background-color: rgb(52, 152, 219);
    color: white;
}

.btn-print:hover {
    background-color: rgb(40, 116, 166);
    color: white;
}
.btn-cancel {
    border-color: rgb(215, 219, 221);
    color: black;
}
.btn-cancel:hover {
    border-color: rgb(166, 172, 175);
    color: black;
}
.btn-save {
    background-color: rgb(40, 180, 99);
    color: white;
}
.btn-save:hover{
    background-color: rgb(35, 155, 86);
    color: white;
}
.btn-ok {
    background-color: rgb(142, 68, 173);
    color: white;
}
.btn-ok:hover {
    background-color: rgb(125, 60, 152);
    color: white;
}
.btn-submit {
    background-color: rgb(16, 161, 157);
    color: white;
}

    .btn-submit:hover {
        background-color: rgb(14,138,134);
        color: white;
    }
.btn-canceljob {
    background-color: rgb(137, 138, 166);
    color: white;
}

    .btn-canceljob:hover {
        background-color: rgb(111, 112, 139);
        color: white;
    }
.btn-reject {
    background-color: hsl(354, 81%, 63%);
    color: white;
}

    .btn-reject:hover {
        background-color: hsl(354, 67%, 56%);
        color: white;
    }
.btn-approve {
    background-color: #27ae60;
    color: white;
}

    .btn-approve:hover {
        background-color: #1e8449;
        color: white;
    }

 
.btn-register {
    background-color: rgb(6, 143, 255);
    color: white;
}

    .btn-register:hover {
        background-color: rgb(9, 130, 230);
        color: white;
    }
.sidebar {
    background-color: rgba(36, 70, 103, 0.92);
    margin: 0;
    padding: 10px;
    border: 1px solid;
    border-color: rgb(139 146 150 / 0.72);
    /*box-shadow: 3px 5px rgb(171 205 208 / 0.92);*/
    overflow: auto;
}

.sidebar .main_ui {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.sidebar .main_ui > ul > li{
    padding:15px;
    color:white;
}
.sidebar .main_menu_group {
    width: 100%;
    margin-bottom: 5px;
    background-color: white;
    color: black;
    font-size: 15px;
    padding: 10px;
    text-align: left;
    border-color: rgb(139 146 150 / 0.72);
    /*box-shadow: 3px 5px rgb(171 205 208 / 0.92);*/
    border-radius : 5px;
}
.sidebar .main_menu_group:hover {
     color: gray;
}

.sidebar .main_menu_group > i {
    float: right;
    margin-top: 3px;
}

.sidebar .main_menu {
    cursor: pointer;
    -webkit-user-select: none; /* Safari 3.1+ */
    -moz-user-select: none; /* Firefox 2+ */
    -ms-user-select: none; /* IE 10+ */
    user-select: none;
}
    .sidebar .main_menu::before {
        font-family: "Font Awesome 5 Free";
        content: "\f067";
        font-weight: 900;
        display: inline-block;
        margin-right: 3px;
        padding:3px;
        /*padding-top : 3px;
    padding-bottom : 3px;*/
    }

.sidebar .main_menu_item::before {
    -webkit-animation: spin 0.39s ease-in-out 1 alternate;
    animation: spin 0.39s linearease-in-out 1 alternate;
    font-family: "Font Awesome 5 Free";
    content: "\f068";
    font-weight: 900;
}

.sidebar .sub_menu {
    list-style-type: none;
    display: none;
    border-radius: 5px;
    margin-left: 5px;
    color: white;
    padding: 3px;
}
.sidebar .sub_menu > li{
    padding-top : 3px;
    padding-bottom : 3px;
}
.sidebar .sub_menu > li > a{
    color: white;
}
.sidebar .sub_menu > li > a .active{
   text-decoration : underline;
}
.sidebar .sub_menu > li > .main_menu:hover{
    color: gray;
}
.sidebar .sub_menu > li > a > i{
    padding:3px;
}
.sidebar .sub_menu > li > a:hover {
     color: gray;
}
.sidebar .sub_menu > li .link_menu {
    font-size:15px;
}
.sidebar .active {
  display: block;
}
.sidebar .logout {
    cursor: pointer;
    width: 100%;
    margin-bottom: 5px;
    background-color: white;
    color: black;
    padding: 10px;
    text-align: left;
    border-color: rgb(139 146 150 / 0.72);
    /*box-shadow: 3px 5px rgb(171 205 208 / 0.92);*/
    border-radius : 5px;
}
.sidebar .logout:hover {
    color: gray;
}
.sidebar .logout > i {
    float: right;
    margin-top: 3px;
}

.btn:active .fa_spin {
    -webkit-animation: spin 0.39s ease-in-out 1 alternate;
    animation: spin 0.39s linearease-in-out 1 alternate;
}
#table_list_wrapper, #table_list_lot_wrapper {
    position: relative;
    overflow: auto;
}
#table_list_length.dataTables_length {
    text-align: left;
}

#table_list_lot_length.dataTables_length {
    text-align: left
}

#table_list_po_length.dataTables_length {
    text-align: left
}

#table_list_gn_length.dataTables_length {
    text-align: left
}

#table_list_so_length.dataTables_length {
    text-align: left
}

#table_list_dl_length.dataTables_length {
    text-align: left
}
.modal {
    overflow: auto !important;
}
.check-search-remain{
    padding-top:33px;
}
.btnSearch {
    padding-top: 26px;
}
.inputWithIcon {
  position: relative;
}
.inputWithIcon i {
  position: absolute;
  right: 1%;
  top: 1%;
  padding-top:0.4em;
}
.AuditHubMessage {
    position: absolute;
    top: 0px;
    right: 0px;
    z-index:999;
    padding:10px;
}
.main_collapse::before {
    font-family: "Font Awesome 5 Free";
    content: "\f139";
    font-weight: 900;
    margin-right: 3px;
}

.main_collapse_item::before {
    font-family: "Font Awesome 5 Free";
    content: "\f13a";
    font-weight: 900;
}
@media only screen and (max-width: 767px) {
    body {
        -moz-transform: scale(0.6, 0.6); /* Moz-browsers */
        zoom: 0.6; /* Other non-webkit browsers */
        zoom: 65%; /* Webkit browsers */
        font-size: 14px;
    }
    .btnSearch {
        padding-top: 15px;
        padding-bottom: 0px;
        margin-top:10px;
    }
    .lot-reponsive {
        font-size: 0;
    }
    .modal-xl {
        max-width: 100%;
    }
    .check-search-remain {
        padding-top: 15px;
        padding-bottom: 15px;
        margin-top: 10px;
    }
    .lbl-location-auto {
        margin-bottom: 0px;
    }
    .lbl-pallet-auto {
        margin-bottom: 0px;
    }
    .lbl-lot-auto {
        margin-bottom: 0px;
    }
    .lbl-tag-auto {
        margin-bottom: 0px;
    }
    .check-location-auto {
        margin-left: 25px;
        margin-bottom: 10px;
    }
    .check-pallet-auto {
        margin-left: 25px;
        margin-bottom: 10px;
    }
    .check-lot-auto {
        margin-left: 25px;
        margin-bottom: 10px;
    }
    .check-tag-auto {
        margin-left: 25px;
        margin-bottom : 10px;
    }
}
@media only screen and (max-width: 992px) {
    body {
        -moz-transform: scale(0.7, 0.7); /* Moz-browsers */
        zoom: 0.7; /* Other non-webkit browsers */
        zoom: 70%; /* Webkit browsers */
        font-size: 15px;
    }
    .btnSearch {
        padding-top: 15px;
        padding-bottom: 0px;
        margin-top: 10px;
    }
}
@media only screen and (max-width: 1360px) {
    body {
        -moz-transform: scale(0.75, 0.75); /* Moz-browsers */
        zoom: 0.75; /* Other non-webkit browsers */
        zoom: 75%; /* Webkit browsers */
        font-size: 15px;
    }
    .btnSearch {
        padding-top: 15px;
        padding-bottom: 0px;
        margin-top: 10px;
    }
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes blinker {
    from {
        opacity: 1.0;
    }

    to {
        opacity: 0.0;
    }
}

.blink {
    text-decoration: blink;
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.6s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
}

.blink:hover {
    -webkit-animation-iteration-count: unset;
}


.badgeDisplay {
    border: 0.5px solid darkslategrey;
    background-color: white;
    color: darkslategrey;
    font-weight: normal;
}

.lbl-language{
    font-weight:600;
}

.lbl-require:after {
    content: ' *';
    color: red;
    margin-right: 5px;
    font-weight: 600;
}

.Header-1 {
    background-color: #2471A3 !important; 
    color: white;
}


.Header-2 {
    background-color: rgba(36,113,163,0.7) !important;
    border-bottom: 5px solid #2471A3 !important; 
    font-weight: bold;
    color: white;
}