body {background-color: #142954;font: 12px 'Tahoma', sans-serif;color: #666;}

p,ol,ul,dl,blockquote,form,pre {margin: 1em 0;}

body.first p.dotted {padding-bottom: 1.5em;background: url(../img/blue.dot.gif) repeat-x left bottom;}
body.first p.banners {padding-bottom: 1.5em;}
body.first div.banners {padding-bottom: 0.8em;padding-top: 0.8em;}

a {color: #32659a;}
body.first a {color: #fff;}

small {font-size: 10px;}

.blue {color: #4d95d9;}

#mainBox {margin: 0 auto;width: 1000px;}
body.first #mainBox {background: #0a265a url(../img/mainbox.bg.gif) repeat-x 0 296px;}

body.first #header {height: 296px; }
body.first .ru {background: url(../img/head1rubg.jpg) no-repeat;}
body.first .en {background: url(../img/head1enbg.jpg) no-repeat;}

body.second #header {height: 296px; }
body.second .ru {background: url(../img/head2rubg.jpg) no-repeat;}
body.second .en {background: url(../img/head2enbg.jpg) no-repeat;}

#header p.langs {position: absolute;right: 60px;top: 15px;margin: 0;}
#header p.langs, #header p.langs a, #header p.langs b {font: 9px/1.2em 'Verdana', sans-serif;color: #707070;}
#header p.subnav {position: absolute;right: 115px;top: 16px;margin: 0;width: 74px;height: 11px;background: url(../img/subnav.bg.gif) no-repeat;}
#header p.subnav a.home {position: absolute;left: 0;top: 0;width: 10px;height: 10px;}
#header p.subnav a.sitemap {position: absolute;left: 25px;top: 0;width: 11px;height: 11px;}
#header p.subnav a.contacts {position: absolute;left: 52px;top: 2px;width: 13px;height: 7px;}
#header p.subnav span {display: none;}
#header p.homelink {margin: 0;position: absolute;left: 0;top: 0;}
#header p.homelink a {display: block;width: 180px;height: 100px;}
body.first #header div.rel {height: 270px;}
body.second #header div.rel {height: 270px;}

#menu1 {height: 26px;}
#menu1 ul {display: block;height: 26px;margin: 0;padding: 0;list-style-type: none;font-size: 0;}
#menu1 ul li {display: inline;}
#menu1 ul li a, #menu1 ul li b {display: block;float: left;height: 26px;background-position: left top;background-repeat: no-repeat;}
#menu1 ul li.active a, #menu1 ul li.active b, #menu1 ul li a:hover {background-position: left bottom;}
#menu1 ul li a span, #menu1 ul li a b {display: none;}

#body {position: relative;width: 100%;margin: 0;}
body.first #body {background: url(../img/body.bg.gif) repeat-y;}
body.second #body {border-top: 34px solid #fff;background: #fff url(../img/border.px.gif) repeat-y 264px 100%;}

#lcol {float: left;width: 264px;}
#lcol .pad {padding: 18px 41px;}
body.first #lcol .pad {padding: 20px 24px 0 54px;}
#mrcol {float: left;width: 735px; overflow:hidden; }
#mrcol .pad {padding: 18px 29px 18px 53px;}
#mcol {float: left;width: 484px;}
#mcol .pad {padding: 18px 29px 18px 53px; }
body.first #mcol .pad {padding: 20px 50px 0;}
#rcol {float: left;width: 250px;}
#rcol .pad {padding: 18px 41px;}
body.first #rcol .pad {padding: 20px 40px 0;}

#menu23 {margin: 0 0 40px;}
#menu23 ul {display: block;margin: 0;padding: 0;list-style-type: none;line-height: 1em;font-size: 12px;}
#menu23 li {display: block;background: url(../img/menu2.dot.gif) repeat-x;}
#menu23 li.first {background: transparent;}
#menu23 ul ul {padding-left: 15px;background: url(../img/menu2.dot.gif) repeat-x left top;font-size: 11px;}
#menu23 a, #menu23 b {display: block;text-decoration: none;color: #666;font-weight: 400;}
#menu23 ul a, #menu23 ul b {padding: 7px 15px 9px;background: url(../img/menu2.bul.gif) no-repeat 0 50%;}
#menu23 ul .active a, #menu23 ul a:hover, #menu23 ul b {color: #32659a;background: url(../img/menu2a.bul.gif) no-repeat 0 50%;}
#menu23 ul ul a, #menu23 ul ul b {padding: 5px 16px 6px;background: url(../img/menu3.bul.gif) no-repeat 0 50%;}
#menu23 ul ul .active a, #menu23 ul ul a:hover, #menu23 ul ul b {color: #32659a;background: url(../img/menu3a.bul.gif) no-repeat 0 50%;}

#gradusnik {margin: 0 0 20px;font: 10px/1em 'Tahoma', sans-serif;}

#pageTitle h1 {margin: 0;font: 24px/1em 'Arial', sans-serif;color: #2c2c2c;}
#pageTitle {margin: 27px 0 15px;}

.contentZone img {float: left;margin: 4px 28px 7px 0;}
body.first h2 {margin: 35px 0 25px;font: 22px/1em 'Arial', sans-serif;color: #fff;}
body.first h3 {margin: 35px 0 15px;font: 22px/1em 'Arial', sans-serif;color: #fff;}

/*body.first #footer {margin-top: 63px;}*/

#footer {position: relative;padding-top: 63px;}
#footer form.search {position: absolute;left: 56px;top: 86px;margin: 0;width: 172px;height: 18px;overflow: hidden;}
#footer form.search p {margin: 0;}
#footer form.search p.txt {position: absolute;left: 0;top: 0;width: 141px;height: 16px;overflow: hidden;background-color: #fff;border: 1px solid #fff;border-right:0;}
#footer form.search p.txt input {display: block;margin: 1px 5px 0;width: 130px;font: 10px 'Tahoma', sans-serif;color: #2e669b;border:0;}
#footer form.search p.sbmt {position: absolute;right: 0;top: 0;width: 30px;height: 18px;}
#footer p.copyright {margin: 0 0 0 314px;padding: 16px 0 22px;width: 295px;color: #4d95d9;}
#footer p.copyright a {color: #4d95d9;}
#footer p.cycle {position: absolute;top: 83px;right: 76px;margin: 0;width: 135px;}
#footer p.cycle a {display: block;padding-left: 31px;background: url(../img/cycle.first.ico.gif) no-repeat 0 5px;color: #4d95d9;font: 10px 'Tahoma', sans-serif;text-decoration: none;}

body.second #footer {padding-top: 63px;background-color: #fff;}
body.second #footer form.search {border:solid 10px #eaf0f5; border-left:#eaf0f5 solid 15px; border-right:#eaf0f5 solid 15px; margin-left:-15px;}
body.second #footer form.search p.txt {background-color: #fff;border:solid 1px #346a9f;border-right:0;}
body.second #footer form.search p.txt input {color: #142954;}
body.second #footer p.copyright {margin: 0 0 0 319px;color: #666;}
body.second #footer p.copyright a {color: #666;}
body.second #footer p.cycle a {background: url(../img/cycle.second.ico.gif) no-repeat 0 5px;color: #666;}

#someLinks {margin: 1.5em 0 0;padding: 1.5em 0 0;background: url(../img/dia.bg.gif) no-repeat;}

/* Skachkov */
dl dt { padding-top: 10px; }
a.faq_link { text-decoration: none; border-bottom: dashed #32659a 1px; }
.content_image { width: 100px; float: left; margin: 10px; margin-left: 0; margin-right: 15px; height: 150px; }
img.no_float {margin: 4px 28px 7px 0;float:none;}

input.formItemText, select {border: solid 1px #cdcdcd; width:340px;}
textarea.formItemArea {border:solid 1px #cdcdcd; width:340px; height:70px;}
input.buttonSubmit {background:#1b3178; color: #fff; border:none;}
span.star {color:#f00;}

div.white p {color: #fff;}

/* Journal */

.journalItem { width:192px; margin-right:25px; float:left; margin-bottom:2.5em}
.journalItem img {margin-right:55px}
.clearFloat {clear:both }

/* Banners exchng */
.bannersExch img { padding:0px;margin:0px; } 
.bannersExch input { margin-bottom:5px; width:160px; border:#999999; border-style:solid; border-width:1px; padding:5px; font-size:10px; color:#999999 } 
.bannersExch a, .bannersExch a:hover, .bannersExch a:visited { text-decoration:none; border-bottom:#0066CC dashed 1px;}

/* Other */
.mainRssLnk { margin-left:10px; }

/* 404 styles */
.nofound_body {background:#FFFFFF;}
.nofound_mainCell {vertical-align:top; background:url(../img/logoPart404.jpg) right bottom no-repeat;}
.nofound_resizer {width:900px; height:1px; margin:0 auto;}
.nofound_container {width:60%; margin-left:15%; margin-top:50px;}
.nofound_logo {height:65px; width:114px; margin-bottom:40px; background:url(../img/aepLogo.jpg) no-repeat;}
.nofound_logo a {display:block; height:100%;}
.nofound_data {margin-left:70px;}
.nofound_data h1 {color:#045fa3; font-size:2.1em; font-weight:normal; margin-bottom:8px;}
.nofound_data h2 {color:#666666; font-size:1.7em; margin-bottom:40px; font-weight:normal;}
.nofound_data p {font-size:1.2em;}
