﻿/* override materialize */
input:not([type]):focus:not([readonly]), input[type=text]:focus:not([readonly]), input[type=password]:focus:not([readonly]), input[type=email]:focus:not([readonly]), input[type=url]:focus:not([readonly]), input[type=time]:focus:not([readonly]), input[type=date]:focus:not([readonly]), input[type=datetime]:focus:not([readonly]), input[type=datetime-local]:focus:not([readonly]), input[type=tel]:focus:not([readonly]), input[type=number]:focus:not([readonly]), input[type=search]:focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]) {
    box-shadow: none !important;
}

select {
    display: inherit !important;
}

input {
    line-height: inherit !important;
}

.modal {
    left: 0 !important;
    max-height: 85% !important;
    padding-bottom: 20px !important;
}

/* riduzione spazi */

.row {
    margin-bottom:5px !important
}

h5 {
    font-size:1.3rem !important;
}

h5 img {
    width:30px !important;
    margin-bottom: -8px;
}

.cercaordini {
    margin-top: 10px !important;
}

.cercaordini .t2ttext {
    margin: 0 !important;
}

/* header */

.cerca {
    height: 38px;
    margin: 10px !important;
    min-width: 200px !important;
}

    .cerca input[type="text"] {
        margin: 0 !important;
        height: 100% !important;
        padding: 0 !important;
    }

.cercabtn {
    float: right;
    margin: 5px;
}

.logout {
    float: right;
    margin: 10px;
    background: #34495e !important;
}

    .logout:hover {
        background-color: #4e6d8d !important;
    }

@media only screen and (max-width: 600px) {
    .cerca {
        width: 65%;
    }

        .cerca input[type="text"] {
            width: 80%;
        }

    .logout {
        width: 25%;
    }
}

@media only screen and (max-width: 437px) {
    .cerca {
        width: 100%;
        margin-right: 0 !important;
    }

    .logout {
        width: 100%;
        margin-right: 0 !important;
    }
}

.welcome {
    text-align: right;
}

    .welcome i {
        margin-left: 5px !important;
        font-size: 19px !important;
    }

/* menu */
.dropdown-content {
    overflow: visible !important;
    min-width: 200px !important;
}

    .dropdown-content li, .dropdown-content a {
        height: auto !important;
        font-size: 14px !important;
        text-transform: none !important;
        white-space: nowrap;
        overflow: visible !important;
    }

nav {
    background-color: #f1f1f1 !important;
}

    nav a {
        color: #434242 !important;
    }

    nav ul a {
        color: #434242 !important;
        text-transform: uppercase !important;
        height: 65px !important;
        font-size: 16px !important;
    }

.nav-wrapper li img {
    width: 25px;
    margin-right: 10px;
    position: relative;
    float: left;
    margin-top: 20px;
}

@media only screen and (min-width:1228px) and (max-width: 1398px) {
    .dropdown-content a {
        padding: 14px 16px !important;
    }

    nav ul a {
        font-size: 14px !important;
        padding: 0 10px !important;
    }
}

@media only screen and (min-width:1095px) and (max-width: 1227px) {
    .dropdown-content a {
        padding: 14px 16px !important;
    }

    nav ul a {
        font-size: 13px !important;
        padding: 0 5px !important;
    }
}

@media only screen and (min-width:993px) and (max-width: 1094px) {
    .dropdown-content a {
        padding: 14px 16px !important;
    }

    nav ul a {
        font-size: 12px !important;
        padding: 0 4px !important;
    }

    .nav-wrapper li img {
        margin-right: 3px;
    }
}

.side-nav {
    overflow-y: inherit !important;
}

/* box home */
.homebox {
    padding: 10px !important;
    height: 130px;
    line-height: 22px;
    border: 1px solid white;
    cursor: pointer;
    color: #434242;
    font-size: 21px;
    font-weight: 500;
    text-transform: uppercase;
    -moz-transition: all 0.2s linear 0s;
    -webkit-transition: all 0.2s linear 0s;
    -o-transition: all 0.2s linear 0s;
    background-color: #f1f1f1;
    text-align: center;
}

    .homebox:hover {
        color: white;
        background-color: #2e4e6e;
    }

.imghover {
    display: none;
}

.homebox:hover .imghover {
    display: inherit;
}

.homebox:hover .imgnorm {
    display: none;
}

.homebox span {
    position: relative;
    text-align: center;
}

@media only screen and (max-width: 638px) {
    .homebox span {
        font-size: 18px !important;
        line-height: 18px !important;
        text-transform: none !important;
    }
}

/* modal */

@media only screen and (max-width:820px) {
    .terminal_ar {
        float: none !important;
        width: 95% !important;
    }

        .terminal_ar select {
            width: 100% !important;
        }

    .modal {
        width: 95% !important;
    }
}

/* t2t buttons */

@media only screen and (max-width:703px) {
    .t2t_button {
        width: 100%;
    }
}

.inoltra {
    color: white !important;
}

/* t2t table */

.t2ttext {
    margin-top: 15px;
    margin-bottom: 0 !important;
    font-weight: 600;
    font-size: 13px;
    color: #2e4e6e;
    text-align: center;
}

.vuoto input {
    position: inherit !important;
}

.tabdati2 {
    position: inherit !important;
}

.modal .titolo {
    height: auto !important;
}

.tabcarico {
    width:100% !important
}

@media only screen and (max-width:496px) {
    .confermabtn, .annullabtn {
        width:100%;
    }
}

.tabdocumenti input[type='checkbox'] { 
    position:inherit !important;
    opacity:1 !important
}

/* dettaglio ordine */

.dettaglio_ordine table caption {
    position: relative;
    z-index: 10;
}

.dettaglio_ordine table tr td {
    position: relative;
    z-index: 10;
}

@media only screen and (max-width:395px) {
    .dettaglio_ordine {
        height: 285px !important;
        padding-top: 35px;
    }

    .passato, .futuro {
        max-width: 70px !important;
    }
}

@media only screen and (max-width:400px) {

    .tabdocumenti tr th, .tabdocumenti tr td {
        font-size: 10px !important;
    }
}

/* footer */

.page-footer {
    background-color: #f1f1f1 !important;
    background-image: url(../img/white.png);
    background-repeat: repeat-x;
    background-position: left 60px;
}

    .page-footer .titolo {
        font-weight: 500;
        color: #2e4e6e;
        background-color: transparent;
        text-transform: none;
        font-size: 23px;
        position: relative;
        padding: 5px;
        height: auto;
        margin-bottom: 20px;
        padding-left: 33px;
        padding-top: 0px;
    }

@media only screen and (max-width: 1266px) {
    .page-footer .titolo {
        font-size: 18px;
    }
}

.footer-copyright {
    background-color: #2E4E6E !important;
    color: white !important;
    margin: auto;
    padding-top: 30px;
    padding-bottom: 20px;
    height: auto !important;
    line-height: inherit !important;
    text-align: center;
}

    .footer-copyright p {
        text-align: center !important;
    }

@media only screen and (min-width: 1166px) and (max-width: 1449px) {
    .respfont {
        font-size: 13px !important;
    }
}

@media only screen and (min-width: 1045px) and (max-width: 1165px) {
    .respfont {
        font-size: 11px !important;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1044px) {
    .respfont {
        font-size: 9px !important;
    }
}

@media only screen and (max-width: 992px) {
    .commerciale, .oursites {
        border-bottom: 1px solid #e0e0e0;
    }
}

.ajax__calendar {display:none !important;visibility:hidden !important;opacity: 0 !important}
.picker__header select {
    display: inline !important;
    height:auto !important;
}

.titolo {
    height: 28px !important;
}

.btn100 {
    width:100% !important
}

.btn_closemodal {
     position:absolute !important; top:5px !important; right:20px !important
}

.tabcarico tr {
    border-bottom: 1px solid #aaa;
}

.local_car, .local_scar {
    display:none
}

.label_module {
    margin-right:5px !important;
}

.aggpuls {
    width:100% !important;
}

input[type=text]:focus {
    border: 2px solid #2bbbad !important;
}

.inserimento .field_module, .inserimento select, .inserimento input[type="text"], .tabdocumenti select, .tabdocumenti input[type="text"] {
    font-size: 14px !important;
}

.bordercheck {
    border: 1px solid #E48846 !important;
}

.bordergreen {
    border: 2px solid #2bbbad !important;
}

.paginazione {
    position: absolute !important;
    margin-top: 30px !important;
    z-index: 100000;
}

.tabdocumenti {
    margin-bottom: 70px;
}

.attenzione3 {
            display:block !important;
        }

.completionList {
    border: solid 1px #ccc;
    margin: 0px;
    overflow: auto;
    background-color: #eff0f1;
}

.listItem {
    border-bottom: 1px solid #ccc;
    color: #444242;
    padding: 10px;
}

    .listItem:last-child {
        border-bottom: none !important;
    }

.itemHighlighted {
    background-color: #cfe3ef;
    padding: 10px;
}

input:not([type]):disabled, input:not([type])[readonly="readonly"], input[type=text]:disabled, input[type=text][readonly="readonly"], input[type=password]:disabled, input[type=password][readonly="readonly"], input[type=email]:disabled, input[type=email][readonly="readonly"], input[type=url]:disabled, input[type=url][readonly="readonly"], input[type=time]:disabled, input[type=time][readonly="readonly"], input[type=date]:disabled, input[type=date][readonly="readonly"], input[type=datetime]:disabled, input[type=datetime][readonly="readonly"], input[type=datetime-local]:disabled, input[type=datetime-local][readonly="readonly"], input[type=tel]:disabled, input[type=tel][readonly="readonly"], input[type=number]:disabled, input[type=number][readonly="readonly"], input[type=search]:disabled, input[type=search][readonly="readonly"], textarea.materialize-textarea:disabled, textarea.materialize-textarea[readonly="readonly"] {
    color: #666 !important;
}

.btn input {
    width:100% !important;
}

img.resize {
    max-width: 20%;
    max-height: 20%;
}

.radio input[type="radio"] {
    margin: 0px;
}