/*#logo_petit{
	float: right;
	position: absolute;
	right: 0;
	top: 115px;
}*/

/*div.container {
	width: 100%;
	max-width: 984px;
}*/

.inner1 {
	width: 100%;
}
.inner2 {
	width: 100%;
	max-width: 864px;
}

/*#idiomas {
	margin: 15px 5px 0 0;
}*/

/*#header {
	width: 100%;
}*/
#content {
	width: 100%;
}
.peu {
	width: 100%;
}
#menu4 li {
	box-sizing: border-box;
	height: 42px;
}

#menu4 li.serveis, 
#menu4 li.ciutat, 
#menu4 li.ajuntament, 
#menu4 li.actualitat {
	width: 25%;
}



/* Nous elements */
#subnavigation_plegat {
	clear: both;
    /*padding: 54px 0 0;*/
    position: relative;
	cursor: pointer;
    display: none;
}
#subnavigation_plegat li {
    float: left;
    padding: 0 6px;
    position: relative;
    font: bold 11px/37px Arial,Helvetica,sans-serif;
    max-height: 37px;
}
#myslider_gran{
	display: block;
	}
#myslider_petit {
	display: none;
}

#menu5 {
    float: left;
    padding: 5px 0 0;
    position: relative;
    width: 100%;
    z-index: 99;
    display: none;
    margin-top: -7px;
}
#menu5 > li {
    color: #333333;
    height: 35px;
    
    padding: 10px 16px 0 15px;
    position: relative;
	box-sizing: border-box;
	width: 50%;
}

.peu_right, .peu_left {
	width: 50%;
}

#col1 table  tr#accessActiu td{
	 color: #fff;
    font-style: normal;
    font-weight: bold;
    text-decoration: none;
}
#col2 h1 a {
	font-style: normal;
    text-decoration: none;
}
#col2 a.titolCont {
	 text-decoration:none;
	 font-style:normal;
	 color:#268CB2;
}

/*Display 6 to a row for large displays (like medium tablets and up) */
@media screen and (max-width: 835px) {
	/*
	.inner2 {
		background: none;
		background-color: #FFF;
	}*/


    
	.inner2 {
		padding-left: 0px;
		padding-right: 0px;
		background-position: -60px 0px;
/*
		  background-image: url(img.jpg);*/
    /*background-position: center top;
    background-size: 100% auto;*/


	}

	#col1 {
		width: 30% !important;
		box-sizing: border-box;
	}
	#col2 {
		width: 70% !important;
		box-sizing: border-box;
		padding-right: 5px;
	}
	#col3 {
		width: 100%;
		box-sizing: border-box;
	}

	/*#col3 div.box {*/
	#col3 div.grupcol3 {
		width: 50%;
		float: left;
	}

	#subnavigation {
		display: none;
		background-color: #F1F1F1;
		margin-top: 0px;
		width: 100%;
	}
	#subnavigation_plegat {
		display: block;
	}

	#subnavigation ul{
		list-style-type: none;
	    margin: 0;
	    padding: 0;
	}
	#subnavigation ul li {
		float: none;
		display: block;
	}

	#menu4 h3 a {
		font-size: 15px;
	}


	.box span {
		margin-top: 0px;
	}

	/*div.box br {
		display: none;
	}*/
}
@media only screen and (min-width: 835px){
    #subnavigation {
        display: block!important;
    }
}


 /* Small Devices, Tablets */
@media screen and (max-width: 720px) {
	#blocCentral {
	    padding: 0px;
	}
	#header {
		padding-right: 10px;
	}
	#logo_petit {
		right: 10px;
	}

	.secGalImg a {
		flex-basis: 25%;
	}

}


/*Display 6 to a row for little displays (like mobile) */
@media screen and (max-width: 585px) {

	#myslider_gran{
		display: none;
		}
	#myslider_petit {
		display: block;
	}

	#col1 {
		display: none;
	}
	#col2 {
		width: 100% !important;
		padding-right: 5px;
	}

	div.container {
		background-color: #FFFFFF;
		background-image: none;

	}
	.secGalImg a {
		flex-basis: 33%;
	}

	.inner2 {
		padding-left: 0px;
		padding-right: 0px;
		background-position: -112px -121px;
	}

	#subnavigation_plegat {
		/*position: absolute;
		top: 48px;*/
		padding: 0px;
	}

	#logo_petit {
		position: absolute;
		left: 0px;
		top: 55px;
		max-width: 40%;
	}
	#logo_petit img {
		width: 100%;
	}

	#header {
		height: 50px;
	}


	#idiomas {
		position: absolute;
		right: 25px;
		top: 0px;
		margin-top: 0px;
	}

	div.cont_central #colLeft {
		display: none;
	}
	div.cont_central #colRight {
		width: 100%;
		padding-left: 0px;
	}


	#colRight div.cercador {
		display: block;
	}

	#menu4 {
    	display: none;
	}
	#menu5 {
    	display: block;
	}



}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
	#header {
		height: 50px;
		width: 20%;
	}
	/*
	#idiomas {
		right: 25px;
		top: 22px;
	}*/
	/*
	#col1 {
		display: none;
	}
	#col2 {
		width: 100% !important;
		padding-right: 5px;
	}*/

	#col3 div.grupcol3 {
		width: 100%;
		float: left;
	}
/*
	#menu4 {
    	display: none;
	}
	#menu5 {
    	display: block;
	}
*/
	.secGalImg a {
		flex-basis: 50%;
	}

	.peu_right, .peu_left {
		width: 100%;
		float: left;
	}
	.peu_right {
		margin-top: 0px;
	}
	.xarxes {
		float: left;
	}

	ol.flex-control-thumbs {
		display: none;
	}

/*
	.contslider .divDiapo {
	    width: 100%;
	}
	.contslider .divThumbs {
	    width: 100%;
	}

	.flex-item {
	  flex-basis: 25%;
	}
*/



	#colRight .foto_petita2,
	#colRight .foto_petita3 {
		width:100%;
	}

	#colRight.colcontinguts img.contright,
	#colRight.colcontinguts img.contleft {
		max-width: 100%;
		width: 100%;
	}

	.titular_llistat_economia2{
		width: 100%;
	}

	#colRight .foto_petita_noti {
		width: 100%;
		max-width: 100%;
	}

	#colRight .col_principal {
		width: 100%;
	}

	#colRight .doscol_left {
		width: 100%;
	}
	#colRight .doscol_right {
		width: 100%;
		margin-top: 15px;
	}


	.capsa_noticies {
		display: flex;
		flex-flow: row wrap;
	}
	.capsa_noticies_item {
		flex-basis:100%;

	}
	.capsa_noticies_item img {
		max-width: 100%;
		margin-bottom: 5px;
	}

}

/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 360px) {
	#menu5 > li {
		height: 45px;
	}
	#menu5 span.mn1 {
		font-size: 14px;
	}
	#menu5 > li > ul {
		top: 40px;
	}
}