/* common elements */
* {margin:0; padding:0; border:none;}
ul, ol, li {list-style:none;}
table, td, th {border-collapse:collapse;}
a {text-decoration:underline; color:#ac4a00;}
a:hover {color:#a7a7a7;}
#content a {font-weight:bold;}
input.text, select, textarea {font-size:85%; color:#787878; padding:1px;}
p {margin-bottom:15px; line-height:1.3em;}

/* main layout */
body {background:white; color:#a7a7a7; font-size:11px; font-family:tahoma, sans-serif; min-width:1000px;}
#header { background:url(/template/i/bg/header.gif) repeat-x; position:relative; z-index:10; padding-right:380px;}
#header .content {background:url(/template/i/bg/logo.jpg) no-repeat; height:319px;}
#header .decor {text-indent:-100em; overflow:hidden; background:url(/template/i/bg/house.jpg); width:376px; height:360px;
  position:absolute; right:0; top:0;}
  
#footer {height:170px; background:url(/template/i/bg/footer.gif) 0 50px repeat-x; position:relative; z-index:10;}
  
#content {font-size: 12px; color: #454545; padding-right:327px; position:relative; z-index:1;}
#content .content {border-right:1px solid #D8D8D8; padding:40px 35px 20px 30px;}
#content .content a {display: block;}
#jot {position:absolute; top:60px; right:25px;}
  
/* header */
#header h1 {text-indent:-100em; overflow:hidden; position:absolute; visibility:hidden;}
#header h2 {position:absolute; left:457px; top:73px;}
#header .mainlinks {position:absolute; left:453px; top:130px; z-index:100;}

#header .homelink {position:absolute; left:315px; top:17px;}
#header .maillink {position:absolute; left:343px; top:19px;}

#portals {position:absolute; z-index:11; left:454px; top:255px; padding-right:10px; 
  background:#ac4a00; border-right:6px solid #ededed; border-left:3px solid #c0c0c0;}
#portals select {width:160px; height:18px; border:1px solid #c0c0c0;}

#header h3 {position:absolute; left:47px; top:185px;}
#news {padding-top:220px;}
#news div {float:left; width:218px; background:url(/template/i/bg/grey_line.jpg) repeat-x bottom; height:99px;}
#news div:first-child {background-image:url(/template/i/bg/red_line.gif);}
#news strong {display:block; color:#ac4a00; padding-left:32px; font-size:100%;
  background:url(/template/i/bullet.gif) no-repeat 18px center;}
#news p { color: #454545; font-size: 11px; font-weight: bold; margin:0 5px 0 18px; padding:5px 0; background:url(/template/i/bg/dotted_line.gif) repeat-x bottom;}
#news a {display:block; text-align:right; text-decoration:none; font-weight:bold; font-size:90%;
  margin:5px 10px 0 18px; padding-right:18px; background:url(/template/i/bullet_arrow.gif) no-repeat right center;}

/* footer */
#footer .mainlinks {position:absolute; left:0; top:33px;}
#footer .mainlinks li {float:left; padding:10px 0 40px; background:url(/template/i/bg/1px.gif) repeat-y right;}
#copy {background:url(/template/i/bg/copy.gif) no-repeat right; height:105px; 
  position:absolute; right:0px; bottom:11px; padding-top:73px; padding-right:180px; 
  font-size:90%; color:#7d7d7d; line-height:1.5em; /*white-space:nowrap;*/ text-align:right;}
#copy strong {color:#9a9a9a;}

#footer .homelink {position:absolute; left:305px; top:22px;}
#footer .maillink {position:absolute; left:333px; top:24px;}


a#elmuna {position: relative; border: 0px solid red; width: 130px; height: 50px; left: 250px; top: -50px; display: block; float: left;}


/* dynamic menu */
#header .mainlinks li {position:relative;} 
.mainlinks li ul {position:absolute; z-index:100; padding:0;
  background:#fff; display:none; left:90%; top:5px; border:1px solid #ac4a00; border-top:none;}
  
/* stupid IE doesn't understand tag>child construction */
.mainlinks li li, .mainlinks li li:hover {display:block; padding:5px 0;
  background:none; border:none; border-top:1px solid #ac4a00; }
.mainlinks li li a {font-size:.9em; display:block; white-space:nowrap; padding:0 15px;}


.mainlinks li:hover ul, .mainlinks li ul li:hover ul {display:block;  margin-left:-30px; margin-top:-.5em; }
.mainlinks li:hover ul ul {display:none;}
.mainlinks li ul ul {left:100%; margin-left:-5px; margin-top:-.8em; z-index:999; /*width:7em;*/}

#footer .mainlinks li ul { left:0; top:60px; border:none; width:300%; background:transparent;}
#footer .mainlinks li li {border:none; border-left:1px solid #fff; border-right:1px solid #fff; background:#b4b4b4; padding:10px 5px;}
#footer .mainlinks li li a {color:#fff;}


