/*
Theme Name: Zemědělské potřeby M+S
Theme URI: http://www.zemedelske-potreby.cz
Author: Mgr. Karel Attl | Webdesign a tvorba webových stránek
Author URI: http://www.karelattl.cz/
*/

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
{
	border: 0;
	margin: 0;
	padding: 0;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section
{
	display: block;
}
ol,ul
{
	list-style: none;
}
table
{
	border-collapse: collapse;
	border-spacing: 0;
}
html{
	min-height: 100%;
}

html,body {
	height: 100%;
}
body
{
	color: #5e5c5b;
	font-family: 'Open Sans', Helvetica,Arial,sans-serif;
	font-size: 14px;
	line-height: 21px;
	font-weight: 400;
	text-align: left;
	background: #ffffff url(images/bg-logo.png) center center no-repeat;
	background-attachment: fixed;
}

.wpcf7 input,.wpcf7 textarea {
	color: #5e5c5b;
	font-family: 'Open Sans', Helvetica,Arial,sans-serif;
	font-size: 15px;
	line-height: 23px;
	font-weight: 400;
	text-align: left;
	background-color: #fff;
	border: none;
	resize: none;
	margin: 0;
	margin-bottom: 4px;
	outline: none;
	padding: 10px;
}

.wpcf7 input[type=submit] {
	padding: 10px 20px;
	float: right;
	font-size: 15px;
	color: #fff;
	background-color: #2b3f02;
	border: none;
	font-weight: 100;
	cursor: pointer;
	transition: all .3s;
	text-transform: uppercase;
}

.wpcf7 input[type=submit]:hover {
	background-color: #121905;
}

.clear
{
	clear: both;
	display: block;
}

.center {
	text-align: center;
}

img
{
	height: auto;
	max-width: 100%;
}

img.responsive {
	max-width: 100%;
}


img.desaturate {
	filter: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale");
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	filter: gray;
	
}

h1,h2,h3,h4,h5,h6
{
	font-weight: 500;
	padding: 0;
	text-transform: uppercase;
}

h1, #sortiment-title {
	text-transform: uppercase;
	font-size: 40px;
	line-height: 40px;
	color: black;
	padding-top: 10px;
	padding-bottom: 20px;
	background: url(images/line.png) 3px bottom no-repeat;
	margin-bottom: 15px;
}

p,ul,ol
{
	line-height: 24px;
	padding: 0 0 30px;
}

a {
	text-decoration: underline;
	color: #608b0a;
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	transition:.5s;
	
}

.transition {
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	transition:.5s;
}

a.notransition {
	-o-transition:none;
	-ms-transition:none;
	-moz-transition:none;
	-webkit-transition:none;
	transition:none;
}

a:hover {
	color: #395005;
}

.outer-container {
	width: 100%;
	min-width: 760px;
}

.inner-container {
	max-width: 1920px;
	margin: 0 auto;
}

#top {
	width: 65px;
	height: 65px;
	display: block;
	background: url(images/top.png) center center no-repeat;
	position: fixed;
	bottom: 5px;
	right: 5px;
	z-index: 9999;
	display: none;
}

#wrapper {
	min-height: 100%;
	margin-bottom: -444px;
}

#wrapper:after {
  content: "";
  display: block;
  height: 444px; 
}

#footer-wrapper,#footer {
	height: 444px;
	position: relative;
}

#footer-top-wrapper,#footer-top {
	height: 336px;
}

#footer-top-wrapper {
	background-color: #608b0a;
	color: white;
}

#footer-top {
	position: relative;
}

#footer-bottom-wrapper,#footer-bottom {
	height: 118px;
	position: relative;
}

#footer-bottom-wrapper {
	background: url(images/footer.png) center center repeat-x;
}

#footer-bottom {
	background: url(images/logo-footer.png) center center no-repeat;
}

#copyright {
	position: absolute;
	left: 8px;
	bottom: 5px;
	font-size: 11px;
	padding-right: 35px;
	font-weight: 400;
	color: white;
}

/**/

#header-wrapper,#header {
	height: 110px;
	position: relative;
}

#header-wrapper {
	background: url(images/header.png) center center repeat-x;
	position: fixed;
	z-index: 9999;
	border-bottom: 1px solid #eee;
}

/*
#header-wrapper.page {
	background: white;
	background-color: white;
}
*/

#logo {
	position: absolute;
	top: 15px;
	left: 55px;
}

#claim {
	color: #36662b;
	text-transform: uppercase;
	font-weight: 400;
	position: absolute;
	top: 70px;
	left: 267px;
}

#responsive-menu {
	display: none;
	width: 32px;
	height: 32px;
	background: url(images/menu-icon.png) center center repeat-x;
	position: absolute;
	left: 5px;
	top: 15px;
}

#menu {
	position: absolute;
	height: 90px;
	right: 40px;
}

#menu ul li {
	float: left;
	margin: 0 4px;
	background: url(images/menu-separator.png) 0 66px no-repeat;
	overflow: visible;
}

#menu ul li:first-child {
	background: none;
}

#menu ul li a {
	text-decoration: none;
	padding: 0 10px;
	font-weight: 700;
	font-style: italic;
	letter-spacing: -1px;
	text-transform: uppercase;
	color: black; 
	height: 90px;
	line-height: 140px;
	display: block;
}

#menu ul li a:hover, #menu ul li.current-menu-item a {
	background-color: #608b0a;
	color: white;
}

#menu ul li#menu-item-14 a {
	color: #608b0a;
}

#menu ul li#menu-item-14 a:hover {
	background-color: transparent;
	color: #608b0a;
}

#searchform {
	position: absolute;
	top: 10px;
	left: 450px;
}

#searchform-content {
	height: 44px;
	border: 6px solid #618c0a;
	position: relative;
	width: 332px;
}

#searchform input[type=text] {
	width: 280px;
	border: none;
	height: 32px;
	padding: 0 10px;
	background-color: white;
	position: absolute;
	left: 0;
	top: 0;
}

#searchsubmit {
	position: absolute;
	right: 0;
	top: 0;
	border: none;
	background: url(images/search.png) center center no-repeat;
	width: 32px;
	height: 32px;
}

#content-slider-wrapper {
	overflow: hidden;
}

#content-slider {
	height: 580px;
	position: relative;
}

#content-slider-eshop-link {
	text-decoration: none;
}

#content-slider-eshop {
	height: 73px;
	line-height: 73px;
	font-size: 30px;
	top: 290px;
	text-transform: uppercase;
	padding: 0 60px;
	background: url(images/transparent-white.png) center center repeat;
	position: absolute;
	font-weight: 100;
	color: #608b0a;
	z-index: 100;
}

#content-slider-eshop span.eshop {
  font-size: 40px;
  font-weight: 700;
  background: -webkit-linear-gradient(#608b0a, #384f05);
  letter-spacing: -2px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
	font-style: italic;
	padding-right: 8px;
}

#content-slider-eshop-content {
	position: relative;
	overflow: visible;
}

#content-slider-eshop span.here {
	width: 146px;
	height: 146px;
	position: absolute;
	right: -163px;
	top: -40px;
	background: url(images/flyer-circle.png) center center no-repeat;
	color: white;
	line-height: 146px;
	text-align: center;
	font-weight: 700;
}

#content-slider-machine {
	width: 600px;
	position: absolute;
	right: 35px;
	bottom: -90px;
}

#s-f {
	position: absolute;
	right: 0;
	top: 180px;
	z-index: 100;
}

#s-f img {
	padding: 0;
}

#homepage-produkty-wrapper {
	background-color: #608b0a;
}


.homepage-produkt-item {
	width: 12.5%;
	float: left;
	overflow: hidden;
}

.homepage-produkt-item-thumbnail {
	height: 256px;

}

.homepage-produkt-item a {
	text-decoration: none;
}

.homepage-produkt-item-header {
	height: 108px;
	background: url(images/category-menu-light.png) center center repeat-x;
}

.homepage-produkt-item-1 .homepage-produkt-item-header {
	background: url(images/category-menu-dark.png) center center repeat-x;
}

.homepage-produkt-item-header h2 {
	padding: 0;
	margin: 0;
	font-size: 14px;
	font-weight: bold;
	font-style: italic;
	color: white;
	text-align: left;
	padding: 0 20px;
	padding-top: 25px;
}

.homepage-produkt-item:hover .homepage-produkt-item-header,
.homepage-produkt-item.current .homepage-produkt-item-header {
	background: url(images/category-menu-hover.png) center center repeat-x;	
}

#footer-newsletter {
	position: relative;
	height: 0;
}

#footer-contact-form {
	width: 600px;
	position: absolute;
	top: 75px;
	left: 15px;
}

.contact-form-left,.contact-form-right {
	width: 50%;
	padding: 0;
	float: left;
}

#footer-contact-form p {
	padding: 5px;
	padding-bottom: 0;
}

#footer-contact-form textarea,
#footer-contact-form input[type=text],
#footer-contact-form input[type=email] {
	border: 1px solid white;
	width: 100%;
	display: block;
	padding: 5px;
	padding-left: 5px;
	padding-right: 5px;
	line-height: 15px;
	display: block;
}

#footer-contact-form textarea {
	height: 72px;
}

#footer-links-wrapper {
	background-color: #333;
}

#footer-links-inside {
	padding: 40px 60px;
	text-align: center;
}

#footer-links-inside a {
	color: white;
	font-size: 12px;
}

#footer-links-inside a:hover {
	color: #ddd;
}

span.wpcf7-not-valid-tip {
	display: none;
}

#footer-contact-form textarea.wpcf7-not-valid,
#footer-contact-form input[type=text].wpcf7-not-valid,
#footer-contact-form input[type=email].wpcf7-not-valid {
	border: 1px solid #c00;
	background-color: #fbf0f0;
}

#footer-contact-form input[type=submit] {
	margin-top: -6px;
}

#footer-contact-address {
	position: absolute;
	top: 75px;
	right: 15px;
	width: 500px;
}

#footer-contact-address table {
	width: 100%;
}

#footer-contact-address table tr td {
	padding: 0;
	padding-right: 2%;
	vertical-align: top;
}

#footer-contact-address a {
	color: white;
}

.footer-title {
	font-size: 30px;
	line-height: 30px;
	font-weight: 100;
	color: white;
	padding-bottom: 30px;
}

#homepage-text {
	padding: 20px;
}

#header-produkty {
	padding-top: 110px;
}

#content-text {
	padding: 40px 20px;
}

.produkt #content-text {
	padding: 0;
}

#produkt-right-image {
	height: 382px;
	position: relative;
}

#produkt-wrapper {
	background-color: #395005;
}

#produkt-left,#produkt-right {
	float: left;
	overflow: hidden;

}

#produkt-left {
	width: 25%;
	
	color: white;
}

#produkt-right {
	width: 75%;
	background: #ffffff url(images/bg-logo.png) center center repeat;
}

#produkt-right-image #content-slider-eshop {
	top: 260px;
}

#produkt-right-image #s-f {
	top: 50px;
}

#produkt-right-inside {
	
}

#content-text.produkt-detail {
	padding: 30px 20px;
}

#sortiment-title {
	color: white;
	font-size: 30px;
	line-height: 30px;
	font-weight: 300;
}

#produkt-left-content {
	padding: 20px;
}

#produkt-left-content ul li a {
	text-transform: uppercase;
	color: white;
	text-decoration: none;
}

#produkt-left-content ul li.current_page_item a,#produkt-left-content ul li a:hover, #produkt-left-content ul li.current_page_item > a, 
#produkt-left-content ul li.current_page_ancestor > a, #produkt-left-content ul.children li.current_page_item > a, #produkt-left-content ul.children li a:hover {
	color: #e4ce58;
}

#produkt-right-image h1 {
	color: white;
	font-weight: 800;
	font-style: italic;
	background: none;
	padding: 0;
	margin: 0;
	text-transform: none;
	font-size: 50px;
	line-height: 60px;
	letter-spacing: -2px;
	text-shadow: 1px 1px 5px rgba(150, 150, 150, 1);
	position: absolute;
	top: 70px;
	left: 30px;
	max-width: 400px;
}

.text-wrapper h1 {
	line-height: 50px;
	margin-bottom: 15px;
}

.text-wrapper h2 {
	margin-bottom: 10px;
	font-weight: bold;
	padding: 20px 0;
}

.text-wrapper img {
	display: inline-block;
	vertical-align: top;
	padding: 10px;
}

.text-wrapper table {
	width: 100%;
}

@media screen and (max-width: 1220px) {
	#searchform {
		left: auto;
		right: 40px;
		top: 100px;
	}

	#header-wrapper {
		background: none;
		background-color: white;
	}

	#header-wrapper,#header {
		height: 150px;
	}

	#header-produkty {
		padding-top: 150px;
	}

	#claim {
		left: 55px;
		top: 110px;
	}
}

@media screen and (min-width: 1220px) and (max-width: 1400px) {
	#searchform {
		left: 265px;
	}
}

@media screen and (max-width: 1140px) {
	#footer-contact-form {
		width: 500px;
	}

	.contact-form-left, .contact-form-right {
		float: none;
		width: 100%;
		padding: 0;
	}

	#footer-contact-form, #footer-contact-address {
		top: 30px;
	}

	#footer-top-wrapper, #footer-top {
		height: 386px;
	}
}

@media screen and (max-width: 1040px) {
	#footer-contact-form {
		width: 300px;
	}	

	.homepage-produkt-item.position-5 {
		clear: both;
	}

	.homepage-produkt-item {
		width: 25%;
	}
}

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

}

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

	body {
		font-size: 16px;
		line-height: 30px;
		text-align: center;
	}

	.inner-container {
		width: auto;
	}

	.outer-container {
		width: auto;
		min-width: 100%;
	}

	#header-wrapper, #header, #menu, #logo, #claim, #searchform,#footer-wrapper, #footer {
		display: block;
		position: static;
		height: auto;
	}

	#responsive-menu {
		display: block;
		text-decoration: none;
	}

	#menu {
		display: none;
		border-top: 1px solid #608b0a;
	}

	#menu ul {
		padding-bottom: 0;	
	}

	#menu ul li {
		float: none;
		margin: 0;
		background: none;
		display: block;
		overflow: visible;
	}

	#menu ul li a {
		text-decoration: none;
		padding: 0 10px;
		font-weight: 700;
		font-style: italic;
		letter-spacing: -1px;
		text-transform: uppercase;
		color: black; 
		display: block;
		height: auto;
		line-height: 40px;
		border-bottom: 1px solid #608b0a;
	}

	#menu ul li a:hover, #menu ul li.current-menu-item a {
		background-color: #608b0a;
		color: white;
	}

	#menu ul li#menu-item-14 a {
		color: #608b0a;
	}

	#menu ul li#menu-item-14 a:hover {
		background-color: transparent;
		color: #608b0a;
	}

	#header-produkty {
		padding-top: 0;
	}

	#content-slider-eshop span.here {
		display: none;
	}

	#searchform {
		padding: 5px 0;
	}

	#searchform-content {
		margin: 0 auto;
	}

	.homepage-produkt-item-thumbnail {
		display: none;
	}

	h1, #sortiment-title {
		background: url(images/line.png) center bottom no-repeat;
	}

	#footer-top-wrapper, #footer-top {
		height: auto;
	}

	#footer-top {
		padding: 10px 0;
	}

	#footer-contact-form, #footer-contact-address {
		width: 92%;
		float: none;
		position: static;
		display: block;
		padding: 20px 0;
		margin: 0 auto;
	}

	#footer-contact-address table {
		width: 100%;
	}

	#footer-contact-address table tr td {
		display: block;
		width: auto;
		padding: 0;
	}

	.wpcf7 input[type=submit] {
	
	}

	#footer-contact-form textarea,
	#footer-contact-form input[type=text],
	#footer-contact-form input[type=email] {
		width: 94%;
		border: 1px solid white;
	}

	.contact-form-bottom {
		margin: 0 7px;
	}

	#produkt-left, #produkt-right {
		float: none;
		width: auto;
	}

	#produkt-right-image #content-slider-eshop {
		position: static;
		display: none;
	}
}

@media screen and (max-width: 620px) {
	.homepage-produkt-item {
		width: 50%;
	}

	#content-slider-eshop {
		height: auto;
		width: 96%;
		padding: 0 2%;
	}

	#content-slider-eshop span.eshop {
	  display: block;
	}

	#content-slider-machine {
		display: none;
	}

	#s-f {
		top: 80px;
	}

	#searchform {
		display: none;
	}

	#footer-links-inside a {
		display: block;
	}

	#copyright {
		bottom: 120px;
		padding: 0;
		width: 100%;
		text-align: center;
		left: 0;
	}

	#top {
		bottom: 55px;
	}

	#footer-contact-form textarea, #footer-contact-form input[type=text], #footer-contact-form input[type=email] {
		width: 100%;
	}

	.eshop-produkt-detail-item table {
		width: 100%;
		margin: 0;
	}

	.eshop-produkt-detail-item table tr td,.eshop-produkt-detail-item table tr th {
		display: block;
		width: 100%;
		font-size: 13px;
	}

	.eshop-produkt-detail-item table tr td img {
		display: inline-block;
		margin: 0 auto;
	}

	.text-wrapper table tr td {
		width: 100%;
		display: block;
	}

	.eshop-produkt-detail-item table td:first-child {
		text-align: center;
	}
}



.print-produkty-kategorie-item {
	padding: 0;
	padding-left: 20px;
	font-weight: bold;
}

.print-produkty-kategorie-item li {
	list-style-type: disc;
}

.print-produkty-kategorie-item .print-produkty-kategorie-item {
	padding-left: 40px;
	font-weight: normal;
}

.print-produkty-kategorie-item .print-produkty-kategorie-item .print-produkty-kategorie-item {
	padding-left: 60px;
	font-weight: normal;
}

.print-produkty-kategorie-item .print-produkty-kategorie-item .print-produkty-kategorie-item .print-produkty-kategorie-item {
	padding-left: 80px;
	font-weight: normal;
}

.print-produkty-kategorie-item .rounded {
	display: inline-block;
	margin-right: 10px;
	border-radius: 10px;
	background-color: black;
	color: white;
	font-weight: bold;
	width: 30px;
	text-align: center;
}

.children { 
	display: none; 
	padding: 0;
}

#produkt-left-content ul.children li a {
	text-transform: none;
	font-size: 12px;
	color: #fff;
}

.children li {
	
} 

.children li:before {
	content: "\e239 ";
	position: relative;
	top: 1px;
	display: inline-block;
	font-family: 'Glyphicons Halflings';
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.current_page_item .children,
.current_page_ancestor .children,
.current_page_parent .children

{ display: block; }

.produkt-left-a iframe {
	width: 100%;
	max-width: 460px;
}

.hidden-menu-item {
	display: none;
}

.eshop-produkt-detail-item table tr td.image {
	width: 110px;
}

.eshop-produkt-detail-item table tr td.koupit {
	width: 95px;
}

.eshop-produkt-detail-item-sety-content {
	display: none;
}

.eshop-produkt-detail-item-sety-toggle {
	display: inline-block;
	padding: 10px 0;
}

.show-more-button {
	padding-top: 15px;
	margin-top: 15px;
	border-top: 1px solid #ccc;
	color: #608b0a;
	font-weight: bold;
	cursor: pointer;
}