body {
  background: #f1f1f1;
}
/* .xxx {
  position: inherit !important;
} */

.center {
  text-align: center;
}

.f_right {
  float: right;
}

.f_left {
  float: left;
}


.form-radio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.form-check-v4 {
  display: inline;
  padding-right: 20px;
}

.inline-block {
  display: inline-block;
}

.formv4__dynamicElmSkin-top-slim {
  margin-top: 6px !important;
}

.hidden {
  visibility: hidden;
}

/* Tentative d'adapter le menu bootstrap 3 pour les pages en bootstrap v4... */
/* ///////////////////////////////////////////////////////////////////////// */

/* items principaux du menu */
.menucollapse-v4 > ul > li > a {
  /* color: white; */
  color: #acacac;
  text-decoration: none;
  padding-left: 6px;
  padding-right: 6px;
  font-size: 0.8rem;
}
.menucollapse-v4 > ul > li > a:hover {
  color: white;
}

.fil-arianne-box {
  border: 1px solid #42a9e4;
}

.notice {
  display: flex;
  flex-direction: column;
  float: right;
  font-size: 1.3em;
}

.notice img {
  max-height: 70px;
}

.notice > span img {
  height: 40px;
}

.menuv4-departements {
  /* position: relative; top: -2px; */
  /* transform: translateY(-2px); */
  font-size: 0.84rem;
}
/*.dropdown-menu {
  padding-bottom: 0;
  padding-top: 0;
  margin-top: 9px;
}*/
/* items des sous-menus */
.dropdown-menu li {
  margin: 0 0;
  font-size: 0.9rem;
}
.dropdown-menu li:hover {
  background: #4c7a94;
}

.dropdown-menu li a {
  color: white;
  text-decoration: none;
  padding-left: 20px;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  padding-top: 4px;
  padding-bottom: 4px;
  font-size: 0.79rem;
}
/*.dropdown-menu {
  width: 250px;
  background: #343A40;
  border-radius: 0;
  border: 0px;
}*/
.fake-navbar-v4 {
  position: absolute;
  height: 56px;
  width: 100%;
  background: #343A40;
}
/* ///////////////////////////////////////////////////////////////////////// */

@media (max-width: 991px) {
  .dropdown-menu li a {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 2px;
    padding-bottom: 2px;
  }
  .form-radio-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}


/* .menuv4-active {
  color: white !important;
} */



/* Redesign du composant jQuery ui-autocomplete (utilisé à l'étape
  logement-recherche), sur l'input de ville souhaitée */
/* ///////////////////////////////////////////////////////////// */
.ui-autocomplete {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}
.ui-menu .ui-menu-item {
  background: white;
  font-size: 1rem;
}
.ui-state-focus {
  color: #42a9e4 !important;
  border-left: 1px solid #CED4DA !important;
  border-right: 1px solid #CED4DA !important;
  border-bottom: 1px solid white !important;
  border-top: 1px solid white !important;
}
.ui-state-focus:first-child {
  color: #42a9e4 !important;
  border-top: 1px solid #CED4DA !important;
}
.ui-state-focus:last-child {
  color: #42a9e4 !important;
  border-bottom: 1px solid #CED4DA !important;
}
.ui-menu .ui-menu-item:hover {
  color: #42a9e4;
}


.formv4__rotate180 {
  transform: rotate(180deg);
}

.formv4__headerToggle {
  /* border: 1px solid lightgrey; */
  background: #7faac3;
  color: white;
  cursor: pointer;
  /* en adéquation avec le padding-x du conteneur .formv4__toggleBlock */
  width: calc(100% + 40px);
  position: relative;
  left: -20px;
  padding: 10px;
  /* transition: .2s; */
}

.formv4__headerToggle-deployed {
  background: #4a728a;
}

.formv4__headerToggle:hover {
  /* border: 1px solid lightgrey; */
  background: #4a728a;
}

.formv4__toggleBlock {
  background: rgb(243, 245, 248);
  padding: 20px;
  padding-top: 0;
  padding-bottom: 0;
  border-radius: 6px;
  margin-top: 30px;
}

.formv4__devNote {
  color: orange;
  font-size: 0.7rem;
  display: none;
}

.formv4__checksInvalidBackEnd p {
  margin-bottom: 0.3rem;
}

/* Cerfa v4 Forms style (21 august 2020)  */
/* ///////////////////////////////////////////////////////////////////////// */
.form-group {
  margin-bottom: 0.5rem;
}
/* 
.formv4 h1 {
  color: #fff;
  background : #42a9e4;
  display: inline;
  font-size: 18px;
  font-weight: bold;
  padding: 14px 22px;
  margin-left: 0;
} */

.formv4 {
  background: white;
  border: 1px solid #42a9e4;
}

.formv4__messageObligatoire {
  margin-bottom: 20px;
  /* padding raccord avec le padding-top du bouton submit qui est à côté (.formv4__btnSubmit) */
  padding-top: 8px;
}

.label-custom {
  text-align: right;
  padding-right: 28px;
}

@media (max-width: 575px) {
  .label-custom {
    text-align: left;
  } 
}

@media (min-width: 1200px) {
  .formv4__btnPrenomAjouter {
    margin-right: 86px;
  }
}

.formv4 input:not([type="radio"]) {
  /* max-width: 700px; */
  position: relative;
}

.formv4 input.input-inline {
  top: 50%;
  transform: translateY(-50%);
}

.text-vertical-center {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

input.formv4-input-no-width-limit {
  max-width: 100%;
}

input[type=text], input[type=email], input[type=tel], textarea {
	text-transform: uppercase;
}

/* Le bloc des étapes de progression est complétement différent entre desktop - mobile
Sélection du bon bloc à montrer en fonction de la taille de l'écran */
@media (max-width: 1229px) {
  .menuSteps-big {
    display: none;
  }

  .formv4__h1 {
    flex-direction: column;
  }
}
@media (min-width: 1230px) {
  .menuSteps-small {
    display: none;
  }
}
.menuSteps-big {
  width: 1080px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}
.menuSteps-small {
  font-weight: bold;
  color: #4c7a94;
}

.menuSteps__progressBloc {
  width: 30px;
  height: 6px;
  background: #D9F0F8;
  display: inline-block;
  margin: 0 5px;
}


.menuSteps__step {
  display: inline-block;
  width: 140px;
  text-align: center;
  /* width: 143px; */
  /* line-height: 10px; */
  white-space: nowrap;
}

.menuSteps__progressBloc-done {
  /* background: #BEE8D1; */
  /* background: #03AC52; */
  background: #8de4b4;
}

.menuSteps__progressBloc-active {
  /* background: #57a4be; */
  /* background: #42a9e4; */
  /* background: #3d5f74; */
  /* background: #3d5f74; */
  background: #337caa;
}

.menuStep__progressBar {
  height: 4px;
  width: 100%;
  background: #D9F0F8;
  position: relative;
  top: -7px;
}

.menuStep__progressBarDone {
  background: #BEE8D1;
}

.menuStep__progressBarFirst {
  width: 50%;
  left: 50%;
}

.menuStep__progressBarLast {
  width: 50%;
}

.menuSteps__text {
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #3d5f74;
}

.menuSteps__step-active {
  color: #42a9e4;
  font-weight: bold;
  /* text-decoration: underline; */
}

.menuSteps__puce {
  height: 10px;
  width: 10px;
  background: #42a9e4;
  border-radius: 5px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  z-index: 70;
}

.menuSteps__puceDone {
  background: #03AC52;
}

.menuSteps__puceActive {
  background: #3d5f74;
}

.menuSteps__textDone {
  color: #03AC52;
  text-decoration-color: #03AC52 !important;
}

.formv4__h1 {
  display: flex;
  justify-content: space-between;
  background: #42a9e4;
  color: white;
  padding: 5px 20px;
}

.formv4__h1 span {
  font-size: 1.1em;
}

.formv4 h1 {
  font-size: 1.5rem;
}

.formv4__h1-not-first {
  width: calc(100% + 50px);
  position: relative;
  left: -25px;
}

.formv4__h2 {
  position: relative;
}

.formv4__h2-icon {
  position: absolute;
  color: #4784a7;
  line-height: 1.4rem;
}

.formv4 h2 {
  padding-left: 22px;
  font-size: 0.9rem;
  color: #4784a7;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 2px solid #4784a7;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.4rem;
}

.formv4 input[type="checkbox"] {
  width: 1.1rem; height: 1.1rem;
}


.formv4__h2-precision {
  font-size: 1.1rem;
  color: #4784a7;
}

.formv4__h2-precision-inline {
  color: #4784a7;
  text-transform: lowercase;
}

.formv4__text-precision {
  color: #4784a7;
}

.formv4 h3 {
  padding-left: 22px;
  margin-left: 30px;
  font-size: 0.8rem;
  color: #4784a7;
  padding-bottom: 10px;
  /* margin-bottom: 50px; */
  border-bottom: 1px solid #4784a7;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.4rem;
}

.formv4__separator {
  /* height: 1px;dddd
  background: #98d9ff; */
  margin-top: 20px;
  /* margin-bottom: 10px; */
  width: calc(100% + 48px);
  position: relative;
  left: -24px;
}

.formv4__submitContainer {
  text-align: end;
}

@media (max-width: 990px) {
  .formv4__submitContainer {
    text-align: center;
  }
}

.formv4 .container {
  padding: 1rem 2rem 2rem 2rem;
}

.formv4__text-bluegreen {
  color: #10a0a5;
}

.formv4__dynamicElmSkin {
  position: relative;
  background: #e6e9eb;
  /* margin-bottom: 30px; */
  margin-top: 30px;
  padding: 10px 30px;
  border-radius: 10px;
  /* box-shadow: 4px 6px 10px 2px rgba(0,0,0, 0.15); */
}

.formv4__dynamicElmSkinLoader {
  display: none;
  border-radius: 10px;
  opacity: 0.8;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #e6e9eb;
}

.cerfa-v4-spinner-centered {
  height: 100px;
  width: 100px;
  position: absolute;
  left: 50%;
  margin-left: -50px;
  top: 50%;
  margin-top: -50px;
}

.only-desktop {
  display: none;
}

.only-mobile {
  display: inline;
}

@media (min-width: 768px) {
  .only-desktop {
    display: inline;
  }
  .only-mobile {
    display: none;
  }
}

.formv4__row-special {
  background: rgb(195, 218, 231);
  border-radius: 6px;
}

/* ALEXIS : Styles pour la modal contenant les erreurs */
.bootbox {
  padding-right: 0 !important;
}

/*.modal-body {
  padding: 0;
}*/

.erreurs {
  width: 100%;
  overflow: auto;
  max-height: 600px;
}

.img-quartiers{
  width: 100%;
}

.fa.fa-question-circle {
  font-size: 1.2em;
}

/* Style des popover des exemple d'impots sur revenus */
.tooltip-inner-saisie-demande{
	max-width: 515px !important;
}
.bigBootBox div.modal-dialog {
  max-width: 850px;
}

/* Style des popover pour l'aide sur le siret d'une entreprise */
.popover ol {
  padding-left: inherit;
}

/* Changement de l'alignement du text dans les popovers */
.popover-body {
  text-align: justify;
}

/* Soulignement d'un text */
.text-underlined {
  text-decoration: underline;
}

/* Input fichier */
/* On remplace le mot "Browse" par "Rechercher" */
.custom-file-label::after { content: "Rechercher";}


/* ///////////////////////////////////////////////////////////////////////// */
/* End of Cerfa v4 Forms style (21 august 2020)  */

.glyphicon-question-sign.info-bulle::before {
  vertical-align: middle !important;
  line-height: 18px !important;
}
