
/* Selection */
::selection {
    background:  #000000;
    color: #ffffff !important;
}

::-moz-selection {
    background:  #000000;
    color: #ffffff !important;
}

.visible {
    opacity: 1;
}

.hiding {
    opacity: 0;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    -webkit-transition: all 0.3s ease-in-out !important;
    -moz-transition: all 0.3s ease-in-out !important;
    -o-transition: all 0.3s ease-in-out !important;
    transition: all 0.3s ease-in-out !important;
}

button,
button:hover,
button:focus {
    color: inherit;
    text-decoration: none;
    -webkit-transition: all 0.3s ease-in-out !important;
    -moz-transition: all 0.3s ease-in-out !important;
    -o-transition: all 0.3s ease-in-out !important;
    transition: all 0.3s ease-in-out !important;
}

@media(max-width: 1023px) {
    .row-with-scroll {
        flex-wrap: nowrap;
        overflow-y: hidden;
        overflow-x: scroll;
        justify-content: left !important;
        margin-bottom: 2rem;
    }

    .row-with-scroll > .col-12,
    .row-with-scroll > .col {
        -ms-flex: 0 0 85%;
        flex: 0 0 85%;
        max-width: 85%;
        margin-bottom: 2.5rem;
    }
}

@media(max-width: 1023px) {
    .row-with-scroll-small {
        flex-wrap: nowrap;
        overflow-y: hidden;
        overflow-x: scroll;
        justify-content: left !important;
        margin-bottom: 2rem;
    }

    .row-with-scroll-small > .col-12,
    .row-with-scroll-small > .col {
        -ms-flex: 0 0 65%;
        flex: 0 0 65%;
        max-width: 65%;
        margin-bottom: 2.5rem;
    }
}

@media(max-width: 1023px) {
    .row-with-scroll-mini {
        flex-wrap: nowrap;
        overflow-y: hidden;
        overflow-x: scroll;
        justify-content: left !important;
        margin-bottom: 2rem;
    }

    .row-with-scroll-mini > .col-12,
    .row-with-scroll-mini > .col {
        -ms-flex: 0 0 55%;
        flex: 0 0 55%;
        max-width: 55%;
        margin-bottom: 2.5rem;
    }
}


@media only screen and (max-width: 800px) {

    /* Force table to not be like tables anymore */
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr { border: 1px solid #ccc; }

    td, .table td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #ddd !important;
        position: relative;
        padding: 8px 8px 8px 8px !important;
        white-space: normal;
        text-align:left;
    }

    td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
    }

    /*
    Label the data
    */
    td:before { content: attr(data-title); }
    
    td[data-title="Azioni"] {
        display: none;
    }
    td:empty {
        display: none;
    }
}