@import url('https://fonts.googleapis.com/css?family=Oswald:200,300,400,500,600,700&subset=cyrillic');
@import url('https://fonts.googleapis.com/css?family=Jura:300,400,500&subset=cyrillic');
h1 {
	font-weight: 400;
	color: #b5231b;
	text-transform: uppercase;
	font-size: 2.2rem;
	margin: 15px 0 10px 0;
	letter-spacing: .2rem;
}
h2 {
	font-weight: 400;
	color: #313844;
	text-transform: uppercase;
	font-size: 1.3rem;
	margin: 10px 0 10px 0;
}
h3 {
	font-weight: 400;
	color: #313844;
	font-size: 1.2rem;
	margin: 0 0 0 0;
}
h4 {
	font-weight: 400;
	color: #313844;
	font-size: 1rem;
	margin: 0 0 0 0;
}
span {
	color: #b5231b;
}
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}
.row {
	margin-bottom: 15px;
	display: block;
}
.row::before,
.row::after {
  display: table;
  content: " ";
  clear: both;
}
body {
	margin: 0;
	padding: 0;
	background: url('images/ricepaper2.png');
	font-size: 1.2rem;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
}
article {
	margin: 0 auto;
	max-width: 1200px;
	text-align: center;
}
.fon {
	color: #555;
    background-color: rgba(255, 255, 255, .8);
}
.header {
    width: 100%;
    height: 130px;
}
.logo {
	width: calc(100% / 2);
	float: left;
	height: 130px;
	position: relative;
}
.logo img {
	width: 410px;
	position: absolute;
	left: 0;
	top:30px;
}
.tel {
	width: calc(100% / 2);
	float: left;
	height: 99px;
	text-align: right;
	font-size: 1.8rem;
	font-weight: 400;
	padding-top: 31px;
	letter-spacing: .2rem;
}
.tel span {
	display: block;
}
.slider {
	width: calc(100% / 80 * 53);
	margin-right: calc(100% / 80);
	height: 460px;
	float: left;
	background-image: url('images/slider1.png');
	background-position: center;
	background-size: cover;
	padding: 0 0 0 0;
	border-top: 5px solid #313844;
}
.box div {
	margin: 0 auto;
}
.uslugi-1, .uslugi-2, .uslugi-3, .uslugi-4, .uslugi-5 {
	width: calc(100% / 80 * 26);
	height: 80px;
	margin-bottom: 15px;
	background-color: #313844;
	float: left;
	align-items: center;
	display: flex;
}
.uslugi-1 {
	border-top: 5px solid #b5231b;
	align-content: center;
	color: #fff;
}
.uslugi-2 {
	background-color: #b5231b;
	color: #fff;
}
.uslugi-3 {
	color: #fff;
}
.uslugi-4 {
	background-color: #b5231b;
	color: #fff;
}
.uslugi-5 {
	color: #fff;
	margin-bottom: 0;
}
.firma {
	height: 100px;
	background-color: rgba(255, 255, 255, .8);
    align-content: center;
}
.firma div {
	float: left;
	height: 100px;
	width: calc(100% / 80 * 20);
	position: relative;
}
.firma div img {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
}
.block1-image {
	width: calc(100% / 80 * 26);
	height: 340px;
	position: relative;
	float: left;
}
.block1-image img {
    width: 75%;
    position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
}
.block1-text {
	width: calc(100% / 80 * 53);
	height: 340px;
	margin-left: calc(100% / 80);
	float: left;
	align-items: center;
	display: flex;
	justify-content: center;
	padding: 0 10px;
}
.block2 {
	font-family: 'Jura', sans-serif;
	font-size: 2.4rem;
	padding: 20px 10px;
}
.block2-text {
	width: calc(100% / 80 * 53);
	height: 340px;
	margin-right: calc(100% / 80);
	float: left;
	align-items: center;
	display: flex;
	justify-content: center;
	padding: 0 10px;
}
.block2-image {
	width: calc(100% / 80 * 26);
	height: 340px;
	position: relative;
	float: left;
}
.block2-image img {
    width: 75%;
    position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
}
.footer {
	width: 100%;
	height: 200px;
	background-color: #313844;
    color: #fff;
}
.footer h3 {
	color:#fff;
	font-weight: 300;
}
.adres {
	width: 50%;
	height: 150px;
	float: left;
	padding: 20px 0 0 30px;
	text-align: left;
}
.share {
	width: 50%;
	height: 150px;
	float: left;
	padding: 20px 30px 0 0;
	text-align: right;
}
.pluso-engine {
	width: 100%;
	display: block !important;
	margin-bottom: 20px;
}
/*-----------Media-------------*/
@media only screen and (max-width: 800px) {
	.slider {width: 100%;margin-right: 0;height: 460px;}
	.uslugi-1, .uslugi-2, .uslugi-3, .uslugi-4, .uslugi-5 {width: calc(100% / 80 * 40);margin-bottom: 0;background-color: #b5231b;font-size: 90%;}
	.uslugi-5 {display: none;}
	.uslugi-2, .uslugi-3 {background-color: #313844;}
	.firma {height: 200px;}
	.firma div {width: calc(100% / 80 * 40);}
	.block1-image {width: calc(100% / 80 * 39);}
	.block1-text {width: calc(100% / 80 * 40);}
	.block2-image {width: calc(100% / 80 * 39);}
	.block2-text {width: calc(100% / 80 * 40);}
	.block1-text h1, .block2-text h1 {font-size: 2rem;}
	.block1-text h2,.block2-text h2 {font-size: 1.2rem;}
	.block1-text h3,.block2-text h3 {font-size: 1.1rem;}
}
@media only screen and (max-width: 700px) {
	.header {height: 230px;}
	.logo, .tel {width: 100%;text-align: center;}
	.logo img {position: relative;max-width: 410px;}
	.tel {padding-top: 0px;}
	.block1-text h1, .block2-text h1 {font-size: 1.8rem;}
	.block1-text h2, .block2-text h2 {font-size: 1.1rem;}
	.block1-text h2, .block2-text h2 {font-size: 1rem;}
	
}
@media only screen and (max-width: 550px) {
	.block1-image {width: calc(100% / 80 * 80);}
	.block1-text {width: calc(100% / 80 * 80);}
	.block2-image {width: calc(100% / 80 * 80);}
	.block2-text {width: calc(100% / 80 * 80);}
	.adres, .share {width: 100%;text-align: center;padding: 20px 0 0 0;}
	.footer {height: 300px;}
}
@media only screen and (max-width: 480px) {
	.logo img {width: 96%;}
	.uslugi-1, .uslugi-2, .uslugi-3, .uslugi-4, .uslugi-5 {width: calc(100% / 80 * 80);background-color: #313844;font-size: 90%;}
	.uslugi-2, .uslugi-4 {background-color: #b5231b;}
	.firma {height: 400px;}
	.firma div {width: calc(100% / 80 * 80);}
}