/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

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

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
    
   

html, body {
	background-color: #666;
	font-family:'Lato', sans-serif;
	-webkit-font-smoothing: antialiased;
}

#wrapper {
	width: 1011px;
	height: 758px;
	background-image: url('../images/bg.png');
	margin: 0 auto;
	position:relative;
}

#wrapper.work {
	background-image: url('../images/bg_work.png');
}
#wrapper.work1 {
	background-image: url('../images/bg_work1.png');
}
#wrapper.work2 {
	background-image: url('../images/bg_work2.png');
}
#wrapper.work3 {
	background-image: url('../images/bg_work3.png');
}
#wrapper.work4 {
	background-image: url('../images/bg_work4.png');
}
#wrapper.work5 {
	background-image: url('../images/bg_work5.png');
}
#wrapper.work6 {
	background-image: url('../images/bg_work6.png');
}
#wrapper.contact {
	background-image: url('../images/bg_contact.png');
}
nav.main {
	height: 66px;
	padding-top: 7px;
	width: 336px;
	padding-left: 675px;
	color: #f7b234; /* orange */
}
nav.main a {
	color: #58585a; /* dark grey */
	text-decoration:none;
	font-size: 11.8px;
	font-weight: 400;
}
nav.main a.selected, 
nav.main a:hover {
	color: #f7b234; /* orange */	
}

section.content {
	height:662px;
	width: 1011px;
	overflow: hidden;
}
article {
	font-family:'Lato',sans-serif;
	font-size: 11.7px;
	padding-left: 40px;
	width: 220px;
	height: 615px;
	float: left;
	color: #58585a; /* dark grey */
}
article strong {
	font-weight: 700;
}

#wrapper.work1 article,
#wrapper.work2 article,
#wrapper.work3 article,
#wrapper.work4 article,
#wrapper.work5 article,
#wrapper.work6 article  {
	line-height:14px;
}

#wrapper.home article {
	padding-left: 328px;
	width: 640px;
	font-size: 20px;
	color: #fff;
	font-weight:300;
}

#wrapper.home article a {
	text-decoration:none;
	color: #9ed2c9; /* green */
}

#wrapper.home article a:hover {
	text-decoration:underline;
}

#wrapper.contact aside,
#wrapper.work aside,
#wrapper.why aside {
	padding-left: 40px;
	width: 220px;
	height: 615px;
	float: left;
	font-size: 21px;
	font-weight: 700;
	color: #58585a; /* dark grey */
}

#wrapper.contact aside {
	padding-left: 420px;
	width: 182px;
	padding-top: 350px;
	height: 215px;
}

#wrapper.contact article,
#wrapper.work article,
#wrapper.why article {
	padding-left: 60px;
	width: 660px;
	font-size: 11.7px;
	color: #fff;
	font-weight:400;
	line-height: 14px;
}

#wrapper.contact article {
	width: 240px;
	padding-top: 347px;
	height: 215px;	
}

#wrapper.contact article a {
	text-decoration: none;
	color: #fff;
}

#wrapper.contact article a:hover {
	text-decoration: underline;
}

div#wrapper.why section.content article div.column1 {
	width: 305px;
	margin-right: 50px;
	float:left;
	font-weight: 300;
	font-size: 12.2px;
}
div#wrapper.why section.content article div.column2 {
	width: 300px;
	float:left;
	font-weight: 300;
	font-size: 12.2px;
}

nav.sub,
nav.why {
	width: 711px;
	vertical-align: bottom;
	text-align: right;
	padding-top: 535px;
	height: 118px;
	float: left;
	line-height: 14px;
	font-size: 11.8px;
	color: #fff;
}

nav.why {
	width:645px;
	padding-top:80px;
	height: 40px;
	float:none;
	clear: left;
}

#wrapper.work nav.why  {
	padding-top: 38px;
}

nav.sub a,
nav.why a {
	display: block;
	line-height: 16px;
	text-decoration: none;
	color: #9ed2c9;  /* green */
}
nav.sub a:before,
nav.why a:before {
	color: #fff;
	content: "click ";
}

nav.sub a.selected:before {
	content: "";
}

nav.why a.back {
	color: #94aeff ;/* blue */
}

nav.why a:hover,
nav.sub a:hover,
nav.why a:hover.back,
nav.sub a.selected {
	color: #f7b234; /* orange */
}


#gohome {
	position:absolute;
	z-index: 100;
	width: 220px;
	height: 70px;
	left:0;
	bottom:0;
	cursor:pointer;
}



/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

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

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

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

.invisible {
    visibility: hidden;
}

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

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

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    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;
    }
}