html, body {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  background-size: cover;
  /* background: #e6e6e6; */
	background: #e6e6e6;

  width: 100%;
  height: 100%;
font-family: 'Open Sans', sans-serif;
}
*, *:before, *:after {
  box-sizing: border-box;
}

header {
	z-index: 9999;
	top: -1.3rem;
	left: 0;
	right: 0;
	position: fixed;
	width: 100%;
	max-width: 1100px;
	height: 7rem;
	margin: 0 auto;
	padding: 0 4rem;
	background: #1a1a1a;
	transform: skewY(-1deg);
}

#header-logo {
  display: block;
	width: 14rem;
	height: 8rem;
	background: url('/images/logo_greenunion.svg')  no-repeat center center / contain;
	float: left;
	transform: skewY(1deg);
}

nav {
	float: right;
	transform: skewY(1deg);
}

nav ul {
	list-style-type: none;
	margin: 0;
}

nav ul li {
	display: inline-block;
	padding: 2.5rem .75rem 0;
}

nav ul a {
font-family: 'Exo', sans-serif;
	display: inline-block;
	color: #fff;
	font-size: 1.05rem;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1.4rem;
	padding: 1rem 0 0;
	text-decoration: none;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow: hidden;
}

nav ul a.active {
  border-bottom: 1px solid #51aa4b;
}
nav ul a:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: 0;
  background: #51aa4b;
  height: 1px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
nav ul a:hover:before, nav ul a:focus:before, nav ul a:active:before {
  left: 0;
  right: 0;
}


/*
nav ul a:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #51aa4b;
  border-radius: 100%;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
nav ul a:hover, nav ul a:focus, nav ul a:active {
  color: #fff;
  border-bottom-width: 2px;
  border-bottom-color: #fff;
  border-bottom-style: solid;
}
nav ul a:hover:before, nav ul a:focus:before, nav ul a:active:before {
  -webkit-transform: scale(2);
  transform: scale(2);
}
*/

.content {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

#container, #sidebar {
	width: 100%;
	margin: 0 0 1rem;
	padding: 1rem;
	border: 1px solid #1E90FF;
	font-size: 1.25rem;
}

.article {
	
	
	margin: 0 auto;
	color: #fff;
	padding: 2rem;
}

.article-header {
	background: url('/images/bg_tractors_3.jpg') center center no-repeat;
	background-size: cover;
	min-height: 22rem;
	font-size: 3.5rem;
	padding: 13rem 3rem 0;
	width: 100%;
}

.article-header span {  }
.article-content {
	margin-top: -2rem;
	background: #51aa4b;
}

.article.article-content.contact {
  height: 9rem;
  padding: 1.5rem 6rem;
}

.budrem {
	margin: 0.2rem auto;
	min-height: 22rem;
	background: url('/images/26.jpg') center left no-repeat;
	background-size: cover;
	border-width: 0;
	border-style: solid;
	border-color: #51aa4b;
/*
	transform: skewY(2deg);
*/
}

.kon {
	display: inline-block;
	width: 50%;
	margin: 0.2rem auto;
	min-height: 22rem;
	background: url('/images/IMG_0116ec.jpg') center left no-repeat;
	background-size: cover;
}

.thumb-grid, .thumb-row {
  width: 100%;
  margin: 0 0 0rem;
  padding: 0;

}

.thumb {
  float: left;
	margin: 0;
	height: 12rem;
	width: 25%;
	border-width: 0 0.2rem 0.2rem 0;
	background: url('/images/IMG_0116ec.jpg') center left no-repeat;
	background-size: cover;
	/* border-color: #e6e6e6; */
	border-color: #e6e6e6;
	border-style: solid;
}

.thumb-grid.count-6 .thumb:first-child, .thumb-grid.count-3 .thumb:first-child {
	height: 48rem;
	width: 50%;
}

.thumb-grid.count-6 .thumb:nth-child(2), .thumb-grid.count-3 .thumb:nth-child(2),
.thumb-grid.count-3 .thumb:nth-child(3) {
	height: 24rem;
	width: 50%;
	border-right-width: 0;
}

.thumb-grid.count-2 .thumb {
	height: 24rem;
	width: 50%;
}

.thumb-grid.count-6 .thumb:nth-child(4), .thumb-grid.count-5 .thumb:nth-child(4) {
	border-right-width: 0;
}

.thumb-row.count-2 .thumb, .thumb-row.count-3 .thumb:nth-child(3) {
	width: 50%;
}

.thumb:last-child {
	margin-right: 0;
	border-right-width: 0;
}

.thumb:only-child, .thumb-grid.count-5 .thumb:last-child {
	width: 100%;
	height: 24rem;
}




.poznaj-produkty {
	width: 85%;
	min-height: 10rem;
	background: url('/images/marchewki.jpg') center left no-repeat;
	background-size: cover;
	margin: 0.2rem auto 1rem;
}

.poznaj-produkty-inner {
	background: rgba(0, 0, 0, 0.6);
	line-height: 10rem;
	text-align: center;
	color: #fff;
	font-size: 2rem;
	width: 100%;
}

.button {
	display: inline-block;
	padding: 0 0.5rem;
	text-decoration: none;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.5rem;
	font-size: .75rem;
	height: 1.5rem;
}

.button:hover {
	background: #fff;
	color: #1A1A1A;
}

.bordered {
	border: 2px solid #fff;
}

.front {
	background-size: cover;
	margin: 0 auto .15rem;
	/*margin-bottom: .15rem;*/
}

.front.first {
	background: url('/images/15050014_clean_1920_gu_bg.jpg') no-repeat center left / cover;
	min-height: 38rem;
}

.front.second {
	background: url('/images/marchewki.jpg') no-repeat center left / cover;
	min-height: 38rem;
}

.page-limit {
	height: 38rem;
	width: 85%;
	margin: 0 auto;
	position: relative;
}

.green-block {
	position: absolute;
	left: 0;
	bottom: 3rem;
	background: #51aa4b;
	padding: 0 2rem;
	color: white;
	width: 23rem;
	text-decoration: none;
	-moz-osx-font-smoothing: grayscale;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}

.green-block:hover, .green-block:focus, .green-block:active {
  -webkit-transform: scale(1.05) rotate(-2deg);
  transform: scale(1.05) rotate(-2deg);
}

.grey-block {
	position: absolute;
	right: 0;
	top: 3rem;
	background: #e6e6e6;
	padding: 0 2rem;
	color: #000;
	width: 23rem;
}

.green-block .title {
	font-size: 1.5rem;
	border-bottom: 1px solid #fff;
	padding: 2rem 0 1rem;
}

.grey-block .title {
	font-size: 1.5rem;
	padding: 2rem 0 0;
}

.green-block .teaser, .grey-block .teaser {
	font-size: 1rem;
	padding: 1rem 0 2rem;
}

.block-center {
	display: block;
	max-width: 12rem;
	text-align: center;
	margin: 0 auto 2rem;

	border-radius: 2px;
	
}

.white {
	color: #fff;
	border: 0px solid #fff;
}

.black {
	color: #000;
	border: 0px solid #000;
}

iframe {
  float:left;
  width: 66%;
  height: 24rem;
  margin-top: 0.2rem;
}

.contact {
  margin-top: 0.2rem;
  background: #51aa4b; /* #51aa4b */
  float:left;
  width: 34%;
  font-size: 1.8rem;
  padding: 1rem;
  height: 24rem;
  border-left: 0.2rem solid #e6e6e6;
  color: #fff;
}

.contact-collumn:first-child {
  font-size: 3.5rem;
}

.product-grid a .inner-t {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  color: #fff;
  background: transparent;
  padding: 0.4rem 0.8rem;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.1rem;
  z-index: 7;
}

.product-grid a .inner-a {
  height: 8rem;
  transition: all 0.35s ease 0s;
  z-index: 0;
}

.product-grid a {
  position: relative;
  display: block;
  float: left;
  width: 25%;
  margin: 0.2rem 0 0;
  border-right: 0.2rem solid #e6e6e6;
  overflow: hidden;
}

.product-grid a:hover .inner-a {
  transform: scale(1.1);
}

/*.product-grid a:nth-child(2), .product-grid a:nth-child(4), .product-grid a:last-child {
  border-right: 0 solid #fff;
}
*/
.marchew .inner-a {
  background: transparent url("/images/marchew.jpg") no-repeat scroll 50% 50% / 100% auto;
}

.burak .inner-a {
  background: transparent url("/images/burak.jpg") no-repeat scroll center top;
}

.cebula .inner-a {
  background: transparent url("/images/cebula.jpg") no-repeat center left / cover;
}

.por .inner-a {
  background: url("/images/por.jpg") no-repeat center left / cover;
}

.pietruszka .inner-a {
  background: transparent url("/images/pietruszka.jpg") no-repeat center left / cover;
}

.seler .inner-a {
  background: transparent url("/images/seler.jpg") no-repeat center left / cover;
}
@media screen and (max-resolution: 1dppx) {
	#container {
    background: #E5E5E5;
    width: 66.66%;
    float: left;
	}
    
    #sidebar {
      background: #3DAF3D;
      width: 33.33%;
      float: left;
	}
}

@media screen and (min-device-pixel-ratio: 1.5) {
	#container {
    background: #E6E6FA;
	}
}
