/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
	font-size: 100%;
	font: inherit;
	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;
}

/* ---- generic stylings ---- */

body {
	margin: 0 auto;
	padding: 5%;
	font-family: "helvetica neue", sans-serif; color: #FFFFFF;
	background: #000000;
}

h1 {
	font-size: 2.5em;
	font-weight: 100;
}

h2 {
	font-size: 1.25em;
	font-weight: 100;
}

h3 {
	font-size:85%;
	font-weight: 100;
}

p {
	font-family: "Verdana";
	color: #FFFFFF;
	background: #000000;
	font-size:80%;
	font-weight: 100;
	padding-top: 2%;
}	

a {
	color: #FFFFFF;
	}

/* ------ styling the main navigation ------ */
nav {
	width: 600px;
}

nav ul {
	list-style: none;
	padding: 0px 0px 7px;
	border-bottom: 2px solid #ED1C24;
}

nav ul li {
	display: inline;
	margin-right: 10px;
	padding-right: 10px;
}

nav a {
	color: #FFFFFF;
	font-size: 22px;
	font-weight: 100;
	text-decoration: none;
	}

nav a:hover {
	color: #ED1C24;
}


/* ---------- container ----------- */
#container {
	width: 900px;
	margin: 0 auto;
	}


/* ------ styling the header ------ */

#intro {
	
}

header h1 {
	text-align: left;
	width: 600px;
	margin-top: 4%;
	margin-bottom: 6%;
}

/* styling the content */

#mainContent {
		float: left;
		width: 600px;
	}
	
	aside {
		float: right;
		width: 280px;
		margin-top: -130px;
	}

	aside img{
	vertical-align: middle;
	}

/* styling the gallery intro  */

#galleryPost{
	float: left;
	width: 600px;
	padding-bottom: 25px;
}

.blogPost p {
	font-family: Verdana, sans-serif;
	font-size: 12px;
	font-weight: light;
	line-height: 16px;
	padding-left: 3%;
	padding-right: 3%;
	}

.blogPost ul {
	list-style-type: square;
	font-family: Verdana, sans-serif;
	font-size: 12px;
	font-weight: light;
	line-height: 16px;
	margin-left: 8%;
	margin-right:4%;
	margin-bottom: 20px;
	}

.blogPost time{
font-style: oblique;
}

/* styling the blog nav */	

#blogNav {
	margin-top: 1em;
	margin-bottom: 1em;
	padding-top: 150%;
	padding-left: 8%;
	padding-right: 6px;
}

#blogNav a {
	font-size: 18px;
	font-weight: 100;
	font-style: oblique;
	}

.previous {
	float: left;
	width: 20%;
}

.next {
	float: right;
	width: 20%;
	text-align: right;
	padding-right: 18%;
}

/* tutorial from http://tympanus.net/codrops/2011/12/26/css3-lightbox/ */

@font-face {
    font-family: 'bebas_neueregular';
    src: url('BebasNeue-webfont.eot');
    src: url('BebasNeue-webfont.eot?#iefix') format('embedded-opentype'),
         url('BebasNeue-webfont.woff') format('woff'),
         url('BebasNeue-webfont.ttf') format('truetype'),
         url('BebasNeue-webfont.svg#bebas_neueregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

.lb-album{
	float: left; /* added float to move pics to left */
	width: 600px; /* from 900 to 600 px */
	margin: 0 0 0 5%;
	font-family: 'bebas_neueregular', 'Arial Narrow', Arial, sans-serif;
}

.lb-album li{
	float: left;
	margin: 5px;
	position: relative;
}

.lb-album li > a,
.lb-album li > a img{
	display: block;
}

.lb-album li > a{
	width: 150px;
	height: 150px;
	position: relative;
	padding: 5px;
	background: #FFFFFF;
	-webkit-box-shadow: 1px 1px 2px #fff, 1px 1px 2px rgba(158,111,86,0.3) inset;
	-moz-box-shadow: 1px 1px 2px #fff, 1px 1px 2px rgba(158,111,86,0.3) inset;
	box-shadow: 1px 1px 2px #fff, 1px 1px, 2px rgba(158,111,86,0.3) inset;
}

/* making title for thumnail  invisible, addiing transition and smooth radial background */

.lb-album li > a span{
	position: absolute;
	width: 150px;
	height: 150px;
	top: 5px;
	left: 5px;
	text-align: center;
	line-height: 150px;
	color: rgba(0,0,0,0.8);
	text-shadow: 0px 1px 1px rgba(60,60,60,0.4);
	font-size: 24px;
	opacity: 0;
	filter: alpha(opacity=0);
	background: rgb(254,254,254);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,0.56)), color-stop(100%,rgba(254,254,254,1)));
	background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(254,254,254,1) 100%);
	background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%, rgba(254,254,254,1) 100%);
	background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(254,254,254,1) 100%);
	background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(254,254,254,1) 100%);
	background: radial-gradient(center,	ellipse cover, rgba(255,255,255,0.56) 0%,rgba(254,254,254,1) 100%);
	-webkit-transition: opacity 0.3s linear;
	transition: opacity 0.3s linear;
}

.lb-album li > a:hover span{
	opacity: 1;
	filter: alpha(opacity=99);
}

/* styling the overlay with the same radial gradient  */
/*  affects the background when full image is displayed  */ 

.lb-overlay{
	width: 0px;
	height: 0px;
	position: fixed;
	overflow: hidden;
	left: 0px;
	top: 0px;
	padding: 0px;
	z-index: 99;
	text-align: center;
	background: rgb(1,1,1);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(60,60,60,0.95)), color-stop(100%,rgba(1,1,1,1)));
	background: -webkit-radial-gradient(center, ellipse cover, rgba(60,60,60,0.95) 0%,rgba(1,1,1,1) 100%);
	background: -moz-radial-gradient(center, ellipse cover, rgba(60,60,60,0.95) 0%, rgba(1,1,1,1) 100%);
	background: -o-radial-gradient(center, ellipse cover, rgba(60,60,60,0.95) 0%,rgba(1,1,1,1) 100%);
	background: -ms-radial-gradient(center, ellipse cover, rgba(60,60,60,0.95) 0%,rgba(1,1,1,1) 100%);
	background: radial-gradient(center,	ellipse cover, rgba(60,60,60,0.95) 0%,rgba(1,1,1,1) 100%);
}

/*  style the divison for the main title and the description  */

.lb-overlay > div{
	position: relative;
	color: rgba(200,200,200,0.95);
	width: 550px;
	height: 80px;
	margin: 50px auto 0px auto;
	text-shadow: 0px 1px 1px rgba(255,255,255,0.9);
}

.lb-overlay div h3,
.lb-overlay div p{
	padding: 0px 20px;
	width: 200px;
	height: 60px;
}

.lb-overlay div h3{
	font-size: 36px;
	float: left;
	text-align: right;
	margin-top: 5%;
	border-right: 1px solid rgba(100,100,100,0.4);
}

.lb-overlay div h3 span,
.lb-overlay div p{
	font-size: 16px;
	font-family: Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	font-style: italic;
}

.lb-overlay div h3 span{
	display: block;
	line-height: 6px;
}

.lb-overlay div p{
	font-size: 14px;
	text-align: left;
	float: left;
	width: 260px;
	background: transparent; /* added as was displaying as black */ 
}

/*  positioning the link element to close lightbox absolutely above the image  */

.lb-overlay a.lb-close{
	background: rgba(60,60,60,0.95);
	z-index: 1001;
	color: #fff;
	position: absolute;
	top: 43px;
	left: 50%;
	font-size: 15px;
	line-height: 26px;
	text-align: center;
	text-decoration: none;
	width: 50px;
	height: 23px;
	overflow: hidden;
	margin-left: -25px;
	opacity: 0;
	filter: alpha(opacity=0); /* IE8 */
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
	-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
}

/*  sizing and positioning the main image  */

.lb-overlay img{
	max-height: 100%;
	position: relative;
	opacity: 0;
	filter: alpha(opacity=0); /* internet explorer (IE) */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
	-webkit-box-shadow: 4px 4px 10px rgba(0,0,0,0.5);
	-moz-box-shadow: 4px 4px 10px rgba(0,0,0,0.5);
	box-shadow: 4px 4px 10px rgba(0,0,0,0.5);
	-webkit-transition: opacity 0.5s linear;
	-moz-transition: opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	-ms-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;
}

/*  styling the navigation elements  */

.lb-prev, .lb-next{
	text-indent: -9000px;
	position: absolute;
	top: -32px;
	width: 24px;
	height: 25px;
	left: 50%;
	opacity: 0.8;
	filter: alpha(opacity=80); /* iIE */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=80)"; /*IE8*/
}

.lb-prev:hover, .lb-next:hover{
	opacity: 1;
	filter: alpha(opacity=99); /* IE */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}

.lb-prev{
	margin-left: -30px;
	background: transparent url(../photography/images/arrows.png) no-repeat top left;	
}

.lb-next{
	margin-left: 6px;
	background: transparent url(../photography/images/arrows.png) no-repeat top right;
}

/*  add padding to overlay and stretch it over whole viewport  */

.lb-overlay:target {
	width: auto;
	height: auto;
	bottom: 0px;
	right: 0px;
	padding: 80px 100px 120px 100px;
}

/*  not sure about this part  */

.lb-overlay:target img,
.lb-overlay:target a.lb-close{
	opacity: 1;
	filter: alpha(opacity=99); /* IE */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}

/* styling the footer */
footer {
	clear: both;
	width: 600px;
}

