/*
Theme Name: mojerady_cz
Author:
Author URI:
*/
/* standard elements */
html {min-height:100%;}
* {margin:0;padding:0;}
* {box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;}
img{max-width:100%;height:auto;box-sizing:border-box;}
a {color:#00468C;}
a:hover {color:#00468C;text-decoration:none;}
a img {border:none;}
body {font-size:1.2em;font-weight:normal;font-family:Open Sans,Arial,Helvetica,sans-serif;color:#333;background:#eee;}
p {padding:0 0 0.8em 0;}
ul {list-style:none;margin:0;padding:0;list-style-type:square;}
h1 {font-family:Open Sans,Arial,Helvetica,sans-serif;font-weight:400;font-size:2.2em;text-align:left;padding:0.4em 0 0 0;color:#00468C;}
h2, h3, h4, h5, h6 {font-family:Open Sans,Arial,Helvetica,sans-serif;font-weight:normal;font-size:1.8em;text-align:left;padding:0.4em 0 0 0;color:#333;}
blockquote {border:#7F7F83 1px solid;box-shadow:0 0 10px #ddd;background:#eee;color:#888;padding:1.5em 1.5em 0 1.5em;margin:1em;font-weight:bold;}
blockquote a {color:#000;}
strong {color:#31353D;}
.edit a {color:#ff0000;float:left;}
img {border:0;}
/* gallery */
.gallery {overflow:hidden;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;margin:30px 0 0 0;}
.gallery-item {float:left;margin:0 15px 30px 15px;padding:15px;text-align:center;width:100%;border:none;}
.gallery-item:hover {border:none;}
.gallery-columns-5 .gallery-item {width:20%;}
.gallery-columns-2 .gallery-item:nth-child(2n+1), .gallery-columns-3 .gallery-item:nth-child(3n+1), .gallery-columns-4 .gallery-item:nth-child(4n+1), .gallery-columns-5 .gallery-item:nth-child(5n+1), .gallery-columns-6 .gallery-item:nth-child(6n+1), .gallery-columns-7 .gallery-item:nth-child(7n+1), .gallery-columns-8 .gallery-item:nth-child(8n+1), .gallery-columns-9 .gallery-item:nth-child(9n+1) {clear:left;}
.gallery-columns-5 .gallery-item:nth-child(5n+1) {clear:none;}
.gallery .wp-caption-text {padding:5px 0;color:#fff;font-size:0.8em;}
.gallery img {border:1px solid #ddd;height:auto;padding:4px;}
.gallery img:hover {border:1px solid #999;}
.gallery br {display:none;}
/* header */
.header {width:100%;background:#fff;}
.headerin {width:63%;margin:auto;padding:0;text-align:center;}
.logo {float:left;width:200px;margin:0;padding:0;}
/* navigace */
.nav {float:right;}
.nav button {float:right;font-size:1.0em;background:#fff;border:0;color:#00468C;cursor:pointer;display:none;padding:15px 15px 0 0;}
.nav button:hover, .menu button:focus {background:#fff;}
.nav.zobrazit menu {display:block;}
.nav menu {margin:auto;}
.nav menu ul {display:inline-block;margin:0;padding:0;}
.nav menu li {float:left;list-style:none;}
.nav menu a {line-height:70px;color:#888;display:block;background:#fff;text-decoration:none;font-weight:normal;font-size:1.0em;padding:0 5px;margin:0;}
.nav menu a:hover {color:#fff;background:#00468C;}
.nav menu .current_page_item a {color:#888;background:#fff;}
.nav menu .first a {}
.nav menu .last a {border:none;}
/* slideshow */
.slide_1 {width:100%;height:400px;position:relative;}
.slide_1 .text {position:absolute;top:0;left:0;width:100%;text-align:right;z-index:2;padding:200px 60px 0 0;font-size:1.5em;text-transform:uppercase;color:#fff;}
.slide_1 .text span {font-size:1.2em;}
.slide_1 .slide {z-index:1;position:absolute;width:100%;top:0;left:0;height:100%;transition:opacity 1s ease-in-out;background-position:center center;background-repeat:no-repeat;background-size:cover;opacity:0;}
.slide_1 .slide.show {opacity:1;}
/* structure */
#container {margin:auto;padding:0;width:100%;}
/* content */
.content_hp, .content {margin:40px 0 0 0;padding:0;}
.content_in, .content_in_hp {width:47%;text-align:left;margin:auto;padding:0;}
.content_in_hp {text-align:center;}
/* posts */
.post {margin:0;padding:3em 2.2em;background:#fff;}
.post ul {list-style:none;margin:0;padding:0.8em 0 0.8em 2em;list-style-type:square;}
.post p {padding:0.8em 0;}
.post img {width:100%;height:auto;}
.post .related-post ul {list-style:none;margin:0;padding:0 0 0 0.5em;}
/* shortcodes columns */
.full_blok {float:left;width:100%;margin:1em auto;padding:0;}
.blok_levy {float:left;width:50%;text-align:right;margin:0;padding:1em;background:#eee;}
.blok_pravy {float:right;width:50%;text-align:left;margin:0;padding:1em;background:#888;}
.box2 {float:left;width:48.5%;text-align:center;margin:0 3% 3% 0;padding:1% 1% 0 1%;font-size:0.9em;border:#7F7F83 1px solid;box-shadow:0 0 10px #ddd;}
.box2.last {float:left;width:48.5%;text-align:center;margin:0 0 3% 0;padding:1% 1% 0 1%;font-size:0.9em;border:#7F7F83 1px solid;box-shadow:0 0 10px #ddd;}
.box3 {float:left;width:31.33333%;text-align:center;margin:0 3% 3% 0;padding:1% 1% 0 1%;font-size:0.9em;border:#7F7F83 1px solid;box-shadow:0 0 10px #ddd;}
.box3.last {float:left;width:31.33333%;text-align:center;margin:0 0 3% 0;padding:1% 1% 0 1%;font-size:0.9em;border:#7F7F83 1px solid;box-shadow:0 0 10px #ddd;}
.box4 {float:left;width:22.7%;text-align:center;margin:0 3% 3% 0;padding:1% 1% 0 1%;font-size:0.9em;border:#7F7F83 1px solid;box-shadow:0 0 10px #ddd;}
.box4.last {float:left;width:22.7%;text-align:center;margin:0 0 3% 0;padding:1% 1% 0 1%;font-size:0.9em;border:#7F7F83 1px solid;box-shadow:0 0 10px #ddd;}
.box5 {float:left;width:17.6%;text-align:center;margin:0 3% 3% 0;padding:1% 1% 0 1%;font-size:0.9em;border:#7F7F83 1px solid;box-shadow:0 0 10px #ddd;}
.box5.last {float:left;width:17.6%;text-align:center;margin:0 0 3% 0;padding:1% 1% 0 1%;font-size:0.9em;border:#7F7F83 1px solid;box-shadow:0 0 10px #ddd;}
.full {text-align:center;width:63%;margin:auto;}
.full .action-button a {width:100%;text-align:center;display:block;margin:auto;padding:0.5em;border:1px solid #F5A647;border-radius:5px;background:#F5A647;color:#fff;font-size:1em;text-decoration:none;text-transform:uppercase;}
.full .action-button .subtitle {margin:0;display:block;}
.full .action-button a:hover{color:#fff;background:#252525;}
.foto {float:left;text-align:center;width:100%;margin:0 auto 1em auto;padding:0;}
.foto img {float:left;width:20%;}
.full_text.last {float:left;text-align:center;width:100%;margin:0 auto 1em auto;padding:2em;background:#252525;color:#fff;}
.full_text.last .action-button a {width:100%;text-align:center;display:inline;margin:25px auto 0 25px;padding:0.5em;border:1px solid #F5A647;border-radius:5px;background:#F5A647;color:#fff;font-size:1em;text-decoration:none;text-transform:uppercase;}
.full_text.last .action-button .subtitle {margin:0;display:block;}
.full_text.last .action-button a:hover{color:#fff;background:#252525;}
.mapa {float:left;width:100%;margin:0 auto 1em auto;padding:0;}
/* button */
.action-button a {width:220px;text-align:center;display:block;margin:25px auto 0 auto;padding:0.5em;border:1px solid #F5A647;border-radius:5px;background:#F5A647;color:#fff;font-size:1em;text-decoration:none;text-transform:uppercase;}
.action-button .subtitle {margin:0;display:block;}
.action-button a:hover{color:#fff;background:#252525;}
/* footer */
.footer {background:#333;padding:2em 0 4em 0;margin:1em 0 0 0;text-align:center;font-size:0.9em;font-weight:normal;}
.footer p {padding:0;}
.footer a {color:#fff;}
.footer a:hover {color:#fff;text-decoration:none;}
.footerin {width:63%;color:#fff;margin:auto;padding:0;text-align:center;}
.footer .nav ul {display:inline-block;vertical-align:top;padding:0;}
.footer .nav li {float:left;list-style:none;}
.footer .nav a {text-decoration:none;color:#fff;display:block;padding:0 1.5em 0 0;}
.footer .nav a:hover {text-decoration:underline;}
/* Plugin TablePress */
table.tablepress {font-size:0.8em;font-weight:normal;color:#333;width:85%;margin:auto;}
table.tablepress thead th {background:#5D1A81;color:#fff;padding:10px;text-align:center;}
table.tablepress td {background:#F3F3F7;padding:10px;text-align:center;}
table.tablepress .row-hover tr:hover td {background:#C4004F;color:#fff;}
/* eu-cookies */
.eu-cookies{text-align:center;font-size:0.6em;color:#444;position:fixed;left:0;bottom:0;width:100%;padding:0.5em;background:#fff;z-index:2000;}
.eu-cookies a{color:#444}
.eu-cookies button{margin:0 1.333em;background:#444;border:none;color:#fff;padding:0.267em 0.8em;border-radius:3px;cursor:pointer;}
/* Smartphones portrait */
@media only screen and (max-width : 320px) {
.headerin {width:100%;margin:auto;}
h1 {font-size:1.4em;}
.logo {width:150px;}
.nav {float:none;width:100%;z-index:9999;padding:0;}
.nav button {display:block;}
.nav menu {display:none;}
.nav menu ul {width:100%;padding:0;height:auto;line-height:normal;}
.nav menu li {float:none;display:block;}
.gallery-columns-5 .gallery-item {width:100%;}
#container {width:100%;}
.content_in_hp, .content_in {width:100%;padding:0.4em;}
.post {float:left;width:100%;padding:1em 0.7em;}
}
/* Smartphones landscape */
@media only screen
and (min-width : 321px)
and (max-width : 480px) {
.headerin {width:100%;margin:auto;}
h1 {font-size:1.4em;}
.logo {width:150px;}
.nav {float:none;width:100%;z-index:9999;padding:0;}
.nav button {display:block;}
.nav menu {display:none;}
.nav menu ul {width:100%;padding:0;height:auto;line-height:normal;}
.nav menu li {float:none;display:block;}
.gallery-columns-5 .gallery-item {width:100%;}
#container {width:100%;}
.content_in_hp, .content_in {width:100%;padding:0.4em;}
.post {float:left;width:100%;padding:1em 0.7em;}
}
/* Smartphones landscape */
@media only screen
and (min-width : 481px)
and (max-width : 767px) {
.headerin {width:100%;margin:auto;}
h1 {font-size:1.4em;}
.logo {width:150px;}
.nav {float:none;width:100%;z-index:9999;padding:0;}
.nav button {display:block;}
.nav menu {display:none;}
.nav menu ul {width:100%;padding:0;height:auto;line-height:normal;}
.nav menu li {float:none;display:block;}
.gallery-columns-5 .gallery-item {width:100%;}
#container {width:100%;}
.content_in_hp, .content_in {width:100%;padding:0.4em;}
.post {float:left;width:100%;padding:1em 0.7em;}
}
/* Tablets */
@media only screen and (device-width: 768px) {
/* Styles */
}
/* Tablets portrait */
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
.headerin {width:100%;margin:auto;}
.logo {width:150px;}
.nav {float:none;width:100%;z-index:9999;padding:0;}
.nav button {display:block;}
.nav menu {display:none;}
.nav menu ul {width:100%;padding:0;height:auto;line-height:normal;}
.nav menu li {float:none;display:block;}
.content_in, .content_in_hp {width:100%;}
.gallery-columns-5 .gallery-item {width:50%;}
.post {float:left;width:100%;}
}
/* Tablets landscape and netbook */
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
.headerin {width:100%;margin:auto;}
.logo {float:left;width:150px;margin:0;padding:0;}
.nav {float:right;width:650px;text-align:right;margin:0;padding:0;}
.nav menu a {font-size:0.7em;}
.gallery-columns-5 .gallery-item {width:50%;}
}
/* Desktops and laptops */
@media only screen
and (min-width : 768px)
and (max-width : 1280px) {
.headerin {width:90%;margin:auto;}
.footerin, .footerin2 {width:90%;}
.gallery-columns-5 .gallery-item {width:50%;}
.content_in, .content_in_hp {width:70%;}
}
/* Desktops and laptops */
@media only screen
and (min-width : 1281px) {
.headerin {width:47%;margin:auto;}
.gallery-columns-5 .gallery-item {width:20%;}
.content_in, .content_in_hp {width:47%;}
}
