
body{
    font-family: "Open sans";
    margin:5px;
    margin-bottom:50px;
    font-size : 12px;
}

h3{
    font-size:18px;
    font-weight:bold;
}

.display-4{ font-size: 26px; font-weight:bold }

/* LOGO */

.branding-image {
    max-width:200px;
    margin-left: 30px;
}

/* IMAGE GAUCHE */

.left-image {
    width:60%;
}

/* BANDEAU SUPERIEUR */

.header{
    min-height: 120px;
}

/* STEPS */

.step-number {
    width:40px;
    height:40px;
    line-height:40px;
    font-size: 18px;
    font-weight: bold;
}

.step-label {
    text-transform:uppercase;
    font-size: 14px;
    font-weight: bold;
}

.step-number-inactive, .step-label-inactive {
    opacity: 0.4;
}

/* BOOTSTRAP */


.btn {
    font-weight: bold;
    padding:5px 15px 5px 15px;
    border-radius: 30px;
    font-size: 14px;
}

.form-check-inline, .form-check-label {
    float: left;
    border: 1px solid rgba(118,118,118,.43);
    border-radius: 6px;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    transition: ease-in-out 0.2s;
    min-width: 105px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 0;
    padding: 12px;
}


.form-check-input{
    position:static;
    margin-top:0;
    margin-right:.3125rem;
    margin-left:0;
}

.form-check-label {
    margin-right:16px;
}

.form-check-inline:hover, .form-check-label:hover {
    cursor: pointer;
}

label, label.col-form-label {
    font-weight: bold;
    font-size: 14px;
    margin-top: 0;
    padding: 21px 0 21px 0;
 }

.form-check{
    padding-left:0px;
}

#div_id_share_callback_accepted label.col-form-label, #div_id_share_result_accepted label.col-form-label {font-size: 11px}
#div_id_till_depart label.form-check-label {border:0; box-shadow: 0 0 0 transparent; font-size: 12px;}

input[type="text"], input[type="number"], input[type="date"], input[type="email"], select {
    font-weight: 600;
    font-size: 14px;
    border: none;
        border-bottom-color: currentcolor;
        border-bottom-style: none;
        border-bottom-width: medium;
    border-bottom: solid 2px;
    max-width: 120px;
}
select{
    max-width: 300px;
}

input[type="email"] {
    max-width: 360px;
}

.options {
    font-weight: 600;
    font-size: 20px
}

input[type="file"]{
    background-color: #FFFFFF;
    height: 74px;
    border: 1px solid rgba(118,118,118,.43);
    border-radius: 6px;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    transition: ease-in-out 0.2s;
    padding-left: 21px;
}

/* page result , onglet */

.nav-pills .nav-link {
    color: #000000;
    font-size: 13px;
    font-weight: 900;
    border: 0.5px solid #d0d0d0;
    border-radius: 20px;
    margin:5px;
}

.nav-pills .nav-link.active {
    /*box-shadow:0 3px 6px 0 rgba(0,0,0,0.16);*/
    /*border-radius: 10px 10px 0 0;*/
    font-weight: bold;
    background-color: #2e56af;
    color: #ffffff;
}

.card{
    border-radius: 10px;
    margin-top:10px;
}

.card-header{
    background-color: #FFF;
}


.card.no-border{
   border:0;
}
.card-header.no-border{
   border:0;
}


.card-header > h3::after{
    width:200px;
    content: "\a"; /* fyi \a is css carriage return*/
    display:block;
    border-bottom: 1px solid #000000;
    margin-top:10px;
}

h5.card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom:20px;
}

div.ecart {
    font-size:16px;
}

span.ecart {
    background-color: rgba(255,0,0,0.2);
    border-radius: 20px;
    font-size:16px;
    font-weight: bold;
    padding: 5px 10px 5px 10px;
}



div.main-result .age{
    font-size:18px;
    font-weight:bold;
}

div.main-result .pension span.amount{
    font-size:20px;
    font-weight: 1000;
    color: #2e56af;
}

div.main-result .pension span.amount .text-muted{
    font-size:14px;
    font-weight: 1000;
}

div.main-result .pension span.euro{
    font-size:18px;
    font-weight: bold;
    color: #467fff;
}

/* crispy forms */

span.asteriskField{
    display:none;
}

/* PAGE SPECIF PATCH */

div.recap {
    padding-top:21px;
}

div.info h3{
    padding-bottom:21px;
}

div.info label.col-form-label{
    padding:0px;
    margin:0px;
}

div.info input{
    max-width:360px;
}

div.pension_detail {
    font-size:14px;
    border: 0.5px solid #d0d0d0;
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 5px;
}

div.pension_total {
    background-color: #2e56af;
    color: #ffffff;
    padding: 5px 10px 5px 10px;

}

/*****  progression revenu *****/

label[for^=id_id_progression-progression_revenu_0]{
 height:60px;
}

label[for=id_id_progression-progression_revenu_0_1]::after{
 content:url("/static/images/evorevenu/courbe/stable.png");
 margin-left:10px;
}

label[for=id_id_progression-progression_revenu_0_2]::after{
 content:url("/static/images/evorevenu/courbe/faible.png");
 margin-left:10px;
}

label[for=id_id_progression-progression_revenu_0_3]::after{
 content:url("/static/images/evorevenu/courbe/forte.png");
 margin-left:10px;
}

/*****************************/


/* clone de danger alert pour compatibilite django/bootstrap */
.alert-error {
    color: #856404;
    background-color: #F8D7DA;
    border-color: #F5C6CB;
}
/* fix bootstrap issue*/

.invalid-feedback {
    display: block;
}

/* RANGE SLIDER JS */

.rangeslider {
  position: relative;
  height: 3px;
  border-radius: 5px;
  width: 100%;
  background-color: gray;
  margin-top: 50px;
  margin-bottom: 30px;
}
.rangeslider__handle {
  transition: background-color 0.2s;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background-color: #467fff; /*0099FF;*/
  touch-action: pan-y;
  cursor: pointer;
  display: inline-block;
  position: absolute;
  z-index: 3;
  top: -90px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), inset 0 0 0 2px white;
}
.rangeslider__handle__value {
  transition: background-color 0.2s, box-shadow 0.1s, transform 0.1s;
  box-sizing: border-box;
  width: 90px;
  text-align: center;
  padding: 5px;
  background-color: #467fff; /*0099FF;*/
  border-radius: 5px;
  color: white;
  left: -35px;
  top: -45px;
  position: absolute;
  white-space: nowrap;
  border-top: 1px solid #007acc;
  box-shadow: 0 -4px 1px rgba(0, 0, 0, 0.07), 0 -5px 20px rgba(0, 0, 0, 0.3);
}
.rangeslider__handle__value:before {
  transition: border-top-color 0.2s;
  position: absolute;
  bottom: -10px;
  left: calc(50% - 10px);
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid;
  border-top-color: #467fff; /*0099FF;*/
}

.rangeslider__fill {
  position: absolute;
  top: 0;
  z-index: 1;
  height: 100%;
  background-color: #467fff; /*0099FF;*/
  border-radius: 5px;
}
.rangeslider__labels {
  position: absolute;
  width: 100%;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}
.rangeslider__labels__label {
  font-size: 0.75em;
  position: relative;
  padding-top: 15px;
  color: gray;
}
.rangeslider__labels__label:before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  width: 1px;
  height: 9px;
  border-radius: 1px;
  background-color: rgba(128, 128, 128, 0.5);
}

.rangeslider__labels__label:first-child:before, .rangeslider__labels__label:last-child:before {
  height: 12px;
  width: 2px;
}

.rangeslider__labels__label:first-child:before {
  background-color: #467fff; /*0099FF;*/
}
.rangeslider__labels__label:last-child:before {
  background-color: #467fff; /*0099FF;*/
}

.rangeslider__labels__label:first-child {
  transform: translateX(-48%);
  margin-left: 8px;
}
.rangeslider__labels__label:last-child {
  transform: translateX(48%);
  margin-right: 8px;
}
.rangeslider.rangeslider--active .rangeslider__handle, .rangeslider.rangeslider--active .rangeslider__handle * {
  background-color: #2e56ae; /*33adff;*/
}
.rangeslider.rangeslider--active .rangeslider__handle *:before {
  border-top-color: #2e56ae; /*33adff;*/
}
.rangeslider.rangeslider--active .rangeslider__handle__value {
  transform: translateY(-5px);
  box-shadow: 0 -3px 2px rgba(0, 0, 0, 0.04), 0 -9px 25px rgba(0, 0, 0, 0.15);
}

/* MOBILE SPECIFIC */

@media screen and (max-width:762px){

    .branding-image {
        margin-left: 5px;
    }

    input[type="text"]{
        min-width:120px;
    }

    div.info input {
        max-width:280px;
    }

}


@media screen and (max-width:650px){
   li.nav-item {
        width:100%;
   }
}