﻿/*
Theme Name: MD webdesign theme
Author: Martin Domes
Author URI: http://www.mdwebdesign.cz
(c) všechna práva vyhrazena
*/

* {
	margin: 0;
	padding: 0;
}
body {
	background: #ffb465 url(obr/poz-body.jpg) bottom center fixed no-repeat;
	color: #222;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 1.4;
}

/* ---- obaly ---- */
#obal {
	padding-top: 5px;
	background: url(obr/poz-obal.png) top center repeat-x;
}
#zahlavi-obal {
	width:100%;
	float: left;
	clear: both;
	background: url(obr/poz-zahlavi.png) bottom center no-repeat;
}
#obsah-obal {
	max-width: 990px !important;
	margin: 0px auto;
	background: #fff;
}
#zapati-obal {
	max-width: 990px;
	margin: 0 auto;
}

/* ---- kostra ---- */
header {
	position: relative;
	max-width: 990px;
	margin: 0 auto;
	background: #fff;
}
section.obsah {
	position: relative;
	clear: both;
	min-height: 350px;
	padding: 30px 2.525252525252525% 20px 250px ; 
	background: url(obr/poz-obsah-stin-horni.jpg) top center no-repeat;
/*	outline: 1px solid orange;  */
}
body.page-template-page-sablona2-php section.obsah {
	clear: both;
	padding-top: 30px;
	padding-left: 2.525252525252525%; 
}
body.page-template-page-sablona3-php section.obsah {
	position: static;
	padding-left: 2.525252525252525%; 
}
body.home section.obsah {
	clear: both;
	width: 100%;
	max-width: 990px;
	padding: 25px 0 20px;
/*	outline: 1px solid orange;  */
}
div.cookie-statement {
	max-width: 650px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
body.privacy-policy section.obsah h1,
body.privacy-policy section.obsah h2, 
body.privacy-policy section.obsah p {
	max-width: 650px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
footer {
	float: left;clear: both;
	width: 94.94949494949495%;
	padding: 20px 2.525252525252525%; 
	margin: 0px auto;
	background: #dedede url(obr/poz-ebook.png) top left repeat-x;
	border-radius: 0 0 10px 10px
}

/* ---- záhlaví ------ */
header article {
	width: 100%;
	height: 95px;
	font-family: 'PT Sans', sans-serif;
}
header p {
	margin: 0;
	padding: 0;
}
header a.logo {
	display: none;
	width: 253px;
	height: 48px;
	position: absolute;
	top: 20px;
	left: 25px;
/*	outline: 1px dotted green; */
}
#slogan {
	position: absolute;
	top: 35px; 
	left: 20px;
	font-size: 135%;
	color: #cc5c01;
/*	outline: 1px dotted blue; */
}
header article a	{
	color: inherit !important;
}
header a.logo span {
	display: none;   
}
header .telefon, footer .telefon {
	position: absolute;
	top: 20px;
	right: 25px;
	padding-right: 30px;
	background: url(obr/ikona-telefon.png) center right no-repeat; 
}
header .email, footer .email {
	position: absolute;
	top: 45px;
	right: 25px;
	padding-right: 30px;
	background: url(obr/ikona-email.png) center right no-repeat; 
}


/* ------- menu - hlavní navigace---------- */
header nav ul {
	position: relative;
	float: left;
	clear: both;
	width: 100%;
	height: 50px;
	list-style: none;
	background: #ffd729 url(obr/poz-menu.png) top left repeat-x;
}
header nav ul li {
	float: left;
	width: 20%;
	background: url(obr/poz-menu-li.png) top right no-repeat;
	cursor: default;
}
header nav ul li:last-child {
	background: none;
}
header nav ul li a {
	display: block;
	width: 100%;
	height: 36px;
	padding-top: 14px;
	color: inherit;
	text-align: center;
	text-decoration: none;
	font-family: 'PT Sans', 'sans-serif';
	font-size: 105%;
/*	outline: 1px dotted brown;    */
}
header nav ul li a:hover {
    background: #cc5c01;
	color: #fff;
}
header nav ul li.current-menu-item a, nav ul li.current-page-ancestor a, nav ul li.current_page_parent a,
header nav ul ul li.current-menu-parent a {
    background: #cc5c01;
	color: #fff;
}
/* ve vyhledávání nechceme žádnou položku menu zvýrazněnou */
body.search header nav ul li.current_page_parent a {
	background: inherit;
}
/* submenu */
header nav ul.sub-menu {
	display: none;
	width: 206px;
	height: auto;
	position: absolute;
	top: 75px;
	left: 25px;
	z-index: 999;
	background: none;
	border-bottom: 1px solid #d1b50f;
}
header nav li.current-menu-item ul.sub-menu, header nav li.current-menu-ancestor ul.sub-menu
 {
	display: block;
}
header nav ul.sub-menu li {
	float: none !important;
	width: 170px;
}
header nav ul.sub-menu li a {
	height: auto;
	padding: 10px 15px;
	background: #f9e27f url(obr/poz-menu.png) bottom left repeat-x;
	border: 1px solid #d1b50f;
	border-left-width: 5px;
	border-bottom-width: 0px;
	text-align: left;
	color: inherit;
}
header nav ul.sub-menu li a:hover, header nav ul.sub-menu li.current-menu-item a {
	background: #cc5c01;
	color: #fff;
}
header nav ul.sub-menu ul.sub-menu{
	display: none;
}
header nav ul.sub-menu {
}
header nav ul.sub-menu {
}
header nav ul.sub-menu {
}



/* ----- obsah - struktura ----- */
.levy {
	float: left;
	width: 48%;
/*	outline: 1px dotted black;  */
}
.pravy {
	float: right;
	width: 48%;
/*	outline: 1px dotted black;  */
}
body.home .levy, body.home .pravy {
	width: 48.5%;
}
/* rezervace - poloviny */
body.page-id-6 .one_half,
body.page-id-52 .one_half {
	width: 44% !important;
	margin: 0 10% 20px 0;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 5px;
	text-align: center;
}
body.page-id-6 .one_half.last_column,
body.page-id-52 .one_half.last_column {
	margin-right: 0;
}
body.page-id-6 .one_half h3,
body.page-id-52 .one_half h3 {
	margin: 15px 5% 10px;
}
body.page-id-6 .one_half p.tlac,
body.page-id-52 .one_half p.tlac {
	margin-top: -10px;
}

/* --- carousel --- */
article#carousel  {
	width: 100%;
	height: auto;
	float: left;
	clear: both;
}

/* --- ebook --- */
article#ebook {
	width: 94.94949494949495%;
	padding: 15px 2.525252525252525% 5px; 
	float: left;
	clear: both;
	background: #dedede url(obr/poz-ebook.png) bottom left repeat-x;
	text-align: center;
}
article#ebook h2 {
	margin-top: 0;
	text-transform: uppercase;
}
article#ebook .levy {
	background: url(obr/ikona-informace.png) top left no-repeat;
}
article#ebook .levy h2, article#ebook .levy p {
	padding-left: 45px;
}
article#ebook .pravy img {
	float: left;
	padding-right: 20px;
	padding-bottom: 20px;
	border: 0;
}
article#ebook form {
	width: 355px;
	float: left;
}
article#ebook form input[type="text"] {
	padding: 6px 10px;
	width: 200px;
}
article#ebook form p {
	float: left;
	clear: none;
}
article#ebook form p.tlac {
	float: right;
	margin: 0;
}

/* --- homepage  - bloky --- */
article#bloky {
	width: 100%;
	float: left;
	clear: both;
	padding: 10px 0;
}
article#bloky section {
	width: 28.33333333333333%;
	margin-left: 2.5%;
	margin-right: 2.5%;
	float: left;
}
article#bloky section h2 {
	width: 100%;
	float: left;
	border: 1px solid #f0f0f0;
	border-bottom: 3px solid  #cdcdcd;
	border-radius: 8px;
	text-align: center;
}
article#bloky section h2:hover {
	background: #f0f0f0 ;
}
article#bloky section h2 a {
	color: inherit;
	text-decoration: none;
}
article#bloky section h2 a:hover {
	color: #cc5c01;
}
article#bloky section a span {
	display: block;
	padding: 10px;
}
article#bloky section a span span {
	padding: 0;
}

article#bloky section img {
	width: 96.5%;
	height: auto;
	float: left;
	padding: 0;
}
article#bloky p.tlac a {
	display: block;
	clear: both;
	width: 83%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
article#bloky p.tlac a:hover {
	background: #cc5c01;
	color: #fff;
}


/* --- sloupce --- */
article#sloupce {
	float: left;clear: both;
	width: 94.94949494949495%;
	padding: 0 2.525252525252525%; 
/*	outline: 1px solid red; */
}
article#sloupce section {
	width: 31.2280701754386%; 
	margin-right: 3.03030303030303%;
	float: left;
/*	outline: 1px dotted blue; */
}
article#sloupce section.posledni {
	margin-right: 0 !important;
}
article#sloupce section img {
	max-width: 96.55%
}
article#sloupce section h2 {
	margin-top: 0;
	margin-bottom: 20px;
	padding: 13px 0 0 45px;
}
article#sloupce section.sl01 h2 {
	background: url(obr/ikona-domecek.png) left center no-repeat;
}
article#sloupce section.sl02 h2 {
	background: url(obr/ikona-fotky.png) left center no-repeat;
}
article#sloupce section.sl03 h2 {
	background: url(obr/ikona-blog.png) left center no-repeat;
}


/* blog na titulce */
article.novinka {
	clear: both;
	min-height: 80px;
}
article.novinka h3 {
	text-transform: none;
	margin-top: 0px;
}
article.novinka h3 a {
	color: inherit
}
article.novinka p.datum {
	margin-bottom: 0px;
	font-size: 85%
}


/* ----- zápatí ---- */
footer a, section.copy a {
	color: inherit;
}
footer h2 {
	margin: 0 0 15px;
	padding-top: 7px;
	padding-left: 50px;
	color: #cc5c01 !important;
	font-size: 125%;
}
footer section.levy h2 {
	background: url(obr/ikona-mapa.png) left center no-repeat;
}
footer section.pravy h2 {
	background: url(obr/ikona-kniha.png) left center no-repeat;
}
footer img {
	float: left;
	margin-right: 20px;
}
footer a:hover img {
	border-color: #bbb;
}
footer .telefon, footer .email {
	position: static;
	background-position: 230px center !important;
	padding-right: 0;
	padding-left: 260px;
}
section.copy {
	float: left;
	width: 94.94949494949495%;
	padding: 0 2.525252525252525%; 
	margin: 20px auto;
	color: #fff;
	text-shadow: 2px 1px 3px #000;
}
section.copy .pravy {
	text-align: right;
}


/* Gutenberg */
div.wp-block-columns {
	margin: 0;
}
div.wp-block-column {
	margin: 0;
}

/* ---- obsah - text --- */
/* nadpisy */
h1, h2, h3 {
	font-family: 'PT Sans', sans-serif;
	line-height: 1.15;
}
h1 {
	margin-bottom: 20px;
	font-size: 220%;
}
h2 {
	font-size: 150%;
	margin-top: 20px;
	margin-bottom: 15px;
	color: #cc5c01;
}
div.wp-block-column h2:first-child, 
div.wp-block-column h3:first-child {
	margin-top: 0;
}
body.home h2 {
	font-size: 140%;
	color: #222;
}
h3 {
	font-size: 120%;
	margin-top: 15px;
	margin-bottom: 10px;
	color: #555;	
}
h4 {
	font-size: 100%;
	margin-top: 10px;
	margin-bottom:5px;
	color: #888;
}

/* odstavce */
p {
	margin-bottom: 10px;
}
blockquote {
	padding: 0px 15px;
	margin-bottom: 20px;
	border-left: 10px solid #cc5c01;
	color: #cc5c01 !important;
}

/* odkazy */
section.obsah a {
	color: #000;
}
section.obsah h2 a {
	text-decoration: none;
}
section.obsah a:hover, .email a:hover {
	color: #cc5c01 !important;
	text-decoration: none;
}
section.obsah h2 a:hover {
	text-decoration: underline;
}
blockquote a {
	color: #cc5c01 !important;
}

/* seznamy */
section.obsah ul {
	margin-left: 0px;
	margin-bottom: 10px;
	list-style: none;
	line-height: 1.4;
}
section.obsah ol {
	margin-left: 27px;
	margin-bottom: 10px;
	line-height: 1.4;
}
section.obsah ul li, section.obsah ol li {
	margin-bottom: 10px;
}
section.obsah ul li {
	padding-left: 27px;
	background: url(obr/odrazka.jpg) top left no-repeat;
}
div.cookie-statement ul li {
	margin-left: -15px;
	list-style: none;
}


/* obrázek, obrázky */
img {
	max-width: 100%;
	height: auto;
	border: 5px solid #f0f0f0;
	border-radius: 5px;
}
a:hover img {
	border-color: #dedede;
}
img.bezramecku {
	border: none;
}

/* fotogalerie */
div.gallery {
	width: 100%;
	float: left;
	clear: both;
	margin-bottom: 15px;
}
div.gallery figure {
	float: left;
}
div.gallery-columns-2 figure{
	margin: 5px 7%;
}
div.gallery-columns-4 figure{
	margin: 5px 1.2%;
}

/* Mapy.cz - oprava */
.smap > div:first-child {
	width: 100% !important;
}
.smap img  {
	border: none !important;
}

/* tlačítko */
div.wp-block-buttons,
p.tlac {
	margin-top: 20px;
	margin-bottom: 20px;
}
p.tlac a, p.tlac input, 
input[type="submit"].ninja-forms-field, 
p.form-submit input[type="submit"],
div.wp-block-button a {
	width: auto;
	padding: 8px 18px 6px 18px;
	background: #ffd72b url(obr/poz-tlac.png) top repeat-x;
	border: 1px solid #d1b50f !important;
	border-radius: 5px;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 85%;
	color: #222 !important;
}
p.tlac a:hover, p.tlac input:hover, 
input[type="submit"].ninja-forms-field:hover, 
p.form-submit input[type="submit"]:hover,
div.wp-block-button a:hover {
	cursor: pointer;
	background: #cc5c01;
	color: #fff !important;
}
p.tlac input {
	padding-top: 6px;
	border: none;
	cursor: pointer;
}


/* doplňující třídy */
.nevidet {
	display: none !important;
}
hr {
/* nemazat */
	width: 100%;
	clear: both;
	padding-top: 20px;
	margin-bottom: 20px;
	background: none !important;
	border: none !important;
	border-bottom: 1px solid #ccc !important;
}

/* ----- třídy WP ---- */
.alignleft {
	float: left;
	margin-right: 15px;
	margin-bottom: 10px;
}
.alignright {
	float: right;
	margin-left: 15px;
	margin-bottom: 10px;
}
.aligncenter{
	margin: 0px auto 10px;
	clear: both;
}
.alignnone {
	margin-bottom: 10px;
	clear: both;
}


/* ------ BLOG ----- */
.blog .obsah, .category .obsah, .single .obsah, .search .obsah, .archive .obsah {
	float: left;
	max-width: 655px;
	padding-top: 30px;
	padding-left: 25px;
	padding-right: 300px;
	position: relative;
}
article.clanek {
	clear: both;
}
article.clanek h2 a {
	text-decoration: underline;
}
article.clanek h2 a:hover {
	text-decoration: none;
}

/* panel + widgety */
aside {
	position: absolute;
	top: 70px;
	right: 25px;
	width: 205px;
	float: right;
	padding: 20px 20px 0 20px;
	border: 1px solid #e9e9e9;	
	background: #f9f9f9;
}
div.widget {
	margin-bottom: 20px;
/*	outline: 1px dotted #3F0 */
}
aside .widget h3 {
	margin-top: 0;
}
aside .widget ul {
	list-style: none;
}

/* hledání v panelu */
aside .widget input[type="text"] {
	width: 152px;
	color: #777;
	border: 1px solid #ccc;
	font-size: 100%;
}
aside .widget input[type="submit"] {
	height: 27px;
	margin-left: 3px;
	border: 1px solid #c4c4c4;
	background: blue;
	color: #fff;
	cursor: pointer;
	text-transform: uppercase;
	position: relative;
	top: -1px;
}
aside .widget input[type="submit"]:hover {
	background: #075a62;
}

/* rubriky */
ul li.cat-item {
	list-style: none;
	margin: 0 !important;
	margin-left: -27px !important;
	background-image: none !important;
}
ul li.cat-item a {
	display: block;
	background: #f9f9f9 !important;
	border: 1px solid #e9e9e9;
	border-top: none;
	padding: 5px 15px;
	text-decoration: none;
	color: #777;
}
ul li.cat-item:first-child a {
	border-top: 1px solid #e9e9e9;
}
ul li.cat-item a:hover {
	background: #eee !important;
}
ul li.current-cat a {
	background: #666 !important;
	color: #fff !important;
	font-weight: bold;
}

/* článek */
p.metadata {
	margin-top: -5px;
	margin-bottom: 20px;
	font-size: 90%;
}
/* perex */
body.single img.wp-post-image + p {
	font-size: 105%;
	color: #777;
	min-height: 100px;
}
/* náhledový obrázek */
img.wp-post-image,
img.default-featured-img {
	float: left;
	margin-right: 15px;
	margin-bottom: 10px;
}
/* stránkování */
.obsah ul.strankovani {
	width: 100%;
	clear: both;
	padding-top: 20px;
	margin: 0;
	text-align: center;
	list-style: none;
/*	outline: 1px solid yellow; */
}
.obsah ul.strankovani li.starsi {
	float: right !important;
	font-weight: bold;
}
.obsah ul.strankovani li.novejsi {
	float: left !important;
	font-weight: bold;
}
/* komentáře */
.komentare {
	clear: both;
	margin-top: 30px;
	padding-top: 5px;
	border-top: 1px solid silver;
}
.komentare label {
	display: block;
	float: left;
	width: 150px;
	padding-top: 0.2em;
	color: #777;
}
.komentare input, .komentare textarea {
	padding: 5px;
	color: #777;
}
.komentare input[type="text"] {
	width: 350px;
}
.komentare textarea {
	width: 500px;
	height: 100px;
}
.komentare input[type="submit"] {
	height: 28px;
	border: 1px solid #c4c4c4;
	background: #0f6972;
	color: #fff;
	cursor: pointer;
	text-transform: uppercase;
}
.komentare input[type="submit"]:hover {
	background: #075a62;
}
.komentare .comment-meta {
	font-weight: bold;
}
.komentare ol.seznam-komentaru {
	margin-top: 15px;
	margin-left: 0;
}
.komentare ol.seznam-komentaru li {
	padding: 10px;
	margin-top: 10px;
	margin-left: 0;
	list-style: none;
}
.komentare ol.seznam-komentaru li:nth-child(odd) {
	background: #f6f6f6;
}
.komentare ol.seznam-komentaru li li {
	background: #fff !important;
}
.komentare #respond {
	margin-top: 20px;
	clear: both;
}
.komentare #respond  h3 {
	margin-bottom: 10px;
}
.komentare .strankovani{
	width: 100%;
	margin: 20px 0 0 0; 
	height: 25px;
}
.komentare .strankovani li {
	list-style: none;
	margin: 0 5px;
}
.obsah ul.strankovani li.predchozi {
	float: left;
}
.obsah ul.strankovani li.novejsi {
	float: right;
}
.komentare #respond h3, .komentare a {
	color: #777 !important;
}
.komentare .comment-notes, .komentare .form-allowed-tags {
	width: 500px;
	font-size: 90%;
	color: #777;
}

/* --- tabulky --- */
table {
	margin-bottom: 20px;
	border-collapse: collapse;
}
th, td {
	padding: 5px 15px;
	text-align: left;
	background: #fff;
	border: 1px solid #ddd;
}
th {
	background: #cc5c01;
	color: #fff;
}
tr:nth-child(odd) td {
	background: #f1f1f1;
}

/* --------- formuláře obecně ----------- */
form {
}
input, select, option, textarea {
	padding: 5px 8px;
	color: #545454;
}
input[type="text"], input[type="email"], 
input[type="tel"], input[type="number"], 
input[type="password"], textarea, select {
	border: 1px solid #ccc;
	border-radius: 5px;
	font-family: Arial, Helvetica, sans-serif;
	background: #f8f8f8;
}


/* --------- ninja forms -formuláře ----------- */
div.nf-form-cont {
	max-width: 98%;
	max-width: 520px;
/*	margin: 0 auto; */
}
div.nf-form-cont div.nf-field-container {
	margin: 0 0 10px 0 !important;
}
div.nf-form-cont div.nf-field-container div.field-wrap {
}
div.nf-form-cont div.field-wrap div.nf-field-element {
	width: 100%;
}
div.nf-form-cont h2 {
	margin-bottom: 10px;
	padding-bottom: 5px;
	text-align: center;	
	border-bottom: 1px solid #666;
}
div.nf-form-cont div.nf-field-description {
	margin: -10px 0 10px;
	text-align: center;	
}
/* pole */
div.nf-form-cont div.nf-field-label {
/*	width: 100%; */
	width: 30%;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: left !important;
}
div.nf-form-cont div.field-wrap div.nf-field-element {
	width: 70%;
}
div.nf-form-cont div.listcheckbox-wrap ul li {
	display: inline-block;
	width: 48%;
	background: none;
}
div.nf-form-cont div.field-wrap div.nf-field-element textarea{
	height: 100px;
}
/* html */
div.nf-form-cont div.field-wrap.html-wrap {
	width: 100% !important;
	margin-left: 30% !important;
	text-align: center;
	font-size: 80%;
}
div.nf-form-cont div.field-wrap.html-wrap p {
	width: 100% !important;
}

/* tlačítko*/
div.submit-wrap div.nf-field-label {
	display: none !important;
}
div.submit-wrap input[type="submit"] {
	width: 100% !important;
	margin-left: 42.5%;
}
/* kontaktní */
div#nf-form-1-cont.nf-form-cont {
	max-width: 100%;
	margin: 0;
}
div#nf-form-1-cont.nf-form-cont div.nf-field-label {
	width: 20%;
	padding: 0;
	text-align: left;
}
div#nf-form-1-cont.nf-form-cont div.field-wrap div.nf-field-element {
	width: 80%;
}
div#nf-form-1-cont.nf-form-cont div.field-wrap.html-wrap div.nf-field-element {
	margin-left: 20%;
}
div#nf-form-1-cont.nf-form-cont div.submit-wrap input[type="submit"] {
	margin-left: 25%;
}
div#nf-form-1-cont.nf-form-cont div.field-wrap.html-wrap {
	margin-left: 0% !important;
}
/* chybové hlášky */
div.nf-form-fields-required {
	display: none;
}
div.nf-error-msg {
	width: 200px;
	top: 0ex;
	left: 350px;
	z-index: 999;
	position: absolute !important;
	padding: 5px 5px 5px 30px !important;
	background: url(obr/chyba2.png) no-repeat center left;
	color: #fff;
}
div.nf-error-field-errors {
	width: auto;
	position: static !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
	background: none;
	color: red;
	text-align: center;
}
/* chybové hlášky - kontaktní */
div#nf-form-2-cont div.nf-error-field-errors {
	margin-left: 20%;
}
div#nf-form-2-cont div.nf-error-msg {
	top: 0;
}


/* --- sociální tlačítka --- */
div.meks_ess {
	width: 100%;
	clear: both;
	padding-top: 20px; 
}
div.meks_ess a {
	display: inline-block;
	color: #fff !important;
}
div.meks_ess a:hover {
	color: #fff !important;
}


/* --- responzivní design */
@media all and (max-width: 1030px) {
	.cycloneslider-template-default .cycloneslider-prev, .cycloneslider-template-default .cycloneslider-next {
		display: none !important;
	}
}
@media all and (max-width: 990px) { /* tablety */
	/* nezobrazit*/
	footer img {
		display: none !important;
	}
	/* bez pozadí */
	body {
		background-image: none;
	}
	/* navigace */
	header nav ul.sub-menu {
		width: 156px !important;
		left: 20px;
	}
	header nav ul.sub-menu li {
		float: none !important;
		width: 120px;
	}
	/* carousel*/
	.cycloneslider-template-default .cycloneslider-slides{
		min-height: 300px !important;
	}
	/* obsah */
	section.obsah {
		padding-left: 196px;
	}
	div.gallery img {
		max-width: 90% !important;
	}
	iframe {
		max-width: 100%;
	}
	/* čtvrtiny */
	.one_fourth {
		width: 47% !important;
		margin: 0 1% 20px;
	}
	/* formulář */
	form.ninja-forms-form label, 
	form.ninja-forms-form input, 
	form.ninja-forms-form textarea,
	form.ninja-forms-form select {
		display: block;
		float: none;
		margin-left: 0 !important;
	}
	form.ninja-forms-form input[type="submit"] {
		margin-left: 0;
	}
	/* blog*/
	.komentare textarea {
		width: 97%;
	}
	.komentare p.form-submit {
		margin-left: 0px !important;
	}
	/* zápatí */
	footer, .copy {
		float: none !important;
		border-radius: 0;
	}
	footer .telefon, footer .email {
		position: static;
		background-position: 0px center !important;
		padding-left: 30px;
	}
}
@media all and (min-width: 768px) and (max-width: 910px) { 
	/* bloky */
	#bloky section  {
		font-size: 81%;
	}
}
@media all and (max-width: 767px) { /* mobily */
	/* nezobrazit*/
	.cycloneslider-template-default img, #ebook img {
		display: none !important;
	}
	/* bez pozadí */
	body, #zahlavi-obal, div#carousel-obal, #obsah-obal, #zapati-obal, section.obsah {
		background-image: none !important;
	}
	/* mobilní navigace */
	div#wprmenu_bar {
		z-index: 99999 !important;
	}
	/* záhlaví */
	header {
		height: 120px;
		border-bottom: 1px solid #ccc;
	}
	/* carousel*/
	.cycloneslider-template-default .cycloneslider-slides{
		min-height: 250px !important;
	}
	.cycloneslider-template-default .cycloneslider-caption {
		position: static;
		max-width: 100% !important;
	}
	.cycloneslider-template-default .cycloneslider-pager  {
		right: 10px !important;
	}
	.cycloneslider-template-default .cycloneslider-pager span {
		width: 30px !important;
		height: 30px !important;
		margin-right: 10px !important;
	}
	/* bloky */
	/*
	#bloky section {
		width: 46% !important;
	}
	#bloky section h2 {
		float: none;
		width: 100% !important;
		text-align: center !important;
	}
	#bloky section img {
		width: 100% !important;
		border: none;
		border-radius: 0 0 5px 5px;
	}
	/* sloupce a zápatí */
	article#sloupce section,
	footer section, 
	section.copy p {
		width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	footer section, footer h2, section.copy p {
		text-align: left !important;
		background-position: left center !important;
	}
	footer p.telefon, footer p.email {
		background-position: left center;
		padding-right: 0;
		padding-left: 30px;
	}
	section.copy {
		padding-bottom: 100px !important;
	}
    /* obsah */
	section.obsah {
		padding: 20px;
	}
	body.page section.obsah, body.page-template-page-sablona2-php section.obsah {
		min-height: auto;
		margin-top: 0 !important;
	}
	body.page-template-page-sablona2-php section.obsah {
		padding-top: 20px !important;
	}
	div.one_half, div.one_third, div.levy, div.pravy {
		width: 100%;
		float: none;
	}
	div.one_half h2:first-child, div.one_third h2:first-child {
		margin-top: 30px;
	}
	section.obsah h1, section.obsah h2, section.obsah h3, section.obsah form {
		text-align: left;
		margin-left: 0;
	}
	body.page-template-page-sablona2-php h1 {
		position: static;
	}
	p.tlac a + a {
		display: inline-block;
		margin-top: 20px;
	}
	/* rezervace - poloviny */
	body.page-id-6 div.one_half,
	body.page-id-52 div.one_half {
		float: left;
		clear: none;
	}
	body.page-id-6 div.one_half.last_column,
	body.page-id-52 div.one_half.last_column {
	}
	body.page-id-6 div.one_half h3,
	body.page-id-52 div.one_half h3 {
		text-align: center;
	}
	/* blog */
	.blog .obsah, .category .obsah, .single .obsah, .search .obsah, .archive .obsah {
		max-width: auto;
		padding-left: 20px;
		padding-right: 20px;
	}
	aside {
		position: static;
		width: 94%;
		margin-top: 20px;
	}
	.komentare p.form-submit {
		margin-left: 0px !important;
		padding-bottom: 20px;
	}
} 
@media all and (max-width: 550px) { 
	/* záhlaví */
	#slogan, header p.telefon, header p.email {
		position: static;
		margin: 10px;
	}
	header p.telefon, header p.email {
		background-position: left center;
		padding-left: 30px;
	}
	/* bloky */
	#bloky  {
		text-align: center !important;
	}
	#bloky section {
		float: none !important;
		clear: both !important;
		width: 80% !important;
		margin: 20px auto !important;
	}
	/* obsah */
	.one_fourth {
		width: 100% !important;
		margin: 0;
	}
	.one_fourth h3 {
		width: 100%;
	}
	section.obsah p.tlac {
		clear: both;
	}
	section.obsah img.alignleft, section.obsah img.alignright {
		display: block;
		float: none;
		clear:  both;
		margin: 20px 0;
	}
	/* blog */
	.blog .obsah img, .category .obsah img {
		display: none;
	}
	/* formuláře */
	form.ninja-forms-form ul li {
		width:100%;
	}

}
@media all and (max-width: 440px) { 
	/* háhlaví */
	header {
		height: 130px;
	}
	/* carousel*/
	.cycloneslider-template-default .cycloneslider-slides{
		min-height: 320px !important;
	}
	/* obsah */
	div.gallery figure {
		width: 90%;
	}
	div.gallery img {
		width: 100%;
	}
	p.tlac a {
		font-size: 75% !important;
	}
	/* rezervace - poloviny */
	body.page-id-6 div.one_half,
	body.page-id-52 div.one_half {
		width: 99% !important;
		clear: both;
	}
}
