:root {
	--scroll-bar-color: #c5c5c5;
	--scroll-bar-bg-color: #f6f6f6;
	--font-color: #7f8795;
	--font-color-tittle: #454545;
	--borderColor: #ddd;
	--corporative-color: rgb(17, 188, 171);
	--level-color-exelent: #11bc11;
	--level-color-good: #e1e500;
	--level-color-fair: #d78b15;
	--level-color-poor: #e93e15;
	--level-color-bad: #e81515;
	--network-color-2G: #d9534f;
	--network-color-3G: #f0ad4e;
	--network-color-4G: #5bc0de;
	--network-color-5G: #5cb85c;
}

::-webkit-scrollbar-corner {
	background: rgba(0, 0, 0, 0.5);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

*::-webkit-scrollbar-track {
	background: var(--scroll-bar-bg-color);
}

*::-webkit-scrollbar-thumb {
	background-color: var(--scroll-bar-color);
	border-radius: 20px;
	border: 3px solid var(--scroll-bar-bg-color);
}

hr {
	margin: 0.1rem 0;
	border: 0;
	border-top: 0.1em solid var(--borderColor);
}

* {
	font-size: 11px;
	font-weight: normal;
	scrollbar-width: thin;
	scrollbar-color: var(--scroll-bar-color) var(--scroll-bar-bg-color);
}

html, body {
	margin: 0;
	padding: 0;
	overflow: hidden;
	height: 100vh;
	scrollbar-width: thin;
	color: var(--font-color);
	font-family: Roboto, Verdana, Arial, sans-serif !important;
}

a {
	text-decoration: none;
	color: var(--font-color);
}

table {
	font-size: 12px;
}

input[type=text], input[type=password] {
	vertical-align: middle;
	height: 22px;
	border: 1px solid #c5c5c5;
	border-radius: 3px;
	color: var(--font-color);
}

textarea {
	vertical-align: middle;
	height: 22px;
	border: 1px solid #c5c5c5;
	border-radius: 3px;
	color: var(--font-color);
}

h1 {
	color: var(--font-color-tittle);
	line-height: 1.2;
	letter-spacing: 0px;
	font-style: normal;
	font-weight: bolder;
	font-size: 2.5em;
	margin: 0px;
	padding: .3em 0 .3em 0;
}

h2 {
	color: var(--font-color-tittle);
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1.2;
	letter-spacing: 0px;
	font-style: normal;
}

#container {
	display: flex;
	flex-direction: column;
	height: 100vh;
}

#mainheader {
	background-color: rgb(17, 188, 171);
	height: 48px;
	color: #ffffff;
	width: 100%;
	z-index: 9999;
	position: fixed; /* Set the navbar to fixed position */
	top: 0; /* Position the navbar at the top of the page */
}

#mainheader a {
	text-decoration: none;
	color: #ffffff;
}

#mainheader a:hover {
	/*font-weight: bold; */
	
}

#wrapperNav {
	/* margin: 0 0 0 75px; */
	/* width: 700px; */
	float: left;
}

#wrapper {
	width: 100%;
	margin-top: 48px;
	margin-bottom: 5px;
	height: 100%;
	max-height: calc(100% - 53px);
	display: flex;
	flex-direction: row;
}

#wrapperContent, #wrapperTree {
	/*height: 100%;*/
	/*display: flex;*/
	height: calc(100%);
	max-height: calc(100% - 15px);
	padding: 15px 15px 15px 15px;
}

#wrapperTree {
	/*width: 234px; 
    float: left;
    margin-right: 5px;*/
	/*padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;*/
	/*margin: 5px 0 0 5px;*/
	
}

#wrapperContent {
	/*margin-left: 254px;*/
	/*margin-right: 5px;
    padding-right: 5px;
    padding-top: 5px;*/
	flex-grow: 1;
	overflow: auto;
	background-color: var(--borderColor);
}

.contenidor {
	background: #fff;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	padding: 10px;
	margin-bottom: 10px;
}

#arbol {
	height: calc(100% - 30px);
	overflow: auto;
}

#menuSuperior ul {
	margin-left: 0;
	padding-left: 0;
	display: inline;
	border: none;
	font-size: 0.9em;
}

#menuSuperior ul li {
	margin-left: 0.1em;
	padding-left: 2px;
	border: none;
	list-style: none;
	display: inline;
}

.login {
	margin: auto;
	width: 220px;
	border: 1px solid #215573;
	padding: 20px;
}

.login .titol1 {
	font-size: 30px;
	color: #215573;
	text-align: center;
}

.login .subtitol {
	font-weight: bold;
	color: #215573;
	text-align: center;
	padding-top: 40px;
}

.login .error {
	color: #CC0000;
	font-size: 12px;
}

.login #submit {
	font-size: 16px;
}

.login #username {
	font-size: 16px;
	margin-top: 5px;
}

.login #passwd_1 {
	font-size: 16px;
	margin-top: 5px;
}

.titol {
	/*font-family: Verdana;*/
	font-size: 14px;
	color: #ffffff;
	padding: 5px;
	background: #215573;
	font-weight: bold;
	height: 25px;
}

.flex-container {
	display: flex;
	flex-direction: row;
}

.capcalera h2 {
	margin: 0px;
	padding: .3em .3em .3em .3em;
	text-transform: uppercase;
	/*border-bottom: 1px solid var(--borderColor);*/
	/*background: #f6f6f6;*/
}

.dashboard {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.dashboard .row {
	display: contents;
}

.dashboard .cbox {
	display: flex;
	flex-direction: column;
	flex: 1 1 calc(( 100% - 10px)/3);
	max-width: calc(( 100% - 10px)/3);
}

.dashboard .box {
	padding: .5em .5em .5em .5em;
	/*margin: 10px;*/
	/*font-size: 100%;
    font-weight: bold;*/
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	border: 1px solid #c5c5c5;
	background: #f6f6f6;
	height: 100%;
}

.dashboard .box h2 {
	margin: 0px;
	padding: .3em .3em 0.5em 0em;
	text-transform: uppercase;
}

.dashboard .box .value {
	color: var(--font-color);
	font-size: 8vw;
	font-weight: 600;
}

.dgrafics {
	display: flex;
	flex-wrap: wrap;
}

.dgrafics .row {
	display: contents;
}

.dgrafics .cbox {
	flex: 0 0 50%;
	flex-direction: column;
	/*display: flex;*/
	/*flex-grow: 1;
    
    max-width: 50%;
    min-width: 200px;*/
}

.dgrafics .box {
	/*padding: .5em .5em .5em 2em;*/
	margin: 5px;
	font-size: 100%;
	font-weight: bold;
	border-top-right-radius: 3px;
	border-top-left-radius: 3px;
	border-bottom-right-radius: 3px;
	border-bottom-left-radius: 3px;
	border: 1px solid #c5c5c5;
	/*background: #f6f6f6;*/
	color: #454545;
	height: 100%;
	max-width: 98%;
}

/* ICONS */
.uicon {
	border: 1px solid #11BCAB;
	width: 18px;
	height: 18px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	margin: 2px;
	padding: 2px;
}

.uicon:hover {
	background-color: rgba(17, 188, 171, 0.25);
}

/* FONTS */
@font-face {
	font-family: 'Roboto';
	src: url('../fonts/Roboto-Regular-webfont.woff') format('woff'),
		url('../fonts/Roboto-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto';
	src: url('../fonts/Roboto-Italic-webfont.woff') format('woff'),
		url('../fonts/Roboto-Italic.ttf') format('truetype');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'Roboto';
	src: url('../fonts/Roboto-Bold-webfont.woff') format('woff'),
		url('../fonts/Roboto-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto';
	src: url('../fonts/Roboto-BoldItalic-webfont.woff') format('woff'),
		url('../fonts/Roboto-BoldItalic.ttf') format('truetype');
	font-weight: bold;
	font-style: italic;
}

@font-face {
	font-family: 'Roboto';
	src: url('../fonts/Roboto-Thin.ttf') format('truetype');
	font-weight: 200;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto';
	src: url('../fonts/Roboto-ThinItalic.ttf') format('truetype');
	font-weight: 200;
	font-style: italic;
}

@font-face {
	font-family: 'Roboto';
	src: url('../fonts/Roboto-Light.ttf') format('truetype');
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto';
	src: url('../fonts/Roboto-LightItalic.ttf') format('truetype');
	font-weight: 100;
	font-style: italic;
}

@font-face {
	font-family: 'Roboto';
	src: url('../fonts/Roboto-Medium.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto';
	src: url('../fonts/Roboto-MediumItalic-webfont.ttf') format('truetype');
	font-weight: 300;
	font-style: italic;
}

.card {
	font-weight: 400;
	margin: unset;
	color: #7f8795 !important;
}

.card h3 {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: -0.5px;
	font-size: 1.20em;
	margin: unset;
	padding: 5px 10px 5px 10px;
	color: rgb(81, 91, 105);
}

.card b {
	font-weight: 600;
	text-transform: uppercase;
	margin: unset;
	padding: 5px 10px 5px 10px;
	color: rgb(81, 91, 105);
	/*color: #7f8795;*/
}

.ui-widget {
	font-family: Roboto, Verdana, Arial, sans-serif !important;
	font-size: 1em;
	color: var(--font-color);
}

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter,
	.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing,
	.dataTables_wrapper .dataTables_paginate {
	font-family: Roboto, Verdana, Arial, sans-serif !important;
	font-size: 1em;
	color: var(--font-color);
}

/* InfoNodo */
.item-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: flex-start;
	row-gap: 10px;
	column-gap: 20px;
}

.item-list .item-nodo {
	flex-basis: 7rem;
}

/* BatchCommand */
.batchcommand h3 {
	text-transform: uppercase;
	color: #515b69;
	font-size: 1.6em;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0px;
	font-style: normal;
}

.batchcommand .estacio {
	color: #515b69;
	font-size: 1.6em;
	font-weight: normal;
	margin-bottom: 5px;
	margin-top: 5px;
}

.batchcommand .eqcom {
	color: #515b69;
	font-size: 1.2em;
	margin: 0px;
}

/********** TAGS de les taules **********/
.etiqueta {
	border-radius: 3px;
	padding: 0 5px 0 5px;
	color: #ffffff;
	text-transform: uppercase;
}

.table_INFO {
	background-color: rgb(17, 103, 189);
	color: #ffffff;
	border-radius: 3px;
	padding: 0 5px 0 5px;
}

.table_ALERTA {
	background-color: rgb(235, 220, 33);
	color: #ffffff;
	border-radius: 3px;
	padding: 0 5px 0 5px;
}

.table_ERROR {
	background-color: rgb(173, 16, 32);
	color: #ffffff;
	border-radius: 3px;
	padding: 0 5px 0 5px;
}

.table_ALARMA {
	background-color: #bc9511;
	color: #ffffff;
	border-radius: 3px;
	padding: 0 5px 0 5px;
}

.table_AUDITORIA {
	background-color: rgb(188, 16, 188);
	color: #ffffff;
	border-radius: 3px;
	padding: 0 5px 0 5px;
}

.table_servidor {
	background-color: #88DED5;
	color: #ffffff;
	border-radius: 3px;
	padding: 0 5px 0 5px;
}

.toolbar_search {
	border-bottom: 3px solid var(--corporative-color);
	padding: 5px 10px 10px 10px;
	background-color: #e9e9e9;
}

.toolbar_search form {
	display: flex;
	gap: 1rem;
}

.toolbar_search form .form-group {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.toolbar_search form .form-actions {
	display: flex;
	flex-direction: column;
	flex: 0 1 auto;
	justify-content: flex-end; /* botó a la dreta */
}

@media ( max-width : 576px) { /* Estils per mòbils petits */
}

@media ( min-width : 577px) and (max-width: 768px) {
	/* Estils per dispositius mitjans */
}

@media ( min-width : 769px) and (max-width: 992px) {
	/* Estils per tauletes grans o pantalles petites */
}

@media ( min-width : 993px) and (max-width: 1200px) {
	/* Estils per pantalles mitjanes */
}

/* Large desktop */
@media ( min-width : 1201px) {
	* {
		font-size: 12px;
		font-weight: normal;
		scrollbar-width: thin;
		scrollbar-color: var(--scroll-bar-color) var(--scroll-bar-bg-color);
	}
	h2 {
		font-size: 2em;
	}
	.dashboard .cbox {
		display: flex;
		flex-direction: column;
		flex: 1 1 calc(( 100% - 25px)/6);
		max-width: calc(( 100% - 25px)/6);
	}
	.dashboard .box .value {
		color: var(--font-color);
		font-size: 5vw;
		font-weight: 600;
	}
}