body {
  margin:0 auto;padding:0;width:100%;height:100%; min-width:1000px; 
  _width:expression((document.documentElement.clientWidth||document.body.clientWidth)<1000?'1000px':'auto');
  background-color:#000;
  background:#000 url(/img/fon1.jpg) repeat left top; 
  font-family: Arial,  sans-serif; 
  color: #000;
  font-size:80%;
}

html, body {height: 100%;}
#content { position: relative; min-height: 100%;}
* html #content {   height: 100%;}
#main {  padding-bottom: 70px; }

img {border:0;}
p {margin-top:0;}

a {color: #336699; }
a:hover {color: #336699;}
br.clear {clear:both;}
small {font-size:88%;}

a.phone {background:url(/img/phone_ico.gif) center left no-repeat; padding-left:20px; text-decoration:none;
color:#000 !important;}

a:hover.phone {background:url(/img/cursor-zoom.gif) center right no-repeat; 
background-color:#ccc;
padding:5px;
padding-left:20px;
padding-right:25px;

text-decoration:none;
}


#header {width:980px; margin:0 auto; height:160px;padding:35px 10px 0 10px;}

#top_r {float:right;padding-top:22px;}
#logo {float:left;}


#searchform {width:370px;text-align:right;background:url(/img/sform-bkg.png) no-repeat 0 0;height:25px;float:right;}
#searchform input {font-size:100%;border:0;margin:4px 26px 0 0;padding-right:4px;background-color:none;width:143px;}

ul#menu {float:right;width:185px;padding:10px 0 0 0;font-family: Arial; font-weight:bold;list-style:none;}

#menu li {padding-left:12px;}
#menu li:hover{background:url(/img/menu-ar.png) no-repeat  0 5px;} 

#menu li.act{background:url(/img/menu-ar-act.png) no-repeat 0 5px; _background:url(/img/menu-ar-act.gif) no-repeat 0 5px;}
 
#menu a{text-decoration:none;color:#fff;}

   
#menu li {_padding-left:0;}
#menu li a {_padding-left:12px;}



/* main content is here */
#inner {height:525px;}
#inner_w {width:980px;margin:0 auto;padding:10px;}

/* rounded window */
#rw {width:730px;padding:0;margin:0;background:transparent url(/img/w-top.png) no-repeat top left;}
#rww {width:730px;padding:0;margin:0;background:transparent url(/img/w-bottom.png) no-repeat bottom left;padding:13px 0 13px 0;}
#rwww {width:655px;padding:25px 35px 30px 35px;margin:0;border-left:5px solid #f4f4f4; _border-left:6px solid #f4f4f4;
background:transparent url(/img/w-bkg.png) repeat-y -5px 0px;

min-height:400px;
_height:400px;}


#inner table {border-collapse:collapse;}
#inner table td{padding:5px;vertical-align:top;}
#inner img {border:1px solid #fff;}

#page img {float:left; margin:0 !important;padding:0 5px 2px 0 !important; border:0 !important}

#page h2, h1{margin:0;padding:0 0 0px 0;font-size:170%;font-weight:normal; clear:left;}
#page h3{margin:0 !important;padding:5px 0 0px 0;font-size:130%; clear:left;}

#page p {padding:0;margin-top:4px;}

/*
#page div {display:block;text-align:center;padding:10px 0px 10px 0px;}
#page var {margin:0 auto;padding:7px 4px 7px 4px;display:block;background-color:#70767E;color:#fff;
font-size:85%;font-style:normal;}
*/

#page ul li {border:0px solid red;margin-top:5px;}

#page em {font-style:normal; background-color:#ccc;padding:0 3px 0 3px;}


#news {height:230px;background-color:#f1f1f1; overflow:hidden;}
#news_w {width:1000px; margin:0 auto;padding:0;color:#000;font-size:85%;}



/* carousel */

#news_w ul {margin: 0;padding:0; width: 10000px;position: relative;top: 0;left: 0; height: 240px;}

#news_w li a {text-decoration:none !important;color:#000 !important;}
#news_w li a:hover {text-decoration:underline !important;}

#news_w li { list-style:none; margin:0;padding:13px 10px 13px 10px !important;width:230px;height:180px;float:left;overflow:hidden;}
#news_w li strong {color:#036;display:block;padding-bottom:2px;}
#news_w li i {display:block;padding-bottom:2px;}

#news_w .previous_button {display:block;padding:0;width:120px;height:150px;float:left;font-size:400%;text-align:center;padding-top:80px;text-decoration:none;cursor:pointer;cursor:hand;}
#news_w .next_button {display:block;padding:0;width:120px;height:150px;float:left;font-size:400%;text-align:center;padding-top:80px;text-decoration:none;cursor:pointer;cursor:hand}

#news_w .next_button_disabled {color:#999;cursor:text;visibility:hidden;}
#news_w .previous_button_disabled {color:#999;cursor:text;visibility:hidden;}

#news_w .container {width:750px;height:230px;float:left; position: relative;overflow: hidden;}



    
#footer {  position: relative;height: 71px; margin-top: -70px; background:#000 url(/img/fon1.jpg) repeat-x  0 0;}
#footer div {width:980px; margin:0 auto; color:#fff;padding:0 10px 0 10px;}
#footer a {color:#fff;}
#footer table {width:980px;height:70px;}
#footer table td {vertical-align:top;padding-top:20px;_padding-top:15px;}

#footer .dev {padding-top:5px;font-size:85%;}
#footer #kmda {background:url(/img/kmda-logo.png) no-repeat 0 5px; padding:10px 0 15px 30px;}



/* inner pages */
#submenu2 {border:0px;border-collapse:collapse !important; font-size:85%;margin-right:20px;}

#submenu2 td {vertical-align:middle !important;margin:0;padding:5px 10px 5px 10px !important;text-align:center;
/*background-color:#D0CED2;*/
width:95px;overflow:hidden;
background:transparent url(/img/menu2-bkg.png) top left no-repeat;
}

#submenu2 td.sep {width:10px;background:none;padding:0 !important;}
#submenu2 td.act {/*background-color:#f4f4f4;*/ 
background:transparent url(/img/menu2-act-bkg.png) top left no-repeat;}

#submenu2 a{color:#666;font-weight:bold; text-decoration:none;}

    
#submenu2 td.prev {margin:0;padding:0;background:none !important;width:20px!important;font-size:250% !important;color:#fff;cursor:pointer;cursor:hand;}
#submenu2 td.next {margin:0;padding:0;background:none !important;width:20px!important;font-size:250% !important;color:#fff;cursor:pointer;cursor:hand;}

#submenu2 td.ctrl_dis {color:#555;cursor:text !important;visibility:hidden;}



    
#submenu {list-style:none;font-size:120%;font-style:italic;margin:-7px 10px 0 0; padding:0;}
#submenu li{border-bottom:1px solid #fff;padding:15px 10px 15px 10px;margin:0;text-align:center;}
#submenu li b{font-weight:normal;}
    
#submenu li.act {background:transparent url(/img/m-top.png) no-repeat 5px 7px; _background-position:6px 8px;padding:15px 0px 5px 5px;}
#submenu li.act a {color:#000;background:transparent url(/img/m-bottom.png) no-repeat bottom left; padding-bottom:8px;}
#submenu li.act a b{display:block;font-weight:normal;background:transparent url(/img/m-bkg.png) no-repeat 0px -5px;padding-right:15px; padding-left:10px;}

#submenu a {color:#fff;text-decoration:none;display:block;}



/* pagination */ 
.pagination {font-size:115%;padding:10px 0 0 0;}
.pagination blockquote {margin:0;padding:0 0 10px 0;font-size:100%;}
.pagination blockquote a {padding:5px;font-size:100%;}
.pagination blockquote a.disabled {color:#999;background-image:none;display:inline;}

.pagination a {padding:3px;font-size:115%;}
.pagination a.selected {background:#E8E9EC;color:#000;}
