/*
Theme Name: CPT
Author: BET
Description: CPT theme based on Toolbox by Automattic
Version: 1.0
License: GNU General Public License
License URI: license.txt

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import url(http://fonts.googleapis.com/css?family=Redressed&v2|Droid+Serif:400,400italic,700,700italic&v2);

body {
	font-family: 'Droid Serif', serif;
	font-size: 1em;
	line-height: 1.5;
	background-attachment: fixed;
	background-image: url("http://www.colleenpotterthorburn.com/wp-content/uploads/2011/06/bkgrnd.jpg");
	background-position: 0 0;
	background-repeat: no-repeat;
	background-color: #111;
}
a {
	text-decoration: none;
	color: #8888ff;
}
a:hover {
	text-decoration: underline;
}

#main h1 {
	font-weight: normal;
	line-height: 1; 
	margin: 0.5em 0;
	border-bottom: 1px solid #333;
	font-size: 1.5em;
}
h1 a {
	color: #fff;
	text-decoration: none;
}
h1 a:hover {
	text-decoration: none;
}
h4 {
	font-weight: normal;
	font-style: italic;
	font-size: 1.2em;
}

/* =Structure
-------------------------------------------------------------- */

#page {
	display: block;
	margin: 1em auto;
	max-width: 1200px;
}
#main {
	background: url("images/repeater.png") repeat scroll 0 0 transparent;
	float: left;
	border-radius: 6px;
	color: #fff;
	width: 100%;
}
#primary {
	float: left;
	margin: 0 -320px 0 0;
	border: 0px;
	width: 100%;
}
#content {
	margin: 0 360px 0 0;
	padding: 15px 0 15px 20px;
}

#main .widget-area {
	float: right;
	overflow: hidden;
	width: 260px;
	font-size: 0.9em;
	padding: 10px;
}
#colophon {
	clear: both;
	display: block;
	width: 100%;
}

/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

#primary.full-width {
	width: auto;
	margin-right: 20px;
}

/* Text meant only for screen readers */
.screen-reader-text,
.section-heading {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Header
-------------------------------------------------------------- */
#branding a, #branding h1, #branding h2{
	text-shadow: 2px 2px 1px #111;
}
#site-title {
	font-family: "Redressed", cursive;
	font-size: 4em;
	font-weight: normal;
	font-style: normal;
	padding-left: 10px;
	display: inline;
	line-height: 1em;
	margin-bottom: 0.5em;
}
#site-title a {
	color: #fff;
	text-decoration: none;
}
#site-description {
	display: inline;
	font-size: 2em;
	font-weight: normal;
	font-style: italic;
	margin: 0 1em 1em;
	color: #fff;
}

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

#access {
	display: block;
	float: right;
	border-top: 1px solid #aaa;
	margin: 1em auto 1em;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	color: white;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
	color: #eee;
	font-weight: bold;
}
#access ul ul {
	box-shadow: 3px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a { /* level 2 menu */
	background: #000;
	border-radius: 6px;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #222; 
	border-radius: 6px;
}
#access ul ul a:hover {
	background: #222;
}
#access ul li:hover > ul {
	display: block;
}


/* =Content
-------------------------------------------------------------- */

.entry-meta {
	clear: both;
	display: block;
	font-size: 0.8em;
	text-transform: uppercase;
	color: #aaa;
}
footer.entry-meta {
	padding-bottom: 0.5em;
	margin-bottom: 3em;
	text-align: right;
}
/* Hide the "by author" part of the header */
header.entry-header span.sep + span.author,
header.entry-header a + span.sep {
	display: none;
}
/* Hide the automatically generated title of pages */
body.page h1.entry-title {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	/* display: block; */
}
#nav-below {
	margin: 1em 0 0;
	font-size: 0.8em;
}
.page-link {
	margin: 0 0 1em;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* Image Attachments */
.image-attachment div.entry-meta {
	float: left;
}
.image-attachment nav {
	float: right;
	margin: 0 0 1em 0;
}
.image-attachment .entry-content {
	clear: both;
}
.image-attachment .entry-content .entry-attachment {
	background: #eee;
	margin: 0 0 1em;
	padding: 1em;
	text-align: center;
}
.image-attachment .entry-content .attachment {
	display: block;
	margin: 0 auto;
	text-align: center;
}

/* Aside Posts */
.format-aside .entry-header {
	display: none;
}
.single .format-aside .entry-header {
	display: block;
}
.format-aside .entry-content,
.format-aside .entry-summary {
	padding-top: 1em;
}
.single .format-aside .entry-content,
.single .format-aside .entry-summary {
	padding-top: 0;
}

/* Aside Posts */
.format-gallery .gallery-thumb {
	float: left;
	margin-right: 1em;
}

/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
	
}
.wp-smiley {
	margin: 0;
}


/* =Forms
-------------------------------------------------------------- */

#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}

/* Class for labelling required form items */
.required {
	color: #cc0033;
}


/* =Comments
-------------------------------------------------------------- */

article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}


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

.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}
/*
.widget-area ul {
	padding-left: 0;
	list-style: none;
}
.widget-area li {
	margin-bottom: 1em;
} */
.widget-area h1 {
	font-size: 1.2em;
}
span.posted-date {
     text-transform: uppercase;
    color: #ccc;
    font-size: 0.9em;
}
/*#secondary h1.widget-title {
	text-transform: uppercase;
	color: #bbb;
	font-size: 1.2em;
	font-weight: bold;
	letter-spacing: 2px;
}
*/
/* =Footer
-------------------------------------------------------------- */

#colophon {
	padding: 1em 0 0;
	color: #ddd;
	font-size: 0.8em;
}
@media screen and (max-width: 700px), handheld {
	#primary {
		float: none;
		clear: both;
		margin: 0;
	}
	#content {
		margin: 0;
		padding: 15px 20px;
	}
	#main .widget-area {
		width: auto;
		float: none;
		margin: 0;
		padding: 15px 20px;
	}
	#site-title {
		font-size: 2em;
	}
	#site-description {
		font-size: 1em;
	}
}


