/* Selectmenu
----------------------------------*/
.ui-selectmenu { display: block; display: inline-block; position: relative; height: 2.2em; vertical-align: middle; text-decoration: none; overflow: hidden; zoom: 1; }
.ui-selectmenu-icon { position:absolute; right:6px; margin-top:-8px; top: 50%; }
.ui-selectmenu-menu { padding:0; margin:0; position:absolute; top: 0; display: none; z-index: 1005;} /* z-index: 1005 to make selectmenu work with dialog */
.ui-selectmenu-menu  ul { padding:0; margin:0; list-style:none; position: relative; overflow: auto; overflow-y: auto ; overflow-x: hidden; -webkit-overflow-scrolling: touch;} 
.ui-selectmenu-open { display: block; }
ul.ui-selectmenu-menu-popup { margin-top: -1px; }
.ui-selectmenu-menu li { padding:0; margin:0; display: block; border-top: 1px dotted transparent; border-bottom: 1px dotted transparent; border-right-width: 0 !important; border-left-width: 0 !important; }
.ui-selectmenu-menu li a,.ui-selectmenu-status { line-height: 1.4em; display: block; padding: .405em 2.1em .405em 1em; outline:none; text-decoration:none; }
.ui-selectmenu-menu li.ui-state-disabled a, .ui-state-disabled { cursor: default; }
.ui-selectmenu-menu li.ui-selectmenu-hasIcon a,
.ui-selectmenu-hasIcon .ui-selectmenu-status { padding-left: 20px; position: relative; margin-left: 5px; }
.ui-selectmenu-menu li .ui-icon, .ui-selectmenu-status .ui-icon { position: absolute; top: 1em; margin-top: -8px; left: 0; }
.ui-selectmenu-status { line-height: 1.4em; }
.ui-selectmenu-menu li span,.ui-selectmenu-status span { display:block; margin-bottom: .2em; }
.ui-selectmenu-menu li .ui-selectmenu-item-header { font-weight: bold; }
.ui-selectmenu-menu li .ui-selectmenu-item-footer { opacity: .8; }
/* for optgroups */
.ui-selectmenu-menu .ui-selectmenu-group { font-size: 1em; }
.ui-selectmenu-menu .ui-selectmenu-group .ui-selectmenu-group-label { line-height: 1.4em; display:block; padding: .6em .5em 0; font-weight: bold; }
.ui-selectmenu-menu .ui-selectmenu-group ul { margin: 0; padding: 0; }
/* IE6 workaround (dotted transparent borders) */
* html .ui-selectmenu-menu li { border-color: pink; filter:chroma(color=pink); width:100%; }
* html .ui-selectmenu-menu li a { position: relative }
/* IE7 workaround (opacity disabled) */
*+html .ui-state-disabled, *+html .ui-state-disabled a { color: silver; }
body {
    margin: 0;
    font-size: 13px;
    font-family: Helvetica, Arial, sans-serif;
}

/* IE img border: */

a img {
    border: none;
}

#topbar {
    background: url('/static/website/img/toolbar0.gif?88cce285fdd5') repeat-x scroll center top transparent;
    padding: 0.25em 0.5em 0.4em;
}

#searchbar {
    background-color: #EFEFEF;
    border-top: 1px solid #BBB;
    border-bottom: 1px solid #BBB;
}

/* ===== startpage_text (temporary) ===== */


#startpage_text
{
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 900px;
    vertical-align: top;
    height: 15em;
}

#startpage_text > div {
    width: 400px;
    float: left;
    background-color: #eeeeee;
    border-radius: 10px;
    -moz-border-radius: 10px;
    height: 15em;
    padding: 15px;
}

#startpage_text_left
{
}

#startpage_text_right
{
    margin-left: 2em;
}

#startpage_text h2
{
    font-size: 16px;
    font-weight: normal;
}

#startpage_text li
{
    margin: 1em 0;
}

/* ===== Flatpages ===== */

.flatpage
{
	width: 60em;
	padding-top: 15px;
	margin: auto;
}

.flatpage a {
    font-weight: bold;
}

.flatpage em {
    font-weight: bold;
}

.flatpage blockquote.important {
    border: 1px solid black;
    border-radius: 0.5em;
    padding: 1em;
    margin-top: 2em;
    margin-bottom: 2em;
}

.flatpage h2
{
    font-size: 1.5em;
}

.flatpage h3
{
    font-size: 1.25em;
    padding: 0;
    margin-top: 13px;
}

.flatpage h4
{
    font-size: 1em;
    margin-top: 13px;
}

.flatpage_img_right {
	float: right;
	margin-left: 20px;
	margin-right: 20px;
}

.flatpage table th, .flatpage table tr:nth-child(even) {
        background-color: #EFEFEF;
}

.info_bottom_right_menue
{
    border:1px solid #ddd;
    padding:10px;
    float:right;
    width:250px;
    background-color:#e8f4fc;
    margin-right:20px;
    margin-left: 20px;
}

.news_header {
    background-color: #F8F8F8;
    margin-top: 10px;
    padding: 3px 3px 3px 10px;
}

.news_title 
{
    color: #4183C4;
    font-size: 110%;
    font-weight: bold;
    text-decoration: none;
}

.news_body {
    color: #000000;
    padding: 10px;
}

.content_pagination 
{
    float: right;
    padding-right: 20px;
}

#content_pagination_pages {
    text-align: center;
}

#content_pagination_pages a 
{
    background-color: #FFFFFF;
    border: 1px solid #999999;
    color: #1C8DC6;
    font-size: 10px;
    padding: 1px 4px;
    text-decoration: none;
}

#pub_table td 
{
    border-bottom: 1px solid #DAE2E8;
}

/* ===== form_table for Django-generated forms ===== */

.form_table {
    text-align: left;
}

.form_table td, .form_table th {
    vertical-align: top;
}

.form_table th {
    white-space: nowrap;
    vertical-align: top;
}

/* ===== Text and link colors ===== */

a {
    color: #3B72AA;
    text-decoration: None;
}

a:hover {
    color: maroon;
}

#topbar, #topbar a {
    color: #97C9F2;
}

#topbar a:hover {
    color: White;
}

/*.fixedmenu a {
    color: #2E6E9E;
    text-decoration: None;
}*/


/* ===== Panel base ===== */

.panel_frame 
{
    border: 1px solid #BBB;
    border-radius: 0.5em;
    margin: 0.5em;
    width: 460px;
}

.content_panel {
    height: 360px;
    overflow: auto;
    line-height: 1.3em;
}
 
.gripper {
    background: url('/static/website/img/background_navigation.gif?88cce285fdd5') 0 -1px repeat-x;
    border-radius: 0.5em 0.5em 0 0;
    color: #125A95;
    text-align: right;
    padding: 0.25em 0.5em 0.125em;
    border-bottom: 1px solid #BBB;
}

.left_head_panel
{
    float: left;
}

.footer {
    background: url('/static/website/img/background_navigation.gif?88cce285fdd5') 0 -1px repeat-x;
    border-radius: 0 0 0.5em 0.5em;
    text-align: right;
    color: #555;
    padding: 0.125em 0.5em 0.125em;
    border-top: 1px solid #BBB;
}

.footer a.active {
    color: #555;
    cursor: default;
    pointer-events: none;
}

.base_panel_header, .base_panel_footer, .base_panel_main {
    padding-left: 1em;
    padding-right: 1em;
}

.base_panel_header, .base_panel_footer {
    background-color: #E8F4FC;
    padding-bottom: 0.5em;
}

.base_panel_header {
    padding-top: 0.75em;
    border-bottom: 1px dotted #BBB;
}

.base_panel_header:last-child {
    /* keine gepunktete Line, wenn nach dem Header nichts folgt */
    border-bottom: none;
}

.base_panel_footer {
    border-top: 1px dotted #BBB;
}

.base_panel_main {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

/* ===== jQuery UI overrides ===== */

.ui-widget {
    font-family: inherit;
    font-size: inherit;
}
.ui-button, .ui-selectmenu, .ui-selectmenu-item-focus.ui-state-hover, .ui-accordion-header.ui-state-default, .panel_select.ui-state-hover {
    color: #2E6E9E;  /* color_middle_blue */
    background: #E8F4FC;  /* color_light_blue2 */
}
.ui-button, .ui-selectmenu, .ui-accordion-header.ui-state-default {
    font-weight: bold;                
}
.panel_select.ui-state-hover {
    border: 1px solid #BBB !important;  /* color_middle_gray */
}            
.ui-widget-content {
    background: #EFEFEF;  /* color_light_gray */
}

