/* -------------------------------------------------------------- 
	Theme Name: Logon V3
	Theme URI: http://logon.com.pt
	Description: Look, it's small!
	Author: José Carlos Joaquim
	Author URI: http://jjoaquim.com
	Version: 3.0
-------------------------------------------------------------- */
/*	Resets ------ */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, 
p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, 
img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, hr, 
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figure, figcaption, hgroup, 
menu, footer, header, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

article, aside, canvas, figure, figure img, figcaption, hgroup,
footer, header, nav, section, audio, video {
	display: block;
}

a img {border: 0;}

@font-face {
    font-family: 'CantarellRegular';
    src: url('./fonts/Cantarell-Regular-webfont.eot');
    src: url('./fonts/Cantarell-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('./fonts/Cantarell-Regular-webfont.woff') format('woff'),
         url('./fonts/Cantarell-Regular-webfont.ttf') format('truetype'),
         url('./fonts/Cantarell-Regular-webfont.svg#CantarellRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'CantarellBold';
    src: url('./fonts/Cantarell-Bold-webfont.eot');
    src: url('./fonts/Cantarell-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('./fonts/Cantarell-Bold-webfont.woff') format('woff'),
         url('./fonts/Cantarell-Bold-webfont.ttf') format('truetype'),
         url('./fonts/Cantarell-Bold-webfont.svg#CantarellBold') format('svg');
    font-weight: normal;
    font-style: normal;
}


body{
	font:13px/1.5 'CantarellRegular', 'Helvetica Neue', Arial,'Liberation Sans',FreeSans,sans-serif;
}
a {
	color: #000;
	text-decoration: none;
	font-weight: bold;
/*	-webkit-transition-property: color, background; 
	-webkit-transition-duration: 0.5s, 0.5s; 
*/
	-webkit-transition-property: color; 
	-webkit-transition-duration: 0.1s; 
	-webkit-transition-timing-function: linear, ease-in;
}
a:focus { 
	outline:1px dotted;
}
a:active, a:hover {
	color: #c01818;
	color: rgba(192,24,24, 1);
}
acronym, abbr {
	cursor: help;
	border-bottom: #aaa 1px dotted;
}
code, kbd, pre {
	font-family: "Monaco","Courier New", "Tahoma";
}
code {
  	margin: 15px;
  	padding: 0 10px;
	clear:	both;
	display: block;
	border-left: 3px solid #000;
}
.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun{color:#660}.pln{color:#000}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec{color:#606}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee}@media print{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun{color:#440}.pln{color:#000}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}

.amp {
	font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", serif;
	font-style: italic;
	font-size: 125%;
	font-weight: normal;
	clear: left;
	overflow:hidden;
}
hr {
	border:0 #ccc solid;border-top-width:1px;clear:both;height:0
}
h1, h2, h3, h4, h5, h6 {
	font-family: "CantarellBold", "Georgia", serif;
}
h1 { 
	font-size: 32px;
}
h2 {
	font-size:23px;
}
h3 {
	font-size:21px;
}
h4 {
	font-size:19px;
}
h5 {
	font-size:17px;
}
h6 {
	font-size:15px;
}
ol {
	list-style:decimal
}
ul {
	list-style:disc
}
li {
	border-bottom: 1px solid #eee;
}
p,dl,hr,h1,h2,h3,h4,h5,h6,ol,ul,pre,table,address,fieldset {
	margin-bottom:20px;
}
p,dl,hr,ol,ul,pre,table,address,fieldset {
	font-family: "CantarellRegular";
}

.small, small {
	font-size: 85%;
	line-height: 18px;
}
.small a, small a{
	font-weight: bold;
}

::selection 	 	{background: rgb(255,255,158);}
::-moz-selection 	{background: rgb(255,255,158);}
img::selection 		{background: transparent;}
img::-moz-selection	{background: transparent;}
body {-webkit-tap-highlight-color: rgb(255,255,158);}

body {
	width: 896px;
	margin: 0 auto;
	padding: 50px 48px 84px;
	background: rgb(255,255,255);
	color: rgb(0,0,0);
	-webkit-text-size-adjust: 100%; /* Stops Mobile Safari from auto-adjusting font-sizes */
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
}
.branding {
	text-indent: -9999px;
	margin-bottom: 5em;
}
.branding a {
	display: block;
	width: 238px;
	height: 79px;
	background: url(images/logo_.png) no-repeat 0 0;
}
.content, .footer {
	margin-right: 68px;
	width: 528px;
	float: left;
}
.footer {
	margin: 0;
	padding: 3em 0 0.5em;
	text-align: center;
}
.site-info {
	float: left;
	width: 252px;
}
.site-info li {
	list-style: none;
	border: 0;
	line-height: 1.6em;
}

article, .post {
	border-bottom: 1px solid #ccc;
	margin-bottom: 3em;
}

.post-date, .post-date a {
	color: #999;
	font-weight: normal;
}
.post-date a:hover {
	color: #000;
}
.navigation {
	text-align: center;
}

blockquote {
	color: #666;
	font-size: 95%;
	font-style: italic;
	font-weight: 500;
	margin: 3em;
}
.comments li {
	clear: both;
	padding: 2%;
	margin-bottom: 1em;
	overflow: hidden;
}
.comments li .avatar img {
	float: left;
	margin-right: 2em;
}
.comments li .author strong {
	display: block;
}
.comments li .comment-text {
	float: left;
	max-width: 80%;
}
input[type="search"] {
	width: 80%;	
}
.footer p {
	font-size: 90%;
	line-height: 0.5em;
}
.footer a {
	color: #666;
}
.footer a:hover {
	color: #000;
}
.page-title {
	margin-bottom: 2em;
}
.year {
	clear: both;
	margin-bottom: 2em;
	overflow: hidden;
}
.year h3 {
	border-bottom: 1px solid #ccc;
}
.month {
	width: 50%;
	margin-left: 10%;
}
.month ul {
	margin-left: 5%;
}
.month li {
	list-style: none;
}
.post img {
	padding: 2px;
	border: 1px solid #ccc;
}
.post .wp-smiley {
	border: 0;
	padding: 0;
}
.post li {
	border-bottom: 0;
}
#commentform {
	overflow: hidden;
}
#commentform p {
	margin-bottom: 1em;
	overflow: hidden;
}
#commentform label {
	width: 20%;
	margin-right: 5%;
	float: left;
	clear: both;
	text-align: right;
}
#commentform input[type="text"] {
	width: 40%;
	float: left;
}
#commentform textarea {
	float: left;
	width: 70%;
}
#commentform input[type="submit"] {
	background-color: #fff;
	border: 1px solid #000;
	color: #000;
	cursor: pointer;
	margin-left: 25%;
	padding: 4px 12px 5px;
}

.site-info li a, .rss a {
	padding-left: 24px;
	background-position: left 50%;
	background-repeat: no-repeat;
	font-weight: normal;
}
.site-info li a:hover, .rss a:hover {
	font-weight: bold;
}
.site-info ul.cat a {
	padding-left: 0;
}
.rss a { background-image: url(images/feed-16x16.png); }
li a[href="http://twitter.com/jjoaquim"] { background-image: url(images/twitter-16x16.png); }
li a[href="http://designisinthecode.com"] { background-image: url(images/website-16x16.png); }
li a[href="http://twitter.com/jjoaquim"] { background-image: url(images/twitter-16x16.png); }
li a[href="http://www.linkedin.com/in/jjoaquim"] { background-image: url(images/linkedin-16x16.png); }
li a[href="http://www.last.fm/user/jjoaquim"] { background-image: url(images/lastfm-16x16.png); }
li a[href="http://facebook.com/jjoaquim"] { background-image: url(images/facebook-16x16.png); }
li a[href="http://flickr.com/photos/jjoaquim"] { background-image: url(images/flickr-16x16.png); }
li a[href="http://gowalla.com/users/jjoaquim"] { background-image: url(images/gowalla-16x16.png); }

@media only screen and (min-width: 768px) and (max-width: 991px) {
	
	body {
		width: 712px;
		padding: 48px 28px 60px;
	}
	.content, .footer {
		width: 436px;
	}
	.site-info {
		width: 160px;
	}
}

@media only screen and (max-width: 767px) {
	
	body {
		width: 90%;
		padding: 0;
	}
	.content, .footer {
		width: 100%;
		margin-right: 0;
	}
	.site-info {
		width: 100%;
	}
	#commentform {
		width: 100%;
	}
	#commentform p {
		margin-bottom: 1em;
	}
	#commentform label {
		float: none;
		display: block;
		text-align: left;
	}
	#commentform input[type="text"] {
		float: none;
	}
	#commentform textarea {
		float: none;
	}
	#commentform input[type="submit"] {
		background-color: #fff;
		border: 1px solid #000;
		color: #000;
		cursor: pointer;
		margin-left: 0;
		padding: 4px 12px 5px;
	}
	
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	body {
		width: 90%;
		padding: 0;
	}
	.content, .footer {
		width: 100%;
		margin-right: 0;
	}
	.site-info {
		width: 100%;
	}
	#commentform {
		width: 100%;
	}
	#commentform p {
		margin-bottom: 1em;
	}
	#commentform label {
		float: none;
		display: block;
		text-align: left;
	}
	#commentform input[type="text"] {
		float: none;
	}
	#commentform textarea {
		float: none;
	}
	#commentform input[type="submit"] {
		background-color: #fff;
		border: 1px solid #000;
		color: #000;
		cursor: pointer;
		margin-left: 0;
		padding: 4px 12px 5px;
	}
	
	
}
@media 
	only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (min-device-pixel-ratio: 2) {
	
	body {
	
	}
	
}