@media screen and (max-width: 940px) {
	body {
		min-width: 100%;
	}
	img {
		max-width: 100%;	
	}
	.case {
		width: 98%;
		text-align: center;
		padding: 0 1%;
	}

	#container {
		
	}

	#header {
		height: auto;
	}

	.menu-header-top, #logo, .header-contact, .menu, .search, .slogan {
		position: static;
	}

	.ico-news {
		display: inline-block;
	}

	#logo {
		padding-top: 15px;
		padding-bottom: 15px;
		display: inline-block;
		height: auto;
	}

	#logo img {
		width: 110px;
		height: 120px;
	}

	.header-contact {
		position: absolute;
		left: auto;
		top: 15px;
		right: 5px;
	}

	.slogan {
		font-size: 15px;
		position: absolute;
		left: 5px;
		top: 15px;
	}

	.search {
		display: inline-block;
		margin: 0 auto;
		display: none;
	}

	.menu {
		text-align: center;
	}

	.menu ul {
		display: inline-block;
		margin: 0 auto;
	}

	.menu li a {
		float: none;
		display: inline-block;
		position: relative;
		overflow: hidden;
		vertical-align: top;
	}

	.menu-header-top li {
		line-height: 26px;
	}

	.menu-header-top li a {
		white-space: nowrap;
	}

	#menu-hlavni-menu {
		display: block;
	}

	#menu-hlavni-menu li a {
		width: auto;
		float: none;
		height: auto;
		display: block;
		line-height: auto;
		margin: 0 auto;
		background: none !important;
		border: 1px solid #27AD5F;
	}

	#menu-hlavni-menu li.current-menu-item a,#menu-hlavni-menu li.current-page-ancestor a, #menu-hlavni-menu li:hover a {
		background: none !important;
		background-color: #27AD5F !important;
	}

	.menu-sidebar li a {
		background: none;
		border-bottom: 1px dotted #666;
		width: auto;
		margin: 0;
	}

	.menu-sidebar li a:hover, .menu-sidebar li a.select {
		background: none;
		background-color: #27AD5F;
		border-bottom: 1px dotted #666;
		margin: 0;
	}

	.footer-list {
		float: none;
		display: inline-block;
		margin: 10px;
		vertical-align: top;
	}

	.footer-list-menu li {
		text-align: left;
		display: block;
		float: none;
	}

	.content, .sidebar {
		float: none;
		width: auto;
	}

	.bocni-bannery {
		display: none;
	}

	#footer-reference {
		text-align: center;
	}

	.reference {
		float: none;
		display: inline-block;
		margin: 10px;
		vertical-align: top;
	}

	.footer-line {
		width: auto;
		float: none;
	}

	.footer-contact, .footer-youtube {
		width: 50%;
		margin: 0 auto;
		display: inline-block;
		float: none;
	}

	#footer-disclaimer {
		height: auto;
		padding-bottom: 20px;
	}

	#footer-disclaimer .col-left,#footer-disclaimer .col-right {
		display: block;
		width: auto;
		float: none;
	}

	#footer-disclaimer .col-right table.f-float-right {
		float: none;
		display: inline-block;
		margin: 0 auto;
	}

	.produkt .width-300px,.produkt .width-380px {
		width: auto;
	}

	.produkt .f-float-right,.produkt .f-float-left {
		float: none;
	}

	.produkt table {
		width: 100%;
	}

	.produkt .add-to-cart-table {
		width: auto;
		margin: 0 auto !important;
	}

	 li {
	 	text-align: left !important;
	 }

	 #content-slider, #content-slider img {
	 	height: auto;
	 }

	 .slider .slider-title h2 {
	 	font-size: 20px;
	 	padding: 2px;
	 	word-spacing: 0;
	 }

	 #obdobi .line-top, #obdobi .line-bottom {
		text-align: center;
	 }

	 ul.lang-list {
	 	width: auto;
	 }

	 ul.lang-list li {
	 	float: none;
	 	display: block;
	 	margin: 0;
	 	text-align: center;
	 }

	 ul.lang-list li a,ul.lang-list li a:hover {
	 	display: block;
	 	width: 100%;
	 	text-align: center;
	 	background-image: none !important;
	 	float: none;
	 }

	 a.select-lang:hover, a.select-lang-hover {
	 	background-color: #ccc;
	 }

	 .bg-lang {
	 	background-repeat: repeat;
	 }

	 .course-list {
	 	width: auto;
	 }

	 .course-list a {
	 	text-align: center;
	 }

	 .kurzy-objednavka-wrapper fieldset {
	 	padding: 5px;
	 }

	 .kurzy-objednavka-wrapper table {
	 	width: 100%;
	 }

	 .kurzy-objednavka-wrapper .f-float-right {
	 	float: none;
	 }

	
	#responsive-menu-sidebar,#responsive-menu {
		display: inline-block;
		margin: 0 auto;
		border: 1px solid #ddd;
		padding: 10px;
		margin-bottom: 20px;
		text-decoration: none;
		text-transform: uppercase;
		color: #636363 !important;
		background-color: #eee;
	}

	.menu-header-top {
		background: url(../img/grey.png) center center repeat;
		margin-bottom: 10px;
	}

	.menu-sidebar {
		display: none;
	}

	#header .menu {
		display: none;
	}

	table.buttons {
		width: 98%;
	}

	table.buttons tr td {
		/*width: 100%;
		display: block;*/
	}

	.produkt .ico-stock {
		display: inline-block;
		margin: 0 auto;
	}

	.season-list li {
		margin: 0;
	}
	

}

@media screen and (max-width: 540px) {
	.header-contact {
		display: block;
		position: static;
	}

	#logo {
		padding: 0;
		padding-top: 15px;
		width: 80px;
		height: 90px;
	}

	#logo img {
		width: 80px;
		height: auto;
	}

	.slogan {
		width: 70px;
		height: 70px;
		overflow: hidden;
	}

	.header-contact {
		height: 60px;
		margin: 0;
		padding: 0;
	}
	.width-70px {
		width: auto;
	}
	.width-300px {
		width: auto;
	}
	.width-380px {
		width: auto;
	}
	.f-width-620px {
		width: auto;
	}
	.width-628px {
		width: auto;
	}
	.width-784px {
		width: auto;
	}

	.content table th {
		text-align: center;
	}

	.content table td,.content table th {
	 	display: block;
	 	padding: 0;
	 }

	 .content table.buttons td, .content .zak-vyber-pobocky-a-jazyka table td {
	 	display: table-cell;
	 }

	 .content table.buttons a.button {
	 	min-height: 48px;
	 }

	 .content table tr td:last-child {
	 	
	 }

	 .custom-kurzy-table {
	 	text-align: left !important;
	 }

	 .kurzy-objednavka-wrapper table,.kurzy-objednavka-wrapper table tr td {
	 	width: auto !important;
	 	display: block !important;
	 	text-align: left !important;
	 	border: none !important;
	 }

	 .kurzy-objednavka-wrapper table tr td {
	 	width: 100% !important;
	 }

	 .kurzy-objednavka-wrapper .zak-vyber-pobocky-a-jazyka table {
	 	table-layout: fixed;
	 	width: 90% !important;
	 }

	 .kurzy-objednavka-wrapper .zak-vyber-pobocky-a-jazyka table td,.kurzy-objednavka-wrapper .zak-vyber-pobocky-a-jazyka table th {
	 	display: table-cell !important;
	 	border-bottom: none !important;
	 	padding: 3px;
	 }

	 .kurzy-objednavka-wrapper .zak-vyber-pobocky-a-jazyka table th img {
		display: none;
	 }


	 .kurzy-objednavka-wrapper table tr td input[type=text],.kurzy-objednavka-wrapper table tr td input[type=email],.kurzy-objednavka-wrapper table tr td select,.kurzy-objednavka-wrapper table tr td textarea {
	 	width: 98% !important;
	 	margin: 0 auto;
	 }

	 .kurzy-objednavka-wrapper table tr td input[type=text][name=predvolba],
	 .kurzy-objednavka-wrapper table tr td input[type=text][name*=predvolba] {
	 	width: 30% !important;
	 	float: left;
	 }

	 .kurzy-objednavka-wrapper table tr td input[type=text][name=telefon],
	 .kurzy-objednavka-wrapper table tr td input[type=text][name*=telefon] {
	 	width: 68% !important;
	 }

	 .kurzy-objednavka-wrapper table tr td:first-child {
		padding-top: 10px;
	 }

	 .kurzy-objednavka-wrapper table tr td:last-child {
	 	padding-bottom: 10px;
	 	/*border-bottom: 1px dotted #666 !important;*/
	 }

	 .kurz-detail-metadata table td {
		width: auto;
		display: block;
	 }

	 .spring-box, .summer-box, .autumn-box, .winter-box {
	 	text-align: left;
	 }

	 thead {

	 }

	 #product-add-to-cart-button {
	 	margin-bottom: 15px;
	 }

	 .content .kurzy-objednavka-wrapper table tr td:last-child,.produkt table tr td:last-child {
	 	border-bottom: none;
	 }

	 .course-list li {
	 	display: inline-block;
	 	clear: both;
	 	margin: 0 auto;
	 }

	 .facebook {
	 	float: none;
	 	margin: 20px auto;
	 }
}


