/**
 * Play.vg Styles
 * Darren Hewer 2015
 */

/* -------------------------------------------------------------------------
   General page styles
   -------------------------------------------------------------------------*/

html, body {
	font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: 1em;
}
   
body {
	background: #ccc url('../imgs/bg-body.gif') repeat fixed top left;
	color: #333;
	padding-top: 50px;
}
	body .container-body {
		box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.35);
		overflow-x: hidden;
		padding-left: 0;
		padding-right: 0;
	}

main {
	background: white;
}
	main .container {
		padding: 1rem 2rem;
	}

footer {
	background: #ddd;
	padding: 1rem;
}
	footer a {
		color: #555;
		font-weight: bold;
	}

/* -------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------*/

.logo {
	background: #009 url('../imgs/bg-logo.png');
	height: 121px;
	text-align: center;
}
	.sticklogo {
		line-height: 20px;
		padding-left: 15px;
		padding-right: 15px;
		float: left;
	}
	.scrollYe-stick .sticklogo {
		display: inline-block;
	}
.sep {
	background: #dd4814 url('../imgs/sep-orange.gif') repeat top left;
	height: 17px;
	line-height: 15px;
}

/* -------------------------------------------------------------------------
   Index page styles
   -------------------------------------------------------------------------*/

.game-column {
	padding-top: 1rem;
	text-align: center;
}
	.game-column h2 {
		color: white;
		font-size: 150%;
		padding: 0.3em 0;
		margin-top: 0;
	}
	.game-column-new h2 {
		background: #090;
		background: -moz-linear-gradient(top, #090 0%, #050 100%);
		background: -webkit-gradient(left top, left bottom, color-stop(0%, #090), color-stop(100%, #050));
		background: -webkit-linear-gradient(top, #090 0%, #050 100%);
		background: -o-linear-gradient(top, #090 0%, #050 100%);
		background: -ms-linear-gradient(top, #090 0%, #050 100%);
		background: linear-gradient(to bottom, #090 0%, #050 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#090', endColorstr='#050', GradientType=0 );
	}
	.game-column-popular h2 {
		background: #900;
		background: -moz-linear-gradient(top, #900 0%, #500 100%);
		background: -webkit-gradient(left top, left bottom, color-stop(0%, #900), color-stop(100%, #500));
		background: -webkit-linear-gradient(top, #900 0%, #500 100%);
		background: -o-linear-gradient(top, #900 0%, #500 100%);
		background: -ms-linear-gradient(top, #900 0%, #500 100%);
		background: linear-gradient(to bottom, #900 0%, #500 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#900', endColorstr='#500', GradientType=0 );
	}
	.game-column-featured h2 {
		background: #009;
		background: -moz-linear-gradient(top, #009 0%, #005 100%);
		background: -webkit-gradient(left top, left bottom, color-stop(0%, #009), color-stop(100%, #005));
		background: -webkit-linear-gradient(top, #009 0%, #005 100%);
		background: -o-linear-gradient(top, #009 0%, #005 100%);
		background: -ms-linear-gradient(top, #009 0%, #005 100%);
		background: linear-gradient(to bottom, #009 0%, #005 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009', endColorstr='#005', GradientType=0 );
	}
	.game-column .game {
		font-size: smaller;
		margin: 1rem auto;
		text-align: center;
	}
	.game-column .game img {
		box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.5);
		max-height: 100px;
		max-width: 100px;
		transition: all 200ms;
		z-index: auto;
	}
	.game-column .game a, .game-column .game a span, .game-column .game a img {
		position: relative;
	}
	.game-column .game a span {
		font-weight: bold;
		padding: 2px 5px;	
		transition: all 300ms;	
	}
	.game-column .game a:hover {
		text-decoration: none;
	}
	/*.game-column .game a:hover span {
		background: rgba(255,255,255,0.75);
		color: #333;
		z-index: 10;
	}*/
	.game-column .game a:hover img {
		box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.9);
		transform: scale(1.3);
		z-index: 5;
	}
@media (min-width: 769px) {
	.game-column {
		border-right: 1px solid #ccc;
		padding-right: 20px;
	}
	.game-column:last-of-type {
		border: none;
		padding-right: 0;
	}
}

.played_today {
	border: 1px solid #ccc;
	border-radius: 9px;
	font-size: larger;
	margin-bottom: 1rem;
	padding: 0.5rem 1rem;
	text-align: center;
}

/* -------------------------------------------------------------------------
   Game listing (free_games) styles
   -------------------------------------------------------------------------*/

.free-games h2 {
	margin-bottom: 0.5em;
}

ul.game-listing {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.game-listing li {
	margin-bottom: 1rem;
	text-align: center;
}
	ul.game-listing li a:hover {
		text-decoration: none;
	}
	ul.game-listing li span {
		color: #333;
		font-size: 120%;
		font-weight: bold;
		overflow: hidden;
		white-space: nowrap;
	}
	ul.game-listing li img {
		box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.5);
	}
	ul.game-listing li a:hover img {
		box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.9);
	}
	ul.game-listing li a:hover span {
		color: #dd4814;
	}

.pagenums {
	border: 1px solid #ccc;
	font-size: larger;
	margin: 0 auto 1em auto;
	padding: 0.5em 1.5em;
	text-align: center;
}
	.pagenums:last-of-type {
		margin-top: 1em;
	}

/* -------------------------------------------------------------------------
   Game single page display (gamepage) styles
   -------------------------------------------------------------------------*/

.gamepage h2 {
	margin-bottom: 0.25em;
}

.gamepage .instructions {
	margin-bottom: 1em;
}

.gamepage-game-img {
	margin: 0 2em 1em 0;
}

.embed-code {
	position: relative;
	text-align: center;
}

.related-games {
	text-align: center;
}
	.related-games ul {
		display: inline-block;
		list-style-type: none;
		margin: 0.5em auto;
		padding: 0;
	}
	.related-games li {
		display: inline-block;
		padding: 3px 1em;
		text-align: center;
		vertical-align: middle;
		width: auto;
	}
	.related-games li:first-of-type {
		font-weight: bold;
	}
@media (min-width: 970px) {
	.related-games-side {
		box-shadow:	0 0px 16px 0px rgba(0, 0, 0, 0.3);
		position: absolute;
		right: 0;
		top: 0;
		width: 180px;
	}
		.related-games-side li {
			display: block;
			max-width: 180px;
			padding-bottom: 0.5em;
			width: 100%;
		}
}

.rating-stars {
	color: #fde16d;
}
	.rating-stars .glyphicon-star {
		text-shadow:
	   -1px -1px 0 #ccc,  
		1px -1px 0 #ccc,
		-1px 1px 0 #ccc,
		 1px 1px 0 #ccc;
	}

.rating-thanks, .rating-box {
	margin: 1em auto;
}
	.rating-thanks {
		font-weight: bold;
	}

.half-star {
    letter-spacing: -0.5em;
}
	.half-star:after {
		position: absolute;
		content: "";
		left: 0.5em;
		width: 0.5em;
		height: 1em;
		background-color: white;
	}
	
.click-to-play {
	font-size: 150%;
	margin-bottom: 1rem;
	text-align: center;
}

/* -------------------------------------------------------------------------
   Misc Play.vg specific styles
   -------------------------------------------------------------------------*/

/* For table of partner-links in footer */
.partner-links {
	margin: 1rem auto 0 auto;
}
	.partner-links thead td {
		background: #eee;
	}
	.partner-links td {
		background: white;
		border: 1px solid #ccc;
		padding: 0.25em 0.5em;
		text-align: center;
	}

/* For Krajee Star Ratings jQuery plugin */
.rating-container {
	cursor: pointer;
}
.rating-xxs {
	font-size: 1.5rem;
}

/* Facebook box */
.fb-like-box {
	margin-bottom: 1em;
}

.728ad {
	text-align: center;
}

.img-left {
	float: left;
}

/* -------------------------------------------------------------------------
   Bootstrap navbar theme overrides
   -------------------------------------------------------------------------*/

.navbar .dropdown-menu a {
	transition: all 250ms;
}
.navbar .games-menu a:hover {
	background: #06f;
}
.navbar .dropdown-games {
	background: rgba(0,0,0,0.15);
}

/* -------------------------------------------------------------------------
   Bootstrap other theme overrides & add-ons
   -------------------------------------------------------------------------*/

.col-auto {
	width: 200px;
}
.col-full {
	width: 100%;
}

.btn-inverse {
	background: rgba(0,0,0,0.4);
	border-color: transparent;
	color: white;
}
	.btn-inverse:hover {
		background: rgba(255,255,255,0.15);
		border-color: transparent;		
	}