/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* Ajusta la vista de las tablas */
table.gv-table-view {
    width: 100% !important;
}
.gv-table-view th {
	font-size: 14px;
}
.gv-table-view .id-th {
	width: 45px;
}
.gv-table-view .folio-th {
	width: 100px;
}
.gv-table-view .folioparnet-th {
	width: 120px;
}
.gv-table-view .wa-th {
	width: 45px;
}
.gv-table-view .bitacora-th {
	width: 64px;
}
.gv-table-view .copiar-th {
	width: 53px;
}
.gv-table-view .editar-th {
	width: 49px;
}
.gv-table-view .pdf-th {
	width: 38px;
}
.gv-table-view .estatus-th {
	width: 160px;
}
.gv-table-view .trabajo-th {
	width: 200px;
}
.gv-table-view .razonsocial-th {
	width: 100px;
}
.gv-table-view .agente-th {
	width: 95px;
}
.gv-table-view .cantidadsol-th {
	width: 88px;
}
.gv-table-view .preciouni-th {
	width: 80px;
}
.gv-table-view .preciounisiniva-th {
	width: 80px;
}
.gv-table-view .descuento-th {
	width: 98px;
}
.gv-table-view .basecm-th {
	width: 70px;
}
.gv-table-view .alturacm-th {
	width: 70px;
}
.gv-table-view .ultmov-th {
	width: 80px;
}
.gv-table-view .creada-th {
	width: 200px;
}
.gv-table-view .cotizacionao-th {
	width: 200px;
}
.gv-table-view .fechater-th {
	width: 95px;
}
.gv-table-view .falta-th {
	width: 95px;
}
.gv-table-view .contacto-th {
	width: 95px;
}
.gv-table-view .orden-th {
	width: 95px;
}
.gv-table-view .imagenplc-th {
	width: 95px;
}
.gv-table-view .incidencias-th {
	width: 105px;
}
.gv-table-view .sobrantes-th {
	width: 105px;
}
.gv-table-view .cansobrantes-th {
	width: 105px;
}




.gv-table-view td {
	font-size: 14px;
}

/* Coloca en el menu los CSS necesarios al numero de pendientes en cada producto */
.conpendientes {
	color: #ffffff;
	background-color: #B72538;
	padding: 1px 5px;
	border-radius: 5px;
	margin-left: 5px;
}
.sinpendientes {
	color: #ffffff;
	background-color: #356e35;
	padding: 1px 5px;
	border-radius: 5px;
	margin-left: 5px;
}

/* Aplica colores a los dias faltantes en las vistas de tablas*/
.revista_1, .revista_2, .cajas_1, .cajas_2 {
	font-size: 12px;
    background-color: #a52019;
    color: #FFFFFF;
	border-radius: 5px;
	padding: 5px 10px;
	white-space:nowrap;
}
.revista_3, .revista_4, .cajas_3, .cajas_4 {
	font-size: 12px;
    background-color: #e5be01;
    color: #FFFFFF;
	border-radius: 5px;
	padding: 5px 10px;
	white-space:nowrap;
}
.revista_5, .revista_6, .revista_7, .revista_8, .cajas_5, .cajas_6, .cajas_7, .cajas_8 {
	font-size: 12px;
    background-color: #317f43;
    color: #FFFFFF;
	border-radius: 5px;
	padding: 5px 10px;
	white-space:nowrap;
}

/* Aplica colores a los estatus segun flujo de trabajo */


.item1, .item2, .item3, .item4, .item5, .item6, .item7, .item8, .item9, .item10, .item11, .item12 { 
    font-size: 12px;
    color: white;
    border-radius: 25px;
    padding: 5px 10px;
    white-space: nowrap;
}
/* Coordinación de ventas */
.item1 { 
    background-color: #A90329;
}
/* Vendedor */
.item2 {
    background-color: #B72538;
}
/* Mesa de control */
.item3 {
    background-color: #C79121;
}
/* Analista de producción */
.item4 {
    background-color: #D1A640;
}
/* Diseño */
.item5 {
    background-color: #DDC15E;
}
/* Facilitador de material */
.item6 {
    background-color: #EAEF7B;
    color:black !important;
}
/* Operador de impresión */
.item7 {
    background-color: #F7FF98;
    color:black !important;
}
/* Supervisor de acabados */
.item8 {
    background-color: #356e35;
}
/* Almacenista */
.item9 {
    background-color: #57889C;
}
/*  */
.item10 {
    background-color: #57889C;
}
/*  */
.item11 {
    background-color: #57889C;
}
/* */
.item12 {
    background-color: #57889C;
}


/* Aplica CSS en la seccion de Planeación de producción a los inputs */
.pdpcantidadds label, .pdpseccion label, .pdpmymdpe label, .pdpcantidad label, .pdpprecio label, .pdpmdpai label, .pdpcr label, .pdpmerma label, .pdptotal label, .pdpsdp label {
	font-size: 14px !important;
}
.pdpmymdpe {
	grid-column: span 5 !important;
}
.pdpcantidad, .pdpprecio {
	grid-column: span 2 !important;
}

.articulo1, .articulo2 {
	grid-column: span 5 !important;
}
.cantidad1, .precio1, .cantidad2, .precio2, .cantidad3, .precio3 {
	grid-column: span 2 !important;
}

.ocultar {
	display: none !important;
}

/* Respaldoa Antonio por favor no borrar

[gvlogic  if="{current_step:name}" is="Coordinación de ventas"]
<span class="item1">{current_step:name}</span>
[else if="{current_step:name}" is="Vendedor"]
<span class="item2">{current_step:name}</span> 
[else if="{current_step:name}" is="Mesa de Control"]
<span class="item3">{current_step:name}</span>
[else if="{current_step:name}" is="Analista de producción"]
<span class="item4">{current_step:name}</span>
[else if="{current_step:name}" is="Diseño"]
<span class="item5">{current_step:name}</span>    
[else if="{current_step:name}" is="Facilitador de material"]
<span class="item6">{current_step:name}</span>
[else if="{current_step:name}" is="Operador de impresión"]
<span class="item7">{current_step:name}</span>
[else if="{current_step:name}" is="Supervisor de acabados"]
<span class="item8">{current_step:name}</span>
[else if="{current_step:name}" is="Almacenista"]
<span class="item9">{current_step:name}</span>
[else]
<span class="item10">Terminación</span>
[/gvlogic]

[gvlogic  if="{current_step:name}" is="Coordinación ventas"]
<span class="item3">{current_step:name}</span>
[else if="{current_step:name}" is="Vendedor"]
<span class="item4">{current_step:name}</span> 
[else if="{current_step:name}" is="Mesa de Control"]
<span class="item5">{current_step:name}</span>    
[else if="{current_step:name}" is="Diseño"]
<span class="item6">{current_step:name}</span>
[else if="{current_step:name}" is="Producción"]
<span class="item7">{current_step:name}</span>
[else if="{current_step:name}" is="Plane. de prod."]
<span class="item14">{current_step:name}</span>
[else if="{current_step:name}" is="Rechazo diseño Coord."]
<span class="item4">{current_step:name}</span>
[else]
<span class="item8">Completado</span>
[/gvlogic]

.item3 {
	font-size: 12px;
	    background-color: #A90329 !important; 
    color: white;
		border-radius: 25px;
padding: 5px 8px;
	white-space:nowrap;
}
.item4 {
	font-size: 12px;
    background-color: #A65858 !important;
    color: white;
		border-radius: 25px;
	padding: 5px 38px;
	white-space:nowrap;
}
.item5 {
	font-size: 12px;
    background-color: #C79121 !important; 
    color: white;
		border-radius: 25px;
padding: 5px 21px;
	white-space:nowrap;
}
.item6 {
	font-size: 12px;
	width: 70px !important;
    background-color: #B09B5B !important;
    color: white;
	border-radius: 25px;
padding: 5px 42px;
	white-space:nowrap;
}
.item7 {
	font-size: 12px;
	width: 70px !important;
    background-color: #356E35 !important;
    color: white;
		border-radius: 25px;
padding: 5px 31px;
	white-space:nowrap;
}
.item8 {
	font-size: 12px;	
    background-color: #ABEC27 !important;
    color: white;
		border-radius: 25px;
	padding: 5px 29px;
	white-space:nowrap;
}

.item9 {
	font-size: 12px;
    background-color: #EEEE22 !important;
    color: white;
		border-radius: 25px;
	padding: 5px 27px;
	white-space:nowrap;
}
.item10 {
	font-size: 12px;
    background-color: #57889C !important;
    color: white;
		border-radius: 25px;
	padding: 5px 48px;
	white-space:nowrap;
}
.item12 {
	font-size: 12px;
    background-color: red !important;
    color: white;
		border-radius: 25px;
	padding: 5px 10px;
	white-space:nowrap;
}
.item13 {
	font-size: 12px;
    background-color: green !important;
    color: white;
		border-radius: 25px;
	padding: 5px 17px;
	white-space:nowrap;
}



.item14 {
	font-size: 12px;
    background-color: #eeee22 !important;
    color: #000000;
		border-radius: 25px;
	padding: 5px 26px;
	white-space:nowrap;
}

.item15 {
	font-size: 12px;
    background-color: #000000; !important;
    color: #FFFFFF;
		border-radius: 25px;
	padding: 5px 42px;
	white-space:nowrap;
}
.item16 {
	font-size: 12px;
    background-color: #57889C; !important;
    color: #FFFFFF;
		border-radius: 25px;
	padding: 5px 48px;
	white-space:nowrap;
}
.item17 {
	font-size: 12px;
    background-color: #000000; !important;
    color: #FFFFFF;
		border-radius: 25px;
	padding: 5px 43px;
	white-space:nowrap;
}

*/