/*
* Estils per DEM-BARCELONA
* Autor: Jordi Martínez
* Empresa: CODi9
* www: www.codi9.com
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
/*table, caption, tbody, tfoot, thead, tr, th, td,*/
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	/*border-collapse: collapse;
	border-spacing: 0;*/
	
}
/* FINAL RESET */


/*
Colors

background: #ddd (gris claret)
text normal: #000 (negre)
links a #807f84 (gris)
headings #ffa200 (taronja)
*/

/*
* Variables
*/
:root {
	--header-width: 1200px;
}

/* =Tags HTML
------------------------------------------------------------------------------------------------- */
body { 
	background: #FFFFFF; 
	font-family: 'Open Sans', sans-serif;
	/* font-family: 'Roboto Condensed', sans-serif; */
	font-size: 0.9rem; 
	}
	
header {
	background: #000;
	height: 100px; 
	}

#continguts header { height: auto; background-color: transparent; }

p { 
	line-height: 1.375; 
	margin-bottom: 1.2em; 
	}


strong { 
	font-weight: bold;
	}

img.text2image {
	margin-bottom: -7px;
	}	

article.list_worker_item img.text2image {
	width: auto;
}

.caption {
	text-align: left;
	font-weight: bold;
	}

.push { clear: both; }

div.msg_pantalla,
div[class*="msg_pantalla"] {
	display: none;
	margin: 0 0 2em 0;
	}

form + .msg_pantalla,
form + [class^="msg_pantalla_"] {
	margin-top: 20px;
	line-height: 1.4;
}



.msg_error { 
	background: pink; 
	color: #000; 
	padding: 1em;
	}
	
.msg_ok { 
	background: #5F5; 
	color: #000;
	padding: 1em;
	}

.no-link {
	cursor: default;
}

/* =Headings
------------------------------------------------------------------------------------------------- */
h1, h2, h3 { 
	font-weight: 600; 
	margin-bottom: 20px;
	line-height: 1.2;
	}

h1 { font-size: 1.5rem; color: #ffa200; }

.home h1 {
	color: #000;
	font-size: 1.688rem;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	margin-top: -5px;
	margin-bottom: 35px;
}

section#destacats header h2, 
article.list_news_item h2,
article.list_worker_item h2,
article.list_item h2 { 
	color: #ffa200; 
	font-size: 1.2em; 
	margin: 0;
	}

#cont_page_contacte h2 {
	border-bottom: 2px solid #ddd;
	padding-bottom: 3px;
}

section#home h2 { 
	text-align: center;
	}

.conj_menu_peu h2 { 
	margin:0; 
	padding-bottom: 0.2em; 
	}

/* =Estrucutra web 
------------------------------------------------------------------------------------------------- */
#wrapper { 
	height: 100%;  
	margin: 0 auto; 
	width: 990px; 
	}


#continguts { 
	background: #fff; 
	margin-top: 20px;
	padding: 20px 0 5px 0; 
	}

#continguts.home {
	margin-top: 5px;
	padding-top: 0;
	}

#continguts:not(.home)::after {
	content: "";
	display: block;
	height: 100px;
	width: 100%;
	background: rgb(0,0,0);
	background: linear-gradient(0deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 50%);
	}

#continguts [style*=small] {
	font-size: inherit!important;
	line-height: inherit!important;
}

/* =Contacte
------------------------------------------------------------------------------------------------- */
div#left_content {
	float: left;
	width: 37%;
	padding-right:3%;
}

	div#left_content div.treballador_item {
		background: #ddd;
		border: 1px solid #ddd;
		border-bottom: 1px solid #646566;
		cursor: pointer;
		margin-bottom: 5px;
	}

	
	div#left_content div.treballador_item p {
		font-size: 0.8em;
		margin: 2px 0;
	}
	
	div#left_content div.treballador_item p.nom {
		color: #ed6f19;
		font-size: 1em;
		margin: 2px 0 10px 0;
	}

	div#left_content div.treballador_item p.departament {
		margin: 2px 0 10px 0;
	}

	div#left_content div.treballador_item div.cont_img {
		float: left;
		width: 75px;
	}

	div#left_content div.treballador_item img.text2image {
		display: inline-block;
		vertical-align: middle;
	}
	

	div#left_content div.titol_carrec {
		font-weight: bold;
		height: 75px;
		float: left;
		margin-left: 15px;
		position: relative;
		width: 250px;
	}
	
	div#left_content div.titol_carrec div {
		color: #000;
		display: table;
		height: 75px;
		position: absolute;
		width: 250px;
	}

	div#left_content div.titol_carrec div p {
		display: table-cell;
		font-size: 1em;
		line-height: 1.2;
		vertical-align: middle;
	}

	div#left_content div.treballador_item div.desc {
		background: #eee;
		clear: both;
		display: none;
		padding: 20px;
	}

	
	div#left_content form.contact_page {
		display: block;
		margin-left:1%;
	}
	
	div#left_content form.contact_page label {
		font-size: 0.8em;
	}
	
	div#left_content form.contact_page img {
		width: 200px;
	}

div#right_content {
	float: right;
	width: 60%;
}

/*
Mapa i formulari de contacte
*/
#cont_page_contacte { float: left; width: 100%; }
#cont_page_contacte table { width: 100%; }
#map_canvas { float: right; border: 0px solid #444; height: 500px; margin-bottom: 50px; width: 50%; }

div#right_content #map_canvas {
	width: 100%;
	height: 500px;
}


/* SLIDER HOME
---------------------------- */

.video-slider-wrapper {
	max-width: 1920px;
	max-height: 640px;
	margin: 0 auto;
	overflow: hidden;
}

.video-slider-wrapper video {
	width: 100%;
	height: 100%;
}

.slider-wrapper { 
	width: 100%; 
	margin: 0 auto;
}

.theme-default #slider {
    margin: 0 auto 0 auto;
	box-shadow: none;
}

/* final slider home
------------------------------- */



section#home {
	display: block; 
	margin-top: 40px; 
	width: 100%; 
	}


aside#right {
	display: inline-block; 
	float: right; 
	margin-top: 0px; 
	vertical-align: top; 
	width: 250px; 
	}


aside#submenu_left {
	display: inline-block;
	vertical-align: top;
	width: 24.5%;
	}

aside#submenu_left #cont_sub_menu {
	/* background: #f7f7f7; */
	background: linear-gradient(#d9d9d9 60%, #FFF);
	box-sizing: border-box;
	margin-bottom: 30px;
	padding: 15px 15px 30px 15px;
	width: 100%;
	}
	
aside#submenu_left #cont_sub_menu2 {
	/* background: #EDA019; */
	background: linear-gradient(#ffda99 60%, #FFF);
	margin-bottom: 30px;
	padding: 15px 15px 30px 15px;
	width: 100%;
	box-sizing: border-box;
	}

aside#submenu_left #cont_sub_grafic {
	margin-bottom: 15px;
	padding: 15px;
	width: 100%;
	box-sizing: border-box;
	}


aside#submenu_left .adjunts {
	padding: 15px 0;
	width: 100%;
	}

section#main {  
	display: inline-block;
	float: right;
	width: 73%;
	/* font-size: 1rem!important; */
	}

section#main span {
	font-size: inherit!important;
}

section#full_page {  
	display: inline-block;
	width: 100%;
	}

section#news {
	display: inline-block;
	width: 70%;
	}


.text { 
	margin-bottom: 4em; 
	}

.slide_content {
	position: relative;
	display: block;
	margin: 15px 0;
	z-index: 0;
	}

.slide_content img {
	width: 100%;
	top: 0;
	left: 0;
	}


.slide_noticia {
	position: relative;
	display: block;
	height: 250px;
	margin: 15px 0;
	text-align: right;
	z-index: 0;
	}

.slide_noticia img {
	top: 0;
	right: 0;
	}

.aside_galeria {
	display: block;
}

.aside_galeria img {
	margin-bottom: 15px;
	width: 100%;
}

.videos {
	display: block;
	text-align: right; 
	}


/* =HOME 
------------------------------------------------------------------------------------------------- */
section#destacats header { height: auto; }

section#destacats p { margin: 0; }

section#destacats article { margin: 20px 0 10px 0; }
section#destacats article:first-child { margin: 10px 0 10px 0; }

section#treballadors { }

section#treballadors div.treballador_item { 
	border: 1px solid #e3e3e3; 
	color: #504e53; 
	margin-bottom: 5px; 
	padding: 5px; 
	}
	
section#treballadors div.treballador_item:hover { background: #d0d0d0; }

div.treballador_item .departament {
	font-style: italic;
	}
	
div.treballador_item .departament,
div.treballador_item .telefon,
div.treballador_item .mobil {
	font-size: 0.8em;
	}

section#treballadors div.treballador_item img:not(.text2image) { 
	background: #444; 
	float: left; 
	height: 50px; 
	margin-right: 2%; 
	width: 20%; 
	}
	
section#treballadors div.treballador_item img.text2image { 
	margin-bottom: -8px;
	}

section#treballadors div.treballador_item img.email { 
	background: transparent;
	margin: 0;
	width: 100%; 
	}

section#treballadors div.treballador_item .desc { 
	float: left; 
	width: 75%; 
	}
	
section#treballadors div.treballador_item .desc p,
article.list_worker_item .desc p { 
	margin: 0; 
	}
article.list_worker_item .desc img { 
	border: none;
	display: inline-block;
	}

section#home div#cont_blocs,
section#home div#cont_blocs * {
	box-sizing: border-box;
	}

section#home div#cont_blocs {
	display: inline-flex;
	flex-wrap: wrap;
	/* justify-content: start; */
	margin: -4px 0 0 -4px;
	width: calc(100% + 4px);
	}

section#home div#cont_blocs .bloc {
	position: relative;
	/* display: block; */
	background: #f7f7f7;
	width: calc(100% / 4 - 4px);
	margin: 4px 0 0 4px;
	}

section#home div#cont_blocs .bloc:nth-child(5),
section#home div#cont_blocs .bloc:nth-child(6) {
	flex-grow: 2;
	}

section#home div#cont_blocs .bloc__title{
	font-size: 1.375rem;
	font-weight: 500;
	line-height: 1.5;
	}

section#home div#cont_blocs .bloc-special .bloc__title {
	font-size: 1.2rem;
	} 

section#home div#cont_blocs .bloc table {
	border: none;
	border-collapse: collapse;
	margin: 0 0 0 10px;
}

section#home div#cont_blocs .bloc table tr td {
	line-height: 18px;
	padding-right: 20px;
}

section#home div#cont_blocs .bloc table ul,
section#home div#cont_blocs .bloc table ol { 
	margin: 0;
	padding: 0;
}

section#home div#cont_blocs .bloc ul li, section#home div#cont_blocs .bloc ol li {
	line-height: 18px;
}


section#home div#cont_blocs .bloc ul li a, section#home div#cont_blocs .bloc table a, section#home div#cont_blocs .bloc ol li a {
	text-decoration: none;
}

section#home div#cont_blocs .bloc ul li a:hover, section#home div#cont_blocs .bloc table a:hover, section#home div#cont_blocs .bloc ol li a:hover {
	text-decoration: underline;
}

section#home div#cont_blocs .bloc img {
	width: 100%;
	height: 100%;
}

section#home div#cont_blocs .bloc a::before {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .5);
	transition: .4s ease;
	pointer-events: visible;
	}

section#home div#cont_blocs .bloc a:hover::before {
	background: rgba(0, 0, 0, .8);
}

section#home div#cont_blocs .bloc div.bloc_text {
	display: inline-block;
	margin-left: 10px;
	text-align: left;
	
	vertical-align: top;
	width: 450px;
}

section#home div#cont_blocs .bloc h2 {
	position: absolute;
	bottom: 0;
	color: #FFF;
	padding: 20px;
	text-align: left;
	word-break: break-word;
}

/* section#home div#cont_blocs .bloc div.bloc_text ul {
	list-style: square;
	margin-left: 30px;
}

section#home div#cont_blocs .bloc div.bloc_text ol {
	list-style: decimal;
	margin-left: 30px;
} */


/* Nuvol de tags */
.nube{
	background-color: #f7f7f7;
	border: solid 1px #eee;
	color: red;
	margin-bottom: 30px;
	text-align: center;
	width: 100%;
}
.nube div.etiquetas{
	font-family: verdana,arial,helvetica;
	font-size:8pt;
	padding:5px;
}
.nube div.etiquetas a{
	float: left;
	height: 20pt;
	margin: 0 3px 0 3px;
	text-decoration: none;
	white-space: nowrap;
}

.nube div.etiquetas a.etiquetatam0{
	color: #B7B7B7; 
}
.nube div.etiquetas a.etiquetatam1{
	color: #A9A9A9;
	font-size: 110%;   
}
.nube div.etiquetas a.etiquetatam2{
	color: #999999;
	font-size: 120%;   
}
.nube div.etiquetas a.etiquetatam3{
	color: #878787;
	font-size: 130%;   
}
.nube div.etiquetas a.etiquetatam4{
	color: #808080;
	font-size: 140%;   
}
.nube div.etiquetas a.etiquetatam5{
	color: #666666;
	font-size: 150%;   
}
.nube div.etiquetas a.etiquetatam6{
	color: #555555;
	font-size: 160%;   
}
.nube div.etiquetas a.etiquetatam7{
	color: #444444;
	font-size: 170%;   
}
.nube div.etiquetas a.etiquetatam8{
	color: #333333;
	font-size: 180%;   
}
.nube div.etiquetas a.etiquetatam9{
	color: #222222;
	font-size: 190%;   
}
.nube div.etiquetas a.etiquetatam10{
	color: #111111;
	font-size: 200%;   
}



/* =Llistats Notícies/Faq 
------------------------------------------------------------------------------------------------- */
article.list_news_item,
article.list_worker_item,
article.list_item {
	margin-bottom: 2.5em;
	}

article.list_news_item img,
article.list_worker_item img { 
	border: 1px solid #eee;
	display: inline-block;
	width: 150px; 
	}


article.list_news_item div:not([class*="msg_pantalla"]) { 
	display: inline-block;
	margin-left: 1.4em;
	vertical-align: top;
	width: 775px; 
	}
	
article.list_worker_item div { 
	display: inline-block;
	margin-left: 1.4em;
	vertical-align: top;
	width: 70%;
	}




/* =Links
------------------------------------------------------------------------------------------------- */
a,
aside#submenu_left .adjunts a { 
	color: #504e53;/*#807f84;*/
	text-decoration: underline;
	}
	
a:hover { 
	text-decoration: none;
	}

aside#submenu_left .adjunts a:hover { 
	color: #807f84;
	font-weight: normal;
	text-decoration: none;
	}

aside#submenu_left a {
	color: #000;
	font-size: .938rem;
	text-decoration: none;
	line-height: 1.5;
	}
	
aside#submenu_left #cont_sub_menu2 a {
	color: #000;
	font-size: .938rem;
	text-decoration: none;
	line-height: 1.5;
	}

aside#submenu_left #cont_sub_menu2 a:hover,
aside#submenu_left #cont_sub_menu2 a.actiu {
	color: #777;
	font-weight: 400;
	}

aside#submenu_left a:hover, 
aside#submenu_left a.actiu {
	color: #d76a00;
	font-weight: 400;
	}

footer a {
	color: #FFF;
	font-size: 0.8em;
	text-decoration: none; 
	line-height: 1.5;
	}

footer .footer-col__title a { 
	color: #FFF;
	font-size: 0.9em;
	font-weight: 900;
	line-height: 1.5;
	}
	
footer #navmenu-inferior a {
	color: #807f84;
}

footer a:hover { 
	text-decoration: underline; 
	}

header #sel_idiomes li a { 
	color: #68676b; 
	text-decoration: none; 
	}
	
header #sel_idiomes li a:hover, 
header #sel_idiomes li a.actiu { 
	color: #000;
	text-decoration: underline;
	}

header #btn_pq_dem a { 
	color: #ffa200; 
	font-size: 14px; 
	font-weight: bold; 
	padding-left: 20px; 
	text-decoration: none; 
	}
	
header #btn_pq_dem a:hover { color: #fff; }


section#home #botons_grans a{
	color: #000;
	text-decoration: none;
	padding-top: 1.5em;
	}

section#home #botons_grans a:hover{
	color: #ffa200;
	}

section#home a.btn_seccio1 {
	background: url(../img/comm/home-dem.jpg) no-repeat;
	display: block;
	float: left;
	height: 199px;
	margin-right: 1px;
	width: 207px;
	}
	
section#home a.btn_seccio2 {
	background: url(../img/comm/home-productes.jpg) no-repeat;
	display: block;
	float: left;
	height: 199px;
	margin-right: 1px;
	width: 207px;
	}
	
section#home a.btn_seccio3 {
	background: url(../img/comm/home-materials.jpg) no-repeat;
	display: block;
	float: left;
	height: 199px;
	width: 207px;
	}


#botons_grafica a {
	font-size: 0.8em;
	margin-right: 1px;
	padding: 5px 10px 10px 10px;
	background-color: #ccc;
	color: #000;
	}
	
#botons_grafica a:LAST-CHILD {background: #ffa200;color:#FFF;}

#botons_grafica a:hover,
#botons_grafica a.actiu {
	background-color: #444;
	color: #FFF;
}

.btn_form {
	display: inline-block;
	margin-top: 20px;
	margin-right: 10px;
	background-color: #ffa200;
	
	color: #FFF;
	padding: 15px 20px;
	text-decoration: none;
	
	-webkit-transition: background 0.3s ease;
	-moz-transition: background 0.3s ease;
	-o-transition: background 0.3s ease;
	transition: background 0.3s ease;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;

	text-transform: uppercase;
	font-weight: 600;
	}
	
.btn_form:hover,
.btn_form.actiu {
	background-color: #444;
	color: #FFF;
	}

article.list_news_item .btn_more,
article.list_item .btn_more {
	margin-top: 10px;
	}

.btn_more { 
	background: url(../img/comm/btn-more.png) no-repeat; 
	display: block;
	padding: 0 0 1px 25px; 
	margin-top: 0px;
	text-decoration: none;
	}
	
.btn_more:hover { 
	text-decoration: underline;
	}


#cont_breadcrumbs { 
	color: #9e9e9e;
	background: #FFF;
	padding: 10px 20px 0 0; 
	font-size: 14px;
	}

#cont_breadcrumbs span { color: #ff9000; line-height: 1.5; }
#cont_breadcrumbs a { color: #9e9e9e; line-height: 1.5; }

.font { margin: 0 0 20px 0; }





/* =PQ DEM
------------------------------------------------------------------------------------------------- */
#cont_blocs_pq {
	display: flex;
	flex-wrap: wrap;
	position: relative;
	margin: -4px 0 0 -4px;
	width: calc(100% + 4px);
	margin-top: -24px;
}

#cont_blocs_pq .bloc {
	position: relative;
	/* display: block; */
	background: #f7f7f7;
	width: calc(100% / 4 - 4px);
	margin: 4px 0 0 4px;
}

#cont_blocs_pq .bloc img {
	width: 100%;
	height: 100%;
	margin: 0!important;
}

#cont_blocs_pq .bloc::before {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, .5);
	transition: .4s ease;
	pointer-events: visible;
}
	
#cont_blocs_pq .bloc:hover::before,
#cont_blocs_pq .bloc.actiu::before {
	background: rgba(0, 0, 0, .8);
}
/* 	
#cont_blocs_pq .bloc .bloc_text {
	display: inline-block;
	margin-left: 10px;
	text-align: left;
	
	vertical-align: top;
	width: 450px;
} */
	
#cont_blocs_pq .bloc .bloc__title {
	position: absolute;
	bottom: 0;
	padding: 20px;
	word-break: break-word;
}

#cont_blocs_pq .bloc .bloc__title * {
	color: #FFF!important;
	text-align: left!important;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
}



#cont_blocs_pq div.bloc_pq {
	/* color: #000;
	-webkit-box-shadow: 3px 3px 20px 0px #888;
	box-shadow: 3px 3px 20px 0px #888;  */
	/* behavior: url(ie-css3.htc); */ /* This lets IE know to call the script on all elements which get the 'box' class */
	/* padding: 20px; */
}

#cont_blocs_pq div.bloc_pq_no_shadow {
	/* padding: 20px; */
}

#cont_blocs_pq div.bloc_pq.actiu {
	/* -webkit-box-shadow: 0px 0px 20px 0px #333;
	box-shadow: 0px 0px 20px 0px #333; */
	/* behavior: url(ie-css3.htc); */ /* This lets IE know to call the script on all elements which get the 'box' class */
}

#cont_blocs_pq div.bloc_pq_no_shadow.actiu p {
	/* color: #ed6f19;
	text-shadow:2px 2px 5px #777;
	filter: progid:DXImageTransform.Microsoft.Blur(pixelradius=2); */
}

#cont_blocs_pq div p {
	/* line-height: inherit; */	
}


/* =CONSUMIBLES
------------------------------------------------------------------------------------------------- */
#pinca {
	margin-top: 50px;
	width: 220px;
}


#cont_btn_zoom {
	text-align: right;
}

/* =Llistes
------------------------------------------------------------------------------------------------- */
footer ul#navmenu-inferior li {
	display: inline;
	}

section#main ul { 
	margin-left: 3em; 
	margin-bottom: 1.5em;
	}

section#main ul li { 
	list-style: disc; 
	padding: 0.2em 0;
	line-height: 1.5;
	}

aside#submenu_left #cont_sub_menu_grafic ul {
	box-sizing: border-box;
	margin:50px 0;
	padding:0;
}

aside#submenu_left #cont_sub_menu_grafic li {
	width: 100%;/*220px*/
}

aside#submenu_left #cont_sub_menu_grafic li.separador {
	background: url(../img/comm/fletxa.png) no-repeat center;
	height: 76px;
	margin: -10px 0 0 0;
	padding: 0;
	/*width: 73px;*/
	
}

aside#submenu_left #cont_sub_menu_grafic li a {
	background: #ed6f19;
	
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;	
	
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box; 
	box-sizing: border-box;
	
	color: #000;
	display: block;
	font-size: 1.2em;
	font-weight: bold;
	padding: 25px 20px;
	
	text-align: center;
}

aside#submenu_left #cont_sub_menu_grafic li a:hover, aside#submenu_left #cont_sub_menu_grafic li a.actiu {
	background: #b54c04;
	color: #FFF;
}


/* =Header
------------------------------------------------------------------------------------------------- */
header div#logo { 
	/* background: url(../img/comm/logo-dem-barcelona-new.png) no-repeat;  */
	float: left; 
	height: 38px; 
	width: 150px; 
	}

header div#logo svg {
	max-height: 100%;
	max-width: 100%;
	}
	
header #idiomes_pq_dem { 
	float: right; 
	margin-top: 56px; 
	text-align: right; 
	width: 55%; 
	}
	 
header .header__content {
	display: flex;
	justify-content: space-between;
	margin: 0 auto;
	padding: 39px 20px 0 20px;
	max-width: var(--header-width);
	}

header #language__container {
	position: relative;
	display: inline-block;
	text-transform: uppercase;
	width: 37px;
	font-size: .8rem;
	margin-top: 16px;
	}

header #sel_idiomes { 
	position: absolute;
	color: #68676b; 
	display: block; 
	width: 40px;
	right: 0;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	z-index: 2;
	opacity: 0;
	}

header #sel_idiomes.show-language-menu {
	animation-duration: .5s;
	animation-name: showMenu;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
	}

@keyframes showMenu {
	from {
		top:-30px;
		opacity: 0;
	}
	to {
		top: 20px;
		opacity: 1;
	}
}
	
header .current-language {
	color: #FFFFFF;
	font-size: inherit;
	font-weight: 700;
	}

header .current-language a {
	color: inherit;
	text-decoration: none;
	}

header .language-arrow {
	float: right;
	margin-top: -1px;
	}

header .language-arrow svg {
	width: 15px;
	height: 15px;
	}

header .language-arrow svg * {
	stroke: #FFFFFF;
	fill: #FFF;
	}

header #sel_idiomes li { 
	text-align: left; 
	background-color: #FFF;
	padding: 0px 5px!important;
	margin: 0;
	line-height: 1.8;
	text-align: center;
	}
	
header #sel_idiomes li:first-of-type {
	padding-top: 5px!important;
	}

header #sel_idiomes li:last-of-type {
	padding-bottom:5px!important;
	}

/* header #btn_pq_dem { 
	background: url(../img/comm/bg-pq-dem.gif) no-repeat; 
	float: right; 
	height:34px; 
	line-height: 34px; 
	text-align: left;
	width: 191px; 
	} */
	


/* =Navegació
------------------------------------------------------------------------------------------------- */
nav#principal { 
	background: #000; 
	height: 45px; 
	position: relative;
	text-align: center;
	z-index: 4000;
	font-family: 'Roboto Condensed', sans-serif;
	}

aside#submenu_left li { 
	margin-bottom: 11px;
	}
aside#submenu_left li:last-child { 
	margin: 0;
	}


/* =Navegació Mòbil
------------------------------------------------------------------------------------------------- */
#btn-open-mobile-menu { display: none; position: inline-block; margin-top: 6px; /* background: #ed6f19 url(../img/comm/menu-mobile.png) no-repeat top left; */ width: 25px; height: 30px; cursor: pointer; }
.hamburger { display: none; }
.hamburger .bar { display: block; width: 25px; height: 3px; margin: 5px auto; -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; background-color: #FFF; }
.hamburger.active .bar:nth-child(2) {
	opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}
#mobile-menu-wrapper {display: none; position: absolute; top: 104px; right: 4px; width: 90%; overflow: scroll; text-align: left; box-sizing: border-box; z-index: 1;}
ul#navmenu-v { list-style: none; }
ul#navmenu-v li { float: none; box-sizing: border-box; border-bottom: 1px solid #ccc;}
ul#navmenu-v ul { display: block; }

    /* menu primer nivell *//*#9890b7*/
    ul#navmenu-v a { font-size: 12px; line-height: 23px; display: block; width: 100%; background: #515151; text-decoration: none; font-weight: bold; color: #FFF; padding: 3px 15px; box-sizing: border-box;  }
    ul#navmenu-v a:hover, ul#navmenu-v a.activo { text-decoration: underline; }
    /* menu segundo nivell */
    ul#navmenu-v ul li a { font-size: 12px; line-height: 23px; display: block; width: 100%; background: #ebebeb; text-decoration: none; font-weight: bold; color: #000000; padding: 3px 30px; }
    ul#navmenu-v ul li a:hover, ul#navmenu-v ul li  a.activo { text-decoration: underline; }
    /* menu tercer nivell */
    ul#navmenu-v ul ul li a { font-size: 12px; line-height: 23px; display: block; width: 100%; background: #FFF; text-decoration: none; font-weight: bold; color: #000000; padding: 3px 60px; }
    ul#navmenu-v ul ul li a:hover, ul#navmenu-v ul ul li a.activo { text-decoration: underline; }
    /*ul#navmenu-v a#activo { text-decoration: underline; }*/


/* =Tables
------------------------------------------------------------------------------------------------- */
form.contact_page table { 
	width: 100%;
	}

form.contact_page table td:FIRST-CHILD { 
	width: 20%;
	}

form.contact_page table td {
	padding: 0 4px 5px 0;
	vertical-align: top;
	}

form.contact_page table td.separador {
	height: 15px;
	}

.adjunts table td {
	vertical-align: middle;
	}

table p { margin: 0; }

:root {
	--border-table: 2px;
}
table.copper-table,
table.aluminum-table {
	width: 100%!important;
	border: var(--border-table) solid #a9a9a9!important;
	border-collapse:collapse;
	background-color: transparent!important;
}

table.aluminum-table tr:nth-child(2n) td {
	background-color: #FFF!important;
}
table.aluminum-table tr:nth-child(2n + 1) td {
	background-color: #ededed!important;
}

table.copper-table td,
table.aluminum-table td {
	padding: 5px 10px;
	border: var(--border-table) solid #a9a9a9;
}
table.copper-table tr:first-of-type td,
table.aluminum-table tr:first-of-type td {
	background-color: #86858a!important;
	color: #FFF;
	height: 30px!important;
	border-top: var(--border-table) solid #86858a!important;
}
table.copper-table tr:first-of-type td:nth-child(1),
table.aluminum-table tr:first-of-type td:nth-child(1) {
	border-left: var(--border-table) solid #86858a!important;
}
table.copper-table tr:first-of-type td:nth-child(5),
table.aluminum-table tr:first-of-type td:nth-child(4) {
	border-right: var(--border-table) solid #86858a!important;
}
table.copper-table tr:first-of-type td br {
	display: none;
}
table.copper-table tr td:first-of-type,
table.aluminum-table tr td:first-of-type {
	text-align: left!important;
}
table.aluminum-table tr td:first-of-type {
	font-weight: 700;
}


/* =Form
------------------------------------------------------------------------------------------------- */
#cont_form_page {
	margin-top: 40px;
	}


form.contact_page {
	margin-left: 10%;
	}


label { 
	display: block;
	margin: 3px 1em 3px 0;
	font-weight: 600;
	line-height: 1.2;
	color: #777;
	}
	
#left_content label {
	padding-top: 5px;
}

input,
select,
textarea { 
	box-sizing: border-box;
	width: 100%;

	border-radius: 2px;
	margin-bottom: 10px;
	padding: 10px 10px 10px 10px; 
	border: 1px solid #f7f7f7;
	background-color: #f7f7f7;
	border-top: 1px solid #E7E7E7;
	font-size: .9rem;
	}

input:focus,
select:focus,
textarea:focus {
	outline: none!important;
	border: 1px solid #ffa200;
	box-shadow: 0 0 5px #ddaf5f;
}

#left_content input,
#left_content select,
#left_content textarea {
	margin-bottom: 0px;
}

textarea { height: 5em; }

button { padding: 5px; }

.mandatory {
	padding-left: 1em;
	}

/* Gr�fiques */
form#frm_custom {
	display: block;
	width: 100%;
	padding: 10px 0;
	background: #eee;
	} 

form#frm_custom input,
label {
	float: left;
	}
	
	
form#frm_custom input {
	width: 110px;
	}
	
form#frm_custom img {
	margin: 0 20px 0 5px;
	}
	
form#frm_custom .btn_form_custom {
	width: auto;
	}

form#frm_custom table {
	margin-left: 20px;
	}

.rgpd-wrapper,
.rgpd-wrapper div {
	width: auto!important;
}
.rgpd-wrapper {
	margin-bottom: 1rem;
}
.rgpd-wrapper,
.rgpd-wrapper strong {
	line-height: 1em;
	font-size: inherit;
}
.rgpd-wrapper .rgpd-options {
	content:"";
	margin-top: 20px;
}
.rgpd-wrapper .rgpd-options .options {
	display:block;
	margin-left: 15px;
	margin-top: 5px;
}
.rgpd-wrapper .rgpd-options input[type=radio] {
	width: auto!important;
	margin-right: 10px;
}

/* =Gràfiques
------------------------------------------------------------------------------------------------- */
div#botons_grafica {
	position: relative;
	z-index: 0;
	}
	
div#cont_frm_custom {
	background: #FFF;
	border-top: 1px solid #bbb;
	margin-top: -5px;
	margin-bottom: 15px;
	min-height: 5px;
	position: relative;
	z-index: 0;
	}

#explicacions {
	background: #eee;
	border: 1px dashed #ddd;
	margin: 20px 0;
	padding: 2em;
	}

#explicacions div { text-align: center; }

.example-plot { display: block; margin-top: 30px; }

a[href*="lme"].submenu_diferente::before,
a[href*="mk"].submenu_diferente::before {content: "·"; padding-left: .5rem!important; margin-right: .5rem;}

/* = Footer Pre
------------------------------------------------------------------------------------------------- */
:root {
	--width-contact: 665px;
}

.footer-contact {
	position: relative;
	background-color: #ececec;
	min-height: 180px;
	margin-top: 25px;
	}

.footer-contact::before {
	content: "";
	display: block;
	position: absolute;
	bottom: 0;
	height: 45px;
	width: 100%;
	background-color: #f5f5f5;
	}

.footer-contact__inner {
	position: absolute;
	display: block;
	bottom: 0;
	width: var(--width-contact);
	min-height: 120px;
	background-color: #f5f5f5;
	left: 0;
	right: 0;
	margin: 0 auto;
	text-align: center;
	}

.footer-contact__btn-text {
	margin-top: 2rem;
	font-size: 1.5rem;
	margin-bottom: 10px;
	}

.footer-contact__btn-icon {
	width: 15px;
	height: 15px;
	margin: 0 auto;
	}

.footer-contact__btn-icon svg {
	max-width: 100%;
	max-height: 100%;
	}

.footer-contact a:hover .footer-contact__btn-text {
	color: #ccc;
	}

.footer-contact a:hover svg * {
	fill: #ccc;
	}

.footer-contact__form {
	margin-top: -20px;
	background-color: #f5f5f5;
	padding-top: 30px;
	padding-bottom: 30px;
	margin-bottom: 20px;
	display: none;
	}

.footer-contact__form form,
.footer-contact__form .msg_pantalla {
	width: var(--width-contact);
	margin: 0 auto;
	}

.footer-contact__form .msg_pantalla {
	margin-top: 20px;
}


/* =Footer
------------------------------------------------------------------------------------------------- */
footer { 
	background: #0a0a0a; 
	padding:40px 40px 35px 40px;
	box-sizing: border-box;
	margin-top: 20px;
	}

footer .footer__inner {
	max-width: var(--header-width);
	margin: 0 auto;
}

footer .footer-logo {
	width: 106px;
	height: 26px;
}

footer .footer-logo svg {
	max-width: 100%;
	max-height: 100%;
}

footer #menu_footer::before {
	content: "";
	display: block;
	height: 1px;
	width: 100%;
	background-color: #272727;
	margin-bottom: 15px;
	}

footer #menu_footer::after {
	content: "";
	display: block;
	height: 1px;
	width: 100%;
	background-color: #272727;
	margin-top: 20px;
	margin-bottom: 20px;
	}
	
footer .conj_menu_peu {
	display: block;
	width: 100%;	
	margin-bottom: 0;
	box-sizing: border-box;
	margin: 20px 0 0 10px;
	}


footer #cont_menu_peu {
	display: flex;
	justify-content: start;
	box-sizing: border-box;
	margin: -10px 0 0 -10px;
	}

footer .company-info {
	color: #FFFFFF;
	font-size: 0.8rem;
	line-height: 1.5;
	}
	
footer #cont_menu_peu .conj_menu_peu {
	/* box-sizing: border-box;
	width: 20%; */
}
	
	
footer #nav_inferior { 
	color: #807f84;
	display: block; 
	text-align: center;
	margin-top: 25px;
	}

footer #info_empresa { 
	display: block;
	/*border: 1px dashed green;*/ 
	color: #ffa200;
	display: block;
	margin-top: 1.5em;
	}

footer #info_empresa img {
	/*border: 1px solid green;*/
	display: inline-block; 
	margin-top: 4px;
	}

footer #info_empresa .dades {
	/*border: 1px solid yellow;*/
	display: inline-block;
	font-size: 0.8em;
	line-height: 14px;
	padding: 2px 10px;
	vertical-align: top;
	width: calc(100% - 145px); /* 65%;*/
	}

footer #info_empresa .social {
	display: inline-block;
	float: right;
	width: 19%;
	}
	

footer #info_empresa .social ul {
	display: block;
	text-align: right;
	}

footer #info_empresa .social li {
	display: inline;
	}

footer .footer-social { margin-top: 40px; }

footer .footer-social ul {
	display: flex;
	justify-content: center;
}

footer .footer-social ul li + li {
	margin-left: 30px;
}

footer .footer-social svg {
	width: 24px;
	height: 24px;
}

/* footer .footer-social svg * {
	stroke: #807f84!important;
} */

/* footer .footer-social svg #icones * {
	stroke: red;
} */

/* =Mapa web
------------------------------------------------------------------------------------------------*/
.mapa_web_pagines a {
	display: block;
	text-decoration: none; 
	}

.mapa_web_pagines a:hover {
	color: #000;
	}

.mapa_web_pagines a.principal:FIRST-CHILD {
	padding-top: 0;
	}

.mapa_web_pagines a.principal {
	color: #ffa200;
	font-size: 1.5em;
	padding-top: 2em;
	}





/* =Diccionari
------------------------------------------------------------------------------------------------*/
#cont_letras { }
#cont_letras ul { margin: 0; padding: 0; list-style: none; }
#cont_letras ul li { float: left; padding-right: 28px; }
#cont_letras ul li a { display: block; background: gray; padding: 5px; text-decoration: none; color: #FFF; font-size: 12px; font-family: Verdana,sans-serif; }
#cont_letras ul li a:hover, #cont_letras ul li a.activo { display: block; background: #ffa200; color: #000; text-decoration: none; font-weight: bold; }
#palabras-definicion { clear: both; margin-top: 20px; }
#palabras-definicion ul { list-style: none; margin: 0; padding: 0; }
#palabras-definicion #palabras { float: left; width: 200px; }
#palabras-definicion #palabras a { color: #000; text-decoration: none; font-weight: bold; }
#palabras-definicion #palabras a:hover, #palabras-definicion #palabras a.activo { color: #000; text-decoration: underline; }
#palabras-definicion #definicion { float: right; width: 600px; }
#palabras-definicion #definicion .definicion { margin-top: 15px; }
#palabras-definicion #definicion h2 { margin-top: 0; padding-top:0; }


/* =Paginador
------------------------------------------------------------------------------------------------*/
#paginador { width: 100%; margin: 20px 0; text-align: right; }
#paginador a { color: #000; text-decoration: none; margin-right: 10px; padding: 2px 5px; background: #eee; border: 1px solid #ccc; }
#paginador a:hover { background: #ddd; }
#paginador a.pag_activa { font-size: 1.2em; color: #990000; text-decoration: none; background: orange;}
	

/* =Cookies message
------------------------------------------------------------------------------------------------*/
#banner-politica-cookies, #banner-politica-cookies * {box-sizing: border-box;}
#banner-politica-cookies {
	display: block;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	background-color: rgba(255,255,255,0.9);
	height: auto;
	color: #000;
	font-size: 14px;
	z-index: 5000;
	border-bottom: 2px solid rgba(0,0,0,0.1);
	padding: 1rem 10px 1rem 10px;
	box-sizing: border-box;

	-webkit-box-shadow: 0px -1px 5px 0px rgba(71,70,71,0.65);
	-moz-box-shadow: 0px -1px 5px 0px rgba(71,70,71,0.65);
	box-shadow: 0px -1px 5px 0px rgba(71,70,71,0.65);
}

#banner-politica-cookies .wrapper-cookies {
	margin: 0 auto 0 auto;
	max-width: 680px;
}
#banner-politica-cookies a {
	color: #B1005C;
	text-decoration: underline;
}
#banner-politica-cookies .btn {
	clear: both;
    display: block;
	margin: 8px 0 12px 0;
	padding: 0;
	text-align: center;
	/* height: 28px; */	
}
#banner-politica-cookies .btn a {
	padding: 5px 10px;
	font-weight: bold;
	text-transform: uppercase;
	color: #FFF;
	text-decoration: none;
	letter-spacing: 1px;
	line-height: 22px;
	background-color: #aaa;
}
#banner-politica-cookies .btn a:hover {
	background-color: #000;
}

@media screen and (max-width:420px){
	#banner-politica-cookies .btn a {display:block;width:100%;}	
	footer #info_empresa img {display:block;margin-left:auto;margin-right:auto;}
	footer #info_empresa .dades {margin-top:8px;clear:both;display:block;width:100%;}
}