/* here you can put your own css to customize and override the theme */

/***
Rounded Portlets
***/
/*
.portlet {
border-radius: 4px !important;
}

.portlet .portlet-title {
border-radius: 4px 4px 0px 0px !important;
}

.portlet .portlet-body,
.portlet .portlet-body .form-actions  {
border-radius: 0px 0px 4px 4px !important;
}
*/
/*@import url('https://rsms.me/inter/inter.css');
@import url('https://fonts.googleapis.com/css2?family=Epilogue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@200;400;500&display=swap');

.qualityRow:nth-child(even) {
	background-color: rgba(255, 255, 255, 0.1);
}

.vbibDivContainer {
	width: 13%;
	height: 100px;
	background-color: rgba(255, 255, 255, 0.1);
	position: relative;
	float: left;
	margin-right: 1%;
}

.vbibDivChart {
	background-color: #0A6905;
	position: absolute;
	bottom: 0px;
	left: 35%;
	right: 35%;
	top: 100%;
}

.pSolareDivChart {
	background-color: #00a6e2;
	position: absolute;
	bottom: 0px;
	left: 0%;
	right: 70%;
	top: 100%;
}

.pConsumataDivChart {
	background-color: #a60001;
	position: absolute;
	bottom: 0px;
	left: 70%;
	right: 0%;
	top: 100%;
}

.vbibDivChartSolare {
	background-color: rgba(226, 191, 0, 0.8);
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	top: 100%;
}

.vbibDivValue {
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	top: 60px;
	color: #fff;
	text-align: center;
	font-size: 18px;
	line-height: 20px;
}

.vbibDivData {
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	top: 0px;
	color: #fff;
	text-align: center;
	font-size: 12px;
	line-height: 20px;
}


.paddingLR0 {
	padding-left: 0px;
	padding-right: 0px;
}

.paddingLR5 {
	padding-left: 5px;
	padding-right: 5px;
}

.paddingLR10 {
	padding-left: 10px;
	padding-right: 10px;
}

.next-day {
	padding: 2px;
	text-align: center;
	position: fixed;
	z-index: 10001;
	bottom: 5%;
	right: 5px;
}

.next-day>i {
	display: inline-block;
	color: #38A233;
	font-size: 32px;
	opacity: 0.7;
	filter: alpha(opacity=70);
}

.next-day:hover {
	cursor: pointer;
}

.next-day:hover>i {
	opacity: 1;
	filter: alpha(opacity=100);
}

.prev-day {
	padding: 2px;
	text-align: center;
	position: fixed;
	z-index: 10001;
	bottom: 5%;
	left: 5px;
}

.prev-day>i {
	display: inline-block;
	color: #38A233;
	font-size: 32px;
	opacity: 0.7;
	filter: alpha(opacity=70);
}

.prev-day:hover {
	cursor: pointer;
}

.prev-day:hover>i {
	opacity: 1;
	filter: alpha(opacity=100);
}

.customerName {
	width: 40%;
	padding: 2px;
	position: fixed;
	z-index: 9999;
	bottom: 5%;
	left: 45px;
	right: 15px;
	font-size: 18px;
	text-align: left;
	color: #38A233;
}

.customerName>i {
	display: inline-block;
	color: #38A233;
	font-size: 32px;
	opacity: 0.7;
	filter: alpha(opacity=70);
}

.customerName:hover {
	cursor: pointer;
}

.customerName:hover>i {
	opacity: 1;
	filter: alpha(opacity=100);
}

.nav-pills>li.active>a,
.nav-pills>li.active>a:hover,
.nav-pills>li.active>a:focus {
	color: #fff;
	background-color: #38A233;
}

.nav>li>a,
.nav>li>a:hover,
.nav>li>a:focus {
	text-decoration: none;
	color: #38A233;
}

.date-container {
	float: right;
}

.next-slider {
	position: fixed;
	z-index: 10000;
	/*top:0px;*/
	height: 15%;
	bottom: 0px;
	right: -30px;
	width: 30px;
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzM4YTIzMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwJSIgc3RvcC1jb2xvcj0iIzM4YTIzMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjcwJSIgc3RvcC1jb2xvcj0iIzM4YTIzMyIgc3RvcC1vcGFjaXR5PSIwLjMiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzM4YTIzMyIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
	background: -moz-linear-gradient(left, rgba(56, 162, 51, 1) 0%, rgba(56, 162, 51, 1) 10%, rgba(56, 162, 51, 0.3) 70%, rgba(56, 162, 51, 0) 100%);
	/* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(56, 162, 51, 1)), color-stop(10%, rgba(56, 162, 51, 1)), color-stop(70%, rgba(56, 162, 51, 0.3)), color-stop(100%, rgba(56, 162, 51, 0)));
	/* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left, rgba(56, 162, 51, 1) 0%, rgba(56, 162, 51, 1) 10%, rgba(56, 162, 51, 0.3) 70%, rgba(56, 162, 51, 0) 100%);
	/* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left, rgba(56, 162, 51, 1) 0%, rgba(56, 162, 51, 1) 10%, rgba(56, 162, 51, 0.3) 70%, rgba(56, 162, 51, 0) 100%);
	/* Opera 11.10+ */
	background: -ms-linear-gradient(left, rgba(56, 162, 51, 1) 0%, rgba(56, 162, 51, 1) 10%, rgba(56, 162, 51, 0.3) 70%, rgba(56, 162, 51, 0) 100%);
	/* IE10+ */
	background: linear-gradient(to right, rgba(56, 162, 51, 1) 0%, rgba(56, 162, 51, 1) 10%, rgba(56, 162, 51, 0.3) 70%, rgba(56, 162, 51, 0) 100%);
	/* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#38a233', endColorstr='#0038a233', GradientType=1);
	/* IE6-8 */
}

.prev-slider {
	position: fixed;
	z-index: 10000;
	/*top:0px;*/
	bottom: 0px;
	left: -30px;
	width: 30px;
	height: 15%;
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzM4YTIzMyIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMwJSIgc3RvcC1jb2xvcj0iIzM4YTIzMyIgc3RvcC1vcGFjaXR5PSIwLjMiLz4KICAgIDxzdG9wIG9mZnNldD0iOTAlIiBzdG9wLWNvbG9yPSIjMzhhMjMzIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzM4YTIzMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
	background: -moz-linear-gradient(left, rgba(56, 162, 51, 0) 0%, rgba(56, 162, 51, 0.3) 30%, rgba(56, 162, 51, 1) 90%, rgba(56, 162, 51, 1) 100%);
	/* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(56, 162, 51, 0)), color-stop(30%, rgba(56, 162, 51, 0.3)), color-stop(90%, rgba(56, 162, 51, 1)), color-stop(100%, rgba(56, 162, 51, 1)));
	/* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left, rgba(56, 162, 51, 0) 0%, rgba(56, 162, 51, 0.3) 30%, rgba(56, 162, 51, 1) 90%, rgba(56, 162, 51, 1) 100%);
	/* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left, rgba(56, 162, 51, 0) 0%, rgba(56, 162, 51, 0.3) 30%, rgba(56, 162, 51, 1) 90%, rgba(56, 162, 51, 1) 100%);
	/* Opera 11.10+ */
	background: -ms-linear-gradient(left, rgba(56, 162, 51, 0) 0%, rgba(56, 162, 51, 0.3) 30%, rgba(56, 162, 51, 1) 90%, rgba(56, 162, 51, 1) 100%);
	/* IE10+ */
	background: linear-gradient(to right, rgba(56, 162, 51, 0) 0%, rgba(56, 162, 51, 0.3) 30%, rgba(56, 162, 51, 1) 90%, rgba(56, 162, 51, 1) 100%);
	/* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0038a233', endColorstr='#38a233', GradientType=1);
	/* IE6-8 */
}

.loader {
	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
	background-color: #333333;
	z-index: 10000;
}

.wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
}

/*tabella colori alternati*/

.table-striped>tbody>tr:nth-child(odd) {
	background-color: #505050
}

.flip-scroll thead {
	display: block;
	width: 100%;
	float: left;
}

.flip-scroll tbody {
	display: block;
	width: 100%;
	position: relative;
	overflow-y: auto;
	white-space: nowrap;
	float: left;
	height: 300px;
}

.flip-scroll tr {
	width: 100%;
	float: left;
}

.flip-scroll td {
	float: left;
}

.flip-scroll th {
	float: left;
	border-bottom: none;
}

.table>thead>tr>th {
	border-bottom: none;
}

.portletContainer {
	background-color: rgb(113, 122, 128);
	padding-top: 25px;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.roundedCorner {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.container-masterSlave {
	display: block;
}

#ts_calendar th {
	text-align: center;
	padding: 3px;
}

#ts_calendar tbody th {
	border-right: 1px solid;
}

#ts_calendar tbody th,
#ts_calendar tbody td {
	padding: 0;
}

#refreshTableTimeShifting:focus,
#refreshTableTimeShifting .glyphicon-refresh:focus {
	outline: none;
}

.btn_mode_ts button {
	margin-left: 10px;
}

.btn_ts.active {
	border: 2px solid #fff;
}

#ts_calendar td {
	cursor: pointer;
}

.lbl_modo {
	display: block;
	color: #fff;
	margin-top: 10px;
}

#containerLoghiEv div:not(:first-child) {
	cursor: pointer;
}

.greenCurrent {
	-webkit-filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(50deg) saturate(1000%) contrast(0.8);
	filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(50deg) saturate(1000%) contrast(0.8);
}

.redCurrent {
	-webkit-filter: invert(40%) grayscale(100%) brightness(40%) sepia(100%) hue-rotate(-50deg) saturate(400%) contrast(2);
	filter: grayscale(100%) brightness(40%) sepia(100%) hue-rotate(-50deg) saturate(600%) contrast(0.8);
}

#funzione_evento option:hover {
	background: transparent;
}

#ev_parameter_modal.modal {
	text-align: center;
}

@media screen and (min-width: 768px) {
	#ev_parameter_modal.modal:before {
		display: inline-block;
		vertical-align: middle;
		content: " ";
		height: 100%;
	}
}

#ev_parameter_modal .modal-dialog {
	display: inline-block;
	vertical-align: middle;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

#ex1Slider .slider-selection {
	background: #BABABA;
}

.slider-handle {
	background-image: linear-gradient(to bottom, #38A233 0, #35aa47 100%);
}

#form_param_ev .form-group {
	margin-bottom: 25px;
}

#ra_ev_pev_max .ui-slider-pip .ui-slider-line {
	height: 8px;
	top: -5px;
}

#ra_ev_pev_max .ui-slider-pip:nth-child(even) {
	top: -33px;
	height: 15px;
	transform: scale(0.8) translateY(3px);
	opacity: 0.8;
}

#ra_ev_pev_max .ui-slider-pip:nth-child(even) .ui-slider-line {
	top: 22px;
	height: 9px;
}

#ra_ev_pev_max .ui-slider-pip:nth-child(even).ui-slider-pip-selected-1 .ui-slider-label,
#ra_ev_pev_max .ui-slider-pip:nth-child(even).ui-slider-pip-selected-2 .ui-slider-label,
#ra_ev_pev_max .ui-slider-pip:nth-child(even).ui-slider-pip-selected-3 .ui-slider-label,
#ra_ev_pev_max .ui-slider-pip:nth-child(even).ui-slider-pip-selected-4 .ui-slider-label {
	top: -3px;
}

#ra_ev_pev_max .ui-slider-pip-initial-1 .ui-slider-label {
	color: #E80949;
}

#ra_ev_pev_max .ui-slider-pip-initial-2 .ui-slider-label {
	color: #FF03CB;
}

#ra_ev_pev_max .ui-slider-pip-initial-3 .ui-slider-label {
	color: #C309E8;
}

#ra_ev_pev_max .ui-slider-pip-initial-4 .ui-slider-label {
	color: #920AFF;
}

#ra_ev_pev_max .ui-slider-pip-selected-1 .ui-slider-label,
#ra_ev_pev_max .ui-slider-pip-selected-2 .ui-slider-label,
#ra_ev_pev_max .ui-slider-pip-selected-3 .ui-slider-label,
#ra_ev_pev_max .ui-slider-pip-selected-4 .ui-slider-label {
	color: white;
	width: 2.4em;
	padding: 4px 0;
	margin-left: -1.2em;
	border-radius: 2px;
}

#ra_ev_pev_max .ui-slider-pip-selected-1 .ui-slider-label {
	background-color: #E80949;
}

#ra_ev_pev_max .ui-slider-pip-selected-2 .ui-slider-label {
	background-color: #FF03CB;
}

#ra_ev_pev_max .ui-slider-pip-selected-3 .ui-slider-label {
	background-color: #C309E8;
}

#ra_ev_pev_max .ui-slider-pip-selected-4 .ui-slider-label {
	background-color: #920AFF;
}

#ra_ev_pev_max .ui-slider-tip {
	width: 34px;
	margin-left: -17px;
	top: -1px;
	background: #00c7d7;
	color: white;
	border: none;
	line-height: 27px;
	height: 25px;
}

#ra_ev_pev_max .ui-slider-tip:before,
#ra_ev_pev_max .ui-slider-tip:after {
	display: none;
}

#ra_ev_pev_max .ui-slider-handle.ui-state-active .ui-slider-tip,
#ra_ev_pev_max .ui-slider-handle.ui-state-focus .ui-slider-tip,
#ra_ev_pev_max .ui-slider-handle.ui-state-hover .ui-slider-tip,
#ra_ev_pev_max .ui-slider-handle:focus .ui-slider-tip,
#ra_ev_pev_max .ui-slider-handle:hover .ui-slider-tip {
	top: -1px;
}

#ra_ev_pev_max .ui-slider-handle.ui-state-focus {
	z-index: 100;
}

#ts_calendar tbody th,
#ts_calendar tbody td {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

#tableMS thead th {
	vertical-align: top;
}

#tableMS thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	background-color: #333;
}

#tableMS {
	width: auto;
	overflow: auto;
	height: 100px;
	background-color: #333;
	border: 2px solid #9eacb4;
}

@media only screen and (max-width: 768px) {
	.flip-scroll thead {
		display: block;
		width: auto;
		float: left;
	}

	.flip-scroll tbody {
		display: block;
		width: auto;
		position: relative;
		overflow-x: auto;
		white-space: nowrap;
		float: none;
		height: auto;
	}

	.flip-scroll tbody tr {
		display: inline-block;
		vertical-align: top;
		margin-left: -5px;
		width: auto;
		float: none;
	}

	.flip-scroll td {
		display: block;
		min-height: 1.25em;
		text-align: left;
		border-top: 0 !important;
		border-left: 0 !important;
		border-right: 0 !important;
		float: none;
	}

	.flip-scroll th {
		float: none;
	}

	.flip-scroll th:last-child,
	.flip-scroll td:last-child {
		border-bottom: none;
	}
}

.page-content {
	background: #191919;
}

.page-header {
	background: #191919;
}

.page-header .page-header-menu {
	background: #191919;
}

.portlet.light {
	padding: 12px 20px 15px 20px;
	box-shadow: 3px 3px 6px rgba(40, 40, 40, 0.4), -3px -3px 6px rgba(70, 70, 70, 0.3);
	background: linear-gradient(125deg, #232326, #202023);
	/*background: linear-gradient(125deg,#2b2b2b, #202020);*/
	border-radius: 20px;
}

.page-head {
	background: #38A233;
}

.page-content {

	background: linear-gradient(120deg, #303130, #293029);
}

.page-header .page-header-top .top-menu .navbar-nav>li.dropdown.open .dropdown-toggle {
	background-color: #191919;
}

html {
	font-family: 'Inter', sans-serif;
}

@supports (font-variation-settings: normal) {
	html {
		font-family: 'Fira Sans', sans-serif;
	}
}

body {
	font-family: "Fira Sans", sans-serif;
	font-weight: 200;
}

.font-accent {
	font-weight: 500;
	font-size: 38px;
	line-height: 1;
	display: inline-block;
}

.page-footer {
	color: #a2abb7;
	background: linear-gradient(125deg, #222322, #181918);
	box-shadow: 3px 3px 6px rgba(40, 40, 40, 0.4), -3px -3px 6px rgba(70, 70, 70, 0.3);
}

.nav-pills>li>a {
	border-radius: 10px;
}

.btn {
	border-radius: 10px;
}

.form-control {
	border-radius: 10px;
}

.datepicker.dropdown-menu {
	border-radius: 10px;
}

.datepicker table tr td span {
	border-radius: 10px;
}

.loaderBMS {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	position: relative;
	animation: rotate 1s linear infinite
}

.loaderBMS::before,
.loaderBMS-xs::before {
	content: "";
	box-sizing: border-box;
	position: absolute;
	inset: 0px;
	border-radius: 50%;
	border: 5px solid #FFF;
	animation: prixClipFix 2s linear infinite;
}

.loaderBMS-xs {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	position: relative;
	animation: rotate 1s linear infinite;
	vertical-align: middle;
}

.resetString {
	text-align: center;
	width: 100%;
	height: 40px;
	border-radius: 50%;
	color: white;
	font-weight: bold;
	font-size: 20px;
}

.backgroundBitMaskValidita {
	/* color: white; */
	/* font-weight: bold; */
}

.dailyContainer .todayMessage {
	display: block;
}

.storicoContainer .todayMessage {
	display: none;
}

#switchDaily,
#switchHistory {
	background-color: white;
	color: black;
	box-shadow: 3px 3px 6px rgba(40, 40, 40, 0.4), -3px -3px 6px rgba(70, 70, 70, 0.3)
}

.btnSwitchBMSMode,
.btnSwitchBMSMode:hover {
	background-color: #FFB848 !important;
	color: white !important;
}

#showBMSList:disabled {
	background-color: #b3b3b3;
}

.lampeggio-luce {
	animation: lampeggiaLuce 1s ease-in-out 2;
  }
  
  @keyframes lampeggiaLuce {
	0%, 100% {
	  box-shadow: 0 0 10px rgba(255, 255, 255, 0); /* Nessuna ombra */
	}
	50% {
	  box-shadow: 0 0 20px rgba(255, 255, 255, 1); /* Ombra bianca intensa */
	}
  }
  

@keyframes rotate {
	100% {
		transform: rotate(360deg)
	}
}

@keyframes prixClipFix {
	0% {
		clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0)
	}

	25% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0)
	}

	50% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%)
	}

	75% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%)
	}

	100% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0)
	}
}