body {
  font: normal 8pt/10pt 'Verdana', 'Tahoma';
  padding: 0px;
  margin: 0px;
}

table	{
  display: table;
  font: normal 8pt/10pt 'Verdana', 'Tahoma';
  border-collapse: collapse;
}

tr {
  display: table-row;
}

td {
	display: table-cell;
}

body, td {
  font: normal 8pt/10pt 'Verdana', 'Tahoma';
  color: #555555;
  background: #FFFFFF;
}

/* Main разметка */

td.header, td.logotype, td.menu, td.content {
  min-width: 780px;
}

td.header {
  height: 100px;
}

td.logotype {
  height: 90px;
}

td.menu {
  height: 17px;
  background: #CCCCCC;
}

td.content {
  height: 100%;
}

td.footer {
  height: 17px;
  background: #C0C0C0;
}

/* Header разметка */
td.header table {
  width: 100%;
  height: 100%;
}

td.header-left, td.header-right {
  width: 50%;
  height: 100%;
}

td.header-left {
  font-size: 0px;
  color: #FFFFFF;
  background: transparent url('../img/header-left.gif') no-repeat left bottom;
}

td.header-right {
  text-align: right;
  vertical-align: top;
  background: transparent url('../img/header-right.gif') no-repeat right top;
}

/* Search */
td.header-right .search{
  padding: 20px 45px 0px 0px;
}

td.header-right form {
  vertical-align: middle;
  padding: 0px;
  margin: 0px;
}

td.header-right form input, img {
  vertical-align: middle;
}

td.header-right form input {
  background: #F5F5F5;
  width: 100px;
  font: normal 8pt 'Tahoma', 'Verdana';
  border: 1px solid #C0C0C0;
  padding: 1px 3px 1px 3px;
}

td.header-right form input.submit{
  width: 19px;
  background: transparent;
  border: 0px;
  padding: 0px;
}

td.header-right form input:hover {
  background: #FFFFFF;
}

/* Logotype разметка */
td.logotype table {
  width: 100%;
  height: 100%;
}

td.logotype-left {
  min-width: 1px;
  background: #1F1F85 url('../img/logotype-left.gif') repeat-x right;
}

td.logotype-center {
  min-width: 780px;
  width: 778px;
  height: 100%;
  background: #1F1E85 url('../img/logotype.gif') no-repeat center;
}

td.logotype-right {
  min-width: 1px;
  background: #20117E url('../img/logotype-right.gif') repeat-x left;
}

/* Menu разметка */
td.menu table {  
}

td.menu table td {
  width: 110px;
  font: bolder 12px/10pt 'Verdana', 'Tahoma';
  text-align: center;
  background: transparent url('../img/menu-left.gif') no-repeat left top;
  padding-left: 10px;
}

td.menu table td a {
  height: 17px;
  display: block;
  color: #FFFFFF;
  background: transparent url('../img/menu-right.gif') no-repeat right top;
  padding: 0px;
  padding-right: 10px;
}

td.menu table td a:hover {
  color: #3399CC;
  text-decoration: none;
}

td.menu #current {
  width: 110px;
  height: 17px;
  background: transparent url('../img/menu-current-left.gif') no-repeat left top;
}

td.menu #current a {
  background: transparent url('../img/menu-current-right.gif') no-repeat right top;
  padding-right: 10px;
}

td.menu #current a:hover {
  color: #003366;
  text-decoration: none;
}

/* Content разметка */
td.content #left {
  width: 200px;
  height: 100%;
  vertical-align: top;
  background: #F5F5F5;
  padding: 10px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
}

td.content #center {
  height: 100%;
  vertical-align: top;
  padding: 20px 15px 5px 20px;
}

td.content #separator1 {
  width: 2px;
  height: 100%;
  vertical-align: top;
  background: transparent url('../img/dotted-vertical.gif') repeat-y;
  padding: 0px;
  margin: 10px;
}

td.content #right {
  width: 210px;
  height: 100%;
  vertical-align: top;
  padding: 15px 5px 5px 15px;
  margin: 0px;
}

td.content #separator2 {
  width: 1px;
  height: 100%;
  background: transparent url('../img/1x1-gray.gif') repeat-y right;
}

/* Content advanced */
td.content #left .item { /* in left */
  font: normal 10px 'Tahoma', 'Verdana';
  background: transparent url('../img/item-bg.gif') no-repeat top left;
  border-right: 1px solid #EAEAEA;
  border-bottom: 1px solid #EAEAEA;
  padding: 7px 0px 2px 13px;
  margin: 0px 0px 2px 0px;
}

div.submenu {
  font: normal 11px 'Tahoma', 'Verdana';
  border-right: 1px solid #EAEAEA;
  border-bottom: 1px solid #EAEAEA;
  padding: 0px 0px 5px 10px;
  margin: 0px 0px 2px 0px;
}

td.content #left .item a { /* in left */
  color: #555555;
  text-decoration: none;
}

td.content #left .item a:hover { /* in left */
  text-decoration: underline;
}

/* Adverting */
td.content #left .advert { /* in left */
  border-top: 1px solid #FFFFFF;
  border-right: 1px solid #EAEAEA;
  border-bottom: 1px solid #EAEAEA;
  text-align: center;
  padding: 2px;
  margin: 10px 0px 2px 0px;
}

td.content #left .advert img { /* in left */
  margin: 1px 0px;
}

/* User & Search block in LeftContent */
td.content #left .user, td.content #left .search {
  font: normal 11px 'Tahoma', 'Verdana';
  text-align: center;
  border-top: 1px solid #FFFFFF;
  border-right: 1px solid #EAEAEA;
  border-bottom: 1px solid #EAEAEA;
  padding: 2px;
  margin: 10px 0px 2px 0px;
}

td.content #left .user td, td.content #left .search td {
  font: normal 11px 'Tahoma', 'Verdana';
  background: transparent;
  padding: 0px 0px 1px 0px;
}

td.content #left .user form, td.content #left .search form {
  padding: 0px;
  margin: 2px 0px;
}

td.content #left .user form input, td.content #left .search form input {
  font: normal 8pt 'Tahoma', 'Verdana';
  vertical-align: middle;
  border: 1px solid #C0C0C0;
}

td.content #left .user form input.submit {
  color: #FFFFFF;
  background: #1455A4 url('../img/advance-bg.gif') repeat-x top;
  border: 1px solid #1455A4;
}

td.content #left .user form input.text, td.content #left .search form input.text {
  width: 70px;
  padding: 1px 2px;
}

/* More Info */
td.content #center .more { /* in center */
  text-align: right;
  background: transparent url('../img/dotted-gray.gif') repeat-x bottom;
  padding: 0px 30px 3px 0px;
  margin: 0px 0px 7px 0px;
}

td.content #right .name { /* in right */
  color: #1455A4;
  font: bolder 14px 'Arial', 'Verdana', 'Tahoma';
  background: transparent url('../img/dotted-horizontal.gif') repeat-x bottom;
  padding: 0px 0px 5px 0px;
  margin: 0px;
}

td.content #right .item {
  background: transparent url('../img/dotted-horizontal.gif') repeat-x bottom;
  padding: 0px 0px 5px 0px;
  margin: 5px 0px 0px 0px;
}

td.content #right .item td {
  vertical-align: top;
}

td.content #right .item #name {
  color: #1455A4;
  font-weight: bolder;
  padding: 0px;
  margin: 0px;
}

td.content #right .item img {
  margin-right: 10px;
}

td.content #right .item #advance {
  background: #1455A4 url('../img/advance-bg.gif') repeat-x top;
  border-top: 1px solid #1455A4;
  border-right: 3px solid #1455A4;
  border-bottom: 1px solid #1455A4;
  border-left: 2px solid #1455A4;
  padding: 2px 5px 2px 5px;
  margin: 5px 0px 0px 0px;
}

td.content #right .item #advance a {
  display: block;
  color: #FFFFFF;
}

/* Footer разметка */
td.footer td {
  font-size: 90%;
  background: #F5F5F5 url('../img/footer-bg.gif') repeat-x top;
  padding: 2px 5px;
}

td.footer #left {
  width: 50%;
  text-align: left;
}

td.footer #right {
  width: 50%;
  text-align: right;
}

td.footer td a {
  color: #FFFFFF;
}

td.footer td a:hover {
  color: #3399CC;
  text-decoration: none;
}

/* Основная разметка */
td.content #center input.textbox, 
td.content #center select.combobox,
td.content #center textarea {
  color: #555555;
  background: #F5F5F5;
  font: normal 8pt 'Tahoma', 'Verdana', 'Arial';
  border: 1px solid #C0C0C0;
  padding: 2px;
}

td.content #center input.button {
  color: #FFFFFF;
  font: normal 8pt 'Tahoma', 'Verdana', 'Arial';
  background: #1455A4 url('../img/advance-bg.gif') repeat-x top;
  border-top: 1px solid #1455A4;
  border-right: 3px solid #1455A4;
  border-bottom: 1px solid #1455A4;
  border-left: 2px solid #1455A4;
  margin-top: 5px;
}

td.border-bottom {
  background: #FFFFFF;
  border: solid 1px #C0C0C0;
  padding: 1px;
  margin: 0px;
}

/* Default разметка */

h1 {
  font-size: 110%;
  font-weight: bolder;
}

h2 {
  font-size: 110%;
  font-weight: normal;
}

a {
  color: #3399CC;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  border: 0px;
}

.floatr {
	float: right;
	margin-bottom: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
	margin-left: 5px;
	padding-top: 0px;
	padding-left: 5px;
}

.floatl {
	float: left;
	margin-bottom: 5px;
	padding-bottom: 0px;
	margin-top: 5px;
	margin-left: 0px;
	padding-top: 0px;
	padding-left: 0px;
	margin-right: 5px;
	padding-right: 0px;
}
