/* === GENBIB.CSS - VERSION RESPONSIVE DESIGN === */

/* === RESET ET GENERAL === */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-size: 100%;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
}

/* === CONTAINER CENTRAL === */
#container {
  width: 100%;
  max-width: 985px;
  margin: 0 auto;
  background-color: #ffffff;
  min-height: 100%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.34);
  display: flex;
  flex-direction: column;
}

/* === HEADER INTRO === */
#intro {
  width: 100%;
  position: relative;
}

/* === BANDEAU GAUCHE === */
#bandeau {
  background-color: #ffffff;
  padding: 10px;
  width: 100%;
}

/* === ZONE PRINCIPALE === */
#main {
  width: 100%;
  padding: 20px;
}

/* === FORMULAIRES ET CHAMPS === */
input, select, textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
}

input[type="submit"], input.bouton {
  background-color: #009fe3;
  color: white;
  border: none;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 15px;
}

/* === MENU PRINCIPAL === */
.cms_menu_deep0 li {
  display: inline-block;
  padding: 10px;
  background-color: #009fe3;
  color: white;
}

.cms_menu_deep0 li a {
  color: white;
  text-decoration: none;
}

/* === TABLEAUX === */
table {
  width: 100%;
  border-collapse: collapse;
}

table td, table th {
  padding: 8px;
  border: 1px solid #ccc;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  #container {
    flex-direction: column;
    padding: 10px;
  }

  #bandeau, #main {
    width: 100%;
    padding: 10px;
  }

  .cms_menu_deep0 li {
    display: block;
    text-align: center;
    margin-bottom: 5px;
  }

  ul.search_tabs li, ul.list_tabs li, ul.empr_tabs li {
    display: block;
    text-align: center;
    margin: 5px 0;
  }

  input.text_query {
    width: 100% !important;
  }

  .notice-child {
    margin-left: 0;
  }
}

/* === PIED DE PAGE === */
#footer {
  text-align: center;
  padding: 15px;
  border-top: 8px solid #009fe3;
  margin-top: 20px;
}

/* === AUTRES AJUSTEMENTS === */
a {
  color: #009fe3;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

blockquote {
  margin: 10px 0;
  padding-left: 10px;
  border-left: 3px solid #009fe3;
}

.notice-child h3 {
  font-size: 1.1rem;
  margin-top: 10px;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
