/**
 * Mobile File
 *
 * The layout for cellphones and other mobile devices
 *
 * @project LuisNabais.org
 * @version 2009.11
 * @author Luís Nabais
 * @copyright 2009 by the author
 * @licence CC-BY-SA
 */
body {
    margin: 0 auto;
    font: 12px "Droid Sans Regular", Helvetica, Arial, sans-serif;
    line-height: 1.3em;
	background: #172d47;
	min-width: 240px;
}

html, body {
	height: 100%;
}

#global-wide {
	max-width: 100%;
	overflow: hidden;
}

#global {
	background: #ffffff;
    color: #555753;
}

#global,
#footer-wide {
	border-bottom: 1px solid #989898;
}

#footer-wide {
	background: #E8E8E8;
    color: #313131;
	font-size: 0.8em;
}

a:link, a:visited {
    color: #dd972e;
    text-decoration: underline;
}

a:hover, a:active {
    color: #b2631c;
    text-decoration: underline;
}

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-family: "Droid Sans Bold", Helvetica, Arial, sans-serif;
    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;
}

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;
}

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 {
    text-align: left;
    margin-bottom: 0.40em !important;
}

pre {
    padding: 0.2em 0.4em;
    margin-right: 0.4em;
}

pre code {
    margin-bottom: 0 !important;
}

.accesskey {
	text-decoration: underline;
}

/* Hidden Stuff */
#sidebar {
	display: none;
}

#header-wide {
    background: #4f4f4f url("//static.nonsensebb.com/img/headerbg.png") top left repeat-x;
    border-bottom: 1px solid #373737;
	color: #f8f8f8;
}

#logo h1 a {
    font-size: 2em;
	line-height: 1.1em;
}

#logo h1 a:hover {
    text-decoration: underline;
}

#search-help-inner {
	background: #40403f;
    color: #E8E8E8;
    border-top: 1px solid #989898;
	width: 100%;
	padding: 0.24em 0.50em;
	margin-top: 0.24em;
	display: none;
}

#search-help-inner p {
	margin-bottom: 0;
}

#subheader {
	background: #E8E8E8;
	border-bottom: 1px solid #989898;
}

#subheader #search-form {
    text-align: center;
    padding: 0.42em 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 {
    width: 2.67em;
    height: 1.75em;
    overflow: hidden;
}

#subheader #search-form .input {
    padding: 0.17em;
    width: 70%;
}

#subheader #search-form .submit, #subheader #search-form .input, #subheader #search-form .input:focus {
    border: 1px solid #989898;
}

#subheader #search-form .submit {
    background: #eeeeec;
	color: #555753;
}

#subheader #search-form .input {
    background: #eeeeec;
    border-right: none;
    color: #989898;
}

#subheader #search-form .input:focus {
    border-right: none;
    color: #555753;
	outline: none;
}

#subheader nav ul {
	margin: 0 auto;
	height: 1.5em;
	width: 220px;
	font-size: 0.9em;
	padding-left: 1em;
}

#subheader nav li {
	display: inline;
	line-height: 1.2em;
	height: 1.5em;
	margin: 0 auto;
	padding: 0 0.8em;
	text-align: center;
}

#subheader nav li a {
	color: #989898;
}

#subheader nav li a:hover {
	color: #dd972e;
}

nav ul #mportfolio {
	display: none;
}

#breadcrums {
	display: none;
}

#contents {
	padding-top: 0.5em;
}

#contents h2 {
	border-bottom: 1px solid #989898;
	font-size: 1.48em;
	margin-left: 0;
	margin-right: 8%;
	padding: 0.3em 0.2em 0.3em 0.4em;
}

#cv #contents h3 {
	font-size: 1.1em;
}

#cv article footer p {
	font-size: 0.8em;
	font-style: italic;
	text-align: right;
}

#contents .meta,
#cv article footer p,
#cv #contents h3 {
	border: 1px solid #989898;
	border-left: 0;
	background: #E8E8E8;
	margin-left: 0;
	margin-right: 8%;
	padding: 0.3em 0.2em 0.3em 0.4em;
}

/* CV */


/* Home */

#home #contents nav ul {
	font-size: 2.8em;
	line-height: 1.1em;
	margin-top: 0.4em;
	margin-bottom: 0.6em;
	margin-left: 0.4em;
}

#home #contents nav ul a {
	text-decoration: none;
	font-weight: bold;
}

#home #contents nav ul a:hover {
	color: #b2631c !important;
	text-decoration: none;
}

#home #contents nav ul #mblog a,
#home #contents nav ul #mcv a {
	color: #555753;
}

#home #sidebar {
	display: inherit;
	background: #E8E8E8;
	border-bottom: 1px solid #989898;
	text-align: center;
	width: 100%;
}

#home #sidebar h2 {
	display: none;
}

#home #lifestream-entries li.twitter,
#home #lifestream-entries li.facebook {
	display: inline;
	height: 1.6em;
	line-height: 1.6em;
	padding: 0.24em 1.67em;
	list-style: none;
	margin: 0.3em auto;
}

#home #lifestream-entries li.twitter {
	background:url("//static.nonsensebb.com/img/post-options/twitter.png") no-repeat left top;
}

#home #lifestream-entries li.facebook {
	background:url("//static.nonsensebb.com/img/post-options/facebook.png") no-repeat left top;
}

#home #lifestream-entries li {
	display: none;
}
