body,
html,
ul.tab {
	margin: 0;
	padding: 0
}

.offline .runner-canvas,
.offline .runner-container {
	height: 150px;
	max-width: 600px;
	position: absolute;
	overflow: hidden
}

ul.menu,
ul.tab {
	list-style-type: none;
	padding: 0
}

body,
html {
	width: 100%;
	overflow: hidden
}

ul.tab {
	border-radius: 5px
}

ul.tab li {
	padding: 3px
}

ul.tab li label {
	background: #fff;
	padding: 6px;
	border: 1px solid #ccc;
	display: inline-block;
	cursor: pointer;
	width: 80px;
	text-align: center
}

a,
a:hover,
a:visited {
	text-decoration: none;
	color: #354ed5
}

.active a {
	color: #fff
}

ul.tab .active {
	background: #ff5722;
	color: #fff
}

ul.tab a {
	font-weight: 700;
	font-family: 'Open Sans'
}

.cont {
	position: absolute;
	top: 10px;
	left: 15px
}

.theme-title {
	text-align: center;
	font-size: 18px;
	font-weight: 900
}

.icon {
	-webkit-user-select: none;
	user-select: none;
	display: inline-block
}

.icon-offline {
	content: -webkit-image-set(url(./assets/default_100_percent/100-error-offline.png) 1x, url(./assets/default_200_percent/200-error-offline.png) 2x);
	position: relative
}

#offline-resources,
.hidden {
	display: none
}

.offline .interstitial-wrapper {
	color: #2b2b2b;
	font-size: 1em;
	line-height: 1.55;
	margin: 0 auto;
	max-width: 600px;
	padding-top: 100px;
	width: 100%
}

.offline .runner-container {
	top: 35px;
	width: 44px
}

.offline .runner-canvas {
	opacity: 1;
	top: 0;
	z-index: 2
}

.offline .controller {
	background: rgba(247, 247, 247, .1);
	height: 100vh;
	left: 0;
	position: absolute;
	top: 0;
	width: 100vw;
	z-index: 1
}

.default.info {
	position: absolute;
	bottom: 30px;
	left: 15px;
	color: #000;
	font-size: 14px;
	text-align: left
}

.default .game-list a,
.default .game-list a:visited {
	color: #3f51b5
}

@media (max-width:420px) {

	.suggested-left>#control-buttons,
	.suggested-right>#control-buttons {
		float: none
	}

	.snackbar {
		left: 0;
		bottom: 0;
		width: 100%;
		border-radius: 0
	}
}

ul.menu {
	display: flex;
	flex-wrap: wrap
}

ul.menu li {
	margin: 5px;
	text-align: center;
	flex-grow: 1;
	flex-basis: 0
}

ul.menu a {
	display: block;
	text-decoration: none
}

ul.menu img {
	display: block;
	margin: 0 auto;
	width: 65px;
	height: 65px
}

ul.menu span {
	display: block;
	margin-top: 2px;
	background: #081858;
	color: #fff;
	padding: 0 2px
}

@media (max-height: 745px) {
    .media-menu {
        margin-top: -100px;
        z-index: 1000;
        position: relative;
        background: #151616;
    }
}

@media (max-height:350px) {
	h1 {
		margin: 0 0 15px
	}

	.icon-offline {
		margin: 0 0 10px
	}

	.interstitial-wrapper {
		margin-top: 5%
	}

	.nav-wrapper {
		margin-top: 30px
	}
}

@media (min-width:600px) and (max-width:736px) and (orientation:landscape) {
	.offline .interstitial-wrapper {
		margin-left: 0;
		margin-right: 0
	}
}

@media (min-width:420px) and (max-width:736px) and (min-height:240px) and (max-height:420px) and (orientation:landscape) {
	.interstitial-wrapper {
		margin-bottom: 100px
	}
}

@media (min-height:240px) and (orientation:landscape) {
	.offline .interstitial-wrapper {
		margin-bottom: 90px
	}

	.icon-offline {
		margin-bottom: 20px
	}
}

@media (max-height:320px) and (orientation:landscape) {
	.icon-offline {
		margin-bottom: 0
	}

	.offline .runner-container {
		top: 10px
	}
}

@media (max-width:240px) {
	.interstitial-wrapper {
		overflow: inherit;
		padding: 0 8px
	}
}

@media (max-width:840px) {
	#iframe-container {
		display: none
	}

	.cont {
		top: 250px
	}
}

#div_container {
	height: 680px;
	overflow: hidden;
	margin: auto;
	visibility: hidden
}

#div_container.visible {
	visibility: visible;
	height: 380px
}