/*
Theme Name: Cubiq Theme
Theme URI: http://cubiq.org/
Description: Default theme for http://cubiq.org.
Version: 2.0
Author: Matteo Spinelli
Author URI: http://cubiq.org/
Tags: purple, orange, black, fixed width, 960px
*/

/* Additional fonts */
@font-face {
	font-family: MuseoWeb;
	src: url('fonts/museo500-regular-webfont.eot');
	src: local('Museo'), local('Museo-500'), url('fonts/museo500-regular-webfont.woff') format('woff'), url('fonts/museo500-regular-webfont.ttf') format('truetype'), url('fonts/museo500-regular-webfont.svg#webfont') format('svg');
	font-weight: normal;
	font-style: normal;
} /* A font by Jos Buivenga (exljbris) -> www.exljbris.nl */


/* Reset */
html {
	margin:0;
	padding:0;
}

body, h1, h2, h3, h4, h5, h6, ol, ul, li, img, form, input, select, textarea, dd, dt, dl, p, label {
	margin:0;
	padding:0;
	border:0;
	font-size:inherit;
	font-family:inherit;
	font-weight:normal;
}

body {
	font-size:10px;
	font-family:'helvetica neue', arial, sans-serif;
	text-align:center;
	color:#222;
	line-height:1;
	background:#333;
}

h1, h2, h3, h4, h5, h6 {
	font-family:MuseoWeb, 'helvetica neue', arial, sans-serif;
}

ul, li {
	list-style:none;
}

a {
	color:#DD0042;
	text-decoration:none;
}

a:hover {
	color:#222;
}

pre, code {
	font-family:monaco, consolas, "courier new", monospace;
}

cite {
	font-style:normal;
}

del {
	text-decoration:line-through;
}

ins {
	text-decoration:none;
}

:focus {
	border:0;
}

/* General purpose */
.wrapper {
	width:960px;
	margin:0 auto;
	text-align:left;
}

.clear {
	clear:both;
	width:100%;
	height:1px;
	display:block;
	font-size:1px;
}

.ntbs {
	display:none;
}

#header, #topnav, #feature, #page, #title {
	width:100%;
	background-image:url(images/header-bg.png);
	background-repeat:repeat-x;
	float:left;
}

.button,
.comment-reply-link,
.pagination a, .pagination span,
#searchsubmit {
	display:block;
	float:left;
	background:#d1d1d1 url(images/button-bg.png) repeat-x 0 0;
	border-width:1px;
	border-style:solid;
	border-color:#d3d3d3 #aaaaaa #888 #aaaaaa;
	padding:3px 7px;
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
	-moz-box-shadow:0 1px 2px #ddd;
	-webkit-box-shadow:0 1px 2px #ddd;
	box-shadow:0 1px 2px #ddd;
	text-shadow:0 1px 0 #fff;
	font-weight:bold;
	text-transform:uppercase;
	font-size:11px;
	color:#222;
	white-space:nowrap;
	width:auto;
}

.button:hover,
.comment-reply-link:hover,
.pagination a:hover,
#searchsubmit:hover {
	-moz-box-shadow:0 0 2px #FE4D8E;
	-webkit-box-shadow:0 0 2px #FE4D8E;
	box-shadow:0 0 2px #FE4D8E;
	border-color:#BF6781;
}

.button:active,
.pagination a:active,
.comment-reply-link:active,
#searchsubmit:active {
	background:#ddd;
}

.pagination {
	float:left;
	width:100%;
}

.pagination a, .pagination span {
	margin:10px 5px 20px 0;
}

.pagination span {
	background:#D31547;
	color:#fff;
	text-shadow:none;
	border-color:#7C0023;
	-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.6);
	-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.6);
	box-shadow:inset 0 1px 2px rgba(0,0,0,0.6);
}

.alignleft {
	float:left;
}

.alignright {
	float:right;
}

/* Header */
#header {
	height:56px;
	white-space:nowrap;
	overflow:hidden;
	background-color:#111;
	background-position:0 0;
}

#header .wrapper {
	position:relative;
}

#header h1 a {
	display:block;
	height:56px;
	width:151px;
	background:url(images/cubiq-logo.png) no-repeat 0 0;
	text-indent:-9999em;
}

#subscribeicons {
	position:absolute;
	right:0;
	top:0;
}

#subscribeicons li,
#subscribeicons a {
	display:block;
	float:left;
}

#subscribeicons a {
	width:51px;
	height:56px;
	background:url(images/subscribe-icons.png) no-repeat 0 100%;
	text-indent:-9999em;
}

#subscribeicons a.rss {
	background-position:0 100%;
}
#subscribeicons a.rss:hover {
	background-position:0 0;
}

#subscribeicons a.email {
	background-position:-51px 100%;
}
#subscribeicons a.email:hover {
	background-position:-51px 0;
}

#subscribeicons a.twitter {
	background-position:-102px 100%;
}
#subscribeicons a.twitter:hover {
	background-position:-102px 0;
}

/* Top navigation */
#topnav {
	height:48px;
	white-space:nowrap;
	overflow:hidden;
	background-color:#ba1360;
	background-position:0 -56px;
	font-size:1.3em;
	text-shadow:0 1px 1px #430320;
}

#topnav li,
#topnav li a {
	display:block;
	float:left;
}

#topnav li {
	padding:8px 16px 8px 0;
}

#topnav li a {
	height:32px;
	padding:0 10px;
	line-height:32px;
	color:#fff;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
}

#topnav li a:hover {
	background:rgba(0,0,0,0.1);
}

#topnav li.active a,
#topnav li.active a:hover {
	background:#921350;
	border-bottom:1px solid #BA497E;
}

/* Features */
#feature {
	height:200px;
	overflow:hidden;
	background-color:#f06e51;
	background-position:0 -104px;
	text-shadow:0 1px 1px #430320;
}

#feature, #feature a {
	color:#fff;
}

#feature .block {
	width:310px;
	height:200px;
	float:left;
	margin-right:15px;
}

#feature .block.last {
	margin:0;
}

#feature .block img {
	width:141px;
	height:200px;
	float:left;
	margin-right:4px;
}

#feature h2 {
	font-size:2.4em;
	font-weight:bold;
	margin-top:50px;
	margin-bottom:4px;
}

#feature p {
	font-size:1.6em;
	line-height:130%;
}

/* Main page contents */
#page {
	background-color:#fff;
	background-position:0 -390px;
	padding:40px 0 30px 0;
}

#content {
	width:630px;
	float:left;
}

#content .hentry {
	float:left;
	width:100%;
	margin-bottom:40px;
	padding-bottom:40px;
	border-bottom:1px dotted #ccc;
}

#content .post .tags {
	font-size:12px;
	text-transform:uppercase;
	font-weight:bold;
}

#content .post .tags a {
	color:#888;
}

#content .post .tags a:hover {
	color:#DD0042;
}

#content .post .thepost {
	width:550px;
	float:right;
}

/*#content .category-projects .thepost,*/
.single #content .category-projects .thepost,
#content .page .thepost {
	width:100% !important;
	float:left;
}

#content .post .title {
	font-size:2.6em;
	margin-bottom:3px;
}

#content .post .meta {
	width:60px;
	float:left;
	text-align:center;
}

.single #content .category-projects .meta {
	display:none;
}

#content .post .meta .monthyear {
	text-transform:uppercase;
	font-weight:bold;
	background:#D31547;
	padding:4px;
	color:#fff;
	-moz-border-radius-topleft:5px;
	-moz-border-radius-topright:5px;
	-webkit-border-top-left-radius:5px;
	-webkit-border-top-right-radius:5px;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
}

#content .post .meta .day {
	font-family:MuseoWeb,'Helvetica Neue',Arial,sans-serif;
	font-size:3.6em;
	margin-bottom:12px;
	background:#eee;
	border-top:1px solid #aaa;
	padding:2px 0 4px 0;
	text-shadow:0 1px 2px #aaa;
	-moz-border-radius-bottomleft:5px;
	-moz-border-radius-bottomright:5px;
	-webkit-border-bottom-left-radius:5px;
	-webkit-border-bottom-right-radius:5px;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
}

#content .post .meta .replies,
#content .post .meta .replies span {
	display:block;
	background:#FFF1C9 url(images/replies-bg.png) no-repeat 0 100%;
}


#content .post .meta .replies,
#content .post .meta .commentsnum {
	background:#FFF1C9 url(images/replies-bg.png) no-repeat 0 0;
}

#content .post .meta .replies {
	text-transform:uppercase;
	font-weight:bold;
	padding:6px 0 2px 0;
}

#content .post .meta .commentsnum {
	font-family:MuseoWeb,'Helvetica Neue',Arial,sans-serif;
	padding-bottom:18px;
	font-size:2.8em;
	background-position:0 100%;
}

#content .hentry .entry p,
#content .hentry .entry ul,
#content .hentry .entry ol {
	font-size:1.4em;
	line-height:135%;
	margin-bottom:20px;
}

#content .hentry .entry ul li {
	list-style:circle outside;
	margin-left:20px;
}

#content .hentry .entry ol li {
	list-style:decimal outside;
	margin-left:20px;
}

#content .hentry .entry code {
	background:#eee;
}

#content .hentry .entry h3 {
	font-size:2em;
	font-weight:bold;
	padding:5px 0;
}

#content .hentry .entry img.alignleft {
	margin:4px 10px 10px 0;
}

#content .hentry .entry img.alignright {
	margin:4px 0 10px 10px;
}

#content .hentry .entry pre {
	background:#444 url(images/pre-bg.png);
	color:#fff;
	border:5px solid #444;
	line-height:15px;
	font-size:11px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	overflow:auto;
}

#content .hentry .wp-post-image {
	display:block;
	float:left;
	margin:2px 12px 10px 0;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
}

#content .hentry .wp-caption {
	background:#eee;
	text-align:center;
	margin:10px;
}

#content .hentry .wp-caption img {
	margin:5px;
}

#content .hentry .wp-caption .wp-caption-text {
	font-size:10px;
	text-align:center;
	padding:0 5px;
	margin:0 0 5px 0;
	color:#444;
}

#content .hentry .entry .gallery a {
	display:block;
	float:left;
	margin:5px;
}

#content .hentry .entry .gallery a img {
	margin:0;
	border:4px solid #eee;
}

#content .hentry .entry .notice {
	display:block;
	padding:15px;
	background:#ffd;
	border:1px solid #FFB252;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	font-size:1.1em;
	margin-top:10px;
}

#content .post .more-link {
	padding:6px 8px;
	clear:both;
}

#content .whoops {
	width:100%;
	padding-top:350px;
	background:url(images/whoops.png) no-repeat 50% 0;
	text-align:center;
	font-size:4em;
	font-weight:bold;
	color:#999;
}

/* Single */
#title {
	height:86px;
	line-height:86px;
	overflow:hidden;
	background-color:#ffc13e;
	background-position:0 -304px;
	text-shadow:0 1px 1px #430320;
	color:#fff;
	font-size:3.4em;
	border-bottom:1px solid #EF7719;
}

#content .excerpt {
	font-family:MuseoWeb, 'helvetica neue', arial, sans-serif;
	font-size:1.8em;
	margin-bottom:30px;
	line-height:140%;
	border-bottom:1px solid #ccc;
	padding-bottom:20px;
}

.single #content .post,
.page #content .page {
	border:0;
	padding-bottom:0;
}

.single #content .post .tags {
	margin-bottom:4px;
}

#content .hentry .entry #console {
	display:block;
	float:left;
	width:100%;
	list-style:none;
	margin:10px 0 30px 0;
	padding:0;
	font-size:14px;
	font-family:MuseoWeb, 'helvetica neue', arial, sans-serif;
}

#content .hentry .entry #console li {
	list-style:none;
	padding:0;
	margin:0 13px 0 0;
	background:#e9e8e9 url(images/button-bg2.png) repeat-x 0 0;
}

#content .hentry .entry #console li,
#content .hentry .entry #console a {
	display:block;
	float:left;
}

#content .hentry .entry #console a {
	padding:0 10px 0 44px;
	height:42px;
	line-height:42px;
	border-width:1px;
	border-style:solid;
	border-color:#e0e0e0 #ccc #aaa #ccc;
	background:url(images/console-icons.png) no-repeat 0 0;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	-webkit-box-shadow:0 1px 3px #ccc;
	-moz-box-shadow:0 1px 3px #ccc;
	box-shadow:0 1px 3px #ccc;
	text-shadow:0 1px 0 #fff;
}

#content .hentry .entry #console a:hover {
	border-color:#DD0042;
}

#content .hentry .entry #console a:active {
	background-color:#e6e6e6;
}

#content .hentry .entry #console a.download {
	background-position:4px 50%;
}

#content .hentry .entry #console a.demo {
	background-position:-454px 50%;
}

#content .hentry .entry #console a.repo {
	background-position:-684px 50%;
}

#content .hentry .entry #console a.screencast {
	background-position:-225px 50%;
}

#singleAd {
	clear:both;
	background: #ffd;
	padding:10px;
	font-size:1.4em;
	line-height:140%;
	margin-bottom:20px;
}

/* Share icons */
#share {
	clear:both;
}

#share .caption {
	font-size:1.8em;
	border-bottom:1px solid #ccc;
	padding-bottom:5px;
	margin-bottom:3px;
}

#share ul {
	width:100%;
	display:block;
	float:left;
}

#share li, #share a {
	display:block;
	float:left;
}

#share a {
	height:48px;
	width:48px;
	background-image:url(images/share2.png);
	background-position:0 0;
	background-repeat:no-repeat;
	text-indent:-9999em;
	opacity:0.6;
}

#share a:hover {
	opacity:1;
}

#share .delicious { background-position:0 0; }
#share .digg { background-position:-48px 0; }
#share .email { background-position:-384px 0; }
#share .facebook { background-position:-96px 0; }
#share .buzz { background-position:-144px 0; }
#share .google { background-position:-192px 0; }
#share .stumbleupon { background-position:-240px 0; }
#share .tumblr { background-position:-288px 0; }
#share .twitter { background-position:-336px 0; }
#share .reddit { background-position:-432px 0; }

/* Comments */
#comments {
	clear:both;
	float:left;
	width:100%;
	margin-top:40px;
}

#comments .caption {
	font-size:2.8em;
	margin-bottom:5px;
}

#comments .comment-meta {
	clear:both;
	padding:8px 10px;
	background:#333;
	-moz-border-radius-topleft:5px;
	-moz-border-radius-topright:5px;
	-webkit-border-top-left-radius:5px;
	-webkit-border-top-right-radius:5px;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	font-size:1.1em;
	color:#aaa;
}

#comments .pingback .comment-meta {
	font-size:1.0em;
	background:#888;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	margin-bottom:10px;
	color:#eee;
}

#comments .bypostauthor .comment-meta,
#comments .bypostauthor .comment-meta .datetime {
	background:#D31547;
	color:#fff;
}

#comments .pingback .comment-meta .datetime {
	color:#eee;
}

#comments .bypostauthor .comment-meta .author a {
	border-color:#aaa;
}

#comments .bypostauthor .comment-meta .author a:hover {
	border-color:#fff;
}

#comments .comment-meta .permalink {
	float:right;
}

#comments .comment-meta .author {
	font-size:1.3em;
	font-weight:bold;
	color:#fff;
}

#comments .pingback .comment-meta .author {
	font-size:1.1em;
	font-weight:bold;
	color:#fff;
}

#comments .comment-meta .author a {
	color:#fff;
	text-decoration:underline;
}

#comments .comment-meta .datetime {
	color:#aaa;
}

#comments .children {
	padding-left:40px;
}

#comments .content {
	position:relative;
	clear:both;
	background:#eee url(images/comment-bg.png) repeat-x 0 0;
	padding:10px 10px 0 10px;
	-moz-border-radius-bottomleft:5px;
	-moz-border-radius-bottomright:5px;
	-webkit-border-bottom-left-radius:5px;
	-webkit-border-bottom-right-radius:5px;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	font-size:1.2em;
	margin-bottom:10px;
	border-top:1px solid #fff;
}

#comments .content p {
	line-height:135%;
	margin-bottom:10px;
}

#comments .content pre {
	border:5px solid #ccc;
	line-height:15px;
	font-size:11px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	overflow:auto;
	background:#ccc;
}

#comments .content .avatar {
	display:block;
	float:left;
	width:48px;
	height:48px;
	margin:0 10px 10px 0;
	border:4px solid #fff;
}

#comments .content .comment-reply-link {
	float:right;
	margin-left:10px;
}

#comments .nocomments {
	font-size:1.8em;
	font-weight:bold;
	color:#DD0042;
	text-align:center;
	margin-bottom:20px;
}

#commentsadv {
	text-align:center;
	margin:20px 0 20px 0;
}

/* Submit comment */
#respond {
	float:right;
	width:600px;
	padding:15px;
	background:#fff1c9;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	margin-bottom:10px;
}

li #respond {
	width:560px;
}

#respond .caption {
	margin-bottom:15px;
}

#commentform {
	font-size:1.2em;
}

#commentform p {
	margin-bottom:10px;
}

#commentform .userinfo {
	float:left;
	width:180px;
}

#commentform .message {
	float:right;
	width:360px;
}

#respond.loggedin .message,
#respond.loggedin .buttons {
	float:left;
}

#commentform label {
	display:block;
	margin-bottom:3px;
}

#commentform label .req {
	font-weight:normal;
	color:#DD0042;
}

#commentform .input, #comment {
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	background:#fff;
	padding:5px;
	margin-bottom:5px;
}

#commentform .cancel-comment-reply {
	float:left;
	padding:5px 0;
	margin-left:20px;
	font-weight:bold;
}

#comment {
	width:350px;
}

#commentform .input {
	width:170px;
}

#commentform .buttons {
	width:360px;
	float:right;
	margin:0;
}

/* Special pages */
#content .tag-archive ul {
	padding-left:140px;
	background:url(images/tag-archive.png) no-repeat;
	font-size:1.3em;
	line-height:150%;
}

#content .tag-archive li {
	margin:4px 0;
	padding:4px 0;
	border-bottom:1px dotted #ccc;
}

/* Contact form */
#contactpagecontact span {
	display:none;
}

#contactpage .caption {
	border-bottom:1px solid #ccc;
	margin-bottom:20px;
	padding-bottom:20px;
	font-size:1.6em;
	line-height:140%;
}

#contactpage p {
	font-size:1.3em;
	margin-bottom:15px;
}

#contactpage form {
	clear:both;
}

#contactpage .field {
	padding:5px;
	background:#eee;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	-webkit-box-shadow:inset 0 1px 2px #999;
	-moz-box-shadow:inset 0 1px 2px #999;
	box-shadow:inset 0 1px 2px #999;
	width:220px;
}

#contactpage textarea {
	padding:5px;
	background:#eee;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
	-webkit-box-shadow:inset 0 1px 2px #999;
	-moz-box-shadow:inset 0 1px 2px #999;
	box-shadow:inset 0 1px 2px #999;
	width:350px;
	height:15em;
}

#contactpage label {
	display:block;
	margin-bottom:4px;
}

#contactpage label span {
	color:#DD0042;
	font-size:0.9em;
}

#contactpage .button {
	padding:6px 12px;
}

#contactpage .meta {
	float:left;
	width:240px;
}

#contactpage .message {
	float:right;
	width:360px;
}

/* Sidebar */
#sidebar {
	width:290px;
	float:right;
}

#sidebar .caption {
	font-size:1.8em;
	border-bottom:1px solid #ccc;
	padding-bottom:4px;
}

#sidebar .block {
	float:left;
	width:100%;
	margin-bottom:30px;
}

#sidetopadv ul {
	width:100%;
}

#sidetopadv li {
	display:block;
	float:left;
}

#sidetopadv .customad {
	background:#ffd;
	font-size:1.2em;
	line-height:140%;
	width:115px;
	height:115px;
	overflow:hidden;
	padding:5px;
}

#sidebar p,
#sidebar #searchform,
#sidebar #cse-search-box {
	padding:8px 0;
	font-size:1.2em;
}

#sidebar p {
	line-height:140%;
}

#sidebar .list {
	font-size:1.2em;
	line-height:140%;
}

#sidebar .list li {
	border-bottom:1px dotted #ccc;
	padding:8px 0;
}

#sidetopadv .odd {
	margin:0 20px 0 10px;
}

#twit em {
	font-style:normal;
	color:#888;
}

#twit.loading {
	background:url(images/loading.gif) no-repeat 0 50%;
	padding-left:22px;
}

/* Sidebar Search */
#searchform label {
	display:block;
	float:left;
	padding:4px 0;
	margin-right:8px;
	font-weight:bold;
}

#s {
	display:block;
	float:left;
	padding:4px;
	background:#eaeaea;
	margin-right:8px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	width:130px;
	-webkit-box-shadow:inset 0 1px 2px #999;
	-moz-box-shadow:inset 0 1px 2px #999;
	box-shadow:inset 0 1px 2px #999;
}

#q {
	display:block;
	float:left;
	padding:3px;
	margin-right:8px;
	border:1px solid #ccc;
	width:180px;
}

/* Footer */
#footer {
	clear:both;
	float:left;
	width:100%;
	background:#333 url(images/footer-bg.png) repeat-x 0 0;
	padding:25px 0 40px 0;
	color:#ddd;
}

#footer h4 {
	font-size:1.6em;
	border-bottom:1px solid #777;
	padding-bottom:4px;
	color:#fff;
}

#footer a {
	color:#999;
}

#footer a:hover {
	color:#fff;
}

#footer p {
	font-size:1.2em;
	line-height:140%;
	margin:5px 0 15px 0;
}

#footer .block {
	width:240px;
	float:left;
	margin-right:40px;
}

#footer .block.cubes {
	padding-left:160px;
	background:url(images/footer-cubes.png) no-repeat 0 0;
}

#footer .block.last {
	margin-right:0;
}

#footer ul {
	font-size:1.2em;
}

#footer li {
	border-bottom:1px dotted #777;
}

#footer li a {
	display:block;
	padding:5px 0;
}

#footer li a:hover {
	background:#444;
	padding-left:8px;
}

#footercontact span {
	display:none;
}

#license {
	clear:both;
	float:left;
	width:100%;
	margin-top:30px;
	text-align:center;
	font-size:1.1em;
}

#license img {
	vertical-align:middle;
	margin-right:8px;
}