@CHARSET "UTF-8";

@import url(http://fonts.googleapis.com/css?family=Ubuntu:300,400,700);

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  font-family: Ubuntu;
  font-weight: normal;
  font-style: normal;
  font-size: 11pt;  
}

body, html {
  height: 100%;
  overflow: hidden;  
}

.centered {
}

.wrapper {
  width: 100%;
  height: 300px;  
  font-size: 0;
  bottom: 0; /*calc(50% - 400px);*/
  left: 0; /*calc(50% - 400px);*/
  position: absolute;
}

.wrapper a {
  display: inline-block;
  width: 25%;
  height: 300px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.fadein {
  animation-name: fadein;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
  -webkit-animation-name: fadein;
  -webkit-animation-duration: 1s;
  -webkit-animation-iteration-count: 1;  
  -webkit-animation-fill-mode: both;
}

.blue {
  background: #1f57a4;
  animation-delay: 0.3s;  
}

.green {
  background: #81bb3f;
  animation-delay: 0.6s;
}

.teal {
  background: #129fca;
  animation-delay: 0.9s;
}

.orange {
  background: #ff8f1f;
  animation-delay: 1.2s;
}

.wrapper a img {
  opacity: 0.2;
  filter: saturate(0);
  -o-filter: saturate(0);
  -ms-filter: saturate(0);
  -moz-filter: saturate(0);
  -webkit-filter: saturate(0);
  transition: opacity 0.3s, filter 0.3s;
  -o-transition: opacity 0.3s, filter 0.3s;
  -ms-transition: opacity 0.3s, filter 0.3s;
  -moz-transition: opacity 0.3s, filter 0.3s;
  -webkit-transition: opacity 0.3s, filter 0.3s;
  position: absolute;
  top: calc(50% - 240px);
  left: calc(50% - 320px);  
}

.wrapper a:hover img {
  opacity: 0.5;
  filter: saturate(0.5);
}

.wrapper a span {
  font-weight: bold;
  text-shadow: 0 0 1px #000, 0 0 1px #000, 0 0 1px #000;
  position: absolute;
  top: calc(50% - 15pt);
  left: 0;
  height: 200px;
  width: 100%;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  z-index: 100;
  color: #fff;
  font-size: 30pt;
}

h1.banner {
  position: absolute;
  top: 0;
  left: calc(50% - 750px);
  animation-name: fall;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-fill-mode: both;  
}

@keyframes fadein {
  0% { opacity: 0 };
  100% { opacity: 1 };
}

@-webkit-keyframes fadein {
  0% { opacity: 0 };
  100% { opacity: 1 };
}

@keyframes fall {  
  0% { transform: translateY(-150px) };
  100% { transform: translateY(0) };
}

@-webkit-keyframes fall {
  0% { -webkit-transform: translateY(-150px) };
  100% { -webkit-transform: translateY(0) };
}

div.content {
  top: 190px;
  bottom: 310px;
  position: fixed;
  overflow-y: auto;
  left: 0;
  right: 0; 
  animation-name: fadein;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-fill-mode: both;
  -webkit-animation-name: fadein;
  -webkit-animation-duration: 1s;
  -webkit-animation-iteration-count: 1;  
  -webkit-animation-fill-mode: both;
  animation-delay: 0.8s;
}

div.inner {
  width: 975px;
  margin: 0 auto;
}

@media (max-height: 700px) {
  .wrapper a {
    height: 150px;
  }
  .wrapper {
    height: 150px;
  }
  div.content {
    bottom: 160px;
  }
  .wrapper a img {
    max-width: 100%;
    height: auto;
    left: 0;
    top: 0;  
  }
} 

@media (max-width: 1050px) {
  .wrapper a span {
    font-size: 20pt;
    top: calc(50% - 10pt);
  } 
}

@media (max-width: 800px) {
	
.wrapper{
	width:100%;
	position:static;
}	

.banner{
	display:none;
}

div.content{
	position:static;
}

div.inner{
	display:none;
}

.wrapper a {
  display: inline-block;
  width: 50%;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}
	
}