/* headers */
h1 {
    padding: 4px 2px 4px 2px;
    margin: 1px 0 15px 0;
    font-size: 1.5em;
    font-weight: bold;
    vertical-align: bottom;
    color: #060;
    text-align: left;
    width: 100%;
    border-bottom: 1px solid #bed79a;
}

h2, .contentheading, .componentheading{
    padding: 4px 2px 4px 2px;
    /**margin: 1px 0 15px 0;**/
    font-size: 1.5em;
    font-weight: normal;
    vertical-align: bottom;
    color: #060;
    background: #cee7aa;
    text-align: left;
    width: 100%;
}

.componentheading{ 
    margin-top: 8px;
}

.contentpaneopen h2 {
    background: inherit;
}

.contentpaneopen dl dt {
    /**padding: 2px;**/
    font-weight: bold;
    color: #005500;
}

.contentpaneopen dl dd {
    text-align: justify;
}

h3, table.moduletable th, legend {
    margin: 0;
    font-weight: bold;
    font-size: 1.3em;
    padding: 4px 2px 4px 2px;
    margin: 5px 0 10px 0;
    text-align: left;
    color: #060;
    background: inherit;
}

h4 {
    color: #44841c;
    font-size: 1.1em;
    margin: 0;
    padding: 2px;
}


#stredovy_sloupec_vnitrek input.inputbox, #stredovy_sloupec_vnitrek .text, #stredovy_sloupec_vnitrek select
{
    border: 1px inset #bed79a;
    margin-right: 5px;
    background: #f9f9f9;
}

#stredovy_sloupec_vnitrek input.text:focus, #stredovy_sloupec_vnitrek select:focus, #stredovy_sloupec_vnitrek input.inputbox:focus {
    background: #ffffdc;
}


#stredovy_sloupec_vnitrek .short {
    width: 80px;
}

#stredovy_sloupec_vnitrek .middle {
    width: 160px;
}

#stredovy_sloupec_vnitrek .long {
    width: 250px;
}

#stredovy_sloupec_vnitrek .disabled {
    color: #999;
}


#stredovy_sloupec_vnitrek input.button, input.button {
    border: 1px outset #bed79a;
    background: #5c9d05;
    font-weight: bold;
    color: #030;
}



/* small text */
.small {
    font-size: .90em;
    color: #999;
    font-weight: normal;
    text-align: left;
}

.modifydate {
    height: 20px;
    vertical-align: bottom;
    font-size: .90em;
    color: #999;
    font-weight: normal;
    text-align: left;
}

.createdate {
    height: 20px;
    vertical-align: top;
    font-size: .90em;
    color: #999;
    font-weight: normal;
    vertical-align: top;
    padding-bottom: 5px;
    padding-top: 0px;

}

.buttonheading {
    background: #cee7aa;
}

a.readon {
    margin: 0 0 10px 0;
    padding: 2px 13px 2px 2px;
    background-image: url("../images/arrow.png");
    background-repeat: no-repeat;
    background-position: 99% 50%;
    background-color: #f9fcf6;
    border: 1px outset #86a45c;
    text-decoration: none;
}

a:hover.readon {
    background-image: url("../images/arrow_down.png");
}

/* form validation */
.invalid { border-color: #ff0000; }
label.invalid { color: #ff0000; }


/* spacers */
span.article_separator {
    display: block;
    height: 20px;
}

.column_separator {
    border-left: 1px dashed #e0e0e0;
    padding-left: 10px;
}

td.greyline {
    width: 20px;
}

div#maindivider {
    border-top: 1px solid #ddd;
    margin-bottom: 10px;
    overflow: hidden;
    height: 1px;
}

table.blog span.article_separator {
    display: block;
    height: 20px;
}

table.blog {margin-top: 10px;}

/* edit button */
.contentpaneopen_edit{
    float: left;
}

/* table of contents */
table.contenttoc {
    margin: 5px;
    border: 1px solid #ccc;
    padding: 5px;
    float: right;
}

table.contenttoc td {
    padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
    background: #eee;
    color: #333;
    font-weight: bold;
    padding: 4px;
    border-right: 1px solid #fff;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
    padding: 4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
    padding: 3px;
}


/* content styles */
table.contentpaneopen, table.contentpane {
    margin: 0;
    padding: 0;
    width: 100%;
}

table.contentpaneopen {
    border-collapse: collapse;
}

table.contentpaneopen fieldset {
    border: 0;
    border-top: 1px solid #ddd;
}

.highlight {
    background-color: #fffebb;
}

/* module control elements */
table.user1user2 div.moduletable {
    margin-bottom: 0px;
}

div.moduletable, div.module {
    margin-bottom: 10px;
}

div.module_menu h3 {
    font-size: 1.3em;
    font-weight: bold;
}

div.module_menu {
    margin: 0;
    padding: 0;
    margin-bottom: 15px;
}

div.module_menu div div div {
    padding: 10px;
    padding-top: 30px;
    padding-bottom: 15px;
    width: auto;
}

div.module_menu div div div div {
    background: none;
    padding: 0;
}

/* forms */
table.adminform textarea {
    width: 540px;
    height: 400px;
    font-size: 1em;
    color: #000099;
}

form#searchForm input {
    vertical-align: middle;
}

form#searchForm table {
    border-collapse: collapse;
}

form#searchForm td {
    padding:0;
}

div.offline {
    background: #fffebb;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 1.2em;
    padding: 5px;
}

.navigace {
    font-size: 90%;
    color: #999;
}

/**Tables**/
table.contentpaneopen table {
    font-size: 92%;
    border: 1px solid #ccc;
    border-collapse: collapse;
}


table.contentpaneopen table thead {
    font-weight: bold;
    border-bottom: 2px solid #ccc;
    background: #eee;
}

table.contentpaneopen table tfoot {
    border-top: 2px solid #ccc;
}

table.contentpaneopen table td {
    border: 1px solid #ddd;
    margin: 0;
    padding: 1px 2px 1px 2px;
}

pre {
    padding: 10px;
    background: #f2f2f2;
    border: 1px dotted #ddd;
}

.login_table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 10px 0 10px 0;
}

.login_table tr td{
    border: 1px solid #ccc;
    border-collapse: collapse;
    padding: 2px;
}

.login_table tr td.name{
    background: #eee;
    font-weight: bold;
}

/*TIMETABLE*/
.ano {
    background: #0f0;
}
.spis_ne {
    background: #fffbb4;
}
.urcite_ne {
    background: #f00;
}

span.spis_ne, span.urcite_ne, span.ano {border: 1px solid #000; padding-left: 1em;}

table.terms_input {
    border-collapse: collapse;
    margin: 5px 3px 5px 3px;
}
table.terms_input tr td{
    margin: 0; padding: 0; border: 1px solid #000;
}
table.terms_input tr td input {
    width: 40px; height: 30px; margin: 0; padding: 0; border: 0px solid #000; font-size: 0px;
}
table.terms_input tr td.day_name {
    font-size: 12px; padding: 1px 3px 1px 2px; background: #f5f5f5; font-weight: bold; color: #333;
    border-right-width: 2px;
    width: 50px;
}
table.terms_input tr td.hour_name {
    font-size: 10px; padding: 1px; background: #f5f5f5; font-weight: bold; color: #333;
    text-align: center;
    border-bottom-width: 2px;
}
table.terms_input tr td.null {
    background: #000; font-weight: bold; color: #333;
    border-right-width: 2px;
    border-bottom-width: 2px;
}

.my_comment {
    border: 1px solid #000;
    width: 590px;
    height: 80px;
}

select.icon_select option {
    background-repeat:no-repeat;
    background-position: 0 50%;
    padding-left:30px;
}
select.icon_select option.ano {
    background-image: url("../images/green.png");
}
select.icon_select option.spis_ne {
    background-image: url("../images/yellow.png");
}
select.icon_select option.urcite_ne {
    background-image: url("../images/red.png");
}
label {
    font-weight: bold;
    color: #666;
    margin-right: 5px;
}

a.button {
    border: 1px outset #bed79a;
    background-color: #5c9d05;
    font-weight: bold;
    color: #003300; 
    text-decoration: none;
    padding: 1px 2px 0px 2px;
}