/*
Theme Name: index_mb
Theme URI: https://index.maximebichon.net
Author: Maxime Bichon
Author URI: https://maximebichon.net
Description: index_mb
*/

/* @import url('main.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{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}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:none}table{border-collapse:collapse;border-spacing:0}

:focus:not([data-focusvisible-polyfill]){outline: none;}

/* FONTS */

@font-face {
	font-family: 'TimesPlus';
	src: url('f/TimesNewRomanPS-ItalicMT.woff2') format('woff2'),
		url('f/TimesNewRomanPS-ItalicMT.woff') format('woff');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'TimesPlus';
	src: url('f/TimesNewRomanPSMT.woff2') format('woff2'),
		url('f/TimesNewRomanPSMT.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face { font-family: "Inter"; font-style: normal; font-weight: normal; font-display: swap; src: url("f/InterDisplay-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: normal; font-display: swap; src: url("f/InterDisplay-Italic.woff2") format("woff2"); }

.inter{
	font-family: "Inter";
	text-transform: uppercase;
	font-size: 10px;
	letter-spacing: 0.05em;
	line-height: 1.33em;
}
	
:focus {
	outline: 0;
}

::selection{
	color: transparent;	
}

body{
	height:100%;
	font-family: 'TimesPlus', serif;
	font-size: 16px;
	line-height: 1.25em;
	overflow-x: hidden;
	background: white;
}

.size14{
	font-size: 14px;
}

.main_txt{
	color: white;
	mix-blend-mode: difference;
}

.sansserif{
	font-size: 11px;
	font-family: 'Helvetica', 'Arial', sans-serif;
}

a{
	text-decoration: none;
	color: black;
	cursor: pointer;
}

.mix{
	mix-blend-mode: difference;
	color: white;
}

.nomix{
	mix-blend-mode: normal;
	color: black;
}

a:hover,
.active{
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

p{
	margin-bottom: 1em;
}

p:last-of-type{
	margin-bottom: 0;
}

img{
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.left{
	float: left;
}

.right{
	float: right;
}

.clear{
	clear: both;
}

.alignright{
	text-align: right;
}

.center{
	text-align: center;
}

.upper{
	text-transform: uppercase;
}

.lower{
	text-transform: lowercase
}

.capi{
	text-transform: capitalize;
}

.borderbox{
	box-sizing: border-box;
}

.inline{
	display: inline;
}

.inline-block{
	display: inline-block;
}

.block{
	display: block;
}

.relative{
	position: relative;
}

.absolute{
	position: absolute;
}

.fixed{
	position: fixed;
}

.flex{
	display: flex;
}

.flex-wrap{
	flex-wrap: wrap;
}

.flex-column{
	flex-direction: column;
}

.space-between{
	justify-content: space-between;
}

.flex-center{
	align-items: center;
	justify-content: center;
}

.flex-end{
	justify-content: flex-end;
}

.cover{
	object-fit: cover;
}

.contain{
	object-fit: contain;
}

i,
em,
.italic{
	font-style: italic;
}

.bold,
strong{
	font-weight: bold;
}

.hyphens{
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

.overflow{
	overflow: auto;
}

.width20{
	width: 20%;
}

.width25{
	width: 25%;
}

.width33{
	width: 33.33%;
}

.width50{
	width: 50%;
}

.width66{
	width: 66.66%;
}

.width75{
	width: 75%;
}

.width100{
	width: 100%;
}

.height100{
	height: 100%;
}

.pointer{
	cursor: pointer;
}

.marg1em{
	margin-bottom: 1em;
}

.responsive-video{
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	width: 100%;
}

.responsive-video iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*////////*/
/* LAYOUT */
/*////////*/

#menu {
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 10;
	mix-blend-mode: difference;
	right: 20px;
}

#menu,
#menu a{
	color: white
}

#back a span{
	display: none;
}

#back a:hover span{
	display: inline;
}

.wrapper{
	margin: 75px 20px 20px 20px;
}

/* DATATABLES */

.dt-column-header{
	font-weight: normal;
}

table.dataTable>tbody>tr,
div.dt-container.dt-empty-footer tbody>tr:last-child>*,
table.dataTable>thead>tr>th, table.dataTable>thead>tr>td{
	border-bottom: 1px solid black;
}

table.dataTable>thead>tr>th, table.dataTable>tbody>tr>td{
	vertical-align: top;
	padding: 10px 13px 8px 0!important;
	/* vertical-align: middle!important; */
}

.tiny_thumb{
	height: 50px;
	width: auto;
	margin-right: 5px;
}

.thumb{
	height: 50px;
	width: auto;
}

.dt-column-order{
	display: none;
}

.dt-ordering-asc,
.dt-ordering-desc,
.dt-orderable-asc:hover,
.dt-orderable-desc:hover{
	text-decoration: underline;
}

#table *:hover{
	outline: none;
}

#table td,
#table th{
	color: white;
	mix-blend-mode: difference;
}

#table td.td_thumb{
	mix-blend-mode: normal;
}

div.dt-container .dt-search input{
	border-color: black;
	border-radius: 0;
	font-size: 16px;
	font-family: 'TimesPlus';
}

tbody{
	font-size: 14px;
	line-height: 1.33em;
}

.commas span:after{
	content: ', ';
}

.multiply span:after{
	content: ' × ';
}

.commas span:last-of-type:after,
.multiply span:last-of-type:after{
	content: '';
}

.red{
	color:#00FFFF;
}

.fancybox-bg{
	opacity: 0!important;
}

.grayscale{
	filter: grayscale(100%);
}

img.grayscale:hover{
	filter: grayscale(0);
}

/*////////////*/
/* RESPONSIVE */
/*////////////*/

.mobile,
.mobile_flex,
.mobile_inline{
	display: none;
}

@media screen and (max-width: XXXpx) {
	
	.mobile{
		display: block;
	}
	
	.mobile_flex{
		display: flex;
	}
	
	.mobile_inline{
		display: inline;
	}
	
	.desktop{
		display: none;
	}
	
	#hamburger{
		display: block;
		height: 14px;
		width: 30px;
		border-top: 2px solid black;
		border-bottom: 2px solid black;
		position: absolute;
		cursor: pointer;
		top: 7px;
		right: 20px;
	}
	
	#hamburger .line{
		padding: 0;
		margin: 0;
		margin-top: 2px;
		position: absolute;
		top: 0;
		border-bottom: 2px solid;
		padding-bottom: 4px;
		margin-bottom: 5px;
		width: 100%;
		height: 0px;
	}
	
	.cross{
		width: 30px;
		height: 30px;
		overflow: hidden;
		cursor: pointer;
		position: relative;
		z-index: 100;
	}
	
	.cross::before, 
	.cross::after {
		content: '';
		position: absolute;
		height: 1px;
		width: 100%;
		top: 50%;
		right: 0;
		margin-top: -1px;
		background: black;
	}
	
	.cross::before {
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	
	.cross::after {
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	
}