/*
Theme Name: art-lunch
Version: 2
*/


@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: url("./fonts/Regular/OpenSans-Regular.eot");
	src: url("./fonts/Regular/OpenSans-Regular.eot") format("embedded-opentype"), url("./fonts/Regular/OpenSans-Regular.woff") format("woff"), url("./fonts/Regular/OpenSans-Regular.ttf") format("truetype"), url("./fonts/Regular/OpenSans-Regular.svg#OpenSansBold") format("svg");
}
@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: url("./fonts/Bold/OpenSans-Bold.eot");
	src: url("./fonts/Bold/OpenSans-Bold.eot") format("embedded-opentype"), url("./fonts/Bold/OpenSans-Bold.woff") format("woff"), url("./fonts/Bold/OpenSans-Bold.ttf") format("truetype"), url("./fonts/Bold/OpenSans-Bold.svg#OpenSansBold") format("svg");

}


/**
 * Common
 */
html {
	height: 100%;
	font-size: 14px;
	color: #333;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}
@media only screen and (min-width: 768px) {
	html {
		font-size: 16px;
	}
}
body {
	font-family: "Open Sans", sans-serif;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	height: 100%;
	padding-top: 53px;
}
@media only screen and (min-width: 768px) {
	body {
		font-size: 16px;
		padding-top: 139px;
	}
}
::selection {
	background: #64aabe; /* WebKit/Blink Browsers */
	color: #fff;
}
::-moz-selection {
	background: #64aabe; /* Gecko Browsers */
	color: #fff;
}

.brand-color{
	color: #64aabe !important;
}
.dark-section{
	color: #fff;
	background: #2e373c;
}
.border-radius{
	border: none;
	border-radius: 0.625rem;
	box-shadow: 0 0 1px 1px rgba(200,200,200,0.25);
	overflow: hidden;
}
.decorated{
	overflow: hidden;
	text-align: center;
}
.decorated > span{
	position: relative;
	display: inline-block;
}
.decorated > span:before, .decorated > span:after{
	content: '';
	position: absolute;
	top: 50%;
	border-bottom: 2px dotted #bbb;
	width: 300%;
	margin: 0 0.625rem;
}
.decorated > span:before{
	right: 100%;
}
.decorated > span:after{
	left: 100%;
}
.btn-print{
	font-size: 1.1rem;
}
@media only screen and (min-width: 992px) {
	.btn-print{
		font-size: 1.25rem;
	}
}
.disabled{
	display: none;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,.5);
	z-index: 50;
}
.close{
	position: absolute;
	top: 0;
	right: 10px;
	height: 100%;
	font-size: 2.5rem;
}
.fancybox{
	position: relative;
}



/**
 * Bootstrap
 */
.btn,
a{
	outline: none !important;
}
.btn-default{
	color: #555;
	background: #f1f1f1;
	border-color: #eee;
}
.btn-default:hover{
	background: #c8ecf2;
	border-color: #c5e9f0;
}
.form-control:focus {
	border-color: #64aabe;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(100, 170, 190, 0.5);
	outline: 0 none;
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
	background-color: #64aabe;
	border-color: #64aabe;
}
.nav-pills > li > a {
	border-radius: 0;
}
.text-primary{
	color: #333;
}
.page-header {
	padding-bottom: 0.3125rem;
	margin: 0.625rem 0;
}
@media only screen and (min-width: 768px) {
	.page-header {
		margin: 2.5rem 0 1.25rem;
	}
}
.page-header h1{
	margin-bottom: 0.5rem;
}


/**
 * Typography
 */
h1{
	font-size: 1.4rem;
}
h2{
	font-size: 1.25rem;
}
h3{
	font-size: 1.2rem;
}
h4{
	font-size: 16px;
}

@media only screen and (min-width: 768px) {
	h1{
		font-size: 2rem;
	}
	h2{
		font-size: 1.6rem;
	}
	h3{
		font-size: 1.3rem;
	}
	h4{
		font-size: 1.2rem;
	}
	h5{
		font-size: 1.1rem;
	}
}



/**
 * Layout
 */
#wrapper {
	min-height: 100%;
	margin: 0 auto -10.1875rem; /* #footer height  */
}
.container{
	width: 100%;
}
@media only screen and (min-width: 1110px) {
	.container{
		width: 69.375rem;
	}
}
@media only screen and (min-width: 768px) {
	.home main section,
	.single main section.recent{
		padding: 1.2rem 0;
	}
}
#footer, .push {
	height: 10.1875rem;
}
#footer{
	padding-top: 3.125rem;
	font-size: 0.8rem;
}
#footer > div{
	min-height: 7.0625rem;
}
#footer p:first-child{
	margin-top: 0.625rem;
}

/**
 * Light Menu
 */
.lightMenu-btn{
	position: absolute;
	top: 0;
	z-index: 25;
	width: 3.5rem;
	height: 100%;
	padding: 0;
	font-size: 1.5rem;
	color: #fff !important;
}
.btn-ingredients{
	display: none;
}
.single .btn-ingredients{
	display: block;
}
@media only screen and (min-width: 768px) {
	.lightMenu-btn{
		display: none !important;
	}
}
.lightMenu-on .lightMenu-left,
.lightMenu-on .lightMenu-right{
	position: fixed;
	z-index: 55;
	top: 0;
	bottom: 0;
	overflow-y: auto;
	width: 75%;
	transition: all 0.25s ease-in-out;
}
.lightMenu-btn[data-direction*="left"],
.lightMenu-item-opened.lightMenu-left{
	left: 0 !important;
}
.lightMenu-btn[data-direction*="right"],
.lightMenu-item-opened.lightMenu-right{
	right: 0 !important;
}
.lightMenu-item-opened.lightMenu-left{
	box-shadow: 10px 5px 10px -5px rgba(0,0,0,0.25);
}
.lightMenu-item-opened.lightMenu-right{
	box-shadow: -10px 5px 10px -5px rgba(0,0,0,0.25);
}
.lightMenu-opened .disabled{
	display: block;
}
.lightMenu-opened body {
	overflow: hidden !important;
}


/**
 * Header
 */
.topbar{
	padding: 0.625rem 0;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 65;
}
@media only screen and (min-width: 768px) {
	.topbar{
		padding: 1.25rem 0;
		box-shadow: none;
	}
}
.header-fixed{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 99;
}
.logo{
	width: 150px;
	height: 2rem;
	margin: 0 auto;
}
@media only screen and (min-width: 768px) {
	.logo{
		float: left;
		width: 21rem;
		height: 3.4375rem;
		margin: 0;
	}
}
.logo a{
	display: flex;
	align-items: center;
	height: inherit;
	color: #fff;
}
.logo a:hover,
.logo a:focus{
	text-decoration: none;
}
.logo img{
	float: left;
	margin-right: 0.75rem;
	width: auto;
	height: 25px;
}
@media only screen and (min-width: 768px) {
	.logo img{
		width: 55px;
		height: 50px;
	}
}
.site-title{
	font-size: 1.25rem;
	line-height: 2rem;
}
@media only screen and (min-width: 768px) {
	.site-title{
		font-size: 2rem;
		line-height: 1.25;
	}
}
.site-title p{
	font-size: 0.8rem;
	margin: 0;
}
.toggle-navbar{
	left: 0;
}
#navbar {
	left: -100%;
	background: #3e474c;
}
@media only screen and (min-width: 768px) {
	#navbar {
		position: static;
		width: 100%;
		background: #f9f9f9;
		box-shadow: 0 5px 6px -4px rgba(0, 0, 0, 0.1);
		transition: none;
	}
}

#navbar li {
	border-top: 1px solid #2e373c;
	border-bottom: 1px solid #4e575c;
}
#navbar li:first-child{
	padding-top: 1rem;
	border-top: none;
}
#navbar li:nth-last-child(2){
	border-bottom: none;
}
@media only screen and (min-width: 768px) {
	#navbar li{
		border: none;
	}
	#navbar li:first-child{
		padding-top: 0;
	}
}
#navbar a,
#navbar span{
	display: block;
	text-align: left;
	color: #fff;
	margin: 0;
	padding: 0.4rem 0.8rem;
	font-size: 1.2rem;
}
#navbar a:hover{
	background: none;
}
#navbar li.active a,
#navbar span{
	background: #64aabe !important;
	color: #fff !important;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	box-shadow: 0 0 4px rgba(25, 25, 25, 0.1);
}
@media only screen and (min-width: 768px) {
	#navbar a,
	#navbar span{
		text-align: center;
		font-size: 1rem;
		color: #333;
		padding: 0.375rem;
	}
	#navbar a:hover{
		background: #eee;
	}
}
@media only screen and (min-width: 1110px) {
	#navbar a,
	#navbar span{
		font-size: 1.25rem;
		padding: 0.5rem 0.75rem;
	}
	#navbar a:first-letter{
		color: #64aabe;
	}
	#navbar li.active > a:first-letter{
		color: #fff
	}
}
.search-block {
	position: absolute;
	left: 0;
	bottom: 0.625rem;
	width: 100%;
	z-index: -1;
	background: rgba(245,245,245,0.9);
}
.search-block form{
	position: relative;
	padding: 1.5625rem;
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
}
.search-block .input-group {
	width: 90%;
}


/**
 * Social
 */
.social-icon{
	float: right;
	text-align: center;
	font-size: 14px;
	letter-spacing: 1px;
}
.social-icon a {
	display: block;
	float: left;
	height: 25px;
	width: 40px;
	font-size: 25px;
	color: #fff;
	opacity: 0.8;
	transition: all 0.1s ease-in-out;
}
.social-icon a:last-child{
	margin-right: 0;
	margin-left: 0.125rem;
}

.social-icon a:hover{
	opacity: 1;
}
.social-widgets .row{
	min-height: 225px;
}
.social-widgets .row > div{
	padding-left: 5px;
	padding-right: 5px;
}
.social-widget{
	border: 1px solid #b0d6e2
}
.social-widget.ok{
	border: none;
}
.social-widget > div,
.social-widget span,
.social-widget iframe{
	width: 100% !important;
}
.social-share > div{
	min-height: 1.4375rem;
}
#yashare{
	min-height: 36px;
}


/**
 * Page header
 */
.tag .page-header img{
	vertical-align: middle;
}
.tag .page-header h1{
	margin: 0;
	line-height: 105px;
}
.author .page-header h1{
	margin: 0;
	line-height: 50px;
	font-size: 1.1rem;
}
@media only screen and (min-width: 768px) {
	.author .page-header h1{
		font-size: 2rem;
	}
}
/**
 * Thumbnails
 */
.post-thumbnail {
	display: block;
	position: relative;
	overflow: hidden;
	color: #333;
}
.post-thumbnail img{
	width: 100%;
}
@media only screen and (min-width: 768px) {
	.post-thumbnail img{
		width: 348px;
		height: auto;
	}
}
.post-thumbnail .post-title{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	background: rgba(255, 255, 255, 0.6);
	text-align: center;
	text-shadow: 0 0 10px #fff;
	color: #000;
	margin: 0;
	padding: 0.5rem 0.625rem;
}
.post-thumbnail:hover .post-title{
	background: rgba(255, 255, 255, 0.7);
}
.post-thumbnail:hover img{
	opacity: 0.9;
	filter: contrast(1.1) saturate(1.1);
	-webkit-filter: contrast(1.1) saturate(1.1);
}
.post-thumbnail img.blur{
	position: absolute;
	top: 0;
	left: 0;
	filter: blur(2px) contrast(0.9) saturate(0.9);
	-webkit-filter: blur(2px) contrast(0.9) saturate(0.9);
}

.post-thumbnail h4{
font-size: 16px;
}

.not-blur .post-title {
	background: rgba(255, 255, 255, 0.75) !important;
}


/**
 * Feature section
*/
.feature .col-sm-8{
	padding: 0 29px 0 15px;
}
.feature .col-sm-4{
	padding-left: 0;
}
.feature img{
	width: 696px;
	height: auto;
}
.feature .list-group{
	margin-bottom: 0;
}
.feature .list-group-item{
	border-left: none;
	border-right: none;
	padding: 0.5rem 0.75rem;
	font-size: 0.9rem;
}
@media only screen and (min-width: 992px) {
	.feature .list-group-item{
		padding: 0.625rem 0.9rem;
		font-size: 1rem;
	}
}
.feature .list-group-item:first-child{
	border-top: none;
}
.feature .list-group-item:last-child{
	border-bottom: none;
}

/**
 * Collection
*/
.collection-grid .row{
	margin: -0.3125rem;
}
.collection-grid .row > div{
	padding: 7px;
}
.collection-grid .btn{
	margin-top: 0.625rem;
}

/**
 * Articles
 */
article {
	margin: 0 -5px 25px;
}
.articles {
	display: none;
}
@media only screen and (min-width: 768px) {
	.articles {
		display: block;
	}
}
.articles .list-group-item{
	display: flex;
	align-items: center;
	background: transparent;
	border: none;
	border-radius: 0;
}
.articles .list-group-item img{
	float: left;
	margin-right: 1rem;
}
.article-content img{
	margin-bottom: 2rem;
}

/**
 * Recipes
 */
.breadcrumb {
	display: none;
}
@media only screen and (min-width: 768px) {
	.breadcrumb {
		display: block;
	}
}

.recipe-content img{
	margin: 0.3125rem 0 2rem;
	width: 100%;
	height: auto;
}
@media only screen and (min-width: 768px) {
	.recipe-content img {
		width: 720px;
	}
}
.recipe-content img.full{
	margin-bottom: 0;
}
.recipe-content .fancybox img{
	width: 300px;
	height: auto;
}
.recipe-content .author {
	display: none;
}
@media only screen and (min-width: 768px) {
	.recipe-content .author {
		display: block;
		line-height: 3.125rem;
		font-size: 1rem;
		padding: 0.3125rem;
		margin: 0 0 1.5rem;
		color: #333;
	}
}
.recipe-content {
	font-family: Verdana;
}
.recipe-content .author:hover{
	text-decoration: none;
	background: #f8f8f8;
}
.recipe-content .author img{
	width: 50px;
	height: auto;
	float: left;
	box-shadow: none !important;
	margin: 0 0.75rem 0 0;
}
.recipe-content .recipe-begin{
	position: relative;
	margin-bottom: 2rem;
}
.recipe-content .recipe-begin > div{
	position: absolute;
	top: -0.15rem;
	right: 0;
	font-size: 1.1rem;
	line-height: 1rem;
}
.recipe-content .recipe-begin button{
	text-transform: uppercase;
}
.recipe-content .recipe-begin button.active,
.recipe-content .recipe-begin button.active:hover{
	background: #64aabe;
	color: #fff;
	cursor: default;
}
.recipe-content a.pull-left{
	margin: 0 0.5rem 0.5rem;
}
.recipe-content a.pull-left img{
	margin: 0;
}
.recipe-content .fa-arrows-alt{
	opacity: 0;
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	color: #fff;
	font-size: 1.5rem;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	transition: all 0.25s ease-in-out;
}
.recipe-content a:hover .fa-arrows-alt{
	opacity: .75;
}
#yashare .b-share__link{
	padding: 2px 4px !important;
}
#yashare .b-share__link:active{
	height: 30px;
}
@media only screen and (min-width: 768px) {
	#yashare .b-share__link{
		padding: 5px 10px !important;
	}
	#yashare .b-share__link:active{
		height: 34px;
	}
}


/**
 * Ingredients
 */
.recipe-content .ingredients{
	margin-bottom: 3rem;
}
.recipe-content .ingredients.screen .panel{
	background: #f8f8f8;
}
.ingredients .title{
	text-align: center;
}
.ingredients .title:first-child{
	margin-top: 0;
}
article .ingredients.screen ol {
	counter-reset: ingredients-counter;
	margin: 0;
	padding-left: 0.3125rem;
}
article .ingredients ol {
	-webkit-column-count: 1;
	-moz-column-count: 1;
	column-count: 1;
}
@media only screen and (min-width: 768px) {
	.ingredients ol {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
	}
}
article .ingredients.screen ol li {
	position: relative;
	padding-left: 2.25rem;
	list-style: none;
	min-height: 1.9rem;
	transition: all 0.2s ease-in-out;
	overflow: overlay;
}
aside .ingredients.screen ol li {
	list-style: none;
}
article .ingredients.screen ol li:before {
	content: counter(ingredients-counter);
	counter-increment: ingredients-counter;
	position: absolute;
	top: 0;
	left: 0;
	width: 1.6rem;
	height: 1.6rem;
	line-height: 1.6rem;
	padding: 0;
	color: #fff;
	background: #74bace;
	font-size: 0.75rem;
	font-weight: 700;
	text-align: center;
	border-radius: 50%;

	z-index: 1;
	transition: all 0.25s ease-in-out;
}
article .ingredients.screen li:hover:before {
	background-color: #64aabe;
}
.ingredients .alert{
	font-size: 0.9rem;
	position: relative;
	padding-right: 50px;
}
.toggle-inrgedients{
	right: 0;
}


/**
 * Sidebar
 */
.sidebar{
	margin-top: 5rem;
}
.sidebar .ingredients {
	right: -100%;
	background: #fff;
}
@media only screen and (min-width: 768px) {
	.sidebar .ingredients {
		position: fixed;
		opacity: 0;
		right: auto;
		width: auto;
		box-shadow: none;
	}
}
.lightMenu-right .panel{
	background: #fff;
	box-shadow: none;
}
.lightMenu-right .panel-body{
	padding-bottom: 3rem;
}
.sidebar .ingredients.animation{
	transition: all 0.25s ease-in-out;
}
.sidebar .ingredients ol{
	-webkit-column-count: 1;
	-moz-column-count: 1;
	column-count: 1;
}
.sidebar .nav-tabs a{
	padding: 0.5rem;
	font-size: 0.9rem
}
.sidebar .nav-tabs .active a{
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	box-shadow: 0 -2px 1px 1px rgba(200, 200, 200, 0.1);
}
.sidebar .ingredients .tab-content{
	padding: 0.625rem;
	background: #fff;
	border: 1px solid #ddd;
	border-top: none;
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
}

/**
 * Products
 */
.products{
	position: relative;
	z-index: 10;
}
.products .row > div{
	padding: 0.562rem;
}
.products img:hover{
	opacity: 0.75;
}

/**
 * Submenu
 */
.submenu{
	margin-top: -20px;
	margin-bottom: 25px;
	font-size: 0.9rem;
}
@media only screen and (min-width: 1110px) {
	.submenu{
		font-size: 1rem;
	}
}
.submenu li {
	display: block;
}
.submenu li + li:before{
	padding: 0;
	content: '';
}
@media only screen and (min-width: 768px) {
	.submenu li {
		display: inline-block;
	}
	.submenu li + li:before{
		padding: 0 0.3125rem;
		content: '/ ';
	}
}
.submenu .active a{
	color: #333;
	text-decoration: none;
}

/**
 * Back to top button
 */
#back-top{
	position: fixed;
	top: 0;
	opacity: 1;
	margin-top: 6.25rem;
	margin-left: -6.25rem;
	z-index: 90;
	background: #e8e8e8;
	color: #fff;
	font-size: 2rem;
	transition: all 0.25s ease-in-out;
}
#back-top:hover{
	background: #64aabe;
}
#back-top.off{
	top: -1rem;
	opacity: 0;
}

/**
 * Search results
 */
section.search{
	margin-top: 4.5rem;
	padding: 1rem 0;
}

/**
 * fancyBox
 */
.fancybox-next {
	right: -4.7rem;
}
.fancybox-prev {
	left: -4.7rem;
}
.fancybox-skin{
	background: #fff;
}
.fancybox-lock .header-fixed .topbar,
.fancybox-lock .header-fixed .navbar{
	padding-right: 17px;
}

/**
 * Print
 */
.print-preview {
	color: #000;
}
.print-preview #recipeInstructions{
	padding-bottom: 3.125rem;
}
.print-preview .ingredients .panel{
	box-shadow: none;
}
.print-preview .btn-print{
	background: none;
	color: #fff;
	font-size: 1.5rem
}
.print-content{
	display: none;
}
@media print {
	@page {
		margin: 0.5cm;
	}
	body{
		font-size: 12pt;
	}
	a[href]:after {
		content: '';
	}
	h1{
		font-size: 20pt;
	}
	#wrapper,
	#footer {
		display: none !important;
	}
	.print-content{
		display: block;
	}
	.print-content:before{
		content: 'art-lunch.ru - Лучшие рецепты в фотографиях';
		font-size: 10pt;
		color: #888;
		font-style: italic;
	}
}
