/*
Theme Name: WordPress Waldeisenbahn Muskau
Theme URI: http://www.waldeisenbahn.de
Description: Design Release 2
Version: 1.0
Author: Johann Heyne
Author URI: 
Tags: Waldeisenbahn


*/

/* preset */
ul, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
img {
    border: 0;
    
}
body {
    font: 1em Verdana;
    line-height: 1em;
    background-color: #19470f;
    margin: 0;
    padding: 0;
}


/* helper */
.clear {
    clear: both;
    line-height: 0;
}
.nowrap {
    white-space: nowrap;
}

/* layout */
#box {
    position: relative;
    width: 62.50em;
    margin: auto;
}
#header {
    position: relative;
    margin: auto;
    width: 62.50em;
    height: 12.50em;
}
#page {
    position: relative;
    width: 61.25em;
    border-left: 0.63em solid #19470f;
    border-right: 0.63em solid #19470f;
    background-color: #f6e5b6;
}

#content_posts {
    position: relative;
    width: 38.13em;
    min-height: 26em;
    float: left;
    background-color: #f7eecd;
    border: 0.13em solid #19470f;
    margin-bottom: 0.5em;
}
#content_page {
    position: relative;
    width: 48.75em;
    min-height: 26em;
    float: left;
    background-color: #f7eecd;
    border: 0.13em solid #19470f;
    margin-bottom: 0.5em;
}
.content {
    position: relative;
    margin: 1.25em 1.88em 2.50em 1.88em;
}
.content_sidebar {
    margin: 1.25em 1.25em 2.50em 1.25em;    
}

/* footer */
#footer {
    /*clear: both;
    background-color: #D4D4D4;
    height: 1.25em;
    background-color: #19470f;*/
    position: relative;
    width: 61.25em;
    border-left: 0.63em solid #19470f;
    border-right: 0.63em solid #19470f;
    background-color: #f6e5b6;
    margin: 0 0 5em 0;
}
#footer #sitemap {
    margin: 0 0 0 11.1em;
    color: #19470f;
    text-decoration: none;
}
#footer #copyright {
    margin: 2em 0 0 11.1em;
    padding: 0 0 0.4em 0;
    color: #19470f;
}
#footer #copyright span {
    font-size: 0.8em;
}

/* bottom */
#bottom {
    height: 3em;
}

/* sidebar_left */
#sidebar_left {
    width: 11.13em;
    float: left;
}
#sidebar_left #flags {
    margin: 2.4em 0 0 1.8em;
}
#sidebar_left #flags li {
    display: inline;
}

/* foot_links */
#foot_links {
    padding: 0 0 0 11em;
}
#foot_links a {
    font-size: 0.9em;
    color: #19470f;
    text-decoration: none;
    padding: 0 1em 0 0;
}

/* sidebar_right */
#sidebar_right {
    width: 10.50em;
    float: left;
    background-color: #f7eecd;
    border: 0.13em solid #19470f;
    /*border-left: 0;*/
    margin-bottom: 1.25em;
    margin-left: -0.13em;
    text-align: center;
}
#sidebar_right ul {
    display: inline;
}
#sidebar_right li {
    display: inline;
}
#sidebar_right li span {
    font-weight: bold;
    font-size: 0.8em;
    line-height: 1em;
}
#sidebar_right li img {
    margin: 0.3em 0 1em 0;
}

/* menu head */
#sidebar_menuhead {
    position: absolute;
    top: 10.3em;
    left: 11.8em;
    text-align: center;
}
#sidebar_menuhead ul {
    display: inline;
}
#sidebar_menuhead ul li {
    display: inline;
    padding: 0 1.2em 0 0;
}
#sidebar_menuhead ul li a {
    color: #19470f;
    text-decoration: none;
    font-size: 0.9em;
}
.menuhead_1 {
    width: 38.13em;
}
.menuhead_2 {
    width: 48.9em;
}

/* menu main */
#menu_main {
    width: 10.38em;
    overflow: hidden;
}
#menu_main a {
    text-decoration: none;
}
#menu_main li {
    /* display: block; */
    width: 10.38em;
    margin-bottom: 0.9em;
}
#menu_main li a {
    display: block;
    width: 10.38em;
    color: #19470f;
    background: url('images/nav_btn_passive_top.png') no-repeat right top;
}
#menu_main li a span {
    display: block;
    background: url('images/nav_btn_passive_bottom.png') no-repeat right bottom;
    padding: 0.7em 0 0.8em 1.2em;
    font-size: 0.88em;
}

#menu_main li.current_page_item a {
    background: url('images/nav_btn_active_top.png') no-repeat right top;
    color: #fff;
}
#menu_main li.current_page_ancestor a  {
    background: url('images/nav_btn_active_top.png') no-repeat right top;
    color: #fff;
}
#menu_main li.current_page_item a span {
    background: url('images/nav_btn_active_bottom.png') no-repeat right bottom;
}
#menu_main li.current_page_ancestor a span {
    background: url('images/nav_btn_active_bottom.png') no-repeat right bottom;
}

/* only show current subpages */
#menu_main ul {
    display: none;
}
#menu_main li.current_page_item ul {
    display: block;
}
#menu_main li.current_page_ancestor ul {
    display: block;
}

/* subpages */
#menu_main li ul {
    margin: 0.3em 0 0 2.9em;
    padding: 0 0 0 0;
    color: #19470f;
}
#menu_main ul li {
    list-style-type: disc;
    margin-bottom: 0;
    width: auto;
}
#menu_main li ul li a {
    margin-left: -0.35em; /* Abstand zu Listpunkten im Submenü */
    background: none;
}
#menu_main li ul li span {
    font-size: 0.75em;
    line-height: 1.4em;
    background: none;
    padding: 0;
}
#menu_main li ul li.current_page_item a {
    background: url();
    color: #19470f;
    font-weight: bold;
}
#menu_main li.current_page_ancestor ul li a {
    background: url();
    color: #19470f;
}
#menu_main ul li.current_page_item a span {
    background: none;
}
#menu_main li.current_page_ancestor ul li a span {
    background: none;
}
#menu_main li ul li.current_page_parent a {
    background: url();
    color: #19470f;
    font-weight: bold;
}
#menu_main li.current_page_item ul li a {
    background: none;
    color: #19470f;
}
#menu_main li.current_page_item ul li a span {
    background: none;
}

/* tabbar content */
#tabbar {
    float: left;
    width: 48.75em;
    height: 1.50em;
    border: 0.13em solid #19470f;
    border-bottom: 0em;
    background-color: #d3b76b;
}
#tabbar li {
    float: left;
}
#tabbar li a {
    display: block;
    height: 1.50em;
    text-decoration: none;
}
#tabbar span {
    display: block;
    padding: 0.15em 1em 0 1em;
    font-size: 0.88em;
    color: #19470f;
    white-space: nowrap;
}
#tabbar li.current_page_item a {
    background-color: #19470f;
}
#tabbar li.current_page_item a span {
    color: #fff;
}

/* images */
#head_signet_wem {
    position: absolute;
    left: 1.90em;
    top: 0.7em;
    width: 14.13em;
    height: 6.06em;
}
#head_bg_mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 62.50em;
    height: 12.50em;
}
#head_img {
    position: absolute;
    left: 17.50em;
    top: 0;
    width: 45.00em;
    height: 8.13em;
}

/* ancor */
.ancor {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    line-height: 0;
}
.ancor img {
    width: 1.50em;
    height: 1.25em;
}

/* content */
h1,h2,h3,h4,h5,h6,p,ul,li,hr,address {
    margin: 0;
    padding: 0;
}
.elements h1,h2,h3,h4,h5,h6,hr,address {
    clear: both;
}

/* sidebar_aktuelles */
#sidebar_aktuelles {
    text-align: left;
}
#sidebar_aktuelles span {
    display: block;
}
#sidebar_aktuelles ul {
    display: block;
    margin: 0.8em 0 0 0;
}
#sidebar_aktuelles ul li {
    display: block;
    list-style-type: none;
    white-space: nowrap;
}
#sidebar_aktuelles ul li a {
    text-decoration: none;
    color: #19470f;
}

/* headlines */
.elements h1 {
    font-size: 1.4em;
    line-height: 1.4em;
    color: #19470f;
    text-align: center;
}
.elements h2 {
    font-size: 1.0em;
    line-height: 1.2em;
    padding: 0.2em 0 0.4em 0;
    color: #fff;
    text-align: center;
    background-color: #19470f;
}
.elements h3 {
    font-size: 1.2em;
    line-height: 1.2em;
    color: #19470f;
    padding: 0.2em 0 0.4em 0;
}
.elements h4 {
    font-size: 1em;
    line-height: 1em;
    color: #19470f;
    padding: 0.2em 0 0.4em 0;
}
.elements h5 {
    font-size: 0.9em;
    line-height: 0.9em;
    color: #19470f;
    padding: 0.2em 0 0.4em 0;
    
}
.elements h6 {
    font-size: 0.8em;
    line-height: 0.8em;
    color: #000;
    padding: 0.2em 0 0.4em 0;
}
.elements h1.Ueberschrift_Rot {
    color: red;
}
.elements h3.Ueberschrift_Rot {
    color: red;
}
.elements h4.Ueberschrift_Rot {
    color: red;
}
.elements h5.Ueberschrift_Rot {
    color: red;
}
.elements h6.Ueberschrift_Rot {
    color: red;
}

.elements .Ueberschrift_Tabelle_Rot {
    background-color: #D72B1E;
    color: #fff;
}
.elements .Ueberschrift_Tabelle_Blau {
    background-color: #004BD7;
    color: #fff;
}

/* paragraphs */
.elements p {
    font-size: 0.9em;
    line-height: 1.3em;
    color: #000;
    text-align: left;
}
.elements p.normaleSchrift_Gruen {
    color: #19470f;
}
.elements p.kleineSchrift_Gruen {
    font-size: 0.75em;
    line-height: 1.1em;
    color: #19470f;
}
.elements p.kleineSchrift_Schwarz {
    font-size: 0.75em;
    line-height: 1.1em;
    color: #000;
}

/* address */
.elements address {
    font-size: 0.8em;
    line-height: 1em;
    color: #000;
    text-align: left;
    font-style: italic;
}

/* lines */
.elements hr {
    display: block;
    border: none;
    height: 0.13em;
    line-height: 0;
    color: #19470f;
    background-color:#19470f;
}
.elements hr.grueneLinie_klein {
    height: 0.07em;
}
.elements hr.Block {
    height: 0.08em;
    color: #f7eecd;
    background-color:#f7eecd;
}

/* lists */
.elements ul {
    display: block;
    margin-left: 2em;
}
.elements ul li {
    list-style-type: disc;
    margin: 0 0 0.3em 0;
    font-size: 0.9em;
    line-height: 1.2em;
}
.elements ol {
    display: block;
}
.elements ol li {
    list-style-type: decimal;
    margin: 0 0 0.3em 0;
    font-size: 0.9em;
    line-height: 1.2em;
}
.elements * li.kleineSchrift_Gruen {
    font-size: 0.8em;
    color: #19470f;
}
.elements * li.kleineSchrift_Schwarz {
    font-size: 0.8em;
    color: #000;
}
.elements ul.content_sidebar_ul {
    margin: 0;
    padding: 0;
}

/* images */
.elements p img {
    margin: 0.3em 0 0 0;
}
.elements p.kleineSchrift_Gruen img {
    margin: 0 0 0.2em 0;
}
.elements p.kleineSchrift_Schwarz img {
    margin: 0 0 0.2em 0;
}

/* fix changes of wp, filtering now stylenames to lowercase */
.elements h1.ueberschrift_rot {
    color: red;
}
.elements h3.ueberschrift_rot {
    color: red;
}
.elements h4.ueberschrift_rot {
    color: red;
}
.elements h5.ueberschrift_rot {
    color: red;
}
.elements h6.ueberschrift_rot {
    color: red;
}
.elements .ueberschrift_tabelle_rot {
    background-color: #D72B1E;
    color: #fff;
}
.elements .ueberschrift_tabelle_blau {
    background-color: #004BD7;
    color: #fff;
}
.elements .ueberschrift_tabelle_gelb {
    background-color: #FBD13F;
    color: #000;
}
.elements p.normaleschrift_gruen {
    color: #19470f;
}
.elements p.kleineschrift_gruen {
    font-size: 0.75em;
    line-height: 1.1em;
    color: #19470f;
}
.elements p.kleineschrift_schwarz {
    font-size: 0.75em;
    line-height: 1.1em;
    color: #000;
}
.elements hr.gruenelinie_klein {
    height: 0.07em;
}
.elements ul li.kleineschrift_gruen {
    font-size: 0.8em;
    color: #19470f;
}
.elements ul li.kleineschrift_schwarz {
    font-size: 0.8em;
    color: #000;
}
.elements p.kleineschrift_gruen img {
    margin: 0 0 0.2em 0;
}
.elements p.kleineschrift_schwarz img {
    margin: 0 0 0.2em 0;
}



.elements .alignleft {
    float: left;
}
.elements img.alignleft {
    margin-right: 1.37em;
}
.elements .alignright {
    float: right;
}
.elements img.alignright {
    margin-left: 1.37em;
}
.elements .aligncenter {
    display: block;
	margin-left: auto;
	margin-right: auto;
}

.elements .wp-caption {
    margin: 1em 0.6em 0.4em 0;
}
.elements .wp-caption-text {
    margin: 0.2em 1.26em 0 0;
    font-size: 0.8em;
    line-height: 1.1em;
    text-align: left;
}

/* elements spaces */
.elements h1 {

}
.elements h2 {
    margin-top: 2em;
}
.elements h3 {
    margin-top: 1em;
}
.elements h4 {
    margin-top: 1em;
}
.elements h5 {
    margin-top: 1em;
}
.elements h6 {
    margin-top: 1em;
}
.elements p {
    margin-top: 1em;
}
.elements ul {
    margin-top: 1em;
}
.elements hr {
    margin-top: 1em;
}
.elements address {
    margin-top: 1em;
}

.elements h1+h2 {
    margin-top: 1em;
}
.elements hr+h1 {
    margin-top: 0.8em;
}
.elements li>ul {
    margin-top: 0.2em;
    font-size: 1.1em;
}

/* links */
.elements p a, 
.elements li a,
.elements table a {
    color: #6D4B04;
}
.elements p a:hover, 
.elements li a:hover,
.elements table a:hover {
    color: #000;
}


/* posts */
.post_list hr {
    border: none;
    height: 0.08em;
    line-height: 0;
    color: #19470f;
    background-color:#19470f;
}
.more-link {
    display: block;
    float:right;
    margin: 1.4em 0 0.25em 0;
    text-decoration: none;
    color:#19470f;
}

/* tables */
.elements .singleline {
    white-space: nowrap;
    padding-left: 0.8em;
    padding-right: 0.8em;
    text-align: left;
}
.elements .table {
    display: block;
	padding: 0.5em 0.6em 0.5em 0.6em ;
	margin: 1em auto 0 auto;
	border-collapse:collapse;
	border: 0.13em solid #2f481b;
	-moz-border-radius: 0.8em;
	-khtml-border-radius: 0.8em;
	-webkit-border-radius: 0.8em;
	border-radius: 0.8em;
}

/* table calendar legend */
.elements .calendar_legend {
    margin: 0.5em 0 1em 0.8em;
    
}
.elements .calendar_legend ul {
    margin: 0;
    padding: 0;
}
.elements .calendar_legend li {
    position: relative;
    list-style-type: none;
    display: block;
    padding: 0.4em 0 0.4em 52px;
    height: 1.2em;
}
.elements .calendar_legend .diesel {
    background: url('images/icon_diesel.png') no-repeat center left;
    cursor: pointer;
}
.elements .calendar_legend .diesel_plus {
    background: url('images/icon_diesel_plus.png') no-repeat center left;
    cursor: pointer;
}
.elements .calendar_legend .dampf {
    background: url('images/icon_dampf.png') no-repeat center left;
    cursor: pointer;
}
.elements .calendar_legend .special {   
    background: url('images/icon_special_rahmen.png') no-repeat center left;
}

/* table calendar */
.elements .calendar {
    border-collapse: separate;
    border-spacing: 0;
    empty-cells: show;
    margin: 0.5em auto 0 auto;
    width: 100%;
}
.elements .calendar thead {
    background-color: #deb966;
    text-align: center;
    height: 1.6em;
    line-height: 1.5em;
    color: #000;
    vertical-align: top;
}
.elements .calendar tbody td {
    font-size: 0.9em;
    width: 1.7em;
    height: 1.7em;
    text-align: center;
}
.elements .calendar tbody td a {
    /* Sonderveranstaltung mit Rahmen */
    color: black;
}
.elements .calendar tbody td a {
    /* Sonderveranstaltung mit Rahmen */
    color: black;
}
.elements .calendar .list td {
    border-bottom: 0.1em solid #000;
}
.elements .calendar .listend td {
    border-bottom: 0;
}
.elements .calendar .day {
    font-size: 0.8em;
    font-weight: bold;
    text-align: left;
    padding: 0 3em 0 1em;
}
.elements .calendar .dampf {
    background-color: #D72B1E;
    color: white;
    cursor: pointer;
}
.elements .calendar .sonder.dampf a {
    /* Sonderveranstaltung mit Rahmen */
    color: white;
}
.elements .calendar .diesel {
    background-color: #004BD7;
    color: white;
    cursor: pointer;
}
.elements .calendar .sonder.diesel a {
    /* Sonderveranstaltung mit Rahmen */
    color: white;
}
.elements .calendar .diesel_plus {
    background-color: #FBD13F;
    cursor: pointer;
}
.elements .calendar .sonder {
    /* Sonderveranstaltung mit Rahmen
    background-color: #62B24E; */
    cursor: pointer;
}
.elements .calendar .sonder a {
    display: block;
    /* Sonderveranstaltung mit Rahmen 
    color: white; */
    text-decoration: none;
    /* Sonderveranstaltung mit Rahmen 
    width: 1.7em; 
    height: 1.7em;
    line-height: 1.7em; */
    text-align: center;
    
    /* Sonderveranstaltung mit Rahmen */
    width: auto;
    *margin-right: -0.10em;
    height: 1.528em;
    line-height: 1.52em;
    border-top: 0.1em solid #000;
    border-bottom: 0.1em solid #000;
    border-left: 0.16em solid #000;
    border-right: 0.16em solid #000;
}
.elements .calendar .listend .sonder a {
    /* Sonderveranstaltung mit Rahmen */
    border-bottom: 0.2em solid #000;
}
.elements .calendar tbody tr:first-child .sonder a {
    /* Sonderveranstaltung mit Rahmen */
    border-top: 0.2em solid #000;
}

.elements .calendar .red {
    color: red;    
}
.elements .calendar .red a {
    /* Sonderveranstaltung mit Rahmen */
    color: red;    
}

/* table timetable */
.elements .timetable {
    border-collapse: separate;
    
    empty-cells: show;
    border-spacing: 0;
    empty-cells: show;
    margin: 0 auto 0 auto;
    width: 100%;
}
.elements .timetable thead td {
    height: 1.6em;
    border-bottom: 0.14em solid #000;
}


.elements .timetable .icon_diesel {
    background: url('images/lok_diesel.png') no-repeat center center;
}
.elements .timetable .icon_diesel_plus {
    background: url('images/lok_diesel.png') no-repeat center center;
}
.elements .timetable .icon_dampf {
    background: url('images/lok_dampf.png') no-repeat center center;
}
.elements .timetable tbody td {
    font-size: 0.9em;
}
.elements .timetable .list td {
    border-bottom: 0.1em solid #000;
}
.elements .timetable.diesel .time {
    padding: 0.2em 1em 0.2em 1em;
    background-color: #004BD7;
    text-align: center;
    color: #fff;
    width: 1em;
}
.elements .timetable.dampf .time {
    padding: 0.2em 1em 0.2em 1em;
    background-color: #D72B1E;
    text-align: center;
    color: #fff;
    width: 1em;
}
.elements .timetable.diesel_plus .time {
    padding: 0.2em 1em 0.2em 1em;
    background-color: #FBD13F;
    text-align: center;
    color: #000;
    width: 1em;
}
.elements .timetable .table_spacer td {
    border-top: 1px solid #f7eecd;
    border-bottom: 1px solid #f7eecd;
    height: 0.4em;
    line-height: 0;
    padding: 0;
}
.elements .timetable.diesel .table_spacer td {
    background-color: #004BD7;
}
.elements .timetable.dampf .table_spacer td {
    background-color: #D72B1E;
}
.elements .timetable.diesel_plus .table_spacer td {
    background-color: #FBD13F;
}
.elements .timetable td.footnote {
    border: 0;
    padding: 0 1em 0 0;
    width: 10px;
}
.elements .timetable.diesel td.footnote {
    background-color: #f7eecd;
}
.elements .timetable.dampf td.footnote {
    background-color: #f7eecd;
}
.elements .timetable.diesel_plus td.footnote {
    background-color: #f7eecd;
}

.elements .timetable .from td {
    font-weight: bold;
}
.elements .timetable .to td {
    font-weight: bold;
}
.elements .timetable td.arrow {
    padding: 0.2em 1em 0.2em 1em;
    border: 0;
    text-align: center;
}
.elements .timetable .start {
    background: url('images/arrow_start.png') no-repeat top center;   
}
.elements .timetable .between {
    background: url('images/arrow_between.png') repeat-y top center;
}
.elements .timetable .end {
    background: url('images/arrow_end.png') no-repeat bottom center;
}
.elements .timetable .station {
    padding: 0.2em 1em 0.2em 0;
    text-align: left;
    white-space: nowrap;
}



/* yerbox */
.yerbox_close_btn1 {
    top: 10px;
    right: 20px;
    width: 23px;
    height: 22px;
    background: url('js/yerbox-0.3/themes/simple/img/close.png') no-repeat;
    cursor: pointer;
}
.yerbox_content1 {
    background-color: #f7eecd;
}

/* sitemap */
#sitemap {
    margin-top: 1em;
    font-size: 1.04em;
}
#sitemap ul {
    color: #19470f;
    padding: 0;
    margin-top: 0.3em;
}
#sitemap ul a {
    color: #19470f;
    text-decoration: none;
}
#sitemap ul a:hover {
    color: #000;
    text-decoration: underline;
}
#sitemap ul li {
    padding: 0.2em 0 0.2em 0;
    margin: 0;
}
#sitemap .cat-item {
    margin-top: 1.6em;
}






