
html, body {
	background-color: #fdfdff;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 18px;
	font-family: Verdana, Arial;
	text-align: justify;
	color: #333;
}
p {
	text-indent: 20px;
}
.color_clar { color: #164a85; }
.link_majuscules { text-transform: uppercase; font-size: 0.9em; font-weight: bold; color: #164a85; }
p.gran { font-size:1em; line-height:1.5em; font-weight:bold; font-style:italic; text-indent:0px; }
p.mes-gran { font-size:2em; line-height:1em; font-weight:normal; font-style:italic; text-indent:0px; }
p.dreta { text-align:right; }
p.esquerra { text-align:left; }
p.no-indent { text-indent:0; }
div {
	margin: 0;
	padding: 0;
	position: relative;
}
a {
	color: #164a85;
	text-decoration: underline;
}
a:hover {
	color: #ffa976;
}
td,th {
	text-indent: none;
	text-align: left;
	vertical-align:top;
	margin:0;
	padding:5px 0;
	border-bottom: 1px solid #ddd;
}
thead td { font-style:italic;}
td.column-1 { white-space:nowrap; padding-right:15px;}

table.precios { border:1px solid #ddd; }
table.precios tr:last-child td { border-bottom:none;}
table.precios td { text-align:center; }
table.precios td:nth-child(2), table.precios td:nth-child(4),table.precios td:nth-child(6), table.precios th.ratlla { border-left:1px solid #ddd;}
table.precios th { text-align:center; color:#164a85; font-weight:normal; }
table.precios th:first-child { text-align:left; padding:5px 10px;}
table.precios tr.dalt th { color:#164a85; font-size:1.1em; font-weight:normal;}
table.precios.info td, table.precios.info th { text-align:left; padding:5px 10px;}

ul.links li { margin-bottom:10px;}


h1,h2,h3,h4,h5 { font-weight:normal; color:black; }
h2 { font-size: 18px; line-height: 22px; }
h3 { font-size: 16px; line-height: 20px; }
h4 { font-size: 15px; line-height: 20px; }
h5 { font-size: 14px; line-height: 18px; text-transform:uppercase; }
.wrapper {
	width: 1020px;
	height: 100%;
	margin: 0 auto;
}
.clear { clear:both; font-size: 1px; line-height: 1px; }
.clear-left { clear:left; font-size: 1px; line-height: 1px; }



#lang_switch {
	position:fixed;left:0;top:0;
	color:white;width:100%;
	display:none;z-index:999;
	background-color:#2668d9;
	border:1px solid black;
	text-align:center;
}
#lang_switch p { text-indent:0 }
#lang_switch a { 
	background-color:#ffffff; border:1px solid black; 
	display:inline-block; margin-right:50px; 
	padding:5px 20px;
	text-decoration:none;
}
#lang_switch a:hover { background-color:#ddd; } 
#lang_switch a:last-child { margin-right:0; } 


#header {
	height: 120px;
	width: 100%;
	/*background-color: #193158;*/
	background: #2668d9 url('/images/nuvols.jpg') no-repeat center -35px;
}
#header p {
	text-indent:0;
}
#header h1 {
	position: absolute;
	left: 0;
	top:22px;
	z-index:999;
	margin:0;
	padding:0;
}
#header h1 a {
	display:block;
	width:388px;
	height:100px;
	overflow:hidden;
	background-image:url('/images/logo_es.png');
	background-position:0 0;
}
#header h1 a.logo-ca {
	background-image:url('/images/logo_ca.png');
}
#header h1 a:hover {
	background-position:0 100px;
}
body.lang_ca #header h1 a { }
#header h1 a span { display:none;}

#header img.telf {
	position: absolute;
	right: 0px;
	top: 50px;
	width: 150px;
}
#header .slogan {
	font-size: 15px;
	line-height: 15px;
	font-style: italic;
	color: #2668d9;
	position: absolute;
	bottom: 8px;
	right: 300px;
	margin: 0;
	padding: 0;
}
#header a.ebook-gratis span {
	background-color:#b1ceff;
}
#header a.ebook-gratis:hover span {
	background-color:#5a98ff;
}
#header ul#social-buttons {
	display: inline-block;
	position: absolute;
	bottom: 7px;
	right: 0;
	/*width: 290px; si li poso, ho alinea a l'esquerra */
	padding: 0;
	margin: 0;
}
#header ul#social-buttons li {
	display: inline-block;
	width: 20px;
	height: 20px;
	margin: 0 0 0 10px;
	padding: 0;
}
#header ul#social-buttons li:first-child {
	margin: 0;
}
#social-buttons a { width:20px; height:20px; display:block; float:left; }
#social-buttons a span { display:none; }
#social-buttons a.btn-facebook { background-image:url('/images/social/facebook-hover.png'); }
#social-buttons a.btn-facebook:hover { background-image:url('/images/social/facebook.png'); }
#social-buttons a.btn-twitter { background-image:url('/images/social/twitter-hover.png'); }
#social-buttons a.btn-twitter:hover { background-image:url('/images/social/twitter.png'); }
#social-buttons a.btn-google { background-image:url('/images/social/googleplus-hover.png'); }
#social-buttons a.btn-google:hover { background-image:url('/images/social/googleplus.png'); }
#social-buttons a.btn-youtube { background-image:url('/images/social/youtube-hover.png'); }
#social-buttons a.btn-youtube:hover { background-image:url('/images/social/youtube.png'); }
#social-buttons a.btn-pinterest { background-image:url('/images/social/pinterest-hover.png'); }
#social-buttons a.btn-pinterest:hover { background-image:url('/images/social/pinterest.png'); }


#nav {
	background-color: #164a85;
	width: 100%;
	height: 30px;
	line-height: 30px;
	font-size: 14px;
	margin: 0 auto;
	border-top: 2px solid #5555ff; /*4px solid #154070;*/
}

#nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
  position: relative;
}
#menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}
#menu > li {
	float: left;
	border-right: 1px solid #164a85;
}
#menu > li > a {
  display: block;
  padding: 0 13px;
	color: white;
}
#menu a { color: white; text-decoration:none; }
#menu li ul a:hover { color: #ffa976; }
#menu > li.active > a, #menu > li > a:hover {
  background-color: #193158;
}
#menu > li.active > a {
  color: #ffa976;
}
#menu > li.home > a {
	padding: 0;
	width: 25px;
	height: 30px;
	background-image: url('/images/home.png');
	background-position: left top;
	background-repeat: no-repeat;
}
#menu > li.home.active > a, #menu > li.home > a:hover {
	background-color: transparent;
	background-position: left bottom;
}

#cse-search-form { 
	position: absolute;
	width: 220px;
	top: 0;
	padding: 0;
	right: 70px;
}
#cse-search-form input.gsc-input { height:18px; }


#nav ul#idiomes {
	display: inline-block;
	position: absolute;
	bottom: 10px;
	right: 0;
	width: 70px;
	padding: 0;
	margin: 0;
	text-align: right;
}
#nav ul#idiomes li {
	display: inline-block;
	width: 16px;
	height: 12px;
	margin: 0 7px 0 0;
	padding: 0;
}
#nav ul#idiomes li:last-child {
	margin: 0;
}
#idiomes a { width:16px; height:12px; display:block; float:left; }
#idiomes a span { display:none; }
#idiomes a.btn-es { background-image:url('/images/idiomes/es.png'); }
#idiomes a.btn-es:hover { background-image:url('/images/idiomes/es_hover.png'); }
#idiomes a.btn-ca { background-image:url('/images/idiomes/ca.png'); }
#idiomes a.btn-ca:hover { background-image:url('/images/idiomes/ca_hover.png'); }

#wrapper {
	width: 1020px;
	margin: 15px auto;
	clear: both;
	min-height: 500px;
}
.content {
	background-color: #efecff;
	width: 715px;
	border: 1px solid #ccc;
}
.content.ample, .caixa.ample { width:auto; }
.content.no-margin { background-color: transparent; border:none;}
.content.no-top-border { border-top-color: #efecff;}
.inner_content {
	margin: 15px;
}
.content h2 { 
	padding-bottom: 5px;
	text-transform: uppercase;
	border-bottom: 1px solid #ccc;
}
.content h2 a.more {
	display: inline-block;
	float: right;
	font-size: 12px;
	text-transform:none;
}
.content h3 { 
	padding-bottom: 5px;
	text-transform: uppercase;
	border-bottom: 1px solid #ccc;
}
.caixa { overflow: hidden; text-indent:0; }
.caixa p { text-indent: 0;}
.franja { position:absolute; left:0; bottom:0; color:white; width:100%; text-align:left; }
.franja a { color: white; text-decoration:none; }
.caixa div.imatge { padding:1px; background-color:black; cursor:pointer;}
.caixa div.imatge:hover { background-color:#ffa976;}
.caixa div.imatge:hover a { color:#ffa976; }
.franja .back { position:absolute; background-color: black; opacity:0.8; width:100%; height:100%; }
.franja .front h3 {
	color: white;
	margin:10px 5px;
}
.franja .front p {
	color: #a7a7a7;
	margin:10px 5px;
}
.caixa div.imatge .franja { font-size:18px; line-height:22px;}
.botons {

}
.boto {
	display: inline-block;
	float: right;
	color: white;
	margin: 5px 0 5px 5px;
	padding: 5px;
	cursor: pointer;
	text-decoration:none;
	text-indent:0;
}
.boto.esq { float: left; margin: 5px 5px 5px 0;}
/*
.boto.info { color:black; padding:5px 0; }
.boto.info:hover { color:#ffa976; }
*/
.boto.info { background-color: #888; }
.boto.info:hover { background-color: #555; }
.boto.blog { color: #164a85; margin:0; padding:0; }
.boto.blog:hover { color:#ffa976; }
.boto.reserva { /*background-color: green;*/ margin:0; }
.boto.reserva:hover { /*background-color: #005500;*/}
.boto.blau { background-color:#164a85; }
.caixa-ample {
	width:715px;
	border:1px solid #ccc;
	margin-bottom:15px;
}
.caixa-ample .fotos_dalt { width:4290px; height:221px; }
.caixa-ample .fotos_dalt a { float:left; }
.caixa-ample .foto_prev, .caixa-ample .foto_next { display:block; height:100%; background-color:black; opacity:0; position:absolute; top:0;}
.caixa-ample:hover .foto_prev, .caixa-ample:hover .foto_next { opacity:0.3; }
.caixa-ample .foto_prev { left:0; }
.caixa-ample .foto_next { right:0; }
.caixa-ample .foto_prev:hover{ background-color:red; }
.caixa-ample .foto_next:hover { background-color:green; }
.caixa-ample .foto_prev img, .caixa-ample .foto_next img { display:block; margin-top:78px; }

.caixa-mig {
	width: 350px;
	float: left;
	margin-right: 15px;
	margin-bottom: 15px;
}
.caixa.caixa-mig div.imatge .franja { font-size:14px; line-height:18px; z-index:990; }
.caixa.caixa-mig .franja .front p { margin:5px; }
.caixa.caixa-mig .franja .front p a { display:block; }
.caixa.caixa-mig.c1 .franja .back { background-color: #004fe8; }
.caixa.caixa-mig.c2 .franja .back { background-color: #052e4e; }
.caixa.caixa-mig.c3 .franja .back { background-color: #135781; }
.caixa.caixa-mig.c4 .franja .back { background-color: #052e4e; }
.caixa.caixa-mig .boto { margin:0; position:absolute; right:5px; bottom:0px; padding:2px 8px; 
	background-color:#001523; }
.caixa.caixa-mig div.imatge:hover .boto { background-color:#170686; }
.caixa.caixa-mig.c1 .boto { background-color:#170686; }
.caixa.caixa-mig.c1 div.imatge:hover .boto { background-color:#001523; }

.caixa.caixa-mig.active div.imatge { cursor:default;}
.caixa.caixa-mig.active div.imatge:hover { background-color:black;}
.caixa.caixa-mig.active div.imatge:hover a { color:white; }
.caixa.caixa-mig.active.c1 div.imatge:hover .boto { background-color:#170686; }

.menu-caixes { 
	width:100%; height:100%; position:absolute; left:0; top:0; 
	z-index:900; 
	overflow:visible;
	display:none;
}
.menu-caixa {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
	width: 100%;
	height:100%;
	color:white;
	z-index:900;
	overflow:visible;
}
.menu-caixa:nth-child(3),.menu-caixes .menu-caixa:nth-child(4) { margin-top:380px; }
.menu-caixa .back {
	z-index:910;
	background-color:black;
	opacity:0.80;
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
}
.menu-caixa .front { z-index:990; text-align:center; }
.content .menu-caixa h3 { 
	color:white; border-bottom:2px solid #5555ff; margin:0 -20px 20px -20px; padding:10px 40px; 
	text-transform: none;
	font-size: 26px;
	line-height: 34px;
}
.content .menu-caixa a.boto-tancar {
	margin: 0;
	padding: 0;
	position: absolute;
	right: 10px;
	top: 0;
	font-size: 20px;
	line-height: 35px;
}
.content .menu-caixa ul, .content .menu-caixes .menu-caixa li { list-style:none; margin:0; padding:0;}
.content .menu-caixa ul { padding-bottom:20px; }
.content .menu-caixa a { color:white; padding:5px 10px; text-decoration:none;
	font-size:18px; line-height:35px; }
.content .caixa.caixa-mig.active div.imatge:hover .menu-caixa a:hover { color:#ffa976; }

.caixa-mig.caixa-estreta {
	width: 270px;
	margin-right: 80px;
}
.caixa-mig:nth-child(even) {
	margin-right: 0;
}
.caixa-mig.caixa-estreta:nth-child(odd) {
	margin-left: 50px;
}
.caixa-petit {
	width: 219px;
	float: left;
	margin-right: 14px;
	margin-bottom: 20px;
}
.content.no-margin .caixa-petit {
	width: 227px;
}
.caixa-petit:nth-child(3n) {
	margin-right: 0;
}
.caixa-petit .franja {
	bottom: 0;
}
.caixa-petit .franja .back { opacity: 0.6; }
.caixa-petit .franja .front p {
	margin: 5px;
}
.caixa-petit h3 { margin: 10px 0; text-align:left;}
.caixa-petit p { margin: 5px 0;}

.caixa-blog { margin-bottom:20px; }
.caixa-blog a.img { float: left; margin-right: 10px;}
.caixa-blog .inner { margin-left:170px;}
.caixa-blog .inner p { text-indent:0;}

#nav3 {
	width: 715px;
	background-color: #efecff;
	border: 1px solid #ccc;
	border-bottom:none;
}
#nav3 h2 {
	background-color: #164a85;
	padding-bottom: 5px;
	text-transform: uppercase;
	margin:0;
	color:white;
	padding:8px 20px;
	font-size: 15px;
	line-height: 18px;
}
#nav3 h2 a:hover {text-decoration:none;}
#nav3 ul {
	width: 100%;
	height: 28px;
	line-height: 28px;
	font-size: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 2px solid #5555ff;
}
#nav3 ul li {
	background-color: #164a85;
	margin: 0;
	padding: 0 15px;
	list-style: none;
	float: left;
	border-right: 1px solid #5555ff; /*#164a85;*/
}
#nav3 ul li:hover {
	cursor: pointer;
}
#nav3 ul li:hover, #nav3 ul li.active {
	background-color: #193158;
}
#nav3 ul li a {
	color: white;
	text-decoration: none;
}
#nav3 ul li:hover a, #nav3 ul li.active a {
	color: #ffa976;
}
.fotos a {
	float: left;
	margin-right:12px;
	margin-bottom:12px;
}
.fotos.velero a:first-child {
	margin-right: 0;
}
.fotos.velero a:nth-child(2) {
	clear: left;
}
.fotos.velero a:nth-child(3n+4) {
	margin-right: 0;
}
.fotos.velero a:nth-child(3n+5) {
	clear: left;
}
.fotos.faros a:nth-child(4n+4) { margin-right:0; }
.fotos.faros2 a:nth-child(2),
.fotos.faros2 a:nth-child(4), .fotos.faros2 a:nth-child(4n+4) { margin-right:0; }



/********** PROPUESTAS ****************************************************/

.breadcrump { margin-bottom:20px; }
.breadcrump a, .breadcrump span { 
	color:#031a5c; 
	font-size:1.1em; 
	line-height:20px;
	text-decoration:none; 
	padding-right:40px;
	background-image:url('/images/breadcrump.png');
	background-position: right center;
	background-repeat: no-repeat;
}
.breadcrump a:last-child, .breadcrump span:last-child { background-image:none; }
.breadcrump a:hover { color:#ffa976; }

.content.propuesta .column-left {
	width:255px;
	float:left;
}
.content.propuesta .column-right {
	margin-left:275px;
}
.content.propuesta h3 {
	background-color: #dcd9f4;
	border: none;
	padding: 5px 10px;
}
.content.propuesta .column-left img{
	margin-top:20px;
}
.content.propuesta .details {
	background-color:#dcd9f4;
	margin:20px 0;
	padding:10px;
}
.content.propuesta h4 {
	margin: 30px 0px 10px 0;
	border-bottom: 1px solid black;
}
.content.propuesta .details h4:first-child {
	margin-top:10px;
}
.content.propuesta .details p {
	text-indent:0;
	margin: 10px 0;
}
.content.propuesta .details label {
	display:inline-block;
	width:70px;
}
.content.propuesta .column-right h4 {
	margin-top:0;
}

.content.propuesta .buttons a.left { float:left; }
.content.propuesta .buttons a.right { float:right; }

.content.propuesta-ficha .img{
	margin:30px 0;
}
.content.propuesta-ficha .buttons a.left { float:left; }
.content.propuesta-ficha .buttons a.right { float:right; }
.content.propuesta-ficha ul li { margin: 10px 0;}

.inner_content.opinions {
	background-color: transparent;
}
.inner_content.opinions div.opinion {
	margin-bottom: 20px;
	padding: 28px 0 25px 0;
}
.inner_content.opinions div.opinion-top {
	background-image: url('/images/opinion-wide-top.png');
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:32px;
}
.inner_content.opinions div.opinion-top em.date{
	color: grey;
	font-size: 0.9em;
	display: block;
	margin-right: 20px;
	margin-top: 8px;
	text-align: right;
	color: #164a85;
}
.inner_content.opinions .opinion-bottom {
	background-image: url('/images/opinion-wide-bottom.png');
	position:absolute;
	left:0;
	bottom:0;
	width:100%;
	height:55px;
}
.inner_content.opinions div.opinion-content { 
	margin:0; 
	padding:0 20px;
	background-image: url('/images/opinion-wide-middle.png');
	background-color:white;
}
.inner_content.opinions div.opinion-content p {
	margin: 0;
	padding: 0 0 0px 0;
}
.inner_content.opinions div.opinion-content .author { 
	text-align: right; padding: 0px 35px 0px 0px;
	background-image: url('/images/opinion-wide-bottom-right.png');
	background-position: right top;
	background-repeat: no-repeat;
	line-height: 30px;
	font-style: italic;
	font-weight: bold;
	color: #164a85;
}
.inner_content.opinions div.opinion-content form { padding: 10px 20px; }
.inner_content.opinions div.opinion-content form p { padding: 5px 0; }
.inner_content.opinions div.opinion-content form input, .inner_content.opinions form textarea { width: 400px; }



/********** ANUNCIS ****************************************************/

#column .widget.anuncis {
	border:0; padding:0; background-color:white;
}
#column .widget.anuncis a {
	display:block;
}
.newsletter {
	height:65px;
	background-color:#06fc29;
	overflow:hidden;
	margin:0 0 5px 0;
	padding:0;
}
.newsletter div { border:2px solid #044faa; margin:3px; height:55px; }
.newsletter input {
	margin-left:10px;
	width: 165px;
	padding:2px 0;
	float:left;
	border:none;
}
.newsletter input[type="submit"] {
	background-color:#044faa;
	width:95px;
	padding:2px 0;
	margin:0;
}
.newsletter h3 { margin-bottom:0 !important; color:#070456 !important; font-size:16px !important; font-weight:normal !important; text-align:center !important; background-color:transparent !important; }
.newsletter:hover { background-color:rgb(128, 182, 10); }
.newsletter_verd { background-color:#06fc29; }
.newsletter_groc { background-color:#f9f908; }
.newsletter_blau { background-color:#0d1f60; }
.newsletter_blau h3 { color:white !important;}
.newsletter_blau div { border-color: white !important; }

.diy {
	background-color: rgb(128, 182, 10);
}
.diy:hover { background-color: #bc162c;}
.anunci-blau-vermell { background-color: #0e0eb1;}
.anunci-blau-vermell:hover { background-color: #d20000;}
.anunci-verd-blau { background-color: #80b60a;}
.anunci-verd-blau:hover { background-color: #0e0eb1;}
.ron {
	background-color: #24ea24;
}
.ron:hover { background-color: #afef25;}

/********** OPINIONS ****************************************************/
#opinions {
	padding: 10px 10px 0;
}
#opinions > p { margin-top: 0; margin-bottom:10px; text-indent: 0;}
#opinions .opinions-stream li { 
	margin:0 0 4px 0; 
	padding: 0; 
}
#opinions .opinions-stream li a {
	display: block;
	border: 1px solid #D3D3D3;
	border-radius: 5px; 
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px;
  margin: 0;
  padding:9px;
  background-color:white;
  color:inherit; 
  text-decoration:none;
}
#opinions .opinions-stream li:hover a { background-color:#ddd; }
#opinions .opinions-stream li span.bottom {
	display:block;
	width:100%;
	height:16px;
	margin-top:-1px;
	background-image:url('/images/opinion.png');
	background-position:center top;
	background-repeat:no-repeat;
}
#opinions .opinions-stream li:hover span.bottom {
	background-position:center bottom;
}

/***************************/
#contacto {
	width:350px;
	font-size:13px;
	position:absolute;
	top:10px;
	right:10px;
	overflow:visible;
}
#contacto h3 { margin:0 0 5px 0; }
#contacto img.logo { position:absolute; bottom:0px; right:0px; }
#contacto p { margin:10px 0; padding:0; text-indent:0; position:relative;}
#contacto a { text-decoration:none; }
#bookmarkme { display:inline-block; width:18px; height:18px; background-image:url('/images/contacto/favorite.png'); background-position:0 0; }
#bookmarkme:hover { background-position:18px 0;}
#contacto p.links { border-top:1px solid #ddd; padding-top:5px; margin-bottom:0;}
#contacto p.links a { padding-right:20px;}
#contacto p.links a:last-child { float:right; padding-right:0;}
#contacto div {
	display: block;
	border: 1px solid #D3D3D3;
	border-radius: 5px; 
	-webkit-border-radius: 5px; 
	-moz-border-radius: 5px;
  margin: 0;
  padding:9px;
  background-color:white;
  color:inherit; 
  text-decoration:none;
}
#contacto .bottom {
	position:absolute;
	left:-110px;
	top:18px;
}


/***************************/
#opinions .opinions-content { 
	height: 240px;
	position: relative;
	overflow: hidden;
	padding: 0;
	margin: 0 0 5px 0;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
#opinions ul, #opinions li {
	padding: 0;
	margin: 0;
	list-style: none!important;
	background: none;
}
#opinions li {
	padding: 0;
	position: relative;
	font-size: 11px;
	color: #444;
	font-family: Arial, sans-serif;
	line-height: 1.35em;
	padding:6px 0 25px 0;
	margin-bottom:5px;
}
#opinions li p { 
	margin:0; 
	padding:5px;
	background-image: url('/images/opinion-middle.png');
}
#opinions li .opinion-top {
	background-image: url('/images/opinion-top.png');
	position:absolute;
	left:0;
	top:0;
	width:258px;
	height:6px;
	display:block;
}
#opinions li .opinion-bottom {
	background-image: url('/images/opinion-bottom.png');
	position:absolute;
	left:0;
	bottom:0;
	width:258px;
	height:26px;
	display:block;
}
#opinions .controls {
	height: 22px;
	margin-top:10px;
	padding: 0;
	z-index: 12;
}
#opinions .controls ul {
	float:right;
}
#opinions .controls li {
	display: inline;
	background: none;
}
#opinions .controls a {
	display: block;
	width: 22px;
	height: 22px;
	float: left;
	margin: 0 0 0 2px;
	background: url(/images/controls.png) no-repeat 0 0;
}
#opinions .controls .prev {
	background-position: -44px 0;
}
#opinions .controls .next {
	background-position: -66px 0;
}
#opinions .controls .play {
	background-position: 0 0;
}
#opinions .controls .pause {
	background-position: -22px 0;
}
#opinions .controls .prev:hover {
	background-position: -44px -22px;
}
#opinions .controls .next:hover {
	background-position: -66px -22px;
}
#opinions .controls .play:hover {
	background-position: 0 -22px;
}
#opinions .controls .pause:hover {
	background-position: -22px -22px;
}


/********** FORMS ****************************************************/

form { margin:0; padding:0; }
form p { margin:10px 0; padding: 0; text-indent:0; }
form label { width:130px; /* abans:200*/; float:left; margin:0; }
form.corcega label { width: 200px; }
form input, form textarea, form select { 
	margin:0; width:315px; padding:2px; 
	font-size: 14px;
	line-height: 18px;
	font-family: Verdana, Arial;
	border: 1px solid #164a85;
	background-color: white;
}
form.portada_form label { margin-left:70px; width:230px; }
form select { width: 319px;}
form textarea { height:200px; }
form input:focus, form textarea:focus { border-color:#ffa976; }
form input[type="submit"] {
	background-color: #164a85;
	color:white;
	border-color:black;
	width: auto;
	padding: 5px 20px;
}
form input[type="submit"]:hover {
	background-color: #ffa976;
	cursor: pointer;
}

form .loading {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
}
form .success {
	text-align: center;
	position: relative;
	font-weight: bold;
	padding-top: 200px;
}
form .success .alert-success {
	color: #008800;
	padding: 20px;
}
form .success .alert-danger {
	color: #880000;
	padding: 20px;
}

#column {
	width: 300px;
	float: right;
	height: 100%;
}
#column .widget {
	background-color: rgb(220, 231, 250);
	border: 1px solid #ccc;
	margin: 0 0 15px 10px; 
	padding: 0px;
}
#column .widget h3 {
	font-size:14px; line-height:16px; margin:0; padding: 5px 10px; background-color:#164a85; margin-bottom:5px; color:white; }
}

form.gsc-search-box { margin-bottom: 0 !important; }
table.gsc-search-box { margin-bottom: 0 !important; }
input.gsc-input {
	height: 21px;
	padding: 0;
}
input.gsc-search-button {
	width:25px; min-width: 25px; height:21px; color:transparent; overflow:hidden; margin:0; padding:0; 
	font-size: 1px; line-height: 50px;
	background-color: transparent;
	border:none;
	background-image:url('/images/icon_search.png'); background-position:0px 0px; background-repeat:no-repeat;
	text-shadow:none;
	outline: none;
	text-decoration:none;
	cursor:pointer;
}
input.gsc-search-button:hover {
	background-image:url('/images/icon_search.png'); background-position:-30px 0px; background-repeat:no-repeat;
}
#cse { width: 715px; margin-bottom: 40px;}
.gsc-clear-button { display:none; visibility:hidden; }
.cse .gsc-control-cse, .gsc-control-cse { padding: 0; background: transparent; border: none; }
.cse .gsc-webResult.gsc-result, .gsc-webResult.gsc-result, .gsc-imageResult-column, .gsc-imageResult-classic { border-color: #ccc; }
.gsc-results .gsc-cursor-box { margin-top: 20px; }

.gs-result .gs-title, .gs-result .gs-title * { color: black !important; text-decoration: none !important; }
.gs-result .gs-title:hover, .gs-result .gs-title:hover * { color: #ffa976 !important; }

.gsc-resultsHeader { clear: left !important; }
.gsc-webResult::after { clear: left !important; };

#social-stream { background: transparent; border-radius: none; padding: 0;}
#social-wall { padding: 0; min-height: 500px; background: transparent;}
h3.titol-wall { position:absolute; right:0; top:0; margin:5px 20px; border:none; width:940px; text-align:center; color: #164a85; font-weight:bold; }

.addthis_toolbox_container {
	width: 685px;
	height: 40px;
	border: 1px solid #ccc;
	background-color: white;
	text-align: center;
	margin-top: 40px;
}
.addthis_toolbox { 
	display:inline-block;
	width: 500px;
	margin:10px auto;
	height: 40px;
}
.addthis_toolbox div.atclear {
	float:left;
}

#footer {
	background-color: #193158;
	text-align:right;
	color: white;
	height: 180px;
	font-size:14px;
	line-height:16px;
}
#footer .wrapper div {
	width: 338px;
	border-right: 1px solid black;
	position: relative;
	float: left;
	height: 140px;
	margin: 20px 0;
}
#footer img.logo {
	position: absolute;
	left: -25px;
	bottom: -3px;
	z-index:999;
}
#footer p {
	margin: 0 20px 10px 20px;
	text-indent: 0;
}
#footer h2, #footer h3, #footer h4 {
	margin: 0 20px 10px 20px;
	color: #afef25;
}
#footer .footer_dret h2, #footer .footer_dret h3 {
	color:white;
}
#footer h4 { color: white; }
#footer a {
	color:white;
	text-decoration: none;
}
#footer a:hover {
	color: #ffa976;
}
#footer .footer_esq {
	border-left:1px solid black;
}
#footer .footer_esq h3 {
	margin-bottom:20px;
}
#footer .footer_esq a {
	display: block;
}

#footer .footer_mig {
	text-align:center;
}
#footer .footer_mig h3 {
	margin-bottom:5px;
}
#footer .footer_mig p.social {
	margin: 0 auto 16px auto;
	width: 160px;
	height:30px;
}
#footer .footer_mig p.social a {
	float: left;
	padding: 0 2px;
	display:block;
}
#footer .footer_mig p.social a:hover {
	background-color: #afef25;
}
#footer .footer_mig p.social img {
	width:28px;
	height:28px;
}
#footer .footer_mig form p {
	margin: 5px 40px;
	text-align:right;
}
#footer .footer_mig h4 {
	margin: 5px 40px;
	text-align:right;
}
#footer .footer_mig form input {
	width: 190px;
	border:none;
}
#footer .footer_mig form label {
	width:50px;
	text-align:right;
}
#footer .footer_mig form input[type="submit"] {
	padding:2px 0;
}
#footer .footer_dret {
	float:right;
}
#footer .footer_dret h2 {
	font-size:25px;
	line-height:25px;
	margin-bottom:5px;
	font-weight:normal;
}

#footer2 {
	border-top: 2px solid #5555ff;
	background-color:black;
}

a.pdf_link {
	padding-left: 25px;
	background: url(/images/icon_pdf.png) left no-repeat;
	white-space: nowrap;
}
a.zip_link {
	padding-left: 25px;
	background: url(/images/icon_zip.png) left no-repeat;
	white-space: nowrap;
}
.tamany { padding-left: 25px; font-size:0.9em;}

.b0 { border:0 !important; }
.p0 { padding: 0 !important; }
.in0 { text-indent:0; }
.mb0 { margin-bottom:0 !important; }
.mb5 { margin-bottom:5px !important;}
.mt0 { margin-top:0 !important; }
.mt5 { margin-top:5px !important; }
.mt20 { margin-top:20px !important;}
.mt30 { margin-top:30px !important;}





@media only screen and (max-width: 620px) {
  .wrapper, #wrapper { width:100% !important; }
  #header img.telf, 
  #header p.slogan,
  #header ul#social-buttons { display:none; visibility:hidden;}
  #header {	height: 100px; }
  #header h1 { top: 2px;}
  #header h1 a { background-image:url('/images/logo_p_es.png'); }
  #header h1 a.logo-ca { background-image:url('/images/logo_p_ca.png'); }

	#nav { height:auto; }
  #nav ul#idiomes { display:none; visibility:hidden; }

  #nav3 { width: auto; }

  #cse-search-form { display:none; visibility:hidden; }
  #column { display:none; visibility:hidden; }
  .addthis_toolbox_container { display:none; visibility:hidden; }

  .caixa-ample, .content { width:auto; }
  .caixa-ample img { width:100%; }
  .caixa-ample img.bottom { width:auto; }
  .caixa-ample img.logo{ display:none; visibility:hidden; }
  .caixa-ample { min-height:170px;}
	#contacto { width:310px; min-height:160px;}
	.contact-form-container { width:auto !important;}
	form input, form textarea { width:250px; }

  .caixa-mig, .caixa-mig:nth-child(even) { float: none; margin:0 auto 15px auto; }

	h3.titol-wall { width:auto; position:relative;}

  #footer .wrapper div { width:49%; }
  #footer .footer_esq h3 { margin-bottom:0; }
  #footer .footer_mig { float:right; }
  #footer .footer_dret { display:none; visibility:hidden;}
  #footer h3, #footer h4 { margin-left:10px; margin-right:10px; }
  #footer p { margin-left:10px; margin-right:10px; }
  #footer img.logo { display:none; visibility:hidden;}
  #footer .footer_mig h4, #footer .footer_mig form { display:none; visibility:hidden;}
  #footer2 { display:none; visibility:hidden;}
}
