@import url('https://fonts.googleapis.com/css?family=Rubik:400,500&display=swap');

/* generic styles */
body {
	background: #222222;
	color: white;
	font-family: 'Rubik', Arial, Helvetica, sans-serif;
}
.emu-container {
	max-width: 1200px;
}
.emu-round {
	border-radius: 12px;
}
.emu-btn-lg {
	font-weight: bold;
	font-size: 20px;
}
a, a:link, a:visited, a:hover, a:active {
	color: white;
	text-decoration: none;
}

/* emu-btn-jumbo */
.emu-btn-jumbo {
	background: rgba(0,0,0,0.2); /*#482F70;*/
	color: white;
	border: 0;
}
.emu-btn-jumbo:hover {
	background: rgba(0,0,0,0.4); /*#342252;*/
	color: white;
}

/* emu-btn */
.emu-btn {
	background: #583A8A;
	color: white;
	border: 0;
}
.emu-btn:hover {
	background: #784EBA;
	color: white;
}

/* emu-btn-alt */
.emu-btn-alt {
	background: rgba(48,59,69,0.7);
	color: white;
	border: 0;
}
.emu-btn-alt:hover {
	background: rgba(102,124,145,0.7);
	color: white;
}

/* btn focus */
.emu-btn-jumbo:focus, .emu-btn:focus, .emu-btn-alt:focus {
    outline: none;
	box-shadow: none;
}

/* btn active */
a.emu-btn-jumbo:active, a.emu-btn:active, a.emu-btn-alt:active {
	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3);
}

/* ripple effect */
.has-ripple {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
.ripple {
    display: block;
    position: absolute;
    pointer-events: none;
    border-radius: 50%;

    -webkit-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);

    background: #fff;
    opacity: 1;
}
.ripple-animate {
    -webkit-animation: ripple;
    -o-animation: ripple;
    animation: ripple;
}
@-webkit-keyframes ripple {
    100% {
        opacity: 0;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
}
@-o-keyframes ripple {
    100% {
        opacity: 0;
        -o-transform: scale(2);
        transform: scale(2);
    }
}
@keyframes ripple {
    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* header styles */
.emu-nav {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;

	padding: 8px 16px 8px 16px;
	background: #593a8a;
	background: -webkit-linear-gradient(to right, #6E48AA, #593a8a);
	background: linear-gradient(to right, #6E48AA, #593a8a);
}
.emu-nav-brand {
	flex: 0 0 160px;
}
.emu-nav-menu {
	flex: 1 1 720px;
}
.emu-nav-search {
	flex: 0 0 250px;
}
.emu-search {
	float: right;
}
.emu-jumbotron {
	position: relative;
	background: #523680;

	color: white;
	padding: 16px;
	overflow: hidden;
	color: #eee;
	margin-bottom: 0;
}
.emu-jumbotron-logo {
	position: absolute;
	top: -20px;
	right: 140px;
	width: 222px;
	height: 254px;
	background-image: url(images/logo.svg);
	background-size: contain;
	background-repeat: no-repeat;
	transform: rotate(-30deg);
	opacity: 0.06;
}
.emu-jumbotron .emu-btn-jumbo {
	margin-top: 8px;
	margin-right: 7px;
}

/* nav styles */
.emu-brand-logo {
	margin-right: 4px;
	opacity: 0.6;
	transition: 0.3s;
}
.emu-brand-link:hover .emu-brand-logo {
	opacity: 1;
}
.emu-nav a {
	color: white;
	text-decoration: none;
}
.emu-expand-nav .emu-expand-menu a {
	color: #333;
	font-weight: normal;
	border-radius: 0;
}

/* menu styles */
.emu-nav-menu ul {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;

	list-style: none;
	margin: 0;
	padding: 0;
}
.emu-nav-menu ul li a {
	display: block;
	line-height: 42px;
	padding: 0 12px 0 12px;
	margin-right: 16px;
	border-radius: 12px;
	font-weight: bold;
	transition: 0.3s;
	background-color: transparent;
}
.emu-nav-menu ul li a:hover {
	background-color: rgba(0,0,0,0.3);
}
.emu-nav-menu ul li a:active {
	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3);
}

/* search styles */
.emu-search .form-control {
    padding-left: 2.375rem;
	background: rgba(255,255,255,0.2);
	color: white;
	border: none;
	border-radius: 24px;
}
.emu-search .emu-search-icon {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: white;
}
.emu-search ::-webkit-input-placeholder { /* Edge */
	color: white;
}
.emu-search :-ms-input-placeholder { /* Internet Explorer */
	color: white;
}
.emu-search ::placeholder {
	color: white;
}

/* footer styles */
.emu-pipes {
	list-style: none;
	text-align: center;
}
.emu-pipes ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.emu-pipes ul li {
	display: inline;
}
.emu-pipes ul li a {
	text-decoration: none;
	font-size: 0.9em;
	display: inline-block;
	margin-bottom:8px;
	margin-right:7px;
}

/* game list styles */
.emu-list {
	list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}
.emu-list li {
	display: inline-flex;
    width: 188px;
    padding-right: 12px;
    padding-left: 12px;
    margin-bottom: 24px;
}
.emu-box {
	position: relative;
    display: block;
    color: white!important;
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 90px;
    box-shadow: 0 0.5rem 0.9rem rgba(0,0,0,.15);
    border-radius: 12px;
}
.emu-list li a:active {
	box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.3);
}
.emu-box img {
    width: 100%;
    border-radius: 12px 12px 0 0;
}
.emu-box-title {
    display: block;
    background-color: rgba(48,59,69,0.7);    padding: 5px;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    border-radius: 0 0 12px 12px;
    color: white;
	text-decoration: none;
	transition: 0.3s;
}
.emu-box-badge {
	background: rgba(0,0,0,0.4);
	padding: 3px 6px 3px 6px;
	border-radius: 12px;
	font-size: 12px;
}
.emu-box:hover .emu-box-title {
	background-color: rgba(102,124,145,0.7);
}
a.emu-box {
    text-decoration: none;
}
.emu-box:hover .emu-box-badge {
	background: rgba(0,0,0,0.3);
}

.emu-list-side li {
	width: 50%;
}

/* page styles */
.emu-info {
	color: #bcbcbc;
}
.emu-info a, a.emu-link {
	color: #8A5AD6;
	text-decoration: none;
	transition: 0.3s;
}
.emu-info a:hover, a.emu-link:hover {
	color: #9763EB;
}
.emu-info p:last-child {
	margin: 0;
	padding:0;
}

.emu-breadcrumb .breadcrumb {
	background: rgba(48,59,69,0.7);
	border-radius: 0;
	font-size:0.9em;
	justify-content: center;
}
.emu-breadcrumb .breadcrumb a {
	color: #bcbcbc;
	transition: 0.3s;
}
.emu-breadcrumb .breadcrumb a:hover {
	color: white;
}

/* rating styles */
.emu-rate {
	position: relative;
}
.emu-rating {
	min-height: 30px;
}
.emu-votes {
	position: absolute;
	top: -3px;
	left: 160px;
	font-size: 27px;
	font-weight: normal;
	color: #888;
}
.emu-rating-value {
	display: inline-block;
    height: 40px;
    width: 65px;
    word-break: break-all;
    overflow: hidden;
    background: rgba(0,0,0,0.5);
	color: #777;
    border-radius: 12px;
    padding-left: 4px;
    padding-right: 4px;
}
.emu-rating-count {
	display: inline-block;
    height: 40px;
    float: right;
    margin-left: 8px;
}
.jq-stars {
	display: inline-block;
}
.jq-rating-label {
	font-size: 22px;
	display: inline-block;
	position: relative;
	vertical-align: top;
	font-family: helvetica, arial, verdana;
}
.jq-star {
	width: 100px;
	height: 100px;
	display: inline-block;
	cursor: pointer;
}
.jq-star-svg {
	padding-left: 3px;
	width: 100%;
	height: 100% ;
}
.jq-star:hover .fs-star-svg path {
}
.jq-star-svg path {
	/* stroke: #000; */
	stroke-linejoin: round;
}
/* un-used */
.jq-shadow {
	-webkit-filter: drop-shadow( -2px -2px 2px #888 );
	filter: drop-shadow( -2px -2px 2px #888 );
}

/* game page */
.emu-area {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
.emu-area-left {
	flex: 0 1 640px;
	margin: 0 20px 20px;
}
.emu-area-right {
	flex: 0 0 300px;
	margin: 0 20px 20px 0px;
	text-align: center;
}

.emu-area-holder {
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
}
.emu-holder-image {
	flex: 0 1 154px;
	margin-right: 15px;
}
.emu-holder-image img {
	border-radius:12px;
	width:100%;
}
.emu-holder-info {
	flex: 1;
}
.emu-holder-info .emu-game-links a {
	margin-bottom: 9px;
	margin-right: 7px;
}
/* .emu-game {
	border-radius: 12px;
	max-width: 640px;
	height: 480px;
} */
#emu_game_wrap {
	position: relative;
	height: 480px;
	background: rgba(0,0,0,0.4);
	border-radius: 12px;
	margin-bottom: 16px;
}
#emu_game_spinner {
	width: 80px;
	height: 80px;
	z-index: 2;
	position: absolute;
	margin-left: -40px;
	margin-top: -40px;
	left: 50%;
	top: 50%;
}


/* tags page */
.emu-list-tags {
	-moz-column-count: 4;
 	-webkit-column-count: 4;
	column-count: 4;
}
.emu-list-group {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.emu-list-group li {
	/*height: 50px;*/
	margin-bottom: 12px;

	-moz-page-break-inside: avoid;
	-webkit-column-break-inside: avoid;
	break-inside: avoid;
	-o-column-break-inside: avoid;
	-ms-column-break-inside: avoid;
	column-break-inside: avoid;
	page-break-inside: avoid;
}
.emu-list-group li a {
	display: block;
	width: 100%;
	/*line-height: 50px;*/
	background: rgba(0,0,0,.6);
	box-shadow: 0 0.5rem 0.9rem rgba(0,0,0,.15);
	border-radius: 12px;
	padding: 14px 12px;
	color: white;
	border: 1px solid rgba(255,255,255,0.2);
}
.emu-list-group li a:hover {
	background: black;
	text-decoration: none;
}

/* no space list styles */
.emu-list-nospace li {
	margin-bottom: 0;
}
.emu-list-nospace li a {
	border-radius: 0;
	border:0;
	border-bottom: 1px solid rgba(255,255,255,0.2);
	padding: 16px 14px;
}
.emu-list-nospace li:first-child a {
    border-radius: 12px 12px 0 0;
}
.emu-list-nospace li:last-child a {
    border-bottom: 0;
    border-radius: 0 0 12px 12px;
    margin-bottom: 12px;
}

/* article styling */
.emu-article {
	border: 1px solid rgba(255,255,255,0.2);
	background: #0e0e0e;
}
.emu-article-img {
	max-height:300px;
	overflow:hidden;
}
.emu-article-snippet {
	padding:35px 45px;
	color:#ddd;
}
.emu-article-btn {
	margin-bottom:30px;
}


/* tag page styles */
.emu-list-container {
	display:flex;
	flex-direction:row;
	flex-wrap: wrap;
	justify-content: center;
}
.emu-list-container .emu-list {
	flex:1;
}
.emu-list-container .emu-list-tagside {
	flex:0 0 200px;
}

/* pagination */
.pagination .page-link {
	color:#777;
	background-color: rgba(0,0,0,.6);
    border: 1px solid rgba(0,0,0,.6);
}
.pagination .page-link:hover {
	background-color: black;
}
.pagination .page-item.active .page-link {
	background-color: #593a8a;
    border-color: #593a8a;
	color: white;
}

/* admin styles */

/* responsive media queries */
@media (max-width: 1200px) {
	.emu-nav-search {
		flex: 1 0 100%;
	}
	.emu-search {
		float: none;
		margin-top: 8px;
		margin-bottom: 4px;
	}
	.emu-nav-search input {
		width: 100% !important;
		height: 40px;
	}

	.emu-jumbotron-logo {
		top:0;
		right:0;
	}

	p.lead {
		font-size:20px;
	}
	p.lead br {
    	display: none;
	}
}

@media (max-width: 1015px) {

	.emu-area {
		align-items: flex-start;
	}
	.emu-area-right {
		flex: 0 0 160px;
		max-width: 640px;
	}

	.emu-list-side li {
		width: 100%;
	}

	.emu-list-tags {
		-moz-column-count: 3;
	 	-webkit-column-count: 3;
		column-count: 3;
	}
}

@media (max-width: 874px) {

	.emu-area-right {
		flex: 1 0 300px;
		margin:0 20px 20px 20px;
		max-width: 640px;
	}

	.emu-list-side li {
		width: 25%;
	}

	.emu-list-tags {
		-moz-column-count: 2;
	 	-webkit-column-count: 2;
		column-count: 2;
	}

}

@media (max-width: 640px) {
	.emu-list-container {
		flex-direction: column;
	}
	.emu-article-snippet {
		padding: 15px 20px;
	}
	.emu-article-heading {
		padding: 25px;
	}
}

@media (max-width: 500px) {

	.emu-jumbotron-logo {
		top:120px;
		right:-95px;
	}

	.emu-list li {
		width: 50%;
	}

	.emu-holder-image, .emu-holder-info {
		flex: 1;
		flex-basis: auto;
	}
	.emu-holder-image {
		order:2;
		max-height:230px;
		border-radius:12px;
		overflow:hidden;
		margin-right:0;
	}
	.emu-holder-info {
		order:1;
		margin-bottom:9px;
	}

}
