/* -- common -- */
body {
    margin: 0;
    padding: 0;
    background-color: #7A2524;
    font-size: 12px;
}


p, td, div, span{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

/* -- content -- */
td.content {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: black;
    text-decoration: none;
}

td.content td.lt {
    height: 15px;
    width: 210px;
    background-color: #900403;
    font-size: 3px;
    background-image: url( ../images/bg_menu_bott.gif );
    background-repeat: repeat-x;
    background-position: top;
    text-align: left;
    vertical-align: top;
}

td.content td.ct {
    height: 15px;
    background-color: #900403;
    font-size: 3px;
    background-image: url( ../images/bg_menu_bott.gif );
    background-repeat: repeat-x;
    background-position: top;
}

td.content td.rt {
    height: 15px;
    width: 5px;
    background-color: #900403;
    font-size: 3px;
    background-image: url( ../images/bg_menu_bott.gif );
    background-repeat: repeat-x;
    background-position: top;
}

/* -- content left menu -- */
td.left_menu {
    background-color: #900403;
    color: #FFFFFF;
    font-size: 12px;
    vertical-align: top;
    padding-top: 33px;
    font-family: "Times New Roman", Times, serif;
}

td.content td.left_menu a.lev1, td.content td.left_menu span.lev1 {
    color: #FFFFFF;
    font-size: 14px;
    display: block;
    text-decoration: none;
    padding-left: 15px;
    background-image: url( ../images/bg_sub_menu2.gif );
    padding-top: 6px;
    padding-bottom: 1px;
    vertical-align: middle;
    background-repeat: repeat-x;
    background-position: top;
    height: 35px;
    font-family:"Times New Roman",Times,serif;
}

td.content td.left_menu a#lev1_sel {
    height: 30px;
    font-family:"Times New Roman",Times,serif;
}

td.content td.left_menu a.lev1:hover {
    text-decoration: underline;
    font-family:"Times New Roman",Times,serif;
}

td.content td.left_menu a.lev2 {
    color: #FFFFFF;
    font-size: 14px;
    display: block;
    text-decoration: none;
    padding-left: 15px;
    margin-left: 20px;
    background-image: url( ../images/bg_sub_menu.gif );
    background-repeat: no-repeat;
    background-position: left center;
}

td.content td.left_menu a.lev2:hover {
    text-decoration: underline;
}

td.content td.left_menu a.menu1inactive {
    color: #FFFFFF;
    font-size: 14px;
    display: block;
    text-decoration: none;
    padding-left: 15px;
    margin-left: 20px;
    background-image: url( ../images/bg_sub_menu.gif );
    background-repeat: no-repeat;
    background-position: left center;
}

td.content td.left_menu a.menu1inactive:hover {
    text-decoration: underline;
}


td.content td.left_menu a.menu1active {
    background-color:#FBE288;
    background-image:url( ../images/bg_active_menu.gif );
    background-position:left center;
    background-repeat:no-repeat;
    color:#000000;
    display:block;
    font-size:14px;
    margin-left:25px;
    padding-left:10px;
    text-decoration:none;
}

td.content td.left_menu a.menu1active:hover {
    text-decoration: underline;
}

a.lev3 {
    color: #FFFFFF;
    font-size: 12px;
    display: block;
    text-decoration: none;
    padding-left: 15px;
    margin-left: 30px;
}

a.lev3:hover {
    text-decoration: underline;
}

a.current {
	text-decoration:none;
	background: #FBE288;
}

td.content td.left_menu input.search_text, input.field {
    width: 120px;
    background-color: #FFFFFF;
    color: #000000;
    font-size: 12px;
    border-top-width: 2px;
    border-left-width: 2px;
    border-top-style: solid;
    border-left-style: solid;
    border-top-color: #667575;
    border-left-color: #667575;
    margin-top: 5px;
    margin-right: 1px;
    margin-bottom: 5px;
    margin-left: 5px;
    font-weight: bold;
}

td.content td.left_menu input.search_submit {
    width: 50px;
    background-color: #FFE99A;
    color: #000000;
    font-size: 12px;
    border-top-width: 2px;
    border-right-width: 2px;
    border-bottom-width: 2px;
    border-left-width: 2px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: #FFF7A1;
    border-right-color: #C3B16C;
    border-bottom-color: #C3B16C;
    border-left-color: #FFF7A1;
    margin-top: 5px;
    margin-right: 5px;
    margin-bottom: 4px;
    margin-left: 1px;
    font-weight: bold;
}

.searchFormInput, .submitSearchForm {
    float: left
}

.fieldtext {
    display: none;
}

.clearSearchForm {
    display: none;
}

/* -- content main text -- */
td.content td.main_text {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #FFFFFF;
    padding: 23px;
    font-size: 13px;
    vertical-align: top;
}

td.content td.main_text h1 {
    font-size: 23px;
    font-style: italic;
    font-weight: bold;
    color: #760D14;
    padding-top: 5px;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    margin: 0;
}

td.content td.r {
    width: 5px;
    background-color: #900403;
}

/* -- menu -- */
td.menu {
    font-family: "Times New Roman", Times, serif;
    font-size: 3px;
    font-weight: bold;
    color: #F1C33A;
    background-color: #7A2524;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
}

td.menu a {
    color: #F1C33A;
    text-decoration: none;
    padding-right: 30px;
    padding-left: 17px;
    padding-top: 1px;
    padding-bottom: 0;
    margin-top: 1px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
}

td.menu a img {
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
}

/* -- logo -- */
td.logo_left {
    height: 225px;
    background-image: url( ../images/bg_logo.gif );
    background-repeat: repeat;
    background-position: top;
    background-color: #90251C;
    text-align: left;
}

td.logo_right {
    height: 225px;
    background-image: url( ../images/bg_logo.gif );
    background-repeat: repeat;
    background-position: top;
    background-color: #90251C;
    text-align: right;
}

/* -- main border -- */
td.left_top_bord {
    background-color: #7A2524;
    background-image: url( ../images/bg_left_top.gif );
    background-repeat: no-repeat;
    background-position: right;
    width: 86px;
    height: 225px;
}

td.left_bord {
    background-color: #7A2524;
    background-image: url( ../images/bg_left.gif );
    background-repeat: repeat-y;
    background-position: right;
    width: 86px;
}

td.right_bord {
    background-color: #7A2524;
    background-image: url( ../images/bg_right.gif );
    background-repeat: repeat-y;
    background-position: left;
    width: 20px;
}

.objname {
    display: block;
    height: 22px;
    padding: 6px 16px 0px 16px;
    overflow-y: hidden;
    background-color: #faecbb;
    font-family: Arial;
    font-size: 12px;
    line-height: 14px;
    color: black;
}

.objname a {
    line-height: 14px;
    font-family: Arial;
    font-size: 12px;
    color: black;
    text-decoration:underline;
}


.tab, .modeCell {
    margin-top:1px;
    margin-bottom:-1px;
}
.tab{
    margin-top:5px;
}

.modeCell_empty{
    display:none;
}


.active div {
    display:block;
    background:url( ../images/tabs_.png ) no-repeat right 0px;
    color:#666 !important;
    text-decoration:none !important;
    padding-right:14px;
    height:29px;
}
.active div span{
    display:block;
    background:url( ../images/tabs_.png ) no-repeat left 0px;
    padding-left:14px;
    line-height:30px;
    height:29px;
    font-family: Arial;
    font-size: 12px;
    color: black;
    white-space:nowrap;
}

.tab a {
    display:block;
    background:url( ../images/tabs_.png ) no-repeat right -30px;
    color:#666 !important;
    text-decoration:none !important;
    padding-right:14px;
    height:29px;
}
.tab a span{
    display:block;
    background:url( ../images/tabs_.png ) no-repeat left -30px;
    padding-left:14px;
    line-height:30px;
    cursor:pointer;
    height:29px;
    white-space:nowrap;
    font-family: Arial;
    font-size: 12px;
    color: black;

}
.tab a:hover{
    background:url( ../images/tabs_.png ) no-repeat right -60px;
}
.tab a:hover span{
    background:url( ../images/tabs_.png ) no-repeat left -60px;
}

.active a:link, .active a:visited, .active a:visited, .active a:hover{
    background:url( ../images/tabs_.png ) no-repeat right 0;
}
.active a span, .active a:hover span{
    background:url( ../images/tabs_.png ) no-repeat left 0;
}

.imageGroup {
    margin: 20px 10px 0px 4px;
    text-align: center;
}

.imageGroup a {
    text-align: right;
}

.imageGroup a img {
    display: block;
    clear: right;
    margin-bottom: 20px;
    width: 120px;
    border: solid 1px #1D202F;
    float:right;
}

 /*
.imageGroup {
    margin: 20px 10px 0px 4px;
    float: right;
    text-align: right;
}

.imageGroup a {
    text-align: right;
}

.imageGroup a img {
    display: block;
    clear: right;
    margin-bottom: 20px;
    border: solid 1px #1D202F;
}
*/
.alfabet {
    display: block;
    padding-left: 16px;
}

.alfabet a {
    margin-top: 4px;
    margin-bottom: 4px;
    margin-right: 8px;
    font-family: Times;
    font-size: 15px;
    text-transform: uppercase;
    text-decoration: none;
    color: #900403;
}

a.page {
    font-family: Arial;
    font-size: 14px;
    color: black;
    text-decoration: none;
}

span.page {
    display: inline-block;
    height: 16px;
    padding: 0px 2px 0px 2px;
    background-color: #792324;
    text-align: center;
    font-family: Times;
    font-size: 14px;
    color: white;
    text-decoration: none;
}

.objectListItem, .objectListItem_empty {
    padding-top: 8px;
    padding-bottom: 8px;
    color: black;
    text-decoration: none;
    display: block;
    border-top: solid 1px #c4b347;
    border-bottom: solid 1px #fcef7d;
    overflow: hidden;
}

.objectListItem * a, .objectListItem_empty * a {
    color: black;
    text-decoration: none;
}

.objectBlock#BASEINF {
    padding: 16px 16px 16px 16px;
}

.attrname {

}

.linebreak {
    display: none;
}

.objectList #NAME_name {
    display: none;
}

.shadow {
    margin: 0;
    padding: 0;
    text-align: left;
    background: url( ../images/shadow-bk.gif ) repeat-x scroll 0 0;
    height:5px;
}

.objectList #NAME_value {
    text-transform: uppercase;
    font-weight: bold;
}

.objectList #IMAGES {
    float: right;
    width: 120px;
    overflow: hidden;
}

.objectList #IMAGES img {
    width: 120px;
}

#PERSONS_list .attrname {
    font-weight: bold;
}

#PERSONS .attrname {
    display: none;
}

.objectList .group h3 {
    font-size: 12px;
}

.objectList .group {
    display: block;
    width: 700px
}

.objectList .group .attrvalue, .objectList .group .moreObjects {
    display: inline;
    margin-right: 4px;
    font-size: 12px;
}

.objectBlock a {
    text-decoration: underline;
}

.group h3 {
    margin: 4px 0 0 0;
    font-size: 14px;
}

#PERSONS #PERSONFULL_value, .group #STREET_name, .group #FULLADDRESS_name, .group #FULLADDRESS_value,
    #WEBPAGES_HNAME, #WEBPAGES_HNAME_SHADOW, #WEBPAGES_ALF, #WEBPAGES_ALF_SHADOW, #WEBPAGES_VIEWLIST_SHADOW, #B_29630627,
    .objectBlock#BASEINF #NAME_name, .objectBlock#BASEINF #CONTENT_name,
    #WEBPAGES_list .attrname, #WEBPAGES_list #GROUPNAME_value, #BASEINF #GROUPNAME_value, #BASEINF #GROUPNAME_name, #H_33744731,
    #B_29630628, #GROUPNAME_name, #IMAGE_name, #SUBJECT_name, #ATTFILES {
    display: none;
}

#WEBPAGES_list .attrname, #NAME_name, #GROUPNAME_value, #CONTENT_name {
    display: none !important;
}

#INVENTORIES_list #NAME_name{
    display: inline !important;
}

#WEBPAGES_list #CONTENT_value * {
    font-weight: normal;
    text-align: left;
    font-style: italic;
}

.objectBlock#BASEINF #NAME_value {
    text-transform: uppercase;
    font-weight: bold;

}


a.imageLink,a.imageLink:visited{
    left:0;
    top:0;
    width:210px;
    position:absolute;
    display:block;
    height:190px;
    z-index:10;
}

a.imageLink:hover,a.imageLink:active {

}


a.listLink
{ color:#900403;
  text-decoration:underline;
}


.wait_box {
       position: fixed;
       left: 0;
       top: 0;
       width: 100%;
       height: 100%;
       background-color: #c3bcac;
       background-image: url( ../images/wait_.gif );
       background-position: center;
       background-repeat: no-repeat;
       display: none;
       z-index: 1000;
       opacity: 0.8;
       filter: progid: DXImageTransform . Microsoft . Alpha( opacity = 80 );
}

* html .wait_box {
    position: absolute;
}

.start_div{
    background-color:#FFF9E9;
    border-bottom-color:#C4B347;
    border-bottom-style:solid;
    border-bottom-width:1px;
    border-top-color:#C4B347;
    border-top-style:solid;
    border-top-width:1px;
    display:inline-block;
    width:100%;
}


.objectListItem_div {
    display:inline-block;
    width:100%;
}


.imgSmall{
    max-width:120px;
    min-width:120px;
    width:expression(this.offsetWidth < 100? "120px" : this.offsetWidth > 100? "120px" : "auto");
}


.searchForm{
    DISPLAY: block;
    WIDTH: 450px;
}

a.openDSt{
    color: #FFFFFF;
    font-size: 14px;
    text-decoration:underline;
    vertical-align: middle;
    height: 25px;
    white-space:nowrap;
}

input{
	border: solid 1px #262858;
	font-family: "Times New Roman", Times, serif;
	color: black;
	font-size: 14px !important;
    background-color:#FFFFFF;
}

select	{
	color:black;
	font-size: 13px !important;
	font-family: "Times New Roman", Times, serif;
	background: #FFFFFF;
	font-weight: normal;
    border: #fff 2px inset;
	}

.linkDiv{
    display: block;
    padding-left: 7px;
    padding-bottom:5px;
    font-family: "Times New Roman",Times,serif;
    font-size: 14px;
}

.objectBlock #SHORTCONT_name, .objectBlock #SHORTCONT_value {
	display: none !important;
}

a.getImageLink {
  max-width:130px;
  min-width:130px;
}

.objectList #SUBJECT_value {
  display:block;
}


