* {
	padding: 0;
	margin: 0
}
html {
  height: 100%;
/*  overflow: hidden;*/
}
body {
	width: 100%;
	font-family: Roboto, Arial, serif;
/* parallax + below
	perspective: 1px; 
	transform-style: preserve-3d;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
*/
}
img {
	border: none
}
p {
	font: 21px 'Roboto', Arial, serif;
	color: #000;
	line-height: 140%;
}
a {color: #038452; transition:color 0.3s; }
a:hover {color: #085135; }
li {
	font: 18px 'Roboto', Arial, serif;
	color: #000;
}
h1 {
	font: 34px 'Exo 2', Arial, serif;
	color: #363637;
	font-weight: bold;
	text-align: center;
}
h2, h3 {
	font: 31px 'Exo 2', Arial, serif;
	color: #363637;
	font-weight: bold;
	text-align: center;
}
h4 {
	font: 25px 'Exo 2', Arial, serif;
	color: #363637;
}
h5 {
	font: 20px 'Exo 2', Arial, serif;
	color: #363637;
}
header {
	width: 100%;
	height: 100px;
	margin: 0 auto;
	z-index: 10; 
	position:absolute;
	transition:all .3s;
    background-color: rgba(229,102,42,0.15);
    transition-property: fade;
}
header.sticky {
	width: 100%;
	height: 80px;
	position:fixed;
    background-color: rgba(255,255,255,1);
    transition-property: fade;
}
.logo img {transition:all .3s;}
header.sticky .logo img { height:75px; }

header.sticky #menu li, header.sticky #cover, header.sticky #menucover  {height:80px; transition:all .3s;}
header.sticky .our-phones {display:none;}

header.sticky #tel p {    padding-top: 8px; transition:all .3s;}


#left-menu {
	display: none;
}
#menucover {
	margin: 0 auto;
	/*position: fixed;*/
	width: 100%;
	height: 100px;
	z-index: 3;
	border-bottom: 1px #ffffff solid;
}
.sticky #menucover { 
    border-bottom: 3px #01ab77 solid;
}

#cover {
	width:100%;
	max-width:1000px;
	height: 100px;
	margin: 0 auto;
	z-index: 4
}
#company {
	font-size: 90%;
	font-variant: small-caps;
	position: absolute;
	top: 12px;
	left: 201px;
}
#menu {
/*	width: 840px;
	position:relative; 
	padding-top: 0px;
	display: inline;
	margin-left: 0px;
*/
}
#menu ul {/*position: relative;*/
	list-style: none;
}
#menu li {
	float: left;
	display: table;
	height: 100px;
    vertical-align: middle;
	padding:0 15px;	
}
#menu li:first-child {
	text-indent: 0
}
#menu a {
	text-decoration: none;
}
.btn-sample {
	color: #fff;
	height: 100%;
	padding: 0 5px 4px;
	display: table-cell;
    vertical-align: middle;
	transition:all 0.5s;
	border-bottom: 6px transparent solid;
	font: 20px 'Roboto', Arial, serif;
	font-variant: small-caps;
}
.btn-sample:hover {
	border-bottom-color: rgba(255,255,255,0.7);
	color:#ffe2d4;
}

.sticky .btn-sample, .mobile .btn-sample {
	color: #038452;
}

.sticky .btn-sample:hover, .mobile .btn-sample:hover {
	border-bottom-color: #01ab77;
	color: #038452;
}

#main-menu {    padding-top: 0px;}
#tel {
	width: 160px;
	margin-right: 0px;
	float: right;
	text-align: right;
	padding-top: 7px
}
#tel p {
	font: 18px 'Roboto', serif;
	color: #162c46;
}
.work-time {
	font-size: 15px;
    padding-top: 3px;
    display: block;	
}
#wrapper {
	width: 100%;
	margin: 0 auto;
	height: 600px;
	background-image: url(images/bg.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: left -80px;
	z-index: 2
}
.textheadcover {height: 370px;
	margin: 0 auto;
    padding-top: 100px;
}
.text-header {
	width: 800px;
	height: 250px;
	margin: 0 auto;
	margin-top: 30px;
}
.textheadcover .text-header { background:rgba(255,255,255,0.70); }
.text-header h1 {padding-top:30px; line-height: 140%;}
#content {
	width:100%;
	position: relative;
	margin: 0 auto;
	z-index: 2
}
.tablica {margin: 0 auto;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: justify
}
iframe {
	border: none;
}
.block {
	width: 28%;
	float: left;
	margin-left: 8%;
}
.blockr {
	width: 28%;
	float: right;
	margin-right: 0px;
}
.blockl {
	width: 28%;
	float: left;
	margin-left: 0px;
}
.bloc {
	width: 28%;
	float: left;
	margin-left: 8%;
}
.blocr {
	width: 28%;
	float: right;
	margin-right: 0px;
}
.blocl {
	width: 28%;
	float: left;
	margin-left: 0px;
}
.block img {
	width: 100%;
	margin: 0 auto;
}
.bloc img {
	margin: 0 10px 2px 6px;
}
.blocl img {
	margin: 0 10px 2px 6px;
}
.blocr img {
	margin: 0 10px 2px 6px;
}
.blocc {/*width:28%;*/
	width: 40%;
	text-align: center;
	display: inline-block;
}
.bloccr {
	width: 28%;
	margin-right: 0px;
	text-align: center;
}
.bloccl {
	width: 28%;
	margin-left: 0px;
	text-align: center;
}
.fotocover {
	width: 48%;
    display: inline-table;
	text-align: center;
	vertical-align: top;
}
.fotocover img {
	width: 80%;
	max-width: 390px;
/*	box-shadow: 5px 5px #01ab77;*/
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
  	transition: all 0.3s;
}

.fotocover video {
	width: 80%;
	max-width: 390px;
    border: 5px solid #01ab77;
    background: white;
    padding: 3%;	
}

.fotocover img:hover {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
 }
#seed-preparation .fotocover img {
	width: initial;
	box-shadow: 5px 5px #01ab77
}
.shadowed {
	box-shadow: 5px 5px #01ab77
}

.our-phones {margin-bottom: 7px;    display: block;}
.zaglav {
	padding-top: 40px;
	clear: both;
}
.text {
	width: 800px;
	margin: 0 auto;
}
.text1 {
	width: 700px;
	margin: 0 auto;
	text-align: justify;
}
.text1 p {
	font-size: 24px
}
.text2 {
	width: 360px;
	float: right;
	margin-right: 20px;
	text-align: justify
}
.fon1 {
	width: 100%;
	margin: 0 auto;
	position:relative;
	padding: 65px 0;
	background:#fc8736;
}
.fon1 > * {color:#fff;}
.fon2 {
  min-height: 100vh;
  width: 100%;
  	margin: 0 auto;
	position:relative;
	padding: 65px 0;
	box-sizing: border-box;
	transform-style: inherit;
}

.fon2::after {
  content: "";
  position: absolute;
  top: 0; 
  bottom: 0;
  left:0;
  right:0;
/*  opacity: 0.15;*/
	background-size: cover;
	background-repeat: no-repeat;
/*	background-attachment: fixed;*/
	background-position: center top;
	box-sizing: border-box;
	transform-style: inherit;
  z-index:-1;
}

/* DAM parallax effect
.fon2, .fon2:before {
  background: 50% 50% / cover;  
}
*/

#peregon::after {
	background:none;
/*  background-image: url(images/horses-hippodrom-5.jpg);
  transform: translateZ(-40px) scale(1.3);*/
}

#peregon { padding:0;}
#peregon .hippo {background:none;}
#peregon .hippo p {color:#fff;}

#peregon .fotocover img {    border-radius: 50%; background: rgba(255,255,255,0.7); transition:all 0.5s;}
#peregon .fotocover .image-link:hover img {    border-radius: 5%; background: rgba(255,255,255,1);}


#show::after {
  background-image: url(images/horse-attraction-2.jpg);
}

#leisure::after {
  background-image: url(images/i.jpg);
}

#leisure .fotocover img {transform: rotate3d(1,7,1,20deg);}
#leisure .fotocover:nth-child(2n) img {transform: rotate3d(1,7,1,-20deg);}
#leisure .fotocover:nth-child(2n) .image-link:nth-child(2n) img {transform: rotate3d(2,2,1,10deg);}

#leisure .fotocover .image-link:hover img {transform: rotate3d(0,0,0,0deg) !important;}

#horses::after {
  background-image: url(images/horses.jpg);
  opacity:0.4;
}
#horses .hippo .table {padding-top:0;}

#address::after {  background-image: url(images/bg.jpg); opacity:0.3; background-position:center 0px;
}


.hippo {
	margin: 0 auto;
	width:100%;
	max-width: 1000px;
	padding:0 50px 80px;
	background-color:rgba(255,255,255,0.84);
}



.hippo .fotocover .imgpad {
	padding-bottom: 30px;
}
.ornament {
	width: 100%;
	height: 52px;
	background: url(images/hippodrom-ornament.png) no-repeat center center;
	background-size:contain;
	clear: both;
	margin: 29px auto 0;
    position: relative;
}
.ornament:after {
	content:" "; 
	display:table; 
	border-bottom:2px dashed #cfe3dd;
    width: 100%;
    position: absolute;
    bottom: -30px;
}
.bloc70 {
	width: 67%;
	float: right;
	margin-right: 0px;
}
.bloc30 {
	width: 32%;
	float: left;
	margin-left: 0px;
}
.bloc30 img {
	width: 98%
}
#indostavka {
	width: 99%;
	margin: 0 auto
}
.bordered { border: 5px solid #01ab77; background: white;display:inline-block; }
.two {
	border: 5px solid #01ab77;
	background: white;
	padding: 3%;
}
.two img {
	width: 100%;
	display: block;
	margin: 0 auto;
}
.two figcaption {
	padding: 0.5em;
	color: white;
	background: #01ab77;
	text-align: center;
	text-transform: uppercase;
}


::placeholder {
 color: #333;
}
.centered {
	text-align: center;
}
.leftaligned {
	text-align: left;
}
ul.leftaligned {
	padding-left: 30px;
}
.rightaligned {
	text-align: right;
}
.mobile-phone {
	text-decoration: none;
	color: #fff;
	font-size:110%;
}
.sticky .mobile-phone {
	text-decoration: none;
	color: #038452;
	font-size:110%;
}
.mobile-phone.red {
	color: #e53d2a;
}
.padl {
	padding-left: 12%;
}
.nofloat {
	float: none !important
}
.padl1 {
	padding: 50px 0 0
}
.imgpad {
	padding: 30px 0 0px;
}
.imgpad img {
	box-shadow: none !important;
}
.imgmarg {
	margin: 40px 0 0
}
.clear {
	clear: both;
}
.mobileonly {
	display: none;
}
.smallpad {
	padding: 15px 0 0px;
}


.text_big {font-size: 24px; font-weight: bold;}

.text_bigger {font-size: 110%;}

.text_smaller {font-size: 16px; font-weight: 500;}
.highlight {
    background-color: #f8f05d;
    padding: 15px;
    border-radius: 5px;
}
.red {color:#e5682a;}

body .highlight { color:#19191c;}

.image-link {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;	
}
img.mfp-img {
  cursor: pointer;
}


/* Buttons */

.additional-proposal {background-color:#ffebcd;}
.table {display:table;}
.hippo .table {padding:30px 0 0;}
.table.centered {margin-left:auto; margin-right:auto;}

.row {display:table-row;}
.cell {display:table-cell;}
.full-width { width:100%}
.no-uline { text-decoration:none;}
.nopadd { padding:0 !important;}
.no-s-padd { padding-bottom:0 !important;}

.row.one.column .cell {width:100%}
.row.two.column .cell {width:50%}

/*.table .two { border:0; background:none; padding:0;} /*reset older styles*/

.table a.button {width:300px; display: inline-block; margin: 7px;     padding: 10px;    font-size: 17px;}

.table .one.column a.button {    position: relative;      max-width: 440px;}

a.button{ color:#000;
 border-radius:6px;
  background-color: #efd800; 
  padding:6px 6px; box-shadow:1px 1px #004a33
}
a.button:hover {background-color: #7EBA2E;}


.google-map { max-width:1000px;    margin: 20px auto 0;
    display: block;}


/* MOBILE LAYOUT */

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

.table a.button {width:260px;}

}

@media screen and (max-device-width: 640px) {
.hippo .table {padding:30px 10px 0;}
.row.two.column .cell {width:100%}

.collapsible .cell {display:block;}
.table.nopadd { padding-left:10px !important; padding-right:10px !important;}

}

/* Buttons EOF */


@media screen and (max-device-width: 1024px) {
#show::after {    opacity: 0.5;}
#leisure p {
    padding: 20px;
    background: rgba(255, 255, 255, 0.51);
}
.desktoponly, .our-phones {
	display: none !important;
}
.mobileonly {
	display: block;
}
span.mobileonly {
	display: inline;
}
p {
    font-size: 1.2rem;
	margin:0 10px;
}
table, tr, td {
	display: block;
}
.hippo {
}
#cover, #wrapper, #menu, .textheadcover, .text-header, .tablica, #dostavka, .fotocover, .fotocover2, .fotocover3, .yellowcover, .yellowcover2, .yellowcall, #knopka, .text, .text1, .text2, .hippo, #contact, .contact-part, .application, #footerin, .bloc30, bloc70 {
	width: auto;
	float: none;
	height: auto;
}
.fotocover {
	width: 48%;
}
.hippo {
	background:none;
}
.tablica {
	max-width: 400px;
}
#wrapper {
    background-position: center center;
	padding: 20px 20px 30px;
	width: auto;
}
h1 {
	font-size: 1.8rem;
}
h2, h3 {
	font-size: 1.65rem;
}
#wrapper .yellowcover {
	margin-top: 30px;
	padding: 5px;
}
figure {
	margin-bottom: 10px;
}
.telefon {
	width: 100%;
	float: none;
	margin: 0;
	padding-bottom: 20px;
}
.bloc, .blocl, .blocr, .block, .blockl, .blockr, .blocc, .w455 {
	width: 100%;
	float: none;
	margin: 0;
	padding: 0;
}
.contact-form {
	width: 100%;
	float: none;
	margin: 0;
	padding: 0;
}
.contact-form {
	margin-top: 20px;
	padding-bottom: 20px;
}
header, header.sticky, header.sticky #menu li, header.sticky #cover, header.sticky #menucover {
	height: 60px;
}
#menu li {height: 60px;}
header.sticky .logo img {    height: 50px;}
header.sticky #tel p { padding-top:0;}
#menucover {
	height: 62px;
}
#left-menu {
	display: block;
}
.menu.icon {
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAGFBMVEUpKSkqKio1NTU2NjZNTU39/f3+/v7///+v8q2+AAAASElEQVQokWMoRwMMNBEoMEYGRuIMxS4oQJ2hCFXAnKFQGUUPO1XcgWqoETs57ggnaAuGinQC4YHFHcXo7iggGB4Y1hJ2KUEBADN5waECkX1KAAAAAElFTkSuQmCC') no-repeat #fff 2px 1px;
	width: 32px;
	height: 33px;
	top: 15px;
	position: absolute;
	left: 10px;
	cursor: pointer;
	border-radius: 5px;
	padding: 0 2px;
}
#main-menu {
	display: none;
}
#menu { float:left;}
#menu ul { background:rgba(255,255,255,0.90);}
#menu li {
	float: none;
	text-indent: 11px;
}
#menu li.first-button {
	margin-top: 44px;
}
#menu a {
    width: 250px;
    display: table-cell;
    vertical-align: middle;
    border-bottom: 1px dashed #004a33;
	margin-bottom: 1px;
}
#menu a.mobileonly.logo { border:none;}
.first-button {
	margin-top: 43px;
}
.mobileonly.logo {
	position: absolute;
	width: 100%;
	top: 6px;
	left: 70px;
	box-shadow: none !important;
}
#tel {
	position: absolute;
	top: 6px;
	right: 10px;
	padding: 0;
}
#tel p { font-size:17px;}

.tablica img, .tablicavideo img {
	max-width: 91%;
}
.tablica div {
	text-align: center;
}
iframe[name=google_conversion_frame] {
	display: none;
}
.text, .tablica >div, .zaglav {
	margin: 0 10px;
	width: auto;
}
#footer {
	height: 60px;
}
#footerin #left {
	padding: 13px 0 0 10px;
}
#footerin #right {
	float: none;
	position: absolute;
	right: 10px;
	top: 10px;
	padding: 0;
	height: auto;
}
}

@media screen and (max-device-width: 768px) {
.fon1 h1, .fon1 h2, .fon1 h3 { margin:0 10px;}
.textheadcover {    padding: 40px 0 20px;}
.fotocover {
	width: auto;
}
#horses .fotocover {    width: 48%;}
.fotocover img {
	max-width: 100%;
	margin: 10px;
    max-height: 300px;
    width: auto;
}
.fotocover video {max-width: none;}
p {font-size: 17px;}
}

@media screen and (max-device-width: 512px) {
.hippo {padding: 0 0px 30px;}
.fon1 {padding: 35px 0;}
.fotocover img { width: inherit;     max-width: 80%;}
 
}
@media screen and (max-device-width: 360px) {
#horses .fotocover {    width: auto;}
#peregon video {display:none;}
#peregon::after {
  background-image: url(images/horses-hippodrom-5.jpg);
/*  transform: translateZ(-40px) scale(1.3);*/
}

}