/*
 * 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.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, button, input, select, textarea { font-family: 'Oxygen', sans-serif; color: #8a8a8a; }

body { margin: 0; font-size: 1em; line-height: 1.4; background: #000;}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 */

::-moz-selection { background: #70b7db; color: #fff; text-shadow: none; }
::selection { background: #70b7db; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #70b7db; text-decoration: none; }
a:visited { color: #95c3db; }
a:hover { color: #fff; }

/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/* ==|== primary styles =====================================================
   Author:
   ========================================================================== */

header { width: 960px; height: 576px; margin: 0 auto; position: relative; background: url(../images/header.jpg) 0 0 no-repeat; }

div.logo-bar { width: 960px; height: 50px; position: absolute; bottom: 0; left: 0; background: #1e1e1e; }
img.logo { position: absolute; top: 13px; left: 37px; }

section { width: 960px;	margin: 0 auto;	padding: 40px 0 0 0; background: #242424; }

article { float: left; width: 260px; padding: 0 0 0 40px; }
article.bio { width: 570px; }

h2 { padding: 0; margin: 0; font: normal 21px 'Oxygen', sans-serif; color: #d2d2d2; }
p { font-size: 18px; font: normal 16px 'Oxygen', sans-serif; }

article ul { margin: -10px 0 0 0; padding: 0; }
article ul li {	line-height: 35px; list-style-type: none; }
	li a.facebook {	background: url(../images/icon-facebook.png) no-repeat 0 0 transparent; padding: 2px 0 1px 35px;}
	li a:hover.facebook {	background: url(../images/icon-facebook.png) no-repeat 0 -25px transparent;}
	
	li a.linkedin {	background: url(../images/icon-linkedin.png) no-repeat 0 0 transparent; padding: 2px 0 1px 35px;}
	li a:hover.linkedin {	background: url(../images/icon-linkedin.png) no-repeat 0 -25px transparent; }
	
	li a.twitter {	background: url(../images/icon-twitter.png) no-repeat 0 0 transparent; padding: 2px 0 1px 35px;}
	li a:hover.twitter {	background: url(../images/icon-twitter.png) no-repeat 0 -25px transparent; }

section#gallery { padding: 20px 0 40px 0; }
ul#mini-gallery { margin: 0 0 0 40px; padding:0; }
ul#mini-gallery li { list-style: none; display: inline;	margin: 0;	padding: 0; }
	ul#mini-gallery li a.one { display: block; float: left; width: 170px; height: 80px; margin-right: 8px; background: url(../images/thumb-tsource.jpg) no-repeat 0 0 transparent; }
	ul#mini-gallery li a:hover.one { background: url(../images/thumb-tsource.jpg) no-repeat 0 -80px transparent; }

	ul#mini-gallery li a.two { display: block; float: left; width: 170px; height: 80px; margin-right: 8px; background: url(../images/thumb-gallery.jpg) no-repeat 0 0 transparent; }
	ul#mini-gallery li a:hover.two { background: url(../images/thumb-gallery.jpg) no-repeat 0 -80px transparent; }

	ul#mini-gallery li a.three { display: block; float: left; width: 170px; height: 80px; margin-right: 8px; background: url(../images/thumb-diytutorial.jpg) no-repeat 0 0 transparent; }
	ul#mini-gallery li a:hover.three { background: url(../images/thumb-diytutorial.jpg) no-repeat 0 -80px transparent; }

	ul#mini-gallery li a.four { display: block; float: left; width: 170px; height: 80px; margin-right: 8px; background: url(../images/thumb-ypshowcase.jpg) no-repeat 0 0 transparent; }
	ul#mini-gallery li a:hover.four { background: url(../images/thumb-ypshowcase.jpg) no-repeat 0 -80px transparent; }

	ul#mini-gallery li a.five { display: block; float: left; width: 170px; height: 80px; margin-right: 8px; background: url(../images/thumb-advwebsites.jpg) no-repeat 0 0 transparent; }
	ul#mini-gallery li a:hover.five { background: url(../images/thumb-advwebsites.jpg) no-repeat 0 -80px transparent; }

.clear { clear: both; }

footer { width: 960px; margin: 0 auto; padding: 10px 0; background: #1e1e1e; }
footer p { margin: 0; padding:0; font-size: 9px; text-align: center; text-transform: uppercase; }

/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

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



/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.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; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  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; }
}
