html, body {   margin: 0; padding: 0; }
body {
  background: #ddd;
  color: #000;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 14px;
  min-width: 960px;
}
*html body {  width: expression(document.documentElement.clientWidth<=960 ? "960px" : "auto"); }
a { color: #1f3695; }
img { border: none; }

.leftb { background: url(../../images/update/bg_shado.png) 15px top repeat-y; padding: 0 19px 0 31px; }
.rightb { background:url(../../images/update/bg_shadp.png) right top repeat-y; padding-right: 7px; }

#subscribe {position: absolute; width: 214px; height: 133px; right: 190px; background: url(../../images/mail/bg.png) no-repeat; margin: 0px; padding: 0px;}
#subscribe h4 {color: #6975b7; font-family: Tahoma; font-weight: normal; font-size: 12px; margin: 0 0 15px 20px; padding: 8px 0 0 0;
background: url(../../images/mail/close.gif) no-repeat 100% 12px; width: 175px; cursor: pointer; position: relative;
border-bottom: none }
#subscribe a#close {position: absolute; background: url(../../images/mail/close.gif) no-repeat; width: 10px; height: 10px; right: 18px; top: 13px; cursor: pointer}
#subscribe input {border: 1px solid #d7d7d7; margin-left: 20px; margin-top: 6px; width: 160px; position: relative;}
#subscribe button {background: none; border: 0px solid red; color: #6975b7; font-family: Tahoma;margin: 5px 0 0 130px; padding: 0 0 0 0;
background: url(../../images/mail/key.gif) no-repeat 0px 8px; padding-left: 15px; cursor: pointer;}
#subscribe p {margin:0px;padding: 0px; position: relative; }
#subscribe a {font-size: 11px; position: absolute; left: 20px; top: 8px; color: #6975b7}
#subscribe label {position: absolute; margin-left: 25px; color: #d7d7d7; font-family: Tahoma; font-size: 12px; top: 9px; left: 0px;}
#subscribe.closed {background: url(../../images/mail/bg_close.png) no-repeat;}
#subscribe.closed p, #subscribe.closed button {display: none;}
#subscribe.closed h4 {background: url(../../images/mail/open.gif) no-repeat 100% 12px; width: 175px;
border-bottom: 1px dashed #6975b7;}

#header {
  padding-left: 22px;
  background: #97a4e5 url(../../images/first/head_bg_main.jpg) no-repeat scroll right top;
  height: 170px;
  color: #fff;
  font-weight: bold;
}

#header #title { padding-top: 5px; }
#header h3 { font-size: 22px; margin: 0; }
#header h2 { font-size: 12px; margin: 0; }
#lang { font-size: 10px; height: 12px; margin-top: 10px; }
.menu { float: left; border-top: 2px solid white; margin-top: 18px; }
.menu a { font-size: 12px; margin-right: 18px; color: #FFF; }
.menu a.last { margin-right: 0px; }

.search { float: right; margin: 10px 170px 0 0; display: inline-block; *display: inline; }
.search input { margin-top: -1px; border: 1px solid #95A2E5; height: 18px; *margin-right: 3px; }
.search button { 
  background-color: #95A2E5;
  border: 1px solid #95A2E5;
  color: white;
  font-weight: bold;
  font-family: Tahoma;
  cursor: pointer;
}

.shadowl { background: url(../../images/update/bgshadow.gif) 15px top repeat-y; padding: 0 19px 0 27px; }
.shadowr { background: url(../../images/update/bgshadox.gif) right top repeat-y; padding-right: 11px; }

.center { *margin-right: -4px; margin-left: 8px; margin-left: 412px; margin-right: 198px;}
#helpme { margin-top: 15px; text-align: center; display: inline-block; *display: block; }
#content { background: white; padding: 4px; zoom: 1; }
#onright { width: 170px; float: right; padding: 8px 8px 0 8px; text-align: center; }
#onright img { margin-bottom: 8px; }
#onleft { width: 404px; float: left; margin-right: 8px; display: inline-block; *display: inline; }

#news { padding-bottom: 6px; overflow: hidden; float: left; font-size: 1em; }
#news .news-item { background: url(../../images/update/sp.png) 100% 100% repeat-x; margin: 3px; padding: 8px 5px; }
#news .date { background: #ccc; font-weight: bold; font-size: 10px; color: #FFF; padding: 2px 5px; display: inline-block; }
#news h3 { color: #000; font-size:13px; margin-top: 0; margin-bottom: 10px; margin-top: 10px; }
#news img { float: left; margin-right: 7px; margin-top: -52px; margin-left: 10px;}
#news p { color:#404040; font-size: 0.85em; margin-bottom: 0; padding: 0px; }
#news p.text {margin-right: 50px; margin-bottom: 10px;}

#news p.text, #news h3, #news .date { margin-left: 270px; }

.box { 
  border: 2px solid #c0cde6;
  -moz-border-radius: 5px;
  border-radius: 5px;
  behavior: url(PIE.htc);
  margin-bottom: 8px;
  position: relative;
}

.box h4 {background: #dfe4fe; text-align: center; color: #6975b7;  
font-size: 1em; margin: 5px 0 0 0; padding: 2px 0 2px 0;}

.cleft {background: url(../../images/copyleft.png) 15px top no-repeat;padding: 0 19px 0 29px; }
.cright {background: url(../../images/copyright.png) right top no-repeat;padding-right: 14px;}

#footer { height: 43px; background: url(../../images/update/copybg00.gif) repeat-x; padding-top: 13px; white-space: nowrap; }
#footer img { margin: 1px 10px; }

.copy{ font-size: 9px; color: #666666; margin-left: 6px; margin-top: 0px; text-align: center;}

/* Содержание */

#events { width: 400px; float: left; padding: 0px; }

#events div { margin: 5px; font-size: 0.85em; color: #404040;
background: url(../../images/update/sp.png) 100% 100% repeat-x; padding-bottom: 8px;}

#events div h3 {background: url(../../images/update/rightarr.gif) no-repeat; color: #6975b7;
text-indent: 12px; font-size: 1.1em; margin: 6px 0 2px 0; }

#resources {width: 400px; height: 220px; float: left}

#header a, #resources a { text-decoration: none; }


.clearfloat {
  clear:both;
  height:0;
  font-size: 1px;
  line-height: 0px;
}
/* Ресурсы */
#resources h5{ font-size: 0.75em; color: #6975B7; }
#resources h5 {margin: 0 0 6px 0px; text-align: center; }
#resources a {color: #666; font-weight: bold; font-size: 0.75em;}
#resources table{ margin-bottom: 5px; width: 100%;}
#resources table td {width: 50%; padding-left: 8px;}
#resources table td h5 { font-size: 0.7em; }
td.left {border-right: 1px solid #b1bcf5;}

#resources table a { display: block; margin: 2px 0 5px 20px; }
.list {text-align: center; background: url(../../images/update/sp.png) 100% 100% repeat-x; margin: 0 5px 5px 5px;
padding: 10px 0 10px 0px; }

p.bottom { background: url(../../images/update/sp.png) 0% 0% repeat-x; }

.list a.first{background: none; padding-left: 0px;}
.list a {background: url(../../images/update/pxblue.png) -2px 4px no-repeat; padding-left: 5px; margin-right: 2px;}

/* Опрос */



.opinion, .subs { float: left; width: 194px; padding:0; }
.opinion { margin-right: 8px; }

.text {
    color: #404040;
    font-size: 0.85em;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-top: 10px;
}

.submit { background-color: #dfe4fe; margin-bottom: 8px; height: 13px; }
.submit a { 
  font-weight: bold;
  color: #6975b7;
  background: #FFF;
  height: 13px;
  float: right;
  margin-right: 8px;
  padding: 0 6px;
  line-height: 11px;
  font-size: 11px;
  text-decoration: none;
}

#modal {z-index: 1000;}

