.lonyo-account-section {
    padding: 53px 0 146px;
    position: relative;
}

.form-request h1 {
    font-size: 27px;
}

.form-request .lonyo-account-title {
    max-width: 100% !important;
}

.nice-select {
    width: 100%;
    margin-bottom: 20px;
    height: 60px;
}

.form-request .lonyo-main-field p {
    font-size: 17px;
}

/* form starting stylings ------------------------------- */
.group {
    position: relative;
    margin-bottom: 45px;
}

input {
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 300px;
    border: none;
    border-bottom: 2px solid #757575;
}

.group input {
    border-bottom: 2px solid #eee;
}

input:focus {
    outline: none;
}

/* LABEL ======================================= */
label {
    color: #999;
    font-size: 17px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

/* active state */
input:focus ~ label, input:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: #5264AE;
}

/* BOTTOM BARS ================================= */
.bar {
    position: relative;
    display: block;
    width: 100%;
}

.bar:before, .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: #5264AE;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.bar:before {
    left: 50%;
}

.bar:after {
    right: 50%;
}

/* active state */
input:focus ~ .bar:before, input:focus ~ .bar:after {
    width: 50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

.group textarea {
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid #eee;
    resize: none;
}

.group textarea:focus ~ label,
.group textarea:valid ~ label {
    top: -20px;
    font-size: 14px;
    color: #5264AE;
}

.group textarea:focus ~ .bar:before,
.group textarea:focus ~ .bar:after {
    width: 50%;
}

.nice-select {
    border: 0;
    border-bottom: 2px solid #eeeeee;
    border-radius: 0;
    margin-bottom: 30px;
}

.group textarea:focus ~ .highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}


/* active state */
input:focus ~ .highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #5264AE;
    }
    to {
        width: 0;
        background: transparent;
    }
}


.slider-wrap {
    height: 100%;
    width: 100%;
}

.slider-wrap .slider {
    position: absolute;
    width: 100%;
    left: 50px;
    top: 50px;
}

.slider-item {
    width: 530px;
    padding: 20px 0 25px 30px;
    border-radius: 10px;
    background-color: #ffffff;
    display: flex;
    justify-content: flex-start;
    position: absolute;
    opacity: 0;
    z-index: 0;
    box-shadow: 0 4px 9px #f1f1f4;
    position: absolute;
    left: 0;
    top: 0;
}

.slider-item .animation-card_image {
    max-width: 150px;
    max-height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 4px 9px rgba(241, 241, 244, 0.72);
    background-color: #ffffff;
}

.slider-item .animation-card_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-item .animation-card_content {
    width: 100%;
    max-width: 374px;
    margin-left: 26px;
    font-family: "Open Sans", sans-serif;
}

.slider-item .animation-card_content .animation-card_content_title {
    color: #4a4545;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -.18px;
    line-height: 24px;
    margin: 0;
}

.slider-item .animation-card_content .animation-card_content_description {
    color: #696d74;
    font-size: 15px;
    font-weight: 300;
    letter-spacing: normal;
    line-height: 24px;
    margin: 10px 0 0 0;
}

.slider-item .animation-card_content .animation-card_content_city {
    font-size: 11px;
    margin: 10px 0 0 0;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: #696d74;
}

#card-slider {
    position: relative;
    z-index: 2;
}

.lonyo-account-section::after {
    z-index: 1;
}

.nice-select {
    padding-left: 0;
}
.form-request h1 {
    letter-spacing: normal !important;
}
.slider-item .animation-card_content .animation-card_content_title {
    font-size: 20px !important;
    font-weight: bold;
    color: #142d6f;
}
@media screen and (max-width: 900px) {
    .form-request h1 {
        font-size: 20px;
    }
    .lonyo-account-title p{
        font-size: 16px;
    }


    .slider-item {
        width: 100% !important;
    }

    #card-slider {
        left: 0;
    }

    .slider-wrap .slider {
        left: 0

    }

    .slider-item .animation-card_image {
        max-width: 86px !important;
        max-height: 60px !important;
    }
    .slider-item.active
    {
        transform: matrix(1, 0, 0, 1, 0, 104) !important;
        box-shadow: rgb(20 45 111 / 12%) -5px 8px 8px 0px;
        border: 2px solid #142d6f;
    }
    .form-request .lonyo-account-title {
        max-width: 100% !important;
        margin-bottom: 0 !important;
        padding-bottom: 25px;
    }
    .lonyo-account-box
    {
        padding: 20px;
    }
    input, input[type=date], input[type=email], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], textarea
    {
     height: 50px;
    }
    .form-request h1 {
        font-size: 20px;
        letter-spacing: normal !important;
    }
    #lonyo-submit-btn, .lonyo-default-btn, .lonyo-subcribe-btn {
        padding: 10px 21px;
        font-size: 17px;
    }
    .lonyo-account-box {
        padding: 20px;
        padding-top: 36px;
    }
    .slider-item .animation-card_content .animation-card_content_title {
        font-size: 15px !important;
        font-weight: bold;
        color: #142d6f;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .slider-item .animation-card_content .animation-card_content_description {
        color: #696d74;
        font-size: 15px;
        font-weight: 300;
        letter-spacing: normal;
        line-height: 18px;
        margin: 0;
    }
    .lonyo-account-section {
        padding: 50px 0 21px !important;
        position: relative;
    }
    .slider-item {
        padding: 20px 0 20px 8px;
    }

}
