body
{
  background-color:#757575;
  
  margin: 0;
  
}

#container
{
 
  margin-top: 0;
  margin-right:auto;
  margin-left:auto;
  /*width: 632px;*/
    width: 820px; /* 2x2 */
  padding: 20px 5px;
  background-color:#eff7f4; /*!!*/                          
  color: #000;
  
  background-image: url(top-background-bluesky.jpg);
  background-repeat: repeat-x;
  border-left: 7px solid #C8D0D4;
  border-right: 5px solid #C8D0D4;
 
  
}

object, iframe
{
  width: 960px;
  height: 555px;
}

body#client_portfolio iframe
{
  height: 1000px;
}

body#techan iframe
{
  height: 880px;
}

div#header
{
  position: relative;
  height: 110px;
  }
  
 div#header div
{
  position: absolute; right: 0px;
  }
 div#userstatus
 {
  top:0px;
  }
 div#sitemapbox
 {
   top: 70px;
   padding:10px;
   font-size: 106%;
  }

img#logo {border:none;}
  
a.change-userstatus, .show-userstatus
{
 display: block;
 float: right;
 clear: both;
 font-size: 90%;
 color: black; /*Unsure about this is good color*/
 padding-right: 6px;
}

  
a.bigbutton {
   text-decoration: none;
   font-weight: bold;
   font-family: Verdana;
   color: #971d36 ;
  /* background-color: #dfeffe; */

   border: 5px groove #b66173 ;
   padding: 5px;
}


/*Main menu*/

ul#main-menu
{
 list-style: none;
 margin: 2em 1em;
 margin-left:160px;
 font-size: 75%;
 font-family: Tahoma;
 
   background-color: #fafafa;
   /*padding: 8px 40px ;*/
   padding: 8px 5px 8px 40px;
   border: 1px solid black;
   border-top: 4px solid #000090;

}
ul#main-menu li { display: inline; margin-right: 1ex;}

ul#main-menu li.new-content
{
  padding-right: 20px;
  margin-right: 1.5em;
  background: url(newmark.png) no-repeat bottom right;
  
}



ul#main-menu a
{
  color:black; 
}


ul#main-menu li.new-content a
{
color: #971D36;
}
ul#main-menu a:hover, ul#main-menu li.new-content a:hover, /* Try same rule for registration/autorization ?*/
a.bigbutton:hover,  ul#linkcloud a:hover                                                            
{
 color: blue;               
 /* background-color: #f5f5f4;*/

}

body.hidemenu #main-menu {display:none;}

/* Временно спрятаны */
#breadcrumbs, h1 {display: none;}

div#main-content /* 2x2*/
{
    
    position: relative;
    padding: 0;
    margin: 0;
    
}



/* blurbs:
#services-b Брокерские услуги 
#services-am Доверительное управление активами
#services-sf Паевые фонды 
#services-depo Депозитарий 
*/

div.blurb
{
 margin: 0 10px 10px;
 position: relative;
 
    width: 398px;      

}
div#services-b .roundedcornr_content, div#services-depo .roundedcornr_content 
{
  height: 395px;
}

.gasket
{
position: relative;
}

div#services-depo 
{
    position: absolute;
    top: 0;
    right: 0;
    
}

div#services-sf 
{
    position: absolute;
    bottom: 0;
    right: 0;
    
}

div.blurb h2
{
  font-family: Georgia;
  font-size:1.2em;
  margin: 0 2ex 0 3em;
  
}

div.blurb p
{
  font-family: Verdana;
   font-size: 85%; /*2x2*/  
  line-height:155%;
  margin-bottom: 0;
  margin-left: 2em;
  margin-right: 2em;
}

div.blurb ul
{
  margin-top: 0.5em;
  /*padding-top: 0;*/
  width: 68%;
  }
div.blurb li
{
  font-family: Verdana;
  line-height:140%;
  font-size: 95%;
  margin-top: 0;
  margin-bottom: 0.5em;
 }

div.blurb a.price 
{
  
  position: absolute;
  right: 10px;
  top:22px;
  font-family: Verdana;
  font-size: 0.8em;
  font-style: italic;
  color: #971D36 ;

}

/*---------------- roundedcornr --------------*/
.roundedcornr_box {
background: url(roundedcornr_tl.png) no-repeat top left;
}
.roundedcornr_top {
background: url(roundedcornr_tr.png) no-repeat top right;
}
.roundedcornr_bottom {
      background: url(roundedcornr_bl.png) no-repeat bottom left;
}
.roundedcornr_bottom div {
background: url(roundedcornr_br.png) no-repeat bottom right;
}
.roundedcornr_content {
background: url(roundedcornr_r.png) top right repeat-y;
}

.roundedcornr_top div,.roundedcornr_top,
.roundedcornr_bottom div, .roundedcornr_bottom { 
  width: 100%;
  height: 36px;
          font-size: 1px;
  }
.roundedcornr_content, .roundedcornr_bottom {
      margin-top: -19px;
}
.roundedcornr_content{
  margin-top:0px; 
  /*        margin-bottom: 8px;*/
}
.roundedcornr_bottom {
}

.roundedcornr_content { padding: 0 36px; }
/*---------------- roundedcornr --------------*/


div#news-frame 
{
    position: absolute;
    top: 450px;
    right: 0;
       
}

a.blurb
{
  float: right;
  font-size:1em;
  font-family: Verdana;
  color: #971D36;
  position: absolute;
  bottom: 10px;
  right: 40px;
}

a.price:hover, a.blurb:hover
{
 color:blue;
}



h2.cloudheader
{
  font-family: Georgia;
  font-size:1.25em;
  font-style: italic;
  margin: 0 ;
  margin-left: 50px;
  margin-top: 1.5em;
  margin-bottom: 2px;
  
  padding: 0;
  color: #000090;
  
}

ul#linkcloud  
{
 list-style: none;
 margin: 0 10px 0 50px ;
 padding: 0;
 font-family: Verdana, sans-serif;
 
  background-color: #fafafa;
  padding: 8px 40px;
  border: 1px solid black;
  border-top: 1px solid #000090; 
}

ul#linkcloud li  { display: inline; margin-right: 15px;}
ul#linkcloud li  a { text-decoration:none; color: #777;}


li.cloud1{font-size: 8pt;}
li.cloud2{font-size: 9pt;}
li.cloud3{font-size: 10pt;}
li.cloud4{font-size: 11pt;}
li.cloud5{font-size: 12pt;}
li.cloud6{font-size: 14pt;}
li.cloud7{font-size: 16pt;}
li.cloud8{font-size: 20pt;}
li.cloud9{font-size: 24pt;}

a img {border:none;}

div#footer {
  margin: 30px ;
  font-size: 8.5pt;
  font-family: Verdana, sans-serif;
  line-height: 1.8em;
}
div#footer div
{
  margin:  0 auto;
  width: 80%;
}

span.internalrefs
{padding-right: 15px;}

span.externalrefs
{margin: 0 15px;}

span.externalrefs a 
{margin: 0 15px;}

/* Experimental stuff goes here*/



.tooltip, abbr, acronym
{
 border-bottom: 1px dotted;
 cursor: help;
}


/* specially for IE6 (WTF?!!)*/
.textpage 
{
  
  background-color: white;
}

.textpage
{
  margin-left:auto;
  margin-right: auto;
  width: 80%;
  padding:3em 0;
  background-color:white;
  
  background-image: url(paper_corner.jpg);
  background-repeat: no-repeat; 
  background-position: top right;
  
  border: 2px  solid  #efefef;
  border-top: none;
  border-right:none;
  
  font-family: Verdana, sans-serif;
  font-size: 97%;
  line-height: 145%;
}

div.textpage .section
{
  margin: 0 4em;
  padding: 0;
  margin-bottom:12em;
  text-align: justify; 
}


div.textpage  li
{
  margin:0;
  margin-bottom: 0.4em;
}


div.textpage .section li
{
  margin:0;
  margin-bottom: 0.5em;
}

div.textpage  ul
{
  margin: 0; 
  padding:0;
  
  /*padding-bottom: 0.5em;*/
  text-align: justify; 
  padding-left: 7em;
  margin-right: 4em;
}
div.textpage .section ul
{
  padding-left: 2em; 
}
div.textpage   ul ul
{
  padding:0;
  padding-left:1em;  
}

div.textpage ul ul li
{
  margin-bottom:0.5em;
}

h2, h3, h4
{
   font-family: Georgia, serif;
}

h3,h4 {
border-bottom: 1px dotted #757575;
padding: 0 4em;
color: #505050;
}

.section strong
{
color: #202020;
}

h3, h4 strong 
{ 
  font-size: 1.1em;
} 

/*  Table of contents for current page at the top
   of the text */
ul#toc
{
 padding: 0 0 0 8em;
 font-size: 90%;
 line-height: 110%;
 width: 35em;
 color: navy; 
}

ul#toc li
{
 margin: 0.5em 0 0 0;
 padding: 0;
}

div.ident
{

 padding-left: 2em;
}
/*
 price.html
*/
table#broker_comission
{
  border: 2px solid navy;
  border-collapse: collapse;
  margin-left: 1em;
}
table#broker_comission td,table#broker_comission th
{
  border: 1px solid black;
  text-align:  right;
  padding:  0.5ex 1ex;
  
}
th {
  text-align:center;
  
}
 
/* normal class to use textpage-like link styles
  outside of div.textpage  (like in blurbs)
*/  
.textpage a:visited,  a.normal:visited, #sitemaplist a:visited
{
  color: #808080;
  text-decoration: none;
  border-bottom: blue 1px solid;
  
}
.textpage a:visited:hover,  a.normal:visited:hover, #sitemaplist a:visited:hover
{
  color:blue;
  text-decoration: underline;
  border: none;
}

h1
{
  text-align: center;
  

}

div.textpage p
{
  margin: 0 4em;
  padding: 0;
  margin-top: 4em;
  text-align: justify; 
}

div.textpage .section p
{
  margin: 0;
  margin-top: 2em;
}

h1#outerh1
{
  display: block;
  font: 155% Verdana, Helvetica, sans-serif;
  letter-spacing: 0.5em;
  color: #b66173;
  text-transform: uppercase;
}

h1#innerh1
{
  display: none;
}



em.price
{
  font-weight: bold;
  font-style: italic;
  color: #971D36;
  font-size: smaller; 
}



body.legacy #container
{
  width: 960px;
  
}




img#map
{
  
  margin-left: auto; margin-right:auto;
  display:block;
}

li h3
{
  padding: 0;
  margin-right:2em;
}
#sitemaplist
{
  margin-bottom:4em; 
}
#sitemaplist li
{
 list-style-type:none;  
}
#sitemaplist li li
{
 list-style-type:square;  
}

table#peoplelist td
{
  padding-right:2em;
}
