﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

h4 {
    margin: 0;
}

h5 {
    margin: 0;
    font-size: 12px;
}

.tdDatePicker > h5 {
    line-height: 1.4em;
    position: relative;
    vertical-align: middle;
    z-index: 1;
    display: inline-block;
    width: 0;
}

.tdDatePicker > span {
    width: 134px;
}

    .tdDatePicker > span > span {
        width: 105px;
    }

        .tdDatePicker > span > span > input {
            padding-left: 20px !important;
            width: 85px !important;
        }

div.ExitMessage {
    height: 25px;
    font-weight: 700;
    margin: 5px 0 0 11px;
    color: #881f35;
}

.navbar-inverse {
    background-color: #282828;
}

.appPanel {
    margin-bottom: 10px;
    background-color: #dddddd;
}

.appCell {
    padding-top: 3px !important;
    padding-bottom: 1px !important;
}

/* INIZIO aggiunti da P.D.M.*/

/* HOME PAGE */

.km-user-e:after,
.km-user-e:before {
    content: "\e319";
    color: white;
}

.km-right-e:after,
.km-right-e:before {
    content: "\e0e2";
    color: white;
}

.km-popup.km-pane .km-view .km-content {
    background: transparent;
}

.km-android .km-popup.km-pane .km-view .km-content {
    margin: 10px 0;
}

.pulsante {
    margin: 5% auto 0;
}

    .pulsante .link {
        position: relative;
        display: inline-block;
        text-align: center;
        background-color: rgba(34, 34, 34, 0.3);
        width: 100%;
    }

        .pulsante .link:hover {
            background-color: rgba(34, 34, 34, 0.5);
        }

        .pulsante .link .icona {
            position: relative;
            display: inline-block;
            width: 65%;
            max-width: 128px;
            height: auto;
            max-height: 128px;
            margin: 15%;
        }

        .pulsante .link .etichetta {
            display: block;
            bottom: 0;
            width: 80%;
            text-align: center;
            color: #FFF;
            margin: 0 10% 0;
            line-height: 1.2;
            height: 50px;
        }

/* NAVIGAZIONE CALENDARIO */
.barra-tempo {
    background-color: rgb(0, 157, 224);
    color: white;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

    .barra-tempo .km-button {
        width: 36px;
        height: 36px;
        line-height: 34px;
        margin: 7px;
        padding: 0;
        background-color: rgba(0, 0, 0, 0);
        color: #FFF;
        border: 2px solid #FFF;
        border-radius: 20px;
    }

.km-android .barra-tempo .km-button .km-icon, .km-android .barra-tempo .km-navbar .km-icon {
    /*color: rgb(0, 157, 224);*/
    color: white;
}

    .km-android .barra-tempo .km-button .km-icon:before, .km-android .barra-tempo .km-navbar .km-icon:before {
        display: none;
    }

/* modalità calendario */
.km-wp .km-widget.km-actionsheet {
    background-color: black;
    color: white;
}

    .km-wp .km-widget.km-actionsheet a {
        color: white;
        height: 40px;
        line-height: 40px;
        vertical-align: middle;
        border-bottom: 1px solid #222;
    }

    .km-wp .km-widget.km-actionsheet .km-actionsheet-title {
        color: rgb(0, 157, 224);
        border-bottom: 1px solid rgb(0, 157, 224);
    }

    .km-wp .km-widget.km-actionsheet .km-actionsheet-cancel a {
        text-align: center;
    }

#agenda-date {
    color: white;
}

.km-pre-e:after,
.km-pre-e:before {
    content: "\e0e5";
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.km-next-e:after,
.km-next-e:before {
    content: "\e0e5";
}
/* APPUNTAMENTI */
.item-info.studio {
    margin: 1% 0;
    color: #222;
}

    .item-info.studio .table {
        width: 100%;
        /*width: auto;*/
        /*background: rgb(239, 239, 244);*/
        background-color: rgba(239, 239, 244, 0.4);
        margin-bottom: 0;
    }

    .item-info.studio td {
        padding: 2px;
        border: none;
    }

    .item-info.studio .sala {
        width: 50px;
        height: 50px;
        text-align: center;
        vertical-align: middle;
        background-color: rgb(0, 157, 224);
    }

    .item-info.studio .orario {
    }

    .item-info.studio .dentista {
        font-size: 0.8em;
        border-top: 1px solid white;
    }

    .item-info.studio .prep {
        padding-right: 5px;
    }

    .item-info.studio .ora {
        padding-right: 5px;
        font-weight: bold;
    }

    .item-info.studio .sala span {
        display: block;
        /*background-color: #F42F54;*/
        height: 46px;
        line-height: 46px;
        font-weight: bold;
        color: white;
        font-size: 1.5em;
    }

/* FATTURATO */
div[data-layout="fatturato-layout"] .container {
    padding: 0;
}

div[data-layout="fatturato-layout"] .group {
    margin: 10px 0;
}

    div[data-layout="fatturato-layout"] .group .col-xs-2, div[data-layout="fatturato-layout"] .group .col-md-2, div[data-layout="fatturato-layout"] .group .col-xs-3, div[data-layout="fatturato-layout"] .group .col-xs-5, div[data-layout="fatturato-layout"] .group .col-md-5, div[data-layout="fatturato-layout"] .group .col-xs-9, div[data-layout="fatturato-layout"] .group .col-xs-12 {
        padding: 0;
    }

    div[data-layout="fatturato-layout"] .group .group-name {
        padding: 0;
    }

        div[data-layout="fatturato-layout"] .group .group-name h3 {
            margin: 0;
            height: 40px;
            line-height: 40px;
            border-bottom: 1px solid #009de0;
            background-color: rgba(0, 157, 224, 0.1);
            padding: 0 10px;
            margin-bottom: 10px;
            -moz-background-clip: border-box;
            -webkit-background-clip: border-box;
            background-clip: border-box;
        }

    div[data-layout="fatturato-layout"] .group .fat {
        text-align: right;
    }

        div[data-layout="fatturato-layout"] .group .fat .number-fat {
            display: inline-block;
            height: 40px;
            line-height: 40px;
            padding: 0 10px;
            -moz-background-clip: border-box;
            -webkit-background-clip: border-box;
            background-clip: border-box;
        }

        div[data-layout="fatturato-layout"] .group .fat .total-fat {
            display: inline-block;
            height: 40px;
            line-height: 40px;
            padding: 0 10px;
            color: white;
            background-color: rgba(0, 157, 224, 0.5);
            font-weight: bold;
            /*font-size: 24px;*/
            -moz-background-clip: border-box;
            -webkit-background-clip: border-box;
            background-clip: border-box;
            border-radius: 5px;
        }

    div[data-layout="fatturato-layout"] .group .link-det {
        text-align: right;
    }

div[data-layout="fatturato-layout"] .total .tot-number {
    padding-left: 10px;
}

div[data-layout="fatturato-layout"] .total .tot-sum {
    font-weight: bold;
    display: inline-block;
    border: 1px solid;
    border-radius: 5px;
    padding: 0 10px;
    margin: 10px;
    height: 30px;
    line-height: 26px;
}

.km-wp div[data-layout="fatturato-layout"] .group .link-det .km-button,
.km-ios7 div[data-layout="fatturato-layout"] .group .link-det .km-button {
    font-size: .9em;
    padding: .5em .8em;
    color: white;
    border: 1px solid currentcolor;
    height: 40px;
    border-radius: 1px;
    border-color: rgba(204, 204, 204, 0.5) rgba(102, 102, 102, 0.5) rgba(102, 102, 102, 0.5) rgba(204, 204, 204, 0.5);
    background: rgba(153, 153, 153, 0.5);
}

/* PREVENTIVI */
div[data-layout="preventivi-layout"] .container {
    padding: 0;
}

div[data-layout="preventivi-layout"] .group {
    margin: 10px 0;
}

    div[data-layout="preventivi-layout"] .group .col-xs-2, div[data-layout="preventivi-layout"] .group .col-md-2, div[data-layout="preventivi-layout"] .group .col-xs-3, div[data-layout="preventivi-layout"] .group .col-xs-5, div[data-layout="preventivi-layout"] .group .col-md-5, div[data-layout="preventivi-layout"] .group .col-xs-9, div[data-layout="preventivi-layout"] .group .col-xs-12 {
        padding: 0;
    }

    div[data-layout="preventivi-layout"] .group .group-name {
        padding: 0;
    }

        div[data-layout="preventivi-layout"] .group .group-name h3 {
            margin: 0;
            height: 40px;
            line-height: 40px;
            border-bottom: 1px solid #009de0;
            background-color: rgba(0, 157, 224, 0.1);
            padding: 0 10px;
            margin-bottom: 10px;
            -moz-background-clip: border-box;
            -webkit-background-clip: border-box;
            background-clip: border-box;
        }

    div[data-layout="preventivi-layout"] .group .fat {
        text-align: right;
    }

        div[data-layout="preventivi-layout"] .group .fat .number-fat {
            display: inline-block;
            height: 40px;
            line-height: 40px;
            padding: 0 10px;
            -moz-background-clip: border-box;
            -webkit-background-clip: border-box;
            background-clip: border-box;
        }

        div[data-layout="preventivi-layout"] .group .fat .total-fat {
            display: inline-block;
            height: 40px;
            line-height: 40px;
            padding: 0 10px;
            color: white;
            background-color: rgba(0, 157, 224, 0.5);
            font-weight: bold;
            /*font-size: 24px;*/
            -moz-background-clip: border-box;
            -webkit-background-clip: border-box;
            background-clip: border-box;
            border-radius: 5px;
        }

    div[data-layout="preventivi-layout"] .group .link-det {
        text-align: right;
    }

div[data-layout="preventivi-layout"] .total .tot-number {
    padding-left: 10px;
}

div[data-layout="preventivi-layout"] .total .tot-sum {
    font-weight: bold;
    display: inline-block;
    border: 1px solid;
    border-radius: 5px;
    padding: 0 10px;
    margin: 10px;
    height: 30px;
    line-height: 26px;
}

.km-wp div[data-layout="preventivi-layout"] .group .link-det .km-button,
.km-ios7 div[data-layout="preventivi-layout"] .group .link-det .km-button {
    font-size: .9em;
    padding: .5em .8em;
    color: white;
    border: 1px solid currentcolor;
    height: 40px;
    border-radius: 1px;
    border-color: rgba(204, 204, 204, 0.5) rgba(102, 102, 102, 0.5) rgba(102, 102, 102, 0.5) rgba(204, 204, 204, 0.5);
    background: rgba(153, 153, 153, 0.5);
}

/* DETTAGLIO FATTURE */
#fat-detail-list {
}

    #fat-detail-list li {
        display: table;
    }

        #fat-detail-list li .inline {
            display: table-cell;
            vertical-align: middle;
            height: 50px;
            /*line-height: 1;*/
            font-size: 14px;
            -moz-background-clip: border-box;
            -webkit-background-clip: border-box;
            background-clip: border-box;
        }

            #fat-detail-list li .inline.tipo-f {
                width: 40px;
                text-align: center;
                font-size: 1.5em;
                font-weight: bold;
                background-color: rgba(0, 157, 224, 0.1);
            }

                #fat-detail-list li .inline.tipo-f.acconto {
                    background-color: rgba(232, 232, 0, 0.3);
                }

                #fat-detail-list li .inline.tipo-f.saldo {
                    background-color: rgba(0, 190, 0, 0.3);
                }

            #fat-detail-list li .inline.codice-f {
                width: 15%;
                text-align: center;
            }

            #fat-detail-list li .inline.cliente-f {
                width: 30%;
            }

            #fat-detail-list li .inline.data-f {
                width: 16%;
                text-align: center;
                border: 1px solid rgba(255, 255, 255, 0.1);
                border-collapse: collapse;
            }

            #fat-detail-list li .inline.valore-f {
                /*-ms-flex: max-content;
                flex: max-content;*/
                text-align: right;
            }

/* DETTAGLIO preventivi */
#detail-list {
}

#pre-detail-list li {
    display: table;
}

    #pre-detail-list li .inline {
        display: table-cell;
        vertical-align: middle;
        height: 50px;
        /*line-height: 1;*/
        font-size: 14px;
        -moz-background-clip: border-box;
        -webkit-background-clip: border-box;
        background-clip: border-box;
    }

        #pre-detail-list li .inline.tipo-f {
            width: 40px;
            text-align: center;
            font-size: 1.5em;
            font-weight: bold;
            background-color: rgba(0, 157, 224, 0.1);
        }

            #pre-detail-list li .inline.tipo-f.aperto {
                background-color: rgba(232, 232, 0, 0.3);
            }

            #pre-detail-list li .inline.tipo-f.chiuso {
                background-color: rgba(0, 190, 0, 0.3);
            }

        #pre-detail-list li .inline.codice-f {
            width: 15%;
            text-align: center;
        }

        #pre-detail-list li .inline.cliente-f {
            width: 30%;
        }

        #pre-detail-list li .inline.data-f {
            width: 16%;
            text-align: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-collapse: collapse;
        }

        #pre-detail-list li .inline.valore-f {
            /*-ms-flex: max-content;
                flex: max-content;*/
            text-align: right;
        }

#fat-detail-list {
}

/* DETTAGLIO lavorazioni preventivi */
    #detail-list li {
        display: table;
    }

        #detail-list li .inline {
            display: table-cell;
            vertical-align: middle;
            height: 50px;
            /*line-height: 1;*/
            font-size: 14px;
            -moz-background-clip: border-box;
            -webkit-background-clip: border-box;
            background-clip: border-box;
        }

            #detail-list li .inline.tipo-f {
                width: 40px;
                text-align: center;
                font-size: 1.5em;
                font-weight: bold;
                background-color: rgba(0, 157, 224, 0.1);
            }

                #detail-list li .inline.tipo-f.acconto {
                    background-color: rgba(232, 232, 0, 0.3);
                }

                #detail-list li .inline.tipo-f.saldo {
                    background-color: rgba(0, 190, 0, 0.3);
                }

            #detail-list li .inline.codice-f {
                width: 15%;
                text-align: center;
            }

            #detail-list li .inline.cliente-f {
                width: 30%;
            }

            #detail-list li .inline.data-f {
                width: 16%;
                text-align: center;
                border: 1px solid rgba(255, 255, 255, 0.1);
                border-collapse: collapse;
            }

            #detail-list li .inline.valore-f {
                /*-ms-flex: max-content;
                flex: max-content;*/
                text-align: right;
            }

/* FOOTER */
#Search {
    float: left;
    height: 40px;
    width: 50%;
    margin: 5px;
    max-width: none;
    border: 0;
}

.km-pw #Search,
.km-android #Search {
    padding: 16px 0;
}

.km-ios7 #Search {
    height: 36px;
}

.filter.right {
    float: right;
    margin: 2px 5px;
}

.km-filter-e:after,
.km-filter-e:before {
    content: "\e06c";
}

.km-clearfilter-e:after,
.km-clearfilter-e:before {
    content: "\e06d";
}

.km-search-e:after,
.km-search-e:before {
    content: "\e07f";
}

.filter.right .km-button {
    width: 36px;
    height: 36px;
    line-height: 36px;
    padding: 0;
    border-color: #FFF;
    border-width: 2px;
    border-radius: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0);
}

.km-android .filter.right .km-button .km-icon, .km-android .filter.right .km-navbar .km-icon {
    /*color: rgb(0, 157, 224);*/
    color: #FFF;
}

.km-android #mobile-view-agenda .km-content,
.km-android #DettaglioEstimates .km-content,
.km-android #mobile-view-preventivi-ext .km-content,
.km-android #DettaglioInvoices .km-content,
.km-android #mobile-view-fatturato-ext .km-content {
    margin-top: 100px;
}

/* BBOTSTRAP */


/* FINE aggiunti da P.D.M.*/
