/*
THEME NAME: EggRoll
THEME URI: http://www.wpthemeboy.com/eggroll
DESCRIPTION: This theme is purposely designed for a cookery blog. It's designed beautifully and mobile first, meaning your website will display excellently on mobile devices.
VERSION: 1.0
AUTHOR: Emunot Daniel
AUTHOR URI: http://www.wordpress/emunot/
TEXT DOMAIN: eggroll
License: GNU General Public Licence V2 or later
License URI: http://www.gnu.org/license/gpl-2.0.html
Tags: dark, light, white, black, gray, right-sidebar, fluid-layout, fixed-layout, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, full-width-template, microformats, post-formats, sticky-post, theme-options, translation-ready
*/

/* RESET */
html, body{
	padding: 0;
	border: 0;
	margin: 0;
}


body{
	font-family: Georgia,Times,"Times New Roman",serif;
	margin: 0 10%;
	color: #333;
	background: url('images/tiled-bg.jpg') repeat #F8F8F8;
}

h1, h2, h3 {
  	color: #C10000;
}

.screen-reader-text{
   	height: 1px; 
   	width: 1px;
  	overflow: hidden;
  	position: absolute !important;

}
.wp-caption{

}


.wp-caption-text{

}

.sticky{

}

.gallery-caption{

}

.bypostauthor{

}

.alignright{

}

.alignleft{

}

.aligncenter{
	
}

.wrapper{
	background: #fff;
	float: left;
	padding: 2% 6%;
	margin: 1% 0;
	box-shadow: 0px 0px 13px 4px #D3D3D3;;
}

#branding{
	text-align: center;
	width: 100%;
	margin-bottom: 5%;
}

#site-title{
	margin-bottom: 10px;
}

#site-title a{
	color: #C10000;
	text-decoration: none;
	font-family: "";
	font-weight: bold;
	font-size: 42px;
	
}

#site-title a:hover{
	/*color: #FFCB00;*/
}

#description{
	font-style: italic;
	color: #4B686F;
	margin-bottom: 10px;
}

#menu-button{
	cursor: pointer;
	display: none;
}

.header-menu ul{
	background-color: #C10000;
	padding: 0;
	margin: 0;
	z-index: 200;
}

.header-menu ul li{
	display: inline-block;
	margin: 0 10px;
}

.header-menu ul li a{
	display: inline-block;
	padding: 20px 0;
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
	color: #fff;
}

.header-menu ul li a:hover,
.header-menu ul li.current-menu-item a{
	color: #FFCB00;
}

.menu-item-has-children{
	display: inline-block !important; /* Important to forcibly override parent inline */
	position: relative;
}
.menu-item-has-children:after{
	content: "  \25BE";
	color: #fff;
	cursor: pointer;
}

.sub-menu .menu-item-has-children:after{
	content: "\25B8";
	color: #fff;
	cursor: pointer;
}

.sub-menu{
	display: none;
	position: absolute;
	padding: 0;
	background-color: #C10000;
	right: -10px;
}

.sub-menu li{
	display: block !important; /* Important so it can override the parent inline*/
	border-top: solid 1px #fff;
}

.sub-menu li a{
	width: 200px;
}



/* header image */
.header-image img{
	width: 100%;
	height: auto;
}

.home-body, .content-area{
	float: left;
	width: 70%;
}
/*style home posts view */
.home-post-grid{
	/* preventing vertical gaps*/
	line-height: 0;
	/* making grid using css3 column property*/
	-webkit-column-count: 1; /* Chrom*/
	-webkit-column-gap: 0; /* Chrom */
	-moz-column-count: 1; /* Firefox */
	-moz-column-gap: 0; /* Firefox */
	column-count: 1; /* Others */
	column-gap: 0; /* Others */
}
.home-body article{
	/*restoring line height*/
	position: relative;
	line-height: initial;
}
.entry-title{
	margin-bottom: 16px;
}
.single-post #entry_title h1{
	font-size: 2em;
	margin-top: 0;
}
.entry-title a{
	text-decoration: none;
	color: #C13600;
}
.entry-title a:hover{
	color: #C15A00;
}

.post-thumbnail img{
	width: 100%;
	height: auto;S
}
.single-post .post-thumbnail img{
	width: 90%;
	padding: 3%;
	box-shadow: 0 0 1px 1px #e9e9e9;
}

/* search template */
.search-results article{
	float: left;
	padding: 5%;
	background-color: #fff;
}

.search-results .wp-post-image{
	width: 50%;
	height: auto;
	float: left;
	margin-right: 5%;
}


/* styling recipe page */
.recipe-grid{
	/* preventing vertical gaps*/
	line-height: 0;
	/* making grid using css3 column property*/
	-webkit-column-count: 2; /* Chrom*/
	-webkit-column-gap: 0; /* Chrom */
	-moz-column-count: 2; /* Firefox */
	-moz-column-gap: 0; /* Firefox */
	column-count: 2; /* Others */
	column-gap: 0; /* Others */
}
.recipe-page article{
	/* restoring line-height */
	line-height: initial;
	position: relative;
}

.post-foot-title{
	position: absolute;
	bottom: 0;
	width: 90%;
	padding: 0 5%;
	background-color: rgba(250, 250, 250, 0.77);
	box-shadow: 0px 0px 0px 1px #CFC5C5;

}

.home-body .post-foot-title .entry-title{
	margin: 0;
}

.home-body .post-foot-title p{
	margin-top: 2px;
}

/* sidbar */
.widget-area{
	width: 25%;
  	padding: 2%;
  	float: right;
  	background-color: #F4F4F4;
  	box-shadow: 0px 0px 1px 0px #CBC7C7;
}
.widget-title{
	margin-bottom: 10px;
	font-size: 20px;
	text-transform: uppercase;
}
.widget-rule{
	border: 2px solid #C15A00;
}
.widget-content{
	background-color: #fff;
  	padding: 1% 9%;
  	margin-bottom: 16px;
}

.widget-content ul{
	padding: 0;
	margin: 0;
	list-style-type: none;
	
}

.widget-content li{
	margin-bottom: 20px;
}

.widget-content li a{
	text-decoration: none;
	color:  #C13600;
}

.widget-content li a:hover{
	text-decoration: underline;
}

.widget-content .search-field{
	font-size: 18px;
	width: 107%;
	padding: 5%;
	position: relative;
	right: 10%;
	border: none;
	outline: none;
}

.widget-content .search-submit{
	height: 1px; 
   	width: 1px;
  	overflow: hidden;
  	position: absolute !important;
  	top: 0;
}


/* styling comment template */
.rule{
	border: 1px solid #E4E4E4;
}

.comments-list{
	margin: 0;
	padding: 0;
	border: 0;
}
.comments-list > li{
	margin-bottom: 20px;
	background-color: #F9F9F9;
	padding: 5%;
}
.comment-respond{
	background-color: #fff;
}
.comments-list li{
	list-style: none;
	
}
.comment-respond{
	margin-top: 20px;
}
.comment-respond label{
	font-weight: 600;

}
.comment-notes{
	font-style: italic;
}
.comment-form .required{
	color: rgb(193, 0, 0);
}
.comment-form input[type='text']{
	width: 90%;
	height: 36px;
	padding: 0 5%;
	font-size:18px;
	border: 1px solid #CACACA;
	border-radius: 3px;
}
.comment-form textarea{
	width: 90%;
	padding: 5%;
	font-size: 16px;
	font-family: inherit;
	border: 1px solid #CACACA;
	border-radius: 3px;
}
.comment-form input[type='submit']{
	font-family: inherit;
	font-size: 16px;
	padding: 18px;
	background-color: rgb(193, 0, 0);
	color: #fff;
	border: none;
	cursor: pointer;
}
.comment-form input:focus, .comment-form textarea:focus{
	border: 2px solid rgb(193, 0, 0);
	outline: none;
}


/*Pagination*/
.pagination{
	margin-bottom: 40px;
	margin-top: 40px;
}

.pagination .nav-links{
	text-align: center;
	font-size: 18px;
	background-color: #F0F0F0;
}

.pagination .page-numbers{
	padding: 2%;
	display: inline-block;
	text-decoration: none;
}

.pagination .current{
	color: #C10000;
}

.pagination .next,
.pagination .nav-links .prev{
	color: #fff;
	background-color: #C10000;
}

.pagination .next{
		float: right;
}

.pagination .next:after{
	content: '\2192';
}

.pagination .nav-links .prev{
		float: left;
}

.pagination .prev:before{
	content: '\2190';
}


/* bottom footer */
.bottom-footer{
	color: #fff;
	width: 90%;
	padding: 5%;
	float: left;
	background: #C13600;
	margin-top: 20px;
	margin-bottom: 20px;
}
.bottom-footer a{
	text-decoration: none;
	color: #fff;
}
.bottom-footer a:hover{
	text-decoration: underline;
}
.copyright{
	float: left;
}
.credits{
	float: right;
}


/* MEDIA QUERIES */
@media (max-width: 1200px){
	/*style home posts view */
	.home-post-grid{
		/* making grid using css3 column property*/
		-webkit-column-count: 3; /* Chrom*/
		-moz-column-count: 3; /* Firefox */
		column-count: 3; /* Others */
	}

	/* styling recipe page */
	.recipe-grid{
		/* making grid using css3 column property*/
		-webkit-column-count: 4; /* Chrom*/
		-moz-column-count: 4; /* Firefox */
		column-count: 4; /* Others */
	}

}



@media (max-width: 800px){
	/*----*/
	/* make menu disapper by default*/
	.header-menu{
		display: none;
		text-align: left;
	}

	/* make menu-button appear */
	#menu-button{
		display: inline-block;
		float: right;
		font-size: 2.5em;
	}

	.header-menu ul li{
		display: block;
		margin: 0 10px;
		text-decoration: none;
		font-size: 18px;
		font-weight: bold;
		color: #fff;
		border-top: solid 1px #fff;
	}

	.header-menu ul li a{
		width: 100%;
	}

	.menu-item-has-children{
		display: block !important;
	}

	.header-menu ul li.menu-item-has-children > a{
		width: 90%;
	}

	.sub-menu{
		margin-top: 10px;
		margin-left: 50px !important;
	}
	/*.menu-item-has-children > a:after{
		content: " \25B8";
		color: #fff;
		display: inline;
		position: relative;
		bottom: 36px;
		left: 46px;
	}*/

	.menu-item-has-children:after {
  		content: " \25BE";
  		color: #fff;
  		display: inline-block;
  		height: 100%;
  		width: 8%;
  		border: 1px solid;
  		text-align: center;
  		border-radius: 2px;
  		cursor: pointer;
  	}

	.banner{
		padding: 10px;
		text-align: left;
		background: #C10000;
		color: #fff;
	}
	#site-title{
		display: inline;
	}
	#site-title a{
		font-size: 100%;
		color: #fff;
	}
	#description{
		color: #fff;
	}

	
	/*style home posts view */
	.home-post-grid{
		/* making grid using css3 column property*/
		-webkit-column-count: 1; /* Chrom*/
		-moz-column-count: 1; /* Firefox */
		column-count: 1; /* Others */
	}

	/* styling recipe page */
	.recipe-grid{
		/* making grid using css3 column property*/
		-webkit-column-count: 1; /* Chrom*/
		-moz-column-count: 1; /* Firefox */
		column-count: 1; /* Others */
	}

	.home-body, .content-area {
		float: left;
		width: 100%;
	}

	.widget-area {
  		width: 96%; /*96 because 4% goes to padding */
  		float: left;
	}


	.credits{
		margin-top: 10px;
		display: block;
		float: left;
	}

}

@media (max-width: 400px){
	/*style home posts view */
	.home-post-grid{
		/* making grid using css3 column property*/
		-webkit-column-count: 1; /* Chrom*/
		-moz-column-count: 1; /* Firefox */
		column-count: 1; /* Others */
	}

	/* styling recipe page */
	.recipe-grid{
		/* making grid using css3 column property*/
		-webkit-column-count: 1; /* Chrom*/
		-moz-column-count: 1; /* Firefox */
		column-count: 1; /* Others */
	}

}