@import "reset.css";
@import url(http://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic,400&subset=latin,cyrillic,cyrillic-ext,latin-ext);

html, body {
    height: 100%;
    width: 100%;
}

body {
	font-family: 'Roboto', Arial, Helvetica, sans-serif;
	font-size: 1em;
	background-color: #fff;
	color: #000;
}

*, *:before, *:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

header {
	background: /*#d1dde7*/ rgba(255, 255, 255, 0.5);
	position: fixed;
	width: 100%;
	/*padding: 25px 0;*/
	padding: 1.5em 0;
	overflow: hidden;	
	z-index: 10;
	box-shadow: 0 -4px 10px #000;
}

.container {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding: 0 10px;
}

header .logo {
	background: url('../img/logo.png');
	width: 224px;
	height: 70px;
	float: left;
	display: block;
}

header .h_contacts {
	float: right;
	text-align: right;
}

header .h_contacts span {
	display: block;
}

header .h_contacts .phone{
	font-size: 1.5em;
	line-height: 48px;
	font-weight: bold;
}

header .h_contacts .address {
	font-size: 1em;
	font-weight: 300;
}

header.white {
	background: #fff;
}

main {
	height: 100%;
    margin: 0;
    position: relative;
}

#slide {
	width: 100%;
	position: relative;
	min-height: 600px;
	/*padding: 120px 0 0;*/
	padding: 7.4em 0 0;
}

/*  Slide1 */


.slide_1 {
	height: 100%;
	text-align: center;
	background-image: url('../img/bg.jpg');
	background-attachment: fixed;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 100% !important;
}

.slide_1:after {
    content: "";
    display: inline-block;
    height: 100%;
    margin-right: -0.25em;
    vertical-align: middle;
}

.slide_1 .container {
	width: 99%;
	margin: auto;
	vertical-align: middle;
	display: inline-block;
}

.slide_1 p {
	color: #fff;
	/*font-size: 22px;*/
	font-size: 1.4em;
	/*line-height: 30px;*/
	line-height: 1.35em;
	font-weight: 300;
	width: 590px;
	/*margin: 106px auto 70px;*/
	margin: 0 auto 3%;
}

.slide_1 h1 {
	color: #0a2941;
	font-weight: bold;
	/*font-size: 48px;*/
	font-size: 3em;
	/*line-height: 60px;*/
	line-height: 1.25em;
	margin-bottom: 3%;
}

a.btn-next {
	background: url("../img/arrow-down.png") no-repeat scroll center 40px rgba(0, 0, 0, 0);
    bottom: 5%;
    color: #FFFFFF;
    display: block;
    font-size: 1.25em;
    font-weight: 300;
    height: 53px;
    left: 44%;
    line-height: 40px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    position: absolute;
    text-decoration: none;
    text-transform: uppercase;
    width: 125px;
}

/*  Slide2 */

.main {
	background: #fff;

}

h1 {
	color: #0a2941;
	font-size: 48px;
	line-height: 50px;
	font-weight: bold;
	margin: 3% 0;
	text-align: center;
}

p {
	font-size: 20px;
	line-height: 30px;
	font-weight: 300;
	margin: 2% 0;
}

.gallery {
	text-align: center;
	position: relative;
	margin: 3% 0;
}

.gallery img {
	border: 1px solid #e6e6e6;
	padding: 10px;
	margin: 0 25px;
	z-index: 1;
	position: relative;
	background: #fff;
}

.gallery hr {
	position: absolute;
	top: 53px;
	width: 100%;
	height: 1px;
	border: none;
	border-bottom: 1px solid #e6e6e6;
}

.advantages {
	background: url('../img/bg_adv.png') no-repeat center 95px;
	margin: 2% 0;
}

.advantages .part {
	overflow: hidden;
	text-align: center;
	min-height: 198px;
}

.advantages .part p {
	font-size: 18px;
	line-height: 26px;
	font-weight: 300;
	width: 299px;
	margin: 0 auto;
}

.heading {
	color: #d53b3c;
	font-size: 25px;
	line-height: 24px;
	font-weight: bold;
	text-align: center;
	display: block;
}

.advantages .adv_main {
	padding: 46px 0 170px;
}

.advantages .part p.center {
	color: #fff;
	font-size: 30px;
	line-height: 40px;
}

.advantages .part .left {
	float: left;
	margin-right: 30px;
}

.right {
	float: right;
}

.advantages .part.last {
	min-height: 80px;
}

.table {
	border: 1px solid #ccc;
	overflow: hidden;
}

.table  .td {
	float: left;
	width: 310px;
	border-left: 1px solid #ccc; 
	padding: 25px 30px;
}

.table  .td:first-child {
	border-left: none; 
}

.table .heading, .contacts .heading {
	text-align: left;
	line-height: 40px;
}

.table p{
	font-size: 18px;
	line-height: 26px;
}

.contacts {
	overflow: hidden;
	border-bottom: 1px solid #e6e6e6;
	padding-bottom: 3%;
}

.contacts .col {
	float: left;
	width: 480px;
}

.contacts .col .wrap_c {
	width: 325px;
	margin-bottom: 3%;
}

.contacts .col .wrap_c  p{
	font-size: 18px;
	line-height: 26px;
}

strong {
	font-weight: bold;
}

.map {
	border: 1px solid #e6e6e6;
	padding: 10px;
}

footer {
	margin: 5% 0;
}

footer span {
	display:block;
	color: #808080;
	font-size: 16px;
	line-height: 24px;
	margin: 2% 0;
	font-weight: 300;
}

/* Mobile */	


@media screen and (max-width: 950px) {
.advantages {
		background: none;
		margin: 2% 0;
}

.advantages .part {
		overflow: hidden;
		text-align: center;
		min-height: 90px;
}

.advantages .part p {
		font-weight: 300;
		width: 299px;
		margin: 0 auto;
}

.heading {
	color: #d53b3c;
		font-weight: bold;
		text-align: center;
		display: block;
}

.advantages .adv_main {
		padding: 0;
}

.advantages .part p.center {
		display: none;
}

	.advantages .part .left {
		float: left;
		margin-right: 30px;
	}
	
	.table {
		border: 1px solid #ccc;
		overflow: hidden;
	}

	.table  .td {
		float: none;
		width: 100%;
		border-top: 1px solid #ccc; 
		padding: 25px 30px;
	}

	.table  .td:first-child {
		border-top: none; 
	}

	.table .heading, .contacts .heading {
		text-align: left;
	}

	.table p{

	}
}

@media screen and (max-width: 665px) {
	
	.gallery img {
		display: block;
		margin-bottom: 5px;
	}
	
	.gallery hr {
		display: none;
	}
	
	.advantages {
    background: none;
    margin: 2% 0;
	}
	
	.advantages .part {
		min-height: 30px;
		text-align: center;
	}
	
	.advantages .part p {
				margin: 0;
	}
	
	.advantages .adv_main {
		padding: 0;
	}
	
	.advantages .part .left {
		float: none;
	}
	
	.advantages .part p.center {
		color: #000;
		display: none;
	}
	
	.right {
		float: none;
	}
	
	.table .td {
		float:none;
		border-left: none;
		padding: 5px 8px;
		width: 100%;
		border-top: 1px solid #ccc;
	}
	
	.table .td:first-child {
		border: none;
	}
	
	
	.map {
		border: none;
		padding: 0;
	}
	
}

@media screen and (max-width: 640px) {
	h1 {
		font-size: 46px !important;
		word-break: break-all;
		text-align: left;
	}
	
	.slide_1 .container {
		width: 100%;
	}

	header {
		padding: 15px 0;
		position: absolute;
	}

	header .logo {
		background: url('../img/logo.png');
		width: 65px;
		height: 70px;
		float: left;
		display: block;
	}
	
	header .h_contacts {
		float: none; 
		text-align: left; 
	}
	
	#slide {
		width: 100%;
		position: relative;
		min-height: 600px;
		padding: 120px 0 0;
	}
	
	.main {
		padding-top: 20px !important;
	}
	
	.main h1 {
		text-align: left;
	}
	
	.heading {
		text-align: left;
	}
	
	.advantages .part p {
		text-align: left;
		margin: 5px 0;
	}
	
	.gallery img {
		width: 100%;
		border: none;
		padding: 0;
		margin: 0 0 20px 0;
	}
	
	.slide_1 p {
		font-size: 20px;
	}
	
		a.btn-next {
		display:none;
	}
	
}

@media screen and (max-width: 480px) {
	.slide_1 p {
		font-size: 16px;
	}
	
	h1 {
		font-size: 38px !important;
	}
	
	p {
		font-size: 16px;
		line-height: 26px;
		margin: 2% 0;
	}
	
	.heading {
		font-size: 21px;
	}
}