/*
Theme Name: Classic ChalkBoard
Theme URI: http://www.cardiganmedia.com/191/free-wordpress-theme-chalkboard/
Author: Edward R. Jenkins
Author URI: http://www.edwardrjenkins.com
Description: A whimsical theme emulating a classic school chalkboard, complete with a bottom-resting eraser and chalk.
Version: 2.2
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, full-width-template, post-formats
Text Domain: classicchalkboard
*/

/* Google Fonts Import
--------------------------------------------- */
@import url(http://fonts.googleapis.com/css?family=Gloria+Hallelujah);

/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}

/* =Structure

-------------------------------------------------------------- */
body {
	font-family: 'Gloria Hallelujah', Arial;
	color: #fff;
	font-size: 1.5em;
}

ul, menu, dir {
list-style-type: none;
}

#page {
	display: block;
	margin: 0 auto;
	width: 70%;
	background: #000 url('images/chalk.png') repeat;
	padding: 5px 100px;
	border: 30px solid #855E42;
	border-radius: 5px;
	box-shadow: 15px 15px 15px #777;
}

a {
	color: #fff;
}

#primary {
	width: 100%;
}

#primary-with-sidebar {
	width:70%;
	float:left;
}

#secondary {
	margin-left:75%;
}

#content {
	margin-top: 10px;
}

#colophon {
	clear: both;
	display: block;
	width: 100%;
	font-size: 80%;
	text-align:center;
}

.bypostauthor {
}

/* Alignment */

.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* =Header
-------------------------------------------------------------- */
#site-title {
	font-size: 300%;
	font-weight: bold;
	margin: .67em 0;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	margin-bottom: 5px;
}

#site-title a {
	text-decoration: none;
}

#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}

/* =Menu
---------------------------------------cc----------------------- */

#access {
	background: url('images/chalk.png');
	clear: both;
	margin: 0 auto 1em;
	width: 100%;
	text-align:center;
	display: inline-block;
	zoom:1; /* IE 7 Hack starts here*/
	 *display:inline;
}

#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

#access li {
	position: relative;
	text-align: center;
	display: inline-block;
	zoom:1; /* IE 7 Hack starts here*/
	 *display:inline;
}

#access a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
	font-size: 80%;
}

#access ul ul {
	box-shadow: 0 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;
	left: 0;
	z-index: 99999;
}

#access ul ul ul {
	left: 100%;
	top: 0;
}

#access ul ul a {
	background: url('images/chalk.png');
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	height: auto;
}

#access li:hover > a, #access ul ul :hover > a {
	background: url('images/chalk.png');
}

#access ul ul a:hover {
	background: url('images/chalk.png');
}

#access ul li:hover > ul {
	display: block;
}

/* =Content
-------------------------------------------------------------- */
.sticky {
	border: 1px solid #f5f5f5;
	border-radius:15px;
	-moz-border-radius: 15px;
	padding:30px;
}

span.permalink {
	font-size: 80%;
}

.entry-title {
	text-align: center;
	font-size: 170%;
}

.entry-title a {
	text-decoration: none;
}

.entry-meta {
	clear: both;
	display: block;
	text-align: center;
	font-size: 75%;
	font-style: italic;
}

.single-author .entry-meta .byline {
}

#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;
}

.page-link {
	clear: both;
	margin: 0 0 1em;
}

.page .edit-link {
	clear: both;
	display: block;
}

.post-end {
	text-align:center;
}

.page-end {
	margin-bottom: -19px !important;
	text-align:center;
}

/* 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;
}

/* Gallery Posts */

.format-gallery .gallery-thumb {
	float: left;
	margin: 0 1em 0 0;
}

/* Image Posts */

.format-image .entry-header {
	display: none;
}

.single .format-image .entry-header {
	display: block;
}

.format-image .entry-content, .format-image .entry-summary {
	padding-top: 1em;
}

.single .format-image .entry-content, .single .format-image .entry-summary {
	padding-top: 0;
}

/* =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*/

img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.wp-caption {
	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;
}

/* =Footer
-------------------------------------------------------------- */
#colophon {
	padding: 1em 0 0;
}