@CHARSET "UTF-8";

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(/fonts/MaterialIcons-Regular.woff2) format('woff2'),
    url(/fonts/MaterialIcons-Regular.woff) format('woff'),
    url(/fonts/MaterialIcons-Regular.ttf) format('truetype');
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

/* Rules for sizing the icon. */
.material-icons.md-16 { font-size: 16px; }
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* Rules for using icons as black on a light background. */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

/* Rules for using icons as white on a dark background. */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }

body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    color: black;
    font-size: 16px;
    max-width: 100vw;
    overflow-x: hidden; /* Niente scroll orizzontale */
  /*  overscroll-behavior-y: auto;           /* Cambia da contain a auto */
	overflow-y: hidden !important;					/* Cambia da scroll a auto */
    position: relative;                    /* Aggiunta */
 /*   -webkit-overflow-scrolling: touch; */
    overscroll-behavior-y: none;  /* Previene il rimbalzo */
	flex-direction: column; /* Aggiunta per il layout a colonna */
	display: flex; /* Aggiunta per il layout a colonna */
	
}

.container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

.full-height
{
	height: 100%;
}
.full-width
{
	width: 100%;
}

.hidden {
	/* display: none; */
	height: 0;
	overflow-y: hidden;
}
.inline-block {
	display: inline-block;
}
.block {
	display: block;
}

.divhidden {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.divvisible {
  position: static;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}



#pm_container {
    width: 100%;
    max-width: 100vw;
    height: auto; /* Cambia da 100vh a auto */
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    text-align: center;
    padding-bottom: 150px; /* Spazio per evitare sovrapposizione */
    box-sizing: border-box;
}

#content-spacer {
    height: 150px; /* Altezza uguale o maggiore del footer */
    width: 100%;
}

.pm_container {
    width: 100%;
    margin: 0;
   /* overflow-y: hidden; /* Niente scroll verticale */
    overflow-x: hidden; /* Niente scroll orizzontale */
    text-align: center;
    box-sizing: border-box;
}

/* Make sure all content fits within the container */
img, canvas, table, .panel, .panel-body {
    max-width: 100%;
    height: auto;
}


#pm_container #dygraph-col {
	overflow-y: hidden;
	overflow-x: hidden;
}

#pm_container gauge_div {
	vertical-align: top;
	display: block;
	/*overflow: auto;*/

	padding-left: 0;
	padding-right: 0;
	margin-left: auto;
	margin-right: auto;
}


#pm_container dygraph_div {
	vertical-align: top;
	display: block;
	/*overflow: auto;*/

	padding-left: 0;
	padding-right: 0;
	margin-left: auto;
	margin-right: auto;
}

#alert_battery_div,
#alert_apikey_div,
#first_access_div {
	margin-top: 10px;
	padding: 0px 10px;
}

#info_div {
	margin-top: 10px;
	/*margin-top: 50px;*/
	/*font-size: 39px;*/
	/*font-weight: normal;*/
	/*height: 60px;*/
	/*text-align: left;*/
	padding: 0px 10px;
}

DIV#setup_div {
	margin-top: 10px;
	margin-bottom: 100px;
	padding: 0px 10px;
}

#pm_autoconsumo_div,
#pm_green_meteo_info,
#pm_label_div {
	margin-top: 10px;
	/*margin-top: 50px;*/
	/*font-size: 39px;*/
	/*font-weight: normal;*/
	/*height: 60px;*/
	/*text-align: left;*/
	padding: 0px 10px;
}

#info_div h1 {
	/*font-size: 49px;*/
	/*font-weight: bold;*/
}

#nouse-gauge-preview-textfield {
	/*margin-top: 70px;*/
	/* font-size: 21px; */
	font-size: 16px;
	height: 60px;
	/* line-height: 60px; */
	line-height: 52px;
	text-align: center;
	background: url(../images/bg.png) repeat-x center center;
	color: #212121;
}

#nouse-dygraph-preview-textfield-info {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#nouse-dygraph-preview-textfield {
	/*margin-top: 70px;*/
	/* font-size: 12px; */
	font-size: 16px;
	height: 60px;
	/* line-height: 60px; */
	line-height: 52px;
	/* line-height: 30px; */
	text-align: center;
	background: url(../images/bg.png) repeat-x center center;
	color: orange;
}

.flowing_text {
	/* animation: scroll-text 5s ease 0s infinite normal; */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}

/* define the animation */
@keyframes scroll-text {
0% {
	transform: translateX(0%);
}
50% {
	transform: translateX(-50%);
}
100% {
	transform: translateX(0%);
}
}


INPUT.barrona_selector,
BUTTON.barrona_selector {
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 0;
}

#form_changeassetlabel .barrona_selector_right {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

#form_changeassetlabel .barrona_selector_left {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

#form_changeassetlabel {
    width: 100%;
    display: block;
	margin-left: 10px;
}

#form_changeassetlabel .input-group {
    width: 100%;
    display: flex;
}

#form_changeassetlabel .input-group-btn,
#form_changeassetlabel .barrona_selector_left,
#form_changeassetlabel .barrona_selector_right {
    flex: 0 0 auto;
	min-width: 46px;
	
}

#form_changeassetlabel input.barrona_selector {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}


.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}

#dygraph-kwh {
	margin-top: 0px;
	font-size: 1.2em;
	height: 40px;
	line-height: 40px;
	text-align: center;
}

.gauge-textfield {
	font-size: 2em;
	height: 40px;
	line-height: 40px;
	text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.gauge-threephase-textfield {
	font-size: 0.6em;
}


#title-textfield {
	font-family: 'Overseer',Arial,sans-serif;
	font-size: 12px;
	height: 70px;
	max-height: 70px;
	padding-right: 10px;
	padding-top: 45px;
	width: 100%;
	text-align: right;
	/*line-height: 1.5;
	display: inline-block;
	vertical-align: middle;*/
	color: orange;
	/* position: fixed; */
	/* right: 30%; */
	/* left: 30%; */
	z-index: 1048;
/*	font-style: italic; */
	font-weight: bold;
}

.logo {
	background: url(../images/logo.png) no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 70px;
}

.logo_energino {
	background: url(../images/logo_energino.png) no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 70px;
}

.logo_energino_green {
	background: url(../images/logo_energino_green.png) no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 70px;
}

.logo_green_edition {
	background: url(../images/logo_green_edition.png) no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 70px;
}

.logo_green_trifase {
	background: url(../images/logo_green_trifase.png) no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 70px;
}

.logo_green_vision {
	background: url(../images/logo_green_vision.png) no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 70px;
}

.logo_home_edition {
	background: url(../images/logo_home_edition.png) no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 70px;
}

.logo_home_trifase {
	background: url(../images/logo_home_trifase.png) no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 70px;
}

.logo_home_vision {
	background: url(../images/logo_home_vision.png) no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 70px;
}

.logo_business {
	background: url(../images/logo_business.png) no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 70px;
}

.logo_green_business {
	background: url(../images/logo_green_business.png) no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 70px;
}

.logo_professional {
	background: url(../images/logo_professional.png) no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 70px;
}

.logo_green_professional {
	background: url(../images/logo_green_professional.png) no-repeat center center;
	background-size: contain;
	width: 100%;
	height: 70px;
}

/*


*/

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    z-index: 100;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #eee;
}

.footer .icons {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 0;
}

DIV.sppb-icon,
.footer .sppb-icon {
    flex: 1 1 20%;
    min-width: 0;
    text-align: center;
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
DIV.sppb-icon > a,
.footer .sppb-icon > a {
    color: #212121;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5em;
    transition: background 0.2s, color 0.2s;
}

.footer .sppb-icon > a:hover,
.footer .sppb-icon > a:focus {
    background: #f5f5f5;
    color: orange;
    text-decoration: none;
}

.footer .sppb-icon > a > span,
.footer .sppb-icon > a > .material-icons {
    font-size: 1.5em;
    vertical-align: middle;
}


@media (max-width: 600px) {
    .footer .sppb-icon > a {
        width: 40px;
        height: 40px;
        font-size: 1.1em;
    }
    .footer .sppb-icon > a > span,
    .footer .sppb-icon > a > .material-icons {
        font-size: 1.1em;
    }
    .footer .sppb-icon {
        padding: 4px 0;
    }
}

i.icons {
	color: var(--text-color)!important;
	font-size: 36px;
	width: 36px;
	height: 36px;
	line-height: 36px;
}

DIV.info-title {
	font-weight: bold;
	color: #212121 !important;
	text-transform: uppercase;
}

DIV.info-body {
	text-align: justify;
}
/*
DIV.sppb-icon{
	min-height: 60px;
	line-height: 60px;
	font-size: large;
	text-align: center;
}

DIV.sppb-icon > a {
	color: #212121;
	font-size: medium;
}

DIV.sppb-icon > a.inactive {
	color: lightgray;
}

DIV.sppb-icon > a  > SPAN,
DIV#title-textfield > a
{
    border: 1px solid lightgray;
    padding: 10px;
    border-radius: 5px;
}

DIV.sppb-icon.active > a > SPAN {
	border: 1px solid #212121;
	background-color: whitesmoke;
}
	*/
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px !important;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
}

DIV#information {
	position: relative;
	color: orange;
	text-align: left;
	height: 20px;
	line-height: 20px;
	/*margin-left: 5px;*/
}

.dataold {
	color: lightgray;
}

.close {
    float:none;
/*    display:block;*/
    padding:2px 5px;
	background-color: #212121;
	color: white;
	border-radius: 5px;
	cursor:pointer;
}

.generic_a, .generic_a:hover, .generic_a:visited, .generic_a:focus {
	color: #212121;
	text-decoration: none; /* rimuove la sottolineatura */
}
/*
DIV#information > DIV#login-display {
	height: 20px;
	line-height: 20px;
	margin-left: 5px;
}
*/

DIV.nopadding {
	padding: 0;
}

DIV.device-icon {
	height: 24px;
	width: 24px;
}

DIV.battery-100 {
	background: url(../images/battery.png) 0 0 no-repeat;
}


DIV.battery-75 {
	background: url(../images/battery.png) -24px no-repeat;
}

DIV.battery-50 {
	background: url(../images/battery.png) -48px no-repeat;
}

DIV.battery-25 {
	background: url(../images/battery.png) -72px no-repeat;
}

DIV.battery-0 {
	background: url(../images/battery.png) -96px no-repeat;
}

DIV.battery-lowbattery {
	background: url(../images/battery.png) -120px no-repeat;
}

DIV.radio-100 {
	background: url(../images/radio.png) 0 0 no-repeat;
}


DIV.radio-75 {
	background: url(../images/radio.png) -24px no-repeat;
}

DIV.radio-50 {
	background: url(../images/radio.png) -48px no-repeat;
}

DIV.radio-25 {
	background: url(../images/radio.png) -72px no-repeat;
}

DIV.radio-0 {
	background: url(../images/radio.png) -96px no-repeat;
}

DIV.wifi-100 {
	background: url(../images/wifi.png) 0 0 no-repeat;
}


DIV.wifi-75 {
	background: url(../images/wifi.png) -24px no-repeat;
}

DIV.wifi-50 {
	background: url(../images/wifi.png) -48px no-repeat;
}

DIV.wifi-25 {
	background: url(../images/wifi.png) -72px no-repeat;
}

DIV.wifi-0 {
	background: url(../images/wifi.png) -96px no-repeat;
}

DIV#settings_container {
	text-align: center;
}

DIV#password_container {
	text-align: center;
}

DIV#logout_container {
	text-align: center;
}


/* LOADER ...*/
.loader {
	position: absolute;
	border: 5px solid #f3f3f380;
	border-radius: 50%;
	border-top: 5px solid orange;
	width: 100px;
	height: 100px;
	top: 0;
	left: -50px;
	background: #f3f3f380;
	margin: auto;
	-webkit-animation: spin 2s linear infinite; /* Safari */
	animation: spin 2s linear infinite;
	margin-top: 50%;
	margin-left: 50%;
  }

  /* Safari */
  @-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
  }

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

.label_selector_table {
	width: 100%;
}

.eye-30 {
    margin-left: -30px;
    cursor: pointer;
}

.enabled-icon{
	color: #212121 !important;
}

.disabled-icon{
	color:lightgray !important;
}

.environment {
	margin: 0;
	cursor: pointer;
}

.title_tools {
	text-align: justify;
}

.large-label {
	font-family: 'Overseer',Arial,sans-serif;
	font-size: large;
	color: #212121;
	text-align: right;
}

.medium-label {
	font-family: 'Overseer',Arial,sans-serif;
	font-size: large;
	color: #212121;
	text-align: right;

}

.monospace-label {
	font-family: 'Courier New', monospace;
	text-align: right;
	color: #212121;
	font-weight: lighter;
	font-size: small;
}

.progress-blue {
	color:aliceblue;
	background-color: #286090;
	border-color: #204d74;
}


.color-f1 {
	color: black
}
.background-color-f1 {
	background-color: black;
	border-color: black;
}
.color-f2 {
	color: #a04000;
}
.background-color-f2 {
	background-color: #a04000;
	border-color: #a04000;
}
.color-f3 {
	color: red
}
.background-color-f3 {
	background-color: red;
	border-color: red;
}

.progress-f2 {
	color:aliceblue;
	height: 100%;
}
.progress-f1 {
	color:aliceblue;
	height: 100%;
}
.progress-f3 {
	color:aliceblue;
	height: 100%;
}

.vertical-center {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
  }

.horizontal-center {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
  }



/* Clear floats after the columns */
.row:after {
	content: "";
	display: table;
	clear: both;
}

#arco_solare {
	background:white;
	width: 400px;
	height: 220px;

}

/* pale eoliche */
#supporto {
	display: flex;
	align-items: center;
	position: relative;
	height: 155px;
	width: auto;
  }

#supporto_pale {
	display: flex;
	align-items: center;
	position: relative;
	height: 110px;
	width: auto;
  }

  #pale {
	position: absolute;
	top: 0;
	align-items: center;
	transform: translate(-50%, -50%);
	animation-name: ruota;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	height: 110px;
	width: auto;
  }

  @keyframes ruota {
	from {
	  transform: rotate(0deg);
	}
	to {
	  transform: rotate(360deg);
	}
  }

/* tabella con bordi smussati per tabella info tecniche */

.table_rounded {
	border: 1px solid #ddd;
	border-collapse: separate;
/*	border-left: 0; */
	border-radius: 4px;
	border-spacing: 0px;
}

.table_rounded body {
	padding: 10px;
}

.table_rounded thead {
	display: table-header-group;
	vertical-align: middle;
	border-color: inherit;
	border-collapse: separate;
}

.table_rounded tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

.table_rounded th,
.table_roundedtd {
	padding: 5px 4px 6px 4px;
	text-align: left;
	vertical-align: top;
	border-left: 1px solid #ddd;
}

.table_rounded td {
	border-top: 1px solid #ddd;
	padding: 5px 4px 6px 4px;
}

.table_rounded thead:first-child tr:first-child th:first-child,
.table_rounded tbody:first-child tr:first-child td:first-child {
	border-radius: 3px 0 0 0;
}

.table_rounded thead:last-child tr:last-child th:first-child,
.table_rounded tbody:last-child tr:last-child td:first-child {
	border-radius: 0 0 0 3px;
}


/* device list overlay sulla destra */
#device-list-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 9999;
  }

  #device-list {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	list-style-type: none;
	background-color: #fff;
	padding: 10px;
	max-width: 500px;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
	text-align: left;
	max-height: 70vh; /* Altezza massima visualizzabile */
	overflow-y: scroll; /* Mostra sempre la barra di scorrimento verticale */
	scrollbar-width: thin; /* Firefox */
	scrollbar-color: #454545 #f1f1f1; /* Firefox */
  }

  #device-list li {
    padding: 5px;
    cursor: pointer;
  }

  #device-list img {
	width: 100%;
	height: 70px;
	margin-right: 5px;
  }

.device_selector {
	font-size: large;
	text-align: right;
}

.device-box {
	border: 1px solid rgb(230, 230, 230);
	border-radius: 8px;
	background-color: rgba(219, 219, 219, 0.919);
}


/* classe vuota per identificare tutti gli oggetti da abilitare in caso di smart-kit */
.smart-kit {
}

/* nav bar below gauge */
.asset_arrow {
	font-size: 24px;
}
.asset_arrow_left {
	left: 5px;
	text-align: left;
}
.asset_arrow_right {
	right: 5px;
	text-align: right;
}

/* bollino fasce orarie */
.label-ligth {
	color: #212121;
	font-weight:normal;
}
DIV.bollino {
  align-items: center;
  display: flex;
  justify-content: center; 
  height: 66px;
}
BUTTON.bollino-f123 {
	border-radius: 15%;
	text-align: center;
	font-weight: bold;
	opacity: 0.9 !important;
}

/* classe per lo stile del riquadro di informazioni presente nei grafici h24 e 30gg */
.info-box {
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 10px;
	margin: 10px;
	font-size: 1.25em;
	font-family: 'Overseer',Arial,sans-serif;
	text-align: left;
	text-overflow: ellipsis;
}

/* classe per le etichette dei grafici h24 e 30gg */
.label-box {
	width: 10px;
	height: 10px;
	border: 1px solid #212121;
	border-radius: 0%;
	display: inline-block;
	margin-right: 5px;
}

.label-dot {
	width: 10px;
	height: 10px;
	border: 1px solid #212121;
	border-radius: 50%;
	display: inline-block;
	margin-right: 5px;
}

.label-fabbisogno {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    position: relative;
	background-color: orange;
}

.label-produzione {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    position: relative;
	background-color: green;
}
