/*
Theme Name: Tiberini
Author: Thomas Burns
Description: Portfolio site theme with Isotope integration. Based on Toolbox by Automattic.
Version: 1.0
License: GNU General Public License
License URI: license.txt

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.
*/

/* erics reset reloaded */
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,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: elementsline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* erics reset reloaded finished, thanks eric! */

/* ====== clearfix ====== */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

* {margin:0;}

html {margin-top:0 !important;}



/* ====== end clearfix ====== */

/* =Structure
-------------------------------------------------------------- */
body{
	margin:0;
}
header#branding,
div#main,
footer#colophon{
	width:			940px;
	margin-left:	auto;
	margin-right:	auto;
	display:		block;
	clear: 			both;
	overflow:		visible;
}

.home div#main{
	width:960px;
}

#page {
	display: block;
	margin: 0;
}
#primary {
	float: left;
	margin: 0;
	width: 100%;
}
#content {
	margin: 0;
}


/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

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


/* =Header
-------------------------------------------------------------- */

#site-title {
	display:block;
	position: relative;
	margin: 29px auto 27px;
}

#site-title:hover {
	opacity:0.8;
	filter:alpha(opacity=80);
}


/* =Menu
-------------------------------------------------------------- */

#access {
	border-top:#232323 1px solid;
	border-bottom:#131313 1px solid;
	display: block;
	padding:12px 0 8px;
	width: 100%;
	text-align:center;
	text-shadow:0 -1px 0 #000;
	font-size:13px;
}

#access-outer{
	border-top:#131313 1px solid;
	border-bottom:#232323 1px solid;
	display: block;
	width: 100%;
	margin: 0 auto 0;
	min-width: 720px !important;
}

#access ul {
	list-style: none;
	display:inline-block;
	margin: 0;
	padding: 0;
}
#access li {
	float: left;
	position: relative;
	margin:0 6px;
}
#access a {
	display: block;
	line-height: 29px;
	padding: 0 13px 1px 15px;
	letter-spacing:1px;
	color: #b3b3b3;
	border-color:#1f1f1f;
}
#access li > a {
	-moz-border-radius: 	6px;
	-webkit-border-radius: 	6px;
	border-radius: 			6px;
}

#access li:hover > a,
#access ul ul :hover > a {
	background: #161616;
	border-bottom:#1f1f1f 1px solid;
	color:#e5e5e5;
}
#access a.selected:link,
#access a.selected:visited,
#access a.selected:hover,
#access a.selected:active{
	background: #121212;
	color:#fff;
	box-shadow: 			inset 0 3px 5px rgba(0,0,0,0.75);
	-moz-box-shadow: 		inset 0 3px 5px rgba(0,0,0,0.75);
	-webkit-box-shadow: 	inset 0 3px 5px rgba(0,0,0,0.75);
	border-bottom:#232323 1px solid;
}


/* =Content
-------------------------------------------------------------- */

.sticky {
}
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}

.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* 404 page */
.error404 .widget {
	float: left;
	width: 33%;
}
.error404 .widget .widgettitle,
.error404 .widget ul {
	margin-right: 1em;
}
.error404 .widget_tag_cloud {
	clear: both;
	float: none;
	width: 100%;
}

/* Notices */
.post .notice,
.error404 #searchform {
	background: #eee;
	display: block;
	padding: 1em;
}

/* =Images
-------------------------------------------------------------- */

a img {
	border: none;
}
p img {
	margin-bottom: 0.5em; /* a small bottom margin prevents content floating under images */
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}

/* =Footer
-------------------------------------------------------------- */

footer#colophon {
	padding: 0;
	text-align:center;
	font-size: 11px;
	text-shadow:0 -1px 0 #000;
	color:#888;
	border-top:#131313 1px solid;
	letter-spacing:1px;
}

footer#colophon a{
	color:#888;
}

footer#colophon #copyright{
	display:block;
	border-top:#232323 1px solid;
	padding:26px 0;
}
/* © year */

/* =General & Type Styling
------------------------------------------------------------*/

body{
	font-size:13px;
	color:#fff;
	font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight:100;
	letter-spacing:1.2px;
	background:#191919 url("images/elements/page-bg.gif") repeat;
}

a:link,
a:visited{
	color:#333;	text-decoration:none;
}

a:hover,
a:active{
	color:#fff; text-decoration:none;
}

h1{
	font-weight:300;
}



/* =Index Page posts
------------------------------------------------------------*/


#post-wrap{
	position:relative;
	margin:24px auto 6px;
	opacity:0;
	filter:alpha(opacity=0);
	overflow:hidden !important;
}

a:link,
a:visited,
a:hover,
a:active{
	-webkit-transition-duration: 0.2s;
       -moz-transition-duration: 0.2s;
            transition-duration: 0.2s;
}

.index-post{
	width:276px;
	text-align:left;
	padding:12px;
	margin:0 10px 24px;
	border-top:#2b2b2b 1px solid;
	background:url('images/elements/index-post-bg.png')repeat;
	-moz-border-radius: 	12px;
	-webkit-border-radius: 	12px;
	border-radius: 			12px;
	box-shadow: 			0 1px 4px rgba(0,0,0,0.75);
	-moz-box-shadow: 		0 1px 4px rgba(0,0,0,0.75);
	-webkit-box-shadow: 	0 1px 4px rgba(0,0,0,0.75);
	text-shadow: 0 -1px 0 #000;
	letter-spacing:0.5px;
	overflow:hidden;
}

.index-post img{
	border:1px #000 solid;
	-moz-border-radius: 	4px;
	-webkit-border-radius: 	4px;
	border-radius: 			4px;
}

.index-post h1.entry-title{
	color: #e5e5e5;
	display: block;
	font-size: 18px;
	font-weight: 500;
	height: 22px;
	line-height: 22px;
	margin: 6px 9px 0;
	overflow: hidden;
}

.index-post .entry-excerpt p{
	color: #8c8c8c;
	font-size: 13px;
	font-weight: 300;	
	height:13px;
	letter-spacing: 0.6px !important;
	line-height:26px;
	margin: 0px 9px 18px;
	overflow:visible;
}

.index-post .entry-category{
	margin:0 9px 5px;
	font-size:11px;
	color:#000;
	background:#404040;
	padding:3px 6px 5px 7px;
	-moz-border-radius: 	2px;
	-webkit-border-radius: 	2px;
	border-radius: 			2px;
	border-top:1px #121212 solid;
	display:inline-block;
	font-weight:500;
	letter-spacing:0.3px;
	text-shadow:0 1px 0 #4d4d4d;
}

.index-post:hover{
	background:none;
}

.index-post:hover .entry-excerpt p{
	color:#a6a6a6;
}

.index-post:hover .index-post h1.entry-title{
	color:#fff;
}

.category-contact{
	width:508px !important;
	margin-left:190px;
	padding:36px 36px 18px;
}

.category-contact p{
	font-weight:300;
	letter-spacing:normal;
	margin-bottom:18px;
	line-height:18px;
	text-align:justify;
}

.category-contact h1{
	margin-bottom:18px !important;
	line-height:18px;
	text-align: center;
	color:#fff;
	font-size:24px;
	font-weight:400;
}

.category-contact:hover{
	background:url('images/elements/index-post-bg.png')repeat;
}

.category-contact p a:link,
.category-contact p a:visited{
	color:#ccc;
}

.category-contact p a:hover,
.category-contact p a:active{
	color:#fff;
}

/* =Isotope animation
-------------------------------------------------------------- */

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.6s;
     -moz-transition-duration: 0.6s;
          transition-duration: 0.6s;
}

#access-outer {
  -webkit-transition-duration: 0.4s;
     -moz-transition-duration: 0.4s;
          transition-duration: 0.4s;
}


.isotope,
#access-outer {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
          transition-property:         transform, opacity;
}

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/* =Page
-------------------------------------------------------------- */

.page #content{
	width:580px;
	margin:0 auto;
	border-top:#232323 1px solid;
	padding:32px 0;
	line-height:30px;
}

.page #content p{
	line-height:18px;
	margin-bottom:18px;
	text-align:justify;
}

.page #pageHeader{
	width:940px;
	border-bottom:#131313 1px solid;
}

.page #main{
	margin:0 auto;
	width:940px;
	text-align:center;
}


.page #content h1{
	color:#fff;
	font-size:24px;
	font-weight:400;
	padding-bottom:18px;
}

#film-gallery p{
	color:#666;
	font-size:13px;
}


/* = Film Gallery
-------------------------------------------------------------- */

.single #main{
	margin:0 auto;
	width:100%;
	border-top:#232323 1px solid;
}

.single #access-outer{
	width:940px;
	margin:0 auto;
	border-top:none;
}

.single #access{
	border-top:none;
}

.single #film-gallery-post-wrap{
	width:960px;
	margin:0 auto;
}

#film-gallery-bg{
	width:100%;
	background:#090909;
	border-bottom:#232323 1px solid;
	padding-top:29px;
	margin: 0 auto;
	min-width:940px;
}

#film-gallery{
	width:780px;
	margin:auto;
	padding:36px 0 38px;
	line-height:30px;
}

img#film-gallery-logo{
	margin:0 auto;
	display: block;
	opacity:0.2;
	filter:alpha(opacity=20);
	-webkit-transition-duration: 0.4s;
       -moz-transition-duration: 0.4s;
            transition-duration: 0.4s;
}

img#film-gallery-logo:hover{
	opacity:0.35;
	filter:alpha(opacity=35);
	-webkit-transition-duration: 0.4s;
       -moz-transition-duration: 0.4s;
            transition-duration: 0.4s;
}

#film-gallery #film{
	margin-bottom:19px;
	opacity:0;
	filter:alpha(opacity=0);	
}

#film-gallery h1{
	color:#fff;
	font-size:24px;
	font-weight:400;
}

#film-gallery h2{
	color:#ccc;
	font-size:13px;
}

#film-gallery p{
	color:#8c8c8c;
	font-size:13px;
	line-height: 18px
}

#film-gallery img{
	margin-top:22px;
	margin-right:22px;
	display:inline-block;
}

#film-gallery #four-films-container{
	margin-bottom:9px
}

#film-gallery .four-films-a{
	margin:0 5px 0 0;
	display:inline-block !important;
	padding:0;
	border:0;
}

#film-gallery .four-films-b{
	margin:0 0 0 5px;
	display:inline-block !important;
	padding:0;
	border:0;
}

strong{
	font-weight:300;
}

.page #content p a:link,
.page #content p a:visited,
#film-gallery p a:link,
#film-gallery p a:visited{
	color:#ccc;
}

.page #content p a:hover,
.page #content p a:active,
#film-gallery p a:hover,
#film-gallery p a:active{
	color:#fff;
}

html {
       overflow-y: scroll;
}

.four-o-four{
	padding:60px 0 36px;
	line-height:24px;
	text-align:center;
	text-shadow:0 -1px 0 #000;
}

.four-o-four p{
	margin-bottom:24px;
	font-size:18px;
}

.four-o-four a:link,
.four-o-four a:visited{
	color:#555;
}

.four-o-four a:hover,
.four-o-four a:active{
	color:#fff;
}

.four-o-four h1{
	margin-bottom:36px;
	font-size:48px;
}

#photography-images-container {
	display: block;
	max-width: 100%;
	clear: both;
	padding-top: 25px;
}

#photography-images-container .image-row {
	display: block;
	clear: both;
	width: 100%;
}
#photography-images-container .image-row:after {
	content: '';
	display: block;
	clear: both;
	
}

#photography-images-container .image-row .item-wrap {
	float: left;
	margin-bottom: 25px;
	width: 373px;
	border: 1px solid black;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding-bottom: 8px;
}
#photography-images-container .image-row .item-wrap:hover {
	border: 1px solid #2b2b2b;
}

#photography-images-container .image-row .item-wrap:last-of-type {
	float: right;
}

#photography-images-container .image-row .image-container {
	width: 375px;
	height: 210px;
	background: black;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	text-align: center;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	position: relative;
}


#photography-images-container .image-row .image-container a {
	max-height: 100%;
	max-width: 100%;
	display: block;
	width: 100%;
	height: 100%;
}

#photography-images-container .image-row .image-caption-container {
	display: block;
	width:100%;
	text-align: center;
	color: #fff;
}

@media (max-width: 425px) {

}