/** =auxiliares */
.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 */

#debug {
	text-align: left;
	font-size: 10px;
	padding: 2em;
	
}
#debug td {
	padding: .5em 0;
}

/** =tipografía básica */

#header, #content, #footer,
p,h1,h2,h3,h4,h5,h6 {
	line-height: 1.5em; 
	font-size: 1em;
}
h1,h2 {
	margin: 1.5em 0;    
}
h3,h4,h5,h6 {
	margin: 0 0;
}
p {
	margin-bottom: 1em;
}
img {
    margin-bottom: 1em;
}

strong {
    font-weight: bold;
}
em {
    font-style: italic;
}

/** =links */

a,
a:link {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
}
p a:visited {
    border-bottom: 1px solid #ccc;
}
a:hover {
    background-color: #ffd22b;
}
a:active {
    background-color: #ffd22b;
}
a.imx, 
a.imx:link,
a.imx:visited,
a.imx:hover,
a.imx:active {
    border: 0;
    background: 0;
	display: block;
}
a.imx:focus, a.imx:hover, a.imx:active {
/*	http://blog.fryewiles.com/development/06-27-2008/fixing-the-red-dot-pixel-in-image-links-in-firefox-3*/
	outline: none;
}


/** =headers */

h1 {
    font-size: 1.5em;
    line-height: 1em;
    margin-top: 0;
    margin-bottom: 1em;
}
h2 a, h2 a:link, h2 a:visited,
h3 a, h3 a:link, h3 a:visited {
    color: inherit;
    text-decoration: none;
	border-bottom: none;
	background: none;
}
h2 a:hover, h3 a:hover,
h2 a:active, h3 a:active {
    text-decoration: underline;
	color: #000;
}

#content h1 {
    color: #333;
	margin-bottom: 1em;
/*    font-size: 2em;*/
}


/** =maquetación */

body {
    background: #ffd22b url(/static/imx/fondo_body.jpg) top left repeat;
	font-size: 75%;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
    text-align: center;
/*    background: #fff url(/static/imx/underline.gif) top left repeat;*/
}
html>body {
	font-size: 12px; 
}
#wrapper {
    width: 900px;
    text-align: left;
    margin: .5em auto 2em auto;
}
#langnav {
	font-size: .833em;
	text-transform: uppercase;
	font-weight: bold;
	text-align: right;
	margin-right: 15px;
	margin-bottom: 5px;
}
#langnav a {
	border: none;
}
#header, #content, #footer, #header h1 a {
/*    background: #ccc !important;*/

}
#header {
    margin-bottom: 0px;
}
#header h1 {
    margin-bottom: 0;
}
#header h1 a {
    display: block;
    width: 100%;
    height: 90px;
    text-indent: -9999px;
    font-size: 36px;
    background: #fff url(/static/imx/logo_ancho.jpg) top left no-repeat;
    line-height: 90px;
	border: none;
	outline: none;
}
#content {
    margin-top: 0;
    padding: 2em;
	background-color: #fff;
    background: #fff url(/static/imx/fondo_neutro.jpg) top left repeat;
    margin-bottom: 1px;
}
.cols-2 #content #principal {
    width: 66%;
    float: left;
}
.cols-2 #content #secundario {
    width: 33%;
    float: right; 
/*    margin: 3em 18px 0 36px;*/
}

.cols-1 #content {
	padding: 2em;
/*	background: #fff;*/
}

.cols-1 #content #principal {
	width: 100%;
	clear: both;
}
.cols-1 #content #secundario {
	width: 100%;
	clear: both;
}

#footer {
    background: transparent url(/static/imx/fondo_footer.jpg) top left no-repeat;
    padding: 30px 50px;
	font-size: .8em;
	text-align: center;
	color: #666;
}
#footer em {
	color: #ffd22b;
}
#footer abbr {
	border-bottom: none;;
}


/** =nav */

#globalnav {
/*	background-color: #fff;*/
    background: #fff url(/static/imx/fondo_neutro.jpg) top left repeat;
    text-align: center;
    width: 100%;
    line-height: 2.8245em;
    margin: 1px 0;
	text-transform: lowercase;
/*    margin-bottom: 1px;*/
}
#globalnav li {
    display: inline;    
	
}
#globalnav li a,
#globalnav li a:link,
#globalnav li a:visited,
#globalnav li a:active,
#globalnav li a:hover {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    padding: 0em 1em;
	border: none;
	background: transparent;
}
#globalnav li a:hover {
    text-decoration: underline;
}
.breadcrumbs {
    font-size: .833em;
	text-transform: lowercase;
    line-height: 1.8em;
    margin-top: .3em;
    color: #666;
}
ul.nav-horizontal {
    display: inline;
    margin-right: 1em;
}
ul.nav-horizontal li {
    display: inline;
}
.tool {
	text-transform: uppercase;
	font-size: .833em;
	font-weight: bold;
	color: #999;
}
.tool a {
/*	background: #fff;*/
	padding: .2em .5em;
	margin: .5em .5em 0 0;
	border: 1px solid #ccc;

}
#auxnav {
	line-height: 2.5em;
	float: right;
}
#auxnav li.diapo a,
#auxnav li.diapo a:link {
	background: #ffeca7 url(/static/imx/diapo.gif) 5px 3px no-repeat;
	padding: 5px 10px 5px 25px;
	margin: 0;
}
#auxnav li.diapo a:hover {
	background-color: #ffd22b;
}




/** bloques xenéricos */

.bloques-66-33 .bloque-1 {
	float: left;
	width: 70%;
}
.bloques-66-33 .bloque-2 {
	float: right;;
	width: 28%;
	padding-left: 1em;
}
.bloques-33-33-33 {
	clear: both;
}
.bloques-33-33-33 .bloque {
	float: left;
	width: 257px;
	height: 300px;
	padding: 10px;
	margin: 10px 10px 10px 0;
	background: #fff;
}
.bloques-33-33-33 .bloque.pos3 {
	margin-right:-3px; /* http://veerle.duoh.com/blog/comments/explorer_6_duplicate_characters_bug/ */
	
}
.galeria-traballos h2  {
	margin-top: 0;
	color: #999;
}
.galeria-traballos .bloque {
	padding: 10px 10px 10px 10px;
	background: #fff;
}
.bloques-6x {
	background: #fff;
}
.bloques-6x .bloque {
	width: 125px;
	float: left;
	padding: 10px 11px 10px 0;
}
.bloques-6x .bloque h2 {
	margin: 0;
	text-transform: uppercase;
}
.bloques-6x .bloque.pos1 {
	padding-left: 11px;
}
#galeria-categorias .bloque {
	height: auto;
}
#galeria-categorias h2 {
	margin-bottom: 0;
}
.galeria-traballos#galeria-categorias h2 {
	font-size: 1em;
	text-transform: uppercase;
	color: #ffbb2b;
}
.galeria-traballos#galeria-categorias a:hover h2,
.galeria-traballos#galeria-categorias a:active h2 {
	color: #000;
}
.galeria-traballos .bloque a.imx:hover h2,
.galeria-traballos .bloque a.imx:active h2 {
	color: #000;
	background: none;
	border: none;
	text-decoration: none;
}
.galeria-traballos img {
	margin-bottom: .3em;
}
.paxinacion {
	text-transform: uppercase;
	font-size: .833em;
	font-weight: bold;
	line-height: 2.5em;
	margin: 2em 0;
}
.paxinacion a {
	background: #fff;
	padding: .2em .5em;
	margin: .5em .5em 0 0;
	border: 1px solid #ccc;
}
.paxinacion a:hover,
.paxinacion a:active {
	background-color: #ffd22b;
}
.paxinacion span {
	color: #666;
}
.bloques-50-50 .paxinacion {
	width: 49%;
	float: left;
	margin-top: 0;
}
.bloques-50-50 #auxnav {
	float: right;
	width: 49%;
}
.bloques-50-50 #auxnav li {
	float: right;
}

/** --- SECCIONS --- */

/** Inicio */
.p-inicio .intro {
/*	font-size: 1.2em;*/
	margin: 0 1em 2em 1em;
}
.p-inicio .intro h1 {
	font-size: 1em;
}
.p-inicio .intro p {
/*	display: inline;*/
	line-height: 1.3em;
}


.foto-cab {
	padding: 10px; background: #fff;
}
.foto-cab img {
	margin: 0;
	float: left;
	
}
.foto-cab a.cab2 {
	display: block;
	text-decoration: none;
	border: none;
} 
.intro .galeria-traballos {
/*  width: 130px;  */
	margin-left: 610px;
	
}
.intro .galeria-traballos .bloque {
	margin: 0;
	padding: 0;
}
.intro .galeria-traballos .bloque h2 {
	margin-bottom: 0;
}


/** listado traballos */

.listado-traballos {
	margin-top: 10px;
}
.listado-traballos .traballo {
	padding: 10px;
	background: #fff;
}
.bloques-50-50 .bloque {
	float: left;
	width: 401px;
	margin: 0 10px 10px 0;
}
.bloques-50-50 .bloque.par {
	margin-right: -3px; /* http://veerle.duoh.com/blog/comments/explorer_6_duplicate_characters_bug/ */
}

.listado-traballos a.imx {
	float: left;
	display: block;
	width: 54px;
	margin-right: 10px;
}
.listado-traballos img {
	display: block;
	margin: 0;
}
.listado-traballos .descricion {
	margin-left: 64px;
}
.listado-traballos h2 {
	color: #666;
}
.listado-traballos .datos-traballo p {
	text-transform: uppercase;
	font-size: .833em;
	margin-bottom: 0;
}
.listado-traballos h2 a:hover {
	color: #000;
}

/** galeria */


#galeria {
}
#galeria #foto-principal {
/*    overflow: hidden;*/
	padding: 10px;
	background: #fff;
	position: relative;
}
.miniaturas {
/*    clear: both;*/
}
.miniaturas a {
    display: block;
	float: left;
	margin: 0 10px 10px 0 ;
}
#foto-principal #foto-wrap {
	position: relative;
/*	overflow: hidden;*/
}
#foto-principal img {
	margin: 0;
	border: 0;
	background: transparent;
}
.slideshow #foto-principal img {
	position: absolute;
	top: 0;
	left: 0;
}
#foto-principal img.active {
	display: block;
	z-index: 7;
}
#foto-principal img.inactive {
	display: none;
/*	display: none;*/
	z-index: 6;
}
#foto-principal .pedefoto {
	color: #666;
	font-size: .833em;
	margin: 1em 0 0 0;
	padding: 0;
	text-align: right;
}
#foto-principal h2 {
	margin-top: 1em;
}
#diapositivas  {list-style:none; margin-top: 1em;float: left; background: #fff; padding: 0 10px 10px 0;}
#diapositivas li {display:block;width:54px;height:54px;overflow:hidden;float:left;margin: 0 0; padding: 10px 0 0 10px; background: #fff;}
.detalle-traballo #diapositivas li {
	width: auto;
	height: auto;
}
.detalle-traballo #diapositivas li.active a {
	cursor: default;
}
.detalle-traballo #diapositivas li a {
	display: block;
}
#diapositivas li img {
	margin-bottom: 0;
	float: left;
	border: 1px solid #ccc;
}
#diapositivas li.active img,
#diapositivas li a:hover img {
	border: 1px solid #666;
}
body #hoverNav {
	overflow: hidden;
}
#hoverNav a {
/*	height: 1000px;*/
}

/** detalle traballo */ 

.descricion h2 {
    margin: 0;
}
.descricion p {
    margin-top: 0;
}
.datos-traballo {
/*	background: #fff;
	padding: 2em;
	border: 3px solid #ccc;*/
}
.datos-traballo h1 {
	padding-top: 1em;
	padding-bottom: .55em;
	border-bottom: 1px solid #ccc;
}
.datos-traballo dl {
	font-size: .833em;
	float: left;
	width: 100%;
}
#principal .datos-traballo dl dt {
    text-transform: uppercase;
	margin-top: 1em;
	border-bottom: 1px solid #ccc;
}
#principal .datos-traballo dl dd {
    font-weight: bold;
}
.adxuntos {
	margin-bottom: 2em;
}
.adxuntos h3 {
	margin: 0 0 1em 0;
	color: #666;
	text-transform: uppercase;
	font-size: .833em;
}
.adxuntos p.mime-audio-mpeg {
	margin-top: 0;
	margin-bottom: .5em;
}

/** contacto */

#mapa {
	width: 320px;
	height: 220px;
	border: 10px solid #fff;
	float: right;
}
#mapa a,
#mapa a:link,
#mapa a:visited,
#mapa a:hover,
#mapa a:active {
	border: none;
	background: none;
	color: #000;
}


.p-contacto .adxuntos {
	margin-top: 2em;
	font-size: 0.833em;
	color: #666;
}
.p-contacto .adxuntos p {
	margin-bottom: 2em;
}
.p-contacto .adxuntos a {
	padding: 5px 5px 5px 31px ;
	border: 1px solid #ccc;
}
.p-contacto .adxuntos a:hover {
	border-color: #000;
}
.vcard-download {
	/* vCard Icon by Mark James: http://www.famfamfam.com/lab/icons/silk/ */
	background: #fafafa url(/static/imx/vcard.png) 5px 3px no-repeat;
}
.qrcode {
	background: #fafafa url(/static/imx/qrcode.gif) 5px 4px no-repeat;
}

/** lightbox */
#lightbox img {
	margin-bottom: 0;
	border: none;
}
#lightbox a,
#lightbox a:link,
#lightbox a:hover {
	border: none;
}
#bottomNavClose {
	background: none;
}
#lightbox #imageDataContainer {
	font-family: inherit;
}


