body,html {
margin: 0;
padding: 0;
background: #fff;
color: #000;
}

#content {
position: relative; 
min-height: 100%;
height: auto !important;
height: 100%;
color: #8B4513; 
text-align: left;
}

#content .empty {height: 135px; }
	
#wrap {
min-width: 930px;
min-height: 100%;
background: #fff;
margin-left: 50px;
width: 930px;
float: left;
}

#header1 {background: url(http://www.femida.by/images/top-gray.gif); height:33px;z-index: 2;}
#header2 {background: #fff; height: 14px; z-index: 3;}
#sidebar {background: #c9c;}
#footer {background: #cc9;}

#main {
background: #fff;
float: left;
width: 930px;
margin-top: 30px;
margin-bottom: 200px;
line-height: 20px;
position:relative;
}

#sidebar {
float: right;
width: 350px;
margin: 5px 0px 20px 20px;
font-family: Tahoma;
font-size: 10px;
color: #333;
top:0;
position: relative;
}

#sidebar .side_left {
background:url(http://www.femida.by/images/side_left.gif) left top repeat-y #eeeeee;
}
#sidebar .side_right {
background:url(http://www.femida.by/images/side_right.gif) right top repeat-y;
}
#sidebar .side_top {
background:url(http://www.femida.by/images/side_top.gif) left top repeat-x;
}
#sidebar .side_bot {
background:url(http://www.femida.by/images/side_bot.gif) left bottom repeat-x;
}
#sidebar .left_top {
background:url(http://www.femida.by/images/left_top.gif) left top no-repeat;
}
#sidebar .right_top {
background: url(http://www.femida.by/images/right_top.gif) right top no-repeat;
}
#sidebar .left_bot {
background: url(http://www.femida.by/images/left_bot.gif) left bottom no-repeat;
}
#sidebar .right_bot {
background: url(http://www.femida.by/images/right_bot.gif) right bottom no-repeat; width:100%;
}

#sidebar h3{
font-family: "Trebuchet MS";
font-size: 18px; 
color: #00008d;
font-weight: normal;
text-align:  center;
margin: 0;
padding: 0;
}

#phones{
position: absolute; 
width: 302px;
height: 170px;
margin-left: 680px;
z-index: 100;
}

#footer {
background-color: #f3f3f3;
clear: both;
height: 135px;
background: url(http://www.femida.by/images/footer.gif);
position: relative; 
margin-top: -150px; 
height: 150px; 
width: 100%; 
}

#counter {
padding-left: 50px;
}

#nav ul{
list-style: none;
margin-left: 8px;
padding-left: 8px;
}

#nav li{
font-family: "Trebuchet MS";
font-size: 14px; 
color: #fffffe;
display: inline;
float: left;
padding-left: 10px;
padding-right: 10px;
padding-top: 10px;
padding-bottom: 13px;
}

#nav #active{
background-color : #006fcd;
}


#nav {
height: 41px;
padding:0px;
margin:0px;
background: url(http://www.femida.by/images/menu-bg.gif);
}

#nav a{
color: #fff;
text-decoration: none;
}

#nav a:hover{
color: #fff;
text-decoration: underline;
}

#logo {
background: #fff;
height: 150px;
padding: 0px;
margin-top: 5px;
}

#main h1, #main h2, #main p {
margin: 20px 0px 0px 0px;
}

#main h1{
font-family: "Trebuchet MS";
font-size: 20px; 
color: #3333cc;
font-weight: normal;
}

#main h2{
font-family: "Trebuchet MS";
font-size: 16px; 
color: #3333cc;
font-weight: bold;
margin: 20px 0px 0px 0px
}

#main h3{
font-family: "Trebuchet MS";
font-size: 14px; 
color: #3333cc;
font-weight: bold;
margin: 20px 0px 0px 0px
}

#main p{
font-family: Tahoma;
font-size: 14px; 
color: #333;
font-weight: normal;
margin: 0px 0px 20px 0px;
}

#main ul{
font-family: Tahoma;
font-size: 14px; 
list-style: disc outside;
color: #333;
margin: 0px 0px 20px 0px;
padding-left: 20px;
}

#main ol{
font-family: Tahoma;
font-size: 14px; 
list-style: decimal outside;
color: #333;
margin: 0px 0px 20px 0px;
padding-left: 35px;
}
#main ol ul{
font-family: Tahoma;
font-size: 14px; 
list-style: disc;
color: #333;
margin: 0;
padding-left: 35px;
}

#main ol ol{
font-family: Tahoma;
font-size: 14px; 
list-style: lower-alpha;
color: #333;
margin: 0;
padding-left: 35px;
}

#main .ulul{
list-style: circle;
margin: 0;
padding-left: 35px;
}

#main .pointerlink{
font-family: "Trebuchet MS";
font-size: 14px; 
color: #777;
font-weight: normal;
text-decoration: underline;
}

#main .pointerlink:hover{
text-decoration: none;
color: #444;
}

#main .pointer{
font-family: "Trebuchet MS";
font-size: 14px; 
color: #444;
font-weight: normal;
margin: 0px 0px 20px 0px;
}


#main a{
font-family: Tahoma;
font-size: 14px; 
color: #3333cc;
text-decoration: underline;
}

#main a:hover{
color: #132857;
}

#main .separator {
background-color: #e8e8e8;
height: 1px;
margin: 3px 0px 20px 0px;
margin-top: 3px;
margin-bottom: 20px;
margin-right: 0px;
margin-left: 0px;
}

#main div.ya {
border: solid #444 1px; 
width: 510px;
padding-left: 20px;
padding-right: 20px;
padding-top: 20px;
padding-bottom: 20px;
font-family: Tahoma;
font-size: 14px; 
margin: 0px 0px 20px 0px;
}

#main table {
border: 0px; 
width: 929px;
font-family: Tahoma;
font-size: 14px; 
color: #555;
font-weight: normal;
border-collapse: separate;
border-spacing: 2px;
margin-top: 20px;
}

#main table .tableheader {
background-color: #0d57a1; 
font-weight: bold;
color: #fff;
text-align: center;
height: 30px;
vertical-align: middle;
}

#main tr{
background-color: #f2f2f2; 
text-align: left;
vertical-align: top;
height: 30px;
}

#main td{
padding: 10px 5px 10px 5px;
padding-left: 5px;
padding-right: 5px;
padding-top: 10px;
padding-bottom: 10px;
margin-left: 5px;
margin-top: 10px;
margin-right: 5px;
margin-bottom: 10px;

}

#main table .trheader2{
font-weight: bold;
background-color: #e4e4e4; 
}

#main table .trheader{
font-weight: bold;
}

#main table .mainline {
color: #009900;
}

#main table .number {
text-align: center;
}

#footer p {
padding-top: 15px;
padding-bottom: 0px;
padding-left: 50px;
padding-right: 15px;
font-family: Tahoma;
font-size: 11px; 
color: #444;
}

#footer span {
color: #555;
}
#footer .footerlink{
color: #444;
text-decoration: underline;
font-weight: normal;
}

#footer .footerlink:hover{
color: #555;
}

#footer .footerlink2{
color: #0000ff;
text-decoration: underline;
font-weight: normal;
}

#footer .footerlink2:hover{
color: #132857;
}

.searchtxt {
padding-top: 35px;
padding-bottom: 5px;
padding-left: 50px;
padding-right: 15px;
font-family: Tahoma;
font-size: 11px; 
color: #444;
background-color: #f3f3f3; 
}

.searchlink{
color: #444;
text-decoration: underline;
font-weight: normal;
}

.searchlink:hover{
color: #555;
}

#form label{
   font-weight: bold;
   width: 140px;
   float: left;
   font-size: 11px;
   position: relative;
   color: #333

}

#form .field{ 
font-family: Tahoma;
font-size: 11px;
line-height: normal;
color: #646464;
padding: 0 0 0 10px;
border: 1px solid #ccc;
width: 150px;
height: 22px;
vertical-align: left;
margin: 0px 0px 5px 5px;
margin-bottom: 5px;
margin-left: 5px;
padding-left: 5px;
padding-bottom: 5px;
}

#sidebar .formcontent {
padding-top: 10px;
padding-bottom: 10px;
padding-left: 20px;
padding-right: 20px;
background: #f1f1f1;
border: #cccccc 1px solid;
}

#sidebar .chbox{ 
font-family: Tahoma;
font-size: 11px;
line-height: normal;
color: #ccc;
vertical-align: middle;
margin: 0px 5px 5px 0px;
margin-bottom: 5px;
margin-right: 5px;
padding-right: 5px;
padding-bottom: 5px;
}

#sidebar textarea{
font-family: Tahoma;
font-size: 11px;
line-height: normal;
color: #646464;
padding: 2px 0 0 10px;
border: 1px solid #ccc;
width: 300px;
height: 100px;
margin: 5px 0 10px 0;
margin-top: 5px;
margin-bottom: 10px;
padding-top: 5px;
padding-bottom: 10px;
}

#sidebar .comment{ 
font: 12px bold;
line-height: normal;
color: #646464;
text-align: center;
vertical-align: middle;
margin-top: 10px;
margin-bottom: 10px;
padding-top: 10px;
padding-bottom: 10px;
}

.leftimg {
    float:left; /* Выравнивание по левому краю */
    margin: 5px 10px 5px 5px; /* Отступы вокруг картинки */
   }
.rightimg  {
    float: right; /* Выравнивание по правому краю  */
    margin: 5px 10px 5px 5px; /* Отступы вокруг картинки */
   }
  
.vcard {
 color: #555;
 font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif;
 font-size:12px;
 }
 .buttons {
 float: right; /* Выравнивание по правому краю  */
 vertical-align: middle;
margin-top: 10px;
margin-bottom: 10px;
padding-top: 10px;
padding-bottom: 10px;
 }
   
