.rb-grid {
	list-style: none;
	text-align: center;
	margin: 0 auto;
}

.rb-grid li {
	width: 24%;
	height: 15em;
	margin: 0.5%;
	background: #8CC7DF;
	color: #fff;
	display: block;
	float: left;
	padding: 1.6em;
	cursor: pointer;
	position: relative;
}

.rb-grid li.rb-span-2 {
	width: 49%;
}

.rb-grid li.rb-span-4 {
	width: 99%;
}

.rb-grid li h3 {
	font-size: 2.6em;
	font-weight: 100;
}

.rb-grid li[class^="icon-"]:before,
.rb-grid li[class*=" icon-"]:before {
	font-size: 10em;
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	line-height: 3;
	opacity: 0.4;
	text-align: right;
	pointer-events: none;
}

.rb-temp {
	display: block;
	font-size: 2em;
	opacity: 0.5;
	-webkit-transition: opacity 0.3s ease-in-out;
	-moz-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
}

.rb-grid li:hover .rb-temp {
	opacity: 1;
}

.rb-overlay {
	opacity: 0;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #444;
	-webkit-transition: opacity 0.4s ease, -webkit-transform 0.4s ease, clip 0.4s ease;
	-moz-transition: opacity 0.4s ease, -moz-transform 0.4s ease, clip 0.4s ease;
	transition: opacity 0.4s ease, transform 0.4s ease, clip 0.4s ease;
	z-index: -1;
	pointer-events: none;
	cursor: default;
}

.rb-close {
	position: absolute;
	top: 0.4em;
	right: 0.4em;
	width: 2em;
	height: 2em;
	text-indent: -9000px;
	cursor: pointer;
	z-index: 1000;
}

.rb-close::before {
	content: 'x';
	font-weight: 100;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	font-size: 3em;
	line-height: 0.6;
	text-align: center;
	text-indent: 0px;
}

.rb-week {
	width: 100%;
	height: 100%;
}

.rb-week > div {
	width: 70%;
	height: 100%;
	float: left;
	position: relative;
	padding: 3% 0;
}

.rb-week > div:first-child {
	width: 30%;
}

.rb-week span {
	padding: 5% 0;
	font-size: 2em;
	font-weight: 100;
	display: block;
	margin: auto 0;
	height: 30%;
	width: 100%;
	line-height: 1.2;
}
.rb-week p {
	margin-top: 30px !important;
}

.rb-week span.rb-city {
	font-weight: 700;
	padding: 1% 10%;
	font-size: 1em;
	line-height: 1.2;
}

.rb-week [class^="icon-"]:before {
	font-size: 2.5em;
	font-weight: normal;
}

.rb-week > div:first-child [class^="icon-"] {
	opacity: 0.1;
}

/* Colors */

/* Grid */
/*
.rb-grid li:nth-child(1) { background: #3399CC; }
.rb-grid li:nth-child(2) { background: #33CCCC; }
.rb-grid li:nth-child(3) { background: #996699; }
.rb-grid li:nth-child(4) { background: #C24747; }
.rb-grid li:nth-child(5) { background: #e2674a; }
.rb-grid li:nth-child(6) { background: #FFCC66; }
.rb-grid li:nth-child(7) { background: #99CC99; }
.rb-grid li:nth-child(8) { background: #669999; }
.rb-grid li:nth-child(9) { background: #CC6699; }
.rb-grid li:nth-child(10) { background: #339966; }
.rb-grid li:nth-child(11) { background: #666699; }
*/

/* Wii U */
.rb-grid.wiiu li:nth-child(1) { background: linear-gradient(rgba(203, 54, 50, 0.7), rgba(204, 54, 50, 0.7)), url('../images/wiiu/1.jpg') 0 -700px no-repeat; }
.rb-grid.wiiu li:nth-child(2) { background: linear-gradient(rgba(255, 125, 50, 0.7), rgba(205, 125, 50, 0.7)), url('../images/wiiu/2.jpg') -500px -450px no-repeat; }
.rb-grid.wiiu li:nth-child(3) { background: linear-gradient(rgba(85, 39, 23, 0.7), rgba(85, 39, 23, 0.7)), url('../images/wiiu/3.jpg') -500px -620px no-repeat; }
.rb-grid.wiiu li:nth-child(4) { background: linear-gradient(rgba(201, 165, 69, 0.7), rgba(201, 165, 69, 0.7)), url('../images/wiiu/4.jpg') -600px -540px no-repeat; }
.rb-grid.wiiu li:nth-child(5) { background: linear-gradient(rgba(27, 32, 38, 0.7), rgba(27, 32, 38, 0.7)), url('../images/wiiu/5.jpg') -600px 0px no-repeat; }

/* 3DS */
.rb-grid.ds3 li:nth-child(1) { background: linear-gradient(rgba(64, 112, 72, 0.7), rgba(64, 112, 72, 0.7)), url('../images/3ds/1.jpg') -100px -600px no-repeat; }
.rb-grid.ds3 li:nth-child(2) { background: linear-gradient(rgba(165, 23, 49, 0.7), rgba(165, 23, 49, 0.7)), url('../images/3ds/2.jpg') -550px -300px no-repeat; }
.rb-grid.ds3 li:nth-child(3) { background: linear-gradient(rgba(71, 82, 76, 0.7), rgba(71, 82, 76, 0.7)), url('../images/3ds/3.jpg') -500px -400px no-repeat; }
.rb-grid.ds3 li:nth-child(4) { background: linear-gradient(rgba(1, 94, 233, 0.7), rgba(1, 94, 233, 0.7)), url('../images/3ds/4.jpg') -400px -440px no-repeat; }
.rb-grid.ds3 li:nth-child(5) { background: linear-gradient(rgba(45, 65, 37, 0.7), rgba(45, 65, 37, 0.7)), url('../images/3ds/5.jpg') -400px -400px no-repeat; }

/* eShop */
.rb-grid.eshop li:nth-child(1) { background: linear-gradient(rgba(10, 33, 67, 0.7), rgba(10, 33, 67, 0.7)), url('../images/eshop/1.jpg') -400px -100px no-repeat; }
.rb-grid.eshop li:nth-child(2) { background: linear-gradient(rgba(229, 186, 47, 0.7), rgba(229, 186, 47, 0.7)), url('../images/eshop/2.jpg') -700px -400px no-repeat; }
.rb-grid.eshop li:nth-child(3) { background: linear-gradient(rgba(74, 48, 35, 0.7), rgba(74, 48, 35, 0.7)), url('../images/eshop/3.jpg') -100px -300px no-repeat; }
.rb-grid.eshop li:nth-child(4) { background: linear-gradient(rgba(237, 102, 72, 0.7), rgba(237, 102, 72, 0.7)), url('../images/eshop/4.jpg') -1200px -400px no-repeat; }
.rb-grid.eshop li:nth-child(5) { background: linear-gradient(rgba(132, 22, 197, 0.7), rgba(132, 22, 197, 0.7)), url('../images/eshop/5.jpg') -500px -300px no-repeat; }


/* Overlay Columns */
.rb-grid.wiiu li:nth-child(1) .rb-week > div:nth-child(1) { background: url('../images/wiiu/1.jpg') no-repeat; background-size:cover; } .rb-grid.wiiu li:nth-child(1) .rb-week > div:nth-child(2) { background: #0096c8; }
.rb-grid.wiiu li:nth-child(2) .rb-week > div:nth-child(1) { background: url('../images/wiiu/2.jpg') no-repeat; background-size:cover; } .rb-grid.wiiu li:nth-child(2) .rb-week > div:nth-child(2) { background: #0096c8; }
.rb-grid.wiiu li:nth-child(3) .rb-week > div:nth-child(1) { background: url('../images/wiiu/3.jpg') no-repeat; background-size:cover; } .rb-grid.wiiu li:nth-child(3) .rb-week > div:nth-child(2) { background: #0096c8; }
.rb-grid.wiiu li:nth-child(4) .rb-week > div:nth-child(1) { background: url('../images/wiiu/4.jpg') no-repeat; background-size:cover; } .rb-grid.wiiu li:nth-child(4) .rb-week > div:nth-child(2) { background: #0096c8; }
.rb-grid.wiiu li:nth-child(5) .rb-week > div:nth-child(1) { background: url('../images/wiiu/5.jpg') no-repeat; background-size:cover; } .rb-grid.wiiu li:nth-child(5) .rb-week > div:nth-child(2) { background: #0096c8; }

.rb-grid.ds3 li:nth-child(1) .rb-week > div:nth-child(1) { background: url('../images/3ds/1.jpg') no-repeat; background-size:cover; } .rb-grid.ds3 li:nth-child(1) .rb-week > div:nth-child(2) { background: #ce181e; }
.rb-grid.ds3 li:nth-child(2) .rb-week > div:nth-child(1) { background: url('../images/3ds/2.jpg') no-repeat; background-size:cover; } .rb-grid.ds3 li:nth-child(2) .rb-week > div:nth-child(2) { background: #ce181e; }
.rb-grid.ds3 li:nth-child(3) .rb-week > div:nth-child(1) { background: url('../images/3ds/3.jpg') no-repeat; background-size:cover; } .rb-grid.ds3 li:nth-child(3) .rb-week > div:nth-child(2) { background: #ce181e; }
.rb-grid.ds3 li:nth-child(4) .rb-week > div:nth-child(1) { background: url('../images/3ds/4.jpg') no-repeat; background-size:cover; } .rb-grid.ds3 li:nth-child(4) .rb-week > div:nth-child(2) { background: #ce181e; }
.rb-grid.ds3 li:nth-child(5) .rb-week > div:nth-child(1) { background: url('../images/3ds/5.jpg') no-repeat; background-size:cover; } .rb-grid.ds3 li:nth-child(5) .rb-week > div:nth-child(2) { background: #ce181e; }

.rb-grid.eshop li:nth-child(1) .rb-week > div:nth-child(1) { background: url('../images/eshop/1.jpg') no-repeat; background-size:cover; } .rb-grid.eshop li:nth-child(1) .rb-week > div:nth-child(2) { background: #ff8400; }
.rb-grid.eshop li:nth-child(2) .rb-week > div:nth-child(1) { background: url('../images/eshop/2.jpg') no-repeat; background-size:cover; } .rb-grid.eshop li:nth-child(2) .rb-week > div:nth-child(2) { background: #ff8400; }
.rb-grid.eshop li:nth-child(3) .rb-week > div:nth-child(1) { background: url('../images/eshop/3.jpg') no-repeat; background-size:cover; } .rb-grid.eshop li:nth-child(3) .rb-week > div:nth-child(2) { background: #ff8400; }
.rb-grid.eshop li:nth-child(4) .rb-week > div:nth-child(1) { background: url('../images/eshop/4.jpg') no-repeat; background-size:cover; } .rb-grid.eshop li:nth-child(4) .rb-week > div:nth-child(2) { background: #ff8400; }
.rb-grid.eshop li:nth-child(5) .rb-week > div:nth-child(1) { background: url('../images/eshop/5.jpg') no-repeat; background-size:cover; } .rb-grid.eshop li:nth-child(5) .rb-week > div:nth-child(2) { background: #ff8400; }

@media screen and (max-width: 63.125em) {
	
	.rb-grid li,
	.rb-grid li.rb-span-2,
	.rb-grid li.rb-span-4 {
		width: 100%;
		height: 10em;
		text-align: left;
	}

	.rb-grid li[class^="icon-"]:before,
	.rb-grid li[class*=" icon-"]:before {
		font-size: 6em;
		left: auto;
		right: 0;
		line-height: 2.5;
	}

	.rb-grid li > div {
		text-align: center;
	}
	#rb-grid div.rank {
		left: inherit !important;
		right: 0 !important;
	}
	.headerwidget {
		width: 100%;
		float: none;
	}
	.headerwidget img {
		width: auto;
	}
	.ads728 img {
		max-width: 100% !important;
		height: auto !important;
	}
	.rb-week h1 {
		margin-top: 2em;
		font-size: 1.3em;
	}
	.rb-week span {
		font-size: 1.3em;
		font-weight: 400;
	}
	.rb-grid li h3 {
		font-size: 1.9em;
	}
	.rb-temp {
		font-size: 1.2em;
	}
}
#rb-grid div.rank {
	background: rgba(0,0,0,0.6);
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px 30px;
}
