/******************************************************************
Site Name: Baber Studio
Author: Walter L

Stylesheet: Main Stylesheet

Here's where the magic happens. Here, you'll see we are calling in
the separate media queries. The base mobile goes outside any query
and is called at the beginning, after that we call the rest
of the styles inside media queries.
******************************************************************/

/*! normalize.css 2012-07-07T09:50 UTC - http://github.com/necolas/normalize.css */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/*
 * Corrects `block` display not defined in IE6/7/8/9 & FF3.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
  display: block;
}
/*
 * Corrects `inline-block` display not defined in IE6/7/8/9 & FF3.
 */
audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
/*
 * Prevents modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}
/*
 * Addresses styling for `hidden` attribute not present in IE7/8/9, FF3, S4.
 * Known issue: no IE6 support.
 */
[hidden] {
  display: none;
}
/* ==========================================================================
   Base
   ========================================================================== */
/*
 * 1. Corrects text resizing oddly in IE6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevents iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-size: 100%;
  /* 1 */

  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  /* 2 */

}
/*
 * Addresses `font-family` inconsistency between `textarea` and other form
 * elements.
 */
html,
button,
input,
select,
textarea {
  font-family: sans-serif;
}
/*
 * Addresses margins handled incorrectly in IE6/7.
 */
body {
  margin: 0;
}
/* ==========================================================================
   Links
   ========================================================================== */
/*
 * Addresses `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted;
}
/*
 * Improves readability when focused and also mouse hovered in all browsers.
 * people.opera.com/patrickl/experiments/keyboard/test
 */
a:active,
a:hover {
  outline: 0;
}
/* ==========================================================================
   Typography
   ========================================================================== */

/* ==========================================================================
   Lists
   ========================================================================== */
/*
 * Addresses margins set differently in IE6/7.
 */
dl,
menu,
ol,
ul {
  margin: 0;
}
dd {
  margin: 0 0 0 40px;
}
/*
 * Addresses paddings set differently in IE6/7.
 */
menu,
ol,
ul {
  padding: 0 0 0 40px;
}
/*
 * Corrects list images handled incorrectly in IE7.
 */
nav ul,
nav ol {
  list-style: none;
  list-style-image: none;
}
/* ==========================================================================
   Embedded content
   ========================================================================== */
/*
 * 1. Removes border when inside `a` element in IE6/7/8/9, FF3.
 * 2. Improves image quality when scaled in IE7.
 *    code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */
img {
  border: 0;
  /* 1 */

  -ms-interpolation-mode: bicubic;
  /* 2 */

}
/*
 * Corrects overflow displayed oddly in IE9.
 */
svg:not(:root) {
  overflow: hidden;
}
/* ==========================================================================
   Figures
   ========================================================================== */
/*
 * Addresses margin not present in IE6/7/8/9, S5, O11.
 */
figure {
  margin: 0;
}
/* ==========================================================================
   Forms
   ========================================================================== */
/*
 * Corrects margin displayed oddly in IE6/7.
 */
form {
  margin: 0;
}
/*
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
/*
 * 1. Corrects color not being inherited in IE6/7/8/9.
 * 2. Corrects text not wrapping in FF3.
 * 3. Corrects alignment displayed oddly in IE6/7.
 */
legend {
  border: 0;
  /* 1 */

  padding: 0;
  white-space: normal;
  /* 2 */

  *margin-left: -7px;
  /* 3 */

}
/*
 * 1. Corrects font size not being inherited in all browsers.
 * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome.
 * 3. Improves appearance and consistency in all browsers.
 */
button,
input,
select,
textarea {
  font-size: 100%;
  /* 1 */

  margin: 0;
  /* 2 */

  vertical-align: baseline;
  *vertical-align: middle;
  /* 3 */

}
/*
 * Addresses FF3/4 setting `line-height` on `input` using `!important` in the
 * UA stylesheet.
 */
button,
input {
  line-height: normal;
}
/*
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Corrects inability to style clickable `input` types in iOS.
 * 3. Improves usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Removes inner spacing in IE7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE6.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */

  cursor: pointer;
  /* 3 */

  *overflow: visible;
  /* 4 */

}
/*
 * Re-set default cursor for disabled elements.
 */
button[disabled],
input[disabled] {
  cursor: default;
}
/*
 * 1. Addresses box sizing set to content-box in IE8/9.
 * 2. Removes excess padding in IE8/9.
 * 3. Removes excess padding in IE7.
 *    Known issue: excess padding remains in IE6.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */

  padding: 0;
  /* 2 */

  *height: 13px;
  *width: 13px;
  /* 3 */

}
/*
 * 1. Addresses `appearance` set to `searchfield` in S5, Chrome.
 * 2. Addresses `box-sizing` set to `border-box` in S5, Chrome (include `-moz`
 *    to future-proof).
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */

  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */

  box-sizing: content-box;
}
/*
 * Removes inner padding and search cancel button in S5, Chrome on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/*
 * Removes inner padding and border in FF3+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/*
 * 1. Removes default vertical scrollbar in IE6/7/8/9.
 * 2. Improves readability and alignment in all browsers.
 */
textarea {
  overflow: auto;
  /* 1 */

  vertical-align: top;
  /* 2 */

}
/* ==========================================================================
   Tables
   ========================================================================== */
/*
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/******************************************************************
CUSTOMIZED RESET VALUES
I added these extra styles as a more personalized reset. Feel free
to remove them if you like or add your own. If you want to update
the normalize styles, make sure to edit from this point up.
******************************************************************/
p {
  -webkit-hyphens: auto;
  -epub-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  margin: 0;
}
b,
strong,
.strong {
  font-weight: bold;
}
dfn,
em,
.em {
  font-style: italic;
}
small,
.small {
  font-size: 75%;
}
ul,
ol {
  padding: 0;
  list-style-type: none;
}
dd {
  margin: 0;
}
.sidebar ul,
.sidebar ol,
.commentlist {
  list-style: none;
}
/******************************************************************
Stylesheet: Mixins & Constants Stylesheet

******************************************************************/

/*********************
CLEARFIXIN'
*********************/
.clearfix {
  zoom: 1;
}
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
/*********************
TOOLS
*********************/
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.image-replacement {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

/*********************
COLORS

/*********************
TYPOGRAPHY
*********************/

@font-face {
	font-family: 'franklingothic_urwlight';
	src: url('../fonts/lig/franklingothicurw-lig-webfont.eot');
    src: url('../fonts/lig/franklingothicurw-lig-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/lig/franklingothicurw-lig-webfont.woff') format('woff'),
         url('../fonts/lig/franklingothicurw-lig-webfont.ttf') format('truetype'),
         url('../fonts/lig/franklingothicurw-lig-webfont.svg#franklingothic_urwlight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: 'franklingothic_urwbook';
    src: url('../fonts/book/franklingothicurw-boo-webfont.eot');
    src: url('../fonts/book/franklingothicurw-boo-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/book/franklingothicurw-boo-webfont.woff') format('woff'),
         url('../fonts/book/franklingothicurw-boo-webfont.ttf') format('truetype'),
         url('../fonts/book/franklingothicurw-boo-webfont.svg#franklingothic_urwbook') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'franklingothic_urwmedium';
	src: url('../fonts/med/franklingothicurw-med-webfont.eot');
    src: url('../fonts/med/franklingothicurw-med-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/med/franklingothicurw-med-webfont.woff') format('woff'),
         url('../fonts/med/franklingothicurw-med-webfont.ttf') format('truetype'),
         url('../fonts/med/franklingothicurw-med-webfont.svg#franklingothic_urwmedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

.hidden {
	position: absolute;
	top: -99999px !important;
	left: -99999px !important;
}

/*
BASE (MOBILE) SIZE
This are the mobile styles. It's what people see on their phones. If
you set a great foundation, you won't need to add too many styles in
the other stylesheets. Remember, keep it light: Speed is Important.
*/
/******************************************************************

------------ MAP ------------

01. GENERAL STYLES
02. WORDPRESS BODY CLASSES
03. LAYOUT & GRID STYLES
04. LINK STYLES
05. H1, H2, H3, H4, H5 STYLES
06. HEADER SYTLES
07. NAVIGATION STYLES
08. POSTS & CONTENT STYLES
09. PAGE NAVI STYLES
10. COMMENT STYLES
11. COMMENT FORM STYLES
12. SIDEBARS & ASIDES
13. FOOTER STYLES

******************************************************************/

/*********************
01. GENERAL STYLES
*********************/

body {
	font-family: 'franklingothic_urwlight';
	font-size: 13px;
	line-height: 1.231em;
	/*color: #695e4a;*/
	color: #03180d;
}

.full-bg {
	width: 100%;
	height: 100%;
	background: url('../images/baber-bg.jpg') no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	position: fixed;
}

.bold {
	font-family: 'franklingothic_urwmedium';
}

.small {
	font-size: 0.846em;
}

.offset-1 {
	margin-left: 10em;
}

.nav-block {
	float: left;
	margin-top: 2.308em;
	margin-right: 2.308em;
}

.nav-block ul {
	border-top: 1px solid #cec7bc;
	font-size: 1.077em;
	padding: 0.5em 0;
}

.nav-block ul li {
	width: 100px;
	padding-right: 2.308em;
}

.icon {
	background: url('../images/baber-sprite.png?20130717') 0 0 no-repeat;
}

.logo {
	width: 50px;
	height: 207px;
	background-position: -150px 0;
	position: absolute;
	top: 23.6em;
	left: 0;
	margin-bottom: 2em;
}

.welcome {
	font-family: 'franklingothic_urwlight';
	font-size: 1.385em;
	color: #808080;
	text-transform: uppercase;
	position: absolute;
	top: 1.808em;
	right: 15px;
}

#container {
	width: 100%;
	max-width: 1140px;
	position: absolute;
	right: 0;
}

/***********************************
	
	Basic text page
	
***********************************/

.simple-page img {

}


/***********************************
	
	Haiku Elements

***********************************/

.haiku {
	width: 100%;
	height: 100%;
	background: #ffffff;
	color: #ffffff;
	position: absolute;
	top: 0;
	overflow: hidden;
	z-index: 20;
}

.haiku h2 {
	color: #ffffff !important;
}

.haiku .bg {
	background: #ffffff;
	position: absolute;
}

.haiku .container {
	width: 50%;
	margin: 20% auto;
	position: relative;
}

.haiku .text {
	font-size: 1.462em;
	line-height: 1.538em;
	text-align: center;
	display: block;
	clear: both;
}

.haiku .sep {
	width: 7.692em;
	border-bottom: 1px solid #ffffff;
	margin: 1.538em auto;
}

.haiku .close {
	width: 4em;
	text-transform: uppercase;
	position: relative;
	display: block;
	clear: both;
	margin: 0 auto;
	cursor: pointer;
}

.haiku .close span {
	font-size: 0.7em;
	float: left;
}

.haiku .close .icon {
	width: 14px;
	height: 14px;
	background-position: 0 -300px;
	float: left;
	margin: 7px;
}

.haiku .close:hover .icon {
	background-position: -50px -300px;
}

/***********************************
	
	Home Page Elements

***********************************/

.home-page {
	left: 0;
}

.home-page .offset-1 {
	margin-left: 12em;
}

.home-page .logo {
	width: 418px;
	height: 101px;
	background-position: 0 -350px;
	position: absolute;
	top: -99px;
	left: 6px;
}

.home-page .nav-block {
	color: #ffffff !important;
	margin-top: 4em;
}

.home-page .nav-block ul {
	border-color: #ffffff;
}

.home-page .nav-block:first-child {
}

.home-page a,
.home-page a:visited {
	color: #ffffff;
}

/***********************************
	
	Project Profile Page/Index

***********************************/

#main {
	padding-top: 5.375em;
}

.page-header {
	height: 4.538em;
	font-size: 1.231em;
	display: block;
	clear: both;

}

.project-img {
	display: block;
	clear: both;
	margin-top: 0.6em;
	margin-right: 15px;
	position: relative;
	overflow: hidden;
}

#project-img-full {
	width: inherit;
	height: 100%;
	background-color: #ffffff;
	background-repeat: no-repeat; 
	background-position: center center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
}

.screenout {
	width: 100%;
	height: 100%;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	background: #03180d;
	opacity: 0.8;
	z-index: 6;
}

#img-viewport {
	width: 915px;
	height: 450px;
	margin: 0 15px;
	overflow: auto;
	float: left;
	z-index: 5;
}


.img-container {
	margin-bottom: 15px;
}

.img-container li {
	width: 450px;
	margin-right: 15px;
	float: left;
}

.img-container li:last-child {
	margin-right: 0;
}	

/***********************************
	
	Project Index

***********************************/

.project-idx.project-img {
	width: 1230px;
	right: 105px;
}

.project-idx .img-container li {
	width: 330px;
}

.project-idx  #img-viewport {
	width: 1020px;
}


/***********************************/

.info {
	margin-top: 0.385em;
	color: #808080;
	display: block;
	clear: both;
}

.btn {
	width: 90px;
	height: 350px;
	background-color: #ede9e2;
	cursor: pointer;
}

.btn:hover {
	background-color: #cec7bc;
}

.arrow {
	width: 27px;
	height: 51px;
	background-position: 0 0;
	margin: 150px 35px;
}

.btn.left,
.btn.right  {
	float: left;
}

.btn.left .arrow {
	background-position: 0 0;
}

.btn.left:hover .arrow {
	background-position: -50px 0;
}

.btn.right .arrow {
	background-position: 0 -100px;
}

.btn.right:hover .arrow {
	background-position: -50px -100px;
}

.more {
	cursor: pointer;
	height: 1.231em;
	margin-top: 0.462em;
}

.icon.expand {
	width: 14px;
	height: 9px;
	background-position: 0 -250px;
	margin: 4px 9px;
}

.more li {
	float: left;
}

.more:hover,
.more:focus {
	color: #03180d;
}

.more:hover .expand {
	background-position: -50px -250px;
}

.window {
 	width: 450px;
 	height: 350px;
 	background: #ffffff;
 	padding: 0 25px;
 	position: absolute;
 	top: -350px;
 	transition: top 0.125s;
	-moz-transition: top 0.125s, -moz-transform;
	-webkit-transition: top 0.125s, -webkit-transform;
	-o-transition: top 0.125s, -o-transform;
 	left: 0;
 	margin-left: 105px;
 	overflow-y: auto;
 	z-index: 5;
}


.window .header {
	margin-bottom: 1.5em;
}

.window.show {
	top: 0;
}

.window p {
	color: #03180d;
	margin-bottom: 1em;
}

.window .close {
	width: 15px;
	height: 15px;
	background-position: 0 -200px;
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 15px;
}

.window .close:hover {
	background-position: -50px -200px;
}

/********************
02. WORDPRESS BODY CLASSES
    style a page via class
********************/


/*********************
03. LAYOUT & GRID STYLES
*********************/
.wrap {
  width: 100%;
  margin: 0;
}

/*********************
04. LINK STYLES
*********************/
a,
a:visited {
  color: #03180d;
  text-decoration: none;
  /* on hover */

  /* on click */

  /* mobile tap color */
}

a:hover,
a:visited:hover,
a:focus,
a:visited:focus {
  text-decoration: underline;
}

a:link,
a:visited:link {
  /*
	this highlights links on iPhones/iPads.
	so it basically works like the :hover selector
	for mobile devices.
	*/
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3);
}
/******************************************************************
05. H1, H2, H3, H4, H5 STYLES
******************************************************************/

h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5 {
 	margin: 0;
 	color: #695e4a;
  /*
	if you're going to use webfonts, be sure to check your weights
	http://css-tricks.com/watch-your-font-weight/
	*/

  /* removing text decoration from all headline links */
}

h2 a,
.h2 a,
h3 a,
.h3 a,
h4 a,
.h4 a,
h5 a,
.h5 a {
	color: #695e4a;
	text-decoration: none;
}

h1 a,
h1 a:visited {
	color: #03180d;
}

h3 a:visited {
	color: #695e4a;
}

h1 {
	font-family: 'franklingothic_urwmedium';
	font-size: 1em;
	margin: 0;
	font-weight: normal !important;
}

h2 {
	font-family: 'franklingothic_urwlight';
	font-size: 2.0em;
	line-height: 1em;
	font-weight: normal !important;
    font-style: normal !important;
}

h3 {
	font-family: 'franklingothic_urwmedium';
	font-size: 1em;
	font-weight: normal !important;
	text-transform: uppercase;
	
}

.project-img li h3{
	font-family: 'franklingothic_urwlight';
	font-size: 1.538em;
	line-height: 1.231em;
	text-transform: uppercase;
	margin-bottom: 0;
}

h4 {
	font-family: 'franklingothic_urwmedium';
	font-size: 1em;
}

/*********************
06. HEADER SYTLES
*********************/


/*********************
07. NAVIGATION STYLES
*********************/


/*********************
08. POSTS & CONTENT STYLES
*********************/
#content {
  margin-top: 2.2em;
}

/******************************************************************
09. PAGE NAVI STYLES
******************************************************************/


/******************************************************************
10. COMMENT STYLES
******************************************************************/


/*********************
12. SIDEBARS & ASIDES
*********************/

/*********************
13. FOOTER STYLES
*********************/

.footer {
	padding: 3em 0 3.5em;
	background: #fff;
	clear: both;
}

.home-page .footer {
	padding-left: 12em;
}

/***********************************

	Home Page Footer
	
***********************************/

.home-page .footer {
	position: fixed;
	bottom: 0;
}

.home-page .footer .nav-block {
	color: #695e4a;
	margin-top: 3em;
}

.home-page .footer .nav-block:first-child {
	margin-left: 13.5em;
}

.home-page .footer .nav-block li {
	float: left;
}

/*
	if you checked out the link above:
	http://www.alistapart.com/articles/organizing-mobile/
	you'll want to style the footer nav
	a bit more in-depth. Remember to keep
	it simple because you'll have to
	override these styles for the desktop
	view.
	*/
/* end .footer-links */
/*
LARGER MOBILE DEVICES
This is for devices like the Galaxy Note or something that's
larger than an iPhone but smaller than a tablet. Let's call them
tweeners.
*/
@media only screen and (min-width: 481px) {
  /******************************************************************
  Site Name: 
  Author: 
  
  Stylesheet: 481px and Up Stylesheet
  
  This stylesheet is loaded for larger devices. It's set to 
  481px because at 480px it would load on a landscaped iPhone.
  This isn't ideal because then you would be loading all those
  extra styles on that same mobile connection. 
  
  A word of warning. This size COULD be a larger mobile device,
  so you still want to keep it pretty light and simply expand
  upon your base.less styles.
  
  ******************************************************************/
}


/*
TABLET & SMALLER LAPTOPS
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/

@media only screen and (max-width: 1230px) {
	
	#container {
		left: 0;
		padding: 0 1em;
	}
	
	.logo,
	.welcome {
		display: none;
	}
	
	.home-page .logo {
		display: block;
	}
	
	.offset-1 {
	
	}
	
/***********************************
	
	Project Profile Page/Index

***********************************/

	.page-header {
		
	}
	
	.btn {
		display: none;
	}
	
	.project-img {
		position: relative;
		width: 100%;
		left: 0;
		float: none !important;
		margin: 1.5em auto !important;
		padding: 0;
	}
	
	.project-idx.project-img {
		width: 100%;
		right: 0;
	}
	
	#img-viewport {
		width: 100% !important;
		height: 480px;
		margin: 0;
		display: block;
		clear: both;
	}
	
	.window {
		margin-left: 0;
	}
}

@media only screen and (min-width: 768px) {

  .onecol {
    width: 5.801104972%;
  }
  /* 4.85%;  } /* grid_1  */
  .twocol {
    width: 14.364640883%;
  }
  /* 13.45%; } /* grid_2  */
  .threecol {
    width: 22.928176794%;
  }
  /* 22.05%; } /* grid_3  */
  .fourcol {
    width: 31.491712705%;
  }
  /* 30.75%; } /* grid_4  */
  .fivecol {
    width: 40.055248616%;
  }
  /* 39.45%; } /* grid_5  */
  .sixcol {
    width: 48.618784527%;
  }
  /* 48%;    } /* grid_6  */
  .sevencol {
    width: 57.182320438000005%;
  }
  /* 56.75%; } /* grid_7  */
  .eightcol {
    width: 65.74585634900001%;
  }
  /* 65.4%;  } /* grid_8  */
  .ninecol {
    width: 74.30939226%;
  }
  /* 74.05%; } /* grid_9  */
  .tencol {
    width: 81.600000%;
  }
  /* 82.7%;  } /* grid_10 */
  .elevencol {
    width: 91.436464082%;
  }
  /* 91.35%; } /* grid_11 */
  .twelvecol {
    width: 99.999999993%;
  }
  /* 100%;   } /* grid_12 */
  .onecol,
  .twocol,
  .threecol,
  .fourcol,
  .fivecol,
  .sixcol,
  .sevencol,
  .eightcol,
  .ninecol,
  .tencol,
  .elevencol,
  .twelvecol {
    position: relative;
    float: left;
  }
  .first {
    margin-left: 0;
  }
  .last {
    float: right;
  }
  /******************************************************************

  Stylesheet: Tablet & Small Desktop Stylesheet
  
  Here's where you can start getting into the good stuff.
  This size will work on iPads, other tablets, and desktops.
  So you can start working with more styles, background images,
  and other resources. You'll also notice the grid starts to
  come into play. Have fun!
  
  ******************************************************************/
  /*********************
  GENERAL STYLES
  *********************/
  
  /*********************
  LAYOUT & GRID STYLES
  *********************/

  /*********************
  HEADER SYTLES
  *********************/
  
  /*********************
  NAVIGATION STYLES
  *********************/
 
  /* end .nav */

  /*********************
  FOOTER STYLES
  *********************/
 
  /* end .footer-links */
}

/*********************
 
 	MOBILE MODE
 	
*********************/
  

@media 
only screen and (max-width: 767px) {
	
	body {
		font-size: 16px;
		line-height: 1.5em;
	}
	
	h2 {
		font-size: 1.250em;
	}
	
	.logo {
		display: none;
	}
	
	#main {
		padding-top: 0.5em;
	}
	
	#container {
		padding: 0;
	}
	
	.footer {
		padding-left: 0.5em;
		padding-right: 0.5em;
	}
	
/***********************************
	
	Offscreen Navigation
	
***********************************/

	#inner-header {
		background: #ffffff;
		width: 100%;
		font-size: 1.125em;
		padding-bottom: 1.5em;
		position: absolute;
		top: 50px;
		left: -100%;
		transition: top 0.125s, left 0.125s;
		-moz-transition: top 0.125s, left 0.125s, -moz-transform;
		-webkit-transition: top 0.125s, left 0.125s, -webkit-transform;
		-o-transition: top 0.125s, left 0.125s, -o-transform;
		z-index: 20;
		overflow-y: auto;
	}
	
	#inner-header.show {
		left: 0;
	}
	
	.btn-offsc {
		width: 100%;
		height: 50px;
		background-color: #746c66;
		display: block;
		position: relative;
		clear: both;
		padding: 20px 0.5em 0;
		z-index: 10;
	}
	
	.btn-offsc .icon {
		width: 122px;
		height: 30px;
		background-position: 0 -499px;
	}
	
	.nav-block {
		background: #ffffff;
		width: 100%;
		padding: 0 0.5em;
		margin: 0;
		float: none;
	}
	
	.nav-block:first-child ul {
		border-top: none;
	}
	
	.nav-block ul li {
		width: auto;
	}
	
	.title h1 {
		display: none;
	}
	
	.screenout {
		width: 100%;
		height: 100%;
		display: none;
		position: fixed;
		top: 50px;
		left: 0;
		background: #333333;
		opacity: 0.8;
		z-index: 6;
	}
	
	.screenout.show {
		display: block;
	}

/***********************************
	
	Home Page Elements

***********************************/

	.home-page .nav-block {
		background: none;
		margin-top: 0.5em;
	}
	
	.home-page .title h1 {
		display: block;
	}
	
	.home-page .title ul {
		border: none;
	}
	
	.home-page .footer {
		display:none;
	}
	
	.offset-1 {
		margin-left: 0 !important;
		padding: 0 0.5em;
	}

/***********************************
	
	Haiku Elements

***********************************/

	.haiku {
		font-size: 0.8em;
		position: fixed;
	}
		
	.haiku .container {
		width: 90%;
	}
	
/***********************************
	
	Project Profile Page/Index

***********************************/

	.page-header {
		height: auto;
		margin: 0.5em;
	}
	
	.project-img {
		position: relative;
		width: 100%;
		float: none !important;
		margin: 1.5em auto !important;
		padding: 0;
	}
	
	#img-viewport {
		width: 100% !important;
		height: 450px;
		margin: 0;
		display: block;
		clear: both;
	}
	
	#img-viewport.project-profile {
		height: 280px;
	}
	
	#img-viewport img {
		width: 100%;
	}
	
	.img-container li {
		width: 320px;
		margin-right: 0;
	}
	
	.project-idx .img-container li {
		width: 320px;
	}

	.btn {
		display: none;
	}
	
	.info {
		margin-left: 0.5em;
	}
	
	.more {
		display: none;
	}
	
	.window .close {
		background-position: 0 -200px;
	}
	
	.window {
		width: 320px;
		height: auto;
		padding: 10px;
		margin: 0;
		position: relative;
		top: 0;
		display: block;
		clear: both;
	}
	
	.window .close {
		display: none;
	}
}


/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 1030px) {
  /******************************************************************
  Site Name: 
  Author: 
  
  Stylesheet: Desktop Stylsheet
  
  This is the desktop size. It's larger than an iPad so it will only
  be seen on the Desktop. 
  
  ******************************************************************/
}
/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {
  /******************************************************************
  Site Name: 
  Author: 
  
  Stylesheet: Super Large Monitor Stylesheet
  
  You can add some advanced styles here if you like. This kicks in
  on larger screens.
  
  ******************************************************************/
}
/*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution. You can also create a media
query for retina AND a certain size if you want. Go Nuts.
*/

@media
(-webkit-min-device-pixel-ratio: 1.25), 
(min-resolution: 120dpi) { 
	.icon {
		background: url('../images/baber-sprite@2x.png?20130717') 0 0 no-repeat;
		background-size: 600px 600px;
	}
	.btn-offsc {
		background-position: 0 -500px;
	}
}

/*
iPHONE 5 MEDIA QUERY
Want to get fancy for no good reason? Knock yourself out.
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) {
  
}