/*
Theme Name: The De Palma Touch (Twenty Ten)
Theme URI: http://wordpress.org/
Description: Theme for The De Palma Touch 
Author: Radoslav Sharapanov (the WordPress team)
Version: 1.0
Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
*/

html, body {
	background: #e3e7eb;
	padding: 0;
	margin: 0;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 16px;
	color: #222;
}
body {
	padding-top: 20px;
	position: relative;
}
h1, h2, h3, h4, #cta, #top h2.single {
	font-family: 'Times New Roman', serif;
	font-weight: bold;
}

#top {
	margin-left: -20px;
	padding-left: -20px;
	margin-top: -20px;
	padding-top: 20px;
	background: #fff;
	-webkit-transform: rotate(-2deg);
	-moz-transform: rotate(-2deg);	
	-o-transform: rotate(-2deg);
	transform: rotate(-2deg);
	padding-bottom: 0px;
	border-bottom: 2px solid #cad0d6;
/* 	-webkit-transition: opacity 0.2s linear; -moz-transition: opacity 0.2s linear; -o-transition: opacity 0.2s linear; */
}
	#top > div {
		-webkit-transform: rotate(2deg);
		-moz-transform: rotate(2deg);	
		-o-transform: rotate(2deg);
		transform: rotate(2deg);
		width: 900px;
		margin: 0 auto;
		background: url(hand.png) top left no-repeat;
	}
	#top h1, h2 {
		margin-top: 0;
		display: inline;
	}
	#top > div > p {
/*
		text-align: center;
		margin: 7px;
*/
		margin: 5px;
		margin-left: 50px;
	}
	#top h1, #top h2.single {
		margin-left: 50px;
		color: #7e0002;
		font-size: 28px;
	}
	#top h1 a:link, #top h1 a:visited, #top h2.single a:link, #top h2.single a:visited {
		color: #7e0002;
		text-decoration: none;
	}
	#top h1:hover a:link, #top h2.single:hover a:link {
		text-decoration: underline;
	}
	#top h2 {
		font-size: 18px;
		font-family: Helvetica, Arial, sans-serif;
		font-weight: normal;
	}
#head {
	background: #2b2b2b;
	color: #fff;
	padding: 10px;
	position: relative;
	background: url(head.jpg) top left no-repeat;
	min-height: 160px;
	padding-top: 30px;
	padding-left: 355px;
}
	.badge {
		position: absolute;
		display: block;
		width: 90px;
		height: 85px;
		text-align: center;
		-moz-border-radius: 55px; -webkit-border-radius: 55px; border-radius: 55px;
		background: #5a0507;
		border: 1px solid #fff;
		right: -55px;
/* 		right: -40px; */
		top: -40px;
		-webkit-transform: rotate(14deg);
		-moz-transform: rotate(14deg);	
		-o-transform: rotate(14deg);
		transform: rotate(14deg);
		padding: 15px 10px 10px 10px;
		line-height: 20px;
/* 		-webkit-transition: -webkit-transform 0.2s linear; */
		cursor: default;
		transition: all .2s ease-in-out;
	}
	.badge:hover {
		-webkit-transform: rotate(0deg);
	}
	#head > div {
		padding: 5px 10px;
	}
	#head h2 {
		font-size: 18px;
		font-family: 'Times New Roman', serif;
		font-weight: bold;
	}
	#head p {
		font-size: 13px;
		color: #eee;
		-webkit-column-count: 2; -moz-column-count: 2;
/* 		background: #222; */
 	}
#nav {
	padding-top: 10px;
}
#nav p {
	font-style: italic;
	font-size: 18px;
	color: #727070;
	margin: 5px 0;
}
#nav p br {
	display: none;
}
#nav p a:link, #nav p a:visited {
	font-style: normal;
	font-family: 'Times New Roman', serif;
	font-weight: bold;
	color: #7e0002;
	font-size: 20px;
	display: inline;
	margin-right: 5px;
}
#nav p:first-child a:link {
	text-transform: uppercase;
}
#nav.archives {
	padding-bottom: 20px;
}


#main {
	padding-top: 30px;
/* 	-webkit-transition: opacity 0.2s linear; -moz-transition: opacity 0.2s linear; -o-transition: opacity 0.2s linear; */
}

	#main > div {
		width: 920px;
		margin: 0 auto;
	}
	#main .post img {
		width: 270px;
		height: 153px;
	}
	#main #content.single .post img {
		width: 380px;
		height: 215px;
	}

	.post {
		background: #d9e0e8;
		width: 290px;
		padding: 0px;
		float: left;
		margin-bottom: 15px;
		padding-bottom: 10px;
	}
	#content.single .post {
		width: 400px;
	}

	#main .post:nth-child(n+5) {
		margin-bottom: 10px;
		padding-bottom: 0;
	}
	#main .post:nth-child(n+5) p {
		display: none;
	}
	#main .post:nth-child(n+5) > div {
		background: none;
		min-height: 30px;
		padding-left: 5px;
	}
	#main .post:nth-child(n+5) span {
		display: none;
		position: absolute;
		top: -20px;
		left: 0;
		background: #ddd;
		padding: 5px;
		height: 10px;
	}
	#main .post:nth-child(n+5):hover span {
		display: block;
	}

	.post > div {
		background: #c3ccd5 url(hand-box.png) top left no-repeat;
		background-position: 0 5px;
		padding-left: 40px;
		padding-top: 6px;
		font-size: 11px;
		min-height: 40px;
		color: #4e4d4d;
	}
	.post > div a:link {
		text-decoration: underline;
	}
	.post h2, .post h1 {
		font-size: 16px;
		color: #fff;
		cursor: pointer;
		background: #333;
		padding: 0;
		margin: 0;
		font-weight: normal;
	}
	.post h1 {
		padding: 10px;
		font-size: 24px;
	}
	.post h2:hover, .post h1:hover {
		text-decoration: none;
	}
	.post h2 a:link, .post h2 a:visited, .post h1 a:link, .post h1 a:visited {
		font-size: inherit;
		color: #fff;
		text-decoration: none;
		padding: 3px 5px;
		display: inline-block;
		background: #333;
	}
	.post h2 a:visited, .post h1 a:visited {
		font-size: inherit;
		color: #fff;
		text-decoration: none;
	}
	.post h2:hover a:link, .post h1:hover a:link {
		text-decoration: underline;
	}
/*
	.post h2:after {
		content: " È";
	}
*/
	.post p {
		font-size: 14px;
		margin: 10px;
		color: #111;
	}
	.post > a {
		display: block;
		text-align: right;
		font-size: 14px;
		margin: 10px;
		cursor: pointer;
		color: #111;
	}
	.post > a:hover {
		text-decoration: underline;
	}
	.post span {
/* 		padding-top: 4px; */
		display: block;
	}
	.post span.edit-link {
		display: inline;
	}
	.post span a:link, .post span a:visited {
		text-decoration: underline;
		cursor: pointer;
		color: #4E4D4D;
	}
	.post span a:link:hover, .post span a:visited:hover {
		text-decoration: underline;
		cursor: pointer;
		color: #000;
	}
	
	.post {
/* 		clear: left; */
		margin-right: 10px;
	}
/*
	.post:nth-child(odd) {
		clear: left;
		margin-right: 15px;
	}
*/

	.smallbox {
		background: #c9d0d8;
		width: 138px;
		padding: 0;
		float: left;
		margin-bottom: 15px;
		margin-left: 14px;
		position: relative;
	}
	.smallbox:nth-child(4n+1) {
		clear: left;
		margin-left: 0;
	}
	.smallbox span {
		position: absolute;
		font-size: 11px;
		height: 25px;
		left: 0;
		top: -35px;
		background: #465360;
		border: 1px solid #a39c95;
/* 		display: none; */
		visibility: hidden;
		opacity: 0;
		-webkit-transition: opacity 0.4s linear;
		color: #ddd;
		padding: 5px;
	}
	.smallbox:hover span {
/* 		display: inline-block; */
		visibility: visible;
		opacity: 1;
		-webkit-transition: opacity 0.4s linear;
	}
	.smallbox span a {
		text-decoration: underline;
		text-decoration: underline;
		cursor: pointer;
	}
/*
	#main .smallbox h3:after {
		content: " È";
	}
*/
	.smallbox h3 {
		font-size: 13px;
		padding: 5px;
		margin: 0;
		cursor: pointer;
	}		
	.smallbox h3:hover {
		text-decoration: underline;
	}		
	#content {
		width: 600px;
		float: left;
	}
	#content.single {
/* 		width: 420px; */
		display: inline-block;
		float: none;
/* 		margin: 0 auto; */
	}
	#content.single h1 {
		font-size: 24px;
		margin-top: 0;
		cursor: default;
		padding: 7px;
	}
	#content.single div.post div.entry-summary, #view div.post div.entry-summary {
		background: none;
		padding: 5px;
	}
	
	#cta, #submit {
		text-transform: uppercase;
/* 		font-style: italic; */
		position: relative;
	}
	#main #cta > a, #main .news {
		display: block;
		width: 270px;
		padding: 8px 10px;
		margin-right: 20px;
		float: right;
		clear: right;
		text-decoration: none;
	}
	#main #cta > a, #submit {
		color: #fff;
		background: #810204;
		margin-bottom: 10px;
		opacity: 0.9;
		border: none;
		font-family: inherit;
		cursor: pointer;
	}
	#main #cta > a:first-child {
		position: absolute;
		background: #5b0001;
		right: 0;
		top: -90px;
		padding-top: 15px;
		min-height: 54px;
		font-size: 24px;
	}
	#main #cta > a span {
		color: #e1e1e1;
		font-size: 12px;
		font-family: Helvetica, Arial, sans-serif;
		text-transform: none;
		display: block;
		font-weight: normal;
		line-height: 12px;
	}
	.news {
		background: #c9d0d8;
		color: #3f3f3f;
		font-size: 12px;
	}
		.news span {
			font-size: 16px;
			font-family: 'Times New Roman', serif;
			text-decoration: underline;
		}
		.news span a {
			font-weight: bold;
			text-decoration: underline;
		}
		.news a:link, .news a:visited {
			color: #111;
			text-decoration: none;
		}
		.news a:link:hover, .news a:visited:hover {
			text-decoration: underline;
		}

#footer {
/*
	background: #fff url(hand.png) top center no-repeat;
	background-position: 520px 15px;
*/
	background: #fff;
	color: #7e0002;
	font-size: 12px;
	text-align: center;
/* 	padding-top: 20px; */
/* 	margin-top: 20px; */
	clear: both;
/* 	-webkit-transition: opacity 0.2s linear; -moz-transition: opacity 0.2s linear; -o-transition: opacity 0.2s linear; */
}
	#footer > div {
		width: 900px;
		margin: 0 auto;
		padding-top: 20px;
		padding-bottom: 40px;
	}
	#footer a {
		font-weight: bold;
		color: #7e0002;
		text-decoration: none;
	}
	#footer a:hover {
		text-decoration: underline;
	}

.more-link {
	display: inline-block;
	text-align: right;
	float: right;
	padding-top: 5px;
	color: #111;
}
.post .more-link span.meta-nav {
	display: inline;
}

#nav-below {
	margin-bottom: 20px;
	margin-top: 10px;
	color: inherit;
}

.form-allowed-tags {
	display: none;
}


#content.single div.entry-content, #content.single div.entry-content p, #content.single div.entry-utility,
#view div.entry-content, #view div.entry-content p, #view div.entry-utility
{
	background: none;
	padding: 10px;
	margin: 0;
}

#content.single div.entry-content, #view div.entry-content {
	padding: 0;
}

#content.single div.post, #view div.post {
	margin: 0;
	padding: 0;
	margin-top: 10px;
}

#content.single div.entry-utility, #view div.entry-utility {
	padding-bottom: 0;
}

h3#reply-title {
	font-size: 16px;
	margin: 0;
	color: #aaa;
}

#commentform {
	font-size: 12px;
}

#commentform input {
	margin-left: 5px;
}

p.comment-form-comment label {
	display: none;
}

textarea {
	background: #eee;
	font-family: inherit;
	border: 1px dotted #bbb;
	width: 376px;
}

#comments {
	font-size: 12px;
	margin-left: 10px;
	display: inline-block;
	width: 400px;
	
	display: none;
}
#comments-title {
	color: #aaa;
}

#view #comments {
	font-size: 12px;
	margin-left: 10px;
	display: inline-block;
	width: 380px;
	padding: 10px;
	position: absolute;
	right: -409px;
	top: 0px;
	background: inherit;
}
#view #comments-title {
	color: #aaa;
	margin-top: 0;
}

.vcard img {
	display: none;
}

.commentmetadata {
	font-size: 10px;
	display: inline-block;
	float: right;
	color: #ccc;
}

ol.commentlist {
	padding: 0 20px;
}

li.comment {
	margin-bottom: 10px;
	padding: 0;
}

li.comment a:link, li.comment a:visited {
	color: inherit;
}

li.comment div.reply {
	color: #966;
}
li.comment div.vcard {
	color: #666;
}

#submit {
	padding: 4px 6px;
	font-family: 'Times New Roman', serif;
}

div.entry-utility a:link, div.entry-utility a:visited, #commentform a:link, #commentform a:visited, div.navigation a:link, div.navigation a:visited {
	color: #333;
}

.navigation div {
	display: inline-block;
	width: auto;
	font-size: 14px;
	margin-bottom: 20px;
}

.navigation div {
	display: inline-block;
	float: left;
}
.navigation div.nav-previous {
	margin-right: 20px;
	float: left;
}

#view, #loading {
	display: none;
	width: 400px;
	position: absolute;
	top: 80px;
	left: 120px;
	z-index: 9999;
	background: #fff;
	padding: 10px;
	border: 1px dotted #bbb;
	margin-bottom: 20px;
/* 	-webkit-box-shadow: 0 0 20px #666; -moz-box-shadow: 0 0 20px #666; box-shadow: 0 0 20px #666; */
}

#view #top {
	display: none;
}

#view #main {
	padding-top: 0;
}

#view .navigation div {
	margin-bottom: 0px;
}

#view .post {
	width: 100%;
}
#view h1.page-title, .page h1 {
	margin: 0;
}


#respond {
	color: #aaa;
}

.closer {
	display: inline-block;
	padding: 3px 5px;
	background: #eee;
	color: #444;
	cursor: pointer;
	font-size: 12px;
	margin-bottom: 5px;
}
.closer:hover {
	background: #444;
	color: #eee;
}

#wait {
	position: absolute;
	content: "Pulling data...";	
}

.comment-body, #commentform {
	color: #666;
}

.comment-body p {
	margin: 0.4em 0;
}

#view .page .entry-content p {
	font-size: 14px;
	padding: 10px 0;
}

ul.rss-items {
	list-style: none;
	margin: 1em 0 0 0;
	padding: 0;
	}
ul.rss-items li {
	margin-bottom: .5em;
	}
	
.news .rss-item span {
	font-weight: bold;
	}

