* { margin: 0; padding: 0; }
body { font-family: Verdana, Arial, Helvetica, sans-serif; color: #fff; background: #000 url(imagens/fundo3.png) repeat; }
a:link, a:visited { color: #fff; }
a:hover { color: #f90; }
#head { margin-top: 7em; margin-bottom: 2em; }
#head h1 { text-indent: -9999px; background: url(imagens/site.gif) no-repeat left top; width: 330px; height: 56px; }
#nav { float: left; width: 10em; text-align: right; font-size: 140%; letter-spacing: 0.25em; border-right: 1px solid #fff; padding: 1em 2em 1em 0; background: url(imagens/fundo4.png) repeat; }
#nav ul { list-style-type: none; }
#nav li { padding: 0.4em 0; }
#nav a { text-decoration: none; }
#main_content { margin-left: 20em; line-height: 140%; position: relative; }
#footer { clear: both; font-size: 90%; text-align: center; margin: 1em; }
#footer img { margin: 0.2em; }

#main_content h2 { letter-spacing: 0.3em; font-variant: small-caps; margin: 0.7em 0 1.5em 0; text-indent: 1em; border-bottom: 1px solid #f90; padding:0.5em; }
#main_content h3 { margin-bottom: 1em; }
#main_content p { margin: 0.2em 0; margin-right: 0.5em; }
img#my_photo { float: right; padding: 0.5em; }
.projecto { float: left; padding: 0.5em; }
.centrar { text-align: center; }
div#mapa { margin: 0 1em 0 1em; }
div#mapa ul { margin: 0.5em 0 1em 2em; }
div#lang { position: absolute; top: -25px; right: 0px; padding: 1em; border: 1px solid #ccc; background: #333; }
.my_button { background: #333;; padding: 0.5em; font-weight: bold; font-variant: small-caps; letter-spacing: 0.1em; color: #fff; }
.my_button:hover { background: #f90; color: #000; }
div.row { clear: right; padding-top: 10px; width: 450px; }
div.row span.label { float: left; width: 100px; text-align: right; }
div.row span.campo { float: right; width: 335px; text-align: left; } 
div.galeria { width: 150px; float: left; margin: 1em 0 1em 2em; text-align: center; padding: 1em; background: #333;; }
#main_content a.foto:link, #main_content a.foto:visited, #main_content a.foto:hover { background: none; border-bottom: none; margin: 0.5em; }
ul#fotos { display: inline; list-style-type: none; margin-left: 2em; }
ul#fotos li { background: #333; padding: 0.5em; width: auto; float: left; margin: 0.5em; }
ul#fotos img { border: none; }

.cv_row { display: table-row; }
.cv_data { float: left; width: 8em; text-align: right; padding-right: 1em; display: inline; }
.cv_item { margin-left: 9.5em; }