/*************************************
 * TITLE: IAC Projects Stylesheet    *
 * URI  : project-iac.css            *
 * Based on Sinorca 2.0 style        *
 * MODIF: 2003-Apr-30 19:31 +0800    *
 *************************************/


/* ##### Common Styles ##### */

body {
  color: black;
  background-color: rgb(240,240,240); 
  font-family: verdana, helvetica, arial, sans-serif;
  font-size: 71%;  /* Enables font size scaling in MSIE */
  padding: 0;
  margin: 0;
}

html > body {
  font-size: 8.5pt;
}

acronym, .titleTip {
  border-bottom: 1px dotted rgb(153,153,153);
  cursor: help;
  margin: 0;
  padding: 0 0 0.4px 0;
}

.doNotDisplay {
  display: none;
}

.smallCaps {
  font-size: 110%;
  font-variant: small-caps;
}


/* ##### Headers ##### */
.superHeader {
  color: white;
  background-color: rgb(100,135,220);
  height: 2em;
  padding: 0;
  margin: 0;
}

.superHeader a {
  color: white;
  background-color: transparent;
  text-decoration: none;
  font-size: 91%;
  margin: 0;
  padding: 0 0.5ex 0 0.25ex;
}

.superHeader a:hover {
  text-decoration: underline;
}

.superHeader .left {
  position: absolute;
  left: 1.5mm;
  top: 0.75ex;
}

.superHeader .right {
  position: absolute;
  right: 1.5mm;
  top: 0.75ex;
}

/* Banner. Includes the IAC logo*/
.midHeader {
  padding: 0;
  margin: 0;
  height: 102px;
  background-color: #fff;
}

.midHeader .left{
  padding: 0;
  margin: 0;
  height: 102px;
  width: 300px;
  background: #fff url("banner_iac.gif") left no-repeat;
  float: left;
}

.midHeader .right{
  padding: 20px 0;
  margin: 0;
  height: 50px;
  width: 250px;
  float: right;
}

.midHeader .left_esp {
  padding: 0;
  margin: 0;
  height: 102px;
  width: 300px;
  background: #fff url("cabecera_iac.gif") left no-repeat;
  float: left;
}


.headerTitle {
  font-size: 337%;
  font-weight: normal;
  margin: 0 0 0 4mm;
  padding: 0.25ex 0;
}

/* Sub-Header (Home IAC, Home Projects, etc) */
.subHeader {
  color: white;
  background-color: rgb(0,51,153);
  margin: 0;
  padding: 1ex 1ex 1ex 1.5mm; 
  border-bottom: 5px solid rgb(100,135,220);
}

.subHeader a {
  color: white;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
  margin: 0;
  padding: 0 0.75ex 0 0.5ex;
}  

.subHeader a:hover {
  text-decoration: underline;
}

.superHeader .highlight, .subHeader .highlight {
  color: rgb(253,160,91);
  background-color: transparent;
}




/* ##### Default Side Bar ##### */

#menu {
	width: 15em;
	float: left;
	clear: left;
	border-right: 1px solid rgb(153,153,153);
        background-color: rgb(240,240,240); 
}

#menu div {
	border-bottom: 1px solid rgb(153,153,153);
	padding: 0;
}

.menuTitle {
  background-color: rgb(0,51,153);
  color: rgb(255,255,255); 
  font-weight: bold;
  margin: 0;
  padding: 1ex 1ex 1ex 1.5mm;
  border-top: 0px solid rgb(240,240,240);
  
}

.menuText {
  line-height: 1.5em;
  margin: 0 0 1em 0;
  padding: 0 1.5ex 0 2.5mm;
  display: block;
}

.espaciomenu {
  height: 1.5em;
  margin: 0;
  padding: 0;
}


#menu ul {
	list-style-type: none;
  	list-style-position: outside;
	margin: 0;
        padding: 0;
	background-color: rgb(240,240,240);  
	list-style: none;
}

#menu a, #menu h2  {
	font: 11px/16px arial, helvetica, sans-serif;
	display: block;
	border-width: 1px;
	border-style: solid;
	border-color: #bbb; 
	margin: 0;
        padding: 2px 12px;
	height: 1.5em;	
}


#menu h2 {
	color: rgb(0,102,204);; 
	background: #000;
	text-transform: uppercase;
}

#menu a {
	color: rgb(0,102,204); 
/*	background: #efefef; */
	background-color: rgb(255,255,255); 
	text-decoration: none;
}


#menu a:hover {
	color: white;
        background-color: rgb(100,135,220);;
        text-decoration: none;
/*	color: rgb(0,102,204);;
	background: #fff; */
}

#menu ul ul ul {
	position: absolute;
	top: 0;
	left: 0;	
}

#menu li {
	position: relative;
}

#menu ul ul ul {
	position: absolute;
	top: 0;
	left: 100%;
	width: 100%;
}

div#menu ul ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}


/* ##### Another Side Bar (Old Version, vertical drop) ##### */

#side-bar {
  width: 15em;
  float: left;
  clear: left;
  border-right: 1px solid rgb(153,153,153);
}

#side-bar div {
  border-bottom: 1px solid rgb(153,153,153);
}

.sideBarTitle {
/*  border-bottom: 1px solid rgb(153,153,153);*/
  background-color: rgb(0,51,153);
  color: rgb(255,255,255);
  font-weight: bold;
/*  margin: 0 0 0.5em 2.5mm;
  padding: 1em 0 0 0;*/
  margin: 0;
  padding: 1ex 1ex 1ex 1.5mm;
  
/*  background-color: rgb(153,153,153);*/
}


#side-bar ul {
  list-style-type: none;
  list-style-position: outside;
  margin: 0;
  padding: 0 0 1.1em 0;
  background-color: rgb(255,255,255); 
  list-style: none;
}

/*li ul {
    display: none;
}
li:hover > ul {
    display: block;
}*/

#side-bar li a {
  margin: 0;
  padding: 2px 3px 3px 16px;  
  color: rgb(0,102,204); 
  background-color: transparent;
  text-decoration: none;
  display: block;  
}


#side-bar li li a {
/*  margin: 0;
  padding: 2px 3px 3px 36px;  
  color: rgb(0,52,154);
  background-color: transparent;
  text-decoration: none;
  display: block;*/
  position: absolute;
  left: 20px;
  top: 50px;
}

/*#side-bar a, .thisPage {
  color: rgb(0,102,204);
  background-color: transparent;
  text-decoration: none;
  margin: 0;
  padding: 0.75em 1ex 0.75em 5mm;
  display: block;
}*/

.thisPage {
  color: black;
  background-color: white;
  padding-left: 4mm;
  border-top: 1px solid rgb(153,153,153);
  border-bottom: 1px solid rgb(153,153,153);
}

#side-bar a:hover {
  color: white;
  background-color: rgb(100,135,220);
  text-decoration: none;
}

.sideBarText {
  line-height: 1.5em;
  margin: 0 0 1em 0;
  padding: 0 1.5ex 0 2.5mm;
  display: block;
}

#side-bar .sideBarText a {
  text-decoration: underline;
  margin: 0;
  padding: 0;
  display: inline;
}

#side-bar .sideBarText a:hover {
  color: rgb(0,102,204);
  background-color: transparent;
  text-decoration: none;
}

.lighterBackground {
  color: inherit;
  background-color: white;
}


/* ##### Main Copy ##### */

#main-copy {
  color: black;
  background-color: white;
  text-align: justify;
  line-height: 1.5em;
  margin: 0 0 0 15em;
  padding: 0.5mm 5mm 5mm 5mm;
  border-left: 1px solid rgb(153,153,153);
}

#main-copy p {
  margin: 1em 1ex 2em 1ex;
  padding: 0;
}

#main-copy a {
  color: rgb(0,102,204);
  background-color: transparent;
  text-decoration: underline;
}

#main-copy a:hover {
  text-decoration: none;
}

#main-copy h1 {
  color: white;
  background-color: rgb(100,135,220);
  font-size: 100%;
  font-weight: bold;
  margin: 3em 0 0 0;
  padding: 0.5ex 0 0.5ex 1ex;
}

#main-copy h2 {
  color: white;
  background-color: rgb(100,135,220);
  font-size: 160%;
  font-weight: bold;
  margin: 1.5em 0 0 0;
  padding: 0.5ex 0 0.5ex 1ex;
}

#main-copy .topOfPage {
  color: white;
  background-color: transparent;
  font-size: 91%;
  font-weight: bold;
  text-decoration: none;
  margin: 2.5ex 1ex 0 0;  /* For MSIE */
  padding: 0;
  float: right;
}

#main-copy > .topOfPage {
  margin: 2.75ex 1ex 0 0;  /* For fully standards-compliant user agents */
}

dl {
  margin: 1em 1ex 2em 1ex;
  padding: 0;
}

dt {
  font-weight: bold;
  margin: 0 0 0 0;
  padding: 0;
}

dd {
  margin: 0 0 2em 2em;
  padding: 0;
}


/* ##### Footer ##### */

#footer {
  color: white;
  background-color: rgb(100,135,220);
  font-size: 91%;
  margin: 0;
  padding: 1em 2.5mm 2.5ex 2.5mm;
  clear: both;
}

#footer .left {
  line-height: 1.45em;
  float: left;
  clear: left;
}

#footer .right {
  text-align: right;
  line-height: 1.45em;
}

#footer a {
  color: white;
  background-color: transparent;
  text-decoration: underline;
}

#footer a:hover {
  text-decoration: none;
}

/* Mega-lista de directorios */
#megacontainer { 
  background-color: rgb(255,255,255);
  padding: 1.5ex 1px 1.5ex 30px;
  border-bottom: 1px solid rgb(153,153,153);
}

#megalist
{
list-style-type: none;
padding: 0;
margin: 0;
}

#megalist li
{
display: inline;
padding: 0;
margin: 0;
}

#megalist li:before { content: " "; }
#megalist li:first-child:before { content: ""; }

/*IE workaround*/
/*All IE browsers*/
* html #megalist li
{
background-image: url("kk.gif");
background-repeat: no-repeat;
background-position: 0 50%;
padding: 0 0.5em 0 1em;
margin: 0 1em 0 -1em;
}

/*Win IE browsers - hide from Mac IE\*/
* html #megalist { height: 1%; }

* html #megalist li
{
display: block;
float: left;
}

/*End hide*/
/*Mac IE 5*/
* html #megalist li:first-child { background-image: none; }

