/*
Theme Name: CookingBook
Theme URI: http://smthemes.com/cookingbook/
Author: The Smart Magazine Themes
Author URI: http://smthemes.com/
Description: Template by SMThemes.com
Version: 2.1
License: Creative Commons 3.0
Theme date: 05/20/2014
License URI: license.txt
Tags: black, green, dark, fixed-width, featured-images, custom-menu, translation-ready, threaded-comments, theme-options
*/


/*	-==========================- GENERAL -==========================-  */
/*------------------------------ PAGE ------------------------------*/
@import url(css/font.css);

html {
	background:#130704;
	
}
body {	
	background:url(images/background.png) left top repeat-x;
	color:#130704;
	position:relative;
}
a {
	color:#a87e4c;
}
a:hover {
	color:#ba4137;
}
a.post_ttl, .post-caption h1 {
	color:#1b1b1b;
	font-size:26px;
}
h2 a.post_ttl:hover{
	color:#ba4137;
}



/*------------------------------ HEADER ------------------------------*/
#header {
	background:url(images/top.png) left top repeat-x;
}
#header .container{
	position:relative;
}
#secondarymenu-container {
	position:relative;
}


/*------------------------------ SEARCH ------------------------------*/
#s {
	background:#fff;
	border:3px solid #ae6355;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	box-shadow:0px 0px 2px #333;
	color:#3d3d3d;
	height:25px;
	line-height:25px;
	width:186px;
}
.searchbtn {
	height:31px;
	width:21px;
	margin-right:10px;
}
.searchform {
	width:250px;
}

/*------------------------------ CONTENT ------------------------------*/
.articles .post-caption p, .articles .post-caption {padding:0;}
#commentform #submit, input.readmore, a.readmore {
	background:url(images/readmore.png) left top no-repeat;
	width:144px;
	border:0px;
	height:42px;
	text-align:center;
	line-height:42px !important;
	color:#493836;
	text-decoration:none;
	padding:0;
}
#commentform #submit:hover, input.readmore:hover, a.readmore:hover {
	color:#ba4137;
}
.featured_image {
	background:#cab499;
	margin-top:15px;
	padding:4px;
	border:none;
	box-shadow:0 1px 2px #9e9e9c;
}
.googlemap {
	background:#cab499;
	margin-top:15px;
	padding:4px;
	border:none;
	box-shadow:0 1px 2px #9e9e9c;
}
.widget_posts ul li img,.widget_flickr a {
	border:2px solid #cab499;
	padding:0;
}
.pagination{
	margin:30px 0;
}
.pagination.classic {
	padding-top:30px;
	text-align:right;
}
.page-numbers {
	padding:5px 10px;
}
a.page-numbers {
}
a.page-numbers:hover, span.page-numbers {
	text-decoration:none;
	color:#020202;
}
 

/*------------------------------ FOOTER ------------------------------*/
#footer  {
	background:#0d0000;
	border-top:1px solid #222021;
	color:#c3b9aa;
	margin-top:20px;
}
#footer .container {
	padding-top:20px;
}
#footer a, #footer h3 { color:#fff; }
#footer .footer_txt {
	border-top:1px dashed #4a3932;
}
#footer .footer_txt .container {
	width:auto;
}
/*------------------------------ WIDGETS AND SLIDER ------------------------------*/
.content-r .sidebar.right, .content-lr .sidebar.right, .content-r2 .sidebar.left, .content-r2 .sidebar.right {
	margin-left:5px;
}
.content-l .sidebar.left, .content-lr .sidebar.left, .content-l2 .sidebar.left, .content-l2 .sidebar.right{
	margin-right:5px;
}

#content .widget .caption h3 {
 padding:0 5px;
}
#content .widget {
	border-bottom:1px solid #c65a5d;
}
.fp-next{
	background-position:left 50%;
	width:27px;
}
.fp-prev {
	background-position:right 50%;
	width:27px;
}
	
/*	-==========================- DESKTOP -==========================-  */
@media only screen and (min-width:1024px) {
	#content .container {
		padding:0 18px;
		width:964px;
	}
	#content-top {
		height:33px;
	}
	#content-bottom {
		height:31px;
	}
	#logo {
		position:absolute;
		top:13px;
	}
	.no-slider #logo {
		
	}
	.no-slider #header .container {
		height:139px;
	}
	.menusearch {
		margin-top:44px;
	}
	.no-slider .menusearch {
		position:absolute;
		right:0;
		margin:0;
		top:147px;
	}
	/*------------------------------ MENU ------------------------------*/
	#secondarymenu-container {
		height:31px;
		position:relative;
		z-index:11;
	}
	#secondarymenu {
		position:absolute;
		left:266px;
		top:47px;
		background:url(images/topmenu-left.png) left top no-repeat;
		padding-left:27px;
	}
	.menu-topmenu-container {
		background:url(images/topmenu-right.png) right top no-repeat;
		height:46px;
		padding-bottom:4px;
		padding-right:27px;
	}
	#secondarymenu a {
		padding:15px 9px;
		color:#414141;
		font-family:times;
	}
	#secondarymenu a:hover{
		color:#ba4137;
	}
	.no-slider #secondarymenu {
		left:-3px;
		top:150px
	}
	#header-block {
		position:relative;
	}
	
	#mainmenu-container {
		z-index:18;
		width:242px;
		padding:0 12px;
		height:447px;
		float:left;
		margin-left:-13px;
		background:url(images/menu.png) left top no-repeat;
		padding-top:117px;
	}
	.no-slider #header{
		height:204px;
	}
	.no-slider #mainmenu-container {
		margin-left:-5px;
		width:758px;
		height:117px;
		padding-top:0;
		padding-left:242px;
		
		float:none;
		background:url(images/menu2.png) left top no-repeat;
	}
	.no-slider #mainmenu {
		background:none;
	}
	.no-slider #mainmenu li a {
		width:auto;
		padding:39px 20px;
	}
	.no-slider #mainmenu li a:hover {
		padding:39px 20px;
		background:none;
	}
	#mainmenu {
		background:url(images/mainmenu-bottom.png) left bottom no-repeat;
		height:100%;
	}
	#mainmenu li a {
		width:242px;
		padding:11px 0;
		font-size:18px;
		text-align:center;
		color:#373737;
		font-family:times;
	}
	#mainmenu li {
		position:relative;
	}
	#mainmenu li a:hover{
		background:url(images/menu-li-active.png) left top repeat;
		padding:10px 0;
		border-top:1px solid #bca28d;
		border-bottom:1px solid #bca28d;
	}

	.no-slider #header #mainmenu li ul {
		top:71px;
		left:0;
	}
	#header #mainmenu li ul {
		top:0;
		left:222px;
	}
	#header li ul {
		top:35px;
	}
	#header li ul .transparent {
		background:#fff;
	}
	#header li ul .inner {
		border:2px solid #c66755;
		background:#f8f3db;
	}
	#header ul.children li, #header .sub-menu li {
		padding:0 !important;
		margin:0 !important;
		height:25px;
		line-height:25px;
	}
	#header ul.children li a, #header .sub-menu li a {
		color:#373737 !important; 
		padding:0 !important;
		height:25px;
		line-height:25px;
		width:auto;
	}
	#header ul.children li a:hover, #header .sub-menu li a:hover {
		background:none !important;
		color:#373737 !important; 
		text-shadow:0 0 2px #fff !important;
		border:none !important;
		box-shadow:none !important;
		text-decoration:underline !important;
	}
	


	#header .sub-menu .sub-menu {
		top:0 !important;
	}
	
	/*------------------------------ SLIDER ------------------------------*/
	.slider-container {	
		float:right;
		width:733px;
		margin-top:14px;
		background:url(images/slider-shadow.png) 50% bottom no-repeat;
		padding-bottom:84px;	
	}
	.slider {
		position:relative;
		width:721px;
		padding:12px 0;
		background:#b44e42;
		padding:6px;
		border-radius:5px;
		-moz-border-radius:5px;
		-webkit-border-radius:5px;
		border:1px solid #811505;
	}
	.fp-next, .fp-prev {
		margin:0 10px;
		width:44px;
		height:390px;
	}
	.fp-title{
		font-size:13px;
	}
	
	.fp-prev-next-wrap {
		margin:0 -6px;
	}
	.slider-nothumb .fp-slides, .slider-nothumb .fp-thumbnail, .slider-nothumb .fp-slides-items {
		height:188px;
	}
	.fp-slides,.fp-thumbnail,.fp-slides-items  {
		height:407px;
		width:721px;
	}
	.fp-content-fon {
		border-bottom:none;
		border-left:none;
		border-right:none;
	}
	.fp-content-fon, .fp-content {	
		left:0;
		right:0;
		bottom:0;
		text-align:left;
		font-size:13px;
	}
	.fp-nav {
		bottom:-40px;
	}
	.slider-nothumb .fp-content-fon {
		background:#fff;
	}
	.slider-nothumb .fp-content a,.slider-nothumb .fp-content p{
		color:#000;
	}
	
	#footer .footer_txt .container {
		
	}
	.content-l #content .container { background:url(images/content/main-l.png) left top repeat-y; }
	.content-r #content .container { background:url(images/content/main-r.png) left top repeat-y; }
	.content-lr #content .container { background:url(images/content/main-lr.png) left top repeat-y; }
	.content-l2 #content .container { background:url(images/content/main-l2.png) left top repeat-y; }
	.content-r2 #content .container { background:url(images/content/main-r2.png) left top repeat-y; }
	.content-n #content .container { background:url(images/content/main-n.png) left top repeat-y; }

	.content-l #content-top { background:url(images/content/top-l.png) left top repeat-y; }
	.content-r #content-top  { background:url(images/content/top-r.png) left top repeat-y; }
	.content-lr #content-top  { background:url(images/content/top-lr.png) left top repeat-y; }
	.content-l2 #content-top  { background:url(images/content/top-l2.png) left top repeat-y; }
	.content-r2 #content-top  { background:url(images/content/top-r2.png) left top repeat-y; }
	.content-n #content-top  { background:url(images/content/top-n.png) left top repeat-y; }

	.content-l #content-bottom { background:url(images/content/bottom-l.png) left bottom repeat-y; }
	.content-r #content-bottom  { background:url(images/content/bottom-r.png) left bottom repeat-y; }
	.content-lr #content-bottom  { background:url(images/content/bottom-lr.png) left bottom repeat-y; }
	.content-l2 #content-bottom  { background:url(images/content/bottom-l2.png) left bottom repeat-y; }
	.content-r2 #content-bottom  { background:url(images/content/bottom-r2.png) left bottom repeat-y; }
	.content-n #content-bottom  { background:url(images/content/bottom-n.png) left bottom repeat-y; }

}	


/*	-==========================- TABLET -==========================-  */
@media only screen and (min-width:640px) and (max-width:1023px) {
	#header .container {
		background:none;
	}
	#logo {
		background: url(images/logo-background.png) no-repeat left bottom;
		float: left;
		margin-left: 20px;
		margin-top: 4px;
		padding: 0 9px 33px;
	}
	#header-banner {
		margin-top:25px;
		float:right;
	}
	/*------------------------------ MENU ------------------------------*/
	.menusearch {
		margin-right:20px;
		margin-top:66px;
	}
	#secondarymenu-container {
		padding-top:0px;
		
	}
	#secondarymenu {
		clear:both;
		background:#f8f3db;
		overflow:hidden;
	}
	#secondarymenu li {
	}
	#secondarymenu li a{
		padding:15px;
		font-size:15px;
		color:#ba4137;
	}

	#mainmenu-container {
		clear:both;
		padding-bottom:10px;
		background:#f8f3db;
	}
	#mainmenu li {
		padding:0;
		float:left;
	}
	#mainmenu a {
		color:#ba4137;
		text-decoration:none;
		font-size:20px;
		padding:10px 15px;
		display:block;
		
	}

	#header ul.children li a, .sub-menu li a {
		padding:0 15px !important;
		color:#ba4137 !important;
	}
	
}

/*	-==========================- MOBILE -==========================-  */
@media only screen and (min-width:240px) and (max-width:639px) {
	.menusearch {padding:13px 0;margin-top:28px;}
	#header {
	
	}
	#logo {
		margin-bottom:-35px;
		background: url(images/logo-background.png) no-repeat center bottom;
		margin-left: 20px;
		margin-top:0;
		padding: 0 9px 31px;
	}
	.searchbtn {
		width:auto !important;
	}
	#secondarymenu-container {
		padding-top:6px;
	}
	#secondarymenu, #mainmenu {
		background:#fff;
		padding:0 2%;
		margin-top:10px;
	}
	#secondarymenu li, #mainmenu li {
		border-top:1px solid #d7d7d7;
	}
	#secondarymenu li a, #mainmenu li a{
		color:#363636;
		text-decoration:none;
	}
	.fp-next, .fp-prev {
		margin:0 -5px;
	}
	.footer-widgets .widgetf:first-child {
		border:none;
	}
	
	#footer {
		width:100%;
	}
	.widgetf {
		border-top:1px solid #d3d3d3;
	}
	.articles .post-date {
		float:none;
	}
	.articles dt p img {
		display:none;
	}
	.fp-nav {
		bottom:-18px;
	}
	.slider-container {
		padding-bottom:20px;
	}
	#s {
		width:70%;
	}
}