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

/* @import "animations.css" */

/* ====================
    ANIMATIONS:
   ==================== */  

.animated {
	-webkit-animation-fill-mode: both;
	   -moz-animation-fill-mode: both;
	    -ms-animation-fill-mode: both;
	     -o-animation-fill-mode: both;
	animation-fill-mode: both;
	
	-webkit-animation-duration: 1.5s;
	   -moz-animation-duration: 1.5s;
	    -ms-animation-duration: 1.5s;
	     -o-animation-duration: 1.5s;
	animation-duration: 1.5s;
}

@-webkit-keyframes fade-in-up {
	0% {
		opacity: 0;
		-webkit-transform: translateY(20px);
	}
	
	100% {
		opacity: 1;
		-webkit-transform: translateY(0);
	}
}

@-moz-keyframes fade-in-up {
	0% {
		opacity: 0;
		-moz-transform: translateY(20px);
	}
	
	100% {
		opacity: 1;
		-moz-transform: translateY(0);
	}
}

@-o-keyframes fade-in-up {
	0% {
		opacity: 0;
		-o-transform: translateY(20px);
	}
	
	100% {
		opacity: 1;
		-o-transform: translateY(0);
	}
}

@keyframes fade-in-up {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	-webkit-animation-name: fade-in-up;
	   -moz-animation-name: fade-in-up;
	     -o-animation-name: fade-in-up;
	animation-name: fade-in-up;
}


/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (among many custom augmentations)
   ========================================================================== */

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

input,
textarea {
	margin: 10px 0;
}

body {
	background-color: #003064;
	font: .875em/1.5em 'Roboto', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	color: #001F63;
	font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 1.5em;
}

h1.accent,
h2.accent,
h3.accent,
h4.accent,
h5.accent,
h6.accent {
	color: #8097B1;
}

.row.story {
	margin: 100px 0;
}

article h1,
article h2,
article h3,
article h4,
article h5 {
	margin: .75em 0 0;
}

h1 {
	font-size: 52px;
}

h2 {
	font-size: 44px;
}

h3 {
	font-size: 32px;
}

h4 {
	font-size: 26px;
}

h5 {
	font-size: 20px;
}

h6 {
	font-size: 16px;
	font-weight: bold;
}

h4,
h5,
h6 {
	margin: 40px 0 0;
}

nav li.selected {
    margin-bottom: 3px solid #fff;
    display: inline-block;
}

nav ul li.selected {
	border-bottom: 3px solid #fff;
}

.strong {
	font-weight: bold;
}

.text-center {
	text-align: center;
}

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

/* ==========================================================================
   Custom styles
   ========================================================================== */

a {
	color: #03cae7;
	text-decoration: none;
	-webkit-transition: color 0.1s ease-out 0s;
	   -moz-transition: color 0.1s ease-out 0s;
	     -o-transition: color 0.1s ease-out 0s;
		 	transition: color 0.1s ease-out 0s;
}

a:hover {
	color: #739ad0;
	-webkit-transition: color 0.1s ease-out 0s;
	   -moz-transition: color 0.1s ease-out 0s;
	     -o-transition: color 0.1s ease-out 0s;
		 	transition: color 0.1s ease-out 0s;
}

ul,
p {
	letter-spacing: .015em;
	margin: 10px 0 20px;
}

em {
	font-style: italic;
}

.row {
	width: 100%;
	margin: 1em 0 0;
}

.wrapper {
	position: relative;
    width: 90%;
	margin: 0 auto;
}

/* ===================
    ALL: IAMCC Theme
   =================== */


/* Overwriting Skeleton.css styles */



/* End Skeleton.css overwrites */

.pagewrap {
	position: relative;
	overflow: hidden;
	height: auto;
}

.pagewrap.detail {
	margin: 0 0 -88px;
}

.pagewrap:before {
	content: "";
	position: absolute;
	width: 1000%;
	height: 1000%;
	top: -500%;
	left: -500%;
	z-index: -1;
	background: url(../img/bg_pattern.svg) 0 0 repeat #003064;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.about {
	color: #fff;
	min-height: calc(80vh - 300px);
	margin: 100px 0;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center; /* for older browsers */
}

.overview {
	background-color: #fff;
}

.body-shadow {
	width: 100%;
	height: 100%;
	box-shadow: inset 0 100px 250px #000;
}

.title {
	width: 137px;
	height: 78px;
	background: url(../img/svg/logo.svg) 0 0 no-repeat transparent;
	text-indent: -9999px;
	overflow: hidden;
}

.header-container {
	margin: 0;
}

.footer-container {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	padding: 0 0 140px;
	color: #fff;
}

.history article {
	border-bottom: 1px solid #000060;
	padding: 0 0 10px;
}

.about article {
	border-bottom: 0px;
}

article.no-border {
	border-bottom: 0px;
}

aside {
	text-align: left;
	background-color: #fff;
	border-radius: 3px;
	margin-bottom: 20px;
}

.mid-content aside {
	padding: 20px;
}

.mid-content h2 {
    margin: 2em 0;
}

.footer-container,
.main aside {
    border-top: 20px solid #273136;
}

.footer-container,
.main aside {
   background-color: #212628;
}

.about h1 {
	margin: .5em;
	text-align: center;
	margin-bottom: 0;
    font-size: 60px;
  	line-height: 1;
  	letter-spacing: -1px;
  	color: inherit;
}

.about p {
	font-size: 1.15em;
	line-height: 1.75em;
	width: 95%;
	max-width: 870px;
	margin: 54px auto 0;
}

.h1plus {
	background-color: #03cae7;
	border-radius: 100px;
	padding: 0 13px;
	font-size: 40px;
	margin: -10px 10px 0 10px;
}

.no-spacing { /* reset Bootstrap grid spans */
	padding: 0;
	margin: 0;
}

.process img {
	width: 100%;
	height: auto;
}

.featured-project-hero {
	width: 1024px;
	height: 340px;
}

.project-hero-image {
	width: 100%;
	height: 100%;
	background-color: #000;
	background-position: center;
	background-size: cover;
}

.project-hero-image.studio {
	background-image: url("../img/bg_pattern.svg");
}

.featured-project-hero::before {
  content: "";
  display: none;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(52, 73, 94, 0.75);
}

.featured-project-hero:hover .project-hero-image:before,
.featured-project-hero:focus .project-hero-image:before {
  display: block;
}

.featured-project-hero:hover .project-hero-image,
.featured-project-hero:focus .project-hero-image {
	transform: scale(1.25);
	transition: all .15s;
}

.featured-project-hero span {
  color: white; /* Good thing we set a fallback color! */
  font-family: sans-serif;
  padding: 25%;
  position: absolute;
}

/* 
.spirit-outcome {
	background-size: cover;
	text-align: center;
	min-width: 100%;
	max-width: 420px;
	height: auto;
	max-height: 752px;
	margin: 0 auto;
	padding: 54px 0 0 0;
	background: url(../img/survey-interface/bg-phone-animation.svg) 0 0 no-repeat transparent;

}

.spirit-outcome img {
	width: 100%;
	max-width: 372px;
	height: auto;
	max-height: 666px;
	margin: 0 auto;
} */

figure.center {
	position: relative;
	margin: auto;
	text-align: center;
}

figure.center img {
	margin: 0 auto;
}

/*//////////////// SECTIONS ////////////////*/

section.secondary,
section.tertiary,
section.quaternary,
section.quinary {
	text-align: left;
}

section.tertiary {
	background-color: #E7ECF1;
}

section.secondary {
	background-color: white;
}

section.quaternary {
	background-color: #151921;
	color: white;
	margin: 0;
	padding: 80px 0;
}

section.quinary {
	background-color: #003165;
	color: white;
}

section.fielding {
	background: url(../img/innovation-studio/bg-fielding.svg) top left no-repeat #003064;
	background-size: cover;
	height: auto;
}

section ul {
	padding-left: 1.25rem;
}

section.history ul {
	width: 60%;
	text-align: left;
	margin: 40px auto;
}

/* section figure {
	margin: 160px 0;
} */

section.secondary article,
section.tertiary article,
section.quaternary article {
	padding: 160px 0;
}

.quinary {
	background-color: #003165;
}

section .row {
	margin: 0;
	padding: 0;
}

figure {
	text-align: center;
	z-index: 100;
}

figure > div {
	overflow-x: scroll;
}

/* figure.top {
	margin: -320px 0 0;
}

figure.bottom {
	margin: 160px 0 0;
} */

.figure-set figcaption {
	margin-bottom: 6.25rem;
}

.has-image-bottom {
	margin: 0 0 -320px;
}

.overlap-top {
	padding: 320px 0 0;
}

.has-image-top {
	margin: -320px 0 0;
}

.overlap-bottom {
	padding: 0 0 320px;
}

.pad-lg-top {
	padding-top: 10rem;
}

.pad-lg-bottom {
	padding-bottom: 10rem;
}

.pad-md-top {
	padding-top: 5rem;
}

.pad-md-bottom {
	padding-bottom: 5rem;
}

.pad-sm-top {
	padding-top: 2.5rem;
}

.pad-sm-bottom {
	padding-bottom: 2.5rem;
}

figcaption {
	font-size: 13px;
	color: #999;
	margin: 2.5rem 0 0;
}

figcaption h1 {
	color: #777;
	font-weight: bold;
	font-size: 13px;
	margin: 0;
	padding: .5rem;
}

figcaption p {
	margin: 0;
	padding: 0;
	line-height: 1.2rem;
}

figcaption em {
	font-weight: 800;
}

/* section p {
	font-size: 20px;
	font-weight: 200;
	line-height: 28px;
} */

/*/// $Portfolio ///*/

.mid-content {
	/* background: linear-gradient(#F7F7FC, #fff);*/
	background-color: white;
	text-align: center;
	padding: 20px 0;
	color: #000060;
}

.mid-content.bg:before {
	content: "";
	position: absolute;
	width: 1000%;
	height: 1000%;
	top: -500%;
	left: -500%;
	z-index: -1;
	background: url(../img/bg_pattern.svg) 0 0 repeat #003064;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.bricklet {
	padding: 64px 0;
}

.bricklet h4 {
	margin: 56px 0 20px;
}

.bricklet p {
	color: #4E5053;
}

.tab-container {
	margin: 40px 0 0;
}

#tab1,
#tab2,
#tab3,
#tab4 {
	height: 100%;
}

.tab-pane {
    display:none;
}

.tab-pane.active {
    display:block;
}

.pills {
	position: relative;
	margin: 20px auto;
	padding: 0;
	list-style: none;
}

.pills li {
	display: inline-block;
	width: 160px;
	margin: 0 10px;
}

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
	display: inline-block;
	border: 1px solid;
	padding: 10px 0;
	border-radius: 3px;
	text-align: center;
	position: relative;
	background-color: transparent;
	font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.button.button-pri,
button.button-pri,
input[type="submit"].button-pri,
input[type="reset"].button-pri,
input[type="button"].button-pri {
	background-color: #35C8E5;
	border-color: #35C8E5;
	color: #fff;
	position: relative;
	overflow: hidden;
}

.button.button-pri:hover,
button.button-pri:hover,
input[type="submit"].button-pri:hover,
input[type="reset"].button-pri:hover,
input[type="button"].button-pri:hover,
.button.button-pri:focus,
button.button-pri:focus,
input[type="submit"].button-pri:focus,
input[type="reset"].button-pri:focus,
input[type="button"].button-pri:focus {
	color: #FFF;
	border-color: #9AE4F2;
	background-color: #35BBD7;
}

.button.button-sec,
button.button-sec,
input[type="submit"].button-sec,
input[type="reset"].button-sec,
input[type="button"].button-sec {
	border-color: #8F99A3;
	color: #35485A;
}
  
.button.button-sec:hover,
button.button-sec:hover,
input[type="submit"].button-sec:hover,
input[type="reset"].button-sec:hover,
input[type="button"].button-sec:hover,
.button.button-sec:focus,
button.button-sec:focus,
input[type="submit"].button-sec:focus,
input[type="reset"].button-sec:focus,
input[type="button"].button-sec:focus {
	border-color: #35485A;
	color: #35485A;
	background-color: #fff;
	background-color: rgba(255,255,255,0.5)
}

.button.button-sec.active,
button.button-sec.active,
input[type="submit"].button-sec.active,
input[type="reset"].button-sec.active,
input[type="button"].button-sec.active {
	background-color: #35485A;
	border-color: #35485A;
	color: #fff;
}

.button.button-ter,
button.button-ter,
input[type="submit"].button-ter,
input[type="reset"].button-ter,
input[type="button"].button-ter {
    border-color: #03cae7;
    color: #03cae7;
}

.button.button-ter:hover,
button.button-ter:hover,
input[type="submit"].button-ter:hover,
input[type="reset"].button-ter:hover,
input[type="button"].button-ter:hover,
.button.button-ter:focus,
button.button-ter:focus,
input[type="submit"].button-ter:focus,
input[type="reset"].button-ter:focus,
input[type="button"].button-ter:focus {
	color: #FFF;
	border-color: #FFF;
}

.button.margin-fix,
button.margin-fix,
input[type="submit"].margin-fix,
input[type="reset"].margin-fix,
input[type="button"].margin-fix {
	display: block;
	position: relative;
	margin: 20px auto;
	padding-left: 10px;
	padding-right: 10px;
}

.pills li .button {
	width: 160px;
}

.icon {
	display: block;
	height: 20px;
	width: 20px;
	margin: 0 7px 0 10px;
	float: left;
}

.pills li a p {
	float: left;
	line-height: auto;
	padding: 0;
	margin: 0 auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.pills li a span {
	display: block;
	float: left;
	height: 20px;
	width: 20px;
	margin: 0 7px 0 10px;
}

.ico-web {
	background: url(../img/icon-sprite) 0 0; 
}

.pills a.active .ico-web {
	background: url(../img/icon-sprite) 0 -20px;
}

.ico-lp {
	background: url(../img/icon-sprite) -20px 0; 
}

.pills a.active .ico-lp {
	background: url(../img/icon-sprite) -20px -20px;
}

.ico-eb {
	background: url(../img/icon-sprite) -40px 0; 
}

.pills a.active span.ico-eb {
	background: url(../img/icon-sprite) -40px -20px;
}

.ico-ec {
	background: url(../img/icon-sprite) -60px 0; 
}

.pills a.active .ico-ec {
	background: url(../img/icon-sprite) -60px -20px;
}

.roboto {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 22px;	
}

.grid {
	padding: 0 20px 40px 20px;
	max-width: 1300px;
	margin: 0 auto;
	list-style: none;
	text-align: center;
}

.grid li {
	display: inline-block;
	/* width: 30%;
	margin: 10px 5px; */
	text-align: left;
	position: relative;
	background-color: #fff;
	border: 1px solid #cbcbcb;
	color: #fff;
	
	-webkit-border-radius: 3px;
       -moz-border-radius: 3px;
        -ms-border-radius: 3px;
	     -o-border-radius: 3px;
		    border-radius: 3px;
	
	-webkit-box-shadow: 0 1px 3px #AEAEAE;
	   -moz-box-shadow: 0 1px 3px #AEAEAE;
	    -ms-box-shadow: 0 1px 3px #AEAEAE;
	     -o-box-shadow: 0 1px 3px #AEAEAE;
		    box-shadow: 0 1px 3px #AEAEAE;
}

.grid figure {
	margin: 0;
	position: relative;
}

.grid figure img {
	max-width: 100%;
	display: block;
	position: relative;
}

.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0 20px;
	background-color: rgba(0,0,96,0.90);
	color: #fff;
	font-weight: 400;
	margin: 0;
}

.grid figcaption h3 {
	font-family: 'Roboto', 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: 1.6em;
	line-height: 1.25em;
    margin: 15px 0 0;
    padding: 0;
    color: #fff;
}

.grid figcaption h4 {
	font-size: 1em;
    margin: 0 0 10px;
    padding: 0;
    color: #fff;
}

.grid figcaption em {
	display: block;
	font-size: 1.1em;
	padding: 3px 0;
	color: #999;
	font-family: 'Titillium Web', sans-serif;
	font-weight: 200;
	font-style: italic;
}

.grid figcaption span:before {
	content: 'Role: ';
}

.grid figcaption span {
	display: block;
	width: 100%;
	margin: 10px 0 0;
}

.grid figcaption a {
    text-align: center;
    padding: 5px 10px;
    border-radius: 2px;
    display: inline-block;
    color: #ed4e6e;
}

.grid figcaption a:hover,
.button-sec:hover {
    border-color: #fff;
	color: #fff;
}

a.view-detail {
	position: relative;
	margin: 0 auto;
	bottom: 40px;
}

.cs-style-4 li {
	-webkit-perspective: 1700px;
	-moz-perspective: 1700px;
	perspective: 1700px;
	-webkit-perspective-origin: 0 50%;
	-moz-perspective-origin: 0 50%;
	perspective-origin: 0 50%;
}

.cs-style-4.formative li {
	width: 20%;
}

.cs-style-4 figure {
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.cs-style-4 figure > div {
	overflow: hidden;
}

.cs-style-4 figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .cs-style-4 figure:hover img,
.cs-style-4 figure.cs-hover img {
	-webkit-transform: translateX(25%);
	-moz-transform: translateX(25%);
	-ms-transform: translateX(25%);
	transform: translateX(25%);
}

.cs-style-4 figcaption {
	height: 100%;
	width: 75%;
	min-width: 50%;
	max-width: 60%;
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: rotateY(-90deg);
	-moz-transform: rotateY(-90deg);
	transform: rotateY(-90deg);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .cs-style-4 figure:hover figcaption,
.cs-style-4 figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	transform: rotateY(0deg);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.cs-style-4 figcaption a {
	margin: 6em 0 0;
}

/*/// end $Portfolio ///*/

footer {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	color: #fff;
}

textarea {
	width: 100%;
	border-radius: 5px;
	display: block;
}

/* Style the text boxes */

label {
    display: block;
    margin-top: 1em;
    letter-spacing: 0.01em;
	font: 1em/1.5em 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.colophon {
	margin: 5em 0 0;
	padding: 2em;
	font-weight: 100;
	background: rgba(0,0,0,0.25);
	text-shadow: 0 -1px 0 #000;
	border-radius: 5px;
	webkit-border-radius: 5px;
	   moz-border-radius: 5px;
	    ms-border-radius: 5px;	
}

.colophon h4 {
	margin: 0 0 1em;
}

.info-video {
	text-align: center;
	font-weight: bold;
}

.info-video span {
	display: block;
}

/*/// $Resume ///*/

aside p {
	font-size: 16px;
	line-height: 24px;
}

.job-more {
	display: none;
}

.job-hover {
	background-color: #fff;
}

/* ==============
    MOBILE: Menu
   ============== */

h1.title {
	position: relative;
	margin: 36px auto;
}

figcaption h1 {
	font-size: 13px;
	font-weight: 800;
	font-family: 'Roboto', sans-serif;
}

nav li {
	display: block;
}

nav a {
	color: #fff;
    display: block;
    margin-bottom: 10px;
    text-align: center;
    text-decoration: none;
}

nav a:hover {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 30px 0;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}


/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

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

nav a {
	font-size: 1em;
	font-weight: normal;
	font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 600;
	letter-spacing: .05em;
}

nav a:hover {
	text-decoration: none;
}

nav a.active {
	color: #fff;	
}

nav ul {
	list-style-type: none;
}

nav ul li {
	text-transform: uppercase;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

nav ul li:last-child {
	margin: 0;
	padding: 0;
}

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

/* ==========================================================================
   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;
}

.full-width {
	width: 100%;
	box-sizing: border-box;
}

.pull-right {
	float: right;
}

.pull-left {
	float: left;
}

.grid li {
	width: 100%;
	/* max-width: 400px;
	width: 90%;
	max-width: 400px; */
	position: relative;
	margin: 5px;
}

.center {
	position: relative;
	text-align: center;
	margin: 0 auto;
}

nav ul {
	margin: 20px 0;
	padding: 0;
	text-align: center;
}

@media only screen and (max-width: 480px) {

h1 {
	margin: 0 auto;
}

.about h1 { /* there is another declaration */
	font-size: 40px;
	line-height: 1.4;
	letter-spacing: -1px;
	color: inherit;
	margin: 0;
}

}

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

/* ====================
    INTERMEDIATE: Menu
   ==================== */
 
nav {
	position: relative;
	margin: 3em auto 0;
}

nav a {
	float: left;
}

nav ul li.selected a {
	margin-bottom: 5px;
}

nav li:first-child a {
	margin-left: 0;
}

nav li:last-child a {
	margin-right: 0;
}

.wrapper {
	width: 90%;
}

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

nav ul li {
	margin: 0 2em 0 0;
	display: inline-block;
}

.oldie nav a {
	margin: 0 0.7%;
}

nav ul {
	margin: 20px 0;
	padding: 0;
	text-align: center;
}

}

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

/* ====================
    WIDE: CSS3 Effects
   ==================== */

nav ul {
	position: relative;
	width: 400px;
	text-align: center;
	margin: -1.25em auto 0 auto;
}

.grid li {
	width: 45%;
}

header.wrapper {
	 height: 100px;
}

nav ul {
	width: auto;
	margin: 4.25em 0 0;
}

nav ul li {
	display: inline-block;
	margin: 0 20px 0 0;
}

.main aside {
	-webkit-box-shadow: 0 5px 10px #000;
	   -moz-box-shadow: 0 5px 10px #000;
			box-shadow: 0 5px 10px #000;
}

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
		left: 0;
    }

    nav {
        float: right;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }

	

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

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 90%; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

	.grid li {
		width: 30%;
	}


/* ==========================================================================
   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;
    }
}