/* /////   ---------------------   ///// */
/* /////      MY CUSTOM STYLE      ///// */
/* /////   ---------------------   ///// */

#pageone {
	/*padding-top:0px !important;*/ /*questo va ridimensionato preciso al pixel (es. 79px)*/
}

.page-title {
	text-align:center;
}
.page-title h3 {
	font-weight:400;
	margin: 0 0 1em 0;
}

/* /////   ------   ///// */
/* /////   HEADER   ///// */
/* /////   ------   ///// */

#header {
	background-color: #1c2b36; /*#0b3354 Blu originale*/
	/*box-shadow: 0px 1px 2px rgba(0,0,0,0.4);*/
	border:0;
}
.ui-header-fixed {
    top: 0 !important;
    padding-top:0 !important;
}
#header h1 {
	font-weight:500;
	text-transform:uppercase;
	letter-spacing:0px;
	color:#fff;
	font-size:16px;
	text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
	/*min-height: 3em;*/
	line-height: 3em;
	border:0; padding:0; margin:0 3em;
	text-align:left;
	font-size:16px;
}
/* HEADER > Button LEFT */
#my-btn-left {
	text-align:center;
	border-radius:0;
	background-color:rgba(0, 0, 0, 0.0);
	opacity: 1;
	
	left:0;	top:0; border:0; margin:0; padding:0;
}
#my-btn-left i {
	width:3em;
	/*min-height: 3em;*/
    line-height: 3em;
	font-size:16px;
	color:#FFF;
	text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}

/* HEADER > Button RIGHT */
#my-btn-right {
	font-size:16px;
	text-align:center;
	border-radius:0;
	background-color:rgba(0, 0, 0, 0.0);
	opacity: 1;
	
	right:0; top:0; border:0; margin:0; padding:0.6em 0 0 0;
	height:auto;
	width:auto;	
}
/* HEADER > Button RIGHT > Flipswitch */
.ui-flipswitch.fs1 {
	-webkit-border-radius: 40px;
	border-radius: 40px;
	margin: 0 0.6em 0 0;
	width: 42px;
	height:26px;
	background-color:#F00;
	border-color:#eee;
	border:0px solid;
}
.ui-flipswitch.fs1.ui-flipswitch-active {
	padding-left: 16px;
  	width: 26px;
	background-color:#0C0;
	border-color:#eee;
}
.ui-flipswitch.fs1 .ui-btn.ui-flipswitch-on {
	background-color:#fff;
	border-color:#fff;
	margin:2px;
	width:22px;
	height:22px;
}

/* /////   -------------   ///// */
/* /////   GENERAL PANEL   ///// */
/* /////   -------------   ///// */

#myGeneral {
	background-color: rgba(255,255,255,0.0);
	border-color: #0b3354;
	border:0;
	padding:0.5em 0.6em;
	height:32px;
	max-height:32px;
	/*border-top:1px solid rgba(255,255,255,0.2);*/
}
/* GENERAL > Testo / Span */
#myGeneral span {
	display:block;
	margin:0 0 0 0;
	font-size:12px;
	line-height:16px;
	text-shadow:none;
	color:#dde6e9;
	text-align:right;
	font-weight:300;
	
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
/* GENERAL > SAFE ZONE Button Skin */
.btn-skin-safezone.ui-btn {
	width:auto;
	height:30px;
	padding:0 0.5em;
	margin:0 2em 0 0.8em;
	border-radius:1px;
	
	background-color:#0C0;
	border-color:#0C0;
	display:inline-block;
	
	font-size:12px;
	text-shadow:0;
	color:#fff;
	line-height:30px;
	float:left;
	
	-webkit-transition: all .2s ease-in-out 0s;
    -o-transition: all .2s ease-in-out 0s;
    transition: all .2s ease-in-out 0s;
}
.btn-skin-safezone.ui-btn i {
	width:30px;
	line-height:30px;
	text-align:center;
	font-size:18px;
	font-style:normal;
	color:#fff;
	text-shadow:none;
}
/* GENERAL > Button Skin */
.btn-skin-general.ui-btn , .btn-skin-general.ui-btn:visited{
	width:30px;
	height:30px;
	padding:0;
	margin:0 0 0 0;
	border-radius:1px;
	
	background-color:#F60;
	border-color:#F60;
	display:inline-block;
	
	font-size:12px;
	text-shadow:0;
	float:left;
	
	-webkit-transition: all .2s ease-in-out 0s;
    -o-transition: all .2s ease-in-out 0s;
    transition: all .2s ease-in-out 0s;
}
.btn-skin-general.ui-btn i {
	width:30px;
	line-height:30px;
	text-align:center;
	font-size:18px;
	font-style:normal;
	color:#fff;
	text-shadow:none;
}
/* GENERAL > Flipswitch */
#myGeneral .ui-flipswitch {
	-webkit-border-radius: 40px !important;
	border-radius: 40px !important;
	/*float:right;*/
	margin:3px 0 0 1em;
	width: 42px;
	height:26px;
	background-color:#171c20 !important;
	border-color:#eee !important;
	border:0px solid;
}
#myGeneral .ui-flipswitch.ui-flipswitch-active {
	padding-left: 16px;
  	width: 26px;
	background-color:#0C0 !important;
	border-color:#eee !important;
}
#myGeneral .ui-flipswitch .ui-btn.ui-flipswitch-on {
	background-color:#fff;
	border-color:#fff;
	margin:2px;
	width:22px;
	height:22px;
}

/* /////   ------   ///// */
/* /////   NAVBAR   ///// */
/* /////   ------   ///// */

#myNavbar {
	background-color: #0b3354;
	border-color: #0b3354;
	border:0;
}

#myNavbar a {
	background-color: rgba(0, 0, 0, 0.0);
	border-color: #0b3354;
	border:none;
	color:#fff;
	opacity:0.3;
	font-size:1.3em;
	text-shadow: none;
	padding:0.4em;
}
#myNavbar a:visited {
	opacity:1;
	background-color: rgba(0, 0, 0, 0.0);
}
#myNavbar a:hover {
	opacity:1;
	background-color: rgba(255, 255, 255, 0.1);
}
#myNavbar .ui-btn-active {
	background-color: rgba(255, 255, 255, 0.1);
	opacity: 1;
	color: #ffffff;
	text-shadow: none;
}

/* /////   -----   ///// */
/* /////   POPUP   ///// */
/* /////   -----   ///// */

.my-popup {
	border:0 !important;
	padding:0.5em !important;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* /////   ----------   ///// */
/* /////   PANEL LEFT   ///// */
/* /////   ----------   ///// */

#myPanelLeft {
	border:0px;
	background-color:#131e26;
}

/* PANEL LEFT > Header */
#myPanelLeft .panel-left-header {
	/*text-align:left;*/
	display:block;
	position:relative;
	width:100%;
	height:2.8em;

	padding: 3em 1em 0.5em 1em;
	margin: -1em 0 3em -1em;
	
	background:#32404e url(../img/Cap-1.jpg) center center no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#myPanelLeft .panel-left-header img {
	float:left;
	display:block;
	border:none;
	width:4.6em;
	height: auto;
	margin-right:0.5em;
	margin-top:1em;
}
#myPanelLeft .panel-left-header h3 {
	margin:0;
	margin-top:1.8em;
	display:block;
	color:#FFF;
	font-size:1.0em;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
}
#myPanelLeft .panel-left-header p {
	margin:0;
	margin-top:1em;
	display:block;
	color:#666;
	font-size:0.7em;
	/*text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);*/
}

#myPanelLeft a {
	text-decoration:none;
	display:block;
	font-weight:500;
	font-size:15px;
}

#myPanelLeft i {
	text-align:center;
	width:2em;
	/*min-height: 3em;*/
	line-height:2em;
	margin-right:0.5em;
	color:#fff;
	font-weight:normal;
}
#myPanelLeft hr {
	border:0px;
	height:1px;
	background-color:#444;
}

/* /////   -----------   ///// */
/* /////   PANEL RIGHT   ///// */
/* /////   -----------   ///// */

#myPanelRight {
	border:0px;
	background-color:#fff;
}

/* /////   ----------   ///// */
/* /////   UI CONTENT   ///// */
/* /////   ----------   ///// */

.ui-content {padding: 0.6em;}

/* /////   -------   ///// */
/* /////   LIST SA   ///// */
/* /////   -------   ///// */

.ui-content .ui-listview-inset, .ui-panel-inner>.ui-listview-inset {
    margin: 0em 0em; /*MOD da 1em a 0em*/
}

#list-sa {
}

#list-sa li {
	margin-bottom:0.8em; /*MOD Metti 0.5poi*/
	box-shadow: 0px 1px 1px rgba(0,0,0,0.2);
	padding: 0.5em;
	border:0;
}

#list-sa.ui-shadow {
    -webkit-box-shadow: 0 0px 0px rgba(0,0,0,0);
    -moz-box-shadow: 0 0px 0px rgba(0,0,0,0);
    box-shadow: 0 0px 0px rgba(0,0,0,0);
}

#list-sa.ui-listview>.ui-li-divider {
    padding: 1em 0em;
    font-size: 1em;
    font-weight: 700;
    cursor: default;
    outline: 0;
	border:0;
	margin:0;
	-webkit-box-shadow: 0 0px 0px rgba(0,0,0,0);
    -moz-box-shadow: 0 0px 0px rgba(0,0,0,0);
    box-shadow: 0 0px 0px rgba(0,0,0,0);
}

/* ---------------- */
/* LIST SA / HEADER */
/* ---------------- */

#list-sa-header {
	margin:-0.5em -0.5em 0 -0.5em;
	padding:0.5em;
	max-height:32px;
	background-color:#425f69; /*#32404e*/
}
#btn-group {
	display:block;
	float:right;
	margin-left:0.5em;
}
/* HEADER > Titolo */
#list-sa-header h2 {
	display:block;
	margin:0 0 0 2.5em;
	font-size:16px;
	line-height:32px;
	font-weight:500;
	text-shadow:none;
	color:#fff;
	text-transform:uppercase;
	
	text-overflow:ellipsis;
	white-space:nowrap;
	overflow: hidden;
}
/* HEADER > Button Skin */
.btn-skin-header.ui-btn {
	width:30px;
	height:30px;
	padding:0;
	margin:0;
	border-radius:1px;
	
	background-color: rgba(0,0,0,0);
	border-color:rgba(0,0,0,0);
	display:inline-block;
	
	-webkit-transition: all .2s ease-in-out 0s;
    -o-transition: all .2s ease-in-out 0s;
    transition: all .2s ease-in-out 0s;
}
.btn-skin-header.ui-btn i {
	width:30px;
	line-height:30px;
	text-align:center;
	font-size:18px;
	font-style:normal;
	color:#eee;
	text-shadow:none;
}
/* HEADER > Flipswitch 2 */
.ui-flipswitch.fs2 {
	-webkit-border-radius: 40px;
	border-radius: 40px;
	/*float:right;*/
	margin:0 0 0 0.4em;
	width: 42px;
	height:26px;
	background-color:#1c2b36;
	border-color:#eee;
	border:0px solid;
}
.ui-flipswitch.fs2.ui-flipswitch-active {
	padding-left: 16px;
  	width: 26px;
	background-color:#0C0;
	border-color:#eee;
}
.ui-flipswitch.fs2 .ui-btn.ui-flipswitch-on {
	background-color:#fff;
	border-color:#fff;
	margin:2px;
	width:22px;
	height:22px;
}

/* ------------- */
/* LIST SA / ROW */
/* ------------- */

#list-sa-row {
	margin:0;
	padding:0.5em 0 0;
	max-height:32px;
	/*border-bottom:1px solid #ccc;*/
}
#btn-group-row {
	display:block;
	float:right;
	margin-left:0.5em;
}

/* ROW > Titolo */
#list-sa-row h2 {
	display:block;
	margin:0 0 0 2.5em;
	font-size:16px;
	line-height:32px;
	font-weight:400;
	text-shadow:none;
	text-overflow:ellipsis;
	white-space:nowrap;
	overflow: hidden;
}
/* ROW > Button Skin */
.btn-skin-row.ui-btn {
	width:30px;
	height:30px;
	padding:0em;
	margin:0;
	border-radius:1px;
	
	background-color: rgba(0,0,0,0);
	border-color:rgba(0,0,0,0);
	display:inline-block;
	
	-webkit-transition: all .2s ease-in-out 0s;
    -o-transition: all .2s ease-in-out 0s;
    transition: all .2s ease-in-out 0s;
}
.btn-skin-row.ui-btn i {
	width:30px;
	line-height:30px;
	text-align:center;
	font-size:18px;
	font-style:normal;
	color:#999;
	text-shadow:none;
}
/* LIVE > Button Skin */
.btn-skin-live.ui-btn, .btn-skin-live.ui-btn:visited {
	width:30px;
	height:30px;
	padding:0em;
	margin:0;
	border-radius:1px;
	
	background-color: #09C;
	border-color:#09C;
	display:inline-block;
	float:left;
	
	-webkit-transition: all .2s ease-in-out 0s;
    -o-transition: all .2s ease-in-out 0s;
    transition: all .2s ease-in-out 0s;
}
.btn-skin-live.ui-btn i {
	width:30px;
	line-height:30px;
	text-align:center;
	font-size:14px;
	font-style:normal;
	color:#fff;
	text-shadow:none;
	margin:1px 0 0 1px;
}
/* LIVE > Button Skin2 */
.btn-skin-live2.ui-btn, .btn-skin-live2.ui-btn:visited {
	width:30px;
	height:30px;
	padding:0em;
	margin:0;
	border-radius:1px;
	
	background-color: #09C;
	border-color:#09C;
	display:inline-block;
	
	-webkit-transition: all .2s ease-in-out 0s;
    -o-transition: all .2s ease-in-out 0s;
    transition: all .2s ease-in-out 0s;
}
.btn-skin-live2.ui-btn i {
	width:30px;
	line-height:30px;
	text-align:center;
	font-size:14px;
	font-style:normal;
	color:#fff;
	text-shadow:none;
	margin:1px 0 0 1px;
}
/* SENSOR > Sensor Type Skin */
.sensor-1 {
	width:32px;
	height:32px;
	padding:0em;
	margin:0;
	border-radius:40px;
	border:1px solid #09C;
	
	background-color: #fff;
	display:inline-block;
	float:left;
	box-sizing: border-box;
	
	-webkit-transition: all .2s ease-in-out 0s;
    -o-transition: all .2s ease-in-out 0s;
    transition: all .2s ease-in-out 0s;
}
.sensor-1 i {
	width:30px;
	line-height:32px;
	text-align:center;
	font-size:14px;
	font-style:normal;
	color:#09C;
	text-shadow:none;
	margin:0;
}
/* ROW > Flipswitch 3 */

.ui-flipswitch.fs3 {
	-webkit-border-radius: 40px;
	border-radius: 40px;
	/*float:right;*/
	margin:0 0 0 0.4em;
	width: 42px;
	height:26px;
	background-color:#dde6e9;
	border-color:#eee;
	border:0px solid;
}
.ui-flipswitch.fs3.ui-flipswitch-active {
	padding-left: 16px;
  	width: 26px;
	background-color:#0C0;
	border-color:#eee;
}
.ui-flipswitch.fs3 .ui-btn.ui-flipswitch-on {
	background-color:#fff;
	border-color:#fff;
	margin:2px;
	width:22px;
	height:22px;
}


/* -------------- */
/* COLORS PALETTE */
/* -------------- */

.chiaro-chiaro {#f0f3f4;}
.medio {#dde6e9;}
.scuro-medio {#1c2b36;}
.scuro-scuro {#131e26;} /* panel ok */

.blu-scuro-panel {#171c20;} /* OLD */
 


/* FLIPSWITCH STATO "MIDDLE" */

/* APP HEADER */
.ui-flipswitch.fs1-0 {
	-webkit-border-radius: 40px;
	border-radius: 40px;
	margin: 0 0.6em 0 0;
	width: 34px;
	height:26px;
	background-color:#FC0;
	border-color:#eee;
	border:0px solid;
	padding-left: 8px;
}
.ui-flipswitch.fs1-0.ui-flipswitch-active {
	padding-left: 16px;
  	width: 26px;
	background-color:#0C0;
	border-color:#eee;
}
.ui-flipswitch.fs1-0 .ui-btn.ui-flipswitch-on {
	background-color:#fff;
	border-color:#fff;
	margin:2px;
	width:22px;
	height:22px;
}

/* ROW HEADER */
.ui-flipswitch.fs2-0 {
	-webkit-border-radius: 40px;
	border-radius: 40px;
	margin:0 0 0 0.4em;
	width: 34px;
	height:26px;
	background-color:#FC0;
	border-color:#eee;
	border:0px solid;
	padding-left: 8px;
}
.ui-flipswitch.fs2-0.ui-flipswitch-active {
	border-color:#eee;
	padding-left: 16px;
  	width: 26px;
	background-color:#0C0;
}
.ui-flipswitch.fs2-0 .ui-btn.ui-flipswitch-on {
	background-color:#fff;
	border-color:#fff;
	margin:2px;
	width:22px;
	height:22px;
}
/* ROW */
.ui-flipswitch.fs3-0 {
	-webkit-border-radius: 40px;
	border-radius: 40px;
	margin:0 0 0 0.4em;
	width: 34px;
	height:26px;
	background-color:#dde6e9;
	border-color:#eee;
	border:0px solid;
	padding-left: 8px;
}
.ui-flipswitch.fs3-0.ui-flipswitch-active {
	padding-left: 16px;
  	width: 26px;
	background-color:#0C0;
	border-color:#eee;
}
.ui-flipswitch.fs3-0 .ui-btn.ui-flipswitch-on {
	background-color:#fff;
	border-color:#fff;
	margin:2px;
	width:22px;
	height:22px;
}



/* FLIPSWITCH FLAT" */
.ui-flipswitch.fsflat {
	-webkit-border-radius: 40px;
	border-radius: 40px;
	margin: 0 0.6em 0 0;
	width: 42px;
	height:26px;
	background-color: rgba(0,0,0,0);
	border:1px solid #FFF;
}
.ui-flipswitch.fsflat.ui-flipswitch-active {
	padding-left: 16px;
  	width: 26px;
	background-color: #0C0;
	border:1px solid #FFF;
}
.ui-flipswitch.fsflat .ui-btn.ui-flipswitch-on {
	background-color:#fff;
	border-color:#fff;
	margin:2px;
	width:22px;
	height:22px;
}
.ui-flipswitch.fsflat .ui-btn.ui-flipswitch-off {
	background-color:#fff;
	border-color:#fff;
	margin:2px;
	width:22px;
	height:22px;
}
.ui-shadow-inset.fsflat {
	-webkit-box-shadow: inset 0px 0px 0px rgba(0,0,0,0);
	-moz-box-shadow: inset 0px 0px 0px rgba(0,0,0,0);
	box-shadow: inset 0px 0px 0px rgba(0,0,0,0);
}


@font-face {
    font-family: 'icomoon';
    src:    url('fonts/icomoon.eot?ng0ahx73');
    src:    url('fonts/icomoon.eot?ng0ahx73#iefix') format('embedded-opentype'),
        url('fonts/icomoon.ttf?ng0ahx73') format('truetype'),
        url('fonts/icomoon.woff?ng0ahx73') format('woff'),
        url('fonts/icomoon.svg?ng0ahx23#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="iconcst-"], [class*=" iconcst-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
}

.iconcst-fa-envelope-o-slash:before {
    content: "\e900";
}


.ui-btnnc {
	color: #333333;
	text-shadow: 0 0 0;

	box-shadow: none !important;
	font-weight: bold;
	border-width: 0px;
	border-style: solid;
	font-size: 16px;
	line-height: 1.3em;
	font-family: 'Roboto',sans-serif;
	position: relative;
	text-align: center;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	
	width:30px;
	height:30px;
	padding:0em;
	margin:0;
	border-radius:1px;
	
	background-color: rgba(0,0,0,0);
	border-color:rgba(0,0,0,0);
	display:inline-block;
	
	-webkit-transition: all .2s ease-in-out 0s;
    -o-transition: all .2s ease-in-out 0s;
    transition: all .2s ease-in-out 0s;
}

.ui-btnnc i {
	width:30px;
	line-height:30px;
	text-align:center;
	font-size:18px;
	font-style:normal;
	color:#999;
	text-shadow:none;
}

.ui-btnbig{
	width: auto;
	height: 50px;
	padding: 0 0.5em;
	margin: 0 2em 0 0.8em;
	border-radius: 1px;
	background-color: #0C0;
	border-color: #0C0;
	display: inline-block;
	font-size: 14px;
	text-shadow: 0;
	color: #fff;
	line-height: 50px;
	-webkit-transition: all .2s ease-in-out 0s;
	-o-transition: all .2s ease-in-out 0s;
	transition: all .2s ease-in-out 0s;
}

.ui-loader-background {
    width:100%;
    height:100%;
    top:0;
    margin: 0;
    background: rgba(0, 0, 0, 0.3);
    display:none;
    position: fixed;
    z-index:100;
}

.ui-loading .ui-loader-background {
    display:block;
}

.clred {
	opacity: .5!important;
	color: #fff!important;
	background-color: red!important;
}

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto;  cursor: pointer;}
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { display: block; border-bottom: 1px solid #000; }

