/**
 * Layout File
 *
 * The main layout without any color related information.
 *
 * @project LuisNabais.org
 * @version 2010.10
 * @author Luís Nabais
 * @copyright 2009 by the author
 * @license CC-BY-SA
 */
body {
    margin: 0 auto;
    font: 12px Droid Sans, 'DroidSans', Liberation Sans, Helvetica, Arial, sans-serif;
    line-height: 1.3em;
}

html, body {
    height: 100% !important;
}

#global, #footer-wide {
    min-width: 80em;
    max-width: 100em;
    margin: 0 auto;
}

#global-wide {
    padding-bottom: 0.50em;
}

#footer-wide {
    height: 1.80em;
}

#footer-push {
    height: 0;
    clear: both;
}

/* Common stuff */
a {
    outline: none;
}

u {
    text-decoration: underline !important;
}

acronym, abbr {
    font-size: 1em !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

strike {
    text-decoration: line-through;
}

.hidden {
    display: none;
}

em {
    font-style: italic;
}

strong, .strong {
    font-weight: bold;
}

.clear {
    clear: both;
    height: 0;
    line-height: 0;
}

img, a img {
    border: none;
}

h1, h2, h3, h4 {
    font-family: Georgia, Times, Times New Roman, serif;
    font-weight: bold;
}

h3 {
	margin-bottom: 0.3em;
}

h1 a, h2 a, h3 a, h4 a {
    text-decoration: none !important;
}

.left, .alignleft {
    float: left;
}

p.left {
    float: none;
    text-align: left;
}

.right, .alignright {
    float: right;
}

p.right {
    float: none;
    text-align: right;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.aligncenter, .box {
    text-align: center;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}

.box {
    max-width: 60%;
    padding: 0.5em 0.08em 0.32em 0;
}

.infobox {
    text-align: left;
    font-size: 0.75em;
    margin: 0.56em 1.67em;
    max-width: 17.4em;
    padding: 0.67em 0.89em 0.44em 0.89em;
}

.infobox img {
    margin-bottom: 0.56em;
}

.infobox ul {
    margin-left: 0.2em;
}

.infobox ul li {
    list-style: none;
}

.infobox h3 {
    font-size: 1.4em;
    text-align: center;
}

.infobox .title {
    font-weight: bold;
    display: -moz-inline-stack;
    display: inline-block;
    zoom: 1;
    *display: inline;
    min-width: 6.5em;
}

.infobox .title:after {
    content: ': ';
}

big {
    font-size: 1.1em;
}

small {
    font-size: 0.8em;
}

.wp-smiley {
    margin: 0 0 0 0 !important;
    padding: 2px !important;
    border: 0px !important;
}

p, fieldset, table, code, blockquote, pre {
    margin-bottom: 0.50em;
}

blockquote[cite]:after {
    display: block;
    content: "Fonte: " attr( cite);
    font-size: 0.90em;
    font-style: italic;
}

blockquote {
    text-align: right;
}

blockquote p,
blockquote ul,
blockquote ol {
    text-align: left;
    margin-bottom: 0.40em !important;
}

blockquote p cite {
    text-align: right;
}

pre {
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    padding: 0.2em 0.4em;
    margin-right: 0.4em;
}

pre code {
    margin-bottom: 0 !important;
}

img.alignleft {
    margin: 0.43em 1.86em 0.62em 0.43em;
}

img.alignright {
    margin: 0.43em 0.43em 0.62em 0.86em;
}

.wp-caption {
    margin: 0.41em 0.83em 0.62em 0.83em;
    padding-top: 0.33em;
    text-align: center;
}

.wp-caption img {
    border: 0 none;
    margin: 0;
    padding: 0;
}

.wp-caption p.wp-caption-text {
    font-size: 0.73em;
    line-height: 1.20em;
    margin: 0;
    padding: 0.45em 0.36em 0.45em 0;
}

.wp-caption.alignleft,
.wp-caption.left{
	margin-right: 2.83em;
}

.wp-caption.alignright,
.wp-caption.right {
	margin-left: 2.83em;
}

.hidden, .hide, .print-only {
	display:none;
}

/* Lists */
ol, ul, dl {
    margin: 0.08em 0.17em 0.45em 2em;
}

ul ul, ol ol {
    margin-left: 1.32em;
}

dl dd {
    margin-left: 0.82em;
}

ul li, ol li {
    margin-bottom: 0.32em;
    margin-top: 0.24em;
}

/* Header */
#header-wide header, #home header {
    height: 14em;
    overflow: hidden;
}

/* Logo */
#logo {
    float: left;
    width: 33.33em;
    height: 4.58em;
    margin: 9.80em 0 0 0;
    padding: 0;
    overflow: hidden;
}

#logo h1, #logo h1 a {
    width: 33.33em;
    height: 4.58em;
    margin: 0;
    padding: 0;
}

#logo h1 a {
    display: block;
    text-indent: -9999px;
    text-decoration: none;
    border: 0;
    background: none;
}

/* Menu */
#subheader {
    overflow: hidden;
    height: 2.62em;
}

#subheader nav ul {
    margin: 0;
    font-size: 0.96em;
    font-weight: bold;
}

#subheader nav li {
    float: left;
    width: 8.33em;
    height: 2.75em;
    overflow: hidden;
    text-align: center;
    margin: 0;
    list-style: none;
}

#subheader nav a {
    display: block;
    width: 8.33em;
    padding: 0.67em 0 1em 0;
}

/* Langbar */
#header-wide header {
	position: relative;
}

#langbar {
	font-size: 0.92em;
	line-height: 1.2em;
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0.4em 0.8em;
	text-align: right;
}

#langbar li {
	display: none;
	list-style: none;
}

.pt #langbar li.pt,
.en #langbar li.en {
	display: block;
}

#langbar:hover li {
	display: block;
}

/* Search */
#search-help {
    float: right;
    text-align: center;
    padding-top: 12.50em;
    width: 26.36em;
    overflow: hidden;
    font-size: 0.92em;
}

#search-help-inner {
    padding: 0.64em 1.09em 10em 1.27em;
}

#subheader #search-form {
    text-align: right;
    margin-top: 0.42em;
    margin-right: 0.67em;
}

#subheader #search-form label {
    display: none;
}

#subheader #search-form .submit, #subheader #search-form .input, #subheader #search-form .input:focus {
    vertical-align: middle;
}

#subheader #search-form .submit {
    text-indent: -9999px;
    width: 1.67em;
    height: 1.75em;
    overflow: hidden;
    line-height: 0;
}

#subheader #search-form .input {
    padding: 0.17em;
    width: 20.83em;
}

/* Footer */
#footer-wide footer {
    padding-left: 0.83em;
    padding-right: 0.83em;
    font-size: 0.92em;
    padding-top: 0.32em;
}

#footer-wide footer .left {
    float: left;
    width: 48%;
}

#footer-wide footer .right {
    float: none;
    text-align: right;
}

/* Content */
#contents-inner {
    float: left;
    min-width: 50em;
    width: 67%;
    margin-top: 0.32em;
}

#portfolio #contents-inner {
    width: 100%;
}

#contents pre {
	overflow-x: hidden;
	position: relative;
	padding-bottom: 0.8em;
	z-index: 999;
}

#contents pre:hover,
#contents pre:focus,
#contents pre:active {
	width: 880px;
	overflow-x: auto;
}

#contents p, #contents blockquote, #contents code {
    margin-bottom: 1.0em;
}

#contents code {
	font-family: Droid Mono, 'DroidMono', Liberation Mono, "Courier New", Monaco, Courier, monospace;
}

#contents blockquote {
    margin-top: 1.70em;
}

#contents ul, #contents ol {
    margin-bottom: 0.72em;
}

#contents li {
    margin-bottom: 0.32em;
}

/* Breadcrums */
#contents #breadcrums {
    font-size: 0.83em;
    margin-bottom: 2.00em;
    margin-left: 3.70em;
}

#contents #breadcrums ul {
    margin-left: 0;
    padding-left: 0;
    display: inline;
}

#contents ul#breadcrums li {
    list-style: none;
}

#contents #breadcrums ul li {
    margin-left: 0;
    padding-left: 2px;
    border: none;
    list-style: none;
    display: inline;
}

#contents #breadcrums ul li:before, #contents ul#breadcrums li:before {
    content: "\0020 \0020 \0020 \00BB \0020";
}

#contents #breadcrums ul li.first:before, #contents ul#breadcrums li.first:before {
    content: " ";
}

/* Blog Entry */
#contents article {
    margin-bottom: 3.00em;
    margin-top: 1.50em;
    clear: both;
}

#contents article header {
    padding-left: 4.17em;
    margin-top: 1.0em;
}

#contents article h2, #portfolio #contents h2 {
    font-size: 3.0em;
    line-height: 1.2em;
    width: 86%;
    padding-bottom: 0.28em;
}

#contents article .entry-content h2 {
	font-size: 1.8em;
	line-height: 1.3em;
	padding-bottom: 0.28em;
	width: auto;
}

#contents article h2 a {
    text-decoration: none;
}

#contents article header .date {
    float: right;
    width: 6.25em;
    height: 5.17em;
    border-bottom: none;
    margin-top: -5.25em;
}

#contents article header .date .month-year, #contents article header .date .day {
    display: block;
    text-align: center;
    font-weight: bold;
}

#contents article header .date .day {
    width: 1.88em;
    font-size: 3.33em;
    line-height: 1.08em;
}

#contents article header .date .month-year {
    font-size: 1.35em;
    width: 4.69em;
    padding: 0.13em 0 0.13em 0;
}

#contents article p.meta {
    text-align: right;
    font-size: 0.92em;
    margin-bottom: 1.00em;
    margin-right: 0.36em;
    margin-top: 0.36em;
    font-style: italic;
}

#contents article .entry-content, #cv #contents article .hresume, #contents article .more {
    font-size: 1.17em;
    line-height: 1.3em;
    padding-left: 3.57em;
    font-family: Droid Serif, 'DroidSerif', Liberation Serif, Verdana, Geneva, Helvetica, Arial, sans-serif;
}

.entry-content {
    text-align: justify;
}

#contents article .more {
    clear: both;
    font-weight: bold;
	text-align: right;
}

#contents article footer, section#contents nav {
    font-weight: bold;
}

#contents article footer,
section#contents nav,
#contents div.pub,
#portfolio #contents footer,
#contents header.description {
    font-size: 0.92em;
    padding: 0.55em 2.29em 0.55em 4.58em;
}

#contents div.pub {
    text-align: center;
}

#contents article footer {
    padding-top: 1em;
    padding-bottom: 1.27em;
	padding-right: 120px;
	position: relative;
}

#contents article footer .fblike {
	position: absolute;
	right: 8px;
	top: 0;
	width: 80px;
	padding-left: 20px;
	height: 100%;
}

#contents article footer .fblike iframe {
	padding-top: 20px;
}

section#contents nav {
    text-align: center;
    margin-bottom: 1.5em;
}

section#contents nav .previous {
    float: left;
}

section#contents nav .next {
    float: right;
}

section#contents nav .archives-link {
	margin: 0 11em;
}

#contents article footer a, section#contents nav a {
    font-family: Droid Serif, 'DroidSerif', Liberation Serif, Verdana, Geneva, Helvetica, Arial, sans-serif;
    font-weight: normal;
}

#contents article footer p, section#contents nav p {
    padding: 0;
    margin: 0;
    line-height: 1.45em;
}

/* Comments */
#comments h2 {
    font-size: 1.67em;
    line-height: 1.10em;
    text-align: right;
    font-weight: bold;
    margin-bottom: 1em;
}

#comments ol.comments-list, #pings ol.comments-list, #comments ol.comments-list ul.children {
    margin-left: 0;
}

#comments ol.comments-list li.comment, #pings ol.comments-list li.pingback {
    list-style: none !important;
}

#comments article header .avatar {
    float: right;
}

#comments article header h3 {
	margin-bottom: 0.2em;
}

#comments article header, #pings article header {
    padding-left: 4.17em;
    min-height: 6.08em;
    overflow: hidden;
}

#comments ol.comments-list ol.comments-list article header, #comments ol.comments-list ul.children article header {
    min-height: 6.00em;
}

#comments article header h3, #pings article header h3 {
    font-size: 1.80em;
    line-height: 1.40em;
    padding-top: 0.20em;
}

#comments article header p, #pings article header p {
    font-size: 0.92em;
    margin-bottom: 0 !important;
}

#comments article .text, #pings article .text {
    margin-top: 0.83em;
    padding-left: 4.17em;
}

#comments article .text p, #pings article .text p {
    font-size: 1.08em;
    line-height: 1.3em;
}

#comments .comments-list li.comment, #pings .comments-list li.pingback {
    margin-bottom: 2.80em !important;
}

#comments ol.comments-list ol.comments-list, #comments ol.comments-list ul.children {
    margin-top: 2.00em !important;
}

#comments ol.comments-list ol.comments-list li, #comments ol.comments-list ul.children li {
    margin-top: 0;
}

#comments ol.comments-list ol.comments-list article .text, #comments ol.comments-list ol.comments-list article header, #comments ol.comments-list ul.children article .text, #comments ol.comments-list ul.children article header {
    margin-left: 3.75em;
    padding-left: 4.17em;
}

#comments ol.comments-list ol.comments-list article header, #comments ol.comments-list ul.children article header {
    margin-top: 0;
}

/* Comments Form */
#comments-write {
    margin-top: 2.8em;
    margin-bottom: 2.00em;
    padding-left: 4.17em;
    min-height: 20.00em;
}

#comments-write-inner {
    width: 48.5em;
    margin: 0 2em 0 auto;
    position: relative;
}

#comments-write h2 {
    text-align: right;
    margin-top: -1em;
    font-size: 1.8em;
    line-height: 1.0em;
    margin-bottom: 0.4em;
}

#comments-write #comments-user {
    float: left;
    margin-right: 1.25em;
}

#comments-write .input, #comments-write .textarea {
    padding: 0.32em 0.50em;
}

#comments-write .submit {
    padding: 0.40em 1.2em 0.40em 1.2em;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    line-height: 1em;
}

#comments-write #comments-user input {
    width: 12em;
}

#comments-write textarea#comment-text {
    height: 15.60em;
    width: 30em;
}

#comments-write .mandatory {
    font-weight: bold;
}

#comments-write .mandatory .input, #comments-write .mandatory .textarea {
    font-family: Droid Sans, 'DroidSans', Liberation Sans, Helvetica, Arial, sans;
    font-weight: normal;
}

#comments-write .submit-wrapper {
    text-align: right;
    margin-right: 1.5em;
}

#comments-write label {
	font-size: 0.9em;
}

#comments-help h3 {
    font-size: 1.4em;
    line-height: 1.1em;
    margin-bottom: 0.6em;
    margin-top: 1.00em;
}

.help.popup {
    width: 32em;
    position: absolute;
    left: 11.5em;
    padding-bottom: 16px;
}

#help-comment-author.popup {
    top: -8.30em;
}

#help-comment-author.popup .help-inner {
    height: 9.80em;
    overflow: hidden;
}

#help-comment-email.popup {
    top: -4.20em;
}

#help-comment-email.popup .help-inner {
    height: 10.00em;
    overflow: hidden;
}

#help-comment-url.popup {
    top: -2.60em;
}

#help-comment-url.popup .help-inner {
    height: 12.80em;
    overflow: hidden;
}

#help-mcspvalue.popup {
    top: 8.4em;
}

#help-mcspvalue.popup .help-inner {
    height: 7.20em;
    overflow: hidden;
}

#help-comment-text.popup {
    top: -12.5em;
    left: 17em !important;
}

#help-comment-text.popup .help-inner {
    height: 14.00em;
    overflow: hidden;
}

.help.popup .help-inner {
    padding: 0.3em 0.5em 0 0.5em;
}

.help h4 {
    margin-bottom: 0.32em;
}

.help.popup .help-inner p, .help.popup .help-inner code, .help.popup .help-inner h3 {
    margin-bottom: 0.5em !important;
}

#comments-write div.smilies-wrapper {
	margin: 0 3% 0 auto;
	width: 80%;
}

#comments-write p.smilies {
	padding: 0.12em 0.24em;
	margin: 0.5em auto;
}

/* Sidebar */
html > body section#sidebar {
    width: 290px !important;
}

#sidebar {
    width: 24.17em;
    float: right;
    margin: 0 0 0.30em 2.08em;
    padding-bottom: 1.25em;
}

#sidebar h2, #lifestream-entries li.more {
    height: 1.31em;
    font-size: 1.4em;
    padding-top: 0.36em;
    padding-left: 0.48em;
    font-weight: bold;
    margin-bottom: 0.42em;
    margin-top: 0.80em;
    text-shadow: 1px 1px 10px #000000;
}

#sidebar h2.first {
    margin-top: 0;
}

#sidebar p {
    margin-left: 0.52em;
}

#sidebar .fbwrapper {
	width: 240px;
	height: 255px;
	margin: 0 auto;
	padding: 0;
}

#sidebar h2.options {
	margin-bottom: 0;
}

/* Home */
#home nav {
    padding-top: 2em;
	padding-left: 2.83em;
    padding-bottom: 3em;
	text-align: left;
	margin-right: -52em;
	position: relative;
}

#home nav .fader,
#home nav .fadel {
	position: absolute;
	display: block;
	height: 100%;
	width: 60px;
	top: 0;
}

#home nav .fader {
	right: 52em;
}

#home nav .fadel {
	left: 2.83em;;
	
}

#home nav p {
	margin-bottom: 0;
}

#home #contents-inner {
	overflow-x: hidden;
}

#home nav li {
    margin-bottom: 0.83em;
    margin-left: 0;
    padding-top: 0;
    margin-top: 0;
    position: relative;
    list-style: none;
    width: 350px;
    height: 60px;
	list-style-image: none;
}

#home nav li a {
    position: absolute;
    width: 100%;
    height: 100%;
/*    text-indent: -9999px;*/
}

/* Me Online */
#lifestream-entries {
    margin-right: 0;
    margin-left: 0;
}

#lifestream-entries li.image, #lifestream-entries li.more {
    list-style: none;
}

#lifestream-entries li.image {
    display: inline;
    margin-left: 1.0em;
    margin-right: 0.6em;
}

#lifestream-entries li.more {
    margin-bottom: 14em;
    list-style-image: none;
}

#lifestream-entries .more ul {
    font-family: Droid Sans, 'DroidSans', Liberation Sans, Helvetica, Arial, sans;
    font-size: 0.7em;
    margin-top: 1.2em;
    margin-left: 1.8em;
    text-shadow: none;
}

/* for IE 7 */
 * + html #lifestream-entries .image {
    display: inline !important;
}

 * + html #lifestream-entries .image a {
    display: block !important;
}

#lifestream-entries .image, #lifestream-entries .image a {
    display: -moz-inline-stack;
    display: inline-block;
	zoom: 1;
	*display: inline;
    width: 48px;
    height: 48px;
}

#lifestream-entries .image a {
    text-indent: -9999px;
    opacity: 0.7;
}

#lifestream-entries .image a:hover {
    opacity: 1.0;
}

/* CV */
#cv #contents article {
    font-size: 0.92em;
}

#cv #contents article footer {
    text-align: right;
    margin-top: 4em;
}

#cv #contents article .hresume {
    margin-top: 0.50em;
}

#cv #contents article h3 {
    margin: 2em 0 0.8em -3.22em;
    padding-left: 3.22em;
    padding-top: 0.32em;
    padding-bottom: 0.32em;
    font-size: 1.1em;
    line-height: 1.2em;
}

#cv .tags {
    margin: 0.12em 0.50em 1em 0.50em;
}

#cv .nickname:after, #cv .nickname:before {
    content: "\"";
}

#cv .description {
    padding-left: 1em;
    padding-top: 0.32em;
}

#cv .tags ul, #cv .tags li {
    display: inline;
    margin: 0 !important;
    padding: 0 !important;
    font-style: italic;
}

#cv .tags li:after {
    content: ", ";
}

#cv .tags li.last:after {
    content: "";
}

#cv .hresume .org, #cv .hresume .location, #cv .hresume .title, #cv .hresume .education .summary, #cv .contact .fn {
    font-weight: bold;
}

#cv .hresume .title, #cv .hresume .education .summary {
    font-style: italic;
}

#cv .contact .fn, #cv .contact .adr, #cv .contact .phone-numbers {
    font-style: italic;
}

#cv .web-contacts {
    margin-top: 1em;
}

/* Portfolio */
#portfolio #contents footer {
    margin-bottom: 2em;
    margin-top: 2em;
    margin-right: 4em;
    font-weight: bold;
}

#portfolio #contents footer p {
    margin-bottom: 0.4em;
}

#portfolio #contents, #portfolio #contents-inner {
    padding-top: 0;
    margin-top: 0;
}

#portfolio #contents header, #portfolio #contents #breadcrums {
    display: none;
}

#portfolio #contents article header {
    display: block;
    margin-top: 0;
    padding-left: 2em;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
}

#portfolio #contents article {
    width: 74%;
    margin: 0 auto;
}

#portfolio #contents nav {
    margin-bottom: 0;
}

#portfolio #contents article header h3 {
    font-size: 2em;
    line-height: 1.4em;
}

#portfolio #contents article .pictures {
    float: right;
    width: 28%;
    display: block;
    margin-top: 0;
    margin-right: 0;
    padding: 0.4em 0.4em 0.8em 1.3em;
}

#portfolio #contents article .description {
    padding: 0.8em 0.2em 0 1.5em;
}

#portfolio #contents article ul.details {
    margin-left: 1.5em;
    padding-bottom: 0.4em;
}

#portfolio #contents article .details li {
    list-style: none;
}

#portfolio #contents article .technologies li {
    margin-top: 0;
    margin-bottom: 0.2em;
    margin-left: -1em;
    line-height: 1.4em;
}

#portfolio #contents article .details .url a:after {
    content: "\0020 \00bb";
}

#portfolio #contents article .pictures li {
    list-style: none;
}

#portfolio #contents article .label {
    font-weight: bold;
}

/* Tables */
table {
    margin-top: 0;
    margin-right: 0.3em;
    margin-left: 0.3em;
    margin-bottom: 1em;
}

caption {
    font-weight: bold;
    margin-top: 0.5em;
    margin-bottom: 0;
}

#contents caption p {
    font-size: 0.8em;
    margin-bottom: 0.2em;
}

tfoot {
    font-size: 0.8em;
}

tfoot td {
    text-align: right;
}

caption, td, th {
    padding: 0.2em 0.4em;
}

td, th {
    font-size: 0.9em;
}

/* Twitter */
#twitter_div {
    min-height: 12em;
}

#twitter_update_list li {
    list-style: none;
    background: none;
    padding: 0.60em 0.48em 0.60em 1.07em;
    line-height: 1.5em;
    margin: 0 0 0 0;
}

#twitter_update_list li:first-child {
    padding-top: 0;
}

#twitter_div, #twitter_update_list, #twitter_update_list ul {
    margin: 0;
    padding: 0 0 0.15em 0 !important;
}

/* RSS */
#sidebar #rss-link a {
    display: block;
    text-indent: -9999px;
    text-decoration: none;
    border: 0;
    background: none;
}

/* Archives */
#contents header.description {
	margin-bottom: 3em;
}

#contents #archives-menu {
	list-style: none;
	display: -moz-inline-stack;
    display: inline-block;
	zoom: 1;
	*display: inline;
	margin: 0 0 0 -3.57em;
	padding: 0 0 0 3.52em;
	width:100%;
	text-align: center;
}

#contents ul#archives-menu li {
	background: none;
	display: -moz-inline-stack;
    display: inline-block;
	zoom: 1;
	*display: inline;
	width: 12.50em;
	margin: 0;
	padding: 0;
	margin-bottom: 0;
}

#contents #archives-menu li#am-date {
	margin-left: 2px;
}

#contents ul#archives-menu li a {
	background: none;
	display: -moz-inline-stack;
    display: inline-block;
	zoom: 1;
	*display: inline;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0.5em 0;
	font-weight: bold;
}

#contents ul#archives-menu li.selected {
	margin-bottom: -1px;
	padding-bottom: 1px;
}

#contents #archive-content {
	width: 38.33em;
	min-height: 8em;
	margin: 0 auto;
}

#contents #archive-content #archive-date,
#contents #archive-content #archive-tags,
#contents #archive-content #archive-categories {
	width: 95%;
	margin: 0 auto 1.6em auto;
	padding-top: 1.2em;
}

#contents #archive-content #archive-date {
	text-align: center;
}

#contents #archive-content #archive-date p {
	padding: 0.24em 0.48em;
	margin-bottom: 0 !important;
	font-weight: bold;
	font-family: Droid Sans, 'DroidSans', Liberation Sans, Arial, Helvetica, sans-serif;
}

#contents #archive-content #archive-tags p {
	line-height: 1.6em;
}

#contents #archive-content #archive-tags a:link,
#contents #archive-content #archive-tags a:visited {
	text-decoration: none;
}

#contents #archive-content #archive-tags a:active,
#contents #archive-content #archive-tags a:hover {
	text-decoration: underline;
}

#contents #archive-content.jsenabled h3 {
	display: none;
}

/* Twitter */
.twtr-doc {
	margin: 0 auto;
}
.twtr-hd {
	display: none;
}
.twtr-widget .twtr-tweet {
	border-bottom: 1px dashed #a5a5a5 !important;
	padding-left: 0.42em;
	padding-right: 0.42em;
}
.twtr-bd {
	padding-left: 0;
	padding-right: 0;
}
.twtr-ft div {
	padding-bottom: 0;
}

/* Recomended Entries */
#sidebar .related.flashy {
	margin-bottom: 0;
}

#sidebar .related-list.flashy {
	margin: 0;
	padding: 0;
	display: block;
	width: 100%;
	overflow: hidden;
	position: relative;
}

#sidebar .related-list.flashy,
#sidebar .related-list.flashy .entry {
	height: 218px;
}

#sidebar .related-list.flashy li {
	list-style: none;
	padding: 0;
	margin: 0;
}

#sidebar .related-list.flashy .back,
#sidebar .related-list.flashy .forward {
	position: absolute;
	z-index: 2;
	top: 38%;
	display: none;
}

#sidebar .related-list.flashy:hover .back,
#sidebar .related-list.flashy:hover .forward {
	display: block;
}

#sidebar .related-list.flashy .back a,
#sidebar .related-list.flashy .forward a {
	font-size: 2em;
	line-height: 1.3em;
	text-decoration: none;
	display: block;
	padding: 10px;
	font-weight: bold;
}

#sidebar .related-list.flashy .back {
	left: 0;
	-moz-border-radius: 0 4px 4px 0;
}

#sidebar .related-list.flashy .forward {
	right: 0;
	-moz-border-radius: 4px 0 0 4px;
}

#sidebar .related-list.flashy .entry {
	position: relative;
	margin-top: 0;
	padding: 0;
	overflow: hidden;
}

#sidebar .related-list.flashy .entry img {
	min-width: 100%;
	min-height: 100%;
}

#sidebar .related-list.flashy .entry .label {
	display: block;
	width: 100%;
	overflow: hidden;
	bottom: 0;
	position: absolute;
}

#sidebar .related-list.flashy .entry .label a {
	display: block;
	font-size: 1.3em;
	line-height: 1.2em;
	font-weight: bold;
	text-decoration: none;
	padding: 10px 14px;
}

#sidebar .related-list.flashy .entry .label a:hover,
#sidebar .related-list.flashy .entry .label a:active,
#sidebar .related-list.flashy .back a:hover,
#sidebar .related-list.flashy .back a:active,
#sidebar .related-list.flashy .forward a:hover,
#sidebar .related-list.flashy .forward a:active {
	text-decoration: underline;
}

#sidebar .related-list.flashy .progress {
	position: absolute;
	bottom: 0;
	margin: 0;
	padding: 0;
	display: block;
	width: 100%;
	height: 3px;
	overflow: hidden;
}

#sidebar .related-list.flashy .progress .bar {
	display: block;
}

/* Galleries */
section#contents .gallery {
	margin: 1.2em auto;
	padding: 0.6em;
	text-align: center;
}

section#contents .gallery.col-1 {
	width: 180px;
}

section#contents .gallery.col-2 {
	width: 360px;
}

section#contents .gallery.col-3 {
	width: 530px;
}

section#contents .gallery .gallery-item {
	margin: 0.32em;
	padding: 0.42em;
	display: -moz-inline-stack;
	display: inline-block;
	zoom: 1;
	*display: inline;
}

section#contents .gallery .gallery-item .gallery-caption {
	font-size: 0.75em;
	line-height: 1.3em;
	margin-left: 0;
}

/* Language Popup */
#lang-popup-wrapper {
	position: absolute;
	/* Javascript takes care of the positioning */
	max-width: 25%;
}

#lang-popup {
	font-size: 0.92em;
	line-height: 1.2em;
	z-index: 999;
	opacity: 0.95;
	padding: 0.4em 0.8em;
}

#lang-popup h1 {
	font-size: 1.2em;
	line-height: 1.3em;
	padding-bottom: 0.3em;
}
