.landing-content {
    width: 100%;
    height: 100%;
}

.content-grid {
    display: grid;
    grid-gap: 24px;
    grid-template-columns: 100%;
    grid-template-rows: -webkit-min-content 1fr -webkit-min-content;
    grid-template-rows: min-content 1fr min-content;
    height: 100%;
    min-height: 460px;
    overflow: hidden;
    padding: 24px 16px;
    width: 100%;
    position: relative;
}

@media (min-width: 700px) and (max-height: 650px) {
    .content-grid {
        grid-template-rows: 90px 450px 140px;
        min-height: 680px;
    }
}

/**
 ********************
 * Main grid
 ********************
 */

.grid-top-content {
    grid-column: 1;
    grid-row: 1;
    z-index: 100;
}

.grid-middle-content {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.grid-bottom-content {
    grid-column: 1;
    grid-row: 3;
    position: relative;
    z-index: 110;
    transition: max-height .3s ease-in-out;
    width: 100%;
}

/**
 ********************
 * Progress bar
 ********************
 */

.landing-progressbar-container {
    margin: 0 auto;
    max-width: 1080px;
}

.landing-progressbar {
    height: 16px;
    background: #e5e5e5;
    border-radius: 8px;
}

.landing-progress {
    background: currentColor;
    color: #029398;
    height: 16px;
    max-width: 100%;
    min-width: 24px;
    position: relative;
    transition-duration: .4s;
    transition-property: background,color,opacity,width;
    border-radius: inherit;
}


/**
 ********************
 * Formulaire middle
 ********************
 */

.landing-middle-content {
    height: 100%;
    width: 100%;
    position: relative;
}

.landing-middle-content2 {
    position: absolute;
    height: 100%;
    width: 100%;
}

.landing-middle-content-grid {
    align-content: center;
    display: grid;
    font-size: 19px;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0,1fr);
    height: 100%;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.landing-flat {
    /*grid-template-rows: -webkit-min-content minmax(0,1fr);*/
    /*grid-template-rows: min-content minmax(0,1fr);*/
    overflow-x: hidden;
    overflow-y: auto;
    display: grid;
    grid-gap: 16px;
    transform: translateZ(0);
}

.landing-flat-title {
    display: grid;
    grid-gap: 8px;
}

.landing-flat-title h2 {
    font-size: 25px;
    line-height: 24px;
    margin: 0;
    text-align: left;
    width: 100%;
    font-weight: 700;
}

.landing-flat-form {
    display: grid;
    text-align: initial;
    align-content: start;
    grid-template-rows: -webkit-min-content -webkit-min-content;
    grid-template-rows: min-content min-content;
}

.flat-form-part {
    display: block;
    margin: 15px 0;
}

.landing-flat-price {
    padding: 15px;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
}

.landing-flat-price h2 {
    font-size: 35px;
    font-weight: 900;
    color: #029398;
}

.landing-flat-price p {
    font-size: 16px;
    margin-bottom: 0;
    font-weight: 300;
}

@media (min-width: 700px) {
    .landing-middle-content-grid {
        grid-template-columns: -webkit-min-content;
        grid-template-columns: min-content;
        grid-template-rows: -webkit-min-content;
        grid-template-rows: min-content;
    }

    .landing-flat {
        min-height: 450px;
        overflow: visible;
        width: 600px;
        grid-gap: 24px;
    }

    .landing-flat-title h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .landing-flat-form {
        grid-template-rows: -webkit-min-content 1fr;
        grid-template-rows: min-content 1fr;
    }

    .flat-form-part {
        margin: 30px 0;
    }
}


/**
 ********************
 * Bottom navigation
 ********************
 */

.landing-bottom-navigation {
    align-items: center;
    display: grid;
    grid-auto-rows: 1fr;
    grid-gap: 8px 16px;
    grid-template-columns: 100%;
    justify-items: stretch;
}

/**
 ********************
 * Boutons
 ********************
 */

/* Base du bouton */
.landing-button {
    width: 100%;
    background: none;
    color: #afafaf;
    border-color: transparent;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 20px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border-style: solid;
    transform: translateZ(0);
    transition: filter .2s;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.landing-button:after {
    border-color: transparent;
    bottom: -4px;
    content: "";
    left: 0;
    right: 0;
    top: 0;
    background-clip: padding-box;
    border-style: solid;
    position: absolute;
    z-index: -1;
}

/* Bouton de retour */
.landing-back-button, .landing-back-button:after {
    border-width: 2px 2px 4px;
    border-radius: 7px;
}

.landing-back-button:after{
    background-color: #fff;
    border-color: #e5e5e5;
}

.landing-back-button:hover:not(:disabled) {
    filter: brightness(.9);
}

.landing-back-button:active:not(:disabled) {
    border-width: 4px 2px 2px;
}

/* Bouton suivant */
.landing-next-button {
    background-color: #01787c;
    color: #fff;
    border-color: transparent;
}

.landing-next-button, .landing-next-button:after {
    border-width: 0 0 4px;
    border-radius: 7px;
}

.landing-next-button:after {
    background-color: #029398;
    border-color: transparent;
}

.landing-next-button:hover:not(:disabled) {
    filter: brightness(1.1);
}

.landing-next-button:active:not(:disabled) {
    background: none;
    border-radius: 16px;
    border-width: 4px 0 0;
}

.landing-next-button[disabled]:after {
    background-color: #EEE;
    color: white;
}


/**
 ********************
 * Formulaire
 ********************
 */

.flat-form-part input {
    width: 100%;
    padding: 12px 16px;
    height: 52px;
    border-style: solid;
    border-color: #e5e5e5;
    color: #444444;
    font-size: 16px;
    font-weight: 300;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.flat-form-part input:after {
    /*border-color: transparent;*/
    bottom: -4px;
    content: "";
    left: 0;
    right: 0;
    top: 0;
    background-clip: padding-box;
    border-style: solid;
    position: absolute;
    z-index: -1;
    background-color: #fff;
    /*border-color: #e5e5e5;*/
}

.flat-form-part input, .flat-form-part input:after {
    border-width: 2px 2px 4px;
    border-radius: 7px;
}

.flat-form-part select {
    width: 100%;
    padding: 12px 16px;
    height: 52px;
    border-style: solid;
    border-color: #e5e5e5;
    color: #444444;
    font-size: 16px;
    font-weight: 300;
    background-image: url("/app-content/img/picto/angle-down-light.svg");
    background-repeat: no-repeat;
    background-position: calc(100% - 10px);
    background-size: 10px;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

.flat-form-part select:after {
    /*border-color: transparent;*/
    bottom: -4px;
    content: "";
    left: 0;
    right: 0;
    top: 0;
    background-clip: padding-box;
    border-style: solid;
    position: absolute;
    z-index: -1;
    background-color: #fff;
    /*border-color: #e5e5e5;*/
}

.flat-form-part select, .flat-form-part select:after {
    border-width: 2px 2px 4px;
    border-radius: 7px;
}

.flat-form-part textarea {
    width: 100%;
    padding: 12px 16px;
    height: 150px;
    border-style: solid;
    border-color: #e5e5e5;
    color: #444444;
    font-size: 16px;
    font-weight: 300;
    resize: none;
}

.flat-form-part textarea:after {
    /*border-color: transparent;*/
    bottom: -4px;
    content: "";
    left: 0;
    right: 0;
    top: 0;
    background-clip: padding-box;
    border-style: solid;
    position: absolute;
    z-index: -1;
    background-color: #fff;
    /*border-color: #e5e5e5;*/
}

.flat-form-part textarea, .flat-form-part textarea:after {
    border-width: 2px 2px 4px;
    border-radius: 16px;
}

/*.flat-form-input input:focus:not(:disabled) {*/
/*    border-width: 4px 2px 2px;*/
/*}*/

.flat-form-part span {
    font-size: 13px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #777777;
    text-align: left;
    display: block;
    margin-bottom: 6px;
}

.flat-form-choice {
    display: flex;
}

.lp_logpage_side_part {
    display: flex;
    width: 50%;
    background: #029398;
}

.lp_logpage_bgcolor {
    background-color: #00919B;
    background-size: cover;
}

/* Signup form */
.lp_logpage {
    display: flex;
    width: 100%;
}

.lp_logpage p, .lp_logpage span, .lp_logpage h1,
.lp_logpage h2, .lp_logpage h3, .lp_logpage h4,
.lp_logpage h5, .lp_logpage h6, .lp_logpage pre {
    font-family: 'Poppins', sans-serif;
}

.lp_log_form {
    min-height: 100vh;
    padding: 10px 10px 80px 10px;
    display: flex;
    width: 50%;
}

.lp_log_form_container {
    padding: 0 60px 0 145px;
    /*margin: auto;*/
    display: block;
    width: 100%;
}

.lp_log_partner {
    display: flex;
}

.lp_log_partner_logo {
    margin-left: 5px;
    height: 15px;
    margin-top: auto;
    margin-bottom: auto;
}

.lp_log_partner_logo img {
    height: 15px;
}

.lp_log_tag {
    padding: 3px 10px;
    background: #DE2F3D;
    display: inline-block;
    border-radius: 999px;
    height: 26px;
    margin: auto 0;
}

.lp_log_tag_txt {
    text-transform: uppercase;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.lp_log_form h2{
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    color: #131522;
    margin-bottom: 40px;
    margin-top: 10px;
}

.lp_subtitle {
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
    color: #131522;
    margin-bottom: 10px;
}

.lp_log_description {
    font-size: 18px;
    line-height: 30px;
    color: #131523;
    margin-bottom: 15px;
    font-weight: 400;
}

.lp_log_important {
    font-weight: bold;
    color: #029398;
}

.lp_log_videolink {
    all: unset;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #7E84A3;
    cursor: pointer;
    pointer-events: auto;
    visibility: hidden;
}

.lp_ariane_active {
    font-weight: 700;
    color: #00919B;
}

.lp_ariane_separation {
    margin: 0 5px;
}

.lp_log_form_item {
    margin: 20px 0;
}

.lp_log_form_item > input, .lp_log_form_item > select  {
    max-width: 330px;
    width: 100%;
    height: 50px;
    padding: 10px;
    border: 1px solid #7F84A0;
    color: #131523;
}

input.lp_log_form_intl {
    max-width: 330px;
    width: 100%;
    height: 50px;
    padding: 10px;
    border: 1px solid #7F84A0;
    color: #131523;
}

.lp_log_form_item > select  {
    background: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat;
    background-position: calc(100% - 0.75rem) center !important;
    -moz-appearance:none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    padding-right: 2rem !important;
}

.lp_log_form_item label {
    display: block;
    font-size: 13px;
    line-height: 16px;
    color: #7E84A3;
    margin-bottom: 4px;
}

.log_page_side_container {
    margin: 0;
    padding: 0 40px;
    width: 100%;
}

.log_page_side_video {
    width: 100%;
    max-width: 700px;
    border-radius: 7px;
    overflow: hidden;
    margin: 40px auto 0;
}

.functionalities_carousel__item {
    display: flex;
}

.functionalities_carousel__item img {
    width: 35px;
    height: 35px;
    display: none;
    margin: auto 5px;
}

.functionalities_carousel__item p {
    margin: auto 0 auto 45px;
    font-size: 18px;
    line-height: 26px;
    color: rgba(255,255,255,.4);
    transition: color .3s, font-size .3s, margin-left 0s;
}

.log_page_side {
    position: sticky !important;
    position: -webkit-sticky !important;
    top: calc(50%);
    transform: translateY(-50%);
}

.log_page_side h3 {
    text-align: center;
    color: white;
    font-weight: 600;
    margin: 30px 0;
}

.functionnalities_carousel {
    width: 400px;
    margin: 0 auto 30px auto;
}

.functionnalities_carousel .is-active > p {
    margin-left: 0;
    color: rgba(255,255,255,1);
    font-size: 22px;
}

.functionnalities_carousel .is-active > img {
    display: block;
}

/**
 ***************
 *  Sale page  *
 ***************
 */
.lp_log_sale.lp_log_form {
    width: 100%;
}

.lp_log_sale.lp_logpage_side_part {
    width: 100%;
    max-width: 360px;
    background: url(/app-content/img/logos/tracewizi10.svg), #029398;
    background-repeat: no-repeat, no-repeat;
    background-position: top -8rem right -13rem, center;
}

.lp_log_sale .lp_log_description {
    margin-bottom: 20px;
}

.lp_log_sale .lp_log_form_container {
    max-width: 1060px;
}

/**
 ****************
 * Mediaqueries *
 ****************
 */

@media screen and (max-width: 1250px) {
    .lp_log_form_container {
        padding: 0 30px 0 60px;
    }

    .lp_navbar .wizi_navbar_logo_container{
        padding-left: 60px !important;
    }
}

@media screen and (max-width: 980px) {
    .lp_logpage {
        flex-direction: column-reverse;
    }

    .lp_log_form {
        width: 100%;
    }

    .lp_logpage_side_part  {
        width: 100%;
    }

    .lp_log_form_container {
        padding: 0 15px 0 30px;
    }

    .lp_navbar .wizi_navbar_logo_container{
        padding-left: 30px !important;
    }

    .log_page_side {
        top: 0;
        transform: none;
    }

    .functionnalities_carousel {
        margin-bottom: 0;
    }

    .log_page_side_video {
        display: none;
    }

    .lp_log_videolink {
        visibility: visible;
    }
}

@media screen and (max-width: 670px) {
    .lp_log_form h2 {
        font-size: 20px;
        line-height: 30px;
    }
    .lp_log_form p {
        font-size: 15px;
        line-height: 21px;
    }

    .functionalities_carousel__item p{
        margin: auto 0;
    }

    .functionnalities_carousel .is-active > p {
        font-size: 18px;
        margin-left: 0;
    }

    .log_page_side_container {
        padding: 0;
        margin: 0 auto;
        width: auto;
        overflow: hidden;
    }

    .lp_log_form_container {
        padding: 0 15px;
    }
}

@media (min-width: 1000px) {
    .landing-bottom-navigation {
        margin-left: calc(50% - 500px);
    }
}

@media (min-width: 700px) {
    .content-grid {
        grid-gap: 0;
        grid-template-rows: 100px 1fr 140px;
        min-height: 690px;
        padding: 0;
    }

    .grid-bottom-content {
        background: #fff;
        border-top: 2px solid #e5e5e5;
        max-height: 140px;
        bottom: 0;
        position: absolute;
    }

    .landing-progressbar-container {
        padding: 50px 40px 0;
    }

    .landing-bottom-navigation {
        align-items: center;
        grid-auto-rows: auto;
        grid-template-columns: repeat(5,1fr);
        grid-template-rows: 100%;
        justify-content: space-between;
        min-height: 140px;
        padding: 0 40px;
        width: 100%;
        max-width: 1000px;
        position: relative;
        touch-action: none;
        -webkit-touch-callout: none;
    }

    .landing-bottom-navigation-back {
        grid-column: auto/2;
        justify-self: start;
    }

    .landing-bottom-navigation-next {
        grid-column: 5/auto;
        justify-self: end;
    }

    .landing-button {
        min-width: 150px;
        font-size: 17px!important;
    }
}