html, body {
    min-height: 100%;
    height: 100%;
    width: 100%;
    font-family: 'roboto', sans-serif;
    font-size: 18px;
    color: #333333;
    /* scroll-behavior: smooth; */
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently */
}

img {
    max-width: 100%;
}

@media screen and (min-width: 576px) {
    body {
        font-size: 20px;
    }
}

@media screen and (min-width: 768px) {
    body {
        font-size: 22px;
    }
}

@media screen and (min-width: 992px) {
    body {
        font-size: 24px;
    }
}

body a,
body input,
body textarea,
body select,
body button {
    outline: none!important;
    box-shadow: none;
}

body a {
    color: #377FAA;
}

body a:hover {
    color: #377FAA;
    opacity: 0.9;
}

body .btn {
    border-radius: 2px;
    /* font-weight: bold; */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3em;
    font-size: 1em;
}

body .btn.focus, body .btn:focus {
    outline: none!important;
    box-shadow: none!important;
}

body .btn.btn-primary {
    color: #fff;
    background-color: #377FAA;
    border-color: #377FAA;
}

body .btn.btn-primary:hover,
body .btn.btn-primary:not(:disabled):not(.disabled).active,
body .btn.btn-primary:not(:disabled):not(.disabled):active {
    background-color: #377FAA;
    border-color: #377FAA;
    opacity: 0.9;
}

body .btn.btn-secondary {
    color: #fff;
    background-color: #3D3F41;
    border-color: #3D3F41;
}

body .btn.btn-secondary:hover,
body .btn.btn-secondary:not(:disabled):not(.disabled).active,
body .btn.btn-secondary:not(:disabled):not(.disabled):active {
    background-color: #3D3F41;
    border-color: #3D3F41;
    opacity: 0.9;
}

body .btn.btn-light {
    color: #3D3F41;
    background-color: #FFFFFF;
    border-color: #FFFFFF;
}

body .btn.btn-light:hover,
body .btn.btn-light:not(:disabled):not(.disabled).active,
body .btn.btn-light:not(:disabled):not(.disabled):active {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    opacity: 0.9;
}

/** MODAL **/

body .modal > .container {
    padding: 0;
}

body .modal .modal-header {
    border: none;
    border-radius: 0;
}

body .modal .modal-header .close {
    font-size: 48px;
    color: #a7a7a7;
    text-shadow: none;
    font-weight: 200;
    opacity: 1;
    padding: 12px 1rem;
}

body .modal .modal-header .modal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1.1em;
}

body .modal .modal-content {
    border: none;
    border-radius: 2px;
}

body .modal .modal-footer {
    border: none;
    border-radius: 0;
}

body .modal.modal-full {
    padding: 0!important;
}

body .modal.modal-full .modal-dialog {
    min-width: 100%;
    margin: 0;
}

body .modal.modal-full .modal-content {
    border: none;
    border-radius: 0;
    min-height: 100vh;
}

/** FORM **/

.form-report .form-success {
    font-weight: 600;
    font-size: 20px;
    color: #377FAA;
}

.form-report .form-error {
    font-weight: 600;
    font-size: 16px;
    color: #F75F64;
    margin-bottom: 22px;
}

.form-field {
    margin-bottom: 30px;
}

.form-field label.error {
    font-weight: 600;
    text-transform: lowercase;
    font-size: 16px;
    margin-bottom: 0;
    position: absolute;
    color: #f75f64;
}

.form-field #privacy-error.error {
    position: relative;
    top: -1px;
}

.form-field input.error,
.form-field textarea.error {
    border-color: #f75f64!important;
}

form input[type="text"].form-control,
form input[type="telephone"].form-control,
form input[type="email"].form-control,
form input[type="date"].form-control,
form input[type="number"].form-control,
form textarea.form-control,
form select.form-control,
form select.form-control:not([size]):not([multiple]) {
    padding: 16px 24px;
    box-shadow: none;
    background-color: #fafafc;
    border: 1px solid rgba(17, 17, 24, 0.2);
    border-radius: 2px;
    color: #111118;
    font-size: 0.9em;
    font-weight: normal;
    line-height: 24px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
    height: 56px;
}

form select option:first {
    color: #999;
}

form textarea.form-control {
    min-height: 220px;
}

form select{
    padding: 17px 24px;
}

form input[type="text"]:focus,
form input[type="telephone"]:focus,
form input[type="email"]:focus,
form input[type="date"]:focus,
form input[type="number"]:focus,
form textarea:focus,
form textarea.form-control:focus,
form select:focus{
    box-shadow: none;
    border: 1px solid rgba(17, 17, 24, 0.5);
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    color: #484848;
}

.input-radio,
.input-checkbox {
    /* text-align: center; */
}

@media screen and (min-width: 768px) {
    .input-radio,
    .input-checkbox {
        text-align: center;
    }   
}

.input-radio input,
.input-checkbox input{
    font-size: 16px;
    padding: 10px;
}

.input-radio label,
.input-checkbox label{
    display: inline-block;
    position: relative;
    top: -1px;
    font-size: 0.9em;
    font-weight: 200;
    text-align: center;
}

.input-radio-item{
    display: inline-block;
    margin: 5px;
}

.form-field input[type="radio"] {
    display: none;
}

.form-field input[type="radio"] + label {
    font-weight: 400;
    margin: 0 4px;
    padding-left: 1.2em;
}

input[type="radio"] + label::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 0.8em;
    height: 0.8em;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #377FAA;
    transform: translateY(-50%);
}

input[type="radio"]:checked + label::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0.2em;
    width: 0.4em;
    height: 0.4em;
    background-color: #377FAA;
    border-radius: 50%;
    display: inline-block;
    transform: translateY(-50%);
}

.input-checkbox {
    margin-bottom: 20px;
    line-height: 1.1em;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

.color-blu {
    color: #377FAA;
}

.color-black {
    color: #333333;
}

.color-gray {
    color: #3D3F41;
}

.color-smoke {
    color: #A7A7A7;
}

.color-white,
.color-white a,
a.color-white {
    color: #FFFFFF;
}

.bg-blu {
    background-color: #0480AD;
}

.bg-gray {
    background-color: #3D3F41;
}

.bg-white {
    background-color: #FFFFFF;
}

.hr-white {
    border-top: 1px solid rgba(255,255,255,.3);
}

.margin-90 {
    display: block;
    padding-top: 60px;
}

.margin-60 {
    display: block;
    padding-top: 60px;
}

.margin-45 {
    display: block;
    padding-top: 45px;
}

.margin-30 {
    display: block;
    padding-top: 30px;
}

.navbar {
    display: none;
}

.navbar-toggler:not(:disabled):not(.disabled)  {
    outline: none;
}

.box-layer {
    position: relative;
}

.box-layer img {
    width: 100%;
}

.box-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.box-caption {
    position: absolute;
    color: white;
    font-size: 1.4em;
    z-index: 2;
    width: 75%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    /* bottom: 30px;
    transform: translateX(-50%); */
}

.banner-white {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 100%;
    max-width: calc(100% - 30px);
    padding: 15px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 2px;
    transform: translate(-50%, -50%)
}

.banner-container {
    /* height: calc(100% - 190px); */
    /* height: calc(100% - 170px); */
    height: calc(100% - 125px);
    /* height: calc(100% - 60px); */
    /* padding-top: 60px; */
    /* padding-top: 30px; */
}

.banner-container .container {
    position: relative;
    height: 100%;
}

.logo-wrapper {
    margin-top: 25px;
    margin-bottom: 60px;
    padding-right: 15px;
    text-align: right;
}

.banner-container .slogan {
    position: absolute;
    left: 50%;
    color: white;
    font-weight: 200;
    line-height: 1.2em;
    font-size: 26px;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    bottom: calc(50% - 30px);
    text-align: center;
}

.logo-payoff-wrapper {
    /* position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    text-align: center; */
    max-width: 70%;
    margin: 0 auto 30px;
    text-align: center;
    padding-top: 30px;
}

.banner-container .banner {
    position: absolute;
    bottom: -50px;
    left: calc(50%);
    height: 220px;
    width: auto;
    max-width: none;
    transform: translateX(-50%);
}

img.logo {
    max-width: 40%;
}

/* img.logo-payoff {
    max-width: 70%;
} */

.logo-wrapper img.logo {
    width: 140px;
}

.logo-payoff-wrapper img.logo-payoff {
    /* width: 450px; */
    /* width: 400px; */
    /* width: 360px;
    max-height: 80px; */
    width: 180px;
}

@media screen and (min-width: 360px) {
    .banner-container .banner {
        bottom: -60px;
        height: 250px;
    }
}

@media screen and (min-width: 768px) {

    .banner-white {
        width: 500px;
        min-height: 350px;
        top: 60px;
        left: 25px;
        transform: none;
    }

    .banner-container {
        height: 400px;
        /* height: 380px; */
        padding-top: 30px;
    }

    .banner-container .banner {
        position: relative;
        left: -40px;
        bottom: auto;
        height: 100%;
        top: 80px;
        max-width: none;
        transform: none;
    }

    .box-caption {
        font-size: 1.8em;
    }

    .banner-container .slogan {
        bottom: calc(50% + 15px);
        font-size: 30px;
        left: auto;
        right: -10px;
        transform: translateY(35px);
        text-align: left;
    }

    .logo-payoff-wrapper {
        position: absolute;
        right: 15px;
        top: calc(50% + 15px);
        right: 15px;
        transform: translateY(30px);
        text-align: right;
        padding-top: 0;
    }

    .logo-payoff-wrapper img.logo-payoff {
        width: 220px;
        max-height: none;
        transform: translateY(15px);
    }

}

@media screen and (min-width: 992px) {

    .box-caption {
        font-size: 1.8em;
    }

    .banner-container .banner {
        position: relative;
        height: auto;
        top: -30px;
        left: -15px;
    }

    .banner-container .slogan {
        font-size: 25px;
        right: 15px;
        transform: translateY(-30px);
    }

    .logo-payoff-wrapper {
        right: 30px;
        transform: none;
    }

    .logo-payoff-wrapper img.logo-payoff {
        width: 240px;
    }
}

@media screen and (min-width: 1200px) {

    .banner-container .banner {
        position: relative;
        height: auto;
        left: 30px;
    }

    .banner-container .slogan {
        font-size: 28px;
        right: 100px;
        transform: translateY(-20px);
    }

    .banner-container .logo-payoff-wrapper {
        right: 100px;
        transform: translateY(5px);
    }

    .logo-payoff-wrapper img.logo-payoff {
        width: 260px;
    }

}

.title-easy {
    margin-top: 90px;
    margin-bottom: 15px;
    padding-left: 1.2em;
    font-size: 1.6em;
    white-space: nowrap;
    position: relative;
}

.title-easy img {
    width: 2.1em;
    position: absolute;
    bottom: 0.2em;
    left: 0;
}

.vertical-title {
    transform: rotate(270deg) translateX(-100%);
    transform-origin: top left;
}

.journey-container,
.details-container {
    overflow: hidden;
}

.journey-container > .container,
.details-container > .container {
    position: relative;
}

.journey-container > .container .row,
.details-container > .container .row {
    padding-left: 45px;
}

.details-container > .container .row {
    padding-right: 15px;
}



.journey-container .vertical-title {
    position: absolute;
    left: 15px;
    top: 35px;
    text-align: right;
    padding-right: 20px;
    width: 1200px;
    border-top: 2px solid #FFFFFF;
}

.journey-container .logo {
    display: block;
    width: 140px;
    max-width: 60%;
    margin-bottom: 15px;
}

.journey-graph {
    display: flex;
    border-radius: 24px;
    border: 2px solid #FFFFFF;
    padding: 28px 0;
    margin: 200px 40px 60px 30px;
    height: 480px;
    position: relative;
    justify-content: space-between;
}

@media screen and (min-width: 360px) {
    .journey-graph {
        margin: 140px 60px 60px 30px;
    }
}

@media screen and (min-width: 420px) {
    .journey-graph {
        margin: 140px 90px 60px 30px;
    }
}

@media screen and (min-width: 576px) {
    .journey-graph {
        margin: 200px 40px 60px 30px;
    }
}

.journey-graph .journey-start {
    position: absolute;
    display: block;
    top: -5px;
    left: 50%;
    width: 30px;
    height: 8px;
    border-left: 2px solid #FFFFFF;
    transform: translateX(-50%);
}

.journey-graph .journey-start:before {
    content: '';
    display: block;
    position: absolute;
    right: -5px;
    top: -1px;
    width: 6px;
    height: 10px;
    background-image: url('/images/arrow-right-white.svg');
    background-size: cover;
    transform: rotate(180deg);
}

.title-journey {
    display: block;
    text-align: center;
    position: relative;
    padding: 15px 0 5px;
    font-size: 16px;
}

.journey-first-line,
.journey-second-line {
    display: flex;
    justify-content: space-between;
}

.journey-first-line {
    flex-direction: column;
}

.journey-second-line {
    flex-direction: column-reverse;
}

.journey-first-line > *,
.journey-second-line > * {
    align-self: center;
}

.journey-first-line .title-journey {
    width: 100%;
    left: -2px;
    transform: translateX(-50%);
    opacity: 1!important;
}

.journey-second-line .title-journey {
    width: 100%;
    right: -2px;
    transform: translateX(50%);
    opacity: 1!important;
}

.journey-first-line .title-journey:before {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    margin-left: 2px; /* fix posizion */
    top: -6px;
    /* width: 6px;
    height: 10px; */
    width: 8px;
    height: 11px;
    background-image: url('/images/arrow-right-white.svg');
    background-size: cover;
    transform: translateX(-50%) rotate(90deg);
}

.journey-second-line .title-journey:before {
    content: '';
    display: block;
    position: absolute;
    right: 50%;
    margin-right: 2px; /* fix posizion */
    bottom: -6px;
    /* width: 6px;
    height: 10px; */
    width: 8px;
    height: 11px;
    background-image: url('/images/arrow-right-white.svg');
    background-size: cover;
    transform: translateX(50%) rotate(270deg);
}

.title-journey .icon-white {
    width: 50px;
    display: block;
    margin: 0 auto 2px;
}

.title-journey .icon-white.icon-vendita {
    transform: scale(1.9);
    top: -15px;
    position: relative;
    padding-top: 15px;
    margin-bottom: 5px;
}

@media screen and (min-width: 576px) {
    .journey-container > .container .row,
    .details-container > .container .row {
        padding-left: 90px;
    }

    .journey-container .vertical-title {
        left: 60px;
    }
}

@media screen and (min-width: 768px) {
    .journey-container .vertical-title {
        left: 0;
        padding-right: 156px;
    }

    .journey-container > .container .row,
    .details-container > .container .row {
        padding-left: 60px;
    }

    .journey-graph {
        display: block;
        height: 200px;
        padding: 0 30px;
        margin: 150px 0 105px;
    }

    .journey-graph .journey-start {
        top: 50%;
        left: -5px;
        width: 8px;
        height: 30px;
        border-left: none;
        border-top: 2px solid #FFFFFF;
        transform: translateY(-50%);
    }
    
    .journey-graph .journey-start:before {
        content: '';
        left: 1px;
        right: auto;
        top: auto;
        bottom: -6px;
        width: 6px;
        height: 10px;
        background-image: url('/images/arrow-right-white.svg');
        background-size: cover;
        transform: rotate(270deg);
    }

    .journey-first-line {
        flex-direction: row;
    }
    
    .journey-second-line {
        flex-direction: row-reverse;
    }

    .journey-first-line > *,
    .journey-second-line > * {
        align-self: flex-end;
    }

    .journey-first-line .title-journey {
        top: -103px;
        left: auto;
        width: auto;
        transform: none;
    }
    
    .journey-second-line .title-journey {
        top: -52px;
        right: auto;
        width: auto;
        transform: none;
    }

    .journey-first-line .title-journey:before {
        left: -4px;
        top: auto;
        bottom: 45px;
        width: 6px;
        height: 10px;
        background-image: url('/images/arrow-right-white.svg');
        background-size: cover;
        transform: none;
        margin-left: 0;
    }

    .journey-second-line .title-journey:before {
        right: -4px;
        bottom: 45px;
        width: 6px;
        height: 10px;
        background-image: url('/images/arrow-right-white.svg');
        background-size: cover;
        transform: rotate(180deg);
        margin-right: 0;
    }

    .title-journey {
        padding: 0 15px;
        font-size: 20px;
    }

    .title-journey .icon-white {
        width: 90px;
        margin: 0 auto 12px;
    }

    .title-journey .icon-white.icon-vendita {
        padding-top: 0;
    }

    .journey-container .logo {
        float: left;
        margin-bottom: 0;
        margin-left: 15px;
        margin-right: 30px;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }

    .journey-container .logo-payoff {
        padding-right: 15px;
        padding-left: 205px;
    }
}

@media screen and (min-width: 992px) {
    .journey-container > .container .row,
    .details-container > .container .row {
        padding-left: 90px;
    }

    .journey-graph {
        padding: 0 45px;
    } 
}

@media screen and (min-width: 1200px) {
    .journey-graph {
        padding: 0 90px;
    }   
}










.detail-item-border-arrow {
    /* position: relative; */
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    border: 2px solid #3D3F41;
    border-left: none;
    padding-left: 0;
}

.detail-item-inner-arrow .title-detail:after {
    content: '';
    display: block;
    position: absolute;
    right: -5px;
    bottom: 15px;
    width: 6px;
    height: 10px;
    background-image: url(/images/arrow-right-dark.svg);
    background-size: cover;
    transform: rotate(180deg);
}

.detail-item {
    padding-left: 0;
    padding-right: 30px;
    padding-right: 45px;
    padding-bottom: 120px;
}

@media screen and (min-height: 992px) {
    .detail-item {
        padding-right: 45px;
    }
}



.detail-item-last {
    padding-bottom: 30px;
}

.detail-item.detail-item-last .arrow-after {
    border-bottom: none;
    border-bottom-left-radius: 0;
    height: calc(100% + 2px);
}

.detail-item.detail-item-last .arrow-after:after {
    display: none;
}

.detail-item > * {
    position: relative;
    top: -24px;
}

.detail-item .arrow-before {
    display: block;
    border-bottom-left-radius: 24px;
    border: 2px solid #3D3F41;
    border-right: none;
    border-top: none;
    height: 100%;
    width: 26px;
    position: absolute;
    left: -30px;
    top: -100%;
}

.detail-item .arrow-after {
    display: block;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    border: 2px solid #3D3F41;
    border-right: none;
    height: calc(100% - 30px);
    width: 26px;
    position: absolute;
    left: -30px;
    top: -2px;
}

@media screen and (min-width: 768px) {
    .detail-item .arrow-before,
    .detail-item .arrow-after {
        width: 50px;
        left: -60px;
    }
}

@media screen and (min-width: 992px) {
    .detail-item .arrow-before,
    .detail-item .arrow-after {
        width: 80px;
        left: -90px;
    }
}

.detail-item .arrow-after:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 6px;
    height: 10px;
    background-image: url('/images/arrow-right-dark.svg');
    background-size: cover;
}

.title-detail {
    display: inline-block;
    /* z-index: 2; */
    padding-right: 10px;
    font-size: 36px;
}

.title-detail .icon-dark {
    position: absolute;
    width: 90px;
    display: block;
    margin-bottom: 10px;
    transform: translateY(-100%);
    top: -10px;
}

/** FOOTER **/

footer {
    padding-top: 90px;
    padding-bottom: 15px;
    color: whitesmoke;
    overflow: hidden;
}

footer .arrow-before {
    display: block;
    border-bottom-left-radius: 24px;
    border: 2px solid #FFFFFF;
    border-right: none;
    border-top: none;
    height: calc(75px + 90px); /* adding padding-top */
    width: 117px;
    position: absolute;
    left: 15px;
    top: -101px;
}

footer .arrow-before:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 6px;
    height: 10px;
    background-image: url('/images/arrow-right-white.svg');
    background-size: cover;
}

footer .hr-white {
    margin-top: 0;
    margin-bottom: 5px;
}

footer img.logo-payoff {
    /* width: 250px; */
    height: 75px;
    margin-left: 75px;
    max-width: 100%;
}

/* footer .btn-contact {
    margin: 60px auto 0;
    display: block;
} */

footer .footer-contacts {
    margin: 60px auto 0;
    display: flex;
    justify-content: space-around;
    padding: 0 45px;
}

footer .copyright {
    font-size: 0.8em;
    margin-top: 75px;
}

@media screen and (min-width: 578px) {
    footer .arrow-before {
        width: 73px;
        left: 60px;
    }

    /* footer .btn-contact {
        position: relative;
        top: 50%;
        float: right;
        transform: translateY(-50%);
        margin: auto 45px auto auto;
    } */

    footer .footer-contacts {
        position: relative;
        top: 50%;
        float: right;
        transform: translateY(-50%);
        margin: auto 45px auto auto;
        padding: 0;
    }

    footer .btn-contact {
        margin-right: 30px;
    }
}

@media screen and (min-width: 768px) {
    footer .copyright {
        font-size: 0.7em;
        margin-top: 75px;
    }

    footer .arrow-before {
        width: 134px;
        left: 0;
    }
}

@media screen and (min-width: 1200px) {
    body.modal-open footer {
        width: calc(100% + 34px);
        margin-left: -17px;
    }
}

.privacy-logo {
    display: block;
    margin: 60px auto 45px;
    width: 350px;
    max-width: 75%;
}

.privacy-text {
    font-size: 15px;
    margin-bottom: 45px;
}

.privacy-text ol {
    list-style-type: lower-alpha;
}

.privacy-text ul,
.privacy-text ol {
    padding-inline-start: 25px;
}

.privacy-text h1 {
    font-size: 1.4em;
    margin-bottom: 30px;
}

.privacy-text h2 {
    font-size: 1.3em;
    margin-top: 25px;
}

.privacy-text h3 {
    font-size: 1.2em;
    margin-top: 25px;
}

.privacy-text h4 {
    font-size: 1.1em;
    margin-top: 10px;
    margin-bottom: 5px;
}

.privacy-text h5 {
    font-size: 1.05em;
    margin-top: 0px;
    margin-bottom: 0px;
}

@media screen and (min-width: 576px) {
    body {
        font-size: 17px;
    }
}

@media screen and (min-width: 768px) {
    body {
        font-size: 19px;
    }
}

@media screen and (min-width: 992px) {
    body {
        font-size: 21px;
    }
}