html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p 
{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
article,aside,footer,header,nav,section,figure {display: block;}
html { font-size:100.01%; }
body {
	line-height:1.5em;
	color: #222;
	font-family: Verdana, sans-serif;
	background: #ffffe8;
}
.fix:after{
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility:hidden;
}
.left {float:left;}
.right {float:right;}
.center {margin: 0px auto;display: table;}
.error {color: red;width: 350px;}
.error-page {
	font-size: 28px;
	color: red;
	margin: 50px;
	text-transform: uppercase;
}
.big {font-weight: bold;}
.color {font-weight: bold;color:#ff914a;}
.scroll {overflow:auto; height:400px;}
.fon {
  position:relative;
  overflow: hidden;
  display: table;
  margin: 5px auto 25px;
  background-color: #fff;
  padding: 3%;
  border: 1px solid #5173fb;
  border-radius: 50px;
}
.input {
	width: 350px;
	margin: 0px auto;
	display: block;
}
.submit {
	cursor: pointer;
}
.baner {width:728px;height:90px;margin:0px auto;}
.adrek {margin: 2% 0px;}
a {
	text-decoration: none;
	color: #5173fb;
}
a:hover {
	color:#ff914a;
}
input, textarea {
	color: #5173fb;
	background-color: #ffefd5;
	padding: 10px;
	font-size: 20px;
	font-weight: bold;
	border: 2px solid #ff914a;
	border-radius: 20px;
	text-align: center;
}
input:hover, textarea:hover {
	color: #ff914a;
	background-color: #ffefd5;
	padding: 10px;
	font-size: 20px;
	font-weight: bold;
	border: 2px solid #5173fb;
	border-radius: 20px;
}

#addRequest {
	width: 50%;
	height: 300px;
	resize: vertical;
}

nav {background: #ffffe8 !important;}

#history { 
	font-size:24px;
	margin: 20px 0px;
	text-transform: uppercase;
	line-height: 2.5em;
}
a#history:hover {color:#ff914a !important;}
/* header
-------------------------------------------------------------- */

header {
	min-width:320px;
	border-bottom:3px solid #ff914a;
	color:#222;
	position:relative;
	overflow: hidden;
}
header nav {
	margin:0 auto;
	position:relative;
	overflow: hidden;
	padding:0;
}
div.logo {
	width:190px;
	float:left;
	position:relative;
	z-index:2;
	border-right: 1px solid #ff914a;
	padding-right: 20px;
	height: 140px;
	padding-top: 15px;
}
div.logo img {
	max-width:100%;
}
h1 {
	font-size:30px;
	font-weight: bold;
	text-align:center;
	text-transform: uppercase;
	margin-top: 30px;
	position:relative;
	z-index:1;
}
ul.balance {
	list-style:none;
	position:relative; 
	left:0;
	right:0;
	text-align:center;
	color:#222;
	font-size:24px;
	overflow: hidden;
	border-bottom:1px solid #ff914a;
}
ul.balance li {
	    margin:10px 20px;
}
ul.nav {
	position:relative;
	overflow: hidden;
	list-style:none;
	font-size:24px;
	display: table;
	margin: 0px auto;
}
ul.nav li {
	float:left;
	margin: 10px 40px;
	text-transform: uppercase;
	font-weight: bold;
}
ul.nav li a {
	text-decoration: none;
	color: #5173fb;
}
ul.nav li a:hover {
	color:#ff914a;
}

aside#topBanner, aside#bottomBanner {
	display: table;
	margin: 2% auto;
}
aside#leftBanner, aside#rightBanner {
	padding: 0px 25px;
}



section.fix {
	position:relative;
	overflow: hidden;
	margin: 1px auto;
	/*width: 700px;*/
}

h2 {
	text-align: center;
	font-size: 24px;
	margin: 5px 50px;
	line-height: 2.5em;
}
h3 {
	text-align: center;
	font-size:20px;
	margin: 20px;
	text-transform: uppercase;
	line-height: 2.5em;
}
ol {
	position:relative;
	overflow: hidden;
	display: table;
	margin: 5px auto;
}
.fon h3 {font-weight: bold;}
ul.rules {
	position:relative;
	overflow: hidden;
	margin: 2% auto;
	padding: 3% 30px;
	display: table
}
ul.rules li {
	padding: 1%;
	width: 100%;
}
p {
	text-align: center;
	font-size: 18px;
	margin: 20px auto;
	padding: 1%;
}
table {
	display: table;
	margin: 20px auto;
	border: 1px solid #5173fb;
}
table:hover {
	border: 2px solid #ff914a;
}
tr {
	border: 1px solid #5173fb;
}
th, td {
	border: 1px solid #5173fb;
	text-align: center;
	padding: 5px;
}
figure {
	width: 100px;
	height: 100px;
	overflow: hidden;
	position: relative;
	margin: 5px auto;
}
figure.big-img {
	width: 300px;
	height: 300px;
}
figure img {
	width: 100%;
}
.baner img {
	width: 100%;
}

/* form
-----------------------------------*/

form {
	padding: 1%;
	position:relative;
	overflow: hidden;
	text-align: center;
}
fieldset {
	margin: 2% auto;
	position:relative;
	overflow: hidden;
	width:750px;
	border:none;
}
label {
	margin: 1% auto;
	display: block;
	text-align: center;
}
input {
	margin: 1%;
}
div.withdraw {
	margin: 1% auto;
	position:relative;
	overflow: hidden;
	width:90%;
	text-align: center;
}



footer {
	color:#ff914a;
	text-align: center;
	height: 30px;
	font-weight: bold;
	border-top:3px solid #ff914a;
	padding: 10px;
}

/* media
-------------------------------------------------------------- */

@media screen and (max-width: 736px) and (min-width: 360px) {
  aside#leftBanner, aside#rightBanner {
    display: none;
  }
div.logo {
	border-right: none;
	margin:10px auto;
	padding: 0;
	width:250px;
	height: 126px;
	float:none;
 }
div.logo img {
	width:100%;
 }
ul.balance {
	font-size:20px;
	border-bottom:none;
	list-style:none;
	text-align: center;
	margin: 20px 0px;
	padding: 0px;
 }
ul.balance li {
	position:relative;
	overflow: hidden;
	float:none;
	margin: 10px;
 }
ul.nav {
	display: block;
	text-align: center;
	padding: 0;
 }
ul.nav li {
	float:none;
	margin: 10px auto;
 }
.baner {display: none;}
ul.nav li {
	margin: 20px 40px;
}
fieldset {
	width:300px;
	padding-left: 0;
	padding-right: 0;
}
.input {
	width:250px;
}
/*section.fix {
	width: 100%;
}*/

form {
	padding: 0;
}
}

/* media
-------------------------------------------------------------- */


/* admin */

.statistic td {
	padding: 5px 10px 5px;
}

#addRequest {
	font-size: 14px;
}

.large-img {
	width: 500px;
	height: 304px;
}

/* modal alert
********************************/
#alert {
	display:none;
	position:absolute;
	top:0;
	left:0;
	background:rgba(0,0,0,0.7);
}
#alert div {
	position:relative;
	width: 400px;
	margin:100px auto;
	padding:40px;
	border:solid 4px #999;
	border-radius:5px;
	background:#fff;
	font-size:14px;
	box-sizing: border-box;
}
#alert .close {
	display:block;
	height:24px;
	width:24px;
	position:absolute;
	top:-12px;
	right:-12px;
	background:url(../img/close.png);
	text-indent:-999px;
	box-sizing: border-box;
}
#alert input {
	margin:10px 0;
	width:300px;
	font-size:20px;
	line-height:1.5;
	background:#ffc;
	border:solid 1px #999;
	border-radius:3px;
}
#alert input.checkbox {width:20px}
#alert input.submit {
	width:60px;
	font-size:14px;
	float:right;
	border-color: #298CBA;
	font-weight: bold;
	color: white;
	background: #21759B url(button-grad.png) repeat-x scroll left top;
	text-shadow: rgba(0, 0, 0, 0.3) 0 -1px 0;
	font-size: 13px;
	line-height: 16px;
	padding: 3px 10px;
	border-width: 1px;
	border-style: solid;
	border-radius: 11px;
}
#alert input.submit:hover {
	border-color: #13455B;
	color: #EAF2FA;
}
#alert hr {clear:both}

#alert:target {
	display:block;
	bottom:0;
	right:0;
}
