/*
Theme Name: GeneratePress Child 1.2
Template: generatepress
*/

/* Main Header Logo */
#wpml-login-ls-form {
display: none !important;
}

.wpml-login-ls {
  display: none !important;
}

.custom-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Rozestupy mezi řádky */
}

.row {
    display: flex;
    gap: 1rem; /* Rozestupy mezi sloupci */
}

.row-1 .column {
    flex: 1 1 50%; /* První řádek: 2 sloupce */
}

.row-2 .column {
    flex: 1 1 25%; /* Druhý řádek: 4 sloupce */
}

@media (max-width: 768px) {
    .row-1 .column {
        flex: 1 1 100%; /* Na mobilech 100% šířka */
    }
    .row-2 .column {
        flex: 1 1 50%; /* Na mobilech 50% šířka */
    }
}


.wpml-login-ls {display: none}


/* OLD STYLE */


/* @override http://mv.atelierzidlicky.eu/wp-content/themes/muzeum-vyskovska/style.css
	http://www.muzeum-vyskovska.cz/wp-content/themes/muzeum-vyskovska/style.css */


/*
Theme Name: Muzeum Vyskovska LIVE
Description: Based on HTML5 Reset Wordpress Theme
Author: Grafique
Author URI: http://grafique.cz
Version: 0.1
*/


/*
	HTML5 Reset Wordpress Theme :: style.css
	----------------------------------------------------------
	We have learned much from/been inspired by/taken code where offered from:

	Eric Meyer					:: http://ericmeyer.com
	HTML5 Doctor				:: http://html5doctor.com
	and the HTML5 Boilerplate	:: http://html5boilerplate.com

	Special thanks: The Wordpress theme owes its start to an empty theme authored
		by Chris Coyier & Jeff Starr: http://digwp.com

-------------------------------------------------------------------------------*/


/* Let's default this puppy out
-------------------------------------------------------------------------------*/

html,
body,
body div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

article,
aside,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}


/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites, like, say for Google Maps custom placemarkers.
   There has been a report of problems with standard Google maps as well, but we haven't been able to duplicate or diagnose the issue. */

img,
object,
embed {
    max-width: 100%;
}


/* force a vertical scrollbar to prevent a jumpy page */

html {
    overflow-y: scroll;
}


/* we use a lot of ULs that aren't bulleted.
	don't forget to restore the bullets within content. */

ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted #000;
    cursor: help;
}


/* tables still need cellspacing="0" in the markup */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

th {
    font-weight: bold;
    vertical-align: bottom;
}

td {
    font-weight: normal;
    vertical-align: top;
}

table.vstupne-table {
    margin: 10px 0;
    line-height: 135%;
}

table.vstupne-table td {
    padding: 7px 10px 7px 10px;
    line-height: 135%;
    border: 1px solid #ddd;
    vertical-align: top;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

pre {
    white-space: pre;
    /* CSS2 */
    white-space: pre-wrap;
    /* CSS 2.1 */
    white-space: pre-line;
    /* CSS 3 (and 2.1 as well, actually) */
    word-wrap: break-word;
    /* IE */
}

input[type="radio"] {
    vertical-align: text-bottom;
}

input[type="checkbox"] {
    vertical-align: bottom;
    *vertical-align: baseline;
}

.ie6 input {
    vertical-align: text-bottom;
}

select,
input,
textarea {
    font: 99% sans-serif;
}

table {
    font-size: inherit;
    font: 100%;
}

.gallery-item {
    text-align: left;
}

.gallery-icon {
    padding: 0 0px;
    margin-bottom: 10px;
    width: 170px;
    text-align: center;
}

.gallery-icon img {
    max-width: none;
    height: 100px;
    width: auto;
}


/* Accessible focus treatment
	people.opera.com/patrickl/experiments/keyboard/test */

a:hover,
a:active {
    outline: none;
}

small {
    font-size: 85%;
}

strong,
th {
    font-weight: bold;
}

td,
td img {
    vertical-align: top;
}


/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}


/* standardize any monospaced elements */

pre,
code,
kbd,
samp {
    font-family: monospace, sans-serif;
}


/* hand cursor on clickable elements */

.clickable,
label,
input[type=button],
input[type=submit],
button {
    cursor: pointer;
}


/* Webkit browsers add a 2px margin outside the chrome of form elements */

button,
input,
select,
textarea {
    margin: 0;
}


/* make buttons play nice in IE */

button {
    width: auto;
    overflow: visible;
}


/* scale images in IE7 more attractively */

.ie7 img {
    -ms-interpolation-mode: bicubic;
}


/* prevent BG image flicker upon hover */

.ie6 html {
    filter: expression(document.execCommand("BackgroundImageCache", false, true));
}


/* let's clear some floats */

.clearfix:before,
.clearfix:after {
    content: "\0020";
    display: block;
    height: 0;
    overflow: hidden;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

.clear {
    clear: both;
    width: 0;
    height: 0;
}


/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/


/* new Linux- and Windows-friendly sans-serif font stack: http://mky.be/fontstack */

body {
    background: #555;
    font-family: nimbus-sans, tahoma, arial, verdana, sans-serif;
    color: #033c5c;
    font-size: 82%;
    /*    font: 13px Helmet, Freesans, sans-serif;*/
}

body .typekit-badge {
    display: none !important;
}


/* using local fonts? make sure to read up on Paul Irish's
	Bulletproof @font-face syntax: http://mky.be/font-face/bulletproof/ */


/* we like off-black for text */

body,
select,
input,
textarea {
    color: #033c5c;
}

a {
    color: #009bc3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */

::-moz-selection {
    background: #F3F3F3;
    text-shadow: none;
}

::selection {
    background: #F3F3F3;
    text-shadow: none;
}


/*	j.mp/webkit-tap-highlight-color */

a:link {
    -webkit-tap-highlight-color: #fcd700;
}

ins {
    background-color: #fcd700;
    color: #000;
    text-decoration: none;
}

mark {
    background-color: #fcd700;
    color: #000;
    font-style: italic;
    font-weight: bold;
}


/* And here begins the Wordpress fun.
-------------------------------------------------------------------------------*/

#page-wrap {
    width: 970px;
    margin: 0 auto;
    padding-bottom: 100px;
    position: relative;
}

.entry-content {}

.entry-content a {}

.entry-content a:hover {}

#meta {}

.postmetadata {}

#sidebar {}

.navgation {}

.next-posts {}

.prev-posts {}

#searchform {}

#s {}

#searchsubmt {}

ol.commentlist {
    list-style: none;
}

ol.commentlist li {}

ol.commentlist li.alt {}

ol.commentlist li.bypostauthor {}

ol.commentlist li.byuser {}

ol.commentlist li.comment-author-admin {}

ol.commentlist li.comment {
    border-bottom: 1px dotted #666;
    padding: 10px;
}

ol.commentlist li.comment div.comment-author {}

ol.commentlist li.comment div.vcard {}

ol.commentlist li.comment div.vcard cite.fn {
    font-style: normal;
}

ol.commentlist li.comment div.vcard cite.fn a.url {}

ol.commentlist li.comment div.vcard img.avatar {
    float: right;
    margin: 0 0 10px 10px;
}

ol.commentlist li.comment div.vcard img.avatar-32 {}

ol.commentlist li.comment div.vcard img.photo {}

ol.commentlist li.comment div.vcard span.says {}

ol.commentlist li.comment div.commentmetadata {}

ol.commentlist li.comment div.comment-meta {
    font-size: 10px;
}

ol.commentlist li.comment div.comment-meta a {
    color: #ccc;
}

ol.commentlist li.comment p {}

ol.commentlist li.comment ul {}

ol.commentlist li.comment div.reply {
    font-size: 11px;
}

ol.commentlist li.comment div.reply a {
    font-weight: bold;
}

ol.commentlist li.comment ul.children {
    list-style: none;
    margin: 10px 0 0;
}

ol.commentlist li.comment ul.children li {}

ol.commentlist li.comment ul.children li.alt {}

ol.commentlist li.comment ul.children li.bypostauthor {}

ol.commentlist li.comment ul.children li.byuser {}

ol.commentlist li.comment ul.children li.comment {}

ol.commentlist li.comment ul.children li.comment-author-admin {}

ol.commentlist li.comment ul.children li.depth-2 {
    border-left: 5px solid #555;
    margin: 0 0 10px 10px;
}

ol.commentlist li.comment ul.children li.depth-3 {
    border-left: 5px solid #999;
    margin: 0 0 10px 10px;
}

ol.commentlist li.comment ul.children li.depth-4 {
    border-left: 5px solid #bbb;
    margin: 0 0 10px 10px;
}

ol.commentlist li.comment ul.children li.depth-5 {}

ol.commentlist li.comment ul.children li.odd {}

ol.commentlist li.even {
    background: #fff;
}

ol.commentlist li.odd {
    background: #f6f6f6;
}

ol.commentlist li.parent {
    border-left: 5px solid #111;
}

ol.commentlist li.thread-alt {}

ol.commentlist li.thread-even {}

ol.commentlist li.thread-odd {}


/* Print styles!
-------------------------------------------------------------------------------*/

@media print {}


/* Media queries!
-------------------------------------------------------------------------------*/


/* Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */

@media screen and (max-device-width: 480px) {}

@media all and (orientation: portrait) {}

@media all and (orientation: landscape) {}


/* wordpress image align*/

img.alignright {
    float: right;
    margin: 0 0 1em 1em
}

img.alignleft {
    float: left;
    margin: 0 1em 1em 0
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    margin-bottom: 17px;
}


/* Header*/

#header {
    height: 140px;
    width: 980px;
    position: relative;
}

#header strong {
    margin: 0;
    display: block;
    padding: 0;
    position: absolute;
    top: 0 !important;
    right: 670px;
    z-index: 0;
}

#header strong a {
    display: block;
}

#header strong img {
    max-width: none;
}

ul.menu-main {
    margin-top: 30px;
}

#joinus {
    position: absolute;
    right: 0;
    top: 132px;
    color: #fff;
    font-size: 12px;
}

.copyright #joinus {
    position: absolute;
    right: 5px;
    top: 0px;
    color: #666;
    color: #009bc3;
    font-size: 13px;
}

.copyright #joinus img {
    margin-left: 2px;
    position: relative;
    top: 4px;
}

#joinus img {
    margin-left: 2px;
    position: relative;
    top: 1px;
}


/* Content*/

.content {
    background: white;
    margin-top: 22px;
    padding: 20px 42px;
    border: 1px solid #dbdcdd;
    position: relative;
    z-index: 0 !important;
    background: #f8f8f8;
    /* for non-css3 browsers */
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f4f4f5');
    /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#f4f4f5));
    /* for webkit browsers */
    background: -moz-linear-gradient(top, #ffffff, #f4f4f5);
    /* for firefox 3.6+ */
}

.with-sidebar.content {
    padding: 18px 25px;
}

.entry p {
    padding: 3px 0;
}

.with-sidebar .entry {
    width: 550px;
    float: left;
    padding-left: 30px;
    min-height: 540px;
    font-size: 92%;
}

#openmap {
    margin-top: 5px;
    display: block;
    font-size: 12px;
    width: 130px;
    float: right;
    text-align: right;
    padding-bottom: 5px;
}

#gmap {
    margin: 10px 0 10px;
    clear: both;
    width: 886px;
    height: 420px;
    border: 1px solid #f0f0f0;
    padding: 1px;
}

.content h1 {
    color: #602a85;
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 0px;
}

.content h2 {
    color: #602a85;
    font-size: 48px;
    font-weight: normal;
    margin-bottom: 50px;
    line-height: normal;
}

.content h3 {
    color: #602a85;
    font-size: 26px;
    font-weight: normal;
    padding: 20px 0 10px;
}

.content h4 {
    color: #333;
    font-size: 21px;
    font-weight: normal;
    padding: 10px 0 5px;
}

.content h5 {
    color: #333;
    font-size: 18px;
    font-weight: normal;
    padding: 10px 0 5px;
}

.content h6 {
    color: #333;
    font-size: 16px;
    font-weight: normal;
    font-style: italic;
    padding: 15px 0 5px;
}

#sidebar {
    width: 250px;
    float: left;
}

#sidebar ul.children {
    display: none;
    margin-left: 20px;
    margin-bottom: 30px;
    list-style: none;
}

#sidebar .current_page_item>ul.children {
    display: list-item;
}

#sidebar .current_page_ancestor ul.children {
    display: list-item;
}

#sidebar .current_page_item ul.children ul {
    display: none;
}

#sidebar li,
#sidebar .widget ul {
    list-style: none;
}

#sidebar ul {
    margin-left: 0;
}

#sidebar li a {
    display: block;
    padding: 2px 0;
    color: #602a85;
    text-decoration: underline;
    font-size: 24px;
}

#sidebar li li a {
    display: block;
    padding: 1px 0;
    color: #602a85;
    text-decoration: underline;
    font-size: 18px;
}

#sidebar li.current_page_item>a,
#sidebar a:hover {
    color: #009bc3;
}

#sidebar li.current_page_item>a,
#sidebar a:hover {
    color: #009bc3;
}

#sidebar li.dont-higlight>a {
    color: #602a85;
}


/* Homepage*/

.home-banner-top {
    min-width: 440px;
    /* width: 50%; */
    height: 174px;
    display: block;
}

.home-banner-top:hover {
    -webkit-transition: color 3.0s linear;
    transition: color 3.0s linear;
    transition: background-color 3.0s linear .1;
    -webkit-transition: background-color 0.95s linear;
    background: #55408f;
}

.home-banner-top .overlay {
    background: #55408f;
    min-width: 440px;
    /* width: 50%; */
    height: 174px;
    opacity: 0;
    alpha(opacity=0);
    position: absolute;
    z-index: 2;
     -webkit-transition: color 3.0s linear;
  transition: color 3.0s linear;
  transition: background-color 3.0s linear .1;


   -webkit-transition:background-color 0.95s linear;
}

.sf-menu li:last-child ul, .sf-menu li:last-child:hover ul  {
   top: 0px;
   left: -10px !important;
   box-shadow: none!important;
   background: none !important;
   border: none
}





.home-banner-top .text {
    padding: 2px;
    z-index: 3;
    position: relative;
}

#home-banner1 {
    float: left;
    background: url('images/banner1.jpg') no-repeat;
    text-decoration: none;
    margin-bottom: 5px;
    background-size: cover !important;
}

#home-banner2 {
    background: url('images/banner2.jpg') no-repeat;
    float: right;
    text-decoration: none;
    margin-bottom: 5px;
    background-size: cover !important;
}

#home-expositions {
    margin-top: 45px;
}

.home .exposition-box,
.event-box {
    width: 200px;
    min-height: 200px;
    float: left;
    margin-right: 28px;
}

.home .exposition-box a h3,
.event-box a h3 {
    display: block;
    font-size: 20px;
    font-weight: normal;
    text-decoration: none;
    color: #6d6b70;
    border-bottom: 1px solid #dbdcdd;
    padding: 4px 0;
    margin-bottom: 5px;
    /*    margin-right: 5px;*/
}

.home .exposition-box a,
.event-box a,
#home-infobar2 a {
    text-decoration: none;
}

.home .exposition-box .thumbnail,
.event-box .thumbnail {
    margin-top: 10px;
    display: block;
}

.event-box a h3 {
    color: #e63b6c;
    min-height: 52px;
}

.event-box a:hover h3 {
    color: #6d6b70;
}

.event-box .text {
    min-height: 90px;
}

.event-box .events-excerpt {
    min-height: 55px;
    padding-top: 4px;
}

.home .exposition-box a:hover h3 {
    color: #e63b6c;
}

.halfsize {
    width: 50%;
}

.home h2 {
    color: #828385;
    font-size: 26px;
    margin-bottom: 7px;
    margin-top: 0;
    font-weight: normal;
}

.home a:hover h2,
#home-infobar2 a:hover h2 {
    color: #009BC3;
}

#home-infobar1 {
    padding: 0;
}

#home-infobar1 a {
    text-decoration: none;
}

#home-infobar2 {
    padding: 0;
    padding-bottom: 10px;
}

#home-infobar2 h2 {
    font-size: 16px;
    font-weight: normal;
    color: #555;
    margin-bottom: 10px;
}

#home-infobar2 td {
    padding: 20px;
    text-align: justify;
}

#home-infobar1 td {
    padding: 20px;
    padding-right: 60px;
    text-align: justify;
}

#home-infobar1 .home-open-hours {
    margin: 6px 0 10px 0;
}

#home-infobar1 .home-open-hours td {
    padding: 2px 15px 2px 0;
    margin-bottom: 5px;
}

.home .rightgrayborder {
    border-right: 1px solid #dbdcdd;
}

#events-slider {
    border-top: 1px solid #dbdcdd;
    padding-top: 7px;
    position: relative;
}

.home-loga {
    padding: 20px 0 20px 90px;
    height: 50px;
}

.home-loga img {
    margin-right: 25px;
}

#events-slider .next,
#events-slider .prev {
    cursor: pointer;
}

#events-slider .next,
#events-slider .prev {
    position: absolute;
    top: 70px;
}

#events-slider .prev {
    display: none;
    left: -40px;
}

#events-slider .next {
    right: -40px;
}

#sections {
    overflow: hidden;
    width: 910px;
    clear: left;
    position: relative;
}

#sections ul {
    width: 3660px;
}

#sections li {
    float: left;
    padding: 0;
}


/*        .pro-skoly-featured h2{
            color: #009bc3;
        }*/


/* Footer*/

#footer ul.sitemap {
    margin-top: 10px;
}

#footer ul.sitemap>li {
    width: 150px;
    float: left;
    margin-right: 10px;
}

#footer ul.sitemap>li>a {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

#footer ul.sitemap a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
}

#footer ul.sitemap a:hover {
    text-decoration: underline;
}

#footer .sitemap h2 {
    text-transform: uppercase;
    color: #fff;
    display: block;
    border-bottom: 2px solid #fff;
    font-size: 14px;
    padding-bottom: 4px;
    margin-bottom: 10px;
}

#footer .copyright {
    padding: 5px 15px 6px;
}

#footer a {
    color: #033c5c;
}

#footer a:hover {
    text-decoration: underline;
}


/* contact */

.contact-title,
.contact-title-2 {
    color: #602a85;
    font-size: 23px;
    line-height: 125%;
}

.contact-title-2 {
    padding-top: 35px;
}

.contact-table {
    border-collapse: collapse;
    width: 100%;
}

.contact-table td {
    padding: 4px 10px;
    border: 1px solid #eee;
}

#post-15 h2 {
    color: #aaa;
    font-size: 23px;
    font-weight: normal;
    display: block;
    margin-bottom: 15px;
}


/* Archive */

.archive-event-box {
    clear: both;
    margin-bottom: 20px;
}

.archive-event-box h3 {
    margin: 0;
    padding: 0;
    line-height: 110%;
    padding-bottom: 10px;
}

.archive-event-box .thumbnail {
    float: left;
}

.archive-event-box .thumbnail img {
    margin-right: 20px;
}