/** GENERAL, HTML, BODY */
[v-cloak] {
    display:none; 
}

:root{
    /*--greenishColor : #74eda2;*/
    --greenishColor: #74be9f;
    --white: rgb(243,248,247);
    --blueishColor : #2a4d6c;
}

body,html,#app{
    margin:0;
    height: 100%;
    width: 100%;
}

body{
    position: relative;
    font-family: Poppins;
    color: var(--standardColor);
    scroll-behavior: smooth;
    background: var(--standardColor2);
}

body *{
    box-sizing: border-box;
}

#form, #splash, #app, #inner_form{
    /*overflow-x: hidden;*/
}

button{
    color:black;
    cursor: pointer;
}

.text-center{
    text-align: center;
}

.d-block{
    display: block;
}

.w-100{
    width: 100% !important;
}

.disabled{
    pointer-events: none;
    cursor: not-allowed;
}
#spinner{
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}
.fade-right-500 {
  animation: fade-in-right 500ms forwards;
}
.fade-right-800 {
  animation: fade-in-right 800ms forwards;
}

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#spinner_container{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-30px,calc(-100% + 30px));
    backdrop-filter: brightness(0.65);
    -webkit-backdrop-filter: brightness(0.65);
}

@keyframes spin {
    to { -webkit-transform: rotate(360deg); }
  }
  @-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
  }

.popup {
    scroll-behavior: smooth;
    position: fixed;
    z-index: 99999999;
    padding-top: 5px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    color:black;
    font-family: Roboto;
}

.popup button{
    background: none;
    outline: none;
    border: none;
    position: absolute;
    right: 5%;
}

.popup button > img{
    width: 15px;
}

.popup h4, .popup h5{
    font-weight: 500;
    font-size: 1.1em;
}

.popup h4{
    font-size: 1.35em;
    text-align: center;
    line-height: 3em;
}

.popup h5, .popup ul{
    margin-bottom: 1em;
}

.popup ul, .popup p{
    text-align: justify;
}

.popup p + p, .popup h5 + p{
    margin-bottom: 1em;
}

.popup p + h5{
    margin-top: 1em;
}

#inner_form .popup ul{
    list-style-type: disc;
    list-style-position: inside;
}

.popup a{
    color: black;
    text-decoration: underline;
}

.popup .zoomTransition {
    transition: .3s ease-out transform;
    transform: scale(1);
}

.popup .content {
    background-color: #F9F9F9;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 95%;
    border-radius: 1%;
}

#map{
    height: 100vh;
    width: 40vw;
    position: absolute;
    top:0;
    right:0;
    border-top-left-radius: 20px;
}

#form{
    height: 100vh;
    width: 100vw;
    color:var(--white);
    position: relative;
    background-color: var(--backgroundColor);
}
#form .datepicker{
    color:black;
}

#splash{
    height: calc(100vh - env(safe-area-inset-bottom));
    width: 100vw;
    background-color: var(--backgroundColor);
    color:var(--white);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#splash.confirmed, #splash.refused{
    height: auto;
    min-height: 100vh;
}

#splash a{
    color: var(--white);
    text-decoration: underline;
}

#splash.ios{
    height: 90vh;
}

#inner_form,#inner_splash{
    padding:2em;
    width: 60vw;
}

#inner_form{
    background-color: var(--standardColor2);
    border-top-right-radius: 20px;
    height: 100vh;
    overflow: scroll;
}

#inner_form .nicebox{
    display: grid;
    padding: 1.5em;
    row-gap: 2.25em;
    grid-template-columns: 50% 50%;
}
#inner_form .nicebox#terms_of_service{
    grid-template-columns: 100%;
}

#inner_form .nicebox#terms_of_service > div{
    width: 100%;
    color:var(--standardColor);
}

#inner_form .nicebox#terms_of_service ul li{
    line-height: 1.3em;
}

#inner_form .nicebox#terms_of_service ul li::before{
    content: "\2022";
    color: var(--standardColor);
    font-weight: bold;
    display: inline-block;
    font-size: 1.25em;
    width: 1em;
}

#form_data{
    width: 95%;
    margin:0 auto;
}
#form_data > div{
    margin-bottom: 2em;
}
#form #form_data input,#form #form_data select{
    width: 17vw;
    font-family: Roboto;
}

#form #form_data #hour_marginal, #form #form_data #minutes_marginal{
    width: 6vw;
}

#inner_form .nicebox span{
    text-align: left;
}

#inner_form .nicebox .datepicker span{
    text-align: center;
}

#inner_form span.onTopOfBox{
    display: inline-block;
    margin-bottom: 0.4em;
    font-size: 1.1em;
}

#inner_form #hoursandminutes{
    display: flex;
    align-items: center;
    width: 17vw;
}

#inner_form label{
    color: var(--standardColor);
}

#inner_form .nicebox > div{
    justify-content: flex-start;
}

#inner_form form > section:nth-of-type(2){
    /*display: grid;
    row-gap: 2em;
    grid-template-columns: auto auto;
    justify-content: space-around;*/
}

#inner_form form > section:nth-of-type(3){
    margin-top: 2em;
}

#inner_form form > section:nth-of-type(3) span{
    display: block;
    text-align: left;
}

#inner_form form > section:nth-of-type(3) > div{
    display: grid;
    grid-template-columns: auto auto auto;
    justify-items: center;
}
#inner_form form > section:nth-of-type(3) > div  img{
    width: 150px;
}
#sendRequestButton,#sendRequestButton2{
    display: block;
    margin: 0 auto;
    outline: none;
    border: none;
    padding:1em;
    border-radius: 20px;
    background-color: var(--greenishColor);
    font-size: 1.1em;
    font-family: Poppins;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    font-weight: 500;
}
#scrollToForm,.niceButton{
    display: block;
    /* margin: 0 auto; */
    outline: none;
    border: none;
    padding: 1em;
    border-radius: 15px;
    background-color: var(--greenishColor);
    font-size: 1.35em;
    font-family: Poppins;
    box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
    padding-top: 0.45em;
    padding-bottom: 0.45em;
    width: 20em;
    font-weight: 600;
    color: var(--backgroundColor);
    margin-top: 2em;
}
.niceButton{
    width: 5em;
    margin-right: 1em;
    display: inline;
    margin-top: 0;
}
#book_section{
    width: 20em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#book_section a{
    font-size: 0.85em;
    margin-top: 0.65em;
    text-align: center;
}
#sendRequestButton span{
    display: inline;
}
#sendRequestButton2{
    font-size: 1em;
}

#inner_form form > section:nth-of-type(3) > div> div{
    display: flex;
    align-items: center;
}

#splash_img{
    width: 55vw;
    height: 100vh;
    background-image: url("../imgs/sfondo_def.png");
    background-size: cover;
    position: absolute;
    top:0;
    right:0;
    border-bottom-left-radius: 20px;
}

.confirmed #splash_img,.refused #splash_img{
    position: fixed;
    width: 45vw;
}

.stroked_svg20{
    stroke-width: 20px;
    stroke: var(--white);
}

.stroked_svg3{
    stroke-width: 3px;
    stroke: var(--white);
}

.no_stroke{
    stroke-width: 0;
}

@media print {

    #splash_img{
        display: none;
    }

    #inner_splash{
        width: 100vw;
    }

    h1, h2, h3, span, a{
        color:black;
    }
  
  }

#affiliate_data{
    transform: translateY(2em);
}

#affiliate_data img{
    width: 12em;
    padding-left: .75em;
}

#affiliate_data span{
    font-size: 1.2em;
    display: flex;
    justify-content: left;
    align-items: center;
    font-weight: 400;
    flex-wrap: wrap;
    margin-top: 3em;
}
  
#large_marker{
    width: 40vw;
    height: 100vh;
    position: absolute;
    top:0;
    right: 0;
    z-index: 2;
    background-color: var(--white);
}

#inner_splash h1{
    font-size: 4.25em;
    line-height: 1.3em;
    font-weight: 500;
    text-align: left;
    max-width: 650px;
}

#inner_splash h2{
    margin-top: 1.5em;
    font-size: 1.5em;
    font-weight: 500;
}

#inner_splash h4{
    margin-top: 0.75em;
    font-size: 1.1em;
    color: var(--greenishColor)
}

#inner_splash{
    padding: 3.5em;
    margin-top: -1vh;
}

#inner_form footer, #inner_form .after_footer{
    width: calc(100% + 4em);
    height: 16em;
    background-color: var(--backgroundColor);
    position: relative;
    left: -2em;
    top: 2em;
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    overflow: hidden;
}

footer #privacy_links{
    display: flex;
}

footer #cookie_policy_opener{
    margin-left: .55em;
}

#inner_form #circuits_gallery{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1em;
}

#inner_form #circuits_gallery div{
    height: 2.5em;
    width: 4.5em;
    background-color: white;
    margin-left: .35em;
    margin-right: .35em;
    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;
    padding: .15em;
    border-radius: 5px;
    margin-bottom: .5em;
}

#inner_form #circuits_gallery div img{
    height: 100%;
    width: 100%;
    object-fit: contain;
    filter: grayscale(1)
}

footer #privacy_policy_opener, footer #cookie_policy_opener{
    margin-top: .5em;
    color: var(--greenishColor);
    text-decoration: underline;
    cursor: pointer;
}
#inner_form footer #privacy_policy_opener a,#inner_form footer #cookie_policy_opener a{
    color: var(--greenishColor);
}

#inner_form footer *, #inner_form .after_footer *{
    overflow: hidden;
}

#inner_form .after_footer{
    height: fit-content;
    grid-template-columns: 100%;
}

#inner_form .after_footer p{
    margin-left: 6.1em;
    border-top: 1px solid var(--greenishColor);
    padding-top: 0.75em;
    padding-bottom: 2em;
    color: var(--greenishColor);
    text-transform: uppercase;
    font-size: 0.75em;
    width: fit-content;
}

#inner_form footer img{
    width: min(300px,100%);
    display: block;
    margin: 0 auto;
    margin-bottom: 0.9em;
}

#inner_form footer h5{
    text-transform: uppercase;
    font-weight: 600;
    color: var(--greenishColor);
    width: 100%;
    text-align: center;
    margin-bottom: .75em;
}

#inner_form footer section{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

#inner_form footer a{
    color: var(--white);
    text-decoration: none;
    line-height: 1.3em;;
}

#inner_form footer section:last-child{
    justify-content: center;
}

#inner_form footer section:last-child > div{
    display: grid;
    grid-template-columns: 40px auto;
    align-items: center;
    column-gap: .55em;
    row-gap: .35em;
}

#inner_form footer section:first-child{
    padding-left: 2em;
}

#inner_form footer section:first-child > ul{
    margin-left: 3em;
    line-height: 1.85em;
}

#inner_form footer section:last-child div a:nth-child(2n+1){
    background: var(--white);
    padding: 0.55em;
    width: calc(30px + 0.45em);
    height: calc(30px + 0.45em);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    margin-right: .55em;
}

#inner_form footer section:last-child a svg{
    height: 26px;
    width: 26px;
    fill: var(--backgroundColor);
}

#inner_form ul{
    list-style-type: none;
    font-size: 0.9em;
    line-height: 1.3em;
}

#inner_form :not(footer) > section:first-of-type{
    margin-top: 2em;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#inner_form section label{
    display: block;
    font-size: 1.15em;
    margin-bottom: 0.25em;
}

#inner_form section div div div span{
    display: block;
    font-size: 1.15em;
    font-weight: 400;
    margin-bottom: 0;
}

#inner_form h1{
    font-size: 2.5em;
    text-align: left;
    font-weight: 500;
}

h1 span:first-of-type:not(:last-of-type){
    display: block;
}
h1 span:last-of-type{
    color: var(--greenishColor)
}

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    border-color: var(--standardColor3)
  }
  
.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.nicebox{
    display: flex;
}

#inline_map{
    height:calc(40vh + 4em);
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-bottom: 1em;
}

#form #inline_map span.onTopOfBox{
    text-align: left;
    padding-left: 1em;
    position: relative;
    z-index: 20;
    padding-left: 1em;
    padding-right: 1em;
}

#estimated_duration.nicebox{
    position: absolute;
    bottom: 2em;
    left: calc(80%);
    transform: translateX(-50%);
    z-index: 1;
}

.nicebox label img,.nicebox label svg{
    /*height: 1em;*/
    width: 4em;
    margin-top: -1em;
    margin-bottom: -0.8em;
    fill: var(--standardColor)
}

.nicebox{
    background-color: var(--standardColor3);
    padding:1.35em;
    border-radius: 25px;
    display: flex;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


.nicebox > div > div:first-of-type > div{
    width: 2.5em;
    height: 2.5em;
    border-radius: 100%;
    background-color: var(--standardColor2);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1em;
}

.nicebox > div{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12em;
}

.nicebox > div:not(:last-of-type){
    margin-right: 2em;
}

#estimated_duration.nicebox > div:not(:last-of-type){
    margin-right: .5em;
}

.nicebox > div > div:first-of-type > div svg{
    width: 1.5em;
    height: 1.5em;
}
.nicebox > div > div > div svg path{
    fill:var(--white);
    stroke: var(--white);
}
.nicebox > div > div:last-of-type > span{
    width: 100%;
    display: block;
    text-align: center;
    color: var(--standardColor)
}
.nicebox > div > div:last-of-type span:first-of-type{
    font-weight: 500;
    margin-bottom: 0.3em;
    font-size: 1em;
}
.nicebox > div > div:last-of-type > span:last-of-type{
    font-size: 1.5em;
}
.nicebox > div > div:last-of-type > span:first-of-type:last-of-type{
    font-size: 1.15em;
}

.nicebox > div > div:last-of-type > span{
    transition: ease-in-out .15s;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
}

#form input, #form select{
    border: 2px solid;
    border-radius: 5px;
    font-family: Poppins;
    padding: 0.25em;
    outline: none;
    font-size: 1.1em;
    background-color: var(--white);
}

.error404 #inner_splash{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.error404 #inner_splash h1,.cancelBooking #inner_splash h1{
    color: var(--greenishColor);
}


#grudus-clock *{
    box-sizing: content-box;
}

#grudus-clock{
    position: fixed;
    top:0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
}

#grudus-clock > section{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

#inline_estimated{
    width:95%;
    margin:0 auto;
    margin-bottom: 2em;
    margin-top: 1em;
}

#inline_estimated #old_price{
    font-size:0.65em;
    text-decoration:line-through;
    display:inline;
}

#inline_estimated .nicebox > div{
    width: auto;
}

#form #inline_estimated > div{
    display: block;
}

#inner_form #inline_estimated .nicebox{
    display: grid;
    justify-items: center;
    grid-template-columns: 33% 33% 34%;
}

#inner_form #inline_estimated button span{
    display: inline
}

#inline_estimated .nicebox div > span:last-of-type{
    font-size: 1.65em;
}

#inline_estimated .nicebox div > span:first-of-type{
    font-weight: 500;
}

.modal .modal_grid{
    display: grid;
    grid-template-columns: 40% 60%;
    margin-bottom: 1em;
}

.modal .modal_grid span:nth-child(2n-1),#confirm_modal .modal__content > span,#failed_checks_modal .modal__content p:nth-child(2n-1){
    font-weight: 500;
    color: rgba(0,0,0,0.9);
}

.modal .modal_grid:last-of-type{
    margin-bottom: 2em;
}

.modal .modal_grid span{
    display: block;
}

#cookie_modal{
    font-family: Poppins;
}

#cookie_modal .modal__overlay{
    background: rgba(0,0,0,0.8);
}

#cookie_modal header.modal__header{
    display: block;
}

#cookie_modal img{
    max-width: 200px;
    display: block;
    margin:0 auto;
}

#cookie_modal .modal__container{
    background-color: var(--backgroundColor);
    max-width: 700px;
    padding-left: 15px;
    padding-right: 15px;
}

#cookie_modal p{
    color:var(--greenishColor);
    text-align: center;
    margin-bottom: 1em;
}

#cookie_modal button.modal__close{
    position: absolute;
    right: .5em;
    top:1em;
    color:white;
}

#cookie_modal a{
    text-decoration: underline;
    color: var(--greenishColor);
    cursor: pointer;
}

#cookie_modal button.modal__btn{
    background-color: var(--greenishColor);
    color: var(--backgroundColor);
    display: block;
    margin: 0 auto
}

.error *{
    color:#DE160A !important;
}

.error > div > div:first-of-type{
    background-color:#DE160A !important;
}

#confirm_modal p:first-of-type{
    margin-bottom: 1em;
}

#confirm_modal p:last-of-type{
    font-size: 0.75em;
}

#failed_checks_modal .modal__content p:nth-child(2n-1){
    margin-bottom: 0.5em;
}

#failed_checks_modal .modal__content p:nth-child(2n){
    margin-bottom: 1.15em;
}

#grid_overview{
    margin-top: 2em;
    display: grid;
    grid-template-columns: 50% 50%;
    row-gap: 0.5em;
    font-size: 1.15em;
    margin-bottom: 4em;
    word-break: break-all;
    word-wrap: break-word;
}

.refused #grid_overview{
    grid-template-columns: 25% 75%;
}

#inner_splash h3{
    font-size: 1.05em;
    margin-bottom: 1em;
}

#grid_overview span:nth-child(2n-1){
    font-weight: 500;
}

#form #inner_form .tabber {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
  }
#form #inner_form .tabber label {
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 100%;
    row-gap: 0.5em;
    justify-items: center;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    padding: 1rem;
    cursor: pointer;
    will-change: transform;
    transform: translateZ(0px);
    transition: transform 125ms ease-in-out, filter 125ms ease-in-out;
    border: 2px solid var(--standardColor);
    border-radius: 20px;
  }

#form #inner_form .tabber label:first-of-type{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
#form #inner_form .tabber label:last-of-type{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#form #inner_form .selectedCar{
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 20px !important;
    border-bottom-left-radius: 20px !important;
}

#form #inner_form .selectedVan{
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

#form #inner_form .tabber label:hover {
    /*transform: scale(1.15);*/
  }
#form #inner_form .tabber input[type=radio] {
    display: none;
  }
#form #inner_form .tabber input[type=radio]#t1 ~ .blob {
    transform-origin: right center;
  }
#form #inner_form .tabber input[type=radio]#t2 ~ .blob {
    transform-origin: left center;
  }
#form #inner_form .tabber input[type=radio]#t1:checked ~ .blob {
    /*background: cornflowerblue;*/
    background: rgb(138,185,233);
    -webkit-animation-name: stretchyRev;
            animation-name: stretchyRev;
  }
#form #inner_form .tabber input[type=radio]#t2:checked ~ .blob {
    background-color: skyblue;
    -webkit-animation-name: stretchy;
            animation-name: stretchy;
  }
#form #inner_form .tabber .blob {
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    position: absolute;
    z-index: 1;
    border-radius: 20px;
    -webkit-animation-duration: 0.5s;
            animation-duration: 0.5s;
    -webkit-animation-direction: forwards;
            animation-direction: forwards;
    -webkit-animation-iteration-count: 1;
            animation-iteration-count: 1;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    transition: transform 150ms ease, background 150ms ease;
    /*&:before,
    &:after {
      display: block;
      content: "";
      position: absolute;
      top: 0;
      background-color: inherit;
      height: 100%;
      width: 50%;
      border-radius: 100%;
      transform: scale(1.15);
      transition: transform 150ms ease;
      animation-duration: 0.5s;
      animation-iteration-count: infinite;
      animation-direction: alternate;
    }*/
  }
#form #inner_form .tabber .blob:before {
    left: 0;
    -webkit-animation-delay: 0.15s;
            animation-delay: 0.15s;
  }
#form #inner_form .tabber .blob:after {
    right: 0;
  }
  
  @-webkit-keyframes stretchy {
    0% {
      transform: translateX(0) scaleX(1);
    }
    50% {
      transform: translateX(0) scaleX(2);
    }
    100% {
      transform: translateX(100%) scaleX(1);
    }
  }
  
  @keyframes stretchy {
    0% {
      transform: translateX(0) scaleX(1);
    }
    50% {
      transform: translateX(0) scaleX(2);
    }
    100% {
      transform: translateX(100%) scaleX(1);
    }
  }
  @-webkit-keyframes stretchyRev {
    0% {
      transform: translateX(100%) scaleX(1);
    }
    50% {
      transform: translateX(0) scaleX(2);
    }
    100% {
      transform: translateX(0) scaleX(1);
    }
  }
  @keyframes stretchyRev {
    0% {
      transform: translateX(100%) scaleX(1);
    }
    50% {
      transform: translateX(0) scaleX(2);
    }
    100% {
      transform: translateX(0) scaleX(1);
    }
  }
  @-webkit-keyframes pulse {
    0%, 50% {
      transform: scaleX(1);
    }
    25%, 75% {
      transform: scaleX(1.5);
    }
  }
  @keyframes pulse {
    0%, 50% {
      transform: scaleX(1);
    }
    25%, 75% {
      transform: scaleX(1.5);
    }
  }
@media screen and (min-width: 1920px){
    #splash_img{
        background-size: contain;
        background-repeat: no-repeat;
        background-position: right;
    }
  }

@media screen and (max-width: 1410px) {
    #inner_form #inline_estimated .nicebox{
        grid-template-columns: 50% 50%;
    }
  }


@media screen and (max-width: 1150px) {
    #inner_form,#inner_splash,#splash_img,#map{
        width: 50vw;
    }

    #estimated_duration.nicebox{
        left:75%;
    }

    #inner_form .nicebox{
        grid-template-columns: 100%;
    }

    #form #form_data input, #form #form_data select{
        width: 25vw;
    }

    #inner_splash h1{
        font-size: 3.75em;
    }
    #inner_splash{
        margin-top: 0;
        padding: 2em;
    }
    #inner_splash h2{
        font-size: 1.35em;
    }
    #scrollToForm{
        font-size: 1.25em;
    }
    #scrollToForm{
        font-size: 1.3em;
    }
    #affiliate_data span{
        font-size: 1.1em;
    }
    #affiliate_data img{
        width: 10em;
        padding-left: .75em;
    }
    #inner_form footer{
        height: fit-content;
        grid-template-columns: 1fr;
    }
    #inner_form footer > section{
        margin-top: 2em;
        margin-bottom: 2em;
    }
    #inner_form footer > section{
        justify-content: center;
    }
    #inner_form footer section:first-child > ul{
        margin-left: -4.5em;
    }
    #inner_form footer section:first-child a {
        width: 100%;
    }
    #inner_form footer section:last-child > div{
        width: 50%;
    }
    #inner_form footer section:first-child {
        padding-left: 0;
    }
  }

@media screen and (max-width: 900px),screen and (max-width:1200px) and (min-height:800px) {
    body{
        height: 100%;
    }

    .confirmed #splash_img, .refused #splash_img{
        position: relative;
        background-position: 0%;
        width: 100vw;
    }

    .refused#splash{
        height: 100vh;
        flex-wrap: wrap;
    }

    .confirmed#splash{
        height: fit-content;
        flex-wrap: wrap;
    }

    .confirmed#splash #splash_img,.refused#splash #splash_img{
        top: -1em;
    }

    .cancelBooking.confirmed#splash #splash_img{
        top: unset;
        position: absolute;
    }

    .refused #grid_overview{
        grid-template-columns: 100%;
    }

    #grid_overview{
        grid-template-columns: auto auto;
    }

    #splash{
        height: calc(100% - env(safe-area-inset-bottom));
        align-items: flex-start;
    }

    #splash:not(.refused):not(.confirmed):not(.error404){
        /*border-bottom-left-radius: 175px;*/
    }

    #splash_img:not(.confirmed):not(.refused){
        background-position: 0;
        background-image: url("../imgs/sfondo_mobile.png");
        height:55vh;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: right bottom;
        right: 0em;
    }

    #inner_form,#inner_splash,#splash_img,#map{
        width: 100vw;
    }

    #inner_form #inline_estimated .nicebox{
        grid-template-columns: 50% 50%;
    }
    
    #map{
        position: relative;
        top:0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 45vh;
        border: .8em solid var(--standardColor2);
        box-sizing: border-box;
        border-radius: 30px;
        overflow: hidden;
        margin-top: -1em;
        width: 100%;
        margin-bottom: 1em;
        -webkit-transform: translateZ(0);
    }

    #map *{
        background-clip: padding-box;
    }

    #estimated_duration.nicebox{
        left:50%;
    }

    #inner_form .nicebox{
        grid-template-columns: 50% 50%;
    }

    #form,#inner_form{
        height: fit-content;
    }

    #inner_form{
        border-top-right-radius: 0;
    }

    #splash_img{
        border-radius: 0;
        height: 30vh;
        position: absolute;
        bottom:0;
        bottom: calc(env(safe-area-inset-bottom) - 5px);
        top:unset;
    }

    #affiliate_data span{
        justify-content: flex-start;
        margin-top: 0;
    }

    .error404 #inner_splash{
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .error404 #splash_img:not(.confirmed):not(.refused){
        right: 0;
    }

    #inner_form footer{
        height: 16em;
        grid-template-columns: 1fr 1fr;
    }

    #inner_form footer section:last-child > div{
        width: 75%
    }
  }

@media screen and (max-width: 900px){
    #affiliate_data span{
        display: none;
    }
  }

@media screen and (max-width: 720px) {
    #inner_form h1{
        padding-left: .5em;
    }

    #inner_form{
        padding-left: 0;
        padding-right: 0;
    }

    #form #form_data input, #form #form_data select{
        width: 30vw;
    }

    #inner_form footer, #inner_form .after_footer{
        width: 100vw;
        left: 0;
    }
    #inner_form .after_footer p {
        margin: 0 auto;
    }
    #cookie_modal .modal__overlay{
        padding-left: .5em;
        padding-right: .5em;
    }
  }

@media screen and (max-width: 680px) {
    #inner_form .nicebox{
        grid-template-columns: 100%;
    }

    #form #form_data input, #form #form_data select{
        width: 70vw;
    }

    #inner_splash{
        padding:1em;
        padding-top: 1.3em;
    }
    
    #affiliate_data{
        transform: translateY(-1em);
        width: 100vw;
    }
    #affiliate_data span{
        justify-content: left;
    }
    #affiliate_data img{
        width: 10em;
        padding-top: 0.5em;
        padding-left: 0;
        margin-left: 0.5em;
    }
    #splash_img:not(.confirmed):not(.refused){
        right: 0em;
    }
    #inner_form footer section:first-child ul:not(#privacy_links){
        margin-left: -62px;
    }
  }
  @media screen and (max-width: 580px) {
    #inner_form footer{
        height: fit-content;
        grid-template-columns: 1fr;
    }
    #inner_form footer section:last-child > div{
        width: 50%;
    }
    #inner_form footer section:first-child {
        padding-left: 0;
    }
  }
@media screen and (max-width: 530px) {
    #inner_splash h1{
        font-size: 3.5em;
    }
    #inner_splash h2{
        margin-top: 0.85em;
    }
    #scrollToForm{
        margin-top: 1em;
    }
    #affiliate_data {
        transform: translateY(-1.5em);
    }
    #inner_form span.onTopOfBox{
        font-size: 1.15em;
    }
    #inline_estimated .nicebox div > span:last-of-type{
        font-size: 1.35em;
    }
    #grid_overview{
        font-size: 1.05em;
    }
    .confirmed #inner_splash h2, .refused #inner_splash h2{
        font-size: 1.25em;
    }
    #splash_img:not(.confirmed):not(.refused) {
        right: 0vw;
        background-position: right bottom;
        background-size: contain;
        height: 40vh;
    }
  }

@media screen and (max-width: 475px) {
    #inner_splash h1{
        font-size: 3em;
    }
    #inner_form span.onTopOfBox{
        font-size: 1.15em;
    }
    #inner_form #inline_estimated .nicebox{
        justify-items: left;
        grid-template-columns: 100%;
    }
    #inner_form footer section:last-child > div{
        width: 60%;
    }
  }

@media screen and (max-width:405px) {
    #splash_img:not(.confirmed):not(.refused) {
        height: 35vh;
        right: 0;
    }
    #inner_splash h1{
        font-size: 2.5em;
    }
    #form #form_data input, #form #form_data select{
        width: 62vw;
    }
    #grid_overview{
        font-size: .95em;
    }
    #inner_form footer section:last-child > div{
        width: 65%;
    }
  }

@media screen and (max-width:350px){
    #splash_img:not(.confirmed):not(.refused) {
        height: 35vh;
    }
    #affiliate_data {
        width: 100%;
    }
    #inner_form footer section:last-child > div{
        width: 70%;
    }
  }

@media screen and (max-width:315px) {
    #inner_splash h1{
        font-size: 1.85em;
    }
    #form #form_data input, #form #form_data select{
        width: 58vw;
    }
    #inner_form footer section:last-child > div{
        width: 75%;
    }
  }