html, body {
        margin:0;
        padding:0;
        border:0;			/* This removes the border around the viewport in old versions of IE */
        width:100%;
    height:100%;
        background:#ff99cc;
        min-width:1050px;    /* Minimum width of layout - remove line if not required */
	font-family: verdana, arial, sans-serif; font-size:12px; 						/* The min-width property does not work in old versions of Internet Explorer */
    }
input[type=submit] {padding:5px 5px; margin-top:30px; background:#ff99cc; color:#fff; border:0 none; text-align:center; cursor:pointer;  -webkit-border-radius: 5px;  border-radius: 5px; }
	a {
    	color:#ff99cc;
        text-decoration:none;
	}
	a:hover {
		color:#62cbf8;
		text-decoration:none;
	}
    h1, h2 {
        margin: 15px auto;
        padding:0;
       color:#ff99cc;
       font-size:30px;
       display:table;
    }
h3 { color:#ff99cc; font-size:18px; }
    p {
        margin:.4em 0 .8em 0;
        padding:0;
    }
	img {
		margin:1px 0 1px;
	}
	/*wrapper styles */
	.fixed #wrapper {
		width:1050px;
		text-align:left;
		margin:0 auto;
	}
	.liquid #wrapper {
		width:100%;
		text-align:left;
		margin:0;
	}
iframe { border: 0px solid #ffffff; overflow: hidden; margin: 0; padding: 0;}
	/* Header styles */
   #header {
        clear:both;
        float:left;
        width:100%;
		background:#fff;
    }
	#header {
		border-bottom:0px;
	}
	#header p,
	#header h1,
	#header h2 {
	    padding:.4em 1px 0 1px;
        margin:0;
	}
	p.layoutstyle {
		float:right;
	}
#header ul {
	    
	    width:100%;
	    list-style:none;
	    margin: -5px 0 0 30px;
	   height: 25px;
            font-size:11px;
	    padding:0;
	}
	#header ul li {
	    display:inline;
	    list-style:none;
	    margin:0;
	    padding:0;
	}
	#header ul li a {
	    display:block;
	    float:left;
	    margin:0 0 0 1px;
	    padding:3px 8px;
	    text-align:center;
	    background:#62cbf8;
	    color:#fff;
	    text-decoration:none;
	    position:relative;
	    left:1px;
		line-height:1.3em;
	}
	#header ul li a:hover {
	    background:#ff99cc;
		color:#fff;
	}
	#header ul li a.active,
	#header ul li a.active:hover {
	    color:#fff;
	    background:#000;
	    font-weight:bold;
	}
	#header ul li a span {
	    display:block;
	}
        .left {
       margin: 1px 0;
        float: left; 
        text-align: center;
        width: 24.8%;
        }
.allgames {
float: left; 
width: 24.8%; 
text-align: left;
font-size:10px;
}

	/* column container */
	.colmask {
		position:relative;		/* This fixes the IE7 overflow hidden bug and stops the layout jumping out of place */
	    clear:both;
	    float:left;
            width:100%;				/* width of whole page */
	    overflow:hidden;		/* This chops off any overhanging divs */
            text-align:center;
	}
	/* holy grail 3 column settings */
	.holygrail {
	    background:#fff;    	/* Right column background colour */
	}
    .holygrail .colmid {
        float:left;
        width:200%;
        margin-left:-160px; 	/* Width of right column */
        position:relative;
        right:100%;
        background:#fff;    	/* Centre column background colour */
    }
    .holygrail .colleft {
        float:left;
        width:100%;
        margin-left:-50%;
        position:relative;
        left:320px;         	/* Left column width + right column width */
        background:#FFF;    	/* Left column background colour */
    }
    .holygrail .col1wrap {
        float:left;
	    width:50%;
	    position:relative;
	    right:160px;        	/* Width of left column */
	    /*padding-bottom:1em; 	/* Centre column bottom padding. Leave it out if it's zero */
	}
	.holygrail .col1 {
        margin:0 160px;     	/* Centre column side padding:
                            	Left padding = left column width + centre column left padding width
                            	Right padding = right column width + centre column right padding width */
        position:relative;
	    left:200%;
	
	}
    .holygrail .col2 {
        float:left;
        float:right;			/* This overrides the float:left above */
        width:160px;        	/* Width of left column content (left column width minus left and right padding) */
        position:relative;
        right:0px;         	/* Width of the left-had side padding on the left column */
    }
    .holygrail .col3 {
        float:left;
        float:right;			/* This overrides the float:left above */
        width:160px;        	/* Width of right column content (right column width minus left and right padding) */
        margin-right:0px;  	/* Width of right column right-hand padding + left column left and right padding */
        position:relative;
        left:50%;
    }
	/* Footer styles */
	#footer {
	clear:both;
        float:left;
        font-size:12px;
        color:#fff;
        text-align:center;
        width:100%;
	border-top:1px solid #ff99cc;
	background:#62cbf8;
    }
    #footer a:hover{ 
    color:#fff;
     }
    #footer p {
        padding:10px;
        margin:0;
    }
#headerad {
        padding:0px;
        text-align:center;
      display:inline-block;width:1050px;
    }
#headerad:before {
  content: "Advertisement:";
  margin-top:20px;
  color: #ff99cc;
  display: block;
  font-family: verdana, arial, sans-serif; font-size: x-small;
}
#bottomad {

        margin-top:25px;
        margin-bottom:20px;
        text-align:center;
  
    }
#bottomad:before {
  margin-top:20px;
  content: "Advertisement:";
  display: block;
  color: #ff99cc;
  font-family: verdana, arial, sans-serif; font-size: 12px;
}
.cleaner {
	clear: both;
	height: 0;
	margin: 0;
	padding: 0;
}
#category_headerad { height:120px; text-align:center; margin: 0px auto 5px; } 
#category_headerad:before {
  content: "Advertisement:";
  display: block;
  color: #ff99cc;
  font-family: verdana, arial, sans-serif; font-size: x-small;
}
#category_bottomad { width:730px;height: 150px;}
#category_bottomad:before {
  content: "Advertisement:";
  display: block;
  color: #ff99cc;
  font-family: verdana, arial, sans-serif; font-size: 12px;
}
.button {background: #ff99cc; padding: 10px 12px; margin:5px; -webkit-border-radius: 5px; border-radius: 5px; color: white;font-size:12px; }
.button:hover { background: #62cbf8; color: #f5f5f5; }
div.mobiles { padding:40px 0px 20px 0px;}
div.mobiles p {margin:15px; padding:15px;font-weight:bold;}
div.left img{ margin-top: 5px;}
.leftbox {float:left; width: 345px; height: 310px; text-align: left; margin:5px 4px 0px 12px; color:#ff99cc;}
#allgameslist p  {font-size:10px; margin:0px 8px; -webkit-column-count: 6; -webkit-column-gap: 1%; -moz-column-count: 6;  -moz-column-gap: 1%; column-count: 6; column-gap: 1%; text-align:left; }
.playflash {background: #4CBB17; color: #FFFFFF; padding: 8px 15px 8px 15px; border-radius: 5px;}
.playbtn {text-align:center;margin: 30px 0px;}
.gameButn {background: #018801; padding: 15px 60px;border-radius: 20px; color: white;}
#mylink:hover{text-decoration: none;color: white; font-weight:bold;}
.description {width: 70%;margin:auto;color:#4f5b66;}
.colmask.holygrail p:first-of-type {color:#ff99cc;}
@media (min-width:421px) {.leftbox {width: 345px;height:310px;} #headerad {width:1050px;} #bottomad {width:730px;height:190px;margin:auto;} #category_bottomad { width:730px;height: 150px;} #category_headerad { height:120px; width:750px;}}
@media (max-width: 420px) { #header ul {font-size: 2em; height:4em;} #allgameslist p {font-size: 2em;} #footer {font-size: 2em;background:#ffffff; color:#000000;} #category_bottomad:before, #category_headerad:before, bottomad:before, headerad:before, .leftbox {color:#f958a8; font-size:large;} h1, h3, h2{color:#ff2b96;font-size: 2em;} div.left img{margin:15px 0;} .left a:last-child {max-width:10ch; font-size: 2em; color: #f958a8; display:block; margin:0 13px; white-space: nowrap; overflow: hidden;text-overflow: ellipsis;} #category_bottomad:before, #category_headerad:before,  #bottomad:before, #header ul li a{margin: 10px 7px 10px 5px;}#header ul{margin: 0 0 5px 2px;}embed, object {display:none;}#category_bottomad{margin: 50px 0px; margin-left: -160px;} #footer a{color:#ff2b96;} .leftbox { font-size:x-large;} #category_headerad { height:125px; }}