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

/* základ */
* {
	margin: 0;
	padding: 0;
}
body {
	min-width: 260px;
	background: #fff;
	color: #3a3a3a;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.4;
}

/* horní pruh */
section#nahore {
	width: 100%;
	float: left;
	clear: both;
	padding: 10px 0 13px;
	background: #1e1e1e;
}
section#nahore article {
	max-width: 1200px;
	margin: 0 auto;
}
section#nahore article p:nth-child(1) {
	float: left;
}
section#nahore article p:nth-child(2) {
	float: right;
}
section#nahore article p {
	margin: 0;
	font-size: 14px;
}
section#nahore article a {
	color: #fff;
}
section#nahore article a:hover {
	text-decoration: none;
}

/* ---- záhlaví ------ */
header {
	width: 100%;
	float: left;
	clear: both;
	background: #f1f1f1;
/*	outline: 1px solid red; */
}
header section {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
}
header section p {
	margin: 0;
	padding: 0;
}
header p#logo {
	float: left;
/*	outline: 1px dotted green; */
}
header p#logo a {
	display: block;
	width: 231px;
	height: 27px;
	margin: 25px 0;
	background: url(obr/logo.svg) center no-repeat;
/*	outline: 1px solid red; */
}
header a span {
	display: none;   
}

/* ------- navigace - hlavní menu ---------- */
nav {
	width: calc(100% - 250px);
	float: right;
	margin: 20px 0;
/*	outline: 1px solid red; */
}
nav ul#menu-hlavni-menu {
	width: 100%;
	margin: 0;
	list-style: none;
	text-align: right;
}
nav ul#menu-hlavni-menu li {
	width: auto;
	display: inline-block !important;
	cursor: default;
}
nav ul#menu-hlavni-menu li a {
	display: block;
	padding: 10px 15px;
	color: #3a3a3a;
	text-align: center;
	text-decoration: none;
	font-family: 'Poppins', Arial, Helvetica, sans-serif;
	font-size: 14px;
/*	outline: 1px dotted blue; */
}
nav ul#menu-hlavni-menu li:last-child a {
	padding-right: 0;
}
nav ul#menu-hlavni-menu li a:hover {
	text-decoration: underline;
}
nav ul#menu-hlavni-menu li.current-menu-item a:after,
nav ul#menu-hlavni-menu li.current_page_parent a:after {
	content: ".";
	color: #f15c1a;
	font-size: 32px;
	line-height: 14px;
}
nav ul#menu-hlavni-menu li.current-menu-item a:hover {
	text-decoration: none !important;
}
/* ve vyhledávání a na 404 nechceme žádnou položku menu zvýrazněnou */
body.search nav ul#menu-hlavni-menu li.current_page_parent a:after,
body.error404 nav ul#menu-hlavni-menu li.current_page_parent a:after {
	display: none;
}
/* homepage - ikona domečku */
nav ul#menu-hlavni-menu li:first-child a {
	background: url(obr/domecek.png) center 30% no-repeat;
	text-indent: -9999px;
	line-height: 14px;
}
body.home nav ul#menu-hlavni-menu li:first-child a {
	background-position: center 50%;
}


/* ----- obsah - layout ----- */
section#obsah {
	clear: both;
	max-width: 1200px;
	min-height: 300px;
	margin: 0 auto;
	padding: 38px 0px 20px;
}
body.page-template-page-sablona2-php section#obsah {
	/* menu svislé */
    /* padding-left: 235px !important; */
	/* menu vodorovné*/
	margin-top: 5ex;
}
body.page-id-4645 section#obsah div.cookie-statement {
	margin-left: auto;
	margin-right: auto;
}
/* staré sloupce */
div.one_half {
	margin-top: 0;
	width: 48%;
/*	outline: 1px dotted black; */
}
div.one_third {
	width: 32%;
	margin-right: 2% ;
	margin-top: 0;
}
div.last_column {
	margin-right: 0 !important;
	float: right;
}
div.clear_column + div.content-column, 
div.clear_column + div.content-column + div.content-column,
div.clear_column + div.content-column + div.content-column + div.content-column {
	margin-top: 10px !important;
/*	outline: 1px dotted black; */
}
h2 + div.content-column, 
h2 + div.content-column + div.content-column, 
h2 + div.content-column + div.content-column + div.content-column,
p + div.content-column, 
p + div.content-column + div.content-columnv,
p + div.content-column + div.content-column + div.content-column {
	margin-top: 5px !important;
}
hr + div.content-column, hr + div.content-column +  div.content-column  {
	margin-top: 0;
}
/* Gutenberg - sloupce */
div.wp-block-columns  {
	margin-top: 0;	
	margin-bottom: 0;	
	gap: 2rem;
}
div.wp-block-columns + div.wp-block-columns {
	margin-top: 20px;	
	margin-bottom: 0px;	
}
div.wp-block-columns div.wp-block-column {
	margin-top: 0;	
	margin-bottom: 0;	
}
/* Gutenberg - obrázková galerie */
ul.blocks-gallery-grid li {
	margin: 0 0 5px 0 !important;
}
/* Gutenberg - media+text */
div.wp-block-media-text.has-media-on-the-right figure {
	margin-left: 20px;
}
div.wp-block-media-text.has-media-on-the-left figure {
	margin-right: 20px;
}
div.wp-block-media-text div.wp-block-media-text__content {
	padding: 0;
}
/* Gutenberg - skupina */
div.wp-block-group {
	margin: 20px auto 40px;
	padding: 25px;	
	background: #f1f1f1;
}


/* hlavní blok */
section#hlavni {
	width: 100%;
	float: left;
	clear: both;
	background: #f1f1f1;
}
section#hlavni article {
	max-width: 1200px;
	min-height: 340px;
	padding-top: 60px;
	margin: 0 auto;
	background: url(obr/martin-domes-2.jpg) left 20px bottom no-repeat;
}
section#hlavni article h1,
section#hlavni article p {
	margin-left: 450px;
}
section#hlavni article h1 {
	max-width: 13em;
	margin-bottom: 25px;
}
section#hlavni article h1 + p {
	max-width: 20em;
	margin-bottom: 25px;
}

/* --- ebook  --- */
section#ebook {
	width: 100%;
	float: left;
	clear: both;
	padding: 30px 0 20px;
	background: #fff;
/*	outline: 1px solid red;  */
}
section#ebook article {
	max-width: 1200px;
	margin: 0 auto;
	list-style: none;
}
section#ebook article div {
	width: 61%;
	float: left;
}
section#ebook article img {
	float: left;
	margin-right: 40px;
}
section#ebook article div h2 {
	margin-top: 0;
}
section#ebook article div h2 + p + p {
	margin-left: 140px;
	font-size: 75%;
}
section#ebook article div p a {
	color: #3a3a3a;
}
section#ebook article div p a:hover {
	text-decoration: none;
}
section#ebook article form {
	width: 35%;
	float: right;
	padding-top: 20px;
}
section#ebook article form input[type="email"] {
	width: 89.7%;
	padding: 10px 5%;
	margin-bottom: 15px;
	text-align: center;
}
section#ebook article form input[type="submit"] {
	width: 100%;
}

/* --- články --- */
section#clanky {
	float: left;
	clear: both;
	width: 100%;
	padding: 30px 0 35px;
	background: #f1f1f1;
}
section#clanky div {
	max-width: 1200px;
	margin: 0 auto;
}
section#clanky h2 {
	width: 100%;
	margin-top: 0;
	margin-bottom: 25px;
	text-align: center;
}
section#clanky article {
	float: left;
	width: 50%;
}
section#clanky article h3 {
	margin-top: 5px;
}
section#clanky article h3 a {
	color: #3a3a3a;
}
section#clanky article h3 a:hover {
	text-decoration: none;
}
section#clanky article p.metadata {
	font-size: 80% !important;
}
section#clanky article p.metadata a:hover {
	text-decoration: none;
}
section#clanky article p.metadata + p {
	display: none;
	margin-left: 12px;
}
section#clanky article img {
	width: 80px;
}
section#clanky p.tlac {
	clear: both;
	padding-top: 15px;
}
/* nejnovější*/
section#clanky article.nejnovejsi {
	float: left;
	width: 48%;
	margin-top: 0px;
	margin-right: 2%;
}
section#clanky article.nejnovejsi img {
	width: 150px;
}
section#clanky article.nejnovejsi p.metadata + p {
	display: block;
	padding-left: 165px;
	margin-bottom: 5px;
	font-size: 90%;
}

/* --- sloupce --- */
section#sloupce {
	max-width: 1200px;
	margin: 0 auto;
	background: #fff;
}
section#sloupce article {
	width: 48%;
	padding: 35px 0 25px;
	float: left;
/*	outline: 1px solid red; */
}
section#sloupce article + article {
	width: 50%;
	float: right;
}
section#sloupce h2 {
	margin-top: 0;
}
section#sloupce h3 {
	clear: both;
	margin-top: 20px;
}
section#sloupce h3 a {
	color: #3a3a3a;
}
section#sloupce h3 a:hover {
	text-decoration: none;
}
section#sloupce article:first-child img {
	margin-right: 25px;
}
section#sloupce p.tlac {
	clear: both;
}
section#sloupce article:first-child p.tlac {
	padding-top: 15px;
}
section#sloupce article+article img {
	width: 24%;
	height: auto;
}

/* --- služby --- */
section#sluzby {
	max-width: 1200px;
	margin: 0 auto;
	clear: both;
	background: url(obr/sluzby.png) right center no-repeat;
	background-size: 40%;
	border-top: 1px solid #ccc;
}
section#sluzby article {
	padding: 30px 0;
	max-width: 55%;
}
section#sluzby h2 {
	margin-top: 0px ;
}
section#sluzby article ul {
	margin-left: 20px;
}


/* ----- zápatí ---- */
footer {
	width: 100%;
	float: left;
	clear: both;
	padding: 10px 0 20px;
	background: #f1f1f1;
/*	outline: 1px solid red; */
}
footer section {
	max-width: 1200px;
	margin: 0 auto;
}
footer article {
	float: left;
/*	outline: 1px solid red;   */
}
/* tři sloupce */
footer.tri article { 
	width: 32%; 
	margin-right: 2%; 
}
footer.tri article:nth-child(2)  { 
	padding-top: 50px;
	text-align: center;
}
footer.tri article:nth-child(3)  { 
	margin-right: 0; 
	text-align: right;
}
/* obsah patičky */
footer.tri article h2 span { 
	display: block;
}
footer a {
	color: inherit;
}
footer article:nth-child(2) h2 {
	font-size: 115%;
}
footer article:nth-child(2) a {
	display: inline-block;
	width: 40px;
	height: 40px;
	margin: 5px;
	transition: all .2s ease-in-out;
}
footer article:nth-child(2) a:hover  {
	opacity: 0.85;
	transform: scale(1.15);
}
footer article:nth-child(2) a span {
	display: none;
}
footer article:nth-child(2) a#facebook {
	background:url(obr/ikona-facebook.png);
}
footer article:nth-child(2) a#linkedin {
	background:url(obr/ikona-linkedin.png);
}
footer article:nth-child(2) a#rss {
	background:url(obr/ikona-rss.png);
}

/* copyright */
section#spodek {
	float: left;
	clear: both;
	width: 100%;
	padding: 40px 0 80px;
	background: #1e1e1e;
}
section#spodek article {
	max-width: 1200px;
	margin: 0 auto;
}
section#spodek p {
	width: 49%;
	float: left;
	text-align: left;
	font-size: 80%;
	color: #ccc;
}
section#spodek p + p {
	float: right;
	text-align: right;
}
section#spodek a {
	color: #ccc;
}
footer a:hover, section#spodek a:hover {
	text-decoration: none;
}

/* ---- obsah - text --- */
/* nadpisy */
h1, h2, h3 {
	line-height: 1.15;
	font-family: 'Poppins', Arial, Helvetica, sans-serif;
	font-weight: 600;
}
h1 {
	margin-bottom: 25px;
	color: #000;
	font-size: 250%;
}
h2 {
	margin-top: 25px;
	margin-bottom: 15px;
	color: #444;
	font-size: 150%;
}
h3 {
	margin-top: 20px;
	margin-bottom: 15px;
	color: #666;	
	font-size: 115%;
}
h2 + h3 {
	margin-top: 0;
}
h4 {
	font-size: 100%;
	margin-top: 10px;
	margin-bottom:5px;
	color: #888;
}
blockquote h2:first-child, 
blockquote h3:first-child,
div.wp-block-column h2:first-child,
div.wp-block-column h3:first-child {
	margin-top: 0 !important;
}

/* odstavce */
p {
	margin-bottom: 10px;
}
h1 + p {
	font-size: 120%;
}
p:empty:before {
 	display: none !important;
}

/* citace, speciální odstavce */
blockquote {
	padding: 25px 20px 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	background: #f1f1f1;
}
body.single-post blockquote {
	padding-top: 20px;
	padding-bottom: 10px;
}
div.clear_column + blockquote {
	margin-top: 20px;
}

/* seznamy */
section#obsah ul,
section#sluzby ul,
footer ul {
	margin-left: 20px;
	margin-bottom: 10px;
	list-style: square;
	line-height: 1.4;
	list-style-image: url(obr/odrazka.svg);	
}
section#obsah ol {
	margin-left: 25px;
	margin-bottom: 10px;
	line-height: 1.4;
}
section#obsah ul li, 
section#obsah ol li,
section#sluzby ul li,
footer ul li {
	margin-bottom: 10px;
	padding-left: 5px;
}
p + ul, p + ol {
	margin-top: 0px;
}
/* odkazy */
section#obsah a {
	color: #3a3a3a;
}
section#obsah h2 a {
	color: inherit;
	text-decoration: none;
}
section#obsah a:hover {
	color: #F15C1A;
	text-decoration: none;
}
section#obsah h2 a:hover {
	text-decoration: underline;
}
/* obrázky */
a img {
	max-width: 100%;
	height: auto;
	transition: all .2s ease-in-out;
}
a:hover img {
	opacity: 0.85;
	transform: scale(1.03);
}
li img {
	margin-top: 15px;
}
figure.wp-block-gallery {
	margin: 20px 0;
}
figure.wp-block-image {
	margin: 20px 0 30px;
}
figure.wp-block-image img {
	outline: 1px solid #f1f1f1;
}
ul.wp-block-gallery {
	margin: 20px 0;
}
iframe {
	max-width: 100% !important;
}

/* tlačítko	 */
p.tlac,
div.wp-block-buttons {
	margin-top: 20px;
	margin-bottom: 20px;
	white-space: nowrap;		
}
p.tlac a, input[type="submit"],
div.wp-block-button a.wp-block-button__link,
input[type="button"], 
.woocommerce a.button, .woocommerce button  {
	display: inline-block;
	padding: 10px 20px 10px !important;
	background: #f15c1a !important; 
	color: #fff !important;
	border: none;
	border-radius: 0 !important;
	text-decoration: none;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-weight: normal !important;
	font-size: 100% !important;
}
p.tlac a:hover, input[type="submit"]:hover,
div.wp-block-button a:hover, 
input[type="button"]:hover,
.woocommerce a.button:hover, .woocommerce button:hover  {
	background:  #7e8083 !important;
	color: #fff !important;
	cursor: pointer;
}
p.tlac.nastred {
	text-align: center;
	margin: 20px auto 0px !important;
}
div.tlacitka { /* pro vycetrování jedno nebo dvou tlačítek vedle sebe */
	float: left;
	clear: both;
	width: 100%;
	text-align: center;
}
div.tlacitka p {
	float: none;
	clear: none;
	display: inline-block;
	margin-right: 5px;
	margin-left: 5px;
	white-space: nowrap;		
}
p.tlac + hr, div.tlacitka + hr {
	padding-top: 15px;
}
div + div.tlacitka {
	margin-top: 30px;
}

/* doplňující třídy */
.nevidet {
	display: none !important;
}
hr {
/* nemazat */
	width: 100%;
	clear: both;
	margin-top: 30px;
	margin-bottom: 20px;
	background: none !important;
	border: none !important;
	border-bottom: 1px solid #ccc !important;
}
div.tlacitka + hr {
	margin-top: 30px;
}
.cistic {
	clear: both !important;
}
span.cmplz-slider {
	border: 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;
}
.alignnone {
	margin-bottom: 10px;
	clear: both;
}

/* --- tabulky --- */
table {
	border-collapse: collapse;
	margin-top: 20px;
	margin-bottom: 20px;
}
th, td {
	padding: 5px 15px !important;
	background: none !important;
	border: 1px solid #f1f1f1;
	text-align: left;
}
th {
	background: #f1f1f1 !important;
	color: #3a3a3;
}
tr:nth-child(odd) td {
}
td img {
	padding: 3px 0 0 0 !important;
	margin: 0 !important;
}

/* --------- formuláře obecně ----------- */
form {
}
input, select, option, textarea {
	padding: 10px 15px;
	color: #545454;
	font-size: 15px;
}
input[type="text"], input[type="email"], 
input[type="tel"], input[type="number"], 
input[type="password"], textarea, select {
	border: 1px solid #ccc;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
fieldset {
	margin-top: 20px !important;
	padding: 10px 15px;
	border: 1px solid #ccc;	
}
legend {
	padding: 0px 15px;
	font-weight: 600;
}

/* --------- ninja forms -formuláře ----------- */
div.nf-form-cont {
	max-width: 350px;
	margin: 0 auto;
}
div.nf-form-cont#nf-form-18-cont {
	max-width: 600px;
}
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%;
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
}
div.nf-form-cont div.field-wrap div.nf-field-element input {
	text-align: center;
}
div.nf-form-cont div.field-wrap div.nf-field-element select {
	text-align-last: center;
}
div.nf-form-cont div.field-wrap div.nf-field-element input[type="checkbox"] {
	display: block;
	margin: 0 auto;
}
div.nf-form-cont div.field-wrap div.nf-field-element textarea{
	height: 100px;
}
div.nf-form-cont div.starrating-wrap div.nf-field-element div.stars {
	text-align: center !important;
}
div.nf-form-cont div.starrating-wrap div.nf-field-element div.stars a {
	display: inline-block;
	float: none;
}
div.nf-response-msg {
	text-align: center;
}
/* html */
div.nf-form-cont div.field-wrap.html-wrap p {
	text-align: center;
	font-size: 80%
}
/* tlačítko*/
div.submit-wrap div.nf-field-label {
	display: none !important;
}
div.submit-wrap input[type="submit"] {
	width: 100% !important;
}
/* kontaktní */
div#nf-form-7-cont.nf-form-cont {
	max-width: 100%;
	margin: 0;
}
div#nf-form-7-cont.nf-form-cont div.nf-field-label {
	width: 20%;
	padding: 0;
	text-align: left;
}
div#nf-form-7-cont.nf-form-cont div.field-wrap div.nf-field-element {
	width: 80%;
}
div#nf-form-7-cont.nf-form-cont div.field-wrap.html-wrap div.nf-field-element {
	margin-left: 20%;
}
div#nf-form-7-cont.nf-form-cont div.field-wrap div.nf-field-element input[type="text"],
div#nf-form-7-cont.nf-form-cont div.field-wrap div.nf-field-element input[type="email"] {
	text-align: left;
}
div#nf-form-7-cont.nf-form-cont div.submit-wrap input[type="submit"] {
	margin-left: 25%;
}
/* chybové hlášky */
div.nf-form-fields-required {
	display: none;
}
div.nf-error-msg {
	width: 200px;
	top: 3.7ex;
	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-7-cont div.nf-error-field-errors {
	margin-left: 20%;
}
div#nf-form-7-cont div.nf-error-msg {
	top: 0;
}

/* --- sociální tlačítka --- */
div.social {
	clear: both; 
}
body.page div.social  {
	text-align: center;
}
div.social h2 {
	display: inline-block;
	margin-top: 25px;
	padding-top: 15px; 
	border-top: 1px solid #ccc;
	color: #666;
	font-weight: normal !important;
	font-size: 100% !important;
}
body.page div.social div.meks_ess {
	display: block;
	text-align: center;
}
div.social div.meks_ess a {
	display: inline-block;
	color: #fff !important;
}


/* ------ BLOG ----- */
body.blog section#obsah, 
body.category section#obsah, 
body.single-post section#obsah, 
body.search section#obsah {
	max-width: 900px;
	min-height: 1000px;
	margin: 0 auto;
	position: relative;
	padding-right: 300px !important;
}

/* panel + widgety */
aside {
	position: absolute;
	top: 4.5ex;
	right: 0px;
	width: 220px;
	padding: 20px;
	background: #f1f1f1;
}
section.widget {
	margin-bottom: 20px;
/*	outline: 1px dotted #3F0 */
}
aside .widget h2 {
	margin-top: 0;
	font-size: 110%;
}
aside .widget ul {
	margin-left: 20px;
	list-style: square;
}
aside a:hover {
	text-decoration: none;
	color: #ab3505;
}

/* rubriky */
aside ul {
	margin-left: 0 !important;
}
ul li.cat-item {
	list-style: none;
	margin: 0 !important;
	padding-left: 0px !important;
}
ul li.cat-item a {
	display: block;
	background: #f9f9f9 !important;
	border: 1px solid #ccc;
	border-top: none;
	padding: 5px 15px;
	text-decoration: none;
	color: #777;
}
ul li.cat-item:first-child a {
	border-top: 1px solid #ccc;
}
ul li.cat-item a:hover {
	background: #ccc !important;
	color: #fff !important;
	text-decoration: none;
}
ul li.current-cat a {
	background: #aaa !important;
	color: #fff !important;
	font-weight: 600;
}
/* odkazy v panelu */
aside ul li a {
	text-decoration: none;
}
aside ul li a:hover {
	text-decoration: underline;
}

/* hledání v panelu */
aside .widget input[type="text"] {
	width: 74%;
	padding: 6px 2%;
	color: #777;
	border: 1px solid #ccc;
	border-radius: 0;
	font-size: 100%;
}
aside .widget input[type="submit"] {
	float: right;
	width: 15%;
	height: 35px;
	margin-left: 2%;
	border: none;
	background: #999;
	color: #fff;
	cursor: pointer;
	text-transform: uppercase;
	line-height: 0.5 !important;
	font-size: 120%;
}
aside .widget input[type="submit"]:hover {
	background: #666;
}

/* nejčtenější */
div.nejctenejsi span {
	font-size: 70%;
}
div.nejctenejsi p {
	font-size: 90%;
}

/* článek */
article.clanek {
	clear: both;
	min-height: 175px;
}
p.metadata {
	margin-top: -3px;
	margin-bottom: 10px;
	font-size: 90% !important;
	color: #656565;
}
p.metadata a {
	color: #656565;
}
body.single p.metadata {
	margin-top: 0px;
	margin-bottom: 20px;
}

/* perex */
body.blog p.metadata + p, body.archive p.metadata + p{
	font-size: 95%;
	padding-left: 180px;
}
body.blog p.metadata + p strong, body.archive p.metadata + p strong {
	font-weight: normal !important;
}
body.single-post img.wp-post-image + p,
body.single-post img.default-featured-img + p {
	font-size: 120%;
	min-height: 120px !important;
	color: #555;
}
/* náhledový obrázek */
img.wp-post-image, img.default-featured-img {
	float: left;
	margin-right: 25px;
	margin-bottom: 20px;
	border: 1px solid #f5f5f5;
}
/* stránkování */
section#obsah ul.strankovani {
	width: 100%;
	clear: both;
	padding-top: 20px;
	padding-bottom: 30px;
	margin: 0;
	text-align: center;
	list-style: none;
/*	outline: 1px solid yellow; */
}
section#obsah ul.strankovani li.starsi {
	float: right !important;
	font-weight: 600;
}
section#obsah ul.strankovani li.novejsi {
	float: left !important;
	font-weight: 600;
}
/* newsletter */
article#newsletter {
	margin: 25px 0 0;
	padding: 10px 30px;
	background: #f1f1f1;
}
article#newsletter h2 {
	border: none;
	padding-left: 0;
	font-size: 115%;
}
article#newsletter form input[type="email"] {
	width: 80%;
	max-width: 200px;
	background: #fff;
}
body.page-id-2544 form {
	text-align: center;
}
body.page-id-2544 form input[type="email"]{
	margin-top: 15px;
	width: 250px;
	text-align: center;
}

/* komentáře */
.komentare {
	clear: both;
	margin-top: 30px;
	padding-top: 5px;
	border-top: 1px solid silver;
}
.comment-author img {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}
.comment-body {
	clear: both;
}
.komentare label {
	display: block;
	float: left;
	width: 120px;
	padding-top: 0.2em;
}
.komentare input, .komentare textarea {
	padding: 5px;
}
.komentare input[type="text"] {
	width: 350px;
}
.komentare textarea {
	width: 85%;
	height: 100px;
}
.komentare .comment-meta {
	font-weight: 600;
}
.komentare label[for="wpgdprc"] {
	min-width: 300px;
	font-size: 85%;
}
.komentare p.form-submit {
}
.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 .comment-notes, .komentare .form-allowed-tags {
	width: auto;
	font-size: 90%;
	color: #777;
}
.komentare .form-allowed-tags {
	display: none;
}
.komentare p.form-submit {
	margin-left: 120px !important;
}


/******************************************
 ***************** ESHOP ******************
 ******************************************/

/* drobečková navigace */
p#breadcrumbs {
	padding-left: 10px;
	margin-bottom: 25px;
	border-left: 10px solid #888;
/*	text-align: center;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc; */
	color: #888 !important;
}
body.woocommerce-page.archive p#breadcrumbs {
	display: none;
}

/* barvy + vzhled */
.woocommerce ul.products li a h2 { /* název kategorie a produktu */
	color: #3a3a3a;
}
.woocommerce ul.products li a:hover h2 {
	color: #f15c1a;
}
.woocommerce .price { /* cenovka */
	color: #f15c1a !important;
}
.woocommerce span.onsale { /* výprodejová nálepka */
	background: #f15c1a !important;
	color: #fff !important;
}
.woocommerce table { /* tabulky v košíku a pokladně */
	border-collapse: collapse !important;
	border-radius: 0 !important;
}

/* obsah */
body.woocommerce section#obsah {
	max-width: 1200px;
	margin: 0 auto;
	padding-right: 0 !important;
}

/* výpis produktů */
.woocommerce ul.products {
	margin-left: 0 !important;
}
.woocommerce ul.products li {
	padding-left: 0 !important;
	text-align: center;
}
.woocommerce ul.products li h2 {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* stránka produktu - detail produktu */
body.single-product div.summary p {
	font-size: 120%;
}
body.single-product a.added_to_cart.wc-forward {
	margin-left: 20px;
}
body.single-product table.variations th,
body.single-product table.variations td {
	background: none !important;
}
body.single-product table.variations td.label {
	padding-left: 0 !important;
	padding-right: 0 !important;
	min-width: 135px !important;
}
body.single-product table.variations td.value {
	max-width: 150px !important;
	width: 70% !important;
}
body.single-product div.woocommerce-variation-price {
	margin-bottom: 20px !important;
}
body.single-product button.single_add_to_cart_button {
	padding-top: 13px !important;
	padding-bottom: 13px !important;
}
body.single-product div.social {
	padding: 0;
}
body.single-product table.woocommerce-product-attributes th {
	min-width: 150px !important;
	width: 20% !important;
}
body.single-product table.woocommerce-product-attributes td {
	font-style: normal;
}
/* záložky */
body.single-product section#obsah div.woocommerce-tabs ul.wc-tabs {
	margin-left: 0;
}
body.single-product div.woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	background: #f1f1f1 !important;
	border-bottom: none !important;
}
body.single-product div.woocommerce-tabs ul.tabs li.active {
	background: #fff !important;
}
body.single-product div.woocommerce-tabs li a {
	padding-left: 20px !important;  
	padding-right: 20px !important;  
	font-size: 115% !important;
}
body.single-product div.woocommerce-tabs li a:hover {
	color: inherit !important;
	text-decoration: underline !important;
}
body.single-product div.woocommerce-tabs div.entry-content  {
	padding-top: 20px !important;
}
body.single-product table.woocommerce-product-attributes {
	margin-top: 35px;
}

/* podobné produkty */
section.related, section.upsells {
	width: 100%;
	float: left;
	clear: both;
	margin-top: 30px !important;
	border-top: 1px solid #ccc;
}
section.related h2, section.upsells h2{
	margin-top: 30px !important;
	margin-bottom: 25px !important;
	color: #3F333D;
}

/* dotazy */
div#woopcomm {
	border: none !important;
}
div#woopcomm div.woodiscuz-item textarea {
	background: #fff !important;
}

/* košík */
body.woocommerce-cart input#coupon_code {
	min-width: 120px !important;
}
body.woocommerce-cart a.checkout-button {
	font-size: 105% !important;
	font-weght: bold;
}

/* pokladna */
body.woocommerce-checkout button#place_order {
	font-size: 130% !important;
	font-weght: bold !important;
}
body.woocommerce-order-received h1 + p,
body.woocommerce-order-received h1 + p + hr,
body.woocommerce-order-received h1 + p + hr + p {
	display: none;
}
body.woocommerce-order-received p.woocommerce-notice {
	display: inline-block;
	margin: 10px 0 30px;
	padding: 10px 20px;
	background: #f8eb85;
	border: 1px solid red;
	font-size: 120%;
}

/* Skrýt ve vyhledávání */
body.search article#post-3490,
body.search article#post-3579,
body.search article#post-3505 {
	display: none;
}


/* --- 123 - abc - responzivní design */
@media all and (max-width: 1240px) { 
	/* mezera od okraje */
	section#nahore article,
	header section,
	section#ebook, 
	section#clanky div, 
	section#sloupce, 
	section#sluzby article,
	section#obsah,
	body.woocommerce section#obsah,
	footer section,
	section#spodek article {
		width: auto;	
		padding-left: 20px;
		padding-right: 20px !important; 
	}
	aside {
		right: 20px;
	}
}
@media all and (max-width: 1024px) { /* tablety */
	/* hlavní blok */
	section#hlavni article h1,
	section#hlavni article p {
		margin-left: 380px;
	}
	/* zápatí */
	footer section  {
		position: relative;
		padding-top: 120px;
	}
	footer section article:nth-child(2) {
		position: absolute;
		top: -20px;
		left: 0;
		width: 100%;
		padding-top: 0px !important;
		background: #f9f9f9;
	}
	footer section article:nth-child(1),
	footer section article:nth-child(3) {
		width: 48%;
	}
	/* blog*/
	.komentare textarea {
		width: 97%;
	}
	.komentare p.form-submit {
		margin-left: 0px !important;
	}
}
@media all and (max-width: 900px) { 
	/* hlavní blok */
	section#hlavni article h1,
	section#hlavni article p {
		margin-left: 320px;
	}
}
@media all and (max-width: 780px) and (min-width: 600px) { /* oprava sloupců v Gutenbergu */
	/* Gutenberg - sloupce */
	div.wp-block-columns div.wp-block-column + div.wp-block-column + div.wp-block-column {
		flex-basis: calc(100%) !important;
	}
	div.wp-block-columns div.wp-block-column[style="flex-basis:66.66%"] {
		flex-basis: calc(60%) !important;
	}
}
@media all and (max-width: 767px) { /* mobily */
	body {
		font-size: 17px;
	}
	/* mobilní navigace */
	div#wprmenu_bar {
		z-index: 99999 !important;
	}
	div#wprmenu_bar div.menu_title a {
		color: #eee;
		text-decoration: none;
	}
	/* záhlaví */
	header p#logo {
		float: none;
		text-align: center;
	}
	header p#logo a {
		display: inline-block;
	}
	/* cookie lišta */
	div#cc-window {
		padding-top: 50px !important;
		font-size: 120% !important;
	}
	/* hlavní blok */
	section#hlavni article {
		padding: 25px;
		background-position: left -30px bottom;
	}
	section#hlavni article h1, 
	section#hlavni article p {
		margin-left: 220px;
	}
	/* ebook */
	section#ebook article div,
	section#ebook article form {
		width: 100%;
		float: none;
	}
	section#ebook article form {
		max-width: 350px;
		margin: 10px auto;
	}
	/* články */
	section#clanky article {
		width: 100% !important;
	}
	section#clanky article.nejnovejsi {
		margin-bottom: 20px;
	}
	/* sloupce */
	section#sloupce article {
		width: 100% !important;
	}
	section#sloupce article + article {
		margin-top: -40px !important;
	}
	/* služby */
	section#sluzby {
		background: none;
	}
	section#sluzby article {
		max-width: 100%;
	}
	/* zápatí */
	section#novinky article,
	footer article, 
	section#spodek p {
		width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	footer article, footer h2, section#spodek p {
		text-align: left !important;
		background-position: left center !important;
	}
	footer h2 span {
		display: inline !important;
	}
	footer article:nth-child(2) {
		padding-left: 20px !important;
	}
	section#spodek p + p {
		margin-top: 15px !important;
	}
    /* obsah */
	body.page section#obsah, 
	body.blog section#obsah, body.archive section#obsah, body.single section#obsah,
	body.woocommerce section#obsah,
	body.search section#obsah {
		min-height: auto !important;
		padding-right: 20px !important;
	}
	/* staré sloupce */
	.one_half, .one_third {
		width: 100% !important;
		float: none !important;
	}
	.one_half h2:first-child, .one_third h2:first-child {
		margin-top: 30px !important;
	}
	/* eshop */
	section#obsah ul.tabs li:before, section#obsah ul.tabs li:after {
		display: none;
	}
	/* blog */
	aside {
		position: static;
		width: auto;
		margin-top: 20px;
	}
	.komentare p.form-submit {
		margin-left: 0px !important;
		padding-bottom: 20px;
	}
} 
@media all and (max-width: 710px) { 
	/* záložky v eshopu */
	body.single-product div.woocommerce-tabs ul.tabs li {
			width: 94% !important;
	}
}
@media all and (max-width: 560px) { 
	/* nahoře */
	section#nahore article p {
		width: 100%;
		float: none;
		margin: 5px 0;
		text-align: center;
	}
	/* hlavní blok */
	section#hlavni article {
		min-height: 450px;
		background-position: left -50px bottom;
	}
	section#hlavni article h1 {
		margin-left: 0;
		text-align: center;
	}
	section#hlavni article p {
		margin-left: 200px;
	}
	/* ebook */
	section#ebook article div img {
		margin-right: 15px;
	}
	section#ebook article div h2 + p + p {
		margin-left: 115px;
	}
	/* blog */
	body.blog section#obsah article, 
	body.archive section#obsah article {
		min-height: auto;
		margin-bottom: 30px;
	}
	body.blog section#obsah article img, 
	body.archive section#obsah article img,
	body.search section#obsah article img {
		display: none;
	}
	body.blog section#obsah article p, 
	body.archive section#obsah article p,
	body.search section#obsah article p {
		padding-left: 0 !important;
	}
}
@media all and (max-width: 470px) { 
	/* hlavní blok */
	section#hlavni article {
		min-height: 550px;
		background-position: left -75px bottom;
	}
	section#hlavni article p {
		margin-left: 120px;
	}
	/* články */
	section#clanky article {
		text-align: center;
		margin-bottom: 25px;
	}
	section#clanky article img {
		float: none;
		margin-bottom: 5px;
	}
	section#clanky article.nejnovejsi p.metadata + p {
		padding-left: 0;
		margin-left: 0;
	}
	section#clanky p.tlac {
		padding-top: 0px;
	}
	/* ebook */
	section#ebook article div h2 + p + p {
		margin-top: 20px;
		margin-left: 0px;
		text-align: center;
	}
}