html{
	scroll-behavior: smooth;
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/Inter-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/Inter-Bold.ttf") format("truetype");
	font-weight: bold;
}

@font-face {
	font-family: "PressStart2P";
	src: url("../fonts/PressStart2P-Regular.ttf") format("truetype");
}

*:not(.fa):not(.fab):not(.fa-brands):not(.far):not(.fa-regular):not(.fas):not(.fa-solid):not(.glyphicon) {
    font-family: 'Inter', sans-serif !important;
	text-rendering: optimizeLegibility;
}

body {
    background-color: #fbfbfb;
}
.mshadow {
    box-shadow: 0px 2px 6px -3px rgb(0 0 0 / 14%);
}

header {
	position:fixed;
	top: 0;
	width:100%;
	z-index: 480;
}
header.headers{
	display:flex;
	background-color: #fbfbfb;
} 
header #topmenu{
	display:flex;
	justify-content: center;
	align-items: center;
	font-size: 2rem;
	font-weight: 700;
	color: var(--leader-700);
	background-color:#fbfbfb;
	border-bottom:1px solid var(--leader-500);
	width: 100%;
	min-height: 63px;
}
header #topmenu .topmenu_user{
	display: flex;
	font-size: 1rem;
	white-space: nowrap;
	justify-content: center;
	align-items: center;
	color: var(--leader-700);
}
aside#sidebar {
	background-color: #f4f4f4;
	position:fixed;
	top:0;
	left:0;
	bottom:0;
	z-index: 400;
	overflow-y: hidden;
}
main.content{
	margin-top:6rem;
	margin-left:14.5rem;
	margin-bottom:40px;
	padding: .5rem 1rem ;
}
footer.footer {
	position: fixed;
	bottom: 0;
	left:0;
	width:100%;
	height: 40px;
	line-height: 40px;
	background-color: #f5f5f5;
	display: flex;
	justify-content: space-between;
	padding-right:1rem;
	color: var(--leader-900);
	z-index:900;
}

#logo {
	min-width: 14rem;
	width: 14rem;
	text-align: center;
}

#topheader{
	height: 3rem;
	display: flex;
	justify-content: space-between;
	background-color: #f0f0f0;
	/*font-size:1.1rem;*/
	padding: .7rem 2rem;
}

#menupselect{
	padding: .7rem 2rem;
}
.ultop-nav, .right-nav{
	display: flex;
	align-items: center;
	list-style: none;
	padding:3px 0 0 0;
	margin:0;
}

.ultop-nav-separator {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.ultop-nav li a, .right-nav li a{
 	padding: 1em;
 	text-decoration: none;
 	padding: 0.5em;
 	color:inherit;
}
ul.ultop-nav > li.nav-item > a:hover {
    color: #13873b;
}

/* SIDEBAR */
ul.sidebar {
	width:14rem;
	display:flex;
	flex-direction: column;
	list-style:none;
	min-height: 100%;
	padding: 6rem 0 0 0;
	/*background-color: var(--leader-100);*/
	background-color:#73999C;
	margin-bottom: 0;
	height:100%;	
	
	/*Para scrollbar*/
	overflow: auto;
	padding-bottom: 40px;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
ul.sidebar::-webkit-scrollbar{/* Chrome, Safari and Opera */
 display: none;
/*  background-color: #d1e7dd; */
}

ul.sidebar li a {
    border-right: none !important;
    padding: .8em 0 .8em 1.2em !important;
    margin-left: 0 !important;
    transition: all .2s;
    padding: 8px 5px 8px 1em;
		display: block;
		text-decoration: none;
		background: 0 0;
		border-right:1px solid var(--leader-500);
		background-color:#73999C;
		color:white;
		margin-left:1px;
}

ul.sidebar li a:hover {
    background-color: #F5FAF7;
    color: #035403;
}

ul.sidebar li a.active {
	border-left: 4px solid #13873b;
	background-color: #F2F9F5;
	border-radius: 0;
	color: #035403;
	border-top: none;
	border-bottom: none;
	padding-left: calc(1.2em - 5px);
}
ul.sidebar .titulomgestion{
	font-size: 1.5em !important;
	margin-left: 1rem;
	color:white;
}
ul.sidebar li.menutitulo{
	color:white;
}
ul.sidebar li.menutitulo span{
padding-left: 0.5rem;
}
ul.sidebar li.menutitulo{
	padding: .8em 0 .8em 1.2em !important;
	margin-left: 0 !important;
}
ul.sidebar li.menutitulo i.fa{
		width: 25px;
		font-size: 1.2em !important;
}

ul.sidebar li a i.fa {
		margin-right: 8px;
    font-size: 1.2em;
}

ul.sidebar li.separador {
    border-right: none !important;
		align-items: center;
		justify-content: center;
}

ul.sidebar li.separador > div {
    border-bottom: 1px solid #e7e7e7 !important;
    width: 100% !important;
    margin: .3rem 0 .5rem 0;
}

div.separador{
	border-bottom: 1px solid #e7e7e7 !important;
    width: 100% !important;
    margin:.2rem 0;
}


/* CARDS */

.card-header {
	--bs-alert-color: #0f5132;
    --bs-alert-bg: #d1e7dd;
    --bs-alert-border-color: #badbcc;
	margin:0;
	padding:.3rem 1rem;
	/*color: var(--bs-alert-color);*/
	color:#0E380E;
	background-color:rgb(209, 231, 221);
    background-image: var(--bs-gradient);  
    border-width: .5rem solid rgb(186, 219, 204);  
}
.card-header .btn{
	padding: .1rem .5rem;
}		
.card-header:first-child {
  	border-radius: var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0;
}

.card {
    box-shadow: 0 3px 4px #00000012;
   /* --bs-card-border-color: rgb(0 0 0 / 8%);*/
    margin-bottom: 1.2em;
    background-color: #F5FBF5;
}

.card table{
	background-color: white;
}

.card-header btn{
	background-color: azure !important;
}

.card-footer{
	--bs-alert-color: #0f5132;
    --bs-alert-bg: #d1e7dd;
    --bs-alert-border-color: #badbcc;
	color:#0E380E;
	background-color:rgb(209, 231, 221);
    background-image: var(--bs-gradient);  
    border-width: .5rem solid rgb(186, 219, 204);  
    
}
/*
.card-header a.btn.btn-outline-primary,
.card-header button.btn.btn-outline-primary,
button#dropdownContacto {
    border: none;
    background-color: white;
    color: #13873b;
}
.card-header a.btn.btn-outline-danger,
.card-header button.btn.btn-outline-danger,
button#dropdownContacto {
    border: none;
    background-color: white;
}

.card-header a.btn.btn-outline-primary:hover,
.card-header button.btn.btn-outline-primary:hover {
    background-color: #eaf4ef;
}
.card-header a.btn.btn-outline-danger:hover,
.card-header button.btn.btn-outline-danger:hover {
    border: none;
    background-color: #fdf2f3;
    color: var(--bs-danger);
}
*/
.filaform{
	display:flex;
	margin-bottom: 0.5rem;
	gap: 0.5rem !important;
	justify-content: flex-start;
	align-items: center;
	white-space: nowrap;
}	

.form-check-input{
	cursor: pointer;
}

.diccionario {
	display:flex;
	padding: 5px 5px 0 5px;
	/*background-color:#558C12;*/
}
.diccionario a{
	width:1.2em;
	text-decoration: none;
	/*background-color:#558C12;*/
	background-color: #73999C;
	color:white;
	padding: 0 2px 0 2px;
	text-align: center;
}
.diccionario a:hover{
	font-weight: bold;
	background-color:#445E60;
}

.nowrap{
	white-space: nowrap;
}
.crojo{
	color:var(--rojo-300);
}
.cverde{
	color:var(--leader-700);
}

/* Boton mediano */
.btn-md{
	padding: .15rem .3rem;
	font-size: 85%;
}

fieldset {
    border: 1px solid silver;
    background-color: var(--leader-100);
    padding: 0.5em;
    margin-bottom: 0.5em;
    position: relative;
}
legend{
	float: unset;
    width: unset;
	font-size:0.9em;
	border:1px solid silver;
	border-radius: 8px;
	background-color:white;
	padding:0 0.8em;
}

/* PRUEBAS */
.top-tools{
	display: flex;
	gap:0.5em;
	border-top:1px solid silver;
	border-bottom:1px solid silver;
	padding: 1px 5px 1px 0;
	margin-bottom: 3px;
	width:100%;
	background: rgb(255,255,255);
	background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(245,251,245,1) 33%);
}
.top-tools a,.top-tools button{
	color:rgb(62,62,62);;
	border-top:2px solid white;
	border-bottom:2px solid white;
	border-left:none;
	border-right: 1px solid silver;
	padding-right: .5rem;
	background-color:transparent;
	text-decoration: none;
	transition: background-color .3s;
}

.top-tools a:hover,.top-tools button:hover{
	color:gray;
	border-top:2px solid #198754;
	border-bottom:2px solid #198754;
	border-left:none;
	border-right: 1px solid silver;
}
	
th.min, td.min {
	width: 1px;
	white-space: nowrap;
}

.modal-body{
     background-color:  #F5FBF5;
}
.cpointer{
	cursor:pointer;
}

/* botones solo para ucae*/
button.ucae , a.ucae, div.ucae{
	border-left: 0.5rem solid darkorange;
}

/* Agrandar iconos en tablas con icong */
table.icong td i.fa,table.icong td i.fas,table.icong td i.fa-regular,table.icong td i.fa-solid{
	font-size: 1.1rem;
}

/* Media queries para que la barra superior */
#ucaenav a{
	overflow:hidden;
	white-space:nowrap;
	display:inline-block;
	text-overflow: ellipsis;
	padding:0;
}
#empresanav a{
	overflow:hidden;
	white-space:nowrap;
	display:inline-block;
	padding:0;
	text-overflow: ellipsis;
	text-align: center;
}
#usuarionav a{
	overflow:hidden;
	white-space:nowrap;
	display:inline-block;
	padding:0;
}
@media (max-width: 767px) {
		#ucaenav a, #usuarionav a{
			max-width: 48px;
		}
		#empresanav a{
			max-width: 200px;
		}
}
@media (min-width: 768px) and (max-width: 1024px){
		#ucaenav a,#usuarionav a{
			max-width: 60px;
		}
		#empresanav a{
			max-width: 300px;
		}
}
@media (min-width: 1025px) and (max-width: 1280px){
		#ucaenav a,#usuarionav a{
			max-width: 80px;
		}
		#empresanav a{
			max-width: 400px;
		}
}
@media (min-width: 1281px) and (max-width: 1440px){
		#empresanav a{
			max-width: 500px;
		}
}
@media (min-width: 1441px) {
		#empresanav a{
			width: auto;
		}
}

.form-check-label{
	cursor:pointer;
}
.badge{
	font-weight: normal;
}
/* AVISOS Y NOTIFICACIONES */
#avisosHeader{
	
	flex-wrap:nowrap;
	border-bottom: 1px solid #ccc;
	top:0;
	color: #fff;
	width:calc(100% - 20rem);
	display:none;
	margin:0 1rem 2px 1rem;
	border-radius: 5px;
}
#appfooter.avisosbottom-show #avisosHeader{
	display:flex;
}
#avisosHeader .contentAviso{
	background-color: #65A8FF;
	cursor:pointer;
	flex: 0 0 100%;
	text-align: center;
	align-content: center;
	white-space: nowrap;
	overflow: hidden;
    text-overflow: ellipsis;
	padding: 0 1rem;    
}
#avisosHeader .cerrarAviso{
	background-color: #65A8FF;
	display:flex;
	cursor:pointer;
	justify-content: center;
	align-content: center;
	width: 30px;
	padding: 0 .5rem;
}
	
#topbar-avisos .fa{
	font-size: 1.5rem;
}
#hayAvisosNuevos{
	position:absolute;
	top:0;
	left: calc(100% - 10px);
	background-color: red !important;
	border-radius: 50% !important;
	width:10px;
	height:10px;
	display:inline-block;
}
	
#menuderecha-avisos .aviso.prioridad1 .card-header{
	background-color: #f8d7da;
	color: #58151c;
}
#menuderecha-avisos .aviso.prioridad1 .card-body{
	background-color: #f8d7da;
	background-color: rgba(248,215,218,.3);
	color: #58151c;
}
#menuderecha-avisos .aviso.prioridad2 .card-header{
	background-color: #fff3cd;
	color: #664d03;
}
#menuderecha-avisos .aviso.prioridad2 .card-body{
	background-color: #fff3cd;
	background-color: rgba(255,243,205,.3);
	color: #664d03;
}

/* BOTON MENU CONTACTOS */
#menucontacto{
	position: relative;
	line-height: 30px;
	color: var(--leader-900);
}
#dropdownContactoMenu{
	z-index:101;
}
#menucontacto a:hover{
	text-decoration: underline;
	cursor: pointer;
}
#menucontacto .relleno{
	position: absolute;
	color:var(--leader-contrast);
	opacity: .1;
	font-size:120px;
	text-align: center;
	width:100%;
}
table.contacto{
	color:var(--leader-900) !important;
	font-weight: bold;
}					  	
table.contacto td:first-child{
	text-align: right;
}
table.contacto td:last-child{
	text-align: left;
	padding-left:5px;
}

span.form-control:empty:before {
  content: "\00a0";
}
.secondIcon{
   position: relative;
}
.secondIcon span{
	 position: absolute;
	top: -10px;
	right: -2px;
	display: block;
}
#appname{
	font-family: 'PressStart2P', sans-serif !important;
	font-height: 2rem;
}	
	