body{
	margin:0 auto;
}
#support_iframe {
	user-select: none;
}

/* width */
::-webkit-scrollbar {
	width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
	background: #E6C6A0; 
	border-radius: 0px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
	background: #b88d00; 
	border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
	background: #7e6000; 
  }

#header{margin:0 auto; background: url(images/tiling_plashka.png) repeat;}

#header_in{width:1000px; height: 50px; margin:0 auto;}

#logo{float:left; width:1000px; height:50px; background: url(images/main-plashka5.png) 0 0 no-repeat; padding-left:247px;}

.button{
	background: url(images/_button.png) no-repeat;
	text-decoration:none; 
	text-shadow: #330000 0 0 2px; 
	display:block; 
	float:left;
	margin-right:1px; 
	margin-top:11px; 
	position:relative;
	font:bold 16px Trebuchet MS;
	color:#ffc835; 
	width:110px; 
	height:32px;
	text-align:center;
	padding-top:5px;
}
.button:hover {background: url(images/_button_h.png) no-repeat;}
.button.act{background: url(images/_button_a.png) no-repeat!important;}

#contents{overflow: hidden;}

#contents > div{visibility:hidden;position:absolute;z-index:-1;}
#contents div.faq{margin:0 auto;}
#contents div.rules{margin:0 auto;}
#contents > div.act{visibility:visible;position:static;z-index:0;}


.payments{height:730px;overflow-y:auto;background-color:#f4e1a4;font: 12px/17px Tahoma;}
#payments_table{width:700px; margin:15px 0;}
#payments_table, #payments_table th, #payments_table td{border:1px solid #401a08;    border-collapse: collapse;font-size: 12px;line-height: 16px;}
#payments_table th{color:#761f28;font-size: 15px;}

#footer_fb{background: url("footer/web_fon_lower.png") repeat; height:300px ;font: 12px arial;color: #c69c5d; text-align:center; border-top:3px solid #B2740C;}
#footer_fb a{color: #c69c5d;}
#footer_fb a:hover{color: #efd783;}
#footer_fb #uid-container{font-weight: bold; padding-top: 14px;}
#footer_fb .fb_links{text-align:center;font-size: 13px; width: 1200px; margin: 0 auto; position: relative; height: 30px; padding-top: 15px;}
#footer_fb .fb_links .hr{width: 100%; position: absolute; bottom: 0;background-color: #c69c5d; height: 2px;}
#footer_fb .fb_links a{text-decoration: none;}

#footer_ya{background: url("footer/web_fon_lower.png") repeat; height:40px ;font: 12px arial;color: #c69c5d; text-align:center; border-top:3px solid #B2740C; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;}
#footer_ya a{color: #c69c5d;}
#footer_ya a:hover{color: #efd783;}
#footer_ya #uid-container{font-weight: bold; padding-top: 14px;}
#footer_ya .ya_links{text-align:center;font-size: 13px; width: 95%; margin: 0 auto; position: relative; height: 20px; padding-top: 2px;}
#footer_ya .ya_links .hr{width: 100%; position: absolute; bottom: 0;background-color: #c69c5d; height: 2px;}
#footer_ya .ya_links a{text-decoration: none;}



#auth_popup{background: url(images/auth/bg.png) no-repeat; width: 530px; height: 425px; display:none; position: absolute; top: 50%;margin-top: -213px; left: 50%; margin-left: -265px;}
#auth_popup_description{color:#63340E; position:absolute; top: 115px; margin-left: 230px; width: 287px; height: 100px; text-align: center; align-content: center; font-size: 22px; }
#auth_popup_title{position:absolute; margin-top: 0px; margin-bottom: 0px; left: 90px; width: 348px; height: 50px; text-align: center; align-content: center; font-size: 30px; }
#auth_button {background: url(images/auth/button_green.png) no-repeat; width: 183px; height:36px;position:absolute; cursor: pointer; bottom: 71px; left: 50%; margin-left: -96px; display: flex; align-items: center; justify-content: center;}
#auth_button_text {font-size: 20px; color: #252c22;}

#reload_button{
	background: url(images/button_green.png) no-repeat;
	text-decoration:none;
	text-shadow: #330000 0 0 0px;
	display:block;
	float:left;
	margin-right:1px;
	margin-top:11px;
	position:relative;
	font:bold 16px Trebuchet MS;
	color:#330000;
	width:175px;
	height:42px;
	text-align:center;
	padding-top:10px;
}


#reload_button:hover {background: url(images/button_green.png) no-repeat;}
#reload_button.act{background: url(images/button_green.png) no-repeat!important;}

html,body,#contents,.play,#game-container{height: 100%}
body{display:flex; flex-direction: column}
.contents{flex-grow: 1}
#header,#new_footer{width: 100%}
#ya_close_button_terms, #ya_close_button_privacy{position: absolute; right: 30px; margin-top: 10px;}

.ya_links {
	
}

.ya_notices {
	margin: 0;
    font-size: 12px;
    color: #8b652c;
}
