/*
Theme Name:  DCFT
Theme URI:  http://wordpress.org/
Description:  Custom theme used by DannyTsang.co.uk
Author:  Danny Tsang
Version:  2.0
License:  Copyright 2011
License URI:  license.txt
Tags:  two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu
*/

body {
	background: none repeat scroll 0 0 #E2E2E2;
	font-family: 'Muli', arial, serif;
	color: #333;
}

h2 {
	margin: 10px 0 5px 0;
	font-size: 1.8em;
}

h2, h2 a, h2 a:link, h2 a:hover, h2 a:visited {
	text-decoration: none;
	color: #333;
}

a, h2 a:hover {
	color: #06c;
	text-decoration: none;
}

a:link {
	color: #3A81E6;
}

code {
	display: block;
	width: 95%;
	font-family: monospace;
	padding: 0.5em;
	margin: 1em 0 1.5em auto;
	color: #666;
	background-color: #eee;
	border: 1px solid #ccc;
	white-space: pre;
	overflow: auto; 
}

#wrapper {
	margin: 0 auto;
	width: 940px;
	margin-top: 20px;
	padding: 0 20px;
}

#container {
	float: left;
	margin: 0 -260px 0 0;
	width: 100%;
}

#content {
	margin: 0 265px 0 22px;
}

#content-no-date {
	margin: 0 265px 0 0;
}

/** Header */
#header {
	height:200px;
	padding: 0;
	position: relative;
	z-index: 1;
}

#header h1, #header h1 a:link, #header h1 a:hover, #header h1 a:visited {
	text-decoration: none;
	color: #000;
	font-family: 'Dancing Script', arial, serif;
	font-size: 2.2em;
}

#header-image {
	position: absolute;
	z-index: -1;
	opacity:0.6;
	filter:alpha(opacity=60); /* IE */
	-moz-opacity:0.6;
	width: 938px;
	height: 200px;
	border-radius: 5px 5px 5px 5px;
	-moz-border-radius: 5px 5px 5px 5px;
	-khtml-border-radius: 5px 5px 5px 5px;
	-webkit-border-radius: 5px 5px 5px 5px;
}

#header-image-wrapper {
	position: relative;
	max-width: 100%;
	text-align: center;
}

#header-image-wrapper h1 {
	position: absolute;
	left: 0;
	top: 0;
	padding: 10px;
	width: 700px;
	margin: 5px;
	text-align: left;
	text-shadow: 0px 1px 1px #FFF;
}

#header-image-wrapper p {
	font-weight: bold;
	color: white;
	text-align: left;
	position: absolute;
	left: 0;
	top: 100px;
	padding: 10px;
	/*width: 218px;*/
	margin: 5px;
	width: 60%;
	z-index: 2;
	/*text-shadow:0 0 30px blue, 0 0 70px blue ;*/
	-webkit-text-stroke: 1px black;
	-moz-text-stroke: 1px black;
	text-shadow:
       3px 3px 0 #000,
     -1px -1px 0 #000,
      1px -1px 0 #000,
      -1px 1px 0 #000,
       1px 1px 0 #000;
}

p#twitter_quote a {
	color: white;
}

p#twitter_quote a:hover {
	color: white;
}

/** Header end */
	
/** Header nav bar */
#nav {
	width: 940px;
	position: absolute;
	bottom: 0px;
	border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	-webkit-border-radius: 0 0 5px 5px;
	-khtml-border-radius: 0 0 5px 5px;
	background: -moz-linear-gradient(100% 100% 90deg, #CCC, #DDD);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#DDD), to(#CCC));
	background: -webkit-linear-gradient(#CCC, #DDD);
	background: -o-linear-gradient(#CCC, #DDD);
}

#nav.fixed {
	position: fixed;
	top: 0;
	height: 30px;
}

ul#header-nav {
    display: block;
    margin: 0 0 0 -40px;
    line-height: 30px;
}

#header-nav li {
	border-left: 1px solid #E9E9E9;
    border-right: 1px solid #BBBBBB;
    text-transform: uppercase;
    display: inline;
    float: left;
    padding: 0 12px;
}

#header-nav li:first-child {
	border-left: none;
}

#header-nav li.item-blank-left {
	border-right: none;
}

#header-nav li.item-blank-left:hover,
#header-nav li.item-blank-right:hover  {
	box-shadow: none;
	cursor: default;
}

#header-nav li.item-right {
	float: right;
}

#header-nav li.item-blank-right {
	border-left: none;
}
#header-nav li.item-right:first-child {
	border-right: none;
}

#header-nav li:hover {
	cursor: pointer;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    color: #333;
	-webkit-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
	-moz-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
	transition: box-shadow 0.3s ease-in;
	-webkit-transition: box-shadow 0.3s ease-in;
	-moz-transition: box-shadow 0.3s ease-in;
}

#header-nav a {
	color: #333;
	text-decoration: none;
}

/* Header nav bar end */ 

/** Footer Nav */
	div#footer-nav-left {
		float: left;
		z-index: 2;
	}
	
	div#footer-nav-right {
		float: right;
		z-index: 2;
	}
/* End Footer Nav */

/** Sidebar */
#primary,
#secondary {
	float: right;
	overflow: hidden;
	width: 220px;
	z-index: 5;
}

li.widget-container {
	list-style-type: none;
}

h3.widget-title {
	line-height: 0em;
}

#sidebar ul {
	margin-left: -2em;
	margin-bottom: 30px;
}

#sidebar ul li {
	margin: 3px 0 0;
	list-style: none;
}

#sidebar ul li:before {
	content: "\00BB";
	padding-right: 5px;
}

#advert {
	width: 160px;
	margin:0px auto;
	text-align:left;
}

div#sidebar div#primary.widget-area aside#categories.widget ul li.cat-item ul.children {
	margin: 0 0 0 0;
	padding: 0 0 0 1em;
}
/** Sidebar end */

/** Widgets */
	table#wp-calendar {
		margin: 5px;
	}
	
	td#today {
		background-color: #E2E2E2;
	}
/** Widgets end */

/** Sub titles e.g arcgive, categories, etc */
	div.page-title {
		position: absolute;
		bottom: 30px;
		right: 15px;
	}
	
	div.page-title h2 {
		font-family: 'Dancing Script', arial, serif;
		text-shadow: 0px 1px 1px #FFF;
		text-shadow:0 0 0px #FFF, 0 0 70px yellow;
	}
/** Sub titles end */

/** Footer */
#footer {
	clear: both;
	margin: 0 0 20px 0;
	padding: 15px 15px 15px 15px;
}

/** Input general */
input {
	color: #373737;
	font-weight: 300;
	line-height: 1.625;
}

textarea, input[type=text] {
	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 #ddd;
	color: #888;
	transition: border 0.5s ease-in-out;
	-webkit-transition: border 0.5s ease-in-out;
	-moz-transition: border 0.5s ease-in-out;
}

textarea:focus,
input[type=text]:focus {
	color: #373737;
	outline: none;
	border: #35A5E5 1px solid;
	box-shadow: 0 0 5px rgba(81, 203, 238, 1);
	-webkit-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
	-moz-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}

input[type=text] {
	padding: 3px;
}

input[type=submit] {
	color: #666;
	background-color: #F5F5F5;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 2px 2px 2px 2px;
    color: #666666;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    height: 29px;
    line-height: 27px;
    margin: 11px 6px;
    min-width: 54px;
    padding: 0 8px;
    text-align: center;
    transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
}

input[type=submit]:hover {
	background-color: #F8F8F8;
    border: 1px solid #C6C6C6;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    color: #333;
	-webkit-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
	-moz-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}

input[type=submit]:focus {
	border: 1px solid #4D90FE;
	outline: medium none;
}
/** Input general end */

#footer-info {
	text-align: center;
}
/** Footer end */

/** Search box */

input#s {
	background: url(images/search.png) no-repeat 5px 6px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-size: 14px;
	height: 22px;
	line-height: 1.2em;
	padding: 4px 10px 4px 28px;
}

input#searchsubmit {
	display: none;
}

#header #searchform {
	float: right;
	text-align: right;
}
#header #searchform div {
	margin: 0;
}
#header #s {
	float: right;
	-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;
	width: 72px;
}
#header #s:focus {
	background-color: #f9f9f9;
	width: 196px;
}

#header #searchsubmit {
	display: none;
}

#header #header-search #searchform {
	top: 5px;
	z-index: 3;
	margin: 15px 15px 0 0;
}

#header #header-search #s {
	background-color: #FFF;
	color: #222;
}

#header #header-search #s:focus {
	background-color: #EEE;
}

#header #header-search + #access div {
	padding-right: 205px;
}
/** Search box end */

/* Comment list */
.commentlist {
	margin: 10px 0;
	padding-left: 30px;
	line-height: 130%;
	font-size: 0.9em;
}

.commentlist li {
	padding: 5px 10px;
	margin-bottom: 5px;
	border-radius: 5px;
	-moz-border-radius:  5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
}

.commentlist li.even {
	background-color: #F5F5F5;
}

.commentlist li.odd {
	background-color: #FFFFF0;
}

.commentlist li.comment {
	border: 1px solid #ccc;
}

.commentlist ul li {
	list-style-type: none;
}

.commentlist li.unapproved-comment {
	background-color: #FFC8C8;
}

.commentlist li.unapproved-comment em.unapproved-comment{
	color: red;
}

.commentlist cite {
	font-weight: bold;
	font-style: normal;
	font-size: 110%;
}

img.avatar {
  float: right;
  margin: 5px;
}

.commentlist small {
	margin-bottom: 5px;
	display: block;
	font-size: 87%;
}

.commentlist small a, .commentlist small a:visited{
	color: #999999;
}

.comment-meta {
	padding: 10px 0 5px 0;
	margin: 0 0 10px 0;
	border-bottom: 1px dotted #ccc;
}
/* Comment list end */

/** Comment form */
#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}

#respond p {
	margin: 0;
}

#respond .comment-notes {
	margin-bottom: 1em;
}

.form-allowed-tags {
	line-height: 1em;
}

.children #respond {
	margin: 0 48px 0 0;
}

h3#reply-title {
	margin: 18px 0;
}

#comments-list #respond {
	margin: 0 0 18px 0;
}

#comments-list ul #respond {
	margin: 0;
}

#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}

#respond .required {
	color: #ff4b33;
	font-weight: bold;
}

#respond label {
	color: #888;
	font-size: 12px;
}
#respond input {
	margin: 0 0 9px;
	width: 98%;
}
#respond textarea {
	width: 98%;
	resize: vertical;
}
#respond .form-allowed-tags {
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}
/** Comment form end */

/** Gallery */
	/* By default, we tilt all our images -2 degrees */
	dt.gallery-icon a {
		-webkit-transform: rotate(-2deg);
		-moz-transform: rotate(-2deg);
		-webkit-transition: -webkit-transform .15s linear;
		-webkit-box-shadow: 0 3px 6px rgba(0,0,0,.25);
		-moz-box-shadow: 0 3px 6px rgba(0,0,0,.25);
		-webkit-box-shadow: 0 3px 6px rgba(0,0,0,.5);
		-moz-box-shadow: 0 3px 6px rgba(0,0,0,.5);
		float: left;
		padding: 10px 10px 25px 10px;
		/* remove background to make transparent */
		background: #eee;
		border: 1px solid #fff;
		position: relative;
	}
	
	/* Rotate all even images 2 degrees */
	dt.gallery-icon:nth-child(even) a {
		-webkit-transform: rotate(2deg);
		-moz-transform: rotate(2deg);
	}
	
	/* Don't rotate every third image, but offset its position */
	dt.gallery-icon:nth-child(3n) a {
		-webkit-transform: none;
		-moz-transform: none;
		position: relative;
		top: -5px;
	}
	 
	/* Rotate every fifth image by 5 degrees and offset it */
	dt.gallery-icon:nth-child(5n) a {
		-webkit-transform: rotate(5deg);
		-moz-transform: rotate(5deg);
		position: relative;
		right: 5px;
	}
	 
	/* Keep default rotate for every eighth, but offset it */
	dt.gallery-icon:nth-child(8n) a {
		position: relative;
		top: 8px;
		right: 5px;
	}
	
	/* Keep default rotate for every eleventh, but offset it */
	dt.gallery-icon:nth-child(11n) a {
		position: relative;
		top: 3px;
		left: -5px;
	}
	
	/* Scale the images on hover, add transitions for smoothing things out, and ensure the hover appears on top */
    dt.gallery-icon a:hover {
	    -webkit-transform: scale(1.25);
	    -moz-transform: scale(1.25);
	    position: relative;
	    z-index: 5;
    }
	 
	
/** Gallery end */

/** Image page (image.php) */
	.entry-content {
		margin-top: 5px;
	}
/** Image page end */

.bubble {
	background: #FFF;
	border-radius: 5px;
	-moz-border-radius:  5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	border:1px solid #aaa;
	-moz-box-shadow: 3px 3px 5px rgba(170,170,170,0.9);
	-webkit-box-shadow: 3px 3px 5px rgba(170,170,170,0.9);
	box-shadow: 3px 3px 5px rgba(170,170,170,0.9);
}

.bubble-container {
	margin-bottom: 15px;
	padding: 15px;
	overflow: hidden;
}

/* Date tab */
.datetab {
	position: absolute;
	width: 60px;
	height: 65px;
	padding: 0px 0;
	margin: -1px 0 0 -74px;
	background: #fff;/*-moz-border-radius: 5px;-webkit-border-radius:  5px;*/
	border-radius: 5px 0px 0px 5px;
	-moz-border-radius: 5px 0px 0px 5px;
	-khtml-border-radius: 5px 0px 0px 5px;
	-webkit-border-radius: 5px 0px 0px 5px;
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	border-left: 1px solid #aaa;
	font: normal 14px Georgia;
	text-align: center;
	color: #000;
}

.date-month {
	margin: 0 0 0 0;
	color: #000;
	font: normal 32px Georgia;
}

/** Front page specfic to each post */
.post-container {
	margin-left: 37px;
	padding: 0 15px 15px 15px;
	border-radius: 0 5px 5px 5px;
	-moz-border-radius: 0 5px 5px 5px;
	-webkit-border-radius: 0 5px 5px 5px;
	-khtml-border-radius: 0 5px 5px 5px;
	z-index: -1;
}

.post-comment {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none);
	background-color: #EEE;
}

.entry-meta {
	/* 0.2 smaller than the inherited font*/
	font-size: 0.8em;
	color: #777;
}

/** Post navigation */
.next-post {
	display: inline;
	float: right;
}

.previous-post {
	display: inline;
	float: left;
}

.clear-post-nav {
	clear: both;
}
/** Post navigation end */

.social-bar {
	height: 30px;
	align: center;
	background-color: #E6EAED;
	border-radius: 5px;
	-moz-border-radius:  5px;
	-webkit-border-radius: 5px;
	-khtml-border-radius: 5px;
	margin-top: 10px;
}

.social-bar div {
	height: 30px;
	width: 17%;
	position: relative;
	height: 50%;
	margin-top: 5px;
	margin-bottom: -7.5px;
	margin-left: 15px;
	border-right: 1px solid #D5D9DC;
	float: left;
}

.social-bar div:last-child {
	border-right: 0px;
}

/** Admin Bar */
#wpadminbar * {
    color: #DDDDDD;
    font: 13px/28px Arial,Helvetica,sans-serif;
    height: auto;
    letter-spacing: normal;
    margin: 0;
    padding: 0;
    position: static;
    text-shadow: 0 -1px 0 #555555;
    text-transform: none;
    width: auto;
}
/* End Admin Bar */

.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}

.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}

.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
