/*
Theme Name: Ferme 1
Theme URI:
Description: Theme mit 2 Spalten und fester Breite f&uuml;r marionferme.net. Die rechte Seitenleiste unterst&uuml;tzt 4 sidebars welche alle Widges enthalten k&ouml;nnen. Viersprachig, valides XHTML und CSS.
Version: - Version: 1.4
Author: SoFi
Author URI:
Tags: two-columns, fixed width, right sidebar, threaded-comments
*/

* { 
  margin: 0; 
  padding: 0; 
}

html, body { 
  height: 100%; 
  margin-bottom: 1px; 
}

body {
  background-color: #015F72;
  background-image: url(bilder/css/body_bg.gif);
  background-repeat: no-repeat;
  background-position: center top;
  color: #444;
  font-size: 62.5%; /* Zurücksetzen 1em auf 11px */
  font-family: Verdana, Arial, Sans-Serif;
  text-align: left;
}

a { 
  color: #EA7A01;
  text-decoration: none; 
}

a.postentry:hover { text-decoration: underline; }

h1, h1 a, h2, h2 a, h3, h4, h5, h6 {
  color: #EA7A01;
  text-align: left;
  font-weight: normal;
}

h1 { font-size: 3.9em; margin: 0 0 10px 0; padding-top: 10px; font-family: Georgia, "Times New Roman", Times, serif; }
h2 { font-size: 2.0em; margin: 0 0 10px 0; font-family: Georgia, "Times New Roman", Times, serif; }
h3 { font-size: 1.6em; }
h4 { clear: both; width: 100%; border: 0; font-size: 1px; color: #fff; }
h5 { line-height: 10px; color: #ffffff; margin: 10px 0 10px 0; }
h6 { line-height: 30px; color: #ffffff; clear: both; width: 100%; border-bottom: 2px dotted #EA7A01; margin: 20px 0 20px 0; }

h1.left { float: left; }

img { border: 0; }

pre {
  font-size: 12px;
  overflow: auto;
}

code {
  font-size: 12px;
  background-color: #f8f8f8;
  color: #111;
}

/* Die großen Boxen ###################################### */

#wrapper {
  width: 984px;
  margin: 0 auto;
  padding-top: 0;
}

#headerlink {
  width: 984px;
  height: 102px;
  background-image: url(bilder/css/headerlink_bg.png);
  background-repeat: no-repeat;
  background-position: 275px 0px;
}

.img_headerlink { margin-left: 275px; }

#header {
  width: 984px;
  height: 66px;
  background-image: url(bilder/css/header_bg.gif);
  background-repeat: no-repeat;
}

#wrapper_content {
  width: 984px;
  background-image: url(bilder/css/wrapper_content_bg.gif);
  background-repeat: repeat-y;
}

#footer {
  width: 984px;
  height: 66px;
  background-image:url(bilder/css/wrapper_fuss_bg.gif);
  background-repeat: no-repeat;
}

#content {
  float: left;
  width: 693px;
  margin-top: -27px;
  padding: 0 27px 25px 27px;
  background-color: #fff;
  background-image: url(bilder/css/content_bg.gif);
  background-repeat: repeat-y;
}

#content_page {
  float: left;
  width: 673px;
  margin-top: -27px;
  padding: 0 37px 25px 37px;
  background-color: #fff;
  background-image: url(bilder/css/content_bg.gif);
  background-repeat: repeat-y;
}

#sidebar {
  float: right;
  width: 230px;
  padding-right: 7px;
}

/* Die 3 Frontboxen ###################################### */

#content_frontbox { clear: both; }

#content_frontbox a:hover { text-decoration: underline; }

div.frontbox {
  height: 230px;
  width: 191px;
  padding: 20px 0 20px 10px;
  overflow: hidden;
  float: left;
}

#content_frontbox p,
.frontboxentry p {
  margin: 0;
}

#box1.frontbox {
  padding-right: 34px;
  background-image: url(../../uploads/_frontbox1_bg.jpg);
  background-repeat: no-repeat;
}

#box2.frontbox {
  padding-right: 34px;
  background-image: url(../../uploads/_frontbox2_bg.jpg);
  background-repeat: no-repeat;
}

#box3.frontbox {
  padding-right: 22px;
  background-image: url(../../uploads/_frontbox3_bg.jpg);
  background-repeat: no-repeat;
}

div.frontbox h2 {
  text-align: center;
  margin: 0;
}

div.frontbox h2 a {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 15px;
  font-weight: bold;
}

div.frontboxentry {
  padding-top: 136px;
  font-size: 1.2em;
}

div.frontboxentry a.post-edit-link { font-size: 0.8em; }

/* Sidebar 1 und 2 ###################################### */

#sidebar, 
#sidebar ul, 
#sidebar li { list-style-type: none; }

#sidebar ul ul { border-top: 1px solid #4E909D; }

#sidebar ul li.widget_extended_categories_init ul { border-top: 0; }

#sidebar ul ul ul { border-top: 1px solid #4E909D; }

#sidebar li li { border-bottom: 1px solid #4E909D; }

#sidebar li li li { border: 0; }

#sidebar li.widget_pages, 
#sidebar li.widget_extended_categories_init,
#sidebar li.flexipages_widget { width: 100%; vertical-align: top; } /* IE - Fix */

#sidebar ul h2 {
  color: #4588c4;
  font-size: 1.2em;
  margin: 0;
}

#sidebar li.page_item a, 
.widget_links a, 
.cat-item a {
  display: block;
  padding-left: 20px;
  background-color: #fff;
  font: bold 12px/22px verdana, arial, sans-serif;
  color: #026A7E;
  text-decoration: none;
}

#sidebar li.page_item a:hover, 
.widget_links a:hover, 
.cat-item a:hover {
  background-color: #4E909D;
  color: #fff;
  text-decoration: none; 
}

#sidebar li.page_item li.page_item a {
  display: block;
  padding-left: 35px;
  background-color: #fff;
  font: normal 12px/22px verdana, arial, sans-serif;
  color: #026A7E;
  text-decoration: none;
}

#sidebar li.page_item li.page_item a:hover {
  background-color: #4E909D;
  color: #fff;
  text-decoration: none; 
}

/* aktuelle Seite hervorheben ###################################### */

#sidebar li.current_page_item a {
  background-color: #FFF0CC;
  color: #EA7A01;
  text-decoration: none;
  background-image: url(bilder/css/sidenav_aktiv.gif);
  background-repeat: no-repeat;
}

#sidebar li.current_page_item li.page_item a {
  color: #026A7E;
  text-decoration: none;
  background-image: none;
}

#sidebar li.current_page_parent li.current_page_item a {
  background-color: #FFF0CC;
  color: #EA7A01;
  text-decoration: none;
}

#sidebar li.current_page_parent a {
  background-color: #FFF0CC;
  color: #EA7A01;
  text-decoration: none;
}

/* aktuelle Kategorie hervorheben ###################################### */

.current-cat a {
  background-color: #FFF0CC;
  color: #EA7A01;
  text-decoration: none;
  background-image: url(bilder/css/sidenav_aktiv.gif);
  background-repeat: no-repeat;
}

/* Second-Level Navigation ausblenden und bei Anwahl wieder sichbar machen ###################################### */

#sidebar ul ul ul { display: none; }

#sidebar ul ul li.current_page_item ul { display: block; }

#sidebar ul ul li.current_page_parent ul { display: block; }

/* Sidebar 2 ###################################### */

#sidebar ul div.menu ul { border-top: 0; }

#sidebar ul li.flexipages_widget h2 { display: none; }

/* Sidebar 3 ###################################### */

#sidebar .sidebar3text {
  border: 0;
  padding: 20px 10px 2px 20px;
  font: bold 12px/18px verdana, arial, sans-serif;
  color: #015F72;
}


#sidebar .sidebar3bild {
  border: 0;
  padding: 0 10px 20px 20px;
}

#sidebar .sidebar3bild img { border: 0; }

/* Sidebar 4 ###################################### */

#sidebar ul ul.xoxo { border: 0; }
#sidebar ul ul.xoxo li { border: 0; }

#sidebar li.widget4 a {
  display: block;
  padding-left: 20px;
  background: none;
  font: normal 12px/18px verdana, arial, sans-serif;
  color: #015F72;
  text-decoration: none;
}

#sidebar li.widget4 a:hover {
  background-color: #4E909D;
  color: #fff;
  text-decoration: none;
}

#sidebar ul li.widget4 h2 {
  color: #4588c4;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0;
  padding: 30px 5px 0 10px;
}

/* Sidebar QTranslate Sprachen ###################################### */

#sidebar ul ul.qtrans_language_chooser {
  height: 22px;
  width: 190px;
  padding: 0 20px 10px 20px;
  border: 0;
}

#sidebar ul ul.qtrans_language_chooser li { border: 0; }

#sidebar ul ul.qtrans_language_chooser li {
  float: left;
  padding-right: 10px;
}

#sidebar ul ul.qtrans_language_chooser li a {
  height: 18px;
  width: 29px; 
  display: block; 
  border: 2px solid #CAE9ED;
}

#sidebar ul ul.qtrans_language_chooser li a:hover { border: 2px solid #fff; }

.qtrans_widget_end { clear: both; }

.qtrans_flag { height: 18px; width: 29px; display: block; }
.qtrans_flag_de { background: url(bilder/css/de.png) no-repeat; }
.qtrans_flag_en { background: url(bilder/css/gb.png) no-repeat; }
.qtrans_flag_fr { background: url(bilder/css/fr.png) no-repeat; }
.qtrans_flag_ru { background: url(bilder/css/ru.png) no-repeat; }

/* Sidebar Searchform ###################################### */

#searchform {
  width: 182px;
  height: 26px;
  padding: 0 28px 30px 20px;
}

#searchform input {
  float: left;
  display: inline;
  width: 145px;
  height: 18px;
  border: 0;
  padding: 5px 5px 3px 5px;
  background-image:url(bilder/css/searchfield_bg.gif);
  background-repeat: no-repeat;
  color:#333;
  font-size:1.1em;
}

#searchform input[type=hidden], 
#searchform input.invisible { display: none; }

#searchform .searchbutton {
  display: block;
  cursor: pointer;
  width: 27px;
  height: 26px;
  border: 0;
  background-image:url(bilder/css/searchbutton_bg.gif);
  background-repeat: no-repeat;
  background-position: 0 0;
}

#searchform .searchbutton:hover {
  background-position: -27px 0;
}

/* Footer ###################################### */

#footertext {
  padding: 38px 10px 0 0;
  text-align: right;
  color: #9EC6CB;
}

#footertext a { 
  color:#9EC6CB; 
  text-decoration: none; 
}

#footertext a:hover { 
  color:#fff; 
  text-decoration: underline; 
}

/* Post ###################################### */

.line_2 {
  height: 1px;
  clear: both; 
  width: 100%; 
  border-bottom: 2px dotted #EA7A01; 
  margin: 0 0 20px 0;
}

hr {
  clear: both;
  width: 100%;
  height: 2px;
  background-color: #fff;
  color: #fff;
  border-top: 2px dotted #EA7A01;
  margin: 0 0 20px 0;
}

#content_page p { margin-bottom: 1.2em; }

div.postentry p { 
  padding-right: 12px; 
  margin-bottom: 1.2em; 
}

#content_page .postentry {
  margin-top: 20px;
  clear:both;
}

.post {
  margin-bottom: 3em;
  clear: both;
}

.post p, 
.post ol li, 
.post ul li,
.postentry ol li,
.postentry ul li {
  font-size: 1.2em;
  line-height: 1.5em;
}

.post ol,
.post ul,
.postentry ol,
.postentry ul {
  padding-left: 14px;
}



.post li li {
  font-size: 1em;
}

.post blockquote {
  padding-left: 2em;
  border-left: 0.4em solid #ccc;
  font-size: 0.9em;
}

.post blockquote blockquote {
  font-size: 1em;
}

.postentry a {  }
.postentry a:hover { text-decoration: underline; }

.postmetadata {
  clear: both;
  margin: 1em 0;
  font-size: 1.1em;
  color: #888;
  text-align: justify;
}

div.navigation {
  float: right;
  text-align: right;
  width: 310px;
  font-size: 1.1em;
  margin-top: 16px;
}

div.navigation a {
  display: block;
  color: #015F72;
  padding: 5px;
  border: 1px solid #EA7A01;
}

div.navigation a:hover {
  color: #EA7A01;
}

.postentry table {
  border: 0;
  font-size: 1em;
  background-color: #F9F6ED;
  padding: 4px;
}

.postentry table tr td {
  padding: 5px;
  vertical-align: top;
}

.postentry table tr td.blank { border: 0; }

.postentry table tr td.underline { border-bottom: 1px solid #ccc; }

.postentry table tr th {
  border-width: 0;
  padding: 2px;
  color:#666;
  font-weight:bold;
  text-align:center;
}

/* Presseseiten ################################### */

.presspost {
  margin-bottom: 1em;
  clear: both;
}

div.pressbox {
  display: block;
  background-color: #F9F6ED;
  border: 1px solid #fff;
  padding: 8px;
}

div.pressbox:hover {
  background-color: #FFF0CC;
  border: 1px solid #EA7A01;
}

div.presslink {
  cursor: pointer;
  font-family: Verdana, Arial, Sans-Serif;
  font-size: 1.2em;
  font-weight: normal;
  line-height: 1.4em;
  margin: 0;
  color: #444;
  text-decoration: none;
}

div.presslink:hover {
  color: #EA7A01;
  text-decoration: none;
}

/* Toggle-divs und Button ################################### */

a.togglebox {
/*  display: block;  */
/*  width: 200px;  */
  padding: 5px;
  margin: 25px 0 15px 0;
  font-size: 1.2em;
  font-weight: bold;
  color: #fff;
  border: none!important;
  background-color: #EA7A01;
  cursor: pointer;
  vertical-align: middle;
  text-align: center;
  line-height: 26px;
}

a.togglebox:hover	{
  color: #fff;
  border: none!important;
  background-color: #015F72;
  cursor: pointer;
  text-decoration: none;
}

div.togglebox {
  display: block;
  background-color: #F9F6ED;
  border: 1px solid #fff;
  padding: 8px;
}

div.togglebox:hover {
  background-color: #FFF0CC;
  border: 1px solid #EA7A01;
}

div.togglelink {
  cursor: pointer;
  font-family: Verdana, Arial, Sans-Serif;
  font-size: 1.2em;
  font-weight: normal;
  line-height: 1.4em;
  margin: 0;
  color: #444;
  text-decoration: none;
}

div.togglelink:hover {
  color: #EA7A01;
  text-decoration: none;
}

/* Suchergebnis ################################### */

.searchfor {
  font-size: 1.2em;
  font-weight: normal;
  border-bottom: 2px dotted #EA7A01;
  padding: 0 0 20px 0;
}

/* Kommentare ################################### */

#comments {
  font-size: 1.2em;
}

.commentlist {
  margin: 20px 0;
  border-width: 0 0.1em 0.1em 0;
  border-color: #eee;
  border-style: solid;
}

.commentlist li {
  list-style: none;
  border-width: 0.1em 0 0 0.1em;
  border-color: #eee;
  border-style: solid;
}

li.comment div, 
li.pingback div {
  padding: 20px;
  overflow: auto;
}

li.comment div div, 
li.pingback div div { overflow: visible; }

.commentlist li.even { background-color: #fafafa; }

.commentlist li.odd { background-color: #f6f6f6; }

ul.children li { list-style: none; }

img.avatar {
  float: right;
  border: 1px solid #eee;
  padding: 2px;
  background: #fff;
}

.comment-meta, 
.reply { font-size: 0.8em; }

.comment-author cite {
  font-style: normal;
  font-weight: bold;
  font-size: 1.2em;
}


textarea#comment { width: 100%; }

#comments div.navigation { font-size: 0.9em; }

/* Kalender ################################### */

#wp-calendar caption {
  text-transform: uppercase;
  font-weight: bold;
  color: #aaa;
  text-align: left;
}

#wp-calendar thead th {
  font-weight: normal;
  color: #27a;
  text-align: center;
}

#wp-calendar tbody td { text-align: center; }

#wp-calendar tbody td a { font-weight: bold; }

#wp-calendar tbody td.pad { border: none; }

/* Kalender Ende ################################### */

abbr {
  cursor: help;
  border-bottom: 0.1em dotted;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin: 5px 15px 15px 0;
}

.alignright {
  float: right;
  margin: 5px 0 15px 15px;
}

.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
}

.wp-caption img {
  border: 0 none;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
}

/* Online Editor TinyMCE Advanced ################################### */

.ferme_audio_link {
  display: inline;
  background-image: url(bilder/css/ferme_audio_link_bg.jpg);
  background-repeat: no-repeat;
  line-height: 62px;
  padding: 12px 10px 16px 54px;
}

.ferme_doc_link {
  display: inline;
  background-image: url(bilder/css/ferme_doc_link_bg.jpg);
  background-repeat: no-repeat;
  line-height: 62px;
  padding: 12px 10px 16px 54px;
}

.ferme_pdf_link {
  display: inline;
  background-image: url(bilder/css/ferme_pdf_link_bg.jpg);
  background-repeat: no-repeat;
  line-height: 62px;
  padding: 12px 10px 16px 54px;
}

.ferme_zip_link {
  display: inline;
  background-image: url(bilder/css/ferme_zip_link_bg.jpg);
  background-repeat: no-repeat;
  line-height: 62px;
  padding: 12px 10px 16px 54px;
}




