/*
Theme Name: Sancho
Author: Akatomy
*/

/* Reset CSS
 * --------------------------------------- */
 
* {
    box-sizing: border-box;
}

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
    padding: 0;
    margin: 0;

}
a{
  text-decoration:none;
}
table {
    border-spacing: 0;
}
fieldset,img {
    border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
    font-weight: normal;
    font-style: normal;
}
strong{
  font-weight: bold;
}
nav ol, nav ul {
    list-style: none;
    margin:0;
    padding:0;
}
caption,th {
    text-align: left;

}
h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
    font-size: 100%;
    margin:0;
    padding:0;
    color:#333;
}
q:before,q:after {
    content:'';
}
abbr,acronym { border: 0;
}

/* Global
 * --------------------------------------- */

body {
	background-color: #fff;
	font-family: 'Spartan', sans-serif;
	color: #333;
	font-size: 14px;
	line-height: 24px;
}

header {
	background: #666;
	padding: 50px 0px 40px 0px;
}

@media screen and (max-width: 1240px) {

	header {
		padding: 50px 30px 40px 30px;
	}

}

@media screen and (max-width: 640px) {

	header {
		padding: 30px 30px 20px 30px;
	}

}

header img {
	width: 156px;
	height: auto;
}

	header a {
		display: inline-block;
	}

	header > div {
		display: flex;
		max-width: 1200px;
		margin: auto;
		color: #c2c2c2;
		justify-content: space-between;
		align-items: flex-end;
		padding: 0px 5px;
	}

	header > div div:nth-child(1) {
		line-height: 0px;
		font-size: 0px;
	}

	header > div div:nth-child(2) {
		font-size: 10px;
	}

@media screen and (max-width: 640px) {

	header img {
		margin-bottom: 10px;
		width: 100px;
	}

	header > div {
		flex-direction: column;
		justify-content: flex-start;
		align-items: start;
	}

}

section.homeTop {
	background: #666;
	color: #fff;
}

section.homeBottom {
	padding-top: 35px;
	background-image: linear-gradient(to bottom, #d9d9d9 0%, #d9d9d9 110px, #fff 110px, #fff 100%);
}

.flexBig {
	display: flex;
	max-width: 1200px;
	margin: auto;
	padding-bottom: 50px;
	flex-wrap: wrap;
}

	.flexBig > article {
		flex-basis: calc(100% / 3);
		padding: 5px;
		overflow: hidden;
		position: relative;
	}

@media screen and (max-width: 640px) {

	.flexBig > article {
		flex-basis: 100%;
	}

	.flexBig > article:not(:last-child) {
		margin-bottom: 30px;
	}

}

.flexSmall {
	display: flex;
	max-width: 1200px;
	margin: auto;
	padding-bottom: 0px;
	align-items: stretch;
	flex-wrap: wrap;
}

	.auteur .flexSmall {
		padding-bottom: 0px;
	}

	.flexSmall > article {
		flex-basis: calc(100% / 6);
		padding: 5px;
		overflow: hidden;
		position: relative;
	}

@media screen and (max-width: 960px) {

	.flexSmall > article {
		flex-basis: calc(100% / 3);
	}

}

@media screen and (max-width: 640px) {

	.flexSmall > article {
		flex-basis: 100%;
	}

}

	div.notice {
		padding: 10px 40px 0px 20px;
		position: relative;
		padding-bottom: 30px;
	}

		.flexSmall div.notice {
			padding-bottom: 80px;
		}

	article::after {
		position: absolute;
		left: 20px;
		content: " ";
		width: 20px;
		height: 1px;
		overflow: hidden;
		background: #a3a3a3;
	}

	.flexBig > article::after {
		bottom: 0px;
	}

	.flexSmall > article::after {
		bottom: 30px;
	}

	div.notice h2 {
		font-size: 14px;
		line-height: 20px;
		text-transform: uppercase;
		color: #fff;
		margin-bottom: 10px;
		text-align: left !important;
	}

		.flexSmall div.notice h2 {
			color: #282828;
		}

		.auteur .flexSmall div.notice h2 {
			color: #fff;
		}

	div.notice p {
		opacity: 0.5;
		font-size: 10px;
		line-height: 14px;
	}

	div.notice .tag, .articleContainer .tag {
		position: absolute;
		width: 100px;
  		top: 110px;
  		left: -7px;
  		/* Rotate from top left corner (not default) */
  		transform-origin: 0 0;
  		transform: rotate(-90deg);
  		text-align: right;
  		text-transform: uppercase;
  		color: #fff;
  		opacity: 0.3;
  		font-size: 8px;
  		font-weight: bold;
	}

	.flexSmall div.notice .tag {
  		color: #282828;
	}

	.auteur .flexSmall div.notice .tag {
  		color: #fff;
	}

	.articleContainer .tag {
  		color: #666 !important;
  		top: 500px;
  		opacity: 1 !important;
		width: 500px;
		left: 190px;
	}

@media screen and (max-width: 1000px) {

	.articleContainer .tag {
		left: 130px;
	}

}

@media screen and (max-width: 640px) {

	.articleContainer .tag {
		left: 0px;
		position: relative;
		width: 100px;
  		top: auto;
  		left: 0;
  		transform: none;
	}

}

	.preview img {
		width: 100%;
		height: auto;
		filter: brightness(1.1) grayscale(1);
		transition: 0.4s;
	}

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

@media screen and (max-width: 1240px) {

	section {
		padding: 0px 30px;
	}

}

footer {
	background: #4c4c4c;
	padding: 50px 0px;
}

@media screen and (max-width: 1240px) {

	footer {
		background: #4c4c4c;
		padding: 50px 30px;
	}

}

	footer > div {
		display: flex;
		max-width: 1200px;
		margin: auto;
		padding: 0px 5px;
		font-size: 10px;
		line-height: 14px;
	}

	footer form {
  		flex: 0 0 auto;
  		padding: 0px 30px 0px 0px !important;
	}

	footer ul {
  		flex: 1 0 auto;
		column-count: 5;
		column-gap: 30px;
		color: #fff;
		list-style: none;
		text-transform: uppercase;
		font-size: 8px;
		line-height: 14px;
		font-weight: 700;
	}

@media screen and (max-width: 960px) {

	footer ul {
		column-count: 3;
	}

}

@media screen and (max-width: 640px) {

	footer > div {
		flex-direction: column;
	}

	footer > div form {
		margin-bottom: 30px;
	}

	footer ul {
		column-count: 2;
	}

}

		footer a {
			color: #fff;
			opacity: 1;
			transition: 0.2s;
		}

		footer a:hover {
			opacity: 0.3;
		}

	footer > div:nth-child(2) {
		padding-top: 30px;
			color: #fff;
			opacity: 0.3;
	}

input.search-field {
    border: none;
	font-family: 'Spartan', sans-serif;
    font-size: 10px;
    padding: 7px 10px 6px 10px;
    color: #777;
}

input:focus {
	 outline: none !important;
}

input {
	vertical-align: middle;
}

.articleCore {
	position: relative;
}

.articleCore h1 {
	font-size: 48px;
	line-height: 54px;
	color: #666;
	text-transform: uppercase;
	font-weight: 300;
}

section.homeTop h1 {
	font-size: 48px;
	line-height: 54px;
	color: #fff;
	text-transform: uppercase;
	font-weight: 300;
	text-align: center;
	margin-bottom: 20px;
}

@media screen and (max-width: 1000px) {

	.articleCore h1, section.homeTop h1 {
		font-size: 30px;
		line-height: 36px;
	}

}

.articleContainer {
	position: relative;
	max-width: 960px;
	margin: 50px auto;
	padding: 0px 20px 0px 220px;
}

@media screen and (max-width: 1000px) {

	.articleContainer {
		padding: 0px 20px 0px 160px;
	}

}

@media screen and (max-width: 640px) {

	.articleContainer {
		padding: 0px 0px 0px 10px;
	}

}

div.descriptif {
	position: relative;
	padding: 20px 20px 30px 20px;
	font-size: 10px;
	line-height: 16px;
	color: #666;
}

	div.descriptif::after {
		position: absolute;
		left: 0px;
		bottom: 0;
		content: " ";
		width: 20px;
		height: 1px;
		overflow: hidden;
		background: #a3a3a3;
	}

div.article {
	padding: 30px;
	position: relative;
	font-size: 15px;
	line-height: 28px;
}

@media screen and (max-width: 1000px) {

	div.article {
		font-size: 14px;
		line-height: 24px;
	}

}

@media screen and (max-width: 640px) {

	div.article {
		padding: 30px 0px;
	}

}

div.article p:not(:last-child), div.article ul:not(:last-child) {
	margin-bottom: 30px;
}

div.article p a, div.article ul a {
	color: #666;
	text-decoration: underline;
}

	div.article p a:hover, div.article ul a:hover {
		text-decoration: none;
	}

div.mast {
	max-width: 960px;
	margin: auto;
	padding-top: 50px;
}

@media screen and (max-width: 640px) {

	div.mast {
		max-width: 960px;
		margin: auto;
		padding-top: 30px;
	}

}

	div.mast img {
		width: 100%;
		height: auto;
	}

	div.article img {
		display: none;
	}

	div.ps {
		border-top: 1px dotted #999;
		padding-top: 30px;
		padding-bottom: 30px;
		color: #999;
	}

	div.notes {
		border-top: 1px dotted #666;
		padding-top: 30px;
		padding-bottom: 30px;
		color: #666;
	}

#pagination {
	padding-bottom: 50px;
	text-align: center;
}

#pagination ul {
	display: flex;
	justify-content: center;
	list-style: none;
}

#pagination ul li {
	margin: 0px 3px;
	color: #666;
}

#pagination ul li a, #pagination a  {
	display: inline-block;
	color: #666;
	font-size: 12px;
	width: 24px;
	height: 24px;
	padding: 1px;
	text-align: center;
}

#pagination ul li.pagination-item:not(.prev):not(.next) span.on, #pagination span.on {
	display: inline-block;
	background: #666;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	font-size: 12px;
	padding: 1px;
	font-weight: 700;
	color: #fff;
	text-align: center;
}

.auteur {
	background: #5d5a5a !important;
}

	.auteur h2 {
		font-size: 18px;
		line-height: 24px;
		color: #fff;
		margin-bottom: 20px;
		text-align: center;
		font-weight: 300;
	}

	.seeAlso h2 {
		font-size: 18px;
		line-height: 24px;
		color: #666;
		margin-bottom: 20px;
		text-align: center;
		font-weight: 300;
	}

	.auteur h2 a {
		color: #fff;
		opacity: 1;
		transition: 0.2s;
	}

		.auteur h2 a:hover {
			opacity: 0.3;
		}

.visuels {
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 0px;
	left: -220px;
	width: 180px;
}

@media screen and (max-width: 1000px) {

	.visuels {
		left: -160px;
		width: 120px;
	}

}

@media screen and (max-width: 640px) {

	.visuels {
		display: none;
	}

}

	.visuels img {
		display: block !important;
	}

	.visuels img:not(:last-child) {
		margin-bottom: 10px;
	}

.article i, .article em, .article i strong, .article em strong {
	font-size: inherit;
	font-style: italic;
}