/*
Theme Name:     A Clockwork Berry
Description:    Child theme for the Twenty Twelve theme 
Author:         Giuseppe Portelli
Template:       twentytwelve
Version:        1.0
*/

@import url("../twentytwelve/style.css");

body, input, textarea {
	color: #0;
	font: 15px "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	line-height: 1.625;
}

body {
	background: #e2e2e2;
}

body.custom-font-enabled {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* gravatar widget */
.widget-grofile>h4 { display: none; }
.widget-grofile .grofile-meta p { margin-bottom: 0; }
.widget-grofile h4 { margin: 0 !important; font-size: 15px; }
.grofile-thumbnail { width: 260px !important; height: 260px; }

#postedOn {
	margin-left: 212px;
}

.entry-content a:visited,
.comment-content a:visited {
	color: #38860C;
}

.entry-content h2,
.comment-content h2,
.entry-content h3,
.comment-content h3,
.entry-content h4,
.comment-content h4,
.entry-content h5,
.comment-content h5,
.entry-content h6,
.comment-content h6 {
	margin-top: 20px;
	margin-bottom: 6px;
    
	line-height: 1.714285714;
}

#page {
	background: #fff;
}

#primary {
	float: left;
	margin: 0 -270px 0 0;
	width: 100%;
    margin-top: 20px;
}
#content {
	margin: 0;
	width: 620px;
	padding-left: 8px;
}
#secondary {
	float: right;
	width: 260px;
	padding-right: 10px;
}

body, input, textarea {
	color: #000000;
}

.entry-header {
	margin-top: 10px;
	margin-bottom: 10px;
}


.entry-header .entry-title {
	clear: none;	
	font-size: 26px;
	font-weight: bold;
	line-height: 1.5em;
	padding-bottom: .3em;
	padding-top: 0;
	margin-top: 0;	
}
.entry-title,
.entry-title a,
.entry-title a:visited,
.entry-title a:active {
	color: #9c1c20;
	text-decoration: none;
}

.entry-header img.wp-post-image {
	margin: 7px 12px 10px 0;
	float: left;
}

.entry-summary,
.entry-content {
	clear: both;
}

.site-content article {
	border-bottom: 0px;
	margin-bottom: 30px;
	padding-bottom: 0;
}

.edit-link { float: right;

}

.comments-area article header cite,
.comments-area article header time {
	margin-left: 0px;
}

.comments-area article header {
	margin: 0 0 10px;
}

/* =Menu
-------------------------------------------------------------- */

#access div {
	margin: 0;
}

#access {
	margin: auto;
	width: 930px;
}
#access ul {
	font-size: 13px;
	list-style: none;
	margin: 0;
	padding-left: 8px;
    padding-top: 3px;
}
#access li {
	display: block;
	position: relative;
	float:left;
}
#access a {
	color: #555;
	text-decoration: none;	
	font-size: 15px;
	font-weight: bold;
	padding-right: 30px;
}
#access ul ul {	
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 3.333em;
	left: 0;
	width: 188px;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #f9f9f9;
	border-bottom: 1px dotted #ddd;
	color: #444;
	font-size: 13px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 10px 10px;
	width: 168px;
}

#access li:hover > a,
#access a:focus {
	color: #a31927;
}
#access ul li:hover > ul {
	display: block;
}
#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current_page_ancestor > a {
	color: #a31927;
}


/* Search Form */
#branding #searchform {
    position: absolute;
	top: 46px;
	right: 8px;
	text-align: right;
}
#branding #searchform div {
	margin: 0;
}
#branding #s {
	-webkit-transition-duration: 400ms;
	-webkit-transition-property: width, background;
	-webkit-transition-timing-function: ease;
	-moz-transition-duration: 400ms;
	-moz-transition-property: width, background;
	-moz-transition-timing-function: ease;
	-o-transition-duration: 400ms;
	-o-transition-property: width, background;
	-o-transition-timing-function: ease;
	background-color: #f9f9f9;
	width: 72px;
}
#branding #s:focus {
	background-color: #fff;
	width: 196px;
}
#branding #searchsubmit {
	display: none;
}
#branding .only-search #searchform {
	top: 5px;
	z-index: 1;
}
#branding .only-search #s {
	background-color: #666;
	border-color: #000;
	color: #222;
}
#branding .only-search #s,
#branding .only-search #s:focus {
	width: 85%;
}
#branding .only-search #s:focus {
	background-color: #bbb;
}
#branding .with-image #searchform {
	top: auto;
	bottom: -27px;
	max-width: 195px;
}
#branding .only-search + #access div {
	padding-right: 205px;
}

/* Forms */
input[type=text],
input[type=password],
textarea {
	background: #fafafa;
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	border: 1px solid #aaa;
	color: #888;
}
input[type=text]:focus,
textarea:focus {
	color: #373737;
}
textarea {
	padding-left: 3px;
	width: 98%;
}
input[type=text] {
	padding: 3px;
}
input#s {
	background: url(images/search.png) no-repeat 5px 3px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-size: 14px;
	height: 16px;
	line-height: 1.2em;
	padding: 4px 10px 4px 28px;
}
input#searchsubmit {
	display: none;
}

/* =Widgets
----------------------------------------------- */

.widget-area {
	font-size: 12px;
}
.widget {
	clear: both;
	margin: 0;
}

.widget-area .widget {
	margin-bottom: 15px;
}

.widget-area #s {
    width: 220px;
}

.widget-title {
	color: #9c1c20;
	font-size: 16px;
	font-weight: bold;
	text-transform: none;
    border-bottom: 1px solid #aaa;
    padding-left: 5px;    
}
.widget ul {
	font-size: 15px;
	margin: 0;
	list-style: none;
	margin-top: 5px;
}
.widget ul ul {
	margin-left: 1.5em;
}
.widget ul li {
	color: #000;
	font-size: 11px;
	padding-left: 5px;
	padding-bottom: 4px;
}

.widget.widget_recent_entries ul li {
	padding-left: 28px;
    padding-top: 5px;
	background: transparent url(images/mini-logo.png) no-repeat 0 0px;
}

.widget a {
	font-weight: bold;
	text-decoration: none;
}
.widget a:hover,
.widget a:focus,
.widget a:active {
	text-decoration: underline;
}

.widget-area .widget h3 {
	margin-bottom: 0px;
}

.widget-area .widget a:visited,
.widget-area .widget a {
	color: #38860C;
}
.widget-area .widget a:hover {
	color: #38860C;
	text-decoration: underline;
}

/* Links */
a, 
.comments-link a,
.entry-meta a
{
	color: #38860C;
	text-decoration: none;
}

a:focus,
a:active,
a:visited,
a:hover,
.comments-link a:hover,
.entry-meta a:hover
{
	color: #38860C;
	text-decoration: underline;
}

img#wpstats{ position:absolute; top:0; width:0px; height:0px; overflow:hidden; }

#aclockworkberry-page {
	margin: 0px;
	padding: 0px;
	text-align: center;
}

#aclockworkberry-header {
	width: 930px;
    min-width: 930px;
    margin: auto;
    height: 150px;
    position: relative;
}

#aclockworkberry-header-title {
	position:absolute;
	top:25px;
	left:-62px;
	display: block;
    width: 592px;
    height: 134px;
    background: transparent url('images/main-logo-b.png') no-repeat left bottom;
    z-index: 0;
}

#aclockworkberry-subtitle {
	position:absolute;
	top:82px;
	left:659px;
	display: block;
    width: 263px;
    height: 17px;
    background: transparent url('images/hacking-fruit.png') no-repeat left bottom;
}

#spinning-key {
	width: 126px;
	height: 126px;
	z-index: 0;
	position: absolute;
	top: 19px;
	left: -66px;
	background: transparent url('images/spinning-key.gif');	
}

#aclockworkberry-header-title:hover { text-decoration: none; }

#aclockworkberry-menu {	
    border-top: 1px solid #3d8624;
    border-bottom: 1px solid #3d8624;
    height: 28px;
    background-color: #ecf7e7;
}

#aclockworkberry-menu .menu-main-menu-container {
    padding-top: 2px;
}

#aclockworkberry-main {
	width: 930px;
    margin: auto;
    text-align: left;
}

#branding {
	z-index: 10;
	border-top: 0px;
}

#aclockworkberry-footer {
	clear: both;
    border-top: 1px solid #aaa;
}

#aclockworkberry-footer-credits {
    margin: auto;
    text-align: left;
    margin-bottom: 25px;
    font-size: 11px;
    color: #999;
    width: 890px;
    padding-left: 36px;
    padding-top: 12px;
    
    background: transparent url(images/mini-logo.png) no-repeat 8px 2px;
    height: 40px;
}

li:target {
	background-color: #def;
}

/* Comments */
.comments-title {
	margin-bottom: 10px;
}

.commentlist li.comment {    
    margin: 24px 0px;
}

.comments-area article {
	margin: 0;
}

.comments-area article header {
    border-bottom: 1px solid #aaa;
	overflow: auto;
	padding: 3px 0px 0px 3px;
}

.comments-area article .comment-content,
.comments-area article .comment-reply-link {    
	padding: 3px;
}

.widget img {
    box-shadow: none;
}

.pocketgl-sandbox {
    margin-bottom:20px;
}

@media print {
	.site-content article {
		border-bottom: 0px;
		margin-bottom: 0px;
		padding-bottom: 0;
	}
	
	.nav-single + .comments-area,
	#comment-nav-above {
		margin: 0;
	}
	
	#aclockworkberry-header,
	#secondary,
	.attachment-post-thumbnail.wp-post-image,
	.nav-single,
	#respond,
	.sharedaddy.sd-sharing-enabled,
	.post-edit-link,
	.leave-reply,
	#aclockworkberry-footer,
	#aclockworkberry-footer-credits { display: none; }
	
	#content { width: auto;}
	#primary {
		float: none;
		margin: 0;
		width: auto;
	}
	#aclockworkberry-main { width: auto; }	
}