
html {
    position: relative;
    min-height: 100%;
    background: #eaeaea;

    width: 100%;
    min-width: 1080px;

}

body {
    /* Margin bottom by footer height */
    /*    margin-bottom:30px !important;*/
    background: #eaeaea;
    min-height: 100%;
    position: absolute;
    width: 100%;
    min-width: 1080px;

}

button {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

.noradius {
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

.align-right {
    text-align: right;
}

.modal_header {
    margin: -20px -20px 15px -20px;
    padding: 20px;
    border-bottom: 1px solid #ef8b00 !important;
    background: #ef8b00;
    color: white !important;
}

.modal_footer {
    margin: 15px -20px -20px -20px;
    padding: 20px;
    background: #eaeaea;
}

.uk-modal-dialog {
    border-left: 1px solid #ef8b00 !important;
    border-right: 1px solid #ef8b00 !important;
    border-top: 1px solid #ef8b00 !important;
    border-bottom: 1px solid #ef8b00 !important;
    background: #eaeaea;

}

.text_red {
    color: red;
}

.page-body {
    padding: 0px 20px;
    max-width: 1600px;
    margin-top: 190px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.page-header {
    z-index: 1009;
    margin: 0 auto;
    max-width: 1600px;
    position: fixed;
    top: 0;
    background: #eaeaea;
    right: 0;
    left: 0;
    padding-bottom: 5px;

}

.footer {
    z-index: 1009;
    padding-top: 5px;
    position: fixed;
    bottom: 0;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    /* Set the fixed height of the footer here */
    height: 30px;
    background-color: #ab0036;
    font-family: 'Raleway', sans-serif;
    font-size: 10pt;
    font-weight: 500;
    color: white;
    vertical-align: middle;
    right: 0;
    left: 0;
}

.buttons {
    padding: 20px;
    text-align: right;
}

.footer-shadow {
    -webkit-box-shadow: 0 -3px 3px #BBBBBB;
    -moz-box-shadow: 0 -3px 3px #BBBBBB;
    box-shadow: 0 -3px 3px #BBBBBB;
}

.menubar-shadow {
    box-shadow: 10px 0 10px #888888;
    -moz-box-shadow: 10px 0 10px #888888;
    -webkit-box-shadow: 10px 0 10px #888888;
}

.inner_shadow {
    -webkit-box-shadow: inset 0 0 5px 2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 5px 2px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 5px 2px rgba(0, 0, 0, 0.3);
}

#plantinfo {
    margin-top: 15px;
}

#plantinfo h2:before {
    content: "";
    display: block;
    height: 40%;
}

#plantinfo h2 {
    margin: 0px;
    text-align: left;
}

#plantinfo h2 a {
    color: #f7f7f7;
    font-size: 2.2em;
    display: block;
}

#plantinfo h5 {
    margin: 0;
}

.highcharts-credits {
    visibility: hidden;
}

.ui-jqgrid .ui-widget-header {
    background-color: #0071b7;
    color: white;
}

.datalist-polyfill {
    list-style: none;
    display: none;
    background: white;
    box-shadow: 0 2px 2px #999;
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

.datalist-polyfill:empty {
    display: none !important;
}

.datalist-polyfill > li {
    padding: 3px;
    font: 13px "Lucida Grande", Sans-Serif;
}

.datalist-polyfill__active {
    background: #3875d7;
    color: white;
}

.background-light {
    background: #eaeaea
}

.background-dark {
    background: #eaeaea
}

.background-grey {
    background: #b2b2b2
}

.background-blue {
    background: #37a0a8
}

.background-green {
    background: #ef8b00
}

.font-orange {
    color: #ab0036 !important;
}

.background-orange {
    background: #ab0036
}

.body_login {
    position: relative;
    margin-top: -40px;
    padding-top: 80px;
    min-height: 100%;
}

.div-header {
    background: #ef8b00;
    font-size: 12pt;
    color: white;
    padding: 5px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;

}

.div-grid-green {
    border: 1px solid #ef8b00;
    padding: 10px;
}

.div-label {
    color: #ab0036;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;

}

.uk-form input[type=text] {
    border: 1px solid #ab0036;
}

.image_input {
    border: 1px solid #ab0036;
    cursor:pointer;
    background-color:white;
}

.header-bar {
    background-color: #ab0036;
    color: white;
    padding-right: 15px;
    padding-left: 15px;
    text-align: right;
    height: 40px;
    padding-top: 5px;
}

.header-bar-landing {
    background-color: #ab0036;
    color: white;
    padding-right: 15px;
    padding-left: 15px;
    text-align: right;
    height: 80px;
    padding-top: 0px;
}

.header-bar-date {
    text-align: right;
}

.link-list {
    font-size: 10pt;
    color: #ab0036;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    display: inline-block;
    padding-top: 40px;
}

.link-list a {
    color: #ab0036;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
}

.search_bar {
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid #ab0036;
    margin-top: 30px;
    margin-right: 30px;
}

.input-search_bar {
    background-color: transparent;
    color: #ab0036;
    border: 0;
    display: inline-block;
    font-size: 12pt;
    width: 80%;
}

.input-search_bar::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 12pt;
    color: #ab0036;
}

.input-search_bar::-moz-placeholder { /* Firefox 19+ */
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 12pt;
    color: #ab0036;
}

.input-search_bar:-ms-input-placeholder { /* IE 10+ */
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 12pt;
    color: #ab0036;
}

.input-search_bar:-moz-placeholder { /* Firefox 18- */
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-size: 12pt;
    color: #ab0036;
}

.icon-search_bar {
    color: #ab0036;
    display: inline-block;
    float: right;
    width: 10%;
}

#link-list > div {
    margin: auto;
    width: fit-content;
}

.submenu-plantlist {
    margin-top: 5px;
    border: 2px solid #ef8b00;
    color: #606060;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
    min-width: 450px;
}

.submenu-plantlist-label {
    width: 50%;
    padding-left: 5px;
    text-align: left;
    float: left;
}

.submenu-plantlist-entry {
    width: 20%;
    padding-right: 20px;
    text-align: right;
}

.submenu-plantlist-entry a {
    color: #606060;
}

.header-title-bar {
    background: #ef8b00;
    color: white;
    padding-right: 30px;
    padding-left: 30px;
    padding-top: 10px;
    text-align: left;
    min-height: 40px;
    vertical-align: middle;
}

.date_title {
    font-size: 8pt;
}

#date_title {
    text-align: right;

}

.date_title_choose_day {
    font-size: 7pt;
    padding-right: 10pt;
}

.uk-datepicker {
    background-color: #ef8b00 !important;
    color: white;
}

.uk-datepicker-table a {

    color: white !important;
}

a.uk-datepicker-table-muted {
    color: #999999 !important;
}

.uk-datepicker-table th,
.uk-datepicker-table td {
    color: white !important;
    padding: 2px;
}

.uk-datepicker-nav a {
    color: white !important;
    text-decoration: none;
}

.uk-datepicker-heading {
    color: white !important;
    text-decoration: none;
}

.dropdown-menu-grid {
    background-color: #ab0036;
    color: white;
}

.menu-entry, .menu-entry > a {
    color: white !important;
    text-align: left;
}

.menu-entry > a:hover {
    background-color: #b86109 !important;

}

.table_header {
    text-align: center !important;
    background: transparent !important;
    color: #ab0036 !important;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: bold !important;
    font-size: inherit !important;
    border-right: 1px solid #ef8b00 !important;
    border-top: 1px solid #ef8b00 !important;
    border-bottom: 1px solid #ef8b00 !important;
}

.table_header_first_col {
    font-size: inherit !important;
    border-left: 1px solid #ef8b00 !important;
    border-right: 1px solid #ef8b00 !important;
    border-top: 1px solid #ef8b00 !important;
    border-bottom: 1px solid #ef8b00 !important;
}

.table_cell_number {

    text-align: right;
    border-right: 1px solid #ef8b00;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    border-bottom: 1px solid #ef8b00;

}

.table_cell_text {

    text-align: left;
    border-right: 1px solid #ef8b00;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    border-bottom: 1px solid #ef8b00;

}

.table_cell_general {

    text-align: center;
    border-right: 1px solid #ef8b00;
    border-bottom: 1px solid #ef8b00;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.table_cell_firstcol {
    border-left: 1px solid #ef8b00;
}

.header-title-bar-plant_menu {
    text-align: center;
    display: inline-block;

}

.uk-button:focus {
    box-shadow: 1px 1px 1px 1px #b86109 inset;

    color: white;
}

.suncloud-main-box {
    border: 1px solid #ef8b00;
    padding: 10px;
}

.sticky-plantlist-header {

    margin-top: -20px !important;
    padding-top: 20px !important;
    background-color: #eaeaea !important;
    position: fixed;
    width: 100%;
    max-width: 1600px;
    width: -moz-available; /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
    width: fill-available;
    padding-right: 0;
    margin-right: 2px;
    margin-left: 2px;
    right: 0;
}

@-moz-document url-prefix() {
    .sticky-plantlist-header {
        margin-right: auto !important;
    }
}

.plant_menu-entry, .plant_menu-entry > a {
    color: white !important;
    text-align: left;
    font-size: 10pt;

}

.plant_menu-entry > a:hover {
    background-color: transparent !important;

}

.plant-dropdown-menu-entry > a {
    font-size: 10pt;
    color: white !important;
    cursor: pointer;
}

.plant-dropdown-menu-entry > a:hover {
    font-size: 10pt;
    color: white !important;
    cursor: pointer;
    background-color: transparent !important;
    text-decoration-line: underline;

}

.current-plant-dropdown-menu-entry {
    text-decoration-line: underline;
}

.plant-dropdown-menu-grid {
    background-color: #ef8b00;
    color: white;
}

/* Per disattivare il sorting delle colonne nelle DataTables */

.no-sort::after {

    display: none !important;

}

.no-sort {

    pointer-events: none !important;
    cursor: default !important;
    background-image: none !important;

}

.overflow_truncate {
    white-space: nowrap;
    text-overflow: ellipsis;
}

.button-container-devicetype {
    margin-bottom: 10px !important;
    display: inline-block;
    background-color: #ab0036;
    color: white;
    max-width: 1600px;
    padding-left: 0;

}

@media screen and (max-width: 1250px) {
    /*The following CSS runs only for displays with a width (in pixels) of more than 800px*/
    .button-devicetype {
        width: 80px;
        height: 100%;
    }
}

@media screen and (min-width: 1250px) {
    /*The following CSS runs only for displays with a width (in pixels) of more than 800px*/
    .button-devicetype {
        width: 100px;
        height: 100%;
    }
}

.button-devicetype {
    background-color: #d38d4f !important;
}

.button-devicetype.inactive {
    background-color: #ab0036 !important;
}

.header-list-device {
    color: white;
    background-color: #ab0036;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 30px;
}

.container-devices {
    margin-left: 0px;

    overflow-x: hidden;
}

.header-tvcc-slot {
    color: white;
    background-color: #ab0036;
    line-height: 30px;
    text-align: center
}

.tvcc_header_buttons_container {
    width: 100%;
    margin-left: 0px;
    background-color: #ab0036;
    max-width: 1600px;
    color: white;
    padding-bottom: 10px
}

.statistics_header_buttons_container {
    width: 100%;
    margin-left: 0px;
    background-color: #ab0036;
    max-width: 1600px;
    color: white;
    padding-bottom: 10px;
    height: 43px;
}

.controls-history-alerts-bar {
    margin-top: 20px;
    width: 100%;
    margin-left: 0px;
    background-color: #ab0036;
    max-width: 1600px;
    color: white;
    padding-bottom: 5px;
    padding-top: 5px;
    line-height: 30px;
}

.uk-form input[type=radio]:checked:before {
    content: '';
    width: 8px;
    height: 8px;
    margin: 2px auto 0;
    border-radius: 50%;
    background: white;
    border-color: white;

}

.uk-form input[type=radio] {

    border-color: white;

}

.uk-form input[type=checkbox]:checked:before,
.uk-form input[type=checkbox]:indeterminate:before {
    content: "\f00c";
    font-family: FontAwesome;
    font-size: 12px;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    line-height: 12px;
    //color: white;
    //border-color: white;
}
.uk-form input[type=checkbox],
.uk-form input[type=checkbox] {
   background-color:white;
    cursor:pointer;
}

.gotoplant_button {
    cursor: pointer;
    min-height: 20px;
    height: auto;
    background: url('/img/icona_vai.png');
    background-size: auto 20px;
    background-position: left center;
    background-repeat: no-repeat;
}

.gotplant_button:active {
    background: url('/img/icona_vai_dark.png');

}

/* css per il plugin Fixed Header di DataTables */

table.fixedHeader-floating {
    position: fixed !important;
    background-color: #eaeaea
}

table.fixedHeader-floating.no-footer {
    border-bottom-width: 0
}

table.fixedHeader-locked {
    position: absolute !important;
    margin-top: 3px;
    background-color: #eaeaea
}

@media print {
    table.fixedHeader-floating {
        display: none
    }
}

#suncloud-content-wrapper {
    margin-top: 185px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

.suncloud-padding {
    padding-left: 20px;
    padding-right: 20px;
}

.hidden_col {
    display: none;
}

.border_col {
    border-left: 1px solid #ab0036 !important;
}