body{
	margin:0;
	padding:0;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#2f1a1a;
	background: #f1f1f1;
}

#main{
	width:1180px;
	padding:1px;
	box-sizing: border-box;
	margin:auto;
}
#mainfull{  						/* for game stats*/ 
	padding:5px 10px;
	box-sizing: border-box;
	min-width:1114px;
}

#logo{	
	color:#008080;
	float:left;
	cursor: pointer;
	font-weight: bold;
	font-size:19px;
	margin-left:5px;
	margin-top:2px;
}

.logouser{
	color:black;
	font-size:15px;
}

a { color: #265C83; }
a:link, a:visited { color: #265C83; }
a:hover { color: #7FDBFF; }
a:active  { color: #007BE6; }
.link { text-decoration: none; }

/* Vertical game and admin menu ---------------------------------------------*/
.vmwr {
	float:left;
	width:50px;
	min-height:500px;
}
.vmenuul{
	margin: 0 0 12px 0;
	margin-bottom:12px;
	padding:0;
	width:40px;
	list-style:none;
	box-shadow: 3px 3px 8px #888888;
}
.vmenuul li{margin:0 0 1px 0;}
.vmenuul li a span{line-height:40px;}
.vmenuul li a span img{vertical-align: -2px;}
.vmenu, .vmenuactive {
	text-align:center;
	display:block; 
	background: url('../images/verMenuImages.png') 0px 0px no-repeat;
	font:16px Verdana, Arial, Helvetica, sans-serif;
	color:rgb(13,13,13);
}
.vmenuactive {background:url('../images/verMenuImages.png') 0px -80px no-repeat;}
/*-------------------------------------------------------------divs for content*/
.main1, .main2, #main3, .main1list, .main1listr, .main2list, .main2listr{
	background:white; 
	box-shadow: 2px 2px 5px #888888;
	overflow-y:auto;
	overflow-x:hidden;
	margin-bottom:10px;
	box-sizing: border-box;
}

.main1{ width:100%; }
.main2{ float:left; width:calc(100% - 50px);}
#main3{
	width:520px;
	padding:6px;
	float:right;
	max-height:350px;
}
.main2:empty,#main3:empty {display:none;}

.main1list, .main1listr, .main2list, .main2listr{
	width:586px;
	float:left;
	margin-top:0px;
}
.main2list, .main2listr{width:561px;}
.main1listr, .main2listr{ margin-left:6px;}

#chartdiv { min-height:380px; min-width:95%; }



.main2simple{
	float:left; 
	width:calc(100% - 50px);
}

.main1simple{
	float:left;
	width:100%;
}

/*-----------------------------------------------------------------tables*/

.colbl {border-left:1px #C0C0C0 dashed;}  /* border for columns left  */
.colbr {border-right:1px #C0C0C0 dashed;} /* border for columns right */
.rowbd {border-bottom:1px #C0C0C0 dashed;} /* border for rows down*/

.gtable{
	width:100%;
	border-collapse:collapse;
	margin-bottom:5px;
	box-sizing: border-box;
}
.gtable th, .gtable td{
	text-overflow:ellipsis; 
	overflow-x:hidden; 
	white-space: nowrap;
	text-align:center;
}
.gtable th{
	padding:3px 5px 5px 5px;
	font: 14px 'Lucida Grande', Tahoma, Verdana, sans-serif;
}
.gtable td{
	padding:5px; 
	font: 15px 'Lucida Grande', Tahoma, Verdana, sans-serif;
}
.gtable tr { border-bottom:1px solid #e6e7e9; }
.gtable tr.noline {border-bottom:0px;}
.gtable tr:hover td, tbody tr:hover::before { background: #f5f5f0; color: #339; }
.gtable tr.nohover:hover td {background: inherit; color: inherit; }


.gtable thead tr::before{ content: ""; display: table-cell; }                   /* counter start */
.gtable tbody{counter-reset: sortabletablescope;}
.gtable tbody tr::before{
	content: counter(sortabletablescope);
	counter-increment: sortabletablescope;
	display: table-cell;
	width:30px;
	font-size: 15px;
	padding:5px;
	padding-right:10px;
	border-bottom:1px solid #e6e7e1;
	text-align:center;
	vertical-align: middle;
}										

.gtable tbody tr.sptr::before{
	content: attr(data-c);
}

.nocounter tbody tr::before, .nocounter thead tr::before{
	display:none;
}									/* counter end */

.gtable .coverimg{
	display:block;
	width:25px;
	height:28px;
	margin:auto;
}
.gtable .coverimgth{ width:50px; }
.gtable .coverimgtd{ padding:1px; }

.gtable #gamename{
	text-align:left;
	width:130px;
	max-width:130px;
	color: #595959;
	font: 13px 'Lucida Grande', Tahoma, Verdana, sans-serif;
	font-weight: bold;
	text-overflow: ellipsis;
}

.gtable .width35 { width:35px; }
.gtable .width40 { width:40px; }
.gtable .width50 { width:50px; }
.gtable .width75 { width:75px; }
.gtable .width100{ width:100px;}
.gtable .width150{ width:150px;}
.gtable .width200{ width:200px;}
.gtable .width250{ width:250px;}
.gtable .width300{ width:300px; }
.gtable .font13 {font-size:13px;}
.gtable .font14 {font-size:14px;}
.gtable .font25 {font-size:25px;}
.gtable .green { color:#49A34B; }
.gtable .red { color:#F08080; }

.gtable .titletd{
	text-align: left;
	padding-left:20px;
	font-size:14px;  
	white-space:nowrap;
	max-width:300px;
	overflow-x:hidden; 
	text-overflow: ellipsis;
}

table tr td.playername{
	text-align:left;
	padding-right:3px;
}
table tr td.playernamen{color: #B6B9B5;} /*for neutral*/

.gtable .levelnameth{max-width:40px;}

#gamehistory{ table-layout: fixed;} 					/*----------ghistory table start*/
#gamehistory .ghname {text-align:left;  font-size: 15px;  }

#gamehistory .ghgame {
	text-align:left; 
	font-size:14px;
	width:120px;
}

#gamehistory .ghratplus{
	width:40px;
	font-size: 12px; 
	text-align:center;	
}

#gamehistory .ghpts{
	width:40px;
	font-size: 15px; 
	text-align:center;	
}

#gamehistory .ghpts2{
	width:40px;
	font-size: 14px; 
	text-align:center;	
}

#gamehistory .ghdate{
	font-size:14px;
	width:140px;
	text-align:center;
}					/*----------ghistory table end*/

/*---------------------------------------------------------------------------------------------------------------title bar*/

.titlebar{
	background-color:#F8F8F8;
	width:100%;
	height:23px;
	padding:1px;
	margin:0px;
	box-shadow: 0px 0px 2px #888888;
	box-sizing: border-box;
}

.titlebarbig{height:50px;}

.titlebarlabel{
	padding:3px;
	float:left; 
	margin:0 1px 0 1px;
	text-overflow:ellipsis;
	overflow: hidden;
	white-space:nowrap;
	color: #595959;
	text-shadow: 0 1px white;
	font-weight: bold;
	font-size: 12px;
}
.titlebarlabel2{
	padding:4px;
	float:left; 
	margin:0px 1px 0 5px;
	text-overflow:ellipsis;
	overflow: hidden;
	white-space:nowrap;
	color: #797979;
	text-shadow: 0 1px white;
	font-weight: bold;
	font-size: 12px;

}

#apxlabel{
	padding:3px;
}

#titlebarerr{
	padding:3px;
	float:left; 
	margin:0 1px 0 1px;
	max-width:300px;
	text-overflow:ellipsis;
	overflow: hidden;
	white-space:nowrap;
	color: #625454;
	font-size: 12px;
}

.titlebartextinput{
	margin:1px 0 0 2px;
	height:11px;
	outline:none;
	width: 110px;
	background: #FFF;
	padding:3px;
	outline:none;
	border-radius:4px;
	border:1px solid #ccc;
	float:left;
}
.titlebartextinput:focus, .titlebarselect:focus, .ctitlebarcselect:focus{
	border: 1px solid rgba(81, 203, 238, 1);
	box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}

.titlebarbutton {
	float:left;
	border-radius: 3px;
	margin: 2px 2px 0px 2px;
	padding: 1px 6px;
	display: inline-block;
	border: 1px solid #ccc;
	color: #717171;
	font-size: 12px;
	font-family: "Helvetica Neueu", Helvetica, Arial, sans-serif;
	text-shadow: white 0 1px 0;
	background-color: #f5f5f5;
	background-image: linear-gradient(top, #f9f9f9, #eaeaea);
}
.titlebarbutton:focus{ outline:0; }
.titlebarbutton:active, .titlebarbutton:hover{    background-color: #fff;}

.titlebarselect{
	border:none;
	background: #FFF;
	padding:1px;
	margin: 1px 2px 0px 0px;
	border-radius:4px;
	outline:none;
	display: inline-block;
	border:1px solid #ccc;
	width: 71px;
	font-size:12px;
	float:right;
}

.titlebarbuttonimg{
	height:10px;
	margin-top:1px;
}

.titlebarimg{
	height:16px;
	width:16px;
	margin: 2px;
}

.paginatewr{			/* for title bar pagination  */
	max-width:340px;
	float:left;
	padding:3px;
}

/*--------------------------------------------------------------------------------------- adr*/
#addresultsdiv {
	background-color:#F9f9f9;
	position: fixed; 
	right: 2%;
	top: 3%;
	display: none;
	min-height: 50px; 
	min-width: 200px;
	z-index: 20;
	box-shadow: 3px 3px 10px #888888;
	border-radius:6px;
	border: 1px solid #ccc;
	max-width:1300px;
	max-height: 760px;
	overflow-y:auto;
	overflow-x:hidden;
	box-sizing: border-box;
}

.pointsadrf, .pointsadrf2 {
	width:45px;
	background: #FFF;
	padding:3px;
	margin: 0px 2px 5px 5px;
	outline:none;
	display: inline-block;
	border-radius:4px;
	border:1px solid #ccc;
}
.pointsadrf:disabled {background: #E8E8E8;}
.pointsadrf:focus, .pointsadrf2:focus, .namesadrf:focus{
	border: 1px solid rgba(81, 203, 238, 1);
	box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}

.namesadrf {
	border:none;
	background: #FFF;
	padding:3px;
	margin: 0px 2px 5px 0;
	border-radius:4px;
	outline:none;
	display: inline-block;
	border:1px solid #ccc;
	width: 120px;
}

/*------------------------------------------------------------------------------------------------------ main menu taisyt*/
ul#topmenu{
	list-style: none;
	margin: 0px 1px 6px 0px;
	padding: 0;
	float:right;
}

ul#topmenu li{
	padding:2px;
	float:left;
	color: #333333;
	cursor: pointer;
	display: block;
	font-weight: bold;
	font-size: 14px;
	margin: 1px 2px 0;
	position: relative;
	text-align: center;
	width: 100px;
	border-radius:5px 5px 5px 5px;
	text-align: center;
	background-color:#fff;	
	text-overflow: ellipsis;
	overflow:hidden;
	box-shadow: 1px 1px 2px #ccc;
	height:17px;
}
ul#topmenu li:hover, ul#topmenu2 li:hover{ box-shadow: 1px 1px 2px #888888; }

.topmenuicon{
	float:right;
	margin:3px 5px 3px 5px;
	cursor:pointer;
	border-radius:5px 5px 5px 5px;
}
.topmenuicon:hover{

}

.topmenuicon img{
	width:15px;
	height:15px;
}

ul#topmenu2{
	list-style: none;
	margin: 4px 10px 0px 0px;
	padding: 0;
	float:right;
}

ul#topmenu2 li{
	padding:2px;
	float:left;
	color: #333333;
	cursor: pointer;
	display: block;
	font-size: 12px;
	font-weight: bold;
	margin: 1px 1px 0;
	position: relative;
	text-align: center;
	width: 75px;
	border-radius: 5px 5px 5px 5px;
	text-overflow: ellipsis;
	overflow:hidden;
	padding: 0 5px 0 5px;
	background-color:#E5E0E0;
	height:15px;
}
/*------------------------------------------------------------------------------------ end main menu*/

.listwr{
	overflow-x:hidden;
	overflow-y:auto;
	width:100%;
	height:200px;
	margin-top:5px;
}

#message_bar{
	display: none;
	position: absolute;
	top: 50px;
	left:0;
	background-color: coral;
	width: 100%;
	text-align: center;
	font-size:80px;
	z-index: 999;
}

.loginwr{
	width:100px;
	margin-left:20px;
	margin-top:25px;
}

.adrimg{
	height:11px;
	width:11px;
}

.adrbuttonimg{
	height:11px;
}

.statslabel{          /* label adr for datatype in add results form */
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow:hidden;
}
.adrtoolsbut{ width:110px; }
.adrcheckbox{ margin:0px;}

.adrline{
	border: 0;
	height: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.centerdiv{
	display:none;
	position:absolute;
	top: 50%;
	left: 50%;
	margin-top: -150px;
	margin-left: -250px;
	width: 500px;
	height: 300px;
	box-shadow: 3px 3px 10px #888888;
	border-radius:6px;
	border: 1px solid #ccc;
	z-index: 100;
}

.arrowbutton{
	margin:2px 8px 0 0;
	float:right;
	background: #fff;
	padding:0px 4px 3px 4px;
	border-radius: 5px;
	text-decoration: none;
	height:15px;
	border: 1px solid #ccc;
	font-size:10px;
}
#arrowb{ display: none; }
.arrowbutton:hover {
	cursor:pointer;
	background-image: linear-gradient(to bottom, #f0f0f0, #f5f5f5);
}
.arrowbutton:focus{outline: 0;}

/*-----------------------------------------------------------------------custom select div */
.cselectdiv{
	box-shadow: 3px 3px 10px #888888;
	position:absolute;
	display:none;
	background:white;
	padding:2px;
	z-index:20;
	border: 2px solid grey;
	width:400px;
	margin:18px 0px 0px -5px;;
	
}

.ctitlebarcselect{
	font-size:11px;
	float:left;
	width:30px;
	text-align:center;
	height:10px;
	padding: 2px;
	margin: 3px 0 0 2px;
	outline:none;
	border-radius:4px;
	border:1px solid #ccc;
}

.cselectitem, .cinputdiv{
	padding:5px;
	width:50px;
	text-align:center; 
}
.cselectitem2{width:30px;}

.cselectnotable{
	float:left;
	padding:5px;
	width:25%;
	text-align:center; 
	box-sizing: border-box;
	cursor:pointer;
}

.cmenuitem:hover{
	color:#888888;
}

.cinputdiv{
	width:25px;
	float:left;
	padding:15px 2px 2px 2px;
	height:80px;
}

#apxinput{
	font-size:11px;
	width:35px;
	line-height: 10px;
	height:10px;
	text-align:center; 
}

.cmenutable{
	border-collapse:collapse;
	width:100%;
	table-layout:fixed;
	margin:0px;
}
.cmenutable td{
	text-align:center;
	color: #2F343A;
	padding:8px;
	text-overflow: ellipsis;
	white-space: nowrap;
	cursor: pointer;
}


/*--------------------------------------------------------------------------------------end custom select */

.adrnav{
	background-color:#F8F8F8;
	width:100%;
	padding:1px;
	margin:0px;
	margin-bottom:2px; 
	box-shadow: 0px 0px 2px #888888;
	height:22px;
}

.adrlabel{
	float:left; 
	line-height: 22px;
	padding: 0 2px 0 10px;
	font-size: 12px;
	font-weight: bold;
	color: inherit;
	text-decoration: none;
	outline: 0;
	max-width:70%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.adrclosebutton{
	float:right;
	margin:2px 5px 0 4px;
	cursor:pointer;
	color: #3e3e3e;
	text-shadow: 0 1px 0 #fff;
	border: solid 1px #cdcdcd;
	border-radius: 2px;
	background: linear-gradient(#FfFfFf, #f9f9f9);
	outline: 0;
}

.adrclosebutton{
	height:18px; 
	width: 25px;
}

.adrclosebutton:hover{
	color: #333;
	border-color: #999;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

#adrerror{
	float:left; 
	max-width:250px;
	padding: 0 2px 0 10px;
	text-overflow:ellipsis;
	overflow: hidden;
	white-space:nowrap;
	line-height: 22px;
}

.adrbutton{ 
	padding:4px 8px 4px 10px;
	height:23px; 
	margin:0 2px 0 2px; 
	text-align:center;
	cursor:pointer;
	color: #3e3e3e;
	font: 12px Helvetica, Arial, sans-serif;
	text-shadow: 0 1px 0 #fff;
	border: solid 1px #cdcdcd;
	border-radius: 2px;
	background: linear-gradient(#FfFfFf, #f9f9f9);
	outline: 0;
}
.adrbutton:hover{
	color: #333;
	border-color: #999;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.adrbutton:active{
  	color: #000;
	border:1px solid #fff;
}

.adrplusbutton{
	height:18px; 
	width:88px;
	font: 15px Helvetica, Arial, sans-serif;
	margin:2px;
	padding:0 10px 0 10px;
	background: linear-gradient(#FfFfFf, #f9f9f9);
	border-radius: 2px;
	border: solid 1px #cdcdcd;
}
.adrplusbutton:hover{
	color: #333;
	border-color: #999;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.adrfbwr{
	width:200px;
	float:right;
	overflow:hidden;
	margin:15px 10px 10px 0;
	text-align:right;
}

.adrtextinput{
	width:150px;
	background: #FFF;
	padding:3px;
	margin: 0px 3px 2px 3px;
	outline:none;
	display: inline-block;
	border-radius:4px;
	border:1px solid #ccc;
	box-sizing: border-box;
}

.adrselect {
	margin: 0px 3px 0px 3px;
	border:none;
	background: #FFF;
	padding:2px;
	border-radius:4px;
	outline:none;
	display: inline-block;
	border:1px solid #ccc;
	width: 120px;
	height: 22px;
}

.adrtextinput:focus, .adrselect:focus{
	border: 1px solid rgba(81, 203, 238, 1);
	box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}

.adrpaginatewr{
	padding:3px;
	float:left;
}


.adrtable{
	width:100%;
	border-collapse:collapse;
	table-layout:fixed;
}

.adrtable td{
	padding:3px; 
	font: 13px 'Lucida Grande', Tahoma, Verdana, sans-serif;
}

.adrtable td.bigpadding{
	padding:10px 30px 10px 30px; 
}

.adrtable th{
	padding:3px 5px 5px 5px;
	font: 12px 'Lucida Grande', Tahoma, Verdana, sans-serif;
}

.adrtablewr{
	width:350px;
	float:left;
	margin:2px 5px 5px 5px;
}

.adrbuttonsdiv{
	float:right;
	margin: 15px 3px 12px 10px;
}

.adrform{
	margin:15px 6px 10px 6px;
}

.addgameadrform, .loginform{
	margin:15px 10px 0px 12px;
}


.adrinputlabel{      /* used in gamesettings, maybe elsewhere too */
	margin:5px 0 3px 10px;
	width:100%;
}

.adrcontentwr{
	width:100%;
	margin:auto;
	text-align:center;
	margin:2px;

}

.adrtable .width90{width:90px}

.fieldsetbr{                         /*     user in upload gi adr  */
	border:1px dashed #CCC;
	margin:3px;
	float:left;
	width:360px;
	padding: 3px;
}

.variantsadr{    			/*    add results form variant select   */
	width:100%;
	background: #FFF;
	padding:2px;
	margin: 5px 0px 2px 0px;
	outline:none;
	display: inline-block;
	border-radius:4px;
	border:1px solid #ccc;
}

.noteadrf{
	width:100%;
	background: #FFF;
	padding:3px;
	margin: 0px 2px 5px 0px;
	outline:none;
	display: inline-block;
	border-radius:4px;
	border:1px solid #ccc;
}
.noteadrf:focus, .variantsadr:focus{
	border: 1px solid rgba(81, 203, 238, 1);
	box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}

/*-------------------------------------------------------------------------------------adr end */


.nofloat { float:none; }
.aligncenter{ text-align:center; }
.alignleft {text-align: left;}
.alignright {text-align:right;}

.spgamelistarrow{     /*arrow for expanding game group in user games list */
	width:18px;
	height:17px;
	float:right;
}

.imgcenter {			/* ajax loading image  */
	display: block;
	margin-left: auto;
	margin-right: auto;
	vertical-align: middle;
	width:20px;
	height:20px;
} 
.imgcenter2 {			/* ajax loading image  */
	display: block;
	margin-left: auto;
	margin-right: auto;
	vertical-align: middle;
	width:12px;
	height:12px;
} 
.imgcenterparent{
	display: inline-block; 
	height: 30%;
}


/*image preload ------------*/
#main:after
{
	content: 	
	url(../images/home.png) url(../images/ranking.png) url(../images/statistics.png) 
	url(../images/info.png) url(../images/users.png) url(../images/clock.png)
	url(../images/series.png) url(../images/table.png)
	url(../images/history.png) url(../images/graph.png) url(../images/today.png) url(../images/backarr.png)
	url(../images/profile.png) url(../images/icons.png) url(../images/other.png) url(../images/tools.png) url(../images/recent.png);

	display: none;
}
/*--------------------------*/


/* Custom scrollbar for chrome    reik taisyt*/
#main2::-webkit-scrollbar, #main1::-webkit-scrollbar, #main3::-webkit-scrollbar, .main1::-webkit-scrollbar, .main2::-webkit-scrollbar, .listwr::-webkit-scrollbar
{ width: 12px; }
#main2::-webkit-scrollbar-track, #main1::-webkit-scrollbar-track,
#main3::-webkit-scrollbar-track, .main1::-webkit-scrollbar-track, 
.main2::-webkit-scrollbar-track, .listwr::-webkit-scrollbar-track
{ 	/* Track */
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	-webkit-border-radius: 4px; border-radius: 4px;
}
#main2::-webkit-scrollbar-thumb, #main1::-webkit-scrollbar-thumb,
#main3::-webkit-scrollbar-thumb, .main1::-webkit-scrollbar-thumb,.main2::-webkit-scrollbar-thumb, .listwr::-webkit-scrollbar-thumb

{	/* Handle */
	-webkit-border-radius: 10px;
	border-radius: 10px;
	background: white;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
/* END scrollbar for chrome */


.youtube-videogallery-img {
	border-radius: 5px;
	width:150px;
}

#gallery img {margin-right:10px; width:125px; height:115px;}

#gi_filter2:focus, #gi_filter:focus, .namesadrf:focus, .orderby:focus, #gi_filter3:focus,     /* taisyt   */
#gi_filter4:focus,#gi_filter5:focus,#gi_filter6:focus, .gi_filter:focus{
	border: 1px solid rgba(81, 203, 238, 1);
	box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}

.adraddform{ margin: 12px 0 5px 7px}

input[type=color]{
	margin: 0px;
	padding: 0px;
	border: 0px solid;
	width: 40px;
	height:24px;
}

.nicebutton{
	text-align:center;
	font-size:14px;
	padding:5px 10px 4px 10px;
	border-radius:40px;
	border-color:#E5E5E5;
	outline: none;
	height:30px; 
	margin:8px 8px 8px 4px; 
	background: linear-gradient(#F9F6F4, #E5E5E5);
	text-align:center;
	cursor:pointer;
	box-shadow: 2px 2px 5px #888888;
}

.rotated {
  transform: rotate(180deg);
  -ms-transform: rotate(180deg); /* IE 9 */
  -moz-transform: rotate(180deg); /* Firefox */
  -webkit-transform: rotate(180deg); /* Safari and Chrome */
  -o-transform: rotate(180deg); /* Opera */
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

.smallajaxgif{
	width:15px;
	height:15px;
	margin:2px;
}

#orderupdown{
	cursor:pointer;
}