html { height: 101%; }
body {
  width: 960px;
  margin: 0 auto;
  background-color: #555;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 14pt;
}

p#punchline {
  position: relative;
  float: right;
  color: #aaa;
  font-size: 16pt;
  margin: 12px 15px -11px 0;
}

p img {
	vertical-align: middle;
	margin: 15px 5px;
}

ul#navigation {
  float: left;
  width: 130px;
  margin-top: 50px;
}
ul#navigation li {
  margin: 10px 0;
  padding: 4px 8px;
  -moz-border-radius: 5px 0 0 5px;
  -moz-box-shadow: #000 0 0 5px;
  -webkit-border-radius: 5px 0 0 5px;
  -webkit-box-shadow: #000 0 0 5px;
  border-radius: 5px 0 0 5px;
  box-shadow: #000 0 0 5px;
}
ul#navigation li.orange { background-color: #de885a; }
ul#navigation li.blue { background-color: #5ab1de; }
ul#navigation li.red { background-color: #de5a5a; }
ul#navigation li.green { background-color: #5ade9e; }
ul#navigation li a {
  display: block;
  width: 130px;
  color: #fff;
  font-size: 18pt;
  text-decoration: none;
}
ul#navigation li:hover, ul#navigation li.selected { cursor: pointer; position: relative; }

div#content {
  float: left;
  width: 780px;
  padding: 40px 30px 25px 30px;
  margin: 10px 0 20px -10px;
  background-color: #fff;
  -moz-border-radius: 5px 5px 5px 5px;
  -moz-box-shadow: #000 0 0 7px;
  -webkit-border-radius: 5px 5px 5px 5px;
  -webkit-box-shadow: #000 0 0 7px;
  border-radius: 5px 5px 5px 5px;
  box-shadow: #000 0 0 7px;
}

div#content h1 {
  font-size: 22pt;
  color: #222;
  text-shadow: #ccc 1px 1px;
}
div#content h2 {
  padding: 3px;
  font-size: 13pt;
  color: #555;
  font-style: italic;
  text-align: right;
}
div#content h3 {
  margin: 35px 0 15px 0;
  font-size: 13pt;
  border-bottom: 1px solid #5ab1de;
}
div#content h3 a {
  color: #111;
  text-decoration: none;
}

div#content div#information {
  clear: both;
  margin-top: 40px;
  font-size: 12pt;
}
div#content div#information p {
  margin-bottom: 12px;
  line-height: 1.5;
  color: #222;
  text-align: justify;
}
/* Clear floating elements */
.clearfloat:after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
}

/** Homepage **/
div#content div#information p.home { padding-top: 15px; margin-bottom: 40px; }
div#content div#information p.home img { margin: 6px 5px; }


/** Work section **/
div#content div#information p.orange {
  padding: 5px;
  margin-left: -5px;
  background-color: #ffddb4;
}
div#content div#information dd a,
div#content div#information p a {
  color: #444;
  font-weight: bold;
}
div#content div#information dd a:hover,
div#content div#information p a:hover {
	color: #111;
}

div#content div#information ul li {
  margin-bottom: 60px;
}
div#content div#information ul li img {
  margin: 0 15px 10px 0;
  float: left;
}
div#content div#information ul li.odd img {
  margin-right: 0;
  float: right;
}

div#content div#information ul li dl {
  font-size: 10pt;
  line-height: 1.4;
}
div#content div#information ul li dl dd { 
  margin: 3px 0 10px 25px;
  color: #222;
}
div#content div#information ul li dl dt {
  padding: 2px 0 2px 15px;
  color: #333;
  font-weight: bold;
}
div#content div#information ul li dl dd span.note {
  font-size: 8pt;
  color: #444;
  font-style: italic;
}

div#content div#information ul.webdevelopment_listing li dl dd,
div#content div#information ul.otherprojects_listing li dl dd,
div#content div#information ul.nonitprojects_listing li dl dd {
  margin-left: 280px;
  padding-left: 15px;
}

div#content div#information ul li.odd dl dd {
  margin-left: 10px;
}

div#content div#information ul li.other { margin: 0; }
div#content div#information ul li.other dl {
  float: left;
  width: 240px;
  margin: 0 10px;
}

div#content div#information ul li.other dl dd {
  margin-left: 10px;
}

div#content div#information ul li dl#opensource dt { background: #c3c2fe; }

div#content div#information ul li dl#esquerdanova dt { background: #da9e9e; }
div#content div#information ul li dl#ifr dt { background: #a8c9ff; }
div#content div#information ul li dl#reuse dt { background: #a4e6a8; }
div#content div#information ul li dl#escolinhas dt { background: #f3db95; }

div#content div#information ul li dl#bofe dt { background: #ebeb82; }
div#content div#information ul li dl#listerfm dt { background: #ffc59e; }

div#content div#information ul li.other dl dt { background: #ddd; }

/** About **/
div#content div#information dl.about dt { 
  width: 210px;
  padding: 70px 5px;
  float: left;
  font-weight: bold;
  color: #333;
  font-size: 12pt;
}
div#content div#information dl.about.academic dt {
  padding: 50px 5px;
}
div#content div#information dl.about dd {
  width: 540px;
  float: left;
  margin: 0 0 50px 20px;
  line-height: 1.3;
  font-size: 11pt;
}

div#content div#information dl.about ul {
  margin: 5px 0 0 30px;
  list-style: disc;
}
div#content div#information dl.about ul.secondlevel {
  list-style: circle;
  margin: 0 0 3px 30px;
}
div#content div#information dl.about ul li {
  margin: 1px 0;
  font-size: 10pt;
}
div#content div#information dl.about dt#dominantareas { background: #c3c2fe; }
div#content div#information dl.about dt#softskills { background: #da9e9e; }
div#content div#information dl.about dt#programminglanguages { background: #f3db95; }
div#content div#information dl.about dt#personaltastes { background: #a4e6a8; }

div#content div#information dl.about dt#whereilearned { background: #ffc59e; }
div#content div#information dl.about dt#assessments { background: #ebeb82; }

/** Contact **/
div#content p.right { float: right; margin-top: 30px; }
div#content p span#social_icons { display: block; text-align: center; }

