/***********************************************A EFFACER*****************************************************************/
/*
- bien indenter
- ne pas mettre les noms de couleurs (#FFF pour white, #000 pour black)
- bien sélectionner. ex : header > nav > ul > li (au lieu de header li)
- attention aux doublons

jaune : #edb524;
vert : #80a09f;
gris moyen : #ccc;
background gris très clair : #eee;

*/

@font-face {
  font-family: "Corbel";
  src: url("../fonts/CORBEL.TTF"), url("../fonts/CORBELB.TTF"),
    url("../fonts/CORBELI.TTF"), url("../fonts/CORBELL.TTF"),
    url("../fonts/CORBELLI.TTF"), url("../fonts/CORBELZ.TTF");
}

@font-face {
  font-family: "Oswald";
  src:
 /* src: url("../fonts/OSWALD-BOLD.TTF"),
        url("../fonts/OSWALD-BOLDITALIC.TTF"),
        url("../fonts/OSWALD-DEMI-BOLDITALIC.TTF"),
        url("../fonts/OSWALD-DEMIBOLD.TTF"),
        url("../fonts/OSWALD-EXTRA-LIGHTITALIC.TTF"),
        url("../fonts/OSWALD-EXTRALIGHT.TTF"),
        url("../fonts/OSWALD-HEAVY.TTF"),
        url("../fonts/OSWALD-HEAVYITALIC.TTF"),
        url("../fonts/OSWALD-LIGHT.TTF"),
        url("../fonts/OSWALD-LIGHTITALIC.TTF"),*/
       /* url("../fonts/OSWALD-MEDIUM.TTF"),*/
       /* url("../fonts/OSWALD-MEDIUMITALIC.TTF"), */
        /* url("../fonts/OSWALD-REGULAR.TTF"),
        url("../fonts/OSWALD-REGULARITALIC.TTF"),
        url("../fonts/OSWALD-STENCIL.TTF"); */
        /* url("../fonts/OSWALD-LIGHT.TTF"); */ url("../fonts/OSWALD-EXTRALIGHT.TTF");
}

/*************************************************************************************************************************
*********************************************************GLOBAL
*************************************************************************************************************************/

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Corbel", "Arial";
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1.6;
}

a,
a:hover,
a:visited,
a:active {
  text-decoration: none;
  color: #000;
}

ul,
li {
  padding-left: 0;
  list-style-type: none;
}

img {
  max-width: 100%;
}

a > img {
  width: 20px;
  margin-left: 10px;
}

/* Cacher un élément */
.hidden {
  display: none !important;
}

.hidden2 {
  visibility: hidden !important;
}

main {
  margin-top: 45px;
  margin-bottom: 40px;
  min-height: 70vh;
}

main > section,
main > article {
  padding: 20px;
}

h1 {
  font-family: "Oswald", "Arial";
  text-align: center;
  font-size: 3.4rem;
  margin-top: 0;
}

h2 {
  font-family: "Oswald", "Arial";
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 40px;
}

label {
  position: absolute;
  left: -9999px;
}

a#scrollToTop {
  width: 50px;
  height: 50px;
  font-size: 1.4rem;
  color: #000;
  background-color: #edb524;
  border-radius: 100%;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  right: 10px;
  bottom: 30px;
  z-index: 100;
  opacity: 0;
  -webkit-box-shadow: 3px 3px 5px 0px rgba(50, 61, 61,0.3);
  -moz-box-shadow: 3px 3px 5px 0px rgba(50, 61, 61,0.3);
  box-shadow: 3px 3px 5px 0px rgba(50, 61, 61,0.3);
  transition: all 0.1s ease-in-out;
}

a#scrollToTop > img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  margin: 0;
  margin-bottom: -5px;
}

a#scrollToTop:hover {
  transform: scale(1.1);
}

.scrollToTop-active {
  opacity: 1 !important;
}

/*-----class-----*/

.flex-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

.flex-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bold {
  font-weight: bold;
}

.lastElement {
  padding-bottom: 40px;
}

.hidden-mobile {
  display: none !important;
}

.menuDelete {
  position: absolute;
  left: -9999px;
}

.show-tabScreen {
    display: none;
}

.flashMessage {
    color: #80a09f;
}

.flexContainer1 {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*-----buttons-----*/

.buttonStyle {
  border: none;
  padding: 5px 25px;
  background-color: #edb524;
  border: 2px solid #edb524;
  text-align: center;
  font-weight: bold;
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
  transition: 0.3s all ease-in-out;
}

.buttonStyle:hover {
  cursor: pointer;
  background-color: #fff;
}

.bottomButton {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  z-index: 10;
}

a.buttonIcon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

a.buttonIcon > img {
  margin-right: 10px;
}

/*-----form-----*/

input[type="text"],
input[type="number"],
select,
textarea,
input[type="email"],
input[type="password"] {
  border: 1px solid #edb524;
  padding: 5px;
  background-color: #fff;
  margin: 10px;
  box-sizing: border-box;
}

input[type="text"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder {
  color: #ccc;
  font-family: "Corbel";
}

/*-----messages-----*/

.messagesGroup {
  margin: 20px auto;
}

.message {
  margin: 10px auto;
}

.message > small {
  color: #80a09f;
}

.messagePrincipal > p {
  margin: 0 auto;
  font-weight: bold;
}

.messageReponse {
  padding-left: 40px !important;
  position: relative;
}

.messageReponse > img {
  width: 20px;
  position: absolute;
  left: 15px;
}

/*-----pagination-----*/

div.pagination {
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-weight: bold;
}

div.pagination > span {
  padding: 5px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

div.pagination > span.current {
  background-color: #edb524;
  border-radius: 100%;
}

/*-----bouton exit switch user-----*/

#exitSwitchUser {
  background-color: #edb524;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: -60px;
  right: 10px;
  cursor: pointer;
  padding: 7px;
  z-index: 2;
}

#exitSwitchUser img {
  margin-left: 1px;
  width: 30px;
  cursor: pointer;
}

/*-----maintenance-----*/

.maintenance {
  background-color: rgba(237, 181, 36, 0.2) !important;
  margin-bottom: 30px;
  border-radius: 20px;
  max-width: 90%;
  margin: 0 auto;
}

.maintenance > h2 {
  text-align: center;
  font-size: 4rem;
  margin-top: 0;
}

.maintenance > p {
  font-weight: bold;
  font-size: 1.8rem;
  text-align: center;
}

/*-----tooltip select-----*/

.tooltipSelect {
  position: relative;
  display: inline-block;
  width: 25px;
}

.tooltipSelect .tooltiptextSelect {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  top: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltipSelect .tooltiptextSelect::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #555 transparent;
}

.tooltipSelect:hover .tooltiptextSelect {
  visibility: visible;
  opacity: 1;
}

/*-----divers-----*/

section.section-visite > span {
  margin-left: 30px;
  display: block;
  margin-top: 10px;
}

.no-result-message {
  color: #80a09f;
}

nav#filArianne {
  margin-top: 60px;
  margin-left: 20px;
}

nav#filArianne > a {
  color: #80a09f;
  background-color: #eee;
  padding: 5px 10px;
  border-radius: 3px;
  margin-right: -12px;
}

nav#filArianne > a > span {
  color: #000;
  margin-left: 5px;
}

.zoneName {
  padding: 3px 10px 7px 10px;
  border-radius: 15px;
}

.show-tabScreen {
  display: none;
}

form.formDeleteFile {
  display: flex;
  justify-content: center;
}

button.deleteFile {
    width: 35px;
    height: 35px;
    border-radius: 100%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    -webkit-box-shadow: 0 0 5px 0px rgba(0,0,0,0.4);
    -moz-box-shadow: 0 0 5px 0px rgba(0,0,0,0.4);
    box-shadow: 0 0 5px 0px rgba(0,0,0,0.4);
    cursor: pointer;
    transform: scale(1);
    transition: transform 0.1s ease-in;
}

button.deleteFile:hover {
  transform: scale(1.2);
}

div.messagePrincipal {
  position: relative;
}

button.buttonDeleteMessage {
  background-color: #FFF;
  border-radius: 100%;
  width: 30px;
  height: 30px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
  box-shadow: 0px 0px 5px 0px rgba(195, 83, 83, 0.4);
  cursor: pointer;
}

  /*----------------------------------------------GLOBAL----------------------------------------------*/

  /*******************************MESSAGE COOKIES**************************************/
  /*******************************MESSAGE COOKIES**************************************/

div#cookiesMessage {
  height: auto;
  position: absolute;
  width: 100%;
  top: 60px;
  left: 0;
  z-index: 3;
  background-color: #fff;
  border: solid 3px #edb524;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

div#cookiesMessage > p {
  text-align: center;
  text-align: left;
  margin: 30px 30px 30px 0;
  width: 50%;
}

  div#cookiesMessage > * {
    margin: 30px auto;
  }

  div#cookiesMessage > div {
    display: flex;
    flex-direction: row;
    margin: 30px auto;
  }

  div#cookiesMessage > div > button {
    width: 110px;
    margin: auto 10px;
    font-size: 1.2rem;
    padding: 8px;
  }

/*************************************************************************************************************************
*********************************************************HEADER
*************************************************************************************************************************/

header {
  position: relative;
}

/*----------MENU NAV----------*/

header > nav.mobile-only {
  background-color: #edb524;
}

#header-title-mobile,
#header-menu-mobile {
  background-color: #fff;
  color: #edb524;
  text-transform: uppercase;
  height: 45px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: left;
  padding-left: 20px;
  font-weight: bold;
}

#header-title-mobile {
  position: fixed;
  top: 0;
  z-index: 50;
  -webkit-box-shadow: 0px 4px 20px 2px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 4px 20px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 4px 20px 2px rgba(0, 0, 0, 0.5);
}

#nav-mobile {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: -100vh;
  left: 0;
  z-index: 9;
  transition: top 0.3s ease-in-out;
}

.nav-mobile-active {
  top: 0 !important;
}

#nav-mobile > a.log {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 45px;
  border: none;
  font-weight: bold;
  font-size: 2rem;
  color: #80a09f;
  font-size: 1.8rem;
  background-color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#nav-mobile > a.log > img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

#nav-mobile > ul {
  height: 70%;
  margin-top: 60px;
}

#nav-mobile > ul > li {
  max-height: 45px;
  min-height: 35px;
  height: 10%;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: center;
  padding-left: 20px;
  font-weight: bold;
  text-transform: capitalize;
  font-size: 2rem;
  position: relative;
}

#nav-mobile > ul > li:active {
  background-color: #f6da92 !important;
}

#nav-mobile > ul > li > div {
  width: 50px;
  height: 1px;
  background-color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
}

#nav-mobile > div {
  margin-bottom: 60px;
  height: 25%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

#nav-mobile > div > p {
  font-weight: bold;
  font-size: 2.2rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#nav-mobile > div > p > img {
  width: 25px;
  height: 25px;
  object-fit: cover;
  margin-right: 10px;
}

#nav-mobile > div > a.buttonMobile {
  background-color: #f6da92;
  width: 45%;
  border: none;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  margin: 5px;
  box-sizing: border-box;
  padding: 10px 20px;
  text-align: center;
  font-weight: bold;
}

/*-----HAMBURGER-----*/

#hamburger {
  position: fixed;
  top: 0;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: 45px;
  z-index: 10;
  display: flex;
  align-items: center;
}

#hamburger > div {
  width: 55px;
  height: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 15px;
}

#hamburger .line {
  width: 30px;
  height: 2px;
  background-color: #edb524;
  display: block;
  margin: 3px auto;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  z-index: 6;
}

#hamburger .line:nth-child(1) {
  top: 0;
}

#hamburger .line:nth-child(2) {
  top: 10px;
}

#hamburger .line:nth-child(3) {
  top: 20px;
}

#hamburger-button:hover {
  cursor: pointer;
}

#hamburger.is-active .line:nth-child(2) {
  opacity: 0;
}

#hamburger.is-active .line:nth-child(1) {
  -webkit-transform: translateY(8px) rotate(45deg);
  -ms-transform: translateY(8px) rotate(45deg);
  -o-transform: translateY(8px) rotate(45deg);
  transform: translateY(8px) rotate(45deg);
}

#hamburger.is-active .line:nth-child(3) {
  -webkit-transform: translateY(-9px) rotate(-45deg);
  -ms-transform: translateY(-9px) rotate(-45deg);
  -o-transform: translateY(-9px) rotate(-45deg);
  transform: translateY(-9px) rotate(-45deg);
}

/*bandeau maintenance*/

#bandeauMaintenance {
  background-color: #000;
  color: #FFF;
  position: absolute;
  bottom: -2px;
  width: 100%;
  z-index: 100;
}

#bandeauMaintenance > span {
  font-weight: bold;
  margin-left: 20px;
}

/*************************************************************************************************************************
*********************************************************FOOTER
*************************************************************************************************************************/

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-top: 2px solid #eee;
  margin-top: 60px;
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;
}

footer > div {
  margin: 10px;
}

footer > div > a {
  text-decoration: underline;
  font-weight: bold;
}

/*************************************************************************************************************************
*********************************************************MAIN
*************************************************************************************************************************/

/*-------------------------------------------------------HOME------------------------------------------------------------*/

.list-style-circle {
  width: 10px;
  min-width: 10px;
  height: 10px;
  min-height: 10px;
  border-radius: 100%;
  background-color: #000;
  margin: 10px;
}

main#home h1 {
  font-family: "Corbel";
  font-size: 1.6rem;
  margin-top: 60px;
  margin-left: 20px;
  text-align: left;
  z-index: 1;
}

main#home h2 {
  text-align: center;
  font-size: 3.4rem;
  margin-top: 0;
}

main#home input[type="text"],
main#home input[type="number"] {
  max-width: 80px;
}

main#home article:nth-of-type(even) {
  background-color: #eee;
}

main#home article {
  padding: 20px;
}

main#home article:last-of-type {
  margin-bottom: 50px;
}

main#home #home-buttonCheptel {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  z-index: 99;
}

main#home article > div.flex-column > a.buttonStyle {
  width: 50%;
  margin: 5px auto;
}

main#home article > section {
  margin-top: 40px;
}

main#home article#lastVisites > div {
  margin-top: 30px;
}

main#home article#lastVisites > div > div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
}

main#home article#lastVisites > div > div > span:nth-of-type(1) {
  background-color: rebeccapurple;
  padding: 3px 10px;
  border-radius: 20px;
}

main#home article#lastVisites > div > div > span:nth-of-type(3) {
  width: 100%;
}

main#home section.section-visite h3 {
  width: 100%;
}

#numeroRuche, #rucher {
  min-width: 110px;
}

#numeroRuche, #rucher {
  margin-left: 0;
}

main#home div.messagesGroup {
  display: flex;
  flex-direction: column;
}

main#home div.messagesGroup > div.message {
  margin: 0;
}

main#home div.messagesGroup > div.messagePrincipal > p {
  margin: 0;
}

main#home section#homeVisiteDuJour > ul > li, main#home #lastVisites ul > li {
  margin: 25px 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}

main#home div.visiteZoneTitle {
  display: flex;
  flex-direction: row;
  align-items: center;
}

main#home div.visiteZoneTitle > div {
  width: 20px;
  height: 20px;
  margin-left: 15px;
}

main#home div.visiteRucherTitle p, main#home article#lastVisites p {
  margin: 0;
}

main#home div#listeRuchers {
    max-height: 110px;
    overflow-y: auto;
    margin-top: -20px;
}

main#home div#listeRuchers > ul > li {
  margin: 25px 0;
}

main#home div#listeRuchers > ul > li p {
  margin: 0;
}

/* ----- admin : bloc messages ---- */

main#home #blocMessageAdmin {
  width: 100%;
  padding: 25px;
  margin-top: 30px;
  box-sizing: border-box;
  background-color: #eee;
}

main#home #blocMessageAdmin > h2 {
  margin: 0 auto;
  width: 80%;
}

main#home #blocMessageAdmin > .message {
  margin: 20px auto;
}

/*-------------------------------------------------------PARRAIN.MES RUCHES------------------------------------------------------------*/

main#parrainListeRuches > section > p {
  text-align: center;
}

main#parrainListeRuches > section > ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

main#parrainListeRuches > section > ul > li {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  height: 20px;
  width: 80px;
  margin: 15px 50px;
}

main#parrainListeRuches > section > ul > li > a {
  color: #80a09f;
  font-weight: bold;
  font-size: 2rem;
  display: block;
  padding: 10px 0 0;
  border-bottom: 2px solid #fff;
  transition: 0.1s all ease-in;
}

main#parrainListeRuches > section > ul > li > a:hover {
  border-bottom: 2px solid #80a09f;
}

main#parrainListeRuches > section > ul > li > span {
  color: #edb524;
  font-weight: bold;
  opacity: 0;
  min-width: 100px;
  margin-left: 10px;
  padding-top: 10px;
  transition: 0.2s opacity ease-in;
}

main#parrainListeRuches > section > ul > li > span.visible {
  opacity: 1;
}

/*-------------------------------------------------------PARRAIN.MES RUCHES / ruche x------------------------------------------------------------*/

main#parrainRuche > section > ul > li > span {
  font-weight: bold;
}

main#parrainRuche > section:nth-of-type(2) {
  background-color: #eee;
}

main#parrainRuche > section:nth-of-type(2) > h2 {
  text-align: center;
  margin-top: 0;
}

main#parrainRuche > section:nth-of-type(2) > ul {
  text-align: center;
  width: 100%;
}

main#parrainRuche > section:nth-of-type(2) > ul > li {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  margin: 15px auto;
}

main#parrainRuche > section:nth-of-type(2) > ul > li > a:nth-of-type(1) {
  width: 35px;
  height: 35px;
  background-color: #FFF;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
}

main#parrainRuche > section:nth-of-type(2) > ul > li > a:nth-of-type(1) > img {
  margin-left: 0;
}

main#parrainRuche > section:nth-of-type(2) > ul > li > a:nth-of-type(2) {
  font-weight: bold;
  color: #80a09f;
  display: block;
  margin-bottom: 8px;
  width: 75%;
  margin: 0 auto;
}

main#parrainRuche > section:nth-of-type(2) > ul > li > a > span:nth-of-type(2) {
  color: #edb524;
  font-weight: bold;
  opacity: 0;
  position: absolute;
  top: 0;
  right: -10px;
  transition: 0.1s opacity ease-in;
}

main#parrainRuche
  > section:nth-of-type(2)
  > ul
  > li
  > a
  > span:nth-of-type(2).visible {
  opacity: 1;
}

/*-------------------------------------------------PARRAIN.MES RUCHES / ruche x / visite x------------------------------------------------------*/

main#parrainVisite > h1 {
  margin-top: 20px;
}

main#parrainVisite > section:nth-of-type(1) > h2 {
  font-size: 2rem;
}

main#parrainVisite h3 {
  font-family: "Oswald", "Arial";
  font-size: 2.6rem;
  margin-top: 30px;
  border-bottom: 2px solid #edb524;
}

main#parrainVisite > section:nth-of-type(1) > article > ul > li {
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ddd;
}

main#parrainVisite
  > section:nth-of-type(1)
  > article
  > ul
  > li:nth-last-of-type(1) {
  border-bottom: none;
}

main#parrainVisite
  > section:nth-of-type(1)
  > article
  > ul
  > li
  > div
  > span:nth-of-type(1),
main#parrainVisite
  > section:nth-of-type(1)
  > article
  > ul
  > li
  > span:nth-of-type(1) {
  font-weight: bold;
}

main#parrainVisite
  > section:nth-of-type(1)
  > article
  > ul
  > li
  > div
  > span:nth-of-type(1)::after,
main#parrainVisite
  > section:nth-of-type(1)
  > article
  > ul
  > li
  > span:nth-of-type(1)::after {
  content: " :";
}

main#parrainVisite div.tooltip {
  width: 25px;
}

main#parrainVisite div.tooltip:hover {
  cursor: help;
}

main#parrainVisite div.tooltip:hover > div {
  transform:scale(1);
}

main#parrainVisite div.tooltip > div {
  position: absolute;
  transform:scale(0);
  transition: all 0.2s ease-in;
  background-color: #fff;
  border: 2px solid #edb524;
  z-index: 50;
}

/*couleurs reines marquée*/
#infoBulle-reineMarquee > ul > li {
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
}

#infoBulle-reineMarquee > ul > li > div {
  width: 25px;
  height: 25px;
  border-radius: 100%;
  border: 1px solid #000;
  margin-right: 10px;
}

#infoBulle-reineMarquee > ul > li:nth-child(1) > div {
  background-color: #0000ff;
}

#infoBulle-reineMarquee > ul > li:nth-child(2) > div {
  background-color: #009f50;
}

#infoBulle-reineMarquee > ul > li:nth-child(3) > div {
  background-color: #ff2222;
}

#infoBulle-reineMarquee > ul > li:nth-child(4) > div {
  background-color: #eac911;
}

#infoBulle-reineMarquee > ul > li:nth-child(5) > div {
  background-color: #fff;
}

/*couleurs reines marquée - END*/

main#parrainVisite > section:nth-of-type(1) > article > ul:nth-of-type(1) > li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

main#parrainVisite > section:nth-of-type(2) {
  background-color: #eee;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

main#parrainVisite > section:nth-of-type(2) > h2 {
  text-align: center;
  font-size: 3rem;
  margin-top: 0;
  width: 100%;
}

main#parrainVisite > section:nth-of-type(2) > a {
  display: block;
  width: 47%;
  margin: 5px 8px;
}

main#parrainVisite > section:nth-of-type(2) > a > img, main#parrainVisite > section:nth-of-type(2) > a > video {
  width: 100%;
  object-fit: cover;
  margin-left: 0;
}

main#parrainVisite article#parrainInfoCadres > ul > li {
  flex-direction: column;
  align-items: baseline;
}

main#parrainVisite article#parrainInfoCadres > ul > li > div {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

main#parrainVisite article#parrainInfoCadres > ul > li > span > ul > li {
  font-weight: normal;
}

main#parrainVisite article#parrainInfoCadres > ul > li > span::after {
  content: "";
}

main#parrainVisite article#parrainInfoRuche > ul > li > span:nth-of-type(2), main#parrainVisite article#parrainInfoApports > ul > li > span:nth-of-type(2) {
  display: flex;
  flex-direction: row;
}

main#parrainVisite article#parrainInfoRuche > ul > li > span:nth-of-type(2) > div.tooltip, main#parrainVisite article#parrainInfoApports > ul > li > span:nth-of-type(2) > div.tooltip {
  margin-left: 10px;
}

/*-------------------------------------------------PARRAIN.PHOTOS-VIDEOS------------------------------------------------------*/

main#photos-videos > h1 {
  margin-top: 20px;
}

main#photos-videos div.js-filter {
  background-color: #f1f1f1;
}

main#photos-videos div.filter-mobile {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  background-color: #e5e5e5;
  border-bottom: 1px solid #ddd;
  padding: 10px 10px;
}

main#photos-videos div.filter-mobile > img {
  width: 20px;
}

main#photos-videos div.filter-mobile > span {
  color: #80a09f;
  margin: 0 8px;
}

main#photos-videos div.filter-mobile > div {
  background-image: url(../images/icons/004-1-green.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 15px;
  height: 15px;
}

main#photos-videos div.filter-mobile > div.closeFilter {
  background-image: url(../images/icons/004-2-green.png) !important;
}

main#photos-videos div.js-filter-form,
main#photos-videos div.js-filter-sorting {
  padding: 10px 20px;
  background-color: #e5e5e5;
  border-bottom: 1px solid #ddd;
}

main#photos-videos div.js-filter-form {
  display: flex;
  flex-direction: row;
  align-items: center;
}

main#photos-videos div.js-filter-form select {
  margin: 0;
}

main#photos-videos div.js-filter-sorting {
  display: flex;
  flex-direction: row;
}

main#photos-videos div.js-filter-sorting > span:nth-of-type(1) {
  margin-right: 10px;
}

main#photos-videos div.js-filter-sorting .btn-sorting {
  display: block;
  width: 100px;
  height: 20px;
}

main#photos-videos .filter-div {
  height: 0;
  opacity: 0;
  transition: 0.3s all ease-out;
}

.filter-active {
  height: 20px !important;
  opacity: 1 !important;
}

main#photos-videos div.js-filter-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px;
}

main#photos-videos div.js-filter-content > a {
  display: block;
  width: 47%;
}

main#photos-videos div.js-filter-content > a > figure {
  width: 100%;
  margin: 0;
  margin-bottom: 20px;
}

main#photos-videos div.js-filter-content > a > figure > img, main#photos-videos div.js-filter-content > a > figure > video {
  object-fit: cover;
  width: 100%;
}

main#photos-videos div.js-filter-content > a > figure > figcaption {
  text-align: center;
  margin-top: -10px;
  font-weight: bold;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

main#photos-videos
  div.js-filter-content
  > a
  > figure
  > figcaption
  > span:nth-of-type(2) {
  font-weight: normal;
}

/*-------------------------------------------------PARRAIN.QUESTIONS REMARQUES------------------------------------------------------*/

main#parrainRemarques > h1 {
  padding: 20px 50px;
  margin-bottom: 0;
}

main#parrainRemarques > section#messages {
  position: absolute;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  transition: 0.2s all ease-in;
}

main#parrainRemarques > section#messages.disappear {
  left: -100vw;
}

div.messagesGroup > div.message {
  padding: 10px 15px;
  border-radius: 20px;
}

div.messagesGroup > div.messagePrincipal > h3 {
  margin-top: -4px;
  font-size: 1.6rem;
  margin-bottom: 5px;
}

div.messagesGroup > div.messagePrincipal small,
div.reponse small {
  color: #000;
}

div.messagesGroup .ROLE_USER {
  background-color: #f6da92 !important;
}
div.messagesGroup > .ROLE_ADMIN, div.messagesGroup > .ROLE_APICULTEUR, div.messagesGroup > .ROLE_APICULTEUR_PARTICULIER {
  background-color: #eee;
}

div.messagesGroup > div.reponse {
  margin-left: 40px;
  position: relative;
}

div.messagesGroup > div.reponse > img {
  width: 20px;
  position: absolute;
  left: -25px;
}

div.messagesGroup > form.formReponse {
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

div.messagesGroup > form.formReponse > label {
  position: absolute !important;
  left: -9999px;
}

div.messagesGroup > form.formReponse > textarea {
  margin: 0;
  margin-bottom: 5px;
  border-radius: 10px;
}

div.messagesGroup > form.formReponse > textarea::placeholder {
  font-family: "Corbel";
}

div.messagesGroup > form.formReponse > button {
  box-shadow: none;
  border-radius: 7px;
}

main#parrainRemarques section#newMessage {
  position: absolute;
  left: -120vw;
  background-color: #fff;
  width: 100%;
  box-sizing: border-box;
  transition: 0.2s all ease-in;
}

main#parrainRemarques section#newMessage > h2 {
  text-align: center;
}

main#parrainRemarques section#newMessage > form {
  display: flex;
  flex-direction: column;
  width: 65%;
  margin: 0 auto;
}

main#parrainRemarques section#newMessage > form label {
  position: initial;
}

main#parrainRemarques section#newMessage > form button {
  max-width: 100px;
  align-self: center;
  margin-top: 10px;
}

main#parrainRemarques section#newMessage > form div.formGroup:nth-of-type(1),
main#parrainRemarques section#newMessage > form div.formGroup > div {
  display: flex;
  flex-direction: column;
}

main#parrainRemarques section#newMessage > form div.formGroup select,
main#parrainRemarques section#newMessage > form div.formGroup input,
main#parrainRemarques section#newMessage > form div.formGroup textarea {
  margin: 0;
  margin-bottom: 10px;
  border-radius: 8px;
}

main#parrainRemarques section#newMessage.visible {
  left: 0;
}

/*-------------------------------------------------PROFIL------------------------------------------------------*/

main#profil > section#mesInfos > form {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

main#profil > section#mesInfos > form label {
  position: initial;
  text-transform: capitalize;
}

main#profil > section#mesInfos > form > div,
main#profil > section#mesInfos > form > div > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

main#profil > section#mesInfos > form > div > input,
main#profil > section#mesInfos > form > div > div > input {
  margin-left: 0;
  margin-top: 0;
}

main#profil > section#mesInfos > form div.checkboxProfil {
  margin: 20px 0;
}

main#profil > section#mesInfos > form div.checkboxProfil > div {
  display: flex;
  flex-direction: row-reverse;
  align-items: baseline;
  margin: 5px 0;
}

main#profil > section#mesInfos > form > a,
main#profil > section#mesInfos > form > button {
  margin: 10px auto;
  font-size: 1.6rem;
}

main#profil > ul#onglets > li.bottomButton {
  background-color: #fff;
  color: #80a09f;
  font-size: 1.8rem;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.5);
}

main#profil span.welcome {
  display: none;
}

main#profil #mesInfos > img {
  width: 40%;
  display: block;
  margin: 0 auto;
}

main#profil div#photo_profil label {
  font-weight: bold;
  margin-bottom: 20px;
}

/*-------------------------------------------------PROFIL > changer de mot de passe------------------------------------------------------*/

main#newMDP {
  width: 85%;
  margin: 60px auto;
}

main#newMDP > form {
  display: flex;
  flex-direction: column;
}

main#newMDP > form > div {
  display: flex;
  flex-direction: column;
}

main#newMDP > form > div > label {
  position: initial;
}

main#newMDP > form > div > input {
  margin-bottom: 10px;
  margin-left: 0;
}

main#newMDP > form > button {
  align-self: center;
  max-width: 120px;
  margin-top: 15px;
}

/*-------------------------------------------------SECURITY / CONNEXION------------------------------------------------------*/

main#login {
  width: 90%;
  margin: 60px auto;
}

main#login > form {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

main#login > form > div {
  display: flex;
  flex-direction: column;
}

main#login > form > div > label {
  position: initial;
}

main#login > form > div > input {
  margin: 0;
  margin-bottom: 15px;
}

main#login button {
  align-self: center;
  max-width: 160px;
  margin-top: 30px;
}

/*-------------------------------------------------SECURITY / ASK NEW PASWOORD------------------------------------------------------*/

main#askNewPassword {
  width: 80%;
  margin: 50px auto;
}

main#askNewPassword label {
  position: inherit;
}

main#askNewPassword form > div#ask_reset_password > div {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

main#askNewPassword form > div#ask_reset_password > div input {
  margin-left: 0;
  width: 80%;
  min-width: 230px;
  max-width: 450px;
}

main#askNewPassword > a {
  font-weight: bold;
  text-decoration: underline;
}

main#regenMDP {
  width: 90%;
  margin: 45px auto;
}

/*-------------------------------------------------------VISITE / liste visites------------------------------------------------------------*/

main#visitesList > section {
  padding: 20px;
}

main#visitesList > section:nth-of-type(2) {
  padding: 0;
}

main#visitesList > section:nth-of-type(2) > h2 {
  padding-left: 20px;
}

main#visitesList table {
  width: 100%;
}

main#visitesList table tr {
  height: 50px;
}

main#visitesList table > thead > tr {
  background-color: #ccc !important;
}

main#visitesList table tr:nth-of-type(odd) {
  background-color: #fff;
}

main#visitesList table tr:nth-of-type(even) {
  background-color: #eee;
}

main#visitesList table th,
main#visitesList table td {
  text-align: left;
  padding-left: 20px;
}

main#visitesList table td > form > button {
  border: none;
}

main#visitesList table td > form > button,
main#visitesList table td > a {
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
}

main#visitesList table td > form > button:hover,
main#visitesList table td > a:hover {
  cursor: pointer;
}

main#visitesList table td > a > img,
main#visitesList table td > form > button > img {
  width: 25px;
  height: 25px;
  object-fit: cover;
}

main#visitesList table td > a > img {
  margin: 0;
}

/*-------------------------------------------------------VISITE / visite------------------------------------------------------------*/

main#visite {
  margin-top: 100px;
}

/* ----- header visite ----- */

main#visite .headerVisite > p {
  max-width: 90%;
  margin: 20px auto;
  text-align: center;
  font-style: italic;
  font-size: 1.5rem;
}

main#visite > div.headerVisite {
  margin-top: 50px;
}

main#visite > div.headerVisite > h1 {
  margin-bottom: 0;
}

/* ----- */
/* ----- nav mobile ----- */

main#visite nav#onglets-mobile {
  background-color: #eee;
  width: 100%;
  font-weight: bold;
  position: fixed;
  top: -277px;
  transition: 0.3s all ease-in;
  z-index: 3;
}

main#visite > nav#onglets-mobile.visible {
  top: 90px !important;
}

main#visite #title-ongletActif {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    background-color: #edb524;
    padding: 10px 20px;
    margin-top: 45px;
    margin-bottom: -15px;
    height: 25px;
    z-index: 5;
    position: fixed;
    width: 100%;
    top: 0;
}

main#visite #title-ongletActif > span {
  font-weight: bold;
}

main#visite > nav#onglets-mobile > ul > li {
  padding: 5px 20px;
}

main#visite #title-ongletActif > div {
    background-image: url(../images/icons/005-1.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 60px;
}

main#visite #title-ongletActif > div.active {
  background-image: url(../images/icons/005-2.png);
  background-repeat: no-repeat;
  background-size: contain;
}

/* ----- */

main#visite #results {
  padding: 0;
  position: relative;
}

main#visite #results h2 {
  font-size: 3.2rem;
  margin-bottom: 0;
  text-align: center;
  text-decoration: underline;
}

main#visite #results h3 {
  font-family: "Oswald";
  font-size: 2.6rem;
  margin-top: 0;
  font-weight: normal;
  width: 100%;
}

/*-----anté-----*/

main#visite #results > article#resultAnte > div:nth-of-type(even) {
  background-color: #eee;
}

main#visite #results > article#resultAnte > h2,
main#visite #results > article#resultAnte > div {
  padding: 20px;
}

main#visite #results > article#resultAnte > div > ul > li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 10px;
}

main#visite
  #results
  > article#resultAnte
  > div:nth-of-type(2)
  > ul
  > li {
  flex-direction: column;
  align-items: baseline;
}

main#visite #results > article#resultAnte > div > ul > li > h4 {
  margin: 0;
}

main#visite #results > article#resultAnte > div:nth-last-of-type(2) {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

main#visite #results > article#resultAnte > div:nth-last-of-type(2) > a {
  margin: 10px;
}

main#visite
  #results
  > article#resultAnte
  > div:nth-last-of-type(2)
  > h3 {
  width: 100%;
}

main#visite #results > article#resultAnte > div > a {
  display: block;
  width: 47%;
}

main#visite
  #results
  > article#resultAnte
  > div:nth-last-of-type(2)
  .imgCarree {
  width: 100%;
  object-fit: cover;
  margin-left: 0;
}

main#visite
  #results
  > article#resultAnte
  > div:nth-last-of-type(1)
  > article {
  margin: 25px auto;
}

main#visite
  #results
  > article#resultAnte
  > div:nth-last-of-type(1)
  > article
  > h4 {
  margin: 2px 0 10px;
}

main#visite article#resultAnte > article.alertesAuto {
  padding: 0 10px 5px;
  margin: 10px auto;
  border: 2px solid #80a09f;
  border-radius: 10px;
  background-color: #e6ecec;
  width: 80%;
  font-weight: bold;
}

main#visite article#resultAnte > article.alertesAuto > span {
  color: #80a09f;
  cursor: pointer;
  padding: 5px;
}

/* ----- visite encodeur ----- */

main#visite #results > article > form > div > div.visitesEncodeur {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 40px;
  margin-bottom: -20px;
}

main#visite #results > article > form > div > div.visitesEncodeur > div {
  width: 100%;
}

main#visite .visitesEncodeur label {
  font-weight: normal;
  font-size: 1.8rem;
}

main#visite .visitesEncodeur select {
  margin-left: 20px;
  width: 80%;
  min-width: 245px;
}

main#visite .visitesEncodeur .info {
  color: #80a09f;
}

/*-----abeilles-----*/

#v_abeilles_reineChamp2, #v_abeilles_reineCouleur, #v_abeilles_numeroReine {
  visibility: hidden;
  margin: 0;
}

#v_abeilles_numeroReine {
  margin-left: 0 !important;
}

#v_abeilles_reineChamp2.visible, #v_abeilles_reineCouleur.visible, #v_abeilles_numeroReine.visible {
  visibility: visible !important;
  margin: 10px;
}

#resultAbeilles > form > div:nth-child(1) > div:nth-child(4) > label.visible {
  display: unset;
}

/*-----form-----*/

main#visite #results label {
  position: initial;
  font-weight: bold;
}

main#visite #results > article > form {
  width: 90%;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main#visite #results > article > form > div {
  width: 100%;
}

main#visite #results > article > form > div > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

main#visite
  #results
  > article
  > form
  > div
  > div:not(.visitesEncodeur)
  > *:not(label):not(input[type="radio"]) {
  width: 60%;
}

main#visite #results > article#resultRuche > form > div.radioRuches {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

main#visite
  #results
  > article#resultRuche
  > form
  > div.radioRuches
  > label {
  display: none;
}

main#visite #results > article#resultAbeilles > form > div,
main#visite
  #results
  > article#resultAbeilles
  > form
  > div:nth-of-type(1)
  > div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

main#visite
  #results
  > article#resultAbeilles
  > form
  > div
  > div
  + div
  > label {
  visibility: hidden;
}

main#visite #results > article#resultAbeilles > form > div > select {
  width: 60%;
}

main#visite
  #results
  > article#resultAbeilles
  > form
  > div:nth-of-type(1) {
  flex-direction: column;
  align-items: flex-start;
}

#resultAbeilles > form ul {
  position: absolute;
  top: -50px;
  left: 10px;
}

#visite > div.headerVisite > div {
  margin-top: 20px;
  margin-left: 20px;
}

#visite #resultCadres > form label, #visite #resultApports > form label {
  width: 50%;
}

#resultPhotos > section:nth-child(2) > div > form label {
  margin-right: 10px;
}

#photos_imageFile::-webkit-file-upload-button {
  background-color: #edb524;
  border-radius: 5px;
  border: none;
  padding: 5px;
  cursor: pointer;
}

#resultPhotos > section:nth-child(2) > div > form button {
  margin-top: 15px;
}

main#visite #results > article#resultRemarques > section > div:nth-of-type(1) > form > div > div > textarea, main#visite #results > article#resultRemarques > section > div:nth-of-type(1) > form > div > div > input[type="text"] {
  width: 100% !important;
}

/*-----photos-videos-questions-remarques-----*/

main#visite #results > article#resultPhotos,
main#visite #results > article#resultRemarques {
  padding: 20px;
}

main#visite #results > article#resultPhotos > section {
  margin-top: 20px;
}

main#visite #results > article#resultPhotos > section > form {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}

main#visite #results > article#resultPhotos > section > form > button {
  margin-top: 20px;
}

main#visite #results > article#resultPhotos > section:nth-of-type(2) {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

main#visite
  #results
  > article#resultPhotos
  > section:nth-of-type(2)
  > a {
  width: 40%;
  margin: 10px;
}

main#visite
  #results
  > article#resultPhotos
  > section:nth-of-type(2)
  > a
  > img, main#visite
  #results
  > article#resultPhotos
  > section:nth-of-type(2)
  > a
  > video {
  margin: 0;
  width: 100%;
  object-fit: cover;
}

main#visite #results > article#resultRemarques {
  padding: 0;
}

main#visite #results > article#resultRemarques > section > div {
  padding: 20px;
}

main#visite #results > article#resultRemarques > section > div > h3 {
  text-align: center;
}

main#visite
  #results
  > article#resultRemarques
  > section
  > div:nth-of-type(1) {
  background-color: #eee;
  margin-top: 50px;
}

main#visite
  #results
  > article#resultRemarques
  > section
  > div:nth-of-type(1)
  > form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

main#visite
  #results
  > article#resultRemarques
  > section
  > div:nth-of-type(1)
  > form
  > div
  > div {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

main#visite
  #results
  > article#resultRemarques
  > section
  > div:nth-of-type(1)
  > form
  > div
  > div
  > label {
  width: 27%;
  margin-right: 10px;
  text-align: center;
}

main#visite
  #results
  > article#resultRemarques
  > section
  > div:nth-of-type(1)
  > form
  > div
  > div
  > *:not(label) {
  width: 70%;
}

#reponse_remarque_message, #note_interne_message, #remarques_message {
  min-height: 100px;
}

#remarques, #note_interne {
  width: 100%;
}

main#visite
  #results
  > article#resultRemarques
  > section:nth-of-type(2)
  > div:nth-of-type(2)
  > article {
  margin-bottom: 50px;
}

main#visite
  #results
  > article#resultRemarques
  > section:nth-of-type(2)
  > div:nth-of-type(2)
  > article
  > h4 {
  margin: 5px 0 15px;
}

main#visite
  #results
  > article#resultRemarques
  > section:nth-of-type(2)
  > div:nth-of-type(2)
  > article
  > form
  > button {
  margin-top: 20px;
}

div.messagesGroup > div.messagePrincipal > h4 {
  margin-top: -4px;
  font-size: 1.6rem;
  margin-bottom: 5px;
}

main#visite #resultRemarques > section:nth-of-type(1) > div:nth-of-type(1) > form > div {
  display: flex;
  flex-direction: column;
  width: 95%;
  justify-content: center;
  align-items: center;
}

main#visite #resultRemarques > section:nth-of-type(1) > div:nth-of-type(1) > form > div > label {
  text-align: center;
}

main#visite #resultRemarques > section:nth-of-type(1) > div:nth-of-type(1) > form > div > select, main#visite #resultRemarques > section:nth-of-type(1) > div:nth-of-type(1) > form > div > input[type="text"], main#visite #resultRemarques > section:nth-of-type(1) > div:nth-of-type(1) > form > div > textarea {
  width: 100%;
}

main#visite #resultRemarques .visitesEncodeur > div {
  flex-direction: row !important;
}

main#visite #resultRemarques .visitesEncodeur > div > input.manyVisites {
  width: initial !important;
}

main#visite #resultRemarques .visitesEncodeur > div > label {
  width: 100% !important;
  text-align: left !important;
  margin-left: 15px;
}

main#visite #resultRemarques .visitesEncodeur > select {
  margin-left: inherit;
  width: 100%;
}

/*-------------------------------------------------ADMIN.UTILISATEURS - liste------------------------------------------------------*/

main#userList > div.tabMobile > div img.icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

div.tabMobile > div > div:last-of-type > a > img.icon, div.tabMobile > div > div:last-of-type > form > button > img.icon {
    margin-right: 0 !important;
}

.icon {
  width: 25px;
  height: 25px;
  object-fit: cover;
}

button.iconContainer {
  border: none;
}

a.iconContainer > img {
  margin: 0;
  width: 22px;
  height: 22px;
}

button.iconContainer,
a.iconContainer {
  background-color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 30%);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 30%);
}

div.tabMobile > div > div {
  padding: 5px 20px;
}

div.tabMobile > div:nth-of-type(even) {
  background-color: #eee;
}

#userList > div.tabMobile > div > div:nth-of-type(4) {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

div.tabMobile > div > div:nth-of-type(1) {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  padding: 10px 20px;
}

div.tabMobile > div > div:nth-of-type(1) > span:nth-of-type(2) {
  position: absolute;
  right: 50px;
  z-index: 1;
}

main#userList div.tabMobile > div > div:nth-of-type(1) > div:nth-of-type(1) {
  background-image: url(../images/icons/005-1.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 15px;
  height: 15px;
}

div.tabMobile > div > div:nth-of-type(1) > div:nth-of-type(1).inverse {
  background-image: url(../images/icons/005-2.png);
}

div.tabMobile > div > div:last-of-type {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

div.tabMobile > div > div:last-of-type > * {
  margin: 15px 10px;
}

main#userList > a.bottomButton > img {
  display: none;
}

/*-------------------------------------------------ADMIN.UTILISATEURS - userEditor------------------------------------------------------*/

main#userEditor > h1 {
  margin-top: 20px;
}

main#userEditor > form {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

main#userEditor > form label {
  position: initial;
  text-transform: capitalize;
}

main#userEditor > form input,
main#userEditor > form select {
  margin: 5px 0 10px;
}

main#userEditor > form > div:not(.formGroup),
main#userEditor > form > div.formGroup > div {
  display: flex;
  flex-direction: column;
}

main#userEditor > form > div.formGroup:nth-of-type(5) {
  flex-direction: row;
}

main#userEditor > form > div.formGroup:nth-of-type(5) > div {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

main#userEditor > form > div.formGroup:nth-of-type(5) > div > input {
  margin-right: 10px;
}

main#userEditor > form button {
  margin: 20px auto;
  width: 50%;
  min-width: 150px;
  max-width: 250px;
}

#userEditor > form > div:nth-child(6) > label, #userEditor > form > div:nth-child(7) > label {
  margin-top: 10px;
  margin-bottom: 5px;
  text-transform: none;
}

#user_zone > label, #user_ruchersApi > label {
  margin-left: 5px;
  margin-right: 15px;
}

/*-------------------------------------------------ADMIN.CHEPTEL------------------------------------------------------*/

main#listeRuche > h1 {
  margin-top: 20px;
}

main#listeRuche > div.flashMessage {
    margin-bottom: 20px;
}

main#listeRuche > div.tabMobile {
  margin-bottom: 40px;
}

main#listeRuche > div.tabMobile > div.rucheGroup {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}

main#listeRuche > div.tabMobile > div.rucheGroup > div:nth-of-type(1) {
  align-items: baseline;
  flex-direction: column;
  width: 90%;
}

main#listeRuche > div.tabMobile > div.rucheGroup > div:nth-of-type(1) span {
  font-weight: normal;
}

main#listeRuche > div.tabMobile > div.rucheGroup > div:nth-of-type(1) > div#lastVisite > ul > li:not(:last-of-type) {
  margin-bottom: 15px;
}

main#listeRuche > div.tabMobile > div.rucheGroup > div:nth-of-type(1) > div#lastVisite > ul > li > a {
  text-decoration: underline;
}

main#listeRuche
  > div.tabMobile
  > div.rucheGroup
  > div:nth-of-type(1)
  > div:nth-of-type(1) {
  color: #80a09f;
  font-size: 2rem;
  font-weight: normal;
}

main#listeRuche
  > div.tabMobile
  > div.rucheGroup
  > div:nth-of-type(1)
  > div:nth-of-type(2),
main#listeRuche
  > div.tabMobile
  > div.rucheGroup
  > div:nth-of-type(1)
  > div:nth-of-type(3) {
  display: flex;
  flex-direction: row;
}

main#listeRuche
  > div.tabMobile
  > div.rucheGroup
  > div:nth-of-type(1)
  > div:nth-of-type(2)
  > div,
main#listeRuche
  > div.tabMobile
  > div.rucheGroup
  > div:nth-of-type(1)
  > div:nth-of-type(3)
  > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-left: 20px;
}

main#cheplisteRuchetel > div.tabMobile > div.rucheGroup > div:nth-of-type(2) {
  flex-direction: column;
}

main#listeRuche > div.tabMobile > div.rucheGroup > div:nth-of-type(2) > * {
  margin: 5px;
}

main#listeRuche div.lastVisite {
  display: flex;
  flex-direction: row;
  align-items: baseline;
}

main#listeRuche div.lastVisite > ul {
  margin-left: 20px;
}

main#listeRuche > div.tabMobile > div.RucheVisitesSelectMobile {
  position: fixed;
  background-color: #edb524;
  top: 45px;
  width: 100%;
}

main#listeRuche > div.tabMobile > div.RucheVisitesSelectMobile > select {
  margin: 0;
  width: 100%;
  padding: 10px;
  border-width: 2px;
}

main#listeRuche > div:nth-of-type(1) > a:nth-of-type(2) {
    width: 70%;
    max-width: 300px;
    margin: 0 auto 20px;
}

main#listeRuche .notifAlertes {
  background-color: #e6ecec;
  border: 2px solid #80a09f;
  border-radius: 10px;
  padding: 5px;
  margin: 10px auto;
  font-weight: normal;
  font-size: 1.5rem;
}

/*-------------------------------------------------ADMIN.CHEPTEL/cheptelEditor------------------------------------------------------*/

main#cheptelEditor label {
  position: initial;
}

main#cheptelEditor form {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

main#cheptelEditor form input,
main#cheptelEditor form select {
  margin: 5px 0 10px;
}

main#cheptelEditor form > button {
  width: 50%;
  min-width: 140px;
  max-width: 180px;
  margin: 0 auto;
}

#cheptelEditor > form > div:nth-of-type(1), #cheptelEditor > form > div:nth-of-type(2) {
  display: flex;
  flex-direction: column;
}

#cheptelEditor > form select {
  width: 100%;
}

#cheptelEditor > form > div:nth-of-type(3) {
  display: flex;
  flex-direction: row;
}

/*-------------------------------------------------------ADMIN  / Rucher------------------------------------------------------------*/
/*-----------------------------------ADMIN.rucher--------------------------------------*/
main#rucher > section:nth-child(3) > p:nth-child(4),
main#rucher > section:nth-child(3) > p:nth-child(8) {
  margin-top: 50px;
}

main#rucher h1 {
  margin-top: 50px;
}

/*-----------------------------------ADMIN.ruchers--------------------------------------*/

button.iconContainer,
a.iconContainer {
  cursor: pointer;
}

main#listeRuchers table {
  width: 100%;
}

main#listeRuchers .theadMobile {
  background-color: #80a09f;
}

main#listeRuchers tbody > tr:nth-child(2n) {
  background-color: #f2f3f4;
}

main#listeRuchers .hidden-tabScreen thead > th:nth-child(1) {
  width: auto;
}
main#listeRuchers .hidden-tabScreen thead > th:nth-child(2) {
  width: auto;
}
main#listeRuchers .hidden-tabScreen thead > th:nth-child(3) {
  width: 15%;
}

main#listeRuchers tr {
  width: 100%;
}
main#listeRuchers td {
  padding: 3px;
}

main#listeRuchers
  .hidden-tabScreen
  > table:nth-child(1)
  td:nth-child(3)
  > div:nth-child(1)
  > div:nth-child(1) {
  margin-bottom: 15px;
}

main#listeRuchers
  .hidden-tabScreen
  > table:nth-child(1)
  td:nth-child(3)
  > div:nth-child(1)
  > div {
  margin-right: 5px;
}

main#listeRuchers .show-tabScreen table {
  box-shadow: -0.1em 0 0.4em #ccc, -0.1em 0 0.4em #ccc;
  margin-top: 25px;
  text-align: left;
}

main#listeRuchers .show-tabScreen table > thead > tr > th {
  background-color: #f6da92;
  padding: 10px;
}

/*-----------------------------------ADMIN.rucherEditor--------------------------------------*/

main#rucherEditor label {
  position: unset;
}

main#rucherEditor form {
  box-shadow: -0.1em 0 0.4em #ccc, -0.1em 0 0.4em #ccc;
  background-color: #eee;
  text-align: center;
  padding: 30px;
}

main#rucherEditor form > div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

main#rucherEditor form > div > div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

#rucherEditor > form:nth-child(1) > div > div:nth-child(3) {
  flex-direction: row-reverse;
}

main#rucherEditor select#rucher_zone {
  width: 150px;
}

main#rucherEditor > form input#rucher_name,
main#rucherEditor > form #rucher_adresse {
  width: 600px;
}

main#rucherEditor form >div >div > div :nth-child(3){
  display: none;
}

main#rucherEditor form >div >div >div{
  display: flex;
}

main#rucherEditor div#formRucheLotInRucherEditor {
  border-radius: 10px;
  border: 1px solid #edb524;
}

main#rucherEditor button#closeFormRucheLot {
  width: 40px;
  border: none;
}

main#rucherEditor button#addRuchesLot {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 15px auto;
}

main#rucherEditor button#addRuchesLot > img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

main#rucherEditor > form > button#LotValidation {
  margin-top: 30px;
}

main#rucherEditor > form > div:nth-of-type(2) > label, main#rucherEditor > form > div:nth-of-type(3) > label {
  width: 15%;
  text-align: right;
}

#rucherEditor > form > div:nth-child(1) > a {
  padding: 0 25px;
}

/*-------------------- FIN ADMIN.RUCHER ---------------------*/

/*-------------------- ADMIN.ZONE ------------------------*/

main#zoneList > div.hidden-tabScreen {
    overflow-x: overlay;
}

main#zoneList .hidden-tabScreen table thead tr th {
  background-color: #80a09f;
}

main#zoneList .show-tabScreen table thead tr th {
  background-color: #edb524;
  padding: 10px;
}

main#zoneList .colorZone {
  width: 25px;
  height: 25px;
}

main#zoneList table {
  width: 100%;
}

main#zoneList tbody > tr:nth-child(2n) {
  background-color: #f2f3f4;
}

main#zoneList .hidden-tabScreen thead > th:nth-child(1) {
  width: auto;
}
main#zoneList .hidden-tabScreen thead > th:nth-child(2) {
  width: auto;
}
main#zoneList .hidden-tabScreen thead > th:nth-child(3) {
  width: 15%;
}

main#zoneList tr {
  width: 100%;
}
main#zoneList td {
  padding: 3px;
}

main#zoneList
  .hidden-tabScreen
  > table:nth-child(1)
  td:nth-child(3)
  > div:nth-child(1)
  > div:nth-child(1) {
  margin-bottom: 15px;
}

main#zoneList
  .hidden-tabScreen
  > table:nth-child(1)
  td:nth-child(3)
  > div:nth-child(1)
  > div {
  margin-right: 5px;
}

main#zoneList table {
  box-shadow: -0.1em 0 0.4em #ccc, -0.1em 0 0.4em #ccc;
  margin-top: 25px;
  text-align: left;
}

main#zoneList table > thead > tr > th {
  background-color: #edb524;
  padding: 10px;
}

main#zoneList a.buttonStyle {
  padding: 10px 0;
}

main#zoneList > table:nth-child(4) > tbody:nth-child(2) > tr > td:nth-child(1) {
  padding-left: 15px;
}

main#zoneList a.buttonStyle,
main#listeRuchers a.buttonStyle {
  padding: 10px 15px;
}

main#zoneEditor {
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

main#zoneEditor input, main#zoneEditor select {
    margin: 5px 0 10px;
}

main#zoneEditor > div:not(#demo) {
    padding: 20px;
}

main#zoneEditor > div:nth-of-type(1) > form {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}

main#zoneEditor > div:nth-of-type(1) > form > div:nth-of-type(1) {
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

main#zoneEditor > div:nth-of-type(1) > form > button {
    width: 50%;
    min-width: 130px;
    max-width: 220px;
    margin: 20px 0;
}

main#zoneEditor label {
  position: unset;
}

main#zoneEditor > div:nth-of-type(1) > div > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}

main#zoneEditor > div:nth-of-type(1) > div > div > label {
    width: 100%;
}

main#zoneEditor > div:nth-of-type(1) > div > div > input, main#zoneEditor > div:nth-of-type(1) > div > div > select {
    width: 100%;
    box-sizing: border-box;
}

main#zoneEditor > div:nth-of-type(1) > div > div > button {
    height: 30px;
    margin-bottom: 30px;
}

main#zoneEditor #resultat {
  background-color: #eee;
}

main#zoneEditor #resultat > div:nth-of-type(1) > p:nth-of-type(1) {
    font-family: "Oswald";
    font-size: 2rem;
}

#listeRuchers > li {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#listeRuchers > li > button, #listeCommunes > li > button {
  border: none;
  height: 12px;
  margin-left: 5px;
  cursor: pointer;
}

#listeRuchers > li > button > img, #listeCommunes > li > button > img {
  width: 12px;
  min-width: 12px;
  height: 12px;
  object-fit: cover;
}

main#zoneEditor form > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

main#zoneEditor .invisique {
  visibility: hidden;
}

main#zoneEditor #resultat > div:nth-child(2) {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

main#zoneEditor #resultat > div:nth-child(2) > div {
    margin: 10px 20px;
}

main#zoneEditor #resultat > div:nth-child(2) > div > p, main#zoneEditor #resultat > div:nth-child(2) > div > div > p {
    font-weight: bold;
    text-decoration: underline;
}

main#zoneList div.hidden-tabScreen table tbody tr td form button.iconContainer {
  margin-top: 15px;
  margin-bottom: 5px;
}

#infoCommune, #infoRucher {
    color: #80a09f;
}

/*-------------------------------------------------------SECURITY------------------------------------------------------------*/

main#regenMDP {
  height: 70vh;
}

main#regenMDP label {
  display: block;
  position: inherit !important;
}

main#regenMDP input {
  margin-left: 0;
}

/*-------------------------------------------------------MENTIONS LEGALES------------------------------------------------------------*/

main#mentionsLegales {
  width: 90%;
  margin: 45px auto;
}

/*-------------------------------------------------------ERROR PAGE------------------------------------------------------------*/

main#errorPage a {
  font-weight: bold;
  color: #80a09f;
}

main#errorPage a:hover {
  text-decoration: underline;
}

/*-------------------------------------------------CONNEXION PARRAIN------------------------------------------------------*/

main#connexionParrain input {
  margin-left: 0;
}

/*************************************************************************************************************************
*********************************************************FOOTER
*************************************************************************************************************************/

/*************************************************************************************************************************
*********************************************************MEDIA QUERIES
*************************************************************************************************************************/

@media screen and (max-width: 1024px) {
  /*-----infos bulles-----*/
  main#parrainVisite div.tooltip:hover > div {
    right: 0;
    top: 0;
    height: auto;
    box-sizing: border-box;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  main#parrainVisite img.crossCloseInfoBulle {
    width: 50px;
    height: 50px;
  }

  .tooltipSelect {
    display: none;
  }


}

/*----------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 420px) {

  div#cookiesMessage {
    position: absolute;
    top: 45px;
    height: auto !important;
  }

  div#cookiesMessage > div {
    flex-direction: column;
  }

  /*----------------------------VISITE / liste visites---------------------------------*/
  main#visitesList table th,
  main#visitesList table td {
    padding: 0;
  }

  main#visitesList table td > form > button,
  main#visitesList table td > a {
    width: 25px;
    height: 25px;
  }

  main#visitesList table td > a > img,
  main#visitesList table td > form > button > img {
    width: 20px;
    height: 20px;
  }

}

/*----------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 320px) {
  /*-----------------------------------PARRAIN.RUCHE X / visite----------------------------------------*/
  main#parrainVisite > section:nth-of-type(2) {
    flex-direction: column;
  }

  main#parrainVisite > section:nth-of-type(2) > a {
    width: 100%;
  }

  /*-----------------------------------PARRAIN.PHOTOS-VIDEOS----------------------------------------*/

  main#photos-videos div.js-filter-content {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 20px;
    justify-content: center;
  }

  main#photos-videos div.js-filter-content > a {
    width: 100%;
  }
}

/*----------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 380px) {
  /*-----------------------------------PARRAIN.RUCHE X----------------------------------------*/
  main#parrainRuche > section:nth-of-type(2) > ul > li > a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

/*----------------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 576px) {
  /*-----------------------------------HOME----------------------------------------*/
  main#home article {
    padding: 40px;
  }

  /*-----------------------------------PARRAIN.RUCHE X----------------------------------------*/

  main#parrainRuche > section:nth-of-type(2) > ul > li {
    justify-content: center;
  }

  main#parrainRuche > section:nth-of-type(2) > ul > li > a:nth-of-type(2) {
    width: 60%;
    margin: 0;
  }

  /*-----------------------------------PROFIL----------------------------------------*/
  main#profil > section#mesInfos > form {
    width: 80%;
  }

  main#profil #mesInfos > img {
  width: 200px;
}

  /*----------------------PROFIL > changer de mot de passe-------------------------------*/

  main#newMDP {
    width: 70%;
  }

  /*----------------------------------CONNEXION---------------------------------------*/
  main#login > form {
    width: 60%;
    max-width: 500px;
  }

  /*------------------------------------VISITE / visite-----------------------------------------*/
  main#visite #results > article#resultAnte > div > a {
    width: 30%;
  }

  main#visite #results > article#resultAnte > h2,
  main#visite #results > article#resultAnte > div {
    padding: 20px 40px;
  }

  main#visite
    #results
    > article#resultPhotos
    > section:nth-of-type(2)
    > a {
    width: 28%;
  }

  #reponse_remarque, #note_interne {
    width: 80%;
  }

  main#visite #results > article#resultRemarques > section > div:nth-of-type(1) > form {
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
  }

  /*---------------------------------------ADMIN.UTILISATEURS - userEditor / cheptelEditor--------------------------------------------*/

  main#userEditor > form,
  main#cheptelEditor > form {
    width: 80%;
  }

  /*---------------------------------------ADMIN.ZONES - zoneEditor--------------------------------------------*/

  main#zoneEditor > div:nth-of-type(1) > form {
      width: 60%;
      margin: 0 auto 50px;
  }

  main#zoneEditor > div:nth-of-type(1) > form > div:nth-of-type(1) > input {
      width: 100%;
      box-sizing: border-box;
  }

  main#zoneEditor > div:nth-of-type(1) > form > button {
      margin: 20px auto;
  }

  main#zoneEditor > div:nth-of-type(1) > div > div > input, main#zoneEditor > div:nth-of-type(1) > div > div > select {
      width: 70%;
  }

}

/*----------------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 768px) {
  /*-----------------------------------GLOBAL----------------------------------------*/

  .materialContainer {
    -webkit-box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 10px 0px rgb(0 0 0 / 20%);
  }

  .bottomButton {
    position: initial;
    padding: 5px !important;
  }

  main {
    margin: 60px auto 40px;
    width: 95%;
  }

  main#visitesList {
    margin-top: 20px;
  }

  h1 {
    text-align: left;
  }

  nav#filArianne {
    margin-top: 30px;
  }

  a.file {
    position: relative;
  }

  button.deleteFile {
    position: absolute;
    top: 5px;
    right: 5px;
    opacity: 0.8;
  }

  /*-----------------------------------FOOTER----------------------------------------*/

  footer {
    position: absolute;
    margin-bottom: 0;
  }

  /* footer {
    background-color: red;
  } */

  /*-----------------------------------HOME----------------------------------------*/
  main#home article {
    margin: 60px;
  }

  main#home h2 {
    text-align: left;
  }

  .echanges {
    display: flex;
    flex-direction: column;
    align-items: baseline;
  }

  main#home > a.bottomButton {
    width: 20%;
    max-width: 200px;
    margin: 60px auto -35px 60px;
  }

  main#home h1 {
    margin-top: 10px;
  }

  main#home article:nth-of-type(even) {
    background: #fff;
  }

  main#home article#articleVisites > section.section-visite {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  main#home article#articleVisites > section.section-visite > h2 {
    width: 100%;
  }

  section.section-visite > span {
    margin-left: 25px;
    margin-right: 25px;
  }

  main#home article.articleAdmin, #blocMessageAdmin {
    margin: 20px 60px;
    -webkit-box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 10px 0px rgb(0 0 0 / 20%);
  }

  main#home article.articleAdmin > div.flex-column > a {
    width: 30%;
    margin: 5px;
  }

  /* ----- admin : bloc message ----- */

  main#home #blocMessageAdmin {
    /* width: initial; */
    background-color: initial;
    margin: 60px auto -40px;
    box-shadow: none;
    -webkit-box-shadow: none;
    border-top: 2px solid #bbb;
    border-bottom: 2px solid #bbb;
  }

  main#home #blocMessageAdmin > h2 {
    text-align: left;
    width: 100%;
  }

  /*-----------------------------------PARRAIN.MES RUCHES----------------------------------------*/

  main#parrainListeRuches > section > p {
    text-align: left;
    margin-top: -30px;
  }

  main#parrainListeRuches p.no-result-message {
    margin-top: 30px;
  }

  main#parrainListeRuches > section > ul {
    justify-content: flex-start;
    width: 60%;
    margin: 0 auto;
  }

  /*-----------------------------------PARRAIN.RUCHE X----------------------------------------*/

  main#parrainRuche > section:nth-of-type(2) {
    background-color: #fff;
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-box-shadow: 5px 5px 10px -2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 5px 5px 10px -2px rgba(0, 0, 0, 0.3);
    box-shadow: 5px 5px 10px -2px rgba(0, 0, 0, 0.3);
  }

  main#parrainRuche > section:nth-of-type(2) > a {
    max-width: 200px;
    margin-bottom: 20px;
  }

  /*-----------------------------------PARRAIN.RUCHE X/visite x----------------------------------------*/

  main#parrainVisite > h1 {
    margin-left: 20px;
  }

  /*-----------------------------------PARRAIN.PHOTO----------------------------------------*/

  main#photos-videos div.filter-mobile {
    border-radius: 10px 10px 0 0;
  }

  main#photos-videos div.filter-mobile:hover {
    cursor: pointer;
  }

  main#photos-videos div.js-filter-content {
    justify-content: start;
  }

  main#photos-videos div.js-filter-content > a {
    width: 30%;
    margin: 0 10px;
  }

  /*-----------------------------------PARRAIN.REMARQUES----------------------------------------*/

  main#parrainRemarques button.bottomButton {
    display: none !important;
  }

  main#parrainRemarques section#newMessage {
    position: initial;
    background-color: #fff;
    border-radius: 10px;
    width: 80%;
    margin: 30px auto;
    -webkit-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.5);
  }

  main#parrainRemarques > section#messages {
    position: initial;
  }

  .messagesGroup {
    margin: 30px auto;
  }

  div.messagesGroup > form.formReponse > button {
    align-self: flex-end;
    max-width: 170px;
  }

  /*-----------------------------------PROFIL----------------------------------------*/

  main#profil {
    width: 85%;
    margin-top: 100px;
  }

  main#profil > span.welcome {
    display: initial;
    position: absolute;
    left: 30px;
    top: 50px;
  }

  main#profil h1 {
    display: none;
  }

  main#profil > ul#onglets {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-bottom: 2px solid #ccc;
  }

  main#profil > ul#onglets > li.bottomButton {
    background: none;
    color: #aaa;
    text-transform: capitalize;
    text-align: left;
    width: 132px;
    margin-right: 20px;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
  }

  main#profil > ul#onglets > li.bottomButton:hover {
    color: #000;
  }

  main#profil > ul#onglets > li.bottomButton.active {
    border-bottom: 2px solid #edb524;
    color: #000;
  }

  main#profil > section {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  }

  main#profil > section#mesInfos {
    margin-top: 30px;
    padding: 40px 15px;
  }

  /*----------------------PROFIL > changer de mot de passe-------------------------------*/

  main#newMDP {
    margin: 100px auto;
    max-width: 800px;
  }

  /*----------------------------------SECURITY / CONNEXION---------------------------------------*/

  main#login > h1 {
    text-align: center;
  }

  /*---------------------------------SECURITY / ASK NEW PASWOORD--------------------------------------*/

  main#askNewPassword h1 {
    text-align: center;
    margin-top: 70px;
  }

  main#askNewPassword form {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 50px auto;
  }

  main#askNewPassword form > div#ask_reset_password > div input {
    max-width: initial;
    width: 100%;
  }

  #askNewPassword > form > button {
    margin-top: 15px;
    max-width: 200px;
  }

  /*-----------------------------------VISITE / visites----------------------------------------*/

  main#visitesList table {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  }

  /*-----------------------------------VISITE / visite----------------------------------------*/

  main#visite {
    width: 100%;
    margin: 100px auto 40px;
  }

  main#visite h1 {
    padding-left: 40px;
  }

  main#visite div.resultContainer {
    margin-top: 50px;
  }

  main#visite #results > article#resultAnte > h2,
  main#visite #results > article#resultAnte > div {
    padding: 20px 80px;
  }

  .visiteOngletActif {
    background-color: #edb524 !important;
  }

  main#visite
    #results
    > article#resultPhotos
    > section:nth-of-type(2)
    > a {
    width: 22%;
  }

  main#visite #results > article > form button.buttonStyle {
    max-width: 250px;
    margin-top: 50px;
    padding: 10px !important;
  }

  main#visite #resultRemarques > section:nth-of-type(1) > div:nth-of-type(1) > form > div label {
    width: 100% !important;
    text-align: left !important;
    margin-right: 0 !important;
  }

  main#visite #resultRemarques > section:nth-of-type(1) > div:nth-of-type(1) > form > div select, main#visite #resultRemarques > section:nth-of-type(1) > div:nth-of-type(1) > form > div textarea {
    margin-left: 0;
    margin-right: 0;
  }

  main#visite article#resultAnte > article.alertesAuto {
    width: 90%;
    border-radius: 20px;
  }

  main#visite div.endVisiteContainer {
    margin-left: 40px;
    margin-top: 20px;
  }

  main#visite div.endVisiteContainer > a::before {
    content: "- ";
  }

  main#visite div.endVisiteContainer > a::after {
    content: " -";
  }

  /*-----------------------------------ADMIN/UTILISATEURS/liste----------------------------------------*/

  main#userList {
    width: 100%;
  }

  main#userList > h1 {
    margin: 20px;
  }

  main#userList > a.bottomButton {
    width: 30%;
    max-width: 250px;
    margin: 30px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  main#userList > a.bottomButton > img {
    display: initial;
    margin-right: 10px;
  }

  div.tabMobile > div > div:last-of-type {
    justify-content: flex-end;
  }

  /*-------------------------------------------------ADMIN.UTILISATEURS - userEditor------------------------------------------------------*/

  main#userEditor {
    margin-top: 0;
  }

  main#userEditor > form,
  main#cheptelEditor > form {
    width: 65%;
  }

  main#userEditor > form > div.formGroup:nth-of-type(5) {
    display: flex;
    flex-direction: row;
  }

  main#userEditor > form > div.formGroup:nth-of-type(5) > div {
    width: 50%;
  }

  main#userEditor > form input,
  main#userEditor > form select {
    margin: 5px 0 15px;
  }

  /*-------------------------------------------------ADMIN.CHEPTEL------------------------------------------------------*/

  main#listeRuche {
    width: 100%;
  }

  main#listeRuche > h1,
  main#listeRuche > div > a.buttonStyle {
    margin-left: 20px;
  }

  main#listeRuche > div > a.buttonStyle {
    width: 40%;
    min-width: 200px;
    max-width: 300px;
  }

  main#listeRuche > div:nth-of-type(1) {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
  }

  main#listeRuche > div:nth-of-type(1) > a {
    width: 40% !important;
    padding: 5px 10px !important;
    margin: auto;
  }

  /*-------------------------------------------------ADMIN.CHEPTEL / cheptelEditor------------------------------------------------------*/

  main#cheptelEditor > h1 {
    margin-top: 20px;
  }

  /*-------------------------------------------------ADMIN.CHEPTEL / addLotRuches------------------------------------------------------*/

  main#addLotRuches label {
    position: inherit;
  }

  /*---------------------------------------ADMIN.ZONES - zoneEditor--------------------------------------------*/

  main#zoneEditor {
      width: 100%;
      margin-top: 30px;
  }

  main#zoneEditor > h1 {
      margin: 20px;
  }

  main#zoneEditor > div:not(#demo) {
      padding: 20px 40px;
  }

  main#zoneEditor > div:nth-of-type(1) > div > div > button {
      width: 20%;
      min-width: 110px;
      max-width: 200px;
  }

  main#zoneEditor > div:nth-of-type(1) {
      width: 80%;
      margin: 0 auto;
  }

  main#zoneEditor #resultat > div:nth-child(2) > div {
      margin: 10px 60px;
  }

  /*---------------------------------------ADMIN.RUCHERS - rucher--------------------------------------------*/

  main#rucher > h1 {
    margin-left: 20px;
  }
  
}

/*----------------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 1024px) {
  /*-----------------------------------GLOBAL----------------------------------------*/

  main {
    width: 90%;
  }

  .mobile-only {
    display: none !important;
  }

  .hidden-mobile {
    display: inherit !important;
  }

  div.tabMobile {
    display: none !important;
  }

  .hidden-tabScreen {
    display: none;
}

  .show-tabScreen {
      display: initial;
  }

  div.selectMultiple {
    flex-direction: row !important;
  }

  div.selectMultiple > select {
    width: 92%;
  }

  div.selectMultiple > div.tooltipSelect {
    margin-left: 10px;
  }

  /*bandeau maintenance*/

  #bandeauMaintenance {
    bottom: -10px;
  }

  /*-----------------------------------HEADER----------------------------------------*/

  nav.hidden-mobile {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    -webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.75);
  }

  nav.hidden-mobile > ul {
    display: flex;
    flex-direction: row;
    margin: 0;
  }

  nav.hidden-mobile > ul > li > a {
    padding: 0 10px 5px;
    transition: 0.2s all ease-in-out;
  }

  nav.hidden-mobile > ul:nth-of-type(1) > li > a {
    text-transform: uppercase;
  }

  nav.hidden-mobile > ul:nth-of-type(1) > li > a:hover {
    color: #edb524;
  }

  nav.hidden-mobile > ul:nth-of-type(1) > li > a.linkActive {
    color: #edb524;
    text-decoration: underline;
  }

  nav.hidden-mobile > ul:nth-of-type(2) > li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  nav.hidden-mobile > ul:nth-of-type(2) > li > a:hover {
    color: #80a09f;
  }

  nav.hidden-mobile > ul:nth-of-type(2) > li > a.linkActive {
    color: #80a09f;
    text-decoration: underline;
  }

  nav.hidden-mobile > ul:nth-of-type(2) > li > img {
    width: 25px;
    height: 25px;
    object-fit: cover;
  }

  /*-----------------------------------FOOTER----------------------------------------*/

  footer {
    flex-direction: row;
  }

  footer > div {
    margin: 0 30px;
  }

  a#scrollToTop {
    bottom: 20px;
  }

  /*-----------------------------------HOME----------------------------------------*/

  .materialContainerDesktop {
    -webkit-box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 2px 2px 10px 0px rgb(0 0 0 / 20%);
  }

  main#home {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    width: 100%;
  }

  main#home > h1 {
    width: 100%;
    position: absolute;
    top: 80px;
  }

  main#home > div.userHome {
    width: 100%;
  }

  main#home > div.userHome > a {
    max-width: 250px;
    margin-bottom: 30px;
  }

  main#home > div,
  main#home > article {
    width: 45%;
  }

  main#home > div,
  main#home > div > article,
  main#home > article {
    margin: 0;
    padding: 20px;
  }

  main#home #articleVisites section.section-visite {
    margin-top: 0;
  }

  main#home #articleRucher {
    margin-top: 20px;
  }

  main#home article#lastVisites > div > div {
    margin-top: 20px;
  }

  main#home > article.articleAdmin {
    width: 27%;
    margin-right: 20px !important;
  }

  main#home article.articleAdmin {
    margin: 0;
  }

  main#home .adminContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  main#home .adminContainer {
    width: 27%;
    padding: 0;
  }

  main#home .adminContainer > article {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  main#home .adminContainer > article:last-of-type {
    margin-bottom: 0;
  }

  main#home > div.home-container-api {
    width: 40%;
  }

  main#home article.articleAdmin > div.flex-column > a {
    width: 75%;
  }

  main#home > div.home-container-api,
  main#home > article.articleAdmin,
  main#home > div.adminContainer {
    box-sizing: border-box;
    height: 700px;
    margin-top: -50px;
  }

  main#home #home-buttonCheptel {
    position: inherit;
    max-width: 300px;
    margin: 30px;
  }

  main#home div.messagesGroup {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }

  main#home div.messagesGroup > :nth-of-type(1) {
    width: 80%;
  }

  /* ----- admin : bloc message ----- */

  main#home #blocMessageAdmin {
    margin: 0 auto 60px;
  }

  /*-----------------------------------PARRAIN.RUCHE X----------------------------------------*/

  main#parrainRuche {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  main#parrainRuche > nav#filArianne {
    width: 100%;
    margin-bottom: 50px;
  }

  main#parrainRuche > section:nth-of-type(1) > ul > li {
    margin: 5px 0;
  }

  main#parrainRuche > section:nth-of-type(1) > ul > li:last-of-type {
    margin-top: 30px;
  }

  main#parrainRuche > section:nth-of-type(2) {
    width: 55%;
    max-width: 700px;
    margin-top: 100px;
  }

  main#parrainRuche > section:nth-of-type(2) > ul > li > a {
    font-size: 1.8rem;
  }

  /*-----------------------------------PARRAIN.RUCHE X/visite x----------------------------------------*/

  main#parrainVisite {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  main#parrainVisite > h1,
  main#parrainVisite > nav#filArianne {
    width: 100%;
  }

  main#parrainVisite > section {
    width: 45%;
    height: 100%;
    background-color: #fff !important;
    -webkit-box-shadow: 5px 5px 10px -2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 5px 5px 10px -2px rgba(0, 0, 0, 0.3);
    box-shadow: 5px 5px 10px -2px rgba(0, 0, 0, 0.3);
  }

  /*infobulle*/
  main#parrainVisite div.tooltip > div {
    border-radius: 20px;
    padding: 0 15px;
  }

  main#parrainVisite img.crossCloseInfoBulle {
    display: none !important;
  }

  /*-----------------------------------PARRAIN.PHOTO----------------------------------------*/

  main#photos-videos div.js-filter-content > a {
    width: 22%;
  }

  /*-----------------------------------PARRAIN.REMARQUES----------------------------------------*/

  main#parrainRemarques {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: center;
    width: 95%;
  }

  main#parrainRemarques > h1,
  main#parrainRemarques > nav#filArianne {
    width: 100%;
  }

  main#parrainRemarques > section {
    width: 44% !important;
    height: 100%;
    margin: 20px !important;
  }

  /*-----------------------------------PROFIL----------------------------------------*/

  main#profil > span.welcome {
    top: 80px;
  }

  main#profil > section#mesInfos > form {
    align-items: baseline;
  }

  main#profil > section#mesInfos > form > div {
    width: 100%;
  }

  main#profil > section#mesInfos > form > div,
  main#profil > section#mesInfos > form > div > div {
    flex-direction: row;
    justify-content: flex-start;
  }

  main#profil > section#mesInfos > form > div > label,
  main#profil > section#mesInfos > form > div > div > label {
    width: 80px;
    min-width: 80px;
    text-align: right;
    padding-right: 10px;
  }

  main#profil > section#mesInfos > form > div > input,
  main#profil > section#mesInfos > form > div > div > input {
    width: 100%;
  }

  main#profil > section#mesInfos > form > div.formGroup > div {
    width: 50%;
    justify-content: center;
  }

  main#profil > section#mesInfos > form div.checkboxProfil > div {
    width: 40%;
  }

  main#profil > section#mesInfos > form div.checkboxProfil > div > label {
    width: initial;
    text-align: left;
    padding-left: 10px;
  }

  main#profil > section#mesInfos > form div.checkboxProfil > div > input {
    width: initial;
  }

  main#profil > section#mesInfos > form > a {
    margin: initial;
    align-self: flex-end;
    padding: 5px 25px;
  }

  main#profil > section#mesInfos > form > button {
    padding: 10px 25px;
    margin-top: 50px;
  }

  main#profil #mesInfos > form:nth-child(2) > div > div {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }

  main#profil #mesInfos > form:nth-child(2) > div > div > input {
    width: initial;
  }

  main#profil #mesInfos > form:nth-child(2) > div > div > label {
    min-width: 150px;
  }

  /*----------------------PROFIL > changer de mot de passe-------------------------------*/

  main#newMDP {
    margin-top: 60px;
  }

  /*----------------------------------SECURITY / CONNEXION---------------------------------------*/

  main#login {
    margin: 80px auto;
  }

  /*---------------------------------SECURITY / ASK NEW PASWOORD--------------------------------------*/

  main#askNewPassword h1 {
    margin-top: 0;
  }

  /*-----------------------------------VISITE / visite----------------------------------------*/
  main#visite {
    /* display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start; */
    margin-top: 0;
  }

  #resultAbeilles > form ul {
    top: -50px;
  }

  main#visite div#title-ongletActif {
    display: none;
  }

  main#visite > div.headerVisite {
    width: 100%;
  }

  main#visite nav.hidden-mobile {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    width: 20%;
    padding: 0;
  }

  main#visite nav.hidden-mobile > ul {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  main#visite nav.hidden-mobile > ul > li {
    padding: 10px;
    background-color: #eee;
    border: 1px solid #fff;
    cursor: pointer;
    transition: 0.1s all ease-in-out;
  }

  main#visite nav.hidden-mobile > ul > li:hover {
    background-color: #ddd;
  }

  main#visite #results {
    width: 70%;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    border: 2px solid #edb524;
    border-radius: 0 5px 5px 5px;
  }

  main#visite > div.headerVisite > h1 {
    margin-bottom: 60px;
  }

  main#visite #results > article#resultAnte > h2 {
    margin-top: 0;
  }

  main#visite #results > article#resultAbeilles > form > div {
    flex-direction: row !important;
    justify-content: space-between;
    width: 100%;
  }

  main#visite #results > article#resultAbeilles > form > div > label,
  main#visite
    #results
    > article#resultAbeilles
    > form
    > div:nth-of-type(1)
    > div:nth-of-type(1)
    > label {
    width: 160px;
    min-width: 160px;
  }

  main#visite
    #results
    > article#resultAbeilles
    > form
    > div:nth-of-type(1)
    > div {
    width: initial;
  }

  main#visite
    #results
    > article#resultAbeilles
    > form
    > div:nth-of-type(1)
    > div:nth-of-type(4)
    > input {
    width: 50px;
  }

  main#visite
    #results
    > article#resultAbeilles
    > form
    > div:nth-of-type(1)
    > div
    > *:not(label) {
    width: 100%;
  }

  main#visite #results > article#resultAbeilles > form {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  main#visite #resultAbeilles > form > div:nth-child(1) > div:nth-child(4) > label {
    display: none !important;
  }

  main#visite
    #results
    > article#resultAbeilles
    > form
    > div
    > div
    + div
    > label {
    display: none;
  }

  #resultAbeilles > form > div:nth-child(1) > div:nth-child(4) > label {
    visibility: visible !important;
    display: initial !important;
    font-weight: normal !important;
  }

  #resultAbeilles > form > div:nth-child(1) > div:nth-child(1) > label {
    min-width: 110px !important;
  }

  #resultAbeilles > form > div:nth-child(1) > div:nth-child(1) {
    max-width: 280px;
  }

  main#visite
    #results
    > article#resultRemarques
    > section
    > div:nth-of-type(1) {
    background-color: #fff;
  }

  main#visite #results > article > form {
    justify-content: flex-end;
    align-items: flex-end;
  }

  #visite > div.headerVisite > div {
  margin-bottom: 20px;
}

#resultPhotos {
  position: relative;
}

#photos > div > ul {
    position: absolute;
    top: -50px;
    left: 0;
}

main#visite div.resultContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

  /*-----form-----*/

  #resultAbeilles > form ul {
  top: 0;
}

  /*-----------------------------------ADMIN/UTILISATEURS/liste - CHEPTEL----------------------------------------*/

  main#userList > div.flashMessage {
      margin-top: -20px;
  }

  main#listeRuche,
  main#cheptelEditor {
    width: 95%;
    margin: 0 auto 40px;
  }

  main#userList table,
  main#listeRuche table {
      display: table;
    -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.3);
  }

  main#userList table.show-tabScreen > tbody > tr > td:nth-of-type(6) {
    display: flex;
    flex-direction: row;
    align-items: baseline;
  }

  main#userList table.show-tabScreen > tbody > tr > td:nth-of-type(6) > ul {
    margin-left: 10px;
  }

  main#userList table.show-tabScreen td {
    font-size: 1.4rem;
  }

  main#userList table th,
  main#cheptlisteRucheel table th {
    text-align: left;
  }

  main#userList table thead tr,
  main#listeRuche table thead tr {
    background-color: #f6da92;
  }

  main#userList table tr:nth-of-type(even),
  main#listeRuche table tr:nth-of-type(even) {
    background-color: #eee;
  }

  main#userList table th,
  main#userList table td,
  main#listeRuche table th,
  main#listeRuche table td {
    padding: 5px 10px;
  }

  main#listeRuche > div > a.buttonStyle {
    margin-bottom: 30px;
  }

  main#listeRuche > table td {
    vertical-align: top;
  }

  main#listeRuche > table td > ul {
    margin: 0;
  }

  #listeRuche > table > tbody > tr > td:nth-of-type(6) > ul > li > a {
    text-decoration: underline;
    transition: 0.2s color ease;
  }

  #listeRuche > table > tbody > tr > td:nth-of-type(6) > ul > li > a:hover {
    color: #edb524;
  }

  main#listeRuche > table > tbody > tr > td:last-of-type {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }

  main#listeRuche > table > tbody > tr > td:last-of-type > * {
    margin: 5px;
  }

  main#listeRuche > table > tbody > tr > td:last-of-type > form {
    margin-right: 15px;
  }

  main#listeRuche .notifAlertes {
    margin: 10px;
  }

  main#listeRuche table.show-tabScreen > tbody > tr > td:nth-of-type(4) {
    max-width: 220px;
  }

  main#userList table.show-tabScreen tbody > tr > td:nth-of-type(3), main#userList table.show-tabScreen tbody > tr > td:nth-of-type(5), main#userList table.show-tabScreen tbody > tr > td:nth-of-type(6), main#userList table.show-tabScreen tbody > tr > td:nth-of-type(7), main#userList table.show-tabScreen tbody > tr > td:nth-of-type(1), main#userList table.show-tabScreen tbody > tr > td:nth-of-type(2) {
    max-width: 100px;
    text-overflow: ellipsis;
    overflow-x: hidden;
  }

  main#userList table.show-tabScreen tbody > tr > td:nth-of-type(5), main#userList table.show-tabScreen tbody > tr > td:nth-of-type(6), main#userList table.show-tabScreen tbody > tr > td:nth-of-type(7), main#userList table.show-tabScreen tbody > tr > td:nth-of-type(1), main#userList table.show-tabScreen tbody > tr > td:nth-of-type(2) {
    max-width: 71px;
  }

  #cheptelEditor > form > div:nth-of-type(3) div.tooltipSelect {
  margin-left: 15px;
}

/* ----- cr visites ----- */

#parrainVisite > div > form > button {
  margin-bottom: 20px;
}

  /*-------------------------------------------------ADMIN.UTILISATEURS - userEditor------------------------------------------------------*/

  main#userEditor > form,
  main#cheptelEditor > form {
    max-width: 670px;
    margin-top: 35px;
  }

  main#userEditor > form > div.formGroup:nth-of-type(1) {
    display: flex;
    flex-direction: row;
  }

  main#userEditor > form > div.formGroup:nth-of-type(1) > div {
    width: 50%;
  }

  main#userEditor > form > div.formGroup:nth-of-type(1) > div:nth-of-type(1) {
    margin-right: 10px;
  }

  main#userEditor > form > div.formGroup:nth-of-type(1) > div:nth-of-type(2) {
    margin-left: 10px;
  }

  /*---------------------------------------ADMIN.ZONES - zoneEditor--------------------------------------------*/

  main#zoneEditor {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 0;
  }

  main#zoneEditor > nav#filArianne, main#zoneEditor > h1 {
    width: 100%;
  }

  main#zoneEditor > h1 {
      margin-bottom: 50px;
  }

  main#zoneEditor > div:not(#demo) {
      width: 40%;
  }

  main#zoneEditor > div:nth-of-type(1) {
      border: 2px solid #eee;
      margin: 0;
  }

  main#zoneEditor > div:nth-of-type(1) > form {
    margin: 0;
    margin-bottom: 50px;
  }

  main#zoneEditor > div:nth-of-type(1) > form > button {
      margin: 0;
  }

    /*---------------------------------------ADMIN.RUCHERS - LISTE--------------------------------------------*/

    main#listeRuchers {
        margin: 0 auto 40px;
    }

    main#listeRuchers > div.flashMessage {
        margin: 20px 0;
    }

    main#rucherEditor {
      max-width: 1300px;
      margin-top: 0;
    }

    /*---------------------------------------ADMIN.RUCHERS - rucher--------------------------------------------*/

    main#rucher {
      margin-top: 30px;
    }

}

/*""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""-------------------""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""---------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 1280px) {
  /*-----------------------------------HOME----------------------------------------*/

  main#home > div.home-container-api {
    width: 50%;
  }

  /*-----------------------------------PARRAIN.PHOTO----------------------------------------*/

  main#photos-videos div.js-filter-content > a {
    width: 18%;
  }

  main#home > article.articleAdmin {
    width: 22%;
  }

  main#home .adminContainer {
    width: 22%;
  }

  /*-----------------------------------VISITE / visites----------------------------------------*/

  main#visitesList > section.section-visite {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  main#visitesList > section.section-visite > h2 {
    width: 100%;
  }

  #visitesList > section.section-visite > div.flashMessage {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
  }

  /*-----------------------------------VISITE / visite----------------------------------------*/

  main#visite #results > article#resultAnte > div > a {
    width: 23%;
  }

  main#visite
    #results
    > article#resultPhotos
    > section:nth-of-type(2)
    > a {
    width: 17%;
  }

  main#visite article#resultAnte > article.alertesAuto {
    padding: 0 20px 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }

  /*-----------------------------------ADMIN/UTILISATEURS/liste----------------------------------------*/

  main#userList table th,
  main#userList table td {
    padding: 5px 10px;
  }
}

/*----------------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 1400px) {
  /*-----------------------------------GLOBAL----------------------------------------*/

  main, main#listeRuchers {
    width: 80%;
    margin: 100px auto;
  }

   main#rucherEditor {
    margin-top: 60px;
  }

  nav#filArianne {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
  }

  /*-----------------------------------HOME----------------------------------------*/

  main#home {
    width: 95%;
  }

  main#zoneList, main#listeRuchers {
    margin-top: 60px;
  }

  /* ----- admin : bloc message ----- */

  main#home #blocMessageAdmin {
    margin: -30px auto 80px;
    width: 95%;
  }

  /*-----------------------------------PARRAIN.RUCHE X/visite x----------------------------------------*/

  main#parrainVisite > section:nth-of-type(2) > a {
    width: 30%;
  }

  /*-----------------------------------PARRAIN.PHOTO----------------------------------------*/

  main#photos-videos {
    max-width: 1400px;
  }

  /*-----------------------------------PROFIL----------------------------------------*/

  main#profil > section#mesInfos {
    padding: 60px 15px;
  }

  main#profil > section#mesInfos > form {
    width: 50%;
  }

  /*-----------------------------------VISITE / visite----------------------------------------*/

  main#visite article#resultAnte {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  main#visite article#resultAnte > h2 {
    width: 100%;
  }

  main#visite #results > article#resultAnte > div {
    background-color: #fff !important;
    padding: 20px;
    width: 27%;
    margin: 10px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.3);
  }

  main#visite #results > article#resultAnte > div:nth-last-of-type(1) {
    width: 93%;
  }

  main#visite #results > article#resultAnte > div:nth-last-of-type(2) {
    width: 60%;
    max-height: 350px;
    overflow-y: auto;
  }

  main#visite #results > article#resultAnte > div > ul > li {
    align-items: baseline;
  }

  main#visite #results > article#resultAnte > div > ul > li > span {
    width: 40%;
  }

  main#visite #results > article#resultRemarques {
    padding: 0 50px;
  }

  /*-----------------------------------ADMIN/UTILISATEURS/liste----------------------------------------*/

  main#userList > h1 {
    margin: 60px 0;
  }

  /*-------------------------------------------------ADMIN.UTILISATEURS - userEditor------------------------------------------------------*/

  main#userEditor > h1,
  main#listeRuche > h1,
  main#cheptelEditor > h1 {
    margin-top: 60px;
  }

  /*-----------------------------------ADMIN/ZONE/zoneEditor----------------------------------------*/

  main#zoneEditor {
      margin-top: 40px;
      width: 90%;
      max-width: 1400px;
  }

  /*---------------------------------------ADMIN.RUCHERS - rucher--------------------------------------------*/

    main#rucher > h1 {
      margin-top: 70px;
    }

}

@media screen and (min-width: 1600px) {
  /*-----------------------------------HOME----------------------------------------*/

  main#home {
    width: 90%;
  }

  /*-----------------------------------PROFIL----------------------------------------*/
  main#profil {
    width: 70%;
    max-width: 1400px;
  }

  /*-----------------------------------VISITE / visite----------------------------------------*/

  main#visite #results {
    max-width: 1145px;
  }

  main#visite #results > article#resultAnte > div:nth-last-of-type(1) {
    width: 92%;
  }

  main#visite #results > article#resultAnte > div:nth-last-of-type(2) {
    width: 59%;
  }
}