/* Reset
----------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
	font-family: "PT Sans", sans-serif;
	background: white;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.clr {
	clear: both;
}

/* My code
----------------------------------------------- */

#logo, #pereg {
	height: 80px;
	float: left;
}

#logo {
	margin: 0 20px 20px 0;
}

#header {
	padding-top: 20px;
}

#slovahead {
	float: left;
	color: black;
	padding: 22px 30px 0 0;
	font-size: 20px;
}

.blacksea {
	background: url("img/oval_black.png");
	width: 100%;
	height: 15px;
	background-size: 24px auto;
}

.whitesea {
	background: url("img/oval_white.png");
	width: 100%;
	height: 15px;
	background-size: 24px auto;
}

.greysea {
	background: url("img/oval_gray.png");
	width: 100%;
	height: 15px;
	background-size: 24px auto;
}

#history {
	padding-bottom: 25px;
}

#history p {
	text-indent: 25px;
	font-size: 18px;
	line-height: 1.6;
}

#shema {
	background: black;
}

#shemaimg {
	width: 960px;
	margin: 40px 20px;
}

#footer {
	width: 100%;
	background: black;
	color: white;
	text-align: center;
}

#footer .block {
	padding: 30px 0;
}

#header {
	width: 100%;
}

.block {
	width: 1000px;
	margin: 0 auto;
}

.rabota img {
	width: 125px;
	height: 125px;
}

.rabota {
	margin: 0 50px 20px 0;
	display: block;
}

.kolonka, .kolonkalast {
	float: left;
}

#logoport {
	float: left;
}

#logoport img {
	width: 300px;
	margin: 75px 50px 0 0;
}

.kolonkalast .rabota {
	margin-right: 0 !important;
}

.uname {
	padding: 30px 0 10px;
}

.price, .uname {
	color: rgb(159,44,28);
	display: table;
	margin: 0 auto;
	font-size: 40px;

}
.price {
	padding: 5px 0;
}

.ublock a {
	display: table;
	margin: 5px auto 20px;
	color: #AD0202;
}

.uopis {
	color: #707070;
	display: table;
	margin: 0 auto;
	font-size: 20px;
	padding-bottom: 20px;
}

#uslugi {
	background: #F1F1F1;
}

.ublock {
	float: left;
}

.ublock img {
	width: 250px;
}

#why {
	background: white;
}

#price {
	background: #e8e8e8;
}

#price table {
	width: 100%;
	text-align: center;
}

#price table td {
	border: 1px solid black;
	padding: 8px;
	vertical-align: middle;
	  max-width: 500px;
}

.price span {
	font-family: Rouble;
	font-size: 30px;
}

.rname {
	color: rgb(159,44,28);
	font-size: 20px;
	margin-bottom: 10px;
}

.row {
	float: left;
}

.rblock {
	width: 480px;
	margin-bottom: 30px;
}

.ropis {
width: 320px;
float: left;
margin-left: 20px;
}

.rblock img {
	width: 140px;
	float: left;
}

.rtext {
	line-height: 1.3;
	font-size: 17px;
}

#link {
	background: #e8e8e8;
	padding-bottom: 20px;
}

.obratnaya {
	margin: 0 auto;
	display: table;
}

.obratnaya input {
	background: #e8e8e8;
	border-radius: 20px;
	border: 2px solid rgb(159,44,28);
	font-size: 20px;
	color: rgb(159,44,28);
	padding: 7px 13px;
	display: block;
	margin-bottom: 10px;
}

input::-webkit-input-placeholder:focus {
	color: black;
	}

#subbut {
	float: right;
}

#subbut:hover {
	background: rgb(159,44,28);
	color: #e8e8e8;
}

#subbut:hover, #slbut:hover, #srbut:hover {
	cursor: pointer;
}

.obratnaya input[type="text"] {
	width: 300px;
	clear: both;
}

input::-webkit-input-placeholder {
	color: #707070;
	}

input:-moz-placeholder {
	color: #707070;
}

/* portfolio */
#wrapper {
	width: 100%;
	background: #008031;
}

.primer img {
	width: 922px;
	padding: 5px;
}

.primer {
	width: 932px;
	background: #1c5f2f;
}

#opis {
	background: #1c5f2f;
	width: 932px;
	margin: 0 34px;
	color: white;
}

#opis a {
	color: white;
}

#perehod {
	margin-bottom: 15px !important;
}

#adress, #name, #perehod {
	margin: 0 auto;
	display: table;
}

#kratko {
	padding: 20px 40px;
	font-size: 20px;
	line-height: 1.4;
}

#name {
	font-size: 40px;
	padding: 15px 0 5px 0;
}

#topmenu {
	float: left;
	margin-top: 32px;
}

#topmenu ul li {
	display: inline;
}

#topmenu ul li a {
	color: #AD0202;
	margin-right: 10px;
	font-size: 18px;
	text-decoration: none;
}

#topmenu a:hover {
	text-decoration: underline;
}

#cikl {
	color: white;
	text-align: center;
	font-size: 20px;
	padding-bottom: 15px;
}

@media screen and (max-width: 1040px) {

.block {
	padding: 0 20px;
}

#why, #uslugi, #price, #link, #shema, #header, #footer, #wrapper {
	width: 1040px;
}

}















