/**
Se utilizan imports para generar el fichero optimizado en el orden correcto
*/
@import url('bootstrap/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css');
@import url('datatables/dataTables.bootstrap.css');
@import url('datatables/colReorder.bootstrap.css');
@import url('datatables/fixedColumns.bootstrap.css');
@import url('datatables/responsive.bootstrap.css');
@import url('datatables/select.bootstrap.css');
@import url('sirem-ui.css');
@import url('draganddrop.css');

/**
* Se pone display block en ls labels de error para el caso en el que haya más de un error
*/
.has-error .control-label{
	display: block;
}



.tooltip-inner {
    max-width: max-content;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    background-color: #000;
    border-radius: 4px;
}

.tooltipe {
  position: relative;
  display: inline-block;
  
}

.tooltipe .tooltiptext {
  visibility: hidden;
  width: 500px;
  background-color: #afafaf;
  color: #333;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 2;
  /* top: 125%; */
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltipe .tooltiptext::after {
  content: "";
  position: absolute;
  /* top: 100%; */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltipe:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  
}


/**
* Se ponen en blanco y en negrita los elementos rojos que estan con un fondo azul
*/
.selected .red{
	font-weight: bold;
	color: white;
}

.loading{
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	opacity: 0.8;
	background: url('../img/page-loader.gif') 50% 50% no-repeat
		rgb(249, 249, 249);
}

/**
* Se cambia el icono de contracción/expansion de filas ('\f111' es un círculo que se usa como fondo)
*/
table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before{
	content: '\f111';
	font-family: FontAwesome;
	top: 11px;
	left: 4px;
	font-size: 1.8em;
	line-height: 0.75em;
	vertical-align: -15%;
	color: #337ab7;
	height: 0px;
	width: 0px;
	box-shadow: none;
	position: absolute;
	display: block;
	border: none;
}

/**
* Corrección de la posición anterior en caso de que el icono de expansión aparezca en una celda aparte (.hidden-lg)
*/
table.dataTable.dtr-inline.collapsed > tbody > tr > td.hidden-lg:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before{
	top: 12px;
	left: 8px;
}

/**
* Icono de expansión sobre el círculo anterior (\f065 es un '+')
*/
table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:after, table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:after{
	content: '\f065';
	font-family: FontAwesome;
	top: 16px;
	left: 9px;
	font-size: 1em;
	line-height: 0.75em;
	vertical-align: -15%;
	color: white;
	height: 0px;
	width: 0px;
	box-shadow: none;
	position: absolute;
	display: block;
	border: none;
}

/**
* Corrección de la posición anterior en caso de que el icono de expansión aparezca en una celda aparte (.hidden-lg)
*/
table.dataTable.dtr-inline.collapsed > tbody > tr > td.hidden-lg:first-child:after, table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:after{
	top: 16px;
	left: 13px;
}

/**
* Se oculta el icono que pone datatables en el detalle expandido
*/
table.dataTable.dtr-inline.collapsed > tbody > tr.child td:before{
	display: none;
}

/**
* Se oculta el icono que pone datatables en el detalle expandido
*/
table.dataTable.dtr-inline.collapsed > tbody > tr.child td:after{
	display: none;
}

/**
* Icono (círculo) en caso de que esté expandida la fila
*/
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:before{
	content: '\f111';
}

/**
* Icono (|f066 es un '-') en caso de que esté expandida la fila
*/
table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td:first-child:after, table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th:first-child:after{
	content: '\f066';
}

/**
* Si la fila esta seleccionada, se cambia el color del círculo a blanco (el fondo de la fila estará en azul)
*/
table.dataTable.dtr-inline.collapsed > tbody > tr.selected > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr.parent.selected > td:first-child:before{
	color: white;
}

/**
* Si la fila esta seleccionada, se cambia el color del icono a azul (el círculo de fondo estará en azul)
*/
table.dataTable.dtr-inline.collapsed > tbody > tr.selected > td:first-child:after, table.dataTable.dtr-inline.collapsed > tbody > tr.parent.selected > td:first-child:after{
	color: #337ab7;
}

/**
* Los productos no financiados se muestran en cursiva y en gris
*/
table tbody tr:not(.selected).productoNoFinanciado{
	background: repeating-linear-gradient(-45deg, #bfd5f0 0px, white 4px);
	background-attachment: fixed;
	font-style: italic;
}

table tbody tr.productoNoFinanciado.child:hover {
	background: repeating-linear-gradient(-45deg, #bfd5f0 0px, white 4px) !important;
	background-attachment: fixed !important;
}

/**
* El icono de ampliar detalle no se pone en cursiva
*/
table tr.productoNoFinanciado:not(.child) > td:first-child{
	font-style: normal;
}

i.productoNoFinanciado {
	background: repeating-linear-gradient(-45deg, #bfd5f0 0px, white 4px);
	color: transparent;
	border: 1px solid #bfd5f0;
	border-radius: 3px;
}

ul.legend{
	list-style-type: none;
}

ul.legend li{
	display: inline;
	white-space: nowrap;
}

ul.legend li:before{
	content: '|';
	margin: 1em;
}

ul.legend li:first-child:before{
	content: '';
}

.pagination{
	margin: 3px 0;
}

.em09{
	font-size: .9em;
}

i.info{
	color: #0070FF;
}



/*Table for Form Wizad and Confidential*/

#contenedor {
    display: table;
    border: 0px solid #000;
    width: 95%;
    text-align: center;
    margin: 0 auto;
}
#contenidos {
    display: table-row;
}
#columna1, #columna5 {
    display: table-cell;
    border: 0px solid #000;
    width: 11%;
    vertical-align: middle;
    padding: 10px;
}
#columna2, #columna3, #columna4 {
    display: table-cell;
    border: 0px solid #000;
    width: 60%;
    vertical-align: middle;
    padding: 10px;
}







.col-xs-3{width: 33%;}

/*Form Wizard*/
.bs-wizard {border-bottom: solid 1px #e0e0e0; padding: 0 0 10px 0;font-style: #337ab7}
.bs-wizard > .bs-wizard-step {padding: 0; position: relative;}
.bs-wizard > .bs-wizard-step + .bs-wizard-step {}
.bs-wizard > .bs-wizard-step .bs-wizard-stepnum {color: #595959; font-size: 16px; margin-bottom: 5px;}
.bs-wizard > .bs-wizard-step .bs-wizard-info {color: #999; font-size: 14px;}
.bs-wizard > .bs-wizard-step > .bs-wizard-dot {position: absolute; width: 30px; height: 30px; display: block; background: #99bbe8; top: 45px; left: 50%; margin-top: -15px; margin-left: -15px; border-radius: 50%;} 
.bs-wizard > .bs-wizard-step > .bs-wizard-dot:after {content: ' '; width: 14px; height: 14px; background: #337ab7; border-radius: 50px; position: absolute; top: 8px; left: 8px; } 
.bs-wizard > .bs-wizard-step > .progress {position: relative; border-radius: 0px; height: 8px; box-shadow: none; margin: 20px 0;}
.bs-wizard > .bs-wizard-step > .progress > .progress-bar {width:0px; box-shadow: none; background: #99bbe8;}
.bs-wizard > .bs-wizard-step.complete > .progress > .progress-bar {width:100%;}
.bs-wizard > .bs-wizard-step.active > .progress > .progress-bar {width:50%;}
.bs-wizard > .bs-wizard-step:first-child.active > .progress > .progress-bar {width:0%;}
.bs-wizard > .bs-wizard-step:last-child.active > .progress > .progress-bar {width: 100%;}
.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot {background-color: #f5f5f5;}
.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot:after {opacity: 0;}
.bs-wizard > .bs-wizard-step:first-child  > .progress {left: 50%; width: 50%;}
.bs-wizard > .bs-wizard-step:last-child  > .progress {width: 50%;}
.bs-wizard > .bs-wizard-step.disabled a.bs-wizard-dot{ pointer-events: none; }
/*END Form Wizard*/

