
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* Begin styling */
body {
	color:#fff;
	font-family: 'Oxygen', Arial, sans-serif;
	background:url(/images/geometry.png) center repeat;
}
h1 {
	font-size: 1.5em;
	margin-bottom: 10px;
}
h2 {
	font-size: 1.4em;
	margin-bottom: 10px;
}
h3, h4 {
	font-size: 1.2em;
	margin-bottom: 10px;
}
p {
	line-height: 1.4em;
	margin-bottom: 15px;
}
.center {
	max-width:960px;
	width: 100%;
	height: auto;
	margin:0 auto;
	position:relative;
}
#header, #footer {
	background-color:#27AAE1;
}
#header {
	border-top:6px solid #FBB040;
	position:relative;
	z-index:100;
	-webkit-box-shadow: 0px 5px 5px rgba(50, 50, 50, 0.3);
	-moz-box-shadow: 0px 5px 5px rgba(50, 50, 50, 0.3);
	box-shadow: 0px 5px 5px rgba(50, 50, 50, 0.3);
}
.logo {
	padding:20px;
}
#header-puzzle {
	width:200px;
	height:100px;
	background:url(/images/sudoku-header.png) bottom left no-repeat;
	background-size: 100% auto;
	position: absolute;
	top: 1px;
	left: 465px;
}
#social {
	background-color:#FBB040;
	padding: 0px 10px 10px 10px;
	position: absolute;
	top: 0;
	right: 0;
}
#like-box {
	position: absolute;
	top: 24px;
	right: 132px
}
.connect-text {
	position: absolute;
	right: 30px;
	top: 64px;
}
#site-nav-area {
	background-color:#FBB040;
	border-top:6px solid #fff;
	border-bottom:6px solid #fff;
	width: 96%;
	padding: 0 2%;
}
#site-nav {
	height:48px;
	list-style:none;
}
#current a {
	background-image:url(/images/current.png);
	background-position:center bottom;
	background-repeat:no-repeat;
}
.selected-puzzle {
	padding-right:10px !important;
	background-color:#F7941E;
}
.selected-puzzle-arrow {
	background-image:url(/images/selected-puzzle.png);
	background-repeat:no-repeat;
	background-position:left center;
}
.selected-puzzle-arrow a:hover {
	background-image:inherit;
	background-repeat:inherit;
	background-position:inherit;
	background-color:#F7941E;
}
#site-nav li {
	float:left;
	padding:16px 0;
}
#site-nav li a {
	color:#fff;
	text-decoration:none;
	padding:14px 20px;
}
#site-nav li a:hover {
	background-color:#F7941E;
}
#container {
	padding-bottom: 20px;
	background-color:#F1F2F2;
	color:#000;
	position:relative;
	z-index:10;
	-webkit-box-shadow: 0px 0px 6px 2px rgba(50, 50, 50, 0.3);
	-moz-box-shadow: 0px 0px 6px 2px rgba(50, 50, 50, 0.3);
	box-shadow: 0px 0px 6px 2px rgba(50, 50, 50, 0.3);
}
#main-text {
	max-width:860px;
	width: 95%;
	margin:0 auto;
	padding-top:20px;
}
#main-text li, .list li {
	margin: 0 0 8px 20px;
	list-style:circle;
}
#main-text a, #content a {
	color:#1C75BC;
}
.emphasized {
	font-style:italic;
	font-size: 1em;
}
.top-line {
	width:100%;
	border-bottom: 1px solid #fff;
	padding-top:20px;
}
.bottom-line {
	width:100%;
	border-top: 1px solid #ccc;
	padding-bottom:20px;
}
.puzzle-list-box {
	width:250px;
	height:350px;
	padding-left: 50px;
	padding-bottom: 20px;
	float:left;
}
.puzzle-list-box p {
	font-size: .8em;
	text-align: center;
}
.puzzle-list-box h3 {
	padding-top:10px;
	text-align:center;
}
#puzzle-area {
	width: 66%;
	float:left;
}
#puzzle-area h4 {
	display:inline-block;
}
#content, #puzzle, #share-game {
	max-width:500px;
	width: 100%;
	margin:0 auto;
	padding-top:20px;
}
#flash-game p {
	margin: 10px 0;
	text-align: center;
}
#share-game {
	border-bottom: 1px solid #fff;
	padding-bottom:20px;
}
#share-game img {
	vertical-align: middle;
	width:30px;
	padding-left:6px;
}
#puzzle-nav {
	height:56px;
	list-style:none;
	background-color:#1C75BC;
}
#puzzle-nav li {
	float:left;
	padding:20px 0;
	border-right:1px solid #2B3990;
	border-left:1px solid #fff;
}
#puzzle-nav li a {
	color:#fff;
	text-decoration:none;
	padding: 18px 28px;
}
#puzzle-nav li a:hover {
	background-color:#27AAE1;
}
#sidebar {
	width:34%;
	margin-bottom: -20px;
	background-color:#fff;
	float:right;
}
#sidebar h2 {
	margin:20px 0 10px 10px;
}
.banner {
	padding: 15px 30px;
	margin-bottom: 0;
	background-color: #27AAE1;
	color: #fff;
	border-bottom: 6px solid #fff;
	text-align: center;
}
.banner-img {
	width:320px;
	height:80px;
}
#footer {
	font-size:.9em;
	border-bottom:6px solid #FBB040;
	position:relative;
	z-index:99;
	-webkit-box-shadow: 0px -5px 5px rgba(50, 50, 50, 0.3);
	-moz-box-shadow: 0px -5px 5px rgba(50, 50, 50, 0.3);
	box-shadow: 0px -5px 5px rgba(50, 50, 50, 0.3);
}
#footer a {
	color:#fff;
}
#footer h3, #footer h4 {
	font-size:1.3em;
}
#footer h3 {
	border-bottom:2px solid #FBB040;
	padding-bottom: 4px;
}
.footer-box {
	max-width: 45%;
    width: 100%;
    margin: 20px 2%;
    float: left;
}
.footer-list {
	display: inline-block;
    padding: 0 0 10px 20px;
}
.footer-list li {
	margin-right: 10px;
	margin-bottom: 6px;
	float:left;
}
.team-image {
	width: 25%;
	float:left;
}
.team-image img{
	max-width: 100%;
}
.team-text {
	width: 70%;
    padding-left: 5%;
    float: left;
}
#main-ad {
	max-width:728px;
	width: 100%;
	margin:0 auto;
}
#puzzle-ad {
	max-width:468px;
	width: 100%;
	margin:0 auto;
	overflow: hidden;
}


/* ADDITIONAL CSS ADDED BY CHAI */
#container img{
	max-width: 100%;
}
iframe{
	max-width: 100%;
}
#main-ad ins, #main-ad iframe{
	max-width: 100%!important;

}
#footer .footer-box div{
	line-height: 155%;
}
@media screen and (max-width: 1025px) {
	#sidebar div{
		width: 100%!important;
		padding: 10px 0!important;
	}
	#sidebar ins, #sidebar iframe{
		width: 100%!important;
		display: block;
		margin: 0 auto;
	}
	#sidebar img{
		padding: 10px 0!important;
		display: block;
		margin: 0 auto;
	}
	#puzzle-nav li a{
		padding: 18px 22px;
	}
	#game-nav{
		max-width: 505px;
		width: 100%!important;
	}
	#game-nav li{
		width: 57px!important;
		height: 47px!important;
	}
	#game-nav .pencil-item {
	width: 102px !important;
	}
}
@media screen and (max-width: 820px) {
	#puzzle-area{
		width: 100%;
	}
	#sidebar {
		width: 100%;
		max-width: 320px;
		float: none;
		margin: 20px auto;
		clear: both;
	}
}

@media screen and (max-width: 768px) {
	#header-puzzle, #like-box, #social{
		display: none;
	}
	.logo{
		padding: 20px 0;
	}
	#header .center a{
		margin: 0 auto;
		display: block;
		text-align: center;
	}
	#site-nav-area .center a{
		padding: 14px 20px;
	}
	#site-nav li{
		padding: 2px 0;
	}
	#site-nav-area .center{
		max-width: 520px;
		width: 100%;
	}
	.footer-box{
		max-width: none;
		width: 95%;
		margin: 0 auto;
		padding: 30px 0 0 0;
		float: none;
	}
	.team-image {
		width: 18%;
		float: left;
		margin: 0 0 20px;
	}
	.team-text {
		width: 81%;
		padding: 5px 0 0 0;
		float: right;
	}
	#site-nav-area{
		float: left;
		width: 96%;
	}
	#site-nav li{
		overflow: hidden;
	}
	#site-nav li a{
		padding: 14px 5%;
	}
	#main-ad ins{
		width: 100%!important;
	}
	#main-ad iframe, #main-ad img{
		width: 100%!important;
	}
	#container{
		float: left;
		width: 100%;
		z-index: 999;
		text-align:center;
	}
	#content, #share-game {
	padding: 20px 10px 10px 10px;
	width:initial;
	}
	#main-text li, .list li {
		list-style:none;
	}
	.puzzle-list-box {
    	padding-left: initial;
	    float: initial;
    	margin: 0 auto;
    }
	#footer{
		float: left;
		width: 100%;
	}
	.mean-nav span{
		display: none;
	}
	#site-nav li.selected-puzzle{
		padding: 16px 0!important;
		text-align: center!important;
	}
}
@media screen and (max-width: 600px) {
	#puzzle{
		max-width: 350px;
		width: 100%!important;
		height: auto!important;
	}
	#puzzle div{
		width: 100%!important;
		height: auto!important;
	}
	#puzzle .game{
		width: 98%!important;
		height: auto!important;
	}
	#puzzle-nav li a{
		padding: 18px 16px;
	}
	.game td{
		min-width: 0!important;
		font-size: 16px!important;
	}
	#puzzle textarea{
		width: 35px;
		height: 32px;
		font-size: 16px;
		line-height: 32px!important;
	}
	#puzzle .pen{
		font-size: 16px;
	}
	#skewed{
		display: none!important;
	}
	#puzzle-area h4{
		font-size: 12px;
	}
	.one, .two, .three, .four {
	background-size:cover;
	}
	table.puzzle_table td {
	min-height: initial !important;
	min-width: initial !important;
    height: 85px !important;
    width: 180px !important;
	}
	#puzzle-nav li a {
	padding: 18px !important;
	}
}
@media screen and (max-width: 560px) {
	.team-image{
		width: 25%;
	}
	.team-text{
		width: 73%;
		padding: 0;
	}
}
@media screen and (max-width: 515px) {
	#puzzle-nav li a {
		padding: 18px 12px;
		font-size: 12px;
	}
}
@media screen and (max-width: 480px) {
	.team-image{
		width: 30%;
	}
	.team-text{
		width: 65%;
	}
	.logo{
		max-width: 90%;
	}
}