/* Modulo Appalti OS12-B: adattamento smartphone */
.mod-bandi-os12b__rotate-notice {
    display: none;
}

.mod-bandi-os12b .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* In verticale consigliamo esplicitamente la rotazione del telefono. */
@media (max-width: 767.98px) and (orientation: portrait) {
    .mod-bandi-os12b__rotate-notice {
        display: block;
        font-size: .9rem;
        line-height: 1.35;
        margin-bottom: .75rem;
    }
}

/* In orizzontale rendiamo la tabella più compatta per far entrare anche il Bando. */
@media (max-width: 950px) and (orientation: landscape) {
    .mod-bandi-os12b__table {
        font-size: .72rem;
        line-height: 1.22;
    }

    .mod-bandi-os12b__table > :not(caption) > * > * {
        padding: .28rem .34rem;
    }

    .mod-bandi-os12b__table .small {
        font-size: .68rem;
    }

    .mod-bandi-os12b__table .btn.btn-primary {
        height: 26px !important;
        min-height: 26px !important;
        padding: 0 .5rem !important;
        font-size: .70rem !important;
    }
}
