html, body {
	background-image: url("//empires-world.ru/img/i/reg/fon1.jpg");
	background-position: center;
	background-size: cover;
	background-attachment: fixed;
	color: white;
	font-size: 12px;
	font-family: Tahoma, Verdana, Arial;
	font-weight: bold;
	height: 100%;
	line-height: 14px;
	width: 100%;
}
::-webkit-scrollbar {
    display: none;
}

a {
	color: #969ca7;
	text-decoration: underline;
}

a:hover {
	color: #969ca7;
	text-decoration: none;
}

input, select, textarea {
	font-family: Arial;
}

input.text,
input.password {
	margin: 4px 0;
	padding: 3px;
	width: 140px;
}

.content {
	position: relative;
}

.error {
	color: #FF0000;
	margin-bottom: 1em;
}

.description {
	margin-bottom: 1em;
}

.button {
    background: url('https://img.empires-world.ru/i/reg/buts/bl.gif') no-repeat;
	cursor: pointer;
	float: left;
	height: 32px;
    padding: 0 14px;
    position: relative;
}

.button:hover,
.button-hover {
	background-image: url('https://img.empires-world.ru/i/reg/buts/bl-s.gif');
}

.button-right {
	float: right;
}

.button-bottom {
right: 0;
position: absolute;
top: 372px;
}

.button div {
	background: url('https://img.empires-world.ru/i/reg/buts/br.gif') no-repeat 100% 0;
	height: 32px;
	position: absolute; 
	right: 0; 
	top: 0; 
	width: 21px; 
}

.button:hover div,
.button-hover div {
	background-image: url('https://img.empires-world.ru/i/reg/buts/br-s.gif');
}

.button input {
	background: url('https://img.empires-world.ru/i/reg/buts/bc.gif') repeat-x; 
	border: 0; 
	color: white;
	cursor: pointer; 
	height: 28px;
	font-family: Tahoma, Verdana, Arial; 
	font-size: 12px;
	margin: 0; 
	padding: 2px 0; 
}

.button:hover input,
.button-hover input {
	background-image: url('https://img.empires-world.ru/i/reg/buts/bc-s.gif');
}

#male,
#female,
#go,
#answer {
	width: 137px;
}

.button-back {
	left: 0;
	position: absolute;
	top: 372px;
}

#back {
	width: 100px;
}

/* Blocks */
#agree {
  vertical-align: middle;
}

#reg {
	background-position: left top;
	background-repeat: no-repeat;
	height: 490px;
	margin: 75px auto;
	position: relative;
	width: 856px;
	
}

#reg img.rate {
	left: 40px;
	position: absolute;
	top: 395px;
}


.reg-man {
	background-image: url('https://empires-world.ru/img/i/reg/reg_men.jpg');
}

.reg-woman {
	background-image: url('https://empires-world.ru/img/i/reg/reg_woman.jpg');
}

#reg div.content {
	width: 358px;
	height: 332px;
	margin-left: 370px;
	padding-top: 55px;
}

.buttons div {
	cursor: pointer;
}

.buttons td.inp {
	padding: 5px 0px 0px 0px;
	width: 180px;
}

.buttons td.inp input {
	background: white;
	color: #000000;
	cursor: default;
	height: 18px;
	padding: 1px 3px 1px 3px;
}

.back table td {
	width: 150px;
	border: 1px solid red;
}

.back {
	position: absolute;
	margin: 299px 0px 0px 0px;
	width: 150px;
}

.but_txt {
	border: 0;
	font-family: Tahoma, Verdana, Arial;
	color: white;
	font-size: 12px;
}

.buttons .but div div {
	background: url(https://img.empires-world.ru/i/reg/buts/bc.gif) repeat-x 0px 0px;
	height: 37px;
	text-align: center;
	padding: 6px 0px 0px 0px;
}

.buttons .but div {
	background: url(https://img.empires-world.ru/i/reg/buts/bl.gif) no-repeat 0px 0px;
	padding: 0px 0px 0px 21px;
}

.buttons .but {
	background: url(https://img.empires-world.ru/i/reg/buts/br.gif) no-repeat 100% 0px;
	padding: 0px 21px 0px 0px;
}

.buttons .but-s div div {
	background: url(https://img.empires-world.ru/i/reg/buts/bc-s.gif) repeat-x 0px 0px;
	height: 37px;
	text-align: center;
	padding: 6px 0px 0px 0px;
}

.buttons .but-s div {
	background: url(https://img.empires-world.ru/i/reg/buts/bl-s.gif) no-repeat 0px 0px;
	padding: 0px 0px 0px 21px;
}

.buttons .but-s {
	background: url(https://img.empires-world.ru/i/reg/buts/br-s.gif) no-repeat 100% 0px;
	padding: 0px 21px 0px 0px;
}

.buttons input {
	background: transparent;
	color: white;
	cursor: pointer;
	width: 140px;
	height: 16px;
}

.buttons .but-s input {
	background: transparent;
	color: #ffffcc;
	cursor: pointer;
}

.back_but {
	position: absolute;
	margin: 299px 0px 0px 0px;
	width: 150px;
}

/* ========= */
/* Elements */
/* Common */
.left {
	float: left;
}

.right {
	float: right;
}

.red, a .red, a.red {
	color: #F00;
}

.green {
	color: #197b30;
}

/* Form */
.button[disabled] {
	color: #B2B2B2;
	border: 1px solid #D7D7D7;
	background: #F2F2F2;
	padding-top: 0px;
	padding-bottom: 1px;
}

/* Content */
.body table {
	width: 100%;
}

/* Text */
.body p {
	margin: 0px 0px 14px 0px;
}

/* Pictures */
.body img.left {
	margin: 0px 18px 0px 0px;
}

.body img.right {
	margin: 0px 0px 0px 18px;
}

/* Lists */
ul {
	list-style-image: none;
	list-style-position: outside;
	list-style-type: disc;
	margin: 15px 0px 20px 0px;
}


.body ol {
	margin: 0px 0px 15px 25px;
	padding: 0px;
}

.body ol li {
	margin-bottom: 3px;
}

/* Table */
.table {
	width: 100%;
	font-size: 0.9em;
	font-family: Tahoma, Arial;
	line-height: 1.4em;
	margin: 0px 0px 7px 0px;
}

.table th {
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	border: 1px solid #FFF;
	border-left: none;
	background: #2A7849;
	padding: 0px 9px 2px 9px;
}

.table td {
	vertical-align: middle;
	border: 1px solid #B8B8B8;
	border-left: none;
	padding: 1px 9px 3px 9px;
}

.table th:last-child, .table td:last-child {
	border-right: none;
}


.step-counter {
	color: yellow;
	position: absolute;
	right: -19px;
	top: 400px;
}

#warning_message {
	color: #FF0000;
}
