/*
Theme Name: MyFriv
Theme URI: http://stivmartinez.com/
Description: Wordpress Premium Theme based on the best game sites like friv, yepi, a10 and y8.
Version: 2.0.0
Author: Stiven Martinez (Neu7ral)
Author URI: http://stivmartinez.com/
*/

/*-----------------
   IMPORT STYLES
-----------------*/

@import url(css/iconfont.css);

/*-----------------
   GLOBAL
-----------------*/

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}

html {
	cursor: url(images/cursor.png), auto;
}

* {
	padding: 0;
	margin: 0;
}

body {
	color: #fff;
	background: #21194c;
	font-size: 13px;
	font-family: 'Open Sans', Arial, Helvetica, Sans-serif;
}

input, textarea {
	border: 1px solid rgba(250,250,250,0.1);
	outline: none;
	border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
}

.right {
	float: right;
}

a, a:active, a:visited { text-decoration: none; -o-transition:.3s; -ms-transition:.3s; -moz-transition:.3s; -webkit-transition:.3s; transition:.3s; color: #dd2033; border: none; outline: none; }
a:hover { color: #fff; cursor: url(images/cursorhand.png), auto; }

h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }

.ad728, .ad336 {
	width: 728px;
	height: 90px;
	margin: 25px auto;
}

.ad336 {
	width: 336px;
	height: 280px;
}

/********************/

/*  MAIN ELEMENTS   */

/********************/

.main,.main-game, .main-buddypress {
	background: url(images/blackspace.png);
	overflow: hidden;
}

.main-buddypress {
	color: #000;
	background: #fff;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}

.main-buddypress .title-special {
	color: #fff;
}

.border-radius {
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}

.padding-10 {
	padding: 10px;
}

.padding-both {
	padding-top: 10px;
	padding-bottom: 10px;
}

.spacer, .spacer-special {
	height: 1px;
	float: left;
	background: url(images/blackspace.png);
	border-bottom: 1px solid rgba(250,250,250,0.05);
	width: 100%;
	margin: 25px 0;
}

.spacer-special {
	display: none;
	margin: 15px 0;
}

/* */

#header {
	background: #423780 url(images/dg.png) repeat-x bottom;
	height: 80px;
	box-shadow: 0 1px 0 rgba(0,0,0,0.2);
	border-bottom: 1px solid #423780;
	margin-bottom: 40px;
}

#header .logo {
	float: left;
}

#header .logo img {
	outline: none;
	border: none;
}

.header-search {
	float: right;
	margin: 20px 15px;
}

.header-search input {
	float: right;
	width: 130px;
	color: #fff;
	padding: 10px 25px;
	background: url(images/blackspace.png);
	-o-transition:.3s; -ms-transition:.3s; -moz-transition:.3s; -webkit-transition:.3s; transition:.3s;
}

.header-search input.text {
	color: #fff;
	color: rgba(250,250,250,0.3);
	font-style: italic;
}

.header-search input:focus {
	color: #fff;
	width: 135px;
	background: url(images/whitespace.png);
}

.header-search .submit {
	float: right;
	background: url(images/search.png) no-repeat;
	background-position: 5px 5px;
	height: 30px;
	width: 30px;
	padding: 4px;
	border: none;
	margin-left: 10px;
	margin-top: 6px;
}

/* Menu */

.menu {
	margin: 0px 10px;
	float: left;
}

.menu span.icon:before {
	font-size: 16px;
	color: #dd2033;
	margin: 0 10px 0 0;
}

.menu a.btn {
	margin: 17px 0;
	float: right;
	color: #fff;
	padding: 10px 10px 10px 25px;
	background: url(images/whitespace.png);
    -moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	font-weight: 400;
	font-size: 13px;
	border: 1px solid rgba(250,250,250,0.1);
}

.menu a.btn:hover {
	background: #dd2033;
}

.menu a.btn:hover span.icon:before {
	color: #fff;
}

.menu ul.actions {
    display:none;
    position: absolute;
    background: #fff;
    z-index: 99;
    width: 170px;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    margin: 60px 0 0 10px;
    padding: 5px 0;
}

/* Step 1: Build the Animation */
@-webkit-keyframes aniload {
  from {opacity:0}
  to   {opacity:1}
}

@-moz-keyframes aniload {
  from {opacity:0}
  to   {opacity:1}
}

@-ms-keyframes aniload {
  from {opacity:0}
  to   {opacity:1}
}

@-o-keyframes aniload {
  from {opacity:0}
  to   {opacity:1}
}

@keyframes aniload {
  from {opacity:0}
  to   {opacity:1}
}

.menu ul.actions {
	-webkit-animation:aniload 0.3s;
    -moz-animation:aniload 0.3s;
    -ms-animation:aniload 0.3s;
    -o-animation:aniload 0.3s;
    animation:aniload 0.3s;
}
.menu ul.actions a {
	color: #dd2033;
}

.menu:hover ul.actions {
    display: block;
}

.menu ul.actions li {
	list-style: none;
}

.menu ul.actions li a {
	list-style: none;
	display: block;
	width: 100%;
	padding: 8px 15px;
}

/* */

.social span.icon:before {
	font-size: 12px;
}

.social ul {
	float: right;
	list-style: none;
	padding-left: 15px;
	margin: 0;
}

.social ul a {
	color: #fff;
}

.social ul li {
	margin: 28px 0;
	display: inline-block;
	margin-left: 5px;
}

.social ul li a {
	border-radius: 50%;
	height: 50px;
	width: 50px;
	background: url(images/blackspace.png);
	padding: 4px 5px 6px 5px;
}

.social ul li.facebook a {
	background: #2b60b8;
}

.social ul li.twitter a {
	background: #459ae2;
}

.social ul li.gplus a {
	background: #d84a38;
}

.social ul li.youtube a {
	background: #c50000;
}

.social ul li a:hover {
	background: #dd2033;
}

/* */

.btns span.icon:before {
	font-size: 14px;
}

.btns ul {
	padding-left: 15px;
	float: left;
	list-style: none;
	margin: 0;
}

.btns ul a {
	color: #fff;
}

.btns ul li {
	margin: 17px 5px 17px 0;
	text-align: center;
	display: inline-block;
	border-radius: 50%;
	height: 20px;
	width: 20px;
	background: url(images/blackspace.png); 
	padding: 10px 11px 10px 9px;
	-webkit-transition: all 0.3s ease-in-out; 
	-moz-transition: all 0.3s ease-in-out; 
	-o-transition: all 0.3s ease-in-out; 
	-ms-transition: all 0.3s ease-in-out; 
	transition: all 0.3s ease-in-out;
}

.btns ul li.empty {
	background: none; 
	padding: 10px 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	filter: alpha(opacity=30);
	-moz-opacity: 0.3;
	-khtml-opacity: 0.3;
	opacity: 0.3;
}

.btns ul li.empty:hover {
	background: none;
	-webkit-transform: none; -moz-transform: none; -o-transform: none; -ms-transform: none; transform: none;
}

.btns ul li:hover a {
	color: #fff;
}

.btns ul li:hover {
	background: #dd2033;
	-webkit-transform: rotate(360deg) scale(1.1); -moz-transform: rotate(360deg) scale(1.1); -o-transform: rotate(360deg) scale(1.1); -ms-transform: rotate(360deg) scale(1.1); transform: rotate(360deg) scale(1.1);
}

#feat {
	background: url(images/blackspace.png); 
	display: none;
	height: 140px;
	box-shadow: inset 0 -4px 0 rgba(0,0,0,0.1); 
	-moz-box-shadow: inset 0 -4px 0 rgba(0,0,0,0.1); 
	-webkit-box-shadow: inset 0 -4px 0 rgba(0,0,0,0.1);
}

/* */

#games { padding-bottom: 10px; }

.games .thumb {
	background: #000;
	width: 93px;
	height: 93px;
	float: left;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
}

.games img {
	outline: none;
	border: none;
	width: 93px;
	height: 93px;
	float: left;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
	-o-transition:.3s; -ms-transition:.3s; -moz-transition:.3s; -webkit-transition:.3s; transition:.3s;
}

.games:hover img {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	-moz-opacity: 0.5;
	-khtml-opacity: 0.5;
	opacity: 0.5;
}

.games {
	float: left;
	width: 93px;
	height: 93px;
	margin: 12px 0 3px 12px; 
	background: #423780 url(images/gamesbg.png) no-repeat; 
	padding: 4px;
	border: 1px solid rgba(250,250,250,0.1);
	box-shadow: 2px 2px 2px rgba(0,0,0,0.2); 
	-moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.2); 
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

.games:hover { 
	background-color: #dd2033; 
}

.games .play {
	display: none;
	border-radius: 50%;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	background: #dd2033;
	width: 20px;
	height: 20px;
	text-align: center;
	padding: 5px;
	position: absolute;
	z-index: 5;
	color: #fff;
	margin: 35px
}

.games:hover .play {
	display: block;
}

/* */

#footer {
	color: #fff;
	padding: 10px;
	position:fixed;
   left:0px;
   bottom:0px;
   width:100%;
   background: url(images/blackspace.png);
   border-top: 1px solid rgba(250,250,250,0.1);
}

#footer a {
	color: #fff;
}

/* IE 6 */
* html #footer {
   position:absolute;
   top:expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
}

.fix-footer {
	height: 50px;
	float: left;
	width: 100%;
}

#footer .menu-footer {
	float: left;
}

#footer .menu-footer ul {
	text-align: right;
}

#footer .menu-footer ul li {
	display: inline-block;
	list-style: none;
	margin-right: 10px;
	padding-right: 10px;
}

#footer .powered {
	float: left;
}

/* Infinite Scroll */

a#inifiniteLoader{
	color: #fff;
	font-size: 13px;
	background: rgba(0,0,0,0.2);
	padding: 10px 20px;
	bottom: 40px;   
	right: 10px; 
	position: fixed;  
	z-index: 2;
	display: none;
}

/* Single */

.title-special {
	background: #423780 url(images/dg.png) repeat-x bottom;
	box-shadow: 0 1px 0 rgba(0,0,0,0.2);
	border-bottom: 1px solid #423780;
	float: left;
	width: 100%;
}

.single h1 {
	font-size: 22px;
}

.single .player {
	width: 100%;
	float: left;
	margin-top: 10px;
	min-height: 450px;
	text-align: center;
}

.single .player .game {
	display: none;
}

.single .related .games {
	margin: 10px 8px 10px 8px;
}

.description .tags span {
	float: left;
	margin-right: 5px;
	margin-top: 5px;
	color: #dd2033;
}

.description .tags ul li {
	list-style: none;
	display: inline-block;
	margin: 0 5px 5px 0;
	background: url(images/blackspace.png) repeat;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	padding: 5px 10px;
}

.description .tags ul li a {
	color: #fff;
	font-weight: 700;
	text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
}

.description .thumb {
	float: left;
	width: 80px;
	height: 80px;
	margin: 0 15px 5px 0; 
	background: #423780 url(images/gamesbg.png) no-repeat; 
	padding: 4px;
	border: 1px solid rgba(250,250,250,0.1);
	box-shadow: 2px 2px 2px rgba(0,0,0,0.2); 
	-moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.2); 
	-webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

.description .thumb img {
	width: 80px;
	height: 80px;
	float: left;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1;
	-khtml-opacity: 1;
	opacity: 1;
	-o-transition:.3s; -ms-transition:.3s; -moz-transition:.3s; -webkit-transition:.3s; transition:.3s;
}

.description .spacer {
	margin: 10px 0;
}

/* Comments */

.comments {
	width: 100%;
	float: left;
	margin-top: 10px;
}

.comments .spacer {
	margin: 10px 0;
}

.comments li {
	background: url(images/blackspace.png);
	float: left;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	width: 100%;
	margin-bottom: 5px;
}

.comments .comment-avatar {
	float: left;
	margin-right: 10px;
}

.comments input, .comments textarea {
	font-family: 'Open Sans', Arial, Helvetica;
	border-radius: 8px;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	padding: 10px;
	margin-bottom: 10px;
	background: url(images/blackspace.png);
	margin-right: 10px;
	width: 95%;
	-o-transition:.3s; -ms-transition:.3s; -moz-transition:.3s; -webkit-transition:.3s; transition:.3s;
	color: #fff;
	color: rgba(250,250,250,0.3);
}

.comments input:focus, .comments textarea:focus {
	color: #fff;
	color: rgba(250,250,250,1);
	background: url(images/whitespace.png);
}

.comments .submit {
	width: 100px;
	background: #423780 url(images/dg.png) repeat-x bottom;
	box-shadow: 0 1px 0 rgba(0,0,0,0.2);
	border-bottom: 1px solid #423780;
	padding: 10px;
	color: #fff;
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.btns, #footer .menu-footer, #feat {
		display: none;
	}

	.header-search input:focus {
	    color: #fff;
	    width: 130px;
	    background: url(images/whitespace.png);
    }
}

@media only screen and (max-width: 767px) {

	.btns, #footer .menu-footer, #footer .powered, .breadcrumb {
		display: none;
	}

	.header-search {
	    float: right;
	    margin: 50px 15px 0 15px;
    }

    .header-search input {
	    float: right;
	    width: 100px;
	    color: #fff;
	    padding: 10px 25px;
	    background: url(images/blackspace.png);
	    -o-transition:.3s; -ms-transition:.3s; -moz-transition:.3s; -webkit-transition:.3s; transition:.3s;
    }

    .header-search input.text {
	    color: #fff;
	    color: rgba(250,250,250,0.3);
	    font-style: italic;
    }

    .header-search input:focus {
	    color: #fff;
	    width: 100px;
	    background: url(images/whitespace.png);
    }

    .social ul {
    	float: left;
    }

    .spacer-special {
    	display: block;
    }
}