.adhesion-wrapper {
    width: 100%;
    margin-top: 15%;
    margin-bottom: 10%;
}

.pad{
    padding: 10% !important;
}

.error-hide{
    visibility: hidden !important;
}

.adhesion-wrapper p {
    color: grey;
    font-size: 1.2em;
}

#heading {
    text-transform: uppercase;
    color: #673AB7;
    font-weight: normal;
    font-size: 3em;
}

#msform {
    text-align: center;
    position: relative;
    margin-top: 20px
}

#msform fieldset {
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative
}

.adhesion-wrapper .form-card {
    text-align: left
}

#msform fieldset:not(:first-of-type) {
    display: none
}

#msform input,
#msform textarea {
    padding: 8px 15px 8px 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
    margin-bottom: 25px;
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2C3E50;
    background-color: #ECEFF1;
    font-size: 16px;
    letter-spacing: 1px
}
.show-error{
    border: 1px solid #f7b4b9 !important;
    background-color: #f8d7da !important;
    color: white !important;
}

.error_message{
    border: 1px solid #f7b4b9 !important;
    background-color: #f8d7da !important;
    border-radius: 10px;
    color: white !important;
    padding: 0.6em;
    visibility: hidden;
}

#msform input:focus,
#msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #673AB7;
    outline-width: 0
}

#msform .action-button {
    width: 100px;
    background: #673AB7;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 0px 10px 5px;
    float: right
}

#msform .action-button:hover,
#msform .action-button:focus {
    background-color: #311B92
}

#msform .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px 10px 0px;
    float: right
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    background-color: #000000
}

.adhesion-wrapper .card {
    z-index: 0;
    border: none;
    position: relative;
    border-radius: 8px;
    box-shadow: 8px 8px 8px #2727276a;
    width: 80%;
    max-width: 80%;
    min-width: 80%;
}

.adhesion-wrapper .card h2 {
    font-weight: 2.5em;
}

.adhesion-wrapper .fs-title {
    font-size: 25px;
    color: #673AB7;
    margin-bottom: 15px;
    font-weight: normal;
    text-align: left
}

.adhesion-wrapper .purple-text {
    color: #673AB7;
    font-weight: normal
}

.adhesion-wrapper .steps {
    font-size: 25px;
    color: gray;
    margin-bottom: 10px;
    font-weight: normal;
    text-align: right
}

.adhesion-wrapper .fieldlabels {
    color: gray;
    text-align: left
}

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey
}

#progressbar .active {
    color: #673AB7
}

#progressbar li {
    list-style-type: none;
    font-size: 15px;
    width: 25%;
    float: left;
    position: relative;
    font-weight: 400
}

#progressbar #account:before {
    font-family: FontAwesome;
    content: "\f13e"
}

#progressbar #personal:before {
    font-family: FontAwesome;
    content: "\f007"
}

#progressbar #payment:before {
    font-family: FontAwesome;
    content: "\f030"
}

#progressbar #confirm:before {
    font-family: FontAwesome;
    content: "\f00c"
}

#progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 20px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px
}

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #673AB7
}

.adhesion-wrapper .progress {
    height: 20px
}

.adhesion-wrapper .progress-bar {
    background-color: #673AB7
}

.adhesion-wrapper .fit-image {
    width: 100%;
    object-fit: cover
}


/****** checkboxes *********
****************************/
.btn-submit{
    background-color: #71c34b !important;
    color: white !important;
    margin-top: 5% !important;
}
.btn-submit:hover{
    background-color: #66db30 !important;
}
.input-group{
    margin-top: 4%;
    margin-bottom: 2%;
}

input[type="radio"] {
    display: none;
}
input[type="radio"] + label,
select {
    display: inline-block;
    width: 200px;
    padding: 8%;
    text-align: center;
}
input[type="radio"] + label:first-of-type {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    border: solid 1px #311B92;
    background-color: rgb(229, 226, 226);
}
input[type="radio"] + label:last-of-type {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border: solid 1px #311B92;
    background-color: rgb(229, 226, 226);
}
input[type="radio"] + label i {
    padding-right: 0.4em;
}
input[type="radio"]:checked + label,
input:checked + label:before,
select:focus,
select:active {
    background-color: #683ab7da;
    color: #fff;
    border-color: #683ab7da;
}
input[type="checkbox"] {
    transform: scale(4);
}

.validator{
    background-color: #f7b4b9;
    border-radius: 7px;
}