﻿.required:after {
    content: " *";
    color: red;
}

.text-muted {
    color: #777;
}

.sidebar .nav li > a {
    margin: 0px !important;
}

.topText {
    margin-left: 120px;
}

table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after {
    content: "⇅" !important;
}

div.main-action-button {
    text-align: right;
    min-height: 65px;
    position: relative;
    float: right
}

/*
 * [START]: Personalizzazione delle notifiche
 */
span[data-notify='message'] {
    color: white;
}
/*
 * [END]: Personalizzazione delle notifiche
 */

/*
 * [START]: pagina acquisto biglietti
 */
.home #regForm {
    background-color: #ffffff;
    margin: 100px auto;
    padding: 40px;
    width: 70%;
    min-width: 300px;
}

/* Style the input fields */
.home input {
    padding: 10px;
    width: 100%;
    font-size: 17px;
    font-family: Raleway;
    border: 1px solid #aaaaaa;
}

    /* Mark input boxes that gets an error on validation: */
    .home input.invalid {
        background-color: #ffdddd;
    }

/* Hide all steps by default: */
.home .tab {
    display: none;
}

/* Make circles that indicate the steps of the form: */
.home .step {
    height: 8px;
    width: 8px;
    margin: 0 2px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

    /* Mark the active step: */
    .home .step.active {
        opacity: 1;
    }

    /* Mark the steps that are finished and valid: */
    .home .step.finish {
        background-color: #4CAF50;
    }

.home .linea, .home .tipologia-abbonamento, .home .fermata, .home .data-inizio-validita {
    border: 2px solid lightgray;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 128px;
    margin-top: 8px;
    margin-bottom: 8px;
    border-radius: 16px;
    box-sizing: border-box;
    border: 2px solid white;
    cursor: pointer;
    font-family: 'Oswald', Arial, sans-serif;
    position: relative;
    width: 100%;
    background: #ffffff;
    text-align: center;
    color: #000000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    padding: 8px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    margin: 16px 0 16px 0;
    min-width: 230px;
    max-width: 400px;
}

    .home .linea.selected {
        border: 2px solid #105fa5;
        transition: border linear .5s;
    }

.home .fermata {
    display: flex;
    flex-direction: column;
}

.home .fermata-container {
    display: flex;
    justify-content: center;
}

.home .tipologia-abbonamento {
    height: 96px;
}

.tipologia-abbonamento.selected, .fermata.selected, .data-inizio-validita.selected {
    border: 2px solid red;
}

.home .linea h3 span, .home .tipologia-abbonamento h3 span, .home .fermata h3 span, .home .data-inizio-validita h3 span {
    text-transform: initial;
}

.home .linea h3, .home .tipologia-abbonamento h3, .home .fermata h3, .home .data-inizio-validita h3 {
    text-transform: initial;
}

.home .buttons {
    margin: 8px 8px 8px 16px;
}

.riepilogo-title {
    margin-top: 24px;
    margin-bottom: 16px;
}

    .riepilogo-title .fa {
        margin-right: 8px;
    }

.riepilogo-content {
    font-size: 1.3em;
    font-weight: bold;
}

.fu {
    padding: 16px;
}

.linea {
    min-height: 148px;
    height: 148px;
}

    .linea h5 {
        font-size: large;
    }

    .linea p {
        color: #000000d9;
    }

    .linea .linea-bottom, .fermata .fermata-bottom {
        align-items: center;
        display: flex;
        align-content: center;
        justify-content: center;
    }

        .linea .linea-bottom p {
            margin: 0;
        }

.home .linee-container, .home .tipologie-container, .home .fermate-container, .home .inizio-validita-container {
    padding-top: 32px;
    padding-bottom: 64px;
    padding-left: 0px;
    padding-right: 0px;
}

.home-navbar-btn {
    color: white;
    border-color: white;
}

    .home-navbar-btn:hover, .home-navbar-btn:hover:focus, .home-navbar-btn:hover:active {
        background-color: transparent;
        border-color: white;
        color: white;
    }

.home #filtra_fermate_partenza, .home #filtra_fermate_destinazione {
    font-family: 'Muli', 'Helvetica', Arial, sans-serif;
    border-radius: 16px 0 0 16px;
    width: 50vw;
    min-width: 256px;
    max-width: 512px;
}

@media (max-width: 991px) {
    .main-panel > .content {
        padding-top: 8px;
    }
}

/*
 * Navbar
 */

.navbar {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.navbar-header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.navbar-brand {
    padding: 15px !important;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 !important;
    max-width: 80vw;
    text-overflow: ellipsis;
}

.navbar-actions-container {
    margin-left: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

/*
 * Start: home.aspx
 */
#login_rapido_container {
    margin-top: 8px;
    background: white;
    padding: 16px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    align-content: center;
    border-radius: 16px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

    #login_rapido_container h6 {
        text-transform: initial;
    }

.actions-bottom-navbar {
    background-color: #6c757d;
    padding: 8px 16px;
    display: block
}

/*
 * End: home.aspx
 */


/*
 * Start: separatori "flutter-style"
 */
.separator-20 {
    display: block;
    height: 20px;
}

.separator-40 {
    display: block;
    height: 40px;
}

.separator-60 {
    display: block;
    height: 60px;
}

.separator-80 {
    display: block;
    height: 80px;
}
/*
 * End: separatori "flutter-style"
 */


/*
 * Start: profilo generale
 */
#top-buttons {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
    padding: 4px;
    text-align: right;
}

    #top-buttons .btn {
        margin-left: 4px;
        margin-right: 4px;
    }

/*
 * End: home.aspx
 */


/*
 * Start: carrello
 */
.carrellobtn {
    text-align: center;
    display: inline-block;
    color: red;
    font-weight: bold;
    border-radius: 16px;
    border: 1px solid red;
    height: 20px;
    width: 20px;
    font-size: 12px;
    padding: 2px;
    line-height: 14px;
    position: absolute;
    top: 6px;
    left: 12px;
    background: red;
    color: white;
    box-sizing: border-box;
    margin-left: 2px;
}

.carrello-navbar .carrello {
    background: red;
    color: white;
    border-radius: 16px;
    width: 16px;
    height: 16px;
    line-height: 12px;
    font-size: 10px;
    padding: 2px;
    position: absolute;
    right: -10px;
    top: -8px;
    text-align: center;
    font-style: initial;
    font-weight: bold;
    opacity: .95;
}
/*
 * End: carrello
 */

.btn_privacy .btn_cookie_policy {
    margin: 0;
}

.nav-bottom {
    position: fixed;
    bottom: 10px;
    width: 260px;
}

    .nav-bottom li > a {
        margin: 0px !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
        padding-top: 0px !important;
        padding-bottom: 10px !important;
    }

.mtm-30 {
    margin-top: -30px !important;
}

/*
 * START: customizzazione modal
 */

.modal-bg-color {
    background-color: #f4f3ef !important;
}

.modal .modal-title {
    display: inline-block;
}
/*
 * END: customizzazione modal
 */



/*
 * START: personalizzazione utenti/abbonamenti
 */

#suggerimento_abbonamento_qr_code {
    color: white;
    margin-top: 16px;
}

    #suggerimento_abbonamento_qr_code strong {
        color: white;
    }

.row.equal {
    display: flex;
    flex-wrap: wrap;
}

.elenco_abbonamenti {
    margin-top: 32px;
}

    .elenco_abbonamenti .card, .elenco_abbonamenti .card-abbonamento {
        padding: 32px;
    }

        .elenco_abbonamenti .card-abbonamento .buttons {
            margin: 8px;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-around;
        }

        .elenco_abbonamenti .card-abbonamento .stato-abbonamento {
            display: block;
            margin-top: 16px;
            margin-bottom: 16px;
            text-align: center;
            font-weight: bold;
            font-size: 1.2em;
        }
/*
 * END: personalizzazione utenti/abbonamenti
 */

/*
 * START dichiarazione covid
 */

.autodichiarazione-covid .must-scroll-div-container {
    float: left;
    width: 100%;
    height: 300px;
    overflow: auto;
    border: 1px solid lightgray;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    margin-bottom: 16px;
}

.autodichiarazione-covid .must-scroll-div-content {
    float: left;
}

/*
 * END dichiarazione covid
 */

.img-preview {
    max-width: 128px;
    max-height: 128px;
}
