/*
Copyright (C) 2009, Marcelo Jorge Vieira <metal@alucinados.com>
Copyright (C) 2009 Lincoln de Sousa <lincoln@minaslivre.org>


This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public
License along with this program; if not, write to the
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/

body {
    margin: 0px;
    padding: 0px;
    font-family: sans-serif;
    font-size: 12px;
	background-color: #eee;
	color: #444;
}

a {
	color: #27D;
	text-decoration: none;
}

a:focus, a:hover, a:active {
	text-decoration: underline;
}

ul#menu {
    background: #2e3436;
    list-style: none none;
    border-top: 4px solid #c00;
    color: #fff;
    padding: 12px 80px;
    margin: 0;
}

ul#menu li {
    display: inline;
}

ul#menu li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    margin-right: 5px;
    padding: 5px 8px;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

ul#menu li a.selected {
    background: #c00;
}

#menu li a:hover {
    background: gray;
}

div#flag {
    float: right;
    margin-top: -25px;
    margin-right: 5px;
}

div#flag img {
    border: none;
}

div#left_column {
    float: left;
    width: 400px;
    text-align: justify; 
}

div#right_column {
    margin-left: 400px;
    padding: 4px;
    text-align: justify; 
}

div#page {
	width: 900px;
	background-color: #fff;
	margin: 0 auto;
	text-align: left;
	border-color: #ddd;
	border-style: none solid solid;
	border-width: medium 1px 1px;
}
div#container {
	padding: 20px;
}

div#footer {
    clear: both;
	color: #777;
	margin: 0 auto;
	padding: 20px 0 40px;
	text-align: center;
}

/* ##### INDEX WORKS ###### */

div.works_box {
    width: 300px;
    text-align: left;
}

div.works_box a.more {
    text-align: right;
}

div.works_box img {
    padding: 5px;
    margin: 3px;
    border: solid 2px #cccccc;
}

div.works_box img:hover {
    border-color: gray;
}

/* ##### INDEX NEWS ###### */

div.news_box {
    padding: 0px 0 5px 10px;
    font-size: 0.75em;
    text-align: right;
    line-height: 1.2em;
    border-left: 2px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
}

div.news_box p {
    white-space: normal;
    text-align: justify;
}

div.news_box:hover {
    color: #333333;
    border-left: 2px solid gray;
    border-bottom: 1px solid gray;
}

div#news_box a.more {
    text-align: right;
}

img.license {
    border: none;
}

/* WORKS */

div.download ul {
    list-style: none;
}

div.image-desc ul {
}

div.image-desc {
    font-size: 10px;
}

/* DJANGO */

/* MESSAGES & ERRORS */
ul.messagelist { padding:0 0 5px 0; margin:0; }
ul.messagelist li { font-size:12px; display:block; padding:4px 5px 4px 25px; margin:0 0 3px 0; border-bottom:1px solid #ddd; color:#666; background:#ffc url(/media/img/admin/icon_success.gif) 5px .3em no-repeat; }
.errornote { font-size:12px !important; display:block; padding:4px 5px 4px 25px; margin:0 0 3px 0; border:1px solid red; color:red;background:#ffc url(/media/img/admin/icon_error.gif) 5px .3em no-repeat; }
ul.errorlist { margin:0 !important; padding:0 !important; }
.errorlist li { font-size:12px !important; display:block; padding:4px 5px 4px 25px; margin:0 0 3px 0; border:1px solid red; color:white; background:red url(/media/img/admin/icon_alert.gif) 5px .3em no-repeat; }
td ul.errorlist { margin:0 !important; padding:0 !important; }
td ul.errorlist li { margin:0 !important; }
.errors { background:#ffc; }
.errors input, .errors select { border:1px solid red; }
div.system-message { background: #ffc; margin: 10px; padding: 6px 8px; font-size: .8em; }
div.system-message p.system-message-title { padding:4px 5px 4px 25px; margin:0; color:red; background:#ffc url(/media/img/admin/icon_error.gif) 5px .3em no-repeat; }
.description { font-size:12px; padding:5px 0 0 12px; }


/* FORM DEFAULTS */
input, textarea, select { margin:2px 0; padding:2px 3px; vertical-align:middle; font-family:"Lucida Grande", Verdana, Arial, sans-serif; font-weight:normal; font-size:11px; }
textarea { vertical-align:top !important; }
input[type=text], input[type=password], textarea, select, .vTextField { border:1px solid #ccc; }

/*  FORM BUTTONS  */
.buttona, input[type=submit], input[type=button], .submit-row input { background:white url(../img/admin/nav-bg.gif) bottom repeat-x; padding:3px; color:black; border:1px solid #bbb; border-color:#ddd #aaa #aaa #ddd; }
.button:active, input[type=submit]:active, input[type=button]:active { background-image:url(../img/admin/nav-bg-reverse.gif); background-position:top; }
.button.default, input[type=submit].default, .submit-row input.default { border:2px solid #5b80b2; background:#7CA0C7 url(../img/admin/default-bg.gif) bottom repeat-x; font-weight:bold; color:white; float:right; }
.button.default:active, input[type=submit].default:active { background-image:url(../img/admin/default-bg-reverse.gif); background-position:top; }
