BODY {
    font-family: verdana, arial, arial;
    font-size: 9pt;
    color: #990000;  /* random anons */
    padding: 0px;
    margin: 0px;
    margin-left: 3px;
    background-color: #ebebeb; 
}
A, A:visited {
    color: #000000; /*   ssilki kolonka */
}
H1 {
    font-size: 16pt;
            color: #990000;
}
H2 { color: #666666; /* H2 */
    font-weight: 600;
    font-size: 1.3em;
    margin: 8px 0px 2px 0px;
}
H3 {color: #666666;
    font-weight: 600;
    font-size: 1.0em;
    margin: 8px 0px 2px 0px;
    text-align: center;
}







/* design */
#header {
    height: 173px;
    width: 100%;
}
#header #logo {
}

DIV#headerTitle {
    margin-top: 10px;
}

#header .content { font-weight:600;
    background: none;
    font-size: 16pt; 
    color: #990000; /* zagolovok nad lentoy */
}

#header .links {
    text-align: right;
}
#header .links A {
    color: #990000;  /* startovoy */
    font-size:7pt;
}
#header .flags {
}
#header .flags A IMG{
    border: none;
    margin: 5px;
}
#bottom {
    height: 46px;
    background-image: url('/img/bottom-bg.jpg');
}



/* top menu */
DIV.topMenu {
     background-color: #990000;  
    color: #ebebeb; /* razdelitel  */
    text-align: right;
}
TD.tmImage {
    margin: 0px;
    padding: 0px;
}
.topMenu TABLE {
}
.tmButton {
    position: relative;
    font-weight: 100;
    font-size: 11px;
}
.tmButton A {
    font-weight: 600;
    color: #ebebeb; /* text verh menu  */
    text-decoration: none;
    padding: 0px 10px;
    /* height: 30px; */
}
.tmButton A:hover {
    color: #FFFFFF; /* text verh menu + vipad ????? pri navedenii  -   */
    text-decoration: none;
}
.tmButton IMG {
    border:none;
    margin-left: 5px;
}
/* ?????????????????????????????????   */
.popupBMenu_f {
        display: none;
        position: absolute;
        top: 0px;
        right: 200px;
        width: 210px;
        padding: 5px;
        /* background-color: #ffe9b4; */
        background-image: url('/img/no.gif');
}
/* ?????????????????????????????????   */
.popupBMenu {
        display: none;
        position: absolute;
        top: 12px;
        right: 0;
        width: 210px;
        padding: 5px;
        color: #ffe9b4;
        background-image: url('/img/no.gif');
}
.tmb2 DIV A {
        padding: 0px;    
        color: #990000; /* text verh menu  vipad    */
        margin: 0px;
}
.tmb2 DIV A:hover {
        color: #333333; /* text verh menu  vipad    */
}

.tmb2 DIV {
        padding: 2px 0px;    
        /* margin: 0px; */
}
/* verhnee vipadaushee 1 uruven */ 
.tmb2 {
        padding: 5px;
        margin: 3px;
        border: solid 1px #990000;
        background-image: url('/img/menu_top1.jpg');
        width: 210px;
}
.tmb3 DIV {
        padding: 2px 0px;    
        margin: 0px;
}
/* verhnee vypadayuschee 2 uroven'  */ 
DIV.tmb3 {
        padding: 5px;
        margin: 3px;
        border: solid 1px #990000;
        background-image: url('/img/menu_top1.jpg');
        width: 200px;
}





/* images string*/
DIV#photosLine {
    margin-top: 10px;
}

/* lenta photo */
#photosLine TABLE { 
    border: solid 1px #990000;
    width: 100%;
}
#photosLine .photos {
    width: 100%;
}
#photosLine .left {
    background-color: #cfd1d0;
    padding-right: 5px;
    margin: 0px;
    float: none;
}
#photosLine .right {
    background-color: #cfd1d0;
    padding-left: 5px;
    margin: 0px;
    float: none;
}
marquee.topRString {
    height: 100px;
    background-color: #cfd1d0;
	background-image: url('/img/lenta_bg.jpg'); background-repeat:no-repeat;
    padding: 2px 0px;
    overflow: hidden;
}
.topphotos {
    /* width: 30000px; */
    display: inline;
}
marquee.topRString .image {
    display: inline;
    /* float: left; */
    /* width: 100px; */
    height: 100px;
    margin: 2px 1px 0px 1px;
    /* overflow: hidden; */
    text-align: center;
    /* border: solid 1px #0000CC; */
}
marquee.topRString .image IMG {
    border: none;
    height: 100px;
}



/* boxes */

.gbox {width: 203px;
}
.gbox .top {
    width: 200px;
    height: 20px;
    background-image: url('/img/gb-top.jpg');
    background-repeat: no-repeat;
}
.gbox .bottom{
    width: 200px;
    height: 20px;
    background-image: url('/img/gb-bottom.jpg');
    background-repeat: no-repeat;
}
.gbox  .content {
    margin: 0px;
    padding: 0px 7px;
}

.obox {
}
.obox .top {
    width: 200px;
    height: 20px;
    background-image: url('/img/ob-top.jpg');
    background-repeat: no-repeat;
}
.obox .bottom{
    width: 200px;
    height: 20px;
    background-image: url('/img/ob-bottom.jpg');
    background-repeat: no-repeat;
}
.obox  .content {
    margin: 0px;
    padding: 0px 5px;
}



/* calendar */
#calendar-container {
    width: 200px;
}

/* news rolling string */
.newsRString {
    background-color: #edf0ff;
}
marquee.newsRString > DIV {
}
.newsRString  span {
    display: inline;
}




/* left menu */

TD.leftMenu  {
    padding-left: 5px;
}
.leftMenu .space {
    height: 5px;
}

TD.lmImage {
    width: 30px;
    padding-top: 7px;
    vertical-align: top;
}
TD.lmImage  .arrow {
    width: 15px;
    height: 15px;
    background-image: url('/img/menu-arrow.gif');
    background-repeat: no-repeat;
}
TD.lmImage  .plus{
    width: 15px;
    height: 15px;
    background-image: url('/img/menu-plus.gif');
    background-repeat: no-repeat;
}
TD.lmImage  .minus{
    width: 15px;
    height: 15px;
    background-image: url('/img/menu-minus.gif');
    background-repeat: no-repeat;
}
TD.lmButton  {
    
  /*  border-right: solid 1px #99FF33;
    background-color: #ffe7ac;*/
    
    padding-right: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
    font-weight: 100;
    font-size: 11px;
    /* height: 30px; */
    text-align: left;
    vertical-align: middle;
    width: 160px;
}
DIV.lmButton {
    width: 170px; /* width - raskrivaush menu */
    position: relative;
}
TD.lmButton A {
    margin: 0px;
    padding: 0px;
    /* width: 196px; */
    /* padding: 3px 5px; */
    color: #333333; /* zvet texta  - bokovogo menu   */
    text-decoration: none;
    font-weight: 600;
}

.lmButton A:hover {
    color: #990000; /* zvet texta pri navedenii  - bokovogo menu  */
    text-decoration: none;
}

/* ????????????????????????????? */
.popupMenu {
        display: none;
/*         
        position: absolute;
        top: -20px;
        left: 150px;
        width: 160px;
        padding-left: 0px;
 */        
        background-color: transparent; /* fon raskladyvayuschegosya menyu (vtoroi uroven') */
        padding: 0px;
        color: #6e9043; 
}
.popupMenu A {
    color: #00FF00; /* ?????????????? */
}
.popupMenu A:hover { 
    color: #990000;  /* ??????????? */
}
.mb2 {
        margin: 3px;
}
.mb2 DIV A {
        display: block;
        font-style: italic;
        padding: 3px;
        margin: 2px;
      /*   color:   eto vliiaet na zvet raskiv bok menu  */
        /*
        border: solid 1px #e9efff;
        background-color: #e9be62;
        width: 200px;
        */
}
.mb2 DIV A:hover {color: #990000; /* eto vliiaet na zvet raskiv bok menu i perebivaet popupMenu A:hover   */
}
.mb2 .popupMenu {
        display: none;
        position: absolute;
        top: -10px;
        left: 160px;
        width: 200px;
        padding-left: 0px;
		border: solid 1px #990000; 
		background-color: #CCCCCC; /* fon vspliv bokovogo */  
        padding: 0px;
        color: #FF0000;  /* ????????? */
}
.mb3 {
        margin: 3px;
}
.mb3 DIV A {
        display: block;
        font-style: italic;
        padding: 3px;
        margin: 2px;
        color: #333333; /* zvet vspliv bokovogo */ 
}


.dHeader {
    font-weight: 600;
    font-size: 14pt;
}
.dContent A IMG {
    border: none;
}



.swfPhotos {
    position: absolute;
    left: 25px;
    top: 60px;
}









/* right and left columns */
TD#rightColumn {
    width: 200px;
    vertical-align: top;
    padding-right: 2px;
    padding-left: 2px;
}
TD#leftColumn {
    width: 200px;
    vertical-align: top;
}
#leftColumn H3 {
    color: #666666; /* h3 pravoy kolonki */  
    padding: 0px;
    margin: 0px;
    font-size: 11pt;
    font-weight: 600;
}

#rightColumn H3 {
    color: #990000; /* h3 pravoy kolonki */  
    padding: 0px;
    margin: 0px;
    font-size: 11pt;
    font-weight: 600;
}












/* news on the left */

.newsBox {
    /* width: 250px; */
    margin-bottom: 10px;
}

.newsBox .newsType {
    /*height: 24px; */
    color: #666666; /* h3 lrvoy kolonki (tip novosti) */ 
    margin-bottom: 5px;
    margin-top: 5px;
    font-weight: 600;
    font-size: 11pt;
}

.newsBox .content .nheader {
    font-weight: 600;
    font-size: 10pt;
    color: #333333; /* zagolovki   novostey  */ 
    margin-top: -5px;
    margin-bottom: 5px;
}
.newsBox .content .ntext {
    margin-bottom: 20px;
}
.newsBox .content {
    padding: 5px 5px;
    /* color: #2d534b; */
}
.newsBox .content IMG {
    float: left;
    margin: 0px 5px 5px 0px;
}
.allNews {
    font-weight: 600;
    text-align: right;
}





/* news under content */
.newsItem {
    background-color: #ebebeb;
    padding: 5px;
    border-bottom: dashed 1px #990000;
    margin-bottom: 15px;
}
.newsItem H3 {
    color: #990000;
    text-align: left;
}
.newsItem .content .more {
    text-align: right;
}

/*  news page */
.newsAuthor {
    text-align: right;
    font-size: 0.8em;
}
.newsItem  .date {
    font-weight: 600;
    font-size: 1.1em;
}






/* remarks */
.remAdd {
    text-align: center;
}
.remAddInfo {
    text-align: center;
    font-weight: 600;
    font-size: 14pt;
    margin: 10px 0px;
}
.remRoot {
    padding: 5px;
    background-color: #ebebeb; /* fon gl otziva  */ 
    margin-top: 15px;
    margin-bottom: 5px;
}

.remSub {
    padding: 5px;
    margin-left: 20px;
    background-color: #F9F9F9; /* fon vtor otziva   */ 
    margin-bottom: 5px;
}

.unmoderated {
    background-color: #FFCCFF; /* fon vtor otziva   */ 
}

.remWrapper TABLE {
    width: 100%;
}
.remWrapper .fio{
    font-weight: 600;
    text-align: left;
    padding-bottom: 3px;
    border-bottom: solid 1px #6EAE71;
}
.remWrapper .actions{
    font-weight: 100;
    text-align: right;
    padding-bottom: 3px;
    border-bottom: solid 1px #6EAE71;
}
.remWrapper .date  {
    text-align: right;
    font-style: italic;
}
#addRemarkForm {
    display: none;
}

/**/
.hdrpicture {
    text-align: center;
    margin-bottom: 10px;
    width: 200px;
    /* height: 150px; */
    overflow: hidden;
}
.hdrpicture IMG {
    border: none;
    width: 200px;
}
#imgfbox {
    text-align: left;
}









TD.content { background-color: #FFFFFF;
    color: #222222; /* zvet rabochey, otziv, otvet,    */ 
    vertical-align: top;
    padding: 5px;
}
DIV.content {
    padding: 20px;
}
TD.content A, TD.content A:visited {
    color: #660000; /* ssylki v osnovnoy chasti */
}






 /* ?????????????????  */
.hPic {
    position: absolute;
    margin-left: 800px;
    top: 0px;
    right: 0px;
    width: 259px;
    height: 314px;
}



 /* ?????????????????  */
.hPic  IMG {
    padding-top: 18px;
    padding-left: 10px;
    width: 233px;
    height: 267px;
}

.htlinks {
    position: absolute; 
    top: 20px; 
    left: 30px;
    color: #FFFFFF;
}
.htlinks A{
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
}













/*sending messages*/
TABLE.sendMsg {
    width: 90%;
}
.dCell {
    width: 100%;
}
DIV.dCell {
    padding: 5px 0px;
}
.dCell INPUT, .dCell TEXTAREA  {
    display: block;
    width: 98%;
}







.error {
    color: #FF0000;
    font-weight: 600;
}
.clear {
    clear: both;
}


/* photo galery */
.photo {
    width: 155px;
    height: 200px;
    text-align: center;
    float: left;
    padding: 5px;
    background-color: #edf0ff;  /* fon pod   photo  */
    margin: 5px;
    color: #dfe6ee;
}
.photo .title A {
    color: #000066;
}
.photo .image {
    overflow: hidden;
    border: none;
    width: 150px;
    height: 150px;
    text-align: center;
    /* border: solid 1px #FF0000; */
}
.photo .image  IMG {
    border: none;
}
.photo .pImage {
    position: absolute;
    display: none;
    width: 450px;
    /* height: 300px; */
    overflow: hidden;
    text-align: center;
    background-color: #edf0ff;    /* fon pod vspl photo */
    padding: 10px;
}
.photo .pImage IMG {
    width: 450px;
}






/*photo codes*/
.codePicPreview A IMG, .codePicPrext A IMG {
    border: none;
    height: 120px;
}

/*photo codes*/
.codePicFull A IMG {
    border: none;
}


.tright {
    text-align: right;
}
.right {
    float: right;
    margin: 5px 0px 5px 5px;
}
.left {
    float: left;
    margin: 5px 5px 5px 0px;
}

.fullView {
    position: absolute;
    display: none;
    border: soldi 1px #00FF00;
    width: 450px;
    /* height: 300px; */
    overflow: hidden;
    text-align: center;
    background-color: #edf0ff; /* ??????????? */ 
    padding: 10px;
}
.fullView IMG {
    width: 450px;
}







/* adverts */
#advert .content {
    margin: 1px;
    padding: 0px;
}


/* announces */
#announces .content {color: #990000; /* zvet text anonsa v pravoy kolon  */
    font-size: 8pt;
}

#advert .content {color: #666666; /* zvet text anonsa v levoy kolon  */
    font-size: 8pt;
}

#advert-left-news-bottom { 
    font-size: 8pt;
}
#advert-right-announce1-bottom { 
    font-size: 8pt;
}
#advert-right-bottom {
    font-size: 8pt;
}



/* poll */
.poll .question { color: #333333; /* vopros  */
    font-weight: bold;
    text-align: center;
}
.poll TABLE.variants { color: #666666;
    width: 100%;
}
.poll TD {
    width: 20px;
    padding-bottom: 5px;
}
.poll TD.answer {
    width: 90%;
}
.poll .variants .submit {
    text-align: center;
}
.poll .resultLink {
    text-align: right;
}

/* poll in main content */
.content .poll TABLE.variants {
    width: auto;
    float: center;
}
TD.content .poll .question {
    font-weight: bold;
    text-align: left;
}


/* poll results */
.pollres TD { color:#666666; 
    text-align: right;
    padding-right: 10px;
    padding-bottom: 5px;
}
.pollres TD.answer{ color:#666666; 
    text-align: left;
}
.pollres .question {
    font-weight: bold; color:#333333;
    text-align: center;
}
TD.content .pollres .question { 
    font-weight: bold;
    text-align: left;
}
.pollres .resultLink {
    text-align: right;
}



.allpolls {
    font-weight: 600;
    text-align: right;
}















/* maklers styles */
#search {
    margin-bottom: 15px;
}
#search SELECT {
    width: 100%;
}
#search INPUT[name=s_priceMin], #search INPUT[name=s_priceMax] {
    width: 100px;
}
#search SELECT[name=s_rooms_max], #search SELECT[name=s_rooms_min] {
    width: 30%;
}

/* lenta photo */
#advLine {
    padding-top: 5px;
    background-color: #ebebeb;  /* probel nad nijney lentoy */ 
}
#advLine TABLE {
    border: solid 1px #990000;
    width: 100%;
}
#advLine .advTickets {
    width: 100%;
}
#advLine .left {
    background-color: #cfd1d0;
    padding-right: 5px;
    margin: 0px;
    float: none;
}
#advLine .right {
    background-color: #cfd1d0;
    padding-left: 5px;
    margin: 0px;
    float: none;
}
marquee.advRString {
    height: 138px;
    background-color: #cfd1d0;
    padding: 2px 0px;
    overflow: hidden;
}

.advTicket {
    width: 110px;
    height: 133px;
    background-color: #999999;
    float: left;
    margin: 2px 2px;
    /* border: solid 1px #FF0000; */
}
.atImg {
    text-align: center;
    overflow: hidden;
    width: 100px;
    height: 76px;
    margin-left: 5px;
    padding: 0px;
}
.atImg IMG {
    border: none;

}
.atTitle {
    font-size: 11px;
    color: #FFFFFF;
    text-align: center;
    margin: 1px;
}
.atDescription {
    margin: 0px 2px 2px 2px;
    font-size: 9px;
    text-align: center;
    color: #FFFFFF;
}
.atDescription A {
    color: #FFFFFF;
}



/* big advert tickets */
.advBigContainer {
    overflow: hidden;
    text-align: center;
    height: 187px;  
}
TABLE.advBig {
    width: 166px;
    height: 180px;
    display: inline-table;
    padding-top: 0px;
    margin: 5px;
    margin-top: 0px;
    margin-bottom: 10px;
    vertical-align: top;
}
TABLE.advBig TD {
    width: 166px;
    border: solid 1px #990000; 
    height: 170px;
    background-color: #cfd1d0;
    padding: 5px;
    /* margin: 2px 5px; */
    text-align: center;
    font-size: 0.9em;
}
DIV.advBig {
    /*
    width: 190px;
    height: 190px;
    */
    display: inline;
    /* float: left; */
    width: 166px;
    height: 150px;
    background-color: #cfd1d0;
    padding: 5px;
    margin: 2px 5px;
    text-align: center;
    font-size: 0.9em;
    border: solid 1px #990000; 
}
DIV.advBig DIV {
    display:inline;
    width: 150px;
}
.advBig DIV A {
    font-weight: 600;
    color: #990000;
}
.advBig DIV.image {
    width: 166px;
    height: 110px;
    overflow: hidden;
    text-align: center;
}

.advBig DIV.image  IMG {
    height: 110px;
    text-align: center;
}


/* agents list */
.agentsListContainer {
    overflow: hidden;
    text-align: center;
    height: 187px;  
}
TABLE.agentsList {
    width: 120px;
    height: 180px;
    display: inline-table;
    padding-top: 0px;
    margin: 5px;
    margin-top: 0px;
    margin-bottom: 10px;
    vertical-align: top;
}
TABLE.agentsList TD {
    width: 120px;
    border: solid 1px #990000; 
    height: 170px;
    background-color: #cfd1d0;
    padding: 5px;
    /* margin: 2px 5px; */
    text-align: center;
    font-size: 0.9em;
}
.agentsList DIV A {
    font-weight: 600;
    color: #990000;
}
.agentsList DIV.job {
    font-weight: bold;
    margin-bottom: 5px;
}
.agentsList DIV.fio {
    margin-top: 5px;
}
.agentsList DIV.image {
    width: 120px;
    height: 80px;
    overflow: hidden;
    text-align: center;
}
.agentsList DIV.image  IMG {
    height: 80px;
    text-align: center;
}




/*in pages*/
.propContent {
}
.propContent .image {
    /* position: relative; */
    float: left;
    margin: 5px;
}
.propContent .image  .bimage {
    position: absolute;
    display: none;
    /* top: 110px; */
    left: 130px;
    margin-top: 5px;
    padding: 5px;
    border: solid 1px #990000; /* vspl photo nedvij  */ 
    background-color: #CCCCCC;
}
.propContent H2 {
    font-family: verdana, arial, arial;
    font-size: 1.2em;
    color: #990000;
	border: solid 1px #990000;
    background-image: url('/img/menu_top1.jpg'); /* kartis hedvij fon zagolovka  */ 
    padding: 2px 5px;
    margin-top: 15px;
}
.propContent .video {
    text-align: center;
    margin: 10px 0px;
}
.piValue {
    font-weight: 600;
}
.piDescription {
}


/* agents table */
.agentsTable TD {
    padding-bottom: 15px;
}
.agentsTable TD.info {
    vertical-align: top;
}
.agentsTable TD.info .fio{
    font-weight: bold;
}
.agentsTable TD.image {
    vertical-align: top;
    padding-right: 10px;
    text-align: center;
}
.agentsTable TD.image IMG {
    height: 100px;
}


/* property list */
.propertyList {
    text-align: center;
}
.propertyList table {
    width: 100%;
    border-collapse: collapse;
    background-color: #E4E4E4;
}
.propertyList table TD {
    border: solid 1px #67201C;
}
