/*
	UNA CREACIÓ DE CREATIUS GIRONA
	28/05/2014 | GIRONA
	http://www.creatiusgirona.com/
*/


#header{
	/* background: url("../img/rodones.png") no-repeat scroll top center; */
	float: left;
	height: auto;
    position: relative;
    width: 100%;
	min-width: 320px;
	margin-bottom: 15px;
}
#header .contSup{
	display: table;
	float: left;
    height: 35px;
    position: relative;
    width: 100%;
}
#header .contSup .cont{
	height: 100%;
    margin: auto;
	padding: 0 25px;
    max-width: 1000px;
	position: relative;
}
#header .contSup .cont_full{
	height: 100%;
    width: 100%;
}
#header .contSup .cont #menu{
	height: 100%;
    list-style: none outside none;
    padding: 0;
    width: auto;
}
#header .contSup .cont #menu li{
	color: #FFFFFF;
    display: inline-block;
    height: 100%;
    line-height: 25px;
	position: relative;
	padding: 10px 0 8px;
}
#header .contSup .cont #menu li ul{
	background-color: black;
	display: none;
	margin: 3px 0 0;
	opacity: 0.9;
    padding: 10px;
    position: absolute;
    z-index: 999;
}
#header .contSup .cont #menu li ul:after{
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 0 10px 10px;
	border-color: #000 transparent;
	display: block;
	width: 0;
	z-index: 1;
	top: -10px;
	left: 40px;
}
#header .contSup .cont #menu li ul:before{
	content: "";
    display: block;
    height: 10px;
    left: 0;
    position: absolute;
    top: -10px;
    width: 100%;
    z-index: 1;
}
#header .contSup .cont #menu li ul li{
	line-height: 20px;
    white-space: nowrap;
	width: 100%;
}
#header .contSup .cont #menu li ul li a{
	color: white !important;
	font-size: 14px;
	text-align: left;
}
#header .contSup .cont #menu li ul li a:hover{
	color: #A42F37 !important;
	/*text-decoration: underline;*/
}
#header .contSup .cont #menu li ul li a.selSubMenu{
	color: #A42F37 !important;
	/*text-decoration: underline;*/
}
#header .contSup .cont #menu li:hover{
	background-color: black;
}
#header .contSup .cont #menu li div{
    height: 100%;
	width: 100%;
	position: absolute;
}
#header .contSup .cont #menu li ul div{
	margin-left: -10px;
    margin-top: -10px;
}
#header .contSup .cont #menu li a, #header .contSup .cont #menu li span{
	color: white;
	cursor: pointer;
	display: block;
    font-size: 22px;
    padding-left: 14px;
    padding-right: 14px;
    position: relative;
	/* text-transform: uppercase; */
}
#header .contSup .cont #menu li:hover ul{
	display: block;
}

#header .contSup .cont #menu li:hover a{
	color: white;
	/*text-decoration: underline;*/
	/*color: #61a521;*/
}
#header .contSup .cont #menu li.selMenu ul{
	/*display: block;*/
}
#header .contSup .cont #menu li.selMenu div, #header .contSup .cont #menu li:hover div{
	background: black none repeat scroll 0 0;
    border-radius: 50%;
    height: 6px;
    margin: -3px auto auto;
    position: relative;
    width: 6px;
}
#header .contSup .cont #menu li.selMenu a{
	color: white;
	/*text-decoration: underline;*/
	/*color: #61a521;*/
	/*background: black;
	opacity: 0.3;*/
}

#header .contSup .cont #idiomes{
	height: 100%;
    line-height: 35px;
    margin-left: 15px;
    position: absolute;
    right: 27px;
    width: auto;
}
#header .contSup .cont #idiomes a{
	color: #000;
	display: block;
    font-size: 11px;
	float: left;
	margin-right: 10px;
}
#header .contSup .cont #idiomes a:last-child{
	margin-right: 0;
}
#header .contSup .cont #idiomes a.selIdioma{
	display: none;
}

#header .contSup .cont .access{
	background: none repeat scroll 0 0 #000000;
    float: right;
    height: 100%;
    line-height: 35px;
	padding-left: 34px;
	margin-left: 24px;
    position: relative;
    width: auto;
}
#header .contSup .cont .access.accesoPrivado{
	margin-left: 5px;
	padding-left: 0px;
}
#header .contSup .cont .access.accesoPrivado img{
	display: none;
}
#header .contSup .cont .access img{
	left: -24px;
    position: absolute;
}
#header .contSup .cont .access span{
	color: #FFFFFF;
	height: 100%;
    font-size: 15px;
    padding-left: 10px;
    padding-right: 10px;
	position: relative;
}

#header .contSup .cont #contLogSoc{
	float: left;
    height: auto;
    padding: 25px 0 0;
    width: 100%;
	position: relative;
}
#header .contSup .cont #contLogSoc .granvia_cont{
    display: table;
	float: left;
}
#header .contSup .cont #contLogSoc .granvia_cont .granvia_logo {
    display: table-cell;
    padding-right: 20px;
    vertical-align: middle;
}
#header .contSup .cont #contLogSoc .granvia_cont .granvia_adr {
    display: table-cell;
    vertical-align: middle;
}
#header .contSup .cont #contLogSoc .casual_cont{
    display: table;
	float: right;
}
#header .contSup .cont #contLogSoc .casual_cont .casual_logo {
    float: right;
}
#header .contSup .cont #contLogSoc .casual_cont .casual_adr {
    float: left;
    padding-right: 13px;
	text-align: right;
}
#header .contSup .cont #contLogSoc .logo{
}
#header .contSup .cont #contLogSoc .lang_social {
    float: right;
}
#header .contSup .cont #contLogSoc .cont_idioma {
	color: #9c9d9f;
    position: absolute;
    text-align: right;
    width: 100%;
}
#header .contSup .cont #contLogSoc .cont_idioma a.link {
	background: #ccc none repeat scroll 0 0;
    border-radius: 50%;
    color: white;
    display: inline-block;
    font-weight: bold;
}
#header .contSup .cont #contLogSoc .cont_idioma a.link:hover {
	text-decoration: none;
	opacity: 0.5;
}
#header .contSup .cont #contLogSoc .cont_idioma a.lang-link {
	height: 24px;
    line-height: 24px;
    text-align: center;
    width: 24px;
	padding: 2px;
	font-size: 14px;
}
#header .contSup .cont #contLogSoc .adr_head {
	color: #9C9D9F;
    float: left;
}
#header .contSup .cont #contLogSoc .adr_head  + .adr_head{
    margin-left: 20px;
}
#header .contSup .cont #contLogSoc #social{
	float: right;
    width: 128px;
}
#header .contSup .cont #contLogSoc #social .buttonsSoc{
	background-size: 100% auto !important;
    display: block;
	float: left;
    height: 27px;
	margin-left: 5px;
    width: 27px;
}
#header .contSup .cont #contLogSoc #social #facebook{
	background: url("../img/head/facebook.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}
#header .contSup .cont #contLogSoc #social #twitter{
	background: url("../img/head/twitter.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}
#header .contSup .cont #contLogSoc #social #linkedin{
	background: url("../img/head/linkedin.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}
#header .contSup .cont #contLogSoc #social #google{
	background: url("../img/head/google.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
}
#header .contSup .cont #contLogSoc #social #buscador{
	float: right;
    margin-top: 20px;
    position: relative;
}
#header .contSup .cont #contLogSoc #social #buscador input{
	border: 1px solid #CCCCCC;
    border-radius: 2px;
    width: 128px;
}
#header .contSup .cont #contLogSoc #social #buscador #buscar{
	background: url("../img/head/buscar.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
	cursor: pointer;
	display: block;
    height: 39px;
    position: absolute;
    right: -10px;
    top: -10px;
    width: 28px;
}

#header .contSup .cont .bloc{
	background: none repeat scroll 0 0 #ECECED;
    float: left;
    height: 130px;
    position: relative;
    width: 32%;
}
#header .contSup .cont .sepBloc{
	display: block;
    float: left;
	height: 25px;
	line-height: 25px;
    position: relative;
    width: 2%;
}
#header .contSup .cont .bloc .blocTitol{
	background: none repeat scroll 0 0 #000000;
    height: 25px;
    line-height: 25px;
    position: relative;
	width: 100%;
}
#header .contSup .cont .bloc .blocTitol  .text{
	color: #FFF;
	margin-left: 10px;
    position: relative;
}
#header .contSup .cont .bloc .contInfo {
	float: left;
    height: 105px;
    position: relative;
    width: 100%;
}
#header .contSup .cont .bloc .contInfo .info{
	float: left;
    height: 100%;
	overflow: hidden;
    position: relative;
    width: 88%;
}
#header .contSup .cont .bloc.actu .contInfo .info{
    width: 46%;
}
#header .contSup .cont .bloc .contInfo .info .contText{
	float: left;
    height: 93px;
    margin-bottom: 12px;
    overflow: hidden;
    width: 100%;
}
#header .contSup .cont .bloc .contInfo .info .contText p{
	color: black;
	padding: 0 10px;
	text-align: left;
}
#header .contSup .cont .bloc .contInfo .info .contText .date{
	font-size: 9px;
    margin-top: 10px;
}
#header .contSup .cont .bloc .contInfo .info .contText .titol{}
#header .contSup .cont .bloc .contInfo .info .contText .text{
	text-align: left;
}
#header .contSup .cont .bloc .contInfo .img{
	float: right;
	height: 100%;
    width: 42%;
}
#header .contSup .cont .bloc .contInfo .info .contDates{
	padding: 10px;
}
#header .contSup .cont .bloc .contInfo .info .contDates input[type=text]{
	color: #000000;
    height: 20px;
    width: 100%;
	padding-left: 10px;
	padding-right: 10px;
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box;     
    box-sizing: border-box; 
}
#header .contSup .cont .bloc .contInfo .info .contDates .mailInput{
	width: 175px !important;
}
#header .contSup .cont .bloc .contInfo .info .contDates .textarea{
	color:black;
	width: 100%;
	min-width: 100%;
	max-width: 100%;
	height: 35px;
	min-height: 35px;
	max-height: 35px;
	font-size: 11px;
	padding-left: 10px;
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box;     
    box-sizing: border-box; 
}
#header .contSup .cont .bloc .contInfo .info .contDates input::-webkit-input-placeholder { color:#000; }
#header .contSup .cont .bloc .contInfo .info .contDates input::-moz-placeholder { color:#000; } /* firefox 19+ */
#header .contSup .cont .bloc .contInfo .info .contDates input:-ms-input-placeholder { color:#000; } /* ie */
#header .contSup .cont .bloc .contInfo .info .contDates input:-moz-placeholder { color:#000; }

#header .contSup .cont .bloc .contInfo .info .contDates .acept input[type=checkbox]{
    color: #000000;
    font-size: 10px;
	margin-right: 10px;
	position: relative;
	top: 3px;
}
#header .contSup .cont .bloc .contInfo .info .contDates .acept{
	bottom: 10px;
    color: #000000;
    font-size: 10px;
    left: 10px;
    position: absolute;
}
#header .contSup .cont .bloc .contInfo .info .contDates .acept a{
	color: #000000;
    font-size: 10px;
}


#header .contSup .cont .bloc .contInfo .btn{
	background-color: #B1B2B4;
	cursor: pointer;
    float: right;
    height: 100%;
    position: relative;
    width: 12%;
}
#header .contSup .cont .bloc .contInfo .btn .btnImg{
	background-repeat: no-repeat;
	background-position: center center;
    height: 100%;
    position: relative;
    width: 100%;
}
#header .contSup .cont .bloc .contInfo .btn:hover{
	background-image: -webkit-gradient(
		linear,
		right bottom,
		left bottom,
		color-stop(0, #003F76),
		color-stop(1, #006EB2)
	);
	background-image: -o-linear-gradient(left, #003F76 0%, #006EB2 100%);
	background-image: -moz-linear-gradient(left, #003F76 0%, #006EB2 100%);
	background-image: -webkit-linear-gradient(right, #003F76 0%, #006EB2 100%);
	background-image: -ms-linear-gradient(left, #003F76 0%, #006EB2 100%);
	background-image: linear-gradient(to left, #003F76 0%, #006EB2 100%);
}
#header .contSup .cont .bloc .contInfo .btnAct{
	color: #FFFFFF;
    font-size: 25px;
    line-height: 105px;
    text-align: center;
}
#header .contSup .cont .bloc .contInfo .btnNews{
	background-image: url('../img/news.png');
}
#header .contSup .cont .bloc .contInfo .btnCons{
	background-image: url('../img/cons.png');
}
#header .contSup .cont .breadcrumbs{
	color: #000000;
    margin: 20px 0 10px;
}

/* MOBILE */
@media only screen and (max-width: 1050px){
	#header .contSup .cont .bloc .contInfo .info .contDates .mailInput{
		width: 60% !important;
	}
}
@media only screen and (max-width: 925px){
	#header .contSup .cont .bloc .contInfo .info .contDates .mailInput{
		width: 55% !important;
	}
	
	#header .cont-img .img-right, #header .cont-img .img-left{
		display: none;
	}
	
	#header .cont-img{
		justify-content: center !important;
	}
}
@media only screen and (max-width: 768px){
	#header .contSup .cont #contLogSoc {
		display: table;
	}
	#header .contSup .cont #contLogSoc .granvia_cont {
		display: table-cell;
		float: none;
		text-align: center;
	}
	#header .contSup .cont #contLogSoc .granvia_cont .granvia_logo{
		display: block;
	}
	#header .contSup .cont #contLogSoc .granvia_cont .granvia_adr{
		margin-top: 10px;
		display: block;
	}
	
	#header .contSup .cont #contLogSoc .casual_cont{
		display: table-cell;
		float: none;
		text-align: center;
	}
	#header .contSup .cont #contLogSoc .casual_cont .casual_logo{
		display: block;
		float: none;
	}
	#header .contSup .cont #contLogSoc .casual_cont .casual_adr{
		display: block;
		float: none;
		margin-top: 10px;
		text-align: center;
	}
	
	#header .contSup .cont #contLogSoc .cont_idioma{
		bottom: 0;
		text-align: center;
		float: none;
		margin-bottom: 0;
		position: relative;
		display: table-caption;
		margin-top: 10px;
		top: 0;
	}
	#header .contSup .cont #contLogSoc .cont_idioma a.link{
		margin-top: 15px;
	}
}
@media only screen and (max-width: 385px){
	#header .contSup .cont #contLogSoc .granvia_cont .granvia_logo{
		padding: 0 10px;
	}
	#header .contSup .cont #contLogSoc .granvia_cont .granvia_logo .logo{
		width: 100%;
	}
	#header .contSup .cont #contLogSoc .casual_cont .casual_logo{
		padding: 0 10px;
	}
	#header .contSup .cont #contLogSoc .casual_cont .casual_logo .logo{
		width: 100%;
	}
}
@media only screen and (max-width: 768px){
	#header .contSup{
		display: block;
		height: auto;
	}
	#header .contSup .cont #menu{
		float: left;
		text-align: center;
		width: 100%;
	}
	#header .contSup .cont #menu li{
		display: block;
	}
	#header .contSup .cont #menu li span{
		/* font-size: 18px; */
	}
	#header .contSup .cont #menu li a{
		/* font-size: 18px; */
	}
	
	#header .contSup .cont #menu li ul{
		-webkit-transition: all 0.3s ease-in;
		-moz-transition: all 0.3s ease-in;
		-o-transition: all 0.3s ease-in;
		-ms-transition: all 0.3s ease-in;
		transition: all 0.3s ease-in;
		overflow: hidden;
		height: 0;
		display: block;
		padding: 0px 10px;
		position: relative;
	}
	#header .contSup .cont #menu li ul li{
		height:auto;
		line-height: 20px;
		white-space: normal;
	}
	#header .contSup .cont #menu li ul li a{
		font-size: 16px;
		margin: 0;
		padding: 0;
		text-align: center;
	}
	#header .contSup .cont #menu li ul div{
		margin-left: 0px;
		margin-top: 0px;
	}
	#header .contSup .cont #menu li:hover ul{
		position: relative;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	#header .contSup .cont #menu li:hover ul.row3{
		height: 60px;
	}
	#header .contSup .cont #menu li:hover ul.row4{
		height: 80px;
	}
	#header .contSup .cont #menu li:hover ul.row5{
		height: 100px;
		padding-bottom: 10px;
	}
	#header .contSup .cont #menu li:hover ul.row6{
		height: 120px;
	}
	#header .contSup .cont #menu li.selMenu ul{
		position: relative;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	#header .contSup .cont #menu li.selMenu ul.row3{
		height: 60px;
	}
	#header .contSup .cont #menu li.selMenu ul.row4{
		height: 80px;
	}
	#header .contSup .cont #menu li.selMenu ul.row5{
		height: 100px;
	}
	#header .contSup .cont #menu li.selMenu ul.row6{
		height: 120px;
	}
	#header .contSup .cont .access{
		margin-bottom: 20px;
		margin-left: 0px;
		float: left;
		padding: 0;
		text-align: center;
		width: 100%;
	}
	#header .contSup .cont .access.accesoPrivado{
		margin-left: 0px;
	}
	#header .contSup .cont .access.accesoPrivado img{
		display: block;
	}
	#header .contSup .cont .access img{
		left: 0;
		display: none;
	}
	#header .contSup .cont .access span{
		padding-left: 0;
	}
	#header .contSup .cont #idiomes{
		text-align: right;
		/*width: 100%;*/
	}
	#header .contSup .cont #contLogSoc #logo{
		width: 100%;
	}
	#header .contSup .cont #contLogSoc #social{
		margin-top: 10px;
		width: 100%;
	}
	#header .contSup .cont #contLogSoc #social #buscador{
		margin-top: 5px;
	}
	
	/*BLOCS*/
	#header .contSup .cont .bloc.actu{
		display: none;
	}
	#header .contSup .cont .bloc{
		-webkit-transition: height 0.3s ease-in;
		-moz-transition: height 0.3s ease-in;
		-o-transition: height 0.3s ease-in;
		-ms-transition: height 0.3s ease-in;
		transition: height 0.3s ease-in;
		overflow: hidden;
		height: 35px;
		margin-bottom: 10px;
		width: 100%;
		text-align: center;
	}
	#header .contSup .cont .bloc .blocTitol{
		cursor: pointer;
		border-radius: 5px;
		height: 35px;
		line-height: 35px;
	}
	#header .contSup .cont .bloc .blocTitol .text{
		margin: 0;
	}
	#header .contSup .cont .sepBloc{
		display: none;
	}
	#header .contSup .cont .bloc .contInfo{
		/*-webkit-transition: height 0.3s ease-in;
		-moz-transition: height 0.3s ease-in;
		-o-transition: height 0.3s ease-in;
		-ms-transition: height 0.3s ease-in;
		transition: height 0.3s ease-in;
		overflow: hidden;
		height: 0;*/
	}
	#header .contSup .cont .bloc.active{
		height: 140px;
		position: relative;
	}
	#header .contSup .cont .bloc .contInfo .info .contDates input[name=mail]{
		margin-top: 5px;
	}
	#header .contSup .cont .bloc .contInfo .info .contDates input[type=text]{
		width: 100% !important;
	}
	#header .contSup .cont .bloc.active.cons{
		height: 165px;
	}
	#header .contSup .cont .bloc.cons .contInfo{
		height: 130px;
	}
	.img_bg_head{
		display: none;
	}
}
@media only screen and (max-width: 412px){
	#header .contSup .cont #contLogSoc #logo{
		background-size: 100% auto;
	}
	#header .contSup .cont #menu li:hover ul.row5{
		height: 100px !important;
	}
	#header .contSup .cont #menu li.selMenu ul.row5{
		height: 100px !important;
	}
}/*
@media only screen and (max-width: 424px){
	#header .contSup .cont #menu li:hover ul.row4{
		height: 120px !important;
	}
	#header .contSup .cont #menu li.selMenu ul.row4{
		height: 120px !important;
	}
}
@media only screen and (max-width: 356px){
	#header .contSup .cont #menu li:hover ul.row4{
		height: 140px !important;
	}
	#header .contSup .cont #menu li.selMenu ul.row4{
		height: 140px !important;
	}
}
@media only screen and (max-width: 343px){
	#header .contSup .cont #menu li:hover ul.row4{
		height: 150px !important;
	}
	#header .contSup .cont #menu li.selMenu ul.row4{
		height: 150px !important;
	}
}*/
/*@media only screen and (max-width: 451px){
	#header .contSup .cont #contLogSoc #logo{
		background-size: 100% auto;
	}
}*/
@media only screen and (max-width: 350px){
	#header .contSup .cont .access span{
		padding-left: 20px;
	}
}
.form{
	height: 100%;
	width: 100%;
}

.menu_center{
	text-align: center;
}

.menu_center ul{
	display: inline-block;
}

.bg_ref_in{
	left: 0;
    position: absolute !important;
    width: 100%;
	/*background-color: #E2E3E4;*/
	background-color: #CABB9D;
	opacity: 0.7;
}

.cont_mascara{
	opacity: 0;
    position: absolute;
    right: 35px;
    top: -96px;
    width: 543px;
    z-index: -1;
}
.cont_mascara .mascara{
	left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}
.cont_mascara .img_bg_head{
	position: relative;
	width: 100%;
}

.social-icon{
	background-size: 100% auto !important;
    display: inline-block;
    height: 28px;
    margin-top: -15px;
    position: relative;
    top: 9px;
    width: 28px;
}
.social-icon:hover{
	opacity: 0.5;
}

.fb-link{
	background: url("../img/girouette/facecolor.png") no-repeat scroll center center;
}
.fb-link-b{
	background: url("../img/girouette/faceblanc.png") no-repeat scroll center center;
}

.it-link{
	background: url("../img/socialmedia/insta.png") no-repeat scroll center center;
}
.it-link-b{
	background: url("../img/socialmedia/insta_b.png") no-repeat scroll center center;
}

.in-link{
	background: url("../img/socialmedia/linkedin.png") no-repeat scroll center center;
}
.in-link-b{
	background: url("../img/socialmedia/linkedin_b.png") no-repeat scroll center center;
}

#header .cont-img{
	display: flex;
	vertical-align: middle;
	justify-content: space-around;
	align-items: center;
	height: 328px;
}
#header .cont-img .img-right, #header .cont-img .img-logo, #header .cont-img .img-logo-xs{
	align-self: flex-end;
	width: 100%;
	text-align: center;
}
#header .cont-img .img-logo-xs{
	display: none;
}
#header .cont-img .img-logo img{
	margin-bottom: 15px;
}