﻿body {
    margin: 0 auto;
    padding: 0px;
    /*overflow: hidden;*/
    /*font-family: "Trebuchet MS", Helvetica, sans-serif;*/
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    background-color: #D9DDE2;
    color: #333;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#wrapper {
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background-color: #fff;
}

#map {
    position: relative;
    width: 400px;
    height: 300px;
}

#video {
    border: 1px solid blue;
}

#canvas {
    border: 1px solid red;
}

#content {
    padding: 10px;
    font-size: 12px;
}

#db_content {
    height: 300px;
    overflow: scroll;
}

#ws_content {
    height: 300px;
    overflow: scroll;
}


.progress_dialog {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 100002;
    display: none;
    text-align: center;
}

    .progress_dialog:before {
        content: '';
        display: inline-block;
        vertical-align: middle;
        height: 100%;
    }

    .progress_dialog .inner {
        padding: 10px;
        display: inline-block;
        background-color: #fff;
        -webkit-box-shadow: 0px 2px 10px -3px #333;
        -moz-box-shadow: 0px 2px 10px -3px #333;
        box-shadow: 0px 2px 10px -3px #333;
        vertical-align: middle;
    }

        .progress_dialog .inner img {
            /*border:1px solid red;*/
            vertical-align: middle;
        }


.background_semiblack {
    background-color: rgba(0,0,0,0.5);
}

.modal_wrapper {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    /*background-color: rgba(0, 0, 0, 0.3);*/
    z-index: 100001;
    text-align: center;
}

    .modal_wrapper:before {
        content: '';
        display: inline-block;
        vertical-align: middle;
        height: 100%;
    }

    .modal_wrapper .modal_wrapper_window {
        padding: 5px;
        display: inline-block;
        background-color: #fff;
        vertical-align: middle;
    }

    .modal_wrapper .modal_wrapper_header {
        background-color: #446d97;
        color: #fff;
        padding: 10px 15px;
        text-align: center;
    }

    .modal_wrapper .modal_wrapper_content {
        padding: 5px 10px;
    }

        .modal_wrapper .modal_wrapper_content .label {
            text-align: right;
        }

        .modal_wrapper .modal_wrapper_content .value {
            text-align: left;
        }

    .modal_wrapper .modal_wrapper_footer {
        background-color: #ddd;
        color: #555;
        padding: 5px;
        text-align: right;
    }

    .modal_wrapper .modal_wrapper_footer_btn {
        /*border: 1px solid #e5e5e5;*/
        display: inline-block;
        padding: 3px;
    }

        .modal_wrapper .modal_wrapper_footer_btn:hover {
            background-color: #eee;
            cursor: pointer;
        }

        .modal_wrapper .modal_wrapper_footer_btn img {
            width: 16px;
            height: 16px;
            vertical-align: middle;
        }

.shadow {
    -webkit-box-shadow: 0px 2px 5px -2px #333;
    -moz-box-shadow: 0px 2px 5px -2px #333;
    box-shadow: 0px 4px 10px -3px #333;
}

.hidden {
    display: none;
}

.input_1 {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #ccc;
    padding: 3px;
}

    .input_1:focus, .input_1:hover {
        border: 1px solid #777;
    }

.input_2 {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #ccc;
    padding: 3px;
}

    .input_2:focus, .input_1:hover {
        border: 1px solid #777;
    }

.bold {
    font-weight: bold;
}

.align_left {
    text-align: left;
}

.align_right {
    text-align: right;
}

.button_1 {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #19425B;
    border: 0px;
    color: #fff;
    padding: 10px 30px;
}

    .button_1:hover, .button_1:active {
        background-color: #597789;
        cursor: pointer;
    }

.button_2 {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #19425B;
    border: 0px;
    color: #fff;
    padding: 10px;
}

    .button_2:hover, .button_2:active {
        background-color: #597789;
        cursor: pointer;
    }

.button_3 {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #19425B;
    border: 0px;
    color: #fff;
    padding: 5px 10px;
}

    .button_3:hover, .button_3:active {
        background-color: #597789;
        cursor: pointer;
    }


.button_4 {
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #19425B;
    border: 0px;
    color: #fff;
    padding: 10px;
    margin-right: 5px;
}

    .button_4:hover, .button_4:active {
        background-color: #597789;
        cursor: pointer;
    }

.card {
    background-color: #fff;
    border-bottom: 2px solid #CCC;
    margin: 5px;
    padding: 5px;
    vertical-align: middle;
}

    .card:hover, .card.active {
        cursor: pointer;
        border-bottom: 2px solid #0099cc;
    }

    .card.header {
        font-weight: bold;
        background-color: #446d97;
        color: #fff;
        padding-left: 5px;
    }

.card_2 {
    background-color: #19425B;
    border-bottom: 2px solid #CCC;
    color: #fff;
    margin: 5px;
    padding: 5px;
}

.padding_20 {
    padding: 20px;
}

.margin_20_left {
    margin-left: 20px;
}

.margin_10_left {
    margin-left: 10px;
}

.segnaposto {
    display: inline-block;
    height: 16px;
    width: 16px;
    vertical-align: middle;
    margin-right: 10px;
}

    .segnaposto.s1 {
        background-color: #FF8800;
    }

    .segnaposto.s2 {
        background-color: #0099CC;
    }

    .segnaposto.s3 {
        background-color: #669900;
    }

    .segnaposto.s4 {
        background-color: #FFBB33;
    }

    .segnaposto.s5 {
        background-color: #99CC00;
    }

.isp_stato {
    padding: 2px 0px 5px;
}

    .isp_stato.s1 {
        /*color: #FF8800;*/
        color: #0099CC;
    }

    .isp_stato.s2 {
        color: #FFBB33;
    }

    .isp_stato.s3 {
        color: #669900;
    }


    .isp_stato.s4 {
        color: #CC0000;
    }

.isp_via {
}

.isp_comune {
    color: #555;
    font-weight: normal;
    margin-top: 3px;
}

.isp_ora_stato {
    white-space: nowrap;
    text-align: right;
    font-size: 11px;
    padding: 3px 6px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin-right: 5px;
    display: inline-block;
    font-weight: bold;
}

    .isp_ora_stato.s1 {
        background-color: #EEE;
        color: #888;
    }

    .isp_ora_stato.s2 {
        background-color: #FFBB33;
        /*color: #333;*/
        color: #fff;
    }

    .isp_ora_stato.s3 {
        background-color: #669900;
        color: #fff;
    }

    .isp_ora_stato.s4 {
        background-color: #FF8800;
        color: #fff;
    }

.isp_date_stato {
    display: inline-block;
    color: #555;
    font-size: 11px;
    font-weight: normal;
    margin-left: 5px;
}

.isp_ora_IT {
    text-align: right;
    font-weight: normal;
    margin-right: 5px;
    display: inline-block;
}

.isp_ora_H {
    font-size: 12px;
    text-align: right;
    display: inline-block;
    font-weight: normal;
}

    .isp_ora_H.s1 {
    }

    .isp_ora_H.s2 {
        background-color: #FFBB33;
        color: #fff;
    }

    .isp_ora_H.s3 {
        background-color: #669900;
        color: #fff;
    }

    .isp_ora_H.s4 {
        background-color: #FF8800;
        color: #fff;
    }

.totali {
    float: right;
}

    .totali .conformi {
        display: inline-block;
        background-color: #669900;
        color: #FFF;
        padding: 2px 4px;
        margin-right: 2px;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
    }

    .totali .non_conformi {
        display: inline-block;
        background-color: #C00;
        padding: 2px 4px;
        color: #FFF;
        -moz-border-radius: 3px;
        -webkit-border-radius: 3px;
        border-radius: 3px;
    }

#login {
    border-bottom: 2px solid #CCC;
}

#header {
    background-color: #19425B;
    color: #fff;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
}

#ricerca {
    /*position: fixed;*/
    /*top: 0px;*/
    background-color: #fff;
    left: 0px;
    right: 0px;
    padding: 5px;
    border-bottom: 1px solid #19425B;
}

#list {
    margin-top: 85px;
}

#body_isp {
    position: absolute;
    top: 40px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

#coordinate {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 40px;
}

#ispezione {
    position: absolute;
    top: 55px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.label {
    color: #888;
}

.value {
    font-weight: bold;
}

.inline-block {
    display: inline-block;
}

.td_button {
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
    border: 0px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

    .td_button.s1 {
        background-color: #669900;
    }

        .td_button.s1:hover, .td_button.s1:active {
            background-color: #75A800;
        }

    .td_button.s2 {
        background-color: #CC0000;
    }

        .td_button.s2:hover, .td_button.s2:active {
            background-color: #DB1313;
        }

    .td_button.s3 {
        background-color: #FF8800;
    }

        .td_button.s3:hover, .td_button.s3:active {
            background-color: #FF9909;
        }

    .td_button.s4 {
        background-color: #0099CC;
    }

        .td_button.s4:hover, .td_button.s4:active {
            background-color: #0FA1D3;
        }

#info {
    text-align: center;
    vertical-align: top;
    height: 1px;
    padding-bottom: 5px;
}

    #info .via {
        font-weight: bold;
        font-size: 14px;
        padding: 2px;
    }

    #info .zona {
        color: #555;
        font-size: 14px;
        padding: 2px;
    }

    #info .volantini {
        font-weight: bold;
        font-size: 14px;
        padding: 2px;
        margin-right: 5px;
        vertical-align: middle;
    }

    #info .dataora {
        padding: 2px;
        color: #555;
    }

        #info .dataora b {
            color: #333;
        }

.loading_span {
    color: #555;
    vertical-align: middle;
}

    .loading_span img {
        margin-right: 5px;
        vertical-align: middle;
    }

#toast_container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    text-align: center;
}

.toast {
    font-size: 16px;
    text-align: center;
    padding: 5px 10px;
    color: #fff;
    background-color: rgba(0,0,0,0.5);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    display: inline-block;
    margin: 1px;
    clear: both;
}

.non_conformita {
    padding: 10px 20px;
    background-color: #eee;
    /*border:1px solid #C5E26D;*/
    margin: 2px 0px;
    font-size: 16px;
    cursor: pointer;
}

    .non_conformita.selected {
        background-color: #C5E26D;
    }

#counter {
    float: right;
    vertical-align: middle;
    padding: 5px 0px;
}

    #counter img {
        vertical-align: middle;
        max-height: 24px;
    }

.negozio_action {
    padding-top: 15px;
    display: none;
}

.unclickable {
    pointer-events: none;
}

#version{
    position:fixed;
    bottom:3px;
    right:3px;
    font-size:10px;
    color:#AAA;
}