body {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 9pt;
}

* {
	margin: 0;
	padding: 0;
}

a {
	color: blue;
	display: inline;
	text-decoration: underline;
}

a img {
    border: 0;
}

a:hover {
	text-decoration: none;
}

a:visited {
	color: gray;
}

h1 {
	font-size: 12pt;
	margin: 20px 0 5px 0;
}

h2 {
	padding: 2px 5px 3px 5px;
	line-height: 20px;
	margin: 7px 0;
}

h2, h2 a, h2 a:visited {
	font-size: 11pt;
	color: white;
	background: #609709;
	font-variant: small-caps;
}

h3 {
	font-size: 10pt;
	color: #000;
	font-variant: small-caps;
	margin-top: 4px;
	margin-bottom: 4px;
}

h3 a {
	color: #000;
}

h6 {
	margin: 10px 0;
}

p {
	text-align: justify;
}

#main {
	margin: 0 auto;
	width: 748px;
}

#header {
	width: 100%;
	height: 85px;	
}

#head {
/*
background: url("ai/head_christmas.jpg") no-repeat; 
width: 295px;
*/
	background: url("ai/head.jpg") no-repeat; 
	width: 248px;
	
	height: 85px;
	float: left;
}

#head a {
	display: block;
	width: 248px;
	height: 85px;
	font-size: 0;
	color: white;
}

#mailbox {
	background: url("ai/mailbox.jpg") no-repeat;
	width: 232px;
	height: 76px;
	float: right;
	position: relative;
}

#mailbox h3 {
	margin-left: 13px;
}

fieldset {
	border: 0;
	margin-left: 5px;
	margin-bottom: 4px;
}

.username {
	background: url("custom-icons/user.png") no-repeat left center;
	padding-left: 20px;
}

.password {
	background: url("custom-icons/key.png") no-repeat left center;
	padding-left: 20px;
}

.loginbutton {
    _float: right;
    _margin-top: -52px;
    _margin-right: 2px;
}

.loginbutton input {
	width: 44px;
	height: 46px;
}


div.menu {
    background: url("ai/menubgbottom.jpg") left bottom no-repeat;
    padding-bottom: 20px;
}

ul#menu {
	background: url("ai/menubgtop.jpg") no-repeat;
	width: 181px;
	list-style: none;
	padding-top: 10px;
	font-size: 10pt;
	margin-right: 9px;
}

#menu li {
	margin: 0 15px;
	line-height: 180%;
	_line-height: 100%;
	color: white;
	font-weight: bold;
	text-transform: lowercase;
}

#menu li a, #menu li a:visited {
	color: white;
	text-decoration: none;
	display: block;
	padding-left: 10px;
	border-bottom: 1px dotted white;
}

#menu li a:hover {
	color: #EAEAEA;
	border-bottom-style: solid;
}

#menu li#active a {
	border-bottom-style: solid;
}

.clear {
	clear: both;
	font-size:0;
	line-height:0%;
    height: 0;
}
/* EOF */

#container {
	border-bottom: 4px solid #AAC97B;
	width: 100%;
	padding-bottom: 7px;
	clear: both;
}

#sidebar {
	width: 181px;
	margin-right: 9px;
	float: left;
}

.panel {
	margin: 10px 0;
	padding-bottom: 5px;
	background: url("ai/pannel_b.jpg") left bottom no-repeat;
}

.panel img {
	border: 1px solid black;
	padding: 2px;
	background: white;
}

.panel h3 {
	margin:0;
	height: 35px;
	line-height: 35px;
	padding: 0 7px;
	color: white;
	background: url("ai/blackpanel.jpg") no-repeat;
}

.green h3 {
	background: url("ai/greenpanel.jpg") no-repeat;
}

.panel div.text_holder {
	border: 1px solid #ccc;
	border-top: none;
	border-bottom: none;
	padding: 5px 7px 0 7px;
}

.panel div.text_holder fieldset {
    clear:both;
    margin: 5px 1px;
}

#maincontent {
	width: 558px;
	_width: 539px;
	float: left;
}

textarea {
    _width: 98%;
}

#position {
	background: url("ai/position_line.jpg") no-repeat;
	height: 30px;
	padding-left: 3px;
	list-style: square;
	color: #AA2B2B;
	list-style-position: inside;
	margin-left:2px;
}

#position li {
	line-height: 27px;
	font-size: 8pt;
	float: left;
	margin-left: 6px;
}

#position li a {
	color: #AA2B2B;
}

/* firstpage */
#focus {
	margin-bottom: 0px;
	height: 100%;
	padding: 0;
	_width: 580px;
	_margin-left: -20px;
	_margin-right: -20px;
}

.atfocus {
	width: 175px;
	float: left;
	margin-left: 10px;
	height: 195px;
}

.atfocus a img {
	border: 0;
}

/* firstpage news, forums and gallery */

#headline {
    margin-top: 5px;
    padding-bottom: 3px;
    padding-top: 5px;
    border-top: 2px solid #AAC97B;
}

#subline {
	clear:both;
	border-top: 2px solid #990000;
	margin-top: 15px;
	padding: 5px 0;
	background: #EEE6D3;
}

#subline h2 {
	background: #A30000;
}

#subline .left {
    border-color: #990000;
}

#subline .right {
    width: 195px;
    _width: 185px;
    float: left;
    padding-left: 5px;
}

#subline .right h2 {
	width: 195px;
	_width: 175px;
    float: left;
}

.forum {
	color: #990000;
}
#subline a {
	color: #990000;
}

#subline a:visited {
	color: #A30000;
}

.left {
	width: 320px;
	margin-right: 5px;
	float: left;
	padding: 0 5px 10px 5px;
	border-right: 1px solid #AAC97B;
}

.right {
	float: right;
	width: 215px;
	_width: 190px;
}

.right img {
	_width: 190px;
}
#content {
	margin: 0 0 0 5px;
	padding: 5px 0;
}

#content ul, #content ol {
	list-style: square;
	list-style-position: inside;
}

#content ol {
    list-style: decimal-leading-zero;
    margin: 1px 0 1px 30px;
}

#content ul li, #content ol li {
	margin: 2px 0;
	padding: 3px;
}

.entry ul li ul {
	list-style-position: inside;
	margin-left: 15px;
}

ul#news {
	list-style: none;
}

ul#news li {
	padding-left: 4px;
}

ul#news li a {
	color: black;
}

ul#news li a:visited {
	color: #636363;
}

.even {
	background: #FAFAFA;
}

.text {
	text-align: justify;
}

.sub {
	color: #CCC;
	font-size: 7pt;
	text-align: right;
	margin: 6px 0 2px 0;
}

div.sub {
	border-bottom: 1px solid #AAC97B;
	padding-bottom: 10px;
}

#footer {
	width: 728px;
	background: #EEE6D3;
	margin-top: 3px;
	padding: 10px; 
	font-size: 9pt;
}

#author {
    margin-top: -5px;
	float: left;
	background: url("ai/Bashev.jpg") no-repeat;
	width: 120px;
    height: 50px;
}

#author small {
	display:none;
}

#author a {
	display: block;
	height: 37px;
	width: 99px;
}

#help_about {
	float: right;
}

#help_about p {
	font-size: 7pt;
	text-align: right;
}

#help_about a {
	color: black;
}

/* news */

small a, .feed a, #company-info p {
	color: #999;
	padding: 5px 0 5px 20px;	
}

small, .feed, #company-info p {
	margin: 5px 10px 10px 0;
	font-size: 8pt;
	color: #999;
}

#details {
  background: #EBFFCC;
  padding: 1px 5px 5px 5px; 
  _width: 530px;
}

#pictures {
  float: left;
  text-align: left;
  margin: 5px;
  margin-right: 3px;
}

#pictures img {
  background: white;
  border: 1px solid #D1F697;
  float: left;
  padding: 4px;
  margin-right: 3px;
  margin-bottom: 3px;
}

#company-info {
  float: left;
  margin: 0 5px 10px 5px;
}

#company-info p {
  margin: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  color: black;
}

#details .entry {
  background: white;
  padding: 7px;
  margin: 4px 0;
  border: 1px solid #D1F697;
}

small.category a, .category {
	background: url("custom-icons/folder.png") 0 3px no-repeat;
}

small.calendar a {
	background: url("custom-icons/date.png") 0 3px no-repeat;
}

small.author a, .contact-person {
	background: url("custom-icons/user_suit.png") 0 3px no-repeat;
}

small.comment a {
	background: url("custom-icons/comment.png") 0 3px no-repeat;
}

small.comments a {
	background: url("custom-icons/comments.png") 0 3px no-repeat;
}

.address {
  background: url("custom-icons/house.png") 0 3px no-repeat;
}

.phones {
  background: url("custom-icons/phone.png") 0 3px no-repeat;
}

.email {
  background: url("custom-icons/email.png") 0 3px no-repeat;
}

.webpage {
  background: url("custom-icons/page_world.png") 0 3px no-repeat;
}

.columns {
  float: left;
  padding: 2px 5px; 
  margin: 3px;
}

.columns.even {
  background: white;
  /* background: #EBFFCC; */
}

.entry {
	margin: 10px 5px;
	text-align: justify;
}

.entry p {
	margin: 5px 0;
	text-indent: 20px;
}

.login_button {
	text-align: right;
	padding-right: 5px;
}

.feed a {
	color: blue;
	background: url("custom-icons/feed.png") 0 3px no-repeat;
}

fieldset.leftside {
    float: left; 
    width: 255px;
}

fieldset.rightside {
    float: right; 
    width: auto;
}

label {
    float:left;
    line-height:18px;
    padding-right:10px; 
    text-align: right;
}   

fieldset.leftside label {
	width: 60px;
}

fieldset.rightside label {
    width: 80px;
}

fieldset#textarea {
    clear: both;
    text-align: center;
}

td {
    padding: 3px;
}

table.map {
    padding: 0;
    margin: 10px;
    _margin: 0;
}

.map td {
    padding: 0 !important;
    margin: 0 !important;
}

.map img {
	border: 1px solid #CCC;
	padding:0;
	margin:-3px -1px;
}

.map tr th {
    margin: 0;
    padding: 5px;
}

.map a img { 
	border-color: #CCC;
}

.map a:hover img { 
	border-color: #B68231;
}

#change {
    padding-top: 2px; 
    margin: 5px 15px;
    border: 1px sol[M x8id #ccc;
    text-align:center;
    display:none;
}

hr {
    margin: 4px 5px;
    border: 0;
    border-top: 1px dotted black;
} 

p {
    line-height: 130%;
}
