body {
height:100%;  
margin:0;
font-family: verdana;
font-size: 12px;
color: #000000;
background-color: #FFFBFB;
min-width: 1115px;
}
a:link, a:active, a:visited { color: #C7377D; text-decoration: none; }
a:hover { text-decoration: underline; color: #FF0000; }
a.mainpage:link, a.mainpage:active, a.mainpage:visited { color: #C7377D; text-decoration: underline; font-size: 13px; }
a.mainpage:hover { text-decoration: none; color: #000000; }
a.headcat:link, a.headcat:active, a.headcat:visited { color: #000000; text-decoration: underline; font-size: 13px; font-weight: bold; }
a.headcat:hover { text-decoration: none; }
a.sub:link, a.sub:active, a.sub:visited { color: #FFFFFF; text-decoration: none; font-weight: bold; }
a.sub:hover { text-decoration: underline; }
a.sub2:link, a.sub2:active, a.sub2:visited { color: #FFFFFF; text-decoration: none; font-weight: bold; font-size: 10px; }
a.sub2:hover { text-decoration: none; color: #000000; }

.gamecat { 
width: 150px; 
height: 140px; 
float:left; 
text-align: center; 
font-weight: bold;
}
.mcat { 
width: 155px; 
height: 200px; 
float:left; 
text-align: center; 
font-weight: bold;
}

.gamecat a, .mcat a {
color: #C7377D;
font-size: 11px;
text-decoration: none;
}
.gamecat a:hover, .mcat a:hover {
color: #FF0000;
font-size: 11px;
text-decoration: none; 
}
.gamecat img { width: 120px; height: 90px; border: 1px solid #C7377D; }
.mcat img { width: 150px; height: 150px; }


ul {
padding: 0;
margin: 0;
}

.mainleft li {
list-style: none;
margin-top: 5px;
}
h1 {
font-size: 20px;
color: #C7377D;
margin-top: -2px;
}
h2 {
font-size: 13px;
color: #C7377D;
font-weight: bold;
text-align: center;
margin-top: 5px;
}
h3 {
font-size: 18px;
color: #C7377D;
font-weight: bold;
text-align: center;
margin: 0px 0 -4px 0;
}
#header {
height: 90px;
background-color: #FF557F;
padding: 3px 3px 5px 3px;
}
.headleft {
float:left;
}
.headleft img {
border: 0;
}
.headright {
float:left;
padding-left: 10px;
}
.headright img {
border: 0;
}
#mainpage {
min-width: 1015px;
background: #FFFBFB url(/images/mainpage.gif) repeat-y 0 0;
min-height:100%;
}
.leftmenu {
width:175px;
height:100%;
background-color:#FF557F;
float:left;
}
.form {
margin: 0;
}
.search {
width:175px;
height:50px;
padding: 5px 5px 1px 3px;
border-bottom: 1px solid #fff;
border-top: 1px solid #fff;
}
.input {
width:100px;
height:22px;
font-size:13px;
color: #505050;
margin: 2px;
padding-left: 2px;
vertical-align: middle;
border: 1px solid #FFDFEE;
background-color: #FFFFFF;
}
.submit {
width: 40px;
height: 22px;
font-size:13px;
color: #000000;
border: 1px solid #FFDFEE;
vertical-align: middle;
background-color: #FFFFFF;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
img {
border: none;
} 
.menu{
width: 175px;
margin-top:0;
border-bottom: 1px solid #fff;
}
.menu li a {
height: 32px;
height: 24px;
text-decoration: none;
} 
.menu li a:link, .menu li a:visited {
color: #000000;
display: block;
background:  url(/images/menu.gif);
padding: 8px 0 0 10px;
}
.menu li a:hover {
color: #CA0000;
background:  url(/images/menu.gif) 0 -32px;
padding: 8px 0 0 10px;
}
.skyscraper {
width: 175px;
margin: 5px 0 10px 0;
padding-left: 7px;
}
.main {
width:800px;
overflow: hidden;
float:left;
margin: 0;
padding: 15px;
background-color: #FFFBFB;
border-top: 1px solid #fff;
}
.mainleft {
width:485px;
overflow:hidden;
float:left;
margin:0 auto;
}
.game {
width:480px;
clear: both;
height: 60px;
margin-bottom: 40px;
}
.gameimg {
float: left;
width: 80px;
height: 60px;
margin-right: 10px;
}
.thumb {
border: 1px solid #C7377D;
width: 80px;
height: 60px;
}
.mthumb {
width: 175px;
height: 175px;
}
.gameimg img {
border: 1px solid #C7377D;
}
.gamepimg
{
width: 80px;
height: 60px;
border: 1px solid #C7377D;
text-indent: 10pt;
text-align: center;
vertical-align: middle;
display: block;
margin-bottom: 0px;
}
.gametext {
height:60px;
padding:0px;
color: #000;
font-size: 11px;
vertical-align: top;
}
.gametitle {
color: #C7377D;
font-size: 13px;
text-decoration: none;
font-weight: bold;
}
.gametext a{
color: #C7377D;
font-size: 11px;
text-decoration: none;
}
.gametext a:hover{
color: #FF0000;
font-size: 11px;
text-decoration: none;
}
.pages {
width: 700px;
padding: 1.1em;
margin: 0 0 0 10px;
clear: left;
font-size: 12px;
}
.pages a{
display: block;
float: left;
padding: 0.2em 0.5em;
margin-right: 0.1em;
border: 1px solid #fff;
background: #fff;
color: #333;
}
.pages span{
display: block;
float: left;
padding: 0.2em 0.5em;
margin-right: 0.1em;
background: inherit;
color: #333;  
}
.pages span.current {
border: 1px solid #969696;
font-weight: bold;
background: #FFECEC;
color: #000;
}
.pages a {
border: 1px solid #ddd;
text-decoration: none;
}
.pages a:hover {
border-color: #969696;
background-color: #FFECEC;
}
.pages a.nextprev {
font-weight: bold;
}
.pages span.nextprev {
color: #666;
}
.pages span.nextprev {
border: 1px solid #ddd;
color: #999;
}
.pages .nextprev-next {
float: right;
}
.mainright {
width:300px;
float: left;
overflow:hidden;
margin-left:0px;
}
.mright {
float:left;
width: 160px;
margin-top: 10px;
}
.mleft {
float:right;
width:130px;
margin: 10px 5px 0 0;
border: 1px solid #FFA4A4;
background-color: #FFF;
padding-top: 0;
}
.list {
padding: 0 5px 0 10px;
margin-top: 0px;
}
.list a {
color: #000000;
text-decoration: none;
}
.list a:hover {
color: #CA0000;
text-decoration: underline;
}
.vid {
margin: 0 auto;
width: 800px;
text-align: center;
padding-top: 10px;
}
.vid p {
color: #999;
font-size: 11px;
}
.vid img {
margin-bottom: 20px;
}

.footer {
padding:15px 0 15px 0;
background-color:#FFFBFB;
width:70%;
}
.footer ul {
list-style:none;
text-align:center;
margin:0 0 15px;
}
.footer ul li {
display:inline;
color:#666;
}
.footer ul li a,active,visited {
color:#666;
text-decoration:none;
padding:0 5px;
}
.footer ul li a:hover{
color:#CA0000;
text-decoration:none;
padding:0 5px;
}
.footer ul.copyright li {
margin:0 25px;
font-size: 10px;
}
#doc,.yui-t6{margin:auto;text-align:center;width:57.69em;*width:56.25em;min-width:680px;}
.yui-b{position:relative;}
.yui-b{position:static;}
#yui-main .yui-b{position:static;}
#yui-main{width:97%;}
.yui-t6 #yui-main{float:left;margin-right:-25em;}
.yui-t6 .yui-b{float:right;width:23.0769em;*width:22.50em;}
.yui-t6 #yui-main .yui-b{margin-right:24.0769em;*margin-right:23.62em;}
#yui-main .yui-b{float:none;width:auto;}
.yui-gb .yui-u{float:left;}
.yui-u{float:right;padding-top:10px;text-align:center;}
.yui-gb div.first div.first{float:left;}
.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf,.yui-gc .yui-u,.yui-gd .yui-g,.yui-g .yui-gc .yui-u,.yui-ge .yui-u,.yui-ge .yui-g,.yui-gf .yui-g,.yui-gf .yui-u{float:right;}
.yui-g div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first,.yui-ge div.first,.yui-gf div.first,.yui-g .yui-gc div.first,.yui-g .yui-ge div.first,.yui-gc div.first div.first{float:left;}
.yui-g .yui-u,.yui-g .yui-g,.yui-g .yui-gb,.yui-g .yui-gc,.yui-g .yui-gd,.yui-g .yui-ge,.yui-g .yui-gf{width:49.1%;}.yui-gb .yui-u,.yui-g .yui-gb .yui-u,.yui-gb .yui-g,.yui-gb .yui-gb,.yui-gb .yui-gc,.yui-gb .yui-gd,.yui-gb .yui-ge,.yui-gb .yui-gf,.yui-gc .yui-u,.yui-gc .yui-g,.yui-gd .yui-u{width:32%;margin-left:1.99%;}
.yui-gb .yui-u{*margin-left:1.9%;*width:31.9%;}
.yui-gc div.first,.yui-gd .yui-u{width:66%;}
.yui-gd div.first{width:32%;}
.yui-ge div.first,.yui-gf .yui-u{width:74.2%;}
.yui-ge .yui-u,.yui-gf div.first{width:24%;}
.yui-g .yui-gb div.first,.yui-gb div.first,.yui-gc div.first,.yui-gd div.first{margin-left:0;}
.yui-g .yui-g .yui-u,.yui-gb .yui-g .yui-u,.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u,.yui-ge .yui-g .yui-u,.yui-gf .yui-g .yui-u{width:49%;*width:48.1%;*margin-left:0;}
.yui-g .yui-gb div.first,.yui-gb .yui-gb div.first{*margin-right:0;*width:32%;width:31.7%;}
.yui-g .yui-gc div.first,.yui-gd .yui-g{width:66%;}
.yui-gb .yui-g div.first{*margin-right:4%;margin-right:1.3%;}
.yui-gb .yui-gc div.first,.yui-gb .yui-gd div.first{*margin-right:0;}
.yui-gb .yui-gb .yui-u,.yui-gb .yui-gc .yui-u{*margin-left:1.8%;margin-left:4%;}
.yui-g .yui-gb .yui-u{margin-left:1.0%;}
.yui-gb .yui-gd .yui-u{*width:66%;width:61.2%;}
.yui-gb .yui-gd div.first{*width:31%;width:29.5%;}
.yui-g .yui-gc .yui-u,.yui-gb .yui-gc .yui-u{width:32%;float:right;margin-right:0;margin-left:0;}
.yui-gb .yui-gc div.first{width:66%;*float:left;*margin-left:0;}
.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf .yui-u{margin:0;}
.yui-gb .yui-gb .yui-u{margin-left:.7%;}
.yui-gb .yui-g div.first,.yui-gb .yui-gb div.first{*margin-left:0;}
.yui-gc .yui-g .yui-u,.yui-gd .yui-g .yui-u{*width:48.1%;*margin-left:0;}
s .yui-gb .yui-gd div.first{width:32%;}
.yui-g .yui-gd div.first{width:29.9%;}
.yui-ge .yui-g{width:24%;}
.yui-gf .yui-g{width:74.2%;}
.yui-gb .yui-ge div.yui-u,.yui-gb .yui-gf div.yui-u{float:right;}
.yui-gb .yui-ge div.first,.yui-gb .yui-gf div.first{float:left;}
.yui-gb .yui-ge .yui-u,.yui-gb .yui-gf div.first{*width:24%;width:20%;}
.yui-gb .yui-ge div.first,.yui-gb .yui-gf .yui-u{*width:73.5%;width:65.5%;}
#bd:after,.yui-gb:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
#bd,.yui-gb{zoom:1;}
a.TextLink, A.TextLink:visited, A.TextLink:hover, A.TextLink:active {
color: #C7377D;
font-size: 11px;
font-weight: bold;
text-align: center;
text-decoration: none;
}
A.TextLink:hover { color: #FF0000; }
.DivLink
{
width: 73%;
}
span.embed { display: inline; }
span.embed input { width: 150px; border: 1px solid #ccc; padding: 1px 4px 2px; }
.cpmstar img { border: 1px solid #000000 }
input.curl{ display:none; }

#gheadtext {
	font-size: 20px;
	font-weight: bold;
	width: 370px;
	float: left;
}
#gheadtext a { color: #C7377D; }
#ghead {
	font-size: 19px;
	font-weight: bold;
	width: 100%;
	float: left;
	color: #393939;
}
#ghead a { color: #393939; }
#ghead h1 {
	float: left;
	color: #C7377D;
	font-size: 20px;
	font-weight: bold;
}

ul.gameinfo {
  font-weight: bold;
  text-align: center;
  clear: both;
  padding-left: 50px;
}
ul.gameinfo li img { vertical-align: top; }
ul.gameinfo li {
  float: left;
  display: block;
  list-style-type: none;
  padding-left: 15px;
}
ul.gameinfo li a.gameinfo {
  text-decoration: underline;
  font-size: 13px;
  font-weight: bold;
}
/* Task #1 */
.menu{
width: 175px;
margin-top:0;
border-bottom: 1px solid #fff;
}
.menu li a {
height: 32px;
/*height: 24px;*/
text-decoration: none;
} 
.menu li a:link, .menu li a:visited {
color: #000000;
display: block;
background:  url(images/menu.gif);
padding: 0 0 0 10px;
}
.menu li a:hover {
color: #CA0000;
background:  url(images/menu.gif) 0 -32px;
padding: 0 0 0 10px;
}
.menu li a img {
padding-top: 4px;
} 
.menu li a span {
position: absolute;
padding: 9px 0 0 5px;
} 

ul#main-games { clear: both; padding: 5px 0px 0px 0px; }
ul#main-games li.game-border { list-style: none; float: left; margin: 0px 15px 5px 0px; width: 80px; padding: 5px; }
ul#main-games li.game-border a { text-decoration: none; }
ul#main-games li.game-border img { width: 80px; height: 60px; border: none; margin: 0px; border: 1px solid #C7377D; }
ul#main-games li.game-border { background: #FFECEC; }
ul#main-games p.big-game-title { color: #C7377D; font-size: 11px; display: block; text-decoration: none; padding: 1px 1px 2px 1px; text-align: center; font-weight: bold; }
ul#main-games p.big-game-title:hover { color: #a819aa; }

/*================================
==== Social Media buttons
================================*/

.facebook-btn iframe {
position: absolute;
left: 75px;
top: 22px;
display: block;
width: 200px;
margin: 0px;
padding: 0px;
}



.googleplus {
display: block;
position: absolute;
right: 50px;
top: 44px;
}

.social-media {
background: url(images/facebook-bg.png) no-repeat;
width: 424px;
height: 91px;
position: relative;
display: block;
}

.headright {
    float:left;
    padding-left: 10px;

}
.headright img {
    border: 0;
}

.clear {
    clear: both;
}
/*========= End Social Media Button*/

.review_rit{
	width:110px;
	float:right;
	overflow:hidden;
}
.buy_box{
	width:74px;	
	padding:9px 10px;
	text-align:center;
	height:61px;
	margin-left:16px;
	background: url(../images/bg_box.png) no-repeat;
}				
.buy_box b{
	width:74px;
	font-size:20px;
	color:#014271;
	display:block;
	padding-bottom:5px;
}	
.buy_box b span{
	font-size:24px;
	color:#C20101;
}	
.buy_box a{
	width:74px;
	height:24px;
	display:block;
	text-align:center;
	line-height:24px;
	font-size:12px;
	font-weight:bold;
	background:url(../images/buy_btn.png) no-repeat;
	color: #FFFFFF;
}	
.buy_box a:hover{
	color:#fff;
	background-position:0 -24px;
	text-decoration: none;
}

#fanback {
display:none;
background:rgba(0,0,0,0.8);
width:100%;
height:100%;
position:fixed;
top:0;
left:0;
z-index:99999;
}
#fan-exit {
width:100%;
height:100%;
}
#fanbox {
background:white;
width:420px;
height:270px;
position:absolute;
top:58%;
left:63%;
margin:-220px 0 0 -375px;
-webkit-box-shadow: inset 0 0 50px 0 #939393;
-moz-box-shadow: inset 0 0 50px 0 #939393;
box-shadow: inset 0 0 50px 0 #939393;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
margin: -220px 0 0 -375px;
}
#fanclose {
float:right;
cursor:pointer;
background:url(https://www.allfungirlsgames.com/images/fanclose.png) repeat;
height:15px;
padding:20px;
position:relative;
padding-right:40px;
margin-top:-20px;
margin-right:-22px;
}
.remove-borda {
height:1px;
width:366px;
margin:0 auto;
background:#F3F3F3;
margin-top:16px;
position:relative;
margin-left:20px;
}
#linkit a.visited,#linkit a,#linkit a:hover {
color:#80808B;
font-size:10px;
margin: 0 auto 5px auto;
float:center;
}