/* Bootstrap 3.3.7 */
@import url('bootstrap.min.css');
/* SweetAlert2 */
@import url('sweetalert2.css');
/* Font Awesome 4.7.0 */
@import url('font-awesome.min.css');
/* AdminLTE */
@import url('AdminLTE.css');


html, body{
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	font-size: 16px;
	position: relative;
	background-color: #ecf0f5;
}

a {
  text-decoration: none !important;
}
/*=== Login ===*/
/*=== Barra navegacion ===*/
.navbar{
	background-color: #1B1B1B;
	height: 52px;
}

.titulo-seccion {
	font-size:22px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 0 20%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  width: 60% !important; /* Could be more or less, depending on screen size */
  height: 99%;
  overflow-y: auto;
}

.modal-add-to-pedido {
  background-color: #fefefe;
  margin: 0 10%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  width: 80% !important; /* Could be more or less, depending on screen size */
  height: 99%;
  overflow-y: auto;
}

.modal-add-cotizacion {
  background-color: #fefefe;
  padding: 10px;
  border: 1px solid #888;
  min-width: 60vw !important; /* Could be more or less, depending on screen size */
  height: 90vh;
  overflow: auto;
  position: fixed; /* Posición fija para centrar en la pantalla */
  top: 50%; /* Lo mueve al 50% del viewport */
  left: 50%; /* Lo mueve al 50% del viewport */
  transform: translate(-50%, -50%); /* Centra exactamente en el medio */
}

.modal-vistaprevia {
  background-color: #fefefe;
  margin: 0 10%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  width: 80% !important; /* Could be more or less, depending on screen size */
  height: 99%;
  overflow-y: auto;
}

/* Modal Content/Box */
.modal-content2 {
  background-color: #fefefe;
  margin: 1% 15%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  overflow-y: auto;
  width: 70%; /* Could be more or less, depending on screen size */
  height: 96%;
}

.modal-usuarios {
  background-color: #fefefe;
  margin: 0% 40%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  overflow-y: scroll;
  width: 30%; /* Could be more or less, depending on screen size */
  height: 99%;
}

.modal-content3 {
  background-color: #fefefe;
  margin: 1% 30%; /* 15% from the top and centered */
  /*overflow-y: auto;*/
  padding: 10px;
  border: 1px solid #888;
  width: 40%; /* Could be more or less, depending on screen size */
  height: 70%;
}

.modal-asignar-mesadas {
  background-color: #fefefe;
  margin: 1% 30%; /* 15% from the top and centered */
  /*overflow-y: auto;*/
  padding: 10px;
  border: 1px solid #888;
  width: 40%; /* Could be more or less, depending on screen size */
}

.dropdown-menu li a {
  white-space: normal !important; /* Permite que el texto se ajuste */
  word-wrap: break-word; /* Rompe palabras largas */
}

.modal-control {
  background-color: #fefefe;
  margin: 5% 1%; /* 15% from the top and centered */
  /*overflow-y: auto;*/
  padding: 10px;
  border: 1px solid #888;
  width: 98%;
  height:80% !important; /* Could be more or less, depending on screen size */
}


.modal-tipo {
  background-color: #fefefe;
  margin: 1% 30%; /* 15% from the top and centered */
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #888;
  width: 40%; /* Could be more or less, depending on screen size */
  height: 97%;

}



.modal-content4 {
  background-color: #fefefe;
  margin: 1% 38%; /* 15% from the top and centered */
  /*overflow-y: auto;*/
  padding: 10px;
  border: 1px solid #888;
  width: 40%; /* Could be more or less, depending on screen size */
  height: 50%;
}

.modalpago-content {
  background-color: #fefefe;
  margin: 0% 28%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  width: 45%; /* Could be more or less, depending on screen size */
  border-radius: 10px;
}

.modal-verpagos {
  background-color: #fefefe;
  margin: 1% 22%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  width: 60%; /* Could be more or less, depending on screen size */
  height: 90%;
}



.modal-content-verpedido {
  background-color: #fefefe;
  margin: 0 5%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  overflow-y: auto;
  width: 90%; /* Could be more or less, depending on screen size */
  height: 99%;
}

.modal-content-mesadas {
  background-color: #fefefe;
  margin: 0 0; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  overflow-y: auto;
  width: 100%; /* Could be more or less, depending on screen size */
  height: 100%;
}



.modal-content-gettotales {
  background-color: #fefefe;
  margin: 0 auto; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  overflow-y: auto;
  width: 40%; /* Could be more or less, depending on screen size */
  height: 90%;
}


.modal-devolver-mesadas {
  background-color: #fefefe;
  margin: 0 auto; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  overflow-y: auto;
  width: 50%; /* Could be more or less, depending on screen size */
  height: 99%;
}


.modal-content-adminpedido {
  background-color: #fefefe;
  margin: 10% 28%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  width: 45%; /* Could be more or less, depending on screen size */
  height: 40%;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 20px;
}

.modal-upload-caf {
  background-color: #fefefe;
  margin: 10% 25%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  width: 50%; /* Could be more or less, depending on screen size */
  height: 60%;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 20px;
}

.modal-upload-logo {
  background-color: #fefefe;
  margin: 3% 25%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  width: 50%; /* Could be more or less, depending on screen size */
  height: 80%;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 20px;
}

.modal-content-adminpedido2 {
  background-color: #fefefe;
  margin: 10% 32%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  width: 35%; /* Could be more or less, depending on screen size */
  height: 40%;
  border-radius: 1.0rem;
}

.modal-print {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(120,120,120); /* Fallback color */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#btn_nuevocliente {
  text-align:center;
  cursor: pointer;
  border-radius: 10px;
  background: #5bc1de;
  color:white;
  width: 140px;
  height: 33px; 

}


.modal-finpedido {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1rem 1.5rem;
    width: 24rem;
    border-radius: 0.5rem;
}
.close-button {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25rem;
    background-color: lightgray;
}
.close-button:hover {
    background-color: darkgray;
}
.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}


input[type=checkbox] {
    transform: scale(1.5);
}


/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
  margin-bottom: 10px;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 8px;
  transition: 0.3s;
  border-right: 1px solid #ddddddad;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
  font-weight: bold;
}

/* Style the tab content */
.tabcontent {
  display: none;
  border-top: none;
}


.modal-contentcambio {
  background-color: #fefefe;
  margin: 1% 20%; /* 15% from the top and centered */
  /*overflow-y: auto;*/
  padding: 10px;
  border: 1px solid #888;
  width: 60%; /* Could be more or less, depending on screen size */
  height: 70%;
  overflow-y: scroll;
  overflow-x: hidden;
}

.modal input{
  text-transform: uppercase !important;
}

@media (max-width: 992px) {

.modal-content,.modal-content2, .modal-usuarios, .modal-contentcambio, .modal-finpedido,
.modal-print, .modal-add-to-pedido, .modalpago-content, .modal-content4, .modal-content3, .modal-content-verpedido,.modal-content-adminpedido,.modal-add-cotizacion,.modal-vistaprevia, .modal-upload-caf, .modal-upload-logo
{
  margin: 0 0 !important; 
  width: 100% !important; 
  height: 100% !important;
  overflow-y: auto !important;
}


/* 
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/



}

.select-editable { position:relative; background-color:#F2F2F2; width:70px; height:18px; }
.select-editable select { position:absolute; background-color:#F2F2F2; top:0px; left:0px; font-size:14px; width:250px; margin:0; border:none;height:2.69em; }
.select-editable input { position:absolute; background-color:#F2F2F2;top:0px; left:0px; width:90px; padding:1px; border:none; text-align: center; font-weight: bold; }
.select-editable select:focus, .select-editable input:focus { outline:none; }
.option {
  text-align: right !important;
}

#searchclear {
    position: absolute;
    right: 5px;
    top: 0;
    bottom: 0;
    height: 20px;
    margin: auto;
    font-size: 20px;
    cursor: pointer;
    color: #ccc;
}

.tabladatos th:nth-child(3) {
  width: 30%;
  max-width: 30%;
  word-break: break-word;
  white-space: pre-line;
}

.tabladatos td:nth-child(3) {
  width: 30%;
  max-width: 30%;
  word-break: break-word;
  white-space: pre-line;
}

.celdaproducto { 
  padding: 5px;
  text-align: center;
  font-size: 1.8em;
}


.tabletotal td { 
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
}

.cell-normal {
  font-size: 1.2em;
}

@media print
{
  .table-borderless{
    border: solid white !important;
    border-width: 1px 0 0 1px !important;
    border-bottom-style: none;
  }
  .table-borderless th, .table-borderless td {
    border: solid white !important;
    border-width: 0 1px 1px 0 !important;
    border-bottom-style: none;
  }

    #miVentana { border: none !important; outline: 0} 
    #VentanaRemito { border: none !important; outline: 0} 
    #mi-ventana { border: none !important; outline: 0} 
    #ventana-remito { border: none !important; outline: 0} 
    .print-orden-envio { border: none !important; outline: 0} 
    
    @page{
      size:auto; 
      margin-top:5mm;
      margin-bottom:0mm;
      margin-left: 5mm;
      margin-right: 5mm;
    }
}

.container-remito {
    display: flex;
}

.celdaobs {
  padding-top: 3px;
  padding-bottom: 3px; 
  padding-left: 5px;
}

/* PERSONALIZADO POR ALAN */

.cantidadbox {
  font-size: 1.1em !important;
}

.btn-modal-bottom{
  font-size: 2em !important;
}


.btn-modal-top{
  font-size: 1.6em !important;
}


.cajita {
  border-radius:8px; 
  border:1px solid #00000033;
  text-align:center;
}

#miVentana {
  height: 100%;
  padding:5px; 
  width: 100%; 
  font-family:Verdana, Arial, Helvetica, sans-serif; 
  font-size: 12px !important; 
  font-weight: normal; 
  background-color: #ffffff; 
  color: #000000; 
  display:none;
}

#miVentana h6 {
  font-size: 13px !important;
}

.info-plantinera {
  font-size: 10px !important;
  line-height: 2px;
}

.band-288 {
  color: red !important;
}

.band-200 {
  color: blue !important;
}

.band-162 {
  color:  #fd20eb !important;
}

.band-128 {
  color: #0eb9b3 !important;
}

.band-72 {
  color: #7401DF !important;
}

.band-50 {
  color: #18771d !important;
}

.band-25 {
  color: #424242 !important; 
}

.band-49{
  color: #04B45F !important;
}

.logo-print img {
  max-width: 160px !important;
}

.header-subtitle {
  font-size:14px;font-weight:normal !important;
}

#ctxmenu {
  position: fixed;
  background:ghostwhite;
  color: black;
  cursor: pointer;
  border: 1px black solid;
  z-index: 99999;
}

#ctxmenu > p {
  padding: 0 1rem;
  margin: 0
}

#ctxmenu > p:hover {
  background: black;
  color: ghostwhite
}

.mesabox {
  border: 1px solid #00000033;
  cursor: pointer;
  border-radius: 5px;
}

.active2 { border:5px solid #F00 ; }

input[readonly] {
  background-color: white !important;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
.loader {            
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid #0069d915;
  border-right: 1.1em solid #0069d915;
  border-bottom: 1.1em solid #0069d915;
  border-left: 1.1em solid #0069d9;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
#loadingDiv {
  z-index: 10000;
}

@-webkit-keyframes fadeIn {
  from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
    to { opacity: 1; }
}


@keyframes blink { 50% { border-color:#fff ; }  }

@keyframes spinner-border {
  to { transform: rotate(360deg); }
} 

.loading-wrapper {
  display:none;
  background-color:white;
  height:500vh;
  width:100%;
  z-index:100;
  justify-content: center;
  padding-top: 150px;
}

.loading-wrapper2 {
  display:flex;
  background-color:white;
  height:100%;
  width:100%;
  z-index:100;
  justify-content: center;
  padding-top: 10px;
}

.loading-integracion {
  display:block;
  background-color:#ecf0f5;
  height:100vh;
  width:100vw;
  z-index:1000;
  justify-content: center;
  padding-top: 10px;
  
}

.loader-anular {
  display: none;
  background-color:white;
  height:100%;
  width:100%;
  z-index:10000;
  justify-content: center;
  padding-top: 10px;
}

.loading-indicator {
  display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-center;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;width: 1rem;
    height: 1rem;
    border-width: .2em;
}

.calendar-month-wrapper{
  width:100%;
  min-height:400px;
  background:rgb(230, 244, 248);
  border-radius: 20px;
  border: 1px solid #d4e6f1da;
  margin-bottom: 20px;
  display: flex;
  flex: 1 1 auto;            /*  changed, flex row item need the grow value
                                          to be 1 to fill its parent's width  */
  flex-direction: column;
}
.enero,.febrero,.marzo,.abril,.mayo,.junio,.julio,.agosto,.septiembre,.octubre,.noviembre,.diciembre{
  display:flex;
  flex: 1 1 auto;
  padding: 10px;
  justify-content: center;
  align-items: center;
}

.calendar-month-label {
  background: #d4e6f1;
  border-top-left-radius: 20px; 
  border-top-right-radius: 20px;
}

.alert {
  font-size: 18px !important;
  font-weight: bold;
  cursor: pointer;
}


.column {
  float: left;
  width: 25%;
  padding-left: 10px;
  padding-right: 10px;
}

.tricolumn {
  float: left;
  width: 40%;
  padding-left: 5px !important;
  padding-right: 5px;
  
}


/* Clear floats after the columns */
.customrow:after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 600px) {
  .column {
    width: 50%;
  }

  .customrow{
    padding-left: 10px !important;
  }
}

.drop-zone {
  max-width: 200px;
  height: 200px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
  font-size: 20px;
  cursor: pointer;
  color: #cccccc;
  border: 4px dashed #009578;
  border-radius: 10px;
}

.drop-zone--over {
  border-style: solid;
}

.drop-zone__input {
  display: none !important;
}

.drop-zone__thumb {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background-color: #cccccc;
  background-size: cover;
  position: relative;
}

.drop-zone__thumb::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px 0;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.75);
  font-size: 14px;
  text-align: center;
}


table.tableizer-table {
  font-size: 12px;
  border: 2px solid #000; 
  font-family: Arial, Helvetica, sans-serif;
} 
.tableizer-table td {
  padding: 4px;
  margin: 3px;
  border: 0;
}
.tableizer-table th {
  color: #FFF;
  font-weight: bold;
}

table.tableizer2-table {
  font-size: 12px;
  border: 2px solid #000; 
  font-family: Arial, Helvetica, sans-serif;

} 
.tableizer2-table td {
  padding: 4px;
  margin: 3px;
  border: 1px solid black;
}
.tableizer2-table th {
  color: #FFF;
  font-weight: bold;
}



.theader {
  background-color: #A4A4A4;
  color: #000;
}


.check-mini
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  padding: 10px;
}




table.tableizer-table-transito {
  font-size: 12px;
  border: 2px solid #000; 
  font-family: Arial, Helvetica, sans-serif;
} 
.tableizer-table-transito td {
  padding: 4px;
  margin: 3px;
  border: 1px solid black !important;
}
.tableizer-table-transito th {
  color: #FFF;
  font-weight: bold;
}

.input-small{
  font-size: 10px !important;
  display: inline-block;
  max-width:120px;margin-left:5px;
}

.input-small2{
  font-size: 10px !important;

}

