* {
    margin: 0;
    padding: 0;
    font-family: "Open Sans",​Helvetica,​Arial,​sans-serif;
}

html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    background-color: #EFF1F2;
    font-size: 15px;
    color: #666;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    text-align: center;
}

table {
    width: 100%;
    margin-bottom: 15px;
}

label {
    width: calc(30% - 5px);
    display: inline-block;
    text-align: right;
    font-weight: bold;
    color: #666;
    vertical-align: middle;
    padding-right: 5px;
}

input, textarea, select {
    padding: 10px 8px;
    background-color: #f5f8f9;
    border: 1px solid #c7d6db;
    border-radius: 3px;
    color: #555;
    display: inline-block;
    height: 34px;
    box-sizing: border-box;
    width: 100%;
    vertical-align: middle;
}

select {
    padding: 8px;
}

input:focus {
    background-color: #fefbe2;
}

input[type=submit], input[type=button] {
    background-color: #00aff0;
    color: #fff;
    height: 40px;
    cursor: pointer;
    font-weight: bold;
    display: block;
    margin: auto;
}

table input[type=submit], table input[type=button] {
    width: 100%;
}

input[type=submit]:hover, input[type=button]:hover {
    background-color: #008ABD;
}

input[type=submit][disabled=disabled], input[type=button][disabled=disabled] {
    background-color: #CDCDCD;
    color: #F0FAFA;
}

input[type=submit][disabled=disabled]:hover, input[type=button][disabled=disabled]:hover {
    background-color: #CDCDCD;
}

input[type=checkbox] {
    height: inherit;
    width: inherit;
    display: inline;
}

.logo img {
    max-width: 100%;
}

.alert {
    padding: 10px 10px 10px 50px;
    border-radius: 3px;
    width: 80%;
    max-width: 478px;
    position: fixed;
    bottom: 5px;
    text-align: left;
    z-index: 9999;
    font-size: 18px;
}

.error {
    border-left: 3px solid #EAB3B7;
    background-color: #ffe2e4;
    color: #d27c82;
}

.success {
    border-left: 3px solid #92D097;
    background-color: #DDF0DE;
    color: #92D097;
}

.notice {
    border-left: 3px solid #FCC94F;
    background-color: #FFF3D7;
    color: #FCC94F;
}

#pages {
    height: 100%;
}

.page {
    overflow: hidden;
    padding: 0 2.5%;
    min-height: calc(100% - 50px);
}

.generalContainer {
    max-width: 800px;
    margin: auto;
}

#menuButton {
    width: 20px;
    position: fixed;
    top: 12px;
    left: 50px;
    margin-left: 10px;
    cursor: pointer;
    z-index: 887;
}

#menu {
    background-color: white;
    height: 100%;
    list-style: outside none none;
    z-index: 999;
    padding-top: 20px;
}

#menu li {
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 5px 60px 5px 15px;
}

#menu li a {
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    display: inline-block;
}

.currentPage {
    background-color: lightgray;
}

.title {
    width: 100%;
    background: white;
    padding: 5px 0;
}

.control {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

.control label{
    text-align: center;
}

.bold {
    color: #666;
    font-weight: bold;
}

#keyboardButton {
    display: none;
}

.blackBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background-color: black;
    opacity: 0.6;
}

.window {
    position: fixed;
    top: 50px;
    z-index: 9999;
    background-color: white;
    max-width: 800px;
    width: 90%;
    padding: 5px;
    overflow-y: auto;
    max-height: 85%;
}

.window .xClose {
    position: absolute;
    top: 4px;
    right: 4px;
    border: 2px solid #666;
    border-radius: 10px;
    padding: 3px 4px;
    cursor: pointer;
    z-index: 3;
}

.window h3 {
    margin-bottom: 10px;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

input[readonly], input[disabled] {
    background-color: #e7e7e7;
    cursor: not-allowed;
}

#menu .version {
    position: absolute;
    bottom: 5px;
    background: transparent;
    cursor: default;
    font-weight: normal;
}

#menu .appName {
    position: absolute;
    bottom: 30px;
    background: transparent;
    cursor: default;
    font-weight: normal;
}

@media (min-width: 320px) and (max-width: 1024px) {
    #keyboardButton {
        display: inline;
        position: fixed;
        top: 6px;
        left: 10px;
        z-index: 6;
        width: 26px;
        cursor: pointer;
    }

    #gestion-bultos{
        margin-left: -2.5%;
    }
}



.select-order-no-stock{
    background-color: red;
    color: black;
}

.select-order-stock{
    background-color: green;
    color: black;
}
  
.chosen-container.chosen-container-single {
    width: 300px !important; /* or any value that fits your needs */
}

.orders-select{
    display: none;
}

#gestion-bultos{
    max-width: 800px;
    position: fixed;
    bottom: 0px;
    display: flex;
    flex-direction: row;
    width: 100%;
}

#gestion-bultos input[type="button"]{
    height: 60px;
}

/* Estilo para el botón con name="saveorder" */
#gestion-bultos input[type="button"][name="saveorder"] {
    width: 50%;
}

/* Estilo para el botón con name="finishorder" y name="closeorder"*/
#gestion-bultos input[type="button"][name="finishorder"], #gestion-bultos input[type="button"][name="closeorder"]{
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

/* Estilo para el botón con name="activarbultos" */
#gestion-bultos input[type="button"][name="activarbultos"] {
    width: 25%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.secondRow td > div {
    display: inline-block;
    width: 20%;
    text-align: center;
}

.secondRow td > div > span{
    display: flex;
    flex-direction: column;
}

.thirdRow td:first-child {
    text-align: center;
}

.fourthRow{
    text-align: center;
}

.fourthRow td input {
    width: auto;
    display: inline;
    margin: 0%;
}

/* Tamaño Pequeño */
.fourthRow td .small-input {
    width: 10% ;
    height: auto;
    font-size: large; /* Menor tamaño de fuente */
    font-weight: normal;
}

/* Tamaño Mediano */
.fourthRow td .medium-input {
    width: 18%;
    height: auto;
    font-size: x-large; /* Tamaño de fuente intermedio */
    font-weight: bold;
}

/* Tamaño Grande - Ya definido previamente */
.fourthRow td .large-input {
    width: 25%;
    height: auto;
    font-size: xx-large;
    font-weight: bolder;
}

/* Tamaño Pequeño para packageQuantity */
.fourthRow td .small-packageQuantity {
    width: 30%;
    height: auto;
    font-size: large; /* Menor tamaño de fuente */
    font-weight: normal;
    text-align: center;
}

/* Tamaño Mediano para packageQuantity */
.fourthRow td .medium-packageQuantity {
    width: 40%;
    height: auto;
    font-size: x-large; /* Tamaño de fuente intermedio */
    font-weight: bold;
    text-align: center;
}

/* Tamaño Grande para packageQuantity */
.fourthRow td .large-packageQuantity {
    width: 50%;
    height: auto;
    font-size: xx-large;
    font-weight: bolder;
    text-align: center;
}

#accordion .ui-accordion-content{
    overflow: visible;
}

#popup, #popupModifyPackage{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

input[type="text"][name="packageQuantity"] {
    pointer-events: auto; /* Permite click */
    -webkit-user-select: none; /* No se puede seleccionar texto */
    -moz-user-select: none;
    user-select: none;  
}

#popup input[type="button"][name="popupSave"], #popupModifyPackage input[type="button"][name="popupSavePackage"]{
    margin: 0px;
}

.loader {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
  }
  
.notTouch{
    pointer-events: none;
}

.popupDiv{
    display: flex;
    flex-direction: column;
    padding-bottom: 5px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}