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

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

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

body {margin: 0;font-family: 'HelveticaNeueCyr-Light';font-size: 16px;font-weight: normal;line-height: 1.5;background: url(../images/bg.jpg);}
*, :before, :after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,h2,h3,h4,h5,h6, p {
	margin: 0;
	font-weight: normal;
}

a {
	text-decoration: none;
	color: #000;
}

#map {
	height: 400px;
	width: 100%;
}

.container {width: 960px;margin: 0 auto;position: relative;}
header{
    padding: 10px 0;
    background: #fff;
}

.logo {
    display: block;
    float: left;
    outline: none;
    text-decoration: none;
    font-family: 'HelveticaNeueCyr-Black';
    font-size: 18px;
    margin-top: 9px;
}
.logo img {
    height: 50px;
}

nav {
    float: left;
    margin-left: 25px;
    margin-top: 11px;
}
nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: block;
}
nav ul li {
    float: left;
    margin-right: 25px;
}
nav ul li a {
    font-size: 15px;
    color: #261310;
    text-decoration: none;
}
nav ul li a:hover {
	text-decoration: underline;
}
#main_slider {
}
#main_slider .container {position: relative;}


.about {
    padding: 50px 0;
    background: #F1EADA;
}
.about h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    font-family: 'HelveticaNeueCyr-Black';
}
.about-wrap {}
.about-wrap .right {
    width: calc(100% - 400px);
    float: left;
    padding-left: 50px;
}
.about-wrap  p {
    font-size: 18px;
    margin-bottom: 15px;
}
.about-wrap .img {
    float: left;
    width: 400px;
}
.about-wrap img {}

.services {
    background: url(../images/services.jpg) no-repeat top;
    color: #fff;
    padding: 50px 0;
    background-size: cover;
}
.services h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    font-family: 'HelveticaNeueCyr-Black';
}
.services ul {}
.services ul li {
    margin-bottom: 10px;
}
.services ul li span {
    font-family: 'HelveticaNeueCyr-Black';
}

.gallery {
    padding: 50px 0;
    background: #F1EADA;
}
.gallery h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    font-family: 'HelveticaNeueCyr-Black';
}
.gallery-wrap {}
.gallery-wrap a {
    float: left;
    width: 25%;
    padding: 5px;
}
.gallery-wrap a:nth-of-type(4n + 5){
	clear: both;
}
.gallery img {
    max-width: 100%;
    display: block;
    box-shadow: 0 4px 5px rgba(27, 27, 27, 0.58);
}
.gallery img:hover {
	box-shadow: none;
}

.contacts {
    border-top: 1px solid #e2bc8f;
}
.contacts-wrap {
    position: absolute;
    top: 30px;
    left: 0;
    background: rgba(255, 255, 255, 0.81);
    z-index: 999;
    max-width: 310px;
    padding: 10px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.33);
}

.contacts-wrap h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-family: 'HelveticaNeueCyr-Black';
}
.contacts-wrap ul {}
.contacts-wrap ul li {}
.contacts-wrap ul li span {
    font-family: 'HelveticaNeueCyr-Black';
}

.header-right {
	float: right;
}
.header-right p {text-align: right;font-size: 15px;}


.wrap {
	max-width: 1200px;
	margin: 0 auto;
	box-shadow: 0 0 10px #000;
	overflow: hidden;
}

footer {
    background: #ffffff;
    padding: 10px 0;
}
footer .copy {
	float: left;
}

.mobile-menu {
    display: none;
}

@media screen and (max-width: 960px){
	.mobile-menu {
		display: block;
		float: right;
		color: #000;
		text-decoration: none;
		font-size: 18px;
		margin-top: 15px;
	}	
	
	nav {
		float: right;
		display: none;
		position: absolute;
		right: -24px;
		z-index: 999999999;
		background: #fff;
		text-align: right;
		padding: 15px;
		top: 40px;
	}
	
	nav ul li {
		float: none;
		margin-bottom: 15px;
	}
	
	nav ul li a {
		font-size: 18px;
	}
	
	.container {
		width: 95%;
	}
	
	img {
		max-width: 100%;
	}
	
	.header-right {
		display: none;
	}
}

@media screen and (max-width: 767px){
	.bx-wrapper .bx-caption span {
		font-size: 14px !important;
	}
	
	.bx-wrapper .bx-controls-direction a {
		top: 40% !important;
	}
	
	.about-wrap .img {
		float: none;
		width: 100%;
		text-align: center;
		margin-bottom: 15px;
	}
	
	.about-wrap .right {
		float: none;
		width: 100%;
		padding: 0;
	}
}

@media screen and (max-width: 480px){
	.gallery-wrap a {
		width: 33.333%;
	}
	
	.gallery-wrap a:nth-of-type(4n + 5) {
		clear: none;
	}
	.gallery-wrap a:nth-of-type(3n + 4) {
		clear: both;
	}
	
	.bx-wrapper .bx-controls-direction a {
		width: 30px !important;
		height: 30px !important;
	}
	
	.bx-wrapper .bx-caption span {
		font-size: 12px !important;
	}
	
	.contacts-wrap {
		position: static;
		margin: 10px 0;
		width: 100%;
	    max-width: 100%;
	}
}