/*
Theme Name: Total Aviation Quality
Theme URI: http://www.totalaviationquality.co.nz/
Author: Kapiti Technologies Ltd
Author URI: http://www.kaptek.co.nz/
Description: A custom theme based on Wordpress Twenty Eleven for Total Aviation Quality.
Version: 1.0
Tags: dark, light, fixed-width, flexible-width, custom-menu, editor-style, featured-image-header, featured-images, post-formats, sticky-post
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {
	outline: 0;
}
body {
	background: #fff;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}


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

* 					{margin: 0;}
html, body 			{height: 100%;}
#page 				{min-height: 100%;height: auto !important;height: 100%;margin: 0 auto -277px;}
#colophon, .push 	{height: 277px; clear: both;}

body {
	padding: 0em;
	background-color: #fff;
	background: url(images/header-small.png) repeat-x 50% 0px;
}

/* =All others
----------------------------------------------- */
body #branding {
	height: 110px;
}
#feature {
	display: none;
}
.kt_page_excerpt {
	width: 290px;
	float: left;
	margin: 18px;
	min-height: 315px;
}
.kt_page_excerpt h2 {
	font-size: 18px;
	letter-spacing: 0px;
	color: #02282e;
	line-height: 24px;
	text-shadow: none;
}
.kt_page_excerpt h2 a {
	color: #02282e;
}
.kt_page_excerpt p {
	font-size: 14px;
	letter-spacing: 0px;
	color: #666;
	line-height: 24px;
	text-shadow: none;
}

/* =Home (ONLY)
----------------------------------------------- */

body.home {
	background: url(images/header-bkg.png) repeat-x;
}
body.home #branding {
	height: 465px;
	background: url(images/header.png) no-repeat 50% 0px;
}
body.home #feature {
	display: block;
}

#feature-img {
	width: 629px;
	height: 314px;
	float: left;
	background: url(images/feature-shadow.png) no-repeat 0 0;
	padding: 31px 0 0 21px;
}

#feature-menu {
	width: 350px;
	height: 345px;
	float: left;
}
#menu-featured-menu {
	color: #fff;
	list-style: none;
	margin: 0;
}
#menu-featured-menu ul {
	list-style: circle;
	margin: 0 0 0 2em;
}
#menu-featured-menu a {
	font-size: 16px;
	line-height: 26px;
	text-shadow: 0px 2px 1px #000;
}

#page {

}
#branding hgroup {
	margin: 0 20px;
	width: 370px;
	height: 110px;
	float: left;
	background: url(images/branding-bkg.png) no-repeat 0px 0px;
}
#branding #access {
	margin: 35px 0px;
}
#access div {
	margin: 0 20px;
}
#primary {
	float: left;
	margin: 0 -27.4% 0 0;
	width: 100%;
}
#content {
	margin: 0 28% 0 4px;
}
#secondary {
	float: right;
	margin-right: 20px;
	width: 21%;
}
.page-template-fullwidth-page-php #content {
	margin: 0px 4px;
}

/* error404 */
.error404 #primary {
	float: none;
	margin: 0;
}
.error404 #primary #content {
	margin: 0 20px;
	width: auto;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#footer-1, #footer-2 {
	display: block;
	height: 166px;
	float: left;
}
#footer-1 {
	width: 78%;
}
#footer-2 {
	width: 22%;
}
#menu-footer-sitemap {list-style: none; margin: 0;}
#menu-footer-sitemap li {position: relative; line-height: 24px; height: 24px; font-size: 14px;}
#menu-footer-sitemap li a {text-align: right; width: 100%;}
#menu-footer-sitemap li ul {list-style: none; position: absolute; left: 150px; top: 0;}
#menu-footer-sitemap li ul li {position: relative; margin-top: 5px; float: left; padding: 0 6px; font-size: 11px; line-height: 14px; height: 14px; border-right: 1px solid #01b3c5;}
#menu-footer-sitemap li ul li:last-child {border-right: none;}
#menu-footer-sitemap li ul li a {color: #fff;}


/* =Global
----------------------------------------------- */

body, input, textarea {
	color: #1d1d1d;
	font-family: "Droid Sans","Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	line-height: 1.625;
}
#page {

}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.625em;
}

/* Text elements */
p {
	margin-bottom: 1.625em;
}
ul, ol {
	margin: 0 0 1.625em 2.5em;
}
ul {
	list-style: square;
}
ol {
	list-style-type: decimal;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 1.625em;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 1.625em;
}
strong {
	font-weight: bold;
}
cite, em, i, address {
	font-family: 'Droid Serif', serif;
	font-style: italic;
}
blockquote {
	font-family: 'Droid Serif', serif;
	font-style: italic;
	font-weight: normal;
	margin: 0 3em;
}
blockquote em, blockquote i, blockquote cite {
	font-style: normal;
}
blockquote cite {
	color: #666;
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
pre {
	background: #f4f4f4;
	font: 13px "Courier 10 Pitch", Courier, monospace;
	line-height: 1.5;
	margin-bottom: 1.625em;
	overflow: auto;
	padding: 0.75em 1.625em;
}
code, kbd {
	font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym, dfn {
	border-bottom: 1px dotted #666;
	cursor: help;
}
address {
	display: block;
	margin: 0 0 1.625em;
	font-size: 12px;
	color: #666;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 10px;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}

/* Forms */
input[type=text],
input[type=password],
textarea {
	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;
}
input[type=text]:focus,
textarea:focus {
	color: #373737;
}
textarea {
	padding-left: 3px;
	width: 98%;
}
input[type=text] {
	padding: 3px;
}
input#s {
	background: #f3f3f3 url(images/search.png) no-repeat 5px 6px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	font-size: 14px;
	height: 22px;
	line-height: 1.2em;
	padding: 4px 10px 4px 30px;
	border: 1px solid #ccc;
}
input#searchsubmit {
	display: none;
}

/* Links */
a {
	color: #0193A5;
	text-decoration: none;
}
a:focus,
a:active,
a:hover {
	text-decoration: underline;
}

/* Assistive text */
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}
#access a.assistive-text:active,
#access a.assistive-text:focus {
	background: #eee;
	border-bottom: 1px solid #ddd;
	color: #01B3C5;
	clip: auto !important;
	font-size: 12px;
	position: absolute;
	text-decoration: underline;
	top: 0;
	left: 7.6%;
}


/* =Header
----------------------------------------------- */

#branding {
	position: relative;
	z-index: 9999;
}
#site-title {
	font-family: 'Maven Pro';
	padding: 35px 0 0;
	text-transform: uppercase;
	letter-spacing: -2px;
	font-weight: 900;
	text-shadow: 0px 2px 1px #000;
	line-height: 40px;
}
#site-title a {
	color: #eee;
	font-size: 30px;
	text-decoration: none;
}
#site-title a:hover,
#site-title a:focus,
#site-title a:active {
	color: #fff;
}
#feature-menu h2 {
	font-family: 'Maven Pro';
	font-size: 18px;
	color: #fff;
	padding: 45px 0 0;
	text-transform: uppercase;
	letter-spacing: -1px;
	font-weight: 900;
	text-shadow: 0px 2px 1px #000;
	line-height: 30px;
}
body.home h1.entry-title {
	font-family: 'Maven Pro';
	font-size: 20px;
	color: #0d211f;
	padding: 0;
	text-transform: uppercase;
	letter-spacing: -1px;
	font-weight: 900;
	text-shadow: 0px 2px 2px #ccc;
	line-height: 32px;
}
body.home div.entry-content {
	padding: 0;
	font-size: 18px;
	color: #004951;
	letter-spacing: -1px;
	line-height: 26px;
	text-shadow: 0px 2px 2px #ccc;
}

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

#access {
	display: block;
	float: left;
	margin: 0 auto 6px;
	width: 590px;
}
#access ul {
	font-size: 13px;
	list-style: none;
	margin: 0 0 0 -0.8125em;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	color: #01b3c5;
	display: block;
	line-height: 3em;
	padding: 0 0.8em;
	text-decoration: none;
}
#access ul ul {
	-moz-box-shadow: 13px 3px 13px rgba(0,0,0,0.4);
	-webkit-box-shadow: 13px 3px 13px rgba(0,0,0,0.4);
	box-shadow: 13px 3px 13px rgba(0,0,0,0.4);
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 3em;
	left: 0;
	width: 188px;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #f9f9f9;
	border-bottom: 1px dotted #ddd;
	color: #444;
	font-size: 13px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 4px 10px;
	width: 178px;
}
#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
	background: #efefef;
}
#access li:hover > a,
#access a:focus {
	background: #f9f9f9; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(#f9f9f9, #e5e5e5);
	background: -o-linear-gradient(#f9f9f9, #e5e5e5);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f9f9f9), to(#e5e5e5)); /* Older webkit syntax */
	background: -webkit-linear-gradient(#f9f9f9, #e5e5e5);
	color: #373737;
}
#access ul li:hover > ul {
	display: block;
}
#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current_page_ancestor > a {
	color: #3eedff;
	background: #14a6b0; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(#19c2c8, #04485b);
	background: -o-linear-gradient(#19c2c8, #04485b);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#19c2c8), to(04485b)); /* older webkit syntax */
	background: -webkit-linear-gradient(#19c2c8, #04485b);
}

/* Search Form */
#branding #searchform {
	
}
#branding #searchform div {
	margin: 0;
}

#colophon #s {
	background: #0d383d url(images/search.png) no-repeat 5px 6px;
	color: #333;
	border: 1px solid #0d383d;
}
#colophon #s:focus {
	background-color: #fff;
}

#s {
	-webkit-transition-duration: 400ms;
	-webkit-transition-property: background;
	-webkit-transition-timing-function: ease;
	-moz-transition-duration: 400ms;
	-moz-transition-property: background;
	-moz-transition-timing-function: ease;
	-o-transition-duration: 400ms;
	-o-transition-property: background;
	-o-transition-timing-function: ease;
}
#s:focus {
	background-color: #fff;
}
#searchsubmit {
	display: none;
}

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

#crumbs {
	font-size: 11px;
	padding: 0 0 10px;
}
#crumbs a, #crumbs .current {
	padding: 0 4px;
}

#main {
	clear: both;
	padding: 30px 0 0;
	background: url(images/main-bkg.png) repeat-x #fff;
}
.page-title {
	color: #666;
	font-size: 16px;
	line-height: 1em;
	padding: 12px 0px;
	margin: 0 0 15px 0;
	border-bottom: 1px dotted #ccc;
	text-transform: uppercase;
}
.page-title a {
	font-size: 18px;
	font-weight: bold;
	letter-spacing: 0;
	text-transform: none;
}
div.author-posts {
	font-size: 12px;
}
.hentry,
.no-results {
	position: relative;
}
.hentry:last-child,
.no-results {
	border-bottom: none;
}
.blog .sticky .entry-header .entry-meta {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.entry-title {
	clear: both;
	color: #444;
	font-size: 22px;
	font-weight: 700;
	line-height: 1em;
	padding-bottom: .3em;
	padding-top: 15px;
	letter-spacing: -1px;
}
.entry-title,
.entry-title a {
	color: #333;
	text-decoration: none;
}
.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active {
	color: #01b3c5;
}
.entry-meta {
	color: #999;
	clear: both;
	font-size: 11px;
	line-height: 14px;
}
.entry-meta a {
	font-weight: normal;
	color: #aaa;
	text-decoration: underline;
}
.entry-meta a:hover {
	text-decoration: none;
}
.entry-content,
.entry-summary {
	padding: 1em 0;
	font-size: 0.9em;
}
.entry-content h1,
.entry-content h2 {
	font-size: 20px;
	margin: 0 0 .8125em;
	line-height: 24px;
	letter-spacing: -1px;
}
.entry-content h3 {
	font-size: 18px;
	margin: 0 0 .8125em;
	letter-spacing: -1px;
	line-height: 22px;
}
.entry-content h4 {
	font-weight: 700;
}
.entry-content table {
	border-bottom: 1px solid #ddd;
	margin: 0 0 1.625em;
	width: 100%;
}
.entry-content th {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
}
.entry-content td {
	border-top: 1px solid #ddd;
	padding: 6px 10px 6px 0;
}
dl.gallery-item {
	margin: 0;
}
.page-link {
	clear: both;
	display: block;
	margin: 0 0 1.625em;
}
.page-link a {
	background: #eee;
	color: #373737;
	margin: 0;
	padding: 2px 3px;
	text-decoration: none;
}
.page-link a:hover {
	background: #888;
	color: #fff;
	font-weight: bold;
}
.page-link span {
	margin-right: 6px;
}
.entry-meta .edit-link a {
	background: #eee;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #666;
	float: right;
	font-size: 12px;
	line-height: 1.5em;
	font-weight: 300;
	text-decoration: none;
	padding: 0 8px;
}
.entry-meta .edit-link a:hover {
	background: #888;
	color: #fff;
}
.entry-content .edit-link {
	clear: both;
	display: block;
}
span.wpcf7-not-valid-tip {
	top: auto !important;
	left: 0% !important;
	width: 95% !important;
	padding: 3px 6px !important;
	background: #fee !important;
}
div.wpcf7-validation-errors {
	border: 1px solid #f50 !important;
	background: #fed !important;
}

/* Images */
.entry-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
}
img.size-full,
img.size-large {
	max-width: 100%;
	width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
	padding-bottom: 10px;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 1.625em;
}
p img,
.wp-caption {
	margin-top: 0.4em;
}
.wp-caption {
	background: #eee;
	margin-bottom: 1.625em;
	max-width: 96%;
	padding: 9px;
}
.wp-caption img {
	display: block;
	margin: 0 auto;
	max-width: 98%;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	color: #666;
	font-size: 12px;
}
.wp-caption .wp-caption-text {
	margin-bottom: 0.6em;
	padding: 10px 0 5px 40px;
	position: relative;
}
.wp-caption .wp-caption-text:before {
	color: #666;
	content: '\2014';
	font-size: 14px;
	font-style: normal;
	font-weight: bold;
	margin-right: 5px;
	position: absolute;
	left: 10px;
	top: 7px;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/* Password Protected Posts */
.post-password-required .entry-header .comments-link {
	margin: 1.625em 0 0;
}
.post-password-required input[type=password] {
	margin: 0.8125em 0;
}
.post-password-required input[type=password]:focus {
	background: #f7f7f7;
}

/*
Post Formats Headings
To hide the headings, display: none the ".entry-header .entry-format" selector,
and remove the padding rules below.
*/
.entry-header .entry-format {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	position: absolute;
	text-transform: uppercase;
	top: -5px;
}
.entry-header hgroup .entry-title {
	padding-top: 15px;
}

/* =error404
----------------------------------------------- */

.error404 #main #searchform {
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-width: 1px 0;
	margin: 0 -20px 1.625em;
	overflow: hidden;
	padding: 1.625em 8.9%;
}
.error404 #main #s {
	width: 95%;
}
.error404 #main .widget {
	clear: none;
	float: left;
	margin-right: 3%;
	width: 30.3%;
}
.error404 #main .widget_archive {
	margin-right: 0;
}
.error404 .widgettitle {
	font-size: 14px;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
}


/* =Attachments
----------------------------------------------- */

.image-attachment div.attachment {
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-width: 1px 0;
	margin: 0 -8.9% 1.625em;
	overflow: hidden;
	padding: 1.625em 1.625em 0;
	text-align: center;
}
.image-attachment div.attachment img {
	display: block;
	height: auto;
	margin: 0 auto 1.625em;
	max-width: 100%;
}
.image-attachment div.attachment a img {
	border-color: #f9f9f9;
}
.image-attachment div.attachment a:focus img,
.image-attachment div.attachment a:hover img,
.image-attachment div.attachment a:active img {
	border-color: #ddd;
	background: #fff;
}
.image-attachment .entry-caption p {
	font-size: 10px;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	margin: 0 0 2.6em;
	text-transform: uppercase;
}


/* =Navigation
-------------------------------------------------------------- */

#content nav {
	clear: both;
	overflow: hidden;
	padding: 0 0 1.625em;
}
#content nav a {
	font-size: 12px;
	font-weight: bold;
	line-height: 2.2em;
}
.navigation {
	padding-top: 10px;
}
#nav-above {
	padding: 0 0 1.625em;
}
#nav-above {
	display: none;
}
.paged #nav-above {
	display: block;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content nav .meta-nav {
	font-weight: normal;
}

/* Singular navigation */
#nav-single {
	position: relative;
	top: -0.3em;
	text-align: right;
	z-index: 1;
}
#nav-single .nav-previous,
#nav-single .nav-next {
	width: auto;
}
#nav-single .nav-next {
	padding-left: .5em;
}


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

.widget-area {
	font-size: 12px;
}
.widget {
	clear: both;
	margin: 0 0 2.2em;
}
.widget-title {
	color: #666;
	font-size: 14px;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	text-transform: uppercase;
}
.widget ul {
	font-size: 15px;
	margin: 0 0 0 24px;
}
.widget ul ul {
	margin-left: 1.5em;
}
.widget ul li {
	color: #777;
	font-size: 13px;
}
.widget a {
	font-weight: normal;
	text-decoration: none;
}
.widget a:hover,
.widget a:focus,
.widget a:active {
	text-decoration: underline;
}

/* Search Widget */
.widget_search form {
	margin: 0 0 1.625em;
}
.widget_search #s {
	width: 77%;
}

/* =Footer
----------------------------------------------- */

div.top {
	clear: both;
	text-align: right;
}
div.top a.top-link {
	background: url(images/arrows.png) no-repeat 0 0;
	padding-left: 24px;
	font-size: 13px;
}

#footer-top {
	background: url(images/footer-top.png) no-repeat 50% 0;
	height: 27px;
}
#colophon {
	clear: both;
	background: url(images/footer-bkg.png) repeat-x;
	color: #0193A5;
	font-size: 14px;
	min-height: 277px;
}
div.widget-area {
	font-size: 14px;
	line-height: 18px;
}
#supplementary {
	padding: 20px;
	overflow: hidden;
	height: 166px;
}
#footer-title {
	padding: 0px 20px;
}
#colophon h3 {
	margin-top: 30px;
	color: #fff;
	line-height: 20px;
	font-size: 16px;
}

/* Site Copyright / Generator Line */
#footer-bar {
	height: 40px;
	line-height: 40px;
	background: url(images/footer-bar.png) repeat-x;
}
#site-copyright {
	font-size: 14px;
	color: #01b3c5;
	float: left;
	width: 67%;
}
#site-generator {
	font-size: 11px;
	color: #01b3c5;
	float: right;
	width: 33%;
	text-align: right;
}
#site-generator img {
	vertical-align: middle;
}


/* =Responsive Structure
----------------------------------------------- */
	div.c1000 {
		max-width: 1000px;
		margin: 0 auto;
	}


@media (min-width: 1000px) {

}

@media (max-width: 1000px) {
	/* Simplify the basic layout */
	#main #content {
		margin: 0 20px;
		width: auto;
	}
	#nav-below {
		border-bottom: 1px solid #ddd;
		margin-bottom: 1.625em;
	}
	#main #secondary {
		float: none;
		margin: 0 7.6%;
		width: auto;
	}
	#footer-1, #footer-2, #footer-3, #footer-4 {
		width: 50%;
	}
	#branding hgroup {
		width: 61.5%;
		height: 170px;
		float: left;
		background: none;
		padding-left: 0px;
		margin: 0 0 0 20px;
	}
	#head-side {
		margin: 0 20px 0 0;
		width: 32.3%;
		height: 170px;
		float: right;
	}
	#head-side h3 {

	}
	#head-side h3 span {

	}
	#site-title a {
		font-size: 24px;
	}
	#site-description {
		font-size: 12px;
	}
	#footer-title h2 {
		font-size: 22px;
	}
	#footer-1, #footer-2, #footer-3, #footer-4 {
		font-size: 0.8em;
	}
	aside {
		width: 50%;
		float: left;
	}
	.widget {
		clear: none;
		margin: 0;
	}
	
	/* Simplify the showcase template */
	.page-template-showcase-php .featured-posts {
		min-height: 280px;
	}
	.featured-posts section.featured-post {
		height: auto;
	}
	.page-template-showcase-php section.recent-posts {
		float: none;
		margin: 0;
		width: 100%;
	}
	.page-template-showcase-php #main .widget-area {
		float: none;
		margin: 0;
		width: auto;
	}
	.page-template-showcase-php .other-recent-posts {
		border-bottom: 1px solid #ddd;
	}
	/* Simplify the showcase template when small feature */
	section.featured-post .attachment-small-feature,
	.one-column section.featured-post .attachment-small-feature {
		border: none;
		display: block;
		float: left;
		height: auto;
		margin: 0.625em auto 1.025em;
		max-width: 30%;
		position: static;
	}
	article.feature-image.small {
		float: right;
		margin: 0 0 1.625em;
		width: 64%;
	}
	article.feature-image.small .entry-summary p a {
		left: 0;
		padding-left: 20px;
		padding-right: 20px;
		width: auto;
	}
	/* Make sure we have room for our comment avatars */
	.commentlist {
		width: 100%;
	}
	.commentlist > li.comment,
	.commentlist .pingback {
		margin-left: 102px;
		width: auto;
	}
	/* And a full-width comment form */
	#respond {
		width: auto;
	}
	/* No need to float 404 widgets at this size */
	.error404 #main .widget {
		float: none;
		margin-right: 0;
		width: auto;
	}

}
@media (max-width: 650px) {
	/* @media (max-width: 650px) Reduce font-sizes for better readability on smaller devices */

	body, input, textarea {
		font-size: 13px;
	}
	#site-title a {
		font-size: 24px;
	}
	#site-description {
		font-size: 12px;
	}
	#access ul {
		font-size: 12px;
	}
	article.intro .entry-content {
		font-size: 12px;
	}
	.entry-title {
		font-size: 19px;
	}
	.featured-post .entry-title {
		font-size: 14px;
	}
	.entry-meta {
		font-size: 11px;
	}
	blockquote {
		margin: 0;
	}
	blockquote.pull {
		font-size: 17px;
	}
	#branding hgroup {
		margin: 0 14px 22px;
		width: auto;
		height: auto;
		float: none;
		background: none;
		padding-left: 0px;
		text-align: center;
	}
	#head-side {
		margin: 0 14px;
		width: auto;
		height: 120px;
		float: none;
		text-align: center;
	}
	#head-side h3 {
		width: 33%;
		clear: none;
		float: left;
		text-align: center;
		font-size: 16px;
	}
	#head-side h3 span {
		display: block;
	}
	#head-side #vulcans {
		display: none;
	}
	aside {
		width: 100%;
		float: none;
	}
	.widget {
		clear: both;
		margin:  ;
	}

	/* Reposition the site title and description slightly */
	#site-title {
		padding: 2em 0 0;
	}
	#site-title,
	#site-description {
		margin-right: 0;
	}
	/* Make sure the logo and search form don't collide */
	#branding #searchform {
		margin-bottom: 13px;
	}
	/* Floated content doesn't work well at this size */
	.alignleft,
	.alignright {
		float: none;
		margin-left: 0;
		margin-right: 0;
	}
	/* Make sure the post-post navigation doesn't collide with anything */
	#nav-single {
		display: block;
		position: static;
	}
	/* Talking avatars take up too much room at this size */
	.commentlist > li.comment,
	.commentlist > li.pingback {
		margin-left: 0 !important;
	}
	.commentlist .avatar {
		background: transparent;
		display: block;
		padding: 0;
		position: static;
	}
	.commentlist .children .avatar {
		background: none;
		left: 2.2em;
		padding: 0;
		position: absolute;
		top: 2.2em;
	}
	/* Use the available space in the smaller comment form */
	#respond input[type="text"] {
		width: 95%;
	}
	#respond .comment-form-author .required,
	#respond .comment-form-email .required {
		left: 95%;
	}
	#content .gallery-columns-3 .gallery-item {
		width: 31%;
		padding-right: 2%;
	}
	#content .gallery-columns-3 .gallery-item img {
		width: 100%;
		height: auto;
	}

}
@media (max-width: 450px) {
	body, input, textarea {
		font-size: 12px;
	}
	#main {
		padding: 0px;
	}
	#site-title a {
		font-size: 21px;
	}
	#site-description {
		font-size: 13px;
		line-height: 15px
	}
	#head-side h3 {
		font-size: 14px;
	}
	#footer-title h2 {
		font-size: 20px;
	}
	#footer-1, #footer-2, #footer-3, #footer-4 {
		font-size: 0.6em;
	}
	.page-title, .page-title a {
		font-size: 15px;
	}
	.entry-title {
		font-size: 17px;
	}
	.entry-meta {
		font-size: 10px;
	}
	#content .gallery-columns-2 .gallery-item {
		width: 45%;
		padding-right: 4%;
	}
	#content .gallery-columns-2 .gallery-item img {
		width: 100%;
		height: auto;
	}

}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
	body {
		padding: 0;
	}
	#page {
		margin-top: 0;
	}
	#branding {
		border-top: none;
	}

}


/* =Print
----------------------------------------------- */

@media print {
	body {
		background: none !important;
		font-size: 10pt;
	}
	footer.entry-meta a[rel=bookmark]:link:after,
	footer.entry-meta a[rel=bookmark]:visited:after {
		content: " [" attr(href) "] "; /* Show URLs */
	}
	#page {
		clear: both !important;
		display: block !important;
		float: none !important;
		max-width: 100%;
		position: relative !important;
	}
	body #branding {
		height: 40px;
	}
	#branding {
		padding: 0;
		margin: 0;
	}
	#branding hgroup {
		margin: 0;
		float: none;
	}
	#site-title {
		font-size: 21pt;
		text-shadow: none;
		padding: 0;
		text-align: left;
	}
	#site-description {
		font-size: 10pt;
	}
	#searchform {
		display: none;
	}
	#branding img {
		display: none;
	}
	#access {
		display: none;
	}
	#main {
		padding-top: 10px;
		border-top: none;
		box-shadow: none;
	}
	#primary {
		float: left;
		margin: 0;
		width: 100%;
	}
	#content {
		margin: 0;
		width: auto;
	}
	.entry-meta .edit-link a {
		display: none;
	}
	#content nav {
		display: none;
	}
	h1.entry-title {
		font-size: 16pt;
	}
	.entry-meta {
		font-size: 10pt;
	}
	.page-link {
		display: none;
	}
	.widget-area {
		display: none;
	}
	#colophon, div.top, #feature {
		display: none;
	}
}


/* =IE7
----------------------------------------------- */

#ie7 article.intro {
	margin-left: -7.6%;
	margin-right: -7.6%;
	padding-left: -7.6%;
	padding-right: -7.6%;
	max-width: 1000px;
}
#ie7 section.featured-post {
	margin-left: -7.6%;
	margin-right: -7.6%;
	max-width: 850px;
}
#ie7 section.recent-posts {
	margin-right: 7.6%;
}
