﻿*, html {
    line-height: 1;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-width: 960px;
    font-family: Segoe UI Historic, Segoe UI, Helvetica, Arial, sans-serif;
    font-size: 10pt;
    background-color: #F3F3F4;
}

hr {
    /*color: lightgray;*/ /* IE */
    /*background-color: lightgray;*/
    border: none;
    border-top: 1px solid lightgray;
}

table {
    border-collapse: collapse;
    border-width: 0;
}
td, th {
    border-width: 0;
    padding: 0;
}

/*Fix IE10, IE11: Eliminamos el css de los campos que tiene por defecto IE cuando recibe el foco
Lo usamos para eliminar el icono de la "X" que aparece por defecto. */
input[type=text]::-ms-clear {
    display: none;
}

input  {
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	-o-border-radius: 0px;
	border-radius: 0px;
	outline: 0;
	-moz-appearance: none;
	-webkit-appearance: none;
	-o-appearance: none;
}

input[type=text] {
	-ms-user-select: element;
	-webkit-user-select:  auto;
	-moz-user-select: element;
	-o-user-select: element;
	user-select: element;
	border: 1px solid #808080;
	-ms-background-clip: padding-box;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	-o-background-clip: padding-box;
	background-clip: padding-box;  
	min-height: 25px; /*28*/
	/*min-width: 64px;*/
	margin: 4px 0;

	/*font-size: 11pt;*/
	font-weight: 400;
	line-height: 1.8em; /*1.3636*/ /* 20px when font-size is 11pt */
}

input[type=text] {
    width: 150px;
    padding: 0 4px;
}

input:focus {
	-webkit-box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.75);
	-o-box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.75);
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	-o-border-radius: 0px;
	border-radius: 0px;
	border-color: #000; /* sobre todo para IE8 que no soporta shadow */
	border-collapse: separate; /* Necesario para IE si el contenedor tiene establecido border-collapse: collapse*/
}

input[type="submit"], input[type="button"], .dl-btn {
    padding: 8px 15px;
    border: 1px solid #808080;
    color: #333333;
    cursor: pointer;
    background-color: #DDDDDD;
}

input[type="submit"]:hover, input[type="button"]:hover, .dl-btn:hover {
    background-color: #F0F0F0; /*Navegadores antiguos*/     
    background-image: linear-gradient(#F0F0F0, #DDDDDD);
}

input[type="submit"][disabled], input[type="button"][disabled], .dl-btn[disabled] {
    background-color: #f5f5f5;
    color: #999999;
}

input[type="submit"][disabled]:hover, input[type="button"][disabled]:hover, .dl-btn[disabled]:hover {
    background-image: none;
}

input[type="submit"]:focus, input[type="button"]:focus, .dl-btn:focus {
    border-color: #000; /* sobre todo para IE8 que no soporta shadow */
}

input[type="text"][disabled], input[type="text"][readonly] {
    background-color: #f5f5f5;
    color: #999999;
    /*-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -moz-user-input: disabled;
    -ms-user-select: none;
    cursor: not-allowed;*/
}
	
input[type=text], select, textarea  {
  line-height: 1.5 !important;
  color: #495057 !important;
  background-clip: padding-box !important;
  font-weight: 400 !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.375rem !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

input[type=text]:focus, select:focus, textarea:focus {
  color: #495057 !important;
  background-color: #fff !important;
  border-color: #80bdff !important;
  outline: 0 !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

input[type=text]:disabled, select:disabled, textarea:disabled {
  background-color: #e9ecef;
  opacity: 1;
}

.MainContentWrapper {
	/*border: 1px solid #DDDDDD;
	box-shadow: 2px 2px 5px 1px #c2c2c2;*/
	background-color: #FFFFFF;
	text-align: left;
	margin: 15px auto;
	padding: 10px;
	overflow: auto;
	width: 980px;
    margin-top: 140px;
}

/*************************************************
    Cabecera (contenedor Logo) y footer
*************************************************/
#masterHeader {
    margin: 0 auto;
    width: 100%;
	margin-top: 5px;
	margin-bottom: 15px;
    display: flex;
}

#masterCompanyLogo {
    background: url('images/logo.png') no-repeat;
    width: 173px;
    height: 120px;

    display: block;
    position: relative;
    padding-right: 10px;
    margin-left: 10px;
}

#masterCompany {
	width: 70%;
    font-size: 250%;
	font-weight: bold;
    /*padding-left: 25px;*/
    padding-left: 20px;
    /*test*/
    /*border: 2px solid brown;*/
	/*text-align: right;*/
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333333;
}

#masterCompany:before {
    /*content: "Direcline software";*/
    content: none;
}

.footer
{
	background: #2b5471;
	text-align: center;
	padding: 5px 0px 5px 0px;
}

.versionNumber
{
    width: 980px;
    margin: 15px auto;
    display: block;
    font-size: 80%;
    color: Black;  
    text-align: right;  
}

/*************************************************
    Cajas de secciones (Cuerpo)
*************************************************/
.section {
    display: block;
    height: auto;
    background-color: #FFFFFF;
    padding: .25rem;
}

.sectionHeader {
    /*border: 1px solid #c2c2c2;*/ /* (1) */
    display: block;
    padding: 5px;
    height: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid #dee2e6; /* (1) */
}

.sectionHeaderTitle {
    padding: 5px;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
	/* aki */
	/*float: left;*/
	display: inline-block;
}

.sectionContent {
    clear: both;
    display: block;
    padding: 10px;
    padding-right: 2rem;
    padding-left: 2rem;
    /*border: 1px solid lightgray;
    border-top: none;*/ /*  (1) */
}

.sectionGrid {
	overflow-x: auto;
	height: 100%; /* IE9 hack: al pasar por encima de la grid el div contenedor se expandia hacia abajo. Forzamos una altura para evitar esto */
    width: 98%;
    margin: 10px auto !important;
    border: 1px solid #dee2e6 !important;
    padding: 0;
}

/**********************************************************************************************
	Estilo de la ayuda
**********************************************************************************************/
/*aki*/
.helpInfoContainer 
{
    border-bottom: 1px solid #969696;
    margin-bottom: 15px;
    padding-bottom: 5px;   
    width: 100%; 
}
.helpInfo
{
    margin-left: 3px;   
    font-weight: bold;
}

/**********************************************************************************************
	Estilo de la búsqueda
**********************************************************************************************/
#tblSearchFields td {
    padding-left: 10px;
}

/**********************************************************************************************
	Estilo de la tabla de Imagenes
**********************************************************************************************/
#tblImagenes img
{
	border: 1px solid lightgray;
}

/**********************************************************************************************
	Estilos generales de grids
**********************************************************************************************/
.grid {
    margin: 10px 0px 10px 0px;
    width: 100%;
}
.grid th {
    padding: 5px;
    cursor: default;
    text-align: center;
     border-bottom: 3px solid #e3e6f0;
}

.grid td, .gridItem {
    padding: 5px;
	text-align: center;
    border-bottom: 1px solid #c2c2c2;
}


/**********************************************************************************************
	Estilos para errores e info
**********************************************************************************************/
.errorContainer
{
    background-color: #FFFFFF;
    border: 2px solid #FF0000;
    padding: 10px;
    margin-bottom: 10px;
}

.infoContainer
{
    background-color: #FFFFFF;
    padding: 10px;
}

/*************************************************
    Panel modal de progreso
*************************************************/
.modal {
	cursor: wait;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    min-height: 100%;
    width: 100%;
	/* Usamos el mismo background y opacity que ui-widget-overlay */
    background-color: #aaaaaa; /* black */
    filter: alpha(opacity=30);
	-webkit-opacity: 0.3;
    -moz-opacity: 0.3;
	-o-opacity: 0.3;
	opacity: 0.3;
}
.loading {
	cursor: wait;
    /*font-family: Arial;*/
    /*font-size: 10pt;*/
    border: 2px solid lightgray;
    width: 270px;
    height: 100px;
    display: none;
    position: fixed;
    background-color: #FFF;
    z-index: 100;
    text-align: center;
}

/**********************************************************************************************
	Estilo de la tabla de datos del envio
**********************************************************************************************/
.maxWidth {
    width: 100%;
}

.centered {
	text-align: center;
}

/*************************************************
/* Componente tabla Imagenes de albaran digitalizado
**************************************************/
.celdaImagenes {
	padding-top: 10px;
    padding-bottom: 10px;
}

.gMapsIcon {
	background: url('images/google-maps_16x16.png') no-repeat;
	width: 16px;
	height: 16px;
	display: inline-block; 
	position: relative;
	top: 0px;
	left: 4px;
    vertical-align: top;
}

/**********************************************************************************************
	Estilo seccion datos resumidos del envio con iconos de font awesome
**********************************************************************************************/
.tblDatosResumidos {
    width: 100%;
}
.tblDatosResumidos > tbody > tr > td:first-child {
    width: 15%;        
}
/*.tblDatosResumidos > tbody > tr > td:last-child {
    width: 15%;        
}*/
/* Fila de estado actual */
div.iconoEstadoActual p{
    margin: 0;
    display: inline-block;
    font-size: 20px;
}
div.iconoEstadoActual p i {
    padding: 0px 20px 0 20px;
    font-size: 5rem;
}

.tblDatosResumidosEnvio {
    width: 80%;
}

.tblDatosResumidosEnvio > tbody > tr > td:first-child {
    width: 30%;
    font-weight: bold;    
}

.tblDatosResumidosEnvio td {
    padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 10px;	
	padding-right: 10px;    
    vertical-align: top;
}

/* Fila de las trazabilidades de estado con iconos Expedicion/Orden servicio */
div.iconosSeguimiento p {
    margin: 0;
    display: inline-block;
    font-size: 20px;
    border: 3px solid #a3a3a3;    
    border-left: none;
    border-right: none;
    padding-top: 20px;
    padding-bottom: 10px; /* Deberian estar top y bottom iguales pero el efecto optico hace que parezca que abajo hay mas padding */
}

div.iconosSeguimiento p:first-child {
    border-left: 3px solid #a3a3a3;    
}

div.iconosSeguimiento p:last-child {
    border-right: 3px solid #a3a3a3;    
}

div.iconosSeguimiento p i {
    font-size: 4rem;
    width: 100%;
    text-align: center;
}

div.iconosSeguimiento p span {
    color: black;
    padding-top: 5px;
    display: block;
    text-align: center;
}

div.iconosSeguimiento {
    display: flex; /* 20250318-01. Esto se hace para que la altura sea automatica */
}

div.iconosSeguimiento p {
	flex: 1; /* 20250318-01. Esto se hace para que la anchura sea automatica para cada icono + texto */
}

.iconoPorTrazar {
    color: #a3a3a3;
}

.iconoTrazado {
    color: black;
    background-color: #a3a3a3;
}

p.iconos {
    float: left;
}

/**********************************************************************************************
	Grid Trazabilidad
**********************************************************************************************/
#gvTrazabilidad td {
    width: 50%;
}

/**********************************************************************************************
	Estilo de la tabla de datos del envio
**********************************************************************************************/
#tblDatosEnvio {
    width: 100%;
}

#tblDatosEnvio > tbody > tr > td:first-child, 
#tblDatosEnvio > tbody > tr > td:last-child {
    width: 50%;
}

.tblDatosEnvio {
    width: 100%;
}

.tblDatosEnvio > tbody > tr > td:first-child {
    width: 45%;
    font-weight: bold;    
}

.tblDatosEnvio td {
    padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 10px;	
	padding-right: 10px;
    vertical-align: top;
}

.tblDatosEnvio td.noborder {
    border-bottom: 0;
}

.alineaTop {
    vertical-align: top;
}

.bordeDer {
    border-right: 1px solid lightgray;
}

/**********************************************************************************************
	Estilo de la tabla de datos del envio
**********************************************************************************************/
.noPadding {
	padding: 0;
}
.noMargin {
	margin: 0;
}
/*Botones estilo nuevo*/
.btn {
    font-size: 100% !important;
    line-height: 1.5 !important;
    border-width: 1px !important;
    border-color: transparent !important;
    border-radius: .375rem;
    text-decoration: none;
}
.btn {
    padding: 6.7px 10px !important;
    display: inline-flex;
    align-items: center;
    margin-bottom: 5px;
}
/*Botones estilo WebLink*/
.btn-primary {
    background-color: #1c84c6 !important;
    border-color: #1c84c6 !important;
    color: #fff !important;
}
.btn-primary:hover {
    background-color: #1a7bb9 !important;
    border-color: #1a7bb9 !important;
    background-image: none !important;
}
.btn-primary:focus {
    color: #fff !important;
    background: #0a58ca !important;
    border-color: #0a53be !important;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
    border-radius: .375rem !important;
}
/* Estilo para Button deshabilitado */
a.aspNetDisabled.btn-primary {
    background-color: #5fa2ce;
    border-color: #5fa2ce;
}
a.aspNetDisabled.btn {
    color: rgba(0,0,0,.15) !important;
    cursor: default;
    pointer-events: none;
}

.masterHeaderContainer {
    padding-top: 5px;
    padding-bottom: 0px;
    background-color: #FFFFFF;
    border-bottom: 1px solid #e1e1e1;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1;
    box-shadow: 0 2px 20px rgba(1, 41, 112, .1);
}