html, body {
    font-family: arial;
    background: #f7f7f7;
    font-size: 16px;
    overflow-x: hidden;
}

/*** BOUTONS ***/
.btn {
    text-transform: uppercase;
    font-size: 14px;
}

.btn .material-icons {
    vertical-align: middle;
}

.btn-primary,
.btn.btn-primary {
    background: #77bd0d;
    border-color: #77bd0d;
    font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active {
    background: #629b0b;
    border-color: #629b0b;
}

.btn-secondary {
    background: #ffffff;
    border-color: #77bd0d;
    color: #77bd0d;
    font-weight: 700;
}

.btn-secondary:hover {
    background: #f7f7f7;
    border-color: #629b0b;
    color: #629b0b;
}

.btn-secondary:focus {
    background: #f7f7f7;
    border-color: #629b0b;
    color: #629b0b;
}

.btn-secondary:active {
    background: #f7f7f7;
    border-color: #629b0b;
    color: #629b0b;
}

/*** HEADER ***/
header {
    position: relative;
    text-align: center;
    background: #ffffff;
    height: 100px;
    border-bottom: 1px solid #cfcfcf;
}

header::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100px;
    top: 0;
    left: 100%;
    background: #ffffff;
    border-bottom: 1px solid #cfcfcf;
}

header::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100px;
    top: 0;
    right: 100%;
    background: #ffffff;
    border-bottom: 1px solid #cfcfcf;
}

header .logo_lm {
    float: left;
    margin-top: 10px;
}

header .logo_oney {
    float: right;
}

header .header_title {
    display: inline-block;
    padding-top: 25px;
    font-size: 35px;
    color: #77bd0d;
    font-weight: bold;
    text-transform: uppercase;
}

/*** CONNEXION MAGASIN ***/
.connexion_magasin {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    border: 2px solid #77bd0d;
    border-radius: 10px;
}

.connexion_magasin span {
    font-weight: 700;
}

.connexion_magasin input {
    margin-top: 15px;
}

.connexion_magasin option {
    text-transform: uppercase;
}

/*** SIMULER BUDGET ***/
.simuler_budget {
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    border: 2px solid #77bd0d;
    border-radius: 10px;
}

.simuler_budget label {
    font-weight: 700;
    position: relative;
}

.simuler_budget span {
    position: absolute;
    font-weight: 700;
    left: 255px;
}

.simuler_budget input {
    margin-top: 15px;
}

.simuler_budget input[type="text"] {
    border: 1px solid #77bd0d;
    border-radius: 10px;
    padding: 5px;
    text-align: right;
    font-weight: 700;
    width: 100px;
}

/*** SIMULATION ***/
.checkbox_print {
  display: inline-block;
  background: #77bd0d;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  line-height: 60px;
}

.checkbox_print .btn_radio, .checkbox_print .radio_multiple {
  margin: 20px 20px 20px 10px;
}
.select {
  position: relative;
}

.select input[type="radio"],
.select input[type="checkbox"] {
  position: absolute;
  z-index: 2;
  opacity: 0;
  width: 25px;
  height: 25px;
  margin: 0;
  cursor: pointer;
}
.select input[type="radio"] + span,
.select input[type="checkbox"] + span {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
  vertical-align: middle;
  cursor: pointer;
  border: 2px solid #707070;
  background: #ffffff;
  border-radius: 4px;
  pointer-events: none;
}
.select input[type="radio"] + span {
  border-radius: 50%;
}
.select input[type="radio"] + span:after,
.select input[type="checkbox"] + span:after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 17px;
  height: 17px;
  background: transparent;
  z-index: 1;
  border-radius: 2px;
  transition: 0.3s all ease-in-out;
  transform: scale(0);
}
.select input[type="radio"] + span:after {
  border-radius: 50%;
}
.select input[type="radio"]:checked + span:after,
.select input[type="checkbox"]:checked + span:after {
  background: #77bd0d;
  transform: scale(1);
}


.checkbox_print .btn {
  padding: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.checkbox_print .printButton {
  font-family: 'Material Icons';
  font-size: 24px;
}
.checkbox_print .printButton:hover {
  background: #77bd0d;
}

.modifier_montant {
    margin-top: 20px;
}

.modifier_montant .montant_premier {
    text-transform: uppercase;
    font-weight: 700;
}

.modifier_montant .prix {
    color: #77bd0d;
    font-size: 20px;
}

.modifier_montant .material-icons {
    color: #77bd0d;
    font-size: 20px;
    margin-left: 10px;
    cursor: pointer;
    vertical-align: text-bottom;
}

.modifier_montant .material-icons:hover {
    color: #629b0b;
}

.modifier_montant .btn {
    text-transform: uppercase;
    padding: 12px;
    font-size: 14px;
    margin-top: -25px;
}

.modifier_montant .btn .material-icons {
    color: #ffffff;
    margin-right: 5px;
    margin-left: 0;
}

.modifier_montant .simuler_budget {
    display: none;
    margin-bottom: 40px;
}

.modifier_montant .simuler_budget .btn {
    margin-left: 0;
    margin-top: 15px;
    padding: 6px 12px;
}

.modifier_montant .block_montant {
    display: inline-block;
    margin-right: 10px;
}

.simulation-long {
  margin-top: 20px;
}

.operation {
    margin-top: 20px;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.2);
}

.operation .phrase_longue {
  display: none;
  padding: 5px 10px;
  background: #ffffff;
}

.operation .phrase_longue span > span {
  font-weight: 700;
  color: #77bd0d;
}

.operation .phrase_longue span.apport_simulation {
  font-weight: 400;
  color: #333;
}
.operation .phrase_longue span.apport_simulation > span {
  font-weight: 700;
  color: #77bd0d;
}

.operation .title_operation_red {
    display: block;
    font-weight: 700;
    color: #ffffff;
    background: #da291c;
    text-transform: uppercase;
    padding: 5px 10px;
}

.operation .title_operation_green {
    display: block;
    font-weight: 700;
    color: #ffffff;
    background: #77bd0d;
    text-transform: uppercase;
    padding: 5px 10px;
}

.body_operation {
  background: #ffffff;
  padding: 10px 15px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.body_operation > div {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.body_operation > div.infos {
  width: calc(100% - 200px);
}
.body_operation > div.actions {
  width: 150px;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.body_operation .select {
  display: inline-block;
}

.body_operation .text_operation {
  display: inline-block;
}

.body_operation .text_operation .text {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 700;
  margin-left: 60px;
}

.body_operation .text_operation .text span.info_operation {
    display: block;
    font-weight: 400;
    font-size: 24px;
    color: #77bd0d;
    text-transform: none;
}

.body_operation .details,
.body_operation .print {
  display: inline-block;
  vertical-align: top;
}
.body_operation .details .btn {
  padding: 0;
  display: block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  font-size: 24px;
  text-align: center;
  background: #FFF;
  box-shadow: none;
}
.body_operation .print {
  margin-left: 15px;
}



.resultat_ccl {
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

.resultat_ccl .title_resultat {
  color: #77bd0d;
  font-weight: 700;
  display: block;
  border-bottom: 1px solid #77bd0d;
  padding: 0.5rem;
}

.resultat_ccl .grille_resultat {
  position: relative;
  margin-top: 20px;
  padding: 0;
}

.resultat_ccl .grille {
  display: inline-block;
  width: 49%;
  background: #ffffff;
  padding: 10px;
  position: relative;
  z-index: 1;
}

.resultat_ccl .grille.mensualite_grille .steps {
  position: relative;
  width: 100%;
  margin-top: 20px;
}
.resultat_ccl .grille.mensualite_grille .steps .step {
  position: absolute;
  width: 74px;
  font-size: 14px;
  text-align: left;
  color: #707070;
  margin-left: -37px;
  z-index: 1;
  padding-top: 6px;
  display: none;
}
.resultat_ccl .grille.mensualite_grille .steps .step.active {
  display: block;
}
.resultat_ccl .grille.mensualite_grille .steps .step.active {
  margin-left: -74px;
  text-align: right;
}
.resultat_ccl .grille.mensualite_grille .steps .step.active.first,
.resultat_ccl .grille.mensualite_grille .steps .step.active ~ .step.active {
  margin-left: 0;
  text-align: left;
}
.resultat_ccl .grille.mensualite_grille .steps .step.active:before {
  left: calc(100% + 1px);
}
.resultat_ccl .grille.mensualite_grille .steps .step.active.first:before,
.resultat_ccl .grille.mensualite_grille .steps .step.active ~ .step.active:before {
  left: -1px;
}
.resultat_ccl .grille.mensualite_grille .steps .step:before {
  content: '';
  width: 2px;
  height: 6px;
  background: #707070;
  position: absolute;
  left: calc(50% - 1px);
  top: 0px;
}

.resultat_ccl .grille.duree {
    border-left: 1px solid #cfcfcf;
}
.resultat_ccl .grille.duree::after {
  content: '';
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
}

.resultat_ccl .grille .title_grille {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.resultat_ccl .grille .title_grille span {
    text-transform: none;
}

.resultat_ccl .grille > div > div {
  width: calc(100% - 190px);
  display: inline-block;
}

.resultat_ccl .grille > div > div.nbr-min-mois,
.resultat_ccl .grille > div > div.nbr-max-mois,
.resultat_ccl .grille > div > div.min-mensualite,
.resultat_ccl .grille > div > div.max-mensualite {
  float: left;
  width: 80px;
  margin-top: 45px;
  font-size: 14px;
  text-align: center;
  color: #707070;
  margin-right: 15px;
}
.resultat_ccl .grille > div > div.nbr-min-mois,
.resultat_ccl .grille > div > div.min-mensualite {
  float: right;
  margin-left: 15px;
  margin-right: 0;
}

.after_resultat {
    margin-top: 20px;
    text-align: center;
}

.after_resultat > span {
    display: block;
}

.after_resultat > span.btn {
    display: inline-block;
}

.after_resultat .mensualite {
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.after_resultat .mensualite span {
    color: #77bd0d;
    font-size: 24px;
}

.after_resultat .btn {
    margin: 0 auto;
    padding: 6px 70px;
}

.after_resultat .achat {
    font-weight: 700;
    margin-top: 10px;
}

.after_resultat .apport span {
    font-size: 20px;
}

.autre_mensualite {
    margin-top: 40px;
    text-align: center;
}

.autre_mensualite .ou {
    position: relative;
}

.autre_mensualite .ou::before {
    content: '';
    position: absolute;
    border-bottom: 2px solid #77bd0d;
    width: 49%;
    left: 0;
    top: 9px;
}

.autre_mensualite .ou::after {
    content: '';
    position: absolute;
    border-bottom: 2px solid #77bd0d;
    width: 49%;
    right: 0;
    top: 9px;
}

.autre_mensualite .cercle {
    text-transform: uppercase;
    background: #77bd0d;
    color: #ffffff;
    padding: 12px 9px;
    border-radius: 40px;
}

.autre_mensualite .mensualite_mois {
    margin-top: 20px;
    margin-bottom: 20px;
}

.autre_mensualite .mensualite_mois input[type="text"] {
    width: 100px;
    border: 1px solid #77bd0d;
    border-radius: 10px;
    padding: 5px;
    text-align: right;
    font-weight: 700;
}

.autre_mensualite .mensualite_mois span {
    margin-right: 20px;
    font-weight: 700;
    color: #77bd0d;
}

.autre_mensualite .mensualite_mois input[type="submit"] {
    display: none;
}

.information_supp {
  display: none;
  margin-top: 20px;
  padding: 5px 10px;
}

.information_supp span > span {
    font-weight: 700;
    color: #77bd0d;
}

.information_supp span.apport_simulation {
  font-weight: 400;
  color: #333;
}
.information_supp span.montant_derniere_mensualite {
  font-weight: 400;
  display: none;
  color: #333;
}

.information_supp span.montant_derniere_mensualite.active {
  display: inline;
}
.information_supp span.apport_simulation > span,
.information_supp span.montant_derniere_mensualite > span {
  font-weight: 700;
  color: #77bd0d;
}

/* Sliders */
.resultat-simu h2 {
    font-size: 26px;
    color: #8cbd22;
}

.ui-widget.ui-widget-content {
  background: #cfd8dc;
  border-color: #cfd8dc !important;
  border-radius: 15px;
}

.ui-slider {
  height: 5px;
  width: 100%;
  background: #adadad;
  border-radius: 50px;
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
}

.ui-slider-handle.ui-corner-all {
  cursor: pointer !important;
  display: block;
  height: 22px !important;
  width: 22px !important;
  border: 2px solid #ffffff !important;
  border-radius: 50px;
  color: #8cbd22 !important;
  background: #8cbd22 !important;
  position: absolute !important;
  top: -6px !important;
  z-index: 1000 !important;
  box-shadow: 0 3px 3px rgba(105, 105, 105, 0.6);
}
.ui-slider-handle.ui-corner-all:before,
.ui-slider-handle.ui-corner-all:after {
  display: inline-block;
  vertical-align: middle;
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  top: calc(50% - 3px);
  z-index: 1;
  outline: 0;
}

.ui-slider-handle.ui-corner-all:before {
  border-width: 3px 6px 3px 0;
  border-color: transparent #FFF transparent transparent;
  left: 2px;
}
.ui-slider-handle.ui-corner-all:after {
  border-width: 3px 0 3px 6px;
  border-color: transparent transparent transparent #FFF;
  right: 2px;
}

.duree .ui-slider-handle.ui-corner-all {
  background: #bbd790 !important;
  box-shadow: none;
}
.duree .progr {
  background: #bbd790;
  border-color: #bbd790;
}

.duree .ui-slider-handle.ui-corner-all:before,
.duree .ui-slider-handle.ui-corner-all:after {
  content: none;
}

.progr {
  background: #8cbd22;
  height: 12px;
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 999;
  border: 2px solid #8cbd22;
  border-radius: 15px;
}

.montant,
.nbr-mois {
  background: #ffffff;
  color: #77bd0d;
  border: 1px solid #77bd0d;
  border-radius: 5px;
  width: 80px;
  position: absolute;
  bottom: 32px;
  right: -31px;
  text-align: center;
  padding: 4px 0;
}

.montant:after,
.nbr-mois:after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 0;
    left: 30px;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: #77bd0d transparent transparent transparent;
}

/* Responsive */
@media (max-width: 1199px) {
  .body_operation .text_operation .text {
    margin-left: 30px
  }
}

@media (max-width: 992px) {
  .body_operation .text_operation .text {
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  header {
      height: 75px;
  }

  header::before, header::after {
      height: 75px;
  }

  header .header_title {
      font-size: 20px;
  }

  header img {
      height: 50px;
      width: auto;
      margin-top: 10px;
  }

  .body_operation > div.actions {
    width: 60px;
    display: block;
  }

  .body_operation > div.infos {
    width: calc(100% - 80px);
  }

  .body_operation .print {
    margin-top: 15px;
    margin-left: 0;
  }

  .operation .body_operation .text_operation {
      width: 100%;
      margin-bottom: 10px;
  }

  .resultat_ccl .grille {
      display: block;
      width: 100%;
  }

  .resultat_ccl .grille.duree {
      border-left: none;
      border-top: 1px solid #cfcfcf;
  }
  .body_operation .text_operation .text {
    font-size: 14px;
  }
  .body_operation .text_operation .text span.info_operation {
    font-size: 20px;
  }
}

@media (max-width: 544px) {
  header {
      height: 60px;
  }

  header::before, header::after {
      height: 60px;
  }

  header .header_title {
      font-size: 16px;
      padding-top: 16px;
  }

  header img {
      height: 35px;
      width: auto;
      margin-top: 10px;
  }

  .autre_mensualite .ou::before, .autre_mensualite .ou::after {
      width: 46%;
  }

  .after_resultat .btn {
      padding: 6px 50px;
  }

  .body_operation {
    display: block;
  }
  .body_operation > div.infos,
  .body_operation > div.actions {
    width: 100%;
  }
  .body_operation > div.actions {
    margin-top: 15px;
    text-align: center;
  }
  .body_operation .print {
    margin-top: 0;
    margin-left: 15px;
  } 
}
@media (max-width: 380px) {
  .resultat_ccl .grille > div > div {
    width: calc(100% - 150px);
  }
  .resultat_ccl .grille > div > div.nbr-min-mois,
  .resultat_ccl .grille > div > div.nbr-max-mois,
  .resultat_ccl .grille > div > div.min-mensualite,
  .resultat_ccl .grille > div > div.max-mensualite {
    font-size: 12px;
    width: 60px;
    margin-top: 48px;
  }
}

@media (max-width: 419px) {
    .modifier_montant .btn {
        margin-top: 10px;
    }
}

.loader {
    position: absolute;
    width: 100vw;
    height: 100vh;
    left: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-loading {
    background: rgba(105, 105, 105, 0.6);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    height: 100%;
}

.lds-circle {
    font-size: 24px;
    text-align: center;
    width: 51px;
    height: 51px;
    border-radius: 50%;
    background: #8BBC06;
    animation: lds-circle 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.overlay-loading .loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

@keyframes lds-circle {
    0%,
    100% {
        animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5);
    }
    0% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(1800deg);
        animation-timing-function: cubic-bezier(0, 0.5, 0.5, 1);
    }
    100% {
        transform: rotateY(3600deg);
    }
}

body {
    padding-bottom: 20px;
}

.d-inline {
    display: inline;
}

.resultat_ccl .bg-promo {
    background-color: #da291c;
    color: white;
    border: none;
}

.opc-multiple {
    margin-top: 20px;
    width: 100%;
    font-weight: normal;

}

.opc-multiple .resultat_ccl {
    margin-top: 0;
    padding-top: 0.5rem;
}

.opc-multiple-head {
    font-weight: bolder;
    color: white;
    margin: 0;
    background-color: #77bd0d;
    padding: 5px 10px;
}
.opc-multiple .toggle-icon {
    display: inline-block;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    position: relative;
    left: 10px;
}

.opc-multiple.toggled .toggle-icon {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);

    position: relative;
    left: 10px;
}

.promo .opc-multiple-head {
    background-color: #da291c;
    color: white;
    border-bottom: none;
}

.montant_erreur {
    color: red;
}
