/*
Theme Name: ThatVeryNextThing
Theme URI: http://thatverynextthing.com
Author: Brett Shumaker
Author URI: brettshumaker.com
Description: This theme based on Toolbox by Automattic, edited by Brett Shumaker.
Version: 1.4.1


T/heme URI: http://wordpress.org/extend/themes/toolbox
A/uthor: Automattic
A/uthor URI: http://automattic.com/
D/escription: A semantic, HTML5, canvas for CSS artists and an ultra-minimal set of super-clean templates for your own WordPress theme d/evelopment.
V/ersion: 1.4
L/icense: GNU General Public License
L/icense URI: license.txt
T/ags: 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.
*/
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{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:none;}table{border-collapse:collapse;border-spacing:0;}


/* =Colors, Fonts And Such
-------------------------------------------------------------- */

body {
	background:url('images/site-bkg.jpg') repeat;
	color:#ddd;
	font-family:'Cabin Condensed', 'Arial Narrow', Helvetica, sans-serif;
	font-size:.9em;
}

a{color:#aaa;}
a:hover{color:#fff;}


/* =Text Styling
-------------------------------------------------------------- */
article header h1{
	font-weight:700;
	font-size:20px;
	margin:20px 0 10px;
	text-transform:uppercase;
}

.entry-content p{
	padding:5px 0;
	line-height:18px;
}

.about span.eightcol{
	height:400px;
	background:rgba(90%,90%,90%,.4);
}


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

#page {
	display: block;
	/*margin: 1em;*/
}
.home #page {
	height:500px;
}
#primary {
	/*float: left;
	margin: 0 -240px 0 0;
	width: 100%*/;
}
#content {
	/*margin: 0 280px 0 0;*/
}
#main .widget-area {
	float: right;
	overflow: hidden;
	width: 220px;
}
#colophon {
	clear: both;
	display: block;
	width: 100%;
}

.post-image {
	position:relative;
	top:-28px;
}

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


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

#site-title {
	font-size: 2em;
	font-weight: bold;
	/*margin: .67em 0;*/
	text-align:center;
}
#site-description {
	font-size: 1em;
	font-weight: normal;
	margin: 0 0 1em;
}
header#branding {
	padding: 20px 0 16px;
}

.home header#branding{
	background: rgba(20, 20, 20, .8);
}

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

#access {
	display: block;
	/*float: left;*/
	margin: 10px auto 1em;
    /*width: 100%;*/	
	
	text-transform:uppercase;
}
#access ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	
	width:310px;
	margin:0 auto;
}
#access li {
	float: left;
	position: relative;
	padding-right:30px;
}/*
#access li:hover {
	padding-right:27px;
}*/
#access a {
	display: block;
	/*line-height: 2em;
	padding: 0 1em;*/
	padding:3px 3px 3px 6px;
	text-decoration: none;
	cursor:pointer;
}
#access ul ul {
	display: none;
	float: left;
	position: absolute;
	top: 1.4em;
	left: 0;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a, #access ul ul li.current-menu-item a {
	background-color:rgba(40,40,40,0.85);
	line-height: 1em;
	padding: 7px 10px 7px 13px;
	width: 145px;
	height: auto;
	border-bottom:3px solid rgba(20,20,20,0.6);
}
#access ul ul li.current-menu-item a{
	width:142px;
}
#access li:hover > a,
#access ul ul :hover > a {
	border-left:3px solid #fff;
	padding-left:3px;
}
#access ul ul :hover > a{
	background-color:rgba(40,40,40,0.8);	
}
#access ul ul a:hover {
	background-color:rgba(40,40,40,0.8);
	border-left:3px solid #fff;
	padding-left:10px;
}
#access ul li:hover > ul {
	display: block;
}

#access .current-menu-item a{
	border-left:3px solid #aaa;
	padding-left:3px;
}

#access .last-menu-item {
	padding-right:0;
}


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

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

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

/* Contact Form 7 styling */
.form-req {
	color: #C03;
	font-style: italic;
	font-size: 11px;
}

.wpcf7-form-control-wrap input, .wpcf7-form-control-wrap input{
	margin-top:5px;
}
div.wpcf7-response-output{
	margin:2em 0 1em;
	padding: 0.5em 1em;
	border-radius:5px;
	-moz-border-radius:5px;
	-o-border-radius:5px;
	-webkit-border-radius:5px;
}


/* =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
-------------------------------------------------------------- */

#colophon {
	padding: 1em 0 0;
	text-align:center;
}
.home #colophon{
	background: rgba(20, 20, 20, .8);
	position:absolute;
	padding:1em 0;
	bottom:0;
}


/*-----  1140 px grid  -----------*/
.container {
padding-left: 20px;
padding-right: 20px;
}

.row {
width: 100%;
max-width: 1140px;
min-width: 755px;
margin: 0 auto;
overflow: hidden;
}

.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol, .sevencol, .eightcol, .ninecol, .tencol, .elevencol {
margin-right: 3.8%;
float: left;
min-height: 1px;
}

.row .onecol {
width: 4.85%;
}

.row .twocol {
width: 13.45%;
}

.row .threecol {
width: 22.05%;
}

.row .fourcol {
width: 30.75%;
}

.row .fivecol {
width: 39.45%;
}

.row .sixcol {
width: 48%;
}

.row .sevencol {
width: 56.75%;
}

.row .eightcol {
width: 65.4%;
}

.row .ninecol {
width: 74.05%;
}

.row .tencol {
width: 82.7%;
}

.row .elevencol {
width: 91.35%;
}

.row .twelvecol {
width: 100%;
float: left;
}

.last {
margin-right: 0px;
}

img, object, embed {
max-width: 100%;
}

img {
	height: auto;
}

#cboxOverlay {
	background:#000 !important;
}

#cboxTitle a:hover{
	color:#333;
}

#cboxTitle, #cboxCurrent, #cboxNext, #cboxPrevious, #cboxClose {
	/*bottom:3px;
*/
}

.backToGallery {
	padding-bottom:8px;
	display:block;
	text-decoration:none;
}

.backToGallery:hover {
	text-decoration:underline;
}

/*  Fix max width on home page  */
.home img.vegas-background, .home img.vegas-loading {
	max-width:none;
}