/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

a {
    color: #00e;
}

a:visited {
    color: #551a8b;
}

a:hover {
    color: #06e;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.clear{
	clear:both;
	height:0px;
}

h1{
	font-family: 'Lora', serif;
	font-weight:200;
	font-size:26px;
	text-transform:uppercase;
	margin-top:0px;
	padding-top:0px;
}



body{
	background-image:url(../img/background2.jpg);
	background-repeat:no-repeat;
	background-position:center top;
	background-color:#000000;
	color:#c1c1c1;
	font-family: 'Lato', sans-serif;
	font-weight:300;
}

#wrapper{
	width:1000px;
	margin:0 auto;
	margin-top:10px;
}

#logo{
	margin:0 auto;
	float:left;
}

#content{
	width:100%;
	margin-top:30px;
	clear:both;
}

#home{
	text-align:center;
}

@keyframes bgOver {
	from { max-width: 100%; }
	to { max-width: 150%; }
}
@keyframes bgOut {
	from { max-width: 150%; }
	to { max-width: 100%; }
}

#home a{
	float:left;
	line-height:50px;
	color:#ffffff;
	font-weight:300;
	display:block;
	width:200px;
	height:150px;
	font-size:20px;
	background-size:120%;
	cursor:pointer;
	text-shadow: 0 0 5px #1C1C1C;
	overflow:hidden;
	text-decoration:none;
	background-size: 100%;
	-moz-transition: all .5s;
	-webkit-transition: all .5s;
	transition: all .5s;
	background-position: center;
}

	#home a:hover{
		background-size:120%;
	}

#home img{
	position:absolute;
	left:0px;
	top:0px;
	height:170px;
	opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}
	#home a:hover #home img{
		opacity: 0.9;
		filter: alpha(opacity=90); /* For IE8 and earlier */
		
	}

	#bio .left{
		float:left;
		width:550px;
		margin-right:50px;
		letter-spacing:1px;
	}
	#bio .right{
		float:left;
		width:400px;
		padding-top:60px;
	}

#contact .hl{
	color:#ffffff;
}
#contact a{
	color:#ffffff;
}
	
#contact .left{
	width:400px;
	float:left;
	margin-right:50px;
}
#contact .right{
	float:left;
	width:550px;
	float:left;
}

#navigation{
	font-family: 'Lora', serif;
	float:right;
	clear:both;
	margin-top:35px;
	width:400px;
}
	ul.nav{
		list-style:none;
		padding:0px;
		margin:0px;
	}
		ul.nav li{
			float:left;
			margin-right:20px;
		}
			ul.nav li a{
				font-weight:300;
				color:#bababa;
				text-decoration:none;
				letter-spacing:1px;
				font-size:16px;
				padding:5px 10px;
				border: solid 1px transparent;
			}
			ul.nav li a:hover, ul.nav li a:active, ul.nav li a.active{
				color:#e7e7e7;
				border:solid 1px #bababa;
				
			}
		ul.nav li:last-child{
			margin:0px;
		}
	

#footer{
	clear:both;
	width:100%;
	color:#606060;
	font-size:11px;
	text-align:center;
	margin-top:30px;
	padding-bottom:20px;
	font-family: 'Lato', serif;
	letter-spacing:2px;
}


/* Gallery */
#gallery .left{
	width:250px;
	float:left;
}
#icons img{
	max-width:75px;
	margin-right:2px;
	margin-bottom:2px;
	-webkit-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
	box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
}
#icons a:hover{
	opacity:.5;
}
#icons{
	float:right;
	width:auto;
	max-width:700px;
	
}
.gallerylink,.gallerylink:visited{
	display:block;
	color:#8d8d8d;
	text-decoration:none;
	padding:5px 10px;
	font-family: 'Lora', serif;
}
	.gallerylink:hover,.gallerylink:active{
		color:#e8e8e8;
	}
	.gallerylink.big{
		font-size:24px;
		color:#ffffff;
	}

#imagelightbox
{
    		cursor: pointer;
			position: fixed;
			z-index: 10000;

			-ms-touch-action: none;
			touch-action: none;

			-webkit-box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
			box-shadow: 0 0 3.125em rgba( 0, 0, 0, .75 ); /* 50 */
}


input,select,textarea{
	width:90%;
	color:#ffffff;
	padding:10px 15px;
	background-color:#6b6b6b;
	margin-bottom:5px;
	font-weight:300;
	border:solid 1px transparent;
}
input[type=button]{
	background-color:#a1a1a1;
	border:none;
	width:96%;
	text-transform:capitalize;
}
	input[type=button]:hover{
		background-color:#eaeaea;
		color:#797979;
	}
	

*:focus {
	border:solid 1px #e8e8e8;
    outline: 0;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Prevent callout */

.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */

textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if
   they have been set as display: none */

.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/**
 * Clearfix helper
 * Used to contain floats: h5bp.com/q
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 800px) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for viewports that meet the condition */
}
