/*
Theme Name: mahjong
Theme URI:
Author: 
Author URI: 
Description: mahjong 
Version: 1.0
License: 
License URI: 
Tags:
Text Domain: mahjong
*/


/* ==========================================================================
   Default stylings from HTML5 Boilerplate
   ========================================================================== */
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
@font-face {
	font-family: 'icomoon';
	src:url('fonts/icomoon.eot?agoax0');
	src:url('fonts/icomoon.eot?#iefixagoax0') format('embedded-opentype'),
		url('fonts/icomoon.woff?agoax0') format('woff'),
		url('fonts/icomoon.ttf?agoax0') format('truetype'),
		url('fonts/icomoon.svg?agoax0#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'mahjong';
	src:url('fonts/mahjong/icomoon.eot?agoax0');
	src:url('fonts/mahjong/icomoon.eot?#iefixagoax0') format('embedded-opentype'),
		url('fonts/mahjong/icomoon.woff?agoax0') format('woff'),
		url('fonts/mahjong/icomoon.ttf?agoax0') format('truetype'),
		url('fonts/mahjong/icomoon.svg?agoax0#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}
*{ -webkit-hyphens: none;}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	margin: 0 1.6rem 0 0;
	font-size: 2.3rem;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-dif:before {
	content: "\e600";
	display: block;
	
	font-family: 'icomoon';
}
.icon-erase:before {
	content: "\e601";
	font-family: 'icomoon';
}
.icon-lang:before {
	content: "\e602";
	font-family: 'icomoon';
}
.icon-plus:before {
	font-family: 'icomoon';
	content: "\e603";
}
.icon-print:before {
	font-family: 'icomoon';
	content: "\e604";
}
.icon-settings:before {
	font-family: 'icomoon';
	content: "\e605";
}
.icon-shuffle:before{
	font-family: 'icomoon';
	content: "\e606";
}
.icon-solve:before {
	content: "\e607";
}
.icon-mahjong:before {
	content: "\e608";
}
.icon-undo:before {
	content: "\e609";
}





/* Apply a natural box layout model to all elements - http://paulirish.com/2012/box-sizing-border-box-ftw/ */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

/* Using rem font sizing (Root emâ€™s) with fallback to px for ie8 and below - http://snook.ca/archives/html_and_css/font-size-with-rem */

::-webkit-selection { background: #5784FE; color: #fff; text-shadow: none; }
::-moz-selection { background: #5784FE; color: #fff; text-shadow: none; }
::selection { background: #5784FE; color: #fff; text-shadow: none; }

a { color: #333; text-decoration: underline; }
a:visited { color: #666; }
a:hover { color: #b40101; }

menu { padding: 0; }

td { vertical-align: top; }


/* ==========================================================================
   Basic page styles
   ========================================================================== */
html{
	overflow-x:hidden;
    font-size: 62.5%;/*set base font to 10px*/
}


body { 
	
	font-family: Lato, Helvetica, Arial, sans-serif;
	margin: 0;  
	font-size: 1rem;
	line-height: 1.6rem; 
	padding: 0;
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
	color: #333;
	text-align: left;
}

/* Set the default behavior for touch-based browsing in IE10 on devices running Windows 8 */
canvas {
	-ms-touch-action: double-tap-zoom;
}

/* Make sure videos and embeds fit their containers */
embed, iframe, object, video {
	max-width: 100%;
}

.entry-content .twitter-tweet-rendered {
	max-width: 100% !important; /* Override the Twitter embed fixed width */
}

/* Responsive images */
img {
	border: 0;
	max-width: 100%;
	height: auto;
	vertical-align: top;
}

.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%; /* Fluid images for posts, comments, and widgets */
}

img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Header */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	font-style: normal;
	font-weight: 400;

	margin-top: 0;
}

h1 { 

	font-size: 2.6rem;
	line-height: 3.8rem; 
}

h2 { 

	font-size: 2.4rem;
line-height: 3.6rem; 
}

h3 { 

	font-size: 2.2rem;
  line-height: 3.4rem; 
}


h4 { 
	font-size: 2rem;
	line-height: 3.2rem;
}

h5 { 
	font-size: 1.8rem;
	line-height: 3rem;

}

h6 { 


}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin: 1.5rem;
}

ol, ul {
	list-style: none outside none;
}

p, ol, ul, dl, address {

	font-size: 1.4rem;
	line-height: 2.4rem;
	font-weight: normal;
	letter-spacing: .140rem;
	word-spacing: .140rem;
}
article p{
	text-align: justify;
}
article ul{
	font-size: 1.4rem;



}

ul ul, ul ol, ol ol, ol ul {
	margin-bottom: 0;
}

dt {
	font-style: normal;
	font-weight: 700;
}

b, strong { 
	font-style: normal;
	font-weight: 700;
}

em {
	font-style: italic;
	font-weight: 400;
}

strong em, b em {

	font-style: italic;
	font-weight: 700;
}

ins {
	background: none repeat scroll 0 0 #FFFFFF;
	text-decoration: none;
}

a { 
	color: #333;
	outline: none;
}

a:visited { 
	color: #666;
}

a:focus { 
	outline: thin dotted;
	color: #2997ab;
}

a:hover, a:active { 
	outline: 0;
	color: #2997ab;
}

.alignleft {
	display: inline;
	float: left;
	margin: 0 1.25rem 1rem 0;
}

.alignright {
	display: inline;
	float: right;
	margin: 0 0 1rem 1.25rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

blockquote {
	border-left: 5px solid #333;
	margin: 0 0 18px 20px;
	margin: 0 0 1.125rem 1.25rem;
	padding: 0 0 0 1rem;
}

blockquote.pull-right {
	border-left: 0 none;
	border-right: 5px solid #333;
	margin: 0 20px 18px 0;
	padding: 0 1rem 0 0;
	float: none;
}

blockquote p {
	font-style: italic;
	font-weight: 400;
	font-size: 1rem;
	margin-bottom: 0;
}

blockquote.pull-right p, blockquote.pull-right small {
	text-align: right;
}

blockquote cite:before {
	content: "\2014 ";
}

blockquote cite {

	font-style: normal;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.125;
	color: #999;
	display: block;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

code, pre {
	border-radius: 3px;
	color: #555;
	font-size: 1rem;
	padding: 0 0.1875rem 0.125rem;
}

code {
	background-color: #f7f7f9;
	border: 1px solid #e1e1e8;
	padding: 0.125rem 0.25rem;
}

abbr,
dfn,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}
.editwidget{
	width: 90% !important;
}

.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
	padding: 0.25rem;
}

.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #777;
	text-align: center;
}

img.wp-smiley, .rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.entry-content dl.gallery-item {
	margin: 0;
}

.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}

.gallery .gallery-icon img {
	height: auto;
}

#primary .entry-content [id^="gallery-"] img {
	border: none;
}

/* Text meant only for screen readers */
.assistive-text {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.menu-toggle, button, input {
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	font-size: 1rem; 
	line-height: 1.25;
	margin: 0;
	font-size: 100%;
	vertical-align: middle;
}

.menu-toggle, button, input {
	*overflow: visible;
	line-height: normal;
}

.menu-toggle::-moz-focus-inner,
button::-moz-focus-inner,
input::-moz-focus-inner {
	padding: 0;
	border: 0;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}

input[type="button"] {
	width: auto;
}

.menu-toggle,
.btn,
input[type="submit"] {
	display: inline-block;
	*display: inline;
	padding: 8px 14px;
	padding: 0.5rem 0.875rem;
	margin-bottom: 0;
	*margin-left: .3em;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.25;
	color: #333333;
	text-align: center;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	vertical-align: middle;
	cursor: pointer;
	background-color: #f5f5f5;
	*background-color: #e6e6e6;
	background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
	background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
	background-image: linear-gradient(top, #ffffff, #e6e6e6);
	background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
	background-repeat: repeat-x;
	border: 1px solid #cccccc;
	*border: 0;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	border-color: #e6e6e6 #e6e6e6 #bfbfbf;
	border-bottom-color: #b3b3b3;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6');
	*zoom: 1;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.menu-toggle, a.btn {
	color: #333333;
	text-decoration: none;
}

.menu-toggle:hover,
.btn:hover,
.btn:active,
.btn.active,
.btn.disabled,
.btn[disabled] {
	background-color: #e6e6e6;
	*background-color: #d9d9d9;
}

.btn:first-child {
	*margin-left: 0;
}

.menu-toggle:hover,
.btn:hover,
input[type="submit"]:hover {
	color: #333333;
	text-decoration: none;
	background-color: #e6e6e6;
	*background-color: #d9d9d9; /* Buttons in IE7 don't get borders, so darken on hover */
	background-position: 0 -15px;
	-webkit-transition: background-position 0.1s linear;
	-moz-transition: background-position 0.1s linear;
	-ms-transition: background-position 0.1s linear;
	-o-transition: background-position 0.1s linear;
	transition: background-position 0.1s linear;
}

.menu-toggle:focus,
.btn:focus,
input[type="submit"]:focus {
	outline: thin dotted #333;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}

.menu-toggle:active,
.btn.active,
.btn:active,
input[type="submit"]:active {
	background-color: #e6e6e6;
	background-color: #d9d9d9 \9;
	background-image: none;
	outline: 0;
	-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
	position:relative;
	top:1px;
}

.btn.disabled, .btn[disabled] {
	cursor: default;
	background-color: #e6e6e6;
	background-image: none;
	opacity: 0.65;
	filter: alpha(opacity=65);
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.btn.disabled:active, .btn[disabled]:active {
	top:0;
}

button.btn, input[type="submit"].btn {
	*padding-top: 2px;
	*padding-bottom: 2px;
}

button.btn::-moz-focus-inner,
input[type="submit"].btn::-moz-focus-inner {
	padding: 0;
	border: 0;
}

.btn-large,
input[type="submit"].btn-large {
	padding: 10px 15px;
	padding: 0.625rem 0.9375rem;
	font-size: 20px;
	font-size: 1.25rem;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

.btn-small,
input[type="submit"].btn-small {
	padding: 5px 9px;
	padding: 0.3125rem 0.5625rem;
	font-size: 13px;
	font-size: 0.8125rem;
}

/* Form fields */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
textarea {
	font-family: inherit;
	padding: 8px;
	padding: 0.5rem;
	font-family: inherit;
	border: 1px solid #ccc;
	border-radius: 3px;
}

select {
	max-width: 100%;
}

/* Small headers */
.archive-title,
.page-title,
.entry-content th,
.comment-content th {
	font-style: normal;
	font-weight: 700;
	font-size: 1.4rem;
	line-height: 2;
	text-transform: uppercase;
}


/* ==========================================================================
   Site specific styles
   ========================================================================== */

#wrapper {
	width: 100%;

	text-align: left;
}

#headercontainer {
	width: 100%;
	height: auto;
	background-color: #666666;
	margin:0 0 0 0;

}

.site-header {
	clear: both;
	width: 100%;
	position: relative;
	font-size: 1rem;
	margin: 0 auto;
	padding: 0;
	
	color: #000;


}
.site-title{
		position: absolute;
		top:2%;
		left: 1%;
		max-width:180px;
		height:auto;
		z-index: 30000;
}
.site-title h1 {
	margin-top: 20px;
	margin-top: 1.25rem;
}

.site-title img {
	vertical-align: text-bottom;
}

.site-title a {
	color: #333;
	max-width: 100%;
	max-height: 60px;
	font-size: 4rem;
	text-decoration: none;
}

#bannercontainer {
	width: 70%;
	margin:0px auto 0 auto;
	clear: both;
	color: #000000;
}

.banner {

	width: 100%;
	margin: 0 auto;

}

.home .banner .widget {
	margin: 24px 0;
	margin: 1.5rem 0;
}

.banner h1,
.banner h2,
.banner h3,
.banner h4,
.banner h5,
.banner h6 {
	/*color: #eaeaea;*/
	background-color: rgb(244, 151, 30);
	color: #ffffff;
 }

.banner h1 {
	font-size: 56px;
	font-size: 3.50rem;
}

.banner h2 {
	font-size: 32px;
	font-size: 2rem;
}
.pager {
	font-size: 0;
	line-height: 5.4rem;
	text-align: center;

}
.pager a, .pager span{
	font-size: 1.8rem;
	display: inline-block;
	color: #ffffff;
	height: 5.4rem;
	padding: 0 1.8rem;
	min-width:5.4rem;
	margin: .9rem;
	background:rgb(244, 82, 26);
	text-decoration: none;

}

/****************game area****************/
.game-area{
width:100%;
overflow: hidden;

}
.banner{
	width: 100%;

}

.first_section{
overflow: hidden;


margin: 0 auto;


}
	
#game{

	height: auto;
	float: none;
	    border: 1px solid #000000;

    position: relative;
    width: 80%;
    margin-right: 0;
    margin:0px auto 0 auto;
background: url(images/bg.jpg) 0 0 repeat;

}
#game .table{
	background-color: #ffffff;
}


.game-navigation{
	clear: both;
	position: relative;
	color: #FFFFFF;
	bottom: 0;
	height: 40px;
	width:100%;
	
	
}
.game-navigation a, .game-navigation i, .game-navigation span{
	color: #FFFFFF;
}
.game-navigation ul{
	width: 100%;
	height: 40px;
	overflow: hidden;
	background:rgb(238, 128, 34);
	text-align:center;
	margin: 0;
	padding: 0;
	font-size: 1.4rem;

}
.timer span{
	text-decoration: none;
text-transform: uppercase;
vertical-align: top;
line-height: 2.5em;
	
}
.timer_sync{
	margin: 0 auto;
}
.game-navigation ul li{
	width:21%;
	height:40px;
	margin: 0;
	float: left;
	color: #FFFFFF;
	


}

/*.game-navigation ul li:nth-child(5n+2){
	width: 20%;
}*/
.game-navigation ul li:first-child{
	border: none;
	width: 15%;
	text-align: center;
	font-weight: bold;
	
}


.game-navigation ul li i{
	padding: 0 0 0 0;
	margin: 0 0 0  0;
	line-height:1.8em;
	float: left;
	width: 15%;
	overflow: visible;
	color: #FFFFFF;
	font-size: 1.3em;
}
.game-navigation ul li a{
	font-family: 'Lato', Helvetica, Arial, sans-serif;	
	width: 75%;
	text-decoration: none;
	text-transform: uppercase;
	vertical-align: top;
	line-height: 2.5em;
	cursor:pointer;
}
.titleText{
	font-family: 'Lato', Helvetica, Arial, sans-serif;
	color:#2EC3CE;
	font-size:1.8em;
	/*text-shadow: 3px 3px 3px rgba(46, 195, 206, 1);*/
	font-weight:bold;
}

.opt-newpuzzle a{
	

}


/*******************************************/
#maincontentcontainer .home-sidebar .widget {
	background-color: #fcfcfc;
	border: 1px solid #bbb;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	padding: 10px;
	padding: 0.625rem;
}

#maincontentcontainer {
	width: 100%;
}

.site-content {
	clear: both;
	font-size: 1rem;
	margin: 0 auto;
	padding: 0;
	color: #333;
	line-height: 1.5;
}

.home-sidebar {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding-bottom: 32px;
	padding-bottom: 2rem;
}

.home.page .site-content {
	padding-bottom: 0;
}

.home.page .site-content article {

}

/* Social Media icons */
.social-media-icons {
	float: right;
	height: 45px;
	
}
.home .social-media-icons {
	float: left;
	height: 45px;
	width: 20%;
}

.social-media-icons ul {
	list-style: none;
	margin: 0 0 0;
	padding: 0;

}

.social-media-icons li {
	float:right;
	width: 48%;
	margin: 0 0 0.6em;
	font-size: 0.6rem;
	text-align: right;
}
.social-media-icons ul li a{
	margin: 0;
	min-width: 45px;
}
.social-media-icons ul li a span{
	width: 100%;
	}
.social-media-icons a {
	color: #333;
	text-decoration: none;
}

.social-media-icons a:visited {
	color: #333;
}

.social-media-icons a:hover, .social-media-icons a:active { 
	color: #2997ab;
}


/* ==========================================================================
   Main Content
   ========================================================================== */

.entry-meta {
	clear: both;
}
.entry-header a{
	text-decoration: none;
}

.comments-link {
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	font-size: 0.875rem;
	float: right;
}

.entry-header img{

	width: 100% !important;

}
article iframe{
	width: 100% !important;
}
.entry-title{
		color: #ffffff;
		text-align: center;
		background-color: rgb(244, 151, 30);
	color: #ffffff;
	padding: 1.6rem;

}
.entry-title {
	margin: 0 0 0 0;
}
.entry-header .entry-title a {
	text-decoration: none;

}

.entry-header h1 a:visited {
	color: #333;
}

.entry-header h1 a:hover {
	color: #2997ab;
}

article.sticky .featured-post {
	font-style: normal;
	font-weight: 400;
	border-top: 4px double #aaa;
	border-bottom: 4px double #aaa;
	color: #777;

	font-size: 1.2rem;
	line-height: 3rem;
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
	text-align: center;
}

article.sticky {
	border-bottom: 4px double #aaa;
}

.site-content article {
	
	margin:1.8rem 0 1.8rem 0;
	-ms-word-wrap: break-word;
	-webkit-hyphens: auto;
	word-wrap: break-word;
}

/*.header-meta {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin-bottom: 10px;
	margin-bottom: 0.625rem;
	padding: 5px 0;
	padding: 0.3125rem 0;
	*zoom: 1;
}

.header-meta:before,
.header-meta:after {
	content: "";
	display: table;
}

.header-meta:after { clear: both; }

.header-meta a {
	text-decoration:none;
}

.header-meta a:visited {
	color: #333;
}

.header-meta a:hover {
	color: #2997ab;
}*/
.header-meta{
	display: none;
}

.entry-content {
	margin-bottom: 20px;
	margin-bottom: 1.25rem;
	*zoom: 1;
}

.entry-content:before,
.entry-content:after {
	content: "";
	display: table;
}

.entry-content:after { clear: both; }

.post-categories a,
.post-tags a {
	font-size: 14px;
	font-size: 0.875rem;
	background-color: #333;
	color: #fff;
	padding: 0 5px;
	padding: 0 0.3125rem;
	margin: 0 3px 0 0;
	margin: 0 0.1875rem 0 0;
	display: inline;
	text-decoration: none;
}

.post-categories a:visited,
.post-tags a:visited {
	color: #fff;
}

.post-categories a:hover,
.post-tags a:hover {
	background-color: #2997ab;
	color: #fff;
}

.entry-header address,
.comment-content address {
	font-style: italic;
	font-weight: 400;
	display: block;
}

.entry-header address {
	display: inline;
}

.entry-header time,
.entry-header address {
	font-style: italic;
	font-weight: 400;
	font-size: 14px;
	font-size: 0.875rem;
	margin: 0 20px 0 0;
	margin: 0 1.25rem 0 0;
}

.page-links {
	clear: both;
	line-height: 1.75;
	color: #333;
}

.page-links .page-numbers {
	background-color: #333;
	border: 1px solid #333;
	padding: 2px 4px;
	padding: 0.125rem 0.25rem;
	color: #fff;
}

.page-links a {
	text-decoration: none;
}

.page-links a .page-numbers {
	background-color: transparent;
	color: #333;
}

.page-links a:hover .page-numbers {
	background-color: #2997ab;
	color: #fff;
}

.more-link {
	text-decoration: none;
	display: block;
	width: 100%;
	text-align: right;
	clear: both;
	color: rgb(244, 82, 26);
}

.post-edit-link {
	text-decoration: none;
}

.entry-content dl,
.comment-content dl {

	margin: 0 1.5rem;
}

.entry-content dt,
.comment-content dt {
	font-style: normal;

	line-height: 1.5;
}

.entry-content dd,
.comment-content dd {
	line-height: 1.5;

	margin-bottom: 1.6rem;
}

.entry-content table,
.comment-content table {
	border-bottom: 1px solid #ccc;

	font-size: 0.875rem;
	line-height: 2;

	margin: 0 0 1.6rem;
	width: 100%;
}

.entry-content table caption,
.comment-content table caption {
	font-size: 16px;
	font-size: 1rem;
	margin: 24px 0;
	margin: 1.5rem 0;
}

.entry-content td,
.comment-content td {
	border-top: 1px solid #ccc;
	padding: 0.375rem 0.625rem 0.375rem 0;
}

.entry-content ol,
.comment-content ol,
.entry-content ul,
.comment-content ul {

	margin: 0 0 0 1.8rem;
	line-height: 1.5;
	padding: 0;
}

.entry-content ul ul,
.comment-content ul ul,
.entry-content ol ol,
.comment-content ol ol,
.entry-content ul ol,
.comment-content ul ol,
.entry-content ol ul,
.comment-content ol ul {
	margin-bottom: 0;
}

.entry-content ul,
.comment-content ul {
	list-style: disc outside;
}

.entry-content ol,
.comment-content ol {
	list-style: decimal outside;
}

.entry-content li,
.comment-content li {

	margin:1.8rem 0 1.8rem 0rem ;
}

/* Author profiles */
.author .archive-header {

	margin-bottom: 1.5rem;
}

.author-info {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin: 1.5rem 0;
	padding: 1.5rem 0;
	overflow: hidden;
	*zoom: 1;
}

.author-info:before,
.author-info:after {
	content: "";
	display: table;
}

.author-info:after { clear: both; }

.author-description h2 {
	font-size: 24px;
	font-size: 1.5rem;
}

.author-description p {
	color: #777;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
	margin-bottom: 8px;
	margin-bottom: 0.5rem;
}

.author-link {
	font-size: 14px;
	font-size: 0.875rem;
}

.author-link a {
	color: #777;
	text-decoration: none;
}

.author-link a:visited { 
	color: #666;
}

.author-link a:focus,
.author-link a:hover,
.author-link a:active { 
	outline: 0;
	color: #2997ab;
}

.author.archive .author-info {
	border-top: 0;
	margin: 0 0 48px;
	margin: 0 0 3rem;
}

.author.archive .author-avatar {
	margin-top: 0;
}

.author.archive .author-link {
	display: none;
}

.author-avatar {
	float: left;
	margin-top: 8px;
	margin-top: 0.5rem;
}

.author-description {
	float: right;
	width: 80%;
}

.social-meta a {
	text-decoration: none;
	margin-right: 5px;
	margin-right: 0.3125rem;
}


/* ==========================================================================
   Post Formats
   ========================================================================== */

.entry-media {
	margin: 0 auto 16px;
	margin: 0 auto 1rem;
	max-width: 792px;
	width: 100%;
}

.entry-media .wp-caption,
.entry-media .wp-caption-text,
.entry-media [class*="align"] {
	margin: 0 auto;
}

/* Aside */
.format-aside .entry-content {
	margin: 20px 0 18px 0;
	margin: 1.25rem 0 1.125rem 0;
}

.format-aside .entry-content p:last-child {
	margin-bottom: 0;
}

/* Status */
.format-status .entry-content {
	border-left: 5px solid #ddd;
	margin: 20px 0 18px 0;
	margin: 1.25rem 0 1.125rem 0;
	padding: 0 0 0 15px;
	padding: 0 0 0 0.9375rem;
}

.format-status .entry-content p {
	font-size: 20px;
	font-size: 1.25rem;
	font-style: italic;
}

.format-status .entry-content p:last-child {
	margin-bottom: 0;
}

/* Quote */
.format-quote .entry-content blockquote:before {
	font-family: 'FontAwesome';
	font-weight: normal;
	font-style: normal;
	speak: none;
	vertical-align: top;
	font-size: 40px;
	font-size: 2.5rem;
	content: "\f10d";
	color: #ddd;
	top: -15px;
	left: 0;
	position: absolute;
	z-index: -1;
}

.format-quote .entry-content {
	margin-top: 24px;
	margin-top: 1.5rem;
	position: relative;
}

.format-quote .entry-content blockquote {
	border: none;
	margin-left: 40px;
	margin-left: 2.5rem;
}

/* Audio */
.format-audio .wp-audio-shortcode {
	margin-bottom: 16px;
	margin-bottom: 1rem;
}


/* ==========================================================================
   Archives
   ========================================================================== */

.archive-header,
.page-header {
	margin-bottom: 32px;
	margin-bottom: 2rem;
	border-bottom: 1px solid #CCCCCC;
}

.archive-meta {
	font-style: italic;
	font-weight: 400;
	color: #777;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 2;
	margin-top: 16px;
	margin-top: 1rem;
}


/* ==========================================================================
   Comments
   ========================================================================== */

.comments-title {
	margin-bottom: 48px;
	margin-bottom: 3rem;
	font-size: 32px;
	font-size: 2rem;
	line-height: 1.5;
	font-weight: normal;
}

.comments-area article {
	padding-bottom: 16px;
	padding-bottom: 1rem;
	margin: 24px 0;
	margin: 1.5rem 0;
	border-bottom: 1px solid #ccc;
}

.comments-area article header {
	margin: 0 0 24px;
	margin: 0 0 1.5rem;
	overflow: hidden;
	position: relative;
}

.comments-area article header img {
	float: left;
	padding: 0;
	line-height: 0;
}

.comments-area article header cite,
.comments-area article header time {
	display: block;
	margin-left: 84px;
	margin-left: 5.25rem;
}
.comments-area article header cite {
	font-style: normal;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

.comments-area article header time {
	font-style: italic;
	font-weight: 400;
	line-height: 1.8;
	text-decoration: none;
	font-size: 14px;
	font-size: 0.875rem;
	color: #5e5e5e;
}

.comments-area article header a {
	text-decoration: none;
	color: #5e5e5e;
}

.comments-area article header a:hover {
	color: #21759b;
}

.comments-area article header cite a {
	color: #444;
}

.comments-area article header cite a:hover {
	text-decoration: underline;
}

.comments-area article header h4 {
	position: absolute;
	top: 0;
	right: 0;
	padding: 8px 14px;
	padding: 0.5rem 0.875rem;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: normal;
	color: #fff;
	background-color: #0088d0;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #009cee, #0088d0);
	background-image: -ms-linear-gradient(top, #009cee, #0088d0);
	background-image: -webkit-linear-gradient(top, #009cee, #0088d0);
	background-image: -o-linear-gradient(top, #009cee, #0088d0);
	background-image: linear-gradient(top, #009cee, #0088d0);
	border-radius: 3px;
	border: 1px solid #007cbd;
}

.comments-area li.bypostauthor cite span {
	position: absolute;
	margin-left: 6px;
	margin-left: 0.375rem;
	padding: 2px 6px;
	padding: 0.125rem 0.375rem;
	font-size: 12px;
	font-size: 0.75rem;
}

a.comment-reply-link {
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.8;
	color: #686868;
	text-decoration: none;
}

a.comment-reply-link:hover {
	color: #21759b;
}

.commentlist .pingback {
	line-height: 1.8;
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
	padding-bottom: 0;
}

.commentlist .children {
	margin-left: 48px;
	margin-left: 3rem;
}

.commentlist {
	padding-left: 0;
}

/* Comment form */
#respond {
	margin-top: 48px;
	margin-top: 3rem;
}

#respond h3#reply-title #cancel-comment-reply-link {
	margin-left: 12px;
	margin-left: 0.75rem;
	font-weight: normal;
	font-size: 12px;
	font-size: 0.75rem;
}

#respond form {
	margin: 24px 0 32px 0;
	margin: 1.5rem 0 2rem 0;
}

#respond form p {
	margin: 12px 0;
	margin: 0.75rem 0;
}

#respond form p.logged-in-as {
	margin-bottom: 24px;
	margin-bottom: 1.5rem;
}

#respond form label {
	display: block;
	line-height: 1.8;
}

#respond form input[type="text"],
#respond form textarea {
	font-family: inherit;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.8;
	padding: 8px;
	padding: 0.5rem;
	width: 100%;
}

#respond form input[type="text"] {
	width:48%;
}

#respond form p.form-allowed-tags {
	margin: 0;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	color: #5e5e5e;
}

#respond form p.form-allowed-tags code {
	background: none;
	border: none;
	color: #5e5e5e;
}

label .required,
span.required {
	color: #bb0504;
}

form label.error {
	font-style: normal;
	font-weight: 700;
	display:block;
	padding: 0 10px 0 10px;
	padding: 0 0.625rem 0 0.625rem;
	margin: 5px 0 5px 0;
	margin: 0.3125rem 0 0.3125rem 0;
	font-size: 14px;
	font-size: 0.875rem;
	border-left: 4px solid #bb0504;
	display: none;
}

#respond form label.error {
	line-height: 1.3;
}

/* ==========================================================================
   Footer
   ========================================================================== */

#footercontainer {
	width: 100%;	
	background-color: #666666;
    width: 100%;
    clear: both;

}

.site-footer {
	clear: both;
	width: 90%;
	font-size: 16px;
	font-size: 1rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 30px 0 0 0;
	padding: 1.875rem 0 0 0;
	color: #999;
}

.site-footer h3 { 
	color: #ccc;
}

.site-footer a { 
	color: #999;
}

.site-footer a:visited { 
	color: #999;
}

.site-footer a:hover { 
	color: #2997ab;
}

.site-footer a:focus { 
	outline: thin dotted;
	color: rgb(0,0,0);
}

.site-footer .widget-area .widget {
	margin-bottom: 16px;
	margin-bottom: 1rem;
}

.smallprint {
	color: #999;
	width: 90%;
	max-width: 1200px;
}

.smallprint p {
	font-size: 14px;
	font-size: 0.875rem;
}

.smallprint a { 
	color: #555;
}


.smallprint a:visited { 
	color: #555;
}

.smallprint a:hover { 
	color: #2997ab;
}
footer .smallprint a:link { 
	color:#FFFFFF;
	}
footer .smallprint a:visited { 
	color:#FFFFFF;
	}	
footer .smallprint a:hover { 
	color:rgb(244, 82, 26);
	}
footer .smallprint a:active { 
	color:rgb(244, 82, 26);
	}	
footer .smallprint p {
	color:#E3E3E3;
}
/* ==========================================================================
   Widgets
   ========================================================================== */

.widget-area ul {
	list-style: none outside none;
	padding-left: 0;
}

.widget-area .widget {
	overflow: hidden;
	-moz-hyphens: auto;
	-ms-word-break: break-all;
	-webkit-hyphens: auto;
	hyphens: auto;
	word-wrap:break-word;
	word-break: break-word;
	margin-bottom: 48px;
	margin-bottom: 3rem;
}

.widget select {
	margin-left: 1px;
	margin-left: 0.0625rem;
}

.widget-area .widget ul ul {
	margin-left: 12px;
	margin-left: 0.75rem;
}

.widget_rss li {
	margin: 12px 0;
	margin: 0.75rem;
}

.widget_recent_entries .post-date,
.widget_rss .rss-date {
	font-size: 12px;
	font-size: 0.75rem;
	margin-left: 12px;
	margin-left: 0.75rem;
}

#wp-calendar {
	margin: 0;
	width: 100%;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 2;
}

#wp-calendar th,
#wp-calendar td,
#wp-calendar caption {
	text-align: center;
}

#wp-calendar thead {
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
}

#wp-calendar caption {
	font-style: normal;
	font-weight: 700;
	text-transform: uppercase;
	text-align: left;
}

#wp-calendar #today {
	background-color: #ddd;
}

#wp-calendar tfoot {
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
}

#wp-calendar #next {
	padding-right: 24px;
	padding-right: 1.5rem;
	text-align: right;
}

.widget_search label {
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.5;
}

.widget_twitter li {
	list-style-type: none;
}

.widget_twitter .timesince {
	display: block;
	text-align: right;
}


/* ==========================================================================
   Content Navigation
   ========================================================================== */

.site-content nav {
	clear: both;
	line-height: 2;
	overflow: hidden;
}

#nav-above {
	padding: 24px;
	padding: 1.5rem;
}

#nav-above {
	display: none;
}

.paged #nav-above {
	display: block;
}

.nav-previous,
.previous-image {
	float: left;
	width: 50%;
	line-height: 1.3;
}

.nav-previous a,
.nav-next a {
	text-decoration: none;
}

.nav-next,
.next-image {
	float: right;
	text-align: right;
	width: 50%;
	line-height: 1.3;
}

.nav-single + .comments-area,
#comment-nav-above {
	margin: 48px 48px 48px 0;
	margin: 3rem 3rem 3rem 0;
}

ul.page-numbers {
	padding: 0;
	margin: 0;
	text-align: center;
	line-height: 2;
}

li a.page-numbers,
li span.page-numbers {
	padding: 5px;
	padding: 0.3125rem;
	border: 1px solid #333;
	text-decoration: none;
}

li a:visited.page-numbers {
	color: #333;
}

li a:hover.page-numbers {
	background-color: #2997ab;
	color: #fff;
}

li a:hover.prev,
li a:hover.next {
	background-color: transparent;
	color: #2997ab;
}

.page-numbers li {
	display: inline;
}

li span.current {
	background-color: #333;
	color: #fff;
}

li a.prev,
li a.next,
li span.dots {
	border: none;
}


/* ==========================================================================
   Main Navigation
   ========================================================================== */
.nav-wrap{
	width: 100%;
		margin: 0 0 0 0;
	float: none;
	clear: both;
	height: 45px;
	background-color: rgb(244, 82, 26);

	z-index: 100;
}
.nav-bar{
	height: 45px;

}
/************************************* dropdown **********************/

 .dd ul{
	padding: 0; margin: 0;
  list-style-type: none; 
  font-size: 1.4rem;
  height: auto;
  
  background:transparent;
}
.dd ul a{
	 text-decoration: none; 
 
  display: block; 
  width: 100%;
  padding: .4em; 
  transition: .3s;
}
.lang, .dif{
	width: 100%;
	height: 45px;
}
.qtrans_flag_and_text{
	background-size: 1em;
}

.link-flag{

		background-position: 5% 40% !important;
		

	}
 .dd ul  li.dif:before{
	float: left;
	width: 10%;
	height: 45px;
	display: inline-block;
	position: relative;
	margin: 0 0 0 1.2rem;
	line-height: 1.5em;
	font-size: 2.8rem;
	font-family: 'icomoon'
}
/*.dd ul .lang:before{

	content: "\e602";

}*/
.dd ul .dif:before{
	content: "\e600";

}	
.dd ul li ul{
	 position: absolute;
	 display: none;
	 width: 100%;
  opacity: 0;
  transition: .4s;
  pointer-events: none; 
}
.dd ul li ul li{
	width: 100%;
	height: auto;
}
/* NV 2014.09.04 */
/*.dd ul li:hover, .dd ul li:focus, .dd ul li:target{*/
li.opt-difficulty.hover, li.lang:hover, li.lang:focus, li.lang:target{
	pointer-events:auto;
}

/* NV 2014.09.04 */
/*.dd ul li:hover ul, .dd ul li:focus ul, .dd ul li:target ul{*/
li.opt-difficulty.hover ul, li.lang:hover ul, li.lang:focus ul, li.lang:target ul{

	opacity: 1; 
	background-color: #ffffff;
	position: absolute;
	height: auto;
	display:inline-block;
	pointer-events:auto;
	z-index: 60000;
	
}

/* NV 2014.09.04 */
/*.dd ul li:hover, .dd ul li:focus{*/
li.opt-difficulty.hover, li.lang:hover, li.lang:focus {
		 color: rgb(244, 82, 26);
  background-color:#ffffff;
	}
	
/* NV 2014.09.04 */
li.opt-difficulty ul.select-difficulty, li.opt-difficulty ul.select-difficulty *{display:none;}
/* NV 2014.09.04 */
li.opt-difficulty.hover ul.select-difficulty, li.opt-difficulty.hover ul.select-difficulty *{display:block;}

.dd ul li ul li a{
	 color: rgb(244, 82, 26);
  background-color:#ffffff;
	
}
.dd ul li ul li a:link{
	 color: rgb(244, 82, 26);
  background-color:#ffffff;
	
}
 .dd ul li ul li a:visited{
	 color: rgb(244, 82, 26);
  background-color:#ffffff;
	
}
.dd ul li ul li a:hover{
	background-color:rgb(244, 82, 26);
	color: #ffffff  ;
}
.dd ul li ul li a:active{
	 color: rgb(244, 82, 26) ;
  background-color:#ffffff;

}
.single-post .difficulty{
	display: none;

}
.page-template-page-templatesmahjong_tips-php .difficulty{
	display: none;

}
.single-post  .nav-menu .page-item-6{
display: none;

}

/*.lang ul li:hover ul a, .lang ul li:focus ul a{
	background-color:rgb(244, 82, 26);
	color: #ffffff  ;
	
}*/

.dd {
	display:none;
}

.nav-menu a{
	text-indent: 1.6rem;
	
}
.nav-menu a:before{
	text-indent:0;
	
}
.error404 .nav-menu {
	width: 60%;

}
.blog .nav-menu li{
	width:49%; 
	display: inline-block;
	vertical-align: top;

}
.error404 .nav-menu ul li{
	width: 48%;
	display: inline-block;
	vertical-align: top;
}
.home .dd{
	display: block;
	width:35%/*26.666%*/;
	margin:0;
	height: 45px;
	float: left;
	position: relative;
	z-index: 500000;
	text-align: center;
	overflow: visible;
	height: auto;
}


#flag{
	background-position: 5% center;
	background-size: 2.8rem;
}


.main-navigation {
	text-align: center;
	width:40%;
	float:none;
	position: relative;
	z-index: 200;
	margin: 0 auto;
	overflow: visible;
	color: #FFFFFF;

}

#options{
	width: 25%;
	margin: 0;
	padding: 0;
	letter-spacing: 0;
	float: left;

}
.main-navigation h1 {
	font-size: 2rem;
	line-height: 1.25;
}
.nav-menu {	
	width:50%;
	font-style: normal;
	font-weight: 700;
	float: left;
	margin: 0;
	text-align: left;
}
.home .nav-menu {
	width: 35%/*26.666%*/;
	font-style: normal;
	font-weight: 700;

	float: left;
	margin: 0;
	text-align: center;
}
.blog .nav-menu{
	width: 70%;
}

.nav-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;

	overflow: hidden;
}


.nav-menu li {

	width: 100%;
	position: relative;

	padding: 0 ;
	margin: 0 0 0 0;
	


}
.nav-menu a{

}
.home .nav-menu a{

}
.nav-menu ul li a{

	padding: 0 0 0 0;
}


.main-navigation ul ul li {
	margin: 0;
}


.main-navigation li.menu-parent-item > a:after { /* If you don't want the arrows on the top level drop down, simply remove this style */
	font-family: 'FontAwesome';
	font-weight: normal;
	font-style: normal;
	speak: none;
	vertical-align: middle;
	font-size: 9px;
	font-size: 0.5625rem;
	content: " \f078";
}

.main-navigation ul li li.menu-parent-item > a:after { /* If you don't want the arrows on the sub-menu options, simply remove this style */
	font-family: 'FontAwesome';
	font-weight: normal;
	font-style: normal;
	speak: none;
	vertical-align: middle;
	font-size: 9px;
	font-size: 0.5625rem;
	content: " \f054";
}

.main-navigation ul a  {
	padding: 0; /* Padding around each top level menu option (if needed) */
	cursor: pointer;
	font-weight: normal;
	width: 100%;
	height: 45px;
	font-size: 1.6rem;
	line-height: 4rem;
	letter-spacing: .180rem;
}

.main-navigation ul ul a {
	padding: 0 5px; /* Padding around each dropdown menu option */
	padding: 0 0.3125rem;
}

.main-small-navigation a, .main-navigation a {
	display: block;
	text-decoration: none;
 /* Nav bar link color */
}
.main-navigation a{
		color: #ffffff;
}
.main-navigation a:hover{
	color: rgb(244, 82, 26);
}
.main-navigation a i{
		color: #ffffff;
}
.main-navigation a:hover i{
		color: rgb(244, 82, 26);
}
.main-navigation ul ul {
	display: none;
	position: absolute;
	left: 0;
	z-index: 999;
	line-height: 1.7;
	/*background-color: #333; 
	-webkit-box-shadow:2px 2px 5px 0px rgba(0, 0, 0, 0.6);
	box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.6);*/
}

.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}

.main-navigation ul ul a {
	
}

.main-navigation ul ul li {
}

/* NV 2014.09.04 */
/*.main-navigation li:hover > a {*/
.main-navigation li.hover > a{
	color: rgb(244, 82, 26); /* Nav bar link color on hover */
	background-color: #ffffff;
}
/* NV 2014.09.04 */
/*.main-navigation li:hover > a select{*/
.main-navigation li.hover > a select{
	color: rgb(244, 82, 26); /* Nav bar link color on hover */
	background-color: #ffffff;
}
.main-navigation ul ul :hover > a {
	color: #333; /* Nav bar dropdown level 2 link color on level 3 hover */
	background-color: #fff; /* Nav bar dropdown link background color on hover */
}

.main-navigation ul ul a:hover {
	color: #2997ab; /* Nav bar dropdown link color on hover */
}

/* NV 2014.09.04 */
/*.main-navigation ul li:hover > ul {*/
.main-navigation ul li.hover > ul {
	display: block;
}

.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
}

.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current_page_item > a,
.main-navigation .current_page_ancestor > a {
	color: #2997ab; /* Nav bar link color for current menu item or ancestor */
}

.main-navigation ul .divider {
    border-bottom: 1px solid #aaa;
    height: 0;
    line-height: 0.0625;
    overflow: hidden;
}

.main-navigation ul li.dropdown-header a,
.main-navigation ul li.current-menu-item ul .dropdown-header a {
	color: #aaa; /* Nav bar dropdown header color */
	background-color: #333; /* Nav bar dropdown header background color */
}


/* Small menu toggle for mobile devices */
.menu-toggle {
	cursor: pointer;
}

.main-small-navigation .nav-menu {
	display: none;
}

#maincontentcontainer{
	float: none;
	clear: both;
		width: 40%;
		margin:0 auto 0 auto;
	}


.header_widget{

	float: none;
	width: 100%;
	height:120px; 
	
	margin:0 auto;
	max-width:728px;

	/*background-image: url('images/ads-l.png');
	background-repeat: no-repeat;
	background-size:contain;
	background-position: center;*/
}	
#mytheme_widget_text-7{
	position: absolute;
	top:18px;
	left:0;
	right: 0;
	margin: 0 auto;
	width: 100%;
	max-width: 728px;
	text-align: center;
}
	body:after {
	content: 'desktop';
	display: none;
	}


/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (max-width: 2880px) {
	.front-aside{
		position: absolute;
		width:25%;
		min-width: 300px;
		top:188px;
		right: 3.2em;
		min-height: 260px;
		height: 100%;
	

				/*background-image: url('images/ads.png');
	background-repeat: no-repeat;
	background-size:contain;
	background-position: top center;*/

	}
	.ad-top{
		margin: 0 0 1.6rem 0;
		text-align: center;
	}
	.ad-top a{

		display: block;
		
		margin: 0 auto;
		height: auto;
		
	}
		.ad-top a img{
		margin: 0 auto;
		

		height: auto;
		
	}
	#maincontentcontainer{
		float: none;
		clear: both;
		width: 40%;
		margin:18px auto 0 auto;
	}
	.gh-logo{
		width:50%;
		margin: 0 auto;
		display: block;
		clear: both;
	}
	 .side-ad{
 		text-align: center;
 		width: auto;
 		margin:0 auto 1.8rem auto;

 	}
 	.side-ad div{
 		overflow: hidden;
 		width: auto;
 		margin: 0 auto;
 	}


}
/*  Breakpoints are set based on the design, not based on device sizes */
@media only screen and (max-width: 1366px) {

	/*.site-title{
		position: relative;
		float: left;
		width: 18.75%;
		height: 45px;

	}
	.site-title h1{
		width: auto;
		height: 100%;
		margin: 0 auto;
		display: block;
	}
	.site-title img{
		height: 100%;
		width: auto;
	}*/
	.banner h1 {
		font-size: 2.75rem;
	}
	.banner h2 {
		font-size: 1.5rem;
	}
	#bannercontainer{
		width: 70%;
		margin: 0;

	}
	.main-navigation {
		width:50%;
		margin: 0 0 0 18.75% ;
		float: left;
	}
	#maincontentcontainer{
		width: 50% ;
		margin: 18px 0 0 18.75% ;

	}
	.site-footer{
		width: 50% ;
		margin: 36px 0 0 18.75% ;
	}
	#primary{
		width: 100%;
		margin: 0;
	}





	.nav-menu ul li:first-child a:before{
		content: "\e660";
		/*background-image:url('images/mahjong.png');
		background-repeat: no-repeat;
		background-size: contain;
		background-position: center center;*/
		display: block;
		height: 45px;
		width: 10%;
		font-family: 'mahjong';
		float: left;
		font-size: 2.8rem;
		line-height: 4rem;
		margin: 0 0 0 1.6rem;
	}
	.blog .nav-menu{
		width: 70%;
	}

	.home .nav-menu{
		width: 33.3%;
	}
	.home .dd{
		width: 33.3%;
	}
	.home .social-media-icons{
			width:33.3%;

	}

	
}
@media only screen and (max-width: 1200px) {
	html{
		overflow-x: hidden;
	}
	body{
		width: 100%;
		overflow-x: hidden;
	}
	.front-aside{
		top:65px;
		width: 300px;
		right:1%;
	}
	.dd ul li ul {
		width: 200px;
	}
	#bannercontainer{
		width: 70%;
		margin: 0;

	}
	#game{
		width: 100%;
	}
	.main-navigation {
		width:50%;
		margin: 0 ;	
	}

	#maincontentcontainer{
		width: 50% ;
		margin: 18px 0 0 18.75% ;
	}

	#mytheme_widget_text-7{
		position: relative;
		top: 0;
		width: 728px;
		
		margin:0 auto 1.8rem auto ;
		height: auto;
		min-height: 90px;
		text-align: center;
		
	}

	#mytheme_widget_text-7 ins{
		margin: 0 auto;
		
	}
	#mytheme_widget_text-7 .mytheme-textwidget{
		
	}
	#headercontainer {
		max-height: 45px;
	}
	.site-footer{
		width: 50% ;
		margin: 0 0 0 18.75% ;
	}
	#primary{
		width: 100%;
		margin: 0;
	}
	/*.dd ul  .lang:before,*/ .dd ul  li.dif:before{
		width: 100%;
		margin: 0 auto;
		text-align: center;
	}
	.link-flag{
		text-indent: 1000px;
		background-position: center center !important;
		background-size: 20%  !important;

	}
	.header_widget{
		display: none;
		line-height: 0;
	}

	.dd .hide{
		visibility:hidden;
	}

	.home .nav-menu a{
		text-indent: 1000px;
		overflow: hidden;
	}
	.blog .nav-menu li:first-child a{
		text-indent: 1000px;
		overflow: hidden;
	}
	.blog .nav-menu ul li:first-child a:before{
		text-indent: 0;
		text-align: center;
		margin: 0 auto;
		width: 50%;
		float: none;
	}
	.home .nav-menu ul li:first-child a:before{
		text-indent: 0;
		text-align: center;
		margin: 0 auto;
		width: 50%;
		float: none;
	}
	.site-title{
		position: relative;
		float: left;
		width: 18.75%;
		height: 45px;

	}
	.site-title h1{
		width: auto;
		height: 90%;
		margin: auto;
		display: block;
	}
	.site-title img{
		height: 100%;
		width: auto;
	}



}	

@media only screen and (max-width: 1100px){
		.game-navigation ul {
		font-size: 1.3rem;
		letter-spacing: normal;
	}
}

@media only screen and (max-width: 1024px){
	html{overflow-x: hidden;}
	body{width: 100%; overflow-x: hidden;}/*prevents false width from ad placements*/ 

	header .grid_5_of_12 {
	width: 100%; 
	}

	header .grid_7_of_12 {
		width: 100%;
		margin-left: 0;
	}
		body:after {
	content: 'desktop';
	display: none;
	}

	.header_widget{
		display: none;
	}
	.site-title{
		position: relative;
		width: 12.50%;
	}
	.main-navigation .nav-menu > li:first-child {
		margin-left: 0;
	}
	.social-media-icons {
		float: right;
		text-align: left;
	}
	.social-media-icons li {
		margin:0;
	}
	
	#bannercontainer{
		width: 70%;
		margin: 0;

	}
	.main-navigation {

		width:60%;
		margin: 0 0 0 0;	
	}
	.link-flag{

		background-position: 50% 50% !important;
		background-size: 30%  !important;

	}

	#maincontentcontainer{
		width: 50% ;
		margin: 18px 0 0 12.50% ;
	}
	#mytheme_widget_text-2{
		width: 50% ;
		margin: 0 0 0 12.50% ;
	}
	.home .nav-menu{
		width: 30%;
		margin: 0;
	}
	.home .social-media-icons{
		width: 30%;

	}

	.home .dd{
		width: 25%;

	}
	.home .nav-menu a{
		text-indent: 1000px;
		overflow: hidden;
	}
	
	.home .nav-menu ul li:first-child a:before{
		text-indent: 0;
		text-align: center;
		margin: 0 auto;
		width: 50%;
		float: none;
	}
	.site-footer{
		width: 50% ;
		margin: 0 0 0 12.50% ;
	}
	#primary{
		width: 100%;
		margin: 0;
	}
	.front-aside{
		top:64px;
		width: 300px;
		right: 1%;

	}
	

}


/*@media only screen and (max-width: 1023px){

	header .grid_5_of_12 {
		width: 100%; 
	}
	header .grid_7_of_12 {
		width: 100%;
		margin-left: 0;
	}
	header .main-navigation {
		margin-top: 0;
	
	}
	.site-title{
		width:18.75%;
		margin: 0;
		float: left;
		
	}
	.header_widget{
		display: none;
	}
	.front-aside{
		position: relative;
		width: 100%;
		top:2px;
		left: 0;
	
		margin:1.6rem 0 ;
	
	}
	
	.main-navigation .nav-menu > li:first-child {
		margin-left: 0;
	}
	.social-media-icons {
		
	}
	.social-media-icons li {
		margin:0;
	}
	.game-navigation ul li i{
	display: block;
	width: 100%;
	
	}
	
	#bannercontainer{
		width: 100%;
		margin: 0 auto;

	}
	.main-navigation {
		width:80%;
		float: left;
		margin: 0 ;
	}
	#maincontentcontainer{
		width: 91.53%;
		margin:18px auto 0 auto;
	}
	#mytheme_widget_text-2{
		width: 91.53%;
		margin:0px auto 0 auto;
	}

	.site-footer{
		width: 91.53%;
		margin:36px auto 0 auto;
	}


	#primary{
		width: 100%;
		margin: 0;
	}
	.blog .nav-menu {
		width: 70%;
	}
	.home .nav-menu{
		width: 20%;
		margin: 0;
	}
	.home .dd{
		width:20%;
	}
	.home .social-media-icons{
		width:23.33%;
	}
	body:after {
	content: 'mobile';
	display: none;
	}
	
	.nav-menu{
		width: 50%;
	}
	.nav-menu a{
		text-indent: 1.6rem;
	}
	
}*/
@media only screen and (max-width:1023px){
	.game-navigation ul li i{
		display: block;
		width: 100%;
	
	}
	.game-navigation ul li{
		position: relative;
	}
	.game-navigation ul li a{
		position: absolute;
		visibility: hidden;
		left: 0;
	}
		.game-navigation ul {
		font-size: 1.8rem;
		letter-spacing: .140rem;
	}
}

@media screen and (max-width:910px){
	html{overflow-x: hidden;}
	body{width: 100%; overflow-x: hidden;}
	.game-navigation{
		position: relative !important;
		margin: 0 !important;
	}
	.front-aside{
		position: relative;
		width: 100%;
		top:2px;
		left: 0;
		margin:1.6rem 0 ;
	}


	#game{
		margin-bottom: 0 !important;
	}
	.grid_1_of_12,
	.grid_2_of_12,
	.grid_3_of_12,
	.grid_4_of_12,
	.grid_5_of_12,
	.grid_6_of_12,
	.grid_7_of_12,
	.grid_8_of_12,
	.grid_9_of_12,
	.grid_10_of_12,
	.grid_11_of_12,
	.grid_12_of_12 {
		width: 100%; 
	}

	.col {
		margin: 0 auto;
	}

	.site-title{
		width: auto;
		text-align: center;
		margin:0 0 0 6.47%; 
	}
	.site-title a{
		margin: 0 auto;
	}
	.nav-menu{
		width: 60%;
	}

	.home .nav-menu{
		width: 30%;

	}
	.home .nav-menu a{
		text-indent: 1.6rem;
	}
	.home .dd{
		display: block;
		width: 30%;

	}
	.home .dd ul li ul{
		width: 200px;
	}
	.social-media-icons{
		float: right;
		width: 30%;
	}
	.home .social-media-icons{
		width: 25%;
		float:right;
	}
	.main-small-navigation .nav-menu, .nav-menu ul {
		padding: 0;
	}
	.main-small-navigation .nav-menu ul {
		padding-left: 16px;
		padding-left: 1rem;
	}
	#bannercontainer{
		width: 70%;
		margin: 0 auto;

	}
	.main-navigation {
		width:80%;
		margin: 0;
		float: left;
	}



	#maincontentcontainer{
		width: 95%;
			margin:0 auto;
	}
	#mytheme_widget_text-2{
		width: 100%;
		margin:0 auto;
	}
		.site-footer{
		width: 95%;
		margin:0 auto;
	}
	#primary{
		width: 100%;
		margin: 0 auto;
	}
	
	.front-aside{
		position: relative;
		width: 100%;
		top:0;
		left: 0;
		
		margin:1.6rem 0 ;
		overflow: hidden;
	}
	body:after {
		content: 'mobile';
		display: none;
	}
	.site-title{
		margin: 0;
	}	
	.site-title img{
		height: 100%;

	}

	.social-media-icons{
		float: right;
	}


}
@media screen and (max-width: 840px){
	.home .nav-menu a{
		text-indent: 1000px;
		overflow: hidden;
	}
	.home .nav-menu ul li:first-child a:before{
		text-indent: 0;
		text-align: center;
		margin: 0 auto;
		width: 50%;
		float: none;
	}
	.link-flag{

		background-position: 50% 40% !important;
		background-size: 25%  !important;

	}
}
@media screen and (max-width: 612px) {

	.main-navigation{
		width: 80%;
	}
	.nav-menu{
		width: 60%;
	}

	.home .nav-menu{
		width: 25%;

	}
	.home .nav-menu a{
		text-indent: 1.6rem;
	}
	.home .dd{
		display: block;
		width: 22%;

	}
	.home .dd ul li ul{
		width: 200px;
	}
	.social-media-icons{
		float: right;
		width: 20%;

	}
	.home .social-media-icons{
		width: 30%;
		float:left;
	}
	.blog .nav-menu li:first-child{
		width: 25%;


	}
	.blog .nav-menu li:last-child{
	width: 70%;


	}
	.site-title{
	width:auto;
	margin: 0;
	}	
	.site-title img{
	height: 100%;
	
	}
	.link-flag{

		background-position: 45% 40% !important;
		background-size: 40%  !important;

	}

}	

/*  Adjust the menu at less than 520px */
@media  screen and (max-width: 530px){
	.site-title h1 {
		text-align: center;
	}
	
	.main-navigation{
		width: 70%;
	}

	.main-small-navigation .nav-menu,
	.main-small-navigation .nav-menu ul,
	.nav-menu,
	.nav-menu ul {
		padding: 0;
	}
	.main-small-navigation,
	.main-navigation li {
		
	}
	.main-small-navigation {
		text-align: center;
	}
	.main-small-navigation ul li,
	.main-navigation ul li {
	
	}
	.main-navigation ul ul, .main-navigation ul ul li ul {
		position: relative;
	}
	.main-navigation ul ul li ul {
		left: 0;
	}
	.main-navigation ul ul a {
		color: #fff; /* Nav bar dropdown link color */
		background-color: #333;  /* Nav bar dropdown background color */
		width: 100%; /* Nav bar dropdown width */
	}
	
	.game-navigation ul li{
		width: 18%;
	}
	.game-navigation ul li:first-child{
		width: 25%;
	}
	.game-navigation ul li:nth-child(5n+2){
		width: 18%;
	}
	.nav-menu{
		width: auto;
	}
	.home .dd{
		width: 33%;
	}
	.home .nav-menu{
		width: 33%;
	}	
	.home .social-media-icons{
		width: 33%;
		float: right;
	}
	.site-title{
		width:auto;
		margin:0 1% 0 1%;
	}
	article p{
		width: 98%;
		display: block;
		
		
	}
}
@media only screen and (max-width: 400px) {
	.author-description {
		float: left;
		width: 100%;
	}
	article p{
		line-height: 2.3rem;
	}
	

}
@media only screen and (max-width: 320px) {
	article p{

		font-size: 1.35rem;
		line-height: 2.1rem;
	}
	#maincontentcontainer{
		margin: 1rem auto 0 auto;
		width: 95%;
	}
}
/* ==========================================================================
   Non-semantic helper classes from HTML5 Boilerplate
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }


/* ==========================================================================
   Print styles from HTML5 Boilerplate
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
