html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	font-family: "Times New Roman", "Times", serif;
	font-size: 16px;
	color: #e0c285;
	background-color: #3e1a09;
	background-image: url(../images/bg.png);
    background-attachment: fixed;
    background-repeat: repeat;
}

a {
	color: #f0cd89;
	text-decoration: none;

}

a:hover {
	color: #ebba52;
}

p {
	padding: 0;
	margin: 0 0 20px 0;
}

.clearfix { zoom: 1; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }

.clear {
	clear: both;
	height: 20px;
}

big, .big {
	font-size: 130%;
}

ul {
	margin: 0 0 20px 0;
	padding: 5px 0 0 0;
}

ul li {
	margin: 5px 0 0 30px;
}

h1, .title, .title2 {
	color: #e9b94b;
	font-size: 37px;
	margin: 0 0 20px 0;
	padding: 20px 0 0 0;
	font-weight: 400;
}

.title2 {
	font-size: 29px;
}

h2 {
	color: #e9b94b;
	font-size: 29px;
	margin: 0 0 20px 0;
	padding: 20px 0 0 0;
	font-weight: 400;
}

table {
	margin: 0 0 40px 0;
}

table p {
	margin: 0;
}

.content table p {
	text-align: inherit;
}

table td {
	padding: 10px;
}

.colored {
	color: #e9b94b;
}

.red {
	color: #d83737;
}

.content {
	width: 953px;
	padding: 10px 70px 20px 70px;
	margin: 492px auto 10px auto;
	background: #3e1e0c;
	font-size: 21px;
}

.content a {
	color: #e9b94b;
}

.content a:hover {
	text-decoration: underline;
}

.content .button, .content .more, footer .button {
	margin: 0 0 0 7px;
	background: #e9b94b;
	padding: 10px 15px;
	border-radius: 7px;
	border: 0px solid;
	font-size: 18px;
	display: inline-block;
	font-family: sans-serif;
	text-transform: uppercase;
	color: #9c0808;
	font-weight: 700;
	text-shadow: 1px 1px 0px #f0e0dd, -1px -1px 0px #f0e0dd, 1px -1px 0px #f0e0dd, -1px 1px 0px #f0e0dd;
	cursor: pointer;
}

.content .bordered {
	border: 3px solid #c99630;
	padding: 20px 25px 15px 25px;
	border-radius: 7px;
	background: url(../images/pattern.jpg);
	color: #f7e9c3;
	position: relative;
	font-size: 26px;
}

.content .bordered .button {
	margin-top: 7px;
}

.content .button:hover, .content .more:hover {
	text-shadow: 1px 1px 0px #fff, -1px -1px 0px #fff, 1px -1px 0px #fff, -1px 1px 0px #fff, 0px 0px 20px #fff, 0px 0px 20px #fff;
	text-decoration: none;
}

.content .more {
	margin: 0 0 20px 30px;
	font-size: 15px;
}

body.about .content {
	padding-top: 50px;
	text-align: center;
}

.content p {
	text-align: justify;
}

.content #services {
	padding: 25px 0 10px 73px;
}

.content #services .service {
	float: left;
	margin: 0 20px 10px 0;
	padding: 13px 13px 8px 13px;
	text-align: center;
	width: 369px;
	background: #481605;
	font-size: 28px;
	border-radius: 14px;
}

.content #services .service.active {
	border: 5px solid #d9b753;
	padding: 0 0 5px 0;
}

.content #services .service img {
	width: 100%;
	display: block;
	margin: 0 0 5px 0;
	height: 219px;
}

.content .colleft {
	float: left;
	width: 442px;
	padding: 0 35px 0 0;
}

.content .colright {
	float: right;
	width: 441px;
	padding: 0 0 0 35px;
}

.content .colleft .title, .content .colright .title {
	font-size: 24px;
	margin: 0;
}

.content #contacts {
	padding: 40px 0 0 1px;
}

.content #contacts p {
	margin-bottom: 10px;
}

.content #contacts .office {
	float: left;
	width: 317px;
	margin: 0 0 10px 0;
	text-align: center;
}

.content #contacts .office img {
	display: block;
	margin: 0 auto 5px auto;
}

.content #contacts .office span {
	width: 246px;
	height: 50px;
	margin: 0 auto;
	padding: 0 0 74px 0;
	display: block;
	background: url(../images/flowers.png) no-repeat 0 100%;
}

.content #contacts .office .email {
	margin-top: 10px;
	margin-left: 70px;
	background: url(../images/pic-mail.png) no-repeat 0 0;
	text-align: left;
	padding: 0 0 0 31px;
}

.content #contacts .office .phone {
	margin-top: 10px;
	margin-left: 70px;
	background: url(../images/pic-phone.png) no-repeat 0 0;
	text-align: left;
	padding: 0 0 0 31px;
}

.content .roadmap {
	margin: 0 auto;
	width: 800;
	padding: 40px 0 30px 0;
}

.content #illustration {
	width: 1093px;
	display: block;
	margin: 50px 0 0 -70px;
}

.content #gen_form {
	border: 3px #e9b94b solid;
	border-radius: 7px;
	padding: 0 15px 15px 15px;
	width: 800px;
	margin: 0 auto 15px auto;
}

.content #gen_form .row {
	clear: both;
	padding: 15px 0 0 0;
}

.content #gen_form label {
	float: left;
	width: 43%;
	text-align: right;
	padding-right: 2%;
}

.content #gen_form input, .content #gen_form textarea, .content #gen_form select {
	display: block;
	margin: 0;
	width: 55%;
	border-radius: 7px;
	padding: 7px;
	background: #f5ece7;
	float: right;
	border: 2px solid #b08729;
}

.content #gen_form textarea {
	min-height: 80px;
}

.content #gen_form button {
	margin: 15px 0 0 45%;
	background: #e9b94b;
	padding: 10px 15px;
	border-radius: 7px;
	border: 0px solid;
	font-size: 18px;
	text-transform: uppercase;
	color: #9c0808;
	font-weight: 700;
	text-shadow: 1px 1px 0px #f0e0dd, -1px -1px 0px #f0e0dd, 1px -1px 0px #f0e0dd, -1px 1px 0px #f0e0dd;
	cursor: pointer;
}

.content #gen_form button:hover {
	text-shadow: 1px 1px 0px #fff, -1px -1px 0px #fff, 1px -1px 0px #fff, -1px 1px 0px #fff, 0px 0px 20px #fff, 0px 0px 20px #fff;
}

.content #gen_form #callback_form {
	opacity: 0;
	display: block;
	margin-top: 15px;
	margin-left: 45%;
}

.content .gallery {
	margin: 0;
	border: #401303 2px solid;
	padding: 20px 0 20px 15px;
	background: #391e0f;
	border-radius: 13px 13px 0 13px;
}

.content .gallery a {
	float: left;
	width: 210px;
	height: 210px;
	margin: 10px;
	text-align: center;
	display: block;
	position: relative;
}

.content .gallery img {
	max-width: 210px;
	max-height: 210px;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

.content .toexpertize {
	border: #401303 2px solid;
	border-top: 0px solid;
	background: url(../images/pattern.jpg);
	margin: 0 0 50px 0;
	clear: both;
	float: right;
	padding: 10px 25px;
	text-align: center;
	border-radius: 0 0 7px 7px;
}

.content .gallery .toexpertize a {
	width: inherit;
	height: inherit;
	margin: 0;
	position: static;
	color: #fff;
}

.licenzii .content .title {
	clear: both;
}

.content .ramki {
	list-style: none;
	padding: 0;
	margin: 0;
	overflow: hidden;
	counter-reset: item;
}

.content .ramki li {
	float: left;
	width: 296px;
	height: 146px;
	margin: 0 0 13px 13px;
	padding: 0;
	border: 2px solid #43729c;
	position: relative;
	text-align: center;
}

.content .ramki li:before {
	content: counter(item);
	counter-increment: item;
	float: left;
	width: 30px;
	height: 35px;
	padding: 0 5px 0 0;
	line-height: 35px;
	font-size: 21px;
	border-radius: 0 0 30px 0;
	background: #43729c;
	color: #fff;
}

.content .ramki li span {
	display: block;
	position: absolute;
	width: 266px;
	padding: 10px 15px;
    top: 50%;
    transform: translateY(-50%);
}

header {
	width: 1093px;
	padding: 48px 0 0 0;
	position: absolute;
	margin: 0 auto;
	top: 0;
	left: 0;
	right: 0;
	background: #3b1b0b url(../images/top-part.png) no-repeat 0 0;
}

header nav ul {
	margin: 0;
	padding: 15px 0 15px 30px;
	list-style: none;
	float: left;
	height: 50px;
}

header nav ul li {
	float: left;
	text-transform: uppercase;
	margin: 0 57px 0 0;
}

header nav ul li a {
	padding: 16px;
	display: block;
	border-radius: 100%;
}

header nav ul li a:hover, header nav ul li.active a, header nav ul li a:target {
	padding: 15px;
	border: 1px solid #ebba52;
	box-shadow: 0 0 0 2px #3b1b0b, 0 0 0 4px #ebba52;
}

header nav .buttons {
	float: right;
	margin: 17px 40px 0 0;
}

header nav .buttons img {
	margin: 0 5px 0 0;
}

footer {
	width: 1093px;
	height: 339px;
	margin: 0 auto;
	background: url(../images/bottom-part.png) no-repeat;
}

footer .clubglob {
	float: left;
	margin: 40px 0 0 20;
	border-radius: 13px;
	padding: 0px 0px 0px 0;
}

footer .clubglob span {
	display: block;
	border-radius: 0 7px 7px 0;
	background: #73260b;
	text-align: center;
	font-family: sans-serif;
	margin: -35px 0 0 0;
	padding: 5px 0 5px 13px;
	font-weight: 700;
	text-transform: uppercase;
}

footer .clubglob i {
	display: block;
	margin: 0 auto 3px auto;
	font-weight: 400;
	font-style: normal;
	font-size: 11px;
}

footer .clubglob img {
	display: block;
	margin: 7px 0 0 13px;
}

footer p {
	margin-bottom: 10px;
}

footer .info {
	width: 290px;
	float: right;
	margin: 52px 70px -3 0;
	height: 219px;
}

footer .info .adres {
	padding: 0 0 0 33px;
	background: url(../images/pic-adres.png) no-repeat 0 0;
}

footer .info .phone {
	padding: 0 0 0 33px;
	background: url(../images/pic-phone.png) no-repeat 0 0;
}

footer .info .email {
	padding: 3px 0 3px 31px;
	background: url(../images/pic-mail.png) no-repeat 0 0;
}

footer .copyright {
	clear: both;
	float: left;
	margin: 30px 0 0 20px;
	color: #f0f0f0;
	text-shadow: 1px 1px 0px #000, 0px 0px 20px #000, 0px 0px 20px #000, 0px 0px 20px #000, 0px 0px 20px #000, 0px 0px 20px #000;
}

footer .buttons {
	float: right;
	margin: 14px 35px 0 0;
}

footer .buttons img {
	margin: 0 5px 0 0;
}


@media (max-width: 940px) {
	.content #contacts .office span {
		height: 85px;
		display: flex;
		align-items: center;
		text-align: center;
		justify-content: center;
	}
}
@media (max-width: 568px) {
	html, body {
		height: auto;
	}
	body {
		width: 100%;
		background-size: cover;
	}
	.content {
		width: 100%;
	}
	header {
		position: relative;
		width: 100%;
		overflow: hidden;
		background: none;
		background-color: #3b1b0b;
		background-image: url(../images/top-part.png);
		background-repeat: no-repeat;
		background-size: contain;
	}
	header img[src='images/logo.png'] {
		width: 100%;
	}

	header nav {
		text-align: center;
	}

	header nav .buttons {
		display: inline-block;
		float: none;
		margin: 0;
		margin-top: 10px;
		margin-bottom: 10px;
	}

	header nav .buttons img {
		width: 30px;
	}

	header nav ul {
		display: inline-block;
		padding: 0 0;
		text-align: center;
		height: auto;
	    margin-top: -10;
	}

	header nav ul li {
		display: inline-block;
		float: none;
		margin-right: 0;
	}

	header nav ul li a {
		padding: 12px 8px!important;
		font-size: 12px;
		margin: 0 6px;
	}

    * {
		box-sizing: border-box;
	}

	.content {
		padding: 0 20px;
		margin: 0 auto 10px auto;
	}

	.content #services {
		padding: 25px 0 10px 0px;
		text-align: center;
	}

	.content #services .service {
		float: none;
		display: inline-block;
		margin: 0 0px 10px 0;
		padding: 5px 5px 10px 5px;
		width: 246px;
		font-size: 18px;
		border-radius: 5px;
	}


	.content #services .service img {
		height: 140px;
	}

	.content .colleft {
		width: 100%;
		padding: 0;
	}
	.content .colright {
		width: 100%;
		padding: 0;
	}

	footer {
		width: 100%;
		text-align: center;
		height: 600px;
		background: none;
	}

	footer .info {
		float: none;
		display: inline-block;
		margin: 0;
		margin-top: 10px;
	}

	footer .clubglob {
		float: none;
		margin: 0 10px;
		display: inline-table;
		margin-top: 25px;
	}

	footer .copyright {
		float: none;
		display: inline-block;
		margin-left: 0;
		margin-right: 5px;
	}

	footer .buttons {
		float: none;
		display: inline-block;
		margin-left: 5px;
		margin-right: 0;
	}

	.content #illustration{
		width: 100%;
		margin: 0;
	}
	.rabota-s-sadovodstvami a u img {
		width: 100%;
	}
	.geneticheskaya-ekspertiza table tr td:first-child {
		width: auto!important;
	}
	.geneticheskaya-ekspertiza table tr td:last-child {
		width: 25%!important;
	}
	.geneticheskaya-ekspertiza table tr td:nth-child(-2n+2) {
		width: 60%!important;
	}
	.geneticheskaya-ekspertiza table td{
		padding: 5px;
	}
	.geneticheskaya-ekspertiza table {
		word-break: break-all;
		overflow: hidden;
		font-size: 16px!important;
	}
	.geneticheskaya-ekspertiza p {
		font-size: 20px!important;
	}
	.content #contacts .office span {
		display: block;
		height: auto;
	}

	.content .roadmap {
		width: 100%;
	}

	footer .info {
		height: auto;
	}
}

@media (max-width: 500px) {
	h1, .title, .title2 {
		font-size: 25px;	
	}
	
	.content .gallery a {
		float: none;
		margin: 0 auto 15px auto;
		width: auto;
		height: auto;
	}
	
	.content .gallery img {
		position: static;	
	}
}

@media (max-width: 400px) {
	h1, .title, .title2 {
		font-size: 21px;	
	}
}
