body {
   margin: 0;
   padding: 0;
   background: #EEE;
   font: 10px/13px 'Lucida Sans',sans-serif;
}


#navcontainer {
	border-radius:20px;
	padding-bottom:30%;
	background-color: #2b2b2b;
	overflow: hidden;
	margin: 20px;
}

.wrap {
   overflow: hidden;
   margin: 10px;
}
.box {
   float: left;
   position: relative;
   width: 20%;
   padding-bottom: 20%;
}
.boxInner {
	border-radius:20px;
   position: absolute;
   left: 10px;
   right: 10px;
   top: 10px;
   bottom: 10px;
   overflow: hidden;
}
.boxInner img {
   width: 100%;
}
.boxInner .titleBox {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   margin-bottom: -50px;
   background: #000;
   background: rgba(0, 0, 0, 0.5);
   color: #FFF;
   padding: 10px;
   text-align: center;
   -webkit-transition: all 0.3s ease-out;
   -moz-transition: all 0.3s ease-out;
   -o-transition: all 0.3s ease-out;
   transition: all 0.3s ease-out;
}
body.no-touch .boxInner:hover .titleBox, body.touch .boxInner.touchFocus .titleBox {
   margin-bottom: 0;
}
@media only screen and (max-width : 480px) {
   /* Smartphone view: 1 tile */
   .box {
      width: 50%;
      padding-bottom: 50%;
   }
}
@media only screen and (max-width : 650px) and (min-width : 481px) {
   /* Tablet view: 2 tiles */
   .box {
      width: 50%;
      padding-bottom: 50%;
   }
}
@media only screen and (max-width : 1050px) and (min-width : 651px) {
   /* Small desktop / ipad view: 3 tiles */
   .box {
      width: 33.3%;
      padding-bottom: 33.3%;
   }
}
@media only screen and (max-width : 1290px) and (min-width : 1051px) {
   /* Medium desktop: 4 tiles */
   .box {
      width: 25%;
      padding-bottom: 25%;
   }
}
			
.icon {
	background-image:url('img/icons/icon1.png');
	vertical-align: middle;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	background-position: center;
	min-width: 10%;
	height: auto;
}

.icon-home {
	background-color: #ffffff;
	background-position: center;
	background-image:url('img/home.png');
	vertical-align: middle;
	background-repeat: no-repeat;
	background-size: 70% 70%;
	border-radius:10px;
	box-shadow: 0px 3px 8px #aaa, inset 0px 2px 3px #fff;		
	height: 70px;
	width: 70px;
}

.icon-settings {
	background-color: #ffffff;	
	background-position: center;
	background-image:url('img/settings.png');
	vertical-align: middle;
	background-repeat: no-repeat;
	background-size: 70% 70%;
	border-radius:10px;
	box-shadow: 0px 3px 8px #aaa, inset 0px 2px 3px #fff;
	height: 70px;
	width: 70px;
}

.icon-ok {
	background-color: #ffffff;
	background-position: center;
	background-image:url('img/ok.png');
	vertical-align: middle;
	background-repeat: no-repeat;
	background-size: 70% 70%;
	border-radius:10px;
	box-shadow: 0px 3px 8px #aaa, inset 0px 2px 3px #fff;
	height: 70px;
	width: 70px;
}