@font-face {
    font-family: 'myPT';
    src: url('font/PTS55F-webfont.eot');
    src: url('font/PTS55F-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/PTS55F-webfont.woff') format('woff'),
         url('font/PTS55F-webfont.ttf') format('truetype'),
         url('font/PTS55F-webfont.svg#pt_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'myPTNarrow';
    src: url('font/PTN57F-webfont.eot');
    src: url('font/PTN57F-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/PTN57F-webfont.woff') format('woff'),
         url('font/PTN57F-webfont.ttf') format('truetype'),
         url('font/PTN57F-webfont.svg#pt_sans_narrowregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
*{
	margin: 0;
	padding: 0;
}
html, body{
	width: 100%;
	height: 100%;
	font-family: "myPT", "trebuchet ms", sans-serif;
	font-size: 15px;
	background: #dfe2e3;
	line-height: 18px;
}

button{
	position: relative;
	display: inline-block;
	color: #777674;
	font-weight: bold;
	text-decoration: none;
	text-shadow: rgba(255,255,255,.5) 1px 1px, rgba(100,100,100,.3) 3px 7px 3px;
	user-select: none;
	padding: 1em 2em;
	outline: none;
	border-radius: 3px / 100%;
	background-image:
	linear-gradient(45deg, rgba(255,255,255,.0) 30%, rgba(255,255,255,.8), rgba(255,255,255,.0) 70%),
	linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0) 20%, rgba(255,255,255,0) 90%, rgba(255,255,255,.3)),
	linear-gradient(to right, rgba(125,125,125,1), rgba(255,255,255,.9) 45%, rgba(125,125,125,.5)),
	linear-gradient(to right, rgba(125,125,125,1), rgba(255,255,255,.9) 45%, rgba(125,125,125,.5)),
	linear-gradient(to right, rgba(223,190,170,1), rgba(255,255,255,.9) 45%, rgba(223,190,170,.5)),
	linear-gradient(to right, rgba(223,190,170,1), rgba(255,255,255,.9) 45%, rgba(223,190,170,.5));
	background-repeat: no-repeat;
	background-size: 200% 100%, auto, 100% 2px, 100% 2px, 100% 1px, 100% 1px;
	background-position: 200% 0, 0 0, 0 0, 0 100%, 0 4px, 0 calc(100% - 4px);
	box-shadow: rgba(0,0,0,.5) 3px 10px 10px -10px;
	font-size: 110%;
	margin-top: 20px;
}

.wrapper a.area{
	    color: steelblue;
		text-decoration: underline;
		font-size: 110%;
}

.wrapper button a{
  color: steelblue;
}

button:hover {
	transition: .5s linear;
	background-position: -200% 0, 0 0, 0 0, 0 100%, 0 4px, 0 calc(100% - 4px);
}
button:active {
	top: 1px;
}


a{
	text-decoration: none;
}

.narrow{
	font-family: "myPTNarrow", "trebuchet ms", sans-serif;
	font-size: 24px;
	line-height: 28px;
}


/* Стили основного блока */

div.outer {
    position: absolute;
	bottom: 0;
    left: 0;
    right: 0;
    top: 0;	
}

div.before {
    display: table;
    height: 100%;
    width: 70%;
    margin: auto;
}

div.inner {
    display: table-cell;	
    vertical-align: middle;
	overflow: hidden;
	text-align: center;
	color:#4a4a4a;
	font-size: 160%;
	line-height: 24px;
	min-height: 200px;
	background: url("../images/hr.png") left bottom repeat-x;
	padding: 0 5%;	
	min-width: 360px;
}

.wrapper{
	position: relative;
	background: #ffffff;
	min-height: 100%;
	min-width: 400px;
	padding-right: 0px;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	background: #C4FFAF;
}

.wrapper a{
	color:#576a6f;
}

.wrapper a:hover{
	color:#1d282b;
}

p.text_block{
     line-height: 44px;
}

h1{
	margin: 40px 0px;
	margin-top: 50px;
	font-size: 380%;
	line-height: 70px;
	font-weight: normal;
	cursor: pointer;
	text-shadow: -1px -1px #FFF,
			   -2px -2px #FFF,
			   -1px 1px #FFF,
			   -2px 2px #FFF,
			   1px 1px #FFF,
			   2px 2px #FFF,
			   1px -1px #FFF,
			   2px -2px #FFF,
			   -3px -3px 2px #BBB,
			   -3px 3px 2px #BBB,
			   3px 3px 2px #BBB,
			   3px -3px 2px #BBB;
	color: steelblue;
	transition: all 1s;	
}

h2{
	color:#4a4a4a;
	font-size: 210%;
	line-height: 40px;
	letter-spacing: 0px;
	text-transform: none;
	font-family: myPTNarrow;
	padding: 20px 0 40px;
	font-weight: normal;
}
h3{
	color:#4a4a4a;
	font-size: 24px;
	line-height: 30px;
	letter-spacing: -1px;
	text-transform: none;
	font-family: myPTNarrow;
	padding: 20px 0;
	font-weight: normal;
}
h4{
	color:#4a4a4a;
	font-size: 22px;
	line-height: 24px;
	letter-spacing: 0;
	text-transform: none;
	font-family: myPTNarrow;
	padding: 10px 0;
	font-weight: normal;
}
p{
	margin-bottom: 24px;
}
.cent_img{
	display: block;
	margin: 0 auto 40px;
}
.auto_img{
	display: block;
	max-width: 100%;
	margin: 0 auto 24px;
}



/* Переопределение стилей в медиазапросах */
@media only screen and (max-width:800px){
 	.left_side{
 		display: none;
	}

	.left_swap{
		display: block;
	}
	.wrapper{
		padding-left: 0px;
	}
	
	div.outer {
		bottom: auto;
	}
	
	button {
		margin-bottom: 40px;
	}
	
	h1{
		font-size: 240%;
	}	
	
	h2 {
    font-size: 130%;
	}
}
@media only screen and (max-width:720px){
	.footer_block{
		display: block;
		width: 96%;
	}
}
