/********************************* Credits ************************************

Version 1.8
Built by Visualist
http://visuali.st
CSS by Nic Wistreich, August 2014
Using Gridism, Smoothscroll and Isotope.

WE ARE BOOTSTRAP FREE!


/********************************* Contents ************************************

1. Credits
2. Contents
3. Colours
4. Imports
5. Type
6. Navigation
7. Pages
8. Page specific
9. Media queries
10. Block specific
11. Ubercart specific



/********************************* Colours ************************************

body {
	font-family: 'Lato', serif;
	font-weight: 300;
	margin: 0 0;
	padding: 0 0;
}
p {
	font-size: 18px;
	line-height: 32px;
}
a, a:focus {
	color: #555;
	text-decoration: none;
}
a:hover {
	text-decoration: none;
	color: #000;
}
#partners a, #services a {
	color: #000;
	border-bottom: 4px solid #ddd;
}
#partners a:hover, #partners a:focus,
#services a:hover, #services a:focus {
	border-bottom: 4px solid #46abe1;
	color: #000;
}
a:active, a:onclick {
	color: #46abe1;
	text-decoration: none;
}*/
.portrait_right {
	position: absolute;
	bottom: 0px;
	right: 0px;
}
.sideimage {
	float: left;
	margin: -10px 10px -10px -10px;
}

/* Isotope */

#isocontainer .item { 
	width:20%;
}
#isocontainer .item.x2 { 
	width:40%;
}
.masonry-gutter .item.x2 {
	margin-bottom:10px;
}
#isocontainer .inside {
	padding: 8px;
	background-color: #fff;
	margin: 10px 10px 0px 0px;
	min-height: 160px;
	overflow-x: hidden;
}

#isocontainer .dtstart {
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 700;
	color: #888;
	text-align: right;
	line-height: 16px;
	margin: 0;
}
#isocontainer h3 {
	font-family: 'Antic Slab', sans-serif;
	color: #4f6fba;
	font-size: 24px;
	line-height: 28px;
	font-weight: 400;
	margin: 6px 0px 6px 0px;
}
#isocontainer .p-role {
	line-height: 19px;
	font-size: 15px;	
	color: #333;
	font-weight: 400;
	margin: 12px 0px 0px 0px;
}
#isocontainer .p-summary, #isocontainer .p-link {
	line-height: 16px;
	font-size: 13px;
	margin:5px 0px 0px 0px;
}
#isocontainer .p-link {
	text-align: right;
	color: #888;
}
#isocontainer .p-link a:hover, #isocontainer .p-link a:focus {
	text-decoration: underline;
	color: #555;
}

/* ---- button ---- */

.button {
  font-family: 'Antic Slab', sans-serif;
  display: inline-block;
  padding: 0.2em 1.1em;
  background: #4f6fba;
  border: none;
  border-radius: 0px;
/*  background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );*/
  color: #fff;
  font-size: 21px;
  font-weight: 400;
  text-shadow: 0 1px white;
  cursor: pointer;
  margin-right:5px;
 }

.button:hover {
  background-color: #fff;
  opacity: 0.7;
  text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
  color: #222;
}

.button:active,
.button.is-checked {
  background-color: #28F;
}

.button.is-checked {
  color: white;
  text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

#work {
	padding-bottom: 200px;
	background: #4f6fba;
}
#services, #work, #partners, #contact, #home {
	min-height: 100vh;
}
#home {
	background: #4f6fba;
	color: #fff !important;
}
#research {
	background: #46abe1;
	padding-bottom: 50px;
}
#writing {
	padding-top: 100px;
	padding-bottom: 200px;
}
#web {
	background: #eee;
	padding-bottom: 200px;
}
#services, #partners {
	background: #fff;
	padding-bottom: 200px;
}
#menu {
	top: 0px;
	position: fixed;
	min-height: 65px;
	float: left;
	z-index: 200;
	width: 100%;
	background-color: #fff;
	opacity: 0.6;
	border-top: 1px solid #888;
}
#menu ul {
	margin: 0;
	padding: 17px 0px 0px 0px;
	list-style-type: none;
}
#menu ul li { 
	display: inline; 
	margin-right: 20px;
	padding-right: 20px;
	}
#menu a {
	text-decoration: none;
	color: #888;
	font-size: 28px;
	padding-top: 7px;
	font-weight: 300;
	text-transform: uppercase;
	font-family: 'Codystar', serif;

}
#menu a:hover {
	text-decoration: none;
	color: #000;
	border-bottom: 4px solid #46abe1;
	background-color: #fff !important;
}
#menu a:focus {
	color: #000;
}
h1 {
	font-family: 'Codystar', sans-serif;
	color: #1b3163;
	font-size: 111px;
	margin-bottom:-0.5em;
	margin-top: 0;
	font-weight: 400;
	text-transform: uppercase;
}

H2, h3, h4, h6 {
	font-family: 'Antic Slab', serif;
	font-weight: 700;
}
h3 {
	color: #46abe1;
	font-size: 38px;
	line-height: 45px;
	margin: 1.1em 0em;
	font-weight: normal;
}
h4 {
	font-family: 'Amatic SC', sans-serif;
	color: #46abe1;
	font-size: 2.2em;
	line-height: 1.4em;
	margin-bottom: -5px;
}
h5 {
	font-family: 'Amatic SC', sans-serif;
	color: #555;
	font-size: 1.4em;
	line-height: 1.4em;
	margin-bottom: -11px;
	text-transform: uppercase;
}
p.credit {
	font-size: 20px; 
	margin: 0px; 
	font-style: italic;
	text-align: center;
}
p.intro {
	font-family: 'Antic Slab', serif;
	color: #46abe1;
	font-size: 28px;
	line-height: 45px;
	margin: 2.1em 0em;
	font-weight: normal;
	color: #fff;
}

#services .grid p, #partners .grid p {
	font-size: 16px;
	line-height: 24px;
}
#services h3, #partners h3 {
	font-family: 'Antic Slab', sans-serif;
	color: #4f6fba;
	font-size: 1.8em;
	line-height: 1.4em;
	margin-bottom: -5px;
	text-align: center;
	margin:15px 0px 0px 0px;
	text-transform: uppercase;
}
.pager {padding: 0px 180px 0 180px;}

#home h1 {
	padding-top: 200px;
	color: lightskyblue;
}
#work h2, #services h2, #partners h2, #contact h2 {
	font-family: 'Codystar', sans-serif;
	color: #4f6fba;
	font-size: 100px;
	margin-bottom:-0.5em;
	margin-top: 0;
	font-weight: 400;
	text-transform: uppercase;
}
#work h2 {
	padding: 90px 0px 65px;
	color: #fff;
}
#services h2, #partners h2 {
	margin-bottom: 30px;
}
#services h2, #contact h2, #partners h2 {
	padding-top: 100px;
}
#contact h2 {
	padding-bottom: 30px;
}
#about a, #contact a {
	color: #777 !important;
}
#research a {
	float: right;
}
#research a:hover {
	text-decoration: underline;
	color: #000;
}
#about p {
	color: #ddd;
}
#contact {
	background: #333;;
}
#contact h2, #contact h3, #contact p {
	color: #fff;
}


/*
 * Gridism
 * A simple, responsive, and handy CSS grid by @cobyism
 * https://github.com/cobyism/gridism
 */

/* Preserve some sanity */
.grid,
.unit {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Set up some rules to govern the grid */
.grid {
  display: block;
  clear: both;
}
.grid .unit {
  float: left;
  width: 100%;
  padding-right: 20px;
}

/* This ensures the outer gutters are equal to the (doubled) inner gutters. */
.grid .unit:first-child { padding-left: 0px; }
.grid .unit:last-child { padding-right: 0px; }

/* Nested grids already have padding though, so let‰Ûªs nuke it */
.unit .unit:first-child { padding-left: 0; }
.unit .unit:last-child { padding-right: 0; }
.unit .grid:first-child > .unit { padding-top: 0; }
.unit .grid:last-child > .unit { padding-bottom: 0; }

/* Let people nuke the gutters/padding completely in a couple of ways */
.no-gutters .unit,
.unit.no-gutters {
  padding: 0 !important;
}

/* Wrapping at a maximum width is optional */
.wrap .grid,
.grid.wrap {
  max-width: 1100px;
}

/* Width classes also have shorthand versions numbered as fractions
 * For example: for a grid unit 1/3 (one third) of the parent width,
 * simply apply class="w-1-3" to the element. */
.grid .whole,          .grid .w-1-1 { width: 100%; }
.grid .half,           .grid .w-1-2 { width: 50%; }
.grid .one-third,      .grid .w-1-3 { width: 33.3332%; }
.grid .two-thirds,     .grid .w-2-3 { width: 66.6665%; }
.grid .one-quarter,    .grid .w-1-4 { width: 25%; }
.grid .three-quarters, .grid .w-3-4 { width: 75%; }
.grid .one-fifth,      .grid .w-1-5 { width: 20%; }
.grid .two-fifths,     .grid .w-2-5 { width: 40%; }
.grid .three-fifths,   .grid .w-3-5 { width: 60%; }
.grid .four-fifths,    .grid .w-4-5 { width: 80%; }
.grid .golden-small,   .grid .w-g-s { width: 38.2716%; } /* Golden section: smaller piece */
.grid .golden-large,   .grid .w-g-l { width: 61.7283%; } /* Golden section: larger piece */

/* Clearfix after every .grid */
.grid {
  *zoom: 1;
}
.grid:before, .grid:after {
  display: table;
  content: "";
  line-height: 0;
}
.grid:after {
  clear: both;
}

/* Utility classes */
.align-center { text-align: center; }
.align-left   { text-align: left; }
.align-right  { text-align: right; }
.pull-left    { float: left; }
.pull-right   { float: right; }

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

.pager {
	padding: 0px 80px 0 80px;
	clear: both;
}
#isocontainer .item, #isocontainer .item.x2 {
    width: 50%;
}
#isocontainer .inside {
	max-height: 220px;
	min-height: 100px;
}

/* Responsive Stuff */
@media screen and (max-width: 568px) {

.pager {
	padding: 0px 10px 0 10px;
	clear: both;
}
#isocontainer .item, #isocontainer .item.x2 {
    width: 100%;
}
#isocontainer .inside {
	max-height: 220px;
	min-height: 100px;
}


  /* Stack anything that isn‰Ûªt full-width on smaller screens */
  .grid .unit {
    width: 100% !important;
    padding-left: 0px;
    padding-right: 0px;
  }
  .unit .grid .unit {
    padding-left: 0px;
    padding-right: 0px;
  }

  /* Sometimes, you just want to be different on small screens */
  .center-on-mobiles {
    text-align: center !important;
  }
  .hide-on-mobiles {
    display: none !important;
  }
}

/* Expand the wrap a bit further on larger screens */
@media screen and (min-width: 1180px) {
  .wider .grid {
    max-width: 100%;
    margin: 0 auto;
  }
 }
 
@media screen and (max-width: 1450px) {
  .portrait_right {
    display: none;
  }
}
@media screen and (max-width: 800px) {
  #menu a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    padding-top: 0px;
    font-family: 'Antic Slab', serif;
}
#menu ul li {
    margin-right: 0px;
    padding-right: 12px;
}
#menu {
	min-height: 42px;
	height: auto;
}
h1 {
	font-size: 73px;
}
#work h2, #services h2, #partners h2, #contact h2 {
	font-size: 70px;
}
}
@media screen and (max-width: 480px) {}
#menu ul {
	padding-top: 8px;
}
}
