/* ------------------------------------------- general ------------------------------------------- */

html body{
	padding: 0;
	margin:0;
	background: url("img/backgrounds/background.jpg") no-repeat fixed 50% /*-550px*/;
	font-family: Tahoma, Geneva, sans-serif;
	line-height: 140%;
}

@font-face {
	font-family: 'avantgarde'; 
	src: url('avantgarde-extralight-opentype.otf');
}

a{
	color: black;
}

li {
	margin-bottom: 1em;
}

h1, h2, nav{
	font-family: avantgarde, Tahoma, Geneva, sans-serif;
}

h1 {
	margin: 0 0 1.6em 0;
	color: #5e8088;
	font-size: 1.7em;
}

h2 {
	margin: 1.5em 0 0.4em 0;
	font-size: 1.2em;
}


/* ------------------------------------------- site blocks ------------------------------------------- */

.site-container{
	position: relative;
	width: 940px;
	padding: 10px 0 10px 0;
	margin: 50px auto 0px;
}

@media(max-width: 700px)  {
	.site-container{
		width: 100%;
		margin-top: 0;
		padding: 5%;
	}
}

.content-container{
	padding: 55px 70px 80px;
	margin-top: 46px;
	background: white url("img/triangles.png") no-repeat 50% 100%;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 0px 5px 15px #6b6a6a;
	-moz-box-shadow: 0px 5px 15px #6b6a6a;
	box-shadow: 0px 5px 15px #6b6a6a;
}

@media(max-width: 700px)  {
	.content-container{
		padding: 5%;
		margin-top: 0;
	}
}


/* ------------------------------------------- nav bar ------------------------------------------- */

.slash-menu-spacer{
	display: block;
	padding: 4px;
}

@media(max-width: 700px)  {
	.slash-menu-spacer{
		display: none;
	}
}

nav{
	float: right;
	margin-right: 65px;
	font-size: 21px;
}

@media(max-width: 700px)  {
	nav{
		float: none;
		width: 100%;
		margin: 0;
		font-size: 2em;
	}
}

nav img{
	position: absolute;
	z-index: 1000;
	top: -20px;
	left: 20px;
	width: 120px;
	height: 120px;
}

@media(max-width: 700px)  {
	nav img{
		position: relative;
		display: block;
		width: 50%;
		height: 50%;
		margin: 0 auto;
	}
}

nav ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	overflow: hidden;
}

nav li{
	float: left;
}

@media(max-width: 700px)  {
	nav li{
		float: none;
		margin: 0.5em 0;
		text-align: center;
	}
}

nav li a {
	display: block;
	padding: 4px;
	color: black;
	text-decoration: none;
}

nav li a:hover{
	color: gray;
}

.active{
	font-weight: 900;
}


/* ------------------------------------------- index ------------------------------------------- */

#body-index{
	background: url("img/backgrounds/background-intro.jpg") no-repeat 50% 0;
}

.content-container-intro{
	height: 730px;
}

.logo-artisan-imprimeur img{
	display: block;
	padding-top: 95px;
	margin: 0 auto;
	opacity: 0;
	-webkit-animation-name: intro-1;
	animation-name: intro-1;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-delay: 1s;
	animation-delay: 1s;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards; 
}

@keyframes intro-1 {
	from {opacity: 0;}
	to {opacity: 1;}
}

.imprimerie-chevalier-intro img{
	display: block;
	padding-top: 40px;
	margin: 0 auto;
	opacity: 0;
	-webkit-animation-name: intro-2;
	animation-name: intro-2;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-delay: 2s;
	animation-delay: 2s;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
}

@keyframes intro-2 {
	from {opacity: 0;}
	to {opacity: 1;}
}

.intro-entrer{
	width: 150px;
	height: 113px;
	padding-top: 28px;
	margin: 35px auto;
	color: #e64b4a;
	font-size: 1.5em;
	font-weight: bold;
	text-align: center;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
	opacity: 0;
	-webkit-animation-name: intro-3;
	animation-name: intro-3;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-delay: 3s;
	animation-delay: 3s;
	-webkit-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-transition: margin-top 1s;
	transition: margin-top 1s;
}

.content-container-intro a {
	text-decoration: none;
}

.intro-entrer:hover{
	margin-top: 32px;
}

@keyframes intro-3 {
	from {opacity: 0;}
	to {opacity: 1;}
}

#fish{
	position: absolute;
	top: 460px;
	left: -120px;
	width: 288px;
	height: 221px;
	opacity: 0;
	background-image: url("img/poisson.png");
	background-repeat: no-repeat;
	-webkit-animation-name: fish1; /* Chrome, Safari, Opera */
	-webkit-animation-duration: 16s; /* Chrome, Safari, Opera */
	-webkit-animation-delay: 3s; /* Chrome, Safari, Opera */
	-webkit-animation-iteration-count: infinite; /* Chrome, Safari, Opera */
	animation-name: fish1;
	animation-duration: 16s;
	animation-delay: 3s;
	animation-iteration-count: infinite;
}

@-webkit-keyframes fish1 /* Chrome, Safari, Opera */ {
	0%  { opacity: 0; transform: scaleY(1) rotate(  0deg);top: 460px;left: -120px;}
	20% { opacity: 1; transform: scaleY(1) rotate(  0deg);top: 460px;left: -120px;}
	40% { opacity: 0; transform: scaleY(1) rotate(  0deg);top: 460px;left: -120px;}
	42% { opacity: 0; transform: scaleY(1) rotate(-10deg);top: 200px;left:  420px;}
	60% { opacity: 1; transform: scaleY(1) rotate(-10deg);top: 200px;left:  420px;}
	80% { opacity: 0; transform: scaleY(1) rotate(-10deg);top: 200px;left:  420px;}
}

@keyframes fish1 {
	0%  { opacity: 0; transform: scaleY(1) rotate(  0deg);top: 460px;left: -120px;}
	20% { opacity: 1; transform: scaleY(1) rotate(  0deg);top: 460px;left: -120px;}
	40% { opacity: 0; transform: scaleY(1) rotate(  0deg);top: 460px;left: -120px;}
	42% { opacity: 0; transform: scaleY(1) rotate(-10deg);top: 200px;left:  420px;}
	60% { opacity: 1; transform: scaleY(1) rotate(-10deg);top: 200px;left:  420px;}
	80% { opacity: 0; transform: scaleY(1) rotate(-10deg);top: 200px;left:  420px;}
}

#fish2{
	position: absolute;
	top: 460px;
	left: -120px;
	width: 288px;
	height: 221px;
	opacity: 0;
	background-image: url("img/poisson.png");
	background-repeat: no-repeat;
	-webkit-animation-name: fish2; /* Chrome, Safari, Opera */
	-webkit-animation-duration: 16s; /* Chrome, Safari, Opera */
	-webkit-animation-delay: 3s; /* Chrome, Safari, Opera */
	-webkit-animation-iteration-count: infinite; /* Chrome, Safari, Opera */
	animation-name: fish2;
	animation-duration: 16s;
	animation-delay: 3s;
	animation-iteration-count: infinite;
}

@-webkit-keyframes fish2 /* Chrome, Safari, Opera */ {
	20% {opacity: 0; transform: scaleY(-1) rotate(60deg);top: 220px;left:  40px;}
	40% {opacity: 1; transform: scaleY(-1) rotate(60deg);top: 220px;left:  40px;}
	60% {opacity: 0; transform: scaleY(-1) rotate(60deg);top: 220px;left:  40px;}
	62% {opacity: 0; transform: scaleY(-1) rotate(40deg);top: -30px;left: 630px;}
	80% {opacity: 1; transform: scaleY(-1) rotate(40deg);top: -30px;left: 630px;}
	100% { opacity: 0; transform: scaleY(-1)rotate(40deg);top: -30px;left: 630px;}
}

@keyframes fish2 {
	20% {opacity: 0; transform: scaleY(-1) rotate(60deg);top: 220px;left:  40px;}
	40% {opacity: 1; transform: scaleY(-1) rotate(60deg);top: 220px;left:  40px;}
	60% {opacity: 0; transform: scaleY(-1) rotate(60deg);top: 220px;left:  40px;}
	62% {opacity: 0; transform: scaleY(-1) rotate(40deg);top: -30px;left: 630px;}
	80% {opacity: 1; transform: scaleY(-1) rotate(40deg);top: -30px;left: 630px;}
	100%{opacity: 0; transform: scaleY(-1) rotate(40deg);top: -30px;left: 630px;}
}

#body-index  footer{
	background-image: none;
}


/* ------------------------------------------- historique ------------------------------------------- */

#body-histoire{
	background-image: url("img/backgrounds/background-historique.jpg");
}

.historique-image-container img{
	width: 300px;
	margin-bottom: 10px;
}

.historique p{
	margin-bottom: 1.3em;
	text-align: justify;
}

.quote{
	font-weight: bold;
}

.historique-image-container{
	width: 300px;
	float: right;
	margin-left: 40px;
}

.concours-general-agricole img{
	float: left;
	height: 157px;
	width: 157px;
	margin-right: 40px;
	margin-left: -5px;
}

@media(max-width: 700px)  {
	.concours-general-agricole img{
		float: none; 
		display: block;
		height: 50%; 
		width:50%; 
		margin:0 auto;
	}
}

.concours-general-agricole div{
	width: 450px;
	height: 156px;
	margin-top: 90px;
	margin-bottom: 50px;
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
}

.concours-general-agricole p{
	padding-top: 35px;
	text-align: center !important;
}

.concours-general-agricole span:first-child{
	font-size: 1.3em;
	font-weight: bold;
}

.concours-general-agricole span:last-child{
	font-size: 1.1em;
}


/* ------------------------------------------- creations ------------------------------------------- */

.creations .content-container{
	width: 800px; 
	margin: 0 auto;
	border-radius: 0 0 10px 10px;
}

.creations .content-container img{
	display: block;
	margin: 0 auto;
}

#body-creations{
	background-image: url("img/backgrounds/background-creations.jpg");
}

#body-creations .content-container{
	background-image: url("img/triangles-narrow.png");
}

#body-creations footer{
	background-image: none;
}

.creations  p{
	text-align: center;
}

.creations .gallery-window{
	background-color: white;
	min-height: 523px;
	-moz-border-radius: 10px 10px 0 0;
	-webkit-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;
	-moz-box-shadow: 0px 5px 15px #6b6a6a;
	-webkit-box-shadow: 0px 5px 15px #6b6a6a;
	box-shadow: 0px 5px 15px #6b6a6a;
}

.loading{
	position: absolute; 
	top: 300px; 
	left:300px;
	width: 200px;
	text-align: center;
}

.gallery-wrapper{
	width: 100%;
	overflow: hidden;
}

.gallery-window{
    position: relative;
	width: 800px;
	margin: 0 auto;
}

.gallery-wrapper img{
	width: 800px;
}


/* ------------------------------------------- technologies ------------------------------------------- */

#body-technologies{
	background-image: url("img/backgrounds/background-technologies.jpg");
}

.nos-technologies .fade{
	float: right;
	width: 350px;
	height: 350px;
	margin-left: 40px;
}

.fade{
	float: right;
	width: 60%;
}

@media(max-width: 700px){
	.fade{
		float: none;
		width: 100%;
	}
}


/* ------------------------------------------- contact ------------------------------------------- */

#body-contact{
	background-image: url("img/backgrounds/background-contact.jpg");
}

.nous-contacter, .mentions-legales, .site-map, h1{
	text-align: center;
}

.contacts-image-container{
	float: left;
	width: 500px;
	margin-right: 15px;
}

.contacts-image-container p{
	margin: 2.4em;
}

.contacts-image-container div {
	float: left;
}

.contacts-image-container div  img{
	margin-right: 3px;
}

.contacts-image-container div  img:last-child{
	margin-right: 0px;
}

.e-mail-principal h2{
	margin: 2em 0 0.1em 0;
}

.e-mail-principal a{
	font-weight: bold;
}

.e-mail-secondaire{
	font-size: 0.9em;
}

.nous-contacter div:last-child  img:last-child{
	border-right:0;
}

.nous-contacter-bis{
	margin-bottom: 50px;
}


/* ------------------------------------------- footer ------------------------------------------- */

.site-footer{
	height: 100px;
	padding-top: 20px;
	background: url("img/footer-shadow.png") no-repeat 50% -550px;
	color:gray;
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 10px;
	text-align: center;
}

.site-footer a{
	color:gray;
	text-decoration: none;
}

.site-footer a:hover{
	text-decoration: underline;
}


/* ------------------------------------------- slider ------------------------------------------- */

* {
	box-sizing: border-box;
}

.slider {
	width: 50%;
	margin: 100px auto;
}

.slick-slide img {
	width: 100%;
}

.slick-prev:before, .slick-next:before {
	color: black;
}