/*
Theme Name: Geometry
Description: A theme by Geometry - Brussels - Visit us at http://www.geometry.be
Author: Geometry
Version: 1.0
*/

/* CSS RESET */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,  figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
body {line-height: 1;}
ol, ul {list-style: none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content: ''; content: none;}
table {border-collapse: collapse; border-spacing: 0;}
/* END CSS RESET */

/* Typo */	

@font-face {
	font-family: StandardBook;
	src: url("fonts/standard-book.eot")
}

@font-face {
	font-family: StandardBook;
	src: url("fonts/standard-book.ttf")
}

@font-face {
	font-family: StandardBookItalic;
	src: url("fonts/standard-book-italic.eot")
}

@font-face {
	font-family: StandardBookItalic;
	src: url("fonts/standard-book-italic.ttf")
}

@font-face {
	font-family: StandardBold;
	src: url("fonts/standard-bold.eot")
}

@font-face {
	font-family: StandardBold;
	src: url("fonts/standard-bold.ttf")
}

@font-face {
	font-family: StandardBoldItalic;
	src: url("fonts/standard-bold-italic.eot")
}

@font-face {
	font-family: StandardBoldItalic;
	src: url("fonts/standard-bold-italic.ttf")
}

body {
	font-family: StandardBook; 
	font-size: 16px;
	line-height: 1.4em;
	color: #001616;
	background: #ffffff;
}

strong {
	font-family: StandardBold; 
}

em {
	font-family: StandardBookItalic; 
}

strong em,
em strong {
	font-family: StandardBoldItalic; 
}

h1 {
	font-family: StandardBook; 
	font-size: 25px;
	line-height: 1.2em;
}

.categories,
.caption {
	font-family: StandardBook; 
	font-size: 11px;
	line-height: 1.4em;
	display: block;
	text-align: right;
	padding-bottom: 10px;
}

.caption {
	text-align: left;
}

#menu,
#menu h1 {
	line-height: 50px;
}

a {
	color: #001616;
	text-decoration: none;
}

#article-text a {
	text-decoration: underline;
}

p,
#article-text {
	margin: 1em 0;
} 

.page-template-template-about p {
	margin-top: 0;
} 

.home article a,
.category article a {
	display: block;
	transition: opacity 0.3s ease;
}

.home article:hover a,
.category article:hover a {
	opacity: 0.5;
}

header,
#container,
#links {
	width: 100%;
	max-width: 1500px;
	margin: 150px auto 0 auto;
}

header {
	position: fixed;
	margin: 0 auto 0 auto;
	background: #ffffff;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	padding-top: 14px;
}

#menu,
#content {
	width: calc(100% - 14px);
	margin: 0 7px;
	overflow: hidden;
}

#links-content,
#article-title,
#article-content,
.home article,
.category article,
#menu-left,
#menu-right,
#current {
	margin: 0 7px;
	box-sizing: border-box;
	display: block;
	width: calc(100% / 4 - 14px);
	text-align: center;
}

#article-title,
#article-content {
	float: left;
}

#article-content {
	width: calc(100% / 2 - 14px);
	text-align: left;
}

#article-text {
	width: calc(100% / 4 * 3 - 7px);
}

#article-title > div {
	padding: 0 14px;
}

#menu-left {
	text-align: left;
	float: left;
	padding-bottom: 0;
}

#current {
	text-align: left;
	float: left;
	padding-bottom: 0;
}

#menu-right {
	text-align: right;
	float: right;
	padding-bottom: 0;
}

article img {
	width: 100%;
	border: 0;
	display: block;
	margin-bottom: 3px;
}

#menu-right-ptw {
	float: left;
}

#menu-right-about {
	float: right;
}

#content {
	overflow: hidden;
	margin-bottom: 18px;
}

#page-nav {
	display: none; 
}

#infscr-loading {
	display: none !important;
}

.page-template-template-about #article-title {
	text-align: left;
}

#links {
	position: fixed;
	bottom: 0;
	margin: 0;
	bottom: -70px;
	width: calc(100% - 14px);
	padding: 7px;
}

#links-content {
	position: absolute;
	top: -115px;
	padding: 0;
}

#links-content .prev-next {
	position: relative;
}

#links-content .prev,
#links-content .index,
#links-content .next {
	position: absolute;
	background-repeat: no-repeat;
	background-size: auto 60%;
	background-color: #ffffff;
	z-index: 10;
}

#links-content .prev {
	left: 0;
	background-image: url("img/link-left.png");
	background-position: center left;
	padding-left: 26px;
	margin-left: 20px;
}

#links-content .index {
	left: 50%;
	transform: translateX(-50%);
}

#links-content .next {
	right: 0;
	background-image: url("img/link-right.png");
	background-position: center right;
	padding-right: 26px;
	margin-right: 20px;
}

#links-content .prev.nope,
#links-content .next.nope {
	opacity: 0.3;
	z-index: 0;
}

.slide {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.slide .carousel-cell {
	width: 100%;
}

.slide,
.slide div,
.slide img {
	outline: none !important;
}

.flickity-prev-next-button {
	width: 40px; 
	height: 40px; 
	top: 50%;
	position: absolute;
	transform: translateY(-50%);
	background-repeat: no-repeat;
	background-position: center center;
	border: 0;
	background-color: transparent;
	cursor: pointer;
}

.flickity-prev-next-button.previous {
	left: 0;
	width: 40%;
	height: 100%;
	cursor: url("img/slide-left.png"), pointer;
}

.flickity-prev-next-button.next {
	right: 0;
	width: 60%;
	height: 100%;
	cursor: url("img/slide-right.png"), pointer;
}

.flickity-prev-next-button {
	background-size: 32px auto !important; /* UNITE */
}

.mobile,
.flickity-button-icon {
	display: none;
}

#menu a {
	opacity: 0.3;
}

.page-template-template-about a,
.home a {
	opacity: 1 !important;
	cursor: pointer !important;
}

#menu a.home,
#menu a.about,
#menu a.cat_current,
.flickity-button:disabled {
	opacity: 1;
}

#menu a.cat_current,
.flickity-button:disabled {
	cursor: auto;
}

.slide img {
	width: auto;
	max-width: 100%;
	max-height: 70vh;
}

.home .cat_current {
	opacity: 1;
	cursor: pointer;
}

.video-container {
    position: relative !important;
    overflow: hidden !important;
    padding-bottom: 57% !important;
    padding-top: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    display: block !important;
    width: 100% !important;
    margin-bottom: 3px !important;
}

.single .video-container {
    margin-bottom: 30px !important;
}

.video-container iframe, .video-container object, .video-container embed {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
}

.video-container .play {
	position: relative;
	width: 100%;
	height: 100%;
	background-image: url("img/play.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 15% auto;
}

.video-container span {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 800000;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 1;
    cursor: pointer;
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
}

.gradient {
	background-image: url("img/gradient.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

article .transparent {
	width: 100%;
	height: 20px;
}

span {
	display: inline-block;
	overflow: hidden;
}

article video {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 3px;
	position: absolute;	
	top: 50%; /* poussé de la moitié de hauteur du référent */
	transform: translateY(-50%); /* tiré de la moitié de sa propre hauteur */
}
	
.slide.mobile .carousel-cell {
	margin-right: 14px;
}





















@media only screen and (max-width : 1050px) {
	
#links-content,
#article-title,
#article-content,
.home article,
.category article,
#menu-left,
#menu-right,
#current {
	width: calc(100% / 3 - 14px);
}

#article-content {
	width: calc(100% / 3 * 2 - 14px);
}

}











@media only screen and (max-width : 750px) {
	
#links-content,
#article-title,
#article-content,
.home article,
.category article,
#menu-left,
#menu-right,
#current {
	width: calc(100% - 14px);
}

.home #menu-left span.mobile,
.screen {
	display: none !important;
}

.mobile {
	display: block;
}

.mobile {
	display: block;
}

#hamburger {
	position: fixed;
	right: 14px;
	top: 35px;
	width: 25px;
	height: 50px;
	cursor: pointer;
}

#hamburger-open {
	position: fixed;
	right: 14px;
	top: 31px;
	width: 25px;
	height: 50px;
	cursor: pointer;
	display: none;
}

#hamburger .line {
	width: 100%;
	height: 2px;
	background-color: #001616;
	margin-bottom: 5px;
}

#hamburger-open .line {
	width: 100%;
	height: 2px;
	background-color: #001616;
	margin-bottom: 9px;
}

#hamburger-content {
	position: fixed;
	left: 0;
	right: 0;
	top: 64px;
	background-color: #ffffff;
	padding-left: 14px;
	padding-right: 14px;
	padding-top: 0;
	padding-bottom: 0;
	max-height: 0;
	overflow: hidden;
	transition: all 0.6s ease;
}

#container {
	margin-top: 110px;
	margin-bottom: 30px;
}

#links {
  bottom: -62px;
}

#links-content {
	width: calc(100% - 28px);
}

#links-content .prev-next {
	background-color: #ffffff;
	height: 600px;
	padding-top: 14px;
}

#article-title {
  padding-bottom: 0;
}

.slide img {
	width: 100%;
	max-width: none;
	max-height: none;
}

#article-text {
	width: 100%;
}

.flickity-prev-next-button.previous,
.flickity-prev-next-button.next {
	background-position: center left;
	background-repeat: no-repeat;
	background-position: center center;
	cursor: pointer;
	width: 32px;
	height: 26px;
}

.flickity-prev-next-button.previous {
	background-image: url("img/slide-left.png");
	left: 14px;
}

.flickity-prev-next-button.next {
	background-image: url("img/slide-right.png");
	right: 14px;
}

header {
  padding-top: 28px;
}

#menu, #menu h1 {
  line-height: 32px;
}

#menu-left a.mobile {
  opacity: 1 !important;
}

#content {
  overflow: hidden;
  margin-bottom: 84px;
}

}





















