/* CSS Document */
* {
	margin: 0;
	padding: 0;
}
body#confirm { background:black; color: white;

	font-family: 'IBM Plex Sans', sans-serif;  text-align: center; padding-top: 3em;}
a.back {
	border: 1px solid white;
	padding: 10px 20px;
	margin-top: 1em;
	display: inline-block;
	color: white;
	text-decoration: none;
	border-radius: 5px;
	letter-spacing: 1px;
}
 .tablecell {
	display: table-cell;
	vertical-align: middle;
}
body {
	background-image: url(../img/fond2.jpg);
	background-attachment: fixed;
	background-color: #f8bf0d;
	padding-top: 2em;
}
#popup-form {
}
#cook {
	font-family: 'IBM Plex Sans', sans-serif; position: fixed; bottom: 0; background: rgba(255,255,255,0.95); text-align: center; width: 100%; padding:5px 1em; z-index: 1000; font-size: 11px;}
body > header #btn-form * {
	cursor: pointer;
}
footer a#cgu {
	font-size: 10px;
	width: 16em;
	font-family: 'IBM Plex Sans', sans-serif;
	background: #56a1a6;
	padding: 0 10px;
	color: white;
	cursor: pointer;
	transition: all 0.3s;
	border: 1px solid;
	margin-top: 1em;
	display: inline-block;
	margin: 1em auto 0;
	text-decoration: none;
}
label#nwslt {
	border-top:1px solid rgba(255,255,255,0.6);
	margin-top: 1em;
	text-align: center;
	padding-top: 0.5em;
} 
body > header #btn-form {
	color: black;
	/* width: 12em; */
	margin: 0 auto;
	cursor: pointer;
	/* margin-top: 1em; */
	background-color: #0e6d71;
	padding: 10px;
	font-family: 'IBM Plex Sans', sans-serif;
	background-image: url(../img/jeu-concours.png);
	background-repeat: no-repeat;
	background-size: 63% auto;
	background-position: center 10px;
	border: 5px solid black;
	padding-top: 30px;
	height: 138px;
	max-width: 370px;
	border-width: 0;
	opacity: 0.9;
	border-radius: 50px;
	box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.34);
	transition: all 0.3s;
	/* transform: rotate(-1deg); */
}

#btn-form span#ml:hover, #btn-form span#btn-part:hover{ transform: scale(0.9); }
footer {
	display: block;
	clear: both;
	text-align: center;
	background-color: #56a1a6;
	padding: 1em 0;
	position: fixed;
	bottom: 0;
	width: 100%;
}
footer a#ml {
	font-size: 10px;
	width: 13em;
	font-family: 'IBM Plex Sans', sans-serif;
	background: #56a1a6;
	padding: 0 10px;
	color: white;
	cursor: pointer;
	transition: all 0.3s;
	border: 1px solid;
	margin-top: 1em;
	display: inline-block;
	margin: 1em auto 0;
	text-decoration: none;
}
#asterisque {
	font-size: 9px;
	display: block;
	font-family: 'IBM Plex Sans', sans-serif;
}
footer a#ml:hover { text-decoration: underline;}

body > header #btn-form strong {
	display: block;
	font-size: 24px;
	margin-bottom: 10px;
	color: #e43614;
}
#grid .grid-item img {
	max-width: 170px;
	display: inline-block;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.55);
}
#filtres h3, #filtres div.filter-btn {
	display: inline-block;
}
#reg {
	text-align: center;
	color: white;
	display: inline-block;
	font-size: 12px;
	font-family: 'Lato',sans-serif;
	margin-top: 1em;
}
.grid-item a:after {
	display: block;
	box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.79);
	content: "Je le veux";
	text-decoration: none;
	position: absolute;
	width: calc(90% - 4px);
	bottom: 23px;
	left: 5%;
	text-align: center;
	z-index: 2;
	text-transform: uppercase;
	background: yellow;
	color: white;
	height: 25px;
	letter-spacing: 1px;
	font-family: 'IBM Plex Sans', sans-serif;
	font-weight: bold;
	font-size: 13px;
	line-height: 25px;
	background-color: #f48f23;
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.grid-item:hover a:after {
	bottom: 20px;
	-webkit-transform: scale(0.9);
	        transform: scale(0.9);
	opacity: 0.9;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
}
#grid .grid-item:hover a img {
	-webkit-transform: scale(0.97);
	        transform: scale(0.97);
	box-shadow: none;
}
.grid-item a img {
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}
.grid-item a {
	position: relative;
}
#filtres div.filter-btn {
	border: 1px solid black;
	padding: 0 10px;
	margin: 10px;
	cursor: pointer;
}
#filtres {
	text-align: center;
	margin-bottom: 2em;
}
#btn-form span {
	display: block;
	background: #f48f23;
	width: 10em;
	margin: auto;
	font-size: 15px;
	text-transform: uppercase;
	color: white;
	height: 30px;
	line-height: 30px;
	letter-spacing: 2px;
	-webkit-transform: rotate(-1deg);
	        transform: rotate(-1deg);
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	margin-top: 19px;
}
/*#btn-form:hover span {
	-webkit-transform: rotate(-1deg) scale(0.9);
	        transform: rotate(-1deg) scale(0.9);
}*/
#grid {
	max-width: 800px;
	margin: auto;
	text-align: center;
	margin-top: 2em;
}
.grid-item {
	width: 25%;
	text-align: center;
	display: block;
	margin: 0;
	margin-bottom: 1em;
	float: left;
	-webkit-transition: all O.3s;
	transition: all O.3s;
}
.grid-item--width2 {
	width: 50%;
}
.cont > div > div {
	height: 128px;
	border-radius: 30px;
	padding: 10px;
	border: 5px solid black;
}
body > header #colleft {
	width: 50%;
	position: relative;
	float: left;/* margin-left: 2%; */
}
body > header #colright {
	width: 50%;
	position: relative;
	float: left;
}
#filtres {
	height: 100px;
	color: transparent;
	background-size: auto 100%;
	background-position: left center;
	background-repeat: no-repeat;
	font-family: 'IBM Plex Sans';
	font-weight: normal;
	text-transform: uppercase;
	text-align: left;
	width: 100%;
	text-align: center;
}
#filtres div.filter-btn {
	font-family: 'IBM Plex Sans', sans-serif;
	border: 1px solid black;
	text-align: center;
	width: 15em;
	padding: 3px 5px;
	margin: 3px;
	height: 20px;
	line-height: 20px;
	color: white;
	font-size: 10px;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	cursor: pointer;
	color: rgba(255,255,255,0.7);
}
#filtres div.filter-btn:hover {

	opacity: 0.9;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
	-webkit-transform: scale(0.9);
	        transform: scale(0.9);
}
#filtres div.filter-btn[data-filter="rf"] {
	background-color: #fff0cf;
	border-width: 0px;
	color: black;
	margin-top: 20px;
}
#filtres div.filter-btn[data-filter="le"] {
	background-color: #f48f23;
	border-width: 0px;
	color: white;
}
#filtres div.filter-btn[data-filter="pt"] {
	background-color: #e43614;
	border-width: 0px;
	color: white;
	width: 24em;
}
#filtres div.filter-btn[data-filter="gd"] {
	background-color: #0e6d71;
	border-width: 0px;
	color: white;
	margin-right: 17px;
}
#filtres div.filter-btn[data-filter="rf"].active {
	background-image: url(../img/check-black.png);
}
#filtres div.filter-btn.active {
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	background-image: url(../img/check-white.png);
	background-size: auto 50%;
	background-repeat: no-repeat;
	background-position: 10px center;
	text-align: left;
	text-indent: 26px;
}
#filtres div.filter-btn[data-filter="rf"].active {
	background-image: url(../img/check-black.png);
}
#filtres div.filter-btn {
	opacity: 0.5;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	background-position: -100px center;
}
body > header > h2#baseline {
	background-image: url(../img/cet-ete.png);
	background-size: 100% auto;
	color: transparent;
	width: 350px;
	height: 160px;
	position: absolute;
	left: 340px;
	top: 130px;
	display: none;
}
#marge {
	display: block;
	clear: both;
	height: 6em;
}
#logo {
	background-image: url(../img/logo-baseline.png);
	background-size: auto 100%;
	background-repeat: no-repeat;
	/* left: calc\(5; */
	/* top: 136px; */
	z-index: 0;
	cursor: pointer;
	color: transparent;
	height: 170px;
	width: 100%;
	background-position: center;
	margin-bottom: 0em;
	margin-top: 50px;
}
body > header {
	text-align: center;
	position: relative;
	padding: 0;
	max-width: 800px;
	margin: auto;
	margin-top: 40px;
	background-size: auto 10;
	background-position: center;
	border-radius: 50px;
}
body > header > .cont {
	text-align: center;
	position: relative;
	padding: 1em;
	/* height: 270px; */
	max-width: 800px;
	margin: auto;
	padding-top: 0px;
}
body > header:after {
	content: "";
	display: none;
	height: 198px;
	width: 240px;
	background-size: cover;
	/* background: red; */
	position: absolute;
	right: 40px;
	top: -198px;
	background-image: url(../img/livres-3.png);
}
#listeouvrages {
	min-height: 100vh;
}
#offre {
	background-color: #56a1a6;
	background-image: url(../img/2-acht-1-ofrt.png);
	background-repeat: no-repeat;
	background-size: 70% auto;
	background-position: center 20px;
	margin: 0;
	padding: 18px;
	color: #0e6d71;
	font-size: 20px;
	text-transform: uppercase;
	font-family: 'IBM Plex Sans', sans-serif;
	border-radius: 0;
	border-width: 0;
	border-color: black;
	border-style: solid;
	max-width: 300px;
	float: right;
	position: relative;
}
#offre::before {
	content: "";
	display: block;
	height: 80%;
	left: -10px;
	background-color: rgba(255,255,255,0.3);
	width: 4px;
	top: 10%;
	position: absolute;
}
 #ete2018 {
	background: #54a1a5;
	color: transparent;
	background-image: url(../img/selecta-v2.jpg);
	background-size: auto 100%;
	background-position: left center;
	background-repeat: no-repeat;
	font-family: 'IBM Plex Sans';
	font-weight: normal;
	text-transform: uppercase;
	text-align: left;
	width: 100%;
	text-align: right;
	box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.34);
}
#ete2018:after { content: ""; clear: both; display: block;}
#offre em {
	color: #fff0cf;
	font-style: normal;
	font-weight: bold;
	font-size: 25px;
}
#btn-form p {
	margin-top: 50px;
	color: white;
	font-size: 14px;
}
#offre p {
	color: black;
	font-size: 9.2px;
	text-transform: none;
	text-align: justify;
	margin-top: 61px;
	letter-spacing: 0px;
}
body > header .cont:after {
	content: "";
	display: block;
	clear: both;
}
#popup-concours, #popup-ml {
	position: fixed;
	display: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.95);
	text-align: center;
	z-index: 100;
	overflow: scroll;
}

.table { display: table; position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.table-cell { display: table-cell; vertical-align: middle; color: white;}
.table-cell p { font-family: 'IBM Plex Sans', sans-serif;
		max-width: 400px; margin: auto; width: 80%; text-align: center;
	font-size: 12px;
	color: rgba(255,255,255,0.7);

}
.table-cell p b { color: white; display: inline-block; margin-bottom: 0.5em;}
.table-cell h3 { font-family: 'IBM Plex Sans', sans-serif;
		max-width: 400px; margin: auto; width: 80%; text-align: center;
font-size: 15px; margin-bottom: 2em; text-transform: uppercase;
}
#close-popup,  #close-popup-ml{
	position: absolute;
	right: 20px;
	top: 20px;
	height: 40px;
	width: 40px;
	text-indent: -1000px;
	overflow: hidden;
	color: white;
	cursor: pointer;
	z-index: 12;
}
#close-popup:after, #close-popup-ml:after{
	position: absolute;
	top: 20px;
	left: 0;
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	background: white;
	-webkit-transform: rotate(45deg);
	        transform: rotate(45deg);
}
#close-popup:before , #close-popup-ml:before {
	position: absolute;
		top: 20px;
	left: 0;

	content: "";
	display: block;
	width: 100%;
	height: 1px;
	background: white;
	-webkit-transform: rotate(-45deg);
	        transform: rotate(-45deg);
}
form > p {
	font-family: 'IBM Plex Sans', sans-serif;
	padding: 0;
	font-size: 13px;
	color: white;
	text-align: left;
	width: 90%;
	margin: auto;
	
	margin-bottom: 1em;
	margin-top: 2em;
}
form > label {
	margin-bottom: 1em;
	font-family: 'IBM Plex Sans', sans-serif;
	/* padding: 0 3em; */
	font-size: 11px;
	color: white;
	text-align: left;
	display: block;
	width: 90%;
	margin: 5px auto;
}

form > p#livresconcours {
	margin-bottom: 2em;
	font-family: 'IBM Plex Sans', sans-serif;
	padding: 0 3em;
	background-image: url(../img/livres-concours.png);
	background-size: 100%;
	height: auto;
	padding-bottom: 168px;
	background-repeat: no-repeat;
	background-size: 80% auto;
	background-position: center 70px;
	font-size: 16px;
	color: white;
	text-align: center;
	width: auto;
}
form h2 {
	margin-bottom: 1em;
	background-image: url(../img/jeu-concours.png);
	background-repeat: no-repeat;
	background-size: auto 100%;
	text-indent: -1000px;
	overflow: hidden;
	background-position: center;
	height: 60px;
}
form label {
	display: block;
	margin-top: 1em;
	font-family: 'Lato',sans-serif;
	font-size: 12px;
}
form label input {
display:inline-block;
	margin-right: 1em;

}
input[type="button"] {
	background: black;
	border: none;
	color: white;
	letter-spacing: 1px;
	display: block;
	padding: 10px 20px;
	text-transform: uppercase;
	margin: auto;
	margin-top: 2em;
	display: block;
	background: #f48f23;
	width: 10em;
	margin: auto;
	font-size: 15px;
	cursor: pointer;
	text-transform: uppercase;
	color: white;
	/* height: 30px; */
	/* line-height: 30px; */
	letter-spacing: 2px;
	-webkit-transform: rotate(-1deg);
	        transform: rotate(-1deg);
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	margin-top: 29px;
}
input[type="submit"]:hover { 	-webkit-transform: rotate(-1deg) scale(0.95); 	transform: rotate(-1deg) scale(0.95);}
 
#popup-concours form {
	padding: 25px 10px;
	margin: auto;
	width: 90%;
	max-width: 400px;
	margin-top: 2em;
	color: #fff0cf;
	background-color: #0e6d71;
	border: 5px solid black;
	border-radius: 30px;
}
form h3 {
	text-align: left;
	margin-top: 2em;
	font-size: 12px;
	padding: 0 1em;
	font-family: 'Lato', sans-serif;
	letter-spacing: 1px;
	width: 90%;
	margin: 2em auto 0px;
}
#popup-concours form input[type="email"], #popup-concours form input[type="text"] {
	height: 30px;
	line-height: 30px;
	width: 90%;
	display: block;
	background: #fff0cf;
	color: black;
	margin: auto;
	border: none;
	text-align: center;
	font-size: 14px;
	margin-bottom: 5px;
}

form .ml {
		font-family: 'Lato', sans-serif;

	font-size: 11px;
	text-align: justify;
	margin-top: 1em;
	letter-spacing: 0px;
	padding: 0 1em;
	opacity: 0.8;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}

#popup-concours form input[type="email"] {
}

@media screen and (max-width:965px) {
#filtres {
/*	background: #56a1a6;
*/	text-align: center;
}
#filtres div.filter-btn[data-filter="le"], #filtres div.filter-btn[data-filter="gd"] {
	margin: 3px;
}
/*}

@media screen and (max-width:850px) {*/
#grid {
	width: 90%;
}
.grid-item {
	width: 29.333%;
	margin: 1em 2%;
}
/*}

@media screen and (max-width:680px) {*/
body > header #colleft, body > header #colright {
	width: 90%;
	position: relative;
	float: none;
	margin: auto;
	margin-top: 10px;
	text-align: center;
}
	#ete2018 {
	background: transparent;
	color: transparent;
	background-image: url(../img/selecta-v2.jpg);
	background-size: 100% auto; 
	background-position: left center;
	background-repeat: no-repeat;
	font-family: 'IBM Plex Sans';
	font-weight: normal;
	text-transform: uppercase;
	text-align: left;
	width: 100%;
	height:80px;
	text-align: right;
	box-shadow: 0px 5px 20px 0px rgba(0,0,0,0.34);
}
	#offre:before { display: none;}
#offre {
	max-width: 280px;
	margin: auto;
	float: none;
	top: 100px;
	position: relative;
	text-align: center;
}
#logo {
	background-image: url(../img/logo-baseline.png);
	background-size: auto 80%;
	background-repeat: no-repeat;
	/* left: calc\(5; */
	/* top: 136px; */
	z-index: 0;
	cursor: pointer;
	color: transparent;
	height: 150px;
	width: 100%;
	background-position: center;
	margin-bottom: 0em;
	margin-top: 140px;
}
body > header {
	margin-top: 10px;
}
}

@media screen and (max-width:640px) {
#grid {
	width: 90%;
}
.grid-item {
	width: 46%;
	margin: 1em 2%;
}
}

@media screen and (max-width:400px) {
#grid .grid-item img {
	max-width: 120px;
}
	#popup-concours form {
	padding: 25px 10px;
	margin: auto;
	width: 90%;
	max-width: 400px;
	padding-top: 5em;
	color: #fff0cf;
	background-color: #0e6d71;
	border: 5px solid black;
	border-radius: 30px;
}
}

@media screen and (max-width:380px) {
	#ete2018 {	height:44px;}
#filtres div.filter-btn {
	font-family: 'IBM Plex Sans', sans-serif;
	border: 1px solid black;
	text-align: center;
	width: 16em;
	padding: 3px 3px;
	margin: 0px;
	height: 20px;
	line-height: 20px;
	color: white;
	font-size: 8px;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	cursor: pointer;
}
	#offre {
	max-width: 280px;
	margin: auto;
	float: none;
	top: 64px;
	position: relative;
	text-align: center;
}

#logo {
	background-image: url(../img/logo-baseline.png);
	background-size: auto 67%;
	background-repeat: no-repeat;
	z-index: 0;
	cursor: pointer;
	color: transparent;
	height: 150px;
	width: 100%;
	background-position: center;
	margin-bottom: 0em;
	margin-top: 140px;
}
body > header #btn-form, #offre {
	height: auto;
}
}
#grid.initload .grid-item {display: block;}
#grid .grid-item {display: none;}
