@media (max-width: 1300px) {

    .col-md-6,
    .col-md-5,
    .col-md-4,
    .col-md-2,
    .col-md-1 {
        flex: 0 0 calc(50% - 10px);
    }

    .input-media {
        padding-left: 0 !important;
        padding-right: 0 !important;
        flex-wrap: wrap;
    }

    .col-md-1.mail-col {
        flex: 0 0 calc(25% - 10px);
    }

    .text-center {
        text-align: center;
    }
}

@media (max-width: 1200px) {
    .row {
        flex-wrap: wrap;
    }

    .col-md-1.text-center {
        width: 33%;
    }

    .posizione-indirizzi {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 1032px) {
    .seleziona {
        margin-bottom: 1rem;
    }
}

@media (max-width: 887px){
    .prezzoN{
        font-size: 1.2rem !important;
    }
    
    .ribbon{
        font-size: 1.3rem !important;
        line-height: 0.4rem !important;
        letter-spacing: 0px !important;
    }
    
    .ribbon.ribbon--red{
        width: 3.7rem !important;
        height: 2.4rem !important;
    }
    
    .ribbon.ribbon--green{
        width: 3.7rem !important;
        height: 2.4rem !important;
    }
}

@media (max-width: 873px){
    .aggCar{
        font-size: 0.9rem !important;
    }
}

@media (max-width: 768px){
    .responsive-search-ean{
        margin-top: 1rem !important;
    }
    
    .ribbon{
        font-size: 1.5rem !important;
        line-height: 1rem !important;
        letter-spacing: 0px !important;
    }
    
    .ribbon.ribbon--red{
        width: 4.5rem !important;
        height: 2.9rem !important;
    }
    
    .ribbon.ribbon--green{
        width: 4.5rem !important;
        height: 2.9rem !important;
    }
}

@media (max-width: 600px){
    .tabella-popup, #tabellaClienti{
        font-size: 0.6rem !important;
    }

    .dettagli{
        font-size: 0.6rem !important;
        width: 1.4rem;
        display: flex !important;
        justify-content: center;
    }

    .icona-dettagli{
        height: 0.6rem !important;
    }

    #tabellaEstrattoConto, #tabellaStatoOrdini{
        font-size: 0.39rem;
        font-weight: 900;    
    }

    .selezionaRiga {
        width: 1rem !important;
        height: 1rem !important;
    }

    .page-link{
        font-size: 0.6rem !important;
    }

    .totale-pagina{
        font-size: 1rem !important;
        margin-top: 1rem;
    }
    .form-control-sm{
        font-size: 0.4rem !important;
        width: 12rem !important;
    }
}

@media (max-width: 489px){
    .fix-localita{
        margin-top: 1.7rem !important;
    }
}

@media (max-width: 450px){
    #intestazioneUtente, #intestazioneSuperiore{
        font-size: 0.8rem !important;
    }

    #nomeAgente, #nomeCliente{
        font-weight: 800;
    }
    
    .dim-testo-inetstazione{
        font-size: 0.6rem;
    }

    .custom-input{
        font-size: 0.8rem !important;
    }

    .blocco-agente{
        display: flex;
        flex-direction: column;
    }

    .blocco-cliente{
        display: flex;
        flex-direction: column;
    }

    .col-md-1{
        width: 100% !important;
    }

    #offcanvasRight {
        width: 100% !important;
    }

    .descrizione-carrello-laterale, .qta-carrello-laterale, .prezzo-carrello-laterale, .nettor-carrello-laterale, .nettoi-carrello-laterale, .bottone-cancella-carrello-laterale, .bottone-edit-carrello-laterale{
        font-size: 0.8rem !important;
    }
}
