/* 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;
  margin: 0 30%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  width: 40% !important; /* Could be more or less, depending on screen size */
  height: 70%;
  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 */
}

.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: 1% 35%; /* 15% from the top and centered */
  padding: 10px;
  border: 1px solid #888;
  width: 35%; /* Could be more or less, depending on screen size */
  height: 70%;
}

.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, .modal-reservar {
  background-color: #fefefe;
  margin: 5% 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: 60%;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 20px;
}

.modal-entregar-reserva {
  background-color: #fefefe;
  margin: 5% 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: 55%;
  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
{
  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
{
    #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} 

    @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: 99%; 
  font-family:Verdana, Arial, Helvetica, sans-serif; 
  font-size: 12px; 
  font-weight: normal; 
  border: #333333 2px solid; 
  background-color: #FAFAFA; 
  color: #000000; 
  display:none;
}


.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;
}

#print-wrapper {
  display: none;
}

.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 {
  position:absolute;
  background-color:white;
  height:100%;
  width:100%;
  z-index:100;
  display: flex;
  justify-content: center;
  padding-top: 150px;
}

.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;
}

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




.table-pedidos tr.selected td {
  background-color: #333;
  color: #fff;
}


.blink {
  animation: blinker 2.5s, shake 2.5s;
  animation-iteration-count: infinite;
}

@keyframes blinker {
  50% {
    color: yellow;
  }
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}