/*
Theme Name: Кофейня "Бисквит"
Theme URI: http://amsterdamgroup.ru
Author: Korshanov V.V.
Author URI: http://amsterdamgroup.ru
Description: Кофейня "Бисквит" | Ресторанная группа "Амстердам"
Version: 1.0
*/

/*
Color
#ecbc7c;	pale gold
#963232;	red 
#3B3738; dark
#fff;	white
#ececec; grey
*/

/* Reset style load from Bootstrap 
-------------------------------------------------------------- */


/* Basic Styling
-------------------------------------------------------------- */
html, body {
	min-height: 100%;
	width: 100%;
	height: 100%;
	overflow: hidden;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
}
a {
	outline: none;
	-webkit-transition-duration: 0.5s; 
	-o-transition-duration: 0.5s; 
	-moz-transition-duration: 0.5s; 
	transition-duration: 0.5s;
	transition: 0.5s;
	color: #963232;
}
a:hover, a:focus {
	text-decoration: none;
	outline: none;
	color: #d34747;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Fira Sans', sans-serif;
	text-rendering: optimizelegibility;
	font-weight: 400;
	text-transform: uppercase;
}
a img, img {
	-ms-interpolation-mode: bicubic;
	border: 0
}
/*Color & elements
----------------------------------------------------------------*/
.no-gutter > [class*='col-'] {
	padding-right: 0;
	padding-left: 0;
}
.hide { display: none; }
.nomargin { margin: 0; }
.nopadding { padding: 0; }
.darkback { background: #3B3738; }
.whiteback { background: #fff; }
hr.shortredbar {
	display: block;
	background: #ecbc7c;;
	color: #ecbc7c;;
	width: 40px;
	height: 5px;
	border: none;
	text-align: left;
	margin: 0 auto 20px 0;
	padding: 0;
}
hr.thinredbar {
	display: block;
	background: #ecbc7c;;
	color: #ecbc7c;;
	width: 40px;
	height: 2px;
	border: none;
	text-align: center;
	margin: 0 auto;
	padding: 0;
}
/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb {
background-color:rgb(196, 196, 196);
border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
background-color:rgb(236, 188, 124);
}
::-webkit-scrollbar-track {
background-color:rgb(249, 247, 246);
}
/*End Scrollbar */

/* Sections
-------------------------------------------------------------- */
.content {
	position: absolute;
	left: 260px;
	top: 0;
	right: 0;
	height: 100%;
	overflow: hidden;
	background: repeat center center #ececec;
}
.content .contentInner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: 10px solid transparent;
}
.content .first {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 44%;
	border-right: 10px solid transparent;
}
.content #eventspage .first, .content #specialpage .first {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 44%;
	border: none;
}
.content #interior .first {
	border: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
.content #menupage .first,
.content #fozerofo .first {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	border: none;
}
.content #menupage .first .pagesection {
	border: 40px solid transparent;
	overflow: auto;
}
.content .second {
	position: absolute;
	top: 0;
	left: 44%;
	right: 0;
	height: 50%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	border-bottom: 10px solid transparent;
}
.content #eventspage .second, .content #specialpage .second {
	position: absolute;
	top: 0;
	left: 44%;
	right: 0;
	height: 100%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	border: none;
	overflow: auto;
}
.content #contact .second { overflow: auto; }
.content .third {
	position: absolute;
	top: 50%;
	left: 44%;
	right: 28%;
	bottom: 0;
	border-right: 10px solid transparent;
}
.content #contact .third {
	position: absolute;
	top: 50%;
	left: 44%;
	right: 0;
	height: 50%;
	border-right:none;
}
.content .fourth {
	position: absolute;
	top: 50%;
	left: 72%;
	right: 0;
	bottom: 0;
}
#map {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}
/* Aside & modile menu
-------------------------------------------------------------- */
/* Mobile menu */
.mobile_icon {
	z-index: 999;
	position: fixed;
	display: none;
	padding: 6px;
	height: 32px;
	width: 32px;
	margin: 0px;
	top: 12px;
	left: 12px;
}
.hamburger>div {
	background-color: #fff;
	width: 25px;
	height: 4px;
	-moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.8);
	-webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.8);
	box-shadow: 0px 0px 3px rgba(0,0,0,0.8);
}
.menui {
	position: absolute;
	background: #fff;
	transition: 0.6s ease;
	transition-timing-function: cubic-bezier(.75, 0, .29, 1.01);
}
.top-menu { top: 5px; }
.mid-menu { top: 13px; }
.bottom-menu { top: 21px; }
.top-animate {
	background: #fff !important;
	top: 13px !important;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.mid-animate { opacity: 0; }
.bottom-animate {
	background: #fff !important;
	top: 13px !important;
	-webkit-transform: rotate(-225deg);
	transform: rotate(-225deg);
}
.mobile_nav {
	top: 0;
	left: 0;
	z-index: 999;
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	background: #963232;
	opacity: 1;
}
.mobile_nav li {
	list-style-type: none;
	text-align: center;
	padding: 10px;
}
.mobile_nav li:first-child { margin-top: 0; }
.mobile_nav a {
	text-transform: uppercase;
	text-align: center;
	font-size: 23px;
	display: block;
	font-family: 'Fira Sans', sans-serif;
	color: #fff;
}
.mobile_nav #logo img {
	display: block;
	width: 70%;
	margin: 0 auto;
}
.mobile_nav #logo {
	text-indent: -6000px;
	margin: 50px 50px 0 50px;
	display: block;
	margin-bottom: 20px;
}
/* End mobile menu */

/* Aside panel */
aside {
	width: 260px;
	background: url("images/aside-bisc.png") repeat top left;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 1000;
	box-shadow: 0 5px 5px rgba(29,29,27,0.7);
}
aside #logo {
	text-indent: -6000px;
	margin: 80px 32px 50px 32px;
	display: block;
}
aside #logo img {
	display: block;
	width: 100%;
}
aside nav { padding: 0 40px; }
aside nav ul, aside footer ul, .mobile_nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.main_nav a {
	text-transform: uppercase;
	line-height: 48px;
	text-align: center;
	font-size: 24px;
	display: block;
	font-family: 'Fira Sans', sans-serif;
	color: #fff;
}
.main_nav a:hover, .main_nav a:active, .main_nav a:focus {
	color: #ecbc7c;
	border: none;
	background: none;
}
.nav_line {
	background: url("images/navline_bisc.png") no-repeat top left transparent;
	display: block;
	opacity: 0.5;
	zoom: 1;
	width: 143px;
	height: 7px;
	text-align: left;
	margin: 20px auto;
}
.nav_contact {
	opacity: 0.5;
	text-align: center;
	margin: 40px auto;
	color: #fff;
	font-size: 14px;
}
aside footer {
	position: absolute;
	bottom: 10px;
	left: 0;
	right: 0;
	text-align: center;
}
.social { margin-bottom: 20px; }
.social a {
	color: #fff;
	background-color: none;
	font-size: 14px;
	border: 1px solid #fff;
	display: block;
	width: 28px;
	height: 28px;
	line-height: 26px;
	text-align: center;
}
.social a:hover, .social a:active, .social a:focus {
	border: 1px solid #3B3738;
	background-color: #3B3738;
	color: #ecbc7c;
}
footer .amstgroup {
	margin: 10px 0 20px 0;
	background-color: #fff;
	border-top: 1px solid #dadada;
	border-bottom: 1px solid #dadada;
	padding: 14px 0;
}
footer .amstgroup a {
	background: url("images/amstgroop_logo_footer_dark.png") no-repeat top left transparent;
	display: inline-block;
	width: 143px;
	height: 36px;
	text-indent: -6000px;
	text-align: left;
}
footer .amstgroup a:hover, a:active, a:focus { opacity: 1; }
/* End aside panel */

  /* Background 
-------------------------------------------------------------- */
.pagesection_int { background: url("images/bisc_interier.jpg") no-repeat center center #fff; }
.pagesection_menu { background: url("images/bisc_menu.jpg") repeat center center #fff; }
.pagesection_contact { background: url("images/bisc_contact.jpg") repeat center center #fff; }
.pagesection_404 { background: url("images/brick.jpg") repeat center center #fff; }

/* Sections content
-------------------------------------------------------------- */
.pagesection, .event, .menuanons, a.layout_link {
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
}
.event_image, .pagesection_menu, .pagesection_int, .pagesection_contact, .pagesection_404 {
	height: 100%;
	width: 100%;
	opacity: 1;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	-webkit-transition: opacity 0.35s ease-in-out;
	-moz-transition: opactiy 0.35s ease-in-out;
	-ms-transition: opacity 0.35s ease-in-out;
	-o-transition: opacity 0.35s ease-in-out;
	transition: opacity 0.35s ease-in-out;
}
.event:hover .event_image, .menuslide:hover .event_image, .pagesection:hover .pagesection_menu, .pagesection:hover .pagesection_int {
	opacity: 0.7;
	-webkit-transition: opacity 0.35s ease-in-out;
	-moz-transition: opactiy 0.35s ease-in-out;
	-ms-transition: opacity 0.35s ease-in-out;
	-o-transition: opacity 0.35s ease-in-out;
	transition: opacity 0.35s ease-in-out;
}
/* Headers */
.pagesection_header {
	position: absolute;
	bottom: 40px;
	left: 0;
	margin: 0 40px;
	text-align: center;
}
.event_cotent, .menuanons_cotent {
	position: absolute;
	bottom: 40px;
	left: 0;
	margin: 0 40px;
}
.event_cotent { text-align: center; }
.menuanons_cotent {
	text-align: left;
	width: 70%;
}
.pagesection_header h2, .event h2 {
	font-size: 36px;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
	margin: 0;
}
.menuanons_cotent h2 {
	font-size: 42px;
	color: #fff;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
	margin: 0;
}
#contact .text_container h2 { margin-top: 0; }
.pagesection_header span, .event_cotent span {
	color: #fff;
	font-size: 16px;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
}
.event_cotent span:before, .event_cotent span:after, .pagesection_header span:before, .pagesection_header span:after {
	content: '';
	display: inline-block;
	position: relative;
	top: -1px;
	width: 10px;
	height: 2px;
	vertical-align: middle;
	background: #ecbc7c;;
}
.event_cotent span:before, .pagesection_header span:before {
	left: -10px;
	margin-left: -50%;
}
.event_cotent span:after, .pagesection_header span:after {
	left: 10px;
	margin-right: -50%;
}
span.event_date {
	color: #fff;
	font-size: 18px;
	padding: 0.5em 1em;
	box-shadow: inset 0 0 0 0 #200f0b;
	-webkit-transition: all ease 0.2s;
	-moz-transition: all ease 0.2s;
	transition: all ease 0.2s;
}
.text_container { padding: 40px; }
/* End Headers */

/* Events pages
-------------------------------------------------------------- */
.eventpost_content {
	height: 100%;
	padding: 15%;
}
.eventpost_content header>span {
	color: #ecbc7c;;
	font-size: 20px;
	font-weight: 300;
	font-style: italic;
}
.eventpost_content p {
	font-size: 16px;
	line-height: 1.6;
}
.eventpost_content p.eventpost_lead {
	margin-bottom: 20px;
	font-weight: 300;
	font-style: italic;
	font-size: 20px;
	line-height: 1.5;
}
.eventpost_content img { display: none; }
.eventpost_foto {
	height: 100%;
	width: 100%;
	background-position: top;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}
a.btn_red_next {
	display: block;
	background-color: #ecbc7c;;
	width: 28px;
	height: 28px;
	line-height: 28px;
	text-align: center;
	color: #fff;
	margin: 15px 5px;
}
.li1>a:before {
	content: "\f054";
	font-family: FontAwesome;
}
.li2>a:before {
	content: "\f053";
	font-family: FontAwesome;
}
/* Menu pages
-------------------------------------------------------------- */
.menu_unit { padding: 0 0 40px 0; }
.menu_unit h3 {
	float: left;
	margin: 0 0 0.25em;
	width: 75%;
	width: calc(100% - 4rem);
	text-align: left;
	color: #963232;
}
.menu_unit>p {
	font-size: 16px;
	float: left;
	margin: 0 0 0.25em;
 width: 100%  font-weight: 300;
	font-style: italic;
	padding: 0 0 20px 0;
}
.menu_unit>p.menu_unit_price {
	float: left;
	margin: 0 0 0.25em;
	line-height: 1.1;
	width: 25%;
	width: calc(4rem);
	text-align: left;
	font-size: 24px;
	font-style: normal;
	color: #963232;
	padding: 0;
	font-family: 'Fira Sans', sans-serif;
}

/* 404
-------------------------------------------------------------- */
#fozerofo .error { 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align:center;
}
#fozerofo .error h1 {
	color:#963232;
	font-weight:700;
	font-size:48px;
}

/* Media Queries
-------------------------------------------------------------- */
@media screen and (max-height: 780px) {
aside #logo {
	margin-top: 50px;
	margin-bottom: 30px;
}
.nav_line { margin: 20px auto; }
#contact .second {
	height: 100%;
	border: none;
}
#contact .third { display: none; }
}

@media screen and (max-height: 680px) {
aside #logo {
	margin-top: 20px;
	margin-bottom: 20px;
}
aside .main_nav a {
	line-height: 36px;
	font-size: 18px;
}
.nav_line { margin: 10px auto; }
footer .amstgroup {	margin: 0; }
}
@media screen and (max-height: 600px) {
.social { display:none }
}
@media screen and (max-width: 1440px) {
.content .contentInner { border: 3px solid transparent; }
html .contentInner .first { border-right: 3px solid transparent; }
html .contentInner .second { border-bottom: 3px solid transparent; }
html .contentInner .third {	border-right: 3px solid transparent; }
.content #specialpage .second .pagesection, .content #eventspage .second .pagesection, .content #contact .second .pagesection { overflow: inherit; }
.content #menupage .first .pagesection { border: 5px solid transparent; }
#home .eventslide span, #home .third span, #home .fourth span { display: none; }
.event_cotent {
	text-align: left;
	width: 70%;
}
.event_cotent, .menuanons_cotent, .pagesection_header { margin: 0 20px; }
.pagesection_header { bottom: 20px; }
#home h2, #contact h2, #specialpage h1, #eventspage h1, #menupage h2 { font-size: 24px; }
#contact h3, #menupage h3, #menupage p.menu_unit_price { font-size: 18px; }
#specialpage p, #eventspage p, #contact p, #menupage p, .eventpost_content header>span { font-size: 14px; }
a.btn_red_next {
	width: 24px;
	height: 24px;
	line-height: 24px;
	margin: 20px 5px 40px;
}
}

@media screen and (max-width: 1050px) {
aside { width: 200px; }
aside #logo {
	margin-left: 20px;
	margin-right: 20px;
}
.content { left: 200px; }
}

@media screen and (max-width: 1024px) {
.content .contentInner { border: 3px solid transparent; }
html .contentInner .first { border-right: 3px solid transparent; }
html .contentInner .second {
	border-bottom: 3px solid transparent;
	height: 40%;
}
html .contentInner .third {
	border: none;
	top: 40%;
	right: 0;
	bottom: auto;
	height: 30%;
}
html .contentInner .fourth {
	border-top: 3px solid transparent;
	left: 44%;
	top: 70%;
}
.content #specialpage .second .pagesection, .content #eventspage .second .pagesection, .content #contact .second .pagesection { overflow: inherit; }
.content #contact .second { height: 100%; }
.content #contact .third { display: none; }
.content #menupage .first .pagesection { border: 5px solid transparent; }
#home .eventslide span, #home .third span, #home .fourth span { display: none; }
.event_cotent {
	text-align: left;
	width: 70%;
}
.event_cotent, .menuanons_cotent, .pagesection_header { margin: 0 20px; }
.pagesection_header { bottom: 20px; }
#home h2, #contact h2, #specialpage h1, #eventspage h1, #menupage h2 { font-size: 24px; }
#contact h3, #menupage h3, #menupage p.menu_unit_price { font-size: 18px; }
#specialpage p, #eventspage p, #contact p, #menupage p, .eventpost_content header>span { font-size: 14px; }
.eventpost_content { padding: 20px; }
.text_container { padding: 20px; }
a.btn_red_next {
	width: 24px;
	height: 24px;
	line-height: 24px;
	margin: 20px 5px 40px;
}
}

@media screen and (max-width: 700px) {
html .content {
	overflow-y: scroll;
	overflow-x: hidden;
}
html aside { left: -200px; }
html .mobile_icon { display: block; }
html .content {
	left: 0;
	right: auto;
	width: 100%;
	background-color: #fff;
}
.content .contentInner {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	bottom: auto;
	border: none;
}
.content #fozerofo.contentInner ,
.content #interior.contentInner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: none;
}
html .contentInner .first {
	position: relative;
	width: 100%;
	height: 300px;
	display: block;
	border: none;
}
.content #eventspage .first, .content #specialpage .first {
	position: relative;
	width: 100%;
	height: 250px;
	display: block;
	border: none;
}
.content #menupage .first {
	position: relative;
	height: 100%;
	display: block;
	left: auto;
	right: auto;
	bottom: auto;
	top: auto;
	border: none;
}
.content #menupage .first .pagesection {
	position: relative;
	border: none;
	overflow: inherit;
	padding: 25px;
	height: 100%;
}
html .contentInner .second, html .contentInner .third, html .contentInner .fourth {
	position: relative;
	height: 300px;
	display: block;
	left: auto;
	right: auto;
	bottom: auto;
	top: auto;
	border: none;
}
.content #eventspage .second, .content #contact .second, .content #specialpage .second {
	position: relative;
	height: 100%;
	display: block;
	left: auto;
	right: auto;
	bottom: auto;
	top: auto;
	border: none;
}
.content #contact .second { overflow: inherit; }
.content #specialpage .second .pagesection { position: relative; }
.content #contact .third { display: none; }
#home .eventslide span, #home .third span, #home .fourth span { display: none; }
#home h2 { font-size: 24px; }
#eventspage h1, #specialpage h1 { font-size: 30px; }
.eventpost_content { padding: 40px; }
.event_cotent {
	text-align: left;
	width: 70%;
}
.text_container { padding: 40px; }
.menu_unit h3, .menu_unit>p.menu_unit_price { font-size: 22px; }
.menu_unit>p.menu_unit_price { text-align: right; }
}
