@import "bootstrap.css";
@import "bootstrap-responsive.css";
@import url(http://fonts.googleapis.com/css?family=Roboto:400,400italic,300,700,300italic,500,500italic,700italic,900,900italic,100italic,100&subset=latin,cyrillic-ext);
html {
	height: 100%;
}
header, nav, section, article, aside, footer {
	display: block;
}
body {
	font: 14px Roboto, sans-serif;
	width: 100%;
	height: 100%;
	padding: 0;
	background: url("../images/pattern_500_333.png");
	color: #333333;
}
a {
	outline: none;
	color: #333333;
	text-decoration: underline;
}
a:hover,
a:focus {
	outline: none;
	color: #333333;
	text-decoration: none;
}
p {
	margin: 0 0 18px
}
img {
	border: none;
}
input, textarea {
	padding: 0 10px !important;
	color: #333333 !important;
	font-size: 16px !important;
	border-color: transparent !important;
	box-shadow: none !important;
	outline: none;
}
 textarea {
	padding: 10px !important;
 }
#wrapper {
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
}

.nomrg {
	margin: 0
}

.brd {
	border: 1px solid red !important
}


/* Header
-----------------------------------------------------------------------------*/
header {
	background: #d2d1cf;
	background: rgba(232,232,232, .95);
	position: fixed;
	width: 100%;
	z-index: 5;
	top: 0
}

.logo {
	display: block;
	min-height: 70px;
	margin: 0;
	position: relative;
	cursor: pointer
}

.logo img {
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0
}

.logo p {
	display: none;
	font-size: 16px;
	color: #333333;
	font-weight: 300
}

.phone {
	padding: 10px 0 10px 20px;
	margin: 0;
	float: left;
	line-height: 24px;
	font-size: 16px;
	color: #333333;
	font-weight: 300
}

nav {
	min-height: 70px;
	float: left;
	margin-left: 8px;
}

nav ul {
	float: left;
	margin: 0;
	min-height: 70px;
}

nav ul li {
	display: block;
	float: left;
	margin: 0 -2px
}

nav ul li a {
	line-height: 70px;
	padding: 8px 12px;
	border-radius: 18px;
	-webkit-border-radius: 18px;
	-moz-border-radius: 18px;
	color: #000;
	font-weight: 400;
	font-size: 15px;
	text-decoration: none;
	text-transform: uppercase
}

nav ul li a:hover {
	color: #000;
	text-decoration: underline
}

nav ul li a.active {
	background: #999796
}

.auth-reg {
	position: relative;
	top: 80px;
	height: 40px;
	z-index: 3
}

.auth {
	width: 170px;
	height: 40px;
	float: right;
	background: #fff;
	background: rgba(255,255,255, .2);
	border-radius: 18px;
	-webkit-border-radius: 18px;
	-moz-border-radius: 18px;
	text-align: center;
	color: #fff;
}

.auth a {
	color: #fff;
	font-weight: 300;
	line-height: 40px;
	padding: 0 2px;
	font-weight: 300;
	text-decoration: none
}

.auth a:hover {
	text-decoration: underline
}

@media (max-width: 1024px) {
	.phone {
		display: none
	}
}

@media screen and (min-width:800px) and (max-width:900px) {
	.logo {
		display: none;
	}
}

@media (max-width: 768px) {
	nav ul li a {
		padding: 5px 7px;
		font-size: 12px;
	}
}

@media screen and (min-width:320px) and (max-width:640px) {
	header {
		position: relative;
		padding-bottom: 20px
	}
	.logo {
		background: #fff
	}
	.logo img {
		top: -40px;
	}
	.logo p {
		display: block;
		padding: 100px 0 20px;
		text-align: center
	}
	nav {
		float: none;
		margin: 0;
	}

	nav ul {
		float: none;
		margin: 0;
	}
	nav ul li {
		display: block;
		float: none;
		text-align: center;
	}
	nav ul li a {
		padding: 8px 12px;
		font-size: 16px;
		line-height: 50px;
	}
	.auth-reg {
		display: none
	}
}



/* Slider
-----------------------------------------------------------------------------*/
#slider {
	position: fixed;
	z-index: 2;
	top: 0;
	width: 100%;
}

#slider ul {
	overflow: hidden;
	height: 525px !important;
	margin: auto;
	position: relative;
}

#slider ul li {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	position: absolute;
}

#slider ul li + li {
	display: none
}

#slider ul li img {
	width: 100%;
}

#slider ul li .slide {
	position: absolute;
	left: 0;
	right: 0;
	margin: 20% auto 0;
	z-index: 5
}

#slider ul li .slide h1 {
	color: #fff;
	width: 650px;
	margin: 30px auto 0;
	line-height: 46px;
	font-weight: 700;
	text-shadow: 1px 1px 10px rgba(0,0,0, .5);
	text-transform: uppercase;
}

.prev,
.next {
	display: block;
	height: 110px;
	width: 110px;
	background: url("../images/arrow_222_110.png") no-repeat left center;
	position: absolute;
	top: 50%;
	margin-top: -10px;
	z-index: 6
}

.prev {
	left: 10%
}

.next {
	background-position: right center;
	right: 10%;
}

@media (min-width: 1920px) {
	#slider ul {
		height: 740px !important;
	}
	#slider ul li .slide h1 {
		margin: 10px auto 0;
	}
}

@media (max-width: 1280px) {
	#slider ul {
		height: 495px;
	}
	#slider ul li .slide h1 {
		margin: 10px auto 0;
	}
}

@media (max-width: 1024px) {
	#slider ul {
		height: 395px !important;
	}
	#slider ul li .slide h1 {
		width: 500px;
		margin: 0 auto;
	}
}

@media (max-width: 980px) {
	.prev,
	.next {
		height: 55px;
		width: 55px;
		background: url("../images/arrow_110_55.png") no-repeat left center;
		margin-top: 0;
	}
	.next {
		background-position: right center;
	}
	#slider ul {
		height: 380px;
	}
	#slider ul li .slide h1 {
		width: 500px;
		margin: 0 auto;
	}
}

@media (max-width: 900px) {
	.prev,
	.next {
		height: 55px;
		width: 55px;
		background: url("../images/arrow_110_55.png") no-repeat left center;
	}
	.next {
		background-position: right center;
	}
	#slider ul {
		height: 350px;
	}
}

@media (max-width: 800px) {
	.prev,
	.next {
		height: 55px;
		width: 55px;
		background: url("../images/arrow_110_55.png") no-repeat left center;
		margin-top: -30px;
	}
	.next {
		background-position: right center;
	}
	#slider ul {
		height: 310px;
	}
	#slider ul li .slide h1 {
		width: 400px;
		margin: 10px auto 0;
		font-size: 23px;
		line-height: 36px;
	}
}

@media (max-width: 768px) {
	.prev,
	.next {
		height: 55px;
		width: 55px;
		background: url("../images/arrow_110_55.png") no-repeat left center;
		margin-top: -30px;
	}
	.next {
		background-position: right center;
	}
	#slider ul {
		height: 300px;
	}
	#slider ul li .slide h1 {
		width: 400px;
		margin: 10px auto 0;
		font-size: 23px;
		line-height: 36px;
	}
}


@media screen and (min-width:320px) and (max-width:640px) {
	#slider {
		display: none
	}
}



/* Middle
-----------------------------------------------------------------------------*/
#content {
	padding: 0 0 90px;
	background: url("../images/pattern_500_333.png");
	position: relative;
	z-index: 4;
	margin-top: 485px
}

#content.nomrg {
	margin: 0;
	padding-top: 70px
}

@media (min-width: 1920px) {
	#content {
		margin-top: 700px;
	}
}

@media (max-width: 1280px) {
	#content {
		margin-top: 455px
	}
}

@media (max-width: 1024px) {
	#content {
		margin-top: 355px
	}
}

@media (max-width: 980px) {
	#content {
		margin-top: 340px
	}
}

@media (max-width: 900px) {
	#content {
		margin-top: 300px
	}
}

@media (max-width: 800px) {
	#content {
		margin-top: 270px
	}
}

@media (max-width: 768px) {
	#content {
		margin-top: 255px
	}
}

@media screen and (min-width:320px) and (max-width:640px) {
	#content {
		margin: 0
	}
	#content.nomrg {
		margin: 0;
		padding-top: 0
	}
}



/* Page
-------------------*/
@media screen and (min-width:320px) and (max-width:640px) {
	.page {
		padding: 15px;
	}
	.page .tab-img {
		display: none
	}
}


/* Tabs
-------------------*/
#myTab {
	padding: 35px 0 10px;
	border: 0
} 

#myTab li + li {
	margin-left: 20px
}

#myTab li a[data-toggle="tab"]  {
	display: block;
	height: 45px;
	padding: 0 20px;
	line-height: 45px;
	border-radius: 18px;
	-webkit-border-radius: 18px;
	-moz-border-radius: 18px;
	font-weight: 400;
	color: #000;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	font-size: 16px;
	transition: background linear .4s;
	-webkit-transition: background linear .4s;
	-moz-transition: background linear .4s;
	-o-transition: background linear .4s;
	-ms-transition: background linear .4s;
}

#myTab li.active a[data-toggle="tab"],
#myTab li a[data-toggle="tab"]:hover {
	background: #d6d6d6;
	background: rgba(0,0,0, .18);
}

.tab-img {
	padding: 10px 0 0
}

.tab-img .title {
	padding-top: 15px;
	*padding-top: 15px !important;
}

.tab-img img {
	margin: 28px 0 0;
}

@media screen and (min-width:320px) and (max-width:640px) {
	#myTab {
		padding: 15px 0 10px;
	} 
}

@media (max-width:480px) {
	#myTab li {
		width: 100%;
		text-align: center
	}
	#myTab li + li {
		margin: 10px 0 0;
		margin-left: 0
	}
}



/* Fomrs
-------------------*/
#myModal {
	background: none;
	box-shadow: none;
	width: 291px;
	margin: auto;
	left: 0;
	right: 0;
	border: 0;
	padding: 0
}

.form-contact {
	width: 291px;
	min-height: 390px;
	background: url("../images/bg_1920_512.jpg") no-repeat top;
	border-radius: 7px;
	margin: auto;
}

.form-contact h3 {
	text-shadow: 1px 1px 0 rgba(54,91,129, .5);
	font-size: 24px;
	margin: 0;
	padding: 5px 0;
	color: #fff;
	text-align: center;
	font-weight: 400;
}

.form-contact input,
.form-contact textarea {
	margin: 0 17px 10px;
	width: 235px;
	height: 45px;
	line-height: normal
}

.form-contact textarea {
	height: 128px;
	line-height: normal;
	resize: none
}

.contact-btn {
	display: block;
	width: 180px;
	height: 47px;
	line-height: 47px;
	text-align: center;
	margin: 5px auto;
	*margin: 1px auto;
	background: #fff;
	background: rgba(255,255,255, .2);
	border-radius: 18px;
	-webkit-border-radius: 18px;
	-moz-border-radius: 18px;
	font-weight: 500;
	font: 18px Roboto, sans-serif;
	color: #000;
	border: 0;
	transition: background linear .4s;
	-webkit-transition: background linear .4s;
	-moz-transition: background linear .4s;
	-o-transition: background linear .4s;
	-ms-transition: background linear .4s;
}

.contact-btn:hover {
	background: rgba(255,255,255, .3);
	color: #000;
}



/* about
-------------------*/
.about {
	min-height: 470px;
	background: url("../images/bg_1920_512.jpg");
	padding: 15px 0;
	position: relative
}

.about h3 {
	color: #fff;
	font-weight: 300;
	font-size: 24px;
}

h3.title {
	font-weight: 400;
}

.about ul li {
	padding: 10px 0 10px 30px;
	list-style: none;
	background: url("../images/marker_13_14.png") no-repeat left 13px
}

.contact-us,
.contact-us:focus {
	display: block;
	width: 220px;
	height: 45px;
	line-height: 45px;
	text-align: center;
	margin: 30px auto;
	background: #fff;
	background: rgba(255,255,255, .2);
	border-radius: 18px;
	-webkit-border-radius: 18px;
	-moz-border-radius: 18px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	font-size: 18px;
	text-transform: uppercase;
	text-shadow: 1px 1px 0 rgba(54,91,129, .5);
	transition: background linear .4s;
	-webkit-transition: background linear .4s;
	-moz-transition: background linear .4s;
	-o-transition: background linear .4s;
	-ms-transition: background linear .4s;
}

.contact-us:hover {
	background: rgba(255,255,255, .3);
	color: #fff;
}

.carousel {
	height: 300px;
	padding: 20px 0;
	margin: 0;
	border-bottom: 1px solid #666666
}

.cprev,
.cnext {
	display: block;
	height: 44px;
	width: 44px;
	background: url("../images/arrow_94_44.png") no-repeat left center;
	float: right;
	margin: 8px 5px
}

.cnext {
	background-position: right center
}

@media screen and (min-width:320px) and (max-width:640px) {
	.about {
		padding: 15px;
	}
	.about img[class="span3"]{
		display: none
	}
}


/* carousel
-------------------*/
#carousel {
	float: left;
	margin: 20px 0 0 0
}

#carousel li {
	list-style: none;
	display: block;
	float: left;
	height: 187px;
	width: 203px;
	margin: 0 17px;
	position: relative;
    overflow: hidden;
}

#carousel li a {
	display: block;
	height: 187px;
	width: 203px;
	position: absolute;
	left: 0;
	top: 0;
	text-decoration: none;
	line-height: 187px;
	text-align: center;
	font-size: 18px;
	color: #fff;
	z-index: 4
}

#carousel li .hover {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
	height: 187px;
	width: 203px;
	background: rgb(0,0,0);
	background: rgba(0,0,0, .6);
	opacity: 0;
	filter: alpha(opacity=0)
}

@media (max-width: 768px) {
	#carousel li {
		margin: 0 22px;
	}
}

@media screen and (min-width:320px) and (max-width:640px) {
	.carousel {
		padding: 15px;
	}
	.carousel h3.title {
		width: auto;
		float: left
	}
}



/* services
-------------------*/
.services {
	padding-top: 20px 
}

.services h4 {
	font-weight: 400;
	font-size: 18px;
	padding: 0 0 20px
}

.services .contact-us {
	background: #d6d6d6;
	background: rgba(0,0,0, .18);
	float: right
}

.services .contact-us:hover {
	background: rgba(0,0,0, .28);
}

#services {
	width: auto !important;
}

#services li {
	display: block;
	min-height: 220px;
	margin: 0;
	float: left;
}

#services li figure {
	margin: 0
}

#services li figure img {
	margin: 0
}

.sprev,
.snext {
	display: block;
	height: 44px;
	width: 44px;
	background: url("../images/arrow_94_44.png") no-repeat left center;
	float: right;
	margin: 8px 5px
}

.snext {
	background-position: right center
}

@media screen and (min-width:320px) and (max-width:640px) {
	.services {
		padding: 15px;
	}
	.services h3.title {
		width: auto;
		float: left
	}
	#services img {
		display: none
	}
	.services .contact-us {
		margin: 15px auto;
		float: none
	}
	#services {
		margin: 0;
	}
}



/* news
-------------------*/
.news {
	background: #fff;
	padding: 0 0 50px
}

.news strong {
	font-weight: 900;
	display: block;
	margin-bottom: 20px
}

.news h3 {
	padding: 10px 0
}

@media screen and (min-width:320px) and (max-width:640px) {
	.news {
		padding: 15px;
	}
	.news h3 {
		padding: 0 0 10px
	}
	.news strong {
		margin-bottom: 10px
	}
}



/* Footer
-----------------------------------------------------------------------------*/
footer {
	margin: -91px auto 0;
	min-height: 90px;
	background: #fff;
	position: relative;
	z-index: 4;
	border-top: 1px solid #666666
}

footer p {
	margin: 25px 0
}

#footer {
	float: right;
	margin: 0
}

#footer li {
	list-style: none;
	display: block;
	float: left;
	margin: 25px 0
}

#footer li + li {
	margin-left: 10px
}

#footer li a {
	text-decoration: none
}

#footer li a:hover {
	text-decoration: underline
}

.face,
.twt,
.vk {
	display: block;
	margin: 25px 10px;
	height: 31px;
	width: 31px;
	float: right;
	background: url("../images/social_121_31.png") no-repeat left 0
}

.twt {
	background-position: center 0
}

.vk {
	background-position: right 0
}

@media (max-width: 768px) {
	footer .row [class*="span"] {
		width: 100%;
		text-align: center
	}
	#footer {
		float: none;
		
	}
	#footer li {
		display: inline-block;
		*display: inline;
		zoom: 1;
		margin: 15px 0;
		float: none;
	}
	.face,
	.twt,
	.vk {
		display: inline-block;
		*display: inline;
		zoom: 1;
		margin: 10px;
		float: none;
	}
}
@media screen and (min-width:320px) and (max-width:640px) {
	footer {
		padding: 15px
	}
}

.form-contact .error {
    background: #FE0303;
}