html, body {
    min-width: 1000px;
    height: 100%;
    margin: 0;
    padding: 0;
    line-height: 0.9;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 12px;
    color: rgba(0, 0, 0, 1);
    margin-bottom: 0px;
    margin-top: 0px;
}
input {
    autocomplete: off !important;
}
select {
    autocomplete: off !important;
}
H1{
    color:rgba(255, 153, 0, 1);
    font-size:24px;
    display: inline-block;
    margin-bottom: 0px;
    margin-top: 0px;
}
H2{
    color:rgba(0, 0, 0, 1);
    font-size:20px;
    display: inline-block;
    margin-bottom: 0px;
    margin-top: 0px;
}
H3{
    color:rgba(0, 0, 0, 1);
    font-size:16px;
    display: inline-block;
    margin-bottom: 0px;
    margin-top: 0px;
}
.head_container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding:5px;
    background-color: rgba(194, 194, 194, 0.5);
    border: 1px solid #ccc;
    position:relative; 
    top:0px;
    left:0px;
    flex-shrink: 0;
}
.pv_cliente{
    border: 1px solid #ccc;
    padding: 5px;
    display: inline-block;
    position:relative;
    top:0px;
    left:0px;
    height: 100%;
    max-height: none;
    width: 60%;
    margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 5px;
    box-shadow:3px;
    background-color: rgba(194, 194, 194, 0.5);
}
.pv_orden{
    border: 2px solid #ccc;
    display: inline-block;
    position:relative;
    top:0px;
    right:0px;
    padding: 5px;
    width: 38%;
    border-radius: 5px;
    background-color: rgba(185, 185, 185, 0.5);    
    height: 100%;
    max-height: none;
    margin-top: 0px;
    margin-bottom: 0px;
    box-shadow:3px;
}
.foot_container{
    height: 15%px; /* altura fija */
    flex-shrink: 0;
    gap: 10px;
    padding:5px 5px 25px 5px;
    display: block;
    align-items: flex-start;
    background-color: rgba(194, 194, 194, 0.5);
    border: 1px solid #ccc;
    height: 15%;
    max-height: 15%;
    clear: both;
}
.body_container{
    flex-direction: column;
    display: flex;
    flex: 1 1 auto; /* ocupa el espacio restante */
    overflow: auto;
    min-height: 0;
    gap: 10px;
    padding:5px;
    display: block;
    align-items: flex-start;
    padding:5px;
    background-color: rgba(194, 194, 194, 0.5);
    border: 1px solid #ccc;
    height: 60%;
    max-height: 60%;
}
select{
    font-size: 14px;
    padding: 0px 5px 0px 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    line-height: 0.7;
}
table{
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
    color:rgba(0, 0, 0, 1);
    font-size:16px;
    display: inline-block;
}
table input{
    width: 100%;
    max-width: 100%;
}
input[type="text"],
input[type="number"], input[type="date"] {
    padding: 0px 5px 0px 5px;
    border-radius: 5px;
    border: 1px solid #4d4d4d;
    
    line-height: 0.7;
    margin:0px;
    box-sizing: border-box; /* Para que el padding no sume al ancho */
}
.input1 {
    position:relative;
    float: right;
    top:0px;
    background-color: rgb(201, 201, 201);
    font-size: 24px;
    border: 1px solid #6e6e6e;
    line-height: 0.7;
    color:brown;
    width: 30%;
    max-width: 30%;
    height: 30px;
}

th{
    background-color: rgba(0, 0, 0, 0.1);
    padding: 2px;
    text-align: center;
    font-weight: bold;
}

a.boton {
    display: inline-block;
    padding: 4px 12px;
    background-color: #3ca3f8;
    color: #fff;
    border-radius: 5px;
    border: none;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    cursor: pointer;
    outline: none;
    line-height: 1;
    margin:2px 0px 2px 0px;
}

a.boton:hover {
    background-color: #5db5fd;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 8px rgba(0,0,0,0.18);
}

a.boton:active {
    background-color: #098ffc;
    transform: scale(0.97);
    box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
a.disabled {
    pointer-events: none;
    color: #ffffff;
    background-color: #a5b8f7;
    cursor: not-allowed;
    text-decoration: none;
    opacity: 0.9;
    display: inline-block;
    padding: 4px 15px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    outline: none;
}
.buscador{
    width: 100%;
    max-width: 100%;
    display:none;
}
.p_venta{
    width: 100%;
    max-width: 100%;
}
.total{
    position:relative;
    float: right;
    top:0px;
    background-color: rgb(77, 77, 77);
    padding:10px;
    border-radius: 5px;
    font-size: 24px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #4d4d4d;
    background-color: rgba(0, 0, 0, 0.0);
    line-height: 0.7;
    color:brown;
    width:150px;
    text-align:right;
}
table.tabla1{
	color:".$color[1][5].";
	width: 100%;
	border-collapse: collapse;
	border-color: ".$color[1][3].";
	opacity: 0.9;
}
.tabla1 tr:nth-of-type(even) { background:rgb(165, 165, 165);}
.tabla1 tr:hover { background:#5f5f5f;}
.tabla1 th { background:rgb(139, 139, 139);}
.tabla1 td, th {
  padding: 0px 2px 0px 2px;
  border: 1px solid #858484;
  text-align: left;
}
.tabla1 input[type="text"],
input[type="number"], input[type="date"] {
	width:calc(100% - 15px);
	display:inline-block;
}
.tabla1 tbody tr {
    transition: all 0.2s ease;
    cursor: pointer;
}

.tabla1 tbody tr:hover {
    background-color: #f8f9fa !important;
}

.tabla1 tbody tr.selected {
    background-color: #007bff !important;
    color: white !important;
}

.tabla1 tbody tr.hover-active {
    background-color: #505050 !important;
    color: white !important;
}
/* imagen como botton*/
.check{
	cursor:pointer;
	max-width:25px;
	max-height:25px;
}
.check#check{
	width:25px;
	height:15px;
}
.check#del{
	width:20px;
	height:20px;
}
.check#pdf{
	width:100px;
	height:23px;
}
.check#g_pdf{
	width:20px;
	height:20px;
}
.check#buscar{
	width:42px;
	height:25px;
}
.check:hover {
	position:float;
	filter: url('#grayscale');/* Versión SVG para IE10, Chrome 17, FF3.5, Safari 5.2 and Opera 11.6 */
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%);
	-o-filter: grayscale(100%);
	filter: grayscale(100%);/* Para cuando es estándar funcione en todos */
	filter: Gray();/* IE4-8 and 9 */
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
.tabla1 td {
  overflow-wrap: anywhere;
   word-break: break-word;;
}

.tabla1 .brk {
  overflow-wrap: anywhere;
   word-break: break-all;
}
a {
	cursor: pointer;
}

