/*
	Theme Name: HTML5 Blank
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

html{ 
	margin-top:0px !important;
	min-height: 100%;
}

/* global box-sizing */
*,
*:after,
*:before {
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

a, a:visited, a:hover, a:active {
    text-decoration: none;
    color: inherit;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}

a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}


@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

@-webkit-keyframes fadeOut { from { opacity:1; } to { opacity:0; } }
@-moz-keyframes fadeOut { from { opacity:1; } to { opacity:0; } }
@keyframes fadeOut { from { opacity:1; } to { opacity:0; } }

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
/* wordpress */

img {
	margin: auto;
	display: block;
}

.post-thumbnail img {
	width: 100%;
	
}

#post-thumbnail {

	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;

	margin: auto;
	max-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow:hidden;
}

#link{
	color:#000000;
	text-decoration:none;
}

/* body */

head {
	margin-top: 0px !important;
}

body {
	display: block;
    margin: 0 !important;
    padding: 0 !important;
	overflow-x: hidden;
	opacity:0;
	-webkit-animation:fadeIn ease-in 1;  
	-moz-animation:fadeIn ease-in 1;
	animation:fadeIn ease-in 1;
 
	-webkit-animation-fill-mode:forwards;
	-moz-animation-fill-mode:forwards;
	animation-fill-mode:forwards;
 
	-webkit-animation-duration:0.85s;
	-moz-animation-duration:0.85s;
	animation-duration:0.85s;
}
/* wrapper */
#wrapper {
	margin: 0px;
	min-height:100vh;
	position:relative;
}
/* header */
.header {
	margin: 0px;
	height: 0px;
}
/* logo */
.logo {

}
.logo-img {

}
/* nav */
#nav {
	width: 100%;
	display: block;
	font-family: 'Franklin Gothic Medium';
}

#navigator{
	font-size: 1.75em;
	display: inline-block;
}

#navelement {
	text-align: left;
	text-shadow: 0px 0px 4px #f2f2f2;
	width: 32%;
	margin-right: 1%;
	padding: 8px 0px 0px 0px;
	border-style: solid;
    border-width: 1px 0px 0px 0px;
	display: inline-block;
}

#navelementcurrent {
	text-align: left;
	padding: 8px 0px 0px 0px;
	width: 32%;
	margin-left: 1%;
	border-style: solid;
    border-width: 1px 0px 0px 0px;
	color: lightgrey;
	display: inline-block;
}

#navelement:hover {
	padding-top: 4px;
    border-width: 5px 0px 0px 0px;
}

#link{
	color:#000000;
	text-decoration:none;
}

#linkCurrent{
	color:lightgrey;
	text-decoration:none;
}

#nav a:link{
	color:#000000;
	text-decoration:none;
}

#nav a:visited{
	color:#000000;
	text-decoration:none;
}

#nav a:hover{
	color:#000000;
	text-decoration:none;
}

#nav a:active{
	color:#000000;
	text-decoration:none;
}

#navButtons{
	display: inline-block;
	width: 100%;
	margin-top:30px;
}

#bfbuttons {
	font-size:1.5em;
	display: inline-block;
	text-align: left;
}

/* footer */
footer {
    display: inline-block;
    position: absolute;
    bottom: 0px;
    width: 100%;
	height: 10px;
    border-style: solid;
    border-color: lightgrey;
    border-width: 1px 0px 0px 0px;
    font-family: 'Franklin Gothic Book';
    font-size: .8em;
    color: grey;
    background-color: #eeeeee;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* toplink */
#toplink{
    font-family: 'Franklin Gothic Medium';
    font-size: 1.2em;
    color: white;
    background-color: black;
}
#toplink:hover{
    color: white;
    background-color: #cccccc;
}

/* Post */
#post{
	position: relative;
	text-align: bottom;
	margin: 0 0 6em 0;
}

#post:hover #post-thumbnail{
	opacity: 0.5;
}

#post:hover #postTitle{
	opacity: 1;
    color: #FFFFFF;
	text-shadow:  0px 0px 20px #222222, 0px 0px 5px #000000;
	text-decoration:none;
}

#post:hover #postDate{
	opacity: 1;
    color: #FFFFFF;
	text-shadow:  0px 0px 20px #222222, 0px 0px 5px #000000;
	text-decoration:none;
}

/* Post Date */
#postDate{

	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;

    color: #FFFFFF;
    font-family: 'Franklin Gothic Medium';
    font-size: 1.5em;
	text-shadow: 0px 0px 20px #222222;
	position: absolute;
    padding: 0.2em;
	top: -0.8em;
	right: 0px;
	opacity: 0.9;
}

/* Post Title */
#postTitle{

	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;

    font-family: 'Franklin Gothic Medium';
	text-shadow: 0px 0px 20px #222222;
    font-size: 4.5em;
    color: #FFFFFF;
	z-index: 1;
	position: absolute;
    padding: 0.2em;
    bottom: -0.7em;
	opacity: 0.9;
}
/*------------------------------------*\
    PAGINATION
\*------------------------------------*/

.pagination {
    font-family: 'Franklin Gothic Medium';
    font-size: 1.75em;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family: 'Franklin Gothic Medium';
	src:
		local('Franklin Gothic Medium'),
		local('Franklin Gothic'),
		local('ITC Franklin Gothic'),
		url('http://abradburywallad.me//typeface/framd.ttf');
}

@font-face {
	font-family: 'Franklin Gothic Book';
	src:
		local('Franklin Gothic Book'),
		url('http://abradburywallad.me//typeface/frabk.ttf');
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width: 900px){
	body {
		font-family: 'Franklin Gothic Medium';
	}
	footer{
		padding-top: 20px;
		padding-bottom: 20px;
	}
	#container {
		position:relative;
		width: 60%;
		margin-left: auto;
		margin-right: auto;
		min-width: 300px;
		margin-top: 0px;
		padding-top: 30px;
		padding-bottom: 68px;
	}
	#nav{
		margin-bottom:60px;
	}
	#navigator{
		margin-top: 20px;
		width: 50%;
	}
	#navButtons{
		width: 50%;
		margin-top:20px;
	}
	#imgcontainer {
		width: 100%;
	}
	#imgcontainer li{
		margin: 0 0 16px 0;
	}
	#description {
		position: relative;
		border-width: 1px 0px 0px 0px;
		padding: 20px 20px 20px 20px;
		margin: 0 0 20px 0;
		width: auto;
	}
	#toplink{
		position: fixed;
		bottom: 4px;
		right: 8px;
		padding: 16px;
	}
	footer{
		padding-top: 20px;
		padding-bottom: 20px;
	}
}

@media only screen and (max-width: 900px) {
	body {
		font-family: 'Arial', Arial, sans-serif;
		font-size: 1.2em;
	}
	footer{
		padding-top: 20px;
		padding-bottom: 20px;
	}
	#container {
		position:relative;
		margin-left: auto;
		margin-right: auto;
		min-width: 300px;
		padding: 0 8px 8px 8px;
		padding-bottom: 64px;
	}
	#post {
		margin: 8px 0 8px 0;
	}
	#footer {
		Padding: 0;
	}
	#postTitle{
		font-size: 0;
	}
	#postDate{
		font-size: 0;
	}
	#nav{
		margin-bottom:40px;
	}
	#navigator{
		margin-top: 8px;
		width: 100%;
	}
	#navButtons{
		width: 100%;
		margin-top:30px;
	}
	#imgcontainer {
		width: 100%
	}
	#imgcontainer li{
		margin: 0 0 8px 0;
	}
	#description {
		border-width: 0px 0px 0px 0px;
		margin: 0 0 0 0;
		padding: 10px;
		width: auto;
	}
	#toplink {
		z-index: -1;
		Position: absolute;
		bottom: 1px;
	}
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

img {
	width: 100%;
}

.player {
	width: 100%;
}

.alignnone {
	margin: 0,0,0,0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
