/**
Theme Name: Koji Child
Author: Pige communication
Author URI: https://pigecommunication.com
Description: Thème enfant pour ajustements.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koji-child
Template: koji
*/

@font-face {
    font-family: 'Walibi';
    src: url('assets/fonts/hinted-Walibi-Bold.eot');
    src: url('assets/fonts/hinted-Walibi-Bold.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/hinted-Walibi-Bold.woff2') format('woff2'),
        url('assets/fonts/hinted-Walibi-Bold.woff') format('woff'),
        url('assets/fonts/hinted-Walibi-Bold.ttf') format('truetype'),
        url('assets/fonts/hinted-Walibi-Bold.svg#Walibi-Bold') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* GÉNÉRAL ET TYPO */

body {
  font-family: 'Century Gothic', 'Muli', sans-serif!important;
  font-size:18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul, ol {
    margin: 0 0 1.25em 1.25em;
}

ul.triangles {
    list-style: none;
}
ul.triangles li:before { 
        content: "";
    border-color: transparent #232D37;
    border-style: solid;
    border-width: 5px 0 5px 7px;
    display: block;
    height: 0;
    width: 0;
    left: -1.1em;
    top: 1.05em;
    position: relative;
}

h1.post-title {
  margin:0;
}

h1.post-title, .entry-content h2 {
  font-family: 'Walibi', 'Century Gothic', 'Muli', sans-serif;
}

h1.post-title .subtitle {
	font-size: 0.55em;
    font-family: 'Century Gothic', 'Muli', sans-serif!important;
    line-height: 1.2em!important;
    display: block;
    margin-bottom: 7px;
}

@media all and (min-width:600px) {
	h1.post-title .subtitle {
	font-size: 0.5em;
	margin-bottom: 10px;
	}
}

.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6,
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em, strong em,
.entry-content h1 em, .entry-content h2 em, .entry-content h3 em,
.entry-content h4 em, .entry-content h5 em, .entry-content h6 em {
  font-weight: bold;
}

.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
	margin: 3rem 0 1.5rem!important;
}

h2, .entry-content h2 {
  font-size:24px;
  color:rgba(0,0,0,0.55);
  margin: 6rem 0 1.5rem;
}



.entry-content h2:first-child {
  margin-top:0;
}

h3, .entry-content h3 {
  font-size:20px;
  font-weight: bold;
  margin-bottom: 1rem;
}

h3 + p > img:first-child {
	margin-top:1.5rem!important;
}

h4, .entry-content h4 {
  font-size:18px;
  font-weight: bold;
  margin-bottom: 1rem;
}

p:empty {
  margin:0;
  padding:0;
  line-height:0;
}

.nobreak {
	white-space: nowrap;
	hyphens: none;
}

.img-inline {
	display:inline;
    margin:0;
}

.alignnone {
  text-align:left!important;
  margin:0!important;
}

.aligncenter {
  text-align:center!important;
  margin:0!important;
}

.entry-content li {
    margin-top: 0rem;
}
.entry-content ul ul, .entry-content ul ol,
.entry-content ol ol, .entry-content ol ul {
    margin-top: 1rem;
    margin-bottom:2rem!important;
}

@media all and (min-width: 600px) {
  .aligncenter, .alignnone, .alignwide, .alignfull {
      margin: 0 auto;
  }
  h2, .entry-content h2 {
    font-size:26px;
  }
}

/* TABLEAUX */

table {
  font-size: 18px;
}

table tr {
	background:#fff!important;
}

th, td {
    line-height: 1.4;
    margin: 0;
    overflow: visible;
    padding:5px 0;
}


/* FIX IE */
@media all and (-ms-high-contrast:none) {
    .wprt-container table.table-bordered {
		border-top: 2px solid #dddddd!important;
		border-right: 2px solid #dddddd!important;
		border-bottom: 2px solid #dddddd!important;
		border-left: 2px solid #dddddd!important;
	}
}

.table-responsive table th,
.table-responsive table td {
	min-width:120px;
}


.footer-widgets-outer-wrapper {
    padding: 0 0!important;
}
.footer-widgets-wrapper {
    align-items: center;
    margin: 0!important;
}

.footer-widgets {
    margin: 0!important;
    width:100%!important;
}

#site-wrapper {
  padding:0!important;
  max-width:1000px;
  margin:auto!important;
}

.archive #site-wrapper {
  max-width:1400px;
}

.post-inner {
  padding: 0 0 6rem;
  max-width:100%;
  width:100%;
}

@media all and (max-width:599px) {
  .post-inner .post-header h1, .post-inner .entry-content, .post-inner .post-meta-single, .post-inner .pagination-single {
    width: calc(100% - 2rem)!important;
  }
  .post-inner {
  padding: 0 0 3rem;
}
}

@media all and (max-width:999px) {
  #site-header {
    display: none;
  }
}

@media all and (min-width: 1000px) {
  #site-content {
    padding: 6rem 6rem 0;
  }
  #site-footer {
    padding-left: 6rem;
  }
  .post-inner {
    padding: 0 0 6rem;
  }
}


/* STYLES DES POSTS */

.post-inner .post-header {
  background:#232D37;
  background-image:url(assets/images/bg-bleu.jpg);
  background-size:cover;
  color:#fff;
  position: relative;
  padding:6rem 0;
  margin-bottom:6rem;
}

.post-meta-wrapper {
	display:none;
}

@media all and (max-width:599px) {
	.post-inner .post-header {
	  padding:1.4rem 0 1.5rem;
	  margin-bottom: 2.5rem;
	}
}

.post-inner .post-header h1 {
  position: relative;
  z-index:10;
  text-shadow:1px 1px 3px rgba(0,0,0,0.1);
}

.post-inner .post-header h1,
.post-inner .entry-content,
.post-inner .post-meta-single,
.post-inner .pagination-single {
  margin-left:auto;
  margin-right:auto;
  max-width: 52rem;
  width:calc(100% - 6rem);
}

.entry-content p,
.entry-content blockquote, .entry-content .wp-block-quote.is-large,
.entry-content .wp-block-quote.is-style-large, .entry-content pre {
    margin-bottom: 1em;
}


/* Accordéons */

.accordion {
  border:1px solid #ddd;
  box-shadow: 0 0.3rem 1.8rem rgba( 5, 10, 15, 0.07 );
  border-radius:12px;
  margin-top:3rem;
  margin-bottom:3rem;
  overflow: hidden;
}

.accordion:first-child {
  margin-top:0;
}
.accordion:last-child {
  margin-bottom:0;
}

.accordion h2.accordion-title {
  border-bottom:1px solid #6c97d2;
  font-size:1rem;
  margin:0!important;
}

.accordion-title button {
  background:#3f7ed8;
  border-radius: 0;
  font-family: 'Century Gothic', 'Muli', sans-serif;
  font-size:19px;
  font-weight: bold;
  text-align: left;
  width:100%;
  padding: 1.4rem 1rem 1.5rem;
  padding-right:calc(2.4rem + 20px);
  background-image:url(assets/images/plus.svg);
  background-size:20px 20px;
  background-repeat: no-repeat;
  background-position:calc(100% - 1.2rem) 50%;
  text-decoration: none!important;
}

.accordion-title button.open {
  background-image:url(assets/images/moins.svg);
}

.accordion .accordion-content {
  padding: 1.1rem 1rem 1.3rem;
  display: none;
}

.accordion .accordion-content p:last-child {
  margin-bottom:0;
}

.accordion .accordion-content h2:first-child, 
.accordion .accordion-content .entry-content h2:first-child,
.accordion .accordion-content h3:first-child, 
.accordion .accordion-content .entry-content h3:first-child,
.accordion .accordion-content h4:first-child, 
.accordion .accordion-content .entry-content h4:first-child {
	margin-top:0!important;
}

.accordion + h2, 
.accordion + .entry-content h2 {
	   margin-top: 5rem!important;
}

/* STYLES GALERIES (diaporama) */

 .entry-content .gallery {
      display:flex;
      position: static;
      left: 0;
      width: calc(100% + 12px);
      margin: 2rem -6px 2rem;
    padding: 0;
  }



.entry-content .gallery:last-child {
      margin-bottom:0;
  }

.gallery .gallery-item {
  float:none;
  flex:0 0 auto;
    width: 144px!important;
    height: 144px!important;
    margin: 0 6px 1rem!important;
    padding:0!important;
}

.gallery .gallery-item .gallery-icon {
  height:100%;
}

.gallery .gallery-item a {
  height: 144px;
  display: flex;
  position: relative;
/*   max-height: 145px; */
}

.gallery .gallery-item a.ari-fancybox:before {
  content:"";
  display: block;
  background-color:rgba(63,126,216,0.3);
  background-image:url(assets/images/plus-bleu.svg);
  background-size:42px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  transition: ease-in-out all 0.2s;
}
.gallery .gallery-item a.ari-fancybox:hover:before {
  background-color:rgba(63,126,216,0.5);
  background-size:52px;
}

.gallery .gallery-item a img {
  padding:0;
}

.gallery img {
  margin: auto;
  max-height: 100%;
  width:auto;
}
.fancybox-button.fancybox-button--close {
	background: rgba(63,126,216,0.8)!important;
}
.fancybox-navigation button:before {
	background:rgba(63,126,216,0.85)!important;
}

.fancybox-button svg path {
    stroke: #fff!important;
}




/* Taille uniforme pour les images */
.entry-content img.alignnone.size-full,
.entry-content img.aligncenter.size-full {
	width:300px;
}
.entry-content img.alignnone.size-full.img-large,
.entry-content img.aligncenter.size-full.img-large
 {
	width:355px;
}