p {
    color: #575757;
    line-height: 24px;
}

a {
    color: #575757;
}
a:focus,
a:hover {
    color: #FF965A;
}

/** Container Custom **/
@media (min-width: 992px) {
    .container-lg {
        max-width: 960px !important;
    }
}
.container-lg.container-600 {
    max-width: 600px !important;
}
.alert.container-600 {
    max-width: 600px;
    margin: 0 auto;
}

/** Background **/
.bg-image {
    background-image: url('/html/assets/images/bg-tabb.png');
    background-repeat: no-repeat;
    background-size: auto;
    background-position: top;
    background-color: #f8f8f8;
}
/** Header **/
.header-nav {
    background: #fff;
    -webkit-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.1); 
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.1);
    padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);
    z-index: 100;    
}

.navbar-toggler {
    border: none;
}
.icon-circle-nav {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.1); 
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.1);
    margin-right: 20px;
}
.navbar.navbar-sustance .navbar-collapsable .navbar-nav li a.nav-link {
    color: #575757 !important;
    font-size: 20px;
    line-height: 31px;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
}
/* .section-servizi {
    padding-top: 50px;
    padding-bottom: 30px;
} */
/** Typography **/

h1.main-title {
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 24px;
    color: #575757;
    text-align: center;
}
h2.main-title {
    font-size: 20px;
    line-height: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #575757;
    text-align: center;
}
/** Box Servizio **/
.btn-box {
    text-decoration: none;
}
.box-servizio {
    background-color: #fff;
    border-radius: 6px;
    text-align: center;
    padding: 40px 50px;
    height: 100%;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1); 
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
}
.box-servizio .img-box {
    margin-bottom: 15px;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-servizio h2 {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 10px;
    color: #575757;
}



.box-servizio p {
    margin-bottom: 20px;
    color: #575757;
}

.btn-arrow span {
    color: #575757;
    font-weight: 700;
    letter-spacing: 0.48px;
}

/** Section Mappa **/
.section-risultati,
.section-servizi,
.section-mappa {
    display: flex;    
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
}
.section-risultati main,
.section-servizi main,
.section-mappa main {
    flex-grow: 1;
    display: flex;    
    flex-direction: column;
}
.section-servizi main {
    padding: 30px 0;
}

#map {
    flex-grow: 1;
    z-index: 10;
}
/* .h-map2 #map {
    height: calc( 100vh - 470px);
} */
.box-ricerca {
    background-color: #fff;
    padding: 30px 0;
    bottom: 0;
    z-index: 10;
    width: 100%;
}
.logo-desktop {
    display: none;
    width: 100%;
    height: auto;
}
/* 
.nav-item {
 display: flex;
} */
@media (min-width: 992px) {
     /* .header-nav {
        overflow-y: auto;
    } */
    .section-risultati,
    .section-servizi,
    .section-mappa { 
        flex-direction: row;
    }
    .section-risultati main,
    .section-servizi main,
    .section-mappa main {
        flex-direction: row;
    }
    .section-servizi main {
        padding: 80px 0 30px;
    }
    /* .section-servizi .it-header-navbar-wrapper {
        height: 100vh;
    } */
    .section-risultati,
    .section-servizi {
        height: 100%;
        min-height: 100vh;
    }
    #map {
        width: 100%;
    }
    .box-ricerca {
        width: auto;        
        min-width: 360px;
        padding: 80px 30px 40px;
    }
    .logo-mobile {
        display: none;
    }
    .logo-desktop {
        display: block;
        margin-bottom: 40px;
    }
    .navbar-expand-lg .navbar-nav {
        flex-direction: column;
        margin-right: auto;
    }
    .navbar-expand-lg {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 280px;
    }
    .it-header-navbar-wrapper .container-lg {
        padding: 80px;
        /* height: 100%; */
    }
    .section-risultati .it-header-navbar-wrapper .container-lg,
    .section-servizi .it-header-navbar-wrapper .container-lg {
        position: sticky;
        top: 0;
    }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .box-ricerca {
        min-width: 320px;
    }
    .navbar-expand-lg {
        width: 230px;
    }
}
@media screen and (max-width: 1399px) and (min-width: 992px) {
    .it-header-navbar-wrapper .container-lg {
        padding: 80px 30px 30px 30px;
    }
    
}
.form-group {
    margin-bottom: 40px;
}
.form-group label {
    color: #575757;
}
input[type=date], input[type=datetime-local], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], textarea {
    border-bottom: 1px solid #575757;
} 
.btn-ricerca {
    border-radius: 6px;
    border: 2px solid #FF965A;
    background-color: #FF965A;
    color: #000;
    font-weight: 700;
    padding: 10px;
    width: 100%;
    margin: 10px 0;
}
/* .btn:disabled,
fieldset:disabled .btn   */
.btn.disabled {
    color: #000;
    background-color: #FF965A;
    border-color: #FF965A;
}
/* .btn-ricerca:hover,
.btn-ricerca:focus,
.btn-ricerca:active {
    background-color: #FFC09C!important;
    color: #000!important;
} */
.btn-ricerca:hover,
.btn-ricerca:focus,
.btn-ricerca:active {
    border: 2px solid #FF965A;
    background-color: #fff !important;
    color: #000!important;
}
.set-point {
    gap: 14px;
}
.btn-set-fermata {
    border-radius: 6px;
    border: 2px solid #FF965A;
    background-color: #FF965A;
    color: #000;
    font-weight: 700;
    padding: 5px 10px;
    width: 100%;
    margin: 0;
}
.btn-set-fermata:hover,
.btn-set-fermata:focus,
.btn-set-fermata:active {
    border: 2px solid #FF965A;
    background-color: #fff !important;
    color: #000!important;
}
@media (max-width: 991px) {
    .btn-ricerca:hover,
    .btn-ricerca:focus,
    .btn-ricerca:active,
    .btn-set-fermata:hover,
    .btn-set-fermata:focus,
    .btn-set-fermata:active {
        border: 2px solid #FF965A !important;
        background-color: #FF965A !important;
        color: #000!important;
    }
    /* .header-nav {
        overflow-y: auto;
    } */
}
.form-text {
    width: 100%;
    color: #575757;
}

.search-topbar-txt {
    display: flex;
    align-items: baseline;   
}
.search-topbar-txt p {
    margin-bottom: 0;
}
.topbar-risultati-txt svg,
.search-topbar-txt svg {
    margin: 0 10px;
}
.search-topbar {
    position: relative;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1); 
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
    z-index: 10;
}

.mb-30 {
    margin-bottom: 30px;
}
.form-check [type=checkbox]+label, .form-check [type=radio]+label {
    font-weight: 400;
}

.input-group .input-group-text {
    padding-right: .25rem;
}


.topbar-risultati {
    background-color: #fff;
    padding: 30px 15px 15px;
}
.topbar-risultati-txt {
    display: flex;
    align-items: baseline;   
}
.topbar-risultati-box .topbar-risultati-txt {
    align-items: center;   
}
.topbar-risultati-txt p {
    margin-bottom: 0;  
}
.topbar-risultati-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 7px;
}
/** Sponsor */
.sponsor-cont {
    padding: 30px;
    max-width: 400px;
}
.sponsor-cont p {
    /* text-align: center; */
    margin: 20px 0 15px;
    padding-left: 5px;
}
.sponsor-row {
    display: flex;
    gap: 20px;
}
.sponsor-box {
    /* width: 50%; */
}
.sponsor-box img {
    width: 100%;
}
@media (min-width: 992px) {
    .it-header-navbar-wrapper nav .navbar-collapsable .menu-wrapper {
        flex-direction: column;
    }
    .sponsor-cont {
        padding: 50px 0 0 0;        
    }
}

/** Alert Info **/
.alert-info {
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20d%3D%22M2203.25%2C3521.25a10%2C10%2C0%2C1%2C1%2C10-10A10.011%2C10.011%2C0%2C0%2C1%2C2203.25%2C3521.25Zm0-18.6a8.6%2C8.6%2C0%2C1%2C0%2C8.6%2C8.6A8.614%2C8.614%2C0%2C0%2C0%2C2203.25%2C3502.645Zm.7%2C12.791v-4.252a.7.7%2C0%2C0%2C0-1.4%2C0v4.252a.7.7%2C1%2C0%2C0%2C1.4%2C0Zm.251-7.442a.931.931%2C0%2C0%2C0-.93-.93h-.009a.93.93%2C0%2C1%2C0%2C.939.93Z%22%20transform%3D%22translate(-2193.25%20-3501.25)%22%20fill%3D%22%23d9364f%22/%3E%3C/svg%3E');

    border-left: 3px solid #D9364F;
    margin-top: 20px;
    
}
.alert {
    padding: 12px 15px;
    margin-bottom: 10px;
    border-right: none;
    border-top: none;
    border-bottom: none;
    padding-left: 40px;
    
    color: #656565;
    background-position: 12px 15px;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1); 
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
}

hr {
    color: #D9D9D9;
    opacity: 1;
}


.box-risultato {
    background-color: #fff;
    border-radius: 6px;
    text-align: center;
    padding: 10px;
    height: 100%;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1); 
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.1);
}
.box-risultato hr {
    margin-top: 8px;
    margin-bottom: 15px;
}
.box-risultato hr:nth-of-type(2) {
    margin-top: 8px;
    margin-bottom: 8px;
}
.risultato-footer p,
.risultato-topbar p {
    font-size: 14px;
    line-height: 30px;
    font-weight: 700;
    color: #575757;
    margin-bottom: 0;
}
.risultato-body-l,
.risultato-body-r {
    width: 30%;
}
.risultato-body-l p,
.risultato-body-r p {
    color:#575757;
    font-weight: 600;
}
.risultato-body-l p {
    text-align: left;
}
.risultato-body-r p {
    text-align: right;
}
.risultato-body-l p:first-child,
.risultato-body-r p:first-child {
    color:#575757;
    font-weight: 700;
    font-size: 28px;
    line-height: 24px;
    margin-bottom: 10px;
}
.risultato-body-c {
    width: 40%;
}
.risultato-body-c p {
    display: flex;
    align-items: center;
    text-align: center;
    color: #575757; 
  }

  .risultato-body-c p:before,
  .risultato-body-c p:after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #575757;
    margin: 0 10px;
  }
  .per-30 {
    width: 30%;
  }
  .per-40 {
    width: 40%;
  }

  .prenotazione-icon {
    padding: 100px ;
  }

  .white-box {
    background-color: #fff;
    border-radius: 6px;
    margin: 0 10px 20px;
    padding: 18px 28px;
  }
  .white-box p {
    margin-bottom: 0;
    color: #575757;
  }

  .big-logo {
    margin-top: 50px;
    margin-bottom: 20px;
  }
  .bus-logos img {
    margin-left: 16px;
    margin-right: 16px;
    mix-blend-mode: multiply;
  }

  /** Login **/

  .login-box {
    background-color: #fff;
    padding-bottom: 20px;
    position: absolute;
    width: 100%;
    bottom: 0;
    overflow-x: clip;
  }

  .login-box h1.main-title {
    margin-bottom: 40px;
  }
  
  .login-box.no-header {
    background-color: #fff;
    padding-top: 30px;
    padding-bottom: 20px;
    position: relative;
    width: 100%;
    height: 100vh;
    overflow-x: unset;
  }
  .curved {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 140%;
    height: 200px;
    background-color: white;
    border-radius: 100% 100% 0 0;
    z-index: -1;
  }
.input-group-text.text-danger, 
input.text-danger {
    border-bottom: 1px solid rgb(var(--bs-danger-rgb));
}

/* .leaflet-control-container {
    display: none;
} */

/* Applica il filtro scala di grigi solo agli elementi di mappa */
.leaflet-map-pane > .leaflet-tile-pane {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.leaflet-popup-pane,
.leaflet-marker-pane,
.leaflet-cluster-pane {
    -webkit-filter: none;
    filter: none;
}

    @media (min-width: 992px) {


        /* .navbar .navbar-collapsable .navbar-nav li.nav-item {
                display: list-item;
        }

        .navbar .navbar-collapsable .navbar-nav li.nav-item a.nav-link {
            display: block;
            font-weight: 600;
            padding: 13px 24px;
            color: #575757;
            border-bottom: none;
        }

        .it-header-navbar-wrapper nav .navbar-collapsable .menu-wrapper .navbar-nav {
            padding: 24px 0 0;
            overflow: hidden;
        }
        .navbar .navbar-collapsable .menu-wrapper {
            background: #fff;
            position: absolute;
            top: 0;
            bottom: 0;
            right: 48px;
            left: 0;
            pointer-events: all;
            overflow-y: auto;
            transform: translateX(-100%);
            transition: all .2s cubic-bezier(0.29, 0.85, 0.5, 0.99);
            z-index: 5;
        }

        .navbar .close-div {
            display: block;
        }
        .navbar .navbar-collapsable {
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            bottom: 0;
            z-index: 100;
            display: none;
            width: 100%;
        }

        .navbar-expand-lg .navbar-toggler {
            display: flex;
        }

        .navbar {
            background: #fff;
            padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);
        } */

    }

    .leaflet-popup-content {
        margin: 10px;
    }
    .leaflet-popup-content p {
        font-size: 16px;
        margin-bottom: 10px;
        margin-top: 20px;
    }

    .leaflet-popup-content-wrapper {
        border-radius: 6px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .navbar .navbar-collapsable {
        z-index: 100;
    }

    /* @media (min-width: 1400px) {
        .navbar-expand-lg .navbar-toggler {
            display: inline-block;
        }
    } */


    /* @media (min-width: 992px) {
        .it-header-navbar-wrapper .navbar .navbar-collapsable {
            display: none !important;
        }
    } */

    /* Nasconde l'icona predefinita del browser */
    #ipt-orario-prenotazione::-webkit-calendar-picker-indicator,
    #ipt-data-prenotazione::-webkit-calendar-picker-indicator {
        display: none;
    }

    /** Pulsante gps **/
    .gps-active {
        display: none;
    }
    .gps-enabled .gps-deactive {
        display: none;
    }
    .gps-enabled .gps-active {
        display: inline-block;
    }

    .btn-gps,
    .btn-gps:hover,
    .btn-gps:focus,
    .btn-gps:active {
        padding: 10px;
        background-color: #fff;
        color: #575757!important;
        border: 2px solid #FF965A;
        border-radius: 24px;
        position: absolute;
        z-index: 1000;
        bottom: 15px;
        left: 15px;
    }

/* Stili applicati solo in modalità landscape */
@media only screen and (orientation: landscape) and (max-width: 991px) {
    #map {
        height: 240px;
    }
}

.select-wrapper-passeggeri {
    width: calc(100% - 28px);    
}

.select-wrapper-passeggeri select {
    color: #5d7083;
    font-weight: 400;
}

/** Card Notifiche **/
.card-notifiche {
    background-color: #fff;
    border-radius: 6px;
    text-align: left;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
}
.card.card-notifiche .card-body {
    padding: 15px;
}
.modal .modal-dialog .modal-content.modal-notifiche .modal-title.h5,
.card.card-notifiche .card-body .category-top {
    font-size: 14px;
    font-weight: 700;
    line-height: 30px;
    color: #575757;
    margin-bottom: 6px;
}
.modal-notifiche .modal-body .h5,
.card.card-notifiche .card-body h5.card-title, .card.card-notifiche .card-body .card-title.h5 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    color: #575757;
    margin-bottom: 2px;
}

.card.card-notifiche .card-body .card-text {
    font-family: var(--bs-body-font-family);
    font-size: 16px;
    line-height: 24px;
    color: #575757;
    margin-bottom: 0;
}
.card-notifiche a.read-more .icon, 
.card-notifiche a:hover.read-more .icon {
    fill: #575757;
}
.card-notifiche a.read-more,
.card-notifiche a.read-more:focus {
    color: #575757;
}
.modal-notifiche {
    background-color: #fff;
    border-radius: 6px;
    text-align: left;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);
}

.card-wrapper {
    padding-bottom: 0;
}
.modal .modal-dialog .modal-content.modal-notifiche .modal-body {
    padding: 24px;
    padding-top: 0;
}


#clear-partenza,
#clear-arrivo {
    display: none;
}

#clear-partenza.show,
#clear-arrivo.show {
    display: inline-block;
}

.box-attesa {
    background-color: #F7F7F7;
    border-radius: 6px;
    width: 100%;   
    margin-bottom: 1rem;
}
.box-attesa p {
    font-size: 14px;
    font-weight: 700;
    line-height: 30px;
    color: #575757;
    margin-bottom: 0;
}

.collapsing {
    -webkit-transition: none;
    transition: none;
}

.soft-disabled {
    background-color: #ececec;
    /* color: #fff; */
    border-color: #ececec;
}

.soft-active {
    background-color: #DDDCDB;;
    /* color: #fff; */
    border-color: #DDDCDB;;
}

.table-text-sm th {
    font-size: 16px;
}
.table-text-sm td {
    font-size: 16px;
}