﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}


/*MARIA*/

.mobile {
    display: none;
}


.clear {
    clear: both
}

.alignCenter {
    text-align: center;
}

.alignRight {
    text-align: right;
}

.bg-totali {
    background-color: #FFFFCC
}

.testoSconti {
    font-size: 0.7rem;
    color: gray;
    padding-top: 5px;
}

    .testoSconti label {
        margin-top: 3px;
    }

.tableCarrello {
    font-size: 0.9rem;
    margin-bottom:0px;
}

.TotFIX {
    z-index: 9999;
    position: fixed;
    bottom: 0;
    width: 60%;
    background-color: orange /* #B7B7B7*/;
    padding: 8px;
    /*left:0px;*/
}

    .TotFIX label {
        margin-bottom: 0px;
    }

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.qtCell input[type=number] {
    /*-moz-appearance: textfield; /* Firefox */
    width: 45%;
    padding: .375rem .5rem;
    float: left;
    text-align: right;
}

.qtCell input[type=image] {
    width: 23%;
    float: left;
    margin-top: 2%;
    max-width:31px;
}


.print {
    display: none;
}

.linkPrint {
    float: right;
    margin-top: 10px;
}

.testata {
    padding-bottom: 20px;
    margin-bottom: 35px;
    border-bottom: 1px solid #DA010C;
}

.linkCenter {
    text-align: center;
    display: inline-block;
    margin-top: -5px;
}


/*Menu Laterale*/
#menuLat {
    left: 0px;
    font-size: 0.8rem;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
    background-color: #F9F9F9;
    top: 58px;
    overflow: auto;
    height: 90%;
    z-index: 60;
}

    #menuLat a {
        color: #343a40;
        text-decoration: none;
    }

        #menuLat a:hover {
            color: #778491;
        }

    #menuLat ul {
        list-style-type: none;
        padding-left: 1rem;
    }

        #menuLat ul ul li::before {
            content: "\2022"; /* Add content: \2022 is the CSS Code/unicode for a bullet */
            color: #778491; /* Change the color */
            font-weight: bold; /* If you want it to be bold */
            display: inline-block; /* Needed to add space between the bullet and the text */
            width: 0.5em; /* Also needed for space (tweak if needed) */
            /*margin-left: -1em;*/ /* Also needed for space (tweak if needed) */
        }

#menuButton {
    left: 0px;
    font-size: 0.8rem;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
    background-color: #F9F9F9;
    top: 18px;
    overflow: auto;
    display: none;
}

.homeMenu {
    align-items: center;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
}

    .homeMenu a i {
        font-size: 2.5rem;
    }
    .homeMenu a span {
        display: block;
    }

    .homeMenu a:hover {
        color:gray !important
    }

.inputError {
    background-color: #ffcccc;
}

.hidder {display:none
}

.scroll {
    z-index: 9999;
    position: fixed;
    bottom: 50px;
    padding: 8px;
    right: 10px;
}
    .scroll img {
        max-width: 20px;
        height: auto;
    }

    @media only screen and (max-width: 1650px) {
        #menuLat {
        max-width: 15%;
    }
}

@media only screen and (max-width: 1600px) {
    #menuLat {
        display: none;
        max-width: 18%;
        height: 85%;
    }

    #menuButton {
        display: block
    }
}

@media only screen and (max-width: 500px) {
    #menuButton {
        display: none;
    }
}




@media only screen and (max-width: 800px) {
    .thBox, .thPZ{
        display: table-cell;
        font-size: 11px;
        padding: 2px 6px;
        white-space: nowrap;
    }

    .qtCell .qtTXT { width:76px !important; }
    .qtCell.text-center .qtTXT { margin-left:-100px !important; }

    .tdImage {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .tableVert {
        display: inline-block;
    }

    .tableVertNascondi {
        display: none;
    }
}

/*tablet*/
@media (max-width: 1200px) {

    .containerMenu {
        padding: 0px;
        margin: 0px;
    }
    .navbar-brand {
        font-size: 1rem;
        width: 80px;
        font-weight: bold;
        margin-right: 25px;
        margin-left:25px;
    }

    .container {
        max-width: 95%;
    }

    .thCodice {
        width:25% !important;
    }
    .thDescr {
        display: none;
    }

    
    .tdCodice, .tdDescr {
        float: left;
        width:100%;
        font-size: 0.8rem;
    }

    .tdDescr {
        border-top-width: 0px !important;
        padding-top: 0px !important;
    }

    .qtCell {
        text-align: center;
        width:31%;
    }

        .qtCell input[type="number"] {
            max-width:60%;
        }

        .tdDisp label {
            font-size: 0.7rem;
        }

    .TotFIX {
        width: 90%;
    }
}
