/*
Theme Name: Food Cuisine
Author: Jeremy Demarquet
Author URI: http://designecho.fr
Template : food-cuisine
Version: 1.0
*/

 @import url('https://fonts.googleapis.com/css?family=Hammersmith+One');
 @import url('https://fonts.googleapis.com/css?family=Raleway:700');

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}
/* HTML5 display-role reset for older browsers */
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;
}

#masthead, #masthead2{
	position:fixed;
	z-index: 2000;
}

.under{
	z-index: 1900 !important;
}

body{
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 16px;
	color:#000;
	text-align: justify;
}


a{
	color:#ff9000;
	text-decoration: underline;
}

a:hover{
	color:#64c400;
}

p{
	line-height: 25px;
}

#primary-menu li:hover > a,
#primary-menu li a:hover,
#primary-menu li:focus > a,
#primary-menu li a:focus {
	color:#ff9000;
}

#primary-menu .current_page_item > a, #primary-menu .current_page_ancestor > a, #primary-menu .current-menu-item > a, #primary-menu .current-menu-ancestor > a {
  color: #64c400;
}

#responsive-menu-container li.responsive-menu-item a {
  text-transform: uppercase;
}

.right{
	text-align: right;
}

a.tous{
	color:#64c400;
	border:2px solid #64c400;
	border-radius:3px;
	padding:15px;
}

#dossiers a.tous{
	color:#fff;
	border:2px solid #fff;
}

a.tous:hover{
	color:#ff9000;
	border:2px solid #ff9000;
}

#dossiers a.tous:hover{
	color:#373737;
	border:2px solid #373737;
}

.clear{
	clear:both;
	visibility: hidden;
}


/* --- background --- */
.section-bg {
	position:relative;
	display:block;
	width:100%;
	min-height:280px;
	text-align:center;
	color:#fff;
	z-index: 3000;
	font-size:46px;	
}

.section-bg img{
	width:100%;
	height: auto;
	margin-top:10%;
	position: relative;
	left:calc(100% / 2 -240px);
	max-width: 480px;
}

.section-bg h2{
	font-family: 'Hammersmith One', sans-serif;
	font-size:30px;
	color:#c2ff8b;
	position: relative;
	text-transform: uppercase;
	margin-top:50px;
}

/* --- loader --- */
.loader {
  	background: none repeat scroll 0 0 white;
 	bottom: 0;
  	height: 100%;
  	left: 0;
  	position: fixed;
  	right: 0;
  	top: 0;
  	width: 100%;
  	z-index: 9999;
}

.loader_inner {
  	background-image: url("http://ktuec.ru/lj/preloader.gif");
 	background-repeat: no-repeat;
  	background-position: center center;
 	background-color: white;
  	height: 400px;
  	width: 300px;
  	margin-top: -200px;
  	margin-left: -150px;
  	left: 50%;
  	top: 50%;
  	position: absolute;
}


/* Arrow */
@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
.arrow {
  position: fixed;
  bottom: 50px;
  left: 50%;
  margin-left: -20px;
  width: 20px;
  height: 20px;
  padding:15px;
  background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNi4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iNTEycHgiIGhlaWdodD0iNTEycHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0yOTMuNzUxLDQ1NS44NjhjLTIwLjE4MSwyMC4xNzktNTMuMTY1LDE5LjkxMy03My42NzMtMC41OTVsMCwwYy0yMC41MDgtMjAuNTA4LTIwLjc3My01My40OTMtMC41OTQtNzMuNjcyICBsMTg5Ljk5OS0xOTBjMjAuMTc4LTIwLjE3OCw1My4xNjQtMTkuOTEzLDczLjY3MiwwLjU5NWwwLDBjMjAuNTA4LDIwLjUwOSwyMC43NzIsNTMuNDkyLDAuNTk1LDczLjY3MUwyOTMuNzUxLDQ1NS44Njh6Ii8+DQo8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMjIwLjI0OSw0NTUuODY4YzIwLjE4LDIwLjE3OSw1My4xNjQsMTkuOTEzLDczLjY3Mi0wLjU5NWwwLDBjMjAuNTA5LTIwLjUwOCwyMC43NzQtNTMuNDkzLDAuNTk2LTczLjY3MiAgbC0xOTAtMTkwYy0yMC4xNzgtMjAuMTc4LTUzLjE2NC0xOS45MTMtNzMuNjcxLDAuNTk1bDAsMGMtMjAuNTA4LDIwLjUwOS0yMC43NzIsNTMuNDkyLTAuNTk1LDczLjY3MUwyMjAuMjQ5LDQ1NS44Njh6Ii8+DQo8L3N2Zz4=);
  background-size: contain;
}
.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

header{
	position:fixed;
	width:100%;
	height:130px;
	background: #252525;
}

header #logo h1 img{
	width:100%;
	height: auto;
	max-width:102px;
}

#logo{
	float:left;
	width:102px;
	margin:24px 100px;
}

header nav{
	float:left;
	margin-right:100px;
	width:calc(100% - 402px);
	text-align: right;
}

header nav ul li{
	display:inline-block;
	margin-left:50px;
}

header nav ul li a{
	color:#fff;
	font-family: 'Raleway', sans-serif;
	font-size:20px;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
	font-weight:lighter;
	line-height: 130px;
}

button#responsive-menu-button {
  border-radius: 55px;
}

#recherche{
	position:relative;
	clear:both;
}

.fa-search::before {
 content:none !important; 
}


#contenu{
	background: #fff;
	margin-top:130px;
}

#contenu h2{
	font-family: 'Raleway', sans-serif;
	color:#64c400;
	text-transform: uppercase;
	font-size: 30px;
	letter-spacing: 1px;
	margin-bottom: 40px;
	font-weight: bold;
}

#contenu #liste-recettes li a img, #contenu #liste-pays li a img, #contenu #liste-tests li a img{
	width:100%;
	/*max-width: 400px; */
	height: auto;
}

#contenu #liste-recettes, #contenu #liste-pays, #contenu #liste-tests{
	text-align: left;
	width:100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content:space-around;
}

#contenu #liste-recettes li, #contenu #liste-pays li, #contenu #liste-tests li{
	display:inline-flex;
	width:calc(95% / 4);
	/*max-width: 400px; */
	margin-bottom:30px;
}

#contenu #liste-recettes li:last-child, #contenu #liste-pays li:last-child, #contenu #liste-tests li:last-child{
	margin-right:0;
}

#contenu section#recettes-du-monde ul#liste-pays li:last-child{
	margin-right: 0;
}

#contenu .recette, #contenu .pays, #contenu .test{
	position: relative;
	height: auto;
}

#contenu .texte-recette, #contenu .texte-pays, #contenu .texte-test {
  background: rgba(0, 0, 0, 0.6) none repeat scroll 0 0;
  bottom: 3px;
  height: auto;
  line-height: 20px;
  position: absolute;
  text-align: center;
  width: 100%;
  padding: 10px;
}

#contenu .texte-recette h3 a, #contenu .texte-pays h3 a, #contenu .texte-test h3 a{
	color:#fff;
	text-decoration: none;
}

#dernieres-recettes, #recettes-du-monde, #tests-de-produits, #dossiers{
	padding:70px 100px;
}

#dernieres-recettes{
	padding-top:150px;
}

#recettes-du-monde{
	background: #373737;
}

#recettes-du-monde h2{
	color: #ff9000;
	margin-bottom:20px;
}

#tests-de-produits h2{
	margin-bottom: 20px;
}

#recettes-du-monde p, #tests-de-produits p{
	margin-bottom:20px;
}

#recettes-du-monde p{
	color:#fff;
}

#dossiers{
	background: #64c400;
}

#dossiers h2{
	color: #fff;
}

.top-zero{
	padding-top: 130px !important;
	margin-top: 0 !important;
}

.top-zero-padding{
	padding-top:0 !important;
}

.all{
	text-align: right;
}

#contenu-recette{
	width:100%;
	max-width: 900px;
	margin: 0 auto;
	position: relative;
}

#contenu-recette #image-recette img{
	width:100%;
	height: auto;
}

#contenu-recette #ingredients{
	padding:20px;
	margin-top:20px;
	background: #eee;
}

#contenu-recette #ingredients li {
  line-height: 25px;
  list-style: outside none square;
  margin-left: 15px;
  padding-left: 5px;
}

#contenu-recette #preparation{
	padding:20px;
	margin-top:20px;
}

#contenu-recette #preparation p{
	margin:20px 0;
	line-height: 25px;
}

#contenu-recette #sources {
  border-top: 2px solid #bbb;
  color: #bbb;
  font-size: 12px;
  margin-bottom: 50px;
  margin-top: 0;
  padding: 10px 20px;
}

#contenu-recette #sources a{
	text-decoration: underline;
	color:#888;
}
#contenu-recette #sources a:hover{
	text-decoration: none;
	color:#666;
}

.mask.cd-intro-content h1 {
    font-family: 'Raleway', sans-serif;
	font-size:30px;
	text-transform: uppercase;
}

.cd-intro-content {
  padding-top: 30px !important;
}

#taxonomies {
  background: #eee;
  padding: 10px 20px;
  color: #aaa;
}

#taxonomies a{
  color: #64c400;
  text-decoration: underline;
}

#taxonomies a:hover{
  color: #ff9000;
}

footer{
	background: #eee;
	text-align: center;
	height: 40px;
	line-height: 40px;
	font-size: 14px;
}

footer p{
	color:#aaa;
	line-height: 40px;
}

footer a{
	color:#888;
}

footer a:hover, footer a:visited{
	color:#666;
}

.clearfix::after {
    clear: both;
    content: "";
    display: block;
    font-size: 0;
    height: 0;
    visibility: hidden;
}
.srch{
    float:right;
    height:100%;
    position:relative;
	top:97px;
}
.srch form{
    display:inline-block;
    height:100% !important;
    margin:0 0 0 22px;
    position:relative;
    vertical-align:top
}
.srch form .container{
    display:inline-block;
    margin:33px 0 30px;
    position:relative;
    vertical-align:top;
    -o-transition:all 200ms linear 0s;
    -moz-transition:all 200ms linear 0s;
    -webkit-transition:all 200ms linear 0s;
    transition:all 200ms linear 0s
}
.smallheader .srch form .container{
    margin:13px 0 10px
}
.srch form .container input{
    background:#eee;
    border:0 none;
    border-bottom:2px solid transparent;
    box-sizing:border-box;
    color:#222;
    display:inline-block;
    font-size:1em;
    font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    letter-spacing:0.02em;
    line-height:32px;
    opacity:0;
    overflow:hidden;
    padding:0 32px 0 10px;
    position:absolute;
    right:0;
    vertical-align:top;
    width:0;
    z-index:100;
    -o-transition:all .5s;
    -moz-transition:all .5s;
    -webkit-transition:all .5s;
    -o-transition:all .5s;
    transition:all .5s;
	height: 60px;
}
.srch form:hover .container input, .srch form.selected .container input {
  border-color: #ff9000;
  height: 60px;
  opacity: 1;
  position: fixed;
  width: 320px;
  z-index: 9999;
}
.srch form .container button{
    background-color:#ff9000 !important;
    border:medium none;
    color:#7a7a7a;
    cursor:pointer;
    display:inline-block;
    font-size:1.3em;
    line-height:32px;
    margin:0;
    position:relative;
    text-align:center;
    vertical-align:top;
    height: 60px;
    padding: 0 0 5px 15px;
    position: fixed;
    right: 0;
    width: 60px;
    z-index: 9999;
}
.srch form:hover .container button, .srch form.selected .container button{
    color:#DF3741
}
.srch form .container button i{
    background: transparent url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTc5MiIgaGVpZ2h0PSIxNzkyIiB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xMjE2IDgzMnEwLTE4NS0xMzEuNS0zMTYuNXQtMzE2LjUtMTMxLjUtMzE2LjUgMTMxLjUtMTMxLjUgMzE2LjUgMTMxLjUgMzE2LjUgMzE2LjUgMTMxLjUgMzE2LjUtMTMxLjUgMTMxLjUtMzE2LjV6bTUxMiA4MzJxMCA1Mi0zOCA5MHQtOTAgMzhxLTU0IDAtOTAtMzhsLTM0My0zNDJxLTE3OSAxMjQtMzk5IDEyNC0xNDMgMC0yNzMuNS01NS41dC0yMjUtMTUwLTE1MC0yMjUtNTUuNS0yNzMuNSA1NS41LTI3My41IDE1MC0yMjUgMjI1LTE1MCAyNzMuNS01NS41IDI3My41IDU1LjUgMjI1IDE1MCAxNTAgMjI1IDU1LjUgMjczLjVxMCAyMjAtMTI0IDM5OWwzNDMgMzQzcTM3IDM3IDM3IDkweiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==") no-repeat scroll 0 0;
    background-size:contain;
    display: block;
    height: 30px;
    margin: 6px 0 0 2px;
    position: relative;
    width: 30px;
}

.wpcf7-form p{
	margin:20px 0;
}

.wpcf7-form textarea, .wpcf7-form input[type="text"], .wpcf7-form input[type="email"] {
	width:100%;
	max-width: 300px;
	border:none;
}

.wpcf7-form input[type="text"], .wpcf7-form input[type="email"] {
	height:40px;
}

.wpcf7-form input[type="submit"]{
	width:100%;
	max-width: 200px;
	color:#fff;
	background: #ff9000;
	font-weight: bold;
	font-size: 18px;
	border:none;
	height: 40px;
	border-radius: 2px;
	margin-left:20px;
}

.wpcf7-form input[type="submit"]:hover{
	background: #64c400;
}

#image-404 {
	text-align: center;
}

#image-404 img{
	width:100%;
	max-width: 600px;
}

#texte-404 p{
	padding: 20px;
	text-align:center;
}

#resultats-recherche{
	padding-top: 0;
}

/* PAGE NAVI */

.wp-pagenavi {
  clear: both;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.wp-pagenavi a, .wp-pagenavi span {
  border: 2px solid #000;
  border-radius: 3px;
  display: inline-block;
  height: 40px;
  line-height: 37px;
  margin: 3px;
  padding: 0;
  text-decoration: none;
  width: 40px;
  color: #000;
}

.wp-pagenavi a:hover, .wp-pagenavi span:hover {
  border: 2px solid #ff9000;
  color: #ff9000;
}
.wp-pagenavi span.current {
  border: 2px solid #64c400;
  color: #64c400;
}

.wp-pagenavi pages {
  display:none;;
}

@media screen and (max-width:1600px){
	#contenu #liste-recettes li, #contenu #liste-pays li, #contenu #liste-tests li{
	display:inline-flex;
	width:calc(95% / 3);
	/*max-width: 400px; */
	margin-bottom:30px;
}
}

@media screen and (max-width:1000px){
	#contenu #liste-recettes li, #contenu #liste-pays li, #contenu #liste-tests li{
	display:inline-flex;
	width:calc(95% / 2);
	/*max-width: 400px; */
	margin-bottom:30px;
}
}

@media screen and (max-width:1130px){
header nav ul li {
  margin-left: 30px;
}
	
header nav ul li a {
  font-size: 15px;
}
}

@media screen and (max-width:750px){
	#contenu #liste-recettes li, #contenu #liste-pays li, #contenu #liste-tests li{
	display:inline-flex;
	width:100%;
	/*max-width: 400px; */
	margin-bottom:30px;
}
}

@media screen and (max-width:600px){
	
.section-bg img{
	width:100%;
	height: auto;
	top:25%;
	position: relative;
	left:calc(100% / 2 -240px);
	max-width: 250px;
}

.section-bg h2{
	font-size:20px;
	margin-top:20px;
}

	#dernieres-recettes, #recettes-du-monde, #tests-de-produits, #dossiers{
	padding:150px 30px;
}
	
	#logo{
	margin:24px 30px;
}
	
	#contenu h2 {
  font-size: 20px;
}
}


@media screen and (max-width:480px){
	#dernieres-recettes, #recettes-du-monde, #tests-de-produits, #dossiers{
	padding:150px 20px;
}
	#logo{
	margin:24px 20px;
}
	
.section-bg h2 {
  font-size: 20px;
  margin-top: 30px;
}
	
.section-bg img {
	margin-top: 20%;
	max-width: 200px;
}
	
}

	
