.modal-open {
    overflow: hidden;
    padding-right: 17px!important;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10050;
    display: none;
    overflow: hidden;
    outline: 0;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

.modal.show .modal-dialog, .modal.in .modal-dialog {
    -webkit-transform: translate(0,0)!important;
    transform: translate(0,0)!important;
}
.modal.fade .modal-dialog {
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out;
    -webkit-transform: translate(0,-25%);
    transform: translate(0,-25%);
}
.fade {
    opacity: 0;
    transition: opacity .15s linear;
}

.fade.show, .fade.in {
    opacity: 1;
}
.modal-dialog-centered {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - (.5rem * 2));
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: .5rem;
    pointer-events: none;
}

.modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
}
.modal-content .border-line {
    width: 100%;
    height: 5px;
    background-color: #ffffff;
    position: absolute;
    top: 5px;
}
.modal-content .form-group label {
    display: inline-block;
    color: #000000;
}
.modal-header {
    padding: 1rem 1rem 0;
    border-top: 8px solid #003b7d;
    border-bottom: 0;
}
.modal.fade.outils .modal-header {
    border-top: 8px solid #125792;
}

.modal-header button.close {
    font-size: 1.5rem;
    margin: -1rem -1rem -1rem auto;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    border-radius: 0;
    box-shadow: none;
    position:absolute;
    top: 24px;
    right: 28px;
}
.modal-header button.close:hover {
    color: inherit;
    background-color: inherit;
    cursor: pointer;
}
.modal-header button.close .iconcss-close {
    position: relative;
    display: inline-block;
    width: 2.92857rem;
    height: 2.85714rem;
    overflow: hidden;
}
.modal-header button.close .iconcss-close::after, .modal-header button.close .iconcss-close::before {
    content: '';
    position: absolute;
    height: .07143rem;
    width: 100%;
    top: 1.64286rem;
    left: 0;
    background: #929292;
}
.modal-header button.close .iconcss-close::after  {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.modal-header button.close .iconcss-close::before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

h1.modal-title {
    font-size: 1.4rem!important;
    font-weight: 600!important;
    position:relative;
    overflow:hidden;
    width:84%;
    text-transform: none;
    color: #003b7d;
    line-height: 1.1!important;
    margin: 15px 0!important;
}
.modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 0 1rem 1rem;
}
.modal-body ul li::before {
    content: '>';
    color: #f2bd3d;
    font-weight: 600;
    padding-right: .5rem;
}
.modal-body.table span {
    display: table-cell;
}
.modal-body span.indent {
    font-size: 1.5em;
    line-height: 1.557em;
    font-weight: 800;
    border-radius: 50%;
    border: 2px solid #F2BD3E;
    text-align: center;
    background: #F2BD3E;
    width: 2.786rem;
    height: 2.786rem;
    float: left;
    margin-right: .5em;
}
.panel-body {
    background-color: #f7f5f3;
    border: 1px solid #e8e8e8;
    padding: 1.2rem;
}
.modal-backdrop {
    z-index: 1071;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    background-color: #000;
}
.modal-backdrop.show {
    opacity: .5;
}

.modal-content .widget-box {
    border: 1px solid;
    border-radius: .3em;
    padding: 1em 2em;
    font-weight: 800;
    text-align: center;
    margin: 0 0 1.2em;
    background-color: #fff;
}
.modal-content .widget-box:last-child {
    margin-bottom: 0;
}
.modal-content .widget.bkg1 .widget-box {
    background-color: #FEEECC;
}
.modal-content .widget.bkg3 .widget-box {
    background-color: #FED177;
}

.modal-content .box.feature h2 {
    text-align: center;
}
.modal-content .box.feature h2::after {
    content: none;
}
.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 1rem;
}
.modal-footer>:not(:first-child) {
    margin-left: .25rem;
}
.modal-footer>:not(:last-child) {
    margin-right: .25rem;
}

@media screen and (min-width: 576px) {
    .modal-dialog-centered {
        min-height: calc(100% - (1.75rem * 2));
    }
}
@media screen and (min-width: 576px) {
    .modal-dialog {
        max-width: 55%!important;
        margin: 1.75rem auto;
    }
    .modal-dialog.modal-dialog-chargement {
        max-width: 14rem!important;
    }
}
@media screen and (min-width: 981px) and (max-width: 1200px) {
    .modal-dialog {
        max-width: 85%!important;
    }
}
@media screen and (max-width: 980px) {
    .modal-header button.close {
        margin: -1rem 0rem -1rem auto;
        text-align: right;
        width: 60px;
    }
}

.popin-aide__content--desktop {
    display: block;
    padding-left: 40px;
    padding-right: 20px;
}
.popin-aide__number {
    background: #005CA9;
    color: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    line-height: 26px;
    text-align: center;
    display: inline-block;
    position: absolute;
    left: -20px;
}
.popin-aide__image {
    display: block;
    margin: 1rem auto;
    max-width: 100%;
}
@media screen and (max-width: 991px) {
    .popin-aide__image-desktop {
        display: none;
    }
}
@media screen and (min-width: 992px) {
    .popin-aide__image-mobile {
        display: none;
    }
}