/* gestion flex*/
/*https://codepen.io/billreinhardt/pen/aNgQww*/

html, body {
    height: 100%;
}

@media (min-width: 1600px) {
    .container {
        width: 1400px;
    }
}

.row-flex,
.row-flex > div[class*='col-'],
.row-flex > aside[class*='col-'] {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex: 1 1 auto;
}

.row-flex-wrap {
    -webkit-flex-flow: row wrap;
    align-content: flex-start;
    flex: 0;
}

.row-flex > div[class*='col-'], .container-flex > div[class*='col-'],
.row-flex > aside[class*='col-'], .container-flex > aside[class*='col-'] {
    margin: -.2px; /* hack adjust for wrapping */
}

.container-flex > div[class*="col-"] > div,
.row-flex > div[class*="col-"] > div,
.container-flex > aside[class*="col-"] div,
.row-flex > aside[class*="col-"] div {
    width: 100%;
}

.flex-col {
    display: flex;
    display: -webkit-flex;
    flex: 1 100%;
    flex-flow: column nowrap;
}

.flex-grow {
    -webkit-box-flex: 1;
    flex-grow: 1;
}

.row-flex .img-responsive {
    height: fit-content;
    margin: auto 0%;
}

h1, .h1 {
    font-size: 22px;
}

h2, .h2 {
    font-size: 18px;
}

h3, .h3 {
    font-size: 16px;
    font-weight: bold;
}

.visible-xxs {
    display: none !important
}

@media (max-width: 430px) {
    .visible-xxs {
        display: block !important
    }

    .col-xxs-1, .col-xxs-10, .col-xxs-11, .col-xxs-12, .col-xxs-2, .col-xxs-3, .col-xxs-4, .col-xxs-5, .col-xxs-6, .col-xxs-7, .col-xxs-8, .col-xxs-9 {
        float: left;
        position: relative;
        min-height: 1px;
        padding-right: 5px;
        padding-left: 5px
    }

    .col-xxs-12 {
        width: 100%
    }

    .col-xxs-11 {
        width: 91.66666667%
    }

    .col-xxs-10 {
        width: 83.33333333%
    }

    .col-xxs-9 {
        width: 75%
    }

    .col-xxs-8 {
        width: 66.66666667%
    }

    .col-xxs-7 {
        width: 58.33333333%
    }

    .col-xxs-6 {
        width: 50%
    }

    .col-xxs-5 {
        width: 41.66666667%
    }

    .col-xxs-4 {
        width: 33.33333333%
    }

    .col-xxs-3 {
        width: 25%
    }

    .col-xxs-2 {
        width: 16.66666667%
    }

    .col-xxs-1 {
        width: 8.33333333%
    }

    .col-xxs-pull-12 {
        right: 100%
    }

    .col-xxs-pull-11 {
        right: 91.66666667%
    }

    .col-xxs-pull-10 {
        right: 83.33333333%
    }

    .col-xxs-pull-9 {
        right: 75%
    }

    .col-xxs-pull-8 {
        right: 66.66666667%
    }

    .col-xxs-pull-7 {
        right: 58.33333333%
    }

    .col-xxs-pull-6 {
        right: 50%
    }

    .col-xxs-pull-5 {
        right: 41.66666667%
    }

    .col-xxs-pull-4 {
        right: 33.33333333%
    }

    .col-xxs-pull-3 {
        right: 25%
    }

    .col-xxs-pull-2 {
        right: 16.66666667%
    }

    .col-xxs-pull-1 {
        right: 8.33333333%
    }

    .col-xxs-pull-0 {
        right: auto
    }

    .col-xxs-push-12 {
        left: 100%
    }

    .col-xxs-push-11 {
        left: 91.66666667%
    }

    .col-xxs-push-10 {
        left: 83.33333333%
    }

    .col-xxs-push-9 {
        left: 75%
    }

    .col-xxs-push-8 {
        left: 66.66666667%
    }

    .col-xxs-push-7 {
        left: 58.33333333%
    }

    .col-xxs-push-6 {
        left: 50%
    }

    .col-xxs-push-5 {
        left: 41.66666667%
    }

    .col-xxs-push-4 {
        left: 33.33333333%
    }

    .col-xxs-push-3 {
        left: 25%
    }

    .col-xxs-push-2 {
        left: 16.66666667%
    }

    .col-xxs-push-1 {
        left: 8.33333333%
    }

    .col-xxs-push-0 {
        left: auto
    }

    .col-xxs-offset-12 {
        margin-left: 100%
    }

    .col-xxs-offset-11 {
        margin-left: 91.66666667%
    }

    .col-xxs-offset-10 {
        margin-left: 83.33333333%
    }

    .col-xxs-offset-9 {
        margin-left: 75%
    }

    .col-xxs-offset-8 {
        margin-left: 66.66666667%
    }

    .col-xxs-offset-7 {
        margin-left: 58.33333333%
    }

    .col-xxs-offset-6 {
        margin-left: 50%
    }

    .col-xxs-offset-5 {
        margin-left: 41.66666667%
    }

    .col-xxs-offset-4 {
        margin-left: 33.33333333%
    }

    .col-xxs-offset-3 {
        margin-left: 25%
    }

    .col-xxs-offset-2 {
        margin-left: 16.66666667%
    }

    .col-xxs-offset-1 {
        margin-left: 8.33333333%
    }

    .col-xxs-offset-0 {
        margin-left: 0
    }

    .hidden-xxs {
        display: none !important
    }
}

.small .checkbox input[type="checkbox"],
.small .checkbox-inline input[type="checkbox"],
.small .radio input[type="radio"],
.small .radio-inline input[type="radio"] {
    margin-top: 0px;
}

/*form p {
    text-align: justify;
}*/

.form-horizontal .control-label.text-center {
    text-align: center;
}

.form-horizontal .control-label.text-left {
    text-align: left;
}

.form-horizontal .control-label.text-right {
    text-align: right;
}

.visible-xs + .text-center {
    text-align: inherit;
}

.text-center ul {
    margin-left: 0px;
    padding-left: 0px;
}

.text-center ul li {
    list-style-position: inside;
}

.form-group {
    margin-bottom: 5px;
}

.form-group .row.form-group:last-of-type{
    margin-bottom: 0px;
}
.form-group .form-control.datepicker,
.form-group .input-group .form-control.datepicker {
    width: calc(100% - 18px);
    display: inline;
}

.input-group .form-control.datepicker {
    width: 80%;
}

.input-group .form-control.hasDatepicker + img {
    background-color: #eee;
    border: 1px solid #ccc;
    border-left: 0;

    border-radius: 4px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    display: table-cell;
    padding: 3px 4px 2px;
}

.form-horizontal .control-label {
    padding-top: inherit;
    margin-bottom: inherit;
}

.input-group-addon {
    padding: 0px 4px;
}

.input-group-montant .input-group-addon:after {
    content: '€';
}

.input-group-taux .input-group-addon:after {
    content: '%';
}

.input-group-duree .input-group-addon:after {
    content: 'mois';
}

.input-group-annees .input-group-addon:after {
    content: 'années';
}

span.icone.print-icone:before {
    font-family: "FontAwesome";
    content: '\f02f ';
}

@media (max-width: 767px) {
    .container-fluid,
    .container {
        padding-right: 5px;
        padding-left: 5px;
        margin-right: auto;
        margin-left: auto;
    }

    .row,
    .form-horizontal .form-group,
    .container-fluid > .navbar-collapse,
    .container-fluid > .navbar-header,
    .container > .navbar-collapse,
    .container > .navbar-header {
        margin-left: -5px;
        margin-right: -5px;
    }

    .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
        position: relative;
        min-height: 1px;
        padding-right: 5px;
        padding-left: 5px;
    }

    .panel-body {
        padding: 5px;
    }

    .form-group {
        margin-bottom: 5px;
    }

    .panel-heading,
    .panel-footer {
        padding-left: 5px;
        padding-right: 5px;
    }

    .navbar-nav {
        margin: 7.5px -5px;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }

}

.dropdown-submenu {
    position: relative;
}

.list-group-item.dropdown-submenu {
    padding: 0px !important;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    padding: 0px;
    min-width: 250px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: 5px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.navbar dl {
    margin-bottom: 0px;
}

.navbar dl dt {
    width: 140px;
}

.navbar dl dd {
    margin-left: 150px;
}

.input-xs {
    height: 22px !important;
    padding: 2px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

a.btn-block {
    width: 100%;
}

.input-group-xs > .form-control,
.input-group-xs > .input-group-addon,
.input-group-xs > .input-group-btn > .btn {
    height: 22px;
    font-size: 12px;
    line-height: 1.5;
}

img[align="left"] {
    margin-right: 5px;
}

img[align="right"] {
    margin-left: 5px;
}

@media (min-width: 768px) {
    img[align="left"] {
        margin-right: 15px;
    }

    img[align="right"] {
        margin-left: 15px;
    }
}

article {
    padding-bottom: 15px;
}

article .small + img {
    max-width: 50%;
}

.list-group-item {
    border: none;
}

.tooltip-inner {
    min-width: 100px;
    max-width: 80%;
    background-color: rgb(240, 240, 240);

    color: #000;
    text-align: left;
    padding: 2px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.tooltip.in {
    opacity: 1;
    filter: alpha(opacity=100);
}

/*input radio checkbox*/

.label {
    font-weight: bolder;
    color: inherit;
    font-size: initial;
}

.label .textInfoLabel,
label .textInfoLabel,
h2 .textInfoTitre,
.h2 .textInfoTitre,
.h2Souscription .textInfoTitre {
    font-weight: normal;
    color: #666666;
}

.label .textInfoLabel, label .textInfoLabel {
    display: none;
}

form#FQS .label .textInfoLabel, form#FQS label .textInfoLabel {
    display: block;
}

#divCentre form h2, form .h2 {
    margin: 0px;
    margin-top: 10px;
}

#divCentre form h2:first-of-type, form .h2:first-of-type {
    margin-top: 0px;
}

label .textInfoLabel ul {
    padding-left: 1em;
}

input.btnRadio[type="checkbox"] + label,
input.btnRadio[type="radio"] + label {
    background-color: #e7e7e7;
    border-color: #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    margin: 4px 2px;
    padding: 6px;
    padding-left: 30px;
    vertical-align: top;
}

input.btnRadio[type="radio"]:focus + label,
input.btnRadio[type="radio"]:focus + label {
    border-color: #66afe9 !important;
    outline: 0 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6) !important;
}

input.btnRadio[type="checkbox"]:disabled + label,
input.btnRadio[type="radio"]:disabled + label {
    pointer-events: none;
    opacity: .4;
}

input.btnRadio[type="checkbox"] + label.btnRadioSize_2,
input.btnRadio[type="radio"] + label.btnRadioSize_2 {
    width: calc(50% - 6px);
}

input.btnRadio[type="checkbox"] + label.btnRadioSize_3,
input.btnRadio[type="radio"] + label.btnRadioSize_3 {
    width: calc(33% - 3px);
}

input.btnRadio[type="checkbox"] + label.btnRadioSize_4,
input.btnRadio[type="radio"] + label.btnRadioSize_4 {
    width: calc(25% - 6px);
}

input.btnRadio[type="checkbox"].button + label.btnRadioSize_4, input.btnRadio[type="radio"].button + label.btnRadioSize_4 {
    width: calc(25% - 18px);
}

input.btnRadio[type="checkbox"] + label.btnRadioSize_5,
input.btnRadio[type="radio"] + label.btnRadioSize_5 {
    width: calc(20% - 6px);
}

input.btnRadio[type="checkbox"] + label::before,
input.btnRadio[type="radio"] + label::before {
    content: '\f096';
}

input.btnRadio[type="checkbox"] + label::before,
input.btnRadio[type="checkbox"]:checked + label::before,
input.btnRadio[type="radio"] + label::before,
input.btnRadio[type="radio"]:checked + label::before {
    padding-right: 10px;
    font-family: "FontAwesome";
    font-weight: normal;
    position: absolute;
    left: 8px;
}

input.btnRadio[type="checkbox"]:checked + label::before,
input.btnRadio[type="radio"]:checked + label::before {
    content: '\f046';
}

input.btnRadio[type="checkbox"]:checked + label, input.btnRadio[type="radio"]:checked + label {
    font-weight: bold;
    background-color: #CCCCCC;
    color: #333333;
    box-shadow: 1px 1px 1px #333;
}

input.btnRadio[type="checkbox"],
input.btnRadio[type="radio"] {
    /*display: none;
    margin: 10px;*/

    /*v2*/
    opacity: 0;
    margin: 0px;
    position: absolute;
    z-index: -10000;
}

.blockUI.blockOverlay {
    z-index: 1050;
}

.blockUI.blockPage,
.blockUI.blockElement {
    z-index: 1051;
}

.blockUI.blockPage .fa,
.blockUI.blockElement .fa {
    color: #FFFFFF;
    margin-bottom: 10px;
}

.blockUI.blockElement {
    z-index: 1052;
}

select.form-control {
    width: auto;
    max-width: 100%;
}

select.form-control {
    display: inline-table;
}

select.form-control[disabled],
select.disabled {
    pointer-events: none;
    cursor: not-allowed;
}

/*dialogueBox*/

/* Overlays */
.ui-widget-overlay {
    background: #aaaaaa;
    opacity: .8;
    -ms-filter: Alpha(Opacity=.8); /* support: IE8 */
}

.ui-widget-header {
    background: transparent;
    border: none;
}

.ui-dialog .ui-dialog-content {
    margin: 0px;
    padding: 0px 20px;
}

.ui-dialog .ui-dialog-content .row:not(.form-group) {
    margin-top: 0px;
    margin-bottom: 0px;
}

.ui-dialog-titlebar-close {
    background: transparent;
    border: none;
}

.ui-dialog-titlebar-close::before {
    content: 'X';
}

.ui-dialog .ui-dialog-buttonpane {
    border: none !important;
}

.btnShowHideInfoBlock {
    cursor: pointer;
    font-weight: bold;
}

.btnShowHideInfoBlock:before {
    font-family: 'FontAwesome';
    content: "\f05a";
    margin-right: 5px;
    font-size: 16px;
    line-height: 16px;
    vertical-align: text-top;
    font-weight: 400;
}


#divAffixDroit ul {
    list-style: none;
    padding-left: 10px;
}

/** nav bar de debug */
#navDebug {
    margin-bottom: 0px;
    min-height: auto;
}

#navDebug .container > * {
    margin: 5px 10px;
}

#infosDebug pre {
    white-space: pre-wrap;
}

.ui-widget-content a {
    text-decoration: underline !important;
}

/* FAQ */
.faq .panel-default > .panel-heading {
    padding: 0px;
}

.faq .panel-heading a {
    display: block;
    padding: 13px 40px 13px 20px;
    text-decoration: none !important;
    font-weight: bold;
    text-align: left;
}
.btnShowHideInfoBlock[data-display=fold]:after,
.faq .panel-heading a:after {
    font-family: "FontAwesome";
    content: "\f078";
    position: absolute;
    right: 2em;
}

.btnShowHideInfoBlock.folded[data-display=fold]:after,
.faq .panel-heading a.collapsed:after {
    font-family: "FontAwesome";
    transform: rotate(180deg);
}

/*password*/
.passwordDiv {
    position: relative;
}

.passwordBtn {
    position: absolute;
    margin: 3px auto;
    top: 0;
    bottom: 0;
    right: 1em;
    border: none;
    background-color: transparent;
}

/** modal */
.close {
    opacity: .8;
    color: #000;
}

.modal-title {
    padding: 0px !important;
    margin: 0px !important;
}

.modal-sm {
    width: 350px;
}

.modal-xl {
    width: 1450px;
}

/*navigation avec des div*/
.divNavigation {
    display: flex;
    width: 100%;
    position: relative;
}

.divNavigation > div {
    text-align: center;
    height: 80px;
    line-height: 56px;
    flex: 1;
    position: relative;
    box-sizing: border-box;
}
.divNavigation > div span{
    display: block;
}
.divNavigation > div span:first-letter{
        text-transform: uppercase;
}
.divNavigation .etapeOff::before,
.divNavigation .etapeOn::before,
.divNavigation .etapeOut::before {
    content: "";
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    height: 6px;
    transform: translateY(-50%);
}

.divNavigation > div:first-child::before {
    left: 50%;
    width: 50%;
}

.divNavigation > div:last-child::before {
    width: 50%;
}

.divNavigation .etapeOn + .divNavigation .etapeOut::before {
    left: -50%;
    width: 150%;
}

.divNavigation .etapeOff::before,
.divNavigation .etapeOn::before {
    background: #0A2F78;
}

.divNavigation .etapeOut::before {
    background-color: #999999;
    height: 2px;
}

.divNavigation .etapeOn::before {
    background: linear-gradient(to right,
    #0A2F78 0%,
    #0A2F78 100%
    ),
    linear-gradient(to bottom,
            white 0%,
            white 33.33%,
            #999999 33.33%,
            #999999 66.66%,
            white 66.66%,
            white 100%
    );
    background-size: 50% 100%, 50% 100%;
    background-position: left top, right top;
    background-repeat: no-repeat;
}

.divNavigation > div:first-of-type.etapeOn::before {
    background-size: 0%, 100%;
}

.divNavigation .etapeOff::after,
.divNavigation .etapeOn::after,
.divNavigation .etapeOut::after {
    content: "";
    position: absolute;
    top: 64px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: white;
    border: 3px solid #0A2F78;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.divNavigation .etapeOn::after {
    width: 24px;
    height: 24px;
}

.divNavigation .etapeOut::after {
    width: 4px;
    height: 4px;
    border: 3px solid #999999;
}
