/* HTML5 ✰ Boilerplate
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body {
	margin: 0;
	font-size: 1em;
	line-height: 1.231;
	padding:0;
}
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; max-width:100%; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; width:100%;}
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }




.allinone_bannerRotator {
	position:relative;
}
.allinone_bannerRotator img {
	position:absolute;
	top:0px;
	left:0px;
	
}
.allinone_bannerRotator_list {
	margin:0;
	padding:0;
	list-style:none;
	
}


/* ===================================================
    Initializr styles
    http://verekia.com/initializr/responsive-template
    Author: Jonathan Verrecchia
   =================================================== */

body{ font:16px/24px Helvetica, Helvetica Neue, Arial, sans-serif; }

.wrapper, #portada{
	width:90%;
	margin:0 5%;
}
.fullwidthbanner-container {
	width:100% !important;
	position:relative;
	padding:0;
	max-height:500px !important;
	overflow:hidden;
	background-color:#222222;
	background-image:url(../img/hashdark.png);
	background-repeat: repeat;
	background-position:center;
}
/* ===================
    ALL: Orange Theme
   =================== */
a{
	color:#1F993D;
}
a:hover{
	color:#623211;
}

#footer-container{ border-top: 1px solid #ccc; }
#main aside, #portada aside, , #portada2 aside { border-top: 1px dolid #ccc; }

#header-container,
#footer-container,
#main aside{
	background:#ffffff;
}
#title{
	color:#64320A;
	margin-top:68px;
	clear:right;
}
nav ul li{
	margin:0;
	padding:0;
}
#header-container img{
	margin:20px 20px 25px 0px;
}
#portada h1 a{
	color:#000;
	text-decoration:none;
}
#portada, #portada2, #footer-portada {
	font-size:0.8em;	
	line-height:1.1em;
}
#footer-portada h3, #portada h3, #portada2 h3{
	font-size:1em;
}
#portada aside {
	padding: 2%;
	background: #E2DFD3;
}
.oldie #portada aside, .oldie #portada2 aside {
	padding:2% 2% 3% 2%;
}
#portada2 aside{
	padding: 2%;
	background: #000;
	color:#FFF;
}
#footer-portada {
	padding: 2% 1% 1% 2%;
	background: #000;
	color:#FFF;
	position:absolute;
	right:0;
	bottom:0;
}
#imgLogo{
	float:left;
	padding-right:10px;
}

#galeria li{
	margin:0;
	padding:0;
	width:450px;
	background: #fff;	
	height:300px;
	text-align:right;
}

#galeria-menu{
	/*padding-top:5px;*/
	padding: 2px 0;
	text-align:left;
	background: #E2DFD3;
	width:450px;
}
#galeria-menu a{
	text-decoration:none;
	padding: 2px 2px;
	background: #E2DFD3;
	padding: 5px;
	color: #623211;
	border:1px dashed #999;
	border-top:none;
}
#galeria-menu a.wactive{
	padding: 5px;
	background: #fff;
	border:1px solid #1F993D;
	border-top:none;
	color: #1F993D;
}


.documents{
	background: #E2DFD3;
	padding-bottom:5px;
}

.documents .cont{
	padding:0 0 0 10px;
}
.enviar{
	background-color: #E2DFD4;
	border-style: dashed;
	border-width:1px;
	border-color: #ccc;
	padding: 5px;
	margin-top:22px;
}
.paginar, .current {
	color:#198044;
}
.oldie .enviar{
	margin-top:2px;
}
::-moz-selection { background: #f16529; color: #ccc; text-shadow: none; }
::selection      { background: #f16529; color: #ccc; text-shadow: none; }

/* ==============
    MOBILE: Menu
   ============== */

nav a{
	display:block;
	margin:0 0 10px 0;
	padding:5px 0;
	background: #093;
	color:white;
	text-align:center;
	text-decoration:none;
	border-left:1px solid #FFF;
	/* [disabled]font-weight:bold; */
}

nav a:hover, nav a:visited{
	color:white;	
}

nav a:hover{
	padding:15px 0;
	text-decoration:none;
	-webkit-transition: padding 0.3s linear;
    -moz-transition: padding 0.3s linear;
    -ms-transition: padding 0.3s linear;
    -o-transition: padding 0.3s linear;
}
section {
	font-size:0.9em;
}
.title{
	background:#000;
	color:#FFF;
	font-size:1.3em;
	font-weight:bold;
	padding:20px;
}
.side{
	padding:10px;
}
.side{
	
	background:#E2DFD3;
	color: #300;
	font-weight:bold;
	font-size:1em;
}
.sidea a{
	font-size:0.8em;
	background:#FFF;
	display:block;
	padding:3px 0 0 10px;
}
/* ==============
    MOBILE: Main
   ============== */

#main{
	padding:0;
	border-top: 1px dashed #ccc;
	position: relative;
}
h1{
	font-size: 2em;
	line-height: 1.2;
	font-weight: bold;
}
#main article h1{
	font-size:2em;
	line-height: 1.3;
}

#main #portada aside{
	color:#000;
}
#main #portada2 aside{
	color:#FFF;
}
#footer-container footer{
	color:#000;
	padding:3px 0 20px 0px;
	font-size: small;
	line-height: 0.8;
}

#breadcrum{
	padding-top:5px;
	padding-bottom:1px;
	border-bottom: 1px dashed #ccc;
	font-weight:bold;
	font-size:18px;
}
#main aside ul{
	padding:20px 0;
}
#main aside li{
	display:block;
	padding-bottom:10px;
	padding-top:10px;
	list-style:none;
	border-bottom: 1px dashed #030;
}
#main aside li a{
	display:block;
	text-decoration:none;
	color:#333;
}
#main aside li a:hover{
	display: block;
	text-decoration: none;
	color: #019933;
}
#main aside  li a.current, #main aside li.current a{
	color: #019933;
}
.adjunts{
	float:none;
	padding-left:15px;
	padding-bottom: 6px;
	padding-top: 0;
	width:100%;
}
.breadCont{
	border-top:1px dashed #ccc;
}

/* ===============
    ALL: IE Fixes
   =============== */
.oldie #footer-container footer{
	padding-top: 20px;
}
.oldie article p:first-child, .oldie article.col p:first-child  { padding-top:10px; padding-bottom:10px; }
.oldie article h1:first-child, .oldie article.col h1:first-child, .oldie article h3:first-child, .oldie article.col h3:first-child  { padding-top:10px; }


/* ==|== non-semantic helper classes ======================================== */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


/* ==|== media queries ====================================================== */

@media only screen and (min-width: 610px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */
   #header-container{ height:243px; }
   #portada{	
	/*background: #E2DFD3 url(../img/cap1.jpg) no-repeat;*/
	color:#000;
	padding:0px 4% 10px;
	position:absolute;
}
  #portada2{	
	padding:0px 2% 10px 2%;
	position:absolute;
}
#portada aside, #portada2 aside, .oldie #portada aside, .oldie #portada2 aside{	
	width:80%;
}

#footer-portada{	
	width:30%;
}

	nav a{
	float: right;
	width: 12%;
	padding: 25px 2%;
	line-height: 60px;
	background-color: #CFF;
	padding-bottom: 18px;
	margin: 0 0 0 0;
	/*border-left: 1px dashed #ccc;*/
	background: url(../img/nav-color.png) no-repeat;
	background-position:0 -25px;
	}
	nav a.but0{
		background: url(../img/nav-color0.png) no-repeat;
		background-position:0 -25px;
	}
	nav a.but1{
		background: url(../img/nav-color1.png) no-repeat;
		background-position:0 -25px;
	}
	nav a.but2{
		background: url(../img/nav-color2.png) no-repeat;
		background-position:0 -25px;
	}
	nav a.but3{
		background: url(../img/nav-color3.png) no-repeat;
		background-position:0 -25px;
	}
	nav a.but4{
		background: url(../img/nav-color4.png) no-repeat;
		background-position:0 -25px;
	}
	nav a.but5{
		background: url(../img/nav-color5.png) no-repeat;
		background-position:0 -25px;
	}
	nav a:hover{
	padding:45px 2%;
	padding-bottom: 18px;
	background-position:0 -10px;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	}
	
	nav li:first-child a{ margin-right:0;  }
	nav li:last-child  a{ margin-left:0; }
	
/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

	nav ul li{
		display:inline;
	}	
	/*.oldie nav a{
		margin:0 0.7%;		
	}*/
	 
}

@media only screen and (min-width: 900px) {


#title{
	   clear:none;
   }
/* ====================
    WIDE: CSS3 Effects
   ==================== */
	#header-container{ height:128px; border:0; }
	
	

/* ============
    WIDE: Menu
   ============ */
	
	#title{
		float:left;
	}

	nav{
		float:right;
		width:70%;
	}

/* ============
    WIDE: Main
   ============ */
   .socis img{
	float: left;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-top: 20px;
   }
	#main article.col h1{
	background-color: #000;
	color: #FFF;
	margin: 0;
	padding: 15px;
	font-size: 1.2em;
	line-height: 1.5em;
	font-weight: normal;
	height: 130px;
	}
	#main article.col p{
		padding:0px 10px 0 10px;
	}
	#main article.col a{
	    margin-top: 5px;
    display: block;
    text-align: right;
    color: #FFF;
    text-decoration: none;
    font-size: 0.8em;
	}
	#main article.col a:hover{
	color: #1F993D
	}
	#main article{
	float: right;
	width: 68%;
	border-left:1px dashed #ccc;
	
	}
	#main article p, #main article h3, #main article h1{
	padding: 0px 10px 0 10px;
	display: block;
	}
	#main article.col{
		width: 35%;
		border-left:1px dashed #ccc;
	}
	#main aside{
		float: left;
		width: 28%;
	}
	#portada aside {
		width:28%;
		background:url(../img/dest-bg.png) no-repeat scroll left bottom transparent;
	}
 	 #portada2 aside {
	width: 100%;
	background: url(../img/destnt-bg.png) no-repeat scroll left bottom transparent;
	 }
	#footer-portada{
		width:12%;
		background:url(../img/destn-bg.png) no-repeat scroll right top transparent;
	}
	.oldie #portada aside {
		width:18%;
		background:url(../img/dest-bg.png) no-repeat scroll left bottom transparent;
	}
	.oldie #portada2 aside {
		 width:18%;
		 background:url(../img/destnt-bg.png) no-repeat scroll left bottom transparent;
	}
}

@media only screen and (min-width: 1040px) {	
.adjunts{
	float:right;
	padding-left:15px;
	padding-bottom: 6px;
	padding-top: 0;
	width:65%;
}
.adjunts.formu{
	width: 45%;
}
/* ===============
    Maximal Width
   =============== */

	.wrapper, #portada{
		width:1026px; /* 1140px - 10% for margins */
		margin:0 auto;
	}
}

/* ==|== print styles ======================================================= */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
