/*
Theme Name: 	Toadflax
Theme URI: 		http://viewportindustries.com/products/starkers
Description: 	The totally nude Wordpress theme!
Version: 		4.0
Author: 		Elliot Jay Stocks & Keir Whitaker
Author URI: 	http://viewportindustries.com
Tags: 			starkers, naked, clean, basic
*/

/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 Media queries 
===========================
*/

/* ---------------------------------------------------------------------------------------------------------- 
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

@import "css/reset.css";

div,
article,
section,
header,
footer,
nav,
li					{ position:relative; /* For absolutely positioning elements within containers (add more to the list if need be) */ }
.group:after 		{ display:block; height:0; clear:both; content:"."; visibility:hidden; /* For clearing */ }
body 				{ background:#fff; /* Don't forget to style your body to avoid user overrides */ }
::-moz-selection 	{ background:#ff0; color:#333; }
::selection 		{ background:#ff0; color:#333; }

/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
/*

14 / 16	= 		0.875em 		(14px equivalent)
16 / 16	= 		1em 			(16px equivalent)
18 / 16 = 		1.125em 		(18px equivalent)
21 / 16 = 		1.3125em 		(21px equivalent)
24 / 16 = 		1.5em 			(24px equivalent)
30 / 16 = 		1.875em 		(30px equivalent)

*/

body,
input,
textarea 			{ /* We strongly recommend you declare font-weight using numerical values, but check to see which weights you're exporting first */ }

h1, 
h2, 
h3, 
h4, 
h5, 
h6 					{ font-weight:bold; /* This helps to identify headings at the initial build stage, but you should write something more precise later on */ }


/* TOADFLAX CUSTOM STYLES */


body {
	font-family: 'Lustria', Georgia, 'Times New Roman', Times, serif;
}


.clear {
	clear: both;
	font-size: 0;
	line-height: 0;
	text-indent: -9999px;
}

header.interior {
	padding-bottom: 29px;
}


header.interior h1#logo {
	float: left;	
}

header.interior h1#logo img {
	width: 295px;
}


header.interior nav {
	float:right;
}


header.interior nav ul {
	padding-right: 0;
	font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
	font-size: 0.9em;
	text-transform: uppercase; 
	font-weight: 300; 
	letter-spacing: 3px;
	z-index: 20;
	float:right;
}

header.interior nav ul li {
	display: inline-block;	
	position: relative;
}

header.interior nav ul li a {
	color: #000;
	text-decoration: none;
	padding: 4px;
	display: block; 
}

header.interior nav ul li a:hover {
	font-weight: 400;
	font-size: 0.9em;
	padding: 2px;
	color: #0096A4;
}

header.interior nav ul li a:target {
	font-weight: 400;
	padding: 2px;
}

header.interior nav ul li div {
	display: none;
	color: black;
	text-transform: none;
	padding: 4px 0;
	background: #D9DDD1;
	background: rgba(255, 255, 255, 0.01);
	letter-spacing: normal;
	width: 150%;
}

header.interior nav ul li div p {
	padding: 10px;
	background: #D9DDD1;
	background: rgba(255, 255, 255, 0.89);
}


header.interior nav ul li:hover div {
	display: block !important;
	position: absolute;
	top: 10px;
	left: 0;
}


header.interior nav ul li div p a {
	color: #000;
	text-decoration: none;
	padding: 0; 
	font-weight: 300;
}


header.interior form {
	
    clear: both;
    float: right;
}


header.interior form label, header.interior form input#searchsubmit{
	display: none;
}




/* HOME HEADER NAV */


header.home nav ul {
	background: #0096A4;
	width: 381px;
	padding-left: 20px;
	font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
	font-size: 0.9em;
	text-transform: uppercase; 
	font-weight: 300; 
	position: absolute; 
	top: 20px; 
	right: 0;
	letter-spacing: 3px;
	z-index: 20;
}

header.home nav ul li {
	display: inline-block;	
	position: relative;
}

header.home nav ul li a {
	color: #fff;
	text-decoration: none;
	padding: 4px;
	display: block; 
	background: #0096a4;
}

header.home nav ul li a:hover {
	font-weight: 400;
	font-size: 0.95em;
	padding: 2px;
}

header.home nav ul li a:target {
	font-weight: 400;
	padding: 2px;
}

header.home nav ul li div {
	display: none;
	color: black;
	text-transform: none;
	padding: -1px 0 0 0 ;
	background: #D9DDD1;
	background: rgba(255, 255, 255, 0.01);
	letter-spacing: normal;
	width: 150%;
}

header.home nav ul li div p {
	padding: 10px 10px 0 10px;
	background: #D9DDD1;
	background: rgba(255, 255, 255, 0.89);
}

header.home nav ul li div p:last-child {
	padding-bottom: 10px;
}


header.home nav ul li div a {
	background: none;
}

header.home nav ul li:hover div {
	display: block !important;
	position: absolute;
	top: 14px;
	left: 0;
}

header.home nav ul li div p a {
	color: #000;
	text-decoration: none;
	padding: 0; 
	font-weight: 300;
}


/** THIS STATE NEEDS TO BE RESOLVED **/

header.home nav ul li a:focus div {
	display: block !important;
	postion: absolute;
	top: 14px;
	left: 0;
}




/* GENERAL STUFF */


h1.home {
	display: none;
}


h2 {
	font-family: 'Armata', Arial, sans-serif;
	font-size: 1.4em;
	padding-bottom: 5px;
}

h2 a {
	color: #000;
	text-decoration: none;
}

h2 a:hover {
	text-decoration: underline;
}


time {
	display: block;
	padding-bottom: 20px;
}

a.readmore {
	text-decoration: underline;
	color: #000;
	display: block;
	margin-bottom: 4em;
}

footer.home {
	position: absolute;
	bottom: 10px;
	left: 0px;
	font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
	font-weight: 300;
	font-size: 0.8em;
	text-shadow:0.1em 0.1em 0.1em #fff;
}

footer.interior {
	display: block;
	max-width: 900px;
	padding: 40px 0;
	margin: 0 auto;
	font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
	font-weight: 300;
	font-size: 0.8em;
	text-shadow:0.1em 0.1em 0.1em #fff;
}

#social_media {
	padding: 20px 0 0 0;
}

#social_media a {
	display: inline-block;
	border: 0;
	font-size: 3em;
    text-decoration: none;
    color: #0096A4;
	margin-right: 14px;
}

#wrapper {
	width: 90%;
	padding: 5%;
	max-width: 900px;
	background: #fff;
	margin: 5% auto 10% auto;
}

img.wp-post-image {
	width: 100% !important;
	height: auto !important;
	margin-bottom: 30px;
}

#main {
	width: 60%;
	display: inline-block;
	vertical-align: top;
	padding-right: 5%;
}



#main p {
	font-size: 1em;
	line-height: 1.4em;
	padding-bottom: 1.4em;
}

#main div {
	max-width: 100%;
	margin: 0 auto;
}

#main img, #main div img {
	max-width: 100% !important;
	height: auto;
	margin: 0 auto;
}

#sidebar {
	width: 35%;
	display: inline-block;
	vertical-align: top;
}

#sidebar img {
	display: block;
	width: 100%;
	height: auto;
}

#sidebar h5 {
	font-family: 'Armata', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.7em;
	font-weight: normal;
	padding: 3% 35% 0 0;
	 	
}

#more_content h5 {
	font-family: 'Armata', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 0.7em;
	font-weight: normal;
	margin: 0 auto 10px auto;
	 	
}

#more_content {
	text-align: center !important;
	}
	
#more_content a {
	color: #006146;
}	

#more_content div {
	max-width: 100%;
	margin: 0 auto;
}

#more_content img{
	width: auto;
	max-width: 100%;
	max-height: 800px !important;
	display: block;
	margin: 0 auto 30px auto;
}

#more_content p {
	margin: 0 auto 60px auto;
	max-width: 500px;
	line-height: 1.5em;
}

.clear {
	clear: both;
}

/* 600 and lower */
@media screen and (max-width:600px) {

    header.interior h1#logo {
        float:none;
        width: auto;
    }
    
    header.interior h1#logo img {
        width: 100%;
        margin-bottom: 2em;
    }
    
    header.interior nav {
        float:none;
    }
    
	header.home nav ul {
		width: auto;
		padding-left: 0;
		position: absolute; 
		top: 20px; 
		left: 0;
}
    header.interior nav ul {
        float: none;
        width: auto;
    }
    
    header.interior form {
        clear: both;
        float: none;
}

	#wrapper {
		width: 88%;
		padding: 5%;
		margin: 1% 1% 10% 1%;
}
	
	
	#main {
		width: 100%;
		float: none;
}

	#sidebar {
		width: 100%;
		float: none;
}


}

/* Retina Display */
@media screen and (-webkit-min-device-pixel-ratio:2) {

					{ /* Place your styles here for all 'Retina' screens */ }

}