:root {
    --font: #3E3F40; /* FONT #3E3F40 */
    --font2: #000000; /* NERO */
    --color1: #FFC107; /* ARANCIO #F6A337  #F6CC36 */
    --color2: #074164; /* BLU #0A476A */
    --color3: #CCCCCC; /* GRIGIO #CCCCCC */
    --color4: #FEF7ED; /* ARANCIO CHIARO #FEF7ED */
    --color5: #ECF7FD; /* BLU CHIARO #ECF7FD */
}

body {
    background: #eaeded;
}

/* COMMON */
.body {
    color: var(--color1);
}

.color1 {
    color: var(--color1);
}

.color2 {
    color: var(--color2);
}

a.color1:hover {
    color: var(--color2);
}

a.color2:hover {
    color: var(--color1);
}

.attivo {
    background: var(--color1);
    padding: 0 1%;
}

p {
    display: inline-block;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    padding: 3px 10px 0 10px
}

h1, h2 {
    font-size: 16px;
}

h3 {
    font-size: 15px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 13px;
}

table {
    width: 100%;
}

table, td, th {
    border: none;
}

select {
    background: #FFF;
    border: 1px solid #CCC !important
}

    select::-ms-expand {
        display: none;
    }

input[type="text"], input[type="password"], textarea {
    background: #FFF;
    border: 1px solid #CCC
}

input[type=date]::-webkit-inner-spin-button, input[type=date]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

li {
    list-style: none;
}

.f-12 {
    font-size: 12px
}

.f-13 {
    font-size: 13px
}

.f-14 {
    font-size: 14px
}

.f-18 {
    font-size: 18px
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-middle {
    vertical-align: middle;
}

.text-bold {
    font-weight: bold;
}

.w-100 {
    width: 100%;
}

.w-25 {
    width: 24%;
}

.w-50 {
    width: 50%;
}

.offset-top-10 {
    margin-top: 10px;
}

.offset-top-20 {
    margin-top: 20px;
}

.offset-bottom-10 {
    margin-bottom: 10px;
}

.offset-bottom-20 {
    margin-bottom: 20px;
}

.margin-auto {
    margin: 0 auto;
}

.m-l-5 {
    margin-left: 5px;
}

.m-l-10 {
    margin-left: 5px;
}

.m-r-5 {
    margin-right: 5px;
}

.m-r-10 {
    margin-right: 5px;
}

.p-l-30 {
    padding-left: 30px
}

.p-r-5 {
    padding-right: 5px
}

.d-inline-block {
    display: inline-block
}

.d-none {
    display: none
}

.content-plu, .footer-plu {
/*    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 0 !important*/
}

.content-plu {
    background: #EAEDED
}

.container {
/*    margin: 0;
    padding: 0px;
    width: 100%;
    max-width: 2000px;*/
}

#navig {
    width: 100%;
    height: 46px;
    margin-bottom: 20px;
    color: #fff;
    border-left: none;
    background: var(--color2);
    border: 1px solid #ccc;
}

    #navig ul {
        margin: 0;
        padding: 0;
    }

        #navig ul li {
            width: 16.666%;
            border-left: 1px solid #fff;
            border-right: 1px solid #ccc;
            float: left;
            text-align: center;
        }

            #navig ul li:first-child {
                border-left: none;
            }

            #navig ul li a {
                display: block;
                text-decoration: none;
                color: #fff;
                padding: 10px 0;
            }

#navigResp {
    display: none;
    text-align: center;
    margin-bottom: 10px;
}

.navig-select {
    background: var(--color2) !important;
    color: #FFF !important;
}

    .navig-select option {
        background: #FFF !important;
        color: var(--color2) !important;
    }

.btn {
    background: var(--color1);
    color: var(--color2);
    font-size: 15px;
}

    .btn:hover {
        background: var(--color2) !important;
        color: #FFF;
    }

@media (max-width: 700px) {
    #navigResp {
        display: block;
    }

    #navig {
        display: none
    }
}

.messaggi {
    width: 100%;
    background: var(--color2);
    padding: 1rem;
    font-size: 13px;
    margin-top: 20px;
    color: #fff;
}

.trattaA, .trattaR {
    font-size: 13px;
    margin-right: 0;
    margin-left: 0;
}

.trattaA {
    background: var(--color4);
}

.trattaR {
    background: var(--color5);
}
/*.trattaR { background:var(--color5); }*/

.borderRed {
    border-color: #8C0000 !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 6px #ce8483 !important;
}

.borderGreen {
    border-color: #3c763d !important;
}

.ckborderRed input {
    border-color: #8C0000 !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 6px #ce8483 !important;
}

.ckborderGreen input {
    border-color: #3c763d !important;
}

.table-dotted td {
    border-top: 1px dotted #CCC !important;
    padding: 3px;
}

.td-dx {
    text-align: right !important;
    width: auto;
}

.aspNetDisabled {
    background: #CCC !important;
}

.errore {
    color: red;
}

.tbRight {
    text-align: right;
    padding-right: 3px;
    width: 50px;
}

.copia {
    margin: 10px 0
}

.selNazione, .selAlimentazione {
    max-width: 200px;
}

.range > .cell-xl-4 {
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
}

.range > .cell-xl-8 {
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
}

.range > .cell-xl-12 {
    -webkit-flex-basis: 100%;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    max-width: 100%;
}

@media (min-width: 1200px) {
    .range > .cell-xl-8 {
        -webkit-flex-basis: 80%;
        -ms-flex-preferred-size: 80%;
        flex-basis: 80%;
        max-width: 80%;
    }

    .range > .cell-xl-4 {
        -webkit-flex-basis: 20%;
        -ms-flex-preferred-size: 20%;
        flex-basis: 20%;
        max-width: 20%;
    }
}

@media (min-width: 1800px) {
    .range > .cell-xl-8 {
        -webkit-flex-basis: 66.66667%;
        -ms-flex-preferred-size: 66.66667%;
        flex-basis: 66.66667%;
        max-width: 66.66667%;
    }

    .range > .cell-xl-4 {
        -webkit-flex-basis: 33.33333%;
        -ms-flex-preferred-size: 33.33333%;
        flex-basis: 33.33333%;
        max-width: 33.33333%;
    }
}

/* OVERLAY */
.loader2 {
    border: 16px solid var(--color1);
    border-radius: 50%;
    border-top: 16px solid var(--color2);
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    position: fixed;
    top: calc(50% - 60px);
    left: calc(50% - 60px);
    z-index: 11;
}

.overlay2 {
    width: 100%;
    height: 100%;
    position: absolute !important;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    z-index: 10001;
    background: none;
    filter: alpha(opacity=60);
    -moz-opacity: .60;
    opacity: .60;
}

.msgBox {
    background-image: url("../../images/msgBox.webp");
    border-radius: 6px;
    box-shadow: 0 0 11px #333;
    color: #333333;
    min-height: 160px;
    padding: 4px 10px;
    position: fixed;
    width: 430px;
    z-index: 100005;
    top: 50%;
    left: 50%;
    margin-left: -215px;
    margin-top: -80px;
}

.msgBoxImage {
    display: inline-block;
    float: left;
    height: 75px;
    margin: 20px 5px 0;
    width: 75px;
}

.msgBoxContent {
    display: inline-block;
    float: left;
    font-size: 11pt;
    min-height: 90px !important;
    margin: 15px 3px 6px;
    width: 319px;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(-360deg);
        -o-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(-360deg);
        -moz-transform: rotate(-360deg);
        -webkit-transform: rotate(-360deg);
        -o-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

.rotateicon {
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
    font-size: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
}


maincontent .fade {
    opacity: 0;
    transition: opacity .15s linear;
}

.primopiano {
    z-index: 1050;
}

.scalapaybanner {
    width: 70%;
    height: auto;
}

.scalapaydiv {
    text-align: center;
}

.scalapaydiv3 {
    margin-top: 20px;
}

.promotional-code {
    display: flex;
    flex-direction: row;
    gap: 20px;
    height: 35px;
    align-items: center;
    justify-content: flex-end;
}

    .promotional-code .box-codice {
        background: #FFF;
        width: 200px;
        margin: 0;
        height: 30px;
    }

    .promotional-code .bottoneapplica {
        background: var(--color1);
        color: white;
        border: 0;
        border-radius: 10px;
        height: 30px;
    }

.agenzie_bottoni #btn_continua {
    float: right !important;
    width: auto !important;
}

.agenzie_bottoni #btn_continua_sp {
    display: none !important;
}

.select2-container {
    margin-bottom: 5px !important;
}

.select2-selection__rendered {
    line-height: 32px !important;
}

.select2-selection--single {
    height: 37px !important;
    border: 1px solid #CCC !important;
    position: relative !important;
    left: 10px !important;
}

.select2-selection__arrow {
    height: 36px !important;
}

.select2-dropdown {
    left: 10px !important;
}

.ui-state-default {
    text-align: center !important;
    background-color: #bae1f2 !important;
}

.ui-datepicker-calendar td:not(.ui-datepicker-unselectable) .ui-state-default:not(.ui-state-active) {
    background-color: var(--color2) !important;
    color: white !important;
    font-weight: bold !important;
    border: 1px solid var(--color2) !important;
}

.ui-state-active {
    background-color: var(--color2) !important;
    outline: solid 2px var(--color1) !important;
    outline-offset: -2px !important;
    color: white !important;
    font-weight: bold !important;
}

/* SECTION HOME */
.ricerca-container {
    background-color: #f3f4f7;
    color: var(--font);
    padding: 25px 0;
/*    border-radius: 9px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;*/
}

.ricerca label.intro {
    display: inline-block;
    min-width: 20px;
    font-size: 16px
}

.std, .circ {
    vertical-align: top;
    height: 40px;
    text-align: left;
    line-height: 40px;
    font-size: 16px;
    position: relative;
    display: inline-block;
}

.std {
    padding-left: 10px;
}

.porti {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.btn_reverse {
    cursor: pointer;
    width: 5%;
    height: 40px;
    margin: 0 auto;
    display: inline-block;
    vertical-align: top;
    text-align: center;
}

.selezione {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    padding: 10px;
    background: none;
    text-indent: 0.01px;
    text-overflow: '';
    line-height: 16px;
    border: none;
    font-size: 16px;
    font-weight: bold;
    color: var(--color2) !important;
    display: inline-block;
    vertical-align: top;
}

.btn_return {
    cursor: pointer;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    vertical-align: middle;
    display: inline-block;
    width: 46%; /*width:44.3%;*/
}

    .btn_return .flag_off, .btn_return .flag_on {
        background-repeat: no-repeat;
        background-position: center;
        height: 40px;
        width: 40px;
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
    }

    .btn_return .flag_on {
        background-image: url("../../images/flag_on.webp");
    }

    .btn_return .flag_off {
        background-image: url("../../images/flag_off.webp");
    }

.ricerca .passeggeri, .ricerca .veicoli {
    width: 10%;
}

.input-date {
    width: 80%;
    max-width: 80%;
    background: #FFF !important;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid #d8d6d6 !important;
    margin-left: 8px;
}

.circuito {
    width: 50%;
    height: auto;
    margin: 0 auto;
}

.portoPartenza, .portoArrivo {
    width: 39%;
}

.dataTratta {
    width: 15%;
    right: 0;
    position: absolute;
}

.selTr {
    width: 71%;
    background: #FFF;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid #d8d6d6;
    margin-left: 5px;
}

.selTrDa {
    width: calc(100% - 35px);
    background: #FFF;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid #d8d6d6;
    margin-left: 5px;
}

.selTrA {
    width: calc(100% - 25px);
    background: #FFF;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid #d8d6d6;
    margin-left: 5px;
}

.selPass, .selVeicoli {
    width: 60%;
    text-align: center;
    background: #FFF;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    border: 1px solid #d8d6d6;
    margin-left: 5px;
}

.tratta {
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 15px;
    display: none
}

.nondisp {
    line-height: 30px;
    color: var(--color2) !important;
}

.condizioni {
    font-size: 14px;
    margin-top: 5px;
}

    .condizioni .checkbox {
        margin-right: 4px;
    }

@media (max-width: 480px) {
    .search .btn_return .flag_off, .search .btn_return .flag_on {
        width: 30px !important
    }

    .ricerca-container {
        padding: 15px
    }

    .circuito, .btn_return, .std {
        width: 100% !important;
    }

    .std, .btn_return {
        margin-bottom: 15px
    }

    .selTr, .std {
        display: block;
        padding-left: 0 !important
    }

    .selTr {
        margin-left: 0 !important;
        width: 98% !important;
    }

    .search .selTr {
        margin-left: 0 !important;
        width: 100% !important;
        padding-left: 8px !important;
    }

    .selTrDa {
        width: 88%;
    }

    .selTrA {
        width: 88%;
        margin-left: 14px;
    }

    .input-date {
        width: 85% !important;
        margin-right: 6px;
        margin-left: 15px
    }

    .search .input-date {
        width: 100% !important
    }

    .btn_reverse {
        display: none;
    }

    .tratta {
        display: block
    }

    .dataTratta {
        position: relative;
        padding-left: 0
    }

    .ricerca .passeggeri, .ricerca .veicoli {
        width: 50% !important
    }

    .search .passeggeri, .search .veicoli {
        width: 100% !important
    }

    .selNazione, .selAlimentazione {
        max-width: 100% !important;
    }

    .select2-selection--single {
        left: 0 !important;
    }

    .text-right.search-btn, .btn_return {
        text-align: center
    }
}

@media (max-width: 1400px) {
    .ricerca .passeggeri, .ricerca .veicoli {
        width: 15%;
    }

    .dataTratta {
        width: 21%;
        padding-left: 5px
    }

    .portoPartenza, .portoArrivo {
        width: 36%;
    }

    .circuito {
        width: 57%;
    }

    .input-date {
        max-width: 80%;
    }

    .btn_return {
        width: 41.3%;
    }

    .selTr {
        width: 65%
    }
}

.home select, .home input[type="text"], .home input[type="date"] {
    margin-bottom: 0 !important;
    vertical-align: top !important
}

.home .datetimepicker th, .home .datetimepicker td, .home .datetimepicker tr {
    background: none;
    color: #333;
    font-size: 13px;
}

.home .form_date .form-control[readonly] {
    background-color: #FFFFFF
}

.home .logocompagnia {
    width: auto;
    height: 40px;
}

.home .table {
    width: 100%;
    border-collapse: collapse;
}

.home tr:nth-of-type(even) {
    background: #ddd;
}

.home td, .home th {
    padding: 6px;
    text-align: left;
    vertical-align: middle;
}

.home tr.selected-row {
    background: LightGoldenrodYellow !important
}

.home span.selezionato input[type="radio"] + label.radio_inner {
    border-radius: 50%;
    content: "";
    height: 6px;
    left: 50%;
    position: absolute;
    top: 50%;
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 6px;
    background: #333333;
}

@media (max-width: 767px) {
    /*.home .result table, .result thead, .home .result .HeaderStyle, .home .result tbody, .home .result th, .home .result td, .home .result tr { display: block; }*/
    .home .result table {
        border: none;
    }

    .home .result thead tr, .home .result tr.HeaderStyle {
        position: absolute;
        top: -9000px;
        left: -9000px;
    }

    .home .result tr {
        border: 1px solid #ccc;
    }

    .home .result td {
        border: none;
        position: relative;
        padding-left: 50%;
    }

    .home tr:nth-of-type(even) {
        background: var(--color1);
    }

        .home tr:nth-of-type(even) td {
            color: #FFF;
        }

    .home tr.selected-row td {
        color: var(--font) !important
    }

    .home .result td:before {
        position: absolute;
        width: 45%;
        padding-right: 10px;
        top: 6px;
        left: 6px;
    }

    .home .result td:nth-of-type(1):before {
        content: "Seleziona";
    }

    .home .result td:nth-of-type(2):before {
        content: "";
    }

    .home .result td:nth-of-type(3):before {
        content: "Partenza";
    }

    .home .result td:nth-of-type(4):before {
        content: "Arrivo";
    }

    .home .result td:nth-of-type(5):before {
        content: "Compagnia";
    }

    .home .result td:nth-of-type(6):before {
        content: "Nave";
    }
}

/* SECTION PASSENGER */
.passenger select {
    margin-bottom: 0;
}

.passenger a {
    color: var(--color1)
}

.passenger h1 {
    margin-bottom: 20px;
}
/*.passenger .trattaA tr { background: var(--color4); }*/
/*.passenger .trattaR tr { background: var(--color5); }*/
.passenger table {
    width: 100%;
    border-collapse: collapse;
}
/*.passenger td, .passenger th { padding: 6px; text-align: left; vertical-align:middle;}*/
.passenger .result {
    border-bottom: 1px solid #CCC;
    padding: 10px 0;
}

.passenger .rblAss {
    width: 15%
}

    .passenger .rblAss label {
        display: inline;
        margin-left: 0px !important;
        color: #FFF
    }

    .passenger .rblAss span, .passenger .rblAss input {
        margin-right: 10px !important
    }
/*.quote .rblAss { width:15%}*/
.quote .rblAss label {
    display: inline;
    margin-left: 0px !important;
    color: #FFF
}

.quote .rblAss span, .passenger .rblAss input {
    margin-right: 10px !important
}

@media (max-width: 767px) {
    /*    .passenger tr:nth-of-type(even) { background: var(--color1); }
    .passenger tr:nth-of-type(even) td { color: #FFF; }
    .passenger .trattaA tr:nth-of-type(odd) { background: var(--color4); }
    .passenger .trattaR tr:nth-of-type(odd) { background: var(--color5); }
    .passenger tr:nth-of-type(odd) td { color:var(--color1); }
	.passenger .result table, .passenger .result thead, .passenger .result .HeaderStyle, .passenger .result tbody, .passenger .result th, .passenger .result td, .passenger .result tr { display: block; }
	.passenger .result table {border:none;}
	.passenger .result thead tr, .passenger .result tr.HeaderStyle { position: absolute;top: -9999px;left: -9999px;}
	.passenger .result tr { border: 1px solid #ccc; }
	.passenger .passenger .result td { border: none;position: relative;}
	.passenger .result td:before { position: relative;width: 100%; display:block;margin-bottom:5px;}
	.passenger .pass td:nth-of-type(1):before { content: "Tipo di sistemazione"; }
    .passenger .pass td:nth-of-type(2):before { content: "Passeggero"; }
	.passenger .pass td:nth-of-type(3):before { content: "Occupazione"; }
    .passenger .servizi td:nth-of-type(1):before { content: "Tipo di servizio"; }
    .passenger .veicoli td:nth-of-type(1):before { content: "Tipo di veicolo"; }
    .passenger .veicoli td:nth-of-type(2):before { content: "Marca"; }
	.passenger .veicoli td:nth-of-type(3):before { content: "Modello"; }
    .passenger .animali td:nth-of-type(1):before { content: "Tipo di accessorio"; }*/
}

/* SECTION QUOTE */
.quote h2 {
    background: var(--color3);
    /*padding: 5px;*/
    padding: 1rem;
}

.quote select {
    margin-bottom: 0;
}

.quote a {
    color: var(--color1)
}

.quote h1 {
    margin-bottom: 20px;
}

.quote h5 {
    margin-bottom: 10px;
}

.quote .messaggi .totali {
    font-size: 20px;
    text-align: right;
    margin: 0;
}

.quote .tdQta {
    width: 10%;
}

.quote table {
    width: 100%;
    border-collapse: collapse;
}

.quote .trattaA tr {
    background: var(--color4);
}

.quote .trattaR tr {
    background: var(--color5);
}

.quote td, .quote th {
    text-align: left;
    vertical-align: middle;
}

.quote .result {
    padding: 10px 0;
}

@media (max-width: 767px) {
    /*.quote .result table, .quote .result thead, .quote .result .HeaderStyle, .quote .result tbody, .quote .result th, .quote .result td, .quote .result tr { display: block; }*/
    .quote .result table {
        border: none;
    }

    .quote .result thead tr, .quote .result tr.HeaderStyle {
        top: -9000px;
        left: -9000px;
        position: absolute;
    }

    .quote .result tr {
        border: 1px solid #ccc;
    }

    .quote .result td {
        border: none;
        position: relative;
    }

        .quote .result td:before {
            position: relative;
            width: 100%;
            display: block;
            margin-bottom: 5px;
        }
    /*    .quote tr:nth-of-type(even) { background: var(--color1); }
    .quote tr:nth-of-type(even) td { color: #FFF; }
    .quote tr:nth-of-type(odd) { background: #FFF; }
    .quote tr:nth-of-type(odd) td { color:var(--font); }*/
    .quote .pass tr:nth-of-type(1) td:nth-of-type(1) {
        width: 100%;
    }

    .quote .pass tr:nth-of-type(1) td:nth-of-type(2) {
        display: none
    }

    .quote .pass tr:nth-of-type(2) td:nth-of-type(1) {
        width: 75%;
        display: inline-block
    }

    .quote .pass tr:nth-of-type(2) td:nth-of-type(2) {
        width: 25%;
        display: inline-block
    }
    /*    .quote .veicoli tr:nth-of-type(1) td:nth-of-type(1) { width:10%; display:inline-block }
    .quote .veicoli tr:nth-of-type(1) td:nth-of-type(2) { width:65%; display:inline-block }
    .quote .veicoli tr:nth-of-type(1) td:nth-of-type(3) { width:25%; display:inline-block }
    .quote .veicoli tr:nth-of-type(2) td:nth-of-type(1) { width:10%; display:inline-block }
    .quote .veicoli tr:nth-of-type(2) td:nth-of-type(2) { width:65%; display:inline-block }
    .quote .veicoli tr:nth-of-type(2) td:nth-of-type(3) { width:25%; display:inline-block }*/
    .quote .spese td {
        width: 100% !important;
        padding-right: 10px
    }

    .quote .messaggi .totali {
        font-size: 16px;
    }

    .quote .table-dotted td {
        border: none !important
    }

    .quote td.p-l-30 {
        padding-left: 5px !important;
    }

    .quote #btn_indietro, .quote #btn_preventivo, .quote #btn_continua, .quote #btn_indietro input, .quote #btn_preventivo input, .quote #btn_continua input {
        width: 100% !important
    }

    .quote #btn_indietro, .quote #btn_preventivo, .quote #btn_continua {
        margin-bottom: 10px !important
    }

        .quote #btn_preventivo input {
            font-size: 10px !important;
            padding: 13px;
        }
}


/* SECTION DATA */
.data select, .data input[type="text"] {
    margin-bottom: 0;
    padding: 8px 4px
}

.data input[type="date"] {
    background: #FFF;
    border: 1px solid #CCC
}

.data a {
    color: var(--color1)
}

.data h1 {
    margin-bottom: 20px;
}

.data .trattaA tr {
    background: var(--color4);
}

.data .trattaR tr {
    background: var(--color5);
}

.data table {
    width: 100%;
    border-collapse: collapse;
}

.data td, .data th {
    padding: 6px;
    text-align: left;
    vertical-align: middle;
}

.data .result {
    border-bottom: 1px solid #CCC;
    padding: 10px 0;
}

@media (max-width: 767px) {
    .data .trattaA tr:nth-of-type(even) {
        background: var(--color1);
    }

    .data .trattaR tr:nth-of-type(even) {
        background: var(--color2);
    }

    .data tr:nth-of-type(even) td {
        color: #FFF;
    }

    .data .trattaA tr:nth-of-type(odd) {
        background: var(--color4);
    }

    .data .trattaR tr:nth-of-type(odd) {
        background: var(--color5);
    }

    .data tr:nth-of-type(odd) td {
        color: var(--color1);
    }
    /*.data .result table, .data .result .HeaderStyle, .data .result tbody, .data .result th, .data .result td, .data .result tr { display: block; }*/
    .data .result table {
        border: none;
    }

    .data .result tr.HeaderStyle {
        position: absolute;
        top: -9000px;
        left: -9000px;
    }

    .data table.griglia {
        border: 1px solid #ccc;
    }

    .data .result td {
        border: none;
        position: relative;
    }

        .data .result td:before {
            position: relative;
            width: 100%;
            display: block;
            margin-bottom: 5px;
        }

    .data .pass td.tdDati, .data .veicoli td.tdDati {
        display: none
    }

    .data .pass td.tdLabel, .data .veicoli td.tdLabel {
        color: var(--font);
    }

        .data .pass td.tdLabel.inp1:before {
            content: "Cognome";
        }

        .data .pass td.tdLabel.inp2:before {
            content: "Nome";
        }

        .data .pass td.tdLabel.inp3:before {
            content: "Data nascita";
        }

        .data .pass td.tdLabel.inp4:before {
            content: "Luogo nascita";
        }

        .data .pass td.tdLabel.inp5:before {
            content: "Sesso";
        }

        .data .pass td.tdLabel.inp6:before {
            content: "Nazione";
        }

        .data .pass td.tdLabel.inp7:before {
            content: "Tipo documento";
        }

        .data .pass td.tdLabel.inp8:before {
            content: "Numero documento";
        }

        .data .pass td.tdLabel.inp9:before {
            content: "Cure speciali";
        }

        .data .veicoli td.tdLabel.inp1:before {
            content: "Marca";
        }

        .data .veicoli td.tdLabel.inp2:before {
            content: "Modello";
        }

        .data .veicoli td.tdLabel.inp3:before {
            content: "Targa";
        }

        .data .veicoli td.tdLabel.inp4:before {
            content: "Nazione";
        }

        .data .veicoli td.tdLabel.inp5:before {
            content: "GPL";
        }
}


/* SECTION CONTACT */
.contact .pnlContatto {
    font-size: 14px;
}

.contact select, .contact input[type="text"] {
    margin-bottom: 0;
    padding: 8px
}

.contact a {
    color: var(--color1)
}

.contact h1 {
    margin-bottom: 20px;
}

.contact .trattaA tr {
    background: var(--color4);
}

.contact .trattaR tr {
    background: var(--color5);
}

.contact .impPag {
    text-align: center;
    padding: 10px 0;
    background: var(--color2);
    color: #FFF;
    font-size: 20px;
    line-height: 27px;
    margin-bottom: 10px;
}

.data .impPag {
    text-align: center;
    padding: 10px 0;
    background: var(--color2);
    color: #FFF;
    font-size: 20px;
    line-height: 27px;
    margin-bottom: 10px;
}

.contact .contatto {
    width: 110px;
    font-size: 14px;
}

.contact .formContatto {
    width: 378px;
    font-size: 14px;
}

.contact table {
    width: 100%;
    border-collapse: collapse;
}

.contact td, .contact th {
    padding: 6px;
    text-align: left;
    vertical-align: middle;
}

.contact .result {
    border-bottom: 1px solid #CCC;
    padding: 10px 0;
}

.contact .hydrated path, .contact .hydrated svg {
    filter: invert(99%) sepia(99%) saturate(0%) hue-rotate(117deg) brightness(105%) contrast(100%);
    fill: white !important;
}

@media (max-width: 767px) {
    /*.contact .result table, .contact .result .HeaderStyle, .contact .result thead, .contact .result tbody, .contact .result th, .contact .result td, .contact .result tr { display: block; }*/
    .contact .result table {
        border: none;
    }

    .contact .result tr.HeaderStyle, .contact .result thead tr {
        position: absolute;
        top: -9000px;
        left: -9000px;
    }

    .contact .result tr {
        border: 1px solid #ccc;
    }

    .contact .result td {
        border: none;
        position: relative;
    }

        .contact .result td:before {
            position: relative;
            width: 100%;
            display: block;
            margin-bottom: 5px;
        }

    .contact .pass td:nth-of-type(1):before {
        content: "Tipo di sistemazione";
    }

    .contact .pass td:nth-of-type(2):before {
        content: "Passeggero";
    }

    .contact .pass td:nth-of-type(3):before {
        content: "Occupazione";
    }

    .contact .servizi td:nth-of-type(1):before {
        content: "Tipo di servizio";
    }

    .contact .veicoli td:nth-of-type(1):before {
        content: "Tipo di veicolo";
    }

    .contact .veicoli td:nth-of-type(2):before {
        content: "Marca";
    }

    .contact .veicoli td:nth-of-type(3):before {
        content: "Modello";
    }

    .contact .animali td:nth-of-type(1):before {
        content: "Tipo di accessorio";
    }

    .contact .contatto {
        width: 100%;
        display: block;
        padding: 0 15px;
        color: var(--color1)
    }

    .contact .formContatto {
        width: 100%;
        display: block
    }
}

/* SECTION LANDING */
.landing body {
    background: var(--color2)
}

.landing article {
    min-height: 420px;
}

.landing select, .landing input[type="text"], .landing input[type="date"] {
    margin-bottom: 0 !important;
    vertical-align: top !important
}

.landing table {
    width: 100%;
    border-collapse: collapse;
}

.landing tr:nth-of-type(even) {
    background: #ddd;
}

.landing td, .landing th {
    padding: 6px;
    text-align: left;
    vertical-align: middle;
}

.landing span.selezionato input[type="radio"] + label.radio_inner {
    border-radius: 50%;
    content: "";
    height: 6px;
    left: 50%;
    position: absolute;
    top: 50%;
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 6px;
    background: #333333;
}

.landing .arancione {
    color: #ffa200;
    padding: 20px 20px 0 25px;
    font-weight: 700;
    font-size: 24px;
    font-family: "Montserrat", cursive !important;
}
/*.landing .bgLanding { background:rgba(40, 46, 60, 0.8); border-radius: 15px; font-family: "Montserrat", cursive !important; font-weight:400 !important }*/
.landing .bgLanding {
    background: rgba(40, 46, 60, 0.8);
    border-radius: 15px;
    font-family: "Heebo", sans-serif !important;
    font-weight: 400 !important
}

.landing .nav-custom-light .nav-custom-tab {
    background-color: transparent;
    color: #FFF;
}

.landing .nav-custom-tab.nav-custom-wide {
    padding: 20px;
}

.landing .selezione {
    font-weight: normal !important;
    color: var(--font) !important
}

.landing .btnLanding {
    background: #1E90FF !important
}

    .landing .btnLanding:hover {
        background: #ffa200 !important
    }

.landing .btn_reverse {
    display: none
}

.landing .passeggeriPartenza, .landing .veicoliPartenza {
    width: 17%;
}

.landing .std, .landing .btn_return, .landing .input-date, .landing .selezione {
    font-size: 13px !important;
}

    .landing .btn_return .flag_off_w {
        background-image: url(../../images/flag_off_w.webp);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 20px;
        height: 40px;
        width: 30px;
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
    }

    .landing .btn_return .flag_on_w {
        background-image: url(../../images/flag_on_w.webp);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 20px;
        height: 40px;
        width: 30px;
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
    }

.landing .selTr {
    width: 60%
}

@media (max-width: 767px) {
    .landing .orange tr:nth-of-type(even) {
        background: #EEEEEE !important;
    }

        .landing .orange tr:nth-of-type(even) td {
            color: var(--font) !important;
        }
    /*.landing .result table, .landing .result thead, .landing .result .HeaderStyle, .landing .result tbody, .landing .result th, .landing .result td, .landing .result tr { display: block; }*/
    .landing .result table {
        border: none;
    }

    .landing .result thead tr, .landing .result tr.HeaderStyle {
        position: absolute;
        top: -9000px;
        left: -9000px;
    }

    .landing .result tr {
        border: 1px solid #ccc;
    }

    .landing .result td {
        border: none;
        position: relative;
        padding-left: 50%;
    }

    .landing tr:nth-of-type(even) {
        background: var(--color1);
    }

        .landing tr:nth-of-type(even) td {
            color: #FFF;
        }

    .landing .result td:before {
        position: absolute;
        width: 45%;
        padding-right: 10px;
        top: 6px;
        left: 6px;
    }

    .landing .result td:nth-of-type(1):before {
        content: "Seleziona";
    }

    .landing .result td:nth-of-type(2):before {
        content: "";
    }

    .landing .result td:nth-of-type(3):before {
        content: "Partenza";
    }

    .landing .result td:nth-of-type(4):before {
        content: "Arrivo";
    }

    .landing .result td:nth-of-type(5):before {
        content: "Compagnia";
    }

    .landing .result td:nth-of-type(6):before {
        content: "Nave";
    }
}

/* SECTION AGENZIA*/
.agenzia .login, .agenzia .register {
    -webkit-flex-basis: 25%;
    -ms-flex-preferred-size: 25%;
    flex-basis: 30%;
    max-width: 45%;
    width: 45%;
    margin-right: 5%;
    float: left;
}

.agenzia .testata {
    background: #CCC;
    padding: 1rem;
}

.agenzia .sx {
    width: 50%;
    display: inline-block;
    font-weight: bold
}

.agenzia .dx {
    width: 48%;
    display: inline-block;
    text-align: right
}

.agenzia .btn {
    padding: 13px 25px;
}

.agenzia .formContatto {
    width: 378px;
    font-size: 14px;
}

.agenzia .pnlContatto {
    font-size: 14px;
}

.agenzia .contatto {
    width: 12%;
    font-size: 14px;
}

.agenzia select, .agenzia input[type="text"], .agenzia input[type="password"], .agenzia textarea, .agenzia input[type="date"] {
    margin-bottom: 0;
    padding: 8px
}

.agenzia select, .agenzia input[type="text"], .agenzia input[type="password"], .agenzia textarea, .agenzia input[type="date"] {
    margin-bottom: 0;
    padding: 8px
}

.agenzia a {
    color: var(--color1)
}

.agenzia .filtri {
    background: var(--color2);
    padding: 5px 25px !important;
    color: #fff;
}

.agenzia h1 {
    margin-bottom: 20px;
}

.agenzia h2 {
    background: #CCC;
    padding: 10px;
}

.agenzia .trattaA tr {
    background: var(--color4);
}

.agenzia .trattaR tr {
    background: var(--color5);
}

.agenzia table {
    width: 100%;
    border-collapse: collapse;
}

.agenzia td, .agenzia th {
    padding: 6px;
    text-align: left;
    vertical-align: middle;
}

.agenzia .result {
    border-bottom: 1px solid #CCC;
    padding: 10px 0;
}

@media (max-width: 767px) {
    .agenzia tr:nth-of-type(even) {
        background: #EEE;
    }

        .agenzia tr:nth-of-type(even) td {
            color: var(--font);
        }

    .agenzia tr:nth-of-type(odd) {
        background: var(--color2) !important;
    }

        .agenzia tr:nth-of-type(odd) td {
            color: #fff;
        }
    /*.agenzia .result table, .result .HeaderStyle, .result thead, .result tbody, .result th, .result td, .result tr { display: block; }*/
    .agenzia .result table {
        border: none;
    }

    .agenzia .result tr.HeaderStyle, .result thead tr {
        position: absolute;
        top: -9000px;
        left: -9000px;
    }

    .agenzia .result tr {
        border: 1px solid #ccc;
    }

    .agenzia .result td {
        border: none;
        position: relative;
    }

        .agenzia .result td:before {
            position: relative;
            display: inline-block;
            margin-bottom: 5px;
            margin-right: 5px;
        }

    .agenzia .prat td:nth-of-type(1):before {
        content: "Codice:";
    }

    .agenzia .prat td:nth-of-type(2):before {
        content: "Data:";
    }

    .agenzia .prat td:nth-of-type(3):before {
        content: "Referente:";
    }

    .agenzia .prat td:nth-of-type(4):before {
        content: "Prezzo:";
    }

    .agenzia .prat td:nth-of-type(5):before {
        content: "Commissione:";
    }

    .agenzia .prat td:nth-of-type(6):before {
        content: "E. Conto:";
    }

    .agenzia .prat td:nth-of-type(7):before {
        content: "Ticket:";
    }

    .agenzia .prat tr.paginazione td:before {
        content: "";
    }

    .agenzia .pulsanti, .agenzia .pulsanti .btn {
        width: 100% !important;
        display: block !important
    }
}

@media (max-width: 1200px) {
    .agenzia .pnlContatto tr {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        padding-top: 4px;
        padding-bottom: 8px;
    }

        .agenzia .pnlContatto tr .contatto {
            width: 50%;
            padding-left: 15px;
        }

        .agenzia .pnlContatto tr .formContatto input, .agenzia .pnlContatto tr .formContatto select {
            width: 80% !important;
        }

    .agenzia .col-sm-12 {
        padding-left: 0;
        padding-right: 0;
    }
}


/* SEARCH HOME*/
.search .ricerca-container {
    background: #FFF;
    padding: 1%;
    border-radius: 0 /*width:500px !important; border:2px solid #DDD; border-radius:10px;  */
}

.search .section {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
    display: flex;
}

.search .space {
    width: 4%
}

.search .std {
    padding: 0;
    width: 48%;
    color: var(--font2)
}

.search .titoli {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--font2)
}

.search select, .search input[type=text], .search .input-date {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #CCC;
    margin-left: 0 !important;
    height: 38px !important;
    padding: 4px;
    color: var(--font2);
    font-weight: 600;
    background-color: #ECEDEC !important
}

.search input[type=submit] {
    width: 100%;
    border-radius: 4px;
    background-color: var(--color1)
}

.search select.selPH option {
    color: var(--font2)
}

.search input::placeholder, .search select.selPH {
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
    font-weight: normal
}

.search .select2-selection--single {
    left: 0 !important;
    background-color: #ECEDEC !important
}

.search .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--font2)
}

.search .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
    font-weight: normal
}

.selectize-input {
    /*    border: 0px !important;
    box-shadow: unset !important;
    background-color: unset !important;
    background-image: unset !important;
    background-repeat: unset !important;
    padding: unset !important;
    box-sizing: unset !important;
    box-shadow: unset !important;
    border-radius: unset !important;*/
}

.selTrDa, .selTrA {
    /*    width: 100%;
    background-color: #ECEDEC !important;
    border-radius: 4px;
    height: 40px;*/
}

.select2-dropdown--below {
    margin-top: -34px !important;
    border-radius: 4px !important;
}

.select2-results__options {
    /*background-color: #ECEDEC !important;*/
    background-color: white !important;
}

.select2-search--dropdown {
    padding: 0px !important;
    /*background-color: #ECEDEC !important;*/
    background-color: white !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: white !important;
}

.select2-dropdown {
    background-color: transparent !important;
}

.select2-search__field {
    margin-bottom: 0px !important;
    border-radius: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    height: 35px !important;
    border-top: 0px !important;
    border-left: 0px !important;
    border-right: 0px !important;
}

.fullwidth {
    width: 100%;
}

.submenu-choice {
    padding: 0;
    border-radius: 8px;
    border: 1px solid #CCC;
    position: relative;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    top: -22px;
}

    .submenu-choice.open {
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }

    .submenu-choice li {
        float: left;
        width: 100%;
        position: relative;
        padding: 15px 15px 15px 25px;
        box-sizing: border-box;
        cursor: pointer;
    }

        .submenu-choice li.selected, .submenu-choice li:hover {
            background-color: var(--color1);
        }

        .submenu-choice li h3 {
            font-weight: 400;
            font-size: 18px;
            margin: -1px 0 0
        }

        .submenu-choice li p {
            font-weight: 400;
            margin: 0
        }

        .submenu-choice li a {
            display: inline-block;
            box-sizing: border-box;
            text-transform: uppercase;
            font-weight: 600;
            border: 3px solid #CCC;
            color: #5c6670;
            opacity: 0.2;
            transition: all 400ms;
            position: absolute;
            right: 20px;
            top: 15px;
            padding: 8px 22px
        }

        .submenu-choice li.selected h3, .submenu-choice li:hover h3 {
            font-weight: 600;
            color: #00aec8;
        }

        .submenu-choice li.selected a, .submenu-choice li:hover a {
            opacity: 1;
            background-color: var(--color1);
            color: var(--font2);
            border-color: var(--color1);
        }


.destinations {
    width: 100%;
    height: 30px;
}

    .destinations .submenu-choice {
        height: 310px;
        overflow-y: scroll;
    }

        .destinations .submenu-choice li p {
            font-size: 14px;
        }

.liDest {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-basis: 100%;
    border-bottom: 1px solid #CCC !important;
}

    .liDest .long {
        flex-basis: 45%;
        display: flex;
        flex-direction: column;
        gap: 0.2em;
        justify-content: flex-start;
        align-items: flex-start;
        color: var(--font2);
    }

        .liDest .long .dest {
            color: var(--font2);
            font-weight: bold;
        }

        .liDest .long .subdest {
            color: var(--font2);
            font-size: 0.8em;
        }


.messaggi label {
    color: white;
}

.flex-row {
    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: center;
}

.btn-prezzi {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
    background-color: var(--color2);
}

    .btn-prezzi .btn {
        background-color: white;
    }

        .btn-prezzi .btn:hover, .btn-prezzi .btn:focus, .btn-prezzi .btn:active {
            background-color: var(--color1) !important;
            color: black !important;
        }

.pnlAvanti {
    padding: 10px;
}

.tariffe {
    background: var(--color4);
    padding: 10px;
    margin-right: 0;
    margin-left: 0;
}

    .tariffe .griglia th, .tariffe .griglia td {
        /*padding: 15px 0 !important;*/
    }

.tariffa .row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.infobtn {
    width: auto;
    height: 25px;
    margin-left: 10px;
}

.tariffa-row {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-basis: 100%;
    flex-wrap: wrap;
}

    .tariffa-row td {
        vertical-align: unset;
    }

    .tariffa-row .row {
        margin-right: 1em;
    }

.tariffa .prezzo {
    background: var(--color1);
    color: var(--color2);
    font-size: 20px;
    font-weight: bold;
    -webkit-border-radius: 22px;
    -moz-border-radius: 22px;
    border-radius: 22px;
    padding: 13px;
    text-align: center;
    width: 200px;
    max-width: 200px;
}

.tariffa p {
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: justify;
}

.hidemob {
    display: none !important;
}

.pax2, .veicoli {
    width: 100%;
}

    .pax2 tbody, .veicoli tbody {
        width: 100%;
    }

.passengerframe .pax2 tr, .passengerframe .veicoli tr {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    flex-basis: 100%;
}

/*.veicoli tr*/

/*    .veicoli tr{
        width: 100%;
    }
*/
/*.table-dotted th {
    border-top: 1px dotted #CCC !important;
    border-bottom: 1px dotted #CCC !important;
}

.table-dotted tr {
    border-bottom: 1px dotted #CCC !important;
}

    .veicoli tr .td-dx{
        margin-left: auto;
        text-align: right;
    }*/

.pax2 tr td div, .resid-veicoli, .resid-veicoli2 {
    font-size: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

    .pax2 tr td input, .resid-veicoli input {
        width: 18px;
        height: 18px;
    }

.pax2 .HeaderStyle, .veicoli .HeaderStyle {
    width: 100%;
    background: var(--color1);
}

.pax2 tr td {
    /*flex: 1 0 0;*/
}

/*        .veicoli .HeaderStyle th{
            width: 100%;
        }*/


main .container {
    padding: 0 !important;
}

.testata {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

    .testata .pulsanti {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 1em;
    }

    .testata .btn {
        background: var(--color1) !important;
        color: var(--color2) !important;
        font-size: 13px !important;
    }

        .testata .btn:hover {
            background: var(--color2) !important;
            color: #FFF !important;
        }

#top {
    /*    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: center;
    justify-content: space-between;*/
}

.home_menu {
    /*    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: center;
    justify-content: center;*/
}

.container {
    /*padding-top: 2em !important;*/
}

.agenzia, .home {
    padding-top: 20px;
}

.item-agenzia {
    margin-right: 1em;
}

.home_menu {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    text-align: center;
}

@media (min-width: 1201px) {
    .sidebyside {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-basis: 100%;
    }

        .sidebyside > div {
            flex: 1 1 0;
            /*max-width: 50vw;*/
        }

        .sidebyside > .copiaSiste {
            flex-basis: 10%;
            flex: 0 0 0;
            display: flex;
            flex-direction: column;
            gap: 10px;
            justify-content: center;
            align-items: center;
            padding: 0 10px;
        }
}

.copiaSiste {
    display: flex;
    flex-direction: row;
    gap: 15px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.totsmall {
    font-size: 18px !important;
    padding: 0 !important;
}

.totbig {
    font-size: 25px !important;
    font-weight: bold !important;
}

.rblAss tbody tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2em;
}

    .rblAss tbody tr td:nth-child(1) {
        background-color: #23b14d;
        padding: 10px;
    }

    .rblAss tbody tr td:nth-child(2) {
        background-color: #ed1b24;
        padding: 10px;
    }

.rblAss {
    margin-top: 10px;
}

    .rblAss tr td input {
        margin-right: 0.5em;
    }

.assicurazioneInfo {
    background-color: white;
    color: var(--color2);
    padding: 10px;
    font-size: 18px;
    line-height: 35px;
    font-weight: 600;
}

    .assicurazioneInfo > span {
        color: var(--color1);
        text-decoration: underline;
    }

    .assicurazioneInfo li {
        list-style: disc;
        list-style-image: url(/images/bullet.png);
    }

.metribox {
    margin-bottom: 0 !important;
}

#navig ul li a {
    font-size: 22px;
}

.boxAR {
    font-size: 30px;
    text-align: center;
    color: var(--color2);
    text-transform: uppercase;
    font-weight: bold;
    background-color: white;
    padding: 20px 10px;
    border: 2px solid var(--color2);
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

    .boxAR img {
        height: 40px;
    }

.sidebyside .boxviaggio {
    color: white;
    background-color: var(--color2);
    padding: 15px 8px;
    text-align: center;
    font-size: 18px;
    line-height: 25px;
}

    .sidebyside .boxviaggio .arrow {
        padding: 0 10px;
        font-size: 35px;
        font-weight: bold;
        font-family: sans-serif;
        -webkit-text-stroke: 3px white;
        position: relative;
        top: 3px;
    }

.trattaA .result, .trattaR .result {
    padding: 1rem;
}

.tariffadiv {
    background: var(--color1);
    color: #fff;
    font-size: 18px;
    line-height: 24px;
    padding: 3.5px 10px 3.5px 15px;
    font-weight: 700;
    padding: 5px;
}

.quote .trattaA, .quote .trattaR, .quote h5, .quote h2 {
    font-size: 18px !important;
}

select, option {
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

.griglia select, .griglia option {
    /*    max-width: 90vw;*/
    /*width: 350px;*/
}

.griglia select {
    max-width: 90vw;
}

.griglia .tipopax, .griglia .tipocab {
    width: 150px;
}

.griglia .tiposis {
    width: 300px;
}

.contact .pnlContatto {
    background: var(--color4);
}

.resid-veicoli {
}

.areastyle {
    font-size: 3em;
    color: white;
    background-size: cover;
    background-position: center;
    padding: .8em 1em;
    font-weight: 600;
}

.areaagenzie {
    height: 3em;
}

.arearegb2b {
    text-align: center;
    padding-top: 4em;
}

.upprivatireg {
    text-align: center;
    background-color: #eaeded;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.privati-reg {
    display: flex;
    flex-direction: row;
    flex-basis: 100%;
    align-items: stretch;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 2em;
}

    .privati-reg > div {
        flex-basis: 48%;
        background-color: white;
        padding: 1.5em;
        text-align: left;
    }

    .privati-reg > .sx {
    }

        .privati-reg > .sx > .bottoni {
            text-align: center;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            flex-basis: 100%;
        }

    .privati-reg .btn {
        color: white;
        background-color: #074164;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding: 0.5em 1em;
        width: 100%;
        border-radius: 0;
        margin-top: 1em;
        border: 2px solid #074164;
        text-transform: none !important;
        font-size: 1em;
        letter-spacing: 1px;
    }

    .privati-reg .btnAlternative {
        background-color: white !important;
        color: #074164;
        display: flex;
        flex-direction: row;
        gap: 0.8em;
        justify-content: center;
        align-items: center;
        font-size: 0.8em;
        letter-spacing: 0.5px;
    }

        .privati-reg .btnAlternative > img {
            height: 25px;
        }

    .privati-reg .btn:hover {
        background-color: white !important;
        color: #074164;
    }

    .privati-reg .btnAlternative:hover {
        background-color: #074164 !important;
        color: white;
    }

    .privati-reg .o_reg_con {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #074164;
        line-height: 0.1em;
        margin: 10px 0 20px;
        margin-top: 2em;
        margin-bottom: 2em;
    }

        .privati-reg .o_reg_con > span {
            background: #fff;
            padding: 0 1.5em;
        }

    .privati-reg > .sx > .bottoni > div {
        font-size: 0.9em;
        /*color: #eaeded;*/
        color: #BDBFBF;
        border-bottom: 2px solid currentColor;
        text-transform: uppercase;
        flex-basis: 48%;
        cursor: pointer;
        transition: color 250ms linear;
    }

    .privati-reg .reg_list {
        margin-top: 1em;
        display: flex;
        flex-direction: column;
        justify-items: center;
        align-items: center;
        width: 100%;
        gap: 1em;
        margin-bottom: 1em;
    }

        .privati-reg .reg_list > div {
            width: 100%;
        }

            .privati-reg .reg_list > div > .label {
                font-size: 0.8em;
            }

            .privati-reg .reg_list > div > input {
                margin: 0 !important;
                border-radius: 0 !important;
                border: 1px solid #CCC;
            }

            .privati-reg .reg_list > div > select {
                margin: 0 !important;
                border-radius: 0 !important;
                border: 1px solid #CCC;
                width: 100%;
            }


    .privati-reg > .sx > .bottoni > .selected, .privati-reg > .sx > .bottoni > div:hover {
        color: #3E3F40;
    }

    .privati-reg > div > .title {
        font-size: 1.2em;
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 0.5em;
    }

    .privati-reg > div > p {
        margin-bottom: 0.8em;
        font-size: 0.9em;
        line-height: 1.4em;
    }

    .privati-reg .listabox {
        display: flex;
        flex-direction: column;
        gap: 0.5em;
    }

        .privati-reg .listabox > div {
            background-color: #eaeded;
            padding: 0.5em;
            display: flex;
            flex-direction: row;
            justify-content: flex-start;
            align-items: center;
            gap: 0.5em;
        }

            .privati-reg .listabox > div > .testo {
                font-size: 0.8em;
                font-weight: 600;
                text-transform: uppercase;
            }

    .privati-reg .divisore {
        text-align: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.9em;
        font-weight: 600;
        text-transform: uppercase;
    }

.boxagenzie .listabox {
    background-color: #eaeded;
    padding: 0.5em;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1em;
}

    .boxagenzie .listabox .icon {
        font-size: 3em;
        padding: 0;
    }

    .boxagenzie .listabox .msgtext {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0.5em;
        padding: 0;
        margin: 0;
    }

        .boxagenzie .listabox .msgtext .titolo {
            font-size: 1em;
            font-weight: 600;
            text-transform: unset;
        }

        .boxagenzie .listabox .msgtext .testo {
            font-size: 0.8em;
            line-height: 1.2em;
            font-weight: normal;
            text-transform: unset;
        }

.reg_alt {
    color: #3e3f40;
    font-size: 1rem;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 0.5em;
}


    .reg_alt input, .reg_alt label {
        display: inline;
        font-size: 1rem;
    }

    .reg_alt input {
        margin-right: 0.2em;
    }

    .reg_alt > label:nth-of-type(1) {
        margin-right: 1em;
    }


    .reg_alt a:hover {
        color: var(--color1);
    }

.upprivatireg .bigblue {
    color: #074164;
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 0.8em;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

@media (max-width: 800px) {
    .upprivatireg .bigblue {
        flex-direction: column;
    }
}

.upprivatireg .textbig {
    font-size: 2em;
    margin-top: 0.5em;
    margin-bottom: 2em;
    text-transform: uppercase;
}

.privati-reg .flex-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1em,
}

.privati-reg .smalltext {
    font-size: 0.7em;
    line-height: 1.2em;
}

.pnlTotale {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 0.5em;
}

.quote .spese {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 0.5em;
}

.quote .pass {
    text-align: right;
}

.pnlRegistrazione {
    flex-direction: column;
    background-color: var(--color4);
    padding-top: 1em;
    padding-bottom: 1em;
    margin-top: 2em;
    margin-bottom: 2em;
    gap: 1em;
    text-align: center;
}

    .pnlRegistrazione .msg {
        text-align: center;
        width: 100%;
        padding: 0;
        background-color: transparent;
    }

    .pnlRegistrazione .buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

        .pnlRegistrazione .buttons .btn {
            width: 300px;
        }

    .pnlRegistrazione .reg_list {
    }

    .pnlRegistrazione .std_reg_toshow div {
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

@media (max-width: 800px) {
    .testata .sx {
        width: 100%;
        text-align: center;
    }

    .testata {
        display: flex;
        flex-direction: column;
        gap: 1em;
    }

        .testata .pulsanti {
            display: flex !important;
            flex-direction: column;
        }

    #btn_Preventivo1 {
        width: 100% !important;
        margin-bottom: 10px;
    }

    .quote .w-100 {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: center;
    }

    .privati-reg {
        flex-direction: column;
    }

        .privati-reg > div {
            flex-basis: 100%;
            width: 90%;
            margin-left: auto;
            margin-right: auto;
        }
}

.datiutente {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.datiutente input, .datiutente select {
    margin-top: 0.5em;
    font-size: 1em;
    border: 1px solid gray !important;
    border-radius: 0;
    width: 100%;
}

.datiutente label {
    font-size: 1em;
}


.buttonContainer {
    width: 100%;
    margin-bottom: 1em;
    text-align: center;
}

.confirmData {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

main {
    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 0 !important;
    background-color: #f3f4f7;
    /*font-size: 18px;*/
}

#page {
    background-color: #f3f4f7;
}

.maincontent {
    padding: 2rem 0 !important;
    margin: 0 !important;
    background-color: #f3f4f7;
}

    .maincontent #navig li:not(.attivo) {
        padding: 0 1%;
        background: var(--color2);
    }

.listaassicurazione{
    margin-left:2rem;
}

.xtratte {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    gap: 1em;
    width: 100%;
    max-width: 500px;
    padding: 1em 0;
    margin-left: auto;
    margin-right: auto;
    font-size: 1em;
}

    .xtratte .xtratta {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 1em;
        border-radius: 0.7em;
        border: 0.1em solid;
        border-color: gray;
        padding: 1em;
        color: var(--font);
    }

        .xtratte .xtratta:hover {
            border-color: var(--color2);
            background-color: var(--color5);
        }

    .xtratte .riga {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 1em;
        flex-basis: 100%;
        width: 100%;
    }

    .xtratte .xtratta .stemma {
        flex-basis: 20%;
    }

        .xtratte .xtratta .stemma img {
            height: 1.5em;
        }

    .xtratte .xtratta .column {
        flex-basis: 20%;
    }

    .xtratte .compagnia {
        text-transform: uppercase;
    }

    .xtratte .nave {
        color: gray;
    }

    .xtratte .orario {
        font-weight: bold;
    }

    .xtratte .porto {
        color: gray;
        font-size: 0.8em;
    }

    .xtratte .centro {
        margin-left: auto;
        margin-right: auto;
        flex-basis: 10%;
    }

        .xtratte .centro span {
            color: gray;
            font-size: 2em;
            text-align: center;
        }

    .xtratte .xtratta .prezzo {
        flex-basis: 30%;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }

    .xtratte .xtratta .prezzoponte {
        font-size: 1.2em;
        font-weight: bold;
    }

    .xtratte .xtratta .prezzo .icona, .xtratte .xtratta .prezzo .rotateicon {
        font-size: 2em;
    }

    .xtratte .calendario {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 2em;
    }

        .xtratte .calendario .icona {
            font-size: 2em;
            background-color: lightgray;
            border-radius: 100%;
            padding: 0.05em;
            color: black;
        }

    .xtratte .data {
        font-size: 1.2em;
        font-weight: 500;
        text-align: center;
    }

@media (max-width: 800px) {
    .datiutente {
        grid-template-columns: 1fr;
    }
}