.ri-grid{
	margin: 0 auto;
	position: relative;
	height: auto;
}

.ri-grid ul {
	list-style: none!important;
	display: block!important;
	width: 100%!important;
	margin: 0!important;
	padding: 0!important;
}

/* Clear floats by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */

.ri-grid ul:before,
.ri-grid ul:after{
	content: '';
    display: table;
}

.ri-grid ul:after {
    clear: both;
}

.ri-grid ul {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}

.ri-grid ul li {
	-webkit-perspective: 400px;
	-moz-perspective: 400px;
	-o-perspective: 400px;
	-ms-perspective: 400px;
	perspective: 400px;
	margin: 0!important;
	padding: 0!important;
	float: left!important;
	position: relative!important;
	display: block!important;
	overflow: hidden!important;
}

.ri-grid ul li a {
	display: block;
	outline: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	padding:0!important;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	background-size: 100% 100%;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: inherit;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	-moz-transition:  all .1s ease-out;
	-webkit-transition: all .1s ease-out;
	transition:  all .1s ease-out;
	-webkit-transform: translate3d(0px,0px,1px);
	transform: translate3d(0px,0px,1px);
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.ri-grid ul li a .info {
	color:#fff;
	font: 16px/18px 'Archivo Narrow', sans-serif!important;
	font-weight: 400!important;
	text-align: center;
	display:inline;
	padding:15px;
	background:#adbbb6;
	position: absolute;
	min-width: 65%;
  top: 50%;
  left: 50%;
	-webkit-transform: translate(-50%, -50%) scale(0.9);
	-moz-transform: translate(-50%, -50%) scale(0.9);
	-ms-transform: translate(-50%, -50%) scale(0.9);
	-o-transform: translate(-50%, -50%) scale(0.9);
	transform: translate(-50%, -50%) scale(0.9);
	-moz-transition: all .15s ease-out;
	-webkit-transition: all .15s ease-out;
	transition: all .15s ease-out;
	opacity:0;
	z-index:2;
}

.ri-grid ul li a .layer {
	display:block;
	background:#adbbb6;
	width: 100%;
	height:100%;
	z-index:1;
	-moz-transition: all .1s ease-out;
	-webkit-transition: all .1s ease-out;
	transition: all .1s ease-out;
	opacity:0;
}

.ri-grid ul li a.megawatt .info, .ri-grid ul li a.megawatt .layer {background:#fb9e00;}
.ri-grid ul li a.euromulch .info, .ri-grid ul li a.euromulch .layer {background:#a0c727;}
.ri-grid ul li a.logistik .info, .ri-grid ul li a.logistik .layer {background:#3d9ab5;}
.ri-grid ul li a.international .info, .ri-grid ul li a.international .layer {background:#cf0e6c;}

.ri-grid ul li a:hover {
/* -webkit-background-size: 105% 105%;
-moz-background-size: 105% 105%;
background-size: 105% 105%; */
}

.ri-grid ul li a:hover .info {
	opacity:1;
	-webkit-transform: translate(-50%, -50%) scale(1);
	-moz-transform: translate(-50%, -50%) scale(1);
	-ms-transform: translate(-50%, -50%) scale(1);
	-o-transform: translate(-50%, -50%) scale(1);
	transform: translate(-50%, -50%) scale(1);
}
.ri-grid ul li a:hover .layer {
	opacity:0.5;
}

.ri-grid ul li a div h2 {
	font: 20px/20px 'Archivo Narrow', sans-serif!important;
	font-weight: 700!important;
	text-transform: uppercase!important;
	margin:0 0 6px 0!important;
	padding:0!important;
}

@media only screen and (max-width: 580px){
	.ri-grid ul li a div h2 {font: 16px/16px 'Archivo Narrow', sans-serif!important;}
	.ri-grid ul li a .info {font: 14px/16px 'Archivo Narrow', sans-serif!important;)
}

@media only screen and (max-width: 380px){
	.ri-grid ul li a div h2 {font: 14px/14px 'Archivo Narrow', sans-serif!important;}
	.ri-grid ul li a .info {font: 12px/14px 'Archivo Narrow', sans-serif!important;)
}

/* Grid wrapper sizes */
.ri-grid-size-1{
	width: 100%;
}

/* Shadow style */
.ri-shadow:after,
.ri-shadow:before{
	content: "";
	position: absolute;
	z-index: -2;
	bottom: 15px;
	left: 10px;
	width: 50%;
	height: 20%;
	max-width: 300px;
	max-height: 100px;
	box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
	-webkit-transform: rotate(-3deg);
	-moz-transform: rotate(-3deg);
	-ms-transform: rotate(-3deg);
	-o-transform: rotate(-3deg);
	transform: rotate(-3deg);
}
.ri-shadow:after{
	right: 10px;
	left: auto;
	-webkit-transform: rotate(3deg);
	-moz-transform: rotate(3deg);
	-ms-transform: rotate(3deg);
	-o-transform: rotate(3deg);
	transform: rotate(3deg);
}

.ri-grid-loading{
	display: none;
}

.ri-loading-image{
	display: none;
}

.ri-grid-loading .ri-loading-image{
	position: relative;
	width: 30px;
	height: 30px;
	left: 50%;
	margin: 100px 0 0 -15px;
	display: block;
}
