@charset "UTF-8";

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  background-color: #fff;
}

* {
  box-sizing: border-box;
}
ul {
  padding: 0;
  margin-top: 10px;
  margin-bottom: 10px;
}

ul.padding-inline {
  padding-left: 40px;
}

.img-right a {
  text-decoration: none;
  color: transparent;
}

#contenu {
  margin-right: 10%;
  margin-left: 10%;
}

.group-heading {
  padding: 10px 15px;
  border: 1px solid #e7e7e7;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  background-color: #dbdbdb;
  background-image: linear-gradient(180deg, #ffffffd7 0, #dbdbdb);
}
.group-body {
  padding: 10px 15px;
  border: 1px solid #e7e7e7;
  border-top: none;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  margin-bottom: 2em;
}

.button-insee {
  border: 2px transparent;
  border-radius: 4px;
  padding: 4px 12px;
  background-color: #ffc400;
  font-weight: bold;
  color: #0f417a;
}
.button-insee:hover {
  background-color: #0f417a;
  color: #ffc400;
}
.img-right img {
  max-width: 30%;
  max-height: 9em;
  margin: 1em;
}
.img-left img {
  width: auto;
  max-height: 9em;
  margin: 1em;
}

.img-right,
.img-left {
  text-align: center;
  width: 20%;
}

.bandeau-img {
  display: block;
  max-width: 100%;
  height: auto;
  z-index: -10;
}

.validate-password {
	width: 24px;
	height: 24px;
}

.eye-right {
	width: 30px;
	float: right;
	margin-top: -27px;
	margin-right: 10px;
	position:relative;
}
/*** Bandeau superieur ***/
#bandeauSuperieur {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  margin-right: 10%;
  margin-left: 10%;
}

#bandeauTitre {
  display: flex;
  flex-direction: row;
}

.titrePortail {
  margin: 0px 0px 0px 0px;
}

#logo img {
  max-height: 80px;
  padding-right: 10px;
}

/*pour bandeau cookie*/
.centrer {
  text-align: center;
}

/*** Titre ***/

#nomappli {
  font-size: 75%;
}

#urlappli {
  font-size: 60%;
}

#contenu div.flex-contenu {
  display: flex;
  justify-content: space-between;
}

/* Contenant */
div.group.panel-default {
  display: inline-block;
  vertical-align: top;
  width: 44%;
  height: fit-content;
}
#content {
  width: 54%;
}

/*Alert en rouge*/
.alert {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

div.form-group-login {
  margin-bottom: 1em;
}
div.form-group-login label {
  margin-top: 0.5em;
}

/*** Pied de page ***/
#piedPage {
  color: #404040;
  background-color: #f8f8f8;
  background-image: linear-gradient(180deg, #fff 0, #f8f8f8);
  border: 1px solid;
  border-color: #e7e7e7;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
  height: 4em;

  position: fixed;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1030;
}

#piedPage li {
  margin-left: 2em;
  margin-right: 2em;
  display: inline;
  list-style: none;
}

#piedPage a {
  color: #666666;
  text-decoration: none;
}
#piedPage a:hover,
#piedPage a:focus {
  color: black;
  text-decoration: none;
}

/* Entete de page */
#entetePage {
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: right;
}

#entetePage li {
  margin-right: 1em;
  display: inline;
  list-style: none;
}

#entetePage a {
  color: #666666;
  text-decoration: none;
}
#entetePage a:hover,
#entetePage a:focus {
  color: black;
  text-decoration: underline;
}

#cookie {
  margin-top: 0;
}

#uri-appli {
  font-size: 60%;
}

/* Lien vers le portail */
.link-portail span:nth-child(2) {
  margin-left: 2em;
}

@media (max-width: 1060px) {
  #bandeauSuperieur {
    height: auto;
    width: auto;
  }
  .titrePortail {
    font-size: 2em;
    width: auto;
  }
}

@media (max-width: 990px) {
  #bandeauSuperieur {
    margin-right: 5px;
    margin-left: 5px;
  }
  #contenu {
    margin-right: 5px;
    margin-left: 5px;
  }
}
@media (max-width: 750px) {
  .img-left {
    width: 35%;
  }
  .img-right {
    width: 32%;
  }

  .titrePortail {
    font-size: 1.5em;
  }

  #piedPage {
    display: none;
  }

  #contenu div.flex-contenu {
    flex-direction: column-reverse;
  }

  div.group.panel-default {
    display: block;
    width: 100%;
  }
  #content {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .titrePortail {
    font-size: 1.2em;
  }
  .link-portail span {
    display: block;
  }
  .link-portail span:nth-child(2) {
    margin-left: 0em;
  }

  #logo img {
    max-height: 60px;
    padding-right: 10px;
  }
}
@media (max-width: 380px) {
  #favoris {
    display: none;
  }
}

@media (max-width: 330px) {
  .img-right img {
    width: 45%;
  }
}
