
.quiz {
    width: 100%;
    /* max-width: 1040px; */
    margin: 0 auto;
    border-radius: 0;
    background: #fff;
    position: relative;
    padding: 50px;
    font-size: 19px;
    line-height: 1.5;
    color: #252525;
    font-weight: normal;
}
.quiz .progress-bar {background-color: #555;}
.quiz .progress {background-color: #cbcbcb;border-radius: 0;}
.quiz-counter {
    font-size: 14px;
    font-weight: 700;
}
.quiz h2 {
    color: #252525;
    font-size: 1.25em;
    font-weight: 400;
}
.quiz .step label p {
    margin: 0;
    font-weight: 400;
}
.quiz .form-check-fem, .quiz .form-check-man {
    border: 6px solid #fff;
    border-radius: 28px;
    padding: 12px 10px;
    width: 200px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    margin: 10px;
    float: left;
}

.quiz .form-check-man {
    float: none;
    width: 200px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}
.quiz .btn {background-color: #EDAA25;color: #fff;margin-left: 0;text-align: center;text-transform: uppercase;width: 100%;border-radius: 0;text-decoration: none;border: 1px solid #EDAA25;text-align: center;margin: 35px 10px 0;cursor: pointer;padding: 10px 0;border-radius: 0;font-size: 14px;line-height: 1.42857143;}
/*.quiz .btn:hover {
    background-color: #fff;
    border-color: #fff;
    color: #000;
}*/
.quiz .form-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    flex-direction: row;
    margin-top: 20px;
}
.quiz .text-muted p {
    color: #252525;
    line-height: 1;
    font-size: 18px;
}
.quiz .form-control-input {
    font-size: 15px;
    width: 100%;
    height: 46px;
    padding: 1px 18px;
    font-size: 16px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 21px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.quiz .form-control-input {
    height: 26px;
    padding: 5px;
    margin-top: 4px;
    border: none;
    /* color: #999; */
    border-radius: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    font-size: 16px;
    text-align: left;
    /* background: #000000a3; */
    border-bottom: 1px dashed #999;
    width: 200px;
    margin-top: 0px;
}
.quiz .form-input label {
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
    }
    
.quiz input[type="checkbox"]:checked, 
.quiz input[type="checkbox"]:not(:checked), 
.quiz input[type="radio"]:checked, 
.quiz input[type="radio"]:not(:checked) 
{
    position: absolute;
    left: -9999px;
}

.quiz input[type="checkbox"]:checked + label, 
.quiz input[type="checkbox"]:not(:checked) + label, 
.quiz input[type="radio"]:checked + label, 
.quiz input[type="radio"]:not(:checked) + label {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    line-height: 15px;
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 20px;
}
.quiz input[type="checkbox"]:checked + label:before, 
.quiz input[type="checkbox"]:not(:checked) + label:before,
.quiz input[type="radio"]:checked + label:before, 
.quiz input[type="radio"]:not(:checked) + label:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 18px;
    height: 18px;
    border: 1px solid #dddddd;
    background-color: #ffffff;
}

.quiz input[type="checkbox"]:checked + label:before, 
.quiz input[type="checkbox"]:not(:checked) + label:before {
    border-radius: 0;
}

.quiz input[type="radio"]:checked + label:before, 
.quiz input[type="radio"]:not(:checked) + label:before {
    border-radius: 0
}

.quiz input[type="checkbox"]:checked + label:after, 
.quiz input[type="checkbox"]:not(:checked) + label:after, 
.quiz input[type="radio"]:checked + label:after, 
.quiz input[type="radio"]:not(:checked) + label:after {
    content: "";
    position: absolute;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.quiz input[type="checkbox"]:checked + label:after, 
.quiz input[type="checkbox"]:not(:checked) + label:after {
    left: 5px;
    top: 0px;
    width: 9px;
    height: 15px;
    border-radius: 1px;
    border-left: 4px solid #EDAA25;
    border-bottom: 4px solid #EDAA25;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.quiz input[type="radio"]:checked + label:after, 
.quiz input[type="radio"]:not(:checked) + label:after {
    left: 5px;
    top: 0px;
    width: 9px;
    height: 15px;
    border-radius: 1px;
    border-left: 4px solid #EDAA25;
    border-bottom: 4px solid #EDAA25;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.quiz input[type="checkbox"]:not(:checked) + label:after, 
.quiz input[type="radio"]:not(:checked) + label:after {
    opacity: 0;
}

.quiz input[type="checkbox"]:checked + label:after, 
.quiz input[type="radio"]:checked + label:after {
    opacity: 1;
}

.quiz input[name="gender"]:checked + label, 
.quiz input[name="gender"]:not(:checked) + label {
    border: 1px solid #ccc;
    padding: 11px 20px;
    border-radius: 5px;
    width: 100%;
    text-align: center;
    font-weight:500
}
.quiz input[name="gender"]:checked + label {color:#edaa25}
.quiz input[name="gender"]:checked + label:after, 
.quiz input[name="gender"]:not(:checked) + label:after,.quiz input[name="gender"]:checked + label:before, 
.quiz input[name="gender"]:not(:checked) + label:before  {
        display: none;
}
.step-img {
    text-align: center;
}
.step-img img {
    width: 100px;
    margin: 20px 0 50px;
}