/*

Theme Name: PressFlex
Theme URI:  http://anthonyblackett.com.au/
Description: PressFlex. PressFlex is a free, open source WordPress theme framework built from PressWork for modern browsers using HTML5 and CSS3, ideal for creating custom child themes. Features include a drag & drop front-end editor for easy customization, extendable popular Google Fonts and a flexbox responsive design for desktop and mobile devices. Original PressWork created by <a href="http://bavotasan.com/">c.bavota</a> and <a href="http://digibombinc.com">Brendan Sera-Shriar</a>.
Version: 1.0.8.8
Author: Tony Blackett, c.bavota, Brendan Sera-Shriar
Author URI: http://anthonyblackett.com.au/about
Tags: right-sidebar, left-sidebar, three-columns, two-columns, one-column, custom-header, custom-background, custom-colors, custom-menu, featured-images, full-width-template,  post-formats, sticky-post, threaded-comments, translation-ready, theme-options
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pressflex

*/

/* General settings */

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ul, ol, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

html {
	-webkit-font-smoothing: antialiased;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:after,
*:before {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

* {
	word-wrap: break-word;
}

article, aside, details,
figcaption, figure,
footer, header, hgroup, main,
menu, nav,
section {
	display: block;
	position: relative;
}

body {
	line-height: 1.5;
	overflow-x: hidden;
}

#body_wrapper {
	position: relative;
	overflow-x: hidden;
}

#site_wrapper {
	position: relative;
}

#site_container.container {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

q,
blockquote {
	quotes: none;
}

q:before,
q:after,
blockquote:before,
blockquote:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}

del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a {
	text-decoration: none;
}

#site_wrapper a {
	-webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
}

p,
table {
	margin: 0 0 1em 0;
}

ul,
ol {
	list-style: none;
	padding: 0 0 0 20px;
}

article ul,
article ol {
	margin-bottom: 20px;
}
article ul.disc li,
article ul.bullet li {
	list-style: disc;
}
article ul.circle li,
article ul.open-bullet li {
	list-style: circle;
}
article ul.square li {
	list-style: square;
}
article ol li {
	list-style: decimal;
}
article ol.lower-alpha li {
	list-style: lower-alpha;
}
article ol.upper-alpha li {
	list-style: upper-alpha;
}
article ol.lower-roman li {
	list-style: lower-roman;
}
article ol.upper-roman li {
	list-style: upper-roman;
}
article li {
/*	clear: left;*/
}

ul.check {
	padding-left: 0.3em;
}

ul.check li {
	margin-bottom: 0.5em;
	padding-left: 1.5em;	/* set same as :before width and margin-left */
}

ul.check li:before {
	display: inline-block;
	content: "\2713";
	font-size: 1.2em;
	font-weight: 700;
	width: 1.5em;
	margin-left: -1.5em;
}

/*#blogname .site-title {
/*	float: left;
	font-size: 24px;
	margin: 12px 0;
	width: 100%;
	line-height: normal;
	font-weight: normal;
}*/

h1,
h2,
h3,
h4,
h5,
h6 {
/*	float: left;*/
	margin: 12px 0;
	width: 100%;
	line-height: normal;
	font-weight: normal;
}

h1 {
	font-size: 2.0em;
}
h2 {
	font-size: 1.8em;
}
h3 {
	font-size: 1.6em;
}
h4 {
	font-size: 1.4em;
}
h5 {
	font-size: 1.2em;
}
h6 {
	font-size: 1.0em;
}

small {
	font-size: 0.8em;
	line-height: normal;
}

/* #Lists
================================================== */
/*
ul,
ol {
	margin-bottom: 20px;
}

ul {
	list-style: none outside;
}

ol {
	list-style: decimal;
}

ol,
ul.disc,
ul.square,
ul.circle {
	margin-left: 30px;
}

ul.disc {
	list-style: disc outside !important;
}

ul.square {
	list-style: square outside !important;
}

ul.circle {
	list-style: circle outside !important;
}
*/

/*
ul ul, ul ol,
ol ol, ol ul {
	margin: 4px 0 5px 30px;
	font-size: 90%;
}

ul ul li,
ul ol li,
ol ol li,
ol ul li {
	margin-bottom: 6px;
}

li {
	line-height: 1.5;
	margin-bottom: 12px;
}
*/

/*
li {
	line-height: 1;
	margin-bottom: 0.6em;
}

ul.large li {
	line-height: 1.8;
}

li p {
	line-height: 1.8;
}
*/

ol.lower-alpha {
	list-style: lower-alpha outside !important;
}

ol.upper-alpha {
	list-style: upper-alpha outside !important;
}

ol.lower-roman {
	list-style: lower-roman outside !important;
}

ol.upper-roman {
	list-style: upper-roman outside !important;
}


img,
embed,
object,
.format-video iframe {
	max-width: 100%;
}

img {
	height: auto;
}

.ie7 img {
	-ms-interpolation-mode: bicubic;
}

blockquote {
	margin: 1em 2em;
	border-left: 1px dashed #999;
	padding-left: 1em;
	line-height: normal;
	font-style: italic;
}

/*th {
	background: #eee;
	border: 1px solid #ccc;
	text-transform: uppercase;
	padding: 6px;
}

td {
	border: 1px solid #ccc;
	padding: 6px;
}*/

dt {
	font-weight: bold;
	text-decoration: underline;
}

dd {
	margin: 0;
	padding: 0 0 0.5em 1em;
}

.flex-container {
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

.clear {
	clear: both;
}

br.clear {
	line-height: 0;
}

.assistive-text {
	position: absolute !important;
	top: 0;
	left: 0;
	margin: 0;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

textarea {
	width: 96%;
}

sub,
sup,
.subscript,
.superscript {
	position: relative;
	vertical-align: baseline;
	font-size: 0.85em;
	line-height: 0;
}

sub,
.subscript {
	top: 0.4em;
}

sup,
.superscript {
	top: -0.4em;
}

/* Header elements */

#site_header {
/*	float: left;*/
	position: relative;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
}

#header_wrapper {
	list-style: outside none none;
/*	padding: 0;
	margin: 0 auto;*/
}

#header_wrapper .placeholder {
	clear: both;
}

#header_wrapper li.mainl {
	position: relative;
	float: left;
	z-index: 600;
/*	width: 100%;*/
}

#header_wrapper li.mainl:first-child {
	clear: both;
}

#logo {
	z-index: 600;
}

#logo_wrapper {
	position: relative;
}

#header_image {
	margin-bottom: 20px;
	background-repeat: no-repeat !important;
}

#social_icons {
	position: absolute;
	top: 5px;
	right: 0;
	z-index: 600;
}

#social_icons a {
	opacity: 0.7;
}

#social_icons a:hover {
	opacity: 1;
}

.facebook-color {
	background-color: rgba(255,255,255,0);
	color: #3b5998;
}

.facebook-color.inverse {
	background-color: #3b5998;
	color: rgba(255,255,255,1);
}

.flickr-color {
	background-color: rgba(255,255,255,0);
	color: #0063dc;
}

.flickr-color.inverse {
	background-color: #0063dc;
	color: rgba(255,255,255,1);
}

.instagram-color {
	background-color: rgba(0,0,0,0);
	color: rgba(255,255,255,1);
}

.instagram-color.inverse {
	background-color: rgba(255,255,255,1);
	color: rgba(0,0,0,1);
}

.linkedin-color {
	background-color: rgba(255,255,255,0);
	color: #0077b5;
}

.linkedin-color.inverse {
	background-color: #0077b5;
	color: rgba(255,255,255,1);
}

.googleplus-color {
	background-color: rgba(255,255,255,0);
	color: #dd4b39;
}

.googleplus-color.inverse {
	background-color: #dd4b39;
	color: rgba(255,255,255,1);
}

.stumbleupon-color {
	background-color: rgba(255,255,255,0);
	color: #eb4924;
}

.stumbleupon-color.inverse {
	background-color: #eb4924;
	color: rgba(255,255,255,1);
}

.tumblr-color {
	background-color: rgba(255,255,255,0);
	color: #35465c;
}

.tumblr-color.inverse {
	background-color: #35465c;
	color: rgba(255,255,255,1);
}

.twitter-color {
	background-color: rgba(255,255,255,0);
	color: #1da1f2;
}

.twitter-color.inverse {
	background-color: #1da1f2;
	color: rgba(255,255,255,1);
}

.youtube-color {
	background-color: rgba(255,255,255,0);
	color: #cd201f;
}

.youtube-color.inverse {
	background-color: #cd201f;
	color: rgba(255,255,255,1);
}


#blogname {
/*	margin: 0 0 5px;*/
/*	padding: 0;*/
	position: relative;
}

.ie7 #blogname {
	width: 300px;
}

#blogname .site-title {
	margin: 20px 0 0;
	padding: 0;
}

#title.aligncenter {
	margin: 20px auto;
	text-align: center;
}

#title.fr {
	text-align: right;
}

#title h1 a:hover {
	text-decoration: none;
}

.headerimage .aligncenter {
	margin: 0 auto !important;
}

#description {
/*	margin: 0 0 20px;
	padding: 0;*/
	line-height: 1;
}

.ie7 #description {
	width: 300px;
}

#description.fl {
	clear: left;
}

#description.fr {
	clear: right;
}

#description.aligncenter,
#headerad.aligncenter {
	margin: 0 auto 20px;
	text-align: center;
	clear: both;
}

#headerad.aligncenter {
	margin: 24px auto 20px;
}

/** Style main navigation menu **/

.spin {
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
	-webkit-transition: all 0.8s ease 0s;
	-moz-transition: all 0.8s ease 0s;
	-ms-transition: all 0.8s ease 0s;
	-o-transition: all 0.8s ease 0s;
	transition: all 0.8s ease 0s;
}

li#primary_nav.mainl {
	z-index: 900;
}

#primary_nav .nav-mobile {
	display: none;
	color: #444444;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 26px;
	font-weight: 700;
	padding: 0 10px;
	cursor: pointer;
}

/*
#primary_nav .nav-mobile:before {
	content: "\2630";
}
*/

#primary_nav nav .mobile-item {
	display: none;
}

#primary_nav nav {
	position: relative;
	width: 100%;
	border-bottom: 1px solid #aaa;
	font-size: 1.3em;
	margin: 10px 0 0;
	z-index: 600;
}

#secondary_nav nav {
	border: 0;
	font-size: 1em;
	line-height: 1.2;
	z-index: 599;
}

#primary_nav nav ul {
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: flex-start;
	-moz-justify-content: flex-start;
	-ms-justify-content: flex-start;
	justify-content: flex-start;
	width: 100%;
	padding: 0;
	white-space: nowrap;
}

#primary_nav nav li,
#primary_nav nav ul {
	position: relative;
	-webkit-transition: color .25s ease-in-out;
	-moz-transition: color .25s ease-in-out;
	transition: color .25s ease-in-out;
	-webkit-transition: background-color .25s ease-in-out;
	-moz-transition: background-color .25s ease-in-out;
	transition: background-color .25s ease-in-out;
}

#primary_nav nav li {
	display: inline-block;
}

#primary_nav nav li .fa {
/*	line-height: 0.5;
	width: 25px;*/
}

#primary_nav nav li a {
	display: block;
	padding: .5em 1em;
	cursor: pointer;
}

#primary_nav nav ul ul {
	-webkit-flex-direction: column;
	-moz-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	background-color: #333333;
	position: absolute;
	left: -9999px;
	width: auto;
	margin: 0;
	text-align: left;
	opacity: 0;
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
	box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
	-webkit-transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	transition: opacity .25s ease-in-out;
}

#primary_nav nav ul ul li {
	white-space: nowrap;
}

#primary_nav nav li li {
	display: block;
	overflow: hidden;
	width: 100%;
	opacity: 0;
	height: 0;
	transition: opacity 0.4s ease-in-out 0s, height 0.4s ease-in-out 0s;
}
/*
@media screen and (min-width: 640px), screen and (min-device-width: 640px) {
	#primary_nav nav li.nolink:hover > a {
		cursor: pointer;
	}

	#primary_nav nav ul li:hover > ul {
		opacity: 1;
		left: 0;
	}

	#primary_nav nav ul li:hover li {
		opacity: 1;
		height: 2em;
	}

	#primary_nav nav ul ul li:hover ul {
		left: 100% !important;
		top: 0;
	}
}

@media screen and (max-width: 639px), screen and (max-device-width: 639px) {
	#header_wrapper li#nav.mainl {
		width: 100%
	}

	#primary_nav .nav-mobile {
		display: inline-block;
	}

	#primary_nav nav .mobile-item {
		display: block;
	}

	#primary_nav nav {
		text-align: left;
		margin-top: 0;
		margin-left: 0;
		padding: 10px 0;
	}

	#primary_nav nav ul.menu {
		position: absolute;
		display: none;
		text-align: left;
		white-space: normal;
		padding: 0 0 10px 0;
	}

	#primary_nav nav ul li {
		width: 100%;
	}

	#primary_nav nav ul ul {
		position: relative;
		top: 0;
		margin-top: 0;
		margin-left: 0;
		padding: 0 0 0 20px;
		box-shadow: 0 0;
	}

	#primary_nav nav li li {
		padding-left: 0;
	}

	#primary_nav nav ul li.tap ul {
		opacity: 1;
		left: 0;
	}

	#primary_nav nav ul li.tap li {
		opacity: 1;
		height: 2em;
	}

	#primary_nav nav ul li.tap li:active {
		background-color: #cccccc;
	}
}
*/
#primary_nav {
	margin-bottom: 20px;
}


/* main content */
#site_main {
	position: relative;
	width: 100%;
}

#main_content {
	position: relative;
}

.ie7 #main_content {
	overflow: hidden;
}

#content_wrapper {
/*	width: 100%;
	padding: 0;*/
/*	float: left;*/
}

#content_wrapper > li {
	float: left;
}

.ie7 #content_wrapper .element1,
.ie8 #content_wrapper .element1 {
	margin-left: 0 !important;
}

.ie7 #content_wrapper .element2,
.ie8 #content_wrapper .element2,
.ie7 #content_wrapper .element3,
.ie8 #content_wrapper .element3 {
	margin-right: 0 !important;
}

#content_wrapper > li:first-child {
/*	margin-left: 0;*/
}

#content_wrapper > li:last-child {
/*	margin-right: 0;*/
}

article {
	float: left;
	width: 100%;
	margin: 0 0 30px;
	position: relative;
}

aside a img,
article a img {
/*	opacity: 1;*/
	opacity: 0.99999;	/*fixes a problem with fade opacity on hover changing the image width */
	-webkit-transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	transition: opacity .25s ease-in-out;
}

aside a img:hover,
article a img:hover {
	opacity: 0.8;
}

.page article,
.single article {
	margin-bottom: 15px;
}

.page-title,
.category-title {
	margin: 0 0 2px;
}

.side-featured {
	border-bottom: 1px dotted #ccc;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.side-featured .page-title,
.side-featured .post-title {
	font-size: 1.2em;
	line-height: 1.3;
}

.meta {
	font-size: 0.9em;
	line-height: 1.5;
	float: left;
	width :100%;
	font-style: italic;
	margin: 0 0 20px 0;
}

.meta a {
	border-bottom: 1px dotted;
}

article.featured .storycontent,
article.featured .page-content {
	clear: none;
}

article.featured1 .storycontent,
article.featured1 .page-content {
	clear: both;
}

article.featured1 .content-col {
	padding-left: 0 !important
}

article.side-featured {
	width: 100% !important;
}

article.featured1 img.wp-post-image {
	width: 100%;
	height: auto;
}

.page-content {
	clear: both;
	float: left;
	font-size: 1em;
	line-height: 1.5;
	width: 100%;
	margin-top: 1em;
}

.side-featured .page-content {
	margin: 5px 0 0;
	clear: none;
}

.home .page-content p {
	margin-top: 0;
}

.side-featured .page-content p {
	margin: 0;
}

article footer {
	width: 100%;
}

.tags {
	line-height: 1;
	color: #666666;
	clear: both;
}

.post-edit-link {
	font-size: 0.8em;
}

#index_posts {
	width: 100%;
}

.home article {
	width: 47%;
}

.home #index_posts article.odd {
	margin-right: 6%;
	clear: left;
}

.home article.featured,
.home.page article {
	width: 100%;
}

/* AUTHOR BOX */

#author_box {
	width: 100%;
	margin: 0 auto 10px;
	overflow: hidden;
	padding: 10px 0;
	font-size: 0.9em;
	background: #f6f6f6;
	border:1px solid #eee;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.author #author_box {
	margin: 0 0 30px;
}

#author_box h4 {
	font-size: 1.4em;
	margin:0;
	padding: 0;
	clear: none;
	width: 100%;
}

#author_box img {
	margin:0 0 0 10px;
	float:left;
	background: #fff;
}

#author_box p {
	line-height: 1.4;
	float: left;
	margin-bottom: 0;
	width: 100%;
}

#author_box h4 > a {
	text-decoration:none;
}

.author-text {
	padding: 0 10px 0 100px;
}

.category-description {
	margin-bottom: 20px;
	color: #888;
}

/* Columns function */

/*
.columns {
	float: left;
}

.columns h1 {
	margin-top: 0;
}

.columns-title {
	font-size: 2.2em;
	margin-bottom: 30px;
}

.columns .post {
	margin-bottom: 30px;
	float: left;
}
*/

/* Comment Elements */
.comment-notes {
	clear: both;
}

#comments {
	clear: both;
	float: left;
	width: 100%;
}

#commentform input,
#commentform textarea {
	clear: both;
	display: block;
	border: 1px solid #ddd;
	padding: 5px;
	margin: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	z-index: 600;
	font-size: 12px;
	font-family: Arial;
	-webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
}

#commentform #submit,
.commentlist li .reply a {
	font-size: 12px;
	line-height: 1;
	clear: both;
	padding: 6px 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: #fff;
	border: 1px solid #ddd;
	background: #eee;
	color: #aaa;
	background: -webkit-gradient(linear, left top, left bottom, from(#EEEEEE), to(#F6F6F6));
	background: -moz-linear-gradient(top,  #EEEEEE,  #F6F6F6);
	background: linear-gradient(top,  #EEEEEE,  #F6F6F6);
	display: block;
	cursor: pointer;
}

.commentlist li .reply a {
	float: right;
}

#commentform #submit:hover,
.commentlist li .reply a:hover {
	border-color: #ccc;
	color: #666;
}

#respond h3,
#comments_title {
	font-weight: normal;
	font-size: 20px;
	margin: 10px 0;
	clear: left;
}

#comments_title {
	margin-bottom: 0;
}

#respond {
	margin-top: 15px;
	clear: both;
	float: left;
	width: 100%;
	line-height: 1.5;
}

#respond input:focus,
#respond textarea:focus {
	-webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	border-color: #ccc;
}

.commentlist {
	list-style: none;
	margin: 0;
	padding: 0;
	float: left;
	width: 100%;
}

.commentlist li.comment,
.commentlist li.pingback {
	padding: 20px 0 20px;
	clear: both;
	float: left;
	width: 100%;
	border-bottom: 1px dotted rgba(0,0,0,0.2);
	line-height: 1.5;
}

.commentlist ul.children li {
	background: #f6f6f6;
	width: 100%;
	padding: 20px;
	border: 1px solid #eee;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.commentlist ul.children li.odd {
	background: #ffffff;
	border-color: #ffffff;
}

.comment-notes {
	line-height: 1.2;
}

.commentlist li.comment .avatar {
	float: left;
	background: #ffffff;
	padding: 2px;
	border: 1px solid #ddd;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.commentlist li.comment .comment-author {
	font-size: 1.2em;
	line-height: 1.6;
	padding-left: 75px;
	font-weight: bold;
	width: 100%;
}

.commentlist li.comment .comment-meta {
	padding-left: 75px;
	font-size: 0.9em;
}

.commentlist li.comment .comment-text {
	padding: 0 0 0 75px;
}

.commentlist li.comment .url {
	font-size: 1.2em;
	font-style: italic;
}

#cancel_comment_reply_link {
	font-size: 1em;
	float: right;
}

 .commentlist li ul.children {
	list-style: none;
	clear: both;
	float: right;
	width: 90%;
	margin: 16px 0 0;
}

/* Pagination */

#page_numbers {
	margin: 10px 0 20px;
	width: 100%;
	padding: 0;
	font-size: 1em;
	line-height: normal;
	clear: both;
	float: left;
	border: 0;
}

#page_numbers a,
#page_numbers span,
#page_numbers .total-pages {
	float: left;
	color: #666666;
	border: 1px solid #cccccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: #eeeeee;
	background: -webkit-gradient(linear, left top, left bottom, from(#e4e3e3), to(#ffffff));
	background: -moz-linear-gradient(top,  #e4e3e3,  #ffffff);
	background: linear-gradient(top,  #e4e3e3,  #ffffff);
	padding: 3px 4px 2px 4px;
	margin: 2px;
	text-decoration: none;
}

#page_numbers a:hover,
#page_numbers span.current {
	border: 1px solid #999999;
	color: #444444;
}

/* Featured Widgets */

.featured-wrapper {
	float: left;
	display: -moz-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: box;
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
	width: 100%;
}

.featured-widget {
	padding: 0 15px 0 0;
	width: 33.3333%;
}

/* Sidebar */

#main_sidebar,
#second_sidebar {
/*	padding: 0;*/
	float: left;
	position: relative;
	line-height: normal;
	list-style-type: none;
}

#main_sidebar article.side-featured .content-col,
#second_sidebar article.side-featured .content-col {
	padding-left: 65px;
}

.side-widget {
	float: left;
	margin: 0 0 20px;
	width: 100%;
	font-size: 1em;
}

.side-widget h2,
.bottom-widget h2 {
	margin: 0 0 10px;
	padding: 0 0 5px;
	border-bottom: 1px solid #dddddd;
	text-transform: uppercase;
	font-size: 1.2em;
	color: #222222;
}

.side-widget ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
	clear: both;
	float: left;
	width: 100%;
}

.side-widget ul li,
.bottom-widget ul li {
	padding: 0;
	margin: 0 0 10px;
	clear: both;
	float: left;
	width: 100%;
}

.side-widget #s {
	width: 100%;
	max-width: 280px;
	padding: 5px 20px 5px 5px;
	margin-bottom: 10px;
	background: url(admin/images/search.png) no-repeat right #f4f4f4;
	border: 1px solid #ccc;
	-webkit-transition: all .25s ease-in-out;
	-moz-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

.side-widget #s:focus {
	-webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	box-shadow: 1px 1px 2px rgba(0,0,0,0.3);
	}

.flickr_badge_image img {
	float: left;
	margin: 5px;
	border: 1px solid #ddd;
}

.flickr-link {
	margin: 5px;
	float: left;
}

.mytweets li {
	line-height: 1.5;
}

/* Extended Footer */

#extended_footer {
/*	margin: 0;
	padding: 0;*/
	line-height: normal;
	width: 100%;
	position: relative;
	font-size: 1em;
}

#extended_footer ul {
	padding: 0;
	margin: 0;
}

#extended_footer ul li {
	list-style-type: none;
}

#extended_footer .bottom-widget {
	float: left;
	min-width: 33.3333%;
	width: auto;
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 20px;
}

#extended_footer .widget1 {
	clear: both;
}

#extended_footer .widget2 {
/*	margin: 0 5% 20px;*/
	margin: 0 0 20px;
}

.ie7 #extended_footer .widget2 {
	margin: 0 4.5% 20px;
}

#extended_footer .rsswidget img {
	display: none;
}

/* Footer */

#site_footer {
	position: relative;
	width: 100%;
}

#site_footer .inner-container {
	border-top: 1px solid #aaa;
}

#footer_wrapper {
	position: relative;
	padding-top: 20px;
}

#footer_wrapper > li {
	float: left;
	position: relative;
	width: 100%;
	margin-bottom: 20px;
/*	clear: left;*/
}

#footer_wrapper .inner-wrapper {
/*	margin-left: -15px;
	margin-right: -15px;*/
}

#copyright .inner-wrapper > span {
/*	padding-left: 15px;
	padding-right: 15px;*/
}

#copyright {
	font-size: 0.85em;
	text-align: center;
	line-height: normal;
/*	margin: 10px 0;*/
}

#footer_wrapper nav {
	position: relative;
	font-size: 0.9em;
	text-align: center;
	border: 0;
/*	margin: 10px 0;*/
}

#footer_wrapper nav ul li {
	float: none;
	display: inline-block;
}

#footer_wrapper nav ul ul {
	width: 120px;
	position: absolute;
	text-align: left;
}

#footer_wrapper nav ul ul ul {
	left: 100%;
}

/* SLIDEROTA */

.px-slideshow {
	position: relative;
	margin: 0 0 20px;
	visibility: hidden;
	width: 100%;
	clear: both;
}

.px-slideshow .slideshow-content {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.px-slideshow ul.text li a {
	color: #ffffff;
}

.px-slideshow ul.images {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0;
	margin: 0;
	list-style: none;
	height: 100%;
	width: 100%;
}

.px-slideshow ul.images li {
	width: 100%;
}

#sliderota ul.images li {
	float: left;
	clear: none;
}

.px-slideshow ul.images li img {
	float: left;
	min-width: 100%;
}

#sliderota ul.text {
	position: absolute;
	bottom: 8px;
	left: 8px;
	z-index: 100;
	list-style: none;
	padding: 0;
	margin: 0;
}

#sliderota ul.text li  {
	float: left;
	clear: none;
	width: auto;
	margin: 0;
}

#sliderota ul.text li a {
	background: url(admin/images/sprite.png) no-repeat -110px 0;
	width: 16px;
	height: 16px;
	display: block;
}

#sliderota ul.text li.selected a {
	background-position: -128px 0;
}

#sliderota .controls a {
	z-index: 100;
	position: absolute;
	right: 8px;
	bottom: 8px;
	background: url(admin/images/sprite.png) no-repeat -168px 0;
	width: 12px;
	height: 16px;
}

#sliderota .controls a.play {
	display: none;
	background-position: -150px 0;
}

/* SCROLLEROTA */
#scrollerota ul.text {
	list-style: none;
	width: 200px;
	background: url(admin/images/pixel.png);
	position: absolute;
	top: 0;
	left: 0;
	padding: 0;
	margin: 0;
	color: #ffffff;
	font-size: 1em;
	line-height: 1.5;
}

#scrollerota ul.text li h4 {
	font-size: 1.5em;
	line-height: 1.6;
	color: #ffffff;
	margin: 0 0 10px;
}

#scrollerota ul.text li {
	margin: 0;
	padding: 10px;
}

#scrollerota ul.images li {
	float: left;
	clear: none;
}

#scrollerota ul.text li a.readmore {
	background: #444444;
	padding: 5px 0;
	text-align: center;
	border: 1px solid #333333;
	color: #ffffff;
	clear: both;
	display: block;
	height: 26px;
	width: 80px;
	margin-top: 16px;
	font-size: 0.9em;
	line-height: 1.3;
}

#scrollerota ul.text li a:hover.readmore {
	background: #555555;
	border: 1px solid #444444;
	text-decoration: none;
}

#scrollerota .controls {
	position: absolute;
	bottom: 10px;
	right: 10px;
}

#scrollerota .controls a {
	width: 22px;
	height: 22px;
	display: block;
	float: left;
	background: url(admin/images/sprite.png) no-repeat -68px -91px;
}

#scrollerota .controls .prev {
	background-position: -68px -113px;
}

#scrollerota .controls .next {
	background-position: -92px -113px;
}

#scrollerota .controls .play {
	background-position: -91px -91px;
	display: none;
}

/* FADEROTA */

#faderota ul.text {
	list-style: none;
	position: absolute;
	margin: 0;
	color: #ffffff;
	top: 0;
	left: 0;
	padding: 0;
	width: 100%;
}

#faderota ul.text li {
	position: absolute;
	bottom: 44px;
	right: 0;
	overflow: hidden;
	display: none;
}

#faderota ul.text li a:hover {
	background: #222222;
}

#faderota ul.text li h4 {
	font-size: 2em;
	color: #ffffff;
	text-shadow: #000 2px 2px 2px;
	line-height: 2.1;
	margin: 0;
}

#faderota ul.text li h4 a {
	background: url(admin/images/pixel.png);
	padding: 10px 15px;
	border-bottom: 1px solid #444;
	letter-spacing: 1px;
	border-left: 1px solid #444;
	display: block;
}

#faderota ul.text li.selected {
	z-index: 100;
	display: none;
}

#faderota ul.images li {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}

#faderota .play {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 23px;
	height: 23px;
	display: none;
	background: url(admin/images/sprite.png) no-repeat -92px -148px;
}

#faderota .prev {
	background: url(admin/images/sprite.png) no-repeat -116px -92px;
	width: 41px;
	height: 54px;
	display: block;
	position: absolute;
	left: -6px;
}

#faderota .next {
	background: url(admin/images/sprite.png) no-repeat -160px -92px;
	width: 41px;
	height: 54px;
	display: block;
	position: absolute;
	right: -6px;
}

#faderota a,
#sliderota a,
#scrollerota a {
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
}

/* Gallery */

.gallery {
/*	margin: 10px auto 18px;*/
	margin: 0 auto 1em;
}

.gallery .gallery-item {
	float: left;
/*	margin: 0 1.5% 1em;*/
	margin: 0 0 1em 0;
	padding: 0 15px 0 0;
	text-align: center;
	width: 30%;
}

.gallery-columns-1 .gallery-item {
	width: 100%;
}

.gallery-columns-2 .gallery-item {
/*	width: 47%;*/
	width: 50%;
}

.gallery-columns-3 .gallery-item {
/*	width: 47%;*/
	width: 33.333333%;
}

.gallery-columns-4 .gallery-item {
/*	width: 22%;*/
	width: 25%;
}

.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}

.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}

.gallery dl {
	margin: 0;
}

.gallery br+br {
	display: none;
}

/* WordPress Required Elements */

.aligncenter,
div.aligncenter {
	display: block;
	margin: 10px auto;
	clear: both;
}

.alignleft, div.alignleft {
	float: left;
	margin: 5px 15px 5px 0;
}

.side-featured .alignleft {
	margin-top: 0;
}

.alignright, div.alignright {
	float: right;
	margin: 5px 0 5px 15px;
}

.alignnone {
	margin: 10px 0;
}

.featured .alignnone {
	margin-top: 0;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding: 5px;
	/* optional rounded corners for browsers that support it */
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	max-width: 100%;
	clear: both;
}

#wp-calendar {
	margin: auto;
}

#wp-calendar caption {
	margin-bottom: 5px;
}

#wp-calendar tbody td {
	text-align: center;
}

#calendar_wrap {
	clear: both;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.gallery-caption,
.wp-caption p.wp-caption-text {
	font-size: 0.9em;
	line-height: 1.5;
	padding: 5px 4px;
	margin: 0;
}

.more-link {
	font-size: 0.9em;
	clear: both;
	float: left;
	width: 100%;
	display: block;
}

.sticky {}
.bypostauthor {}

p.error {
	color: #cc0000;
	margin: 12px 0;
}

.warning-wrapper {
	padding-left: 15px;
	padding-right: 15px;
}

div.warning,
aside.warning {
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color:#FFFFE0;
	border: 1px solid #E6DB55;
	font-size: 12px;
	line-height: normal;
	width: 100%;
	color: #000;
	text-shadow: none;
	font-family: Arial, sans-serif;
}

.ie7 div.warning,
.ie7 aside.warning {
	border: 0;
}

div.warning a,
aside.warning a {
	color: #000 !important;
	border-bottom: 1px dotted #000;
	background: none !important;
}

div.warning p,
aside.warning p {
	padding: 8px 10px;
	margin: 0;
}

#main_sidebar aside.warning,
#second_sidebar aside.warning {
	margin-bottom: 20px;
}

#search_submit,
.screen-reader-text {
	display: none;
}

/* NEW POST FORMATS */

.gallery-thumb {
	float: left;
	width: 100%;
}

p.gallery-text {
	margin: 5px 0 0;
	width: 100%;
}

.gallery-thumb img,
#main_content .pformat img {
	max-width: 100%;
}

.ie8 .gallery-thumb img,
.ie8 #main_content .pformat img {
	width: auto;
}

.format-aside .page-content .pformat {
	background: url(admin/images/quotes.png) no-repeat top left;
	min-height: 40px;
	font-style: italic;
	padding-left: 50px;
	font-size: 20px;
	line-height: 2.1;
}

.format-link h1,
.format-link h2,
.format-aside h1,
.format-aside h2 {
	display: none;
}

.format-audio .page-content .pformat {
	padding-left: 50px;
	background: url(admin/images/audio.png) no-repeat top left;
	min-height: 40px;
	display: block;
}

.format-link .page-content .pformat {
	display: block;
	background: url(admin/images/link.png) no-repeat top left;
	font-size: 1.4em;
	line-height: 1.4;
	min-height: 40px;
	padding-left: 50px;
}

.format-link .page-content .pformat p {
	margin-top: 8px;
}

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, 
.clearfix:after {
	content: "";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
	zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}


/* Text alignment and styling */

.text-top {
	vertical-align: top;
}

.text-middle {
	vertical-align: middle;
}

.text-bottom {
	vertical-align: bottom;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.text-justify {
	text-align: justify;
}

.text-center {
	text-align: center;
}

.text-indent {
	text-indent: -2.6em;
}

.text-bold {
	font-weight: 700 !important;
}

.text-normal {
	font-weight: 400 !important;
}

.text-italic {
	font-style: italic;
}

.text-smaller {
	font-size: 0.85em;
}

.text-small {
	font-size: 0.75em;
}

.text-larger {
	font-size: 1.15em;
}

.text-large {
	font-size: 1.25em;
}

.text-lowercase {
	text-transform: lowercase !important;
}

.text-uppercase {
	text-transform: uppercase !important;
}

.text-smallcaps {
	font-variant: small-caps;
}

.nomargins {
	margin: 0 !important;
}

.extend-left {
	margin-left: -50% !important;
	padding-left: 50% !important;
}

.extend-right {
	margin-right: -50% !important;
	padding-right: 50% !important;
}

.extend-full {
	margin-left: -50% !important;
	padding-left: 50% !important;
	margin-right: -50% !important;
	padding-right: 50% !important;
}

input,
select,
textarea {
	line-height: 1.6;
}


/* #Buttons (from Skeleton)
================================================== */

.wide-button {
	width: 100px;
	margin-top: 10px;
}

button,
.button,
input[type="reset"],
input[type="submit"],
input[type="button"] {
	background: #eee; /* Old browsers */
	background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */
	background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
	background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
	background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
	background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
	background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
	border: 1px solid #aaa;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #444;
	display: inline-block;
	font-size: 11px;
	font-weight: bold;
	text-decoration: none !important;
	text-shadow: 0 1px rgba(255, 255, 255, .75);
	cursor: pointer;
	margin-bottom: 20px;
	line-height: normal;
	padding: 8px 10px;
	font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	min-width: 80px;
}

button:hover,
.button:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
	color: #222;
	background: #ddd; /* Old browsers */
	background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
	background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
	background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
	background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
	background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
	background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
	border: 1px solid #888;
	border-top: 1px solid #aaa;
	border-left: 1px solid #aaa;
}

button:active,
.button:active,
input[type="reset"]:active,
input[type="submit"]:active,
input[type="button"]:active {
	border: 1px solid #666;
	background: #ccc; /* Old browsers */
	background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */
	background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
	background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
	background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */
	background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */
	background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */
}

button.full-width,
.button.full-width,
input[type="reset"].full-width,
input[type="submit"].full-width,
input[type="button"].full-width {
	width: 100%;
	padding-left: 0 !important;
	padding-right: 0 !important;
	text-align: center;
}

/* Fix for odd Mozilla border & padding issues */
input::-moz-focus-inner,
button::-moz-focus-inner {
	border: 0;
	padding: 0;
}
