/*
Theme Name: Masinka
Theme URI:
Description: This theme is designed and coded 
Version: 1.0
Author: Ondrej
Author URI: 
Tags: orange, fixed-width, two-columns, left-sidebar, threaded-comments
*/


/* Global */

body {
	font-size: 70%;
	font-family: Verdana, fantasy;
	background: #E7D7A6 url(images/new/bg.gif) repeat;
	color: #1b0900;
	margin: 0;
	padding: 0;
}

a:link {
/*    color: #A2621C;*/
    color: #cc0001;
}

a:visited {
	color: #cc0001;
}

a:hover {
	text-decoration: none;
}

a img {
	border: none;
}

img {
	border: none;
}

h1, h2, h3, h4 {
	font-family: Segoe Print, Helvetica, fantasy;
	font-weight: bold;
        margin: 5px 0 0 0;
}

h1 {
	font-size: 2em;
	line-height: 35px;
    overflow: hidden;
//	text-overflow: ellipsis;
//	white-space: nowrap;	
}

h2 {
	font-size: 1.6em;
}

ul,li {
    padding: 0px;
	margin: 0px;
}

/* Clear Fix */ 
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
}
/* Hide from IE Mac \*/ 
.clearfix {
	display: block;
}
/* End hide from IE Mac */ 
/* end of clearfix */

#wrapper {
    margin: 0px auto;
    padding: 0px;    
    width: 100%;
}

/* Header */
#header {
  margin: 0 auto;
  padding: 0;
/*  width: 1024px;*/
  text-align: center;
}

#header_bg {
    margin: 0px auto;
    padding: 0px;
    height:179px;
    width: 1024px;    
    background: url(images/new/head_bg.png) center top no-repeat;
    text-align: center;
}

#header #logo {
  margin:0 auto;
  padding-top:36px;
  width:403px;
  text-align: left;
}

/* Container */
#container {
  height: auto!important;
  text-align: center;
}

/* Content */
#content_bg {
    position:relative;
    width: 1024px;
    background: url(images/new/content_bg.png) center top no-repeat;
    margin: 0px auto;
    text-align: left;
}

#content {
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

*html #content {
	background: url(images/new/content_bg.png) center top no-repeat;
}

*+html #content_bg {
	background: url(images/new/content_bg.png) center top no-repeat;
}

/* Sidebar */

#aktuality_bg {
    position:absolute;
    top:60px;
    right:30px;
    height: 300px;
    text-align: center;
}

#aktuality_in {
  margin: 0 auto;
  text-align: left;
}

#emil {
/*  background: url(images/new/emil.png) right bottom no-repeat;*/
  top:380px;
  right:80px;
  position:absolute;
}
/* Sidebar */

#sidebar {
    margin:25px 0 0 0;
/*    margin:0 auto;*/
    padding:0;
    position:absolute;
    top:0px;
    left:0px;
    text-align: right;
	width: 227px;
	height: 560px;
	background: url(images/new/semafor.png) left top no-repeat;
/*    z-index:6;*/
}

#sidebar ul {
    list-style: none;
}

#menu {
    text-align: left;
}

#menu li {
    padding: 0px 0px 10px 0px;
}

#menu li ul {
    padding: 3px 0px 0px 67px;
}

#menu li li {
    padding: 0px 0px 0px 10px;
    background: url(images/sidebar_icon.gif) left 7px no-repeat;
	color: #1b0900;
	line-height: 20px;
	font-size: 1.1em;
}

#menu li li a {
	color: #1b0900;
	font-weight: bold;
	font-size: 1.0em;
	text-decoration: none;
}

#menu li li a:hover {
	text-decoration: underline;
}

#menu h2 {
    width: 253px;
	height: 45px;
	padding: 0px;
	margin: 0px;
	background: url(images/sidebar_title.gif) left top no-repeat;
	text-align: center;
	color: #1b0900;
	font-size: 1.8em;
	font-weight: normal;
	line-height: 45px;
    overflow: hidden;
	text-overflow: ellipsis; 
	white-space: nowrap;
}

/* Calendar */

#wp-calendar {
	empty-cells: show;
	margin: 0px auto 0;
	color: #A1621B;
	width: 70%;
	text-align: center;
}

#wp-calendar #next a {
	padding: 0px 2px;
	margin: 0px;
	text-align: right;
	display: inline;
}

#wp-calendar #prev a {
	padding: 0px 2px;
	margin: 0px;
	text-align: left;
	display: inline;
}

#wp-calendar a {
	display: block;
	font-weight: bold;
	text-decoration: none;
	color: #A1621B;
}

#wp-calendar a:hover {
	background: #cc0001;
	color: #fff;
}

#wp-calendar caption {
	text-align: center;
	font: bold 1.2em Verdana, Arial, Sans-Serif;
}

#wp-calendar td {
	padding: 0px;
	text-align: center;
}

#wp-calendar th {
	font-style: normal;
	font-size: 1.1em;
	text-transform: capitalize;
}

/* Search */
#search {
    height: 45px;
}

#search form {
    padding: 12px 0px 0px 0px;
	margin: 0px;
}

#search #s {
    margin: 0px 0px 0px 27px;
	padding: 3px 0px 0px 0px;
	background: none;
	border: none;
	height: 20px;
	width: 170px;
}

#search span {
   float: left;
}

#search #searchsubmit {
    margin: 0px 0px 0px 5px;
	padding: 0px;
    width: 27px;
    height: 26px;
	background: url(images/spacer.gif) repeat;
	border: none;
	float: right;
}

/* Navigation */
#navigation {
/*    padding: 35px 10px 0px 0px;*/
    margin: 40px 10px 0 0;
  }
  #navigation li {
      position:relative;
    }

#nav_home {
  padding: 0;
  height:47px;
  }
  #nav_home .selected {
    background: url(images/new/sem1.png) transparent 56px top no-repeat;
/*    background-color:red;*/
    height:100%;
    left:0;
    position:absolute;
    top:0;
    width:100%;
    }

#nav_nas {
    padding: 0;
    height:40px;
  }
  #nav_nas .selected {
    background: url(images/new/sem2.png) transparent 55px -2px no-repeat;
    height:100%;
    left:0;
    position:absolute;
    top:0;
    width:100%;
    }

#nav_prog {
    padding: 0;
    height:40px;
}
  #nav_prog .selected {
    background: url(images/new/sem3.png) transparent 57px -1px no-repeat;
    height:100%;
    left:0;
    position:absolute;
    top:0;
    width:100%;
    }

#nav_krou {
    padding: 0;
    height:40px;
}
  #nav_krou .selected {
    background: url(images/new/sem4.png) transparent 58px -4px no-repeat;
    height:100%;
    left:0;
    position:absolute;
    top:0;
    width:100%;
    }

#nav_foto {
    padding: 0;
    height:40px;
}
  #nav_foto .selected {
    background: url(images/new/sem5.png) transparent 58px -2px no-repeat;
    height:100%;
    left:0;
    position:absolute;
    top:0;
    width:100%;
    }

#nav_deti {
    padding: 0;
    height:40px;
}
  #nav_deti .selected {
    background: url(images/new/sem6.png) transparent 60px -2px no-repeat;
    height:100%;
    left:0;
    position:absolute;
    top:0;
    width:100%;
    }

#nav_ceny {
    padding: 0;
    height:40px;
}
  #nav_ceny .selected {
    background: url(images/new/sem7.png) transparent 58px -1px no-repeat;
    height:100%;
    left:0;
    position:absolute;
    top:0;
    width:100%;
    }

#nav_tym {
    padding: 0;
    height:40px;
}
   #nav_tym .selected {
    background: url(images/new/sem8.png) transparent 60px 0px no-repeat;
    height:100%;
    left:0;
    position:absolute;
    top:0;
    width:100%;
    }

#nav_kont {
    padding: 0;
    height:40px;
}
   #nav_kont .selected {
    background: url(images/new/sem9.png) transparent 63px 0px no-repeat;
    height:100%;
    left:0;
    position:absolute;
    top:0;
    width:100%;
    }

/* Maincontent */
#maincontent_wrapper {
    margin: 0 auto;
    padding: 0;
    width: 1024px;
    text-align: center;
}

#maincontent_bg {
    background: url(images/new/koleje_down.png) left 15px repeat-y;
    width:628px;
    margin: 0 auto;
    padding-bottom: 90px;
    text-align: center;
}

#maincontent {
    background: url(images/new/koleje_up.png) no-repeat top center;
    text-align: center;
    margin-right:35px;
}


*+html #maincontent{
	background: url(images/new/koleje_up.png) no-repeat top center;
}

*+html #maincontent{
	background: url(images/new/koleje_up.png) no-repeat top center;
}

*html #maincontent_bg {
	background: url(images/new/koleje_down.png) left 15px repeat-y;
}

*+html #maincontent_bg{
	background: url(images/new/koleje_down.png) left 15px repeat-y;
}

.post {
    margin: 0 auto;
    padding-top: 35px;
    text-align: left;
    width:485px;
    min-height:600px;

}

.post .title {
   background: url(images/post_title_line.gif) bottom repeat-x; 
   margin: 0 auto;
   padding: 0;
   clear: both;
   text-align:center;
   height: 45px;
}

.post .title h2 {
	color: #1b0900;
	font-size: 3em;
	line-height: 35px;
	margin: 0px auto;
	padding: 0px;
	text-overflow: ellipsis;
	white-space: nowrap;			
}

.post .title h2 a {
    text-decoration: none;
    color: #1b0900;
}

.postmetadata {
	margin: 0px;
	padding: 18px 0px 0px;
	color: #1B0900;
}

.postmetadata .cats_meta {
   font-weight: bold;
   float: left;
   padding-right: 10px;
}

.postmetadata .date {
   font-weight: bold;
   float: left;
}

.postmetadata .author {
   float: right;
   padding-right: 10px;
}

.postmetadata a {
    text-decoration: none;
} 

.entry {
    padding: 5px 0px; 
    font-size: 1.2em;	
/*	line-height: 15px;*/
	clear: both;
/*XXX height:460px;
    overflow:auto;*/
    
}

.post .entry p {
	padding: 2px 0px;
	margin: 2px 0px;
}

.entry ul {
   clear: both;
}

.entry li {
/*   background: url(images/icon.gif) left 8px no-repeat;*/
   background: url(images/list_icon.png) left 7px no-repeat;
   list-style: none;
   padding: 3px 3px 3px 10px;
   color: #1b0900;
}

.entry li a:link,.entry li a:visited {
/*    color: #A5794C;*/
    color: #cc0001;
   font-weight: normal;
}

.post .entry p a {
	color: #cc0001;
	font-weight: bold;
   text-decoration: none;	
}

.post .entry p a:hover {
   text-decoration: underline;
}

.notfound {
	margin-top: 100px;
	text-align:center;
	font-size: 4em;
	font-weight: bold;
	color: #782f02;
}

.post .entry .commentline {
	text-align: right;
	font-weight: bold;
	font-size: 0.9em;
	padding: 10px 5px 0 0;
	color: #FF0375;	
}

.quickjump {
	padding: 0 0 0 60px;
	font-size: 1.2em;
	font-weight: bold;
	line-height: 18px;
	color: #782f02;
}

.postjumper {
/*	float: left;*/
	padding: 0 20px 0 0;
}


/* Comments */

h3#comments, #respond h3 {
	font-size: 1.4em;
	color: #666;
}

h4 {
	font-size: 1.0em;
	color: #666;
}


#commentform {
	margin: 5px 0 0 0;
}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

#commentform textarea {
	width: 98%;
	padding: 2px;
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

#commentform p {
	margin: 5px 0;
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
}

#respond {
	color: #666;
}

#respond:after {
	content: "."; 
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.commentlist {
    padding-left: 0px;
	margin-left: 0px;
}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;
	font-weight: bold;
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
	font-size: 1em;
}

.commentlist p {
	margin: 10px 5px 10px 0;
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #333;
	padding: 2px;
	background: #fff;
}

.commentlist li a {
	color: #000;
}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
}

.nocomments {
	text-align: center;
}

.commentmetadata {
	display: block;
	font-weight: normal;
}

.thread-alt {
	background-color: #dcbea4;
}

.thread-even {
	background-color: #e3cbb3;
}

.depth-1 {
	border: 1px solid #000;
}

.alt {
	border-left: 1px solid #000;
	background-color: #dcbea4;
	padding: 10px;
}

.even {
	border-left: 1px solid #000;
	background-color: #e3cbb3;
}

/* Footer */
#footer {
    position: relative;
    background: url(images/new/konecna.gif) no-repeat;
    width: 690px;
    margin: 0 auto;
    bottom: 100px;
    clear: both;
    height: 195px;

/*    z-index:8;*/
}

#rss {
	width: 44px;
	height: 44px;
	position: absolute;
	left: 442px;
	top: 136px;
}

#footer #credit {
	margin: 0;
	padding: 60px 0px 0px 160px;
	text-align: center;
	font-size: 0.9em;
	color: #D19453;
	font-family: Arial, Helvetica, sans-serif;
        height: 195px;
}

#footer a:link,#footer a:visited {
	font-size: 1.0em;
	color: #D19453;
	text-align: center;
	text-decoration: none;
}

/* Images */

p img {
	max-width: 100%;
}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.alignright {
	float: right;
}

.alignleft {
	float: left
}


/* Captions */

.aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
}

/* PageNavi*/

.wp-pagenavi {
	padding: 5px 40px 5px 50px;
}

.wp-pagenavi a {
	padding: 2px 6px;
	margin: 2px;
	_margin: 1px;
	text-decoration: none;
	border: 1px solid #06c;
	color: #06c;
	background-color: #fff;
}

.wp-pagenavi a:hover {
	border: 1px solid #000;
	color: #000;
}

.wp-pagenavi span.pages, .wp-pagenavi span.current, .wp-pagenavi span.extend {
	padding: 2px 4px;
	_padding: 2px 0;
	margin: 2px;
	_margin: 1px;
	border: 1px solid #000;
	color: #000;
	background-color: #fff;
}

.skryt {
    visibility:hidden;
}

