@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

* {
	margin: 0;
	padding: 0;
}

html, body {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	background-color: #e9ecf0;
	font-size: 16px;
}

a, .btn-link {
	color: #c20719;
}

/*th {
	margin: 4px !important;
}

tr {
}

td {
	margin: 4px !important;
	font-size: 12px !important;
}*/

/*.td-no-padding {
	margin: 1px !important;
	font-size: 12px !important;
}*/

input {
	border: 1px solid #d6d5d5;
}

	input readonly {
		background-color: #d6d5d5;
	}

	input hover {
		background-color: #eeecda;
	}

.oi {
	position: initial;
}

.btn-primary {
	color: #fff;
	background-color: #1b6ec2;
	border-color: #1861ac;
}

app {
	position: relative;
	display: flex;
	flex-direction: column;
}

.top-row {
	height: 3.5rem;
	display: flex;
	align-items: center;
}



.main {
	flex: 1;
}

	.main .top-row {
		background-color: #fff;
		border-bottom: 1px solid #d6d5d5;
		justify-content: flex-end;
		position: fixed;
		z-index: 100;
	}

		.main .top-row > a, .main .top-row .btn-link {
			white-space: nowrap;
			margin-left: 1.5rem;
		}

		.main .top-row a:first-child {
			overflow: hidden;
			text-overflow: ellipsis;
		}

.sidebar {
	/*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
	background-color: #71738f;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	overflow-x: hidden;
	transition: 0.5s;
	overflow: hidden;
}



	.sidebar .top-row {
		background-color: rgba(0,0,0,0.4);
	}

	.sidebar .navbar-brand {
		font-size: 1.1rem;
	}

	.sidebar .oi {
		width: 2rem;
		font-size: 1.1rem;
		vertical-align: text-top;
		top: -2px;
	}

	.sidebar .nav-item {
		font-size: 0.9rem;
		/*padding-bottom: 0.5rem;*/
	}

		.sidebar .nav-item:first-of-type {
			/* padding-top: 1rem;*/
		}

		.sidebar .nav-item:last-of-type {
			/* padding-bottom: 1rem;*/
		}

		.sidebar .nav-item a {
			color: #d7d7d7;
			border-radius: 4px;
			height: 3rem;
			display: flex;
			align-items: center;
			/*  line-height: 3rem;*/
		}

			.sidebar .nav-item a.active {
				background-color: rgba(255,255,255,0.25);
				color: white;
			}

			.sidebar .nav-item a:hover {
				background-color: rgba(255,255,255,0.1);
				color: white;
			}

.content {
	padding-top: 1.1rem;
	background-color: #e9ecf0;
}

.navbar-toggler {
	background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
	outline: 1px solid #26b050;
}

.invalid {
	outline: 1px solid red;
}

.validation-message {
	color: red;
}

#blazor-error-ui {
	background: lightyellow;
	bottom: 0;
	box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
	display: none;
	left: 0;
	padding: 0.6rem 1.25rem 0.7rem 1.25rem;
	position: fixed;
	width: 100%;
	z-index: 1000;
}

	#blazor-error-ui .dismiss {
		cursor: pointer;
		position: absolute;
		right: 0.75rem;
		top: 0.5rem;
	}

.col-form-label {
	font-weight: 600;
	font-size: 0.9em;
}

.etiqueta {
	font-weight: 600;
	font-size: 0.75em;
	margin: 0;
	padding: 0;
}

.botonE {
	width: 100%;
	padding: 3px;
	background-color: #73c9e8;
	color: white;
	font-size: .8em;
}

	.botonE hover {
		background-color: #53a8b4;
	}

.miga-titulo {
	font-size: 0.5em;
	font-weight: 600;
	margin: 0;
	padding: 0;
}

.miga-texto {
	font-size: 1.2em;
	font-weight: 600;
}

.miga-grupo {
	background-color: #f2f2de;
	border: 1px solid #d6d5d5;
	border-radius: 5px;
	margin: 0;
	padding: 2px 5px 5px 20px;
	width: 100%;
}

.caja-info {
	box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
	border-radius: .25rem;
	background-color: #fff;
	display: -ms-flexbox;
	display: flex;
	margin-bottom: 1rem;
	min-height: 80px;
	padding: .5rem;
	position: relative;
	width: 100%;
}

.info-box {
	box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
	border-radius: .25rem;
	background-color: #fff;
	display: -ms-flexbox;
	display: flex;
	/*margin-bottom: 1rem;*/
	min-height: 80px;
	padding: .5rem;
	position: relative;
	width: 100%;
}

	.info-box .info-box-icon {
		border-radius: .25rem;
		-ms-flex-align: center;
		align-items: center;
		display: -ms-flexbox;
		display: flex;
		font-size: 1.875rem;
		-ms-flex-pack: center;
		justify-content: center;
		text-align: center;
		width: 45px;
	}

	.info-box .info-box-content {
		display: -ms-flexbox;
		display: flex;
		-ms-flex-direction: column;
		flex-direction: column;
		-ms-flex-pack: center;
		justify-content: center;
		line-height: 1.8;
		-ms-flex: 1;
		flex: 1;
		padding: 0 10px;
	}


	.info-box .info-box-title, .info-box .progress-description {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		font-size: 0.75em;
	}

	.info-box .info-box-value {
		display: block;
		margin-top: .25rem;
		font-weight: 700;
	}



.small-box {
	border-radius: .25rem;
	box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
	display: block;
	margin-bottom: 20px;
	position: relative;
}

	.small-box .inner {
		padding: 10px;
	}

	.small-box h3 {
		z-index: 5;
		font-size: 2.2rem;
		font-weight: 700;
		margin: 0 0 10px;
		padding: 0;
		white-space: nowrap;
	}

	.small-box .icon {
		font-size: 60px;
		color: #8dc7d0;
		top: 20px;
		position: absolute;
		right: 15px;
		font-weight: 900;
		-webkit-font-smoothing: antialiased;
		display: inline-block;
		font-style: normal;
		font-variant: normal;
		text-rendering: auto;
		line-height: 1;
	}

.cabecera-listado {
	font-size: .8em;
	font-weight: 700;
	color: #eee;
}

.submenu {
	background-color: #fff;
	width: 250px;
	color: #000;
	position: absolute;
	margin-left: -100px;
	border-radius: 5px;
}

	.submenu ul {
		padding: 20px;
	}

		.submenu ul li {
			list-style: none;
			font-size: 0.8em;
			text-align: left;
			padding-top: 8px;
		}

.input-check {
	
	
	display: block;
	text-align: center;
}

	.input-check-24 .activo {
		border: 1px solid #ddd;
		border-radius:4px;
		padding:8px;
		color: green;
		font-size: 24px;
	}

	.input-check-24 .inactivo {
		color: red;
		font-size: 24px;
		border: 1px solid #ddd;
		border-radius: 4px;
		padding: 8px;
	}

	.input-check-18 .activo {
		border: 1px solid #ddd;
		border-radius: 4px;
		padding: 8px;
		color: green;
		font-size: 18px;
	}

	.input-check-18 .inactivo {
		color: red;
		font-size: 18px;
		border: 1px solid #ddd;
		border-radius: 4px;
		padding: 8px;
	}

@media (max-width: 767.98px) {
	.main .top-row:not(.auth) {
		display: none;
	}

	.main .top-row.auth {
		justify-content: space-between;
	}

	.main .top-row a, .main .top-row .btn-link {
		margin-left: 0;
	}
}

@media (min-width: 768px) {
	app {
		flex-direction: row;
	}

	.sidebar {
		width: 250px;
		height: 100vh;
		position: sticky;
		top: 0;
	}

	.main .top-row {
		position: sticky;
		top: 0;
	}

	.main > div {
		padding-left: 2rem !important;
		padding-right: 1.5rem !important;
	}

	.navbar-toggler {
		display: none;
	}

	.sidebar .collapse {
		/* Never collapse the sidebar for wide screens */
		display: block;
	}

	.nav-item a.active::after {
		content: "*";
		margin-left: 1em;
	}

	.topnav {
		float: right;
		overflow: hidden;
	}

		/* Style the links inside the navigation bar */
		.topnav a {
			float: left;
			color: #0366d6;
			text-align: center;
			padding: 14px 16px;
			text-decoration: none;
			font-size: 17px;
		}

			/* Change the color of links on hover */
			.topnav a:hover {
				background-color: #ddd;
				color: black;
			}

			/* Add a color to the active/current link */
			.topnav a.active {
				background-color: #c4d2d5;
				color: white;
			}
}
