﻿html {
	height:100%;
}

body {
    /*padding-top: 85px;*/
    /*padding-bottom: 70px;*/
    font-size: 12px;
	height:100%;
}

@media print {
    .hidden-print {
        display: none;
    }
	.max-width-for-print{
		max-width:80%;
	}
}


/*color*/
.red {
    color: #ed1c24;
}
.green {
    color:green;
}
.black {
    color: black;
}
.yellow {
    color: yellow;
}

.grey {
    color: grey;
}

.updateProgress {
	background-color: rgba(42, 38, 32, 0.7);
    height: 100%;
    left: 0;
    opacity: 0.7;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9999;
}

/* navbar menu */
.navbar-xs { min-height:22px; border-radius:0} 
.navbar-xs .navbar-brand{ padding: 2px 8px;font-size: 14px;line-height: 14px; } 
.navbar-xs .navbar-nav > li > a { border-right:1px solid #ddd; padding-top: 2px; padding-bottom: 2px; line-height: 16px }

.navbar-menu .navbar { 
	min-height: 0px;
	top:-5px;
	border-radius: 0 0 5px 5px;
	/*padding-left: 49px;
    padding-right: 36px;*/

}
.navbar-menu .navbar-nav > li > a { padding-top: 2px; padding-bottom: 2px;}
.navbar-menu .navbar-nav > .active > a .fa-stack-1x  { color: black;}
.navbar-menu .navbar-nav a:hover .fa-stack-1x  { color: red;}
.navbar-menu .navbar-nav .fa-stack-1x  { color: black;}
.navbar-menu .navbar-nav .more-menu  a:hover .fa  { color: red;}


.navbar-menu .navbar-fixed-top, .navbar-fixed-bottom {
    z-index: 1029;
}


.text-center th{
    text-align:center;
}

/* vspace */

.vspace50px
{
    height : 50px;
}

.vspace20px
{
    height : 20px;
}

.vspace30px
{
    height : 30px;
}

.vspace40px
{
    height : 40px;
}

.vspace10px
{
    height : 10px;
}
.vspace5px
{
    height : 5px;
}


.vspace100px
{
    height : 100px;
}


.vspace150px
{
    height : 150px;
}

.font14px
{
    font-size: 14px;
}

/* modal */
.ModalPopupBackGround
{
    background-color: #CCCCCC;
    opacity: 0.7;
}

/* home grid */
.alarmCell
{
    width: 55px;
}
.inCell
{
    width:55px;
}
.outCell
{
    width:55px;
}

/* left menu */
.nav-sidebar-left-menu { 
    width: 100%;
    padding: 8px 0; 
    border-right: 1px solid #ddd;
}
.nav-sidebar-left-menu a {
    color: #333;
    -webkit-transition: all 0.08s linear;
    -moz-transition: all 0.08s linear;
    -o-transition: all 0.08s linear;
    transition: all 0.08s linear;
    -webkit-border-radius: 4px 0 0 4px; 
    -moz-border-radius: 4px 0 0 4px; 
    border-radius: 4px 0 0 4px; 
}
.nav-sidebar-left-menu .active a { 
    cursor: default;
    /*background-color: #428bca;*/ 
	 background-color: grey; 
    color: #fff; 
    text-shadow: 1px 1px 1px #666; 
}
.nav-sidebar-left-menu .active a:hover {
    background-color: grey;   
}
.nav-sidebar-left-menu .text-overflow a,
.nav-sidebar-left-menu .text-overflow .media-body {
    white-space: nowrap;
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis; 
}

.nav-sidebar-left-menu > .nav > li.disabled > a:hover,
.nav-sidebar-left-menu > .nav > li.disabled > a:focus {
	cursor:default;
	color:#999;
}

.nav-sidebar-left-menu > .nav > li > a.menuItem {

}

.nav-sidebar-left-menu > .nav > li > a.titleItem {
	 padding-left: 0;
}

/* Right-aligned sidebar */
.nav-sidebar-left-menu.pull-right { 
    border-right: 0; 
    border-left: 1px solid #ddd; 
}
.nav-sidebar-left-menu.pull-right a {
    -webkit-border-radius: 0 4px 4px 0; 
    -moz-border-radius: 0 4px 4px 0; 
    border-radius: 0 4px 4px 0; 
}
/* left menu fine */



.table-bordered-black-border {
     border: 1px solid #000;
}

.table-bordered-black-border > thead > tr > th, .table-bordered-black-border > tbody > tr > th, .table-bordered-black-border > tfoot > tr > th, .table-bordered-black-border > thead > tr > td, .table-bordered-black-border > tbody > tr > td, .table-bordered-black-border > tfoot > tr > td {
    border: 1px solid #000;
}

.AlarmRow{
	/*background-color: #ffff66;
    color: black;*/
	border-color: yellow;
    border-style: solid;
}

.table-hover-home > tbody > tr:hover > td,
.table-hover-home > tbody > tr:hover > th {
  background-color: #f5f5f5;
  color: black;
}
.table-hover-home > tbody > tr:hover.AlarmRow > td,
.table-hover-home > tbody > tr:hover.AlarmRow > th {
  /*background-color: #c90f0f;*/
  background-color: #ffff00;
  color: black;
}

/*.AlarmRow tr:nth-child(odd) > td,
.AlarmRow tr:nth-child(odd) > th {
  background-color: red;
}

.AlarmRow  tr:nth-child(2n+1) > td, 
.AlarmRow  tr:nth-child(2n+1) > th {
    background-color: red;
}*/

/*tabella live*/
.TableLiveMeasure{
    width: 200px;
    background-color: #ccee66;
}

.TableLiveL1{
    width: 100px;
    background-color: #ccee66;
}

.TableLiveL2 {
    width: 100px;
    background-color: #ccee66;
}

.TableLiveL3 {
    width: 100px;
    background-color: #ccee66;
}

.TableLiveTOT {
    width: 100px;
    background-color: #ccee66;
}


/*tabella live fine*/


.AddictionalHeaderRowCell{
    background-color: #ccee66;
    font-weight: bold;
}


.table > thead > tr > td.AddictionalHeaderRowCellUL, .table > tbody > tr > td.AddictionalHeaderRowCellUL{
    border-top: none;
    border-left:none;
}


.AddictionalHeaderRowCellUL{
    
    border-top: none;
    border-left:none;
}

/*tabella medie*/
.TableMeanMeasure{
    width: 200px;
    background-color: #ccee66;
}

.TableMeanL1{
    width: 100px;
    background-color: #ccee66;
}

.TableMeanL2 {
    width: 100px;
    background-color: #ccee66;
}

.TableMeanL3 {
    width: 100px;
    background-color: #ccee66;

}

.TableMeanTOT {
    width: 100px;
    background-color: #ccee66;
}


/*tabella medie fine*/

/*tabella contatori*/
.TableCounterMeasure{
    width: 150px;
    background-color: #ccee66;
}

.TableCounterL1{
    width: 100px;
    background-color: #ccee66;
}

.TableCounterL2 {
    width: 100px;
    background-color: #ccee66;
}

.TableCounterL3 {
    width: 100px;
    background-color: #ccee66;

}

.TableCounterTOT {
    width: 100px;
    background-color: #ccee66;
}

.TableCounterUptime{

}

/*tabella contatori fine*/



/* inputs */

.DateTxtbox {
    width:100px !important;
}
.TimeTxtbox {
    width:100px !important;
}


/* inputs end */


/* bs modifications */

a {
	color:#cb241c;
}

a:hover {
	color: #ac2f29;
}




.alert {
  padding: 8px 35px 8px 14px;
  background-color: #ffe563;
  border: 1px solid #fbeed5;
}

.alert-success {
  background-color: #71c44e;
  border-color: #59a03b;
}
.alert-success, .alert-success .alert-heading {
  color: #032103;
}
.alert-danger, .alert-error {
  background-color: #e02f2f;
  border-color: #eed3d7;
}
.alert-danger,
.alert-error,
.alert-danger .alert-heading,
.alert-error .alert-heading {
  color: #ffffff;
}
.alert-info {
  background-color: #72c4ea;
  border-color: #bce8f1;
}
.alert-info, .alert-info .alert-heading {
  color: #031b26;
}

.btn-primary {
  background-color:grey;
  border-color: #ddd;
}

.btn-primary:hover {
  background-color:#616161;
  border-color: #ddd;
}

.btn-primary:disabled {
  background-color:#ccc;
  border-color: #ccc;
}


.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-color: grey;
    color: #fff;
    outline: 0 none;
    text-decoration: none;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  padding: 1px 0 0 5px;
}



.form-control {
    height: 24px;
    padding: initial;
}

select.form-control {
    padding: 0px 0px 0px 0px;
}


.form-group {
    margin-bottom: 5px;
}

.form-horizontal .control-label, .form-horizontal .radio, .form-horizontal .checkbox, .form-horizontal .radio-inline, .form-horizontal .checkbox-inline {
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 5px;
}

.input-group-addon {
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #555;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    padding: 0 6px;
    text-align: center;
}

.modal-footer {
    border-top: 1px solid #e5e5e5;
    margin-top: 15px;
    padding: 7px 20px 0;
    text-align: right;
}

.page-header {
    /*border-bottom: 1px solid #eee;*/
	border-bottom: medium none;
	margin: -5px 0 10px;
    padding-bottom: 0;
}


.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    background-color: #fff;
    border-color: #ddd;
    color: #999;
    cursor: default;
}

.pagination > .disabled > .text-muted {
    color: #3c3c3c;
}

.pagination > li > a, .pagination > li > span {
	color: #cb241c;
}

.pagination > li > a:hover, .pagination > li > span:hover {
	color: #ac2f29;
}

.pagination {
    border-radius: 4px;
    display: inline-block;
    margin: 3px 0 0;
    padding-left: 0;
}

.panel-body {
    padding: 5px;
}

.panel-info {
	border-color:#ddd;
}

.panel-info .panel-heading {
	background-color: #ccc;
	border-color:#ddd;
	color: #fff;
    font-weight: bold;
}

.popover {
    max-width: 500px;
}

.table > thead > tr > td.danger, .table > tbody > tr > td.danger, .table > tfoot > tr > td.danger, .table > thead > tr > th.danger, .table > tbody > tr > th.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > tbody > tr.danger > td, .table > tfoot > tr.danger > td, .table > thead > tr.danger > th, .table > tbody > tr.danger > th, .table > tfoot > tr.danger > th {
    background-color: #ff6969;
}
.table-hover > tbody > tr > td.danger:hover, .table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr.danger:hover > th {
    background-color: #e24c4c;
}



/* bs modifications */

/* font awesome modifications */
.fa-lg {
    font-size: 1.5em;
    line-height: 0.75em;
    vertical-align: -15%;
}
/* font awesome modifications */

/* device popover */

.dl-horizontal-device-popover dd {
    margin-left: 108px;
}

.dl-horizontal-device-popover dt {
    clear: left;
    float: left;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100px;
}

.cell-header{
    display: inline-block;
    vertical-align: middle;
    float: none;
    margin-right: 15px;
    margin-top: 5px;
}

.overview > dl.dl-horizontal > dd,
.overview > dl.dl-horizontal > dt{
	line-height: 1.829;
}


.CaretColumn {
	width: 20px;
}

.imgBlink {
    -webkit-animation: blink 1s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation: blink 1s;
    -moz-animation-iteration-count: infinite;
    -o-animation: blink 1s;
    -o-animation-iteration-count: infinite;
    animation: blink 1s;
    animation-iteration-count: infinite;
}

.RulePosition{
	font-size: 14px;
	font-weight: bold;

}

.btn-black {
    background-color: black;
    color: white;
}

.btn-black:hover{
    color: red;
}

.btn-black-off {
    background-color: black;
    color: grey;
}

.btn-black-off:hover{
    color: grey;
    cursor: default;
}

.page-header-row {
	/*background-color:#e02f2f;*/
	max-height:45px;
	border-radius:10px;
	color:white;
	margin-left: 14px;
    margin-right: 10px;
	background: #e82822; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iI2U4MjgyMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjYjIxMWEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #e82822 1%, #cb211a 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#e82822), color-stop(100%,#cb211a)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #e82822 1%,#cb211a 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #e82822 1%,#cb211a 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #e82822 1%,#cb211a 100%); /* IE10+ */
background: linear-gradient(to bottom,  #e82822 1%,#cb211a 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e82822', endColorstr='#cb211a',GradientType=0 ); /* IE6-8 */

}

h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small {
	color:white;
}

.btn-fw{
	width:100px;
}

.control-fw-100 {
	width:100px;
}

.btn-fw-70 {
    width: 70px;
}

.label-warning-alarm {
    background-color: yellow;
	color:black;
	border: 1px solid #f5af13;
}
.label-info-alarm {
    background-color: #5bc0de;
	border: 1px solid #1b5566;
}
.label-success-alarm {
    background-color: #5cb85c;
	border: 1px solid #1e471e;
}
.label-danger-alarm {
    background-color: #d9534f;
	border: 1px solid #a24f4d;
}

.navbar-fixed-bottom-old .navbar-nav > li > a {padding-top:5px !important; padding-bottom:5px !important;}
.navbar-fixed-bottom-old {min-height:23px !important}

 .modal-backdrop.in { z-index: auto;}