/*
Theme Name: Curbside Skate School
Theme URI: http://wordpress.org/extend/themes/toolbox
Author:JonJochens
Author URI: http://JonJochens.com/
Description: A semantic, HTML5, canvas for CSS artists and an ultra-minimal set of super-clean templates for your own WordPress theme development.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats

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.
*/
/* =============================================================================
   HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html { font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { 
	margin: 0; 
	font-size: 13px; 
	line-height: 1.231; 
	background: url("/images/body_bg.jpg") repeat #ccc; 
	background-size: 20%;
	}
	

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

@font-face {
	font-family: impact;
	src: url('fonts/impact.ttf');
}
/* 
 * These selection declarations have to be separate
 * No text-shadow: twitter.com/miketaylr/status/12228805301
 * Also: red
 */

::-moz-selection { background: #ff0000; color: #fff; text-shadow: none; }
::selection { background: #ff0000; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * Improve image quality when scaled in IE7
 * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img { border: 0; -ms-interpolation-mode: bicubic; }

/*
 * Correct overflow displayed oddly in IE9 
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


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

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }

/* 
 * Remove inner padding and border in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* Remove default vertical scrollbar in IE6/7/8/9 */
textarea { overflow: auto; vertical-align: top; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }

.link {
	color: #ff0000;
}
a , a:visited {
	color: #ff0000;
}

a:hover {
	color: #000;
}
td{
	padding: 10px;
	background: #ccc;
	border: 1px solid #000;
}
th {
	padding: 5px;
	background: #ff0000;
	border: 1px solid #000;
}
body.page-template #primary img {
	margin: 10px 0 0 28px;
}

h2, h3{
	text-transform: uppercase;
}
.entry-title {
	text-transform: uppercase;
	font-size: 1.17em;
}
.entry-title a{
text-decoration: none;
}
body.category-skatenews .entry-title, body.archive .entry-title{
	font-size: 2.07em;
}
body.category-skatenews .entry-content p, body.archive .entry-content p{
	font-size: 16px;
}




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

#page {
	width: 960px;
	display: block;
	margin: 0 auto;
	-moz-box-shadow: 0px 0px 8px 2px #666;
  	-webkit-box-shadow: 0px 0px 8px 2px #666;
	box-shadow: 0 0 8px 2px #666;
	background: #fff;
}
#primary {
	float: left;
	width: 700px;
	background: #fff;
	padding: 0 10px 0 10px;
}
body.page-template-pricing-php #primary, body.page-template-gallery-php #primary, body.page-template-gift_certificate-php #primary{
	width: 660px;
	padding: 10px 20px;
}
#info {
	width: 320px;
	float: right;
	background: #ccc;
	padding: 0 10px 10px 10px;
}
#info img {
margin-left: 12px;
}
#content {
	width: 320px;
	float: left;
	padding: 10px;
}
.slideshow { 
	height: 300px; 
	width: 590px; 
	margin: 0 0 10px 0 !important; 
}
.post {
	border-bottom: 1px dotted black;
	padding-bottom: 10px;
}
.widget-area {
	float: right;
	overflow: hidden;
	width: 220px;
	padding: 10px;
}
#colophon {
	clear: both;
	display: block;
	height: 200px;
	background: #000;
	width: 940px;
}

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

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	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;
}
body.single #content, body.single .entry-content, body.error404 #content, body.error404 .entry-content {
	width: 100%;
	float: left;
}
body.archive #content {
	width: 680px;
	float: left;
}
body.archive .entry-content {
	float: left;
	margin-left: 20px;
	width: 500px;
}
#more_news {
	margin-top: 15px;
}
#bread_crumb {
	margin-left: 15px;
}


/* =Header
-------------------------------------------------------------- */
#logo {
	background: url("/images/curbsideskateschool.jpg") no-repeat #ccc;
	height: 110px;
	width: 960px;
}
.cs-header {
	font-family: Impact;
	color: #fff;
	background: #000;
	padding: 3px;
	text-align: center;
	font-size: 2.5em;
	margin: 5px 0 !important;
}
/* =Utility
-------------------------------------------------------------- */
.clear {
	clear: both;
}

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

#access {
	background: #999;
	display: block;
	float: left;
	margin: 0 auto 1em;
	width: 100%;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	display: block;
	line-height: 2em;
	padding: 0 1em;
	text-decoration: none;
	color: #fff;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 18px;
}
.current_page_item, body.category-skatenews #news {
	background: #FF0000;
}
#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;
	top: 2em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #dedede;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #ff0000;
}
#access ul ul a:hover {
	background: #cecece;
}
#access ul li:hover > ul {
	display: block;
}
p.curbside-left { 
	margin-top: 3px !important;
	margin-right: 5px !important; 
	float: left; 
	width: 0;
	height: 0; 
	border-right: 5px solid #ff0000; 
	border-top: 5px solid transparent; 
	border-bottom: 5px solid transparent;
}
p.curbside-right {
	margin-top: 3px !important;
	margin-left: 5px !important; 
	float: right; 
	width: 0; 
	height: 0; 
	border-left: 5px solid #ff0000; 
	border-top: 5px solid transparent; 
	border-bottom: 5px solid transparent;
}


/* =Content
-------------------------------------------------------------- */
.attachment-post-thumbnail {
	margin: 10px 0;
	-moz-box-shadow: 2px 2px 5px 2px #666;
  	-webkit-box-shadow: 2px 2px 5px 2px #666;
	box-shadow: 2 2 5px 2px #666;
	border: 3px solid #ff0000;
	float: left;
}
.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	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;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}
#read {
	padding: 3px;
	background: #ff0000;
	color: #fff;
	font-weight: 600;
	margin-left: 95px;
	text-decoration: none;
}
.more-link:hover, h1.entry-title a:hover{
	color: #000 !important;
}
article {
	position: relative;
}
.more-link {
	padding: 3px;
	background: #ccc;
	font-weight: 600;
	margin-left: 95px;
	text-decoration: none;
	position: absolute;
	bottom: 0;
	right: 0;
	font-size: .8em; 
}

/* 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  {
	clear: both;
}
.entry-content {
	float: right;
	width: 200px;
}
.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 */
.submit {
padding: 3px;
background-color: #ff0000;
color: #fff;
font-weight: 600;
border: 1px solid #ff0000;
}
.submit:hover {
	color: #000;
}
#email {
line-height: 30px;
}
.format-aside  {
	display: none;
}
.single .format-aside{
	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  {
	display: none;
}
.single .format-image {
	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.
- 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 {
	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;
}


/* =Footer
-------------------------------------------------------------- */
footer p {
	color: #fff;
}
#footer_inner{
	padding: 25px;
}
#colophon {
	padding: 10px;
}
#designer {
	color: #ff0000;
}
#designer:hover {
	color: #fff;
}
