fieldset {
    padding: 10px 20px;
    border: 1px dashed #ccc;
    margin-bottom: 20px;
}

fieldset > legend {
    text-align: center
}

legend {
    border-bottom: none;
    width: auto
}

legend h4 {
    margin: 0;
    padding: 0 10px
}

.hidden_fields {
    padding: 0 20px;
    display: none
}

.upload {
    width: 30px;
    text-align: center;
    height: 30px;
    line-height: 30px;
    border-top-right-radius: 1.2em;
    border-bottom-left-radius: 1.2em;
    float: right;
    background: #fff;
    border: 1px solid #e8e8e8;
    cursor: pointer;
}

.upload:hover {
    background: #3472e1;
    border-color: transparent
}

.upload i {
    color: #5290ff
}

.upload:hover i {
    color: #fff
}

#block-3 .form-input:last-child {
    display: none
}

.testimonials-name {
    position: absolute;
    right: 15px;
    top: 5px;
    padding: 0 !important
}

.testimonials-name a {
    float: left;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    padding: 0 !important;
    border: 1px dashed #5290ff;

    position: relative
}

.testimonials-name a:hover {
    padding: 0 !important;
    background: #5290ff;
}

.testimonials-name a i {
    color: #5290ff !important;
}

.testimonials-name a:hover i {
    color: #fff !important;
}

/* .testimonials-name a:before{ */
/* content: ""; */
/* border-bottom: 16px solid #425cbb; */
/* border-left: 18px solid transparent; */
/* position: absolute; */
/* top: -16px; */
/* } */

.secondary-form a[aria-expanded="true"] {
    background: #5290ff;
    color: #fff;
    position: relative
}

.secondary-form a[aria-expanded="true"]:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    border: 1px solid #5290ff
}

.secondary-form a[aria-expanded="true"] i:before {
    content: "\f068";
}

.secondary-form a, .secondary-form a[aria-expanded="false"] {
    width: 100%;
    text-align: left;
    background: #f1f1f1;
    border: none;
    color: #5290ff;
    text-shadow: 1px 1px 1px transparent;
    font-weight: 700
}

.secondary-form a i {
    float: right;
    line-height: 39px
}

#collapse_secondary_form {
    padding: 10px 0;
    margin-top: 0;
    background: #f7f7f7;
    border-top-right-radius: 1.2em;
    border-bottom-left-radius: 1.2em;
}

#collapse_secondary_form.collapse {
    height: 0px !important;
}

#collapse_secondary_form.collapse.in {
    height: auto !important;
}

#collapse_secondary_form.collapsing {
    max-height: auto !important;
}

.testimonials-5 [class*="col-md-"] .testimonials-single-content {
    min-height: 230px;
    float: left;
    padding: 15px;
    border-color: #ddd
}

.pagination ul li:not(.selected) {
    background-color: #fff !important
}

.pagination ul li:not(.selected):hover {
    background-color: #f1f1f1 !important
}

.form-input .red {
    color: #cc0000;
    font-size: 18px
}

.select2-container {
    width: 100% !important;
}

.select2-container .selection .select2-selection--single {
    border-radius: 0;
    border-top-right-radius: 1.2em !important;
    border-bottom-left-radius: 1.2em !important;
    height: auto;
    padding: 11.5px 15px;
    font-size: 13px;
    display: block;
    width: 100%;
    line-height: 1.42857143;
    color: #555;
    border: 1px solid #ccc;
    background-color: #fff;
    background-image: none;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(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;
}

.select2-container .selection .select2-selection--single .select2-selection__rendered {
    line-height: normal
}

.select2-container.select2-container--open .selection .select2-selection--single {
    border-bottom-left-radius: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    top: 70% !important
}

.list li i {
    margin-right: 0;
    font-size: 14px
}

.list li span:last-child {
    width: calc(100% - 135px);
    float: right
}

.info-2 .list li span:last-child {
    width: calc(100% - 157px);
    float: right
}

.pro-info-cell > div {
    min-height: 400px
}

.head-6:after {
    background-color: #5290ff !important;
}

.testimonials-5 .testimonials-bg p {
    float: left;
    width: 100%
}

.testimonials-5 .testimonials-bg p span:last-child {
    float: right;
    width: calc(100% - 130px)
}

.testimonials-5 .heading h4 {
    margin-bottom: 15px;
    font-weight: 700
}

.testimonials-5 .heading h4 i {
    margin-right: 5px;
    font-size: 100%;
}

.form_annuaire .secondary-form {
    padding-bottom: 10px
}

/*** begin form style ***/

.registration-alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.registration-error {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.row.form {
    margin: 0;
}

.st-form, .nd-form, .rd-form, .th-form, .submit {
    display: none;
}

.show-form {
    display: block;
}

.btn-group {
    width: 100%;
    margin: 10px 0;
}

#back-btn {
    float: left;
}

#next-btn {
    float: right;
}

label[for="file_rs"],
label[for="file_pi"],
label[for="file_photo"],
label[for="file_pi_bis"],
label[for="file_photo_bis"],
label[for="file_payement"] {
    color: #5290ff;
}

@media (max-width: 767px) {
    .form_annuaire > div:not(.secondary-form) {
        margin-bottom: 10px
    }
}

@media (max-width: 991px) {
    .section .search_tags li:last-child {
        float: left;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .testimonials-5 [class*="col-md-"] .testimonials-single-content {
        min-height: 300px;
    }
}
