body {
    background:#f0f0f0 url("images/omega-hdr-background.jpg") repeat-x;
    color:#444;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size:12px;
    font-weight:normal;
}

h1 {
    background:url("images/h2omega.jpg") no-repeat;
    padding-left:34px;
    line-height:28px;
    vertical-align:middle;
}

select, input, button, textarea {
    border:1px solid #8CA9D3;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size:12px;
    font-weight:normal;
    line-height:20px;
    margin:0;padding:0;
}

select, input, button {
    height:20px;
}

input.checkbox, input.radio {
    margin-right:3px;
    border:0px;
}


input.bigbtn {
    float:left;
    border: 0;
    background: transparent url("images/bigbtn-left.jpg") no-repeat;
    height: 36px;
    position: relative;
    padding:0;
    margin:0;
    padding-left:10px;
    color:#fff;
    font-weight:bold;
    font-size:12px;
    min-width:100px;
    cursor:pointer;
}

.bigbtnend {
    float:left;
    display: inline;
    padding:0;
    width: 10px;
    height: 36px;
    background: url("images/bigbtn-right.jpg") no-repeat top right;
    cursor:pointer;
}


a, a:link, a:visited {
    color:#2E3192;
    text-decoration:none;
}

a:hover, a:active {
    color:#303392;
    text-decoration:underline;
}

.smallbtn {
    height:20px;
    border:0 none;
}

#header {
    clear:both;
    display:block;
    height:162px;
    margin:0 auto;
    text-align:left;
    vertical-align:middle;
    width:985px;
}

#topnav {
    font-size:12px;
    height:30px;
    line-height:30px;
    width:100%;
    vertical-align:middle;
}

#topnavleft {
    float:right;
    height:30px;
    text-align:right;
    width:690px;
    padding-right:5px;
}

#languages {
    float:left;
    height:30px;
    text-align:center;
    width:285px;
    vertical-align:bottom;
}

#languages a, #languages a:link, #languages a:visited {   
    background:transparent;    
    height:20px;
    padding:4px;
    color:#666;
    text-decoration:none;
    margin-right:4px;
    border:1px solid transparent;
}

#languages a:hover, #languages a:active {
    background:#ccc;
    color:#000;
    border:1px solid #aaa;
}

#languages.flag {
    width:20px;
}
#specialDiv{
	margin-top: 30px;
	width: 985px;
	position: absolute;
}
#headerleft {
    clear:left;
    float:left;
    height:130px;
    width:320px;
    text-align:center;
}

#headerright {
    clear:right;
    float:right;
    height:130px;
    width:600px;
}

a#logo {
    clear:left;
    display:block;
    float:left;
    height:130px;
    width:320px;
    margin-left:15px;
}

a#logo.bg {
    background:url("images/bg-omega-logo.jpg") no-repeat;
}
/*
a:hover#logo.bg {
    background:url("images/bg-omega-logo-hover.jpg") no-repeat;
}
*/
a#logo.en {
    background:url("images/en-omega-logo.jpg") no-repeat;
}
/*
a:hover#logo.en {
    background:url("images/en-omega-logo-hover.jpg") no-repeat;
}
*/
a#logo.ru {
    background:url("images/ru-omega-logo.jpg") no-repeat;
}
/*
a:hover#logo.ru {
    background:url("images/ru-omega-logo-hover.jpg") no-repeat;
}
*/
#topbanner {
    float:right;
    background:#eee;
    display:block;
    height:130px;
    width:600px;
}

#navbar {
    clear:both;
    height:36px;
    width:100%;
}

#mainwrapper {
    display:block;
    text-align:center;
    width:100%;
    margin-top:2px;
}

#mainout {
    background:#fff; /*url("images/mainout.jpg") repeat-x*/
    display:block;
    margin:0 auto;
    text-align:left;
    width:985px;
    border:2px solid #ccc;
    border-top:0px;
}

#treehtml {
    clear:both;
    display:block;
    font-size:12px;
    height:20px;
    line-height:20px;
    margin-left:0px;
    overflow:hidden;
    text-align:left;
    vertical-align:middle;
    width:985px;
    border-bottom:1px solid #eee;
    background:#f8f8f8;
}



#treehtml ul {
    list-style:none outside none;
    padding:0;margin:0;
    float:left;
}

#treehtml ul li {
    background:url("images/htmltree-arrow.gif") no-repeat scroll 0 8px transparent;
    clear:none;
    padding:0;margin:0;
    margin-left:5px;
    padding-left:7px;
    float:left;
}

#treehtml ul li.first {
    margin-left:-3px;
}

#treehtml ul li a, #treehtml ul li a:link, #treehtml ul li a:visited {
    color:#888;
    display:block;
    float:left;
}

#treehtml ul li a:hover, #treehtml ul li a:active {
    color:#444;
    text-decoration:underline;
}

#main {
    overflow:hidden;
    margin:0px 0px 0px 10px;
    padding:10px 0px;
    width:975px;
    min-height:300px;
    display:block;
}

#sidebarleft {
    clear:left;
    display:block;
    float:left;
    width:195px;
}

#content {
    float:left;
    display:block;
    width:585px;
}

#admincontent {
    float:left;
    display:block;
    width:890px;
}

#sidebarright {
    clear:right;
    display:block;
    float:right;
    width:195px;
}

#sidebarleft form, #sidebarright form {
    padding-right:5px;
    font-size:11px;
}

#sidebarleft form select, #sidebarright form select
{
    width:100%;
    margin-bottom:8px;
    background:#fefefe;
    color:#444;
    border:1px solid #888;
}

#ftr {
    clear:both;
    float:none;
    margin:0 auto;
    width:985px;
    height:30px;
    line-height:30px;
    vertical-align:middle;
}

#ftrl {
    float:left;
    width:300px;
    text-align:left;
}

#ftrr {
    float:right;
    width:500px;
    text-align:right;
}

/* home page */

#homesearchbox {
    font-size:12px;
    overflow:hidden;
    display:block;
    min-height:150px;
}

#homesearchbox h2 {
    font-size:12px;
    font-weight:bold;
    padding:5px 5px 10px 18px;
    margin:0px;
}

#homesearchbox .bxin {
    clear:both;
    margin-top:10px;
}

#hsbleft {
    float:left;
    width:250px;
    margin:0;padding:0;
}

#hsbleft .wide {
    float:left;
    width:180px;
}

#hsbleft input, #hsbleft select, #hsbleft button {
    float:left;
}

#hsbleft h2 {
    background:url("images/icon-search.jpg") -1px 4px no-repeat;
}

#hsbleft a {
    clear:both;
    float:left;
    display:block;
    text-align:right;
    font-size:11px;
}

#hsbright {
    float:right;
    width:300px;    
    margin:0;padding:0;
}

#hsbright h2 {
    background:url("images/icon-history.jpg") 0px 4px no-repeat;
}

#hsbright ul {
    padding:0;margin:0;
}

#hsbright ul li {
    list-style-type: none;
    padding-left:15px;
}

#homesearchbox label {
    width:50px;
    padding: 0 5px 5px 0;
    line-height:20px;
    height:20px;
    float:left;
    vertical-align:middle;
    font-weight:bold;
}

#homesearchbox label.paction {
    width:auto;
}

#qiddiv {
    font-size:0px;
    overflow:auto;
}

/* real estate as box *./


/* box sidebar 1 */
.boxsb1 {
    float:left;
    clear:both;
    width:185px;
    display:block;
    margin-top:10px;
}

.boxsb1 h2 {
    background: url("boxes/boxsb1-top.jpg") no-repeat scroll 0 0 transparent;
    color:#fff;
    font-size:12px;
    font-weight:bold;
    height:16px;
    line-height:16px;
    margin:0;
    padding:5px;
    vertical-align:middle;
}

.boxsb1in {
    background: url("boxes/boxsb1-bottom.jpg") no-repeat scroll left bottom transparent;
    padding:5px;
}

.boxsb1in a.title, .boxsb1in a.title:link, .boxsb1in a.title:visited {
    clear:both;
    display:block;
    padding:0;margin:0;
    font-size:11px;
    font-weight:bold;
    text-decoration:none;
    color:#000;
}

.boxsb1in a.title:hover, .boxsb1in a.title:active {
    text-decoration:underline;
}

.boxsb1in p {
    clear:both;
    font-size:11px;
    margin-top:3px;
    font-size:11px;
    color:#444;
}

.boxsb1in ul {
    padding:0;
}

.boxsb1in ul li {
    list-style-image:url('images/li.jpg');
    margin:3px 0 0 20px;
}

/* box offer 1 */
.boxoffer1 {
    width:185px;
}

.boxoffer1 h2 {
    background: url("boxes/boxsb1-top.jpg") no-repeat scroll 0 0 transparent;
    color:#fff;
    font-size:12px;
    font-weight:bold;
    height:20px;
    line-height:20px;
    margin:0;
    padding:5px;
    vertical-align:middle;
}

.boxoffer1in {
    background: url("boxes/boxsb1-bottom.jpg") no-repeat scroll left bottom transparent;
}

.boxoffer1in img {
    clear:both;
    height:120px;
    width:160px;
}


/* Search Result */

.serp {
    clear:both;
    float:left;
}

.serp .h1bg {
    clear:both;
    background: #fff url('images/serph1bg.jpg');
    border:1px solid #ccc;
    margin:0;
    margin-top:10px;
    width:572px;
    height:38px;
}

.serp h1 {
    float:left;
    clear:left;
    width:70%;
    height:38px;
    font-size:14px;
    line-height:38px;
    font-weight:bold;
    text-align:left;
    vertical-align:middle;
    padding-left:40px;
    margin:0px;
    color:#666;
}

.serp h1 span {
    padding:3px 5px;
    background:#fefefe;
    border:1px solid #f0f0f0;
}

.serp .h1bg a {
    float:right;
    padding:3px 10px;
    background:#fefefe;
    border:1px solid #f0f0f0;
    font-size:11px;
    font-weight:normal;
    font-style:normal;
    display:block;
    margin-top:10px;
    margin-right:10px;
}

.serp h1.search {
    background: url("images/offer-search.jpg") no-repeat;
}

.serp h1.topoffers {
    background: url("images/offer-top.jpg") no-repeat;
}

.serp h1.sales {
    background: url("images/offer-sales.jpg") no-repeat;
}

.serp h1.lettings {
    background: url("images/offer-lettings.jpg") no-repeat;
}

.serp h1.purchases {
    background: url("images/offer-purchases.jpg") no-repeat;
}

.serp h1.rentals {
    background: url("images/offer-rentals.jpg") no-repeat;
}

.serp h1.complex {
    background: url("images/offer-complex.jpg") no-repeat;
}

.serp h1.logo {
    background: url("images/h2omega.png") no-repeat;
    background-position: 5px center;
}

.serp .reall {
    padding:5px 0;
    display:block;
    overflow:hidden;
}

.serp .do {
    margin-top:7px;
    margin-right:7px;
    font-size:10px;
    float:right;
    text-align:right;
}

.serp .do a, .serp .do a:link, .serp .do a:visited {
    margin:2px;
    border:1px solid #ccc;
    padding:3px 5px;
    text-decoration:none;
}

.serp .do a:hover, .serp .do a:active {
    border:1px solid #ccc;
    background:#4197EB;
    color:#fff;
    text-decoration:none;
}

table.grid {
    width:574px;
    clear:both;
    border:1px solid #ccc;
}

table.grid th {
    background:#ccc;
    color:#000;
    font-size:12px;
    font-weight:bold;
}

table.grid th.code, table.grid th.remu, table.grid th.rec {
    text-align:center;
}

table.grid th.ret, table.grid th.retn {
    text-align:left;
}

table.grid tr.row1 {
    background:#f8f8f8;
    color:#444;
    font-size:12px;
    font-weight:normal;
}

table.grid tr.row2 {
    background:#f0f0f0;
    color:#444;
    font-size:12px;
    font-weight:normal;
}

table.grid td.code {
    text-align:center;
    min-width:36px;
}

table.grid td.ret {
    text-align:left;
    min-width:140px;
}

table.grid td.retn {
    text-align:left;
    min-width:155px;
}

table.grid td.remu {
    text-align:right;
    min-width:90px;
}

table.grid td.rec {
    text-align:right;
    min-width:80px;
}

/* Real Estate Box View */
.reb {
    background:transparent url("images/reb.jpg") no-repeat;
    display:block;
    float:left;
    height:270px;
    width:190px;
}

.reb.admin {
    height:290px;
}

.rebin {
    padding:5px;
    clear:both;
    height:260px;
    width:180px;
}

.reb h3, .reb .town {
    clear:both;
    font-weight:bold;
    text-align:center;
    vertical-align:middle;
    width:100%;
    margin:0;
}

.reb h3 {
    font-size:13px;
    height:18px;
    line-height:16px;
}

.reb .town {
    font-size:11px;
    height:16px;
    line-height:14px;
}

.reb img.mainthumb {
    clear:both;
    height:135px;
    width:180px;
    border:0px;
    display:block;
    margin:0px;
    padding:0px;
}

.reb img.mainthumb {
    border-top:1px solid #aaa;
    border-bottom:1px solid #aaa;
}

.reb .intro {
    clear:both;
    height:47px;
    width:170px;
    padding:5px;
    font-size:10px;
    font-weight:bold;
    /*line-height:16px;*/
    line-height:14px;
    margin:0;
}

.reb .price {
    clear:both;
    color:#800;
    font-size:14px;
    font-weight:bold;
    height:24px;
    line-height:24px;
    text-align:center;
    vertical-align:middle;
    width:100%;
}

.reb .actions {
    width:100%;
    height:25px;
    text-align:right;
    vertical-align:top;
}

/* RE View */

.rev {
    clear:both;
    float:left;
    width:575px;
}

.revin {
    clear:both;
    padding:10px;
}

.revin table.grid {
    margin-right:10px;
    margin-bottom:10px;
}

/* Complex Box */

/* Real Estate Box View */

.cpb {
    background:transparent url("images/cpb.jpg") no-repeat;
    display:block;
    float:left;
    height:155px;
    width:575px;
    border:1px;
    margin-bottom:10px;
}

.cpbleft {
    clear:left;
    float:left;
    width:182px;
    height:137px;
}

.cpbright {
    clear:right;
    float:left;
    margin-left:10px;
    width:360px;
    height:135px;
}

.cpbin {
    padding:10px 10px 10px 5px;
    clear:both;
    width:555px;
    display:block;/*100%;*/
    overflow:hidden;
}

.cpb h3 {
    clear:both;
    font-weight:bold;
    text-align:left;
    vertical-align:middle;
    width:100%;
    margin:0;
    font-size:13px;
    height:18px;
    line-height:16px;
}

.cpb img.mainthumb {
    clear:both;
    height:135px;
    width:180px;
    display:block;
    margin:0px;
    padding:0px;
    border:1px solid #aaa;
}
/*
.cpb .intro {
    clear:both;
    height:47px;
    width:100%;
    padding:5px;
    font-size:12px;
    line-height:16px;
    margin:0;
}
*/
/* Docs Tabs */

.doctabsframe { /*style of tab content oontainer*/
    border: 2px solid #ccc;
    width:800px;
}

.doctabs {
    clear:both;
    margin-top: 30px;
    list-style-type: none;
    text-align: left;
}

.doctabs ul {
    padding:0;
    margin:0;
}

.doctabs li{
    display: inline;
    margin:0;
    padding:0;
    height:22px;
    line-height:22px;
    vertical-align:middle;
    font-weight:bold;
    font-size:12px;
}

.doctabs li a{
    text-decoration: none;
    position: relative;
    padding: 4px 8px;
    border: 2px solid #ccc;
    color: #2d2b2b;
    background: white url('images/doctabout.gif') top left repeat-x;
    border: 2px solid #ccc;
}

.doctabs li a:visited{
    color: #2d2b2b;
}

.doctabs li a:hover{
    color: #2d2b2b;
}

.doctabs li a.selected{ /*selected main tab style */
    position: relative;
}

.doctabs li a.selected{ /*selected main tab style */
    background-image: url('images/doctabactive.gif');
    border-bottom-color: white;
}

.doctabs li a.selected:hover{ /*selected main tab style */
    text-decoration: none;
}

.doctabsframe { /*style of tab content oontainer*/
padding: 10px;
margin-bottom: 20px;
}

.document .doctab{
    display:none;
}

/* contact form */
#contact, #offices {
    clear:both;
    width:100%;
}

#contact table {
    width:270px;
    padding:3px;
    border:1px solid #ccc;
}

#offices table {
    padding:3px;
}

#contact table td h2, #offices table td h2 {
    margin-top:0px;
}

#contact table td {
    padding:5px;
    background:#f0f0f0;
}

#offices table td  {
    padding:5px;
}

#offices table td img {
    border: 1px solid #444;
}

#contact table td.label {
    background:#ddd;
    font-weight:bold;
}

#contact input, #contact textarea, #contact select  {
    width:250px;
}

#contact input.bigbtn {
    width:240px;
}

#contact input.turring {
    width:60px;
}


/* Advanced Search Form */
#advancedsearch {
    clear:both;
    margin:0;padding:0;
}

#advancedsearch label {
    margin: 0 10px 5px 0;
    font-size:12px;
}

#advancedsearch input, #advancedsearch select, #advancedsearch botton, #advancedsearch textarea {
    font-size:12px;
}

.propaction, .proplocation, .proppriceandproparea {
    clear:both;
    height:30px;
}

table.proppriceandproparea td {
    vertical-align:middle;
}

.propaction, .proplocation {
    
}

#advancedsearch .colwrapper {
    clear:both;
}

#advancedsearch .colwrapper label {
    width:100%;
    margin-left:5px;
    margin-bottom:5px;
}

#advancedsearch .colwrapper .col1 {
    float:left;
    width:200px;
    margin: 0 10px 10px 0;
}

#advancedsearch .colwrapper .col2 {
    float:left;
    width:200px;
    margin: 0 10px 10px 0;
}

#advancedsearch .proptype, #advancedsearch .proplocation,
#advancedsearch .proptown, #advancedsearch .propquarter {
    float:left;
    background-color:#fff;
    border:1px solid #ccc;
    clear:both;
    height:120px;
    width:200px;
    overflow:auto;
    margin-right:5px;
}


/* Property Edit */

#propertyedit  {

}


/* ADMIN ITEMS */

.admintables {
    margin-top:20px;
    clear:both;
    display:block;
}

.admintables .item {
    clear:left;
    padding:5px;
    border:1px solid #eee;
    display:block;
    overflow:hidden;
    margin-bottom:2px;
    border-bottom:1px solid #888;
}

.admintables .header {
    background:#eee;
}

.admintables .row1 {
    background:#fcfcfc;
}

.admintables .row2 {
    background:#f8f8f8;
}

.admintables .treespace {
    float:left;
    display:block;
    height:16px;
}

.admintables .thumb {
    float:left;
    width:120px;
    text-align:left;
}

.admintables .title {
    float:left;
    width:300px;
    text-align:left;
}

.admintables .infol {
    float:left;
    width:50px;
    text-align:left;
}

.admintables .info {
    float:left;
    width:50px;
    text-align:left;
}

.admintables .infor {
    float:left;
    width:50px;
    text-align:right;
}

.admintables .actions {
    float:left;
    width:150px;
    text-align:left;
}

.treespace, .title, .info, .infol, .infor, .thumb, .actions {
    padding:5px;
}


/* Search result Pages */

.pages {
    clear:both;
    margin-top:15px;
    margin-bottom:15px;
}

.pages a, .pages a:link, .pages a:visited {
    background:#fff;
    color:#444;
    font-weight:bold;
    border:1px solid #ccc;
    padding:3px 5px;
    margin-left:3px;
    font-size:11px;
    text-decoration:none;
}

.pages a.selected, .pages a.selected:link, .pages a.selected:visited {
    background:#134A9C;
    color:#fff;
}

.pages a, .pages a:hover, .pages a:active,
.pages a.selected:hover, .pages a.selected:active {
    background:#4197EB;
    color:#fff;
    text-decoration:none;
}

.pages .resultinfo {
    width:200px;
    padding-right:10px;
    float:right;
    text-align:right;
    font-weight:normal;
    color:#444;
}


.smalltext {
    font-size:10px;
}

.error {
    font-weight:bold;
    color:red;
}

.memberof {
    float:left;
    margin:0;
}

.sidebarbanner {
    clear:both;
    width:185px;
    display:block;
    margin-top:10px;
}

.topbtns {
    clear:both;
    font-size:12px;
}

.topbtns a, .topbtns a:link, .topbtns a:visited {
    width:173px;
    height:20px;
    line-height:20px;
    vertical-align:middle;
    padding:3px 5px;
    display:block;
    border:1px solid #ccc;
    background:#DAE9F8;
    color:#4384C3;
    font-weight:bold;
    text-decoration:none;
}

.topbtns a:hover, .topbtns a:active {
    background:#9bc1e8;
    color:#234566;
}

.topbtns a.bookmark, .topbtns a:link.bookmark, .topbtns a:visited.bookmark {
    text-indent:20px;
    background-image:url("images/bookmark-out.jpg");
    background-repeat:no-repeat;
    background-position:6px 6px;
}

.topbtns a:hover.bookmark, .topbtns a:active.bookmark {
    text-indent:20px;
    background-image:url("images/bookmark-over.jpg");
    background-repeat:no-repeat;
    background-position:6px 6px;
}

.pagefilebox {
  width:180px;
  height:135px;
  text-align:center;
  vertical-align:middle;
}
