/* 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 */
}


/* ===== Corpus results tables anywhere ===== */

.corpus_result {
    border-collapse: collapse;
}
    
.corpus_result td {
    vertical-align: top;
    height: 18px;
}

.corpus_result tr:nth-child(even) {
    background-color: #EFEFEF;
}

.corpus_result tr.cq_selected_row {
 /*   background-color: #FFED44;*/
}

.corpus_result tr.cq_selected_row td {
    padding-top: 1em;
    padding-bottom: 1em;
}

.corpus_result tr.cq_selected_row td.cq_wider_context {
    padding-left: 2em;
    padding-right: 2em;
}

.corpus_result .kwic_focus,  
.corpus_result .ddc_submark,  
.corpus_result .sentence_target,  

.cq_hit_token,  

.ddc_submark,  
.wdg_target  
{
    font-weight: bold;
    /*color: #3B72AA;*/
}

.corpus_result tr:hover {
/*    background-color: #FFED44;*/
    cursor: pointer;
}

/* Alle Wörterbücher: */

.wb .wb_container_zone_s, .wb .wb_zone_v {
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.wb .wb_zone_v {
	background-color: #E8F4FC;
	border-top: 1px dotted #BBB;
/*	padding: 3px 1em;*/
}

.wb .wb_lzga {
/*	color: #3B72AA;*/
	font-weight: bold;
}

.wb .wb_lzga_min {
/*	color: #3B72AA;*/
	font-weight: normal;
}

.wb .wb_feld {
	color: #555;
}

.wb .wb_feld:after {
	content: ":";
	color: #555;
}

.wb .wb_gram {
	color: maroon;
}

.wb .wb_ga {
	color: green;
}




.dwdswb2 .wb_zone_v {
	background-color: #e8f4fc;
	border-top: 1px dotted #ccc;
	padding: 3px 1em;
}

.dwdswb2 .wb_zone_vl:before {
	content: "● ";
	color: #666666;
}

.dwdswb2 .wb_zone_vl {
	padding-left: 2em;
	text-indent: -1em;
}

.dwdswb2 .wb_pattern {
	color: #2b629a;
        font-style: italic;
}

.dwdswb2 .wb_token {
	color: #3B72AA;
	font-weight: normal;
}

.dwdswb2 .dwdswb2_snippet {
    padding-left: 2px; 
    padding-right: 2px;
    background-color: #efefef;
}

.dwdswb2 .dwdswb2_snippet.second {
    border-top: 1px dotted #909090;
}

.dwdswb2.mobil .aussprache {
    padding-right: 48px;
}

/* deleteable: clear-X in inputs */

.wp3 span.deleteicon {
    position: relative;
}

.wp3 span.deleteicon span {
    position: absolute;
    display: block;
    top: 0px;
    right: 3px;
    width: 16px;
    height: 16px;
    background: url('/static/website/img/x.png?88cce285fdd5');
    cursor: pointer;
}

.wp3 span.deleteicon input {
    padding-right: 16px;
}

.wp3 tr.row_highlight
{
    /*background-color:#f3f3e6;*/
    background-color:#EFEFEF;
}

.wp3 tr.wp_row_highlight_sentence
{
    background-color:#EFEFEF;
}

.wp3 tr.wp_row_highlight_center
{
    background-color:#EFEFEF;
}

.wp3 tr.wp_row_highlight_left_1
{
    background-color:#FFF7AA;

}

.wp3 tr.wp_row_highlight_right_0
{
    background-color:#B7FFAA;
}

tr.wp_row_highlight_right_1
{
    background-color:#D6FFD0;
}

.wp3 .ui-button, 
.wp3 .ui-selectmenu, 
.wp3 .ui-selectmenu-item-focus.ui-state-hover,
.wp3 .ui-accordion-header.ui-state-default  {
    background: url('/static/website/img/background_navigation.gif?88cce285fdd5') 0 -1px repeat-x;
    color: black;
    font-weight: normal;
}

select, button {
    height: 1.6em;
    font-size: inherit;  /* für oldpanel */
    background-color: #EFEFEF;
    border: 1px solid #BBB;
    border-radius: 0.25em;
}

select:hover, button:hover {
    cursor: pointer;
    background-color: white;
}

.dq_buttonset button {
    margin: 0;
    border-radius: 0;
}

.dq_buttonset button:first-child {
    border-top-left-radius: 0.25em;
    border-bottom-left-radius: 0.25em;
}

.dq_buttonset button:last-child {
    border-top-right-radius: 0.25em;
    border-bottom-right-radius: 0.25em;
}

.dq_buttonset button + button {
    border-left: none;
}

.dq_buttonset button.active {
    background: white;
}



.dq_frame_header, .dq_frame_footer {
    background-color: #f7f7f7;
}



.dq_tabs > span > button {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
    position: relative;
    bottom: -1px;
}

.dq_tabs > span > button.active {
    background-color: white;
    border-bottom: 3px solid white;
}

.dq_tabs > span {
    display: block;
    border-bottom: 1px solid #BBB;
}

.dq_tabs > div {
    border: 1px solid #BBB;
    border-top: none;
}



span.dq_hitword {
    font-weight: bold;
}




.dq_profile_stats_hover + pre {
    display: none;
}

.dq_profile_stats_hover:hover + pre, .dq_profile_stats_hover + pre:hover {
    display: block !important;
}


.wb_feldname {
	color: #555;
}

.wb_definition {
	font-weight: bold;
}

.wb_gram {
	color: maroon;
}

.wb_invalid {
    color: #F4A460;
}

.wb_diasystematik {
	color: green;
}

.wb_pragmatik {
	color: purple;
}

.wb_freq {
	color: pink;
}

.wb_pattern {
    color: #2E6E9E;
}

.wb_beispiel_text {
        font-style: italic;
}

.wb_beispiel_hit {
        font-weight: bold;
        font-style: italic;
}



.wb_intern {
    font-family: monospace;
}

.wb_timestamp {
    background-color: #97C9F2;
}



.wb_lesart_n {
    width: 2em;
    background-color: #EFEFEF;
    border-radius: 0.25em;
    text-align: center;
    font-weight: bold;
}

.wb_definition_etc, .wb_belege {
    margin-top: 0.5em;
}

.wb_belege, .wb_kollok {
    background-color: #EFEFEF;
}

.wb_belege + .wb_belege {
    margin-top: 1em;
}

.wb_beleg + .wb_beleg, .wb_kollok + .wb_kollok {
    border-top: 1px dotted #555;
}

.wb_kolloks {
    border: 1px solid #BBB;
}

.wb_kolloks > div:first-child {
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    border-bottom: 1px solid #BBB;

}

.wb_kolloks > div:last-child {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}
