/*  ----------------------------------------------------------------------------
    File: voc_new.css
    New style sheet for www.ericfehse.net/voc
    Author: Eric Fehse
    2009/03/11
    --------------------------------------------------------------------------*/

a { text-decoration: none; }
strong { font-weight: bold; }
em { font-style: italic; }

/* General page layout: wrapper, header, footer */

body { background-color: #666; padding: 0 15px; font-family: helvetica, verdana, sans-serif;}

#wrapper {
    width: 1065px;
    margin: 5px auto 0 auto;
    min-height: 650px;
    background-color: #fff;
    position: relative;
}

h1#title {
    width: 400px; height: 41px; /* subtracted padding */
    background: url(../../../media/img/voc/voc_header2.png) no-repeat #333;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
    padding: 8px 0 0 80px;
    text-align: center;
}

#nav {
    position: absolute;
    top: 0;
    left: 480px;
    height: 34px;
    width: 585px;
    background-color: #666;
    padding-top: 15px;
}
#nav li { display: inline; }

#nav a {
    color: #fff;
    padding: 5px 8px 5px 8px;
}
#nav a:hover { background-color: #F4F37B; color: #333; }

h2#page_title {
    width: 480px; height: 18px; /* subtracted padding */
    background-color: #888;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 0;
    text-align: center;
}

#options {
    background-color: #ccc;
    position: absolute;
    top: 49px;
    left: 480px;
    height: 34px;
    width: 585px;
}
#footer {
    width: 1057px;
    margin: 0 auto 5px;
    background-color: #888;
    font-size: 11px;
    height: 12px;
    padding: 4px;
    clear: both;
}
#footer a { color: #F4F37B; }
#footer a:hover { color: #333; }
#footer a#impressum { float: right; font-weight: bold; }

/* Voc home page */
#options a { color: green; margin-left: 6px;}
#search { width: 200px; margin: 6px;}
.search_options  { font-size: 12px; }
#info, #stats  { font-size: 12px; line-height: 18px; }
#info p, #num_voc { padding-bottom: 6px;  }
#info h3, #stats h3 { font-weight: bold; padding-bottom: 2px; font-size: 15px; }
#info ul, #stats ul { padding: 0 0 6px 25px; }
#info li, #stats li { list-style-type: disc; }
#info {  padding: 10px; width: 460px; }
#stats {
    float: right;
    width: 580px;
    padding: 10px 0 0 5px;
}
#stats table { width: 580px; }
#stats table th, #num_voc { font-weight: bold ;}
#stats td, #stats th { padding: 1px 3px; }
#hdr_sv { width: 50%; }
div#articles { padding: 0 0 10px 0;  }
div#articles h3#news { margin: 20px 0 5px; color: #fff; background-color: #666; padding: 3px 4px;}
div#articles h1, div#articles h2, div#articles h3, div#articles h4 {
    font-weight: bold;
    margin: 6px 0 3px 70px;
}
span.art_date { position: absolute; color: #666; margin-top: -20px;}
div.article { margin: 0 20px 10px 70px; }
div.article p { margin-bottom: 6px; line-height: 18px;}
ul#article_list { padding: 0; font-size: 15px; }
ul#article_list li { list-style-type: none; line-height: 2;}
ul#article_list span.list_art_date { color: #666; }
ul#article_list a { font-weight: bold; color: green; margin-left: 10px; }

/* Autocomplete */
ul#autocomplete { display: none; list-style-type: none; border: 1px solid #aaa; z-index: 100;
                  background-color: #eee; position: absolute; top: 28px; left: 6px; width: 400px;}
ul#autocomplete li { padding: 1px 2px; font-size: 12px; }
ul#autocomplete li.sel { background-color: yellow; }

ul#page_range { position: absolute; right: 1px; margin-top: 5px;
				font-size: 13px; font-weight: bold}
ul#page_range li { list-style-type: none; display: inline; border: 1px solid black;
                    padding: 0 3px; margin: 0 2px; height: 16px; }
ul#page_range li a { color: blue; }

table#results { font-size: 12px; width: 100%;
                border-bottom: 1px solid darkgreen;
                border-spacing: 0; border-collapse: collapse; }
table#results th { font-weight: bold; text-align: left; border-bottom: 1px solid darkgreen;}
table#results td, table#results th  { padding: 2px 4px; }
table#results td.entry { width: 48%; }
table#results td.num, table.analyze td.num { text-align: right; width: 4em;}
table#results a { color: black; }
h3#num_results { font-weight: bold; font-size: 11px; padding: 4px; }
a.favorite-off, a.favorite-on, a.favorite-wait {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url(/media/img/voc/voc_fav_icons.png) no-repeat;
    }
a.favorite-off { background-position: 0 0; }
a.favorite-on { background-position: 0 -17px; }
a.favorite-wait { background-position: 0 -35px; }
#training_form a.favorite-off,
#training_form a.favorite-on,
#training_form a.favorite-wait { position: absolute; left: -20px; top: 5px; }


/* Forms */
table.form * { font-size: 16px;  }
table.form td { padding: 4px 3px; }
table.form textarea { font-family: sans-serif; }
table.form th { vertical-align: top; text-align: right; padding-top: 7px; font-weight: bold; }

/* Edit page */
#edit #word_table {
    position: absolute;
    top: 83px;
    left: 480px;
    width: 585px;
}
#edit #result_list {height: 380px; overflow: scroll; }
#edit #voc_entry { width: 460px; padding: 5px 10px 0; }

#edit input#save { font-weight: bold; width: 120px; }

#edit td#message { font-size: 14px; padding: 3px 5px; background-color: #eee; border: 1px solid #ccc;}
#edit td#message.error { color: red; font-weight: bold; }
#edit ul.errorlist { position: absolute; left: 15px; margin: 25px 0 0 0;
                         width: 100px; }
/*#edit div#special_chars { text-align: center; padding: 2px 0; }
#edit div#special_chars a {
    font-size: 20px;
    color: green;
    padding: 0 4px;
    display: block;
    width: 40px;
    border: 1px dotted #999;
}*/
#edit a#edit_new {
        font-size: 14px;
        font-weight: bold;
        color: orange;
        display: block;
        margin: 6px 0 0 110px;}
#edit input#id_tags { width: 285px; }
#edit #tag_list { margin: 5px 10px 0 110px; padding: 10px 0;}

/* Set Training */
#set_training table.form {
    width: 400px;
    margin: 10px 10px 5px 90px;
    font-size: 16px;
}
#set_training table.form * { font-size: 14px; }
#set_training table.form input, #set_training table.form select { width: 250px;  }
#set_training #btn_start { font-size: 16px; }
#statistics { margin: 46px 0 0 5px; line-height: 22px; }
#statistics th { font-weight: bold;   }
#statistics td, #statistics th { font-size: 14px; padding: 0 3px;}
#statistics td.cb { width: 24px; }
#statistics td.rest { width: 310px; }
#statistics td.num { text-align: right; }
#set_training #tags { background-color: #eee; padding: 5px; font-size: 18px; border-bottom: 1px solid #999;  }
body#set_training div#error {
    background-color: #991900;
    color: white;
    position: absolute;
    font-size: 14px; 
    font-weight: bold;
    height: 21px; 
    padding: 10px 3px 3px 3px;
    width: 579px;
    vertical-align: bottom;
}
body#set_training dt { background-color: #991900; padding: 2px; color: white; }
body#set_training dd { padding-top: 6px; }
ul#tag_stats { padding: 5px 8px; font-size: 12px;  }
ul#tag_stats li {
    display: inline-block;
    padding: 0;
    white-space: nowrap;
    min-width: 170px;
    margin: -1px 0;
}
ul#tag_stats li input {margin:0;}
ul#tag_stats span { vertical-align: 20%; }
ul .name { font-weight: bold; }
ul .count { color: #991900;}
ul .avg { color: green;}
ul .age { color: #666; }
ul#tag_legend {
    padding: 8px 15px;
    font-size: 12px;
    line-height: 18px;
    background-color: #eee;
    border-top: 1px solid #999;
}

#training_form { margin: 23px 0 0 190px; width: 600px; position: relative;}
#training_form div.card {
    width: 282px;
    height: 120px;
    font-family: verdana;
    font-size: 18px;
    border: 1px solid #ddd;
    padding: 3px;
}
#training_form #txt_sv {
    position: absolute;
    left: 310px;
    top: 0;
    background-color: #eee;
    color: #ccc;
    font-size: 120px;
    font-weight: bold;
    vertical-align: middle;
    text-align: center;
}

#feedback #txt_sv { font-size: 16px; background-color: #fff; color: #000; text-align: left; }
#to_edit {position: absolute; right: 4px; top: 136px; color: #999;}

/* Editing help: links for special characters*/
#special_chars { margin: 6px 0 5px 0; font-weight: bold;  }
#special_chars a {
    padding: 3px 4px;
    margin-right: 5px;
    display: inline-block;
    width: 50px;
    border: 1px dotted green;
    color: green;
    text-align: center;
    }
#edit #special_chars { margin-left: 105px; }
#edit #special_chars a { width: 39px; }

#training_form #answer { width: 596px; margin: 0 0 15px 0; font-size: 18px; }
#training_form button, #training_form input { width: 140px; font-size: 16px; }
#training_form  #btn_cancel { position: absolute; right: 0px; }
#feedback_txt {
    width: 596px;
    margin: 32px 0 15px 0;
    font-size: 18px;
    border: 1px solid #ccc;
    padding: 6px 4px 2px;
}
#feedback_txt.correct { background-color: #98DA9A; }
#feedback_txt.false { background-color: #E20000; color: #fff; }
#feedback_txt em { color: #bbb; font-style: normal; }

#categorisation { margin: 10px 0 0 190px; width: 600px;}
#categorisation select { width: 140px;  }
div#categorisation input { width: 445px; font-size: 14px; }
#feedback ul#tag_list { margin: 10px 0 0 6px; }
ul#tag_list li { display: inline; padding-right: 5px; font-size: 13px;}
ul#tag_list li a { color: #444; }

table#stacks { margin: 10px 4px; font-size: 16px; }
table#stacks td { width: 1.5em; padding: 2px 3px; text-align: right; }
table#stacks tr#cards td { font-weight: bold; }
table#stacks td.current { background-color: green; color: #fff; }
tr#stack_num td { padding-top: 8px; }

#progress {
    width: 600px; border: 1px solid #ccc;
    background-color: #eee;
    margin-left: 190px;
}
#progress h3 { background-color: #ccc; font-weight: bold; padding: 3px; }
span#score { float: right; padding: 3px; font-size: 13px; }

/* End training */
#end_training div#evaluation {
    margin: 30px 0 0 135px;
    width: 250px;
    padding: 5px;
    background-color: #eee;
    border: 1px solid #ddd;
}
#end_training div#evaluation table { width: 250px; }
#end_training div#evaluation td { padding: 4px 0; text-align: right; }
#end_training div#evaluation td:first-child { text-align: left; }

/* Multi Edit Page */
#multi_edit table { width: 100%; margin-top: 10px;}
#multi_edit th { padding: 2px; font-size: 13px; font-weight: bold; background-color: #ccc;}
#multi_edit td { padding: 2px; border-top: 1px solid #ccc; }
#multi_edit table input[type="text"] { width: 280px; }
#multi_edit #button { text-align: right; margin: 6px; }
#multi_edit #button input { width: 200px; padding: 2px;  }
#multi_edit #tag_list { padding: 5px 10px 10px 10px; color: #333; }


/* Registration */
#register #registration { /* table or div with messages */
    margin: 20px 0 0 50px;
}
#register div#registration {
    height: 130px;
    width: 420px;
}
#register div#registration p {
    line-height: 1.2;
    margin-bottom: 6px;
}
#register table#registration td {
    padding: 4px;
}
#register table#registration th {
    text-align: right;
}
#register table#registration th#btn_submit {
    text-align: left;
}
#register div#instructions {
        float: right;
        width: 565px;
        margin-top: 10px;
        padding: 10px;
        line-height: 1.2;
}
#register div#instructions p {
    margin-bottom: 10px;
}
#register #options h3 {
    font-weight: bold;
    padding: 10px 10px;
}

/* Hilfeseiten */
#help #help_content { margin: 15px 0 30px 100px; width: 810px; }
#help_content h2 { font-size: 20px; font-weight: bold; margin: 15px 0 15px 0; }
#help_content p { margin-bottom: 6px ; line-height: 1.4; }
#help_content ul { margin: 0 0 6px 25px; line-height: 1.4; }
#help_content li { list-style-type: disc; }
#help_content img.screenshot { margin: 5px 0; }

/* Kurzreferenz Grammatik */
#grammar div#content { padding: 6px 10px; }
#grammar div#content h1 { font-size: 14px; font-weight: bold; padding: 0 0 6px 4px; }
#grammar div#content h2 { font-size: 13px; font-weight: bold; padding: 0 0 4px 4px; color: #666;}
#grammar div#content table { font-size: 13px;}
#grammar div#content table th { background-color: #ccc; }
#grammar div#content table th, #grammar table td { padding: 3px 4px; }
#grammar div#content table td { color: #444;}
#grammar div#content ul { font-size: 13px; list-style-type: disc; padding: 6px 10px;}
#grammar div#content ul ul {padding-top: 0; padding-bottom: 0;}
#grammar div#content ul.notes { float: right; width: 550px; }
#grammar div#content ul.notes li { margin-left: 10px;;}

