/*
Theme Name: Binjoug 2020
Author: Mathias Mille
Author URI: http://mathiasmille.fr/
Description: Binjoug 2020 theme.
Version: 2.0
*/

/****************************************************************
 * TYPOGRAPHY
 ****************************************************************/

@import url("https://fonts.googleapis.com/css2?family=Fascinate+Inline&display=swap");

.font-title,
h1,
.home-wrapper h2 {
  font-family: "Fascinate Inline", Arial, Helvetica, sans-serif;
}

/****************************************************************
 * HTML ELEMENTS
 ****************************************************************/

a:hover,
.trigger:hover {
  cursor: pointer;
  opacity: 0.7;
}

/****************************************************************
 * STRUCTURE
 ****************************************************************/

.main-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.main-content {
  padding-top: 25px;
  padding-bottom: 25px;
}

footer.main-footer {
  margin-top: auto;
}

/****************************************************************
 * TOOL CLASSES
 ****************************************************************/

/**
 * Aside
 */

.entry-content aside {
  max-width: 400px;
  text-align: justify;
  font-size: 80%;
  color: #666666;
}

.entry-content aside.alignright {
  border-left: 1px solid #dadada;
  padding-left: 2em;
  margin-left: 2em;
}

.entry-content aside.alignleft {
  border-right: 1px solid #dadada;
  padding-right: 2em;
  margin-right: 2em;
}

/**
 * Clearing Floats
 */

.clear:after,
.wrapper:after {
  clear: both;
}

.clear:before,
.clear:after,
.wrapper:before,
.wrapper:after {
  display: table;
  content: "";
}

/**
 * Images
 */

.imglist {
  text-align: center;
  width: 500px;
  height: 334px;
  margin: 15px;
}

.imglist img {
  opacity: 0.5;
  transition: 300ms linear;
}

.imglist img:hover {
  opacity: 1;
}

.imglist h3 {
  text-align: center;
  margin-top: -220px;
  font-size: 25px;
  color: #000;
}

/**
 * Links
 */

.links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 24px;
}

.links > * {
  margin: 0 0.5em;
}

.links img,
.links svg {
  max-height: 32px;
}

.links svg {
  fill: currentColor;
  width: 40px;
}

.pagination,
.page-links {
  font-size: 2em;
  text-align: right;
  margin: 25px 0;
}

/****************************************************************
 * HEADER
 ****************************************************************/

.nav-header {
  display: flex;
  align-items: center;
}

.nav-header > * {
  margin: 0 1rem 0 0;
}
.nav-header > *:last-child {
  margin-right: 0;
}

/**
 * Brand / Logo
 */

.site-brand {
  display: flex;
  align-items: center;
}

img.site-logo {
  max-height: 40px;
  margin-right: 0.5rem;
}

a.site-brand h1 {
  color: #111;
  margin-bottom: 0;
}

/**
 * Breadcrumbs
 */

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.8em;
}

.breadcrumbs > .sep {
  font-size: 0.6em;
  margin: 0 0.7em;
}

/****************************************************************
 * FOOTER
 ****************************************************************/

.main-footer .site-info {
  margin-top: 50px;
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #848484;
  font-size: 0.8em;
}

.main-footer .site-info > * {
  margin: 0 0.25em;
}

.main-footer .site-info a {
  color: #333;
}

/****************************************************************
 * ARTICLE
 ****************************************************************/

article {
  padding: 1em 1.618em;
  border: 1px solid;
  border-radius: 5px;
  box-shadow: 0 0 10px #bababa;
  margin-bottom: 50px;
}

/**
 * Entry Content
 */

/**
 * Entry Meta
 */

.entry-meta {
  background: #ffffffd9;
  clear: both;
  margin-top: 25px;
}

.entry-meta.card .content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

/****************************************************************
 * HOME
 ****************************************************************/

.home-section.card > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.home-section.card > header .title,
.home-section.card > header i {
  margin-right: 0.5em;
}

.home-section > .content ul {
  list-style: none;
  margin: 0;
  padding-left: 1em;
}

/**
 * Category List
 */

.home-section .child-category > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-section .child-category .category-title {
  font-size: 1.17em;
  margin: 0 0.5em 0 0;
}

/**
 * Home Sections
 */

/* Aoudi Ho */

.home-section.aoudiho {
  background-color: #ffac40;
  color: #c77c19;
  border-color: #c77c19;
}
.home-section.aoudiho a {
  color: #542708;
}

/* Blog */

.home-section.blog {
  background-color: #fbfbfb;
  color: #3a3a3a;
  border-color: #3a3a3a;
}
.home-section.blog a {
  color: #656565;
}

/* Dev */

.home-section.dev {
  background-color: black;
  background-image: radial-gradient(rgba(0, 150, 0, 0.75), black 120%);
  color: #0096008c;
  border-color: #009600;
}
.home-section.dev a {
  color: white;
  text-shadow: 0 0 5px #c8c8c8;
}
.home-section.dev a:hover {
  text-shadow: none;
}

/* Jeux */

.home-section.jeux {
  background-color: #3fbd68;
  color: #005f1f;
  border-color: #005f1f;
}
.home-section.jeux a,
.home-section.jeux button {
  color: #f9fb68;
}
.home-section.jeux .links svg.logo-bgg {
  width: 60px;
}

/* Partoches */

.home-section.partoches {
  background-color: #a9a9a9;
  color: #e0e0e0;
  border-color: #e0e0e0;
}
.home-section.partoches a {
  color: #212121;
}
.home-section.partoches .content h3 {
  margin-bottom: 0;
}

/* Proot */

.home-section.proot {
  background-color: #755023;
  color: #462803;
  border-color: #462803;
}
.home-section.proot a {
  color: #caa786;
}

/* Recettes */

article.category-recettes,
.home-section.recettes {
  background-color: #ffb4b4;
}
.home-section.recettes {
  color: #fff6b9;
  border-color: #fff6b9;
}
.home-section.recettes a {
  color: #e42a66;
}

/* Thiaz Itch */

.home-section.thiazitch {
  background-color: #101010;
  color: #dadada;
  border-color: #dadada;
}
.home-section.thiazitch a {
  color: #f7f7f7;
}

/* Voyages */

.home-section.voyages {
  background-color: #8de5f2;
  color: #64a1d6;
  border-color: #64a1d6;
}
.home-section.voyages a {
  color: #1a5b94;
}

/****************************************************************
 * PAGE : JEUX
 ****************************************************************/

.mathias,
.simon,
.gilles,
.yann,
.ludo,
.leonor,
.sarah {
  font-weight: bold;
  font-size: 1.4em;
  line-height: 1.4em;
}

.extension {
  font-size: 80%;
}

.mathias {
  color: #f09311;
}
.simon {
  color: #94de33;
}
.gilles {
  color: #e36262;
}
.yann {
  color: #2989c4;
}
.ludo {
  color: #67648c;
}
.leonor {
  color: #9c5471;
}
.sarah {
  color: #fc4caa;
}

ul.list-jeux li {
  display: inline-block !important;
  vertical-align: top;
  margin-bottom: 30px;
  min-width: 300px;
}

ul.list-jeux img {
  box-shadow: none !important;
  height: 100px !important;
  width: auto !important;
  float: left;
}

/****************************************************************
 * PAGE : PARTOCHES
 ****************************************************************/

/**
 * Sommaire
 */

#sommaire-partoches ul {
  list-style-type: none;
  margin: 0;
  padding-left: 0;
}

#sommaire-partoches li {
  margin-left: 1rem;
}

/**
 * Content
 */

.category-partoches .entry-title a {
  color: #111;
}

.chanson {
  clear: both;
  padding: 15px;
}

.couplet {
  display: inline-block;
  vertical-align: top;
  margin: 1em 5px;
  padding: 0 10px;
  border-left: 1px solid #a4a4a4;
}

.refrain {
  background-color: #e4e4e4;
}

.accord,
.accords {
  position: relative;
  top: -1.3em;
  display: inline-block;
  white-space: nowrap;
  color: #696969;
  font-family: lucida console;
  font-size: 13px;
}

.accord {
  width: 0;
}

.accords {
  margin-right: 1.2em;
}

.couplet p:first-child {
  margin-top: 0;
}

.couplet p:last-child {
  margin-bottom: 0;
}

/****************************************************************
 * PAGE : RECETTES
 ****************************************************************/

article.category-recettes {
  border-color: #fff6b9;
}

article.category-recettes aside.ingredients {
  margin-bottom: 1.5em;
  padding: 1.2em;
  border-radius: 10px;
  box-shadow: 0 0 10px #a15050;
  background: #fff6b9;
  color: #e42a66;
}

article.category-recettes .entry-content h1 {
  clear: both;
  color: #e42a66;
}

article.category-recettes .entry-meta {
  background: transparent;
  border-color: #fff6b9;
}

/****************************************************************
 * PAGE : VOYAGES
 ****************************************************************/

.category-voyages .archive-title,
.category-voyages h3,
.category-voyages .page-links {
  font-family: "Special Elite";
  font-weight: normal;
}

article.category-voyages h3 {
  font-size: 2em;
}

/****************************************************************
 * WIDGETS
 ****************************************************************/

/**
 * Flux RSS Widget
 */

.widget_rss > .widgettitle {
  display: none;
}

.home-section .widget_rss ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget-rss li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.widget-rss li a {
  order: 1;
  font-weight: bold;
}

.widget-rss li .rss-date {
  order: 0;
  margin-right: 0.5em;
  font-size: 0.7em;
}

/**
 * Search Form Widget
 */

#searchform {
  position: relative;
}

#searchform .search-text {
  padding-right: 36px;
}

#searchform .search-submit {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
}

.widget_search label {
  display: block;
  font-size: 13px;
  font-size: 0.928571429rem;
  line-height: 1.846153846;
}

/**
 * Tag Cloud Widget
 */

.widget_tag_cloud {
  text-align: center;
}

.widget_tag_cloud .widget-title {
  display: none;
}

/****************************************************************
 * MENU BURGER
 ****************************************************************/

.menu .widget {
  max-width: 500px;
  margin: 0 auto;
  padding: 0.5em 1em;
}

.menu .widget h3 {
  color: #fff;
}

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

.menu .widget li {
  position: relative;
  margin: 0;
}

.menu .widget a,
.menu .widget button {
  color: #e3e3e3;
}

.menu .widget a {
  font-weight: bold;
  margin: 0;
}

.menu .widget > ul > li > ul {
  margin-left: 1em;
}
.menu .widget li li:before {
  content: "-";
}
.menu .widget li li li:before {
  content: "--";
}
.menu .widget li li li li:before {
  content: "---";
}
.menu .widget li li li li li:before {
  content: "----";
}

/**
 * Burger : Categories
 */

.menu .widget .cat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.menu .widget .cat-item .children {
  flex-basis: 100%;
}

.menu .widget .cat-item button {
  margin-right: auto;
}
.menu .widget .cat-item button:active,
.menu .widget .cat-item button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #fff;
}

/****************************************************************
 * JAVASCRIPT
 ****************************************************************/

/**
 * Overlay Navigation
 */

.overlay {
  position: absolute;
  width: 100%;
  height: 0%;
  top: 0;
  left: 0;
  overflow-y: hidden;
  z-index: 100;
  background-color: #000000;
  background-color: #000000e6;
  transition: 0.5s;
  overflow: auto;
}

.overlay-content {
  position: relative;
  top: 6.18%;
  width: 100%;
  margin-top: 30px;
}

.overlay-content .site-logo {
  font-size: 60px;
}
.overlay-content .social-network {
  margin-top: 50px;
}
.overlay .navigation a {
  display: block;
  padding: 8px;
  font-size: 36px;
}

.overlay a:hover,
.overlay a:focus {
  color: #f1f1f1;
}

/* Button */

.btn-overlay {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #ffffffbf;
  color: inherit;
  border-radius: 0 0 0 0.2em;
  margin: 0;
  padding: 0.5em 0.8em 0.3em 0.8em;
  font-size: 1.3em;
  cursor: pointer;
}
.btn-overlay:hover,
.btn-overlay:active,
.btn-overlay:focus {
  background-color: #111;
  color: #fff;
  outline: none;
}
.btn-overlay.btn-open {
  position: fixed;
  z-index: 50;
}

@media screen and (max-height: 500px) {
  .overlay {
    overflow-y: auto;
  }
  .overlay .navigation a {
    font-size: 20px;
  }
}

/**
 * Scroll to top
 */

#scroll-top {
  font-size: 0;
  position: fixed;
  bottom: 0;
  right: 0;
  margin: 0.5em;
  background-color: #ffffffbf;
  z-index: 12;
  transition: all 0.3s ease;
}

#scroll-top.visible {
  font-size: 1em;
}

/****************************************************************
 * MEDIA QUERIES
 ****************************************************************/

/* Minimum width of 600 pixels. */

@media screen and (min-width: 600px) {
  .menu .widget {
    font-size: 1.5em;
  }

  article.category-recettes aside.ingredients {
    float: right;
    margin-left: 2em;
  }
}

/* Minimum width of 800 pixels. */

@media screen and (min-width: 800px) {
  #sommaire-partoches {
    -webkit-columns: 4;
    -moz-columns: 4;
    columns: 4;
  }
}
