@import url(https://fonts.googleapis.com/css?family=Oswald);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700);

/* 1. MOBILE LAYOUT */

html, body {
  margin: 0;
  padding: 0;
  background-color: black;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
}

a {
  color: #4D7099
}

a:hover {
  color: #cc5200;
  text-decoration: none;
}

/* 1.1 Header */

.site-header {
  align-items: center;
  background-color: #1d1d1d;
  color: white;
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  max-width: 100%;
}

.site-header .icon {
  font-size: 25px;
  padding: 15px 20px;
}

.site-header .menu {
  border-right: 1px solid rgba(255, 255, 255, .2);
}

.site-header .search {
  display: block;
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.site-header .logo img {
  display: block;
  margin: auto;
  max-width: 175px;
  padding: 10px;
  width: 100%;
}

.header-menu {
  display: none;
}

/* 1.2 Menu */

.site-menu {
  box-shadow: inset 3px 3px 3px 0 black;
  font-family: Oswald;
  text-transform: uppercase;

  max-height: 0;
  overflow-y: hidden;
  transition-property: all;
  transition-duration: 400ms;
}

.site-menu ul {
  background-color: rgba(204, 82, 0, 1);
  margin-bottom: 0;
}

.site-menu ul li {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.site-menu .cart {
  padding: 10px;
  text-align: center;
}

.site-menu .follow-us {
  text-align: center;
}

.site-menu li a {
  display: inline-block;
  padding: 10px 27px;
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

.site-menu .follow-us a {
  font-size: 2em;
  padding: 10px;
  text-align: center;
}

.site-menu ul li ul {
  margin: 0;
  padding-left: 15px;
  text-transform: none;
  z-index: 10;
}

.site-menu ul li ul li {
  float: none;
  display: block;
  border: none;
}

.site-menu ul li ul li a {
  width: auto;
}

/* 1.3 Mobile search box */

.mobile-search-box {
  background-color: rgba(204, 82, 0, 1);

  max-height: 0;
  overflow-y: hidden;
  transition-property: all;
  transition-duration: 400ms;
}

.mobile-search-box form {
  padding: 2px 3px 5px 5px;
}

.mobile-search-box .search-field {
  padding: 1.5px 5px;
  width: calc(100% - 40px);
}

/* 1.4 Content */

.site-content {
  background-color: #fff;
  max-width: 100%;
}

.site-main-col {
  padding: 15px 10px;
}

.site-aside-menu {
  display: none;
}

/* 1.5 Footer */

.site-footer {
  background-color: #1d1d1d;
  color: white;
  margin-top: 15px;
  max-width: 100%;
  padding: 10px;
}

.site-footer p {
  text-align: center;
}

/* 1.6 Tags */

h1 {
  font-size: 2em;
  margin: 0 0 .5em;
}

/* 1.7 Home */

.home-carousel {
  margin-bottom: 15px;
  height: 200px;
  position: relative;
}

.home-carousel a {
  color: white;
}

.carousel-post {
  background-position: center center;
  background-size: cover;
  display: none;
  height: 200px;
  position: absolute;
  width: 100%;
  transition: opacity 400ms;
}

.carousel-post-text {
  background: rgba(0, 0, 0, .75);
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 15px;
  position: absolute;
  width: 100%;
}

.carousel-post-title {
  font-size: 1.5em;
  margin: 0;
}

.carousel-post-content {
  display: none;
}

.home-carousel .prev-button,
.home-carousel .next-button {
  color: white;
  cursor: pointer;
  display:none;
  font-size: 5em;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.home-carousel .next-button {
  right: 0;
}

.home-carousel:hover .prev-button,
.home-carousel:hover .next-button {
  display: block;
}

.home-post {
  background: rgba(223, 220, 211, .5);
  color: black;
  margin-bottom: 10px;
  overflow: auto;
  padding: 10px;
}

.post-content-and-thumb {
  overflow: auto;
}

.home-post h1 {
  font-size: 1.5em;
  margin: 0;
}

.home-post time {
  font-size: 0.80em;
}

.home-post-content p {
  margin: .5em 0 0 0;
}

.home-post-thumbnail {
  background-size: cover;
  background-position: center center;
  margin-bottom: 5px;
  height: 150px;
}

.home-post-articles {
  align-items: flex-end;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-post-article {
  align-items: flex-end;
  border: 1px solid rgba(0, 0, 0, .1);
  display: flex;
  font-size: .9em;
  margin: 10px;
  min-width: 230px;
  text-align: center;
}

.home-post-article-infos {
  padding: 0 10px;
  text-align: left;
}

.home-post-article-image {
  height: 100px;
}

/* 1.8 Article list */

.article-list .listed-article {
  border-top: 1px solid #e6e6e6;
  padding: 15px 5px 5px;
  overflow: auto;
}

.article-list .article:last-child {
  border-bottom: 0;
}

.article-list .article-cover {
  float: left;
  width: 75px;
}

.article-list .article-cycle {
  margin-bottom: .15em;
}

.article-list .article-title {
  font-size: 1.25em;
  margin-bottom: .15em;
}

.article-list .article-authors {
  font-size: 1.15em;
  margin-bottom: .5em;
}

.article-list .article-cover-image {
  max-width: 100%;
}

.article-list .article-data {
  margin-left: 85px;
}

.article-list .article-summary {
  display: none;
}

.article-price {
  display: inline-block;
  font-size: 1.2em;
  transform: translateY(2px);
}

.article-list .cart-button-text {
  display: none;
}

.articles-pagination {
  margin-top: 1em;
}

.fa.led-green {
  color: #68b846;
}

.fa.led-orange {
  color: #fc6620;
}

.fa.led-red {
  color: #b10610;
}

.fa.led-blue {
  color: #73c9fd;
}

/* 1.9 Article page */

.article .article-collection {
  text-align: center;
  margin: 10px 0;
}

.article .article-cover {
  display: block;
  margin: 10px auto;
  width: 200px
}

.article .article-cover-dl {
  display: none;
}

.article-title-section {
  margin-bottom: .5em;
}

.article-cycle {
  margin-bottom: 0;
}

.article-title {
  margin-bottom: 0;
}

.article-authors-section {
  margin-bottom: .5em;
}

.article .article-authors {
  font-size: 1.5em;
  margin-bottom: 0;
}

.article .article-version {
  background: rgb(235,235,235);
  border-radius: 5px;
  margin: 5px 0;
  padding: 5px;
  position: relative;
}

.article .article-version .cart-button {
  position: absolute;
  bottom: 5px;
  right: 5px;
}

.article .article-tag {
  background-color: rgb(26,37,51);
  border-radius: 5px;
  font-size: 0.85em;
  display: inline-block;
  margin-bottom: 5px;
  padding: 3px 7px 3px 5px;
}

.article .article-tag a {
  color: white;
  text-decoration: none;
}

.article-contents ul,
.article-news ul,
.article-bonus ul {
  list-style-type: disc;
  padding: 0 25px;
}

/* 1.10 Future articles */

.future-articles .covers {
  display: none;
}

.future-articles .day {
  background-color: rgb(26, 37, 51);
  padding: 5px;
  float: left;
  margin: 1px 10px;
  color: white;
  font-size: 1.2em;
}

/* 1.11 Awarded & reviewed books */

.awarded-book,
.reviewed-book {
  overflow: auto;
  margin-top: 15px;
  padding: 10px;
  background-color: rgb(230,230,230);
}

.awarded-book {
  width: 100%;
  margin: 15px auto;
}

.awarded-book-info {
  margin-left: 115px;
}

.awarded-book:hover,
.reviewed-book:hover {
  background-color: rgb(215,215,215);
}

.reviewed-book time {
  float: right;
  background-color: white;
  padding: 3px 5px;
  margin-top: -10px;
}

.awarded-book img,
.reviewed-book img {
  float: left;
  margin-right: 10px;
}

.awarded-book h3,
.reviewed-book h3 {
  margin-top: 0;
}

/* 1.12 Bifrost reviews */

.bifrost-review .book-col {
	color: white;
  max-width: 300px;
  margin: auto;
}

.bifrost-review .review-block {
	padding: 10px;
	background-color: #1A212B;
	margin-bottom: 5px;
	font-size: 0.85em;
}

.bifrost-review .book-cover,
.bifrost-review .bifrost-cover {
  max-width: 100%;
}

.bifrost-review .source-bifrost {
  align-items: flex-end;
  display: flex;
}

.bifrost-review .source-bifrost-cover {
  margin-right: 3px;
  max-width: 130px;
  padding: 0;
}

.bifrost-review .source-bifrost-infos {
  color: white;
  font-size: .9em;
  margin-bottom: 0;
}

.bifrost-review .review-col {
	margin-right: 15px;
	text-align: justify;
	line-height: 1.4em;
}

.bifrost-review .review-author {
  text-align: right;
}

/* 2. PORTRAIT TABLET LAYOUT */

@media (min-width: 768px) {

  /* 2.1 Header */

  .site-header {
    background: url('/belial/media/layout/header-2018-spring.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
    height: 200px;
    margin: auto;
    width: 100%;
  }

  .site-header .menu,
  .site-header .search {
    display: none;
  }

  .site-header .logo {
    display: block;
    margin: auto;
    padding-top: 50px;
  }

  .site-header .logo img {
    max-width: 300px;
  }

  .header-menu {
    bottom: 0;
    display: flex;
    justify-content: space-between;
    margin: auto;
    padding: 25px 5px 0 5px;
    width: 768px;
  }

  .header-menu .follow-us a {
    color: white;
    font-size: 25px;
    padding-right: 3px;
    opacity: .9;
  }

  .header-menu .search-box {
    color: black;
    transform: translateY(-3px);
  }

  .header-menu .search-field {
    border: 0;
    background: rgba(255, 255, 255, .8);
    padding: 4px;
    width: 300px;
  }

  .header-menu .search-button {
    background: rgba(255, 255, 255, .8);
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .5);
    color: black;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .header-menu .cart-box {
    min-width: 138px;
  }

  /* 2.2 Menu */

  .site-menu {
    margin: auto;
    max-height: none;
    width: 768px;
  }

  .site-menu > ul {
    background-color: #0f161e;
    justify-content: space-between;
  }

  .site-menu ul li {
    display: inline-block;
    float: left;
  }

  .site-menu ul li a {
    display: block;
    border-right: 1px solid rgba(255, 255, 255, .5);
    padding: 10px 13px;
  }

  .site-menu ul li a:hover {
    background-color: rgb(204,82,0);
    color: white;
  }

  .site-menu ul li a.contact {
    border-right: none;
  }

  .site-menu ul li ul {
    box-shadow: 1px 1px 1px #333;
    margin: 0;
    padding: 0;
    position: absolute;
    text-transform: none;
    max-height: 0;
    visibility: hidden;
    z-index: 10;
  }

  .site-menu ul li ul li {
    background-color: rgb(204, 82, 0);
    background-color: rgba(204, 82, 0, .9);
    border: none;
    display: block;
    text-align: left;
  }

  .site-menu ul li ul li a {
      border: none;
  }

  .site-menu .cart,
  .site-menu .follow-us {
    display: none;
  }

  /* 2.4 Content */

  .site-content {
    margin: auto;
    width: 768px;
  }

  .site-aside-menu {
    display: none;
  }

  /* 2.5 Footer */

  .site-footer {
    align-items: flex-end;
    display: flex;
    justify-content: space-around;
    margin: auto;
    width: 768px;
  }

  .site-footer p {
    margin-bottom: 0;
    text-align: left;
  }

  /* 2.7 Home posts */

  .home-carousel {
    height: 300px;
  }

  .carousel-post {
    height: 300px;
  }

  .carousel-post-text {
    bottom: 0;
    width: auto;
  }

  .carousel-post-title {
    font-weight: bold;
    font-size: 2em;
  }

  .carousel-post-content {
    display: block;
    margin-top: 15px;
  }

  .thumb .home-post-title,
  .thumb .home-post-content {
    margin-left: 135px;
  }

  .thumb .home-post-time {
    margin-left: 10px;
  }

  .thumb .home-post-thumbnail {
    width: 125px;
    height: 125px;
    background-size: cover;
    background-position: center;
    float: left;
    border: 3px solid white;
  }

  .thumb .home-post-thumbnail img {
    float: left;
    border: 3px solid white;
  }

  /* 2.8 Article list */

  .article-list .listed-article {
    padding: 20px 0 10px;
  }

  .article-list .article-cover {
    width: 150px;
  }

  .article-list .article-data {
    margin-left: 165px;
  }

  .article-list .article-summary {
    display: block;
  }

  .article-list .article-cycle {
    margin-bottom: .15em;
  }

  .article-list .article-title {
    font-size: 1.5em;
    margin-bottom: .15em;
  }

  .article-list .article-authors {
    font-size: 1.25em;
    margin-bottom: .5em;
  }

  .article-list .article-summary p {
    margin-bottom: .2em;
  }

  .article-list .cart-button-text {
    display: inline;
  }

  /* 2.9 Article page */

  .article .article-aside {
    font-size: 0.9em;
  }

  .article .article-aside a:hover {
    text-decoration: none;
  }

  .article .article-aside-div {
    background-color: #1A2533;
    color: white;
    margin: 0 0 5px;
    padding: 10px;
  }

  .article .article-cover {
    width: 100%;
    margin-top: 0;
  }

  .article .article-cover-dl {
    display: block;
  }

  .article .article-versions {
    align-items: flex-start;
    display: flex;
    font-size: 0.75em;
  }

  .article .article-version {
    line-height: 1.5em;
    margin: 5px;
    padding: 10px 10px 40px;
    width: 50%;
  }

  .article .article-version strong {
    font-size: 1.5em;
  }

  .article .cart-button {
    display: block;
    margin-top: 5px;
    width: calc(100% - 10px);
  }

  /* 2.10 Future articles */

  .awarded-book {
    width: 600px;
    margin: 15px auto;
  }

  .future-articles .articles {
    margin-left: 250px;
  }

  .future-articles .covers {
    display: block;
    float: left;
    width: 220px;
    text-align: right;
  }

  .future-articles .covers img {
    border: 5px solid rgb(230, 230, 230);
    margin-bottom: 10px;
  }

  /* 2.12 Bifrost reviews */

  .bifrost-review .book-col {
  	float: left;
    width: 180px;
  }

  .bifrost-review .review-col {
  	margin-left: 200px;
  }

}

/* 3. LANDSCAPE TABLET AND BIGGER */

@media (min-width: 990px) {

  /* 3.1 Header */

  .site-header {
    height: 250px;
  }

  .header-menu {
    padding-top: 45px;
    width: 1024px;
  }

  .header-menu .search-field {
    width: 300px;
  }

  /* 3.2 Menu */

  .site-menu {
    width: 1024px;
  }

  .site-menu ul li {
    border: 0;
  }

  .site-menu ul li a {
    padding: 13px 28px;
  }

  /* 3.4 Content */

  .site-header .logo img {
    max-width: 400px;
  }

  .site-content {
    background-image: url('/belial/img/aside-background.png');
    background-position: right;
    background-repeat: repeat-y;
    overflow: auto;
    width: 1024px;
  }

  .site-main-col {
    float: left;
    width: 768px;
  }

  .site-aside-menu {
    display: block;
    float: right;
    padding: 0 10px;
    width: 256px;
  }

  .site-aside-menu .aside-book h2 {
    color: white;
    font-family: 'Oswald', sans-serif;
    font-size: 1.25em;
    margin: .25em 0 .75em;
  }

  .site-aside-menu .aside-book img {
    width: 100%;
  }

  .site-aside-menu .aside-div {
    background: rgb(55,65,75);
    margin: 15px 0;
    padding: 10px;
  }

  .site-aside-menu .payments img {
    width: 100%;
  }

  /* 3.5 Footer */

  .site-footer {
    justify-content: flex-start;
    width: 1024px;
  }

  .site-footer div {
    margin: 0 15px;
  }
}
