/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,button,p,blockquote,th,td{margin:0;padding:0}
table{border-collapse:collapse; border-spacing:0; }
fieldset,img{border:0}
address,caption,cite,code,dfn,th,var{font-style:normal;font-weight:normal}
ol,ul{list-style:none}
caption,th{text-align:left}
h1,h2,h3,h4,h5,h6{font-size:100%;}
q:before,q:after{content:''}
abbr,acronym{border:0}
td { vertical-align: top; }

html, body { height:100%; }
.body { text-align:center; font: normal 14px/17px Arial; color: #565656; background: #96b3c6 url(../img/bg.jpg) repeat-x left top; }
img { }
a { color: #004ea5; }
a:hover { color: #cc0026; }
p { text-align: left; margin: 8px 0px; }
li {text-align: left;}

#container { position: relative; text-align: left; height: 100%; min-height: 100%; width: 100% !important; width: auto; min-width: 996px; width: expression(document.body.clientWidth > 996 ? "100%" : "996px"); /* Ширина для IE6 */ }
#container td { }
td.td1 { height: 14px; }
td.td2, td.td3 { width: 20px; }
#footer { height: 90px; padding: 20px 20px 0px 20px; }
td.td21 { height: 184px; width: 5px; background: #ffffff url(../img/tbl-lt.jpg) no-repeat left top; }
#header { height: 127px; background: #ffffff url(../img/tbl-t.jpg) repeat-x left top; }
td.td22 { height: 184px; width: 5px; background: #ffffff url(../img/tbl-rt.jpg) no-repeat right top; }

td.td31 { width: 5px; background: #ffffff; }
#wrapper { background: #ffffff url(../img/tbl-b.jpg) repeat-x left bottom; padding: 8px 8px; }
td.td32 { width: 5px; background: #ffffff; height: auto; }
td.td41 { height: 180px; width: 5px; background: #ffffff url(../img/tbl-lb.jpg) no-repeat left bottom; }
td.td42 { height: 180px; width: 5px; background: #ffffff url(../img/tbl-rb.jpg) no-repeat right bottom; }

#head { height: 116px; padding: 11px 22px 0px 29px; }
#logo { position: relative; float: left; height: 21px; margin: 0px 0px 4px 10px; 
font: normal 19px/21px Arial; color: #000000; text-decoration: none; }
#dir { float: left; clear: left; }
#dir span { font: normal 14px/19px Arial; background: url(../img/arrow.gif) no-repeat left 5px; clear: both; padding-left: 10px; float: left; color: #605f5f; }

#partners {position: relative; float: right; height: 100px; width: 105px;  height: 100px; width: 105px; background: url(../img/partners.jpg) no-repeat left top; }
#partners2 { position: relative; float: right;height: 100px; width: 105px; background: url(http://www.cig-development.ru/ris3/ab.jpg) no-repeat left top; padding-right:8px}
#partners3 { height: 100px; width: 105px; background: url(../img/partners.jpg) no-repeat left top; }
#ppp { position: relative; float: right; height: 100px; width: 350px;text-align:left }
#gallery { position: absolute; left: 50%; margin-left: -434px; display: block; height: 100px; width: 539px; background: url(../img/gallery-bg.jpg) no-repeat 220px top !important;  padding: 0px 0px 0px 220px; }

#t { height: 57px; background: url(../img/topmenu-bg.jpg) repeat-x left top; }
#topmenu { clear: both; height: 57px; padding: 0px 130px 0px 10px; }
#topmenu table { width: 100%; }
#topmenu td { vertical-align: middle; height: 57px; text-align: left; }
#topmenu td.sep { width: 10%; background: url(../img/sep.jpg) no-repeat center center; padding: 0px 2px; }
#topmenu a { font: bold 13px/15px Times New Roman; color: #4a4949; text-decoration: none; display: block; width: 114px; height: 37px; background: no-repeat left center;  }
#topmenu a.mainlevel-1 { background-image: url(../img/tmi1.jpg); }
#topmenu a.mainlevel-2 { background-image: url(../img/tmi2.jpg); }
#topmenu a.mainlevel-3 { background-image: url(../img/tmi3.jpg); }
#topmenu a.mainlevel-4 { background-image: url(../img/tmi4.jpg); }
#topmenu a.mainlevel-5 { background-image: url(../img/tmi5.jpg); }
#topmenu a.mainlevel-6 { background-image: url(../img/tmi6.jpg); }
#topmenu a.mainlevel-7 { background-image: url(../img/tmi7a.jpg); }
#topmenu a.mainlevel-8 { background-image: url(../img/tmi8.jpg); }
#topmenu a.mainlevel-1:hover, #topmenu a.mainlevel-1#active_menu { background-image: url(../img/a_tmi1.jpg); }
#topmenu a.mainlevel-2:hover, #topmenu a.mainlevel-2#active_menu { background-image: url(../img/a_tmi2.jpg); }
#topmenu a.mainlevel-3:hover, #topmenu a.mainlevel-3#active_menu { background-image: url(../img/a_tmi3.jpg); }
#topmenu a.mainlevel-4:hover, #topmenu a.mainlevel-4#active_menu { background-image: url(../img/a_tmi4.jpg); }
#topmenu a.mainlevel-5:hover, #topmenu a.mainlevel-5#active_menu { background-image: url(../img/a_tmi5.jpg); }
#topmenu a.mainlevel-6:hover, #topmenu a.mainlevel-6#active_menu { background-image: url(../img/a_tmi6.jpg); }
#topmenu a.mainlevel-7:hover, #topmenu a.mainlevel-7#active_menu { background-image: url(../img/a_tmi7a.jpg); }
#topmenu a.mainlevel-8:hover, #topmenu a.mainlevel-8#active_menu { background-image: url(../img/a_tmi8.jpg); }

#partnersbody { display: block; width: 302px; color: #0d0d0d; margin: 0px auto; }

#partners_err { color:#c4350f; font-size:11px; display: none; width: 302px; padding-bottom: 10px; }
#partners_module { width: 302px; }
#partners_module span { color: #15325c; font: normal 14px/13px Arial; width: 100px; text-align: left; display: block; float: left; }
#partners_module input { width: 200px; margin-bottom: 8px; float: left; font-size: 15px; }
#partners_module select  { width: 202px; margin-bottom: 8px; float: left; }
#partners_module input.submit { margin: 10px 0px 0px 50px; width: 202px; color: #15325c; font: normal 14px/17px Arial; }
#partners_module input, #partners_module select { border: 1px solid #444444; }

#mes { position: relative; float: right; display: block; width: 53px; height: 27px; background: url(../img/mes.jpg) no-repeat left top; margin: -43px 0px 0px 0px; right: 40px; }
#mesbody { display: none; width: 460px; color: #0d0d0d; position: absolute; left: 50%; border: 2px solid #444444; background: #ffffff; padding: 15px 0px; margin-left: -230px; }
#mesbody h3, #partnersbody h3 { font: normal 24px/27px Arial; text-align: center; padding-bottom: 10px; color: #363636; }
#mesbody a.close, #partnersbody a.close  { padding: 0px; display: block; background: #ffffff url(../img/close.jpg) no-repeat left top; width: 16px; height: 16px; margin: -12px 3px 0px auto; }

#feedback_module { width: 400px; padding: 0px 30px; }
#feedback_module span { color: #15325c; font: normal 14px/13px Arial; }
#feedback_module input { width: 300px; margin-bottom: 3px; clear: both; }
#feedback_module input.submit { width: 200px; color: #15325c; font: normal 14px/13px Arial; }
#feedback_module textarea { margin-bottom: 5px; font: normal 14px/17px Arial; width: 400px; letter-spacing: 1px; }
#feedback_module input, #feedback_module textarea { border: 1px solid #444444; }
#contact_err_0, #contact_err_1, #contact_err_2, #contact_err_3 { color:#c4350f; font-size:11px; display: none; }


#foo-l  { float: left; color: #ffffff; font: normal 11px/15px Arial; }
#leadline { float: right; margin-top: 5px; height: 39px; padding-top: 0px; width: 142px; background: url(../img/leadline.jpg) no-repeat right top; font: normal 11px/15px Arial; color: #e0ebf3; }
#leadline a { color: #ffffff; }

#left { width: 177px; float: left; padding-right: 10px; }
#maincontenttable { width: 700px; text-align: left; }
#maincontenttable2 { text-align: left; margin: 0px auto; }
#maincontenttable3 { width: 700px; }
#maincontenttable3 td { border: 1px solid #666666; padding: 1px 3px; font-size: 12px; color: #454545; text-align: center; vertical-align: middle; }
td.r { padding-left: 15px;  }
td.r div {text-align: left; clear: both; margin-bottom: 30px; font-size: 14px; width: 240px; }
td.r div#r4 { clear: both; }
td.r div#rin { height: 743px; }
#maincontenttable td { font-size: 13px; border: 1px solid #666666; padding: 2px 7px; }
#maincontenttable2 td, #contenttable td { border: 1px solid #666666; padding: 5px 7px; }

#left  div.module div { width: 177px; background: url(../img/leftmodule-bg.jpg) repeat-y left top; }
#left  div.module div div { width: 177px; background: url(../img/leftmodule-bottom.jpg) no-repeat left bottom; padding-bottom: 10px; }
#left  div.module div div div { width: 177px; background: url(../img/leftmodule-top.jpg) no-repeat left top; padding: 10px 0px 0px 0px; }
#left  div.module div div div div { width: 177px; background: transparent; width: 177px; font: normal 13px/15px Times New Roman; color: #4a4949; padding: 0px; }
#left  div.lmi a { color: #4a4949; display: block;  width: 167px; padding: 3px 5px; margin: 1px 0px; text-decoration: none; }
#left  div.lmi a:hover, .lmi-active { background: #a9bfcd; color: #ffffff; }

table.contentpaneopen { width: 100%; }
td.contentheading, div.componentheading-opyt { text-align: left; font: bold 21px/23px Arial; color: #3d3d3d; padding-bottom: 15px; }
a.ri { font-size: 13px; display: block; background: url(../img/ri.jpg) no-repeat 3px 4px; padding-left: 18px; width: 140px;text-align:left }
a.ri:hover { background: url(../img/ri_a.jpg) no-repeat 3px 4px;text-align:left}

#left  div.lmi span a.close, #maincontenttable span a.close , #maincontenttable2 span a.close  { padding: 0px; display: block; background: #ffffff url(../img/close.jpg) no-repeat left top; width: 16px; height: 16px; margin: -12px -7px 0px auto; }

.active { display: block; }
div.lmi span, #maincontenttable span, #maincontenttable2 span {  color: #0d0d0d; text-align: left; overflow: auto; display: none; width: 280px; position: absolute; border: 2px solid #444444; background: #ffffff; padding: 15px 10px; font: normal 14px/17px Arial; }
div.lmi span h1, #maincontenttable span h1, #maincontenttable2 span h1 { font: normal 24px/27px Arial; padding-bottom: 10px; color: #363636; }
div.lmi span #contenttable  td { border: 1px solid #dededd; padding: 3px; }

table.blog-opyt { width: 745px; }
table.contentpaneopen-opyt { margin-bottom: 25px; }


#wrapper ul { list-style: disc; margin-left: 15px; }

