/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,button,input,textarea,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;}strong{font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup,sub{line-height:-1px;vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}a{text-decoration:none;}iframe{border:0}em{font-style:italic}

body {
  background: transparent url(../img/fondo.gif) top left repeat;
  font-family: "Arial", "Verdana", "Tahoma", sans-serif;
  font-size: 12px;
  color: #333;
}

#main {
  width: 880px;
  margin: 0 auto;
  overflow: auto;
  background-color: #e8e6e7;
  margin-bottom:10px;
}
/* header */
#header {
  background: transparent url(../img/header_bg.png) top left no-repeat;
  height: 147px;
  width: 880px;
  margin: 15px auto 0 auto;
  border-bottom: 1px solid #e8e6e7;
 }
.logo{
  float: left;
  padding: 22px 58px; 
  display: block;
}
.contact {
  color: white;
  background: transparent url(../img/icons/contact.png) center left no-repeat;
  padding-left: 30px;
  margin-left: 91px;
  font-weight: bold;
}
a:hover.contact {
  text-decoration: underline;
}

/* content *****************************************************************/
#menu {
  clear: both;
  margin-left: 13px;
}
#menu li {
  float: left;
}
#menu li a {
  color:#0065AE;
  display:block;
  padding:4px 0;
  width: 115px;
  text-align: center;
}
#menu li a:hover {
 color: #489cd8;
}
/* activos */
body.inicio #menu li a.inicio,
body.institucional #menu li a.institucional,
body.integrantes #menu li a.integrantes,
body.aviacion-agricola #menu li a.aviacion-agricola,
body.links #menu li a.links {
  font-weight: bold;
}
 
/* content *****************************************************************/
#content {
  width: 586px;
  float: left;
  margin-left: 11px;
}
/* hoja verde o blanca */
#content div.white,
#content div.green {
  padding: 20px;
  color: #4e5051;
  min-height: 499px;
  overflow: auto;
}
#content div.green {background: #d4e8ba url(../img/green_content_bg.png) center bottom no-repeat}
#content div.white {background: white url(../img/white_content_bg.png) center bottom no-repeat}
/* datos tabulares */
#content table {
  width: 100%;
  margin-bottom: 20px;
}
#content table td {
  background-color: #fff;
  padding: 4px 8px;
  border-bottom: 3px solid #d4e8ba;
}
#content table td.first {
  font-weight: bold;
}
/* titulos primarios */
#content h1 {
  text-align: center;
  text-transform: uppercase;
  background-color: #86cc33;
  font-weight: bold;
  color: white;
  padding: 3px 0;
  margin-bottom: 4px;
}
body.inicio #content h1 {background-color:#F26414}
body.institucional #content h1 {background-color:#D68A25}
body.integrantes #content h1 {background-color:#EAB82D}
body.aviacion-agricola #content h1 {background-color:#47BFE6}
body.links #content h1 {background-color:#87D0D8}
body.congreso #content h1 {background-color:#}
body.localizacion #content h1 {background-color:#}
body.programa #content h1 {background-color:#}
body.curso-icendios #content h1 {background-color:#}
body.stands #content h1 {background-color:#}
body.inscripciones #content h1 {background-color:#}
body.galeria #content h1 {background-color:#}

/* titulos secundarios */
#content h2 {
  font-weight: bold;
  margin-bottom: 20px;
}
/* parrafos */
#content p {
 margin-bottom: 20px;
}
/* palabras enfatizadas dentro de los parrafos */
#content p strong {
 font-weight: bold;
 color: #666;
}
/* listas ordenadas y desordenadas (ol y ul) */
#content ul,
#content ol {
  margin-bottom: 20px;
  margin-left: 20px;
}
#content ul li,
#content ol li {
  margin-bottom: 10px;
}
#content ul li {
 list-style: upper-latin;
}
#content ol li {
 list-style: decimal;
}
/* imagenes */
#content img {
  margin-bottom: 18px;
}
#content ul.images {
  height: 146px;
  margin-left: 0;
}
#content ul.images li {
  float: left;
  margin-right: 15px;
  margin-bottom: 18px;
  list-style: none;
}
#content ul.images li.last {
  margin-right: 0;
}
body.ubicacion #content img {
  margin: 20px;
}
body.galeria #content ul.images {
  margin: 11px;
}
/* links */
#content a {
  color: #0065ae;
  text-decoration: underline;
}
#content a:hover {
 color: #489cd8
}
#content a.download {
 background: transparent url(../img/icons/download.png) center left no-repeat;
 padding-left: 21px;
 line-height: 19px;
 display: block;
}
 
/* sidebar ********************************************************************************/
#sidebar {
  float: right;
  width: 268px;
  margin-left: 4px;
  margin-right: 11px;
}
#sidebar h1 {
  text-align: center;
  text-transform: uppercase;
  background-color: #0065ae;
  font-weight: bold;
  color: white;
  padding: 3px 0;
  margin-bottom: 4px;
}
#sidebar h2 {
  font-weight: bold;
}
  
/* photoShow */
#photoShow {
	position: relative;
  height: 85px;
  margin-bottom: 4px;
}
#photoShow div {
	position:absolute;
	z-index: 0;
	top: 0;
	left: 0;
}
#photoShow div.previous {
	z-index: 1;
}
#photoShow div.current {
	z-index: 2;
}

 /* secondary-menu */
#secondary-menu {
 float: left;
 background: white url(../img/corner_topright.png) top right no-repeat;
 padding: 22px;
 margin-bottom: 4px;
}
#secondary-menu a {
  color:#0065ae;
  font-weight: bold;
  padding: 7px 5px 7px 20px;
  background: white url(../img/bullet.png) left 8px no-repeat;
  display: block;
  border-bottom: 1px solid #e6e8e9;
  width: 199px;
}
#secondary-menu a:hover {
  color: #86cc33;
}
/* activos */
#secondary-menu a.activo {
  color: #86cc33;
}

 /* noticia */
#sidebar .noticia {
 float: left;
 background: white url(../img/corner_bottomleft.png) bottom left no-repeat;
 padding: 22px;
}
#sidebar .noticia h2 {
  border-top: 3px solid #82c730;
  padding-top: 16px;
}
#sidebar .noticia p {
  border-bottom: 3px solid #82c730;
  padding-bottom: 16px;
}
#sidebar .noticia a {
  color: #0065ae;
  font-weight: bold;
  float: right;
  margin-top: 5px;
  font-size: 11px;
}
#sidebar .noticia a:hover {
 color: #489cd8;
}

/* footer */
#footer {
  float: left;
  width: 100%;
  height: 31px;
  border-top: 2px solid #0065ae;
  line-height: 31px;
  font-size: 11px;
  text-align: center;
  background: transparent url(../img/footer_bg.png) bottom center no-repeat;
  margin-top: 11px;
}
#footer a{
  color: #0065ae;
}
#footer a:hover {
 color: #489cd8;
 }
