/******* GLOBAL VALUES ***********/
/** Green: #4d0 Orange: #f60 Yellow: #fd0 Dirty Yellow: #dd0 **/
hr { display: none; }
h3 { text-indent: 1px; font-size: 1.4em; font-weight: bold; letter-spacing: .06em; padding-bottom: 2px; border-bottom: 1px solid #f60; margin-bottom: 3px; }
h4 { font-size:1em; font-weight: bold; letter-spacing: .03em; text-decoration:underline; text-indent: 1px; }
em { color: #f60; font-style:italic;}
strong { font-weight: bold; }
blockquote { margin-left: 30px; }
input, textarea, button {
 font-family: verdana, arial, sans-serif;
 font-size: .9em;
 padding: 1px;
}

body { font-family: verdana, arial, sans-serif; font-size: .8em; background-color: #294229; background: #fff url(/ui/gfx/bg_body.png) repeat-x center top; }

#container { width: 943px; padding: 15px 0px 10px 17px; margin: 0px auto; background: #fff url(/ui/gfx/bg_container.png) 2px -7px; }

#header { height: 201px; background: transparent url(/ui/gfx/bg_header_nolang.png) no-repeat; margin-right: 17px;}

.toplinks { display: none; }

#logo { float: left; padding-top: 1px; width: 180px; }
#logo a { display: block; width: 180px; height: 105px; }

/** HIDE LANGUAGES **/
#languages { display: none; position: absolute; top: 171px; margin-left: 18px; }
#languages h4 { text-indent: -1000px; height: 0px; width: 0px; }
#languages li { float: left; margin-right: 9px;}
#languages a { display: block; height: 16px; width: 49px; text-indent: -99999px; background:url(/ui/gfx/shade_white.png);}


/** NAVIGATION **/
#nav_box { margin-left: 180px; }

/** Main Nav **/
#nav li { display: block; float: left; padding-top: 161px; padding-bottom: 4px; margin-right: 5px; }
#nav li { width: 105px; }
#nav li a { text-indent: -99999px; text-align: center; display: block; height: 16px; width: 99px; padding: 0px 3px;}

/** Line up the links **/
#nav #h { margin-right: 0px; }
#nav #g { margin-right: 4px; }
#nav #f { margin-right: 2px; }
#nav #l { margin-right: 3px;}
#nav #c { margin-right: 17px;}
#nav #dsmg { width: 186px; margin-right: 0px; }
#nav #dsmg a { width: 180px; }

/** Active Glow **/
#nav li.active { background: url(/ui/gfx/bg_header_nolang_glow.png) no-repeat; }
#nav li:hover,
#nav li.sfhover { background: url(/ui/gfx/bg_header_nolang_hover.png) no-repeat; } 
#nav li#h.active,
#nav li#h:hover,
#nav li#h.sfhover { background-position: -180px 0px; }
#nav li#g.active,
#nav li#g:hover,
#nav li#g.sfhover { background-position: -285px 0px; }
#nav li#f.active,
#nav li#f:hover,
#nav li#f.sfhover { background-position: -394px 0px; }
#nav li#l.active,
#nav li#l:hover,
#nav li#l.sfhover { background-position: -501px 0px; }
#nav li#c.active,
#nav li#c:hover,
#nav li#c.sfhover { background-position: -609px 0px; }
#nav li#dsmg.active,
#nav li#dsmg:hover,
#nav li#dsmg.sfhover { background-position: -731px 0px; }


/** Sub-Navigation **/
#nav li ul {
	position: absolute; 
	width: 12.5em;
	margin-top: 4px;
	left: -99999em;
}
#nav li:hover ul,
#nav li.sfhover ul {
	left: auto;
}
#nav li ul li {	clear: both;
        width: auto;
	padding: 0;
        background: #ff9933;
}
#nav li ul li:hover,
#nav li ul li.sfhover {
        background: #f82;
}
#nav li ul li:hover a,
#nav li ul li.sfhover a,
#nav li ul li a:hover  {
        color: #333;
}
#nav li ul li a {
	display: block;
 	clear: both;
	width: 11.9em;
	height: 1.4em;
	color: #222;
	padding: .2em .1em .2em .5em;
	border-width: 0px;
	text-indent: 0px;
	text-align: left;
	font-weight: bold;
	text-decoration: none;
        font-size: 1em;
        font-weight: normal;
}
#nav li#h ul { margin-left: 0px; }
#nav li#h ul li { width: 17em; }
#nav li#h ul li a { width: 16.4em; }
#nav li#g ul { margin-left: 11px; }
#nav li#g ul li { width: 9.1em; }
#nav li#g ul li a { width: 8.5em; }
/**Temporary Galeria Nav**/
#nav li#g ul li { width: 10.9em; }
#nav li#g ul li a { width: 10.1em; }
/**Temporary Galeria Nav**/
#nav li#f ul { margin-left: 14px; }
#nav li#f ul li { width: 13.1em; }
#nav li#f ul li a { width: 12.5em; }
#nav li#l ul { margin-left: 23px; }
#nav li#c ul { margin-left: 9px; }
#nav li#dsmg ul { margin-left: 8px; }
#nav li#dsmg ul li a { width: 12.8em; }

/** Sub-Sub-Navigation (!!?) **/
#nav li ul ul { float: left; margin: -1.9em 0 0 40em;}
#nav li:hover ul ul,
#nav li.sfhover ul ul { left: -999em; }
#nav li li:hover ul,
#nav li li.sfhover ul { left: auto; }
#nav li li li { 
   background: #ff3;
   border-color: #ff3;
  border-style: solid;
 border-width: 0px 0px;
}
#nav li:hover li li a { 
  color: #000; }
#nav li li li:hover,
#nav li li li.sfhover { 
  background: #000;
  border-color: #4d0;
}
#nav li li li a:hover {
  color: #4d0; }

#nav li#g ul ul { margin-left: 8.98em; }
#nav li#g ul ul li { width: 12em; }
#nav li#g ul ul li a { width: 11.4em;  }
#nav li#g ul ul li a:hover { width: 11.4em;  }


#main { background: url(/ui/gfx/bg_main.png) repeat-y; width: 943px;}
#content { height:360px; overflow: auto; float: right; width: 666px; padding: 0 17px 7px 0; }
#content h3,
#content p, 
#content blockquote,
#content ul,
#content ol { margin-bottom: 1em; }
#content ul,
#content ol { margin-top: -1em; }
#content h4 { margin-bottom: .2em; }
#content ul li { margin-left: 2em; background: url(/ui/gfx/ul_arrow.png) no-repeat left 1px; padding-left: 15px; }
#content ol li { margin-left: 3.3em; list-style-type: decimal; }


#sidebar { width: 230px;  background: #FF6600 url(/ui/gfx/bg_sidebar_header.png) no-repeat top right; }
#sidebar h2 { height: 29px; text-indent: -999px;}
#proximos { height: 65px; overflow: hidden; padding: 3px 5px 3px 10px;}
#proximos dt { font-weight: bold; font-size: 1em;}
#proximos dd { padding-left: 1.4em; font-size: .85em; padding-bottom: .3em;}
#weather { background: transparent url(/ui/gfx/bg_weather.png) no-repeat center top; height: 87px; margin: 4px 4px;}
#weather dt { float: left; width: 100%; text-align: center;height: 49px; overflow: hidden;}
#weather dd { float: left; color: #FDFF4F; font-weight: bold; font-size: 16px; blue; margin-top: 19px; width: 100%; text-align: center;}
#slideshow { width: 226px; height:168px; background: #000; margin-top: 0px; border: 2px solid black; }

#mainclear { clear: both; }

#footer { clear: both; width: 916px; margin-top: 10px; background: #4d0; padding: 0px 5px; height: 20px;}
#footer * { height: 20px; overflow: hidden;}
#footer_copyright { float: left; width:286px; text-indent: -99999px; background: url(/ui/gfx/bg_footer_copyright.png) no-repeat 8px 4px;}
#footer_update { float: right; margin-right: 7px; text-align: right;}
#update_text { display: none; }
#update_date { display:block; background:url(/ui/gfx/bg_footer_update.png) no-repeat 0px 0px; padding-left:147px; color:#edfce6; font-size:10px; padding-top:4px; height:16px;}


/** PAGE/SECTION SPECIFIC **/

#torn-dir #map {width:450px; height:350px; border: 1px solid black;float:left;}
#torn-dir #legend {margin-left: 460px;}
#torn-dir #legend dt,
#torn-dir #legend dd {float:left;height:32px;margin-top:20px;}
#torn-dir #legend dt {width: 42px;}
#torn-dir #legend dd {width: 140px;}