panel_factura_rectificativa/* colores */
/*

#00687f azul corporativo
#8bc34a verde
#fbb36b naranja
#e15b64 rojo

*/

body.login-content input,
textarea:-internal-autofill-selected{
	background: rgba(255,255,255,1) !important;
	color: #222 !important;
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
h1, h2, h3, h4, h5, h6{
	font-family: 'Inter', 'Roboto', 'sans-serif';
	font-weight: 700;
}
html {
  font-size: 13px;
  font-weight: 400;
  font-family: 'Inter', 'Roboto', 'sans-serif';
  overflow-y: scroll;
}

body {
  -webkit-animation-name: none;
  animation-name: none;
  transform: none;
}

body.modal-open {
  padding-right: 0 !important;
}

.p_relative{
	position: relative;
}

/* comprar más facturas */
ul.opciones_num_facturas {
	margin: 20px 0 60px 0px;
}

ul.opciones_num_facturas li {
	margin: 0 0 5px 0;
	list-style: none;
}

ul.opciones_num_facturas li input {
	margin: 0 5px 25px 0;
}

.span_aceptar_condiciones {
	width: 25px !important;
	margin: 0;
	display: block;
	float: left;
}

#app{
	text-align: center;
}

#app-view{
	text-align: left;
}

#main{
	padding: 0 20px;
	max-width: 1600px;
	margin: 0 auto;
}

footer.powered {
    text-align: right;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25px;
    padding-top: 5px;
    font-family: monospace;
}

footer.powered li:not(:last-child) {
    border-left: 1px solid;
    padding-left: 8px;
}
footer.powered li {
    float: right;
    margin: 0 5px;
    font-size: 10px;
    list-style: none;
}

footer.powered li:first-child {
    margin-right: 10px;
}

.borde_caja_der{
	border-right: 1px solid #eee;
}

.borde_caja_izq{
	border-left: 1px solid #eee;
}

/* mega_menu */
.mega_menu{
	margin-bottom: 10px;
	position: relative;
}

.mega_menu ul{
	margin: 0 0 0 20px;
	padding: 0;
}

.mega_menu ul > li{
	list-style: none;
    float: left;
    margin: 0;
    display: block;
    float: left;
    padding: 0;
}

.mega_menu ul > li a{
	display: block;
	padding: 10px 10px;
}

.mega_menu ul > li > a > i{
	font-size: 16px;
}

.mega_menu ul > li ul > li > a > i{
	font-size: 16px;
    margin: 0 5px 0 0;
    display: block;
    float: left;
    clear: none;
    line-height: 16px;
}

.mega_menu ul > li:hover,
.mega_menu ul > li.active,
.mega_menu ul > li.active_ini{
	background: #00687f;
	cursor: pointer;
}

.mega_menu ul > li:hover a,
.mega_menu ul > li.active a,
.mega_menu ul > li.active_ini a{
	color: #fff;
}

.mega_menu ul.main-menu{
	padding-right: 190px;
}

.mega_menu ul > li.menu_errores_ocr{
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	float: none;
	padding: 0;
	margin: 0;
	background: transparent !important;
}

.mega_menu ul > li.menu_errores_ocr:hover,
.mega_menu ul > li.menu_errores_ocr.active,
.mega_menu ul > li.menu_errores_ocr.active_ini{
	background: transparent;
}

.mega_menu ul > li.menu_errores_ocr > a.btn_errores_ocr{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 4px 10px;
	border: 1px solid rgba(180, 35, 24, 0.14);
	border-radius: 999px;
	background: rgba(180, 35, 24, 0.06);
	color: #8f1d1d;
	font-weight: 600;
	text-align: center;
}

.mega_menu ul > li.menu_errores_ocr > a.btn_errores_ocr:before{
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d92d20;
	box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.mega_menu ul > li.menu_errores_ocr > a.btn_errores_ocr:hover{
	background: rgba(180, 35, 24, 0.1);
	color: #7b1717;
}

.mega_menu ul > li.menu_errores_ocr > a.btn_errores_ocr .txt_errores_ocr{
	font-size: 12px;
	line-height: 1;
}

.mega_menu ul > li.menu_errores_ocr > a.btn_errores_ocr .num_errores_ocr{
	margin-left: 0;
}

.mega_menu ul.main-menu ul{
	display: none;
	width: auto;
    border: 1px solid #ccc;
    position: absolute;
    background: #fff;
    z-index: 1000;
    top: 38px;
    margin: 0;
    min-width: 240px;
    padding: 10px 0;
}

.mega_menu ul.main-menu ul li{
	float: left;
	clear: both;
	width: 100%;
	padding: 0;
}

.mega_menu ul.main-menu ul li a{
	color: #00687f;
	display: block;
	padding: 8px 20px;	
}

.mega_menu ul.main-menu ul li:hover a,
.mega_menu ul.main-menu ul li.active a{
	color: #fff;
}

.mega_menu ul li#submenu_salir{
	display: none;

}

#sidebar .menu_errores_ocr{
	display: none !important;
}

/* fichajes */
#caja_fichajes {
	height: auto !important;
}

.div_btn_play,
.div_btn_stop {
	width: auto;
	text-align: center;
	margin: 20px 0 0 0;
}

.div_btn_play .input-group,
.div_btn_stop .input-group,
.div_btn_volver .input-group {
	display: block;
}

.div_btn_play button,
.div_btn_stop button {
	width: 80%;
}

.div_btn_play i,
.div_btn_stop i {
	font-size: 64px;
	padding: 30px 0;
}

#resp_ficha {
	margin-top: 30px;
}

div.cuadro {
	padding: 20px;
	border: 1px solid #eee;
}

.swal2-title{
	font-weight: normal;

}

body.swal2-iosfix {
	position: fixed;
	overflow-y: scroll;
}

div#swal2-content pre {
    text-align: left;
}

/* panel de mi cuenta */
.sombra_barra_superior {
	background: rgba(0, 0, 0, 0.12);
}
.div_btn_cerrar_panel_mi_cuenta {
	width: auto;
	position: absolute !important;
	top: 15px;
	right: 15px;
}

.div_btn_cerrar_panel_mi_cuenta button {
	padding: 10px;
	font-size: 12px;
	color: #aaa;
	box-shadow: none !important;
}

.div_btn_cerrar_panel_mi_cuenta button:hover {
	color: #222;
}

#resp_cambiar_acceso {
	margin-top: 15px;
}

/* panel de asistencia */

#tareas_asistencia .bootstrap-switch-handle-off{
	background: #00687f;
    color: #fff;

}
    
.top-menu > li .dropdown-menu-lg .lv-body{
	height: auto;
}

.top-menu > li .dropdown-menu-lg .lv-body .lv-item i{
	color: #00687f;
}

.top-menu > li .dropdown-menu-lg .lv-footer{
	color: #fff;
	background: #00687f;	
}

.top-menu > li .dropdown-menu-lg .lv-footer:hover{
	text-decoration: underline;
}

#div_panel_asistencia,
#div_panel_mi_cuenta {
	min-width: 300px;
	background: #fff;
	position: absolute;
	right: 0;
	top: 50px;
	padding: 15px;
	border: 1px solid #eee;
	box-shadow: 2px 2px 3px #eee, -2px 2px 3px #eee;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	color: #222;
	overflow-y: auto;
}

p.titulo_panel_asistencia {
	margin: 20px 0;
	font-weight: bold;
}

#div_panel_asistencia a#play {
	margin-left: 10px;
}

#div_panel_asistencia a#pausa {
	margin-left: -10px;
}

#div_panel_asistencia #caja_selects_asistencia {
	margin-top: 20px;
}

#preguntas_contrato {
	background: #fafafa;
	padding: 30px;
	border: 1px solid #eee;
	margin: -30px 0 30px 0;
}

#cerrar_preguntas_contrato {
	float: right;
}

.modulo {
	font-weight: bold !important;
}

.sub_modulo {
	padding-left: 50px !important;
}

#btn_descargar_informe_clientes {
	margin-top: 20px;
}

#img_tunuve_header.madauren {
	height: 45px;
	margin-top: -10px;
	max-height: 45px;
}

#table_registros > tbody > tr:last-child > td {
	padding-bottom: 10px;
}

#table_registros {
	border-bottom: 1px solid #efefef;
}

#table_registros > * {
	font-size: 12px;
	font-weight: normal;
}

#f_alta p {
	margin-top: -30px;
	font-weight: bolder;
	font-size: 14px;
}

.archivo_descarga_asistencia {
	margin-top: 15px;
}

.archivo_descarga_asistencia .thumbnail {
	padding: 30px 0 0 0;
	margin-bottom: 0;
}

#motivo_baja,
#contrato {
	width: 100%;
}

.reloj {
	font-size: 4em;

	left: 50%;
	top: 50%;
	text-align: center;

	margin-bottom: 20px;
}

.reloj span {
	height: 30px;
}

.texto_actividad {
	font-size: 14px;
	margin: 20px 0 0 0;
}

#clientes_asistencia {
	margin-top: 7px;
	width: 100%;
}

#contador_asistencia {
	margin-bottom: 30px;
}

#contador_asistencia div.borde_izq {
	padding: 0 47px;
}

#contador_asistencia .div_observaciones {
	margin-left: 10px;
}

#seccion_detalle_asistencia div.resp {
	margin: 20px 0;
}

#select2-id_asesoria_tarea-container {
	max-width: 440px;
}

#div_panel_asistencia #select2-id_asesoria_tarea-container {
	max-width: 239px;
}

a#btn_actividad_cliente {
	width: 100%;
}

#caja_selects_asistencia {
	margin-top: 80px;
}

#caja_actividades_asistencia.margen_125 {
	margin-top: 125px;
}

.div_actividades_botones {
	z-index: 10;
	text-align: center;
	margin-top: 30px;
}

#caja_botones_asistencia {
	z-index: 11;
}

a.actividades,
a.cliente {
	margin: 5px;
	padding: 15px 20px 15px 20px;
	width: 100px;
}

#play,
#pausa {
	padding-bottom: 20px;
	padding-top: 5px;
}

#play i,
#pausa i {
	padding: 10px 0 8px;
}

.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled.focus,
.btn-danger[disabled].focus,
fieldset[disabled] .btn-danger.focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active {
	background-color: #aaa;
	border-color: #ddd;
}

.panel-collapse .panel-heading:before,
#sidebar .main-menu > li.sub-menu > a:before,
#sidebar .main-menu > li.sub-menu > a:after {
	font-family: "FontAwesome";
}

#sidebar .main-menu > li.sub-menu > ul {
	padding-top: 5px;
	padding-left: 5px;
}

.panel-collapse .panel-heading:before,
#sidebar .main-menu > li.sub-menu > a:before {
	content: "\f0fe"; /* fa-plus */
}

#sidebar .main-menu > li.sub-menu.toggled > a:after {
	content: "\f146"; /* fa-minus */
}

#sidebar .et_menu {
	float: right;
	margin-left: 3px;
}

body {
	overflow-y: visible !important;
}

#cargando {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 30000000;
}

#cargando section.wrapper {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
	margin-top: -50px;
}

/* Fade-in suave para toda la página de login */
body.login-content {
	animation: fadeInPage 0.5s ease-out !important;
}

#seccion_login, #login, .lc-block {
	animation: fadeInLogin 0.6s ease-out !important;
}

#form_login {
	animation: fadeInFormLogin 0.8s ease-out !important;
}

@keyframes fadeInPage {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeInLogin {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeInFormLogin {
	from {
		opacity: 0;
		transform: translateY(15px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@-webkit-keyframes fadeInPage {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@-webkit-keyframes fadeInLogin {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@-webkit-keyframes fadeInFormLogin {
	from {
		opacity: 0;
		-webkit-transform: translateY(15px) scale(0.98);
	}
	to {
		opacity: 1;
		-webkit-transform: translateY(0) scale(1);
	}
}

.progress-bar-danger,
.bootstrap-switch-danger,
.checkbox-danger div[id^="uniform-"] span.checked,
.radio-danger div[id^="uniform-"] span.checked,
.badge-danger,
.label-danger,
.btn-danger,
.bg-danger,
.hover-red:hover,
.hover-danger:hover,
.bg-red {
	color: #fff;
	border-color: #cf4436;
	background: #e74c3c;
}

.lv-message .lv-item:not(.right) .ms-item {
	color: black;
	background: #f2f2f2;
}

#btn_guardar_soporte {
	height: 160px;
	left: 0;
	margin-left: -15px;
	position: absolute;
	top: 0;
	width: 100%;
}

.tab {
	padding-left: 20px;
}

.margenes {
	margin-left: 50px !important;
	padding-right: 50px !important;
}

.no_margen {
	margin: 0;
}

.btn_derecha {
	position: absolute;
	right: 20px;
	top: 20px;
}

#div_pruebas {
	position: fixed;
	width: 100%;
	bottom: 0;
	z-index: 20000;
	text-align: center;
	opacity: 0.8;
}

#div_pruebas div.alert {
	margin-bottom: 0;
	border-top: 1px solid #ccc;
	text-align: center;
}

div.alert {
	text-align: left;
}

#aviso_configuracion div.alert{
	margin-bottom: 10px;
}

/* lectura de pagos */

#seccion_lecturas_pagos input[type="text"] {
	border: 1px solid #ddd;
	width: 100%;
	height: 30px;
	padding: 0 5px;
}

b.iva_igic {
	font-weight: inherit;
}

/* informes */

#seccion_informes #buscar {
	display: block;
	height: 36px;
	margin: 23px 0 0;
	width: 100%;
}

#seccion_informes .modal-body > p {
	padding-top: 5%;
	font-size: 15px;
	color: red;
	text-align: center;
}

#seccion_informes button[class="close"] {
	padding-top: 10px;
}

/* tabla informes */

#resultados table {
	font-size: 13px;
}

#resultados thead > tr:first-child > th {
	border-bottom: 1px solid #00687f;
}

#resultados td:nth-child(8) {
	font-weight: bold;
}

#resultados td:nth-child(9) {
	color: #00687f;
	font-weight: bold;
}

#resultados .icon_plus {
	margin-right: 6px;
	color: #fe9a2e;
}

/* informes cron */
#resp_tabla_informes_cron th,
#resp_tabla_informes_cron td{
	text-align: center;
}

.informes-cron-modern .informes-cron-cabecera {
	margin-bottom: 10px;
	border: 1px solid #dbe5e8;
	border-radius: 12px;
	box-shadow: 0 2px 7px rgba(28, 54, 67, 0.05);
}

.informes-cron-modern .informes-cron-cabecera .card-body {
	padding: 16px 20px;
}

.informes-cron-modern .informes-cron-cabecera .vtos-toolbar {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.informes-cron-modern .informes-cron-columnas {
	display: flex;
	align-items: stretch;
	margin-right: -5px;
	margin-left: -5px;
}

.informes-cron-modern .informes-cron-columnas > div {
	display: flex;
	padding-right: 5px;
	padding-left: 5px;
}

.informes-cron-modern .informes-cron-panel {
	width: 100%;
	margin-bottom: 0;
	border: 1px solid #dbe5e8;
	border-radius: 12px;
	box-shadow: 0 2px 7px rgba(28, 54, 67, 0.05);
}

.informes-cron-modern .informes-cron-panel > .card-body {
	padding: 18px;
}

.informes-cron-modern .informes-cron-panel-header {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5ecef;
}

.informes-cron-modern .informes-cron-panel-header > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: #e8f6f8;
	color: #00758c;
	font-size: 15px;
}

.informes-cron-modern .informes-cron-panel-header > div {
	min-width: 0;
	flex: 1;
}

.informes-cron-modern .informes-cron-panel-header h3 {
	margin: 0 0 3px;
	font-size: 16px;
	font-weight: 700;
	color: #193b47;
}

.informes-cron-modern .informes-cron-panel-header p {
	margin: 0;
	font-size: 12px;
	color: #718495;
}

.informes-cron-modern #btn_refrescar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid #d8e3e7;
	border-radius: 9px;
	color: #315363;
}

.informes-cron-modern #form_anadir_informe_cron label {
	margin-bottom: 5px;
	font-weight: 600;
	color: #284957;
}

.informes-cron-modern #form_anadir_informe_cron .form-control,
.informes-cron-modern #form_anadir_informe_cron .select2-selection {
	border-color: #d6e1e5;
	border-radius: 8px;
}

.informes-cron-modern #form_anadir_informe_cron .select2-container {
	max-width: 100%;
}

.informes-cron-modern #form_anadir_informe_cron .select2-selection__rendered {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.informes-cron-modern #form_anadir_informe_cron hr {
	margin: 4px 15px 14px;
	border-color: #e5ecef;
}

.informes-cron-modern #caja_generar {
	margin-top: 8px;
}

.informes-cron-modern #btn_guardar_informe_cron {
	border-radius: 9px;
	font-weight: 600;
}

.informes-cron-modern #resp_tabla_informes_cron .dataTables_filter input {
	border: 1px solid #d6e1e5;
	border-radius: 9px;
}

.informes-cron-modern #resp_tabla_informes_cron .informes-cron-accion {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 30px;
	margin: 2px 3px;
	padding: 0 10px;
	border: 1px solid #d8e3e7;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	font-size: 11px;
	font-weight: 600;
	color: #315363;
}

.informes-cron-modern #resp_tabla_informes_cron .informes-cron-accion--descargar:hover {
	border-color: #00758c;
	background: #eef8fb;
	color: #00687f;
}

.informes-cron-modern #resp_tabla_informes_cron .informes-cron-accion--eliminar:hover,
.informes-cron-modern #btn_eliminar_informes_seleccionados:not(:disabled):hover {
	border-color: #e53935;
	background: #fdeeee;
	color: #c62828;
}

@media (max-width: 1199px) {
	.informes-cron-modern .informes-cron-columnas {
		display: block;
	}

	.informes-cron-modern .informes-cron-columnas > div {
		display: block;
		margin-bottom: 10px;
	}
}

/* video */

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}

.videoWrapper object,
.videoWrapper embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 1000px;
}

.spinner_video {
	position: absolute;
	width: 420px;
	height: 345px;
	padding-top: 112px;
}

#seccion_lista_videos iframe {
	border: 1px solid #ddd;
}

.div_video {
	padding: 5px;
}

.div_video p.descripcion_video {
	background: rgb(255, 255, 255) none repeat scroll 0 0;
	font-size: 16px;
	height: 100px;
	overflow: auto;
	padding: 10px;
}

.negrita {
	font-weight: bold;
}

.sin_bordes {
	border: 0 !important;
}

.fondo_azul {
	background: #00687f !important;
	color: #fff !important;
}

.azul_selected {
	background: #004556 !important;
}

.botones_anos button.selected,
#tab_lista_archivos button.selected,
.corporativo,
.corporativo:hover {
	background: #00687f !important;
	color: #fff !important;
}

.color_corporativo,
.color_tunuve {
	color: #00687f;
}

.rojo {
	background: #e15b64;
	color: #fff;
}

.naranja,
.color_naranja {
	color: #e69428;
}

.fondo_naranja {
	background: #e69428;
}

.warning {
	background: #f27f62;
}

.warning_claro {
	background: #fbb36b;
}

.info,
.btn-info,
.btn-info:hover,
.btn-info:focus,
.btn-info.focus,
.btn-info:active,
.open > .dropdown-toggle.btn-info {
	background: #51b1cf;
	border-color: #51b1cf;
}

.color_info {
	color: #51b1cf;
}

.btn-gris {
	background: #f5f5f5;
	color: #404040;
}

.gris_oscuro {
	background: #404040;
	color: #f5f5f5;
}

.gris_claro {
	background: #ccc;
	color: #404040;
}

.verde_palido {
	background: #849b89;
	color: #fff;
}

.verde_alternativo {
	background: #16ccab;
	color: #fff;
}

.verde,
.verde:hover {
	background: #8bc34a;
	color: #fff;
}

.verde_claro,
.verde_claro:hover {
	background: #abbc85;
	color: #fff;
}

.color_verde {
	color: #0a860a;
}

.color_rojo {
	color: red;
}

.color_naranja {
	color: #fbb36b;
}

.form-group button span {
	color: #00687f !important;
}

.form-group.disabled span.input-group-addon {
	background: #eee;
}

/* general */
.sep {
	width: 100%;
	clear: both;
	float: left;
}

.sep10 {
	width: 100%;
	clear: both;
	float: left;
	margin-top: 10px;
}

.sep25 {
	width: 100%;
	clear: both;
	float: left;
	margin-top: 25px;
}

.sep30 {
	width: 100%;
	clear: both;
	float: left;
	margin-top: 30px;
}

.sep50 {
	width: 100%;
	clear: both;
	float: left;
	margin-top: 50px;
}

.sep100 {
	width: 100%;
	clear: both;
	float: left;
	margin-top: 100px;
}

.sepmenos50 {
	margin-top: -50px;
}

.input-sm {
	font-size: 14px;
}

.block {
	display: block;
}

.width100 {
	width: 100%;
}

.overflow-hidden {
	overflow: hidden;
}

.input-group:not(.input-group-lg):not(.input-group-sm) .input-group-addon .fa {
	font-size: 23px;
	line-height: 100%;
}

.bootstrap-select.btn-group .btn .filter-option {
	text-transform: none; /* evitar que los combos salgan en mayúsculas */
}

.negro {
	color: #121212;
}

.fondo_negro {
	background: #121212;
}

.d-none,
.d_none,
.oculto {
	display: none;
}

.text_left {
	text-align: left;
}

.text_center {
	text-align: center;
}

.text_right {
	text-align: right;
}

.borde_izq {
	border-left: 1px solid #eee;
}

.borde_der {
	border-right: 1px solid #eee;
}

.rotated {
	transform: rotate(90deg);
}

.texto_disabled {
	-webkit-background-clip: text;
	-moz-background-clip: text;
	background-clip: text;
	color: #bbb;
	text-shadow: rgba(255, 255, 255, 0.5) 0px 3px 3px;
}

.texto_disabled:hover {
	cursor: not-allowed;
}

.no_shadow {
	box-shadow: none !important;
}

.outer {
	display: table;
	position: absolute;
	top: 50%;
	left: 0;
	height: 100%;
	width: 100%;
}

.middle {
	display: table-cell;
	vertical-align: middle;
}

.inner {
	margin-left: auto;
	margin-right: auto;
	width: 500px;
}

.border0 {
	border: 0;
}

/* ajustes */
.input-group .form-control {
	padding: 5px;
}

.pull-right > .dropdown-menu {
	right: auto;
}

.modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: scroll;
	z-index: 1050;
	text-align: left;
}

.modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.modal.in .modal-dialog {
	z-index: 2000;
}

.modal .modal-header {
	padding: 23px 26px;
	border-bottom: 1px solid #eee;
	margin-bottom: 50px;
	background: #00687f;
}

.modal .modal-header h4,
.modal .modal-header button {
	color: #fff !important;
	opacity: 1;
}


textarea {
	min-height: 100px;
}

div.modal-header button.close {
	width: auto !important;
}

button.close {
	text-align: right;
}

.modal-footer {
	border-top: 1px solid #eee;
	clear: both;
	margin-top: 15px;
	padding: 15px;
	text-align: right;
}

.caja_enviar_archivo {
	float: left;
	clear: both;
}

#div_switch_factura_periodica {
	width: 100%;
}

#resultado_factura_periodica .btn-group.bootstrap-select {
	border-bottom: 1px solid #ddd;
	width: 100px;
}

.selecciona_mes {
	padding: 10px 20px 10px 70px;
}

.selecciona_mes label.checkbox-inline {
	display: block;
	float: left;
	clear: none;
	margin: 0 5px 5px 0;
	width: auto;
	min-width: 120px;
}

.selecciona_mes label.checkbox-inline span {
	margin-left: 25px;
}

/* spinner */
.spinner {
	margin: 50px auto 50px;
	width: 70px;
	text-align: center;
}

.spinner > div {
	width: 18px;
	height: 18px;
	background-color: #00687f;

	border-radius: 100%;
	display: inline-block;
	-webkit-animation: bouncedelay 1.4s infinite ease-in-out;
	animation: bouncedelay 1.4s infinite ease-in-out;
	/* Prevent first frame from flickering when animation starts */
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.spinner .bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.spinner .bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
	0%,
	80%,
	100% {
		-webkit-transform: scale(0);
	}
	40% {
		-webkit-transform: scale(1);
	}
}

@keyframes bouncedelay {
	0%,
	80%,
	100% {
		transform: scale(0);
		-webkit-transform: scale(0);
	}
	40% {
		transform: scale(1);
		-webkit-transform: scale(1);
	}
}

/* sweet alert */
body .sweet-alert,
body .swal2-popup {
	border-radius: 14px;
}

/* formularios */
.mi_form div.form-group {
	position: relative;
	margin-bottom: 30px;
}

div.form-group label {
	font-weight: bold;
	padding: 0;
}

.mi_form .mensaje_err_formulario {
	padding: 5px;
	margin: 0;
}

span.ayuda {
	float: right;
	display: block;
	width: 20px;
	margin-top: -2px;
}

.mi_form textarea {
	height: 126px;
}

div.validacion {
	bottom: 0;
	font-size: 14px;
	position: absolute;
	right: 7px;
	z-index: 100;
	top: 7px;
}

td div.validacion {
	display: none;
}

div.validacion.ok i {
	color: green;
}
div.validacion.ko i {
	color: red;
}

div.input-group.date div.validacion {
	right: 45px;
}

span.quitar_multiple {
	position: absolute;
	right: 5px;
	top: 6px;
}

span.quitar_multiple:hover,
i.fa.cursor_pointer:hover {
	cursor: pointer;
}

/* datepicker */
div.datepicker {
	z-index: 30000;
}

div.datepicker.dropdown-menu {
	max-width: 260px;
}

.btn-default:not(.btn-link):not(.btn-float):not(.command-edit):not(.command-delete):not(.selectpicker) {
	border: 1px solid #eee;
	box-shadow: 1px 1px 3px #eee;
}

.btn-default:not(.btn-link):not(.btn-float):not(.command-edit):not(.command-delete):not(.selectpicker):hover {
	border: 1px solid #00687f;
	box-shadow: 1px 1px 3px #00687f;
	background: #00687f;
	color: #fff;
}

/* datatables */
div.dataTables_length div.btn-group.bootstrap-select {
	width: 100px !important;
	text-align: center;
}

table.dataTable.display tbody tr.odd > .sorting_1,
table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
	background: transparent;
}

table.dataTable.display tbody tr.even > .sorting_1,
table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
	background-color: inherit;
}

.dataTables_wrapper .dataTables_filter input {
	margin-left: 0;
}

#tablaConcursos .datatables td {
	vertical-align: top;
}

.datatables td {
	position: relative;
}

.datatables td.acciones {
	text-align: center;
	padding: 10px 0;
	min-width: 100px;
}

.datatables td.acciones .dropdown-toggle {
	border-radius: 8px;
	padding: 5px 12px;
}

.datatables td.acciones .dropdown-menu {
	border: 1px solid #e8ecf1;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
	min-width: 200px;
	padding: 6px;
}

.datatables td.acciones .dropdown-menu > li > a,
.datatables td.acciones .dropdown-menu > li > button {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 7px;
	font-size: 13px;
	color: #334155;
}

.datatables td.acciones .dropdown-menu > li > a i,
.datatables td.acciones .dropdown-menu > li > button i {
	width: 16px;
	flex-shrink: 0;
	text-align: center;
	color: #64748b;
	font-size: 13px;
}

.datatables td.acciones .dropdown-menu > li > a:hover,
.datatables td.acciones .dropdown-menu > li > button:hover {
	background: #DCF1F2;
	color: #00687f;
}

.datatables td.acciones .dropdown-menu > li > a:hover i,
.datatables td.acciones .dropdown-menu > li > button:hover i {
	color: #00687f;
}

.datatables td.acciones .dropdown-menu > li > [class*="eliminar"]:hover {
	background: #fee2e2;
	color: #dc2626;
}

.datatables td.acciones .dropdown-menu > li > [class*="eliminar"]:hover i {
	color: #dc2626;
}


table:not(.collapsed) thead th.celda_check,
table:not(.collapsed) tbody td.celda_check{
	width: 30px !important;
    max-width: 30px !important;
    padding: 5px 10px !important;
}

tbody td.celda_check label.checkbox{
	display: block;
	height: 17px;
	margin-top: 0;
	margin-bottom: 0;
}

td.acciones.open > .dropdown-menu {
    margin: 0;
    position: absolute;
    top: 30px;
    right: 0;
}

ul.dropdown-menu li > button{
	background: transparent;
	border:none;
	padding: 8px 17px;
}

ul.dropdown-menu li > button[disabled]{
	cursor: not-allowed;
}

.datatables td.acciones a,
.datatables td.acciones button {
	float: left;
	margin-left: 2px;
	display: block;
}

.datatables td.acciones ul li a,
.datatables td.acciones ul li button {
	width: 100%;
}

.datatables td.acciones a:hover {
	cursor: pointer;
}


.dataTables
	.select2-container
	.select2-selection--single
	.select2-selection__rendered {
	border: 0;
}

.dataTables span.select2-container {
	width: auto !important;
	min-width: 60px;
}

.select2-container--default .select2-selection--single {
	height: 36px;
	padding: 4px 0 0 5px;
}

#div_iva_concepto .select2-container--default .select2-selection--single {
	padding: 0;
	height: auto;
}

.select2-container--default
	.select2-selection--single
	.select2-selection__arrow {
	top: 5px;
}

.select2-container--default .select2-results__option--highlighted{
	background: #00687f;
	color: #fff;
}

.dataTables_length {
	padding: 3px 0 0 5px;
}

/* Selector "Mostrar registros" de todas las tablas */
div.dataTables_wrapper div.dataTables_length label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding-left: 0;
	white-space: nowrap;
}

div.dataTables_wrapper div.dataTables_length {
	margin-bottom: 7px;
}

div.dataTables_wrapper div.dataTables_length span.select2-container {
	width: 74px !important;
	min-width: 74px;
	margin: 0;
	padding: 0;
}

div.dataTables_wrapper div.dataTables_length .select2-selection--single {
	height: 28px;
	padding: 0;
	border: 1px solid #d8e3e7;
	border-radius: 8px;
	background: #fff;
}

div.dataTables_wrapper div.dataTables_length .select2-selection__rendered {
	height: 26px;
	padding: 0 20px 0 8px;
	border: 0;
	line-height: 26px;
	text-align: center;
	color: #334155;
}

div.dataTables_wrapper div.dataTables_length .select2-selection__arrow {
	top: 0;
	right: 3px;
	height: 28px;
}

.datatables td a.btn {
	color: #333;
}

.datatables td a.btn-primary {
	color: #fff;
}

/* file upload */
#upload {
	background-color: #fff;

	/*background-image:-webkit-linear-gradient(top, #373a3d, #313437);*/
	/*background-image:-moz-linear-gradient(top, #373a3d, #313437);*/
	/*background-image:linear-gradient(top, #373a3d, #313437);*/

	width: 100%;
	padding: 30px;
	border-radius: 3px;

	margin: 0px auto;
	/*box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);*/
}

#drop {
	background-color: #fff;
	padding: 100px 50px;
	margin-bottom: 30px;
	border: 5px dashed #f1f2f7;
	border-radius: 3px;
	/*border-image: url('../img/border-image.png') 25 repeat;*/
	text-align: center;
	text-transform: uppercase;

	font-size: 16px;
	font-weight: bold;
	color: #7f858a;
}

#drop a {
	background-color: #00687f;
	padding: 12px 26px;
	color: #fff;
	font-size: 14px;
	border-radius: 2px;
	cursor: pointer;
	display: inline-block;
	margin-top: 12px;
	line-height: 1;
}

#drop a:hover {
	background-color: #086898;
}

#drop input {
	display: none;
}

#upload ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#upload ul li {
	background-color: #f1f2f7;
	padding: 15px;
	height: 80px;

	position: relative;
}

#upload ul li input {
	display: none;
}

#upload ul li p {
	overflow: hidden;
	white-space: nowrap;
	color: #32323a;
	font-size: 16px;
	font-weight: bold;
	position: absolute;
	top: 20px;
	left: 100px;
}

#upload ul li i {
	font-weight: normal;
	font-style: normal;
	color: #7f7f7f;
	display: block;
}

#upload ul li canvas {
	top: 15px;
	left: 32px;
	position: absolute;
}

#upload ul li span {
	width: 15px;
	height: 12px;
	background: url("../js/libs/mini-upload-form/assets/img/icons.png")
		no-repeat;
	position: absolute;
	top: 34px;
	right: 33px;
	cursor: pointer;
}

#upload ul li.working span {
	height: 16px;
	background-position: 0 -12px;
}

#upload ul li.error p {
	color: #95b75d;
}

/* Archivos añadidos en los cargadores */
form#upload ul#lista_archivos_subidos > li {
	height: 64px;
	margin: 8px 0;
	padding: 0;
	border: 1px solid #e0e7ea;
	border-radius: 9px;
	background: #f8fafb;
}

form#upload ul#lista_archivos_subidos > li canvas {
	top: 7px;
	left: 16px;
}

form#upload ul#lista_archivos_subidos > li p {
	top: 10px;
	right: 50px;
	left: 78px;
	margin: 0;
	font-size: 13px;
	line-height: 19px;
	color: #1f3540;
}

form#upload ul#lista_archivos_subidos > li p i {
	margin-top: 2px;
	font-size: 11px;
	line-height: 16px;
	color: #738691;
}

form#upload ul#lista_archivos_subidos > li span {
	top: 25px;
	right: 18px;
}

/* login */
body {
	background: #f5f5f5;
	padding-bottom: 50px;
}

body.login-content:before {
	background: #00687f;
}

.login-content .login-navigation > li:hover{
	background-color: green !important;
}

.login-content .login-navigation > li:not(:hover){
	border-radius: 10px !important;
 	padding: 0 5px !important;
 	font-size: 8px !important;
}

div#login:not(.verae) {
	display: inline;
	position: absolute;
	top: 50%;
	margin-top: -123px;
	left: 0;
	width: 100%;
	padding-left: 0;
	margin-left: 0;
}

div#login:not(.verae) input {
	border-bottom: 1px solid #ddd;
}

#form_acceder span.toggle_password_input {
    z-index: 1000;
    right: 15px;
    top: 5px;
    background: #fff;
    color: #00687f;
    font-size: 18px;
    padding: 5px 0 0 0;
    width: 30px;
    height: 30px;
    border-radius: 30px;
}

#form_acceder span.toggle_password_input:hover {
	cursor: pointer;
	color: #222;
	background: #eee;
}

.btn{
	border-radius: 8px;
}

.btn-marron,
.btn-marron:hover,
.btn-marron:active {
	background: #998b5d;
	color: #fff;
}

.btn-naranja,
.btn-naranja:hover,
.btn-naranja:active {
	background: #fbb36b;
	color: #fff;
}

a.btn_acceder {
	width: 50px !important;
}

a.btn_acceder i {
	margin: 1px 0 0 -2px;
	font-size: 36px;
}

a.btn_acceder:hover i {
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
}

.contenedor_logo_login {
	padding: 35px 30px;
	text-align: center;
	width: auto;
}

.contenedor_logo_login img.alvarezreal,
.contenedor_logo_login img.lopezalvarez,
.contenedor_logo_login img.gyl,
.contenedor_logo_login img.amtresasesores,
.contenedor_logo_login img.aconfisa {
	max-width: 300px !important;
}

#img_tunuve {
	width: auto;
	max-width: 142px;
	margin: -200px auto 0 auto;
}

/* Inicio de sesión común: no afecta a las plantillas personalizadas. */
body.login-content:has(.login-modern) {
	height: auto;
	min-height: 100vh;
	margin: 0;
	padding: 0;
	background: #fff;
	overflow: auto;
}

body.login-content:has(.login-modern):before {
	position: fixed;
	height: 100%;
	-webkit-mask-image: linear-gradient(to bottom, #000 40%, rgba(0, 0, 0, .9) 52%, rgba(0, 0, 0, .65) 64%, rgba(0, 0, 0, .35) 76%, rgba(0, 0, 0, .1) 88%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 40%, rgba(0, 0, 0, .9) 52%, rgba(0, 0, 0, .65) 64%, rgba(0, 0, 0, .35) 76%, rgba(0, 0, 0, .1) 88%, transparent 100%);
	pointer-events: none;
}

body.login-content:has(.login-modern):after {
	display: none;
}

div#login:not(.verae):has(.login-modern) {
	display: block;
	position: relative;
	top: auto;
	margin-top: 0;
}

.login-modern {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100vh;
	box-sizing: border-box;
	width: min(440px, calc(100% - 32px));
	margin: 0 auto;
	padding: 48px 0;
}

.login-modern .contenedor_logo_login {
	margin: 0;
	padding: 0 0 28px;
}

.login-modern #img_tunuve {
	margin: 0 auto;
	max-height: 90px;
	object-fit: contain;
}

.login-content .login-modern .lc-block {
	width: 100%;
	margin: 0;
	padding: 30px;
	border: 1px solid #d9e5eb;
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(25, 60, 75, .1);
	text-align: left;
}

.login-modern h1,
.login-modern h2 {
	margin: 0 0 10px;
	font-size: 22px;
	color: #193e4e;
}

.login-modern p {
	margin: 0 0 24px;
	color: #71869a;
	line-height: 1.6;
}

.login-modern #resp_acceder:empty {
	display: none;
}

.login-modern #resp_acceder .login-alert {
	margin: 0 0 20px;
	padding: 12px 14px;
	border: 1px solid #f1c5c5;
	border-radius: 8px;
	background: #fff6f6;
	box-shadow: none;
	color: #9b2424;
	font-size: 13px;
}

.login-modern #resp_acceder .login-alert .alert-content {
	display: flex;
	align-items: center;
	gap: 10px;
}

.login-modern #resp_acceder .login-alert .fa {
	display: inline-flex;
	flex: 0 0 24px;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #c43d3d;
	color: #fff;
	font-size: 12px;
}

.login-modern .login-campos {
	display: grid;
	gap: 18px;
}

.login-modern .login-campo label {
	display: block;
	margin-bottom: 7px;
	color: #193e4e;
}

div#login .login-modern input.form-control {
	height: 44px;
	padding: 10px 12px;
	border: 1px solid #d2dfe7;
	border-radius: 8px;
	box-shadow: none;
}

div#login .login-modern input:focus {
	border-color: #007f95;
	box-shadow: 0 0 0 3px rgba(0, 127, 149, .12);
}

.login-modern .div_password {
	position: relative;
}

div#login .login-modern #password {
	padding-right: 48px;
}

.login-modern .login-ver-password {
	position: absolute;
	top: 0;
	right: 0;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #00687f;
}

.login-modern .login-acceder {
	width: 100%;
	min-height: 44px;
	margin-top: 24px;
	border-color: #00687f;
	background-color: #00687f;
	border-radius: 8px;
	font-weight: 600;
	text-transform: none;
}

.login-modern .login-acceder:hover,
.login-modern .login-acceder:focus,
.login-modern .login-acceder:active {
	border-color: #004556;
	background-color: #004556;
}

.login-modern .login-acceder .section_spinner,
.login-modern .login-acceder .spinner {
	margin: 0;
	height: 18px;
	width: 100%;
}

.login-modern .login-acceder .spinner > div {
	width: 10px;
	height: 10px;
	background-color: #fff;
}

.login-content .login-modern .login-navigation {
	position: static;
	margin: 20px 0 0;
}

.login-content .login-modern .login-navigation > li {
	background: transparent !important;
	padding: 0 !important;
	font-size: 13px !important;
}

.login-modern .login-navigation button {
	border: 0;
	padding: 4px;
	background: transparent;
	color: #00687f;
}

.login-modern button:focus-visible {
	outline: 2px solid #007f95;
	outline-offset: 3px;
}

/* subir archivos */
#resp_tabla_archivos {
	margin-top: 20px;
}

#resp_tabla_archivos td.acciones {
	margin: 0;
	padding: 0;
}

#resp_tabla_archivos td.acciones a {
	color: #333;
	padding: 0;
	margin: 5px 2px;
}

#resp_tabla_archivos td.acciones a:hover {
	background: transparent;
	color: rgb(33, 150, 243); /* azul claro */
}

#resp_tabla_archivos div.alert {
	margin-top: 20px;
}

.botones_recibidas_enviadas button {
	text-transform: capitalize;
}

#recibidas_enviadas,
#lista_empresas {
	border-bottom: 1px solid #ddd;
	color: #00687f;
	text-transform: uppercase;
}

.botones_lista_archivos {
	margin: -55px 0 0 0;
}

#tab_lista_archivos div.form-group {
	margin-bottom: 0;
}

#ocr_generar_lotes_select {
	margin-top: 10px;
}

/*
#lista_empresas_chosen{
	width: 100% !important;
}
*/

.select2-container--default
	.select2-selection--multiple
	.select2-selection__choice {
	min-width: 20%;
	background: #fafafa;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default.select2-container--focus
	.select2-selection--multiple {
	border: 0;
}

.select2-container--default .select2-selection--single {
	border: 0;
}

.select2-container--focus {
	border: 0 !important;
	outline: 1px dotted #ccc !important;
	outline-offset: 0;
}

#tabla_lista_archivos td a {
	color: #5e5e5e;
}

.botones_subir_archivos a {
	margin-left: 10px;
}

.excluir_lotes i {
	color: red;
}

a.excluir_lotes.incluir i {
	color: #222;
}

.caja_popover {
	margin-top: 20px;
	min-width: 147px;
	min-height: 196px;
}

.caja_popover img {
	width: 100%;
}

.cerrar_popover {
	float: right;
	margin-top: -20px !important;
}

.cerrar_popover i {
	font-size: 24px !important;
}

.dataTables_wrapper .dataTables_paginate a.paginate_button.current,
.dataTables_wrapper .dataTables_paginate a.paginate_button.current:hover {
	background: #00687f !important;
	color: #fff !important;
}

table.dataTable.no-footer {
	border-bottom: 1px solid #ddd;
}

.dataTables_wrapper .dataTables_filter input {
	border: 1px solid #ddd;
	border-radius: 20px !important;
	padding-left: 16px !important;
}

/* breadcrumbs */
.breadcrumb > li {
	padding-top: 5px;
}

.breadcrumb > li span.badge{
	display: block;
    float: right;
}

div.caja_breadcrumbs {
	margin-top: 10px;
	margin-bottom: 10px;
	border: 1px solid #e2e8f0;
	border-radius: 9px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

div.caja_breadcrumbs ol.breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	min-height: 48px;
	padding: 0 20px !important;
	border-bottom: 0;
	margin: 0 !important;
	background: transparent;
	overflow: visible;
}

div.caja_breadcrumbs ol.breadcrumb > li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	font-size: 13px;
	line-height: 1.3;
}

div.caja_breadcrumbs ol.breadcrumb #seccion_breadcrumbs {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

div.caja_breadcrumbs ol.breadcrumb i.fa-lg {
	font-size: 14px;
}

div.caja_breadcrumbs ol.breadcrumb a {
	color: #526477;
	font-weight: 500;
	text-decoration: none;
}

div.caja_breadcrumbs ol.breadcrumb a:hover {
	color: #00687f;
}

div.caja_breadcrumbs ol.breadcrumb > li.active #seccion_breadcrumbs {
	padding: 6px 7px;
	border-radius: 7px;
	background: #eef8fa;
	color: #00687f;
	font-weight: 700;
}

div.caja_breadcrumbs ol.breadcrumb > li.breadcrumb-context {
	margin-right: 10px;
	color: #94a3b8;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

div.caja_breadcrumbs ol.breadcrumb > li.breadcrumb-step:not(.active)::after {
	content: "\f054";
	font-family: FontAwesome;
	margin: 0 3px 0 8px;
	color: #b8c2ce;
	font-size: 9px;
	font-weight: 400;
	line-height: 1;
}

div.caja_breadcrumbs ol.breadcrumb > li.breadcrumb-step {
	gap: 0;
}

div.caja_breadcrumbs ol.breadcrumb > li.breadcrumb-step i {
	color: #78909c;
}

div.caja_breadcrumbs ol.breadcrumb > li.breadcrumb-step.active i {
	color: #00687f;
}

div.caja_breadcrumbs > div.caja_breadcrumbs {
	margin: 0 !important;
	border: 0;
	border-radius: inherit;
	box-shadow: none;
}

.sele_empresa > .card {
	border-radius: 10px;
	overflow: hidden;
}

div.caja_breadcrumbs .breadcrumb > li + li:before {
	content: "";
}

.breadcrumb > .active{
	font-weight: bold;
}


.badge-success {
	background: #8bc34a;
}

/* no encontrado */
.texto_no_encontrado p i {
	font-size: 100px;
}

.form-control {
	border: 0;
}

.input-group[class*="col-"] {
	border: 1px solid #ddd;
}

span.select2-container {
	width: 100% !important;
	/* width: inherit !important; */
}

.dataTables_length span.select2-container {
	width: inherit !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
	border: 1px solid #ddd;
}

.input-group
	.select2-container
	.select2-selection--single
	.select2-selection__rendered {
	border: 0;
}

textarea {
	border: 1px solid #ddd !important;
}

.input-group .input-group-addon {
	vertical-align: middle !important;
}

.bootstrap-select > .btn-default,
#filtro_ano {
	border: 0 !important;
}

.bootstrap-select.btn-group .btn .filter-option,
#filtro_ano .filter-option {
	padding: 0 10px;
}

.bootstrap-select > .btn-default:before {
	right: 5px;
}

/* GENERAL */
#header {
	background: #00687f; /* color corporativo */
	z-index: 1000;
}

#img_tunuve_header {
	height: 35px;
	margin: -9px 0 0 7px;
	max-height: 35px;
}

#img_tunuve_header img {
	height: 100%;
	max-height: 45px;
}

#img_tunuve_header.qipert {
	height: 45px;
	max-height: 45px;
}

#img_tunuve_header[src*="logo_sanjuan"] {
	height: 45px;
	max-height: 45px;
}

#img_tunuve_header.sisquella,
#img_tunuve_header.alvarezreal,
#img_tunuve_header.lopezalvarez,
#img_tunuve_header.gyl,
#img_tunuve_header.amtresasesores,
#img_tunuve_header.aconfisa {
	margin-top: -11px;
	height: 45px;
	max-height: 45px;
}

#header li.pull-right {
	margin-right: 20px;
}

#header li.pull-right a.fa-2x {
	font-size: 1.7em;
	padding-top: 8px;
}

#sidebar {
	background: #f4f7fb;
	z-index: 2000;
  position: fixed;
  top: 65px;
  left: 0;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 3px 0 25px rgba(15, 23, 42, 0.06);
}

#sidebar .profile-menu > a {
	background-image: url("../img/tunuve.png");
}

#sidebar .main-menu {
	margin: 0;
	padding: 14px 10px 10px;
}

#sidebar .main-menu > li {
	background: #ffffff;
	margin-bottom: 6px;
	border-radius: 14px;
	border-left: 5px solid transparent;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
	overflow: hidden;
}

#sidebar .main-menu > li:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

#sidebar .main-menu > li:hover,
#sidebar .main-menu > li.active {
	background: #f1f7fd;
}

#sidebar .main-menu > li:hover,
#sidebar .main-menu > li.active {
	border-left-color: rgba(0, 104, 127, 0.65);
}

#sidebar .main-menu > li > a,
#sidebar .main-menu > li.sub-menu > ul > li > a {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 12px !important;
	padding: 11px 16px !important;
	color: #00687f !important;
	font-weight: 500 !important;
	position: relative !important;
}

#sidebar .main-menu > li.sub-menu > ul > li > a {
	padding-left: 46px !important;
	justify-content: flex-start !important;
}

#sidebar .main-menu > li.sub-menu > a:before {
	order: 2;
	margin-left: auto;
	font-size: 13px;
	color: #94a3b8;
}

#sidebar .main-menu > li > a > i,
#sidebar .main-menu > li.sub-menu > ul > li > a i {
	position: static !important;
	left: auto !important;
	top: auto !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	font-size: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 12px !important;
	color: #00687f !important;
	transition: background 0.18s ease, color 0.18s ease !important;
}

#sidebar .main-menu > li.sub-menu > ul > li > a:hover i,
#sidebar .main-menu > li.active > a > i,
#sidebar .main-menu > li:hover > a > i {
	background: rgba(0, 104, 127, 0.12) !important;
	color: #00687f !important;
}

#sidebar .main-menu > li.sub-menu > ul > li > a:hover {
	color: #0f172a !important;
	background: rgba(0, 104, 127, 0.08) !important;
	border-radius: 12px !important;
}

#sidebar .main-menu > li > a > i {
	padding: 0;
	font-size: 18px;
	color: #0f172a;
}

.top-menu > li {
	color: #fff;
	margin: 0px 0 5px 5px 5px;
	float: left;
}

.top-menu > li > a {
	color: rgb(255, 255, 255);
	height: 40px;
	padding: 5px;
	text-align: center;
	float: left;
}

#contenedor-switch {
	margin: 22px 0 0 0;
	float: left;
	clear: none;
}

div.select_periodo {
	position: absolute;
	right: 0;
	top: 15px;
}

div.select_periodo div.select {
	width: 30%;
	margin-left: 3%;
	float: right;
	border: 1px solid #ddd;
	padding: 0 5px;
	position: relative;
}

html:not(.ie9) .select:before {
	background-position: 15px calc(100% - 7px);
}

.btn .caret {
	margin-left: 8px;
}

.tab-nav:not([data-tab-color]) > li > a:after {
	background: #00687f;
}

.tab-nav > li.active > a {
	color: #00687f;
	font-weight: bold;
	background: #eee;
}

/* inicio */
p.cliente_top{
	font-weight: bold;
	background: #dbf6ff;
	color: #333;
}

.cuadro_inicio .num_fila{
	background: none;
    color: #5e5e5e;
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    float: left;
    text-align: center;
}

.cuadro_inicio p.cliente_top .num_fila{
	background: #00687f;
    color: #fff;
}


#top_clientes p:hover,
#top_proveedores p:hover,
#variaciones_clientes p:hover,
#variaciones_proveedores p:hover,
#tab_cobros_ptes p:hover,
#tab_pagos_ptes p:hover {
	cursor: pointer;
	background: #fafafa;
}

#seccion_inicio .select_limit {
	position: absolute;
	right: 15px;
	z-index: 20;
}

#seccion_inicio .div_f_desde,
#seccion_inicio .div_f_hasta {
	float: left;
	margin: 0px 0px 0;
	padding: 0 0px 20px 10px;
	max-width: 200px;
}

#seccion_inicio .div_f_desde label,
#seccion_inicio .div_f_hasta label {
	margin: 0 0 1px;
	padding: 0 0 0 5px;
}

.cuadro_inicio p.fila_cuadro_inicio {
	border: 0;
}

.cuadro_inicio p.fila_cuadro_inicio.corporativo {
	margin: 0;
	padding: 0 5px;
}

.cuadro_inicio {
	margin: 0 0 30px 0;
	overflow: hidden;
}

.cuadro_inicio p {
	border-top: 1px dashed rgb(206, 206, 206);
	font-size: 14px;
	margin: 0;
	padding: 2px 5px;
	clear: both;
}

.cuadro_inicio p span {
	float: right;
	width: 100px;
	text-align: right;
}

.cuadro_inicio p.corporativo {
	border: 0;
}

#btn_lista_facturas {
	padding: 2px 7px;
	margin-right: 10px;
}

#btn_lista_facturas i {
	color: #8bc34a;
}

#seccion_lista_gastos ul.dropdown-menu{
	margin-left: -108px;
}

#btn_lista_gastos {
	padding: 2px 15px;
}

#btn_lista_gastos i {
	color: #fbb36b;
}

#btn_caja_diaria {
	padding: 2px 15px;
}

p.filtros_inicio button,
p.filtros_inicio .btn-group.bootstrap-select.pull-right {
	width: 100px;
	float: right;
}

.chart.stats-bar i {
	margin: 0 0 0 8px;
	background: #fff;
	border-radius: 35px;
	padding: 10px 15px;
	width: 70px;
	height: 70px;
	display: block;
	text-shadow: 0;
	text-align: center;
	color: #aaa;
}

div.diferencias .chart.stats-bar {
	display: none;
}

div.diferencias div.count {
	text-align: right;
}

.chart.stats-bar i.fa-euro {
	padding-left: 7px;
}

.mini-charts-item div.count small {
	font-size: 14px;
	padding-top: 10px;
}

.grafico_ingresos {
	margin: 20px;
	min-height: 290px;
	padding-top: 30px;
}

.gauge-canvas {
	text-align: center;
}

ul.gauge-meta {
	padding: 0;
}

ul.gauge-meta li {
	float: none;
	text-align: center;
	list-style: none;
	width: 100%;
	font-weight: bold;
	font-size: 18px;
	margin: 0;
	padding: 0;
}

.graficos_inicio h4 {
	text-align: center;
	margin: 50px 0 0 0;
}

p.filtros_inicio button,
p.filtros_inicio .pull-right {
	width: 100px;
	float: right;
}

label.et_periodo {
	padding: 7px 5px 0 0;
	float: right;
}

.botones_inicio a,
.botones_inicio div.btn-group {
	margin-right: 10px;
}

.card .card-body.card-padding {
	padding: 30px 26px !important;
}

span.lcqc {
	margin-top: -2px;
}

span.lcqc .id_tipo_gasto_pf {
	border: 0;
	background: transparent;
}

span.lcqc_titulo {
	text-align: center !important;
}

/* facturas */
/*#seccion_editar_factura div.card-body {
	overflow: hidden;
}*/

/*#form_anadir_factura div[role="tabpanel"]{
	overflow: hidden;
}*/

#resp_listado_facturas,
#resp_listado_gastos {
	width: 90%;
}

.boton_anadir,
.boton_anadir_factura,
.boton_anadir_gasto,
.boton_anadir_ppto,
.boton_anadir_asesor {
	position: absolute;
	right: 26px;
	top: 40px;
	z-index: 999;
}

.boton_anadir_ppto,
.boton_anadir_producto,
.boton_anadir_contacto,
.boton_anadir_solicitud,
.boton_anadir_trabajador,
.boton_anadir_nomina,
.boton_anadir_documento,
.boton_anadir_asesoria {
	margin-top: -17px;
}

.boton_anadir_horario {
	margin-bottom: 5px;
}

.tabla_general {
	position: relative;
}

.tabla_general .boton_anadir {
	top: 0;
	right: 0;
}

#btn_anadir_caja_diaria {
	margin: 0;
}

#datos_contacto,
#datos_generales {
	width: 100%;
}

#seccion_editar_factura #tab_general h4 {
	padding-bottom: 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
}

#btn_anadir_contacto {
	position: absolute;
	right: 15px;
	top: -5px;
}

#toggle_div_detalle_contacto {
	float: right;
	display: block;
	margin-top: -20px;
}

#div_detalle_contacto {
	display: none;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 3px;
	padding: 20px;
	overflow: hidden;
}

#div_detalle_contacto div.select span.value{
	height: 36px;
}

#btn_guardar_contacto {
	width: 100%;
}

.boton_anadir_notificacion {
	margin-top: -55px;
}

/*
.boton_anadir_gasto ul.dropdown-menu{
	margin-top: -40px;
}
*/

#resp_remesas {
	margin-top: 20px;
}

/* editar factura */
#btn_ant {
	margin-right: 10px;
}

#btn_sig:hover {
	background: #00687f;
	color: #fff;
}

#breadcrumb-factura,
#breadcrumb-contacto {
	padding-left: 5px;
}

#breadcrumb-factura > li > a,
#breadcrumb-factura > li + li:before,
#breadcrumb-contacto > li > a,
#breadcrumb-contacto > li + li:before {
	color: #ccc;
	font-size: 16px;
}

#breadcrumb-factura > li.active > a,
#breadcrumb-contacto > li.active > a,
#breadcrumb-factura > li > a:hover,
#breadcrumb-contacto > li > a:hover {
	color: #00687f;
}

div.caja_breadcrumbs ol.breadcrumb li.pull-right {
	margin-left: auto !important;
	text-align: right;
	min-width: 0;
}

div.caja_breadcrumbs ol.breadcrumb li.pull-right > a {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 10px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
	color: #334155;
	font-weight: 600;
}

div.caja_breadcrumbs ol.breadcrumb li.pull-right > a:hover {
	border-color: #cbd5e1;
	background: #fff;
	color: #00687f;
}

#guardar_concepto {
	border-radius: 5px;
	text-transform: capitalize;
}

#guardar_concepto:hover {
	background: #8bc34a;
}

p.botones_ant_sig {
	text-align: right;
	clear: both;
	overflow: hidden;
	margin: 20px 0;
	padding: 20px 0;
	border-top: 1px solid #eee;
	width: 100%;
}

#tabla_vtos,
#tabla_pagos {
	border-top: 0;
	margin-top: 20px;
}

#tabla_vtos  th,
#tabla_pagos th {
	font-weight: bold;
}

#tabla_vtos  td.acciones a,
#tabla_pagos td.acciones a {
	margin-right: 10px;
}

.form_header {
	margin: 30px 0 30px 0px;
	color: #444;
}

#form_concepto {
	background: #fafafa;
}

#form_concepto input {
	width: 80px;
	height: 30px;
	text-align: right;
}

#form_concepto .select2 span {
	text-align: right;
}

#form_concepto #toggle_productos {
	margin: 12px 0;
	float: left;
}

#toggle_productos i {
	margin-top: 3px;
}

#div_tiene_recargo_concepto,
#div_es_suplido_concepto {
	padding-top: 7px;
}

span.total_factura.color_corporativo.negrita,
b.et_total_factura {
	font-size: 18px;
	font-weight: bold;
}

#cuadro_conceptos {
	display: none;

	border: 1px solid #efefef;
	padding: 20px 5px;
	background: #fafafa;
	margin: 10px 0;
}

#cuadro_conceptos input,
#cuadro_conceptos select {
	width: 100%;
	margin-bottom: 5px;
}

th.concepto {
	margin: 0 0 0 -20px;
	padding: 0 0 0 7px !important;
	text-align: left;
}

.div_tabla_conceptos {
	overflow-x: auto !important;
	margin-top: 10px;
	font-weight: bold;
	padding-left: 15px;
	padding-top: 5px;
}

.div_tabla_conceptos .m-r-20 {
	margin: 0;
	padding: 0;
}

#tabla_conceptos td,
#tabla_conceptos th {
	padding: 5px;
	text-align: center;
}

#tabla_conceptos th {
	font-weight: bold;
}

#tabla_conceptos td {
	font-weight: normal;
}

#tabla_conceptos td.acciones a {
	padding: 0 1px;
	margin: 0;
}

.totales_conceptos,
.totales_vtos,
.totales_pagos {
	margin: 20px 0;
	overflow: hidden;
}

.totales_conceptos p,
.totales_vtos p,
.totales_pagos p {
	border-bottom: 1px solid #eee;
	margin: 2px 0 10px;
	padding: 5px 0 2px 0;
}

.totales_conceptos p {
	border-bottom: 1px solid #eee;
	margin: 2px 0 10px;
	padding: 5px 0 0 0;
}

.totales_conceptos span,
.totales_vtos span,
.totales_pagos span {
	float: right;
}

#lista_irpf > span > span.selection {
	float: none;
}

#lista_irpf > span,
#select2-irpf_perc-container,
#lista_irpf > span > span.selection > span {
	width: 100% !important;
}

#total_irpf {
	float: right;
	text-align: right;
	width: 100px;
	margin: -5px 0 0 0;
	border: 0;
	background: none;
}

#lista_irpf > span {
	margin: -10px 0 0 -5px;
}

#lista_irpf > span > span.selection > span {
	padding: 0;
	margin: 5px 0;
}

div.observaciones div.input-group {
	width: 100%;
}

table td > span.capitalize,
table td > span.alert-success,
table td > span.alert-info,
table td > span.alert-warning,
table td > span.alert-danger,
table td > span.alert-zebba {
	display: inline-block;
	margin: 0 !important;
	padding: 3px 10px;
	border-radius: 20px;
	border: 0;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .02em;
}

.dataTables_wrapper table.dataTable tbody td {
	vertical-align: middle;
}

.dataTables_wrapper table.dataTable > tbody > tr:last-child > td {
	padding-bottom: 8px;
}

table td > span.alert-success { background: #dcfce7; color: #15803d; }
table td > span.alert-info { background: #e0f2fe; color: #0369a1; }
table td > span.alert-warning { background: #ffedd6; color: #c2410c; }
table td > span.alert-danger { background: #fee2e2; color: #b91c1c; }
table td > span.alert-zebba { background: #f1f5f9; color: #64748b; }

div.cubre_switcher {
	width: 86px;
	height: 34px;
	position: absolute;
	z-index: 2000;
}

.resp_modal,
#resp_anadir_ticket,
#resp_anadir_otro_gasto,
#resp_anadir_notificacion,
#resp_anadir_pago {
	margin-top: 30px;
}

.lista_concepto {
	margin-bottom: 20px;
}

#form_vto,
#form_pago {
	display: none;
	width: 100%;
	float: left;
	clear: both;
	margin-top: 12px;
}

#lista_total_factura,
#lista_total_factura_original {
	clear: both;
	padding: 20px 0 0;
	text-align: left !important;
	border-top: 1px solid #efefef;
	margin: 60px 0 40px 0;
	float: left;
	clear: both;
	width: 100%;
}

#lista_total_factura_original {
	display: none;
	margin-top: 0;
}

/* presupuestos */
#resp_tabla_lista_pptos,
#resp_tabla_lista_productos,
#resp_tabla_lista_contactos,
#resp_tabla_lista_solicitudes,
#resp_tabla_lista_tareas,
#resp_tabla_lista_trabajadores,
#resp_tabla_lista_documentos,
#resp_tabla_lista_asesorias,
#resp_tabla_lista_empresas {
	margin-top: 15px;
}

/* nominas */
#div_toggle_nominas {
	background: #fafafa;
	border: 1px solid #eee;
	padding: 20px;
	display: none;
}

#resp_generar_nominas {
	margin: 15px 0;
}

#caja_upload_nomina_archivo #upload,
#caja_upload_nomina_archivo_multiple #upload {
	margin-bottom: 0;
}

#btn_anadir_nomina {
	margin: -39px 41px;
}

/* contactos */
#form_anadir_contacto div.tab-pane {
	padding-top: 30px;
}

#form_anadir_contacto .div_direccion{
	margin-bottom: 32px;
}

#seccion_editar_contacto .btn_cliente_proveedor {
	float: left;
	margin-right: 5px;
}

#seccion_editar_contacto .div_ids_etiquetas span.select2-selection.select2-selection--multiple{
	min-height: 306px;
}

#seccion_lista_contactos .btn_cliente_proveedor{
	float: left;
	margin-right: 5px;
}

.vtos-tabla-header .btn_cliente_proveedor {
	display: flex;
	gap: 6px;
	float: none !important;
	margin: 0 !important;
}

.vtos-tabla-header .btn_cliente_proveedor .btn,
.botones_albaranes .btn[data-facturados] {
	height: 32px;
	padding: 0 12px !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	font-size: 11px !important;
	font-weight: 500 !important;
}

.botones_albaranes .well {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: none;
}


/* vencimientos */
.vtos-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding-bottom: 20px;
	margin-bottom: 24px;
	border-bottom: 1px solid #eef0f3;
}

.vtos-toolbar-titulo {
	display: flex;
	align-items: center;
	gap: 14px;
}

.vtos-toolbar-icono {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #e0f7f7;
	color: #00687f;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.vtos-toolbar-titulo h2 {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 2px 0;
}

.vtos-toolbar-titulo p {
	font-size: 12px;
	color: #778699;
	margin: 0;
}

.vtos-toolbar-acciones {
	display: flex;
	align-items: center;
	gap: 8px;
}

a.vtos-btn-icono,
button.vtos-btn-icono,
button[class*="botones_multiple"],
.acciones_multiples > button,
#dropdown_requerimiento_hacienda > button {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	height: 38px;
	padding: 0 14px !important;
	border-radius: 9px !important;
	border: 1px solid #e2e8f0 !important;
	background: #fff !important;
	color: #2C3F58 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	cursor: pointer;
	text-decoration: none;
	text-shadow: none !important;
	box-shadow: none;
	transition: box-shadow .15s ease, transform .1s ease, border-color .15s ease;
}

a.vtos-btn-icono:hover,
button.vtos-btn-icono:hover,
button[class*="botones_multiple"]:hover,
.acciones_multiples > button:hover,
#dropdown_requerimiento_hacienda > button:hover {
	box-shadow: 0 4px 14px rgba(0,0,0,.08);
	transform: translateY(-1px);
	border-color: #c8d0da;
	color: #2C3F58 !important;
	text-decoration: none;
}

button.vtos-btn-icono[disabled],
button[class*="botones_multiple"][disabled],
.acciones_multiples > button[disabled] {
	opacity: .45;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.vtos-btn-icono i {
	font-size: 14px;
}

button[class*="botones_multiple"]:before,
.acciones_multiples > button:before {
	font-family: "FontAwesome";
	content: "\f085";
	font-size: 14px;
}

button[class*="botones_multiple"],
.acciones_multiples > button,
#dropdown_requerimiento_hacienda > button,
#btn_dropdown_acciones_multiples_vencimientos,
button#acciones_multiples,
.conciliacion-listado-header #caja_btn > .dropdown-toggle {
	gap: 7px;
	height: 34px !important;
	padding: 0 14px !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 9px !important;
	background: #fff !important;
	color: #2C3F58 !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	text-transform: uppercase;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
}

button[class*="botones_multiple"]:hover,
.acciones_multiples > button:hover,
#dropdown_requerimiento_hacienda > button:hover,
#btn_dropdown_acciones_multiples_vencimientos:hover,
button#acciones_multiples:hover,
.conciliacion-listado-header #caja_btn > .dropdown-toggle:hover {
	box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0 rgba(0, 0, 0, .15);
}

button[class*="botones_multiple"][disabled],
.acciones_multiples > button[disabled],
#btn_dropdown_acciones_multiples_vencimientos[disabled] {
	box-shadow: none;
}

.vtos-toolbar-acciones .vtos-btn-icono {
	height: 32px;
}

.vtos-toolbar-acciones a.vtos-btn-icono {
	justify-content: center;
	width: 38px;
	padding: 0 !important;
}

.vtos-toolbar-acciones a.vtos-btn-icono.vtos-btn-texto {
	width: auto;
	padding: 0 10px !important;
}

.vtos-toolbar-acciones > .btn-group {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.vtos-toolbar-acciones > .btn-group > .dropdown-toggle {
	border-radius: 8px !important;
}

.vtos-toolbar-acciones > .btn-group > .dropdown-menu {
	padding: 6px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, .14);
}

.vtos-toolbar-acciones > .btn-group > .dropdown-menu > li > a {
	border-radius: 7px;
}

.btn_anadir_gasto + .dropdown-menu > li > a {
	text-align: left;
}

.gastos-menu-acciones > .dropdown-menu > li > a {
	text-align: left;
}

#btn_dropdown_acciones_multiples_vencimientos,
#btn_dropdown_acciones_multiples_vencimientos:focus {
	outline: 0 !important;
}

#btn_refrescar_vencimientos i {
	transition: transform .4s ease;
}

#btn_refrescar_vencimientos:active i {
	transform: rotate(180deg);
}

.vtos-layout {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.vtos-calendario {
	flex: 1 1 640px;
	min-width: 0;
}

.vtos-filtros {
	flex: 0 0 300px;
	width: 300px;
	background: #f8fafc;
	border: 1px solid #eef0f3;
	border-radius: 12px;
	padding: 18px 18px 6px 18px;
}

@media (max-width: 991px) {
	.vtos-filtros {
		flex: 1 1 100%;
		width: 100%;
	}
}

.vtos-filtros-header {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #778699;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}

.vtos-filtros-header i {
	color: #00687f;
}

.vtos-filtros .form-group {
	margin-bottom: 14px;
}

.vtos-filtros label.control-label {
	font-size: 12px;
	font-weight: 600;
	color: #475569;
}

.vtos-filtro-fila {
	display: flex;
	gap: 10px;
}

.vtos-filtro-fila > div {
	flex: 1;
	min-width: 0;
}

.vtos-filtros input[type="date"] {
	border-radius: 8px !important;
	border: 1px solid #dbe1e8 !important;
	height: 34px;
	cursor: pointer;
	text-align: center;
}

.full_calendar {
	border: 1px solid #eef0f3;
	border-radius: 12px;
	background: #fff;
}

.fc-toolbar {
	background: #00687f !important;
	margin-bottom: 0;
	padding: 16px 18px !important;
	border-radius: 12px 12px 0 0;
}

.full_calendar h2 {
	color: #fff !important;
	font-size: 17px;
	font-weight: 700;
}

.fc-toolbar .ui-button > span,
.fc-toolbar .fc-state-default {
	font-family: "FontAwesome" !important;
	color: #fff !important;
}

.fc-toolbar .ui-button > span.ui-icon-circle-triangle-w:before {
	content: "\f137" !important;
}

.fc-toolbar .ui-button > span.ui-icon-circle-triangle-e:before {
	content: "\f138" !important;
}

.fc-toolbar .ui-button,
.fc-toolbar .fc-state-default,
.fc-toolbar button.fc-button {
	background: transparent !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	text-shadow: none !important;
	color: #fff !important;
}

.fc-toolbar .fc-right button {
	min-width: 42px;
	padding: 6px 9px !important;
}

.fc-toolbar .ui-state-hover,
.fc-toolbar .fc-state-hover {
	background: rgba(255,255,255,.26) !important;
}

.fc-toolbar .ui-state-active,
.fc-toolbar .fc-state-active {
	background: #fff !important;
	border-color: #fff !important;
	color: #00687f !important;
}

.fc th {
	background: #00687f !important;
	color: #fff !important;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	border-color: #00687f !important;
	padding: 8px 0;
}

.fc-unthemed td,
.fc-unthemed th,
.fc td,
.fc th {
	border-color: #eef0f3;
}

.fc-day-number {
	font-size: 12px;
	color: #334155;
	padding: 6px 8px !important;
}

.fc-today,
td.fc-today {
	background: #f0fbfb !important;
}

#calendar_vencimientos table.fc-header {
	float: left;
}


div.fc-left button.fc-prev-button,
div.fc-left button.fc-next-button {
	margin-top: -11px;
	font-size: 18px;
	float: left !important;
}

div.fc-left h2 {
	float: left !important;
	width: auto;
	display: inline-block;
}

div.fc-right {
	color: #64748b;
	text-align: center;
}

div.fc-right button {
	float: right;
	margin: 0;
	padding: 0;
	text-align: right;
}

.fc-event,
.full_calendar .fc-event {
	border-radius: 6px;
	border-width: 0 !important;
	font-size: 11px;
	font-weight: 600;
	box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.fc-day-grid-event {
	margin: 2px 4px !important;
	padding: 2px 6px;
}

.fc-day-grid-event .fc-content {
	white-space: normal;
}

.fc-day-grid-event .fc-content .fc-time {
	display: block;
	width: 100%;
	float: left;
}

a.fc-more {
	display: inline-block;
	margin: 2px 4px;
	padding: 2px 8px;
	border-radius: 20px;
	background: #eef2f6;
	color: #475569 !important;
	font-size: 11px !important;
	font-weight: 700;
	text-decoration: none !important;
}

a.fc-more:hover {
	background: #00687f;
	color: #fff !important;
	text-decoration: none !important;
}

.fc-popover {
	background: #fff;
	z-index: 9999;
}

.fc-more-popover {
	width: 280px;
	max-width: 90vw;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 28px rgba(15,23,42,.18);
	border: 1px solid #eef0f3;
}

.fc-popover .fc-header,
.fc-unthemed .fc-popover .fc-header,
.fc-popover .ui-widget-header {
	background: #f8fafc;
	border-bottom: 1px solid #eef0f3;
	padding: 8px 12px !important;
}

.fc-popover .fc-body,
.fc-popover .fc-event-container {
	background: #fff;
}

.fc-popover .fc-header .fc-title {
	font-size: 12px;
	font-weight: 700;
	color: #0f172a;
	text-transform: capitalize;
}

.fc-popover .fc-header .fc-close {
	color: #94a3b8;
	font-size: 14px !important;
}

.fc-popover .fc-header .fc-close:hover {
	color: #475569;
}

.fc-more-popover .fc-event-container {
	max-height: 260px;
	overflow-y: auto;
}

.fc-more-popover .fc-event-container .fc-day-grid-event {
	margin: 3px 6px !important;
}

.vtos-tabla-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin: 32px 0 14px 0;
}

.vtos-tabla-header h3 {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.vtos-tabla-header h3 i {
	color: #00687f;
	margin-right: 4px;
}

.caja-diaria-listado-header {
	margin-top: 14px;
}

.gastos-listado-header {
	margin-top: 28px;
	margin-bottom: 28px;
}

.facturas-listado-header {
	margin-top: 28px;
	margin-bottom: 28px;
}

.profit-first-listado-header {
	margin-top: 28px;
	margin-bottom: 11px;
}

.empresas-listado-header {
	margin-bottom: 6px;
}

.gastos-tabs-toolbar,
.facturas-tabs-toolbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	position: relative;
	z-index: 20;
	box-shadow: inset 0 -2px 0 0 #eee;
}

.gastos-tabs-toolbar .tab-nav,
.facturas-tabs-toolbar .tab-nav {
	min-width: 0;
	box-shadow: none;
}

.gastos-tabs-toolbar > .vtos-toolbar-acciones,
.facturas-tabs-toolbar > .vtos-toolbar-acciones {
	align-self: center;
	white-space: nowrap;
	position: relative;
	top: -3px;
	z-index: 21;
}

.gastos-tabs-toolbar + .tab-content,
.facturas-tabs-toolbar + .tab-content {
	padding-top: 11px;
}

.facturas-tabs-toolbar > .boton_anadir_factura {
	float: none;
	margin: 0;
}

.facturas-tab-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 11px;
}

.facturas-filtro-inmovilizado {
	display: inline-flex !important;
	align-items: center;
	height: 34px;
	margin: 0 !important;
	padding: 0 14px 0 40px !important;
	border: 1px solid #e2e8f0;
	border-radius: 9px;
	background: #f8fafc;
	color: #475569;
	font-size: 12px;
	font-weight: 600;
}

.facturas-filtro-inmovilizado .input-helper {
	position: absolute;
	left: 12px;
	top: 50%;
	width: 17px;
	height: 17px;
	transform: translateY(-50%);
}

.facturas-filtro-inmovilizado > input[type="checkbox"] {
	left: 12px;
	top: 50%;
	margin: 0 !important;
	transform: translateY(-50%);
}

.facturas-filtro-inmovilizado > span {
	transform: translateY(1px);
}

.facturas-tab-acciones > .btn-group {
	margin: 0 !important;
}

.facturas-tab-acciones > .btn-group > button,
.facturas-tab-acciones > .vtos-btn-icono {
	height: 34px !important;
}

.facturas-tab-acciones > a.vtos-btn-icono,
.facturas-tab-acciones > button.vtos-btn-icono {
	width: 38px;
	padding: 0 !important;
	justify-content: center;
}

.facturas-menu-acciones > .dropdown-menu > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	text-align: left;
}

.facturas-menu-acciones > .dropdown-menu > li > a > i {
	margin-left: auto;
}

.facturas-tab-listado-header {
	margin-top: 0;
	margin-bottom: 11px;
}

.facturas-borradores-acciones > .vtos-btn-icono,
.facturas-simplificadas-acciones > .vtos-btn-icono,
.facturas-periodicas-acciones > .vtos-btn-icono,
.facturas-otros-ingresos-acciones > .vtos-btn-icono,
.facturas-otros-sif-acciones > .vtos-btn-icono {
	height: 34px !important;
}

.facturas-simplificadas-acciones > .btn-group > button,
.facturas-periodicas-acciones > .btn-group > button,
.facturas-otros-sif-acciones > .btn-group > button {
	height: 34px !important;
}

.facturas-borradores-acciones > a.vtos-btn-icono,
.facturas-borradores-acciones > button.vtos-btn-icono:not(.vtos-btn-texto),
.facturas-simplificadas-acciones > a.vtos-btn-icono,
.facturas-simplificadas-acciones > button.vtos-btn-icono,
.facturas-periodicas-acciones > a.vtos-btn-icono,
.facturas-periodicas-acciones > button.vtos-btn-icono,
.facturas-otros-ingresos-acciones > button.vtos-btn-icono:not(.vtos-btn-texto),
.facturas-otros-sif-acciones > a.vtos-btn-icono,
.facturas-otros-sif-acciones > button.vtos-btn-icono:not(.vtos-btn-texto) {
	width: 38px;
	padding: 0 !important;
	justify-content: center;
}

.facturas-otros-sif-header {
	justify-content: space-between;
}

.facturas-otros-sif-izquierda {
	display: flex;
	align-items: center;
	gap: 8px;
}

.facturas-otros-sif-izquierda > .vtos-btn-icono {
	height: 34px !important;
}

.gastos-tab-listado-header {
	margin-top: 0;
}

#tab_inmovilizado .gastos-tab-listado-header {
	min-height: 32px;
}

#resp_tabla_vencimientos span.alert-success,
#resp_tabla_vencimientos span.alert-warning,
#resp_tabla_vencimientos span.alert-zebba {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .02em;
}

#resp_tabla_vencimientos span.alert-success {
	background: #dcfce7;
	color: #15803d;
}

#resp_tabla_vencimientos span.alert-warning {
	background: #ffedd6;
	color: #c2410c;
}

#resp_tabla_vencimientos span.alert-zebba {
	background: #e2e8f0;
	color: #475569;
}

.mini-charts-item i.fa-balance-scale {
	font-size: 48px;
	padding-left: 7px;
}

#resp_info_vencimientos {
	padding: 15px;
	margin: -30px 0 30px 0;
	border: 1px solid #eee;
	width: 100%;
}

#resp_info_vencimientos table {
	width: 100%;
}

/* caja diaria */
#calendar_caja_diaria {
	margin-top: 30px;
}

#lista_apuntes {
	margin-top: 20px;
}

.acciones_caja_diaria h4 {
	margin-top: 30px;
	float: left;
	clear: both;
	width: 100%;
}

/* lista empresas */

/* cuentas */

.sortable li {
	list-style: none;
}

.sortable li:hover {
	cursor: move;
}

ul.columnas .list-group-item.oblig {
	font-weight: bold;
}

ul.columnas a.toogle_campo_columna.activo i {
	color: #8bc34a;
}

ul.columnas a.toogle_campo_columna.inactivo i {
	color: #eee;
}

/* Importación */
.cuentas-importacion-modern .cuentas-importacion-cabecera,
.cuentas-importacion-modern .cuentas-importacion-contenido {
	margin-bottom: 10px;
	border: 1px solid #dbe5e8;
	border-radius: 12px;
	box-shadow: 0 2px 7px rgba(28, 54, 67, 0.05);
}

.cuentas-importacion-modern .cuentas-importacion-cabecera .card-body {
	padding: 18px 20px 22px !important;
}

.cuentas-importacion-modern .cuentas-importacion-contenido > .card-body.card-padding {
	padding: 18px 20px 22px !important;
}

.cuentas-importacion-modern .facturas-tabs-toolbar > .tab-nav {
	overflow-x: auto !important;
	overflow-y: hidden !important;
}

.cuentas-importacion-modern .tab-content {
	padding-top: 11px;
}

.cuentas-importacion-modern #tabs_cuentas .tab-pane {
	display: none !important;
}

.cuentas-importacion-modern #tabs_cuentas .tab-pane.active {
	display: block !important;
}

.cuentas-importacion-modern #facturas_importacion > .row:first-child .alert {
	margin-bottom: 16px;
	padding: 15px 42px 13px 18px;
	box-shadow: none;
}

.cuentas-importacion-modern #facturas_importacion > .row:first-child .alert h4 {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
}

.cuentas-importacion-modern #facturas_importacion > .row:first-child .alert ul {
	columns: 2;
	column-gap: 34px;
	margin: 0;
	padding-left: 20px;
}

.cuentas-importacion-modern #facturas_importacion > .row:first-child .alert li {
	break-inside: avoid;
	margin-bottom: 3px;
	line-height: 1.45;
}

.cuentas-importacion-modern #btn_plantilla_facturas {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 28px;
	padding: 4px 9px;
	border: 1px solid #cbdde2;
	border-radius: 7px;
	background: #fff;
	box-shadow: none;
	color: #00687f;
	font-weight: 600;
}

.cuentas-importacion-modern .alert a.btn,
.cuentas-importacion-modern .alert a.btn:hover,
.cuentas-importacion-modern .alert a.btn:focus {
	text-decoration: none;
}

.cuentas-importacion-modern #facturas_importacion .columnas_excel > .row:first-child {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 16px;
	border: 1px solid #e0e8eb;
	border-radius: 10px;
	background: #f8fafb;
}

.cuentas-importacion-modern #aviso_configuracion_importacion .alert {
	margin: 0 0 12px;
	padding-top: 10px;
	padding-bottom: 10px;
	box-shadow: none;
}

.cuentas-importacion-modern #aviso_configuracion_importacion .close {
	display: none;
}

.cuentas-importacion-modern #facturas_importacion .cuentas-configuracion-importacion {
	align-items: stretch;
}

.cuentas-importacion-modern .file_upload,
.cuentas-importacion-modern .file_upload > div,
.cuentas-importacion-modern .file_upload #upload {
	height: 100%;
}

.cuentas-importacion-modern .file_upload #upload,
.importacion-pf-modern .file_upload #upload {
	min-height: 104px;
	padding: 0;
	background: transparent;
}

.cuentas-importacion-modern .file_upload #drop,
.importacion-pf-modern .file_upload #drop {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 104px;
	margin: 0;
	padding: 16px 20px;
	border: 1px dashed #9fcbd4;
	border-radius: 9px;
	background: #fff;
	font-size: 12px;
}

.cuentas-importacion-modern .file_upload #drop br,
.importacion-pf-modern .file_upload #drop br {
	display: none;
}

.cuentas-importacion-modern .file_upload #drop a,
.importacion-pf-modern .file_upload #drop a {
	margin: 0 0 8px;
	padding: 9px 15px;
	border-radius: 8px;
	font-size: 12px;
}

.cuentas-importacion-modern .file_upload #texto_dropzone,
.importacion-pf-modern .file_upload #texto_dropzone {
	font-size: 11px;
	font-weight: 500;
	text-transform: none;
}

.cuentas-importacion-modern #facturas_importacion .columnas_excel > .row:first-child > div {
	padding-right: 8px;
	padding-left: 8px;
}

.cuentas-importacion-modern #facturas_importacion .columnas_excel h4 {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 600;
	color: #203f4c;
}

.cuentas-importacion-modern #facturas_importacion .columnas_excel .form-group {
	margin-bottom: 12px;
}

.cuentas-importacion-modern #facturas_importacion .columnas_excel .select2-selection {
	border-color: #d5e1e5;
	border-radius: 8px;
}

.cuentas-importacion-modern #facturas_importacion .columnas_excel > hr {
	margin: 16px 0;
	border-color: #e2e8eb;
}

.cuentas-importacion-modern #toggle_caja_posiciones {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 5px 10px;
	border: 1px solid #d8e3e7;
	border-radius: 8px;
	box-shadow: none;
	font-size: 11px;
	color: #315363;
}

.cuentas-importacion-modern .cuentas-posiciones-toolbar {
	width: 100%;
	margin-bottom: 8px;
	margin-left: 0;
	margin-right: 0;
}

.cuentas-importacion-modern .cuentas-posiciones-toolbar > .col-lg-12 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0;
}

.cuentas-importacion-modern .cuentas-posiciones-toolbar > .col-lg-12 > div:first-child {
	padding-left: 15px;
}

.cuentas-importacion-modern .cuentas-posiciones-toolbar h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #203f4c;
}

.cuentas-importacion-modern .cuentas-posiciones-toolbar p {
	margin: 2px 0 0;
	font-size: 12px;
	color: #738691;
}

.cuentas-importacion-modern .cuentas-posiciones-toolbar #toggle_caja_posiciones {
	float: none !important;
}

.cuentas-importacion-modern #resp_posiciones_columnas {
	width: calc(100% - 15px);
	max-width: 885px;
	margin-left: 15px;
}

.cuentas-importacion-modern #resp_posiciones_columnas:not(:empty) {
	margin-top: 15px;
}

.cuentas-importacion-modern .cuentas-columnas-confirmacion {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 8px;
	padding: 8px 11px;
	border: 1px solid #bfe3c2;
	border-radius: 8px;
	background: #eff9ef;
	font-size: 12px;
	font-weight: 600;
	color: #2e6b34;
}

.cuentas-importacion-modern .cuentas-columnas-confirmacion i {
	color: #43a047;
}

.cuentas-importacion-modern #caja_posiciones {
	clear: both;
	width: calc(100% - 15px);
	max-width: 885px;
	max-height: 430px;
	margin-top: 15px;
	margin-left: 15px;
	padding: 12px;
	border: 1px solid #dde6e9;
	border-radius: 10px;
	background: #f8fafb;
	overflow-y: auto;
}

.cuentas-importacion-modern #caja_posiciones > div {
	float: none;
	width: 100%;
	padding: 0;
}

.cuentas-importacion-modern #caja_posiciones > div:nth-child(2) {
	display: none;
}

.cuentas-importacion-modern #caja_posiciones ul {
	margin-bottom: 0;
}

.cuentas-importacion-modern #caja_posiciones .list-group-item {
	min-height: 35px;
	padding: 7px 12px;
	border-color: #e1e7ea;
	line-height: 19px;
}

.cuentas-importacion-modern #caja_posiciones .columnas .list-group-item {
	position: relative;
	display: flex;
	align-items: center;
	border-radius: 0;
	background: #fff;
	color: #405461;
	padding-right: 148px;
}

.cuentas-importacion-modern #caja_posiciones .columnas {
	counter-reset: columna-excel;
}

.cuentas-importacion-modern #caja_posiciones .columnas .list-group-item::after {
	position: absolute;
	top: 4px;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 105px;
	height: 27px;
	border-radius: 6px;
	background: #eef4f6;
	counter-increment: columna-excel;
	content: "Columna " counter(columna-excel, upper-alpha);
	font-size: 11px;
	font-weight: 600;
	color: #607b88;
}

.cuentas-importacion-modern #caja_posiciones .columnas .list-group-item > .pull-right {
	position: absolute;
	top: 8px;
	right: 122px;
	float: none !important;
}

.cuentas-importacion-modern #caja_posiciones .columnas .list-group-item:hover {
	background: #f2f8f9;
}

/* Contenido común de las pestañas de importación */
.cuentas-importacion-modern #tabs_cuentas .tab-pane > .row {
	margin-right: 0;
	margin-left: 0;
}

.cuentas-importacion-modern #tabs_cuentas .tab-pane > .row > .col-xs-12,
.cuentas-importacion-modern #tabs_cuentas .tab-pane > .row > .col-12 {
	padding-right: 0;
	padding-left: 0;
}

.cuentas-importacion-modern #plan_contable .alert,
.cuentas-importacion-modern #trabajadores_importacion > .row:first-child .alert,
.cuentas-importacion-modern #facturas_periodicas_importacion > .row:first-child .alert,
.cuentas-importacion-modern #importacion_contactos .alert,
.cuentas-importacion-modern #importacion_productos .alert {
	margin-bottom: 14px;
	padding: 14px 42px 12px 18px;
	box-shadow: none;
}

.cuentas-importacion-modern #tabs_cuentas .tab-pane .alert h4 {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 700;
}

.cuentas-importacion-modern #tabs_cuentas .tab-pane .alert ul {
	margin-bottom: 0;
	padding-left: 20px;
}

.cuentas-importacion-modern #tabs_cuentas .tab-pane .alert li {
	margin-bottom: 3px;
	line-height: 1.45;
}

.cuentas-importacion-modern #plan_contable .btn_group,
.cuentas-importacion-modern #expediciones_importacion > .row > div > a {
	margin: 0 0 12px 8px;
}

.cuentas-importacion-modern #plan_contable .btn_group .btn,
.cuentas-importacion-modern #expediciones_importacion .btn,
.cuentas-importacion-modern #importacion_contactos .alert .btn,
.cuentas-importacion-modern #importacion_productos .alert .btn,
.cuentas-importacion-modern #trabajadores_importacion .alert .btn,
.cuentas-importacion-modern #facturas_periodicas_importacion .alert .btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	padding: 4px 9px;
	border: 1px solid #d3e0e4;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	font-size: 11px;
	font-weight: 600;
	color: #246074;
}

.cuentas-importacion-modern #plan_contable #caja_cuentas,
.cuentas-importacion-modern #expediciones_importacion #caja_expediciones,
.cuentas-importacion-modern #importacion_contactos #caja_importacion_contactos,
.cuentas-importacion-modern #importacion_productos #caja_importacion_productos,
.cuentas-importacion-modern #facturas_periodicas_importacion #caja_facturas_periodicas_importacion {
	clear: both;
	margin-top: 10px;
}

.cuentas-importacion-modern #plan_contable > .row > div > h4 {
	clear: both;
	margin: 18px 0 10px;
	font-size: 16px;
	font-weight: 700;
	color: #203f4c;
}

.cuentas-importacion-modern #plan_contable #resp_tabla_cuentas {
	padding: 12px;
	border: 1px solid #dde6e9;
	border-radius: 10px;
	background: #fff;
}

/* Correspondencia de columnas de trabajadores */
.cuentas-importacion-modern #trabajadores_importacion .columnas_excel {
	max-width: 900px;
	max-height: 430px;
	margin-bottom: 16px;
	padding: 12px;
	border: 1px solid #dde6e9;
	border-radius: 10px;
	background: #f8fafb;
	overflow-y: auto;
}

.cuentas-importacion-modern #trabajadores_importacion .columnas_excel > .row {
	margin: 0;
}

.cuentas-importacion-modern #trabajadores_importacion .columnas_excel > .row > div:first-child {
	float: none;
	width: 100%;
	padding: 0;
}

.cuentas-importacion-modern #trabajadores_importacion .columnas_excel > .row > div:nth-child(2) {
	display: none;
}

.cuentas-importacion-modern #trabajadores_importacion .columnas_excel h4 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: #203f4c;
}

.cuentas-importacion-modern #trabajadores_importacion ul.columnas {
	margin-bottom: 0;
	counter-reset: columna-trabajador;
}

.cuentas-importacion-modern #trabajadores_importacion ul.columnas .list-group-item {
	position: relative;
	min-height: 35px;
	padding: 7px 145px 7px 12px;
	border-color: #e1e7ea;
	background: #fff;
	line-height: 19px;
}

.cuentas-importacion-modern #trabajadores_importacion ul.columnas .list-group-item::after {
	position: absolute;
	top: 4px;
	right: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 105px;
	height: 27px;
	border-radius: 6px;
	background: #eef4f6;
	counter-increment: columna-trabajador;
	content: "Columna " counter(columna-trabajador, upper-alpha);
	font-size: 11px;
	font-weight: 600;
	color: #607b88;
}

.cuentas-importacion-modern #importacion_contactos,
.cuentas-importacion-modern #importacion_productos {
	padding: 4px 0 0 !important;
}

@media (max-width: 991px) {
	.cuentas-importacion-modern #facturas_importacion > .row:first-child .alert ul {
		columns: 1;
	}

	.cuentas-importacion-modern #facturas_importacion .columnas_excel > .row:first-child {
		display: block;
	}
}

/* lotes */
.boton_anadir_lote {
	position: absolute;
	top: 15px;
	right: 15px;
}

#botones_anos_lotes {
	margin-bottom: 20px;
}

#botones_anos_archivos {
	margin-left: 20px;
}

/* soporte */
.tel_contacto {
	text-align: center;
	width: 100%;
	font-weight: bold;
	font-size: 18px;
	margin: 30px 0 50px 0;
	float: left;
	clear: both;
}

#form_soporte label {
	padding-top: 7px;
}

/* configuracion */
.caja_imagen_logo {
	height: 304px;
}

#form_configuracion div.tab-pane {
	padding: 20px 0;
}

.tabla_configuracion,
.tabla_tipos_iva {
	margin: 0;
	width: 100%;
}

.tabla_configuracion th,
.tabla_tipos_iva th {
	text-align: center;
}

.tabla_configuracion td {
	padding: 2px;
	text-align: right;
	width: 40%;
}

.tabla_configuracion tr td:first-child {
	width: 200px;
	padding-right: 5px;
}

.tabla_configuracion input,
.tabla_tipos_iva input {
	width: 100%;
}

.tabla_tipos_iva {
	margin: 10px 0 50px 0;
	padding: 0;
	width: 100%;
}

.tabla_tipos_iva td {
	padding: 2px;
}

.tabla_tipos_irpf td {
	padding-top: 2px;
	padding-bottom: 2px;
}

.tabla_configuracion tr td:first-child {
	width: 20%;
}

#info_s10 {
	margin-top: 50px;
}

.caja_guardar_configuracion {
	margin: 0 0 50px 0;
	overflow: hidden;
	clear: both;
	width: 100%;
}

#seccion_configuracion ul.tab-nav > li > a {
	text-transform: none;
}

ul.tab-nav > li > a {
	outline: 1px dotted #ccc;
	text-transform: none;
}

.panel-collapse .panel-heading {
	background-color: #efefef;
}

.panel-collapse .panel-heading::before,
.panel-collapse .panel-heading::after {
	padding-left: 10px;
}

.panel-collapse .panel-heading .panel-title > a {
	padding-top: 10px;
	padding-bottom: 10px;
}

#div_subir_logotipo {
	width: 100%;
	float: left;
	clear: both;
}

/* asesores */
#tabla_contabilidad_laboral {
	clear: both;
	float: none;
	margin: 0 0 30px;
	padding: 0 15px;
	width: 100%;
}

#tabla_contabilidad_laboral p {
	margin: 0 0 5px 0;
	font-weight: bold;
}

#tabla_contabilidad_laboral table th,
#tabla_contabilidad_laboral table td {
	border: 1px solid #ddd;
	padding: 5px;
}

#seccion_editar_asesoria .tab-content {
	padding-top: 50px;
}

#btn_anadir_asesor {
	margin-left: 10px;
}

#caja_empresas_conta {
	margin-top: 10px;
}

.editar_asesor li {
	float: left;
}

/* selección de empresas */
#anadir_empresa{
	width: 100%;
    margin-top: 25px;
}

#resp_sele_empresa {
	text-align: center;
	padding-left: 5px;
}



#resp_sele_empresa p{
	width: auto;
    padding: 20px;
    background: #fafafa;
    border: 1px solid #eee;
    margin: 0 15px;
}

#resp_sele_empresa ul.main-menu {
	margin: 0;
    padding: 0;
}

#resp_sele_empresa ul.main-menu ul{
	padding: 5px 0 20px 30px;
}

#seccion_sele_empresa .bootstrap-select {
	border: 1px solid #ddd;
}

#resp_sele_empresa p span {
	font-weight: bold;
	text-transform: uppercase;
	color: #333;
}

#resp_sele_empresa p.boton_sele_empresa {
	margin: 10px 0 13px 10px;
}

p.boton_sele_empresa i {
	margin: 2px 7px 0 0;
	padding: 0;
}

#resp_sele_empresa ul li {
	list-style: none;
	margin: 5px 0;
	text-align: left;
}

#resp_sele_empresa ul li a:hover{
	text-decoration: none;
	cursor: pointer;
	font-weight: bold;
}

#resp_sele_empresa ul li a{
	margin-bottom: 10px;
    display: block;
}

#resp_sele_empresa > ul > li {
	min-width: 200px;
    width: calc(25% - 20px) !important;
    height: 415px;
    background: #fff;
    float: left;
    padding: 0px;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 14px;
    overflow: hidden;
}

#resp_sele_empresa > ul > li > a{
	border-bottom: 1px solid #ccc;
    font-size: 16px;
    display: block;
    padding: 10px 0 10px 15px;
    margin: 0px 0 10px;
    background: #00687f;
    color: #fff;
}

#resp_sele_empresa > ul > li > a:hover{
	text-decoration: none;
	cursor: default;
	font-weight: normal;
}



#resp_sele_empresa span.bs-badge {
	display: none !important;
}

.solo_gratuito {
}

span.pro {
	float: right;
	margin-right: 10px;
	display: none;
}

.badge,
.bs-badge {
	border-radius: 10px;
}

.badge-warning {
	background: #ffedd6;
	border: 1px solid #ffedd6;
	color: #f27f68;
}

/* validador */
.caja_validador {
	min-height: 1200px;
	background: #fff;
	padding: 3px;
	border-radius: 3px;
}

#visor_pdf {
	height: 100%;
}

#visor_imagen {
	width: 100%;
	/*min-height: 800px;*/
}

#mlens_wrapper_0 {
	width: auto !important;
}

.linea_concepto {
	width: 100%;
	margin: 0;
	padding: 0;
	clear: both;
	position: relative;
}

.linea_concepto input,
.linea_concepto p {
	width: 40%;
	float: left;
	margin: 0;
	padding: 0;
	font-size: 11px;
}

.linea_concepto p {
	font-weight: bold;
	text-align: center;
}

.linea_concepto input {
	text-align: right;
	margin: 0 1px;
}

.linea_concepto .num_concepto {
	width: 15%;
}

.linea_concepto .perc_concepto {
	width: 9%;
}

.linea_concepto span {
	display: block;
	float: left;
	margin: 0 0 0 2%;
	text-align: center;
	width: 6%;
}

.linea_concepto span label {
	margin-left: 3%;
}

#texto_concepto0,
#texto_concepto1,
#texto_concepto2,
#texto_concepto3,
#texto_concepto4 {
	text-align: left;
}

div.total_factura {
	clear: both;
	float: left;
	padding-top: 5px;
	width: 100%;
}

div.total_factura p {
	margin: 5px 0;
}

div.total_factura p span {
	font-size: 24px;
	float: right;
}

div.total_factura input {
	float: right;
	font-size: 12px;
	padding: 0;
	text-align: right;
	width: 60px;
}

div#botones_guardar {
	width: 100%;
	border-top: 1px solid #eee;
	padding: 10px 0;
}

.linea_concepto div.validacion {
	display: none;
}

span.emisor_o_receptor {
	font-weight: bold;
	font-size: 18px;
}

span.nombre_emisor_receptor {
	font-size: 16px;
}

.checkbox .input-helper::before,
.radio .input-helper::before {
	background: #fff;
}

#botones_direccion button:hover {
	background: #00687f;
	color: #fff;
}

#form_validador div.form-group {
	margin-bottom: 15px;
}

#caja_rechazar {
	padding: 30px 10px 20px 10px;
	border: 1px solid #dedede;
	background: #fafafa;
}

#texto_concepto1,
#texto_concepto2,
#texto_concepto3,
#texto_concepto4,
#texto_concepto5 {
	text-align: left !important;
}

p#error_doc {
	padding: 50px 0;
	width: 100%;
	text-align: center;
	position: absolute;
	top: 92px;
}

div.validador #botones_guardar a.btn,
div.validador #botones_guardar button{
	margin-bottom: 10px;
}

/* Validador: composicion y controles */
.validador-modern .validador-page-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 10px;
	padding: 15px 18px;
	background: #fff;
	border: 1px solid #dce7ea;
	border-radius: 12px;
	box-shadow: 0 3px 12px rgba(20, 53, 66, .05);
}

.validador-modern .validador-page-icon,
.validador-modern .validador-panel-title > i {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #e8f7f8;
	color: #006f83;
	font-size: 17px;
}

.validador-modern .validador-page-header h2,
.validador-modern .validador-panel-title h3 {
	margin: 0;
	color: #173b47;
	font-weight: 700;
}

.validador-modern .validador-page-header h2 {
	font-size: 20px;
}

.validador-modern .validador-page-header p,
.validador-modern .validador-panel-title p {
	margin: 3px 0 0;
	color: #718496;
	font-size: 12px;
}

.validador-modern .seccion_validador {
	margin-bottom: 20px;
	border: 1px solid #dce7ea;
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(20, 53, 66, .06);
	overflow: visible;
}

.validador-modern .seccion_validador > .card-body {
	padding: 12px;
}

.validador-modern .row.validador {
	display: flex;
	align-items: stretch;
	margin: 0 -6px;
}

.validador-modern .row.validador > .caja_validador,
.validador-modern .row.validador > .caja_formulario {
	float: none;
	padding: 0 6px;
}

.validador-modern .row.validador > .caja_validador {
	width: 44%;
	min-height: 0;
}

.validador-modern .row.validador > .caja_formulario {
	width: 28%;
}

.validador-modern .caja_validador,
.validador-modern .caja_formulario {
	background: #fff;
}

.validador-modern .validador-panel-title {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	margin-bottom: 10px;
	padding: 8px 10px;
	border-bottom: 1px solid #e6edef;
}

.validador-modern .validador-panel-title > i {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	font-size: 14px;
}

.validador-modern .validador-panel-title h3 {
	font-size: 15px;
}

.validador-modern #visor_pdf {
	height: 720px !important;
	border: 1px solid #dce7ea;
	border-radius: 9px;
	overflow: hidden;
	background: #f5f8f9;
}

.validador-modern #visor_pdf iframe {
	height: 100%;
}

.validador-modern #visor_imagen {
	border: 1px solid #dce7ea;
	border-radius: 9px;
}

.validador-modern #caja_derecha,
.validador-modern #botones_direccion,
.validador-modern #botones_guardar {
	margin: 0;
}

.validador-modern #datos_emisor_receptor {
	margin-bottom: 12px;
	padding: 12px;
	border: 1px solid #cce7ec;
	border-radius: 9px;
	background: #f0fafb;
}

.validador-modern #form_validador .form-group {
	margin-bottom: 12px;
}

.validador-modern .validador-form-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 12px;
	margin-bottom: 2px;
}

.validador-modern .validador-form-grid > .form-group,
.validador-modern .validador-form-grid #caja_vto .form-group {
	margin-bottom: 0;
}

.validador-modern #form_validador .control-label {
	margin-bottom: 6px;
	color: #243f49;
	font-size: 12px;
	font-weight: 700;
}

.validador-modern #form_validador .form-control,
.validador-modern #form_validador .bootstrap-select > .btn,
.validador-modern #form_validador .select2-container .select2-selection {
	height: 36px;
	padding: 0;
	border: 1px solid #d6e1e5;
	border-radius: 7px;
	background: #fff;
	box-shadow: none;
}

.validador-modern #form_validador .input-group[class*="col-"] {
	border: 0;
	background: transparent;
}

.validador-modern .div_f_factura .input-group:after,
.validador-modern .div_f_operacion .input-group:after,
.validador-modern .div_f_vto .input-group:after {
	content: "\f073";
	position: absolute;
	top: 50%;
	right: 10px;
	z-index: 5;
	color: #607d8b;
	font-family: FontAwesome;
	font-size: 14px;
	pointer-events: none;
	transform: translateY(-50%);
}

.validador-modern .div_f_factura input,
.validador-modern .div_f_operacion input,
.validador-modern .div_f_vto input {
	padding-right: 48px;
}

.validador-modern .div_f_factura .validacion,
.validador-modern .div_f_operacion .validacion,
.validador-modern .div_f_vto .validacion {
	right: 29px;
}

.validador-modern #form_validador .select2-container {
	width: 100% !important;
}

.validador-modern #form_validador .select2-selection__rendered {
	display: flex;
	align-items: center;
	height: 34px;
	padding: 0 12px;
	line-height: 1 !important;
	text-align: left;
}

.validador-modern #form_validador .select2-container .select2-selection__arrow {
	height: 34px;
}

.validador-modern #form_validador .div_id_contacto {
	margin-top: 4px;
}

.validador-modern #caja_contacto {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 12px;
}

.validador-modern #caja_contacto > .form-group {
	margin-bottom: 0;
}

.validador-modern #caja_contacto .div_tipo_persona,
.validador-modern #caja_contacto .div_nif,
.validador-modern #caja_contacto .div_id_tipo_vto,
.validador-modern #caja_contacto .div_num_dias_vto_contacto {
	grid-column: span 6;
}

.validador-modern #caja_contacto .div_tipo_persona,
.validador-modern #caja_contacto .div_nif {
	order: 1;
}

.validador-modern #caja_contacto .div_nombre,
.validador-modern #caja_contacto .div_direccion,
.validador-modern #caja_contacto .div_pais {
	grid-column: 1 / -1;
}

.validador-modern #caja_contacto .div_nombre {
	order: 2;
}

.validador-modern #caja_contacto .div_nombre > label,
.validador-modern #caja_contacto .div_cp > label,
.validador-modern #caja_contacto .div_poblacion > label,
.validador-modern #caja_contacto .div_poblacion_extr > label {
	text-transform: uppercase !important;
}

.validador-modern #caja_contacto #div_apellidos {
	display: grid;
	order: 3;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.validador-modern #caja_contacto #div_apellidos.oculto {
	display: none;
}

.validador-modern #caja_contacto #div_apellidos .form-group {
	margin-bottom: 0;
}

.validador-modern #caja_contacto .div_direccion {
	order: 4;
}

.validador-modern #caja_contacto .div_cp {
	order: 5;
	grid-column: span 4;
}

.validador-modern #caja_contacto .div_cp,
.validador-modern #caja_contacto .div_poblacion {
	margin-bottom: 0 !important;
}

.validador-modern #caja_contacto .div_poblacion,
.validador-modern #caja_contacto .div_poblacion_extr {
	order: 6;
	grid-column: span 8;
}

.validador-modern #caja_contacto .div_poblacion div.select span.value {
	display: flex;
	align-items: center;
	height: 36px;
	padding: 0 12px !important;
	border: 1px solid #d6e1e5;
	border-radius: 7px;
	background: #fff;
}

.validador-modern #caja_contacto .div_pais {
	order: 7;
}

.validador-modern #caja_contacto .div_id_tipo_vto,
.validador-modern #caja_contacto .div_num_dias_vto_contacto {
	order: 8;
}

.validador-modern #ver_contacto {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 7px;
	color: #00758a;
	font-size: 12px;
	font-weight: 600;
}

.validador-modern #form_validador input,
.validador-modern #form_validador select,
.validador-modern #caja_rechazar textarea,
.validador-modern #caja_rechazar select {
	border-radius: 7px;
}

.validador-modern .validador-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 43px;
	margin-bottom: 12px !important;
	padding: 4px 0;
}

.validador-modern .validador-nav p,
.validador-modern .validador-nav-buttons {
	float: none !important;
	margin: 0;
	padding: 0 !important;
}

.validador-modern .validador-nav p {
	width: 100%;
	margin-top: 5px;
	text-align: center;
	color: #536b76;
	font-size: 12px;
	font-weight: 600;
}

.validador-modern .validador-nav p:before {
	content: "\f017";
	margin-right: 6px;
	color: #00758a;
	font-family: FontAwesome;
}

.validador-modern .validador-nav-buttons {
	display: flex;
	justify-content: center;
	gap: 6px;
	width: 100%;
}

.validador-modern .validador-nav .btn,
.validador-modern #botones_guardar .btn,
.validador-modern #btn_datos_klippa,
.validador-modern #btn_rechazar {
	border-radius: 7px;
}

.validador-modern .validador-nav-buttons > .btn {
	float: none;
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 7px;
	border: 1px solid #d6e1e5;
	border-radius: 8px !important;
	background: #fff;
	color: #31505c;
}

.validador-modern .validador-nav-buttons > .btn:hover,
.validador-modern .validador-nav-buttons > .btn:focus {
	border-color: #00758a;
	background: #00758a;
	color: #fff;
}

.validador-modern #bloque_conceptos {
	padding: 12px;
	border: 1px solid #e1e9ec;
	border-radius: 9px;
	background: #fbfcfc;
}

.validador-modern #bloque_conceptos > h4 {
	margin: 0 0 8px;
	color: #173b47;
	font-size: 14px;
	font-weight: 700;
}

.validador-modern .linea_concepto {
	display: flex;
	align-items: center;
	gap: 3px;
	min-height: 29px;
	margin-bottom: 5px;
}

.validador-modern .linea_concepto input {
	float: none;
	height: 29px;
	margin: 0;
	border: 1px solid #d8e1e4;
	border-radius: 5px;
	color: #111;
}

.validador-modern .linea_concepto input[id^="texto_concepto"] {
	text-align: left !important;
}

.validador-modern .linea_concepto input[id^="importe_concepto"],
.validador-modern .linea_concepto input[id^="iva_perc_concepto"],
.validador-modern .linea_concepto input[id^="total_iva_concepto"] {
	text-align: center;
}

.validador-modern .linea_concepto p,
.validador-modern .linea_concepto span {
	float: none;
	margin: 0;
}

.validador-modern #bloque_conceptos > .linea_concepto:first-of-type p {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.validador-modern #bloque_conceptos > .linea_concepto:first-of-type p:first-child {
	width: 6%;
	justify-content: flex-start;
	transform: translateX(-3px);
}

.validador-modern #bloque_conceptos > .linea_concepto:first-of-type p:last-child {
	width: 6%;
	margin-left: 4px;
	justify-content: flex-end;
	text-align: right !important;
}

.validador-modern #bloque_conceptos > .linea_concepto:first-of-type p:nth-child(5) {
	width: 15%;
}

.validador-modern .linea_concepto span:last-child {
	margin-left: 4px;
	text-align: right;
}

.validador-modern .total_factura {
	display: flex;
	justify-content: flex-end;
}

.validador-modern .linea_concepto + .total_factura {
	margin-top: 12px;
}

.validador-modern .total_factura p {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
}

.validador-modern .total_factura input {
	float: none;
	height: 30px;
	padding: 4px 7px;
	border: 1px solid #d8e1e4;
	border-radius: 6px;
}

.validador-modern #botones_guardar {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 12px !important;
	padding: 12px 0 0;
}

.validador-modern #botones_guardar .btn {
	float: none !important;
	margin: 0 !important;
}

.validador-modern #btn_validar {
	margin-left: auto !important;
	background: #00758a;
	border-color: #00758a;
	color: #fff;
}

.validador-modern #caja_rechazar {
	margin-top: 12px;
	padding: 16px;
	border-radius: 9px;
}

.validador-modern .validador-empty {
	max-width: 540px;
	margin: 54px auto;
	padding: 34px 28px;
	text-align: center;
	border: 1px solid #dce7ea;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(20, 53, 66, .08);
}

.validador-modern .validador-empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 15px;
	border-radius: 50%;
	background: #e8f7f8;
	color: #00758a;
	font-size: 24px;
}

.validador-modern .validador-empty h3 {
	margin: 0 0 8px;
	color: #173b47;
	font-size: 18px;
	font-weight: 700;
}

.validador-modern .validador-empty p {
	margin: 0 0 20px;
	color: #718496;
	font-size: 13px;
}

.validador-modern .validador-empty .btn {
	padding: 8px 16px;
	border-radius: 8px;
	background: #00758a;
	color: #fff;
}

.validador-modern .validador-empty-action i {
	margin-right: 7px;
}

@media (max-width: 1199px) {
	.validador-modern .row.validador {
		flex-wrap: wrap;
	}

	.validador-modern .row.validador > .caja_validador {
		width: 55%;
	}

	.validador-modern .row.validador > .caja_formulario {
		width: 45%;
	}

	.validador-modern .row.validador > .caja_formulario:last-child {
		width: 100%;
		margin-top: 12px;
	}
}

@media (max-width: 767px) {
	.validador-modern .validador-form-grid {
		grid-template-columns: 1fr;
	}

	.validador-modern #caja_contacto > .form-group,
	.validador-modern #caja_contacto #div_apellidos {
		grid-column: 1 / -1;
	}

	.validador-modern #caja_contacto #div_apellidos {
		grid-template-columns: 1fr;
	}

	.validador-modern .row.validador {
		display: block;
	}

	.validador-modern .row.validador > .caja_validador,
	.validador-modern .row.validador > .caja_formulario {
		width: 100%;
		margin-bottom: 12px;
	}

	.validador-modern #visor_pdf {
		height: 520px !important;
	}
}


/* contabilización */
.contenedor_contabilizacion ul.tab-nav li {
	display: inline block;
	float: left;
}

.contenedor_contabilizacion input {
	border: 1px solid #ddd;
	padding: 2px 5px;
}

i.alert-warning {
	background: transparent;
}

div.alert a.close {
	margin: -1px -15px 0 0;
	padding: 1px 5px 2px 6px;
	background: #fff;
	border-radius: 10px;
	color: #222;
}

#tab_documento form#upload {
	padding: 0;
	margin: 3px 0 0 0;
}

#tab_documento #visor_imagen {
	min-height: auto;
}

button.selected,
.mostrar_contabilizado.selected {
	background: #00687f !important;
	color: #fff !important;
}

.mostrar_contabilizado.selected i {
	color: #fff !important;
}





#resp_tabla_facturas_exportacion,
#resp_tabla_contabilizacion_pagos {
	overflow-x: hidden;
	display: inline;
}

/* TAREAS */

/* Modal para subir archivos a la tarea */
#modal-anadir-archivo .modal-header {
	margin-bottom: 10px;
}

#modal-anadir-archivo #upload {
	margin-bottom: 10px;
	margin-top: -35px;
}

#modal-anadir-archivo #drop {
	border-color: #aeaeae;
}

#modal-anadir-archivo .card-header {
	padding-top: 10px;
	padding-bottom: 10px;
}

/* Tabla de tareas */
#botones_lista_tareas {
	position: absolute;
	right: 25px;
	margin: 8px 0 0 0;
	padding: 0;
	z-index: 27;
	width: auto;
}

.tabs_tareas {
	width: 100%;
	clear: both;
	margin-top: 20px;
}

#tabla_lista_tareas button.subir_archivo i {
	padding: 0px;
	font-size: 12px;
}

#tabla_lista_tareas button.editar_tarea i {
	padding: 0px;
	font-size: 12px;
}

#caja_subir_archivos {
	margin-top: 40px;
}

#botones_tareas_asesoria {
	width: auto;
	float: right;
	margin: -60px 36px 0 0;
}

#botones_opcion_masiva {
	width: 100%;
	border-bottom: 1px solid #eee;
	margin: -30px 0 20px 0;
	padding-bottom: 10px;
}

#botones_opcion_masiva button {
	float: right;
}

#alert_masiva,
#alert_expediente {
	width: 100%;
	float: left;
	margin: 10px 0 0 0;
}

table.dataTable tbody tr.fila_warning {
	background: #ffedd6 !important;
	color: #f27f62;
}

table.dataTable tbody tr.fila_danger {
	background: #f2dede !important;
	color: #f44336;
}

.info_mostrar_expediente {
	margin: 25px -15px 10px -15px;
}

.info_mostrar_expediente p {
	margin-bottom: 5px;
	border-bottom: 1px dashed #00687f;
}

/* INFORMES */
#resultado_control_empresas {
	font-size: x-small;
}

#resultado_control_empresas thead > tr {
	border-bottom: 1px solid #00687f;
}

.fila_empresa {
	background-color: #cef6f5;
}

.fila_total_asesoria {
	color: #00687f;
	font-weight: bold;
}

.fila_total_tunuve {
	color: #ff0000;
	font-weight: bold;
	border-top: 1px solid #00687f;
}



/* editar_factura2 */
div[data-growl="container"] span,
div[data-growl="container"] button{
	color: inherit;
}

div[data-growl="container"].growl-animated{
	min-width: 260px;
	max-width: 380px;
	padding-left: 46px;
}

div[data-growl="container"] [data-growl="message"]{
	font-weight: 500;
	line-height: 1.35;
}

div[data-growl="container"] [data-growl="message"]:before{
	position: absolute;
	left: 17px;
	top: 50%;
	transform: translateY(-50%);
	font-family: "FontAwesome";
	font-size: 16px;
	font-weight: normal;
}

div[data-growl="container"].alert-success [data-growl="message"]:before{ content: "\f058"; color: #4caf50; }
div[data-growl="container"].alert-info [data-growl="message"]:before{ content: "\f05a"; color: #00758c; }
div[data-growl="container"].alert-warning [data-growl="message"]:before{ content: "\f071"; color: #f2994a; }
div[data-growl="container"].alert-danger [data-growl="message"]:before{ content: "\f06a"; color: #e53935; }

div[data-growl="container"] [data-growl="dismiss"]{
	opacity: .45;
	text-shadow: none;
}

#seccion_editar_factura2 #titulo_pantalla{
	margin: 0;
}

#seccion_editar_factura2 .botones_acciones ul{
	top: 20px;
	right: 15px;
}

#seccion_editar_factura2 .superior .btn_guardar_factura{
	margin-right: 5px;
}

#seccion_editar_factura2 .superior .resp_guardar_factura{
	margin-top: 0;
	padding-top: 24px;
	clear: both;
}

#seccion_editar_factura2 .superior .panel_factura_rectificativa{
	margin: 30px 30px 0;
  	padding: 15px;
  	background: #fafafa;
  	border: 1px solid #eee;
}


#seccion_editar_factura2 .div_btn_toggle_opciones{
	margin-bottom: 0;
}

#seccion_editar_factura2 #btn_toggle_opciones{
	margin-top: 1px;
}

#seccion_editar_factura2 #panel_opciones{
	background: #fafafa;
  border: 1px solid #eee;
  padding: 0 0 20px 0px;
  margin: 0 0 30px 0;
}

#seccion_editar_factura2 #panel_opciones h4{
	padding: 20px 0px 10px 0;
}

#seccion_editar_factura2 #panel_opciones .caja{
	margin: 0 5px;
  padding: 0;
  border: 1px solid #eee;
  overflow: hidden;
  background: #fff;
  border-radius: 5px;
}

#seccion_editar_factura2 #panel_opciones .caja h4{
	margin: 10px 15px 15px 15px;
  border-bottom: 1px solid #00687f;
  padding-bottom: 5px;
  color: #00687f;
}

#seccion_editar_factura2 #panel_opciones .select2-selection.select2-selection--single{
	height: 24px;
}

#seccion_editar_factura2 #panel_opciones .input-group .select2-container .select2-selection--single .select2-selection__rendered{
	margin-top: -6px;
}

#seccion_editar_factura2 #panel_opciones .select2-container--default .select2-selection--single .select2-selection__arrow{
	top: 0;
}

#seccion_editar_factura2 #panel_opciones .bootstrap-switch .bootstrap-switch-handle-off, 
#seccion_editar_factura2 #panel_opciones .bootstrap-switch .bootstrap-switch-handle-on, 
#seccion_editar_factura2 #panel_opciones .bootstrap-switch .bootstrap-switch-label{
	padding: 2px 12px;
}


#seccion_editar_factura2 .cabecera{
	margin: 20px 0 40px;
    padding: 10px 0;
    border-radius: 5px;
}

#seccion_editar_factura2 .cabecera .form-group{
	margin-bottom: 0px;
}


#seccion_editar_factura2 .conceptos{
	margin: 30px 0 60px;
}

#seccion_editar_factura2 .tabla_conceptos2 th,
#modal-analitica-conceptos .tabla_conceptos2 th{
	padding: 0;
	margin: 0;
	font-weight: bold;
	text-align: center;
}

#seccion_editar_factura2 .tabla_conceptos2 td{
	padding: 0;
	margin: 0;
}

#seccion_editar_factura2 tr.fila_factura td{
	position: relative;
	width: 100%;
	margin-top: 5px;
	padding: 0 5px 0 0; 
}

#seccion_editar_factura2 tr.fila_factura td input,
#seccion_editar_factura2 tr.fila_factura td textarea{
  width: 100%;
  margin: 4px;
  border: 1px solid #eee;
  padding: 5px;
  height: 31px;
  min-height: auto;
}

#seccion_editar_factura2 tr.fila_factura td input.numerico,
#modal-analitica-conceptos tr.fila_factura td input.numerico{
	text-align: right;
}

#seccion_editar_factura2 tr.fila_factura td.texto_concepto textarea{
	min-width: 300px;
}


#seccion_editar_factura2 tr.fila_factura td.cantidad input,
#seccion_editar_factura2 tr.fila_factura td.dto input{
	max-width: 200px;
	min-width: 100px;
}

#seccion_editar_factura2 tr.fila_factura td.importe input,
#seccion_editar_factura2 tr.fila_factura td.total_bases_imponibles_concepto input,
#seccion_editar_factura2 tr.fila_factura td.total_iva_concepto input,
#seccion_editar_factura2 tr.fila_factura td.total_rec_equiv_concepto input,
#seccion_editar_factura2 tr.fila_factura td.total_concepto input{
	min-width: 150px;
	max-width: 300px;
}

#seccion_editar_factura2 .tabla_conceptos2 td label.checkbox{
	display: block;
    width: 20px;
    margin: 10px 0 0 30px;
}



#seccion_editar_factura2 tr.fila_factura.fila_total td,
#seccion_editar_factura2 tr.fila_factura.fila_total td input,
#seccion_editar_factura2 tr.fila_factura.fila_subtotal td,
#seccion_editar_factura2 tr.fila_factura.fila_subtotal td input,
#seccion_editar_factura2 tr.fila_factura.fila_irpf td input,
#seccion_editar_factura2 tr.fila_factura.fila_suplido td input{
	font-size: 16px;
	font-weight: bold;
}

#seccion_editar_factura2 tr.fila_factura.fila_irpf .select2,
#seccion_editar_factura2 tr.fila_factura.fila_irpf input{
	text-align: right;
}

#seccion_editar_factura2 tr.fila_factura td > b{
	display: block;
    padding: 10px 0 0 8px;
    font-size: 16px;
	font-weight: bold;
}

#seccion_editar_factura2 tr.fila_total.fila_factura td > b{
	padding-top: 5px;
    font-size: 24px;		
}

#seccion_editar_factura2 tr.fila_factura .div_acciones_concepto a{
	font-size: 18px;
    color: #00687f;
    padding: 5px 0 0 5px;
    display: block;
    margin-top: 1px;
    float: left;
}

#seccion_editar_factura2 tr.fila_factura .div_acciones_concepto a:hover{
	color: red;
}

#seccion_editar_factura2 tr.fila_anadir a.btn_anadir_concepto{
	display: block
}

#seccion_editar_factura2 tr.fila_anadir td{
	border: 0;
    padding: 10px 0 30px 0;
}

#seccion_editar_factura2 tr.fila_anadir td .div_id_producto{
	padding-left: 4px;
	display: block;
}

#seccion_editar_factura2 tr.fila_anadir span.div_id_producto{
	display: block !important;
}

#seccion_editar_factura2 tr.fila_anadir td .div_id_producto .select .value{
	border: 1px solid #eee;
}

#seccion_editar_factura2 tr.fila_anadir td a.btn_modal_producto{
	margin: 7px 0 0 0;
}

#seccion_editar_factura2 tr.fila_total{
	background: #fafafa;
	border-top: 2px solid #ddd;
	border-bottom: 2px solid #ddd;
}

#seccion_editar_factura2 .panel{
	margin-bottom: 0;
	border-bottom: 1px solid #fff;
}

#seccion_editar_factura2 .panel h4, #form_anadir_ticket .panel h4{
	background: #00687f;
	padding: 10px 15px;
	color: #fff;
	margin: 0 15px;
	font-size: 14px;
}

#seccion_editar_factura2 .panel h5{
	font-size: 17px;
}

#seccion_editar_factura2 .panel h4 a.btn,
#form_anadir_ticket .panel h4 a.btn,
#seccion_editar_factura2 .panel h4 i,
#form_anadir_ticket .panel h4 i{
	color: #fff;
    box-shadow: none;
    text-transform: none;
    font-size: 14px;
    margin: -9px 0 0 0;
}

#seccion_editar_factura2 .panel h4 i.fa-caret-down,
#form_anadir_ticket .panel h4 i.fa-caret-down,
#seccion_editar_factura2 .panel h4 i.fa-caret-up,
#form_anadir_ticket .panel h4 i.fa-caret-up{
	font-size: 17px;
}

#seccion_editar_factura2 .caja_panel,
#form_anadir_ticket .caja_panel{
	padding: 20px 15px;
    border: 1px solid #eee;
    overflow: hidden;
    margin: 0 15px;
}

#form_anadir_ticket .panel h4 a.btn:hover,
#seccion_editar_factura2 .panel h4 a.btn:hover{
	text-decoration: underline;
}

#seccion_editar_factura2 .p_relative a.btn,
#seccion_editar_factura2 .p_relative button.btn{
	position: absolute;
    top: 0;
    right: 0;	
}

#seccion_editar_factura2 #form_vto,
#seccion_editar_factura2 #form_pago {
	display: block;
	float: none;
	clear: both;
}

#seccion_editar_factura2 #form_vto input.numerico,
#seccion_editar_factura2 #form_pago input.numerico{
	text-align: right;
	padding-right: 25px;
}

#seccion_editar_factura2 .totales_vtos,
#seccion_editar_factura2 .totales_pagos,
#seccion_editar_factura2 #tabla_vtos,
#seccion_editar_factura2 #tabla_pagos{
	margin-top: 0;
}

#seccion_editar_factura2 .div_vtos .div_id_tipo_vto{
	margin-bottom: 5px;
}

#seccion_editar_factura2 #alert_no_vtos,
#seccion_editar_factura2 #alert_no_pagos{
	margin-top: 10px;
	width:  100%;
	clear: both;
}

#seccion_editar_factura2 #tabla_vtos td,
#seccion_editar_factura2 #tabla_pagos td{
	padding: 5px;
}
#seccion_editar_factura2 #tabla_vtos td.acciones a, 
#seccion_editar_factura2 #tabla_pagos td.acciones a{
	margin-right: 5px;
}

#seccion_editar_factura2 #upload{
	margin-bottom: 0;
	padding-bottom: 0;
	background: transparent;
}

#seccion_editar_factura2 #upload ul li{
	padding: 10px;
}

#seccion_editar_factura2 #upload ul li canvas{
	left: 12px;
}

#seccion_editar_factura2 #upload ul li p{
	left: 70px;
	font-size: 12px;
}

#seccion_editar_factura2 #upload #drop{
	padding: 100px 20px;
}

#seccion_editar_factura2 #upload #texto_dropzone{
	font-size: 16px;
	text-transform: none;
}

#seccion_editar_factura2 #upload a{
	font-size: 16px;
	text-transform: none;
	padding: 15px 20px;
}

#seccion_editar_factura2 .resp_guardar_factura li{
	list-style: circle;
	margin-bottom: 3px;
}

#seccion_editar_factura2 .resp_guardar_factura div.alert-warning li{
	list-style: circle;
}

#seccion_editar_factura2 .resp_guardar_factura li a{
	color: #0a860a;
}

#seccion_editar_factura2 .resp_guardar_factura li a:hover{
	cursor: pointer;
	text-decoration: underline;;
}

#seccion_editar_factura2 .resp_guardar_factura li a i{ 
	font-size: 16px;
}

#seccion_editar_factura2 #caja_documento{
	background: #fafafa;
    padding: 0 20px 20px 20px;
    border: 1px solid #eee;
    margin: 0 15px;
}

#seccion_editar_factura2 #eliminar_documento{
	position: relative;
}

#seccion_editar_factura2 .div_asesor p{
	padding: 10px 0 0 0;
	margin: 0;
}

/* Editor de facturas */
#seccion_editar_factura2 .factura-editor-card{
	max-width: 1600px;
	margin: 0 auto 30px;
	background: #fff;
	border: 1px solid #e4e9ef;
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(44, 63, 88, .06);
	overflow: visible;
}

#seccion_editar_factura2 .factura-editor-card > .card-body{
	padding: 24px 28px 30px;
}

#seccion_editar_factura2 .superior{
	margin: 0 0 22px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e8edf2;
}

#seccion_editar_factura2 .superior > .p-relative{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	flex-wrap: wrap;
	float: none;
}

#seccion_editar_factura2 #titulo_pantalla{
	display: flex;
	align-items: center;
	position: relative;
	top: 12px;
	height: 34px;
	margin-left: 4px;
	margin-right: auto;
	color: #243447;
	font-size: 17px;
	font-weight: 600;
	line-height: 1;
}

#seccion_editar_factura2 #titulo_pantalla:before{
	display: inline-block;
	width: auto;
	height: auto;
	margin-right: 8px;
	color: var(--tunuve);
	background: transparent;
	font-family: "FontAwesome";
	font-size: 14px;
	font-weight: normal;
	content: "\f040";
}

#seccion_editar_factura2 .btn_volver_listado{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	top: 12px;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	padding: 0;
	color: var(--tunuve);
	background: #fff;
	border: 1px solid #d8e0e8;
	border-radius: 50%;
	transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

#seccion_editar_factura2 .btn_volver_listado i{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	line-height: 1;
	transform: translateX(-1px);
}

#seccion_editar_factura2 .btn_volver_listado:hover,
#seccion_editar_factura2 .btn_volver_listado:focus{
	color: var(--tunuve);
	background: #eaf6f8;
	border-color: #9dcbd4;
	text-decoration: none;
}

#seccion_editar_factura2 .superior .btn,
#seccion_editar_factura2 .superior .form-group{
	margin: 0;
}

#seccion_editar_factura2 .superior .btn{
	min-height: 34px;
	padding: 6px 12px;
	border-radius: 4px;
	font-weight: 500;
}

#seccion_editar_factura2 .superior .btn_analitica_conceptos{ order: 1; }
#seccion_editar_factura2 .superior #btn_toggle_opciones{ order: 2; }
#seccion_editar_factura2 .superior .btn_guardar_factura{ order: 4; }

#seccion_editar_factura2 .superior .btn_guardar_factura{
	background: #00687f !important;
	border-color: #00687f !important;
	color: #fff !important;
}

#seccion_editar_factura2 .superior .btn_guardar_factura i{
	color: inherit !important;
}

#seccion_editar_factura2 .superior .btn_guardar_factura:not([disabled]):hover,
#seccion_editar_factura2 .superior .btn_guardar_factura:not([disabled]):focus{
	background: #00566a !important;
	border-color: #00566a !important;
	color: #fff !important;
}

#seccion_editar_factura2 .superior .btn_guardar_factura[disabled],
#seccion_editar_factura2 .superior .btn_guardar_factura.disabled{
	background: #e4eaf0 !important;
	border-color: #d5dde5 !important;
	color: #667587 !important;
	opacity: 1;
}

#seccion_editar_factura2 .botones_acciones{
	float: none !important;
}

#seccion_editar_factura2 .botones_acciones ul{
	top: 34px;
	right: 0;
}

#seccion_editar_factura2 #panel_opciones .div_id_tipo_vto .select2-selection__arrow{
	top: 0 !important;
	right: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 24px !important;
	transform: none;
}

#seccion_editar_factura2 #panel_opciones .div_id_tipo_vto .select2-selection__arrow b{
	position: static;
	margin: 0;
}

#seccion_editar_factura2 #panel_opciones .div_id_tipo_vto div.select span.value:before{
	top: 50%;
	right: 12px;
	margin: 0;
	border-width: 5px 4px 0;
	transform: translateY(-50%);
}

#seccion_editar_factura2 #panel_opciones{
	margin: 0 0 24px;
	padding: 20px 14px;
	background: #f7fafc;
	border: 1px solid #e3e9ef;
	border-radius: 6px;
}

#seccion_editar_factura2 #panel_opciones > .col-lg-12 h4{
	margin: 0 0 16px;
	padding: 0;
	color: var(--text-dark);
	font-size: 15px;
	font-weight: 600;
	text-align: left;
}

#seccion_editar_factura2 #panel_opciones .caja{
	min-height: 132px;
	margin: 0 5px;
	padding: 0 14px 12px;
	background: #fff;
	border: 1px solid #e3e9ef;
	border-radius: 5px;
}

#seccion_editar_factura2 #panel_opciones .caja h4{
	margin: 0 0 12px;
	padding: 12px 0 9px;
	color: var(--text-dark);
	border-bottom: 1px solid #e8edf2;
	font-size: 13px;
	font-weight: 600;
}

#seccion_editar_factura2 #aviso_opciones{
	margin: 0 0 20px;
}

#seccion_editar_factura2 #aviso_opciones .alert{
	margin: 0;
	padding: 11px 14px;
	background: #f7fafc;
	color: #526174;
	border: 1px solid #dce5ec;
	border-left: 3px solid var(--principal);
	border-radius: 4px;
}

#seccion_editar_factura2 #aviso_opciones .alert .fa,
#seccion_editar_factura2 #aviso_opciones .alert i{
	color: var(--principal);
}

#seccion_editar_factura2 #aviso_opciones .alert-content--aligned{
	gap: 10px;
}

#seccion_editar_factura2 .cabecera{
	display: grid;
	grid-template-columns: minmax(280px, 2fr) repeat(4, minmax(145px, 1fr));
	gap: 18px;
	align-items: end;
	margin: 0 18px 28px 0;
	padding: 22px;
	background: #f8fafc;
	border: 1px solid #e3e9ef;
	border-radius: 6px;
}

#seccion_editar_factura2 .cabecera.sin-serie{
	grid-template-columns: minmax(320px, 2fr) repeat(3, minmax(145px, 1fr));
}

#seccion_editar_factura2 .cabecera.sin-serie > .campo-serie{
	display: none !important;
}

#seccion_editar_factura2.factura-emitida .div_mostrar_id_serie{
	display: none !important;
}

#seccion_editar_factura2 .cabecera:before,
#seccion_editar_factura2 .cabecera:after{
	display: none;
	content: none;
}

#seccion_editar_factura2 .cabecera > [class*="col-"]{
	width: auto;
	padding: 0;
	float: none;
}

#seccion_editar_factura2 .cabecera label,
#seccion_editar_factura2 .caja_panel label{
	margin-bottom: 7px;
	color: #526174;
	font-size: 12px;
	font-weight: 600;
}

#seccion_editar_factura2 .cabecera input.form-control,
#seccion_editar_factura2 .cabecera .input-group[class*="col-"],
#seccion_editar_factura2 .cabecera div.select,
#seccion_editar_factura2 .cabecera div.select > span.value,
#seccion_editar_factura2 .cabecera .select2-container,
#seccion_editar_factura2 .cabecera .select2-selection{
	min-height: 36px;
	background-color: #fff;
	border-color: #ccd5df;
	border-radius: 8px !important;
}

#seccion_editar_factura2 .cabecera .div_f_factura .input-group,
#seccion_editar_factura2 .cabecera .div_num_factura .input-group{
	overflow: hidden;
}

#seccion_editar_factura2 .cabecera .div_f_factura .input-group,
#seccion_editar_factura2 .cabecera .div_f_operacion .input-group{
	overflow: visible;
}

#seccion_editar_factura2 #num_factura:disabled{
	color: #7b8794;
	background: #eef1f4;
	border-color: #d5dce3;
	cursor: not-allowed;
}

#seccion_editar_factura2 .cabecera div.select > span.value{
	padding: 9px 34px 9px 12px;
	font-size: 12px;
}

#seccion_editar_factura2 .cabecera .div_id_contacto{
	position: relative;
	z-index: 30;
}

#seccion_editar_factura2 .cabecera .div_id_contacto div.select .list.open{
	top: 100%;
	margin-top: 4px;
	z-index: 1000;
}

#seccion_editar_factura2 .cabecera .select2-selection__rendered{
	padding-left: 12px;
}

#seccion_editar_factura2 .cabecera .p_relative > .btn{
	top: -4px;
	right: 0;
}

#seccion_editar_factura2 #btn_anadir_contacto{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 40;
	pointer-events: auto;
}

#seccion_editar_factura2 .conceptos{
	margin: 0 0 28px;
	padding: 0 4px 16px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

#seccion_editar_factura2 .div_conceptos{
	min-width: 1100px;
	padding: 0;
}

#seccion_editar_factura2 .tabla_conceptos2{
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

#seccion_editar_factura2 .tabla_conceptos2 th{
	padding: 10px 7px;
	background: #f2f6f8;
	color: #526174;
	border-top: 1px solid #e2e8ee;
	border-bottom: 1px solid #d8e0e8;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

#seccion_editar_factura2 tr.fila_factura td{
	padding: 6px 5px;
	width: auto;
	border-bottom: 1px solid #edf1f4;
	vertical-align: top;
}

#seccion_editar_factura2 .tabla_conceptos2 .codigo{
	width: 110px;
	min-width: 110px;
	max-width: 110px;
}

#seccion_editar_factura2 .tabla_conceptos2 .texto_concepto{
	width: 100%;
	min-width: 340px;
}

#seccion_editar_factura2 .tabla_conceptos2 .cantidad{
	width: 72px;
	min-width: 72px;
	max-width: 72px;
}

#seccion_editar_factura2 .tabla_conceptos2 .dto{
	width: 64px;
	min-width: 64px;
	max-width: 64px;
}

#seccion_editar_factura2 .tabla_conceptos2 .iva_perc{
	width: 92px;
	min-width: 92px;
	max-width: 92px;
}

#seccion_editar_factura2 .tabla_conceptos2 .tiene_recargo,
#seccion_editar_factura2 .tabla_conceptos2 .es_suplido{
	width: 72px;
	min-width: 72px;
	max-width: 72px;
}

#seccion_editar_factura2 .tabla_conceptos2 .codigo,
#seccion_editar_factura2 .tabla_conceptos2 .cantidad,
#seccion_editar_factura2 .tabla_conceptos2 .importe,
#seccion_editar_factura2 .tabla_conceptos2 .dto,
#seccion_editar_factura2 .tabla_conceptos2 .iva_perc,
#seccion_editar_factura2 .tabla_conceptos2 .tiene_recargo,
#seccion_editar_factura2 .tabla_conceptos2 .es_suplido{
	text-align: center;
}

#seccion_editar_factura2 .tabla_conceptos2 .codigo input,
#seccion_editar_factura2 .tabla_conceptos2 .cantidad input,
#seccion_editar_factura2 .tabla_conceptos2 .importe input,
#seccion_editar_factura2 .tabla_conceptos2 .dto input{
	text-align: center;
}

#seccion_editar_factura2 .tabla_conceptos2 .iva_perc select{
	width: 100%;
}

#seccion_editar_factura2 .tabla_conceptos2 .tiene_recargo label.checkbox,
#seccion_editar_factura2 .tabla_conceptos2 .es_suplido label.checkbox{
	margin: 10px auto 0;
}

#seccion_editar_factura2 .tabla_conceptos2 .importe,
#seccion_editar_factura2 .tabla_conceptos2 .total_bases_imponibles_concepto,
#seccion_editar_factura2 .tabla_conceptos2 .total_iva_concepto,
#seccion_editar_factura2 .tabla_conceptos2 .total_rec_equiv_concepto,
#seccion_editar_factura2 .tabla_conceptos2 .total_concepto{ min-width: 105px; }

#seccion_editar_factura2 tr.fila_factura td input,
#seccion_editar_factura2 tr.fila_factura td textarea{
	min-width: 0 !important;
	max-width: none !important;
	min-height: 36px;
	margin: 0;
	padding: 7px 9px;
	background: #fff;
	border: 1px solid #ccd5df;
	border-radius: 4px;
	box-shadow: none;
}

#seccion_editar_factura2 tr.fila_factura td input:focus,
#seccion_editar_factura2 tr.fila_factura td textarea:focus{
	border-color: var(--principal);
	box-shadow: 0 0 0 2px rgba(19, 194, 194, .12);
	outline: 0;
}

#seccion_editar_factura2 tr.fila_factura td.texto_concepto textarea{
	min-width: 260px;
	resize: vertical;
}

#seccion_editar_factura2 tr.fila_anadir td{
	padding: 14px 5px 20px;
}

#seccion_editar_factura2 tr.fila_anadir .row > div:first-child{
	text-align: left;
}

#seccion_editar_factura2 tr.fila_anadir .div_id_producto div.select,
#seccion_editar_factura2 tr.fila_anadir .div_id_producto div.select > span.value{
	border-color: #ccd5df;
	border-radius: 8px !important;
}

#seccion_editar_factura2 tr.fila_total{
	background: #f7fafc;
	border: 0;
}

#seccion_editar_factura2 tr.fila_subtotal td,
#seccion_editar_factura2 tr.fila_irpf td,
#seccion_editar_factura2 tr.fila_suplido td,
#seccion_editar_factura2 tr.fila_total td{
	height: 42px;
	padding: 5px 8px;
	border-bottom: 0;
	vertical-align: middle;
}

#seccion_editar_factura2 tr.fila_subtotal input[disabled],
#seccion_editar_factura2 tr.fila_irpf input[disabled],
#seccion_editar_factura2 tr.fila_suplido input[disabled],
#seccion_editar_factura2 tr.fila_total input[disabled]{
	background: transparent;
	border-color: transparent;
	color: #344054;
	font-weight: 600;
}

#seccion_editar_factura2 .resumen-etiqueta{
	color: #526174;
	background: #f8fafc;
	border-left: 1px solid #dce5eb;
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	white-space: nowrap;
}

#seccion_editar_factura2 tr.fila_subtotal .resumen-etiqueta{
	border-top: 1px solid #dce5eb;
	border-radius: 6px 0 0 0;
}

#seccion_editar_factura2 tr.fila_subtotal td:nth-last-child(-n+4),
#seccion_editar_factura2 tr.fila_irpf td:nth-last-child(-n+4),
#seccion_editar_factura2 tr.fila_suplido td:nth-last-child(-n+4){
	background: #f8fafc;
}

#seccion_editar_factura2 tr.fila_subtotal td:last-child,
#seccion_editar_factura2 tr.fila_irpf td:last-child,
#seccion_editar_factura2 tr.fila_suplido td:last-child{
	border-right: 1px solid #dce5eb;
}

#seccion_editar_factura2 tr.fila_subtotal td:nth-last-child(-n+4){
	border-top: 1px solid #dce5eb;
}

#seccion_editar_factura2 tr.fila_suplido .resumen-etiqueta,
#seccion_editar_factura2 tr.fila_suplido td:last-child{
	border-bottom: 1px solid #dce5eb;
}

#seccion_editar_factura2 tr.fila_suplido .resumen-etiqueta{
	border-radius: 0 0 0 6px;
}

#seccion_editar_factura2 tr.fila_suplido td:last-child{
	border-radius: 0 0 6px 0;
}

#seccion_editar_factura2 tr.fila_total{
	background: transparent;
}

#seccion_editar_factura2 tr.fila_total td{
	height: 62px;
	padding-top: 12px;
	border-bottom: 0;
}

#seccion_editar_factura2 tr.fila_total .resumen-total-etiqueta{
	padding: 12px 0 0;
	text-align: right;
}

#seccion_editar_factura2 tr.fila_total .resumen-total-etiqueta > b{
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
	width: 100%;
	height: 48px;
	padding: 0 16px;
	color: var(--text-dark);
	background: #f2f6f8;
	border: 1px solid #dce5eb;
	border-right: 0;
	border-radius: 6px 0 0 6px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}

#seccion_editar_factura2 tr.fila_total .total_factura{
	padding: 12px 0 0;
}

#seccion_editar_factura2 tr.fila_total .total_factura input[disabled]{
	height: 48px;
	padding: 0 16px;
	color: #1f2937;
	background: #f2f6f8;
	border: 1px solid #dce5eb;
	border-left: 0;
	border-radius: 0 6px 6px 0;
	font-size: 17px;
	font-weight: 700;
	text-align: right;
}

#seccion_editar_factura2 .resumen-factura{
	width: min(100%, 720px);
	margin: 18px 40px 0 auto;
	border: 1px solid #dce5eb;
	border-radius: 6px;
	overflow: hidden;
}

@media (max-width: 767px){
	#seccion_editar_factura2 .resumen-factura{
		width: 100%;
		margin-right: 0;
	}
}

#seccion_editar_factura2 .resumen-factura .resumen-fila{
	display: flex;
	align-items: center;
	min-height: 48px;
	background: #f8fafc;
	border-bottom: 1px solid #e3e9ef;
}

#seccion_editar_factura2 .resumen-factura .resumen-fila:last-child{
	border-bottom: 0;
}

#seccion_editar_factura2 .resumen-factura .resumen-cabecera{
	display: flex;
	align-items: center;
	min-height: 34px;
	color: #687789;
	background: #f2f6f8;
	border-bottom: 1px solid #dce5eb;
	font-size: 10px;
	text-transform: uppercase;
}

#seccion_editar_factura2 .resumen-factura .resumen-cabecera > span{
	flex: 1 1 auto;
}

#seccion_editar_factura2 .resumen-factura .resumen-cabecera > b,
#seccion_editar_factura2 .resumen-factura .resumen-celda-vacia{
	flex: 0 0 120px;
	width: 120px;
	padding: 0 8px;
	text-align: center;
}

#seccion_editar_factura2 .resumen-factura .resumen-etiqueta,
#seccion_editar_factura2 .resumen-factura .resumen-total-etiqueta{
	flex: 1 1 auto;
	min-width: 130px;
	padding: 0 18px;
	color: #526174;
	background: transparent;
	border: 0;
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	white-space: nowrap;
}

#seccion_editar_factura2 .resumen-factura input,
#seccion_editar_factura2 .resumen-factura .irpf_perc{
	flex: 0 0 120px;
	width: 120px;
	height: 48px;
	margin: 0;
	padding: 0 14px;
	color: #344054;
	background: transparent;
	border: 0;
	border-left: 1px solid #e3e9ef;
	border-radius: 0;
	font-weight: 600;
	text-align: right;
}

#seccion_editar_factura2 .resumen-factura .irpf_perc{
	display: flex;
	align-items: center;
	padding: 5px 8px;
}

#seccion_editar_factura2 .resumen-factura .irpf_perc select{
	width: 100%;
	height: 36px;
	border: 1px solid #ccd5df;
	border-radius: 7px;
}

#seccion_editar_factura2 .resumen-factura .fila_total{
	min-height: 58px;
	background: #eef3f6;
}

#seccion_editar_factura2 .resumen-factura .resumen-total-etiqueta{
	font-size: 16px;
	text-transform: uppercase;
}

#seccion_editar_factura2 .resumen-factura .total_factura{
	flex-basis: 170px;
	width: 170px;
	height: 58px;
	color: #1f2937;
	font-size: 17px;
	font-weight: 700;
}

#seccion_editar_factura2 .panel{
	margin: 0 0 12px;
	background: #fff;
	border: 1px solid #e3e9ef;
	border-radius: 5px;
	overflow: hidden;
}

#seccion_editar_factura2 .panel > h4{
	min-height: 44px;
	margin: 0;
	padding: 13px 16px;
	background: #f7fafc;
	color: var(--text-dark);
	border: 0;
	border-bottom: 1px solid #e3e9ef;
	font-size: 13px;
	font-weight: 600;
}

#seccion_editar_factura2 .panel > h4 .btn,
#seccion_editar_factura2 .panel > h4 i{
	margin: -7px 0 0;
	color: #526174 !important;
	font-size: 12px;
}

#seccion_editar_factura2 .panel > h4 .btn{
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 8px;
	background: transparent !important;
	border: 0;
	box-shadow: none;
}

#seccion_editar_factura2 .panel > h4 .btn:hover{
	color: var(--principal);
	text-decoration: none;
}

#seccion_editar_factura2 .caja_panel{
	margin: 0;
	padding: 22px 18px;
	border: 0;
	background: #fff;
}

#seccion_editar_factura2 .caja_panel:before,
#seccion_editar_factura2 .caja_panel:after{
	display: table;
	content: "";
}

#seccion_editar_factura2 .caja_panel:after{
	clear: both;
}

#seccion_editar_factura2 .caja_panel .form-group{
	margin-bottom: 18px;
}

#seccion_editar_factura2 #caja_otros_datos.otros-datos-abierto{
	display: grid;
	grid-template-columns: minmax(480px, 2.3fr) minmax(240px, 1fr) minmax(190px, .75fr);
	gap: 0;
	align-items: start;
	padding: 24px 12px;
}

#seccion_editar_factura2 #caja_otros_datos:before,
#seccion_editar_factura2 #caja_otros_datos:after{
	display: none;
}

#seccion_editar_factura2 #caja_otros_datos > .otros-datos-principal,
#seccion_editar_factura2 #caja_otros_datos > .otros-datos-clasificacion,
#seccion_editar_factura2 #caja_otros_datos > .otros-datos-contabilidad{
	float: none;
	width: auto;
	min-width: 0;
	padding: 0 24px;
}

#seccion_editar_factura2 #caja_otros_datos > .otros-datos-clasificacion,
#seccion_editar_factura2 #caja_otros_datos > .otros-datos-contabilidad{
	border-left: 1px solid #e3e9ef;
}

#seccion_editar_factura2 #caja_otros_datos > .otros-datos-principal:before,
#seccion_editar_factura2 #caja_otros_datos > .otros-datos-clasificacion:before,
#seccion_editar_factura2 #caja_otros_datos > .otros-datos-contabilidad:before{
	display: block;
	margin-bottom: 18px;
	padding-bottom: 9px;
	color: #344054;
	border-bottom: 1px solid #e8edf2;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

#seccion_editar_factura2 #caja_otros_datos > .otros-datos-principal:before{
	content: "Documento";
}

#seccion_editar_factura2 #caja_otros_datos > .otros-datos-clasificacion:before{
	content: "Clasificación";
}

#seccion_editar_factura2 #caja_otros_datos > .otros-datos-contabilidad:before{
	content: "Contabilidad";
}

#seccion_editar_factura2 #caja_otros_datos .form-group{
	min-width: 0;
	margin: 0 0 18px;
}

#seccion_editar_factura2 #caja_otros_datos label{
	margin-bottom: 8px;
	font-weight: 600;
}

#seccion_editar_factura2 #caja_otros_datos input,
#seccion_editar_factura2 #caja_otros_datos select,
#seccion_editar_factura2 #caja_otros_datos .select2-selection{
	min-height: 40px;
	border-radius: 7px;
}

#seccion_editar_factura2 #caja_otros_datos textarea{
	min-height: 130px;
	padding: 10px 12px;
	border-radius: 7px;
	resize: vertical;
}

#seccion_editar_factura2 #caja_otros_datos .div_obs_factura .input-group{
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

#seccion_editar_factura2 #caja_otros_datos .div_contrapartida .input-group,
#seccion_editar_factura2 #caja_otros_datos .div_f_contable .input-group{
	overflow: hidden;
	border-radius: 7px;
}

#seccion_editar_factura2 #contrapartida,
#seccion_editar_factura2 #f_contable{
	border-radius: 7px !important;
}

#seccion_editar_factura2 #caja_otros_datos .contenedor_desbloquear_totales{
	grid-column: 1 / -1;
	padding: 18px 24px 0;
	border-top: 1px solid #e8edf2;
}

@media (max-width: 991px){
	#seccion_editar_factura2 #caja_otros_datos.otros-datos-abierto{
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 22px 18px;
	}

	#seccion_editar_factura2 #caja_otros_datos > .otros-datos-principal,
	#seccion_editar_factura2 #caja_otros_datos > .otros-datos-clasificacion,
	#seccion_editar_factura2 #caja_otros_datos > .otros-datos-contabilidad{
		padding: 0;
		border-left: 0;
	}
}

#seccion_editar_factura2 .caja_panel input,
#seccion_editar_factura2 .caja_panel textarea,
#seccion_editar_factura2 .caja_panel .select2-selection{
	border-color: #ccd5df;
	border-radius: 4px;
}

#seccion_editar_factura2 .div_vtos,
#seccion_editar_factura2 .div_pagos{
	padding: 0 24px;
}

#seccion_editar_factura2 .div_vtos + .div_pagos{
	border-left: 1px solid #e8edf2;
}

#seccion_editar_factura2 #div_vtos > h5,
#seccion_editar_factura2 #div_pagos > h5{
	display: flex;
	align-items: center;
	min-height: 38px;
	margin: 0 0 10px;
	padding-bottom: 12px;
	color: #344054;
	border-bottom: 1px solid #dce5eb;
	font-size: 14px;
	font-weight: 700;
}

#seccion_editar_factura2 #div_vtos > h5 .btn,
#seccion_editar_factura2 #div_pagos > h5 .btn{
	margin: 0 0 0 auto;
}

#seccion_editar_factura2 #div_vtos > p,
#seccion_editar_factura2 #div_pagos > p{
	margin: 0 0 4px;
	color: #667085;
	font-size: 12px;
}

#seccion_editar_factura2 #div_vtos > .row,
#seccion_editar_factura2 #div_pagos > .row{
	display: block;
	margin: 0;
}

#seccion_editar_factura2 #div_vtos > .row:before,
#seccion_editar_factura2 #div_vtos > .row:after,
#seccion_editar_factura2 #div_pagos > .row:before,
#seccion_editar_factura2 #div_pagos > .row:after{
	display: none;
}

#seccion_editar_factura2 #div_vtos > .row > [class*="col-"],
#seccion_editar_factura2 #div_pagos > .row > [class*="col-"]{
	float: none;
	width: 100%;
	padding: 0;
}

#seccion_editar_factura2 #alert_no_vtos .alert,
#seccion_editar_factura2 #alert_no_pagos .alert{
	margin: 0 0 16px;
	padding: 20px;
	color: #526174;
	background: #f8fafc;
	border: 1px solid #dce5eb;
	border-radius: 6px;
	box-shadow: none;
	text-align: center;
}

#seccion_editar_factura2 #tabla_vtos,
#seccion_editar_factura2 #tabla_pagos{
	margin: 0 0 16px;
	background: #fff;
	border-color: #dce5eb;
}

#seccion_editar_factura2 #tabla_vtos th,
#seccion_editar_factura2 #tabla_pagos th{
	padding: 9px 8px;
	color: #526174;
	background: #f2f6f8;
	border-color: #dce5eb;
	font-size: 11px;
	text-transform: uppercase;
}

#seccion_editar_factura2 .totales_vtos,
#seccion_editar_factura2 .totales_pagos{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	background: #f3f6f8;
	border: 1px solid #dce5eb;
	border-radius: 6px;
	overflow: hidden;
}

#seccion_editar_factura2 .totales_vtos p,
#seccion_editar_factura2 .totales_pagos p{
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 0;
	padding: 11px 13px;
	border: 0;
	border-right: 1px solid #dce5eb;
}

#seccion_editar_factura2 .totales_vtos p:last-child,
#seccion_editar_factura2 .totales_pagos p:last-child{
	border-right: 0;
}

#seccion_editar_factura2 .totales_vtos p b,
#seccion_editar_factura2 .totales_pagos p b{
	color: #667085;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
}

#seccion_editar_factura2 .totales_vtos p span,
#seccion_editar_factura2 .totales_pagos p span{
	float: none;
	color: #243447;
	font-size: 15px;
	font-weight: 700;
	text-align: right;
}

#seccion_editar_factura2 #caja_documento{
	margin: 0;
	padding: 20px;
	background: #fff;
	border: 0;
}

@media (max-width: 1199px){
	#seccion_editar_factura2 .cabecera{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#seccion_editar_factura2 .cabecera > :first-child{
		grid-column: 1 / -1;
	}

	#seccion_editar_factura2 #panel_opciones .caja{
		margin-bottom: 12px;
	}
}

@media (max-width: 767px){
	#seccion_editar_factura2 .factura-editor-card{
		margin-right: -8px;
		margin-left: -8px;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
	}

	#seccion_editar_factura2 .factura-editor-card > .card-body{
		padding: 16px 12px 24px;
	}

	#seccion_editar_factura2 .superior > .p-relative{
		align-items: stretch;
	}

	#seccion_editar_factura2 #titulo_pantalla{
		width: 100%;
		margin-bottom: 8px;
		font-size: 18px;
	}

	#seccion_editar_factura2 .superior .btn,
	#seccion_editar_factura2 .superior .botones_acciones{
		flex: 1 1 auto;
	}

	#seccion_editar_factura2 .superior .botones_acciones .btn{
		width: 100%;
	}

	#seccion_editar_factura2 .cabecera{
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		padding: 16px;
	}

	#seccion_editar_factura2 .cabecera > :first-child{
		grid-column: auto;
	}

	#seccion_editar_factura2 #panel_opciones{
		padding: 16px 10px 8px;
	}

	#seccion_editar_factura2 #panel_opciones .caja{
		min-height: 0;
	}

	#seccion_editar_factura2 .conceptos{
		margin-right: -12px;
		margin-left: -12px;
		padding-right: 12px;
		padding-left: 12px;
	}

	#seccion_editar_factura2 .panel > h4{
		padding: 13px 12px;
	}

	#seccion_editar_factura2 .panel > h4 .btn{
		max-width: 65%;
		white-space: normal;
		text-align: right;
	}

	#seccion_editar_factura2 .caja_panel{
		padding: 18px 10px;
	}

	#seccion_editar_factura2 .div_vtos,
	#seccion_editar_factura2 .div_pagos{
		padding: 0;
	}

	#seccion_editar_factura2 .div_vtos + .div_pagos{
		margin-top: 24px;
		padding-top: 20px;
		border-top: 1px solid #e8edf2;
		border-left: 0;
	}
}

#modal-analitica-conceptos .tabla_conceptos2 td {
    padding: 5px !important;
}

#modal-analitica-conceptos tr.fila_factura td div.div_id_cod_analitica{
	margin-bottom: 0 !important;
}

#modal-analitica-conceptos tr.fila_factura td.texto_concepto{
	position: relative;
	min-width: 100px;
	max-width: 150px !important;
	margin-top: 5px;
}

#modal-analitica-conceptos tr.fila_factura td.total_bases_imponibles_concepto{
	position: relative;
	width: 100px;
	margin-top: 5px;
	padding: 0 5px 0 0; 
}

#modal-analitica-conceptos tr.fila_factura td input{
	width: 100px;
	margin: 9px;
	border: 1px solid #eee;
	padding: 5px;
	height: 31px;
	min-height: auto;
  }



div.alert.alert-success{
	color: #0a860a;
}

/* Estilo unificado de mensajes */
div.alert {
	position: relative;
	min-height: 0;
	margin-bottom: 10px;
	padding: 13px 40px 13px 16px;
	border: 1px solid transparent;
	border-left-width: 4px;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	font-size: 13px;
}

div.alert .alert-content {
	overflow: hidden;
	line-height: 1.4;
}

div.alert .alert-content--aligned {
	display: flex;
	align-items: center;
	gap: 4px;
}

div.alert .alert-content--aligned .alert-message {
	min-width: 0;
}

div.alert .alert-content--aligned .alert-message > :last-child {
	margin-bottom: 0;
}

div.alert .alert-content > i.fa {
	float: left;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin: 1px 10px 0 0;
	border-radius: 50%;
	font-size: 13px;
	color: #fff;
}

div.alert .alert-content > i.fa.fa- {
	display: none;
}

div.alert .alert-content--aligned > i.fa {
	float: none;
	flex: 0 0 26px;
	margin: 0;
}

div.alert.alert-success {
	background-color: #f0f9ee;
	border-color: #cfead0;
	border-left-color: #4caf50;
	color: #2e5c2f;
}

div.alert.alert-success .alert-content > i.fa { background-color: #4caf50; }

div.alert.alert-info {
	background-color: #eef8fb;
	border-color: #cce5ec;
	border-left-color: #00758c;
	color: #245563;
}

div.alert.alert-info .alert-content > i.fa { background-color: #00758c; }

div.alert.alert-warning {
	background-color: #fff6ec;
	border-color: #f7ddb8;
	border-left-color: #f2994a;
	color: #7a4a12;
}

div.alert.alert-warning .alert-content > i.fa { background-color: #f2994a; }

div.alert.alert-danger {
	background-color: #fdeeee;
	border-color: #f6cfcf;
	border-left-color: #e53935;
	color: #7a2020;
}

div.alert.alert-danger .alert-content > i.fa { background-color: #e53935; }

div.alert .close {
	position: absolute;
	top: 50%;
	right: 20px;
	margin: 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
	transform: translateY(-50%);
	opacity: 0.45;
}

div.alert .close:hover { opacity: 0.85; }

div.alert .alert-content a {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
}

.alert-zebba {
	background-color: #c7c7c7;
	border-color: #e0e0e0;
	color: #666666;
}

#tabla_lista_facturas span.alert-success,
#tabla_lista_facturas span.alert-warning,
#tabla_lista_facturas span.alert-zebba {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .02em;
	border: 0;
}

#tabla_lista_facturas span.alert-success {
	background: #dcfce7;
	color: #15803d;
}

#tabla_lista_facturas span.alert-warning {
	background: #ffedd6;
	color: #c2410c;
}

#tabla_lista_facturas span.alert-zebba {
	background: #e2e8f0;
	color: #475569;
}

/* productos */
#div_select_productos > span > span.selection > span {
	background: none;
}

#div_select_productos .select2 span {
	text-align: left !important;
	padding: 0;
	margin: 0;
	background: #fff;
}

/* descargas */
.div_descargar_facturas div.input-group {
	margin: 0 auto;
}

.descargas-modern .vtos-toolbar {
	margin-bottom: 18px;
}

.descargas-aviso .alert {
	margin-bottom: 18px;
	padding: 12px 16px;
	border: 1px solid #cfe8ef;
	border-radius: 9px;
	background: #f2fafc;
	color: #355467;
	box-shadow: none;
}

.descargas-aviso .alert b {
	color: #17465a;
}

.descargas-form-panel {
	padding: 18px 20px 8px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #fbfcfd;
}

.descargas-opciones-header {
	margin: 0 0 16px;
}

.descargas-form-panel .form-group {
	margin-bottom: 14px;
}

.descargas-form-panel .input-group.date {
	border: 0;
	background: transparent;
}

.descargas-form-panel #f_desde,
.descargas-form-panel #f_hasta {
	height: 36px;
	padding-right: 38px !important;
	border: 1px solid #dbe1e8 !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: none !important;
	text-align: center;
}

.descargas-form-panel #descargar_facturas {
	height: 36px;
	padding: 0 16px !important;
	border-radius: 8px !important;
	box-shadow: none !important;
}

#resp_descargar_facturas {
	margin-top: 16px;
	margin-bottom: 16px;
}

.descargas-historial {
	margin-top: 0;
}

.descargas-historial .descargas-opciones-header {
	margin-top: 0;
}

#estado_actualizacion_descargas {
	margin-left: auto;
	color: #64748b;
}

.descargas-tabla-contenedor {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
}

.descargas-tabla {
	width: 100% !important;
	margin-bottom: 0 !important;
}

.descargas-tabla > thead > tr > th {
	padding: 11px 14px;
	border-bottom: 1px solid #dbe1e8;
	background: #f8fafc;
	color: #334155;
	font-size: 12px;
	font-weight: 700;
}

.descargas-tabla > tbody > tr > td {
	padding: 11px 14px;
	border-top: 1px solid #eef2f6;
	vertical-align: middle;
}

.descargas-tabla > tbody > tr:last-child > td {
	border-bottom: 0;
}

#div_select_productos
	> span
	> span.selection
	> span
	> span.select2-selection__arrow {
	margin-top: -2px;
}

/* tarifas lahotrans */

#tab_tarifas input.filled{
  background-color: #D9EDF7;
  border: 1px solid grey;
}

#tab_tarifas input {
  border: 1px solid grey;
}

#tab_tarifas input.kg.numerico.text_right.text-end {
    width: 90px;
}


/* INVERT SCROLL POSITIN */
.table-scroll{
	transform: scaleY(-1);
}
.scroll-wrapper{
	overflow-x: auto;
    overflow-y: hidden;
    transform: scaleY(-1);
}


.table-scroll {
	position: relative;
	width: 100%;
	z-index: 1;
	margin: auto;
	/* overflow: auto; */
  /*   height: 350px;*/ /* for vertical scrolling if required*/ 
  }
  .table-scroll table {
	width: 100%;
	min-width: 900px;
	/* margin: auto;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;
	word-wrap: break-word; */
  }
  .table-scroll th,
  .table-scroll td {
	/* padding: 5px 10px;
	border: 1px solid #000;
	background: #fff;
	vertical-align: top;
	width: 150px; */
  }
  .table-scroll thead th {
	/* background: #333 !important; I know */
	/* color: #fff; */
	position: -webkit-sticky;
	position: sticky;
	top: 0;
  }
  /* safari and ios need the tfoot itself to be position:sticky also */
  .table-scroll tfoot,
  .table-scroll tfoot th,
  .table-scroll tfoot td {
	position: -webkit-sticky;
	position: sticky;
	bottom: 0;
	background: #666 !important; /* I know */
	color: #fff;
	z-index: 4;
  }
  
  /* could uses classes instead of all this junk */
  .table-scroll thead th:nth-child(1),
  .table-scroll tfoot td:nth-child(1),
  .table-scroll tbody td:nth-child(1){
	position: -webkit-sticky;
	position: sticky;
	left: 0;
	z-index: 2;
	background: #ccc;
	width: 150px;
  }
  .table-scroll thead th:nth-child(1),
  .table-scroll tfoot td:nth-child(1){
	z-index: 5;
  }
  @media screen and (max-width: 900px) {
	.table-scroll {
	  width: 100%;
	}
	.table-scroll th,
	.table-scroll td {
	  width: 100px;
	}
	/* could uses classes instead of all this junk */
	thead th:nth-child(1),
	tfoot td:nth-child(1),
	tbody td:nth-child(1){
	  width: 100px;
	}
	
  }
  


/* tarifas */

.caja_tarifas .column-inner {
	border: 1px solid #eee;
	border-radius: 5px;
	margin: 10px 0;
	padding: 20px 10px 40px 0px;
}

.caja_tarifas.plan_actual .column-inner{
	border: 3px solid #00687f;
	box-shadow: 1px 1px 2px #ccc;
}

.caja_tarifas h1.precio {
	margin: 0px 0 30px;
}

.caja_tarifas h2 {
	padding: 0px;
}

.caja_tarifas h3 {
	font-size: 16px;
	padding: 0px;
	margin: 20px 0 0 0;
}

.caja_tarifas ul {
	margin-bottom: 30px;
}

.caja_tarifas ul li {
	list-style: none;
	font-size: 14px;
	padding-bottom: 5px;
	text-align: left;
}

.caja_tarifas ul li i.fa-check {
	color: green;
	font-size: 18px;
}

.caja_tarifas button.cambiar_plan:hover{
	background: #8bc34a !important;
}


/* faqs */

#div_seccion_faqs div.tab-content {
	padding: 0 15px 60px 15px;
}

#div_seccion_faqs div.tab-content h4 {
	margin: 40px 0 5px 0px;
}

#div_seccion_faqs div.tab-content p {
	margin-bottom: 0px;
}

/* bancos */
.page-content {
	padding: 30px;
	margin-top: 0;
	background: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
	float: left;
}

.page-content h2 {
	margin: 20px 0 30px 0;
}

.block-web {
	padding: 20px 0;
}

.block-web .nav-tabs > li.active > a,
.block-web .nav-tabs > li.active > a:hover,
.block-web .nav-tabs > li.active > a:focus,
div.table-responsive .checkit-table.table > thead > tr > th {
	background-color: #00687f;
	color: #fff;
}

.block-web .nav-tabs > li.active > a i,
.block-web .nav-tabs > li.active > a:hover i {
	color: #fff;
}

.block-web ul.nav li a {
	color: #222;
	background: #fff;
}

.block-web ul.nav li a i {
	color: #222;
	background: transparent;
}

/* procesos */
.cabecera_proceso p {
	margin: 0;
}

.caja_subprocesos {
	margin-top: 20px;
	padding-left: 30px;
}

/* vacaciones, configuración */
#caja_dias_semana_laborables span {
	display: block;
	border: 1px solid #ccc;
	float: left;
	clear: none;
	padding: 5px 10px;
	background: #8bc34a;
	color: #fff;
}

.div_dias_festivos li.select2-selection__choice {
	background: #8bc34a !important;
	color: #fff;
}

.div_dias_festivos
	.select2-container--default
	.select2-selection--multiple
	.select2-selection__choice__remove {
	color: #fff;
}

#caja_dias_semana_laborables span.festivo {
	background: #e15b64; /* rojo */
}

#caja_dias_semana_laborables span:hover {
	cursor: pointer;
}

#btn_anadir_festivo {
	margin-top: 8px;
}

.div_boton_anadir_vacaciones {
	padding-top: 10px;
	text-align: right;
	padding-bottom: 10px;
}

/* vacaciones, edición */
#calendarioVacaciones div#calendario {
	overflow: hidden;
}

#caja_filtros_vacaciones a.anadir_vacaciones {
	margin: 12px 0 0 0;
	padding: 10px 0;
	text-transform: capitalize;
}

#caja_filtros_vacaciones
	.select2-container--default
	.select2-selection--multiple
	.select2-selection__choice,
#caja_filtros_vacaciones .select2-selection__choice__remove {
	background: #00687f;
	color: #fff;
}

#modal-vacaciones div.modal {
	z-index: 30000;
}

#caja_info_vacaciones h4 {
	width: 70px;
	text-align: center;
	margin: 5px auto;
}

#caja_info_vacaciones span {
	font-size: 36px;
	font-weight: bold;
	background: #fff;
	border-radius: 50px;
	outline: 1px solid #ccc;
	width: auto;
	display: block;
	text-align: center;
	padding: 15px 15px;
}

#caja_info_vacaciones p {
	text-align: center;
	font-weight: bold;
	margin: 5px 0 0 0;
}

#resp_calendar {
	padding-top: 50px;
}

#caja_rescalendar {
	margin-top: -60px;
}

#caja_rescalendar div.rescalendar {
	max-width: none;
	text-align: center;
}

#caja_rescalendar .rescalendar_controls {
	text-align: left;
	width: auto;
	max-width: 320px;
	width: 320px;
	padding: 0;
	position: absolute;
	top: -30px;
	left: -50px;
}

#caja_rescalendar .rescalendar_controls button.move_to_today {
	margin: 2px 0 0 110px;
}

#caja_rescalendar .rescalendar_table {
	width: 100%;
	margin-top: 40px;
}

#caja_rescalendar .rescalendar_day_cells span {
	text-align: center;
	width: 100%;
}

#caja_rescalendar .rescalendar_table .firstColumn {
	text-align: right;
	padding-right: 5px;
}

#caja_rescalendar .pendiente {
	background: #fbb36b;
}

#caja_rescalendar .aceptado {
	background: #8bc34a;
}

#caja_rescalendar .rechazado {
	background: #e15b64;
}

#caja_rescalendar .rescalendar_day_cells td.today {
	background: #00687f;
}

#caja_rescalendar .rescalendar_day_cells td.middleDay {
	border: 0;
}

#caja_rescalendar tr.dataRow {
	height: 40px;
	padding: 5px 0;
}

#caja_rescalendar tr.dataRow:nth-child(even) {
	background: #fafafa;
}

.rescalendar_table td.disabledDay {
	background: #fafafa;
}

#botones_vistas {
	clear: both;
	float: right;
	margin-right: 0px;
}

#botones_vistas button {
	text-transform: capitalize;
}

/* profit first */
.caja_cuenta {
	padding: 15px;
}

.profit-first-vista {
	display: inline-flex;
	padding: 3px;
	background: #fff;
	border: 1px solid #dce4e8;
	border-radius: 18px;
}

.profit-first-vista-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	color: #00687f;
	background: transparent;
	border: 0;
	border-radius: 50%;
}

.profit-first-vista-btn:hover,
.profit-first-vista-btn:focus {
	color: #00566a;
	background: #f1f4f5;
}

.profit-first-vista-btn.active {
	color: #fff;
	background: #00687f;
}

#caja_cuentas_bancarias.vista-lista .resp_pf_cuentas > .row {
	margin-right: 0;
	margin-left: 0;
}

#caja_cuentas_bancarias.vista-lista .caja_cuenta {
	float: none;
	width: 100%;
	padding: 6px 0;
}

#caja_cuentas_bancarias.vista-lista .caja_cuenta > .form-group {
	display: grid;
	grid-template-columns: 28% minmax(430px, 1fr) auto;
	align-items: stretch;
	min-height: 78px;
	margin: 0;
	border-radius: 8px;
}

#caja_cuentas_bancarias.vista-lista .caja_cuenta > .form-group > label {
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	border-right: 1px solid #f1f5f9;
	border-bottom: 0;
}

#caja_cuentas_bancarias.vista-lista .caja_cuenta > .form-group > label .span_fecha {
	width: 100%;
	margin: 5px 0 0 !important;
	padding-left: 8px;
	text-align: left;
}

#caja_cuentas_bancarias.vista-lista .caja_cuenta > .form-group > .input-group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 40px;
	min-height: 0;
	margin: 0;
	padding: 10px 16px;
}

#caja_cuentas_bancarias.vista-lista .caja_cuenta > .form-group > .input-group > p {
	flex: 1 1 180px;
	padding: 0;
}

#caja_cuentas_bancarias.vista-lista .caja_cuenta > .form-group > .input-group > p:nth-child(1) {
	flex: 0 0 170px;
}

#caja_cuentas_bancarias.vista-lista .caja_cuenta > .form-group > .input-group > p:nth-child(2) {
	flex: 0 0 250px;
}

#caja_cuentas_bancarias.vista-lista .caja_cuenta > .form-group > .input-group > p:nth-child(3) {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	align-self: stretch;
	flex: 1 0 285px;
	width: auto;
	min-height: 58px;
	margin: 0;
	text-align: left;
	white-space: nowrap;
}

#caja_cuentas_bancarias.vista-lista .caja_cuenta > .form-group > .input-group input {
	margin: 4px 0 0;
}

#caja_cuentas_bancarias.vista-lista .caja_cuenta .botones {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 175px;
	padding: 12px;
	border-top: 0;
	border-left: 1px solid #f1f5f9;
}

@media (max-width: 991px) {
	#caja_cuentas_bancarias.vista-lista .caja_cuenta > .form-group {
		grid-template-columns: 1fr;
	}

	#caja_cuentas_bancarias.vista-lista .caja_cuenta > .form-group > label,
	#caja_cuentas_bancarias.vista-lista .caja_cuenta .botones {
		border-right: 0;
		border-left: 0;
		border-bottom: 1px solid #f1f5f9;
	}

	#caja_cuentas_bancarias.vista-lista .caja_cuenta > .form-group > .input-group > p:nth-child(3) {
		white-space: normal;
	}
}

.caja_cuenta div.form-group {
	border: 1px solid #e8ecf1;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.caja_cuenta div.form-group label {
	width: 100%;
	margin: 0;
	padding: 12px 16px;
	background: #fff;
	color: #0f172a;
	border-bottom: 1px solid #f1f5f9;
	display: flex;
	align-items: center;
	gap: 10px;
}

.caja_cuenta div.form-group label i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	min-width: 30px;
	border-radius: 50%;
	background: var(--secundario);
	color: #00687f;
	font-size: 14px;
}

.caja_cuenta div.form-group label span.span_fecha {
	margin-left: auto;
	color: #94a3b8;
	font-size: 11px;
	font-weight: 400;
}

.caja_cuenta div.input-group {
	width: 100%;
	margin: 0 0 10px 0;
	padding: 15px;
	min-height: 224px;
}

.caja_cuenta div.input-group p {
	width: 100%;
	margin: 0;
	padding: 5px;
}

.caja_cuenta div.input-group input {
	width: 100%;
	margin: 0 0 20px;
	padding: 5px;
	border: 1px solid #e8ecf1;
	border-radius: 8px;
	text-align: right;
}

.caja_cuenta .botones {
	width: 100%;
	padding: 10px 5px;
	border-top: 1px solid #f1f5f9;
	text-align: center;
	background: #f8fafc;
}

.caja_cuenta .botones .btn.corporativo,
.caja_cuenta .botones .btn.btn-secondary {
	background: #eef2f6 !important;
	color: #00687f !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	transition: background .15s ease, color .15s ease;
}

.caja_cuenta .botones .btn.corporativo:hover,
.caja_cuenta .botones .btn.btn-secondary:hover {
	background: #00687f !important;
	color: #fff !important;
	border-color: #00687f !important;
}

.importacion-pf-instrucciones h4 {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
}

.importacion-pf-instrucciones ul {
	margin: 0;
	padding-left: 18px;
	line-height: 1.7;
}

.importacion-pf-formulario {
	padding: 16px;
	border: 1px solid #dbe5e8;
	border-radius: 10px;
	background: #f7fafb;
}

.importacion-pf-formulario .form-group {
	max-width: 440px;
	margin: 0 0 16px;
}

.importacion-pf-formulario .control-label {
	padding: 0;
	margin-bottom: 6px;
	font-size: 12px;
	color: #203f4c;
}

.importacion-pf-formulario .input-group {
	padding: 0;
}

.importacion-pf-formulario #resp_upload_importacion_excel:not(:empty) {
	margin-top: 16px;
}

.sugerencias-modern .sugerencias-filtros {
	grid-template-columns: minmax(0, 440px);
}

.sugerencias-modern .caja_ayuda ul {
	margin: 8px 0 0;
	padding-left: 18px;
	line-height: 1.7;
}

.sugerencias-modern #btn_conciliar {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 32px;
	margin: 0;
	padding: 0 12px;
	border-radius: 8px;
	box-shadow: none;
}

.sugerencias-modern td.acciones {
	white-space: nowrap;
}

.conciliacion-page .vtos-toolbar {
	padding-bottom: 16px;
	margin-bottom: 18px;
}

.conciliacion-listado-header {
	margin: 0 0 16px;
}

.conciliacion-page .datatables th.acciones,
.conciliacion-page .datatables td.acciones {
	text-align: left;
	white-space: nowrap;
	padding-left: 8px;
	padding-right: 8px;
}

.conciliacion-page .datatables td.acciones > button {
	width: 30px;
	height: 30px;
	padding: 0;
	margin: 0 4px 0 0;
	background: #fff;
	color: #315363;
	box-shadow: none;
}

.conciliacion-page #resp_warning + .row > br {
	display: none;
}

.conciliacion-listado-header .vtos-toolbar-acciones > div {
	float: none !important;
	margin: 0 !important;
}

.conciliacion-listado-header .form-group,
.conciliacion-listado-header .input-group {
	margin: 0;
	width: auto !important;
}

.conciliacion-listado-header #btn_refrescar {
	position: static;
	justify-content: center;
	width: 34px;
	padding: 0 !important;
}

.conciliacion-listado-header .dropdown-menu {
	top: 100%;
	left: auto;
	right: 0;
	margin-top: 6px;
	border: 1px solid #dbe5e8;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(28, 54, 67, .12);
}

.conciliacion-listado-header #caja_btn > .dropdown-toggle:hover,
.conciliacion-listado-header #caja_btn > .dropdown-toggle:focus {
	background: #f8fafc !important;
	color: #2c3f58 !important;
}

.conciliacion-listado-header .dropdown-menu > li > a,
.conciliacion-listado-header .dropdown-menu > li > button {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	width: 100%;
	padding: 8px 14px;
	text-align: left;
	white-space: nowrap;
}

.conciliacion-listado-header .dropdown-menu > li > a > i,
.conciliacion-listado-header .dropdown-menu > li > button > i {
	flex: 0 0 14px;
	margin: 0;
	text-align: center;
}

.conciliacion-filtros {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.5fr) repeat(2, minmax(0, 1.1fr));
	gap: 14px;
	padding: 16px;
	margin-bottom: 20px;
	border: 1px solid #dbe5e8;
	border-radius: 10px;
	background: #f7fafb;
}

.conciliacion-filtros .form-group {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
}

.conciliacion-filtros .control-label {
	padding: 0;
	margin-bottom: 6px;
	font-size: 12px;
	color: #203f4c;
}

.conciliacion-filtros .input-group {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
}

.conciliacion-filtros .input-group.date input.form-control {
	height: 38px;
	padding-right: 34px;
	border: 1px solid #dde1e6;
	border-radius: 8px;
	background: #fff;
}

.conciliacion-filtros .input-group.date > div:not(.bootstrap-datetimepicker-widget) {
	top: 50% !important;
	z-index: 3 !important;
	transform: translateY(-50%);
}

.conciliacion-filtros .input-group.date .fa-calendar {
	font-size: 15px !important;
	color: #778699;
}

@media (max-width: 1199px) {
	.conciliacion-filtros {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.conciliacion-filtros {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 479px) {
	.conciliacion-filtros {
		grid-template-columns: minmax(0, 1fr);
	}
}

.header_conciliacion {
	background: #fafafa;
	padding: 15px 0 0 0;
	border: 1px solid #eee;
	margin: -25px 0 20px;
}

.header_conciliacion p {
	text-align: center;
	margin-bottom: 12px;
	font-weight: bold;
}

.header_conciliacion p.titulo_mvto {
	text-align: left;
	font-size: 14px;
	width: 99%;
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
}

.header_conciliacion span {
	font-size: 16px;
	font-weight: bold;
	width: 100%;
	text-align: center;
	display: block;
	background: #fff;
	margin: 5px 0;
	padding: 5px;
	border: 1px solid #eee;
}

.caja_check_conciliacion_parcial {
	text-align: center;
}

.caja_check_conciliacion_parcial label {
	padding-left: 0;
}

#btn_conciliar {
	margin: 23px 0 10px 0;
}

#tabla_otros_mvtos th {
	text-align: left;
}

#tabla_otros_mvtos th,
#tabla_otros_mvtos td {
	padding: 0 5px 0 0;
}

#tabla_otros_mvtos input {
	width: 100%;
	padding: 5px 10px;
	border: 1px solid #ccc;
}

#tabla_otros_mvtos input.numerico {
	text-align: right;
}

#tabla_otros_mvtos input:disabled {
	background: #fafafa;
	color: #ccc;
}

#resp_contabilizar_multiple {
	margin: 20px 0;
}

.conciliacion-page #resp_contabilizar_multiple {
	margin: 14px 0;
}

#tabla_lista_proyecciones div.alert,
#tabla_lista_traspasos div.alert,
#tabla_lista_reglas div.alert {
	margin-top: 65px;
}

#caja_conciliacion_parcial {
	margin: -20px 0px 15px 0px;
	padding: 0 0 10px 0px;
	border-bottom: 1px solid #eee;
}

#tabla_conciliacion_parcial tr td {
	padding: 10px 5px;
}

#tabla_conciliacion_parcial input {
	width: 100%;
	border: 1px solid #eee;
	padding: 5px;
}

#tabla_conciliacion_parcial input.numerico {
	text-align: right;
	width:100px;
}

#tabla_lista_mvtos_bancarios .concepto input {
	width: 100%;
	border: 0;
	background: transparent;
	min-width: 200px;
}

#tabla_lista_mvtos_bancarios .concepto textarea {
	width: 100%;
	min-width: 200px;
	min-height: 40px;
}

#caja_conciliacion_multiple{
	padding: 16px;
	border: 1px solid #dbe5e8;
	border-radius: 10px;
	background: #f7fafb;
	margin-bottom: 20px;
}

.conciliacion-masiva-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 14px;
}

.conciliacion-masiva-seccion {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 16px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
}

.conciliacion-masiva-seccion h4 {
	margin: 0 0 16px;
	font-size: 14px;
	font-weight: 700;
	color: #203f4c;
}

.conciliacion-masiva-seccion h4 i {
	margin-right: 5px;
	color: #00687f;
}

.conciliacion-masiva-seccion .form-group {
	margin: 0;
}

.conciliacion-masiva-seccion .control-label {
	padding: 0;
	margin-bottom: 6px;
	font-size: 12px;
	color: #203f4c;
}

.conciliacion-masiva-seccion .input-group {
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
}

.conciliacion-masiva-seccion div.select > .value {
	display: flex;
	align-items: center;
	height: 38px;
	padding: 0 30px 0 12px !important;
	border: 1px solid #dde1e6 !important;
	border-radius: 8px;
}

.conciliacion-masiva-accion {
	margin-top: auto;
	padding-top: 16px;
}

.conciliacion-masiva-accion .vtos-btn-icono {
	width: 100%;
	justify-content: center;
	font-size: 12px !important;
}

.conciliacion-masiva-accion .conciliacion-masiva-eliminar {
	color: #b42318 !important;
	border-color: #f2c7c3 !important;
}

.conciliacion-masiva-accion .conciliacion-masiva-eliminar:hover:not(:disabled) {
	background: #fef3f2 !important;
	color: #b42318 !important;
}

.conciliacion-masiva-seccion .alert {
	margin-bottom: 0;
	font-size: 12px;
}

@media (max-width: 479px) {
	.conciliacion-masiva-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

#caja_conciliacion_multiple div.col-lg-7 > div,
#caja_conciliacion_multiple div.col-lg-5 > div{
	background: #fafafa;
	padding: 20px;
	border: 1px solid #eee;
	margin-bottom: 20px;
}

#resp_conciliacion_multiple{
	margin-top: 10px;
}

#resp_conciliacion_multiple p {
	margin: 10px 0 0 0;
}

span.eliminar_linea_otros_mvtos i:hover {
	cursor: pointer;
	color: #00687f;
}

#tabla_lista_mvtos_bancarios span.concepto a {
	position: absolute;
}

#caja_btn {
	position: relative;
	text-align: left;
}

#caja_btn ul.dropdown-menu {
	margin: 0;
	padding: 0;
	top: 30px;
}

/* acciones de tabla */

.datatables td.acciones > a,
.datatables td.acciones > button {
	float: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 30px;
	height: 30px;
	margin: 2px;
	padding: 0 7px;
	border: 1px solid #d8e3e7 !important;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	color: #315363;
	vertical-align: middle;
	font-size: 12px;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.datatables td.acciones > a > i,
.datatables td.acciones > button > i {
	margin: 0;
	font-size: 14px;
	line-height: 1;
}

.datatables td.acciones > a:hover,
.datatables td.acciones > button:hover {
	border-color: #00758c !important;
	background: #eef8fb;
	color: #00687f;
	text-decoration: none;
}

:is(a, button, input[type="button"], input[type="submit"]):is(
	[id*="eliminar"], [class*="eliminar"], [id*="borrar"], [class*="borrar"],
	[title^="Eliminar" i], [title^="Borrar" i]
):not(:disabled):not([disabled]):not(.disabled):not([aria-disabled="true"]):hover {
	border-color: #e53935 !important;
	background: #fdeeee !important;
	color: #c62828 !important;
}

.datatables td.acciones > button[disabled] {
	opacity: .4;
	cursor: not-allowed;
}

.datatables td.acciones > .dropdown-toggle {
	padding: 0 10px;
}

/* movimientos bancarios: toolbar */

#tabla_lista_mvtos_bancarios .dataTables_filter .div_btn_refrescar,
#tabla_lista_mvtos_bancarios .dataTables_filter .div_btn_refrescar .input-group {
	margin: 0;
	width: auto !important;
}

#tabla_lista_mvtos_bancarios .dataTables_filter .refrescar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid #d8e3e7;
	border-radius: 9px;
	background: #fff;
	color: #315363;
	position: static;
	box-shadow: none;
	transition: background .15s ease, border-color .15s ease, color .15s ease;
}

#tabla_lista_mvtos_bancarios .dataTables_filter .refrescar:hover {
	border-color: #00758c;
	background: #eef8fb;
	color: #00687f;
}

#tabla_lista_mvtos_bancarios .dataTables_filter .refrescar i {
	margin: 0;
	transition: transform .5s ease;
}

#tabla_lista_mvtos_bancarios .dataTables_filter .refrescar:active i {
	transform: rotate(-360deg);
}

#tabla_lista_mvtos_bancarios .dataTables_filter #caja_btn .dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	border-radius: 9px;
}

/* tesoreria */

.tesoreria_encabezado {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
	position: relative;
	z-index: 10;
}

.botones_tesoreria {
	margin-top: 0;
	float: none;
	display: flex;
	gap: 6px;
}

.botones_tesoreria a {
	color: #333;
}

.botones_tesoreria .tesoreria-refrescar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border-radius: 9px;
	box-shadow: none;
}

.botones_tesoreria .tesoreria-acciones {
	position: relative;
}

.botones_tesoreria .tesoreria-acciones > button {
	height: 34px !important;
}

.botones_tesoreria .tesoreria-acciones > .dropdown-menu {
	top: 100%;
	right: 0;
	left: auto;
	margin-top: 6px;
	border: 1px solid #dbe5e8;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(28, 54, 67, .12);
}

#accounts-notification {
	margin-bottom: 20px;
	padding-right: 44px;
}

#accounts-notification .tesoreria-alert-main {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
}

#accounts-notification .tesoreria-alert-main > i {
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #f2994a;
	color: #fff;
	text-align: center;
	line-height: 26px;
}

#accounts-notification .tesoreria-alert-text {
	flex: 1 1 360px;
}

#accounts-notification .alert-tesoreria-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 6px 10px;
	border: 1px solid #f2d2a6;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	color: #7a4a12;
	text-decoration: none;
}

#accounts-notification .alert-tesoreria-cta:hover {
	border-color: #e8b66f;
	background: #fff9f1;
	color: #7a4a12;
	text-decoration: none;
}

#kpis_tesoreria {
	margin-bottom: 8px;
}

.kpi_card {
	display: block;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-left: 4px solid #cbd5e1;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 15px;
	color: var(--text-dark, #2c3f58);
}

a.kpi_card:hover {
	text-decoration: none;
	color: var(--text-dark, #2c3f58);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.kpi_card_label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	color: var(--text-light, #778699);
	margin-bottom: 4px;
}

.kpi_card_valor {
	display: block;
	font-size: 22px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.kpi_card_link {
	font-size: 12px;
	color: var(--principal, #13c2c2);
}

.kpi_card_hint {
	color: var(--text-light, #778699);
}

.kpi_card_cobros {
	border-left-color: #16a34a;
}

.kpi_card_pagos {
	border-left-color: #dc2626;
}

.kpi_card_balance {
	border-left-color: var(--principal, #13c2c2);
}

.kpi_card_negativo {
	border-left-color: #dc2626;
	background: #fef2f2;
}

.kpi_card_negativo .kpi_card_valor {
	color: #b91c1c;
}

#opciones_cuentas {
	position: relative;
	margin: 18px 0 14px;
	padding: 12px 14px;
	border: 1px solid #dbe5e8;
	border-radius: 10px;
	background: #f8fafb;
}

#opciones_cuentas span {
	margin: 0;
}

.opciones_cuentas_label {
	font-size: 13px;
	font-weight: 700;
	color: #2c3f58;
}

.opciones_cuentas_lista {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 9px;
}

.chip_cuenta {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 6px 10px;
	border: 1px solid #d6e0e5;
	border-radius: 7px;
	font-weight: 500;
	font-size: 13px;
	cursor: pointer;
	background: #fff;
	color: var(--text-dark, #2c3f58);
}

.chip_cuenta input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.chip_cuenta.chip_activo {
	background: #eaf6f8;
	border-color: #9dced6;
	color: var(--tunuve, #00687f);
	font-weight: 600;
}

.chip_cuenta_nombre::before {
	content: "";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	margin-right: 7px;
	border: 1px solid #aebdc5;
	border-radius: 4px;
	background: #fff;
	font: 11px FontAwesome;
}

.chip_cuenta_nombre {
	display: inline-flex;
	align-items: center;
}

.chip_activo .chip_cuenta_nombre::before {
	content: "\f00c";
	border-color: #00758c;
	background: #00758c;
	color: #fff;
}

.chip_cuenta input:focus-visible + .chip_cuenta_nombre {
	outline: 2px solid #00758c;
	outline-offset: 3px;
}

.chip_cuenta_total {
	border-style: dashed;
}

#rescalendar_tesoreria {
	margin: 10px 0 20px;
	max-width: 100%;
	padding: 0;
}

#sin_cuentas_tesoreria {
	margin: 10px 0 20px;
	padding: 18px;
	border: 1px dashed #cbdde3;
	border-radius: 10px;
	background: #f8fafb;
	color: #526477;
	text-align: center;
}

#sin_cuentas_tesoreria i {
	margin-right: 7px;
	color: #00758c;
}

#rescalendar_tesoreria .rescalendar {
	padding: 0;
	max-width: 100%;
	background: #fff;
	border: 1px solid #eef0f2;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	overflow: auto;
}

#rescalendar_tesoreria .rescalendar_table {
	width: 100%;
	margin-top: 0;
	border-collapse: separate;
	border-spacing: 0;
	font-variant-numeric: tabular-nums;
}

#rescalendar_tesoreria .rescalendar_controls {
	margin: 0;
	padding: 6px 10px;
	background: #f8fafc;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 0;
}

#rescalendar_tesoreria .rescalendar_controls br,
#rescalendar_tesoreria .rescalendar_controls .refDate {
	display: none;
}

#rescalendar_tesoreria .rescalendar_controls button {
	float: none;
	min-width: 30px;
	padding: 3px 9px;
	background: #fff;
	border: 1px solid #d7dde5;
	color: var(--text-dark, #2c3f58);
	line-height: 1.4;
}

#rescalendar_tesoreria .rescalendar_controls button:hover {
	background: #eef2f6;
	color: #00687f;
	z-index: 1;
}

#rescalendar_tesoreria .rescalendar_controls .move_to_last_month {
	border-radius: 6px 0 0 6px;
}

#rescalendar_tesoreria .rescalendar_controls .move_to_yesterday,
#rescalendar_tesoreria .rescalendar_controls .move_to_tomorrow,
#rescalendar_tesoreria .rescalendar_controls .move_to_next_month {
	border-left: 0;
}

#rescalendar_tesoreria .rescalendar_controls .move_to_next_month {
	border-radius: 0 6px 6px 0;
}

#rescalendar_tesoreria .rescalendar_controls .move_to_today {
	margin-left: 8px;
	border-radius: 6px;
	background: transparent;
	border: 1px solid #9ad3d8;
	color: #00687f;
	font-weight: 600;
	padding: 3px 12px;
}

#rescalendar_tesoreria .rescalendar_controls .move_to_today:hover {
	background: #e6f4f5;
	color: #00687f;
}

#rescalendar_tesoreria thead td {
	position: sticky;
	top: 0;
	z-index: 3;
	background: #eef6f8;
	border-bottom: 2px solid #cfe0e5;
	padding: 8px 10px;
	white-space: nowrap;
	text-align: center;
}

#rescalendar_tesoreria thead td.day_cell {
	border-right: 1px solid #dbe5e9;
}

#rescalendar_tesoreria .rescalendar_day_cells span {
	display: inline;
	font-size: 13px;
}

#rescalendar_tesoreria .rescalendar_day_cells span.dia {
	font-weight: 600;
	margin: 0 4px;
}

#rescalendar_tesoreria td.day_cell {
	cursor: pointer;
}

#rescalendar_tesoreria .rescalendar_table .firstColumn {
	position: sticky;
	left: 0;
	z-index: 2;
	background: #fff;
	text-align: left;
	min-width: 150px;
	font-weight: 700;
	color: var(--text-dark, #2c3f58);
	padding: 8px 12px;
	border-right: 1px solid #e5e7eb;
}

#rescalendar_tesoreria thead .firstColumn {
	z-index: 4;
	background: #eef6f8;
}

#rescalendar_tesoreria tr.dataRow:nth-child(even) td {
	background: #f9fafb;
}

#rescalendar_tesoreria tr.dataRow:hover td {
	background: #edf7f9;
}

#rescalendar_tesoreria tr.dataRow:has(td[data-id_pf_cuenta_bancaria="Total"]) td {
	background: #eaf4f6;
	font-weight: 700;
}

#rescalendar_tesoreria tr.dataRow:has(td[data-id_pf_cuenta_bancaria="Total"]) .firstColumn {
	text-transform: uppercase;
}

#rescalendar_tesoreria td.data_cell {
	border: 0;
	border-bottom: 1px solid #eef1f4;
	border-right: 1px solid #dbe5e9;
	text-align: right;
	padding: 0;
}

#rescalendar_tesoreria td.data_cell a {
	display: block;
	text-align: right;
	min-width: 92px;
	color: var(--text-dark, #2c3f58);
	padding: 9px 12px;
	text-decoration: none;
}

#rescalendar_tesoreria thead td.today {
	color: #2c3f58;
}

#rescalendar_tesoreria td.tesoreria-dia-seleccionado {
	background: #e2f3f6 !important;
	box-shadow: inset 0 0 0 1px #b8dce3;
}

#rescalendar_tesoreria thead td.day_cell.tesoreria-dia-seleccionado {
	border-top: 3px solid #00687f;
}

#rescalendar_tesoreria td.middleDay {
	border: 0;
	outline: 0;
}

#rescalendar_tesoreria input.refDate {
	display: none;
}

#rescalendar_tesoreria td.data_cell.saldo_cero a {
	color: #b0b8c1;
}

#rescalendar_tesoreria td.data_cell.saldo_negativo a {
	color: #dc2626;
	font-weight: 600;
}

.tesoreria-panel {
	display: none;
	margin: 5px 0 20px;
	padding: 18px;
	border: 1px solid #dbe5e8;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 2px 7px rgba(28, 54, 67, .05);
}

.tesoreria-panel .tesoreria-panel-titulo {
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e4ebee;
}

.tesoreria-panel .tesoreria-panel-titulo h3 {
	margin: 0 0 3px;
	font-size: 15px;
	font-weight: 700;
	color: #203f4c;
}

.tesoreria-panel .tesoreria-panel-titulo h3 i {
	margin-right: 5px;
	color: #00758c;
}

.tesoreria-panel .tesoreria-panel-titulo p {
	margin: 0;
	font-size: 12px;
	color: #718495;
}

.tesoreria-panel .cerrar_caja {
	top: 14px;
	right: 14px;
	margin: 0;
}

.tesoreria-panel .cerrar_caja i {
	font-size: 20px;
	color: #7c909b;
}

#resp_mvtos,
.tesoreria-ptes-scroll {
	overflow-x: auto;
}

#resp_mvtos .tesoreria-mvtos-tabla,
.tesoreria-ptes-tabla {
	margin-bottom: 0;
}

#resp_mvtos .tesoreria-mvtos-tabla th,
#resp_cobros_ptes .tesoreria-ptes-tabla thead th,
#resp_pagos_ptes .tesoreria-ptes-tabla thead th {
	padding: 10px 12px;
	border-bottom: 1px solid #dce6ea;
	background: #f3f8f9;
	color: #3d5865;
	font-size: 12px;
	font-weight: 700;
}

#resp_mvtos .tesoreria-mvtos-tabla td,
.tesoreria-ptes-tabla td,
.tesoreria-ptes-tabla tfoot th {
	padding: 10px 12px;
	border-top: 1px solid #e9eef0;
	vertical-align: middle;
}

#resp_mvtos .tesoreria-mvtos-tabla tbody tr:hover,
.tesoreria-ptes-tabla tbody tr:hover {
	background: #f7fbfc;
}

#resp_mvtos .tesoreria-mvtos-tabla th:nth-child(2),
#resp_mvtos .tesoreria-mvtos-tabla td:nth-child(2),
#resp_mvtos .tesoreria-mvtos-tabla th:nth-child(3),
#resp_mvtos .tesoreria-mvtos-tabla td:nth-child(3),
#resp_mvtos .tesoreria-mvtos-tabla th:nth-child(4),
#resp_mvtos .tesoreria-mvtos-tabla td:nth-child(4) {
	text-align: right;
}

#resp_mvtos .tesoreria-mvtos-tabla th:nth-child(3),
#resp_mvtos .tesoreria-mvtos-tabla td:nth-child(3) {
	padding-left: 28px;
}

#resp_mvtos .btn_ver_mvtos_cuenta {
	padding: 6px 10px;
	border: 1px solid #d3e1e6;
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	color: #00687f;
	font-size: 12px;
}

#resp_mvtos .btn_ver_mvtos_cuenta:hover {
	border-color: #9fcbd3;
	background: #eef8fa;
}

.tesoreria-ptes-tabla th:nth-child(n+2),
.tesoreria-ptes-tabla td:nth-child(n+2) {
	text-align: right;
}

.tesoreria-ptes-tabla tfoot,
#resp_mvtos .tesoreria-mvtos-tabla tbody tr:last-child td {
	background: #eaf4f6;
	color: #203f4c;
	font-weight: 700;
}

.num_negativo {
	color: red !important;
}

.caja_ptes {
	margin-top: 20px;
}

.caja_tesoreria {
	position: relative;
}

.cerrar_caja {
	position: absolute;
	right: 5px;
	top: 5px;
}

.cerrar_caja i {
	font-size: 24px;
	color: #00687f;
}

.cerrar_caja:hover {
	cursor: pointer;
}

/* ajuste asterism */
div.select {
	max-width: inherit;
	background: #fff;
}

div.select * {
	font-size: 13px !important;
	font-family: "inter", "Roboto", "sans-serif" !important;
}

#tabla_otros_mvtos div.select span.value {
	border: 1px solid #ccc;
	padding: 5px 10px;;
}

.form-group div.select span.value {
	border-bottom: 0;
	padding: 10px !important;
}

.select .list ul li:hover,
div.select .list ul li.hovered {
	color: #fff;
	background-color: #00687f !important;
}

.select .value::before {
	border-color: #999 transparent transparent;
	margin: -2px 10px;
}

/* proyecciones y traspasos */
.proyecciones-listado-header {
	margin: 12px 0 16px;
}

#tab_proyecciones td.acciones,
#tab_traspasos td.acciones,
#tab_reglas td.acciones {
	white-space: nowrap;
}

#tab_proyecciones #tabla_lista_proyecciones div.alert,
#tab_traspasos #tabla_lista_traspasos div.alert,
#tab_reglas #tabla_lista_reglas div.alert {
	margin-top: 0;
}

.vtos-toolbar-acciones #btn_eliminar_reglas:hover {
	border-color: #e53935 !important;
	background: #fdeeee !important;
	color: #c62828 !important;
}

.proyeccion-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.proyeccion-seccion {
	min-width: 0;
	padding: 18px;
	border: 1px solid #dbe5e8;
	border-radius: 10px;
	background: #f7fafb;
}

.proyeccion-seccion h3 {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 700;
	color: #203f4c;
}

.proyeccion-seccion h3 i {
	margin-right: 5px;
	color: #00687f;
}

.proyeccion-seccion .form-group {
	display: flex;
	flex-direction: column;
	margin: 0 0 14px;
}

.proyeccion-seccion .form-group:last-child {
	margin-bottom: 0;
}

.proyeccion-seccion .control-label {
	padding: 0;
	margin-bottom: 6px;
	font-size: 12px;
	color: #203f4c;
}

.proyeccion-seccion .input-group {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
}

.proyeccion-seccion .input-group input.form-control {
	height: 38px;
	border: 1px solid #dde1e6;
	border-radius: 8px;
	background: #fff;
}

.proyeccion-seccion .input-group.date input.form-control {
	padding-right: 34px;
}

.proyeccion-seccion .input-group.date > div:not(.bootstrap-datetimepicker-widget) {
	top: 50% !important;
	z-index: 3 !important;
	transform: translateY(-50%);
}

.proyeccion-seccion .input-group.date .fa-calendar {
	font-size: 15px !important;
	color: #778699;
}

.proyeccion-modern #form_anadir_proyeccion .selecciona_mes,
.proyeccion-modern #form_anadir_traspaso .selecciona_mes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	overflow: visible;
}

.proyeccion-modern .selecciona_mes > p {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 12px;
	color: #203f4c;
}

.proyeccion-modern .selecciona_mes .checkbox {
	display: flex;
	align-items: center;
	min-height: 36px;
	margin: 0 !important;
	padding: 6px 8px 6px 34px;
	border: 1px solid #dde1e6;
	border-radius: 7px;
	background: #fff;
	font-size: 12px;
}

.proyeccion-modern .selecciona_mes .input-helper {
	position: absolute;
	left: 9px;
	top: 50%;
	width: 17px;
	height: 17px;
	transform: translateY(-50%);
}

.proyeccion-modern .selecciona_mes .checkbox:has(input:checked) {
	border-color: #9fcbd4;
	background: #eaf6f8;
	color: #00687f;
}

.proyeccion-modern .selecciona_mes .checkbox:focus-within {
	outline: 2px solid #00687f;
	outline-offset: 2px;
}

.proyeccion-form-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #e2e8f0;
}

.proyeccion-form-footer #btn_volver {
	order: -1;
}

@media (max-width: 767px) {
	.proyeccion-form-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 479px) {
	.proyeccion-modern #form_anadir_proyeccion .selecciona_mes,
	.proyeccion-modern #form_anadir_traspaso .selecciona_mes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

#form_anadir_proyeccion div.selecciona_mes,
#form_anadir_traspaso div.selecciona_mes {
	overflow: hidden;
	padding: 10px 5px;
	margin-top: -20px;
}

/* expediciones */
.botones_expediciones{
	margin: 20px -15px 0 -15px;
}

.botones_expediciones button.active,
.botones_expediciones button:hover{
	background: #00687f;
	color: #fff;
}

/* analítica */
.tabla_resumen_analitica{
	padding: 0 15px;
}

.tabla_resumen_analitica div.row{
	background: #fff;
}

.tabla_resumen_analitica span.valor,
.tabla_resumen_analitica span.perc{
	font-variant-numeric: tabular-nums;
}

.tabla_resumen_analitica span.valor_negativo{
	color: #dc2626;
}

#tabla_analitica_bancos div.row.categoria_analitica_bancos:not(.total):hover{
	background: #f3f4f6;
}

.tabla_resumen_analitica div.row.total.titulo{
	background: #f8fafc;
	border-bottom: 2px solid #e2e8f0;
	margin-top: 0;
}

.tabla_resumen_analitica div.row.total.titulo p,
.tabla_resumen_analitica div.row.total.titulo span{
	color: var(--text-dark, #2c3f58) !important;
	font-size: 12px !important;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-weight: 700;
}

.tabla_resumen_analitica div.row p{
	font-size: 14px;
	margin: 0;
	padding: 5px;
}

.tabla_resumen_analitica div.row p i{
	font-size: 24px;
    margin: -13px 5px 0 0;
    padding: 10px 0;
    float: left;
    clear: none;
}

.tabla_resumen_analitica div.row.subtotal{
	font-weight: bold;
	background: #eee;
	margin-bottom: 15px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

.tabla_resumen_analitica div.row.total{
	background: #00687f;
	margin-top: 5px;
}

.tabla_resumen_analitica div.row.total p{
	font-weight: bold;
	color: #fff;
	font-size: 16px;
}

.tabla_resumen_analitica div.row.desglose{
	background: #fff;
}

.tabla_resumen_analitica div.row.desglose p{
	font-size: 12px;
	padding-left: 30px;
}

.tabla_resumen_analitica div.row span.valor,
.tabla_resumen_analitica div.row span.perc{
	text-align: right;
	padding-left: 10px;
	min-width: 100px;
	display: block;
	float: right;
}

.tabla_resumen_analitica div.row span.perc{
	width: 60px;
	min-width: auto !important;
}

.tabla_resumen_analitica div.row.titulo{
	margin-bottom: 15px;
}

.tabla_resumen_analitica div.row.titulo span.perc{
	font-size: 16px;
	padding-top: 2px;
}

.tabla_resumen_analitica div.row.titulo span{
	float: right;
	display: block;
	text-align: right;
}

#tabla_analitica_bancos.tabla_resumen_analitica div.row{
	border-bottom: 1px solid #ddd;
	padding: 5px 0 0;
}

#tabla_analitica_bancos.tabla_resumen_analitica div.row:hover{
	cursor: pointer;
}

#tabla_analitica_bancos.tabla_resumen_analitica div.row.total{
	margin: 0 -15px;
}

#tabla_analitica_bancos div.detalle_analitica_bancos{
	display: none;
	padding: 5px 0 5px 20px !important;
	background: #fbfcfd;
}

div.detalle_analitica_bancos .select .value{
	border-bottom: 0;
}

/* Mi dinero - panel de análisis */

.analitica-bancos-modern .analitica-bancos-filtros {
	grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 2fr) minmax(0, 1fr);
}

.analitica-bancos-modern #tabla_analitica_bancos {
	border: 1px solid #dbe5e8;
	border-radius: 10px;
	padding: 0;
}

.analitica-bancos-modern #tabla_analitica_bancos.tabla_resumen_analitica > div.row {
	margin: 0;
}

.analitica-bancos-modern #tabla_analitica_bancos.tabla_resumen_analitica > div.row.categoria_analitica_bancos {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, 45%);
	align-items: center;
	padding: 9px 12px;
	border-bottom: 1px solid #edf1f4;
}

.analitica-bancos-modern #tabla_analitica_bancos > .categoria_analitica_bancos::before,
.analitica-bancos-modern #tabla_analitica_bancos > .categoria_analitica_bancos::after {
	display: none;
}

.analitica-bancos-modern #tabla_analitica_bancos > .categoria_analitica_bancos > div {
	width: auto;
	min-width: 0;
	padding: 0;
}

.analitica-bancos-modern #tabla_analitica_bancos .categoria_analitica_bancos p {
	padding: 3px 4px;
	font-size: 13px;
	line-height: 1.5;
}

.analitica-bancos-modern #tabla_analitica_bancos p.text-right {
	display: flex;
	flex-direction: row-reverse;
	align-items: baseline;
	gap: 12px;
	font-variant-numeric: tabular-nums;
}

.analitica-bancos-modern #tabla_analitica_bancos span.valor,
.analitica-bancos-modern #tabla_analitica_bancos span.perc {
	float: none;
	padding: 0;
	white-space: nowrap;
}

.analitica-bancos-modern #tabla_analitica_bancos span.valor {
	flex: 1;
	min-width: 0;
}

.analitica-bancos-modern #tabla_analitica_bancos span.perc {
	flex: 0 0 64px;
	font-size: 11px;
	color: #71869a;
}

.analitica-bancos-modern #tabla_analitica_bancos .categoria_analitica_bancos > div:first-child p {
	display: flex;
	align-items: center;
	gap: 8px;
}

.analitica-bancos-modern #tabla_analitica_bancos .categoria_analitica_bancos p i {
	width: 18px;
	flex-shrink: 0;
	text-align: center;
	font-size: 15px;
	color: #71869a;
}

.analitica-bancos-modern #tabla_analitica_bancos.tabla_resumen_analitica > div.row.grupo_analitica_bancos {
	padding: 12px 16px 6px !important;
	background: #fafcfd;
}

.analitica-bancos-modern #tabla_analitica_bancos .grupo_analitica_bancos > div {
	padding: 0;
}

.analitica-bancos-modern #tabla_analitica_bancos .grupo_analitica_bancos p {
	padding: 0;
}

.analitica-bancos-modern #tabla_analitica_bancos .row.titulo {
	background: #f0f5f7;
	color: #203f4c;
	border-radius: 9px 9px 0 0;
	cursor: default;
}

.analitica-bancos-modern #tabla_analitica_bancos .row.subtotal {
	background: #f7fafb;
	cursor: default;
}

.analitica-bancos-modern #tabla_analitica_bancos .row.total:not(.titulo) {
	background: #eaf4f6;
	border-top: 2px solid #00687f;
	border-radius: 0 0 9px 9px;
	cursor: default;
}

.analitica-bancos-modern #tabla_analitica_bancos .categoria_analitica_bancos:not(.total):not(.subtotal):hover {
	background: #f0f8fa;
}

.analitica-bancos-modern .analitica_grafico_caja {
	border-color: #dbe5e8;
	border-radius: 10px;
	box-shadow: none;
	padding: 20px;
}

.analitica-bancos-modern .analitica-seccion-titulo {
	margin-bottom: 16px;
}

.analitica-bancos-modern .analitica-seccion-titulo h4 {
	margin: 0 0 6px;
	font-size: 14px;
	color: #203f4c;
}

.analitica-bancos-modern .analitica-seccion-titulo p {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: #71869a;
}

.analitica-bancos-modern .analitica-grafico-leyenda {
	display: flex;
	gap: 18px;
	padding-bottom: 14px;
	margin-bottom: 16px;
	border-bottom: 1px solid #edf1f4;
	font-size: 12px;
}

.analitica-bancos-modern .analitica-grafico-leyenda i {
	margin-right: 5px;
	color: #16a34a;
}

.analitica-bancos-modern .analitica-grafico-leyenda span:last-child i {
	color: #dc2626;
}

.analitica-bancos-modern .analitica_toggle input:checked + .analitica_toggle_track {
	background: #00687f;
}

@media (max-width: 991px) {
	.analitica-bancos-modern .analitica-bancos-filtros {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.analitica-bancos-modern .analitica_grafico_caja {
		margin-top: 18px;
	}
}

@media (max-width: 479px) {
	.analitica-bancos-modern .analitica-bancos-filtros {
		grid-template-columns: minmax(0, 1fr);
	}
}

.analitica_filtros{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 18px;
	background: #f8fafc;
	border: 1px solid #eef0f2;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 16px;
}

.analitica_titulo{
	margin: 0 auto 0 0;
	align-self: center;
}

.analitica_filtros_grupo{
	display: flex;
	align-items: flex-end;
	gap: 10px;
}

.analitica_filtros_fechas{
	gap: 6px;
}

.analitica_filtros_sep{
	padding-bottom: 7px;
	color: var(--text-light, #778699);
}

.analitica_filtros .form-group{
	margin: 0;
	width: auto;
	display: flex;
	flex-direction: column;
}

.analitica_filtros .form-group > label,
.analitica_filtros .control-label{
	display: block;
	float: none;
	width: auto;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-light, #778699);
	margin: 0 0 3px;
	padding: 0;
}

.analitica_filtros .form-group .input-group{
	display: block;
	width: 150px;
	padding: 0;
	float: none;
}

.analitica_filtros_fechas .form-group .input-group{
	width: 118px;
}

.analitica_filtros input.form-control{
	display: block;
	height: 32px;
	width: 100%;
	font-size: 13px;
	border-radius: 6px;
	border: 1px solid #d7dde5;
	background-color: #fff;
	padding-right: 26px;
}

.analitica_filtros .select2-container{
	width: 150px !important;
}

.analitica_filtros .select2-container--default .select2-selection--single{
	height: 32px !important;
	border: 1px solid #d7dde5 !important;
	border-radius: 6px !important;
	padding: 0 !important;
	background: #fff;
}

.analitica_filtros .select2-selection--single .select2-selection__rendered{
	line-height: 32px !important;
	padding: 0 24px 0 10px !important;
	font-size: 13px;
	color: var(--text-dark, #2c3f58);
}

.analitica_filtros .select2-selection--single .select2-selection__arrow{
	top: 0 !important;
	height: 30px !important;
	right: 6px;
}

.analitica_toggle{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	margin: 0;
	cursor: pointer;
	font-size: 13px;
	font-weight: 400;
	color: var(--text-dark, #2c3f58);
}

.analitica_toggle input{
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.analitica_toggle_track{
	position: relative;
	width: 36px;
	height: 20px;
	border-radius: 999px;
	background: #cbd5e1;
	transition: background 0.15s ease;
	flex-shrink: 0;
}

.analitica_toggle_track::after{
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	transition: transform 0.15s ease;
}

.analitica_toggle input:checked + .analitica_toggle_track{
	background: var(--principal, #13c2c2);
}

.analitica_toggle input:checked + .analitica_toggle_track::after{
	transform: translateX(16px);
}

.analitica_toggle input:focus-visible + .analitica_toggle_track{
	outline: 2px solid var(--principal, #13c2c2);
	outline-offset: 2px;
}

.analitica_filtros .analitica_btn_refrescar{
	height: 32px;
	width: 32px;
	padding: 0;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	border-color: #d7dde5;
}

.analitica_filtros .analitica_btn_refrescar i{
	margin: 0;
}

#kpis_analitica{
	margin-bottom: 8px;
}

.kpi_card_ingresos{ border-left-color: #16a34a; }
.kpi_card_ingresos .kpi_card_valor{ color: #15803d; }
.kpi_card_gastos{ border-left-color: #dc2626; }
.kpi_card_gastos .kpi_card_valor{ color: #b91c1c; }
.kpi_card_resultado{ border-left-color: var(--principal, #13c2c2); }

.analitica_panel{
	margin-top: 4px;
}

.analitica_grafico_caja{
	border: 1px solid #eef0f2;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	padding: 14px 16px;
	background: #fff;
}

.analitica_grafico_caja h5{
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--text-dark, #2c3f58);
}

.analitica_grafico_lienzo{
	position: relative;
	height: 360px;
}

.tabla_resumen_analitica div.row.grupo_analitica_bancos{
	background: transparent;
	padding: 14px 5px 4px !important;
}

#tabla_analitica_bancos.tabla_resumen_analitica div.row.grupo_analitica_bancos{
	border-bottom: 0;
}

.tabla_resumen_analitica div.row.grupo_analitica_bancos p{
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-light, #778699);
	margin: 0;
}

.tabla_resumen_analitica div.row.subtotal{
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	border-bottom: 0;
	margin-bottom: 4px;
}

.tabla_resumen_analitica div.row.subtotal p,
.tabla_resumen_analitica div.row.subtotal span{
	font-weight: 600;
	color: var(--text-dark, #2c3f58);
}

.tabla_resumen_analitica div.row.total:not(.titulo){
	background: #f8fafc;
	border-top: 2px solid #00687f;
	margin-top: 6px;
}

.tabla_resumen_analitica div.row.total:not(.titulo) p{
	color: var(--text-dark, #2c3f58);
	font-size: 15px;
}

.tabla_resumen_analitica div.row span.perc{
	width: auto;
	min-width: 64px !important;
	white-space: nowrap;
}

/* Cuenta de resultados analítica: cifras en columnas (año actual | % | año anterior | %) */
#resp_resumen.tabla_resumen_analitica div.row{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

#resp_resumen.tabla_resumen_analitica div.row > div{
	padding-top: 0;
	padding-bottom: 0;
}

#resp_resumen.tabla_resumen_analitica div.row p.cifras{
	display: flex;
	justify-content: flex-end;
	align-items: baseline;
	gap: 2px 6px;
	flex-wrap: wrap;
	width: 100%;
	padding: 5px 0;
}

#resp_resumen.tabla_resumen_analitica div.row p.cifras span.valor,
#resp_resumen.tabla_resumen_analitica div.row p.cifras span.perc{
	float: none;
	display: inline-block;
	min-width: 0 !important;
	padding-left: 0;
	text-align: right;
}

#resp_resumen.tabla_resumen_analitica div.row p.cifras span.valor{
	width: 118px;
}

#resp_resumen.tabla_resumen_analitica div.row p.cifras span.perc{
	width: 60px !important;
	font-size: 12px;
	color: var(--text-light, #778699);
}

#resp_resumen.tabla_resumen_analitica div.row p.cifras span.valor-ant,
#resp_resumen.tabla_resumen_analitica div.row p.cifras span.perc-ant{
	opacity: .5;
}

#resp_resumen.tabla_resumen_analitica div.row.total.titulo p.cifras span.valor,
#resp_resumen.tabla_resumen_analitica div.row.total.titulo p.cifras span.perc{
	opacity: 1;
	font-weight: 700;
}

#resp_resumen.tabla_resumen_analitica div.row.grupo{
	background: transparent;
	border-bottom: 2px solid #e2e8f0;
	margin-top: 14px;
}

#resp_resumen.tabla_resumen_analitica div.row.grupo p{
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-dark, #2c3f58);
	padding: 4px 2px;
}

#resp_resumen.tabla_resumen_analitica p.nota-analitica{
	font-size: 11px;
	font-style: italic;
	color: var(--text-light, #778699);
	margin: 12px 0 0;
	padding: 0 2px;
}

/* Color de la cuenta de resultados analítica */
#resp_resumen.tabla_resumen_analitica{
	border: 1px solid var(--secundario, #dcf1f2);
	border-radius: 8px;
	overflow: hidden;
	padding: 0;
}

#resp_resumen.tabla_resumen_analitica > div.row > div{
	padding: 0;
}

#resp_resumen.tabla_resumen_analitica div.row{
	padding: 0 14px;
}

#resp_resumen.tabla_resumen_analitica div.row.total.titulo{
	background: var(--tunuve, #00687f);
	border-bottom: 0;
}

#resp_resumen.tabla_resumen_analitica div.row.total.titulo p,
#resp_resumen.tabla_resumen_analitica div.row.total.titulo span{
	color: #fff !important;
}

#resp_resumen.tabla_resumen_analitica div.row.grupo{
	background: var(--secundario, #dcf1f2);
	border-bottom: 0;
	border-left: 4px solid var(--tunuve, #00687f);
	margin-top: 0;
}

#resp_resumen.tabla_resumen_analitica div.row.grupo p{
	color: var(--tunuve, #00687f);
	padding: 6px 2px;
}

#resp_resumen.tabla_resumen_analitica div.row.desglose{
	background: var(--bg-lightgrey, #fafbfd);
}

#resp_resumen.tabla_resumen_analitica div.row.subtotal{
	background: #e6f2f4;
	border-top: 1px solid var(--secundario-sup, #9ceaea);
	border-bottom: 1px solid var(--secundario-sup, #9ceaea);
}

#resp_resumen.tabla_resumen_analitica div.row.subtotal p,
#resp_resumen.tabla_resumen_analitica div.row.subtotal span{
	color: var(--tunuve, #00687f);
	font-weight: 700;
}

#resp_resumen.tabla_resumen_analitica div.row.total:not(.titulo){
	background: var(--tunuve, #00687f);
	border-top: 0;
	margin-top: 0;
}

#resp_resumen.tabla_resumen_analitica div.row.total:not(.titulo) p,
#resp_resumen.tabla_resumen_analitica div.row.total:not(.titulo) span{
	color: #fff !important;
	font-size: 15px;
}

#resp_resumen.tabla_resumen_analitica div.row.total:not(.titulo) span.valor-ant,
#resp_resumen.tabla_resumen_analitica div.row.total:not(.titulo) span.perc-ant{
	opacity: .7;
}

#resp_resumen.tabla_resumen_analitica div.row.total.negativo{
	background: #c0203a;
}

#resp_resumen.tabla_resumen_analitica div.row:not(.grupo):not(.subtotal):not(.total){
	border-bottom: 1px solid #eef4f5;
}

#resp_resumen.tabla_resumen_analitica div.row:not(.grupo):not(.total) span.valor.valor_negativo{
	color: var(--alert-danger-strong, #ff0033);
}

.analitica-subtitulo{
	font-size: 13px;
	color: var(--text-light, #778699);
	margin: -4px 0 14px;
}

.analitica-filtros h4{
	font-size: 13px;
	font-weight: 700;
	color: var(--text-dark, #2c3f58);
	margin: 0 0 8px;
}

.analitica-filtros .col-md-3{
	margin-bottom: 12px;
}

/* Análisis · Clientes y proveedores — listado en rejilla */
#seccion_cli_prov .cuadro_inicio{
	overflow: visible;
	margin: 8px 0 26px;
}

#seccion_cli_prov .cuadro_inicio > h4{
	display: none;
}

#seccion_cli_prov .cli_lista{
	background: #fafbfd;
	border: 1px solid #e9edf1;
	border-radius: 10px;
	padding: 4px 18px 10px;
}

#seccion_cli_prov .cli_titulo{
	font-size: 13px;
	font-weight: 600;
	color: var(--tunuve, #00687f);
	padding: 10px 0;
	border-bottom: 2px solid #dbe7ea;
}

#seccion_cli_prov .cli_titulo b{
	color: var(--tunuve, #00687f);
	font-weight: 700;
}

#seccion_cli_prov .cli_row{
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) auto 68px 128px;
	column-gap: 14px;
	row-gap: 2px;
	align-items: baseline;
	padding: 6px 4px 6px 10px;
	border-bottom: 1px solid #ebeff3;
	border-left: 3px solid transparent;
	cursor: pointer;
	transition: background .12s ease;
}

#seccion_cli_prov .cli_row:last-child{
	border-bottom: 0;
}

#seccion_cli_prov .cli_row:hover{
	background: #fff;
}

#seccion_cli_prov .cli_row_core{
	border-left-color: var(--tunuve, #00687f);
}

#seccion_cli_prov .cli_pos{
	grid-column: 1;
	align-self: center;
	width: 22px;
	height: 22px;
	line-height: 22px;
	text-align: center;
	border-radius: 999px;
	background: #e4edf0;
	color: var(--tunuve, #00687f);
	font-size: 11px;
	font-weight: 700;
}

#seccion_cli_prov .cli_row_core .cli_pos{
	background: var(--tunuve, #00687f);
	color: #fff;
}

#seccion_cli_prov .cli_nombre{
	grid-column: 2;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-dark, #2c3f58);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#seccion_cli_prov .cli_pct{
	grid-column: 4;
	text-align: right;
	font-size: 12px;
	color: var(--text-light, #778699);
	font-variant-numeric: tabular-nums;
}

#seccion_cli_prov .cli_importe{
	grid-column: 5;
	text-align: right;
	font-size: 15px;
	font-weight: 700;
	color: var(--tunuve, #00687f);
	font-variant-numeric: tabular-nums;
}

#seccion_cli_prov .cli_meta{
	grid-column: 2 / 6;
	font-size: 12px;
	color: var(--text-light, #778699);
}

#seccion_cli_prov .cli_track{
	grid-column: 2 / 6;
	width: 100%;
	max-width: 320px;
	height: 4px;
	margin-top: 1px;
	background: #e6eaef;
	border-radius: 999px;
	overflow: hidden;
}

#seccion_cli_prov .cli_bar{
	display: block;
	height: 100%;
	background: var(--principal, #13c2c2);
	border-radius: 999px;
}

#seccion_cli_prov .cli_bar_soft{
	background: #c5d0d8;
}

#seccion_cli_prov .cli_bar_pos{
	background: #1a7f4b;
}

#seccion_cli_prov .cli_bar_neg{
	background: #c0203a;
}

#seccion_cli_prov .cli_up{
	color: #1a7f4b;
}

#seccion_cli_prov .cli_down{
	color: #c0203a;
}

#seccion_cli_prov .cli_tesoreria{
	grid-column: 3;
	grid-row: 1;
	align-self: center;
	justify-self: end;
	margin-top: 0;
	height: 26px;
	max-width: 170px;
	border: 1px solid #d7dde5;
	border-radius: 6px;
	background: #fff;
	padding: 0 6px;
	font-size: 12px;
	color: var(--text-dark, #2c3f58);
}

#seccion_cli_prov .cli_vacio{
	padding: 16px 0;
	font-size: 13px;
	color: var(--text-light, #778699);
}

/* Cobros y pagos */

.cobros_pagos_tabs{
	margin-top: 4px;
}

.cobros_pagos_tabs ul.tab-nav{
	border-bottom: 2px solid #e5e7eb;
	margin: 6px 0 0;
	padding: 0;
	display: flex;
	gap: 2px;
}

.cobros_pagos_tabs ul.tab-nav,
.cobros_pagos_tabs ul.tab-nav > li{
	overflow: visible;
	box-shadow: none;
}

.cobros_pagos_tabs ul.tab-nav > li{
	margin: 0;
	display: block;
}

.cobros_pagos_tabs ul.tab-nav > li > a{
	outline: 0 !important;
	border: 0;
	background: transparent;
	padding: 9px 18px;
	color: var(--text-light, #778699);
	font-weight: 600;
	font-size: 13px;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
}

.cobros_pagos_tabs ul.tab-nav > li.active > a,
.cobros_pagos_tabs ul.tab-nav > li > a:hover,
.cobros_pagos_tabs ul.tab-nav > li > a:focus{
	color: var(--tunuve, #00687f) !important;
	background: transparent !important;
	border-bottom-color: var(--tunuve, #00687f);
	font-weight: 600;
}

.cobros_pagos_tabs ul.tab-nav:not([data-tab-color]) > li > a:after{
	display: none;
}

.cp_kpi{
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-left: 4px solid var(--principal, #13c2c2);
	border-radius: 8px;
	padding: 14px 18px;
	margin: 18px 0 20px;
	max-width: 320px;
}

#tab_pagos_ptes .cp_kpi{
	border-left-color: #dc2626;
}

.cp_kpi_label{
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-light, #778699);
}

.cp_kpi_valor{
	font-size: 24px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--text-dark, #2c3f58);
	line-height: 1.2;
	margin: 2px 0;
}

.cp_kpi_sub{
	font-size: 12px;
	color: var(--text-light, #778699);
}

.cp_lista_titulo{
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-light, #778699);
	margin: 0 0 4px;
}

.cp_fila{
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 12px 4px;
	border-bottom: 1px solid #eef1f4;
	cursor: pointer;
}

.cp_fila:hover{
	background: #f8fafc;
}

.cp_rank{
	width: 20px;
	flex-shrink: 0;
	text-align: center;
	font-size: 12px;
	font-weight: 700;
	color: var(--text-light, #778699);
}

.cp_nombre{
	width: 200px;
	flex-shrink: 0;
	font-weight: 600;
	color: var(--text-dark, #2c3f58);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cp_track{
	flex: 1;
	min-width: 60px;
	height: 8px;
	background: #eef1f4;
	border-radius: 999px;
	overflow: hidden;
}

.cp_bar{
	display: block;
	height: 100%;
	background: var(--principal, #13c2c2);
	border-radius: 999px;
}

#tab_pagos_ptes .cp_bar{
	background: #dc2626;
}

.cp_share{
	width: 52px;
	flex-shrink: 0;
	text-align: right;
	font-size: 12px;
	color: var(--text-light, #778699);
	font-variant-numeric: tabular-nums;
}

.cp_importe{
	width: 130px;
	flex-shrink: 0;
	text-align: right;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: var(--text-dark, #2c3f58);
}

.texto_venta p{
	font-size: 16px;
}
.texto_venta ul li{
	font-size: 16px;
	list-style: none;
	margin-bottom: 5px;
}

.texto_venta ul li i{
	font-size: 24px;
	padding-right: 5px;
}

#form_factura_rectificativa #btn_nuevo_contacto{
	padding: 6px 10px 7px 10px;
}

#imagen_logo_serie_message{
	z-index: 10000 ;
}




/* media queries */
/* Large desktops and laptops */
@media (min-width: 1600px) {
	.rescalendar {
		overflow: hidden;
	}
}

/* Landscape tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
	#caja_actividades_asistencia {
		overflow: hidden;
	}

	#contador_asistencia div.borde_izq {
		border: 0;
	}

	div.form-group label {
		padding-left: 0;
		font-weight: bold;
		width: 100%;
		clear: both;
		float: none;
	}
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
	/* general */

	ul.tab-nav li,
	a.btn,
	button,
	div.btn-group,
	div.select_periodo {
		width: 100%;
		float: left;
		clear: both;
		display: block;
		margin-bottom: 10px;
	}

	.dataTables td {
		max-width: 100px;
	}

	.dropdown-menu {
		width: 100%;
	}

	/* login */
	#img_tunuve {
		width: 80%;
	}

	/* inicio */
	div.select_periodo {
		margin: 30px 0;
	}

	/* subir archivos */
	#drop {
		padding: 20px 10px;
		font-size: 12px;
	}

	#upload {
		padding: 0;
		margin: 0;
	}

	.boton_anadir_gasto ul.dropdown-menu {
		margin-top: -0px;
	}

	th.celda_check.sorting_asc {
		width: 15px !important;
	}

	.celda_check.sorting_1 {
		width: auto;
	}

	/* lotes */
	#seccion_lista_lotes .boton_anadir_lote {
		position: relative;
		top: 0;
		right: 0;
		margin-bottom: 30px;
		float: left;
	}

	#seccion_lista_lotes .boton_anadir_lote button {
		margin-top: 3px;
	}

	/* configuración */
	#seccion_configuracion ul.tab-nav > li > a {
		text-transform: uppercase;
	}

	div.form-group label {
		padding-left: 0;
		width: 100%;
		clear: both;
		float: none;
	}

	.boton_anadir {
		margin-bottom: 20px !important;
	}

	.modal-footer button {
		clear: none;
		float: right;
		margin-left: 5px;
		width: auto;
	}

	div.fc-right,
	div.fc-left {
		width: 100%;
		text-align: center;
	}

	.fc-toolbar .ui-button {
		border: 0;
		background: 0 0;
		padding: 0;
		outline: none !important;
		text-align: center;
		width: 100%;
		text-align: left;
		float: right;
		text-align: center;
	}

	.fc-toolbar div.fc-right .ui-button {
		text-align: right;
	}

	img.thumbnail {
		max-width: 100%;
	}

	#logotipo {
		margin-left: -15px;
	}

	#resp_anadir_caja_diaria {
		display: block;
		float: left;
		width: 100%;
		margin: 20px 0;
	}

	#tabla_contabilidad_laboral {
		padding: 0;
	}

	/* asistencia */
	#seccion_detalle_asistencia div.resp {
		float: left;
		clear: both;
		width: 100%;
	}

	#btn_acceder,
	#btn_toggle_regenerar,
	#btn_toggle_cambiar {
		width: 33% !important;
		float: left !important;
		clear: none;
	}
}

/* Portrait phones and smaller */
@media (max-width: 480px) {
	div.form-group label {
		padding-left: 0;
		width: 100%;
		clear: both;
		float: none;
	}

	#resp_listado_facturas,
	#resp_listado_gastos {
		width: 100%;
		float: left;
		clear: both;
	}
}

.botones_origen_tareas button{
	margin-left: -3px;
}


.btn-badge {
	display: inline-block;
	min-width: 10px;
	padding: 2px 7px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	background-color: #777;
	border-radius: 10px;
	margin-left: 5px;
	/* display: none !important; */
}

button.selected .btn-badge {
    border: 1px solid #4a4a4a;
}

.dropdown-menu-ppto {
    left: -75px !important;
    min-width: 220px !important;
}

#tabla_tarifas_kg td{
  min-width: 100px;
}

#tabla_tarifas_kg > tbody > tr:last-child > td,
#tabla_tarifas_kg > tfoot > tr:last-child > td {
    padding-bottom: 10px !important;
}

.billing-menu-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    border-radius: 50%;
    background: #e9f5f7;
    color: #00687f;
    font-size: 10px;
    vertical-align: middle;
}


/* ================================================
   MODERNIZACIÓN MEGA_MENU — aplica en todas las páginas
   ================================================ */

/* Barra contenedora */
.mega_menu.card {
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid #e8ecf1 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.06) !important;
    margin-bottom: 0 !important;
}
.mega_menu ul {
    margin: 0 !important;
}
.mega_menu ul.main-menu {
    padding: 0 12px !important;
}

/* Items de sección — quita el bloque sólido oscuro */
.mega_menu ul > li {
    background: transparent !important;
    border-bottom: 3px solid transparent;
    transition: border-color .15s;
}
.mega_menu ul > li a {
    color: #00687f !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 12px 14px 9px !important;
    transition: color .15s !important;
}
.mega_menu ul > li > a > i {
    color: #00687f !important;
    font-size: 13px !important;
    margin-right: 5px;
}

/* Hover */
.mega_menu ul > li:hover {
    background: transparent !important;
    border-bottom-color: #13C2C2;
}
.mega_menu ul > li:hover > a,
.mega_menu ul > li:hover > a > i {
    color: #00687f !important;
}

/* Activo */
.mega_menu ul > li.active,
.mega_menu ul > li.active_ini {
    background: transparent !important;
    border-bottom-color: #00687f;
}
.mega_menu ul > li.active > a,
.mega_menu ul > li.active_ini > a,
.mega_menu ul > li.active > a > i,
.mega_menu ul > li.active_ini > a > i {
    color: #00687f !important;
    font-weight: 600 !important;
}

/* Dropdown de sub-ítems */
.mega_menu ul.main-menu ul {
    border: 1px solid #e8ecf1 !important;
    border-radius: 10px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.1) !important;
    padding: 6px 0 !important;
    top: 42px !important;
}
.mega_menu ul.main-menu ul li a {
    color: #475569 !important;
    font-size: 13px !important;
    padding: 8px 18px !important;
    font-weight: 400 !important;
}
.mega_menu ul.main-menu ul li a > i {
    color: #94a3b8 !important;
    font-size: 13px !important;
}
.mega_menu ul.main-menu ul li:hover a,
.mega_menu ul.main-menu ul li.active a {
    background: #f0f9f9 !important;
    color: #00687f !important;
    font-weight: 500 !important;
}
.mega_menu ul.main-menu ul li:hover a > i,
.mega_menu ul.main-menu ul li.active a > i {
    color: #00687f !important;
}

/* ---------------------------------------------------- */
/* Select2 - restyling moderno (global)                  */
/* ---------------------------------------------------- */

.select2-container .select2-selection--single {
    height: 38px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 12px;
    padding-right: 32px;
    border: 0;
}
.select2-container .select2-selection--multiple {
    min-height: 38px;
}

.input-group[class*="col-"]:has(> .select2-container) {
    border: 0;
    background: transparent;
}
.input-group[class*="col-"] > .select2-container .select2-selection--single .select2-selection__rendered {
    border: 0;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    padding: 0;
    background-color: #fff;
    border: 1px solid #dde1e6;
    border-radius: 8px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1f2937;
    line-height: 36px;
    font-size: 14px;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94a3b8;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    height: 38px;
    right: 8px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-width: 5px 4px 0 4px;
    border-color: #94a3b8 transparent transparent transparent;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-width: 0 4px 5px 4px;
    border-color: transparent transparent #00687f transparent;
}
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #00687f;
    box-shadow: 0 0 0 3px rgba(0, 104, 127, 0.12);
}
.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #f4f5f7;
    border-color: #e5e7eb;
}

.select2-container--default .select2-selection--multiple {
    background-color: #fff;
    border: 1px solid #dde1e6;
    border-radius: 8px;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #00687f;
    box-shadow: 0 0 0 3px rgba(0, 104, 127, 0.12);
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #f0f9f9;
    border: 1px solid #cfe8e8;
    border-radius: 6px;
    color: #00687f;
    padding: 1px 8px;
    margin-top: 4px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #6ba3ac;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #00687f;
}

.select2-dropdown {
    border-color: #dde1e6;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    background-color: #fff;
    z-index: 99999;
}
.select2-container--open .select2-dropdown--below {
    margin-top: 6px;
    border-top: 1px solid #dde1e6;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.select2-container--open .select2-dropdown--above {
    margin-bottom: 6px;
    border-bottom: 1px solid #dde1e6;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.select2-search--dropdown {
    padding: 8px;
}
.select2-search--dropdown .select2-search__field {
    border: 1px solid #dde1e6;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 14px;
    outline: none;
}
.select2-search--dropdown .select2-search__field:focus {
    border-color: #00687f;
    box-shadow: 0 0 0 3px rgba(0, 104, 127, 0.12);
}

.select2-results__options {
    padding: 4px;
}
.select2-container--default .select2-results__option {
    padding: 9px 12px;
    margin: 1px 0;
    border-radius: 6px;
    font-size: 14px;
    color: #1f2937;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #00687f;
    color: #fff;
}
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #f0f9f9;
    color: #00687f;
}
.select2-container--default .select2-results__group {
    color: #6b7280;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}


/* Gestión interna */
.gestion-interna-modern {
	width: 100%;
	max-width: none;
}

.gestion-interna-page-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 10px 0 12px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid #dce7ea;
	border-radius: 12px;
	box-shadow: 0 3px 12px rgba(28, 65, 78, 0.05);
}

.gestion-interna-page-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	color: #006f82;
	font-size: 19px;
	background: #e7f6f8;
	border-radius: 10px;
}

.gestion-interna-page-header h2 {
	margin: 0 0 3px;
	color: #173846;
	font-size: 21px;
	font-weight: 700;
}

.gestion-interna-page-header p {
	margin: 0;
	color: #718493;
	font-size: 13px;
}

.gestion-interna-card {
	margin-bottom: 20px;
	border: 1px solid #dce7ea;
	border-radius: 12px;
	box-shadow: 0 3px 12px rgba(28, 65, 78, 0.05);
	overflow: visible;
}

.gestion-interna-card > .card-body {
	padding: 18px;
}

.gestion-interna-secciones > .panel {
	margin-bottom: 12px;
	background: #fff;
	border: 1px solid #dce7ea;
	border-radius: 10px;
	box-shadow: none;
	overflow: hidden;
}

.gestion-interna-secciones > .panel > .panel-heading {
	padding: 0;
	background: #f8fbfc;
	border: 0;
}

.gestion-interna-secciones .panel-title > a {
	display: block;
	position: relative;
	padding: 14px 42px 14px 16px;
	color: #173846;
	font-size: 14px;
	font-weight: 700;
}

.gestion-interna-secciones .panel-title > a::after {
	content: "\f078";
	position: absolute;
	top: 50%;
	right: 17px;
	font-family: FontAwesome;
	font-size: 11px;
	transform: translateY(-50%) rotate(180deg);
	transition: transform 0.2s ease;
}

.gestion-interna-secciones .panel-title > a.collapsed::after {
	transform: translateY(-50%);
}

.gestion-interna-secciones .panel-body {
	padding: 16px;
	border-top: 1px solid #e3ecef !important;
}

.gestion-interna-secciones .well {
	padding: 16px;
	background: #f8fbfc;
	border: 1px solid #e0eaed;
	border-radius: 9px;
	box-shadow: none;
}

.gestion-interna-secciones .well h4 {
	color: #173846;
	font-size: 15px;
	font-weight: 700;
}

.gestion-interna-secciones .form-control {
	height: 38px;
	border-color: #d4e0e4;
	border-radius: 7px;
	box-shadow: none;
}

.gestion-interna-secciones textarea.form-control {
	height: auto;
	min-height: 110px;
}

.gestion-interna-actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 4px;
}

.gestion-interna-actions #btn_guardar {
	padding: 9px 16px;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 3px 8px rgba(0, 111, 130, 0.18);
}

@media (max-width: 767px) {
	.gestion-interna-page-header {
		align-items: flex-start;
		padding: 14px;
	}

	.gestion-interna-card > .card-body,
	.gestion-interna-secciones .panel-body {
		padding: 12px;
	}
}

.gestion-interna-servicios-card {
	margin-bottom: 12px;
	padding: 18px;
	background: #fff;
	border: 1px solid #dce7ea;
	border-radius: 12px;
	box-shadow: 0 3px 12px rgba(28, 65, 78, 0.05);
}

.gestion-interna-servicios-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.gestion-interna-servicios-header h3 {
	margin: 0 0 3px;
	color: #173846;
	font-size: 17px;
	font-weight: 700;
}

.gestion-interna-servicios-header h3 i {
	margin-right: 7px;
	color: #00758a;
}

.gestion-interna-servicios-header p {
	margin: 0;
	color: #718493;
	font-size: 12px;
}

.gestion-interna-servicios-header .btn,
.gestion-interna-form-actions .btn {
	padding: 8px 14px;
	border-radius: 8px;
}

.gestion-interna-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 135px;
	color: #718493;
	background: #f8fbfc;
	border: 1px dashed #cbdde2;
	border-radius: 9px;
}

.gestion-interna-empty i {
	margin-bottom: 7px;
	color: #83a6af;
	font-size: 23px;
}

.gestion-interna-empty strong {
	margin-bottom: 2px;
	color: #294b58;
}

.gestion-interna-servicios-table {
	margin-bottom: 0;
}

.gestion-interna-servicios-table th {
	padding: 10px !important;
	color: #6f818d;
	font-size: 11px;
	text-transform: uppercase;
	background: #f6f9fa;
	border-bottom: 1px solid #dce7ea !important;
}

.gestion-interna-servicios-table td {
	padding: 11px 10px !important;
	vertical-align: middle !important;
	border-top-color: #e8eff1 !important;
}

.gestion-interna-servicios-table .editar_contratacion {
	width: 32px;
	height: 32px;
	padding: 0;
	color: #006f82;
	border-color: #d4e0e4;
	border-radius: 7px;
}

.gestion-interna-estado {
	display: inline-flex;
	padding: 4px 9px;
	font-size: 11px;
	font-weight: 700;
	text-transform: capitalize;
	border-radius: 999px;
}

.gestion-interna-estado--activo {
	color: #18783a;
	background: #dcf7e5;
}

.gestion-interna-estado--propuesta {
	color: #9a5a00;
	background: #fff1d8;
}

.gestion-interna-estado--finalizado,
.gestion-interna-estado--cancelado {
	color: #687984;
	background: #e9eef0;
}

.gestion-interna-contratacion-form {
	margin-top: 16px;
	padding: 18px;
	background: #f8fbfc;
	border: 1px solid #d8e5e8;
	border-radius: 10px;
}

.gestion-interna-form-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.gestion-interna-form-header h4 {
	margin: 0;
	color: #173846;
	font-size: 16px;
	font-weight: 700;
}

.gestion-interna-form-header button {
	padding: 4px 7px;
	color: #6d808a;
	background: transparent;
	border: 0;
}

.gestion-interna-contratacion-form label {
	color: #294b58;
	font-size: 12px;
	font-weight: 700;
}

.gestion-interna-modern .gestion-interna-contratacion-form .form-control {
	height: 38px;
	padding: 8px 12px;
	color: #435b66;
	background-color: #fff;
	border: 1px solid #d4e0e4 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gestion-interna-modern .gestion-interna-contratacion-form .form-control:focus {
	border-color: #16869a !important;
	box-shadow: 0 0 0 3px rgba(22, 134, 154, 0.1) !important;
}

.gestion-interna-modern .gestion-interna-contratacion-form select.form-control {
	padding-right: 30px;
	line-height: 20px;
	background-image: linear-gradient(45deg, transparent 50%, #718493 50%), linear-gradient(135deg, #718493 50%, transparent 50%);
	background-position: calc(100% - 15px) 16px, calc(100% - 11px) 16px;
	background-repeat: no-repeat;
	background-size: 4px 4px, 4px 4px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.gestion-interna-modern .gestion-interna-contratacion-form input[type="date"].form-control {
	padding-right: 9px;
	line-height: 20px;
}

.gestion-interna-modern .gestion-interna-contratacion-form textarea.form-control {
	height: auto;
	min-height: 84px;
}

.gestion-interna-condiciones {
	margin: 4px 0 14px;
	padding: 14px 14px 0;
	background: #fff;
	border: 1px solid #e0eaed;
	border-radius: 8px;
}

.gestion-interna-condiciones:empty {
	display: none;
}

.gestion-interna-condiciones h5 {
	margin: 0 0 12px;
	color: #173846;
	font-size: 14px;
	font-weight: 700;
}

.gestion-interna-form-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 12px;
}

@media (max-width: 767px) {
	.gestion-interna-servicios-card {
		padding: 14px;
	}

	.gestion-interna-servicios-header {
		align-items: flex-start;
		flex-direction: column;
	}
}

.gestion-interna-documentos {
	margin-top: 14px;
	padding: 15px;
	background: #fff;
	border: 1px solid #dce7ea;
	border-radius: 9px;
}

.gestion-interna-documentos-title h5 {
	margin: 0 0 2px;
	color: #173846;
	font-size: 14px;
	font-weight: 700;
}

.gestion-interna-documentos-title p {
	margin: 0 0 12px;
	color: #718493;
	font-size: 12px;
}

.gestion-interna-documentos-empty {
	margin: 0 0 12px;
	padding: 11px;
	color: #718493;
	text-align: center;
	background: #f7fafb;
	border: 1px dashed #d4e1e5;
	border-radius: 7px;
}

.gestion-interna-documento {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 7px;
	padding: 9px 10px;
	background: #f8fbfc;
	border: 1px solid #e1eaed;
	border-radius: 7px;
}

.gestion-interna-documento-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: #00758a;
	background: #e4f4f6;
	border-radius: 7px;
}

.gestion-interna-documento > div:nth-child(2) {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.gestion-interna-documento strong {
	overflow: hidden;
	color: #294b58;
	font-size: 12px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gestion-interna-documento small {
	color: #7a8c96;
	text-transform: capitalize;
}

.gestion-interna-documento-actions {
	display: flex;
	gap: 5px;
}

.gestion-interna-documento-actions a,
.gestion-interna-documento-actions button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	color: #006f82;
	background: #fff;
	border: 1px solid #d4e0e4;
	border-radius: 7px;
}

.gestion-interna-documentos-subida {
	margin-top: 13px;
}

.gestion-interna-documentos .fileuploadContratacion #upload {
	margin: 0;
}

/* Configuración de la asesoría */
.asesoria-modern {
	width: 100%;
	max-width: none;
}

.asesoria-page-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 10px 0 12px;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid #dce7ea;
	border-radius: 12px;
	box-shadow: 0 3px 12px rgba(28, 65, 78, 0.05);
}

.asesoria-page-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: #006f82;
	font-size: 19px;
	background: #e7f6f8;
	border-radius: 10px;
}

.asesoria-page-header h2 {
	margin: 0 0 3px;
	color: #173846;
	font-size: 21px;
	font-weight: 700;
}

.asesoria-page-header p {
	margin: 0;
	color: #718493;
	font-size: 13px;
}

.asesoria-main-card {
	border: 1px solid #dce7ea;
	border-radius: 12px;
	box-shadow: 0 3px 12px rgba(28, 65, 78, 0.05);
	overflow: visible;
}

.asesoria-main-card > .card-body {
	padding: 18px;
}

.asesoria-modern .tab-content {
	padding-top: 18px;
}

.asesoria-modern .tab-pane > .form-group,
.asesoria-modern .tab-pane > form,
.asesoria-modern #cierres,
.asesoria-modern #poblaciones,
.asesoria-modern #nominas,
.asesoria-modern #fichaje,
.asesoria-modern #canales {
	max-width: 900px;
}

.asesoria-modern .form-control,
.asesoria-config-form .form-control {
	min-height: 38px;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid #d4e0e4 !important;
	border-radius: 8px !important;
	box-shadow: none !important;
}

.asesoria-modern .btn {
	border-radius: 8px;
}

.asesoria-modern .panel {
	border: 1px solid #dce7ea;
	border-radius: 9px;
	box-shadow: none;
	overflow: hidden;
}

.asesoria-modern .panel-heading {
	background: #f7fafb;
}

.asesoria-servicios-heading,
.asesoria-config-bloque-title,
.asesoria-servicio-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.asesoria-servicios-heading {
	margin-bottom: 16px;
}

.asesoria-servicios-heading h3,
.asesoria-servicio-title h4 {
	margin: 0 0 3px;
	color: #173846;
	font-weight: 700;
}

.asesoria-servicios-heading h3 {
	font-size: 18px;
}

.asesoria-servicios-heading p,
.asesoria-servicio-title p,
.asesoria-config-bloque-title p {
	margin: 0;
	color: #718493;
	font-size: 12px;
}

.asesoria-servicios-lista,
.asesoria-servicios-detalle {
	min-height: 250px;
	padding: 12px;
	background: #f8fbfc;
	border: 1px solid #dce7ea;
	border-radius: 10px;
}

.asesoria-servicios-lista button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 6px;
	padding: 11px 12px;
	color: #3b5864;
	text-align: left;
	background: #fff;
	border: 1px solid #e0e9ec;
	border-radius: 8px;
}

.asesoria-servicios-lista button.active {
	color: #006f82;
	border-color: #8ccbd5;
	box-shadow: 0 2px 7px rgba(0, 111, 130, 0.09);
}

.asesoria-servicios-lista button span {
	display: flex;
	flex-direction: column;
}

.asesoria-servicios-lista button small {
	margin-top: 2px;
	color: #81929b;
}

.asesoria-servicio-title {
	padding: 4px 3px 14px;
}

.asesoria-config-bloque {
	margin-top: 10px;
	padding: 13px;
	background: #fff;
	border: 1px solid #e0e9ec;
	border-radius: 9px;
}

.asesoria-config-bloque-title {
	margin-bottom: 10px;
}

.asesoria-config-bloque-title h5 {
	margin: 0 0 2px;
	color: #294b58;
	font-size: 14px;
	font-weight: 700;
}

.asesoria-config-fila {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 3px;
	border-top: 1px solid #edf2f3;
}

.asesoria-config-fila > div {
	display: flex;
	flex-direction: column;
}

.asesoria-config-fila small {
	margin-top: 2px;
	color: #7a8d96;
}

.asesoria-config-fila button {
	width: 30px;
	height: 30px;
	color: #006f82;
	background: #fff;
	border: 1px solid #d7e2e5;
	border-radius: 7px;
}

.asesoria-config-vacio,
.asesoria-servicios-selecciona,
.asesoria-servicios-vacio,
.asesoria-servicios-cargando {
	padding: 28px 12px;
	color: #7b8d96;
	text-align: center;
}

.asesoria-servicios-vacio {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.asesoria-config-form {
	padding: 16px;
	background: #fff;
	border: 1px solid #dce7ea;
	border-radius: 9px;
}

.asesoria-config-form--flotante {
	margin-top: 12px;
	box-shadow: 0 5px 18px rgba(28, 65, 78, 0.09);
}

.asesoria-config-form--inline {
	margin: 10px 0;
	background: #f8fbfc;
}

.asesoria-config-form h4 {
	margin: 0 0 15px;
	color: #173846;
	font-size: 16px;
	font-weight: 700;
}

.asesoria-config-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.asesoria-plan-condiciones {
	margin: 4px 0 16px;
	padding: 14px;
	background: #f8fbfc;
	border: 1px solid #dce7ea;
	border-radius: 8px;
}

.asesoria-plan-condiciones-title {
	margin-bottom: 11px;
}

.asesoria-plan-condiciones-title h5 {
	margin: 0 0 2px;
	color: #294b58;
	font-size: 14px;
	font-weight: 700;
}

.asesoria-plan-condiciones-title p {
	margin: 0;
	color: #738790;
	font-size: 12px;
}

.asesoria-plan-condicion {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 210px;
	align-items: end;
	gap: 14px;
	padding: 10px 0;
	border-top: 1px solid #e4ecef;
}

.asesoria-plan-condicion-campo > label {
	display: block;
	margin-bottom: 5px;
	color: #294b58;
	font-size: 12px;
	font-weight: 700;
}

.asesoria-plan-bloqueo {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 38px;
	margin: 0;
	cursor: pointer;
}

.asesoria-plan-bloqueo input {
	flex: 0 0 auto;
	margin: 0;
}

.asesoria-plan-bloqueo span {
	display: flex;
	flex-direction: column;
}

.asesoria-plan-bloqueo strong {
	color: #3d5965;
	font-size: 12px;
}

.asesoria-plan-bloqueo small {
	color: #7a8d96;
	font-size: 10px;
	font-weight: 400;
}

.asesoria-plan-condiciones-vacio {
	margin: 4px 0 14px;
	padding: 11px 12px;
	color: #718493;
	background: #f4f8f9;
	border: 1px solid #dce7ea;
	border-radius: 7px;
}

@media (max-width: 767px) {
	.asesoria-page-header,
	.asesoria-servicios-heading {
		align-items: flex-start;
	}

	.asesoria-servicios-heading {
		flex-direction: column;
	}

	.asesoria-servicios-lista {
		min-height: 0;
		margin-bottom: 12px;
	}

	.asesoria-plan-condicion {
		grid-template-columns: 1fr;
	}
}

div.sele_empresa .accesos_directos_sele_empresa a.btn {
  background: #e6f2f4 !important;
  border: 1px solid #cfe8ec !important;
  color: #00687f !important;
  margin-right: 8px;
}

div.sele_empresa .accesos_directos_sele_empresa a.btn i {
  color: #00687f !important;
}

div.sele_empresa .accesos_directos_sele_empresa a.btn:hover,
div.sele_empresa .accesos_directos_sele_empresa a.btn:focus {
  background: #d5ebef !important;
  border-color: #00687f !important;
  color: #00687f !important;
  text-decoration: none;
}

#header .ia_header_form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  max-width: 38vw;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 5px 0 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .08) 100%);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 0 14px rgba(255, 255, 255, .14);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

#header .ia_header_form:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .12) 100%);
  border-color: rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 18px rgba(255, 255, 255, .2);
}

#header .ia_header_form:focus-within {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .8);
  box-shadow: none;
}

#header .ia_header_form > i {
  color: #fff;
  font-size: 16px;
}

#header .ia_header_form input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  color: #fff;
  font-size: 14px;
}

#header .ia_header_form input::placeholder {
  color: rgba(255, 255, 255, .75);
}

#header .ia_header_form button {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: #00687f;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
}

#header .ia_header_form button:hover {
  background: #fff;
  transform: scale(1.06);
}

@media (max-width: 1199px) {
  #header .ia_header_form {
    display: none !important;
  }
}

/* Periodicidad de facturas */
.panel_campos_libres .input-group {
	overflow: hidden;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 7px;
	box-shadow: none;
}

.panel_campos_libres textarea.form-control {
	border-radius: 7px !important;
	box-shadow: none;
}

#seccion_editar_factura2 #caja_factura_periodica {
	display: flex;
	padding: 22px 0;
}

#seccion_editar_factura2 #caja_factura_periodica.d-none {
	display: none;
}

#seccion_editar_factura2 .periodicidad-programacion,
#seccion_editar_factura2 .periodicidad-preferencias {
	padding: 0 24px;
}

#seccion_editar_factura2 .periodicidad-preferencias {
	border-left: 1px solid #e8edf2;
}

#seccion_editar_factura2 .periodicidad-programacion > h5,
#seccion_editar_factura2 .periodicidad-preferencias > h5 {
	margin: 0 0 10px;
	padding-bottom: 12px;
	color: #344054;
	border-bottom: 1px solid #dce5eb;
	font-size: 14px;
	font-weight: 700;
}

#seccion_editar_factura2 .periodicidad-programacion > p,
#seccion_editar_factura2 .periodicidad-preferencias > p {
	margin: 0 0 18px;
	color: #667085;
	font-size: 12px;
}

#seccion_editar_factura2 #caja_factura_periodica .periodicidad-configuracion {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 24px;
	margin: 0;
}

#seccion_editar_factura2 #caja_factura_periodica .periodicidad-configuracion::before,
#seccion_editar_factura2 #caja_factura_periodica .periodicidad-configuracion::after {
	display: none;
}

#seccion_editar_factura2 #caja_factura_periodica .periodicidad-dia,
#seccion_editar_factura2 #caja_factura_periodica .periodicidad-meses {
	width: auto;
	padding: 0;
}

#seccion_editar_factura2 #caja_factura_periodica .periodicidad-dia select,
#seccion_editar_factura2 #caja_factura_periodica .periodicidad-dia .form-control {
	height: 38px;
	border-radius: 6px;
}

#seccion_editar_factura2 #caja_factura_periodica .periodicidad-meses-titulo {
	margin-bottom: 6px;
	color: #344054;
	font-size: 11px;
	font-weight: 600;
}

#seccion_editar_factura2 #caja_factura_periodica .selecciona_mes {
	display: grid;
	grid-template-columns: repeat(3, minmax(100px, 1fr));
	gap: 6px 8px;
	padding: 10px;
	background: #f8fafb;
	border: 1px solid #dce5eb;
	border-radius: 6px;
}

#seccion_editar_factura2 #caja_factura_periodica .selecciona_mes .clearfix {
	display: none;
}

#seccion_editar_factura2 #caja_factura_periodica .selecciona_mes label.checkbox-inline {
	display: block;
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 8px 10px;
	color: #344054;
	background: #fff;
	border: 1px solid #e3e9ed;
	border-radius: 4px;
	cursor: pointer;
}

#seccion_editar_factura2 #caja_factura_periodica .selecciona_mes label.checkbox-inline:first-child {
	grid-column: 1 / -1;
	margin-bottom: 2px;
	padding: 8px 10px;
	background: transparent;
	border: 1px solid #e3e9ed;
	border-radius: 4px;
}

#seccion_editar_factura2 #caja_factura_periodica .selecciona_mes label.checkbox-inline span {
	margin-left: 0;
}

#seccion_editar_factura2 #caja_factura_periodica .selecciona_mes .input-helper::before,
#seccion_editar_factura2 #caja_factura_periodica .selecciona_mes .input-helper::after {
	display: none;
}

#seccion_editar_factura2 #caja_factura_periodica .selecciona_mes label.checkbox-inline:has(input:checked) {
	background: #fff;
	border-color: #007b92;
	color: #344054;
	box-shadow: inset 0 0 0 1px #007b92;
}

#seccion_editar_factura2 #caja_factura_periodica .selecciona_mes label.checkbox-inline:hover {
	border-color: #b9cbd4;
}

#seccion_editar_factura2 #caja_factura_periodica .periodicidad-opcion {
	margin: 0;
}

#seccion_editar_factura2 #caja_factura_periodica .periodicidad-opcion > [class*="col-"] {
	float: none;
	width: 100%;
	padding: 0;
}

#seccion_editar_factura2 #caja_factura_periodica .element_factura_periodica {
	display: flex;
	align-items: center;
	justify-content: space-between;
	float: none !important;
	width: 100%;
	min-height: 58px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid #e8edf2;
}

#seccion_editar_factura2 #caja_factura_periodica .element_factura_periodica label {
	max-width: calc(100% - 85px);
	margin: 0;
	color: #344054;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

@media (max-width: 991px) {
	#seccion_editar_factura2 #caja_factura_periodica {
		display: block;
	}

	#seccion_editar_factura2 .periodicidad-preferencias {
		margin-top: 24px;
		padding-top: 20px;
		border-top: 1px solid #e8edf2;
		border-left: 0;
	}

	#seccion_editar_factura2 #caja_factura_periodica .periodicidad-configuracion {
		grid-template-columns: 150px minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	#seccion_editar_factura2 .periodicidad-programacion,
	#seccion_editar_factura2 .periodicidad-preferencias {
		padding-right: 12px;
		padding-left: 12px;
	}

	#seccion_editar_factura2 #caja_factura_periodica .periodicidad-configuracion {
		grid-template-columns: 1fr;
	}

	#seccion_editar_factura2 #caja_factura_periodica .selecciona_mes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
