// Show active breakpoint in top right corner of viewport
// $mq-show-breakpoints: (mobile, mobileLandscape, tablet, desktop, widescreen, tvscreen);

@import "bootstrap-custom";
@import "bootstrap/variables";
@import "bootstrap/mixins";
@import "base/markup-mixins";
@import "mq";

@-webkit-viewport   { width: device-width; }
@-moz-viewport      { width: device-width; }
@-ms-viewport       { width: device-width; }
@-o-viewport        { width: device-width; }
@viewport           { width: device-width; }

$mq-breakpoints: (
    // Base device classes
    tablet:      $screen-sm,
    desktop:    $screen-md,
    widescreen: 1100px,
    largeWidescreen: 1270px,
    mobileLandscape: 480px
);

@font-face {
	font-family: 'icomoon';
	src:url('../fonts/icomoon.eot?-wufwyc');
	src:url('../fonts/icomoon.eot?#iefix-wufwyc') format('embedded-opentype'),
		url('../fonts/icomoon.woff?-wufwyc') format('woff'),
		url('../fonts/icomoon.ttf?-wufwyc') format('truetype'),
		url('../fonts/icomoon.svg?-wufwyc#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-pin:before {
	content: "\e60d";
}

.icon-apple:before {
	content: "\e600";
}

.icon-arrows:before {
	content: "\e601";
}

.icon-facebook:before {
	content: "\e602";
}

.icon-facebook2:before {
	content: "\e603";
}

.icon-grid:before {
	content: "\e604";
}

.icon-instagram:before {
	content: "\e605";
}

.icon-phone:before {
	content: "\e606";
}

.icon-pinterest:before {
	content: "\e607";
}

.icon-search:before {
	content: "\e608";
}

.icon-square:before {
	content: "\e609";
}

.icon-star:before {
	content: "\e60a";
}

.icon-twitter:before {
	content: "\e60b";
}

.icon-list:before {
	content: "\e60c";
}

.filter-box-active{
	overflow: hidden;
	height: 100%;
	body{
		overflow: hidden;
		height: 100%;
	}
}

body{
	min-width: 320px;
	overflow-y: scroll;
	-webkit-text-size-adjust:100%;
	-ms-text-size-adjust:none;
	
}

h1, h2, h3, h4, h5, h6, b, strong, th{font-weight:bold;}
h1, h2, h3, h4, h5, h6{
	margin: 0 0 14px;
}
h1{
	font-size:150%;
}
h2{font-size:123.1%;}
h3{font-size:120%;}
h4{font-size:110%;}
h5{font-size:100%;}
h6{font-size:90%;}

blockquote{
	font-size: $font-size-base;
	line-height: $line-height-base;
	border: none;
	position: relative;
	padding: 0;
	&:after{
		content:"“";
		position:absolute;
		font-size: 62px;
		top:0;
		left:-38px;
		color: #d1d1d1;
		width: 20px;
		height: 20px;
		line-height: 1;
	}
	q{
		&:before,
		&:after {
			quotes: none;
		}
	}
}

#wrapper{
	position: relative;
	overflow: hidden;
}

.bg-stretch{
	position: absolute;
	overflow: hidden;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	img{
		max-width: none;
		display: block;
	}
}

.btn{
	padding: 6px 15px;
	transition: background 0.3s;
	&:hover,
	&:active,
	&:focus{
		box-shadow:none;
	}
	&.btn-default{
		background: none;
		&:hover,
		&.active{
			background: $brand-danger;
			color: $white;
			border-color:  $brand-danger;
			box-shadow:none;
		}
	}
	&.btn-danger{
		border:none;
	}
	&.btn-primary{
		background: none;
		&:hover{
			background: $btn-primary-border;
		}
	}
}

.badge{
	padding: 5px 7px 4px;
	font-weight: normal;
}

.add{
	color: $gray;
	i{
		font-size: 18px;
		display: inline-block;
		vertical-align: middle;
		margin:-1px 10px 0 0;
	}
	&:hover{
		color: $brand-danger;
		text-decoration: none;
	}
}

.form-control{
	height: 34px;
	box-shadow: 0 0 5px 0 rgba($black, 0.1) inset;
	color: $text-color;
	-webkit-appearance:none;
}

#header{
	box-shadow:0 2px 2px 0 rgba($black, 0.08);
	position: relative;
	z-index: 1000;
}

.navbar{
	padding-top: 11px;
	margin-bottom: 0;
}

.navbar-brand{
	padding: 0 0 0 8px;
	margin-top: -6px;
	height: auto;
	.home-page &{
		padding: 0 0 0 28px;
	}
}

.navbar-default{
	background: $white;
	border:none;
	.navbar-toggle{
		margin-top: 0;
		background: $brand-danger;
	}
}

.navbar-collapse{
	padding: 0;
	@include mq($until: desktop){
		text-align: center;
		position: absolute;
		top: 100%;
		width: 100%;
		background: $white;
		box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.08);
	}
}

.sign-in-box{
	font-size: 14px;
	font-weight: bold;
	@include mq($until: desktop){
		float: none !important;
		text-align: center;
		display: inline-block;
		vertical-align: middle;
		margin-bottom: 10px;
	}
	a{
		color: $gray;
		margin-left: 24px;
		@include mq($until: desktop){
			margin:0 3px 5px;
		}
		&:hover{
			color: $brand-danger;
			text-decoration: none;
		}
	}
	>a{
		margin-left: 0;
	}
	.btn{
		font-size: 14px;
		color: $white;
		padding: 6px 21px;
		font-weight: bold;
		&:hover{
			color: $white;
		}
	}
	.sign-up{
		display: inline-block;
		vertical-align: middle;
		
	}
	.sign-in{
		display: none;
	}
	&.login-active{
		.sign-up{
			display: none;
		}
		.sign-in{
			display: inline-block;
			@include mq($until: desktop){
				margin: 0 0 10px 5px;
				a{
					float: none;
					display: inline-block;
					margin: 0;
				}
			}
		}
	}
	.avatar{
		width: 38px;
		height: 38px;
		margin-left: 7px;
	}
	.caret{
		margin-left: 4px;
		border-top-color:#c3c3c3;
	}
	.user{
		margin-left: 15px;
		color: $red;
	}
}

#main{
	padding-bottom: 60px;
	.search-page &{
		padding-bottom: 0;
	}
}

.visual-box{
	position: relative;
	margin-bottom: 17px;
	background-size:cover;
	.text-box-holder{
		width: 100%;
		display: table;
		position: relative;
		z-index: 2;
		height: 100%;
		height: 438px;
		@include mq($until: tablet){
			height: 350px;
		}
	}
	.text-box{
		display: table-cell;
		vertical-align: middle;
		max-width: 740px;
		text-align: center;
		padding: 10px 10px 70px;
		color: $white;
		height: 100%;
		@include mq($until: tablet){
			padding: 10px;
		}
	}
	h1{
		margin: 0 0 24px;
		font-size: 40px;
		line-height: 58px;
		font-style: italic;
		@include mq($until: tablet){
			font-size: 35px;
			line-height: 40px;
		}
	}
}

.search-form{
	.navbar &{
		padding: 0 0 0 9px;
		@include mq($until: desktop){
			float: none !important;
			display: inline-block;
			vertical-align: middle;
			margin:0 10px 10px 0;
			padding-left: 0;
		}
		@include mq($until: tablet){
			display: block;
			max-width: 300px;
			margin: 0 auto 20px;
			padding-left: 0;
		}
	}
	@include mq($until: tablet){
		margin: 0 auto;
		max-width: 300px;
	}
	.btn-danger{
		background: $red;
		height: 41px;
		width: 90px;
		font-size: 16px;
		font-weight: bold;
		box-shadow:0 3px 5px 0 rgba($black, 0.35);
		.navbar &{
			box-shadow:none;
			background: $brand-danger;
			height: 36px;
			font-size: 14px;
			width: 81px;
			&:hover{
				background: $red;
			}
			@include mq($until: tablet){
				width: 100%;
			}
		}
		@include mq($until: tablet){
			width: 100%;
		}
		&:hover{
			background: darken($red, 5%);
		}
	}
	.form-control,
	.jcf-select{
		width: 100%;
		height: 41px;
		margin: 0;
		font-size: 15px;
		box-shadow:none;
		min-width: 0;
		.navbar &{
			height: 36px;
			font-size: 13px;
		}
		@include mq($until: tablet){
			width: 100%;
		}
		.jcf-select-text{
			margin-top: 7px;
			.navbar &{
				margin: 5px 35px 0 9px;
			}
		}
	}
	.jcf-select{
		box-shadow:0 3px 5px 0 rgba($black, 0.35);
		padding-left: 25px;
		.navbar &{
			box-shadow:none;
			&:after{
				background-position: -22px 0;
				width: 18px;
				height: 22px;
			}
		}
		&:after{
			content:"";
			position:absolute;
			top:7px;
			left:9px;
			width:20px;
			height:25px;
			background: url(../images/sprite.png) no-repeat;
		}
		.jcf-select-opener{
			right: 18px;
		}
	}
	.form-group{
		margin-right: 6px;
		box-shadow:0 3px 5px 0 rgba($black, 0.35);
		width: 258px;
		background: $white;
		border-radius: $border-radius-base;
		.navbar &{
			box-shadow:none;
			width: 228px;
			margin-right: 5px;
			@include mq($until: widescreen){
				width: 185px;
			}
			@include mq($until: tablet){
				width: 100%;
			}
		}
		@include mq($until: tablet){
			width: 100%;
			margin:0 0 10px;
		}
		.input-group{
			background: $white;
			border: 1px solid $input-border;
			border-radius: $border-radius-base;
		}
		.input-group-addon{
			background: $white;
			font-size: 25px;
			padding: 3px 0 0 6px !important;
			border: none;
			.navbar &{
				font-size: 23px;
			}
		}
		.form-control{
			border-left: none;
			padding-left: 7px;
			width: 225px;
			border: none;
			height: 39px;
			padding-right: 5px;
			.navbar &{
				width: 196px;
				padding-left: 6px;
				height: 34px;
				@include mq($until: widescreen){
					width: 155px;
				}
			}
			@include mq($until: tablet){
				width: 268px;
			}
			&:focus{
				outline:none;
				border-color:$input-border;
				box-shadow:none;
			}
		}
	}
}



.jcf-select-country{
	&.jcf-select-country2{
		.jcf-list .jcf-option{
			font-size: 13px;
			padding-left: 34px;
		}
	}
	.jcf-list .jcf-option{
		font-size: 15px;
		padding-left: 37px;
	}
}

.category-holder{
	margin:0 0 42px;
	.category-box{
		margin: 0 0 0 -15px;
		@include clearfix;
	}
	.category{
		float: left;
		padding:0 0 10px 15px;
		width: 41.3%;
		position: relative;
		@include mq($until: mobileLandscape){
			width: 100% !important;
		}
		&.category-1{
			@include mq($until: tablet){
				width: 40%;
			}
		}
		img{
			position: relative;
			z-index: -1;
			@include mq($until: tablet){
				max-width: none;
				width: 100%;
			}
		}
		&.category-2{
			width: 28.8%;
			@include mq($until: tablet){
				width: 29%;
			}
		}
		&.category-3{
			width: 29.8%;
			@include mq($until: tablet){
				width: 30.5%;
			}
		}
		&.category-4{
			width: 25.8%;
		}
		&.category-5{
			width: 44.3%;
		}
		&.category-6{
			width: 29.6%;
		}
		&.category-7{
			width: 43.1%;
		}
		&.category-8{
			width: 27.2%;
		}
		a{
			display: block;
			position: relative;
			color: $white;
			&:hover{
				&:after{
					opacity: 0;
				}
			}
			&:after{
				content:"";
				position:absolute;
				top:0;
				left:0;
				right: 0;
				bottom: 0;
				background:rgba($black, 0.1);
				z-index: 2;
				opacity: 1;
				transition: opacity 0.3s;
			}
		}
		.title{
			position: absolute;
			top: 0;
			bottom: 0;
			left: 0;
			right: 0;
			white-space: nowrap;
			z-index: 2;
			text-align: center;
			font-size: 36px;
			z-index: 10;
			@include mq($until: desktop){
				font-size: 28px;
			}
			@include mq($until: tablet){
				font-size: 18px;
			}
			@include mq($until: mobileLandscape){
				font-size: 25px;
			}
			&:after{
				content:"";
				display:inline-block;
				height:100%;
				width:1px;
				overflow:hidden;
				margin:0 0 0 -5px;
				vertical-align:middle;
			}
			strong{
				display: inline-block;
				vertical-align: middle;
				text-shadow: 0 3px 5px rgba($black, 0.35);
			}
		}
	}
	.btn-holder{
		padding-top: 24px;
	}
}

.btn-holder{
	clear:both;
	text-align: center;
	.btn{
		font-size: 16px;
		font-weight: bold;
	}
}

.heading{
	padding: 19px 9999px 18px;
	margin: 0 -9999px 35px;
	background: #ecf0f1;
	h1{
		font-size: 24px;
		line-height: 26px;
		margin: 0;
		float: left;
		font-weight: bold;
		padding: 11px 0 0;
		@include mq($until: desktop){
			float: none;
			margin-bottom: 10px;
		}
		@include mq($until: tablet){
			text-align: center;
		}
	}
	.filter-box{
		overflow: hidden;
		text-align: right;
		font-size: 16px;
		font-weight: bold;
		padding: 0 5px 0 0;
		@include mq($until: desktop){
			text-align: left;
			margin-left: -5px;
		}
		@include mq($until: tablet){
			text-align: center;
		}
		.btn{
			font-size: 16px;
			font-weight: bold;
			padding: 7px 15px 8px;
			margin-left: 8px;
			min-width: 98px;
			border-color: #d0d1d2;
			@include mq($until: tablet){
				margin-bottom: 10px;
			}
			&:hover{
				background: none;
				color: $text-color;
				border-color: #d0d1d2;
			}
		}
		.add{
			margin-left: 14px;
			color: $btn-default-color;
			i{
				color: $gray;
				border-radius: 2px;
				margin-right: 6px;
				position: relative;
				z-index: 1;
				&:after{
					content:"";
					position:absolute;
					top:2px;
					left:2px;
					bottom:2px;
					right:2px;
					background:$white;
					z-index: -1;
				}
			}
			&:hover{
				color: $brand-danger;
			}
		}
	}
	.filter-form{
		display: inline-block;
		vertical-align: middle;
		@include mq($until: tablet){
			width: 100%;
		}
		.jcf-radio{
			display: none;
		}
		.jcf-label-active{
			color: $text-color;
		}
	}
}

.featured-box{
	padding-bottom: 32px;
}

.product{
	margin-bottom: 22px;
	font-size: 11px;
	line-height: 20px;
	@include mq($until: mobileLandscape){
		height: auto !important;
		width: 100%;
	}
	.img-holder{
		position: relative;
		margin-bottom: 26px;
		@include mq($until: desktop){
			img{
				max-width: none;
				width: 100%;
				height: auto;
			}
		}
	}
	.star-rating{
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		background: rgba($black, 0.3);
		text-align: center;
		padding: 9px 10px 8px;
		li{
			margin: 0 4px;
			font-size: 18px;
		}
	}
	.title{
		padding: 0 0 9px;
		.price{
			overflow: hidden;
			color: $brand-danger;
			text-align: right;
			font-weight: bold;
			font-size: 16px;
			padding-top: 2px;
		}
		h2{
			text-align: left;
		}
	}
	a{
		color: $text-color;
	}
	h2{
		font-size: 20px;
		line-height: 20px;
		margin: 0 0 6px;
		text-align: center;
		font-weight: normal;
	}
	p{
		margin: 0;
	}
}

.star-rating{
	font-size: 0;
	line-height: 0;
	@extend %listreset;
	li{
		display: inline-block;
		vertical-align: top;
		font-size: 14px;
		margin-right: 5px;
		&.selected{
			a{
				color: #ffba00;
			}
		}
	}
	a{
		color: #c0c0c0;
		&:hover{
			color: #ffba00;
			text-decoration: none;
		}
	}
}

.visual{
	height: 303px;
	position: relative;
	background-size:cover;
	margin-bottom: 34px;
}

.preview-text{
	margin: 0 -9999px 37px;
	padding: 14px 9999px 7px;
	background: rgba($black, 0.85);
	color: $white;
	position: relative;
	.visual &{
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 2;
		padding: 14px 0 7px;
		margin: 0;
	}
	.thumbnail{
		position: absolute;
		border-radius:50%;
		padding: 3px;
		box-shadow: 0 2px 2px 0 rgba($black, 0.08);
		top: -46px;
		left: -140px;
		width: 126px;
		@include mq($until: largeWidescreen){
			left: 10px;
			top: auto;
			bottom: 100%;
		}
		@include mq($until: tablet){
			width: 80px;
		}
	}
	h2{
		font-size: 18px;
		line-height: 19px;
		color: $white;
		margin: 0;
	}
	.box{
		.star-rating{
			float: right;
			margin: 5px -2px 0 0;
			li{
				margin: 0 0 0 5px;
				font-size: 10px;
			}
		}
	}
	.btn-block{
		position: relative;
		.visual &{
			padding-right: 50px;
		}
	}
	.rating{
		background: $brand-danger;
		min-width: 35px;
		line-height: 35px;
		font-size: 14px;
		font-weight: bold;
		text-align: center;
		padding: 0 3px;
		border-radius: 50%;
		position: absolute;
		right: 0;
		top: 0;
	}
	.col-md-4{
		@include mq($until: tablet){
			@include clearfix;
		}
	}
}

.btn-block{
	clear:both;
	#content &{
		margin-bottom: 38px;
	}
	.btn{
		padding: 6px 12px;
		margin:0 9px 5px 0;
	}
	&.text-right{
		text-align: right;
		.btn{
			margin: 0 0 5px 9px;
			padding: 6px 14px;
		}
	}
}

.photo-box{
	margin-bottom: 38px;
	>div{
		padding-bottom: 10px;
		@include mq($until: mobileLandscape){
			width: 50%;
			img{
				width: 100%;
				max-width: none;
			}
		}
	}
}

.related-dishes{
	font-size: 12px;
	line-height: 15px;
	padding-bottom: 66px;
	h1{
		font-size: 16px;
		line-height: 20px;
		color: $red;
		border-bottom: 1px solid #eaeaea;
		padding-bottom: 6px;
		margin-bottom: 16px;
	}
	img{
		margin-bottom: 17px;
	}
	span{
		display: block;
		margin-bottom: 7px;
		a{
			color:$text-color;
		}
	}
	.star-rating{
		padding: 2px 0 10px;
	}
	.col-sm-3{
		@include mq($until: mobileLandscape){
			width: 50%;
			img{
				max-width: none;
				width: 100%;
			}
		}
	}
}

.review-holder{
	@include mq($until: desktop){
		padding-bottom: 15px;
	}
	.headline{
		@include clearfix;
		padding-bottom: 20px;
		h1{
			display: inline-block;
			vertical-align: middle;
			margin: 0;
			font-size: 18px;
			color: #5e5e5e;
		}
	}
	.title{
		padding-top: 5px;
		@include mq($until: mobileLandscape){
			margin-bottom: 10px;
			width: 100%;
		}
		.badge{
			margin-left: 5px;
			font-size: 11px;
		}
	}
	.jcf-select-date-select{
		float: right;
		height: 36px;
		margin-bottom: 0;
		@include mq($until: mobileLandscape){
			float: none;
		}
		.jcf-select-opener{
			border-width:0;
			right: 20px;
			margin-top: -7px;
			font-size: 9px;
			color: #aaa;
			&:after{
				content: "\e601";
				font-family: 'icomoon';
				speak: none;
				font-style: normal;
				font-weight: normal;
				font-variant: normal;
				text-transform: none;
				line-height: 1;
				-webkit-font-smoothing: antialiased;
				-moz-osx-font-smoothing: grayscale;
			}
		}
	}
	.btn-block{
		#content &{
			margin-bottom: 0;
		}
	}
}

.media{
	border-bottom: 1px solid #ededed;
	margin: 0 0 33px;
	.media-left{
		text-align: center;
		font-size: 11px;
		line-height: 12px;
		padding-right: 22px;
		span{
			display: block;
		}
		a{
			color: rgba($text-color, 0.68);
			font-size: 10px;
		}
	}
	.avatar-holder{
		display: block;
		width: 57px;
		height: 57px;
		border-radius: 50%;
		margin-bottom: 21px;
	}
	.media-body{
		padding-top: 8px;
		.media-heading{
			font-size: 14px;
			margin-bottom: 12px;
			a{
				color: $red;
			}
		}
		.data{
			@include clearfix;
			font-size: 11px;
			line-height: 13px;
			padding: 0 2px 24px 2px;
		}
		blockquote{
			font-size: $font-size-base;
			line-height: $line-height-base;
			border: none;
		}
		.blockquote-holder{
			padding: 0 0 0 38px;
		}
		.image-list {
			margin-bottom: 21px;
			li{
				padding-bottom: 5px;
			}
		}
		.btn-block{
			padding-top: 4px;
			#content &{
				margin-bottom: 28px;
			}
		}
		.btn{
			padding:6px 14px;
			margin-bottom: 5px;
		}
		time{
			color: #aaa;
		}
	}
}

#content{
	@include mq($until: desktop){
		float: none !important;
	}
}

.filter-holder{
	@include clearfix;
	margin-bottom: 22px;
}

.grid-list{
	float: left;
	@include mq($until: tablet){
		margin-bottom: 20px;
	}
	.btn{
		font-size: 16px;
		width: 42px;
		height: 36px;
		text-align: center;
		padding: 0;
		line-height: 37px;
		margin-right: 9px;
		color: $gray;
		&:hover,
		&.active{
			color: $white;
		}
	}
	
}

.form-filter{
	margin:0 -10px 0 -6px;
	float: left;
	@include mq($until: tablet){
		margin: 0 0 0 -8px;
		float: none;
		width: 100%;
		clear:left;
	}
	.jcf-select{
		height: 36px;
		width: 251px;
		margin-left: 9px;
		@include mq($until: tablet){
			width: 100%;
		}
		.jcf-select-text{
			margin-left: 14px;
		}
	}
}

.dishes-list{
	margin:41px 0 26px;
	
	.filters &{
		margin-bottom: 55px;
	}
}

.dish{
	border-bottom: 1px solid #ededed;
	padding: 36px 0 29px;
	.filters &{
		font-size: 17px;
		line-height: 1;
		border-bottom: 0;
		padding: 36px 0 26px;
		.grid-active &{
			@include mq($until: mobileLandscape){
				width: 100%;
				padding-right: 0;
			}
		}
	}
	.grid-active &{
		width: 49%;
		display: inline-block;
		vertical-align: top;
		padding-right: 15px;
		.col-sm-3,
		.description{
			display: none;
		}
		.col-sm-9{
			width: 100%;
			padding-left: 10px;
		}
		&:nth-child(2){
			padding-top: 0;
		}
	}
	&:first-child{
		padding-top: 0;
	}
	.img-holder{
		margin-bottom: 26px;
		@include mq($until: mobileLandscape){
			margin-bottom: 10px;
		}
	}
	.image-list{
		margin-bottom: 0;
		li{
			padding-bottom: 5px;
		}
	}
	h1{
		font-size: 16px;
		float: left;
		margin-bottom: 0;
		a{
			color: $red;
		}
	}
	.col-sm-3{
		@include mq($until: mobileLandscape){
			width: 100%;
		}
	}
	.col-md-5{
		img{
			max-width: none;
			width: 100%;
		}
	}
	.col-sm-9{
		padding-left: 31px;
		.filters &{
			padding-left: 10px;
		}
		@include mq($until: desktop){
			padding-left: 10px;
		}
		@include mq($until: mobileLandscape){
			width: 100%;
		}
	}
	.title{
		@include clearfix;
		margin-bottom: 6px;
	}
	.price{
		overflow: hidden;
		display: block;
		text-align: right;
		color: $brand-danger;
		line-height: 19px;
		font-weight: bold;
		.filters &{
			padding-top: 2px;
		}
	}
	.star-rating{
		margin-bottom: 14px;
		.filters &{
			margin:0 23px 10px 0;
			@include mq($until: widescreen){
				margin: 0 0 10px;
			}
			li{
				font-size: 20px;
			}
		}
	}
	.tags{
		margin-bottom: 7px;
		.filters &{
			font-size: 13px;
			margin-left: -3px;
			float: left;
			max-width: 79%;
			@include mq($until: tablet){
				margin-left: -18px;
			}
			a{
				margin: 0 0 0 18px;
				float: left;
			}
		}
		a{
			margin: 0 3px;
		}
	}
	.description{
		padding-bottom: 6px;
		.filters &{
			line-height: 29px;
			p{
				margin-bottom: 0;
			}
		}
	}
	.btn-block{
		#content &{
			margin:0 -15px 0 0;
		}
		width: auto;
		.filters &{
			padding-top: 14px;
		}
		.btn{
			padding: 6px 13px;
			.filters &{
				font-size: 17px;
				padding: 8px 19px;
			}
		}
	}
	.title-box{
		@include clearfix;
		margin-top: -3px;
		@include mq($until: mobileLandscape){
			margin-top: 5px;
		}
		strong{
			float: left;
			font-weight: normal;
			a{
				color: $text-color;
			}
		}
		.star-rating{
			float: right;
		}
	}
	.subtitle{
		font-weight: normal;
		display: block;
		margin-bottom: 15px;
		a{
			color: $text-color;
		}
	}
	.box{
		@include clearfix;
		padding:0 28px 7px 0;
		@include mq($until: widescreen){
			padding: 0 0 7px;
		}
	}
}

.two-columns{
	@include clearfix;
	padding: 51px 0 0 20px;
	@include mq($until: desktop){
		padding: 30px 10px 0;
	}
	#content{
		float: left;
		width: 48.4%;
		@include mq($until: desktop){
			width: 100%;
			float: none;
			height: auto !important;
		}
	}
	.map-holder{
		float: right;
		width: 50%;
		position: relative;
		min-height: 500px;
		@include mq($until: desktop){
			float: none;
			height: auto !important;
			margin: 0 -10px;
			width: auto;
		}
	}
}

.filters{
	.opener-holder{
		opacity: 0;
		position: fixed;
		z-index: 999999;
		bottom: 20px;
		right: 51.6%;
		left: 20px;
		visibility: hidden;
		transition: all 0.5s;
		min-width: 292px;
		padding: 0 15px;
		.result{
			width: 100%;
		}
		@include mq($until: desktop){
			padding: 0;
			position: static;
			min-width: 0;
		}
	}
	.js-filters-open-close{
		border: 1px solid #e9e9e9;
		border-top: none;
		border-bottom: none;
		font-weight: bold;
		font-size: 12px;
		color: #a8a8a8;
		min-width: 293px;
	}
	.top-box{
		z-index: 2;
		position: static;
		background: #fff;
		padding: 13px 15px 2px;
		border-top: 1px solid #e9e9e9;
		border-bottom: 1px solid #e9e9e9;
		.filter-box-active &{
			// position: fixed;
			// top: 111px;
			// overflow: auto;
			// margin: 0;
			// width: 47.8%;
			// padding-bottom: 80px;
			// left: 20px;
			// @include mq($until: desktop){
			// 	width: auto;
			// 	left: 10px;
			// 	right: 9px;
			// 	top: 90px;
			// }
		}
		.opener.pull-right{
			border: none;
			background: none;
			padding: 0;
			margin-right: 3px;
			line-height: 12px;
			outline:none;
			opacity: 1;
			.filter-box-active &{
				visibility: hidden;
				opacity: 0;
			}
			&:hover{
				color: $text-color;
			}
		}
	}
	.form-inline{
		margin-bottom: 13px;
		.form-group{
			display: block;
		}
		label{
			margin:7px 31px 0 0;
			float: left;
		}
		.input-holder{
			overflow: hidden;
			input[type="text"]{
				width: 100%;
			}
		}
	}
	.range-holder{
		padding: 0 3px 0 4px;
	}
	.data-list{
		text-align: justify;
		font-size: 12px;
		margin: -1px -3px -8px 1%;
		&:after{
			display:inline-block;
			width:100%;
			content:'';
			height:0;
			font-size:0;
			line-height:0;
		}
		li:nth-child(2){
			margin-left: 10px;
		}
		li{
			position: relative;
			&:after{
				content:"";
				position:absolute;
				top:-6px;
				left:50%;
				margin-left: -2px;
				width: 0;
				height: 0;
				border-style: solid;
				border-width: 6px 3.5px 0 3.5px;
				border-color: #e1e1e1 transparent transparent transparent;
			}
		}
	}
	.title{
		float: left;
		width: 18%;
		max-width: 99px;
		min-width: 55px;
	}
	.form-group{
		@include clearfix;
	}
	.checkbox-holder{
		overflow: hidden;
	}
	.checkbox-inline{
		margin: 0;
		padding: 0 0 2px 0;
		min-width: 95px;
		max-width: 200px;
		float: left;
		.text{
			overflow: hidden;
			padding-right: 5px;
		}
		.jcf-checkbox{
			float: left;
			margin: 2px 4px 0 0;
		}
	}
	label{
		font-weight: bold;
	}
	.filter-holder{
		margin: -5px 0 15px;
		@include mq($until: mobileLandscape){
			margin: 0;
		}
	}
	.form-filter{
		overflow: hidden;
		float: none;
		width: auto;
		margin: 0;
		.jcf-select{
			height: 34px;
			width: 100%;
			min-width: 0;
			margin: 0;
		}
		.holder{
			width: 50%;
			float: left;
			padding-left: 10px;
			@include mq($until: tablet){
				&:first-child{
					padding-left: 0;
				}
			}
			@include mq($until: mobileLandscape){
				width: 100%;
				padding-left: 0;
				margin-bottom: 10px;
			}
		}
	}
	.grid-list{
		margin-right: -4px;
		.btn{
			width: 40px;
			height: 34px;
			line-height: 35px;
			margin-right: 5px;
		}
	}
	.slide{
		padding: 13px 15px 82px;
		@include mq($until: tablet){
			padding-bottom: 10px;
		}
	}
}


#sidebar{
	margin-top: -2px;
	padding-right: 4.1%;
}

.main-dish{
	line-height: 23px;
	border-bottom: 1px solid #eaeaea;
	padding-bottom: 36px;
	margin-bottom: 26px;
	.title{
		@include clearfix;
		padding: 23px 0 15px;
	}
	h1{
		font-size: 16px;
		line-height: 20px;
		float: left;
		margin: 0;
		font-weight: bold;
		a{
			color: $red;
		}
	}
	.star-rating{
		float: right;
		padding-right: 3px;
		li{
			font-size: 13px;
			margin: 0 0 0 7px;
		}
	}
	.holder{
		@include clearfix;
		margin-bottom: 9px;
	}
	.tags{
		float: left;
		margin-left: -2px;
	}
	.price{
		float: right;
		color: $brand-danger;
		font-weight: bold;
	}
}

.tags{
	font-size: 10px;
	line-height: 20px;
}

.map-view{
	font-size: 14px;
	padding:2px 0 30px;
	.pin-icon{
		width: 42px;
		height: 36px;
		border-radius: $border-radius-base;
		border: 1px solid $gray;
		text-align: center;
		line-height: 35px;
		font-size: 21px;
		padding-top: 1px;
		color:$brand-danger;
		display: inline-block;
		vertical-align: middle;
		margin-right: 6px;
	}
	a{
		display: inline-block;
		vertical-align: middle;
		padding-top: 3px;
		color: #bb0505;
	}
}

.category-table{
	width: 100%;
	table-layout: fixed;
	margin-bottom: 38px;
	td{
		height: 46px;
		padding: 10px;
		a{
			color: $text-color;
		}
	}
	.badge{
		font-size: 10px;
		margin-top: 2px;
		min-width: 29px;
		font-weight: bold;
	}
}

.info-box{
	overflow: hidden;
	padding-bottom: 13px;
	.list-group-item.collapse{
		display: none;
		&.in{
			display: block;
		}
	}
	.badge{
		background: none;
		padding: 6px 0;
		color: $text-color;
		&.text-success{
			color: $brand-success;
		}
		&.text-danger{
			color: $brand-danger;
		}
	}
	.list-group{
		padding: 0 13px;
		border: 1px solid #ededed;
		ul{
			padding-left: 0;
		}
	}
	.list-group-item{
		border: none;
		border-bottom: 1px solid #ededed;
		margin-bottom: 0;
		padding: 17px 0 14px;
		&.opener{
			border-bottom: none;
			text-align: center;
			padding: 0;
			font-size: 0;
			line-height: 0;
			a{
				color: $red;
				margin: 13px 0 12px;
				display: inline-block;
				vertical-align: middle;
				transition: max-height 0.3s, margin 0.3s;
				font-size: 13px;
				line-height:23px;
				&[aria-expanded="true"]{
					max-height: 0;
					margin: 0;
				}
				i{
					color: $gray;
					margin-right: 8px;
				}
			}
		}
		&.collapse,
		&.collapsing{
			padding: 0;
			border-bottom: none;
			ul{
				li:last-child{
					border-bottom: none;
				}
			}
		}
		&:last-child{
			border-bottom: none;
		}
	}
}

.report-list{
	font-weight: bold;
	margin:-10px 0 45px;
	li{
		margin-bottom: 6px;
	}
}

.text-boxes{
	border-top: 1px solid #eaeaea;
	margin: 4px 0 22px;
	padding-top: 2px;
	.text{
		border-bottom: 1px solid #eaeaea;
		padding: 22px 0 14px;
	}
}

.social-box{
	@include clearfix;
	margin-bottom: 10px;
	i{
		display: inline-block;
		vertical-align: middle;
	}
	.tel-link{
		color: $text-color;
		float: left;
		font-size: 14px;
		font-weight: bold;
		i{
			margin-right: 11px;
			border-radius: 50%;
			border: 1px solid $gray;
			width: 37px;
			height: 37px;
			text-align: center;
			line-height: 35px;
			color: $brand-danger;
			font-size: 16px;
		}
	}
	.social-list{
		float: right;
		text-align: right;
		li{
			display: inline-block;
			vertical-align: middle;
		}
		a{
			display: block;
			border-radius: 50%;
			border: 1px solid $gray;
			width: 37px;
			height: 37px;
			text-align: center;
			line-height: 33px;
			font-size: 16px;
			&:hover{
				background: $gray;
			}
		}
	}
}

.photo-list{
	background: #fafafa;
	border: 1px solid #ededed;
	border-radius: $border-radius-base;
	padding: 6px;
	font-size: 0;
	line-height: 0;
	margin-bottom: 22px;
	li{
		padding: 6px;
		display: inline-block;
		vertical-align: top;
		width: 50%;
		@include mq($until: desktop){
			width: 25%;
			text-align: center;
		}
		@include mq($until: mobileLandscape){
			width: 50%;
			text-align: center;
		}
	}
	img{
		border-radius: $border-radius-base;
		@include img-responsive;
		display: inline;
	}
}






#footer{
	background: $light-black;
	padding: 38px 33px 15px;
	@include mq($until: tablet){
		padding: 20px 10px;
	}
	.top-footer{
		@include clearfix;
		padding-bottom: 37px;
		border-bottom:1px solid #676767;
		margin-bottom: 23px;
		@include mq($until: widescreen){
			text-align: center;
			.pull-left,
			.pull-right{
				float: none !important;
				display: inline-block;
				vertical-align: middle;
				margin-bottom: 10px;
			}
		}
		@include mq($until: tablet){
			padding-bottom: 15px;
		}
	}
	.logo{
		margin-top: 1px;
		display: inline-block;
		vertical-align: middle;
	}
	.nav{
		display: inline-block;
		vertical-align: middle;
		@include mq($until: tablet){
			display: block;
		}
		ul{
			@extend %listreset;
			padding:4px 0 0 33px;
			font-size: 14px;
			font-weight: bold;
			@include clearfix;
			@include mq($until: desktop){
				padding: 5px 0 0;
			}
		}
		li{
			float: left;
			margin-right: 21px;
			@include mq($until: desktop){
				margin: 0 10px;
				display: inline-block;
				vertical-align: top;
				float: none;
			}
			@include mq($until: tablet){
				display: block;
			}
		}
		a{
			color: $white;
		}
	}
	.bottom-footer{
		@include clearfix;
	}
}

.apps-holder{
	@include mq($until: tablet){
		width: 100%;
	}
	.btn{
		font-size: 14px;
		font-weight: bold;
		margin-left: 20px;
		@include mq($until: tablet){
			margin-left: 0;
		}
	}
}

.apps-box{
	display: inline-block;
	vertical-align: middle;
	font-size: 14px;
	color: $white;
	@include mq($until: tablet){
		margin-bottom: 15px;
		display: block;
	}
	a{
		display: inline-block;
		vertical-align: middle;
		margin-left: 5px;
		&:hover{
			text-decoration: none;
			opacity: 0.9;
		}
	}
	.icon-apple{
		font-size: 25px;
		color: $white;
		display: block;
	}
	span{
		padding:3px 8px 0 0;
		display: inline-block;
		vertical-align: middle;
		@include mq($until: tablet){
			display: block;
		}
	}
}

.social-networks{
	@extend %listreset;
	@include mq($until: tablet){
		width: 100%;
		text-align: center;
	}
	li{
		float: left;
		font-size: 20px;
		margin-left: 15px;
		@include mq($until: tablet){
			float: none;
			display: inline-block;
		}
	}
	a{
		color: $white;
		&:hover{
			text-decoration: none;
			opacity: 0.9;
		}
	}
}

.bottom-footer{
	@include clearfix;
}

.copyright{
	padding-top: 5px;
	color: #f3f2ea;
	@include mq($until: tablet){
		width: 100%;
		text-align: center;
	}
}

/* custom checkbox styles */
.jcf-checkbox {
	vertical-align: middle;
	display: inline-block;
	position: relative;
	overflow: hidden;
	cursor: default;
	background: #fff;
	border: 1px solid $gray;
	margin: 0 3px 0 0;
	height: 15px;
	width: 16px;
}
.jcf-checkbox span{
	position:absolute;
	display:none;
	height:4px;
	width:8px;
	top:50%;
	left:50%;
	margin:-7px 0 0 -6px;
	border:2px solid #777;
	border-width:0 0 2px 2px;
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
:root .jcf-checkbox span {margin:-3px 0 0 -4px;}
.jcf-checkbox input[type="checkbox"] {
	position: absolute;
	width: 100%;
	height: 100%;
	border: 0;
	margin: 0;
	left: 0;
	top: 0;
}
.jcf-checkbox.jcf-checked span{display:block;}

/* custom radio styles */
.jcf-radio {
	vertical-align: middle;
	display: inline-block;
	position: relative;
	overflow: hidden;
	cursor: default;
	background: #fff;
	border: 1px solid #777;
	border-radius: 9px;
	margin: 0 3px 0 0;
	height: 16px;
	width: 16px;
}
.jcf-radio span{
	display:none;
	position:absolute;
	top:3px;
	left:3px;
	right:3px;
	bottom:3px;
	background:#777;
	border-radius:100%;
}
.jcf-radio input[type="radio"] {
	position: absolute;
	height: 100%;
	width: 100%;
	border: 0;
	margin: 0;
	left: 0;
	top: 0;
}
.jcf-radio.jcf-checked span {display:block;}

/* custom select styles */
.jcf-select {
	display: inline-block;
	vertical-align: top;
	position: relative;
	border: 1px solid $gray;
	background: #fff;
	margin: 0 0 12px;
	min-width: 194px;
	height:34px;
	border-radius: 2px;
	box-shadow: 0 0 5px 0 rgba($black, 0.1) inset;
	text-align: left;
	font-size: 12px;
}
.jcf-select select {
	z-index: 1;
	left: 0;
	top: 0;
}
.jcf-select .jcf-select-text {
	text-overflow:ellipsis;
	white-space: nowrap;
	overflow: hidden;
	cursor: default;
	display: block;
	line-height: 26px;
	margin: 4px 35px 0 12px;
	color: #a8a8a8;
}
.jcf-select .jcf-select-opener {
	position: absolute;
	text-align: center;
	bottom: 0;
	right: 12px;
	top: 50%;
	width: 0;
	height: 0;
	margin-top: -3px;
	border-style: solid;
	border-width: 6px 3.5px 0 3.5px;
	border-color: #c3c3c3 transparent transparent transparent;
}
body > .jcf-select-drop {
	position: absolute;
	margin: -1px 0 0;
	z-index: 9999;
}
body > .jcf-select-drop.jcf-drop-flipped {
	margin: 1px 0 0;
}
.jcf-select .jcf-select-drop {
	position: absolute;
	margin-top: 0px;
	z-index: 9999;
	top: 100%;
	left: -1px;
	right: -1px;
}
.jcf-select .jcf-drop-flipped {
	bottom: 100%;
	top: auto;
}
.jcf-select-drop .jcf-select-drop-content {
	border: 1px solid $gray;
	border-radius: 2px;
}
/* multiple select styles */
.jcf-list-box {
	overflow: hidden;
	display: inline-block;
	border: 1px solid #b8c3c9;
	min-width: 200px;
	margin: 0 15px;
}
/* select options styles */
.jcf-list {
	display: inline-block;
	vertical-align: top;
	position: relative;
	background: #fff;
	line-height: 14px;
	font-size: 12px;
	width: 100%;
}
.jcf-list .jcf-list-content {
	vertical-align: top;
	display: inline-block;
	overflow: auto;
	width: 100%;
}
.jcf-list ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.jcf-list ul li {
	overflow: hidden;
	display: block;
}
.jcf-list .jcf-overflow {
	overflow: auto;
}
.jcf-list .jcf-option {
	white-space: nowrap;
	overflow: hidden;
	cursor: default;
	display: block;
	padding: 5px 12px;
	color:#a8a8a8 ;
	height: 1%;
	text-overflow: ellipsis;
	&.jcf-option-hideme{
		display: none;
	}
}
.jcf-list .jcf-disabled {
	background: #fff !important;
	color: #aaa !important;
}
.jcf-select-drop .jcf-hover,
.jcf-list-box .jcf-selected {
	background: #e6e6e6;
	color: #000;
}
.jcf-list .jcf-optgroup-caption {
	white-space: nowrap;
	font-weight: bold;
	display: block;
	padding: 5px 9px;
	cursor: default;
	color: #000;
}
.jcf-list .jcf-optgroup .jcf-option {
	padding-left: 30px;
}
/* custom range input styles */
.jcf-range {
	display: inline-block;
	min-width: 200px;
	width: 100%;
}
.jcf-range .jcf-range-track {
	margin: 0 19px 0 18px;
	position: relative;
	display: block;
}
.jcf-range .jcf-range-wrapper {
	background: #b7b7b7;
	border-top: 2px solid #e1e1e1;
	border-bottom: 2px solid #e1e1e1;
	display: block;
	height: 6px;
}
.jcf-range.jcf-vertical {
	width: auto;
}
.jcf-range.jcf-vertical .jcf-range-wrapper {
	margin: 0;
	width: 10px;
	height: auto;
	padding: 20px 0 0;
}
.jcf-range.jcf-vertical .jcf-range-track {
	height: 180px;
	width: 10px;
}
.jcf-range.jcf-vertical .jcf-range-handle {
	left: -5px;
	top: auto;
}
.jcf-range .jcf-range-handle {
	position: absolute;
	background: url(../images/sprite.png) no-repeat -43px 0;
	width: 14px;
	height: 12px;
	margin: -7px 0 0 -7px;
	z-index: 1;
	top: 0;
	left: 0;
}
.jcf-range .jcf-range-mark {
	position: absolute;
	overflow: hidden;
	top: 3px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 6px 3.5px 0 3.5px;
	border-color: #e1e1e1 transparent transparent transparent;
}
.jcf-range.jcf-vertical .jcf-range-mark {
	margin: 0 0 9px;
	left: 14px;
	top: auto;
	width: 3px;
	height: 1px;
}
.jcf-range.jcf-disabled {
	background: none !important;
	opacity: 0.3;
}
/* common custom form elements styles */
.jcf-disabled {background: #ddd !important;}

@media only screen and (min-width: 1024px){
	.tel-link{
		cursor: default;
		pointer-events:none;
	}
}

.js-ajax-filters-form{
	position: relative;
	.js-filters-open-close{
		overflow: hidden;
		.slide{
			position: absolute;
			top:100%;
			opacity: 0;
			transition: opacity 0.5s;
		}
	}

}
.filter-box-active{
	.js-filters-open-close{
		position: fixed;
		top: 111px;
		overflow: hidden;
		margin: 0;
		right: 51.5%;
		left: 20px;
		z-index: 999;
		background: #fff;
		@include mq($until: desktop) {
			width: auto;
			left: 10px;
			right: 10px;
			top: 90px;
		}
	}
	.opener-holder{
		visibility: visible;
		opacity: 1;
	}
	.js-show-filter-slide{
		.slide{
			position: static;
			top: auto;
			opacity: 1;
		}
		.js-filters-open-close{
			overflow: auto;
		}
	}
	#wrapper{
		overflow-y:scroll;
	}
}