/* Styles de base */
@supports (-webkit-overflow-scrolling: touch) {
  body {
    background-color: #ffffff;
    word-wrap: break-word;
    font-family: 'Verdana';
    padding: 25px;
    -webkit-text-size-adjust: none;
  }
  body:link,
  body:visited,
  body:active {
    color: #000000;
  }
}

@supports not (-webkit-overflow-scrolling: touch) {
  body {
    background-color: #ffffff;
    word-wrap: break-word;
    font-family: 'Verdana', 'serif', 'sans-serif', 'Arial', 'Helvetica';
    padding: 25px;
    -webkit-text-size-adjust: none;
  }
  body:link,
  body:visited,
  body:active {
    color: #000000;
  }
}

img {
  border: 0;
}

* {
  box-sizing: border-box;
}

/* Styles pour les images responsives et animées */
.mobileimage {
  max-width: 100%;
  height: auto;
  width: auto; /* Ignore les attributs width fixes */
}

.image-container {
  overflow: hidden;
}

.animated-image {
  opacity: 0;
  transform: translateY(400px);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.animated-image.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Styles pour les liens */
.v1 {
  color: #000000;
  text-decoration: none;
  font-size: 15px;
}
.v1:hover {
  color: #137dc5;
}

.v3_tpl1:hover,
.v3_tpl2:hover {
  color: #ffffff;
  text-decoration: none;
}

.v4_tpl1 {
  color: #ffffff;
}
.v4_tpl1:hover {
  text-decoration: none;
}

.v4_tpl2 {
  color: #000000;
}
.v4_tpl2:hover {
  text-decoration: none;
}

.v5 {
  color: #000000;
}
.v5:hover {
  text-decoration: none;
}

.v6 {
  color: #137dc5;
}
.v6:hover {
  color: #000000;
  text-decoration: none;
}

.v7 {
  color: #000000;
}
.v7:hover {
  color: #000000;
  text-decoration: none;
}

.v9 {
  color: #000000;
  font-size: inherit;
}
.v9::after {
  content: none;
}
.v9:hover {
  color: #000000;
  text-decoration: none;
}

.textpopup {
  color: #000000;
}
.textpopup:hover {
  color: #000000;
  text-decoration: none;
}

.fthbm {
  color: #ffffff;
}
.fthbm:hover {
  color: #ffffff;
  text-decoration: none;
}

/* Blocs de mise en page */
.bloc0 {
  width: 75%;
}

.bloc1 {
  width: 50%;
}

.bloc11 {
  width: 220px;
}

.bloc2 {
  width: 8%;
}

.bloc3 {
  width: 42%;
}

.ligne {
  border-top: 1px dotted black;
  width: 100%;
}

.general {
  padding: 10px;
  background-color: #ffffff;
  border: 3px #137dc5 solid;
  width: 900px;
  border-radius: 10px;
}

.basresponsive {
  display: none;
}

.fthbmdiv {
  background-color: #000000;
  text-align: left;
  margin-top: 7px;
  font-size: 15px;
  color: #ffffff;
}

#menufthhb {
  background-color: #000000;
  text-align: left;
  width: 100%;
  text-decoration: none;
  font-size: 13px;
}

.displaydate {
  text-align: center;
  padding: 10px;
  margin-top: 7px;
  font-size: 12px;
  padding-bottom: 40px;
}

.contenu_tpl1,
.contenu_tpl2 {
  height: 20px;
  line-height: 20px;
  background-color: #137dc5;
  color: #ffffff;
  font-size: 12px;
}

.contenu2_tpl1,
.contenu2_tpl2 {
  height: 23px;
  line-height: 20px;
  background-color: #137dc5;
  color: #ffffff;
  font-size: 15px;
}

.contenu3 {
  height: 20px;
  padding-bottom: 40px;
  padding: 10px;
  color: #ffffff;
  font-size: 12px;
  margin-top: 7px;
}

.menu {
  float: left;
  width: 13%;
}

.menuitem,
.menuitembas {
  text-align: left;
  padding: 5px;
  margin-top: 7px;
  border-bottom: 1px solid #ffffff;
}

.ligneright {
  margin-top: 1px;
  border-bottom: 1px solid #000000;
  display: none;
}

.main1,
.main2,
.main3 {
  float: left;
  width: 28%;
  overflow: hidden;
}

.main1cat {
  float: left;
  width: 20%;
  overflow: hidden;
}

.main2cat {
  float: left;
  width: 78%;
  overflow: hidden;
}

.main3cat {
  float: left;
  width: 100%;
  overflow: hidden;
}

/* Boutons */
.button,
.buttonvisit {
  background-color: #137dc5;
  color: white;
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.button:hover,
.buttonvisit:hover {
  background-color: #777777;
}

.buttongris {
  background-color: #777777;
  color: white;
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.buttongris:hover {
  background-color: #137dc5;
}

/* Formulaires */
input[type='text'],
input[type='password'],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  font-size: 15px;
}

label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

input[type='submit'] {
  -webkit-appearance: none;
  background-color: #137dc5;
  color: white;
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

input[type='submit']:hover {
  background-color: #777777;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  width: 30%;
}

.col-25,
.col-75 {
  width: 100%;
  margin-top: 6px;
}

.row:after {
  content: '';
  display: table;
  clear: both;
}

/* Styles spécifiques aux pages */
.main1_page_category {
  float: left;
  width: 100%;
  overflow: hidden;
  padding-left: 0;
  padding-right: 0;
}

.v4_page_category {
  text-decoration: none;
}

.v5_page_category {
  color: #137dc5;
  text-decoration: none;
  word-wrap: break-word;
}

.v6_page_category {
  font-size: 11px;
  color: #555555;
  float: right;
}

.v7_page_category {
  color: #000000;
  font-size: 15px;
}

.v8_page_category {
  color: #137dc5;
  text-decoration: none;
  font-size: 15px;
  word-wrap: break-word;
}

.main1_page_add,
.main1_page_add_site {
  float: left;
  width: 100%;
  overflow: hidden;
  font-size: 14px;
}

.container_page_add_site {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

.main1_page_remove {
  float: left;
  width: 70%;
  overflow: hidden;
  font-size: 14px;
}

.container_page_remove {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  width: 75%;
  margin: 0 12%;
}

.container_page_member {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  width: 280px;
}

/* Media Queries */
@media only screen and (max-width: 900px) {
  .menu {
    width: 7%;
  }

  .bloc0,
  .bloc1,
  .bloc3 {
    width: 100%;
  }

  .bloc2 {
    display: none;
  }

  .main1cat {
    display: none;
  }

  .main2cat {
    width: 100%;
  }

  .mobileimage3 {
    width: 90%;
  }

  .main1,
  .main2,
  .main3 {
    width: 30%;
  }

  .v1_page_category {
    font-size: 10px;
  }

  .v1 {
    font-size: 13px;
  }

  .contenu2_tpl1,
  .contenu2_tpl2 {
    font-size: 12px;
  }

  .contenu3 {
    font-size: 12px;
  }

  .ligneright {
    display: none;
  }

  .general {
    width: 100%;
  }

  .main1_page_remove {
    width: 100%;
  }
}

@media only screen and (max-width: 620px) {
  .hamburger {
    display: block;
  }

  .v1 {
    text-decoration: none;
    font-size: 15px;
  }

  .textpopup {
    font-size: 15px;
  }

  .bloc11,
  .bloc33 {
    width: 150px;
  }

  .v3_tpl1,
  .v3_tpl2 {
    color: #000000;
    font-size: 15px;
  }

  .v3_tpl1:hover,
  .v3_tpl2:hover {
    color: #000000;
    text-decoration: none;
  }

  .menu,
  .main1,
  .main2,
  .main3 {
    width: 100%;
  }

  .mobileimage {
    max-width: 100% !important;
    height: auto !important;
  }

  .mobileimage2 {
    width: 100%;
  }

  .basresponsive {
    display: block;
  }

  .contenu2_tpl1,
  .contenu2_tpl2 {
    display: none;
  }

  .menuitem {
    text-align: left;
    padding: 10px;
    margin-top: 1px;
    border-bottom: 1px solid #ffffff;
  }

  .main1_page_category {
    padding-left: 0;
    padding-right: 0;
  }

  .next_page_category {
    width: 14px;
    height: 15px;
  }

  .v7_page_category,
  .v8_page_category {
    font-size: 12px;
  }

  .space {
    display: none;
  }

  .buttonvisit {
    padding: 0 5px;
    font-size: 11px;
  }

  .container_page_remove {
    width: 100%;
    margin: 0;
  }

  .v9 {
    font-size: 0;
  }

  .v9::after {
    content: 'CGV';
    font-size: 15px;
  }
}

@media only screen and (max-width: 350px) {
  .container_page_member {
    width: 200px;
  }
}
