/*
	Theme Name: Blue Station
	Theme URI: https://flexithemes.com/blue-station-wordpress-theme/
	Description: Free General/Blog WordPress theme by FlexiThemes
	Author: FlexiThemes
	Author URI: https://flexithemes.com
	Version: 4.5
	License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: blue, orange, white, two-columns, right-sidebar
*/

/* LAYOUT */

body {
	background: url(images/background.png) !important;
	background-position: center;
	background-repeat: repeat-y;
	background-color: #16446c;
	}

#wrapper {
	border-top: 5px solid #1761a0;
	padding-bottom: 10px;
	}

#container {
	
	}

#contentwrap {
	background: #fff;
	}

a {
	color: #09599f;
	}
	a:hover {
		color: #164268;
		text-decoration: none;
	}

/* HEADER */

#header {
	height: 88px;
	margin-top: 5px;
	}


#header h1 {
	margin-bottom: 8px !important;
	padding: 0;
	font-weight: normal;
	font-family: Arial, Verdana;
	font-size: 50px;
	}

#header h1 a, #header h1 a:visited {
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	}

#header h1 a:hover {
	color: #fff;
	text-decoration: underline;
	}
	

#header h2 {
	color: #eee;
	font-size: 14px;
	line-height: 14px; 
	font-family: Arial;
	font-style: italic;
	}

.logoimg {
	margin:60px 0 5px 10px;
	}
/* NAVIGATION MENUS */

/* Pagemenu */
#pagemenu {
	text-align: right;
	
	}
	
#pagemenu ul { 
	padding: 6px 0 10px 15px;
	margin: 0;
	float: right;
	background: url(images/pagenav-background.png);
	background-position: top left;
	background-repeat: no-repeat;
	}
	
	
#pagemenu li {
	list-style: none;
	display: inline;
	margin: 0 10px 0 0;
	padding: 0px;
	}

#pagemenu a {
	text-decoration: none;
	color: #fff;
	font-weight: bold;
	font-family: Arial;
	font-size: 12px;
	text-transform: uppercase;
	padding: 1px 5px;
	}
	
#pagemenu a:hover, #pagemenu .current_page_item, #pagemenu .current_page_item a{
	color: #a3d3fd;
	}
	
#nav {
	background: url(images/nav-backgr.png);
	background-repeat: repeat-x;
	padding:4px;
	height: 33px;
	}

#nav, #nav ul { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	}
	
#nav ul {
	float: left;
	list-style: none;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	}
	
#nav li {
	float: left;
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#nav ul li {
	list-style: none;
	margin: 0px;
	padding: 0px;
	}
	
#nav li a {
	color: #16446c;
	display: block;
    margin: 0px 3px 0px 3px;
	padding: 10px 12px;
	text-decoration: none;
	font-size: 13px;
	text-transform: uppercase;
	font-weight: bold;
	}
	
#nav li a:hover {
	color: #0775d4;
	}

#nav li a:active, .current-cat {
	background: url(images/nav-backgr-hover.png);
	color: #FFFFFF;
	display: block;
    margin: 0px 3px 0px 3px;
	padding: 10px 12px;
	text-decoration: none;
	}

#nav .current-cat a {
	color:#fff;
	}
	
#nav li:hover, #nav li.sfhover { 
	position: static;
	}

/* CONTENT */

#content {
	background: #fff;
	margin: 15px 10px 15px 15px;
	}

.post {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #ccc;
	}

.post p {
	margin-bottom: 10px;
	}

.title {
	margin-bottom: 8px;
	line-height: 22px;
	font-family: Arial;
	color: #16446c;
	}

.title a {
	text-decoration: none;
	color: #16446c;
	}

.title a:hover {
	text-decoration: underline;
	}

.pagetitle {
	margin-bottom: 20px;
	line-height: 22px;
	font-family: Georgia, Times, "Times New Roman", serif;
	text-decoration: underline;
}

.postdate {
	font-size: 11px;
	padding: 1px 4px;
	background: #fff;
	font-family: Arial;
	}


.postmeta {
	font-size: 11px;
	padding: 2px 4px;
	font-family: Arial;
	background: #e3e7ea;
	}
	
.postdate img, .postmeta img {
	border: none;
	vertical-align: middle;
	margin:2px;
	}
	
.entry {
	text-align: justify;
	line-height: 20px;
	padding-top: 8px;
	font-family: Arial;
	font-size: 14px;
	}
.navigation {
	padding: 10px 0;
	}

blockquote {
	overflow: hidden;
	padding-left: 9px;
	font-style: italic;
	color: #666;
	border-left: 3px solid #CADAE7;
	}
	
.post img {
	max-width: 680px;
	}

img.wp-smiley {
	max-height: 12px;
	margin: 0;
	padding: 0;
	border: none;
	}
	
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
	}

.alignleft {
   float: left;
	}

.alignright {
   float: right;
	}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
	}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
	}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
	}
	
/* SIDEBAR(S) */

.sidebar {
	margin-right: 15px;
	}
	
.sidebar a {
	text-decoration: none;
	color: #333;
	}

.sidebar a:hover {
	color: #09599f;
	}
	
.sidebaradbox {
	margin-top: 5px; 
	text-align:center;
	}
	
.ad125 {
	margin: 10px;
	}
	

#search input, .searchform input {
	border: 1px solid #16446c;
	}
	
#search label, .searchform label {
	margin: 10px 0 10px 0;
	padding: 5px 0 5px 15px;
	background: url('images/sidebar-tab.png');
	background-repeat: repeat-y;
	font-size: 14px;
	font-family: Arial;
	font-weight: bold;
	color: #16446c;
	text-transform: uppercase;
	display: block;
	}
	
.s {
	width: 220px;
	padding: 2px;
	}
	
.searchsubmit {
	border: 1px solid #16446c;
	background: #16446c;
	color: #fff;
	}

#topsearch {
	padding:20px 10px 25px 0;
	background: url(images/search-background.png);
	background-repeat: no-repeat;
	text-align: center;
	}
	
#topsearch input {
	border: 1px solid #16446c;
	}
	
#topsearch label {
	display: none;
	}
	
#topsearch .s {
	width: 180px;
	padding: 2px;
	}
	
.sidebar h2 {
	margin: 10px 0 0 0;
	padding: 5px 0 5px 15px;
	background: url('images/sidebar-tab.png');
	background-repeat: repeat-y;
	font-size: 14px;
	font-family: Arial;
	font-weight: bold;
	color: #16446c;
	text-transform: uppercase;
	}

.sidebar ul {
	list-style-type: none;
	margin: 0px 0px 10px 0px;
	padding: 0px;
	}
	
.sidebar ul li {
	list-style-type: none;
	margin: 0px 0px 5px 0px;
	padding: 0px;
	
	}

.sidebar ul ul {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
	}
	
.sidebar ul li li {
	padding: 3px 0px 3px 15px;
	margin: 0px;
	background: url(images/bullet.gif) no-repeat top left;
	}
	
.sidebar ul li ul li {
	background: #FFFFFF url(images/bullet.gif) no-repeat top left;
	padding: 2px 0px 2px 15px;
	margin: 2px 0;
	}



#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	color: #555;
	background: #fff;
	}
#wp-calendar caption {
	padding: 2px 4px;
	text-transform: uppercase;	margin: 2px 0 2px 0;
	background: #e3e7ea;
	}

#wp-calendar td {
	color: #999;
	font: normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
	letter-spacing: normal;
	padding: 2px 0;
	text-align: center;
	}

#wp-calendar td:hover, #wp-calendar #today {
	background: #e3e7ea;
	color: #555;
	}
	
#wp-calendar {
	empty-cells: show;
	font-size: 14px;
	margin: 0;
	font-weight: bold; 
	width: 100%;
	}


/* FOOTER */

#footer {
	background: #16446c;
	padding: 10px;
	border: 10px solid #fff;
	text-align: center;
	color: #eee;
	}

#footer a {
	color: #d4dbe1;
	} 

#footer a:hover {
	color: #d4dbe1;
	text-decoration: none;
	} 
	
/* COMMENTS */

#comments h3 {
	margin-bottom: 10px;	
}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
	
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
	
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
	
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}

.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
	
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
	
.post_thumbnail {
    margin: 0 10px 10px 0;
}

.pis-li p a {
text-decoration: underline;
}

/* =RESPONSIVE
-------------------------------------------------------------- */

.menu-primary-responsive-container, .menu-secondary-responsive-container  {
    display: none;
    margin: 10px 0;
}

.menu-primary-responsive, .menu-secondary-responsive  {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
}


/* Tablets ----------- */

@media only screen and (max-width: 768px) {
    
    .span-1, .span-2, .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-10, .span-11, .span-12, .span-13, .span-14, .span-15, .span-16, .span-17, .span-18, .span-19, .span-20, .span-21, .span-22, .span-23, .span-24, 
     div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, div.span-16, div.span-17, div.span-18, div.span-19, div.span-20, div.span-21, div.span-22, div.span-23, div.span-24
    {
        width:100%;
        margin:0;
        display: block;
        padding: 0;
    }
    
    .container, div.container {
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    #contentwrap {
        background-image: none;
    }
    
    .entry {
        overflow:  hidden;
    }
    
    .smooth_gallery, .fullbox_excerpt, .fullbox_content, .myGallery {
        display: none;
    }
   
    #header {
        height: auto;
    }
    
    #header .span-12, #header .span-12 div {
       text-align: center !important;
    }
   
    #topsearch {
     text-align: center;
    }
    .feedtwitter {
        text-align: center;
    }
    .logoimg {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Mobile Phones ----------- */

@media only screen and (max-width: 480px) {
 
    .menu-primary-responsive-container, .menu-secondary-responsive-container {
        display: block;
    }
    
    #pagemenucontainer, .navcontainer, #navcontainer, #pagemenu, #nav {
        display: none;
    }
}

/* Some General Formattings ----------- */

embed,
img,
object,
video,
.wp-caption {
	max-width: 100% !important;
}

img {
	height: auto;
}

/* =SITEMAP
-------------------------------------------------------------- */
.sitemap {
}

.sitemap-col {
    width: 30%;
    padding: 0 0 0 10px;
}

.sitemap-col-archives {
    width: 45%;
    padding: 0 0 0 10px;
}

.sitemap h2 {
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
}

.sitemap h3 {
    font-size: 14px;
    font-weight: bold;
    padding: 0;
    margin: 0 0 10px 0;
}

.sitemap-list {
    font-size: 13px;
    line-height: 22px;
}

.sitemap-list, .sitemap-list ul {
    padding: 0 0 0 20px;
}

/* =CONTACT FORM
-------------------------------------------------------------- */
.contact-form {
}

.contact-form-label {
    width: 90px;    
    font-weight: bold;
    font-size: 14px;
    padding: 7px 0;
}

.contact-form-input {
    margin-left: 90px;    
}

.contact-form input[type=text] {
    padding: 6px;
    width: 60%;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background: #fff;
}

.contact-form input[type=submit] {
    padding: 5px 50px;
    border: 1px solid #ccc;
    background: #eee;
}
.contact-form textarea {
    width: 96%;
    padding: 6px;
    height: 160px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background: #fff;
}

.contact-form-required {
    color: red;
}

/* WooCommerces ----------- */
.variations .label {
    background-color:inherit;
    color: inherit;
    display: block !important;
    font-size: inherit;
    font-weight: inherit;
    line-height:inherit;
    text-shadow: none;
    vertical-align: inherit;
    white-space: inherit;
    padding: 8px 8px 8px 0 !important;
} 
.woocommerce input[type="text"], .woocommerce input[type="password"], .woocommerce input.text, .woocommerce input.title, .woocommerce textarea, .woocommerce select {
    margin: 0;  
    padding: 4px !important;
}

.quantity input[type="text"], .quantity input.text, .quantity input{
    margin: 0;  
    padding: 0 !important;
}

.woocommerce img {
    width: auto !important;
    height: auto !important;
}

/* CSS for #tabletsearch and #mobilesearch by Peter K */
#nav {
	background-repeat: repeat;
	-webkit-display: flex;
	-moz-display: flex;
	-ms-display: flex;
	-o-display: flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	height: auto;
}
#tabletsearch { display: none; }
#mobilesearch { display: none; }
.rss-widget-icon {display: none;}
@media only screen and (max-width: 330px) {	/* no wrap text around images on small displays, added by Peter K */
	img.post_thumbnail {
		float: none !important;
		display: block !important;
		margin-left: auto !important;
		margin-right: auto !important;		
	}
}
@media only screen and (max-width: 480px) {
	#nav { display: none; }
	#tabletsearch { display: none; }
	#mobilesearch {
		display: block;
		padding: 0 0 18px 0;
		text-align: center;
	}
	.youtube-player { height: 100%; }
	div.wp-caption {			/* no wrap text around images on small displays, added by Peter K */
		float: none !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	img.post_thumbnail[width="300"] {	/* no wrap text around images on small displays, added by Peter K */
		float: none !important;
		display: block !important;
		margin-left: auto !important;
		margin-right: auto !important;		
	}
}
@media only screen and (max-width: 768px) {
	#nav {
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
	#nav li:last-child {
		-webkit-box-flex: 1;
		-ms-flex: 1;
		flex: 1;
		float: none;
		text-align: right
	}
	#tabletsearch {
		display: block;
		margin: 6px 10px;
	}
	#tabletsearch .s {
		width: 150px;
		padding: 2px;
	}
	#topsearch { background-size: 100% 90%; }
}
#pagemenuwrap {
	padding: 0px 10px 0px 10px;
	justify-content: flex-end;
	-webkit-display: flex;
	-moz-display: flex;
	-ms-display: flex;
	-o-display: flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
}
#pagemenu ul {
	background-repeat:repeat;
	padding: 0 15px 0 15px;
}
#pagemenu li {
	padding: 7px 0 8px 0;
}
.wp-pagenavi a, .wp-pagenavi span {
	display: inline-block;
}
.youtube-player {
	width: 100%;
}
.twitter-tweet {
	max-width: none !important;
}

/* CSS for searchform by Peter K */
.searchform-dropdown {
  position: relative;
  display: inline-block;
}
.searchform-dropdown-content {
  text-align: left;
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 146px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}
.searchform-dropdown-content input {
  cursor: pointer;
  vertical-align: text-bottom;
}
.searchform-dropdown-content div {
  padding: 6px 8px;
  text-decoration: none;
  display: block;
  cursor: pointer;
  vertical-align: middle;
}
.searchform-dropdown-content div:hover {background-color: #ddd;}

/* CSS for hlaseni chyb by Peter K */
.text-form-hlaseni-chyb {
	background: url(/wp-content/uploads/2020/12/icon-hlaseni-chyb.png) no-repeat left;
	padding: 10px 0px 10px 30px;
	height: 15px;
	overflow: hidden;
}

/* CSS fix tooltip transparency by Peter K */
.qtip {
/* opacity: 1 !important; */
}
