/**
    Cores
-------------
azul escuro: #003473
- sección actual: #1f3456
- outras seccións: #627fa3
- Azul medio: #3a61a1
- azul (mais brillante): #1c61bf (28 97 191)
- azul medio 2: #6784aa
- 
*/
/** 22  **/

* {
    padding: 0;
    margin: 0;
}
select {
    min-width: 1.5em;
}
.debug {
    background: #d46;
}
.hidden {
    display: none;
}
.missing {
    text-indent: -9999px;
    height: 0;
    font-size: 0px;
}
.discreto {
    font-size: .8em;
}
/*** Clearfix ***/
.clearfix:after {
/*  http://positioniseverything.net/easyclearing.html  */
 content: "."; 
 display: block; 
 height: 0; 
 clear: both; 
 visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

/* ***** */

body {
/*    background: #003473;*/
/*    color: #fff;*/
    font: 62.5%/1.55 "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
    padding: 0;
    margin: 0;
    text-align: center;
    background: #16243c;
/*    background: #3a61a1 url(/static/imx/event_list_first_bg.gif) top left repeat-x*/
}
a, a:link {
    text-decoration: none;
    color: #1c61bf;
    font-weight: bold;
}
a:visited {
/*    color: #6380a5;*/
    font-weight: normal;
}
a:hover {
    text-decoration: underline;
}
a img {
    border: none;
}
p {
    margin-bottom: 1em;
}
ul {
    margin: .5em 0 .5em 1em;
}
ul li {
    margin-bottom: .3em;
    padding-left: .5em;
}
dl {
    line-height: 1.7em;
}
dt {
    margin-top: .6em;
    font-weight: bold;
    color: #666
}
.info {
    background: #ffa;
    padding: .7em 1em 0 1em;
    border: 1px solid #eee;
}
ul.nav,
ul.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #f3f3f3;
    font-size: .9em;
    width: 100%;
} 
ul.nav li {
    margin: 0;
    padding: 0;
    display: inline; /* ie */
}
ul.nav li a,
ul.nav li a:link,
ul.nav li a:visited,
ul.nav li a:active
 {
    display: block;
    /*height: 1.5em;*/ /* ie */
    padding: .3em .5em;
    border-bottom: 1px solid #f3f3f3;
    font-weight: bold;
}
ul.nav li a:hover,
ul.nav li a.selected {
    /*height: 1.5em;*/ /* ie */
    background: #fafafa;
    color: #3a61a1;
    text-decoration: none;
}
ul.nav a.selected,
ul.nav a.selected:link,
ul.nav a.selected:visited,
ul.nav a.selected:active
 {
    color: #000;    
    font-weight: bold;
}
/*,
ul.nav li.selected a:link,
ul.nav li.selected a:active,
ul.nav li.selected a:hover {
    background: #3a61a1;
    color: #fff;
    border-bottom: none;
}*/
ul.nav ul {
    border-top: none;
}
ul.nav ul li a,
ul.nav ul li a:link,
ul.nav ul li a:active,
ul.nav ul li a:visited {
    padding-left: 1.5em;
    font-weight: normal;
}


#wrap {
    max-width: 960px;
    min-width: 750px;
    width: 960px; 
    margin: 0 auto;
    text-align: left;
    background: #fff;
    border: 1px solid #fff;
    border-width: 0 1px;
}
#header {
    height: 171px;
    background: transparent url(/static/imx/header_bg.gif) top left repeat-x;
}
#header h1 {
    width: 553px;
    height: 171px;
    background: transparent url(/static/imx/header_photo.jpg) top right no-repeat;
    float: left;
    margin: 0;
    padding: 0;
}
#header h1 img {
    border: none;
}
h1, h2 {
    letter-spacing: -0.03em;
    line-height: 1.4em;
    font-family: Georgia, "Times New Roman", Times, serif;
    margin: 1em 0;    
}
h3, h4, h5, h6, #sidebar h2,
#globalnav, #sitenav {
    font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
}
#main h2,
#home-sidebar h2 {
    font-weight: normal;
    font-size: 180%;
    font-style: italic;
}
#content #home-sidebar h2.apartado {
    margin: 1em 0;
}
h2 a,
h2 a:link,
h2 a:visited,
h2 a:active
{
/*    color: #627fa3;*/
    font-weight: normal;
}
h2 a:hover {
    color: #1f3456;
}
#page-header {
    padding: .5em 1.2em 1.2em 1.8em;
    margin-bottom: 2em;
    margin-right: -1.5em;
    margin-left: -2em;
    background: #fcfcfc url(/static/imx/event_list_first_bg.gif) top left repeat-x;
    border-bottom: 4px solid #adbcd1;    
}
#page-header h1 {
    margin: .3em 6em .3em 0;
    color: #333;
    font-size: 2.4em;
    font-weight: normal;
    letter-spacing: -0.03em;
    line-height: 1.4em;
    font-family: Georgia, "Times New Roman", Times, serif;
}
#page-header h1.seccion,
#page-header h1.seccion a {
    margin: 1em .6em .3em 0em;
    color: #666;
    font-family: inherit;
    font-size: 1em;
    text-transform: uppercase;
    font-weight: bold;
}


/***   Columnas   ***/
#content {
    margin: 0;
    font-size: 1.2em;
}
.colmargin {
    margin: 0 1.5em 0;
    padding-bottom: 3em;
}
#main .colmargin {
    margin-left: 2em
}
#home-sidebar .colmargin {
    margin: 0 1.5em 0 0;
}
.cols-2-1 #sidebar {
    float: left;
    width: 25%;
    margin-left: 75%;
    display:inline;
}
.cols-2-1 #sidebar .colmargin {
    margin-left: 0;
}
.cols-2-1 #main {
    float: left;
    width: 73%;
    margin-left: -100%;
    border-right: 1px solid #adbcd1;
    display: inline;
}
* html .cols-2-1 #sidebar {
    display: inline;
}

#s-inicio #home-sidebar {
    float: left;
    width: 40%;
    margin-left: 60%;
}
#s-inicio #main {
    float: left;
    width: 57%;
    margin-left: -100%;
}
#s-inicio #main .colmargin {
    margin: 0;
}
* html #s-inicio #home-sidebar {
    display: inline;
}
#sidebar h2 {
    margin: 1em 0 0 0;
    border-bottom: 2px solid #adbcd1;
    font-size: 140%;
    font-weight: normal;
    color: #333;
}

/***/
.columnas .col {
    width: 49%;
    float: left;
}
.columnas.w40-60 .col-1 {
    width: 40%;
    float: left;
}
.columnas.w40-60 .col-2 {
    width: 59%;
    float: left;
}

/***/

#content h2.apartado {
    font-size: 1.3em;
    padding: .2em .8em;
    margin: 0;
    background: #fafafa;
    color: #666;
}

#sitenav {
    list-style: none;
    padding: 0;    
    float: left;
    margin: 1em 1.5em;
    line-height: 1.7em;
}
#sitenav a {
    color: #fff;
}
#globalnav {
    margin: 1em 0 0 0;
    padding: 0 1em;
    list-style: none;
    border-bottom: 1px solid #adbcd1;
    font-size: 1.2em;
    line-height: 1em;
    height: 2em;
}
#globalnav li {
    display: inline;
    list-style: none;
    margin: 0;
}
#globalnav a,
#globalnav a:link,
#globalnav a:visited {
    color: #627fa3;
    font-weight: bold;
    text-decoration: none;
    padding: .5em 1em .7em 1em;
    border-bottom: 2px solid #fff;
}
#globalnav a:hover,
#s-inicio #nav-inicio a,
#s-programacion #nav-programacion a,
.s-instalacions #nav-instalacions a,
.s-congresos #nav-congresos a,
#s-pazo #nav-pazo a {
    color: #627fa3;
    border-bottom-color: #adbcd1;
}
#footer {
    color: #fff;
    background: #6380a5 url(/static/imx/footer_bg.jpg) top left repeat-x;
    border-top: 1px solid #1e3455;
    padding: 2em;
    clear: both;
}
#footer a {
    color: inherit;
}
#footer p {
    margin: .5em 0;
}
address {
    font-style: normal;
}
.modulo {
    background: #fcfcfc url(/static/imx/event_list_first_bg.gif) repeat-x scroll left top;
    border-bottom: 1px solid #CCC;
    border-top: 4px solid #adbcd1;    
}

#introducion {
    font-family: Georgia, Times, "Times New Roman", serif;
/*    background: #fafafa;*/
/*    padding: 2em;*/
    margin: 1em 0;
/*    padding: .5em;*/
    font-size: 1.2em;

}


/*** eventos ***/

#proximos-eventos h2 {
    clear: both;
    font-weight: bold;
    line-height: 1.5em;
}
#proximos-eventos h3 { /* data */
    width: 6.0em;
    float: left;
    font-size: .9em;
    color: #000;
    padding: 1em 0em 0em 0;
    text-align: center;
    text-transform: lowercase;
    background: #fff;
    line-height: 1em;
    border-top: 1px solid #f1f1f1;

}
#proximos-eventos h3 strong {
    color: #c00;
    display: block;
    clear: left;
    font-weight: normal;
    font-size: 2.5em;
    font-style: normal;
    line-height: 1em;
    width: 100%;
}
.vcalendar {
    margin-left: 6em;
    border: 1px solid #f1f1f1;
    border-width: 0 1px;
    font-size: .9em;
}
.vcalendar abbr {
    border: 0;
}
div.vevent,
.listado-item {
    padding: 1em .8em;
    border-top: 1px solid #f1f1f1;
    background: #fff;
}
div.vevent a.imx {
    text-align: center;
    border: 1px solid #fff;
    overflow: hidden;
    margin-bottom: .5em;

}
div.vevent h4 {
    font-size: 1.2em;
    font-weight: bold;
}
div.vevent.first {
    background: #fcfcfc url(/static/imx/event_list_first_bg.gif) top left repeat-x;
}
div.vevent.odd {
    background: #fcfcfc;
}
div.vevent .category {
    color: #666;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 0;
}
body.listado-eventos .vcalendar {
    margin: 0;
    border: none;
}
body.listado-eventos .vcalendar h2 {
    padding: .8em .8em 1em .8em;
    background: #fcfcfc url(/static/imx/event_list_first_bg.gif) top left repeat-x;
    border-top: 4px solid #adbcd1;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
/*    font-size: 1.5em;*/
    margin-bottom: 0;
}
body.listado-eventos .vevent h3 {
    font-size: 1.3em;
}
body.listado-eventos .vevent h4 {
    font-size: 1.2em;
}
.vevent .location {
    font-weight: bold;
}
body.listado-eventos .vevent p {
    margin: 0;
}
.vevent .location a:visited {
    color: inherit;
}
#modulo-eventos {
    border-bottom: 1px solid #adbcd1;
}
#modulo-eventos #proximos-eventos {
    border-bottom: 1px solid #f1f1f1;
}
p.mais {
    font-size: .9em;
    font-weight: bold;
    font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
}
#eventos-destacados p.mais {
    margin: 0 0 0 6em;
    padding: .5em;
}
/* primarios */
#eventos-primarios.vcalendar,
#eventos-secundarios.vcalendar {
    margin-left: 0;
    border: none;
}
    #eventos-primarios .vevent .imx {
        float: left;
        margin-right: 15px;
        text-align: left;
    }
    #eventos-primarios .vevent h4 {
        font-size: 1.6em;
    }
    #eventos-primarios .vevent h5 {
        font-size: 1.2em;
        color: #c00;
    }
    #eventos-primarios .vevent p {
        font-size: 110%;
    }
/* secundarios */
#eventos-secundarios {
    background: #fcfcfc url(/static/imx/event_list_first_bg.gif) top left repeat-x;
}
    #eventos-secundarios .vevent {
        width: 47%;
        float: left;
        background: transparent;
        padding: 1.5%;
    }
    #eventos-secundarios .vevent .imx {
        float: left;
        margin-right: 5px;
    }
    .dtstart .hora {
        font-weight: normal;
    }

/*** p:p-event-detail ***/
#p-event-detail .page-header {
}
    #p-event-detail  h2 {
        font-weight: bold;
        font-size: 1.4em;
    }
    #p-event-detail .main-info {
        float: left;
        width: 60%;
	display: inline;
    }
    #p-event-detail .extra-info {
        float: right;
        width: 39%;
        border-left: 1px solid #eee;
	display: inline;
    }
    #p-event-detail .main-info .colmargin {
        margin-left: 0;
    }


/** instalacions **/
#main img { /* ollo aos conflitos co mapa de Google Maps */
    float: left;
    padding: 5px;
    margin: 0 1em 1em 0;
    border: 1px solid #f3f3f3;
    background: #fafafa;
}
div.imx {
}
#main div.imx {
    float: left;
    margin: 0 1em 1em 0;
}
#main div.imx img {
    margin: 0;
}
div.imx p {
    clear: both;
    font-size: .5em;
    color: #999;
    margin: 0;
    padding: .3em;
/*    border: 1px solid #f3f3f3;*/
/*    background: #fafafa;*/
}
div.imx p a {
    color: inherit;
    display: inline;
    border-bottom: 1px dotted #ccc;
}
.s-instalacions h2 {
   clear: both;
}
#ubicacion {
    margin: 3em 0 1em 0;
    padding: 10px;
}
#ubicacion p {
    margin: 1em 0 0 0;
    font-weight: bold;
    font-size: .9em;
}
#map {
    overflow: hidden;
}
#map img {
    background: none !important;
}
#listado-instalacions .col {
    width: 31%;
    float: left;
/*    margin-right: 1.9%;*/
    text-align: center;
}
#listado-instalacions h2 {
    margin: .3em;
}
#listado-instalacions .col div { /*a foto*/
    width: 100%;
    height: 31%;
    border-bottom: 1px solid #f3f3f3;
    background: #fafafa;
    padding: 10px 0;
}
#listado-instalacions img {
    float: none;
    border: none;
    padding: 0;
    background: none;
    margin: 0;
}
#s-inicio #listado-instalacions .col {
    width: 33%;
    margin: 0;
}
#s-inicio #listado-instalacions h3 a {
    font-size: .9em;
    font-weight: bold;
}
/*#s-inicio #listado-instalacions .col {
    float: none;
    width: auto;
}
#s-inicio #listado-instalacions h2 {
    
}
#s-inicio #listado-instalacions .col div {
    width: auto;
    height: auto;
    margin: 1em;
    padding: 0;
}
#s-inicio #listado-instalacions img {
    float: left;
}*/
/** proveedores **/
.s-proveedor #map {
    margin: 15px;
/*    width: 100%;*/
    height: 300px;
}
.s-proveedor .info {
    font-size: .9em;
    margin: 15px;
}
.s-proveedor #map {
    margin: 15px;
}
.s-proveedor .desc {
    margin-top: 2em;
    font-weight: bold;
}




/* paxinación */
.paxinacion {
    font-size: 1em;
    margin: 1em 0;
    text-align: center;
} 
.paxinacion p {
    margin: .5em 0;
    font-weight: bold;
}
.paxinacion p.lista-paxinas {

}
.paxinacion p.lista-paxinas a {
    padding: .3em .5em;
    background: #fafafa;
    border: 1px solid #eee;
}
.paxinacion p.lista-paxinas a:hover {
    border: 1px solid #ccc;    
}
.paxinacion p.lista-paxinas strong {
    color: #666;
    padding: .3em .5em;
}


/*** táboas ***/
table {
    width: 100%;
    margin: 1em 0;
    border-collapse: collapse;
}
table caption {
    font: italic 1.3em Georgia, Times, "Times New Roman", serif;
}
table thead, table tfoot {
    background: #fafafa;
    font-size: .9em;
    text-transform: uppercase;
}
table tfoot {
    font-weight: bold;
    font-size: 1.1em;
}
table td,
table th {
    padding: .3em .5em;
    border-bottom: 1px solid #f3f3f3;
}
tbody th {
    border-color: #000;
    text-align: center;
}
thead th {
    padding: .8em .8em 1em .8em;
    background: #fcfcfc url(/static/imx/event_list_first_bg.gif) top left repeat-x;
    border-top: 4px solid #adbcd1;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
}
table td p {
    margin: 0;
}
table .tarifas {
    font-weight: bold;
}
