/* Reset
-------------------------------------------------------------- */

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

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}

q:before,
q:after,
blockquote:before,
blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

/* RWD Resets
-------------------------------------------------------------- */

html {
	overflow-y: auto;
	-webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape */
	}

img, video {
	max-width: 100%;
	height: auto;
	}


/* Grid
-------------------------------------------------------------- */
* {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

@viewport {
	width: device-width;
}

.wrapper {
	width: 85%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1.5em;
	max-width: 1200px;
	*zoom: 1; /* triggers hasLayout for IE */
}

.grid {
    @include clearfix;
    margin: 0 -1.5em;
}

.grid-unit {
    box-sizing: border-box;
    display: block;
    float: left;
    padding: 0 1.5em;
    width: 100%;
}

.halves .grid-unit {
    width: 100%;
}

.quarters .grid-unit {
    width: 100%;
}

/* Typography
-------------------------------------------------------------- */

body {
	font-family: "dejarip",sans-serif;
	color: #5c5c5c;
	background: #fff;
	line-height: 1.3;
}

h1 {
	margin-bottom: 0.5em;
}

h1.logo {
	font-size: 2.5em;
	font-weight: 700;
	color: #4f89ce;
	line-height:1;
}

h2 {
	font-size: 1.75em;
	font-weight: 700;
	margin-bottom: 0.75em;
}

h3, label {
	font-size: 1.2em;
	font-weight: 700;
}

h4 {
	font-weight: 700;
}

.fullwidth {
	clear: both;
	border-bottom: 2px dotted #c0ddfb;
	border-top: 2px dotted #c0ddfb;
	padding: 1.5em 0;
	margin-bottom: 1.5em;
}

hr {
	clear: both;
	border: none; 
	border-top: 2px dotted #c0ddfb;
	margin-bottom: 1.5em;
}

.fullwidth h1 {
	margin-bottom: 0;
}

p, ul {
	margin: 0 0 1.5em 0;
	line-height: 1.4;
}

.back-to-top {
	float: left;
	line-height: 1.4;
}

.back-to-top:before {
content: "▲ ";
}

.legal {
	float: right;
}

.testimonial h1 {
	color: #82b6ec;
	font-style: italic;
	margin-bottom: 1em;
}

.testimonial .first {
	margin-bottom: 1.5em;
}

.testimonial p {
	color: #b0b0b0;
	margin-bottom: 0;
	/* text-align: center; */
	
}

.testimonial p span {
	color: #858585;
}

.clients h3,
.clients h4 {
	margin-bottom: 1em;
}

.clients li {
	line-height:1.3;
	padding:0.375em 0;
	/*margin-bottom: .75em;*/
}

.conversation h3 {
	margin-bottom: 0.5em;
}

dt {
	font-style: italic;
	margin: 0 0 0.75em 0;
}

dd {
	margin: 0 0 0.75em 1em;
}

strong {
	font-weight: 700;
}


/* Navigation
-------------------------------------------------------------- */

a {
	text-decoration: none;
	color: #4f89ce;
}

a:hover {
	color: #82b6ec;
}

a.menu-link {
	float: right;
	display: block;
	padding: 1em;
	color: #ffffff;
}

nav[role=navigation] {
	clear: both;
	-webkit-transition: all 0.3s ease-out;  
	-moz-transition: all 0.3s ease-out;
	-ms-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
.js nav[role=navigation] {
	overflow: hidden;
	max-height: 0;
}
nav[role=navigation].active {
	max-height: 15em;
}
nav[role=navigation] ul {
	margin: 0;
	padding: 0;
	border-top: 1px solid #ffffff;
}
.menu-block {
	background-color: #4f89ce;
}

nav[role=navigation] li a {
	display: block;
	padding: 1em;
	border-bottom: 1px solid #ffffff;
	color: #ffffff;
}
nav[role=navigation] li a:hover{
	background-color: #82b6ec;
}

nav.filter ul li {
	display: inline;
}

nav.filter ul li:before {
	content: " | ";
}

nav.filter ul li:first-child:before {
	content: none;
}

/* was main menu 

.main {
	font-size: 1.5em;
	line-height: 3em;
}

.main ul {
	font-weight: 700;
}

.main ul li {
	display: inline-block;
	zoom: 1; /* triggers hasLayout for IE */
	/* *display: inline;  target IE7 only 
	margin-right: 2em;
}

.main ul li:first-child {
	margin-left: 2em;
}
.main ul li:last-child {
	margin-right: 0;
}

.main a {
	color: #313131;
}

.main a:hover {
	color: #82b6ec;
} */

/* Media
-------------------------------------------------------------- */

/* Layout
-------------------------------------------------------------- */

header {
	/*margin: 4em 0 3em 0;*/
	overflow: hidden;
	width: 100%
}

section {
	overflow: hidden;
}

section.clients {
	overflow: hidden;
	/* padding-bottom: 1em; */
}



/* Mosaicflow
-------------------------------------------------------------- */

.gallery-nav {
	margin: 0;
}

.gallery {
	/* @include clearfix; */
    margin: 0 -0.5em;
}

.mosaicflow__column {
	float: left;
}
.mosaicflow__item {
	position: relative;
	padding: 0.5em;
}
.mosaicflow__item img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    border: solid 1px #eaeaea;
}

.mosaicflow__item h3 {
	margin-top: 1em;
}

.mosaicflow__item p {
	margin-top: 1em;
}



/* Contact
-------------------------------------------------------------- */

fieldset {
	margin: 0 auto;
}

input, select, textarea {
	padding: .75em;
	font-size: 1em;
	line-height: 1.5em;
	color: #222;
	background: #e5edf8; /* Fallback colour */
	background: rgba(79, 137, 206, 0.15);
	border: none;
	margin-bottom: 1.4em;
	margin-top: 0.5em;
	-webkit-appearance: none;
	border-radius: 0;
}

textarea {
	height: 10em;
}

input, input[type=search], select, textarea {
	width: 100%;
}

button {
	cursor: pointer;
}

button, .btn:link, input[type=submit] {
	color: #fff;
	font-size: 1em;
	line-height: 1.5em;
	text-align: center;
	margin-bottom: 2em;
}

button.submit {
	display: block;
	background: #4f89ce;
	border: none;
	padding: .75em 1.5em;
}

.feedback {
	display: none;
	color: #f38e15;
}

/* Media queries
-------------------------------------------------------------- */

@media screen and (min-width: 40em) {
	.wrapper {
		margin-top: 0em;
	}
	h1.logo{
		margin-top: 1.25em;
	}
	h1 {
		margin-bottom: 1.25em;
	}
	.home ul {
		margin: 0;
	}
	.fullwidth {
		padding: 3em 0;
		margin-bottom: 1.5em;
	}
	.fullwidth h1 {
		font-size: 2em;
	}
	section {
		padding: 1.5em 0;
	}	
	header{
		width: 85%;
		margin-left: auto;
		margin-right: auto;
		max-width: 1200px;
		margin-bottom:-5.5em;
		margin-top:3.5em;
	}
	.menu-block{
		background-color:#FFF;
		display:inline-block;
		float:right;
		margin-top:0em;
	}
	a.menu-link {
		display: none;
	}
	.js nav[role=navigation] {
		max-height: none;
	}
	nav[role=navigation] ul {
		margin: 0 0 0 -0.25em;
		border: 0;
	}
	nav[role=navigation]  li {
		display: inline-block;
		margin: 0 0.25em;
		line-height:1;
	}
	nav[role=navigation]  li:last-child{
		margin-right:0;
	}
	nav[role=navigation] li a {
		border: 0;
		padding-bottom:0;
		font-size:1.4em;
		font-weight: 700;
		color: #5C5C5C;
	}
	nav[role=navigation] li a:hover{
		background-color:#fff;
	}
	nav[role=navigation]  li:last-child a{
		padding-right:0;
	}
	.halves .grid-unit {
    	width: 50%;
	}
	.quarters .grid-unit {
		width: 25%;
	}
	nav.filter{
		margin-top:2em;
	}
}



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

	h3, label {
		font-size: 1.4em;
	}	
	.home h3 {
		font-size: 1.2em;
	}
	.fullwidth {
		padding: 3em 0;	
	}
	.fullwidth h1 {
		padding: 0 2.5em;
		text-align: center;
		font-size: 2em;
	}	
	.testimonial p {
		font-size: 1.4em;
		text-align: center;
	}
	.gallery {
		margin: 0 -1em;
	}	
	.mosaicflow__item {
		padding: 1em;	
	}	
	.footer {
		overflow: auto;
		padding: 1em 0;
	}

}




