/*
Theme Name: Schooner 2012
Theme URI: http://wordpress.org/extend/themes/toolbox
Author: AtreNet
Author URI: http://www.atre.net
Description: A new theme for the 2012 redesign of the Schooner website.
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats
*/

/* =Resets
-------------------------------------------------------------- */
/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 3.3.0
build: 3167
*/
html{color:#666;background:#3f4652;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}

/*
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.com/yui/license.html
version: 3.3.0
build: 3167
*/
body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}select,input,button,textarea{font:99% arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}

/* Ensure that older browsers display HTML5 block elements correctly */
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}


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

html { background: #f8f8f8; }

#page {
	display: block;
	margin: 1em auto;
	width: 960px;
}
#primary {
	float: left;
	margin: 0 -270px 40px 0;
	width: 100%;
}
#content {
	margin: 0 325px 0 0;
}
#main { margin-top: 30px; }
#main .widget-area {
	float: right;
	overflow: hidden;
	width: 250px;
}
#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;
}

/* 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;
}


/* =Standard Elements
-------------------------------------------------------------- */
body { color: #666; }
a { color: #5a87c5; }
p { line-height: 1.4em; margin-bottom: 10px; }
/* =Header
-------------------------------------------------------------- */
#branding { position: relative; }

#site-title {
	font-size: 2em;
	font-weight: bold;
	margin: .67em 0;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}
#toolbar {
  color: #ddd;
  font-size: 93%;
  position: absolute; 
  right: 0;
  text-align: right;
  top: 50px;
}
  #toolbar a {
    color: #333;
    text-transform: uppercase;
    text-decoration: none;
  }
    #toolbar a.home {
      background: url(images/home-icon.png) no-repeat 100% -2px;
      padding-right: 18px;
    }
    #toolbar a.phone { padding-left: 2px; }
    #toolbar a em { color: #608ccb; font-style: normal; font-weight: bold; }
#branding .banner {
  background: url(images/header.png) no-repeat 0 0;
  text-indent: -32000em;
  height: 103px;
  -webkit-background-clip: padding-box; /* fix WebKit background bleed on border-radius */
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
  -webkit-box-shadow: 1px 1px 3px #999;
     -moz-box-shadow: 1px 1px 3px #999;
          box-shadow: 1px 1px 3px #999;
}

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

#access {
	background: #eee;
	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;
}
#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: #dedede;
}
#access ul ul a:hover {
	background: #cecece;
}
#access ul li:hover > ul {
	display: block;
}


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

.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%; }
  .ie7 #content nav .nav-previous { width: 48%; }
#content #nav-above {	display: none; }
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
.single #content #nav-below { display: none; }

#nav-above { margin: 0 0 1em; }
#nav-below { margin: 1em 0 0; }
  #nav-above a, #nav-below a {
    color: #666;
    font-weight: bold;
    font-size: 138.5%;
    text-decoration: none;
  }
    .single #nav-above a, .single #nav-below a { font-size: 100%; }
    #nav-above span.meta-nav, #nav-below span.meta-nav { color: #97c551; font-size: 200%; }
    
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget { display: inline; float: left; margin-bottom: 20px; width: 48%; }
  .error404 .widget_recent_entries { float: right; }
  .error404 .widgettitle { font-size: 131%; margin-bottom: 8px; }
  .error404 .widget_tag_cloud {
  	clear: both;
  	display: block;
  	float: none;
  	padding-top: 8px;
  	width: 100%;
  }
    .error404 .tagcloud { border-bottom: 0; padding: 0; }
  .error404 p { margin-bottom: 20px; }
    .error404 .widget p { margin-bottom: 4px; }
  .error404 #searchform { margin-bottom: 20px; }
  .error404 .entry-content ul { padding: 0; }
  .error404 .entry-content a { color: #5A87C5; }

/* 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;
}

/* =Entries
-------------------------------------------------------------- */
.entry-header {
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: 10px;
  margin-bottom: 20px;
}
  .entry-title { font-size: 189%; }
  .info-post { padding-top: 4px; }
  
.entry-content ul { padding-bottom: 18px; }
  .entry-content li {
    background: url(images/bullet-icon.png) no-repeat 5px 5px;
    padding: 0 0 7px 25px;
  }
.entry-content a { color: #a4cc67; text-decoration: none; }
footer.entry-meta {
  padding: 10px 0 40px;
}
  footer.entry-meta a { color: #a4cc67; text-decoration: none; }
    footer.entry-meta a.post-edit-link { color: #5A87C5; }
    footer.entry-meta a:hover { text-decoration: underline; }
  footer.entry-meta span.tag-links { padding-left: 10px; }
  
/* =Pages
-------------------------------------------------------------- */
h1.page-title {
  color: #A4CC67;
  font-size: 138.5%;
  padding-bottom: 6px;
}
/* =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,
.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 {
  background: #739dd3;
  float: left;
  padding: 11px;
  -webkit-background-clip: padding-box; /* fix WebKit background bleed on border-radius */
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}
  .ie8 #searchform, .ie7 #searchform {
    behavior: url(http://www.schoonerinfotech.com/blog/wp-content/themes/schooner_2012/PIE.htc);
  }
  #searchform div {
    background: #fff;
    border: 2px solid #dfdfdf;
    float: left;
    width: 223px;
    -webkit-background-clip: padding-box; /* fix WebKit background bleed on border-radius */
    -webkit-border-radius: 4px;
       -moz-border-radius: 4px;
            border-radius: 4px;    
  }
    .ie8 #searchform div, .ie7 #searchform div {
      behavior: url(http://www.schoonerinfotech.com/blog/wp-content/themes/schooner_2012/PIE.htc);
    }
  #searchform label {
  	display: none;
  }
  #searchform input {
    border: 0;
  }
    #searchform input#s {
    	width: 75%;
    }
    input[type=text],
    input#s {
    	float: left;
    	margin: 2px 1em 0 .5em;
    	width: 60%;
    }
    input#searchsubmit {
      background: url(images/search-button-bg.png) no-repeat 0 0;
      float: right;
      height: 18px;
      text-indent: -32000em;
      width: 30px;
    }
      .ie7 input#searchsubmit, .ie6 input#searchsubmit { line-height: 999px; overflow: hidden; }
textarea {
	width: 80%;
}

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


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

article.comment {
	display: block;
}
#comments {
  border-top: 1px solid #e4e4e4;
  margin-top: 20px;
  padding: 10px 20px 0;
}
#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;
}
#respond h3 { font-size: 131%; font-weight: bold; padding-bottom: 8px; }
#respond .comment_notice { padding: 0 20px; }
#respond ol { padding-left: 20px; margin-bottom: 10px; }
  #respond ol li { list-style-type: decimal; }
#recaptcha_widget_div { margin-bottom: 20px; }
#respond p.comment-form-comment { padding-top: 4px; }

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

.widget {
	display: block;
	margin-bottom: 30px;
}
.widget-area .widget_search {
	border-bottom: 1px solid #e4e4e4;
	overflow: hidden;
	padding-bottom: 6px;
}
.widget-area .widget_search input {
	float: left;
}

.widget h1 {
  border-bottom: 1px solid #e4e4e4;
  color: #424a56;
  font-size: 131%;
  padding-bottom: 10px;
}

.widget_categories li {
  border-bottom: 1px solid #e4e4e4;
  padding: 8px 0;
  font-size: 108%;
}

.tagcloud {
  border-bottom: 1px solid #e4e4e4;
  padding: 4px 0 8px;
}
  .tagcloud a { color: #A4CC67; text-decoration: none; }

.widget_archive ul { padding-top: 8px; }
  .widget_archive li {
    background: url(images/archive-bullet.png) no-repeat 0 4px;
    font-size: 108%;
    padding: 0 0 7px 16px;
  }
/* =Footer
-------------------------------------------------------------- */

#colophon {
  border-top: 1px solid #e4e4e4;
	padding: 1em 0 0;
	width: 635px;
}

/* =Utility
-------------------------------------------------------------- */
/* Contain floats: h5bp.com/q */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }