/*
Theme Name: underscoreJuan
Theme URI: http://juanlloa.com
Author: Juan Ulloa
Author URI: http://underscores.me/
Description: Juan's portfolio theme based on underscores.me theme
Version: 0.5.6.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: underscorejuan
Tags:

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.

underscoreJuan is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Fonts
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

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

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0.065em solid #eae7e7;
}
a:hover img,
a:focus img {
	border-color: #1363B3;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0 0.165em 0 0;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

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

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}





/*--------------------------------------------------------------
# Fonts  (fontawesome via icomoon)
--------------------------------------------------------------*/

@font-face {
    font-family: 'icomoon';
    src:    url('fonts/fonts/icomoon.eot?y10fzv');
    src:    url('fonts/fonts/icomoon.eot?y10fzv#iefix') format('embedded-opentype'),
        url('fonts/fonts/icomoon.ttf?y10fzv') format('truetype'),
        url('fonts/fonts/icomoon.woff?y10fzv') format('woff'),
        url('fonts/fonts/icomoon.svg?y10fzv#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    padding-right: .5em;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-twitter-square:before {
    content: "\f081";
}
.icon-linkedin-square:before {
    content: "\f08c";
}
.icon-google-plus-square:before {
    content: "\f0d4";
}
.icon-youtube-square:before {
    content: "\f166";
}
.icon-instagram:before {
    content: "\f16d";
}
.icon-flickr:before {
    content: "\f16e";
}
.icon-envelope-square:before {
    content: "\f199";
}
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
textarea {
	color: #737373;
	font-family: 'Fanwood Text', helvetica, arial, sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	margin-bottom: 0;
	margin-top: 1em;
}

h1 {
	font-size: 2em;
	line-height: 1.2em;
	margin: 0;
	font-weight: normal
}
h2 {
	font-size: 1.5em;
	font-family: 'Quattrocento Sans', helvetica, arial, sans-serif;
	font-weight: normal;
	line-height: 1.2em;
	margin-top: 2em;
} 

p {
	margin-top: 1em;
	margin-bottom: 0;
	text-align: left; /*responsive*/
}

h2:first-child, 
h3:first-child, 
h4:first-child, 
h5:first-child, 
h6:first-child, 
p:first-child, 
h1 + p { margin-top: .25em;}
h2 + p { }
h3 + p {}
h4 + p {}
h5 + p {}
h6 + p {}
	

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

@media screen and (min-width: 25em) {
	p {
		text-align: justify; /*responsive*/
		hyphens: auto;
	}
}

@media screen and (min-width: 70em) {
	html {
		font-size: 120%;
	}
}



/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #EAE7E7; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #eae7e7;
	border: 0;
	height: 0.05em;
	margin-bottom: 1.5em;

}

ul,
ol {
	margin: 1em 0 0 0;
	padding: 0 0 0 2em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}
li { margin-top: 0.5em;}

li > ul,
li > ol {
	margin-top: 0;
	margin-left: 2em;
}
p + ul,
h1 + ul,
h2 + ul,
h3 + ul,
h4 + ul,
h5 + ul,
h6 + ul,
p + ol,
h1 + ol,
h2 + ol,
h3 + ol,
h4 + ol,
h5 + ol,
h6 + ol {
	margin-top: 0.5em;
}
ul:first-child, 
ol:first-child {
	margin-top: 0;
}
li:first-child {
	margin-top:0;
}


dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}


/*--------------------------------------------------------------
# Site Header
--------------------------------------------------------------*/

p.site-title,
h1.site-title {
	font-size: 3.125em;
	font-family: 'Quattrocento', serif;
	font-weight: normal;
	text-align: center;
	margin: .2em 0 0;
}
.site-title a,
.site-title a:visited {
	text-decoration: none;
	color: #2C2C2C;
}



/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #1363B3;
}

a:visited {
	color: #1363B3;
}

a:hover,
a:focus,
a:active {
	color: #BD4F14;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	width: 18em;
	font-family: 'Quattrocento Sans';
	font-size: 1.25em;
	margin: 0 auto .5em;
	overflow: hidden;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
	text-transform: uppercase;
	margin-top: 0;
}

.main-navigation li + li {
	margin-left: 2.5em;
}
.main-navigation a{
	display: block;
	text-decoration: none;
	color: #2C2C2C;
	line-height: 1.25
}

.main-navigation a:visited {
	color: #2C2C2C;	
}


.main-navigation a:hover,
.main-navigation a:focus {
	color: #BD4F14;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_parent > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-page-ancestor > a,
.main-navigation .current-menu-ancestor > a {
	border-bottom: 5px solid #BD4F14;
}

.home .main-navigation .nav-work > a {
	border-bottom: 5px solid #BD4F14;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0.05em 0 0 0;
	overflow: hidden;
	background-color: white;
}

.site-main .posts-navigation {
	margin-top: 2em;
	border: 0.0625em solid #a4a4a4;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
	padding: .5em 1em .5em 1em; /*responsive*/
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
	padding: .5em 1em .5em 1em; /*responsive*/
}

/*
 breakpoints
*/
@media screen and (max-width: 25em) {
	.site-header {
		font-size: .85em;
	}
}


@media screen and (min-width: 45em) {
	.site-header { 
		position: relative;
	}
	.main-navigation {
		margin: 0;
		position: absolute;
		top: 2.6em;
		right: 3rem;
	}
	p.site-title,
	h1.site-title {
		text-align: left;
		padding-left: 3rem;
		margin-top: .5em;
		margin-bottom: .5em;
	}
	.comment-navigation .nav-previous,
	.posts-navigation .nav-previous,
	.post-navigation .nav-previous {
		padding-left: 3em; /*responsive*/
	}

	.comment-navigation .nav-next,
	.posts-navigation .nav-next,
	.post-navigation .nav-next {
		padding-right: 3em; /*responsive*/
	}

}

@media screen and (min-width: 50em) {
	.main-navigation {
		right: 4rem;
		width: 24.5rem;
	}
	p.site-title,
	h1.site-title {
		padding-left: 4rem;
	}
	.main-navigation li + li {
		margin-left: 3em;
	}
	.comment-navigation .nav-previous,
	.posts-navigation .nav-previous,
	.post-navigation .nav-previous {
		padding-left: 4em; /*responsive*/
	}

	.comment-navigation .nav-next,
	.posts-navigation .nav-next,
	.post-navigation .nav-next {
		padding-right: 4em; /*responsive*/
	}
}

/*Footer area*/

.site-footer {
    text-align: center;
    margin-top: 3em;
}

.social-connect {
	border-top: 0.07em solid #BD4F14;
	background-color: white;
    padding: 1.7em 2em 2.5em;
    overflow: hidden
}
.social-connect-title {
	font-family: "Quattrocento Sans",helvetica,arial,sans-serif;
}
.social-connect-list {
	margin: 0 auto;
    padding: 0;
    text-align: center;
    width: 16.9em;
    margin-top: .4em;
}
.social-connect-list li {
	display: inline;
	padding: 0;
	margin: 0;
}
.social-connect-links {
	float: left;
	text-decoration: none;
	color: #BD4F14;
	width: 1em;
	height: 1em;
	display: block;
	overflow: hidden;
	font-size: 2em;
	margin: 0 0.2em;    
}
.social-connect-links:visited {
	color: #BD4F14
}
.social-connect-links:hover,
.social-connect-links:focus{
	color: #1363B3;
}
.site-info {
	margin-bottom: 1em;
	margin-top: .5em;
	text-align: inherit; 
}
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	font-size: 0.875em;
}

.widget ul {
	padding: 0;
	margin: 0.2em 0 0 0;
	list-style: none
}
.widget li {
	line-height: 1.2;
	margin-top: 0.5em;
}

.widget a {
	text-decoration: none;
}
.widget a:hover {
	text-decoration: underline;
}
/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

.widget-title {
	font-size: 16px;
	font-size: 1rem;
	color: #A4A4A4;	
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.site-content {
	border-top: .625rem solid #BD4F14;
	display: block; /*responsive*/
	width: 100%;  /*responsive*/
}
.content-area {
	display: block; /*responsive*/
	vertical-align: top; 
}
.widget-area {  
	display: block; /*responsive*/
	border-left: 0em solid #eae7e7; /*responsive*/
	background-color: white;
	padding: 1em;/*responsive*/
	vertical-align: top;
	margin-top: 3em; /*responsive*/
}

.page-wrap {
	background-color: white;
	overflow: hidden;
}
.entry-header {
	overflow: hidden
}
.entry-header-inner {
	display: block; /*responsive*/
    width: 100%; /*responsive*/

}
.entry-header-thumbnail {
	display: block; /*responsive*/
    width: 100%; /*responsive*/
    margin: 0 auto; /*responsive*/
}
h1.entry-title {
	font-family: 'Quattrocento Sans', helvetica, arial, sans-serif;
	margin-top: 1em;
	text-transform: uppercase;

}

@media screen and (min-width: 45em) {
	.site-content {
		display: table; /*responsive*/
		width: 100%;  /*responsive*/
	}
	.content-area {
		display: table-cell; /*responsive*/
	}
	.widget-area {  
		display: table-cell; /*responsive*/
		border-left: 0.05em solid #eae7e7; /*responsive*/
		padding: 3em 2em;/*responsive*/
		margin-top: 0; /*responsive*/
		width:18em;
	}
	.entry-header {
		display: table;
	}
	.entry-header-inner {
		display: table-cell; /*responsive*/
	    padding-right: 10%;  /*responsive*/
	    width: 60%; /*responsive*/
	    padding-bottom: 2em;
	    vertical-align: middle;
	}
	.entry-header-thumbnail {
		display: table-cell; /*responsive*/
	    width: 30%; /*responsive*/
	    margin: 0; /*responsive*/
	    vertical-align: middle;
	}
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin-top: 1em;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.excerpt {
	margin-top: 0;
}
.excerpt-readmore {
	margin-top: 0;
	margin-bottom: .5em;
}

.excerpt-readmore-link {
	text-decoration: none;
}

/*
NavPAges
*/

.section-header {
	background-color: #BD4F14;
	overflow: hidden;
	font-family: 'Fanwood Text', helvetica, arial, sans-serif;
	text-align: center;
	color: white;
	padding: 2em 1.5em 2.6em;

}
.entry-content-navpage {
	margin: 2em 1em 0em 1em;   /*Responsive*/
}
.page-wrap {
	padding: 1em 1em 2em 1em;   /*Responsive*/
}
.page-wrap hr {
	margin-left: -1em; /*Responsive*/
	margin-right: -1em;  /*Responsive*/
}

.entry-content-navpage h2:first-child {
	font-family: 'Quattrocento';
	font-size: 1.25em;
}
.navpage-list {
	margin: 0 1em;  /*Responsive*/
}
.navlist-item {
	background-color: white;
	border: .0625em solid #A4A4A4;
	padding: 1em 1.2em;  /*Responsive*/
	overflow: hidden;
	margin-top: 1em;   /*Responsive*/
	display: block; /*Responsive*/
	width: 100%;
}
.navlist-item:first-child {
	margin-top: 0.5em;
}
.navlist-image-wrapper {
	width: 100%;  /*Responsive*/
	padding: 0 0 0.5em 0;  /*Responsive*/
	display: block;  /*Responsive*/
	vertical-align: middle;
}
.navlist-item-text {
	display: block; /*Responsive*/
	vertical-align: middle;
}

.wp-post-image { /* NOTE: This needs to move */
	width: 100%;
	display: block;
}   

.navlist-imagemissing {  /*Note This should go away*/
	width: 100%; 
	height: 10em; 
	background-color: #f5f5f5;
	display: block;
}
.navlist-item-title {
	margin-top: 0;
	text-transform: uppercase;
	font-size: 1.5em;
}
.navlist-item-title-link {
	text-decoration: none;
}

@media screen and (min-width: 25em) {
	.navlist-item {
		padding: 1.5em 2em;  /*Responsive*/
	}
}

@media screen and (min-width: 45em) {
	.entry-content-navpage {
		margin: 2em 3em 0em 3em;   /*Responsive*/
	}
	.page-wrap {
		padding-left: 3em;   /*Responsive*/
		padding-right: 3em;   /*Responsive*/
	}
	.page-wrap hr {
		margin-left: -3em; /*Responsive*/
		margin-right: -3em;  /*Responsive*/
	}
	.navpage-list {
		margin: 0 3em;  /*Responsive*/
	}
	.navlist-item {
		padding: 1.5em;  /*Responsive*/
		margin-top: 2em;   /*Responsive*/
		display: table; /*Responsive*/
	}
	.navlist-image-wrapper {
		width: 40%;  /*Responsive*/
		padding: 0 1.5em 0 0;  /*Responsive*/
		display: table-cell;  /*Responsive*/
	}
	.navlist-item-text {
		display: table-cell;  /*Responsive*/
	}
}

@media screen and (min-width: 50em) {
	.entry-content-navpage {
		margin: 2em 4em 0em 4em;   /*Responsive*/
	}
	.page-wrap {
		padding-left: 4em;   /*Responsive*/
		padding-right: 4em;   /*Responsive*/
	}
	.page-wrap hr {
		margin-left: -4em; /*Responsive*/
		margin-right: -4em;  /*Responsive*/
	}
	.navpage-list {
		margin: 0 4em;  /*Responsive*/
	}
	.navlist-item {
		padding: 2em;  /*Responsive*/
		margin-top: 3em;   /*Responsive*/
	}
	.navlist-image-wrapper {
		width: 40%;  /*Responsive*/
		padding: 0 2em 0 0;  /*Responsive*/
	}
	.navlist-item-text {
	}
	
}


/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

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

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
    text-align: center;
    font-size: .9em;
}


/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	overflow: hidden;
}

.gallery-item {
	display: block;
    padding: 0;
    text-align: center;
    vertical-align: top;
}
.gallery-item img {
	display: block;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

.gallery-size-thumbnail .gallery-item {
	margin: 0 auto 1em; /*responsive*/
	float: none; /*responsive*/
}
.gallery-size-thumbnail img {
	margin: 0 auto; 
}
.gallery-size-thumbnail .wp-caption-text{
	width: auto; 
	height: auto;/*responsive*/
    overflow: hidden;/*responsive*/
}

@media screen and (min-width: 27em) {
	.gallery-size-thumbnail .gallery-item {
		margin: 0 0.05em 1em; /*responsive*/
		float: left; /*responsive*/
		width: 49%; /*responsive*/
	}
	.gallery-size-thumbnail .wp-caption-text{
		width: auto; 
		height: 1.5em;/*responsive*/
	    overflow: hidden;/*responsive*/
	}
}

@media screen and (min-width: 62em) {
	.gallery-size-thumbnail .gallery-item {
		width: 33%; /*responsive*/
	}
}
@media screen and (min-width: 85em) {
	.gallery-size-thumbnail .gallery-item {
		width: 24.5%; /*responsive*/
	}
	.gallery-size-thumbnail .wp-caption-text{
	}
}





.entry-meta {
	color: #A4A4A4;
}
.entry-header {
	text-align: center;
	/*max-width: 34em;  Note: placeback*/
}
@media screen and (min-width: 45em) {
	.entry-header {
		text-align: left;
		/*max-width: 34em;  Note: placeback*/
	}
}


.content-block { overflow: hidden}
.content-block-title { 
	float: none; /*responsive*/
	width: inherit; /*responsive*/
	text-align: center; /*responsive*/
	text-transform: uppercase;
}
.content-block-title h2 {
	font-size: 1.25em;
}
.content-block-body {
	margin: 0.5em 0 0 0; /*responsive*/
	text-align: justify;
	hyphens: auto;
}
@media screen and (min-width: 45em) {
	.content-block-title { 
		float: left; /*responsive*/
		width: 14em; /*responsive*/
		text-align: right; /*responsive*/
	}
	.content-block-body {
		margin: 0.3em 0 0 16em; /*responsive*/
	}
}

