* {
    padding:0;
    margin:0;
}
body, select, option {
    font-family: "Open Sans", sans-serif;;
}
select {
    font-size:inherit!important;
}
.bgform > img {
    background-repeat: no-repeat;
    background-position: center;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.form-content {
    background-color: rgba(255, 255, 255, .9);
    box-shadow: 0px 11px 29px 0px rgba(0, 0, 0, 0.61);
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding: 50px;
    margin: 100px auto;
    z-index:1;
}
.question-answers {
    display: none;
}

.logo-form svg {
    width: 200px;
}

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

.form-title {
    text-align: center;
    border-top: 1px solid rgb(84, 86, 91);
    border-bottom: 1px solid rgb(84, 86, 91);
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.the-title h1 {
    font-size: 20px;
    font-family: "Open Sans", sans-serif;;
    color: rgb(84, 86, 91);
    font-weight: bold;
    line-height: 1.35;
    letter-spacing: 4px;
}

.the-desc p {
    font-size: 16px;
    font-family: "Open Sans", sans-serif;;
    color: rgb(84, 86, 91);
    line-height: 1.688;
}

.form-steps {
    display: table;
    margin: 0 auto;
}

.the-steps {
    display: flex;
}

.the-steps .step {
    border-radius: 50%;
    background-color: rgb(84, 86, 91);
    font-size: 14px;
    font-family: "Open Sans", sans-serif;;
    color: rgb(255, 255, 255);
    padding: 4px 15px;
    line-height: 2;
    opacity: 0.3;
    position: relative;
    margin-right: 40px;
}

.the-steps .step.enabled {
    opacity: 0.6;
    cursor:pointer;
}

.the-steps .step.active {
    opacity: 1;
    cursor:pointer;
}

.the-steps .step:after {
    content: "";
    position: absolute;
    width: 40px;
    height: 1px;
    background: rgb(84, 86, 91);
    top: 50%;
    transform: translateY(-50%);
    left: 36px;
}

.the-steps > .step:last-child {
    margin-right: 0;
}

.the-steps > .step:last-child:after {
    display: none;
}

.footer-form {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}


.actionbutton button {
    opacity: 0.5;
    cursor: pointer;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;;
    color: rgb(255, 255, 255);
    line-height: 1.929;
    background: rgb(84, 86, 91);
    border: 0;
    padding: 7px 0;
    width: 150px;
    border: 2px solid rgb(84, 86, 91);
    font-weight: 500;
    text-align: center;
    cursor:default;
}
.actionbutton.prev button {
    background: transparent;
    color: rgb(84, 86, 91);
}
.actionbutton.active button {
    opacity: 1;
    cursor:pointer;
}
.main-form {
    margin-top: 30px;
    margin-bottom: 30px;
}
.question-grid {
    display: block;
    padding: 10px 10px 10px 30px;
}

.question-grid > .question, .question-grid > .answer, .question-grid > .comments {
    vertical-align: middle;
}

.question-grid > .question {
    width: 23%;
    font-size: 16px;
    font-family: "Open Sans", sans-serif;;
    color: rgb(84, 86, 91);
    line-height: 1;
}

.question-grid > .comments {
    width: 17%;
    text-align: center;
}
.comments.noRadios {
    width: 76%;
}
.question-grid > .comments p {
    font-size: 12px;
    font-family: "Open Sans", sans-serif;;
    color: rgb(84, 86, 91);
    text-decoration: underline;
    text-transform: uppercase;
    line-height: 2.25;
    cursor:pointer;
}



.question-answers > .question-grid:last-child {
    border: 0;
}

.question-grid.category {
    background: rgb(84, 86, 91);
    color: white;
}

.answer span {
    display: block;
    margin:8px 0;
}

.answer span.inline {
    display: inline-block;
}


.question-grid > .answer:has( .inline) {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    text-align: center;
}

.question-grid > .answer > .inline {
    flex: 98%;
    border: 1px solid;
    margin: 0 5px;
    border-radius: 10px;
    line-height: 35px;
    height: 35px;
    position: relative;
}

.question-grid > .answer > .inline label {
    width: 100%;
    position: absolute;
    height: 20px;
    left: 0;
    top: 0;
    border-radius: 8px;
}


.question-grid > .answer > .inline input {
    position: absolute;
    visibility: hidden;
}

.question-grid > .answer > .inline input:checked + label {
    background: #54565b;
    height: 35px;
    color: white;
}

input[type="text"], input[type="email"], textarea, select {
    height: 35px;
    width: 100%;
    border-radius: 8px;
    padding: 0 10px;
}
textarea {
    height: 85px;
    padding: 10px;
}


.question-grid.category > div {
    color: white;
    font-weight: 500;
}

.question-grid.category .answer span {
    font-weight: 400;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;;
    color: rgb(255, 255, 255);
    line-height: 1.929;
}
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header h2 {
    font-size: 20px;
    color: white;
}

.modal-body {
    padding: 20px;
}

.modal {padding: 0;}

.modal-content {
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 0;
}

.comments textarea {
    width: 100%;
    height: 100%;
    border: 1px solid #aaaaaa;
    padding: 7px;
    border-radius: 0;
}


.modal-body textarea {
    height: 200px;
    width: 100%;
    border: 1px solid #aaaaaa;
    padding: 7px;
    border-radius: 0;
}

.modal-header {
    padding: 20px;
    background: rgb(84, 86, 91);
}

span.close {
    margin-top: -7px;
}

.close:hover, .close:focus {
    color: white;
}

.comments.hasComment p {
    font-weight: 500;
    position: relative;
}

.comments.hasComment p:after {
    content: "1";
    position: absolute;
    font-size: 6px;
    width: 12px;
    height: 12px;
    background: #54565b;
    color: white;
    text-align: center;
    border-radius: 50%;
    line-height: 13px;
}
.mob {
    display:none;
}


@media screen and (min-width:1100px) {
    .the-steps {
        display: flex!important;
    }
}
/***********MOBILIE***********/
@media screen and (max-width:1100px) {
    .main-form {
        display: none;
    }
    
    .footer-form {
        display: none;
    }
    
    .the-steps {
        display: none;
    }
    
    .mob {
        display:block;
    }
    .form-content {
        position: absolute;
        width: 100%;
        max-width: calc(100% - 60px);
        padding: 0;
    }
    .bgform.showanswers .form-content {
        position: relative;
        width: 100%;
        top: auto;
        left: 0;
        transform: none;
        max-width: 100%;
        padding: 0;
    }

    .bgform {
        padding: 0 30px;
    }
    
    .bgform.showanswers {
        height: auto;
        padding: 30px;
    }
    
    .header-form, .footer-form, .main-form {
        padding: 10px;
    }
    #getStarted {
        margin: 20px 0;
        color: white;
        font-weight: bold;
        background: #54565b;
        padding: 10px 20px;
    }
    
    .question-grid.category .answer {
        display: none;
    }
    
    .question-grid.category .question {
        width: 100%;
        text-align: center;
        color: #54565b;
    }
    

    
    .footer-form {
        text-align: center;
    }
    
    .actionbutton {
        margin-bottom: 20px;
    }
    
    .question-grid {
        padding: 10px;
    }
    
    .question-grid > .question {
        width: 100%;
        text-align: center;
    }
    
    .question-grid > .answer {
        width: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    .answer span {
        width: 100%;
        position: relative;
    }
    
    .question-grid > .comments {
        width: 100%;
        margin-top: 10px;
    }
    
    .form-steps {
        display: block;
    }
    
    .the-steps {
        width: 100%;
        margin-top: 20px;
        text-align: center;
    }
    
    .the-steps .step {
        display: inline-block;
        margin-right: 6px;
    }
    
    .the-steps .step:after {
        width: 11px;
    }
    .form-steps .mob {
        display: table;
        margin-left: auto;
        margin-right: auto;
    }
    .comments.noRadios textarea {
        height: 55px;
    }

}


@media screen and (max-width:640px) {
    .question-grid > .answer:has( .inline) {
        display: block;
        width: 100%;
        position: relative;
    }
    
    .question-grid > .answer .inline {.question-grid > .answer: has( .inline);
    .question-grid > .answer: has( .inline);width: 100%;margin-bottom: 20px;display: block;}
    
    .question-grid > .answer > .inline label {
        height: 100%;
    }
}