/* AVANTIC_DIV 3-jul-2006 */
/* Victor M. Duran */
/* COLORES */
/* Marron: 760001 -> 666*/
/* Amarillo: FFE04A -> DDD*/
/* amarillo fondos: FFF1AE -> E6E6E6*/
/* Azul-imagenes: 39F */
/* Gris-texto: 666 */
/* Gris-bordes: CCC */
/* Blanco-fondos: FFF */
/* Rojo: CC3433 */

/*******************************/
/***        GENERAL SETTINGS         ***/
/*******************************/

* {
   font-family: "Trebuchet MS", "Verdana", "Arial", "Helvetica", sans-serif;
}

	/* Fix a silly bug in Mozilla */




html { 
    min-width: 800px;
}

img, div { 
    display: block;
    border: 0;
}
.hide, .alt {
    display: none;
}
.spacer {
    border: 0;
    margin: 0;
    padding: 0;
    clear: both;
    background: transparent;
}

.ruler {
    margin: 0 5px;
    border-top: 2px solid;
    padding: 0;
    clear: both;
    color: #CCC;
    background: transparent;
}

    /* general settings*/

body {
     margin: 0;
     padding: 0;
     border: 0;
     text-align: center;
     font-size: 13px;
     background-color: #FFF;
}

p, td, li, ul, ol, h1, h2, h3, h4, h5, h6, pre  {
     margin: 0;
     padding: 0;  
     word-spacing: 0.1em;
     color: #666;
     background-color: transparent;
}

p, td, li, pre  {
     line-height: 1.2em;
}

h1, h2, h3, h4, h5, h6 {
     /*font: 1em Georgia, "New Century Schoolbook", Times, serif; */
     line-height: 1.1em;
}

li {
    list-style: square;
}

a:link, a:visited {
    text-decoration: none;
    font-weight: bold;
    color: #666;
}
a:hover, a:active {
    text-decoration: underline;
    font-weight: bold;
    color: #666;
}

#content .sombra_imagen img {
   padding: 0 5px 5px 0;
   background: transparent url(images/sombra_imagen.gif) bottom right no-repeat;
}


/*******************************/
/***        TOP OF THE PAGE           ***/
/*******************************/


#wrapper {
    margin: 0 auto;
    padding: 0;
    border: 0;
    width: 1000px;
    position: relative;
    top: 0;
    left: 0;
    text-align: left;
}

#header {
    margin: 0;
    border: 0;
    height: 70px;
    width: 1000px;
}

#header h1 {
  padding-left: 170px;
  padding-top: 40px;
  font-size: 1.85em;
  color: #666;
}

#quick-links {
   float: right;
   text-align: right;
   height: 16px;
}

#quick-links a img{
   display: inline;
   margin: 4px 5px 0 5px;
   border: 0;
}

#headwrap  {
  float: left;
  cursor: pointer;
  background: transparent;
}

#banner-cabecera {
   float: right;
}

/*******************************/
/*** Main Navigation - Menu horizontal ***/
/*******************************/

#mainnav {
  height: 20px;
  color: #000;
  background: transparent url(images/barra.jpg) bottom center no-repeat;
  padding-bottom: 6px;
  text-align: center;
  font-family: Georgia, "New Century Schoolbook", Times, serif;
}

#mainnav ul {
    float: right;
    margin-right: 23px;
}


#mainnav li {
    display: block;
    float: left;
    margin: 0;
    border: 0;
    padding: 4px 16px 0 16px;
    line-height: 1.2em;
}

#mainnav li.mn1, #mainnav li.mn1-act {
    border-left: 0;
}
div#mainnav .mn1{
    font-size: 1em;
    font-weight: normal;
}

#mainnav li.mn, #mainnav li.mn-act {
}

#mainnav a {
    font-size: 12px;
    letter-spacing: 0.1em;
    font-weight: bold;
    text-decoration: none;
	color: #000;
}
#mainnav a:hover,
#mainnav a:active {
    text-decoration: underline;
    color: #CC3433;
}

#mainnav .mn1-act a,
#mainnav .mn-act a{
    text-decoration: underline;
    color: #CC3433;
}
#mainnav .mn2{
    font-size: 0.9em;
    font-weight: normal;
}

#mainnav .mn1-act,
#mainnav .mn2-act {
    font-weight: bold;
}


/***********************/
/*      MENU IZDA            */
/**********************/
#menu-izda {
   margin-bottom: 5px;
   margin-top: 5px;
   padding-right: 5px;
   border-right: 1px solid #ccc;
}
.menu-izda1 {
   font-size: 1.05em;
   line-height: 1.2em;
   border: 1px solid #ccc;
   margin-top: 4px;
   background-color: #E6E6E6;
}

.menu-izda1 a:link,
.menu-izda1 a:visited,
.menu-izda1 a:active,
.menu-izda1 a:hover {
   font-weight: bold;
   padding-left: 20px;
   background: transparent url(images/menu_no.gif) 5px 5px no-repeat;
}
.menu-izda1-act {
   padding-left: 20px;
   margin-top: 5px;
   margin-bottom: 4px;
   background: transparent url(images/menu_act.gif)  5px 5px no-repeat;
   border-top: 1px solid #666;
   border-bottom: 1px solid #666;
   border-right: 1px solid #666;
   border-left: 1px solid #666;
   background-color: #aaa;
}

.menu-izda1-act a{
   font-weight: bold;
   color: #fff;
}

.menu-izda2 {
   padding-left: 28px;
}
.menu-izda2 a:link,
.menu-izda2 a:visited,
.menu-izda2 a:active,
.menu-izda2 a:hover{
   font-size: 0.9em;
   font-weight: normal;
}

.menu-izda2-act {
   padding-left: 23px;
}
.menu-izda2-act a{
   padding: 0 5px;
   font-size: 0.9em;
   font-weight: bold;
   font-style: italic;
   background-color: #eee;
}

#sidebar a {
    text-decoration: none;
}
#sidebar a:hover,
#sidebar a:active {
    text-decoration: underline;
    color: ##666;
}
#sidebar #anuncio {
   padding: 68px 35px 39px 43px;
   width: 127px;
   height: 176px;
   background: transparent url(images/recorte_avantic.jpg) top left no-repeat;
   overflow: hidden;
}
#sidebar #anuncio h1,
#sidebar #anuncio .bodytext,
#sidebar #anuncio .bodytext strong,
#sidebar #anuncio li,
#sidebar #anuncio .bodytext a {
   font-family: Times, serif, Georgia, "New Century Schoolbook";
   color: #736E32;
}

#sidebar #anuncio ul {
    margin: 0 0 0 15px;  
    border: 0;
    padding: 0;
    background-color: transparent;
}

#sidebar #anuncio li {
    margin: 0;
    border: 0;
    padding: 0 0 0 5px;
    list-style: square outside;
    marker-offset: 5px;
    line-height: 1.1em;
}


/**********************/
/*  Main-Container            */
/**********************/

div#main-container {
    float: left;
    background: transparent url(images/fondo_main_container.gif) bottom left no-repeat;
}


div#main-container .m_path {
 font-weight: normal;
 font-size: 80%;
}

div#main-container .m_path a {
  padding: 0 3px;
  color: #55F;
}

/*  Main > S I D E B A R */


div#sidebar {
    width: 210px;
    margin: 0 0 0 10px;
    border: 0;
    padding: 0 15px 0 15px;
    float: left;
    background-color: transparent;
    height: 380px;
}

div#sidebar h1 {
   font-size: 1.32em;
}
div#sidebar .bodytext {
   font-size: 0.875em;
}


/*  Content */

div#content {
    margin: 0;
    border: 0;
    padding: 3px 40px 15px 40px;
    width: 660px;
    float: left;
    min-height: 400px;
    overflow: visible;
    background: transparent url(images/fondo_content.jpg) no-repeat bottom right;
}

div#content h1#title {
  margin: 5px 0;
  padding: 5px;  
  border-bottom: 1px solid #a5a5aa;
  font-weight: normal;
  font-size: 1.4em;
  color: #55F;
  background-color: #eee;
}

div#content .csc-header h1,
div#content .csc-textpicHeader h1 {
  color: #555;
  padding: 0 0 5px 5px;  
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 1.4em;
}
div#content h1 a {
  color: #555;
}

div#content h3 {                  
  margin: 0;
  border: 0;
  padding: 10px 0 0 0;  
  text-align: left;
  color: ##666;
  background-color: transparent;
  font-size: 6em;
  font-weight: bold;
  font-style: normal;
  line-height: 0.8em;
}

div#content h1#title {                  /*used for section title*/
  padding: 0;  
  text-align: right;
  font-size: 1.8em;
}

div#content h4 {   /*used for path-menu*/
  font-size: x-small;
  font-weight: normal;
}

div#content p {
  margin: 0;
  padding: 0 0 10px 10px;  
  font-size: 1em;
  background-color: transparent;
  line-height: 1.5em;
  text-align: justify;
}

img.img-text-wrap {
   margin: 0;
   border: 0;
   padding: 0;
}

div#content ul {
    margin: 0 0 0 60px;  
    border: 0;
    padding: 0;
    background-color: transparent;
}


div#content li {
    margin: 0;
    border: 0;
    padding: 0 0 0 5px;
    list-style: square outside;
    marker-offset: 5px;
    line-height: 1.5em;
}

div.border-right {
    margin: 0 4px 0 0;
    border: 0;
    border-left: 1px solid #666;  
    padding: 4px;
    position: relative;
    width: 30%;    
    background-color: transparent;
    font-style: italic;
    line-height: 1.5em;
}


/***************************/
/** SECONDARY CONTENT        **/ 
/***************************/

#secondary-content {
    margin: 0;
    border: 0;
    border-right: 1px solid ##666;
    padding: 15px;
    float: left;
    width: 169px;
    min-height: 400px;
	display: none;
}

#secondary-content h2.header {
  padding: 0 5px;
  margin: 4px 0 4px 0;
  background: #fff url(images/bg_head.gif) top left repeat-y;
}

#secondary-content h3 {
  margin: 0;
  border: 0;
  padding: 10px 0 0 0;  
  background-color: transparent;
}

#secondary-content p.bodytext  {
    text-decoration: none;
}

div#secondary-content div#nav2links h3 {
  padding: 0 0 0 20px;  
  background: transparent url(images/fleche.gif) left no-repeat;*/
}


#secondary-content ul  {
   margin: 0;
   padding: 0;
   padding-left: 20px;
}

#secondary-content li  {
  margin: 1em 0 1em 5px;
  padding-left: 15px;
  font-family: "Trebuchet MS", "Verdana", "Arial", "Helvetica", sans-serif;
  font-size: 1em;
  list-style: none;
  background: transparent url(images/cecoten.gif) left no-repeat;
  color: #666
}

#secondary-content a  {
   text-decoration: none;
}

#secondary-content DIV.csc-header csc-header-n2 {}
#secondary-content DIV.csc-header csc-header-n2 {}
#secondary-content DIV.csc-header csc-header-n2 {}

div#secondary-content div#nav2links h3 {
  font-size: 1.5em;
  font-weight: normal;
  line-height: normal;
}

#secondary-content h2 {
  padding-left: 15px;
  font-size: 1.3em;
}

#secondary-content h3 {
  font-family: "Trebuchet MS", "Verdana", "Arial", "Helvetica", sans-serif;
  font-size: 1em;
  text-align: left;
  color: ##666;
}

#secondary-content p.bodytext  {
  font-weight: normal;
  font-size: 0.9em;
  line-height: 1em;
}



/***************************/
/** FOOTER                            **/ 
/***************************/

#footer {
    border: 0;
    border-top: solid 1px ##666;
    margin: 0;
    padding: 0;
    width: 1000px;
    float: right;
    text-align: right;
    background-color: #FFF;
}

#footer p#footer-first-line {
   margin: 20px 20px 0 0;
}
#footer p#footer-legal  {
   margin: 0 20px 0 0;

}

p#footer-first-line {
    font-family: Georgia, "New Century Schoolbook", Times, serif;
    font-size: x-small;
    letter-spacing: 0.2em;
}
p#footer-legal,
p#footer-legal * {
    font-family: Georgia, "New Century Schoolbook", Times, serif;
    font-size: x-small;
}


/********************/
/** Especiales             **/
/********************/
#content p.csc-caption {
    margin: 0;
    border-top: 1px dotted #666;
    padding: 0;
    text-align: center;
    font-style: italic;
    font-size: 0.8em;
    /*font-size: x-small;*/

}


/***********/
/** TABLES **/
/***********/

.contenttable {
   margin: 8px 8px 15px 8px;
   text-align: center;
   border-collapse: collapse;
   border: 2px solid ##666;
}
.tr-odd td {
   background-color: #EEE;
}
.tr-even td {
   background-color: #FFF;
}
.tr-0 td {
   font-weight: bold;
   background-color: ##666;
   padding: 4px 4px 0 4px;
}

#content .tx-newloginbox-pi1 h3 {
  color: #666;
  padding: 0 40px;
  font-size: 2em;
  font-weight: normal;
  border-bottom: 1px dotted #666;
  line-height: 1.5em;
}

/* VCD ARCHIVE PLUGIN */
.tx-vcdarchive-pi1 img {
   display: inline;
}
.tx-vcdarchive-pi1 h1 {
   background-color: #ddd;
   border-bottom: 3px solid #999;
   border-right: 3px solid #999;
   border-left: 1px solid #999;
   border-top: 1px solid #999;
   padding: 2px;
   padding-left: 10px;
   margin-right: 20px;
}

/* MAILFORM */
.csc-mailform-field label {
   font-weight: bold;
   color: #666;
   width: 120px;
   text-align: right;
   display: block;
   float: left;
}
.csc-mailform-field input {
   height: 1.6em;
   padding: 0px 4px;
}
.csc-mailform-field select {
   height: 1.6em;
}
.csc-mailform-field input, .csc-mailform-field select, .csc-mailform-field textarea {
   margin-bottom: 6px;
   margin-left: 4px;
}

#flash {
   display: block;
   float: left;
   margin: 25px 35px 35px 0;
}

/* Arregla mal alineamiento de imagenes */

.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap {
  float: left;
  clear: left;
  margin-right: 2em;
}
.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
  float: right;
  clear: right;
  margin-left: 2em;
}
.csc-textpic-intext-left .csc-textpic-imagewrap {
  clear: left;
  float: left;
  margin-right: 2em;
}
.csc-textpic-intext-right .csc-textpic-imagewrap {
  clear: right;
  float: right;
  margin-left: 2em;
}

img.img-text-wrap {
  margin: .5em 1em 1em 2em;
}

img.incrustada {
  display: inline;
  padding: 0 5px;
}


/* LIGAS A ARCHIVOS */
.csc-uploads-fileName  a:link,
.csc-uploads-fileName  a:active,
.csc-uploads-fileName  a:visited,
.csc-uploads-fileName  a:hover{
	color: #CC0000;
	font-weight: bold;
	padding-right: 5px;
}
.csc-uploads-fileSize p{
	font-weight:bold;
}

#content .csc-uploads-fileName p {
  display: block;
  float: left;
  padding-left: 25px;
  background: transparent url(images/download.gif) top left no-repeat;
}
#content .csc-uploads-fileName p.csc-uploads-description {
  display: inline;
  width: 375px;
  background: none;
}
#content3 .tx-thmailformplus-pi1 form input#formular-submit {
  width: auto;
  display: block;
  float: right;
}

.tx-astcountdown-pi1 img {
  display: inline;
}

#ri_organisation #content img {
  display: block;
  float: left;
}
#ri_organisation #content a {
  padding-left: 5px;
}
#ri_organisation #content h3 {
  margin: 5px 0 0 0;
  padding: 4px 4px 4px 12px;
  font-size: 1.5em;
}