/*   
Theme Name: PHR
Description: PHR theme
Author: PHR

License: GNU General Public License, v2
License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
.

For more information about the GPL, please visit:#footer .widget
http://www.gnu.org/licenses/old-licenses/gpl-2.0.html

*/

/* =CSS reset. Based on: TwentyEleven & 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, 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 {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
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: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* =Global
-------------------------------------------------------------- */
body, input, textarea {
	line-height: 20px;
}
body {
	background: #F0F0F0;
}
a:link, a:visited {
	color: #111;
	text-decoration: none;
}
a:hover {
	color: rgb(247, 146, 56);
}
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	font-weight: bold;
}
h1 {
	font-size: 150%;
}
h2 {
	font-size: 140%;
}
h3 {
	font-size: 130%;
}
h4 {
	font-size: 120%;
}
h5 {
	font-size: 110%;
}
h6 {
	font-size: 100%;
}
dd {
	margin-bottom: 1.425em;
}
dl {
	margin: 0 1.425em;
}
dt {
	font-weight: bold;
}
ul, ol {
	margin: 1.425em 1.8em;
}
ul {
	list-style: square;
}
ol {
	list-style: decimal;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ol, ul ul, ol ol, ol ul {
	margin-bottom: 0;
}
hr {
	border: none;
	background: #CCC;
	height: 1px;
	margin-bottom: 1.625em;
}
strong {
	font-weight: bold;
}
em {
	font-style: italic;
}
sup, sub {
	font-size: 10px;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: 1ex;
}
abbr {
	border-bottom: 1px dotted #333;	
}
pre {
	border: 1px dashed #CCC;
	background: #F5F5F5;
	padding: 10px;
	margin-bottom: 1.625em;
}
code {
	/*font: 80% Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;*/
	background: #EFEFEF;
}
table {
	margin-bottom: 1.625em;
	min-width: 50%;
}
th, td {
	border-spacing: 3px;
	padding: 0.5em;
	border: 1px solid #CCC;
}
th {
	background: #333;
	color: #F5F5F5;	
	border: 1px solid #222;
}
tr:nth-child(odd) {
	background: #F5F5F5;
}
blockquote {
	margin: 0 1.625em 1.625em;
	font-size: 100%;
	font-style: italic;
}
blockquote cite {
	font-size: 95%;
}
small {
	font-size: 90%;
}
img {
	/*max-width: 100%;*/
}

/* Forms */
input[type=date], input[type=datetime], input[type=datetime-local], 
input[type=email], input[type=month], input[type=number], input[type=search],
input[type=tel], input[type=time], input[type=url], input[type=week],
input[type=text], textarea {
	font-size: 110%;
	padding: .2em .3em;
	border: 1px solid #CCC;
	color: #333;
	-webkit-appearance: none;
}
input[type=submit] {
	/*padding: .5em 1em;*/
	background: #333;
	color: #DDD;
	text-decoration: none;
	display: inline-block;
	
	border: none;
	-webkit-appearance: none;
	cursor:pointer;
}
input[type=submit]:hover {
	color: #FFF;
	background: #86C140;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin: 1em 1em 1em 0;
}
.alignright {
	display: inline;
	float: right;
	margin: 1em 0 1em 1em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}
.alignnone  {
	clear: both;
	/* margin: 1em; */
}

/* Captions */
.wp-caption {
	margin-bottom: 1.625em;
	line-height: 1;
	max-width: 100%;
}
.wp-caption a {
	display: block;
	padding: 5px;
	border: 1px solid #CCC;
	box-shadow: 0 0 5px #EFEFEF;
}
.wp-caption a:hover {
	background: #FFF;	
}
p.wp-caption-text {
	font-size: 85%;
	margin: 0.5em 0 0;
	color: #646464;
	text-align: center;
	font-style: italic;
}

/* Misc */
.hide, .ui-tabs-hide, .tinynav {
	display: none;
}
a.more-link:link, a.more-link:visited, .navigation a:link, .navigation a:visited, 
.comment-controls a:link, .comment-controls a:visited, a.post-edit-link, .wp-pagenavi a:link, 
.wp-pagenavi a:visited, .post-navigation a span {
	padding:.75em;
	margin: 1em 0;
	background: #333;
	color: #DDD;
	text-decoration: none;
	display: inline-block;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	font-size: 85%;
	text-transform: uppercase;
	line-height: 1;
}
a.more-link:hover, .navigation a:hover, .comment-controls a:hover, a.post-edit-link:hover,
.wp-pagenavi a:hover, .post-navigation a:hover span {
	color: #FFF;
	background: #86C140;
}
.tags a:link, .tags a:visited, .tagcloud a:link, .tagcloud a:visited {
	display: inline-block;
	background: #EFEFEF;
	padding: .2em .5em;
	margin: .2em 0 .2em;
}
.tags a:hover, .tagcloud a:hover {
	color: #EFEFEF;
	background: #86C140;
}

/* Navigation */
.navigation, .wp-pagenavi, .post-navigation {
	margin: .5em 1.75em 1.5em .75em;
	padding: .75em;
	background: #F5F5F5;
	clear: both;
}
.navigation a:link, .navigation a:visited, .wp-pagenavi a:link, .wp-pagenavi a:visited {
	display: inline-block;
	margin: 0 .5em 0 0;
}
.navigation .current, .wp-pagenavi .current {
	display: inline-block;
	line-height: 1;
    margin: 0;
    padding: 0.75em;
    text-decoration: none;
    text-transform: uppercase;
    background: #86C140;
    color: #FFF;
    border-radius: 3px;
    font-size: 85%;
}
.navigation .prev {
	float: left;
}
.navigation .next {
	float: right;	
}
.wp-pagenavi span, .wp-pagenavi .current {
	margin: 0 .5em 0 0;
	display: inline-block;
}
.wp-pagenavi .pages {
	font-size: 85%;
	text-transform: uppercase;
	padding: .75em;
	line-height: 1;
}
.post-navigation a span, .post-navigation a:visited {
	display: inline-block;
	margin: 0;
}
.post-navigation span {
	display: inline-block;
	padding:.75em;
	background: #86C140;
	color: #DDD;
	text-decoration: none;
	display: inline-block;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	font-size: 85%;
	text-transform: uppercase;
	line-height: 1;
}

/* Micro Clearfix */
.clearfix:before, .clearfix:after {
	content: '';
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix { 
	zoom: 1; /* for IE6/IE7 (trigger hasLayout) */
} 

/* =Structure
-------------------------------------------------------------- */
#wrapper {
	/*min-width: 980px;*/
}
#main {
	max-width: 1059px;
	margin: 0 auto;
	/*padding: 10px 10px 0;*/
	background: #FFF;
}
#content {
	overflow: hidden;
	margin: 0;
	/*padding: 1em 0;*/
}
/*#primary {
	padding: 1em 0;
}*/
#subsidiary {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}
#subsidiary .aside {
	width: 28.22%; /* 300 / 960 */
	float: left;
}

/* Two-Column Specific Layout */
.twocol-l .main-aside, .twocol-r .main-aside {
	width: 28.22%; /* 300 / 960 */
	/*float: right;*/

}
.twocol-l #subsidiary .aside, .twocol-r #subsidiary .aside {
	margin: 0 20px 0 0;
}
.twocol-l #container {
	width: 98%; /* 960 / 980 */
	float: right;
	margin-left: -28.22%; /* 300 / 960 */
}
.twocol-l #content {
	margin-left: 31.2%; /* 310 / 960 */
	width: 71.78%; /* 660 / 960 */
}
.twocol-l #primary {
	float: left;
}
.twocol-l #secondary {
	clear: left;
}
.twocol-r #container {
	width: 74.6%; /* 660 / 960 */
}
.twocol-r #secondary {
	clear: right;
}

/* =Header
-------------------------------------------------------------- */
#header {
	max-width: 960px;
	margin: 0 auto;
	/*padding: 10px;*/
	background: #FFF;
}

.blog-name {
	margin: 0 0 0.2em;
	line-height: 1em;
	display: block;
	font-size: 190%;
}
.blog-name a:link, .blog-name a:visited {
	color: #111;
	text-decoration: none;
}
.blog-description {
	line-height: 1em;
	margin: 0;
	padding: 0 0 0;
	font-size: 90%;
	color: #999;
	opacity: 0.75;
}

/* Search Bar */
#searchform {
	/*padding: .4em;*/
	/*border: 1px solid #CCC;*/
	position: relative;
	/*margin: 0 1.75em 1.5em .75em;
	height: 24px;*/
	overflow: visible;
}
#searchform #s {
	border: 0;
	margin: 0;
	color: #666;
	font-size: 100%;
	width: 99%;
	outline: none;
}
#searchsubmit {
	border-radius: 0;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	height: 101%;
	margin: 0;
	padding: 0 .75em;
	vertical-align: middle;
}
.widget #searchform {
	margin: 0;
}
.widget #searchsubmit {
	padding: 0 .75em .1em;
}
.no-results {
	padding: 0 .75em;
}

/* =Menu
-------------------------------------------------------------- */
#top-menu, #nav {
	position: relative;
}
nav ul.menu, nav ul.menu ul {
	margin: 0;
	list-style: none;
}
nav ul.menu li {
	float: left;
	line-height: 1.3em;
	vertical-align: middle;
	zoom: 1;
}
nav ul.menu li.hover, nav ul.menu li:hover {
	position: relative;
	z-index: 599;
	cursor: default;
	visibility: inherit;
}
nav ul.menu ul {
	visibility: hidden;
	position: absolute;
	top: 100%;
	z-index: 1000;
}
nav ul.menu ul li {
	float: none;
	width: 12em;
}
nav ul.menu ul ul {
	top: 0;
	left: 12em;
}
nav ul.menu li:hover > ul {
	visibility: visible;
}
nav ul.menu li a {
	display: block;
	overflow: hidden;
}
nav ul.menu li > a:after {
	float: right;
	display: block;
	height: 0;
	width: 0;
	border: 4px solid transparent;
	border-left-color: #999;
	content: '';
	margin: .4em 0 0;
}
nav ul.menu li a:hover:after {
	border-left-color: #FFF;
}
nav ul.menu > li > a:after {
	margin: .5em 0 0 .5em;
	height: 0;
	width: 0;
	border: 4px solid transparent;
	border-top-color: #999;
}
nav ul.menu > li > a:hover:after {
	border-left-color: transparent;
}
nav ul.menu li a:only-child:after {
	border: none;
	margin: 0;
}

/* Top Menu */
#top-menu {
	background: #111;
}
#top-menu ul.menu {
	max-width: 978px;
	margin: 0 auto;
}
#top-menu ul.menu li {
	margin-left: -1px;
	border: solid #333;
	border-width: 0 1px 1px;
}
#top-menu ul.menu li a {
	padding: .8em 1.2em .9em;
	font-size: 85%;

	color: #AAA;
	text-transform: uppercase;
}
#top-menu ul.menu li:hover {
	background: #222;
	color: #FFF;
}
#top-menu ul.menu li:hover > ul.sub-menu {
	background: #222;
	color: #76b900;
	min-width: 10em;
}
#top-menu ul.menu li:hover > ul.sub-menu li {
	border: 0;
}
#top-menu ul.menu ul a {
	background: #000;
}
#top-menu ul.menu ul a:hover {
	color: #FFF;
	background: #3E3E3E;
}

/* Main Menu */

/* =Sections
-------------------------------------------------------------- */
.home-title, .bottom-sidebar .widget-title, .archive-title, .module-title, #reply-title {
	font-size: 100%;
	padding: 0 1.5% .5em;
	border-bottom: 1px solid #EEE;
	margin: 1em 1em 1em 0;
	color: #7A7A7A;
	text-transform: uppercase;
}

.entry-thumbnail {
	border: 1px solid #E1E1E1;
	background: #FFF;
	box-shadow: 0 0 10px 2px #EEE;
	line-height: 1;
	position: relative;
}
.entry-thumbnail:hover {
	border-color: #CCC;
}
.entry-thumbnail img {
	margin: 0 auto;
	width: 100%;
	height: auto;
}

.entry-format {
	text-indent: -9000px;
	background: url( images/sprites.png ) no-repeat #DDD;
	background-position: -41px -138px;
	width: 28px;
	height: 28px;
	border-radius: 14px;
	display: inline-block;
}

/* Slideshow */
.posts-slideshow {
	margin: 0 2% 1.5em 0;
	position: relative;
}
.posts-slideshow .slides {
	margin: 0;
	padding: 0;
	list-style: none;
}
.posts-slideshow .slides li {
	padding: 0;
}
.posts-slideshow .slides > li {
	position: relative;
	/*display: none;*/
	-webkit-backface-visibility: hidden;
}
.posts-slideshow .slides img {
	width: 100%;
	display: block;
	/*height: auto;
	opacity:0.7;*/
}
/*
.posts-slideshow ol.flex-control-nav {
	position: absolute;
	top: 0.6em;
	right: 0.5em;
	list-style: none;
	margin: 0 auto;
	padding: 0;
}
*/
.posts-slideshow .entry-meta {
	position: absolute;
	width: 100%;
	overflow: hidden;
}

.posts-slideshow .entry-summary p {
	margin: 0;
}
/*
.posts-slideshow ol.flex-control-nav li {
	float: left;
	margin: 0 5px 0 0;
}
.posts-slideshow ol.flex-control-nav li a {
	text-indent: -9000px;
	display: block;
	width: 10px;
	height: 10px;
	border: 1px solid #FFF;
	border-radius: 7px;
	opacity:0.8;
	cursor:pointer;
}
.posts-slideshow ul.flex-direction-nav {
	list-style: none;
	margin: 0 auto;
	padding: 5px 0;
	position: absolute;
	width: 100%;
}
.posts-slideshow ul.flex-direction-nav li:first-child {
	float: left;
}
.posts-slideshow ul.flex-direction-nav li {
	float: right;
}
.posts-slideshow ul.flex-direction-nav li a {
	display: block;
	opacity: 0.8;
	text-indent: -9000px;
	width: 24px;
	height: 24px;
	-moz-border-radius: 24px;
	-webkit-border-radius: 24px;
	border-radius: 24px;
	background: #f79238 url("images/sprites.png") no-repeat scroll 0 0 / 114px auto;
}
.posts-slideshow ul.flex-direction-nav li a:hover {
	opacity: 1;
	background-color: #000;
}
.posts-slideshow ul.flex-direction-nav .flex-prev {
	background-position: 0 0;
}
.posts-slideshow ol.flex-control-nav li a:hover, .posts-slideshow ol.flex-control-nav li a.flex-active {
	background: #FFF;
}

*/
/* =Single Post
-------------------------------------------------------------- */
article {
	/*margin: 0 1em 1em;*/
}
article .entry-cats a:link, article .entry-cats a:visited {
	color: #999;
}
article .entry-cats a:hover {
	color: #333;
}
article .entry-title {
	font-size: 200%;
}
article .entry-header {
	margin: 0 0 1em;
	padding: 0 0 .5em;
	color: #D5D5D5;
}
article .post-edit-link {
	margin: 0 1em;
	padding: .5em;
}
article .entry-excerpt, article .entry-caption {
	margin: .5em 0 0;
	padding: .5em 0 0;
	border: dotted #E1E1E1;
	border-width: 1px 0 0;
	font-size: 110%;
	color: #666;
	font-weight: 700;
}
article .entry-excerpt p,  article .entry-caption p {
	margin-bottom: .5em;
}
article .entry-caption {
	text-align: center;
}
article .entry-author {
	margin: 0 0 1em;
}
article .entry-author address {
	display: inline;
}
article .entry-author abbr {
	border: none;
}
article .entry-social {
	margin: 0 auto;
}
article .entry-content h1, article .entry-content h2, article .entry-content h3, 
article .entry-content h4, article .entry-content h5, article .entry-content h6,
.comment-content h1, .comment-content h2, .comment-content h3,
.comment-content h4, .comment-content h5, .comment-content h6 {
	margin: .3em 0 1em;
}
article .entry-embed {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	margin: 0 0 1em;
	overflow: hidden;
}
article .entry-embed embed, article .entry-embed iframe {
	position: absolute;
	width: 100%;
	top: 0;
	left: 0;
}
article .wp-block-embed-youtube .entry-embed embed, article .wp-block-embed-youtube  .entry-embed iframe {
	position: relative;
}
article .entry-content ol, article .entry-content ul,
.comment-content ol, .comment-content ul {
	margin-bottom: 1.25em;
}
article .entry-content a, .comment-content a {
	text-decoration: underline;
	font-size:18px;
}
article .entry-tags {
	margin: 1em 0;
	color: #999;
}
article .entry-tags a {
	font-size: 90%;
}
article .navigation {
	margin: 1em 0 0;
}

/* Page */
article.page .entry-header h1.entry-title {
	padding: 0 0 .5em;
}


/* =Footer
-------------------------------------------------------------- */
#footer {
	margin: 0px auto 0;
	background: black;
}
#footer .footer-meta {
	margin: 0;
	padding: 1.5%;
	font-size: 95%;
	background: #F5F5F5;
	color: #999;
}
#footer .footer-meta p {
	margin: 0.5em 0 0;
}
#footer .footer-meta .menu {
	padding: 0 0 1%;
	border-bottom: 1px solid #DDD;
}
#footer .footer-meta .menu li {
	padding: 0 0.75em;
	border-left: 1px solid #CCC;
}
#footer .footer-meta .menu li:first-child {
	border: none;
	padding: 0 1% 0 0;
}

.footer-sidebar-container {
	margin: 1% 0 0;
}
.footer-sidebar {
	overflow: hidden;
	margin: 0;
	float: left;
}
#footer .widget {
	background: none;
	border: none;
	box-shadow: none;
}
#footer .widget-title {
	background: none;
	border-color: #DDD;
	border-width: 0 0 1px;
	color: #999;
	padding: 0 0 3%;
	text-transform: uppercase;
	margin: 0;
}
#footer .widget, #footer .widget p {
	margin: 0 auto;
	color: #ccc;
}

/* =Media Queries - iPads (Portrait & Landscape)
-------------------------------------------------------------- */
@media screen and ( min-width: 768px ) and ( max-width: 1024px ) {

	body {
		-webkit-text-size-adjust: 110%;
	}

}

/* =Media Queries - Smartphones (Portrait & Landscape)
-------------------------------------------------------------- */
@media screen and ( max-width: 480px ) {

	/* Structure */
	body, input, textarea {
		font-size: 100%;
	}
	
	#wrapper {
		min-width: 0;
	}
	.twocol-r #container, .twocol-l #container, .twocol-l .main-aside, .twocol-r .main-aside,
	.footer-sidebar {
		float: none;
		width: 100%;
	}
	
	.logo {
		width: 100%;
		float: none;
		padding: 1em 0 !important;
		text-align: center;
		text-indent: 0 !important;
	}
	
	.blog-name a:link, .blog-name a:visited {
		height: auto !important;
	}
	
	/* Bottom Sidebar */
	.bottom-sidebar {
		float: none;
		width: 100%;
	}
	
	/* Misc */
	.tags a:link, .tags a:visited, .tagcloud a:link, .tagcloud a:visited {
		font-size: 100% !important;
	}
	
	/* Search Form */
	
	/* Post Sections */
	.home-title, .bottom-sidebar .widget-title, .archive-title, .module-title, #reply-title {
		margin-right: 0;
	}
	
	.posts-slideshow {
		min-height: 0;
		margin: 0 0 1.5em;
	}
	.posts-slideshow .flex-viewport {
		background: #000;
	}
	.posts-slideshow .entry-meta {
		padding-right: 3%;
		width: 90%;
		/*min-height: 10%;*/
	}
	.posts-slideshow .entry-summary {
		display: none;
	}
	.posts-slideshow a.entry-title, .posts-slideshow .entry-summary {
		margin: 0;
		font-size: 90%;
	}
	.posts-slideshow .flex-direction-nav {
		display: none;
	}
	
	/* Single */
	article .entry-title {
		font-size: 180%;
	}
	.post-navigation {
		text-align: center;
	}
	.about-author .author-avatar {
		display: none;
	}
	.about-author .author-meta {
		float: none;
		width: 100%;
		margin: 0;
	}
	
	#commentform input[type=text] {
		width: 98%;
	}
	
	/* Navigation */
	#main-nav {
		background: #F5F5F5;
	}
	.js .menu { 
		display: none; 
	}
	.js nav {
		padding: 0 1em;
	}
	
	/* Footer */
	#footer .widget {
		padding: 1em;
	}
	#footer .footer-meta {
		padding: 1em;
	}
	#footer .footer-meta p {
		margin: 1em 0;
		text-align: center;
	}

}