/*
    Theme Name: Klub
    Version: 1.0
*/
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

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

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
} /* =WordPress Core END
-------------------------------------------------------------- */
body{
	font-family: 'Lato', sans-serif;
	background-image: url("img/crossword-w.png");
    min-height: 100%;
	display: block;
}
a {
    color: #323232;
    text-decoration: none;
	-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
p{
	text-align: justify;
}

a:hover, a:focus {
    color: #366EAE;
    text-decoration: none;
}
.top {
	background: #f7f7f7;
	border-bottom: 3px solid #e8e8e8;
	margin: 0 0 20px 0;
}
.top-white{
	background: #fff;
	margin: 0px;
}
.page {
    padding: 0 10px;
}
#logo {
	height: 141px;
	width: 150px;
}
/*
#menu{
	background: #fff;
	margin-bottom: 0px;
	line-height: 4;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
}
#menu a{
	color: #808080;
}
#menu a:hover,#menu  a:focus {
    color: #366EAE;
    text-decoration: none;
}
#menu>li{
	list-style: none;
	display: inline;
	padding: 20px 15px;
}
*/

#menu {
	list-style: none;
	margin: 15px 0 15px;
	padding: 0;
	font-weight: 700;
	font-size: 16px;
	line-height: 1;
	color: #ebebf5;
}

#menu > li {
	position: relative;
	border-top: 1px dotted #ebebf5;
}

#menu > li > a {
	display: block;
	text-transform: uppercase;
	color: #969baf;
	text-decoration: none;
	padding: 15px 10px;
	text-align: center;
}

#menu > li:first-child {
	border-top: none;
}

#menu > li.current-menu-item > a,
#menu > li.current-menu-parent > a,
#menu > li > a:hover {
	color: #20c2f5;
}

.sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

#menu .sub-menu {
	position: absolute;
	top: 64px;
	right: -10px;
	background: #fff;
	border-radius: 0 0 5px 5px;
	border-top: 3px solid #20c2f5;
	display: none;
}

header.sm #menu .sub-menu {
	border: 1px solid #ebebf5;
	border-top: 3px solid #20c2f5;
}

#menu .sub-menu:before {
	content: '';
	position: absolute;
	top: -24px;
	right: 26px;
	width: 0;
	height: 0;
	border: 12px solid transparent;
	border-bottom-color: #20c2f5;
}

#menu .sub-menu:after {
	content: '';
	position: absolute;
	top: -16px;
	right: 30px;
	width: 0;
	height: 0;
	border: 8px solid transparent;
	border-bottom-color: #fff;
}

.sub-menu li {
	border-top: 1px dotted #ebebf5;
}

.sub-menu li:first-child {
	border-top: none;
}

.sub-menu li > a {
	display: block;
	padding: 15px 30px;
	text-transform: uppercase;
	font-size: 12px;
	color: #969baf;
	text-decoration: none;
	font-weight: 400;
}

#menu .sub-menu li > a {
	text-align: right;
	white-space: nowrap;
}

.sub-menu li > a:hover {
	color: #3c465a;
	text-decoration: none;
}

.sub-menu li.current_page_ancestor > a,
.sub-menu li.current_page_item > a {
	font-weight: 700;
	color: #3c465a;
}

@media (min-width: 768px) {

	#menu {
		/*position: absolute;
		right: -20px;*/
		margin: 0 auto;
	}

	#menu > li {
		float: left;
		border-top: none;
	}

	#menu > li > a {
		text-align: left;
		padding: 24px 10px;
	}

	#menu > li:hover .sub-menu {
		display: block;
		z-index: 999;
	}
	
	#logo {
	padding: 0 20px 20px;
	top: 0;
	left: -20px;
	z-index: 999;
}

}

@media (min-width: 992px) {

	#menu > li > a {
		padding-left: 20px;
		padding-right: 20px;
	}

}
#logo {
	display: block;
	width: 140px;
	height: 151px;
	margin: 0 auto;
}

#logo img {
	display: block;
	height: 100%;
}
img.logo {
    height: 141px;
	width: 150px;
}
article.container{
	font-size: 17px;
    line-height: 1.6;
    font-weight: 300;
    color: #3c465a;
	min-height: 80%;
	padding: 0 0 20px 0;
	min-height: 62vh;
}
.post {
	width: 100%;
	border-bottom: 3px solid #e8e8e8;
}
.custom-blue{
    background: #20c2f5;
    height: 20px;
    margin-bottom: 20px;
}
footer {
	background: #ebebf5;
    padding: 0 0 40px 0;
	bottom: 0;
	width: 100%;
}

a.kontakt{
    color: #737373;
}
a.kontakt.bold{
	font-size: 16px;
    font-weight: 700;
}
a.kontakt:hover, a.kontakt:focus {
    color: #20c2f5;
}