/* Some general settings **************************************************** */

a {
    text-decoration: none;
}

/* Some classes ************************************************************* */

.error {
    color: red;
}

.info, .date {
    font-size: 0.9em;
    color: #888;
    font-style: italic;
}

.edit {
	font-size: 0.6em;
	font-style: italic;
	margin-left: 5px;
}

.date {
    float: right;
}

.gray {
    color: #555
}

.separator {
    margin-top: 15px;
    display: block;
    border-bottom: 2px dashed #999;
}

.prevPage, .nextPage {
    display: block;
    width: 49%;
}

.prevPage {
    float: left;
}

.nextPage {
    margin-left: 50%;
    text-align: right;
}

.prevPage a, .nextPage a {
    margin-bottom: 20px;
}

pre {
    padding: 5px;
    border: 1px dashed gray;
    background-color: #ddd;
    overflow-x: scroll;
}

/* Base layout for all pages ************************************************ */

h2 {
	margin: .5em 0;
}

#header, #status, #content {
    margin-bottom: 10px;
}

body {
    margin: 0 auto;
    font-size: 62.5%; /* Resets 1em to 10px */
    width: 1024px
}

#header, #menu, #status, #content, #footer {
    margin-left: 200px;
    margin-right: 200px;
}

#header {
    border-bottom: 1px dotted #ccc;
    border-left: 1px dotted #ccc;
    border-right: 1px dotted #ccc;
}

#header h1{
    margin: 0;
    font-size: 3em;
}

#header h1 a{
    display: block;
    padding: 30px;
    color: #555;
}

#menu {
	padding: 5px 0;
    margin-bottom: -1px;
}

#menu a {
    margin-right: 5px;
    font-size: 2em;
    padding: 5px 10px;
    border-left: 1px dotted #ccc;
    border-top: 1px dotted #ccc;
    border-right: 1px dotted #ccc;
}

#status {
    padding: 5px;
    text-align: right;
    font-size: 1.4em;
    border: 1px dotted #ccc;
}

#content {
    font-size: 1.4em;
    padding: 10px;
    border: 1px dotted #ccc;
    background: #fcfcfc;
}

*+html #content { /* Hack for IE7 */
    overflow: hidden;
}

#sidebar {
    float: left;
    margin-left: 10px;
    width: 170px;
}

#sidebar dl {
    margin-top: 0;
    padding: 1px;
    border: 1px dashed #ccc;
}

#sidebar dt {
    font-size: 1.7em;
    padding: 10px;
}

#sidebar dd {
    font-size: 1.4em;
    margin: 0;
}

#sidebar dd a {
    display: block;
    padding: 5px;
}

#sidebar dd a:hover {
    background: #fafafa;
}

#footer {
	font-size: 1.1em;
    clear: both;
    border-top: 1px dotted #ccc;
    border-left: 1px dotted #ccc;
    border-right: 1px dotted #ccc;
    text-align: center;
    padding: 10px;
}

/* Section specific settings ************************************************ */

#header, #status, #footer, #sidebar dt, #menu a:hover {background: #f5f5f5;}

#menu #menu-home {color: #0271B0;}
#menu #menu-weblog {color: #AE1024;}
#menu #menu-fotos {color: #D37B49}

/* Home */

#home a {color: #06F;}
#home #content a:hover {border-bottom: 1px dotted #06F;}
#home #menu-home {background: #f5f5f5;}
#home #header, #home #menu-home, #home #status, #home #footer, #home #sidebar dt, #home #menu a:hover {background: #E0EAFC}

/* Weblog */

#weblog a {color: #AE1024;}
#weblog #content a:hover {border-bottom: 1px dotted #AE1024;}
#weblog #header, #weblog #menu-weblog, #weblog #status, #weblog #footer, #weblog #sidebar dt, #weblog #menu a:hover {background: #FCEAE0}

/* Fotos */

#fotos a {color: #D37B49;}
#fotos #content a:hover {border-bottom: 1px dotted #D37B49;}


