﻿
.logo-title {
    font: 44px 'Arial', Georgia, serif;
}

.app-description {
    color: #222;
    font-size: 0.97em;
}


h3 {
    font-weight: normal;
    font-style: italic;
    font-size: x-small;
}

h2 {
    font-weight: normal !important;
    text-align: left;
    font-size: larger;
    margin-top: 50px;
}


#login-button {
    margin-top: 30px;
}

label.error {
    color: red;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.4;
    margin-top: 0.5em;
    width: 100%;
    float: none;
}

@media screen and (orientation: portrait) {
    label.error {
        margin-left: 0;
        display: block;
    }
}

@media screen and (orientation: landscape) {
    label.error {
        display: inline-block;
        margin-left: 22%;
    }
}

em {
    color: red;
    font-weight: bold;
    padding-right: .25em;
}

.ui-icon-logo {
    background-image: url('../img/logo.png');
    background-color: rgba(0, 0, 0, 0);
    width: 24px;
    height: 40px;
    border: none;
    margin-top: -13px !important; /* adjust vertical position (top value is set to 50%) */
}

.floatleft {
    float: left;
}

.floatright {
    float: right;
}

.forceinline { /* Prevent fieldcontain from doing a BLOCK thing */
    display: inline !important;
}

.bigtextwidth { /* limit width of input fields */
    width: 150px;
}

.textwidth { /* limit width of input fields */
    width: 50px;
}

.closespacing { /* controls spacing between elements */
    margin: 0px 3px 5px 0px;
}

.bigselect { /* centers select with big buttons */
    padding: 0px;
    margin: 2px 5px 0px 0px;
}

.biginputheight { /* matches text input height to big buttons */
    padding-top: 10px !important;
    padding-bottom: 12px !important;
}

.miniinputheight { /* matches text input height to minibuttons */
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.ui-body-c, .ui-overlay-c {
    /*background: #2f2f2f;*/
    background: #dadde2;
    color: #ffffff;
    text-shadow: none;
}

.ui-body-d, .ui-overlay-d {
    text-shadow: none;
}

/*.ui-input-text {
            background-color: rgba(38, 38, 38, 0.5);
        }

        .ui-shadow-inset, ui-corner-all, ui-btn-shadow, ui-body-c {
            background-color: #D5EEFF !important;*/


/*.ui-input-text {    // colore background input
    color: white;
    background-color: black;
}*/

.container {
    border: 0px solid red;
    width: 1860px;
    height: 700px;
    display: table;
    margin: 0 auto;
    overflow: scroll;
    overflow-x: visible;
}

.container2 {
    border: 0px solid red;
    width: 600px;
    height: 700px;
    display: table;
    margin: 0 auto;
    overflow: scroll;
    overflow-x: visible;
}

.containerDom {
    border: 0px solid red;
    width: 600px;
    height: 700px;
    display: table;
    margin: 0 auto;
    overflow: scroll;
    overflow-x: visible;
}

.overflow {
    border: 0px solid #000;
    height: 100px;
    width: auto;
    overflow-x: scroll;
    overflow-y: hidden;
}

    .overflow .container div {
        float: left;
        width: 40px;
        height: 40px;
        margin: 2px 18px 0px 0px;
    }


.overflow2 {
    height: 90px;
    width: auto;
}

    .overflow2 div {
        float: left;
        width: 50px;
        height: 50px;
        margin: 2px 18px 10px 0px;
        border: 3px solid #ffffff;
    }


.container-crono {
    border: 0px solid green;
    width: 680px;
    height: 100px;
    margin: 0 auto;
    overflow: scroll;
    overflow-x: visible;
}

.overflow-crono {
    border: 0px solid #000;
    height: auto;
    width: auto;
    overflow-x: scroll;
    overflow-y: hidden;
}

    .overflow-crono .container-crono div {
        float: left;
        width: 0.8em;
        height: 2em;
        float: left;
        margin: 3em 1px 0px 0px;
        border: 0px solid #000;
    }

span.crono-ore {
    width: 15px;
    float: left;
    margin-right: 40px;
    font-size: small;
    text-align: center;
    border: 0px solid #000;
}

span.crono-ore24 {
    width: 15px;
    float: left;
    margin-right: 0px;
    font-size: small;
    text-align: center;
    border: 0px solid #000;
}

span.crono-ore0 {
    width: 10px;
    float: left;
    margin-right: 30px;
    font-size: small;
    text-align: center;
    border: 0px solid #000;
}

div.box-crono {
    width: 0.8em;
    height: 2em;
    background-color: red; /* #108040;*/
    float: left;
    margin-left: 1px;
    margin-top: 2em;
    z-index: 1000;
}

    div.box-crono.on {
        background-color: #3B5998;
    }

    div.box-crono.divisore {
        width: 0.8em;
        height: 3em;
        background-color: #108040;
        float: left;
        margin-left: 1px;
        margin-top: 1em;
    }

.status-metro {
    display: inline-block;
    padding: 2px 5px;
    color: #fff;
}

    .status-metro.status-active {
        background: #43c83c;
    }

    .status-metro.status-disabled {
        background: #999999;
    }

    .status-metro.status-suspended {
        background: #fa3031;
    }

    .status-metro.status-config {
        background: green;
    }

    .status-metro.status-nonconfig {
        background: red;
    }

    .status-metro.status-inconfig {
        background: orange;
    }

.iconFloat {
    float: left;
    margin-top: 0px;
    margin-bottom: 0px;
    border-top-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    border-right-width: 0px;
    top: 12px;
    padding-bottom: 0px;
}

/*.ui-icon-plus {
    background: url("../css/images/icons-png/plus-black.png") no-repeat scroll 0px 0px transparent;
}*/

.ui-icon-minus {
    background: url("../css/images/icons-png/minus-black.png") no-repeat scroll 0px 0px transparent;
}

.ui-icon-right {
    background: url("../css/images/icons-png/carat-r-black.png") no-repeat scroll 0px 0px transparent;
}

ul.eventsList li.ui-li {
    padding-top: 20px;
    padding-bottom: 20px;
}
/*
.table-stroke thead th {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.table-stroke tbody th {
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

tr:nth-child(even) {
    background-color: #e2dfdf;
}


trx:nth-child(odd) {
    background-color: white;
}

table {
    width: 100% !important;
    font-size: 13px;
}

    table caption {
        text-align: left;
    }

    table thead th {
        text-align: left;
        border-bottom-width: 1px;
        border-top-width: 1px;
    }

    table th, td {
        text-align: left;
        padding: 6px;
    }

    table th {
        font-size: 15px;
    }
    */

.ui-table {
    border: 0;
    border-collapse: collapse;
    padding: 0;
    width: 100%;
}

    .ui-table th,
    .ui-table td {
        line-height: 1.5em;
        text-align: left;
        padding: .4em .5em;
        vertical-align: top;
    }

    .ui-table th {
        font-weight: bold;
    }

    .ui-table caption {
        text-align: left;
        margin-bottom: 1.4em;
        opacity: 50%;
    }

.table-stroke {
    /*border-bottom: 1px solid #e6e6e6; /* non-RGBA fallback  */
    /* border-bottom: 1px solid rgba(0, 0, 0, .05);*/
    border-spacing: 0;
    border-collapse: collapse;
    color: #000;
}



/* Add strokes between each row */
.table-strokex thead th {
    border-bottom: 1px solid #d6d6d6; /* non-RGBA fallback */
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.table-stroke tbody th,
.table-stroke tbody td {
    /*border-bottom: 1px solid #e6e6e6; /* non-RGBA fallback  */
    /* border-bottom: 1px solid rgba(0, 0, 0, .05);*/
    padding: 0px;
}
/* Add alternating row stripes */
.table-stripe tbody tr:nth-child(odd) td,
.table-stripe tbody tr:nth-child(odd) th {
    background-color: #eeeeee; /* non-RGBA fallback  */
    background-color: rgba(0,0,0,0.04);
}
/* Add stroke to the header and last item */
.table-stripe thead th,
.table-stripe tbody tr:last-child {
    border-bottom: 1px solid #d6d6d6; /* non-RGBA fallback  */
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

/* Add stroke to the header and last item */



.table-stripe2 {
    border: 2px solid #808080; /* non-RGBA fallback  */
    width: 100%;
    color: #000;
}

table-stripe caption {
    background-color: #7aa0c7;
}

table-stripe thead th {
    text-align: left;
    border-bottom-width: 1px;
    border-top-width: 1px;
}

table-stripe th, td {
    text-align: left;
    padding: 6px;
}

/*.ui-btn-down-b {
    background: #000000 !important;
}*/

.custom-li {
    padding: 0 !important;
    border-width: 0 !important;
}

.custom-bottom-li {
    border-top-width: 0 !important;
}

/*.custom-collapsible {
    margin: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-width: 0 !important;
}*/

/*    .custom-collapsible ul li {
        padding-left: 30px;
    }*/

.custom-collapsiblex ul {
    /*background: #dadde2 !important;*/
    text-shadow: none;
}

.ui-body-f {
    font-weight: bold;
    color: white;
    text-align: center;
    background-color: #555555;
}

ul li ul li {
    text-shadow: none !important;
/*    text-color: #000000 !important;*/
}

/*    ul li ul li a {
        color: #000000 !important;
    }*/


@media screen and (max-width:320px) {
    .ui-select .ui-btn-text {
        /* color: red !important;*/
        max-width: 180px;
    }
}


ul.mainMenu li a {
    margin-left: 30px;
}

.ui-body-e, .ui-overlay-e {
    background: #ffffff;
    color: #000000;
    text-shadow: none;
}

.modalWindow {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1500;
    background: black;
    opacity: 0.2;
}

.ui-loader {
    z-index: 1501;
}

body {
    padding-top: constant(safe-area-inset-top); /* iOS 11.0 */
    padding-top: env(safe-area-inset-top); /* iOS 11.2 */
}

#footer {
    margin-bottom: constant(safe-area-inset-bottom); /* iOS 11.0 */
    margin-bottom: env(safe-area-inset-bottom); /* iOS 11.2 */
}

#Menu_divider {
    padding-left: 15px;
    padding-top: 14px;
    padding-bottom: 2px;
    font-size: 14px;
    font-weight: 700;
    height: 24px;
}

.descconn {
    height: 12px;
    width: 34px;
    border: 0px solid #ffffff;
    border-radius: 2px;
    position: relative;
    padding: 1px;
    content: '';
    display: block;
    position: absolute;
    right: 95px;
    margin-top: 5px;
    font-size: 12px;
}

.tipoconn {
    height: 12px;
    width: 34px;
    border: 0px solid #ffffff;
    border-radius: 2px;
    position: relative;
    padding: 1px;
    content: '';
    display: block;
    position: absolute;
    right: 95px;
    margin-top: 20px;
    font-size: 12px;
}

.signal {
    height: 12px;
    width: 34px;
    border: 0px solid #ffffff;
    border-radius: 2px;
    position: relative;
    padding: 1px;
    content: '';
    display: block;
    position: absolute;
    right: 20px;
    margin-top: 3px;
    font-size: 12px;
}

.presa {
    height: 30px;
    width: 47px;
    border: 0px solid white;
}

.battery {
    position: relative;
    height: 12px;
    width: 34px;
    border: 1px solid #ffffff;
    border-radius: 2px;
    position: relative;
    padding: 1px;
    -webkit-transform: scale(0.5); /* WebKit */
    -moz-transform: scale(0.5); /* Mozilla */
    -o-transform: scale(0.5); /* Opera */
    -ms-transform: scale(0.5); /* Internet Explorer */
    transform: scale(0.5); /* CSS3 */
    content: '';
    display: block;
    position: absolute;
    right: 0px;
    margin-top: 6px;
}

    .battery:before {
        content: '';
        display: block;
        position: absolute;
        top: 50%;
        right: -7px;
        margin-top: -2px;
        width: 5px;
        height: 4px;
        background: #f0f0f0;
        border-radius: 50%;
    }

.level {
    width: 80%;
    height: 13px;
    background: #ffffff;
    border-radius: 1px;
}

#rete1, #rete2 {
    height: 25px;
    width: 34px;
    border: 0px solid #ffffff;
    position: relative;
    padding: 0px;
    /* -webkit-transform: scale(0.5); */
    content: '';
    display: block;
    position: absolute;
    right: 59px;
    margin-top: 7px;
}
.crete5 {
    background-image: url("../img/levels-5.png");
}
.crete4 {
    background-image: url("../img/levels-4.png");
}
.crete3 {
    background-image: url("../img/levels-3.png");
}
.crete2 {
    background-image: url("../img/levels-2.png");
}
.crete1 {
    background-image: url("../img/levels-1.png");
}
.crete0 {
    background-image: url("../img/levels-0.png");
}

.vendorColor {
    color: #2d9fd3;
    text-overflow: ellipsis;
    overflow: visible;
    white-space: normal;
    font-weight: bold;
    font-size: 13px;
}

/*.ui-loader-default {
    opacity: 1 !important;
}*/

.middleDiv {    
    position: absolute;
    width: 260px;
    height: 270px;
    left: 50%;
    top: 50%;
    margin-left: -130px; /* half of the width  */
    margin-top: -135px; /* half of the height */
}

 @media screen and (max-width:640px) and (orientation: landscape) {
            .middleDiv {
                margin-top: -120px;
            }
        }
.es-list {
    margin-left: -6px;
}
#presa1, #presa2 {
    height: 30px;
    width: 47px;
    border: 0px solid white;
}

.presaon {
    background-image: url("../img/presa.png");
}

.presaoff {
    background-image: url("../img/presa-no.png");
}

/* nella select multiple evidenzia le opzioni scelte*/
.ui-listview > li > a.ui-checkbox-on {
    background: #3388cc;
    color: #fff;
    text-shadow: none;
}

.ui-selectmenu-custom-list > li.ui-listview-item > a.ui-checkbox-on {
    background: #3388cc;
    color: #fff;
    text-shadow: none;
}

img.bg {
    /* Set rules to fill background */
    min-height: 100%;
    min-width: 1024px;
    /* Set up proportionate scaling */
    width: 100%;
    height: 100%;
    /* Set up positioning */
    position: fixed;
    top: 0;
    left: 0;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
    img.bg {
        left: 50%;
        margin-left: -512px; /* 50% */
    }
}

@media screen and (max-width: 640px) {
    img.bg {
        left: 50%;
        margin-left: -479px;
    }
}

#errmessage {
    display: none;
    border-radius: 10px;
    padding: 10px;
    background-color: #ff0000;
    color: #fff;
}

.duplica {
    background: transparent url('../img/duplica.png') no-repeat;
    background-size: 100% 100%;
    float: right;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    z-index: 999;
}

/* Loader */
.ui-icon-loading {
    background: url("images/ajax-loader.gif");
    background-size: 2.875em 2.875em;
}

ul#eventsList >  li {
    min-height: 58px;
}