th {
    background: #EEB419 url("img/table_header.png") repeat-x;
    text-align: center;
}

tr.uneven td {
    background-color: #FFF85D;
}

tr.even td {
    background-color: #FFE74C;
}

table.news_table,
table.links_table,
table.pics_table,
table.files_table {
    margin-bottom: 15px;
}

table.news_table {
    width: 400px;
}

table.links_table,
table.files_table {
    width: 100%;
    max-width: 800px;
}

table.links_table td.col0,
table.files_table td.col0 {
    width: 100%;
}

table.links_table td.col1,
table.files_table td.col1 {
/*    white-space:nowrap;*/
}

table.news_table td,
table.links_table td,
table.login_table td,
table.pics_table td,
table.files_table td {
    border: 1px solid black;
    text-align: left;
    padding: 2px 5px;
}

/* Login */
table.login_table {
    text-align: center;
}

table.login_table td {
    padding: 2px;
}

table.login_table input {
    width: 150px;
}

/* Bilder */
table.pics_table img {
    width: 50px;
    height: auto;
}

table.pics_table img.preview {
	width: auto;
    max-width: 300px;
    max-height: 300px;
    float: left;
}

table.pics_table td.col0 {
    width: auto !important;
}

table.pics_table td.col1 {
    width: 100%;
}

table.pics_table textarea {
    height: 50px !important;
}

/* Administration */
div.admin table {
    width: 100%;
    max-width: none;
}

div.admin td.col0,
div.admin table + form td.col1 {
    width: 100%;
}

div.admin table + form td.col0 {
    width: auto;
}

div.admin textarea {
    width: 99%;
    height: 200px;
}

/* spanned is used by printTable (functions.php) */
div.login td[spanned],
div.admin td[spanned] {
    text-align: center;
}

