@font-face {
    font-family: CaviarDreams;
    src:local('CaviarDreams'),
        url('../fonts/caviar_dreams/CaviarDreams.ttf') format('truetype'),
        url('../fonts/caviar_dreams/caviardreams-webfont.woff2') format('woff2'),
        url('../fonts/caviar_dreams/caviardreams-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;
}

@font-face {
    font-family: CaviarDreams;
    src:local('CaviarDreams'),
        url(../fonts/caviar_dreams/CaviarDreams_Bold.ttf) format('truetype')
        url('caviardreams_bold-webfont.woff2') format('woff2'),
        url('caviardreams_bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

html, body {
    font-family: "Catamaran", sans-serif;
    background-color: #ffffff;
    font-weight: 400;
    font-size: 14px;
    height: 100%;
    color: #777;
    padding: 0;
    margin: 0;
}

* {
    -webkit-box-sizing: border-box;
    -mox-box-sizing: border-box;
    box-sizing: border-box;
    outline: none !important;
}

a{
    -webkit-transition: all 300ms ease-in-out !important;
    -moz-transition: all 300ms ease-in-out !important;
    transition: all 300ms ease-in-out !important;
}

h1,
h2{
    font-family: CaviarDreams;
    text-transform: uppercase;
    text-overflow: ellipsis;
    letter-spacing: 1px;
    overflow: hidden;
}

span.info{
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    color:#42d79d;
    -webkit-transition: all 300ms ease-in-out !important;
    -moz-transition: all 300ms ease-in-out !important;
    transition: all 300ms ease-in-out !important;
}

span.info:hover{color:#39bc89;}

div.info_content{
    margin-top: -20px;
    overflow: hidden;
    height: 0px;
    -webkit-transition: all 300ms ease-in-out !important;
    -moz-transition: all 300ms ease-in-out !important;
    transition: all 300ms ease-in-out !important;
}

div.info_content p{
    padding: 0 0 0 10px;
    color:#a0aabd;
}

div.info_content p strong{color:#888;}

ul{
    padding: 0px !important;
    margin: 0px !important;
    list-style-type: none;
}

.image_container{display: block;}

.image_container img{
    display: block;
    height: 100%;
}

.pull-right{float: right;}
.align-right{text-align: right;}
.margin-auto{margin:0 auto !important;}

div.dropdown a{
    text-decoration: none;
    line-height: 50px;
    font-size: 14px;
    padding: 0 15px;
    display: block;
    height: 50px;
    color: #888;
}

div.dropdown a b.caret{margin-top: -2px;}
div.dropdown a i.fa{margin-right: 8px;}

div.dropdown a:hover,
div.dropdown a.active,
div.dropdown a[aria-expanded="true"],
div.dropdown ul.dropdown-menu > li.active > a,
div.dropdown ul.dropdown-menu > li.active > a:hover,
div.dropdown ul.dropdown-menu > li.active > a:focus{
    background-color: #f5f5f5;
    color: #36af80;
}

div.dropdown .dropdown-menu {
    margin: -1px 0 0 0 !important;
    border-color: #f0f0f0;
    border-radius: 0px;
    box-shadow: none;
    min-width: auto;
}

div.dropdown .dropdown-menu li{border-bottom: 1px solid #f0f0f0;}
div.dropdown .dropdown-menu li:last-of-type{border-bottom: none;}

div.dropdown ul.dropdown-menu > li.logout > a:hover,
div.dropdown ul.dropdown-menu > li.logout > a:focus{color: #e81b4b;}

/*---------------------------------------------- header -----------------------------------------------*/

header{
    border-bottom: 1px solid #f0f0f0;
    background-color: #ffffff;
    position: fixed;
    z-index: 1000;
    height: 50px;
    width: 100%;
    right: 0;
    left: 0;
    top:0;
}

nav.sx_navigation,
nav.dx_navigation{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 50px;
}

nav.sx_navigation{float: left;}
nav.dx_navigation{float: right;}

header nav div.toggle_menu{
    border-left: 1px solid #f0f0f0;
    position: absolute;
    text-align: center;
    padding-top: 12px;
    cursor: pointer;
    font-size: 20px;
    color: #aaafb9;
    display: none;
    height: 50px;
    width: 50px;
    right: 0px;
    top: 0px;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

header nav div.toggle_menu:hover,
header nav div.toggle_menu.active{
    background-color: #1a1a1c;
    color: #fff;
}

header nav a.logo_container{
    margin: 0px 10px 0 10px;
    height: 30px;
    width: 160px;
}

/* header menu */
ul.header_menu{
    border-left: 1px solid #eee;
    height: 50px;
}

ul.header_menu li{float: left;}

ul.header_menu li a{
    border-right: 1px solid #eee;
    padding: 15px 20px 14px 20px;
    text-decoration: none;
    display: block;
    color: #888;
}

ul.header_menu li.active a,
ul.header_menu li a:hover{
    background-color: #f6f6f6;
    color: #91b53b;
}

/* impianto dropdown */
div.impianto_dropdown{
    border-right: 1px solid #eee;
    margin-right: 10px;
    width: 250px;
}

div.impianto_dropdown .dropdown-menu {
    width: 250px;
    left: 0px;
}

div.impianto_dropdown a.dropdown-toggle,
div.impianto_dropdown span.dropdown-toggle{
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

div.impianto_dropdown span.dropdown-toggle{
    display: block;
    padding: 15px;
}

div.impianto_name{
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
    overflow: hidden;
    padding: 15px;
}

/* storico/real-time */
header nav div.realTime_storico_container{
    margin: -20px 10px 0 15px;
    height: 50px;
    float: left;
}

header nav div.realTime_storico_container div.green_container{
    background-color: #42d79d;
    border-radius: 15px;
    margin-top: 20px;
    height: 30px;
}

header nav div.realTime_storico_container div.green_container a{
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 14px;
    line-height: 26px;
    font-weight: 500;
    font-size: 13px;
    padding: 0 15px;
    cursor: pointer;
    display: block;
    height: 26px;
    float: left;
    color: #fff;
}

header nav div.realTime_storico_container div.green_container a.active{
    background-color: #fff;
    color: #42d79d;
}

header nav div.realTime_storico_container div.green_container a:first-child{margin: 2px 5px 2px 2px;}
header nav div.realTime_storico_container div.green_container a:nth-child(2){margin: 2px 2px 2px 0;}

/* notification */
header nav a.notification_btn{
    text-decoration: none;
    position: relative;
    display: block;
    height: 50px;
    width: 50px;
}

header nav a.notification_btn span{
    text-align: center;
    margin-right: 10px;
    margin-top: 10px;
    font-size: 25px;
    display: block;
    color: #aaafb9;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

header nav a.notification_btn:hover span,
header nav a.notification_btn.active span{color: #42d79d;}

header nav a.notification_btn span.new_dot{
    background-color: #3ccd75;
    position: absolute;
    border-radius: 50%;
    display: none;
    height: 10px;
    width: 10px;
    right: 6px;
    top: -5px;
}

/* pop-ups notifications */
.growl-notification--alert::before {
    background: #91b53b;
}

/* notification box */
/* div.notification_box{
    box-shadow: 0px 0px 40px rgba(0,0,0,0.1);
    background-color: #fff;
    border:1px solid #ccc;
    position: absolute;
    border-radius: 5px;
    max-width: 400px;
    overflow: hidden;
    right: 10px;
    top: 55px;
}

div.notification_box div.data_container{
    max-height: 400px;
    overflow: scroll;
}

div.notification_box div.extra_container a{
    background-color: #eee;
    text-align: center;
    display: block;
    padding: 10px;
    color: #555;
}

div.notification_box div.no_notifications{padding: 15px;}

div.notification_box div.data_container div.notifica{
    border-bottom: 1px solid #e7e7e7;
    padding: 15px;
}

div.notification_box div.data_container div.notifica.warning{border-left: 4px solid #f79515;}
div.notification_box div.data_container div.notifica.info{border-left: 4px solid #7fa81a;}
div.notification_box div.data_container div.notifica:last-of-type{border-bottom: none;}

div.notification_box div.data_container div.notifica span.time{font-weight: 500;}

div.notification_box div.data_container div.notifica span.dismiss{
    margin-top: -5px;
    font-size: 20px;
    cursor: pointer;
    float: right;
    color: #ccc;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

div.notification_box div.data_container div.notifica span.dismiss:hover{color: #888;}

div.notification_box div.data_container div.notifica span.text{
    display: block;
    margin-top: 5px;
} */

/* user item */
div.user_dropdown{
    border-left: 1px solid #eee;
    margin-right: 0px;
    width: 150px;
}

div.user_dropdown .dropdown-menu {
    width: 150px;
    right: 0px;
    left: auto;
}

div.user_dropdown .dropdown-toggle span{
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 105px;
    overflow: hidden;
    display: block;
    float: left;
}

div.user_dropdown .dropdown-toggle .caret{
    margin-top: 24px;
    float: right;
}

/* header div.language_btn_container {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 50px;
}

header nav div.language_btn_container a{
    color: #aaa;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

header nav div.language_btn_container a:hover,
header nav div.language_btn_container a.active {color: #42d79d;}

header nav div.language_btn_container span.divider{
    background-color: #ddd;
    margin: -2px 5px 0 5px;
    height: 20px;
    width: 1px;
} */

/*---------------------------------------------- menu -----------------------------------------------*/

div.menu{
    background-color: #1a1a1c;
    position: fixed;
    display: block;
    bottom: 0px;
    width: 85px;
    left: 0px;
    top: 50px;
}

div.menu > ul > li{ border-bottom:1px solid #2d3132; }

div.menu ul li a{
    border-left:3px solid #1a1a1c;
    justify-content: center;
    flex-direction: column;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 15px 5px;
    font-weight: 300;
    min-height: 70px;
    font-size: 13px;
    display: flex;
    width: 85px;
    color: #fff;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

div.menu > ul > li > a > img{
    margin: 0 auto 5px auto;
    width: 40px;
}

div.menu ul li a.active,
div.menu ul li a:hover{
    background-color: #2d3132;
    border-left:3px solid #3ccd75;
}

div.menu > ul > li > ul li a{
    padding: 10px 5px;
    min-height: 0px;
}

div.menu span.version{
    text-align: center;
    position: absolute;
    font-size: 12px;
    display: block;
    padding: 5px;
    width: 100%;
    bottom: 0px;
}

/*---------------------------------------------- content -----------------------------------------------*/

.no_wrap {
    background-color: #ffffff;
    padding: 50px 0 0 0;
}

div.wrap {
    background-color: #ffffff;
    margin: 0 0 0 85px;
    padding: 50px 0 0 0;
}

div.wrap > div.green_column {
    background: #91b53b; /* Old browsers */
    background: -moz-linear-gradient(top, #44d9a1 1%, #91b53b 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #44d9a1 1%,#91b53b 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #44d9a1 1%,#91b53b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    : progid:DXImageTransform.Microsoft.gradient( startColorstr='#44d9a1', endColorstr='#91b53b',GradientType=0 ); /* IE6-9 */
    overflow: hidden;
    position: fixed;
    width: 265px;
    bottom: 0px;
    left: 85px;
    top: 50px;
    display: flex;
    display: -webkit-flex; /* Safari */
    flex-direction: column;
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap; /* Safari 6.1+ */
    -webkit-transition: all 300ms ease-in-out !important;
    -moz-transition: all 300ms ease-in-out !important;
    transition: all 300ms ease-in-out !important;
}

div.wrap > div.container {
    position: absolute;
    padding: 0px;
    width: auto;
    left: 350px;
    right: 0px;
    -webkit-transition: all 300ms ease-in-out !important;
    -moz-transition: all 300ms ease-in-out !important;
    transition: all 300ms ease-in-out !important;
}

/*---------------------------------------------- side section collapsed  -----------------------------------------------*/

div.wrap.filter.collapsed div.green_column{width: 80px;}

div.wrap.filter div.green_column div{
    -webkit-transition: all 300ms ease-in-out !important;
    -moz-transition: all 300ms ease-in-out !important;
    transition: all 300ms ease-in-out !important;
}

div.wrap.filter div.green_column div.small,
div.wrap.filter.collapsed div.green_column div.big{display: none;}

div.wrap.filter.collapsed div.green_column div.small{display: block;}
div.wrap.filter.collapsed div.green_column div.side_sections.small{padding:0px;}

div.wrap.filter.collapsed div.green_column div.small span.item_filtro,
div.wrap.filter.collapsed div.green_column div.small div.item_filtro_custom{
    background-image: url('../images/calendar.png');
    background-position: center 15px;
    background-repeat: no-repeat;
    text-transform: lowercase;
    font-family: CaviarDreams;
    background-size: 30%;
    letter-spacing: 0px;
    border-radius: 0px;
    text-align: center;
    padding-top: 45px;
    font-size: 13px;
    border: none;
    height: 80px;
    margin: 0px;
    width: 80px;
    color: #fff;
}

div.wrap.filter.collapsed div.green_column div.small span.item_filtro.active,
div.wrap.filter.collapsed div.green_column div.small span.item_filtro:hover,
div.wrap.filter.collapsed div.green_column div.small div.item_filtro_custom.active,
div.wrap.filter.collapsed div.green_column div.small div.item_filtro_custom:hover{
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    margin: 0px;
}

div.wrap.filter.collapsed > div.container{left: 165px;}

/*---------------------------------------------- login & register -----------------------------------------------*/

div.generic_green_background{
    background: #91b53b;
    background: -moz-linear-gradient(top, #44d9a1 1%, #91b53b 100%);
    background: -webkit-linear-gradient(top, #44d9a1 1%,#91b53b 100%);
    background: linear-gradient(to bottom, #44d9a1 1%,#91b53b 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#44d9a1', endColorstr='#91b53b',GradientType=0 );
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: none;
    bottom: 0px;
    right: 0px;
    left: 0px;
    top: 50px;
}

section.login h1,
section.register h1,
section.request-password-reset h1,
section.reset-password h1{
    text-align: center;
    font-weight: bold;
    color: #fff;
}

form#login-form,
form#register-form,
form#request-password-reset-form,
form#reset-password-form{
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 3px;
    margin-left: 10px;
    max-width: 500px;
    padding: 20px;
    width: 600px;
}

form#login-form .form-group-btn,
form#register-form .form-group-btn,
form#request-password-reset-form .form-group-btn
form#reset-password-form .form-group-btn{margin-bottom: 0px;}

a.forgot_password{
    margin: -20px 5px 0 0;
    display: block;
    float: right;
    color: #44d9a1;
}

/*---------------------------------------------- error -----------------------------------------------*/

div.error_container{
    background: #fff;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: none;
    bottom: 0px;
    right: 0px;
    left: 0px;
    top: 50px;
}

section.error{
    border-bottom: none;
    text-align: center;
}

/*---------------------------------------------- green column -----------------------------------------------*/

div.side_sections{padding: 15px;}

div.side_sections.four_boxes,
div.side_sections.three_boxes_up,
div.side_sections.three_boxes_down,
div.side_sections.two_boxes,
div.side_sections.one_box{
    height: 25%;
    display: flex;
    display: -webkit-flex; /* Safari */
    flex-direction: column;
    justify-content: center;
    align-content: stretch;
}

div.side_sections.four_boxes,
div.side_sections.three_boxes_up,
div.side_sections.three_boxes_down{min-height: 185px;}

div.side_sections.two_boxes,
div.side_sections.one_box{min-height: 110px;}

div.green_section{
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#1a000000',GradientType=0 ); /* IE6-9 */
}

div.side_sections h2{
    padding: 0 0 10px 0;
    line-height: 20px;
    font-size: 13px;
    margin: 0px;
    color: #fff;
}

div.boxes_container{
    display: flex;
    display: -webkit-flex; /* Safari */
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    justify-content: center;
}

div.one_more_box div.box{margin-top: 15px;}

div.box{padding: 5px 10px;}

div.box h3.value{
    text-shadow: 1px 0px rgba(0,0,0, 0.2);
    text-align: center;
    padding: 5px 0 0 0;
    font-weight: 100;
    font-size: 25px;
    margin: 0px;
    color: #fff;
}

div.box span.name{
    text-shadow: 0px 1px rgba(0,0,0, 0.3);
    letter-spacing: 0.4px;
    text-align: center;
    font-weight: 200;
    font-size: 12px;
    display: block;
    padding: 0px;
    margin: 0px;
    color: #fff;
}

div.boxes_container.one_box div.box{width:100%;}

div.boxes_container.two_boxes div.box,
div.boxes_container.three_boxes div.box,
div.boxes_container.four_boxes div.box,
div.boxes_container.five_boxes div.box,
div.boxes_container.six_boxes div.box{width:50%;}

div.boxes_container.two_boxes div.box:first-child,
div.boxes_container.three_boxes div.box:first-child,
div.boxes_container.four_boxes div.box:first-child,
div.boxes_container.four_boxes div.box:nth-child(3),
div.boxes_container.five_boxes div.box:first-child,
div.boxes_container.five_boxes div.box:nth-child(3),
div.boxes_container.six_boxes div.box:first-child,
div.boxes_container.six_boxes div.box:nth-child(3),
div.boxes_container.six_boxes div.box:nth-child(5){border-right:2px solid rgba(255,255,255, 0.2)}

div.boxes_container.three_boxes div.box:first-child,
div.boxes_container.three_boxes div.box:nth-child(2),
div.boxes_container.four_boxes div.box:first-child,
div.boxes_container.four_boxes div.box:nth-child(2),
div.boxes_container.five_boxes div.box:first-child,
div.boxes_container.five_boxes div.box:nth-child(2),
div.boxes_container.five_boxes div.box:nth-child(3),
div.boxes_container.five_boxes div.box:nth-child(4),
div.boxes_container.six_boxes div.box:first-child,
div.boxes_container.six_boxes div.box:nth-child(2),
div.boxes_container.six_boxes div.box:nth-child(3),
div.boxes_container.six_boxes div.box:nth-child(4){border-bottom:2px solid rgba(255,255,255, 0.2)}

div.side_sections.one_box h2{padding: 0px;}

/* filtri */
span.item_filtro{
    border:1px solid transparent;
    font-family: CaviarDreams;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 30px;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
    padding: 5px 12px;
    font-size: 14px;
    color: #fff;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

span.item_filtro.active,
span.item_filtro:hover{
    border:1px solid #fff;
    margin: 0 0 10px 10px;
    cursor: pointer;
}

label.green_side.control-label {
    letter-spacing: 0.4px;
    margin: 0 0 5px 0;
    font-weight: 200;
    font-size: 13px;
    display: block;
    padding: 0px;
    color: #fff;
}

div.side_sections div.input-group.date input.form-control{
    border: 1px solid rgba(255,255,255, 0.6);
    background-color: #fff;
    box-shadow: none;
    color: #777;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

div.side_sections div.input-group.date  span.input-group-addon {
    background-color: rgba(255,255,255, 0.2);
    border: 1px solid rgba(255,255,255, 0.6);
    border-right: 0px;
    color: #fff;
}

div.collapse_btn{
    padding: 10px 10px 10px 20px;
    position: fixed;
    cursor: pointer;
    bottom: 0px;
    color: #fff;
    left: 85px;
    -webkit-transition: all 300ms ease-in-out !important;
    -moz-transition: all 300ms ease-in-out !important;
    transition: all 300ms ease-in-out !important;
}

div.open_side_menu.collapse_btn{
    text-align: center;
    padding: 10px;
    width: 80px;
}

div.collapse_btn:hover{color: #333;}

div#close_side_menu i{margin-right: 10px;}

/*---------------------------------------------- common  -----------------------------------------------*/

/* alerts */
.alert{margin: 15px 25px 0 25px !important;}

section{
    border-bottom:1px solid #e8ebf2;
    padding: 15px 25px;
}

section.no_border{border-bottom:none;}

section h1{
    margin: 25px 0 35px 0;
    font-size: 14px;
    color: #a0aabd;
    padding: 0px;
}

div.general_graph_container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

div.general_graph_container div.graph_container_align{width: 100%;}
div.general_graph_container div.graph_container_align.compact_graph{width: 48%;}

div.general_graph_container div.graph_container_align.graph_container_hystoric.compact_graph div.pull-right{
    margin: 0px 0px 20px 0px !important;
    float: none !important;
    height: 30px;
}

div.mt-60{margin-top: -60px;}
div.mt-40{margin-top: -40px;}
div.mt15{margin-top: 15px;}
div.mt60{margin-top: 60px;}
div.mb20{margin-bottom: 20px;}

div.multiple_btns > *{
    margin-right: 5px;
    float: left;
}

div.multiple_btns > *:last-child{margin-right: 0px;}

a.btn,
span.btn,
button.btn{
    background-color: #42d79d;
    text-decoration: none;
    border-radius: 15px;
    line-height: 30px;
    font-weight: 500;
    font-size: 13px;
    padding: 0 15px;
    cursor: pointer;
    display: block;
    height: 30px;
    color: #fff;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

a.btn i,
span.btn i,
button.btn i{margin-right: 5px;}

a.btn.small_btn i,
span.btn.small_btn i,
button.btn.small_btn i{margin-right: 0px;}

a.btn:hover,
span.btn:hover,
button.btn:hover{
    background-color: #39bc89;
    color: #fff;
}

button.white_btn{
    background-color: #fff;
    border: 1px solid #fff;
    margin-top: 15px;
    color: #42d79d;
}

button.white_btn:hover{
    background-color: rgba(255,255,255, 0.4);
    color: #fff;
}

span.btn{display: inline-block;}

span.secondary_btn,
a.navigation_btn{
    background-color: #eee;
    border: 1px solid #ddd;
    color: #999;
}

span.secondary_btn:hover,
a.navigation_btn:hover{
    background-color: #ddd;
    border: 1px solid #ccc;
    color: #777;
}

a.border_btn,
button.border_btn,
span.border_btn{
    border: 1px solid #39bc89;
    background-color: #fff;
    color: #39bc89;
}

a.border_btn:hover,
a.bordbuttonr_btn:hover,
span.border_btn:hover{
    background-color: #39bc89;
    border: 1px solid #39bc89;
    color: #fff;
}

span.delete_btn,
a.delete_btn{
    background-color: transparent;
    border: 1px solid #d45d74;
    color: #d45d74;
}

span.delete_btn:hover,
a.delete_btn:hover{
    background-color: #d62546;
    border: 1px solid #d62546;
    color: #fff;
}

span.export_btn,
a.reset_zoom_btn{
    display: none;
    float:right
}

div.no_data{
    margin-bottom: 10px;
    text-align: center;
}

span.graph_icon{
    background-image: url('../images/graph.png');
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    margin: 0 auto;
    opacity: 0.2;
    height: 40px;
    width: 40px;
}

span.enabler_disabler_btn{
    border: 1px solid #42d79d;
    background-color: #fff;
    text-decoration: none;
    line-height: 30px;
    font-weight: 500;
    font-size: 13px;
    padding: 0 15px;
    cursor: pointer;
    color: #39bc89;
    display: block;
    height: 30px;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

span.enabler_disabler_btn.active,
span.enabler_disabler_btn.active:hover{
    border: 1px solid #42d79d;
    background-color: #42d79d;
    cursor: not-allowed;
    color: #fff;
}

span.enabler_disabler_btn:hover{
    border: 1px solid #39bc89;
    background-color: #39bc89;
    color: #fff;
}

span.enabler_disabler_btn.sx{
    border-radius: 15px 0 0 15px;
    margin-right: 0px;
}

span.enabler_disabler_btn.center{
    border-radius: 0px;
    margin-right: -1px;
    margin-left: -1px;
}

span.enabler_disabler_btn.dx{
    border-radius: 0 15px 15px 0;
    margin-right: 0px;
}

/*---------------------------------------------- loading -----------------------------------------------*/

.spinner {
    margin: 0px auto 20px auto;
    text-align: center;
    width: 70px;
}

.spinner > div {
    width: 18px;
    height: 18px;
    background-color: rgba(66,215,157, 0.5);
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    } 40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

/*---------------------------------------------- consumi & deployment -----------------------------------------------*/

div.hideble_filters{
    -webkit-transition: all 300ms ease-in-out !important;
    -moz-transition: all 300ms ease-in-out !important;
    transition: all 300ms ease-in-out !important;
    position: fixed;
    z-index: 10;
    top: 60px;
    right: 0;
}

div.hideble_filters.closed{ right: -345px; }
div.hideble_filters > *{ float: left; }

div.lots_filter_tag{
    background: #91b53b; /* Old browsers */
    background: -moz-linear-gradient(top, #44d9a1 1%, #91b53b 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #44d9a1 1%,#91b53b 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #44d9a1 1%,#91b53b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    : progid:DXImageTransform.Microsoft.gradient( startColorstr='#44d9a1', endColorstr='#91b53b',GradientType=0 ); /* IE6-9 */
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -moz-border-radius-topleft: 10px;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    text-align: center;
    padding: 7px 0 0 0;
    margin-top: 15px;
    font-size: 25px;
    cursor: pointer;
    height: 50px;
    width: 45px;
    color: #fff;
}

div.lots_filter_container{
    box-shadow: 0px 0px 40px rgba(0,0,0,0.1);
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -moz-border-radius-topleft: 10px;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    width: 345px;
}

div.lots_filter_container div.single_filter{
    margin-bottom: 15px;
    height: 30px;
}

div.lots_filter_container div.single_filter:last-of-type{ margin-bottom: 0px; }

div.ce_boxes_container,
div.deployment_boxes_container,
div.user_boxes_container,
div.maintenance_boxes_container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}

div.ce_boxes_container div.container_box.flex_container_box.box_1{width: 24%;}
div.ce_boxes_container div.container_box.flex_container_box.box_2{width: 49%;}
div.ce_boxes_container div.container_box.flex_container_box.box_3{width: 74%;}
div.ce_boxes_container div.container_box.flex_container_box.box_4{width: 100%;}

div.deployment_boxes_container div.container_box:first-child{
    margin-right: 1%;
    width: 39%;
}

div.deployment_boxes_container div.container_box:nth-child(2){
    margin-right: 0px;
    width: 60%;
}

div.user_boxes_container div.container_box,
div.maintenance_boxes_container div.container_box{
    margin-right: 2%;
    width: 49%;
}

div.graph_boxes_container div.container_box{
    margin-right: 1%;
    width: 30%;
}

div.user_boxes_container div.container_box:nth-child(2),
div.maintenance_boxes_container div.container_box:nth-child(2){margin-right: 0;}

div.container_box{
    background-color: #fff;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

div.container_box span.box_title{
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 15px;
    color: #91b53b;
}

div.container_box span.box_title span{
    font-weight: normal;
    font-size: 13px;
    color: #999;
}

div.container_box span.bigger_number{
    text-align: center;
    font-size: 110px;
    color: #888;
}

div.container_box span.big_number{
    text-align: center;
    font-size: 30px;
    color: #888;
}

div.container_box span.medium_number{
    text-align: center;
    font-size: 20px;
    color: #666;
}

div.container_box span.bigger_number span.unit,
div.container_box span.big_number span.unit,
div.container_box span.medium_number span.unit{
    font-size: 14px;
    color: #888;
}

div.deployment_boxes_container div.container_box a,
div.user_boxes_container div.container_box a{
    font-weight: bold;
    color: #66CCCC;
}

pre.formatted_text{
    border: 1px solid #dadada;
    background-color: #f6f6f6;
    padding: 5px 10px;
    color: #de245c;
}

div.bigger_number_container{
    display: flex;
    flex-wrap: wrap;
}

div.bigger_number_container span.bigger_number{width: 100%;}

div.donut_data_container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

div.donut_data_container div#timing_gauge{width: 10%;}
div.donut_data_container div.table_container{width: 90%;}

div.donut_data_container div.chart{width: 20%;}

div.donut_data_container div.data_container{width: 80%;}

div.donut_data_container div.data_container > span{
    display: block;
    text-align: left;
}

div.donut_data_container div.data_container span.dot{
    display: inline-block;
    border-radius: 50%;
    margin-right: 10px;
    height: 12px;
    width: 12px;
}

/* div.trend_up{color: #d62546;}
div.trend_down{color: #31a97c;}
div.trend_equal{color: #2ec5f1;} */

div.trend_equal span{
    font-weight: bold;
    font-size: 22px;
}

table.time_table,
table.energyBox_table{width: 100%;}

table.time_table td{padding: 5px;}

/* table.time_table td:nth-child(1){
    padding-left: 15px;
    width: 25%;
}

table.time_table td:nth-child(2){width: 20%;}
table.time_table td:nth-child(3){width: 35%;}
 */

 table.time_table td:last-child{
     padding-right: 15px;
     text-align: right;
 }

table.time_table tr,
table.energyBox_table tr td{border-bottom: 1px solid #e6e6e6;}

table.time_table tr:last-of-type,
table.energyBox_table tr:last-of-type td{border-bottom: none;}

table.energyBox_table tr td{padding: 15px;}

/* lots table */
.table-striped > tbody > tr:nth-of-type(2n) .common_data{background-color: #f8f9fa;}
.table-striped > tbody > tr:nth-of-type(2n+1) .common_data{background-color: #edf1f7;}

.table-striped > thead > tr .common_data_last_cloumn,
.table-striped > tbody > tr .common_data_last_cloumn{border-right-color: #666;}

.table-striped > tbody > tr:nth-of-type(2n) .delta_data{background-color: #e8faf4;}
.table-striped > tbody > tr:nth-of-type(2n+1) .delta_data{background-color: #eaf4f0;}

span.icon_in_table{
    text-align: center;
    display: block;
}

span.icon_in_table i.fa-tint{font-size: 20px;}
span.icon_in_table.azure i.fa-tint{color: #66CCCC;}
span.icon_in_table.brown i.fa-tint{color: #885710;}
span.icon_in_table.yellow i{color: #fcba03;}

span.info_tooltip{
    position: absolute;
    margin-left: 5px;
    cursor: pointer;
}

div.info_tooltip_content{
    background-color: #fff;
    border:1px solid #ddd;
    border-radius: 5px;
    position: relative;
    display: none;
    padding: 10px;
    width: 300px;
    right: -20px;
    top: -20px;
}

div.info_tooltip_content p{margin: 0px;}
span.info_tooltip:hover div.info_tooltip_content{display: block;}

div.container_box form{ margin-top: 10px; }
div.container_box form div.form-group .btn{ float: right; }

/*---------------------------------------------- KPI statistiche -----------------------------------------------*/

div.statistiche_data_container{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

div.statistiche_data_container div#timing_gauge{width: 15%;}
div.statistiche_data_container div.table_container{width: 85%;}

/*---------------------------------------------- table -----------------------------------------------*/

div.grid-view table thead tr th,
div.grid-view table thead tr th a{
    letter-spacing: 0.6px;
    font-weight: normal;
    font-size: 14px;
    color: #7fa81a;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td{vertical-align: middle;}

/* export */
div.btn-toolbar ul.dropdown-menu {min-width: 125px;}

div.btn-toolbar ul.dropdown-menu > li > a{
    text-align: center;
    padding: 10px 0;
    color: #666;
}

/* summary */
div.grid-view div.summary{color: #666;}

/* pagination */
.pagination > li > a, .pagination > li > span {color: #42d79d;}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #42d79d;
    border-color: #42d79d;
    color: #fff;
}

table tr td a{
    font-weight: bold;
    color: #66CCCC;
}

/* sorting */
a.asc:after, a.desc:after {
    font-family: 'Glyphicons Halflings';
    display: inline-block;
    font-weight: normal;
    font-style: normal;
    position: relative;
    line-height: 1;
    float: right;
    top: 1px;
}

a.asc:after {content: "\e151";}
a.desc:after {content: "\e152";}
.sort-numerical a.asc:after {content: "\e153";}
.sort-numerical a.desc:after {content: "\e154";}
.sort-ordinal a.asc:after {content: "\e155";}
.sort-ordinal a.desc:after {content: "\e156";}

/* Data pages settings - deployment custom table */
.table.custom_table > thead > tr > th,
.table.custom_table > tbody > tr > th,
.table.custom_table > tfoot > tr > th,
.table.custom_table > thead > tr > td,
.table.custom_table > tbody > tr > td,
.table.custom_table > tfoot > tr > td{ border-top: 1px solid #ddd; }

table.table-striped.custom_table > tbody > tr{background-color: #fbfbfb;}
table.table-striped.custom_table > tbody > tr:nth-of-type(2n+1){background-color: #fff;}

table.custom_table tr td span.deployment_title{
    display: inline-block;
    font-weight: bold;
    margin: 5px;
    color: #666;
}

table.custom_table tr td a.btn{
    margin-right: 5px;
    float: right;
}

table.custom_table td.colspan_td{padding: 15px;}

div.deployment_table_boxes_container,
div.graph_boxes_container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

table.custom_table div.deployment_table_boxes_container div.container_box{padding: 0px;}

table.custom_table div.deployment_table_boxes_container > a.special_box{
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 15px 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #42d79d;
}

table.custom_table div.deployment_table_boxes_container > a.special_box:hover{
    background-color: #42d79d;
    text-decoration: none;
    color: #fff;
}

table.custom_table div.deployment_table_boxes_container div.container_box{
    margin-right: 1%;
    width: 24.2%;
}

table.custom_table div.deployment_table_boxes_container div.container_box:nth-child(4n){margin-right: 0px;}

table.custom_table div.deployment_table_boxes_container div.container_box > span{
    padding: 20px 15px 0 15px;
    height: 30px;
}

table.custom_table div.deployment_table_boxes_container div.container_box div.multiple_btns{
    margin: -15px 10px 0 0;
    z-index: 10;
}

div.graphs_links_container{margin-top: 15px;}

div.graphs_links_container a{
    border-top: 1px solid #eee;
    font-weight: normal;
    display: block;
    padding: 10px;
    color: #999;
}

div.graphs_links_container a:hover{
    background-color: #f9f9f9;
    text-decoration: none;
    color: #666;
}

div.graphs_links_container a span{margin: 0 0 0 5px;}

div.graphs_links_container span.graph_eye{float: right;}

div.graphs_links_container span.graph_warning{
    color: #ee9a16;
    float: right;
}

div.graphs_links_container a.special_box{
    font-weight: bold;
    color: #42d79d;
}

div.graphs_links_container a.special_box i{margin-right: 5px;}

div.graphs_links_container a.special_box:hover{
    background-color: #42d79d;
    color: #fff;
}

/* energyBox table */
div#energyBox_grid table th.action-column,
div#graphEntry_grid table th.action-column{width: 106px;}

/* maintenance table */
div#storicoImpianto_grid table th.action-column{width: 154px;}

/*---------------------------------------------- form -----------------------------------------------*/

form input,
form textarea{
    border-color: #ddd;
    box-shadow: none !important;
}

textarea,
textarea.form-control{
    resize: vertical;
    padding: 10px;
}

form input:focus,
form input:active,
form textarea:focus,
form textarea:active{ border-color: #91b53b !important; }

form.dashboard_form input{
    border-color: #ddd;
    box-shadow: none;
}

form.dashboard_form input:focus,
form.dashboard_form input:active{ border-color: #91b53b; }

form.dashboard_form .form-group-btn{margin-bottom: 55px;}

/* labels */
div.required label.control-label:after {
  content: " * ";
  color: #cb3434;
}

div[class$='-user_pages'] div[id$='-user_pages'] label,
div.field-graph-compact div#graph-compact label{
    font-weight: normal;
    margin-right: 20px;
}

div[class$='-user_pages'] div[id$='-user_pages'] label:hover,
div.field-graph-compact div#graph-compact label:hover{
    text-decoration: underline;
    cursor: pointer;
}

div[class$='-user_pages'] div[id$='-user_pages'] label.disabled:hover,
div.field-graph-compact div#graph-compact label.disabled:hover{
    text-decoration: none;
    cursor: no-drop;
}

label.checkbox_label{font-weight: normal;}

label.checkbox_label:hover{
    text-decoration: underline;
    cursor: pointer;
}

/* select 2 */
.select2-container--krajee .select2-selection--multiple .select2-selection__choice__remove{margin: -1px 0 0 3px;}
.select2-container--krajee .select2-selection--multiple .select2-selection__clear{margin-top: -4px;}

/* color radio buttons */
div#graphentry-color label{
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    width: 75px;
}

div.color_picker{
    display: inline-block;
    margin: 0 0 0 10px;
    border-radius: 3px;
    height: 20px;
    width: 50px;
}

/* icons for page */
div#page-icon label{
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    width: 85px;
}

div.icon_page_container{
    background-repeat: no-repeat;
    background-position: center;
    background-color: #1a1a1c;
    background-size: contain;
    border-radius: 3px;
    margin-left: 10px;
    height: 60px;
    width: 60px;
}

/* text formatter */
div#maintenance-note-container div.note-toolbar.panel-heading > div{margin-right: 15px;}
div#maintenance-note-container div.note-toolbar.panel-heading div.note-view{margin-right: 5px;}

div#maintenance-note-container button.btn{
    background-color: inherit;
    border-radius: inherit;
    font-size: inherit;
    border-color: #ddd;
    line-height: 25px;
    font-weight: auto;
    padding: 5px 15px;
    display: inherit;
    height: inherit;
    color: inherit;
}

div#maintenance-note-container button.btn i{margin-right: 0px;}

div#maintenance-note-container div.note-font > div:nth-child(2) button,
div#maintenance-note-container div.note-para > div:first-of-type button,
div#maintenance-note-container div.note-para > div:last-of-type button{padding: 5px 10px 5px 15px;}

div#maintenance-note-container div.note-font div.note-color-all button.dropdown-toggle{padding: 5px 15px 5px 5px;}

/* btn commentati */
div#maintenance-note-container div.note-style1,
div#maintenance-note-container div.note-font > div:first-of-type,
div#maintenance-note-container div.note-font > button,
div#maintenance-note-container div.note-insert,
div#maintenance-note-container div.note-para > button:first-child,
div#maintenance-note-container div.note-para > div:last-child,
div#maintenance-note-container div.note-view button.btn-codeview,
div#maintenance-note-container div.note-view > button:last-of-type{display: none;}

/* graph GraphEntry */
div.field-graphentry-show_setpoint{margin-top: 10px;}

/* timeline form */
div#visualization{margin: 20px 0;}

div#visualization .vis-item {
    background-color: rgba(127,168,26,0.3);
    border-color: #7fa81a;
}

div#visualization .vis-item.vis-selected {
    background-color: rgba(57,188,137,0.5);
    border-color: #39bc89;
}

div#visualization .vis-time-axis .vis-grid.vis-saturday,
div#visualization .vis-time-axis .vis-grid.vis-sunday{background: #eee;}

div#visualization .vis-time-axis .vis-major {background-color: #fff;}

div#visualization .vis-item .vis-delete {
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
    line-height: 22px;
    display: block;
    height: 20px;
    width: 24px;
    right: 0px;
    top: 20px;
}

form.timeline_form > *{display: block;}
form.timeline_form input[name="weekend"]{margin-right: 5px;}
form.timeline_form label.weekend_label{font-weight: normal;}
form.timeline_form div.hint-block{margin-top: 5px;}

/*---------------------------------------------- footer -----------------------------------------------*/

.footer {
    background-color: #ff0000;
    margin-left: 85px;
    height: 30px;
}
