

/* OVERRIDE w3css*/
.underline:hover {
  text-decoration: none;
}
.green, .hover-green:hover {
    color: #fff!important;
    background-color: #31af8c!important;
}
.text-amber, .hover-text-amber:hover {
    color: #31af8c!important;
}
.btn, .tag, .button {
  user-select: none !important;
}
hr {
  border: 0;
  border-top: 1px solid #dadada;
  margin: 26px 0 14px;
}
.serif {
  font-family: 'Libre Baskerville', serif;
}
.roboto {
  font-family: 'Roboto', sans-serif;
}
.valign-top {
  vertical-align: top;
}
/* OVERRIDE trumbowyg */
.trumbowyg-button-pane {
  background: white;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.gen_box_editor {
  background: white;
}

/* _____  MAIN CSS _____  */
body, html {
  height: 100%;
  min-height: 100%;
}
body, html, span.tag, span.btn, .roboto {

  line-height: 1.8;
  font-family: 'Roboto', sans-serif;
}
h1, #title, .article {
  font-family: 'Libre Baskerville', serif;
}
h1 {
  margin: 48px auto 48px;
  font-size: 33px;
}

body {
  position: relative;
  background: #f1f1f1;
  background-position: center;
  background-size: cover;
  background-image: url(/img/fond.jpg);
  background-repeat :  no-repeat;
  background-attachment: fixed;
}

#accueil {
  height: 52px;
}
#menu_btn {
  padding: 3px 11px 1px;
  right: 6px;
}
#menu {
  display: none;
  width: 350px;
  right: 0px;
  top: 0px;
  z-index: 30;
}
#menu .ul li {
  padding: 8px 4px 8px 16px;
  border-bottom: none;
}

#center_page {
  width: 100%;
  min-height: 100%;
  padding: 52px 16px 16px;
}
img#memory_img {
  width: 50%;
  max-width: 250px;
  margin: 0px auto 0 52px;
  display: inline-block;
  vertical-align: top;
}
.media {
    max-width: 480px;
    border: 2px solid gray;
    margin: 10px;
    vertical-align: top;
}
.media_content {
    width: 47%;
    vertical-align: top;
    margin: 1%;
}
.box-media {
  padding: 10px;
  text-align: center;
}
.media-control {
  border-top: 2px solid gray;
  padding: 10px;
}
footer {
  width: 100%;
  background: #2a2a2a;
  color: white;
  padding: 8px 16px 42px;
}

/* ALERT */
#alert {
    width: 100%;
    position: fixed;
    top: -600px;
    z-index: 50;
}
#alert_content {
    width: 450px;
    margin: 0 auto;
    background: white;
}
#alert_message {
    padding: 10px 16px 26px;
    text-align: center;
    font-size: 22px;
    font-weight: 400;
}
#alert_progress_bar {
    height: 4px;
    width: 0%;
}
.spinner {
  visibility: hidden;
  font-size: 30px;
  vertical-align: bottom;
  margin: 0 0 8px 8px;
}
#container_articles {
  width: 900px;
  max-width: 90%;
  margin: 52px auto 0;
}
.article {
  width: 100%;
  padding: 10px 16px;
  margin: 0 0 30px;
  line-height: 30px;
}
.article h2 {
  line-height: 42px;
  font-size: 24px;
}
#wiki, #gen_box {
  padding: 0 24px 36px;
}
#wiki p {
  margin: 0;
}
#gen_box {
    margin: 0px 1% 0;
}
#gen_box img {
  user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}
#to_top {
  position: fixed;
  bottom: 10px;
  left: -100px;
  z-index: 30;
}
/* media querys */
@media all and (min-width: 1200px) {

  #container_articles {
    width: 1000px;
  }


}
@media all and (max-width: 768px) {

    /* body, html {
      height: inherit;
    } */
    h1 {
      margin: 16px auto 32px;
      font-size: 32px;
    }
    #menu {
      width: 90%;
    }
    .modal {
      padding-top: 20px;
    }

    img#memory_img {
      margin: 0px auto 16px auto;
      display: block;
    }
    .media_content {
        width: inherit;
    }
    #alert_content {
      width: 90%;
    }
    #container_articles {
      width: 100%;
      max-width: inherit;
    }
    .article h2 {
      line-height: 36px;
      font-size: 22px;
    }

}
/* end media querys */
