/**
 *  1.0.6 
 *   ESP 2023
*/
:root {
    --warning: rgba(140,50,40,1.00);
    --msg-color :#b8beb3;
    --simul-prim-color:#F2F2F2;
    --tab-bk-color-prim:rgb(103, 173, 176);/* turquoise dark */
    
  }
.prim-color {
  color: var(--sec-color)
}
.second-color {
  color: #808080
}
.fc_1 {
  color: #001B5D
}
.tab-color-second{color: var(--neuv-color)}
.col-bkg-second{
    background-color: var(--quat-color-dark);
}
.col-bkg-third{
    background-color: var(--quat-color-dark);
}
#simulateur {
    position: relative;
    margin-bottom: 35px;
    line-height: normal
}
#simulateur button{
  margin-bottom: 5px
}
#simulateur h4{
    font-size: 1rem;
    font-weight: 700;
    margin: 0
}
#simulform {
  text-align: center;
  position: relative;
  height: auto
}

#simulform .form-control{
  font-size: 18px
}
#simulform fieldset {
  background: white;
  border: 0 none;
  border-radius: 0px;
  padding: 20px 0px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;

}
/*Hide all except first fieldset*/
#simulform fieldset:not(:first-of-type) {
  display: none;
}
#simulform h2 {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
}

/*headings*/
#simulform h4 {
  text-transform: uppercase
}
h2.stepTitle {
  margin: 1rem 0 2rem !important;
}
/*.text-HL {
  color: #0F338A;
  font-weight: 600
}*/


.note-bas-de-page{
    margin: 10px 0;
    font-style: italic;
    font-size: 80%;
}

/**slider**/
.range-slider {
  margin: 30px 0 0 0%;
}
.range-slider {
  width: 100%;
}
.range-slider__range {
  -webkit-appearance: none;
  width: calc(100% - (30px));
  height: 8px;
  border-radius: 5px;
  background: #d7dcdf;
  outline: none;
  padding: 0;
  margin: 0;
}
.range-slider__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sec-color);
  cursor: pointer;
  transition: background .15s ease-in-out;
}
.range-slider__range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--sec-color);
  cursor: pointer;
  transition: background .15s ease-in-out;
}
.range-slider__range::-webkit-slider-thumb:hover {
  background: #000;
}
.range-slider__range:active::-webkit-slider-thumb {
  background: var(--neuv-color);
}
.range-slider__range::-moz-range-thumb:hover {
    background: var(--neuv-color);
}
.range-slider__range:active::-moz-range-thumb {
    background: var(--neuv-color);
}
.range-slider__range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sec-color);
}
.range-slider__value {
  font-size: 1.2rem;
  display: inline-block;
  position: relative;
  width: Auto;
  margin-top: 1.5rem;
  color: #fff;
  line-height: 20px;
  text-align: center;
  background: var(--sec-color);
  padding: 8px 16px;

}
::-moz-range-track {
  background: #d7dcdf;
  border: 0;
}

input::-moz-focus-inner, input::-moz-focus-outer {
  border: 0;
}

/**/

input[type="number"] {
    font-weight: 600;
    white-space: nowrap;
   line-height: 25px; 
}
select#actions_achetees{
    padding: 15px;
    font-size: 22px;
    border-radius: 6px
}
option:focus {
  background-color: orange !important;
}
.alert {
  background-color: #DBF2BB;
  color: #00185E;
  padding: 8px 12px
}
#simulform .col-header{
  font-size: 1rem;
  line-height: 1.1rem;
  font-weight: 700
}
.devise {
  margin-left: 3px;
}
.devise.big {
  font-size: 26px;
  margin-left: 2px;
}
.number_med {
  line-height: 16px;
  font-size: 100%
}
.number_xl {
  line-height: 28px;
  font-size: 126%
}

.annotation {
  white-space: normal;
  font-size: 70%;
  line-height: 80%;
  color: #808080;
  font-style: italic;

}

.info{
    font-style: italic;
    font-size: 80%;
    margin-top: 15px;
    color:var(--warning)
}

.picto-attention{display: inline-block; width: 21px; height: auto;fill:var(--warning)}
.picto-attention svg{margin-bottom: 4px;}

.btn.btn-radio{
    line-height: normal !important
}

.totalcell{
   /* background-color:  var(--simul-prim-color );*/
}
.bkg-grey {
  background-color:  var(--simul-prim-color );
}

.bkg_secondary{
  background-color:  var(--simul-prim-color ); 
}
.bkg_tertiary{
  background-color:  var(--bkg-box-infos); 
}

.boxed {
  background-color:  var(--quat-color);
  padding: 15px 10px
}
.boxed p {
  margin: 0 !important;
}

.boxed.tot_apport_personnel{
    font-size: 28px;
}
.range-slider__value.number_med{
    font-size: 26px;
}
.range-slider__value.number_big{
    font-size: 28px;
}
.text-lg-nowrap{
    font-size: 20px
}
.text-sm{
    font-size: 80%;
}
.tableau  {
 line-height: 20px
}
.tableau .header {
  padding: 0.2rem 15px;
  font-weight: 600;
  height: 50px
}
.tableau .header.exemples {
  background-color: #9B9B9B;
  color: #FFF;
}
.tableau .header.monhypothese {
  background-color: var(--sec-color);
  color: #FFF;
}
.tableau .minheight {
  min-height: 66px;
  padding: 10px 15px;
  text-align: right;
  border-bottom: 2px solid rgba(255, 255, 255, 1.00);
}

.clifford-text{
    line-height: 80%
} 
.clifford-text p{
    line-height: 100%
}
@media (min-width: 767px) {
    .tableau .minheight {
      min-height: 50px;
    }
    #simulform .form-control{
  font-size: 20px
}
    .number_med {
  line-height: 14px;
  font-size: 90%
}
}
.hypotheses .number_med, .mon_investissement .number_med {
}

.minheight.bottom-dark, .bottom-dark {
  border-bottom: 2px solid rgba(120, 120, 120, 0.05);
}
.bottom-white {
border-bottom: 2px solid rgba(255, 255, 255, 1.00);
}
.top-dark{
  border-top: 2px solid rgba(120, 120, 120, 0.2);
}
.monhypothese{line-height: 1rem;font-size: 1.1rem;
}
input#mon_hypothese_cours { 
  width: 70px;
  height: 34px;
  margin-top: 0px;
  font-size: 1rem;
  font-weight: 600;
}

/*radio btn*/
.btn-check {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}
#simulateur .btn{
  background-color:var(--prim-color) !important; 
  font-size: 1.3rem !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 15px inherit !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 5px 15px !important
}
.fcpe .btn{
  background-color:#FFF !important; 
  font-size: 1.1rem !important;
  color: #000 !important;
  font-weight: 400 !important;
  text-decoration: underline
}
#simulateur .btn:active + .btn-radio,
#simulateur .btn:checked + .btn-radio,
#simulateur.btn.active,
#simulateur.btn:active,
#simulateur.btn:hover,
#simulateur.btn:focus {
  background-color: var(--sec-color) !important; 
}

/*input#mon_hypothese, input#mon_hypothese {
  text-align: right;
  font-weight: 700;
  font-size: 22px !important;
  height: 40px !important;
}*/
#simulateur .btn-check:active + .btn-radio, 
#simulateur .btn-check:checked + .btn-radio, 
#simulateur.btn-radio.active,
#simulateur .btn-radio:active,
#simulateur.btn-radio:hover,
#simulateur.btn-radio:focus {
    background-color: var(--sec-color) !important;
    color:#fff !important;
    outline: none; 
    text-decoration: none !important
}
/* FR */
.fcpe .btn-check:active + .btn-radio, .fcpe .btn-check:checked + .btn-radio, .fcpe .btn-radio.active, .fcpe .btn-radio:active, .fcpe .btn-radio:hover, .fcpe .btn-radio:focus {
    background-color: none !important;
}

@media (max-width:800px) {
/**forcer largeur tableaux scrollable horizontalement*/
.mobile-width {
  min-width: 680px;
}
#simulateur.ro .mobile-width, #simulateur.ma .mobile-width{
    min-width: 700px;     
    }
.range-slider__value {
  margin-top: 2.5rem;
}


}

@media (max-width: 941px) {

#tableau-hypotheses, .tableau .hypotheses{
 font-size: 16px
    }

#simulateur.ma #tableau-hypotheses .hypotheses,#simulateur.ro #tableau-hypotheses .hypotheses{
 font-size: 14px
    }
#tableau-hypotheses, .tableau .hypotheses .colTitre {
    font-size: 15px    
    }

}

@media (min-width:900px) {

input#mon_hypothese_cours,
input#mon_hypothese_impots{ 
  width: 90px;
    }
    
.number_med {
  white-space:nowrap;
  line-height: 25px;
  font-size: 100%
}
}
@media (min-width:1200px) {
    #simulform .form-control{
  font-size: 20px
}
}

 .btnPrim {
  border: 1px solid #000;
  font-weight: 700;
  color: var(--prim-color) !important;
  font-size: 20px;
  padding: 15px 110px 15px 40px;
  transition: all 0.3s;
  display: inline-block !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 1;
  background-color: #FFF !important;
  outline: none;
}
 .btnPrim:hover, .btnPrim:focus {
    color:#FFF !important;
   background-color:  var(--sec-color) !important;
  border: 1px solid var(--sec-color);
}
.btnPrim.disabled:after {
    background-image: none;
}
.btnPrim:hover:after {
    background-image: url(images/arrow-r-white.svg);
    background-size: 30px 30px;
    background-position: calc(100% - 20px) center;
    
}
.btnPrim:after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 15px;
    left: 76%;
    width: 28%;
    height: 100%;
    background-color: transparent;
    background-image: url(images/arrow-r.svg);
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-position: 0 center;
    z-index: -1;
    transition: all 0.3s;
}
.btnPrim.disabled {
    background-image: url(images/picto-disabled.svg);
    background-size: 35px 25px;
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat;
}
.btnPrim.previous {
    padding: 15px 40px 15px 110px;
}
.btnPrim.previous:after {
  background-image: none;
}
.btnPrim.previous:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: url(images/arrow-r.svg);
    transform: rotate(180deg);
    background-repeat: no-repeat;
    background-size: 35px 25px;
    background-position: calc(100% - 30px) center;
    z-index: -1;
    transition: all 0.3s;
}
.btnPrim.previous:hover:before {
    background-image: url("images/arrow-r-white.svg");
    transform: rotate(180deg);
    background-position: calc(100% - 20px) center;
}
button[disabled], html input[disabled] {
    cursor: default;
}