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


.masonry {
    -moz-column-count: 5;
    -webkit-column-count: 5;
    column-count: 5;
}

}


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

nav {
	left: -100%;
}

aside:hover footer {
	padding-right: 0;
}

.masonry {
    -moz-column-count: 4;
    -webkit-column-count: 4;
    column-count: 4;
}

}



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

article {
	position: relative;
  	height: auto;
  	width: 100%;
	background: #FFF;
	overflow: visible;
}

article.centered {
	top: 0;
  	-webkit-transform: translate(0);
	-ms-transform: translate(0);
  	transform: translate(0);
}

article:before {
 	content: '';
  	position: absolute;
  	z-index: 999;
  	left: 0;
  	width: 100%;
  	height: 100%;
  	background: #FFF;
}

article:after {
 	content: '';
  	position: absolute;
  	z-index: 99;
  	left: 0;
  	width: 100%;
  	height: 300px;
  	background: #FFF;
	-webkit-appearance: none;
  	-webkit-transform-origin: 100% 0;
  	-ms-transform-origin: 100% 0;
  	transform-origin: 100% 0;
  	-webkit-transform: skew(94deg);
	-moz-transform: skew(94deg);
  	-ms-transform: skew(94deg);
	-o-transform: skew(94deg);
  	transform: skew(94deg);
	-webkit-box-shadow: 0 0 180px 0 rgba(0,0,0,0.8); -moz-box-shadow: 0 0 180px 0 rgba(0,0,0,0.8); box-shadow: 0 0 180px 0 rgba(0,0,0,0.8);
	
}

article .wrapper {
  	padding: 130px 100px 60px 100px;
}

#loading {
    right: auto;
    top: auto;
	bottom: 20px;
	left: 20px;
	text-align: left;
}


aside {
  	width: 100%;	
}

aside:hover  {
  	width: 100%;
}

aside:after {
  	display: none;
}

aside:hover:after {
  	width: 100%;
}

aside:before {
	height: 60px;
	background: -moz-linear-gradient(top, #001D6D 0px, rgba(0,29,109,0) 60px);
	background: -webkit-linear-gradient(top, #001D6D 0px, rgba(0,29,109,0) 60px);
	background: linear-gradient(top, #001D6D 0px, rgba(0,29,109,0) 60px);	
}

.masonry {
    -moz-column-count: 8;
    -webkit-column-count: 8;
    column-count: 8;
	top: 30%;
  	-webkit-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
  	transform: translate(0, 0);
}

footer:after {
	height: 300px;
	background: -moz-linear-gradient(bottom, #001D6D 0px, rgba(0,29,109,0) 300px);
	background: -webkit-linear-gradient(bottom, #001D6D 0px, rgba(0,29,109,0) 300px);
	background: linear-gradient(bottom, #001D6D 0px, rgba(0,29,109,0) 300px);	
}


}



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

article .wrapper {
  	padding: 130px 100px 90px 100px;
}


.masonry {
    -moz-column-count: 7;
    -webkit-column-count: 7;
    column-count: 7;
}




}



@media screen and (max-width: 767px) {
	
body {	
	font-size: 15px;
	line-height: 25px;
}

header {
	display: block;
	width: 100%; 
	height: 63px;
	z-index: 9999997;
	position: fixed;
	top: 0;
	background: #FFF;
	transition: all 0.4s ease-in; -moz-transition: all 0.4s ease-in; -webkit-transition: all 0.4s ease-in; -o-transition: all 0.4s ease-in; -ms-transition: all 0.4s ease-in;
}

header.sticky {
	-webkit-box-shadow: 0 0 8px 0 rgba(0,0,0,0.15); -moz-box-shadow: 0 0 8px 0 rgba(0,0,0,0.15); box-shadow: 0 0 8px 0 rgba(0,0,0,0.15);
}

header img {
	float: left;
	width: 130px;
	margin: 21px 20px 0 20px;
	transition: all 0.4s ease-in; -moz-transition: all 0.4s ease-in; -webkit-transition: all 0.4s ease-in; -o-transition: all 0.4s ease-in; -ms-transition: all 0.4s ease-in;
}

.toggle-nav   {
	background: none;
	top: 0;
	left: auto;
	right: 0;
	padding: 24px 18px 19px 18px;
}

.toggle-nav div span {
  	background: #8EB930;
}

nav {
    width: 100%;
	overflow-x: hidden;
	padding-left: 20px;
	background: #FFF;
}

nav img {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9;
	margin: 21px 20px 0 20px;
	width: 130px;
	opacity: 0;
  	transition: all 0.9s; -moz-transition: all 0.9s; -webkit-transition: all 0.9s; -o-transition: all 0.9s; -ms-transition: all 0.9s;
	-webkit-transition-delay: 0.4s;
  	-moz-transition-delay: 0.4s;
  	-o-transition-delay: 0.4s;
 	 transition-delay: 0.4s;
}

nav img.active {
	opacity: 1;
}

nav:after {
	display: none;
}

nav ul {
  	margin: 93px 0 30px 0;
	width: 100%;
}

nav ul > li > a {
  	padding: 14px 50px 14px 0;
}

nav .contact {
	margin: 30px 0;   
}

nav .contact h2 {
	font-size: 21px;
	line-height: 35px;
	font-weight: 300;
	margin: 0 0 4px 0;
}


article .wrapper {
  	padding: 103px 20px 40px 20px;
}

aside {
	padding: 0 6px;
}

article:after {
  	height: 210px;
}

.masonry {
	 margin: 0 6px 6px 6px;
}

.masonry li {
    margin: 0 0 6px 0;
}


h1  {
	font-size: 35px;
	line-height: 46px;
	letter-spacing: 0;
}

h2 {
	font-size: 19px;
	line-height: 29px;
}

h3, h4 {
	font-size: 19px;
	line-height: 29px;
}

h5 {
	font-size: 13px;
	line-height: 13px;
}


.box a  {
	font-size: 27px;
	line-height: 38px;
	margin: 0 0 10px 0;
}


.box:before {
    height:21px;
    width: 21px;
	line-height: 38px;
	margin: 0 12px 0 0;
	box-shadow: none;
	-moz-box-shadow: none;
  	-webkit-box-shadow: none;
}

.box:hover:before {
	box-shadow:  none;
	-moz-box-shadow:  none;
  	-webkit-box-shadow:  none;
	margin: 0 12px 0 0;
}

.boxlink a {
	font-size: 23px;
	line-height: 33px;
	font-weight: 100;
}

.boxlink a:hover {
	color: #001D6D;
}

.boxlink a:visited {
	color: #001D6D;
}

.boxlink a:active {
	color: #001D6D;
}

.boxlink:before {
    height:19px;
    width: 19px;
	margin: 0 12px 0 0;
	box-shadow: none;
	-moz-box-shadow: none;
  	-webkit-box-shadow: none;
}

.box:hover:before, .boxlink:hover:before{
	box-shadow:  none;
	-moz-box-shadow:  none;
  	-webkit-box-shadow:  none;
	margin-right: 12px;
}

.firstcharacter {
	font-size: 50px;
	line-height: 47px;
}




input:not([type]), input[type="text"]{
	font-size: 15px; 

}

textarea {
	font-size: 15px;
	line-height: 25px;
}

select {
	font-size: 15px;
}

button[type="button"], button[type="submit"]{
	font-size: 19px;
	line-height: 19px;
}

footer:after {
	height: 150px;
	background: -moz-linear-gradient(bottom, #001D6D 0px, rgba(0,29,109,0) 150px);
	background: -webkit-linear-gradient(bottom, #001D6D 0px, rgba(0,29,109,0) 150px);
	background: linear-gradient(bottom, #001D6D 0px, rgba(0,29,109,0) 150px);	
}


footer .wrapper {
	padding: 20px;
}

footer img {
	display: none;
}



}


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

.masonry {
    -moz-column-count: 5;
    -webkit-column-count: 5;
    column-count: 5;
}

}