@import url('https://fonts.googleapis.com/css?family=Anaheim');

body {
  font-family: 'Anaheim', serif;
  font-size: 16px;
  background: url('/theme/background.png');
}

.charybde-border {
  border-color: #ff6600;
  border-style: dashed;
  border-width: 3px;
  padding: 15px;
}

.charybde-border h2 {
  margin-top: 0;
}

/* TAGS */

a {
  text-decoration: none;
  color: #369;
}

a:hover {
  text-decoration: none;
  color: #ec7405;
}

h1 {
  margin: 10px 0;
}

h2 {
  font-size: 1.5em;
  font-weight: bold;
  margin: 1em 0 0.5em 0;
}

h3 {
  font-size: 1.15em;
  font-weight: bold;
  margin: 1em 0 0.5em 0;
}

ul {
  margin-left: 25px;
  list-style-type: circle;
}

/* LAYOUT */

#wrapper {
  /*background: white;*/
  /*width: 1000px;*/
  margin: auto;
  padding-top: 25px;
  max-width: 990px;
}

#header {
  margin: 10px 0;
  text-align: center;
}

#header img {
  width: 75%;
  max-width: 550px;
}

#search {
  text-align: center;
}

#navbar {
  /*border: 1px solid black;*/
  /*border-bottom: none;*/
  text-align: center;
  margin-bottom: 10px;
}

#navbar a {
  background-color: #a0a7a7;
  display: inline-block;
  padding: 5px 10px;
  color: white;
  border-right: none;
  margin: 3px 0;
  font-size: 0.85em;
  text-transform: uppercase;
  border-radius: 5px;
}

#navbar a.red {
  background-color: #d9534f;
}

#navbar a:hover {
  background-color: #ec7405;
  color: white;
  text-decoration: none;
}

#infos {
  border-left: 5px dashed rgba(255, 102, 0, 0.25);
  padding-bottom: 15px;
}

section#main {
  background-color: white;
  padding: 20px;
  min-height: 700px;
  /*padding-right: 75px;*/
  padding-bottom: 25px;
}

#wrapper aside {
  background-color: white;
}

#footer {
  border-top: 5px dashed rgba(255, 102, 0, 0.25);
  background-color: white;
  font-size: 0.8em;
  margin: 0 -15px;
  padding: 15px;
  text-align: center;
  width: 100%;
}

#footer a {
  background: #ff6600;
  border-radius: 4px;
  color: white;
  display: inline-block;
  padding: 2px 4px;
  text-decoration: none;
}

/* POST */

.post {
  padding: 20px;
  border-top: 3px solid whitesmoke;
}

.post h1 {
  margin-top: 0;
  font-size: 1.5em;
}

.post .post-infos {
  color: gray;
  font-size: 0.8em;
}

.post .linkedArticles article {
  padding: 5px;
  display: inline-block;
}

/* EVENT */

.event-list .event {
  border-bottom: 1px solid lightgray;
}

.event-list h1 {
  font-size: 1.5em;
}

article.event {
  overflow: auto;
}

.event .linkedArticles article {
  padding: 5px;
  display: inline-block;
}

.selectedCover {
  max-width: 100%;
  border: 3px solid lightgray;
  margin-bottom: 5px;
}

.event-day {
  line-height: 1.15em;
  background-color: gray;
  padding: 4px;
  float: left;
  margin: 1px 10px;
  color: white;
  font-size: 1em;
  width: 42px;
  text-align: center;
}

/* ARTICLE */

.article h1 {
  margin: 10px 0;
}

.article .authors {
  font-size: 1.5em;
  margin-bottom: 0;
}

.article img.cover {
  width: 100%;
  max-width: 200px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.article .actions {
  background-color: whiteSmoke;
  border-radius: 10px;
  padding-top: 10px;
}

.article .price {
  font-weight: bold;
}

.article table.stock {
  width: auto;
  margin: auto;
}

.article table.stock td {
  padding: 10px;
  vertical-align: middle;
}

/* FORM */

#searchBox {
  margin: 15px 0;
}

#searchBox form {
  display: flex;
  justify-content: center;
}

#searchBox img {
  max-height: 12px;
  vertical-align: middle;
}

#searchBox input {
  width: 50%;
  margin-bottom: 3px;
}

/* LISTE */

table.list thead th {
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid #e8edff;
  padding: 10px;
}

table.list tbody td {
  font-size: 0.9em;
  padding: 5px;
  border-bottom: 1px solid #e8edff;
  vertical-align: middle;
}

#list-num {
  background-color: #e8edff;
  padding: 10px 0;
}

#list-num > span {
  display: inline-block;
  border-radius: 5px;
  padding: 3px 6px;
  background-color: white;
}

.list_filter:hover,
.list_filter.selected {
  color: #ec7405;
}

#list-num span img {
  vertical-align: baseline;
}

.list .article_title {
  font-size: 1.1em;
}

div.list article {
  display: inline-block;
  margin: 0;
  padding: 15px 0;
  width: 100%;
  border-bottom: 1px solid #e8edff;
}

table.reassort td {
  font-size: 15px;
}
