/*
Simple Responsive Template v 1.2


primary styles 
   Author: www.prowebdesign.ro
   Add your own styles to customize the project.



BASE (MOBILE) SIZE
	These are the mobile styles. It's what people see on their phones.
	Remember, keep it light: Speed is Important.
*/

/* typography */
body{
	color:#666;
	font-family:'Ubuntu', Arial, Helvetica, sans-serif; 
	font-size:1em;
	line-height:1.4em; 
	font-weight:normal;
}

.imagensi {
  display:block;
}
.imagenno {
   display:none;
}

.stroke  {
color: white;
text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, 1px 1px 1px #000;
}

.stroke:hover  {
color: #d0d0d0;
}

.stroke2  {

color: #d0d0d0;
text-shadow: -1px -1px 1px #000, 1px -1px 1px #000, -1px 1px 1px #000, 1px 1px 1px #000;
}

h1, h2, h3, h4, h5, h6{
	font-weight:normal;
	font-family:'Droid Serif', Arial, Helvetica, sans-serif; 
	line-height:1.5em;
	margin:.45em 0;
	padding:0;
}

h3{
	padding-left:10px;
}

.container-fluid
{
	background: url("../images/fondovila.gif") no-repeat center top;
	width:100%;
}

.imagenconcejal {
   max-width: 145px;
   max-height: 150px;
   padding: 0 15px 15px 0;
}

.ir-arriba { /*flecha que aparece para subir al home*/
	padding:20px;
	display:block;
	background:#BDBDBD url(/images/337-ctrl.png) center center no-repeat;
	color:#fff;
	position: fixed;
	font-size:20px;
	bottom:10px;
	right:10px;
	cursor:pointer;
	z-index: 1;
	opacity: 0.8;
	border-radius: 6px;
}

p.cartelportada{
text-shadow: 2px 2px #000000; 
text-decoration: none;
font-size:42px;
font-weight:bold;
}

p.cartelportada a:hover, .gris{
color:#a4a4a4; 
}
p.cartelportada2{
text-shadow: 2px 2px #000000; 
text-decoration: none;
font-size:28px;
font-weight:bold;
}
p.cartelportada2 a:hover, .blanco{
color: rgb(240, 255, 240); 
}

p.destacados{
  color: #a4a4a4;
  display:block;
  margin:5px 0; 
  padding:10px 0 0 10px;
  font-weight:bold;
  border-bottom: solid 5px #a4a4a4;
}
.destacados img{
margin: 0px 6px 7px 0px;
}

.destacados img:hover{
box-shadow: 2px 2px 5px #999;
}

.spoiler1{
	border:none;
	background:none;
	padding: 5px;
}

.spoiler1:hover{
	background-color:#e7e7e7;
}

.spoilertext{
	font-size:14px;
}

.negrita
{
	padding: 5px 0 5px 0;
	font-weight: bold;
	font-family:'Droid Serif', Arial, Helvetica, sans-serif; 
	line-height:1.5em;
}
 
.correcto
{
	background-color:#e7e7e7;
	padding: 5px 0 5px 0;
	font-weight: bold;
	color: #3c763d;
}

.error
{
	background-color:#fe0000;
	color: #a94442;
	padding: 5px 0 5px 0;
	font-weight: bold;
}

.centrado
{
	text-align:center;
}

.justificado
{
	text-align: justify !important; 
}

.top
{
	vertical-align:top;
}


.parpadea {
  font-family:helvetica;
  font-weight:bold;
  color:red;
  text-transform:uppercase;
  
  animation-name: parpadeo;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;

  -webkit-animation-name:parpadeo;
  -webkit-animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
}

@-moz-keyframes parpadeo{  
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}

@-webkit-keyframes parpadeo {  
  0% { opacity: 1.0; }
  50% { opacity: 0.0; }
   100% { opacity: 1.0; }
}

@keyframes parpadeo {  
  0% { opacity: 1.0; }
   50% { opacity: 0.0; }
  100% { opacity: 1.0; }
}

.fecha_not_portada
{
	background-color:#eaeaea;
	padding: 5px 0 5px 0;
	font-weight: bold;
	display: block;
}

/* imagen con texto alrededor */

.imagenservicios
 {
  float: left;
}

.imagen {
  float: left;
  max-width: 150px;
  padding: 0 10px 10px 0;
}

.imagen_banner {
  max-width: 260px;
}

.imagenanuncio {
   max-width: 120px;
   padding: 0 10px 10px 0;
}

.imagen_not_portada{
	 float:left;
	 margin:.5em 10px .5em 0;
	 overflow:hidden; 
 }

 /* margenes negativos que realizaran el corte */
.imagen_not_portada img{
	margin:0 0 -70px 0;
 }

/* links 
a,
a:visited,
a:active,
a:hover{color:#0099ff;}
a:hover{ text-decoration:none;}
*/

.bigicon {
    font-size: 35px;
    color: #36A0FF;
}
/* links zona oscura*/
a.enlace,
a.enlace:visited,
a.enlace:active{
color:#d1d1d1;
}
a.enlace:hover{color:#fff;}
a.enlace:hover{ text-decoration:none;}

/* links zona clara*/
a.enlace2,
a.enlace2:visited,
a.enlace2:active{
color:#333333;
font-weight: bold;
}
a.enlace2:hover{color:#757575;}
a.enlace2:hover{ text-decoration:none;}

/* mini links zona clara*/
a.minienlace,
a.minienlace:visited,
a.minienlace:active{
color:#000000;
font-size:12px;
}
a.minienlace:hover{color:#757575;font-size:12px;}
a.minienlace:hover{ text-decoration:none;font-size:12px;}

/*servicios pagina principal*/
a.servicios, a.servicios:visited,a.servicios:active,a.servicios:hover {
    width: 100%;
    height: 100%;
	float: left;
    top: 0;
	color:#293131;
    text-decoration: none; /* No underlines on the link */
}

/*ESTILOS DE TABLA*/
/* 
Tablas para la sección concejales 
*/
	table.concejal. table.tabla { 
		width: 100%; 
		border-collapse: collapse; 
	}
	/* Zebra striping */
	table.concejal tr:nth-of-type(odd), table.tabla tr:nth-of-type(odd) { 
		background: #eee; 
	}
	table.concejal th, table.tabla th { 
		background: #333; 
		color: white; 
		font-weight: bold; 
	}
	table.concejal td, table.concejal th , table.tabla td, table.tabla th { 
		padding: 6px; 
		border: 1px solid #ccc; 
		text-align: left; 
	}

/*FIN DE ESTILOS DE TABLA*/
/*leged y fieldset*/

fieldset.tablones legend{
  padding: 0.2em 0.5em;
  border:1px solid grey;
  font-size:90%;
  text-align:center;
 }
 
 fieldset.tablones{
	width: 100%;
    margin-left: 2px;
    margin-right: 2px;
    padding-top: 0.35em;
    padding-bottom: 0.625em;
    padding-left: 0.75em;
    padding-right: 0.75em;
    border: 2px groove;
 }

/* Box sizing. Awesome thing. Read about it here: http://www.w3schools.com/cssref/css3_pr_box-sizing.asp */
*{	box-sizing:border-box;
	-moz-box-sizing:border-box;}

  
/* structure */   
.wrapper{
	width: 92%; 
	margin: 0 auto;
}
header{ 
	padding:15px 0;
}
#banner{ 
	text-align:center;
}
#banner2{ 
	text-align:center;
}
	
/*CABECERA DE LAS SECCIONES*/	
#hero,
#page-header{
	background:#f3f3f3;
	border-top:1px solid #e2e2e2;
	border-bottom:1px solid #e2e2e2;
	padding:20px 0;
}
#hero h1{ 
	line-height:1.2em;
	margin-top:0px;
	margin-bottom:10px;}

.flexslider{
	display:none;
}

#content {  
	margin:40px 0;
}

#contentagenda {  
	margin:40px 0;
	background-image: url("../images/butacas2.jpg");
	background-attachment: fixed;
	padding: 10px;
}

#contentagenda2 {  
	margin:40px 0;
	background-image: url("../images/auditori.jpg");
	background-attachment: fixed;
	padding: 10px;
}

aside { 
	margin:40px 0;
}

.aside2 { 
	margin:0 0 10px 0;
}

p{ margin:0 0 1.5em;}


/* RESPONSIVE IMAGES */
img{ max-width:100%; height:auto;}


/*MAIN MENU*/
.menu-toggle{
	display:block;
	padding:10px;
	margin:20px 0 0;
	background:#666;
	color:#fff;
	cursor:pointer;
	text-transform:uppercase;
	font-size:20px;
}
.menu-toggle.toggled-on{
	background:#0099ff;
}
.srt-menu{
	display:none;
}	
.srt-menu.toggled-on{
	display:block;
	position:relative;
	z-index:10;
}

.srt-menu{
	clear:both;
	margin-bottom:60px;
	
}
.srt-menu li a {
	background:#dadada;
	display:block;
	margin:1px 0; 
	padding:10px;
	text-decoration:none;
}
.srt-menu li a:hover{
	background:#0099ff;
	color:#fff;
}
.srt-menu li li a {
	background:#e8e8e8;
	padding-left:40px;
}
.srt-menu li li li a {
	background:#efefef;
	padding-left:80px;
}

/*PRIMARY MENU*/
#primary-navigation{
	margin-bottom:10px;
}
#primary-navigation ul{
	margin:0;
	padding:0;
	list-style: none;
}
#primary-navigation ul li a{ 
	background:#E6E6E6;
	display:block;
	margin:5px 10px; 
	padding:10px;
	text-decoration:none;
}

#primary-navigation ul li{ 
	float: left;
	width: 20%;
}

#primary-navigation ul li a:hover,
#primary-navigation ul li.current a{
	background:#868585;
	color:#fff;
}

ul.menu {
  background: #F4F4F4;
  border: 1px solid #7C7C7C;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.menu li a {
  color: #333;
  display: block;
  padding: .3em;
  text-decoration: none;
}

ul.menu li {
  
}
/*SECONDARY MENU*/
#secondary-navigation{
	margin-bottom:60px;
}
#secondary-navigation ul{
	margin:0;
	padding:0;
}
#secondary-navigation ul li p,
#secondary-navigation ul li a{ 
	background:#d3cdcd;
	display:block;
	margin:5px 0; 
	padding:10px;
	text-decoration:none;
}
#secondary-navigation ul li p{
	font-weight: bold;
}

#secondary-navigation ul li.hijos a{
	background:#E6E6E6;
	display:block;
	margin:5px 0; 
	padding:10px 10px 10px 30px;
	text-decoration:none;
}

#secondary-navigation ul li.hijos a:before{
	content: '➤';
	padding-right: 5px;
 }
#secondary-navigation ul li a:hover,
#secondary-navigation ul li.current a,
#secondary-navigation ul li.hijos a:hover {
	background:#868585;
	color:#fff;
}

/*SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER SO FAR*/
.grid_1,
.grid_2,
.grid_3,
.grid_3_servicios,
.grid_4,
.grid_4_govern,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-bottom:20px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

.grid_3_servicios{
height:70px;
}

.grid_4_govern{
/*height:100%;*/
min-height: 150px;
display:block;
}

.grid_13 {
	margin-bottom:10px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
	float:left;
}

.grid_14 {
	font-size:90%;
	text-align:center;
}

.grid_mapa{
width: 200px;
height:200px;
text-align:center;
}
.grid_linea, .grid_linea2{
border-color: grey;
border-width: 2px;
border-style: dotted;
margin:10px;
padding-left: 15px;
padding-right: 15px;
}

/*FOOTER*/
footer{  
	clear:both;
	font-size:80%;
	padding:20px 0;
}
footer ul{
	margin:0;
	padding:0;
}

/*colors and backgrounds*/
body{
	background:#fff;
}
h1, h2, h3, h4, h5, h6{
	color:#333; 
}

footer{ 
	background:#333;
	color:#ccc;
}
footer h1, footer h2, footer h3, footer h4{ 
	color:#CCC; 
	margin-bottom:10px;
}
footer ul{
	margin:0 0 0 8%;
}

a.buttonlink{ 
	background:#0099ff; 
	border-radius:7px; 
	color:#fff;
	display:block;
	float:left; 
	margin:10px 15px 10px 0; 
	padding:10px;
	text-decoration:none;
}
a.buttonlink:hover{
	background:#8dbc01;
}
.greenelement{
	background:#5ec79e;
	color:#fff;
}
.violetelement{
	background:#887dc2;
	color:#fff;
}

/* Contain floats*/ 
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: " ";
  display: table;
}
.clearfix:after,
.container:after,
.row:after{
  clear: both;
}


/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (max-width: 481px) {

.imagensi {
  display:none;
}
.imagenno {
   display:block;
}

.top
{
	vertical-align:top;
}

#hero{
display:none;
}

.img-alturamax {text-align:center;}
.img-alturamax img {max-height: 250px;}
.img-alturamax_old img {width: 100%; height: 150px; object-fit: cover;}

.btn-buscar{ padding:3px;}

.container-fluid
{
	background: none;
}
}

@media only screen and (min-width: 481px) {

.container-fluid
{
	background: url("../images/fondovila.gif") no-repeat center top;
}

.container-fluid a
{
	font-weight:bold;
}

#banner{
	float:left;
	text-align:left;
	margin-bottom:-20px;/*this depends on the height of the logo*/
}
#banner2{
	float:left;
	text-align:left;
	margin-bottom:-20px;/*this depends on the height of the logo*/
	padding-left: 30px;
	
}
.menu-toggle{/*make menu float right, instead of sitting under the logo*/
	margin-top:10px; /*this depends on the height of the logo*/
	float:right;
}

.imagen {
	max-width: 200px;
   padding: 0 15px 15px 0;
}

.imagen_banner {
   max-width: 460px;
}

.imagenconcejal {
   max-width: 145px;
   max-height: 150px;
   padding: 0 15px 15px 0;
   float:left;
}

.imagenanuncio {
   max-width: 165px;
   max-height: 170px;
   padding: 0 15px 15px 0;
   float:left;
}

.imagen_not_portada0,.imagen_not_portada1,.imagen_not_portada2,.imagen_not_portada3{
	 float:left;
	 margin:.5em 10px .5em 0;
	 overflow:hidden; 
 }
 
.img-alturamax {text-align:center;}
.img-alturamax img {max-height: 250px;}
 
.img-alturamax_old  img {width: 100%; height: 250px; object-fit: cover;}

  /* margenes negativos que realizaran el corte */
.imagen_not_portada0 img{
	margin:0 0 -30px 0;
 }
 
 /* margenes negativos que realizaran el corte */
.imagen_not_portada1 img{
	margin:0 0 -140px 0;
 }

 /* margenes negativos que realizaran el corte */
.imagen_not_portada2 img{
	margin:0 0 -250px 0;
 }

 /* margenes negativos que realizaran el corte */
.imagen_not_portada3 img{
	margin:0 0 -350px 0;
 }
}

	@media 
	only screen and (max-width: 760px),
	(min-device-width: 768px) and (max-device-width: 1024px)  {
	
	.container-fluid
	{
		background: none;
	}
		
		/* Tablas para la sección de los concejales */
		table.concejal, table.concejal thead, table.concejal tbody, table.concejal th, table.concejal td, table.concejal tr, table.tabla, table.tabla thead, table.tabla tbody, table.tabla th, table.tabla td, table.tabla tr  { 
			display: block; 
		}
		
		/* Hide table headers (but not display: none;, for accessibility) */
		table.concejal thead tr, table.tabla thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		
		table.concejal tr, table.tabla tr { border: 1px solid #ccc; }
		
		table.concejal td, table.tabla td{ 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 5px; 
		}
		
		table.concejal td::before, table.tabla td::before  { 
			/* Top/left values mimic padding */
			top: 6px;
			left: 6px;
			width: 45%; 
			padding-right: 5px; 
			white-space: nowrap;
		}
		
		/*
		Label the data
		*/
		table.concejal td:nth-of-type(1):before{ content: "NOM: "; }
		table.concejal td:nth-of-type(2):before{ content: "COGNOMS: "; }
		table.concejal td:nth-of-type(3):before{ content: "REGIDORIES: "; }
		
		/* Tablas para la sección del pleno */
		tr.concejalx td:nth-of-type(1):before{ content: "Orden del día: "; }
		tr.concejalx td:nth-of-type(2):before{ content: "Sesión: "; }
		tr.concejalx td:nth-of-type(3):before{ content: "Acta: "; }
		tr.concejalx2 td:nth-of-type(1):before{ content: "Ordre del dia: "; }
		tr.concejalx2 td:nth-of-type(2):before{ content: "Sessió: "; }
		tr.concejalx2 td:nth-of-type(3):before{ content: "Acta: "; }
		
		/* Tablas para la sección del pleno */
		tr.concejalx3 td:nth-of-type(1):before{ content: "Objeto de la licitación: "; }
		tr.concejalx3 td:nth-of-type(2):before{ content: "Fecha de publicación en Diario Oficial: "; }
		tr.concejalx3 td:nth-of-type(3):before{ content: "Pliego de cláusulas: "; }
		tr.concejalx4 td:nth-of-type(1):before{ content: "Objecte de la licitació: "; }
		tr.concejalx4 td:nth-of-type(2):before{ content: "Data de publicació en Diari Oficial: "; }
		tr.concejalx4 td:nth-of-type(3):before{ content: "Pléc de clàusules: "; }
		
		/* Tablas para la sección becas */
		tr.concejalx5 td:nth-of-type(1):before{ content: "Titulo: "; }
		tr.concejalx5 td:nth-of-type(2):before{ content: "Departamento: "; }
		tr.concejalx5 td:nth-of-type(3):before{ content: ""; }
		tr.concejalx6 td:nth-of-type(1):before{ content: "Títol: "; }
		tr.concejalx6 td:nth-of-type(2):before{ content: "Departament: "; }
		tr.concejalx6 td:nth-of-type(3):before{ content: ""; }
		tr.concejalx7 td:nth-of-type(1):before{ content: "Nombre: "; }
		tr.concejalx7 td:nth-of-type(2):before{ content: "Telf.: "; }
		tr.concejalx7 td:nth-of-type(3):before{ content: "Fax"; }
		tr.concejalx8 td:nth-of-type(1):before{ content: "Titulo: "; }
		tr.concejalx8 td:nth-of-type(2):before{ content: ""; }
		tr.concejalx9 td:nth-of-type(1):before{ content: "Títol: "; }
		tr.concejalx9 td:nth-of-type(2):before{ content: ""; }
		tr.concejalx10 td:nth-of-type(1):before{ content: "";}
		tr.concejalx10 td:nth-of-type(2):before{ content: "";}
		
		/* Tablas para la sección de los politicos */
		tr.concejales td:nth-of-type(1):before{ content: "NOM: "; }
		tr.concejales td:nth-of-type(2):before{ content: "COGNOMS: "; }
		tr.concejales td:nth-of-type(3):before{ content: "CÀRREC: "; }
		tr.concejales td:nth-of-type(4):before{ content: "REGIDORIES: "; }
	}

/*
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:)
*/
@media only screen and (min-width: 920px) {
#hero{
display:normal;
}

	.container-fluid a
	{
		font-weight:bold;
	}


.wrapper{
	max-width: 1200px; 
	margin: .75em auto;
}

#banner{ 
	float:left; 
	text-align:left;
	margin-bottom:0px;
}
#banner2{ 
	float:left; 
	text-align:left;
	margin-bottom:0px;
	padding-left: 30px;
}
header{
	padding:0;
}
#content {  
	float:left;
	width:65%;
}
#content.wide-content{
	float:none;
	width:100%;
}

#contentagenda {  
	float:left;
	width:100%;
	padding: 20px;
}
#contentagenda.wide-content{
	float:none;
	width:100%;
	background-image: url("../images/butacas.jpg");
	background-attachment: fixed;
}

#contentagenda2 {  
	float:left;
	width:100%;
	padding: 20px;
}
#contentagenda2.wide-content{
	float:none;
	width:100%;
	background-image: url("../images/auditori.jpg");
	background-attachment: fixed;
}
.flexslider{
display:block;
/*demo 1 slider theme*/	
margin: 0 0 20px; 
background: #fff; 
border: 4px solid #fff; 
-webkit-border-radius: 4px; 
-moz-border-radius: 4px; 
-o-border-radius: 4px; 
border-radius: 4px; 
box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-webkit-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-moz-box-shadow: 0 1px 4px rgba(0,0,0,.2); 
-o-box-shadow: 0 1px 4px rgba(0,0,0,.2);
}


aside { 
	float:right;
	width:30%;
}

.aside2 { 
	float:left;
	width:30%;
}

/*** MAIN MENU - ESSENTIAL STYLES ***/
.menu-toggle{display:none;}
#menu-main-navigation{display:block;}

.srt-menu, .srt-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.srt-menu ul {
	position:		absolute;
	display:none;
	width:			12em; /* left offset of submenus need to match (see below) */
}
.srt-menu ul li {
	width:			100%;
}
.srt-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.srt-menu li {
	float:			left;
	position:		relative;
	margin-left:1px;
}
.srt-menu li li {
	margin-left:0px;
}
.srt-menu a {
	display:		block;
	position:		relative;
}
.srt-menu li:hover ul,
.srt-menu li.sfHover ul {
	display:block;
	left:			0;
	top:			45px; /* match top ul list item height */
	z-index:		99;
	-webkit-box-shadow:  2px 3px 2px 0px rgba(00, 00, 00, .3);
    box-shadow:  2px 3px 2px 0px rgba(00, 00, 00, .3);
}
ul.srt-menu li:hover li ul,
ul.srt-menu li.sfHover li ul {
	top:			-999em;
}
ul.srt-menu li li:hover ul,
ul.srt-menu li li.sfHover ul {
	left:			12em; /* match ul width */
	top:			0;
}
ul.srt-menu li li:hover li ul,
ul.srt-menu li li.sfHover li ul {
	top:			-999em;
}
ul.srt-menu li li li:hover ul,
ul.srt-menu li li li.sfHover ul {
	left:			10em; /* match ul width */
	top:			0;
}

/*** DEMO1 SKIN ***/
#topnav, .srt-menu {
	float:right;
	margin: .35em 0 0 0;
}
.srt-menu a {
	text-decoration:none;
}
.srt-menu li a {
	background:#fff;
	margin:0; 
	padding:10px 20px;
	height:45px;
}
.srt-menu a, .srt-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#0099ff;	
}
.srt-menu li li a {
		border-top:		1px solid rgba(255,255,255,.2);
		background:		#333; /*fallback for old IE*/
		background:rgba(0,0,0,.6);
		color:	#fff;
		padding-left:20px;
		height:auto;
}
.srt-menu li li a:visited{color:#fff;}
.srt-menu li li li a,
.srt-menu li.current * li a{
	padding-left:20px;
	background:rgba(0,0,0,.6);
}

.srt-menu li:hover > a,
.srt-menu li.current a{ 
	color:#fff;
	background:#868585;
}
.srt-menu li li:hover > a{
	color:#fff;
	background:#868585;
}



/*GRID*/
/*
 & Columns : 12 

 */
 .row{
	 margin-left: -15px;
     margin-right: -15px;
}
 
.grid_1 { width: 8.33333333%; }
.grid_2 { width: 16.66666667%; }
.grid_3, .grid_3_servicios { width: 25%; }
.grid_4{ width: 33.33333333%; }
.grid_4_govern { width: 47%; }
.grid_5 { width: 41.66666667%; }
.grid_6 { width: 50%; }
.grid_7 { width: 58.33333333%; }
.grid_8 { width: 66.66666667%; }
.grid_9 { width: 75%; }
.grid_10 { width: 83.33333333%; }
.grid_11 { width: 91.66666667%; }
.grid_12, .grid_13, .grid_14 { width: 100%; }

.grid_1,
.grid_2,
.grid_3,
.grid_3_servicios,
.grid_4,
.grid_4_govern,
.grid_linea,
.grid_linea2,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12, .grid_13, .grid_14 {
	float: left;
	display: block;
}

.grid_4_govern{
height:160px;
}

.grid_mapa{
width: 580px;
height:300px;
text-align:center;
}

.grid_linea{
border-color: grey;
border-width: 2px;
border-style: dotted;
margin:10px;
padding-left: 15px;
padding-right: 15px;
width: 47%;
height:130px;
}

.grid_linea2{
border-color: grey;
border-width: 2px;
border-style: dotted;
margin:10px;
padding-left: 15px;
padding-right: 15px;
width: 47%;
height:47%;
}

.rightfloat{float:right;}
/* @notation inspired by tinyGrid, .row and percentage by Twitter Bootstrap
 */
 
#hero [class*="grid_"] { margin-bottom:-20px;}

.imagen {
  float: left;
  max-width: 300px;
    padding: 0 20px 20px 0;
}

.imagen_banner {
  max-width: 300px;
}

.imagenanuncio {
   max-width: 165px;
   max-height: 170px;
   padding: 0 20px 20px 0;
   float:left;
}

.imagen_not_portada0, .imagen_not_portada1, .imagen_not_portada2, .imagen_not_portada3{
	 float:left;
	 margin:.5em 10px .5em 0;
	 overflow:hidden; 
 }

}

/*
DESKTOP
This is the average viewing window. So Desktops, Laptops, and
in general anyone not viewing on a mobile device. Here's where
you can add resource intensive styles.
*/
@media only screen and (min-width: 1030px) {

} 

/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {

} 

/*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution.
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {


} 

/*
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) { 

  
}

/*
PRINT STYLESHEET
*/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  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: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  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; }
}

/* xarxes socials*/
/* Botones de Redes Sociales - Ciudad Blogger */
.social_bookmarks_container {
width:100%;
height:65px;
padding:0;
position:relative;
}
.social_bookmarks {
position:relative;
float:left;
margin:0;
padding:0;
}
.social_bookmarks li {
margin:0 0 5px 5px;
height:57px;
width:57px;
list-style:none;
float:left;
padding:0;
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out; 
transition: all 0.4s ease-in-out;
}
.social_bookmarks li a {
float:left;
width:57px;
line-height:24px;
display: block;
text-indent: -99999px;
margin:0px;
outline: none;
padding:1;
min-height:57px;
height:100%;
text-decoration:none;
}
.social_bookmarks .iconrss{background: #A4A4A4 url(http://lh6.googleusercontent.com/-s8sIx3OX2WI/U4vC1nmgr0I/AAAAAAAALK4/W3Z3qXMwrCg/s114/icon-rss.png) top left no-repeat;}
.social_bookmarks .iconrssmail{background: #BDBDBD url(http://lh5.googleusercontent.com/-H4iUybdCAyU/U4vC1yQWu1I/AAAAAAAALLE/fTpR7eN4cIw/s114/icon-rssmail.png) top left no-repeat;}
.social_bookmarks .icontwitter{background: #D8D8D8 url(http://lh6.googleusercontent.com/-4TshwJW7hIE/U4vC2JM25AI/AAAAAAAALLI/tcIkpheXrYU/s114/icon-twitter.png) top left no-repeat;}
.social_bookmarks .iconfacebook{background: #E6E6E6 url(http://lh5.googleusercontent.com/-nt-UdZG1ns0/U4vC1v57lwI/AAAAAAAALLQ/pAOWjEBSnSg/s114/icon-facebook.png) top left no-repeat;}
.social_bookmarks .iconvilaapp{background: #F1F1F1 url(/images/icon-vilaapp.png) top left no-repeat;}
.social_bookmarks .iconfacebook:hover{background-position:center -57px; background-color: #37589b;}
.social_bookmarks .icontwitter:hover {background-position:center -57px; background-color: #46d4fe;}
.social_bookmarks .iconvilaapp:hover {background-position:center -57px; background-color: #ced6df;}
.social_bookmarks .iconrss:hover{background-position:center -57px; background-color: #ff6600;}
.social_bookmarks .iconrssmail:hover{background-position:center -57px; background-color: #FFDE00;}
.social_bookmarks li:hover a{background: transparent url(http://lh4.googleusercontent.com/-XNviZ_JqvyU/U4vDMDFAX8I/AAAAAAAALLk/E4VIJr1onlo/s57/icon-social-reflect.png) no-repeat;
}

