#factura_formulario_lineas_modal .row {
  margin-top: 5px;
}
.form-control.error {
  border-color: red;
}
.edit-linea {
  cursor: pointer;
}
#listadoFacturas{
	position: relative;
	height: 100%;
}
#listadoFacturas .col{
	height: 100%;
	overflow-y: scroll;
}
#usuarios_listado{
	padding: 0;
}
#listadoFacturas #usuarios_formulario{
	background: #fff;
}
#nuevaFactura .aux_div_top, #nuevoRecibo .aux_div_top {
	position: relative;
	height: 75px;
}
#nuevaFactura .div_top, #nuevoRecibo .div_top {
	position: fixed;
	padding-left: 0;
	z-index: 999;
	width: 82%;
	border-bottom: 1px solid #eee;
	background: #f4f5f7;
}
#listadoFacturas .div_top #usuarios_formulario_titulo {
	display: inline-block;
}
#nuevaFactura .div_top .contenedor_botones, #nuevoRecibo .div_top .contenedor_botones{
	position: absolute;
	right: 0;
	top: 12px;
}
#status_wais {
	position: absolute;
	top: 27px;
	left: 110px;
}

#usuarios_formulario_menu{
	padding: 10px;
	text-align: right;
	border-bottom: 1px solid #eee;
}
#listadoFacturas #usuarios_formulario h2{
	margin-top: 15px;
}

#usuarios_listado .usuarios_listado_usuario{
	position: relative;
	display: block;
	width: 100%;
	border-bottom: 1px solid #ddd;
	padding: 20px;
	cursor: pointer;
}
#usuarios_listado .usuarios_listado_usuario h3{
	margin-bottom: 0;
	margin-top: 0;
}
#usuarios_listado .usuarios_listado_usuario h5{
	margin-top: 5px;
	margin-bottom: 0;
}

.usuario_nota {
	padding: 10px;
}
.usuario_nota .content {
 background: #fff;
 padding: 10px;
 border: 1px solid #ddd;
 border-radius: 4px;
 padding-bottom: 20px;
} 
.usuario_nota .content .fecha{
	position: absolute;
	bottom: 12px;
	right: 16px;
	font-weight: bold;
	font-size: 12px;
}
.usuario_nota .usuario_nota_eliminar {
	position: absolute;
	top: 0;
	right: 0;
	color: red;
	font-size: 20px;
	cursor: pointer;
}

.link-to-edit {
	cursor: pointer;
	font-size: 16px;
}
.link-to-edit:hover {
	color: orange;
}

.form-control.error{
	border-color: red;
}

.funkyradio {
	max-width: 200px;
}

.funkyradio div {
  clear: both;
  overflow: hidden;
}

.funkyradio label {
  width: 100%;
  border-radius: 3px;
  border: 1px solid #D1D3D4;
  font-weight: normal;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
  display: none;
}

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
  position: relative;
  line-height: 2.5em;
  text-indent: 3.25em;
  margin-top: 0;
  margin-bottom: 0;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  content: '';
  width: 2.5em;
  background: #D1D3D4;
  border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
  color: #888;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
  content: 'Z';
  text-indent: .9em;
  color: #fff;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
  color: #777;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
  content: 'Z';
  text-indent: .9em;
  color: #333;
  background-color: #ccc;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
  box-shadow: 0 0 0 3px #999;
}

.funkyradio-default input[type="radio"]:checked ~ label:before,
.funkyradio-default input[type="checkbox"]:checked ~ label:before {
  color: #333;
  background-color: #ccc;
}

.funkyradio-primary input[type="radio"]:checked ~ label:before,
.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #337ab7;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #5cb85c;
}

.funkyradio-danger input[type="radio"]:checked ~ label:before,
.funkyradio-danger input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #d9534f;
}

.funkyradio-warning input[type="radio"]:checked ~ label:before,
.funkyradio-warning input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #f0ad4e;
}

.funkyradio-info input[type="radio"]:checked ~ label:before,
.funkyradio-info input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #5bc0de;
}

.funkyradio-error input[type="checkbox"]:empty ~ label:before {
	background: #dc3545;
}

.zeta_icon {
	width: 20px;
	height: 20px;
	text-align: center;
	padding: 2px 4px;
	border-radius: 2px;
	color: #fff;
	font-weight: bold;
}
.zeta_icon_in {
	background: #28a745;
}
.zeta_icon_out {
	background: #ccc;
}
.zeta_icon_error {
	background: #dc3545;
}
.link_codigo {
	color: #337ab7;
	cursor: pointer;
}

#viewer-container {
	-moz-box-shadow: -2px 2px 21px 4px rgba(0,0,0,0.75);
	-webkit-box-shadow: -2px 2px 21px 4px rgba(0,0,0,0.75);
	align-items: center;
	background-color: white;
	box-shadow: -2px 2px 21px 4px rgba(0,0,0,0.75);
	display: none;
	flex-direction: column;
	height: 600px;
	justify-content: center;
	right: 5%;
	position: fixed;
	bottom: 10%;
	width: 400px;
	z-index: 9999;
}

#viewer-container h3 {
	text-align: center;
}

#viewer-inner-container {
	border: 2px dashed black;
	cursor: default;
	height: 90%;
	margin-bottom: 10px;
	width: 95%;
	justify-content: space-around;
	align-items: center;
}

#viewer-facturas-contenido {
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: space-between;
	padding: 10px;
}

.viewer-factura-summary {
	align-items: center;
	background-color: #dedede;
	display: flex;
	flex-direction: row;
	font-size: 16px;
	justify-content: space-between;
	padding: 10px;
	width: 100%;
}

.viewer-factura-summary p {
	font-weight: bold;
	margin: 0;
}

.viewer-factura-total-container {
	border-top: 2px dashed black;
	font-size: 18px;
	padding-top: 10px;
	margin-bottom: 0;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.viewer-contenedor-tabla {
	overflow-x: auto;
}

.viewer-factura-tabla {
	min-width: 100%;
}

.viewer-factura-tabla td, .viewer-factura-tabla th {
	text-align: center;
	padding: 5px;
	white-space: nowrap;
  border-collapse: collapse;
}
.viewer-factura-tabla th {
	border-bottom: 2px solid black;
}

.viewer-factura-tabla tr:not(:last-child) {
	border-bottom: 1px dashed black;
}

#viewer-facturas-lineas {
	overflow-y: scroll;
}

.cabecera-facturas {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

#bulk_presupuestos_btn {
	display: none;
	height: fit-content;
	margin: 5px;
	float: right;
}

.th-reaset-viewer {
	width: 0px !important;
	background-image: none !important;
	padding: 8px 10px !important;
}

#viewer-header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 10px;
}

#nombre-cliente, 
#fecha, 
#viewer-factura-total, 
#viewer-cantidad-facturas {
	display: inline-block;
}

