.form-card {
    max-width: 480px;
    border-radius: 8px;
    filter: drop-shadow(0px 6px 15px rgba(62,91,156,0.2));
    background-color: #ffffff;
    padding: 0;
}
.form-card .form-card--header {
    background-color: #5ab8c0;
    padding: 15px 30px;
    font-size: 22px;
    line-height: 25px;
    color: #ffffff;
    font-weight: 700;
    font-family: "Lato", sans-serif;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding-left: 45px;
}
.form-card .form-card--header .icon-header {
    width: 24px;
    height: 30px;
    display: inline-block;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url('../../assets/book-image.png');
    margin-right: 3px;
    margin-left: -30px;
}
.form-wrap .form-success-box {
    display: none;
}
.form-card .form-card--body {
    padding: 30px;
}
.form-card a {
    color: #3e5b9c;
}
.form-card .message {
    font-size: 18px;
    line-height: 30px;
    color: #313641;
    font-weight: 700;
    font-family: "Lato", sans-serif;
}
.questions-numbered-block {
    min-height: 78px;
    border-radius: 8px;
    background-color: #ebeff2;
    display: flex;
    align-content: center;
    position: relative;
    padding: 8px 15px 8px 70px;
    font-style: italic;
    font-size: 18px;
    line-height: 30px;
    color: #313641;
    font-weight: 400;
    font-family: "Lato", sans-serif;
    margin-bottom: 20px;
    align-items: center;
}
.questions-numbered-block::before{
    content: attr(data-number);
    display: inline-flex;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #afb6c1;
    height: 100%;
    width: 60px;
    padding: 15px 5px;
    justify-content: center;
    align-content: center;
    font-size: 31px;
    line-height: 42px;
    color: #ffffff;
    font-weight: 700;
    font-style: normal;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.wpcf7-form .wpcf7-checkbox .wpcf7-list-item input[type="checkbox"], .wpcf7-form .wpcf7-radio .wpcf7-list-item input[type="radio"] {
    display: none !important;
}
.wpcf7-form .form-page-slides .wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label,
.wpcf7-form .form-page-slides .wpcf7-radio input[type="radio"] + .wpcf7-list-item-label {
    color: #ffffff;
    text-align: center;
    display: inline-block;
    width: 100%;
    border-radius: 8px;
    background-color: #253d75;
    color: #ffffff;
    font-size: 20px;
    line-height: 25px;
    color: #ffffff;
    padding: 7px;
    font-weight: 400;
    font-family: "Lato", sans-serif;
    cursor: pointer;
}
.wpcf7-form .form-page-slides .wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label:hover, .wpcf7-form .form-page-slides .wpcf7-checkbox input[type="checkbox"]:checked + .wpcf7-list-item-label {
    background-color: #e14b4f;
}
.wpcf7-form-control span.wpcf7-list-item {
    width: 46%;
    margin-right: 4%;
    margin-left: 0;
}
.wpcf7-form-control.wider-choose-elements span.wpcf7-list-item {
    min-width: 100%;
}

@media screen and (min-width: 1080px) {
    .margin-md-left-auto .form-card{
        margin-left: auto;
    }
}
/*@media screen and (min-width: 768px) and (max-width: 1040px) {
    .elementor-top-section .elementor-widget-wrap .form-card {
        margin-bottom: -160px;
    }
}*/
@media screen and (max-width: 1080px){
    
    .form-card .form-card--header {
        font-size: 16px;
        line-height: 20px;
    }
    .form-card .form-card--body {
        padding: 15px;
    }
    .form-card .message {
        font-size: 18px;
        line-height: 24px;
    }
    .questions-numbered-block {
        font-size: 16px;
        line-height: 24px;
    }
    .wpcf7-form .form-page-slides .wpcf7-checkbox input[type="checkbox"] + .wpcf7-list-item-label {
        font-size: 16px;
        line-height: 22px;
    }
}


@media screen and (max-width: 768px){ 
    .form-card {
        margin-left: auto;
        margin-right: auto;
    }
}