/* ANY CSS FOR ALL WIDTHS GOES HERE
----------------------------------------------------------- */

#s5_map_canvas img { max-width:none !important;}


/* ALL WIDTHS UNDER 970PX
----------------------------------------------------------- */

@media screen and (max-width: 970px){

	/* DEFAULT
	----------------- */

	.s5_wrap {
	width:100% !important;
	}
	
	.s5_is_display, .s5_is_slide {
	position:relative !important;
	}
	
	.s5_is_slide {
	height:auto !important;
	}
	
	#fontControls {
	display:none;
	}
	
	/* CUSTOM
	----------------- */
	
	body {
	font-size:0.7em !important;
	}
	
	.s5_wrap {
	width:auto;
	}
	
	.module_round_box_outer, #s5_menu_wrap_inner2 {
	margin-right:0px;
	}
	
	#s5_header_wrap, #s5_footer_area_inner2, #s5_breadcrumb_font_wrap, #s5_component_wrap_inner {
	padding-left:8px;
	/*padding-right:15px;*/
	}
	
	#s5_nav li .s5_level1_span1 {
	padding-left:10px;
	padding-right:10px;
	}
	
	#s5_bottom_menu_wrap li {
	margin-left:0px;
	margin-right:16px;
	float:left;
	}
	
	#s5_bottom_menu_wrap {
	float:left;
	margin-top:14px;
	}
	
	#s5_footer, #s5_bottom_menu_wrap {
	width:100%;
	}

	.year_equal{
		font-size: 18px !important;
	}
	
}


/* TABLET PORTRAIT MODE CSS
----------------------------------------------------------- */

@media screen and (min-width:580px) and (max-width: 970px){

	
	/* CUSTOM
	----------------- */
	
	.featured_image { 
	display:none;
	}
	.module_round_boxtwitter{
		margin-left: 10%;
		margin-right:8%;
	}
	.bannergroupbanner_bot{
		margin: 0 auto;
		width: 80%;
	}
	
}


/* TABLET PORTRAIT MODE CSS - SMALLER TABLETS
----------------------------------------------------------- */

@media screen and (max-width: 800px){
	#caixesXarxes{
		/*margin-left: 50%;*/
	}
}

@media screen and (max-width: 750px){

	/* CUSTOM
	----------------- */
	
	#s5_search_wrap {
		display:none;
	}
	.search{
		display:none;
	}
	#caixesXarxes{
		display:none;
	}

	#caixesSocialsFooter{
		clear:both;
		display:block;
		margin:0px auto;
		position:relative;
		width: 100%;
		text-align: center !important;
		padding-bottom: 20px;
	}
	#caixesSocialsFooter > div.s5_facebook{
		display: inline-block;
		width: 32px;
		height: 32px;
		float:none;
	}
	#caixesSocialsFooter > div.s5_twitter{
		display: inline-block;
		width: 32px;
		height: 32px;
		float:none;
	}
	#caixesSocialsFooter > div.s5_google{
		display: inline-block;
		width: 32px;
		height: 32px;
		float:none;
	}
	#caixesSocialsFooter > div.s5_rss{
		display: inline-block;
		width: 32px;
		height: 32px;
		float:none;
	}
	#s5_footer_area1 {
		padding-bottom: 51px;
	}
	#s5_footer_area_inner2{
		padding:0px;
		text-align: center !important;
	}
	#s5_footer{
		float:none;
		text-align: center !important;
	}
	.footerc{
		text-align: center !important;
	}

}


/* CUSTOM SIZES
----------------------------------------------------------- */
@media screen and (max-width: 500px){
	#s5_social_clear, #s5_social_bar_narrow_screen {
		margin-right:25%;	
	}
}


/* MOBILE LAYOUT CSS
----------------------------------------------------------- */

@media only screen and (max-width: 579px){

	/* DEFAULT
	----------------- */

	#s5_pos_top_row3_2{
		margin-left: auto;
	}

	#s5_right_column_wrap_inner .s5_float_left, #s5_left_column_wrap_inner .s5_float_left {
	float:none;
	}

	#s5_columns_wrap_inner {
	width:100%;
	}

	#s5_center_column_wrap {
	width:100%;
	/*left:100%;*/
	}

	#s5_left_column_wrap {
	left:0%;
	}
	
	#s5_left_top_wrap, #s5_left_column_wrap, #s5_left_inset_wrap, #s5_left_wrap, #s5_left_bottom_wrap, #s5_right_top_wrap, #s5_right_column_wrap, #s5_right_inset_wrap, #s5_right_wrap, #s5_right_bottom_wrap, #s5_top_row1 .s5_float_left, #s5_top_row2 .s5_float_left, #s5_top_row3 .s5_float_left, #s5_above_columns_inner .s5_float_left, #s5_middle_top .s5_float_left , #s5_middle_bottom .s5_float_left, #s5_below_columns_inner .s5_float_left, #s5_bottom_row1 .s5_float_left, #s5_bottom_row2, .s5_float_left, #s5_bottom_row3 .s5_float_left, #s5_above_body .s5_float_left, #s5_below_body .s5_float_left {
		width:100% !important;
		/*margin-top:5px !important;*/
		margin-left: 2px !important;
	}
	
	#s5_center_column_wrap_inner {
	margin:0px !important;
	padding-right:29px
	}
	
	#s5_left_column_wrap {
	margin-right:0px !important;
	}

	
	.items-row .item {
	width:100% !important;
	padding-left:0px !important;
	padding-right:0px !important;
	margin-right:0px !important;
	margin-left:0px !important;
	}
	
	/* CUSTOM
	----------------- */
	
	.featured_image { 
	display:block;
	margin:0px;
	margin-bottom:10px;
	margin-left:auto;
	margin-right:auto;
	}
	
	#s5_above_columns_1{

		margin-top:30px;
	}

	#s5_pos_top_row3_1{
		padding-top:8px;
	}
}


@media only screen and (max-width: 1100px){

	#s5_top_row1_area1 {
	background-size:auto auto !important;
	}

}


/* S5 BOX
----------------------------------------------------------- */

@media only screen and (max-width: 970px){
	
	#colorbox {
	width:50% !important;
	height:auto !important;
	}

	#cboxWrapper {
	width:100% !important;
	}
	
	#cboxContent, #cboxLoadedContent {
	width:100% !important;
	height:auto !important;
	}
	
	#colorbox {
	left:25% !important;
	width:50% !important;
	height:100% !important;
	top:25% !important;
	}

	.titol > a{
		font-size: 15px !important;
	}
	
}

@media only screen and (max-width: 750px){

	#cboxOverlay, #colorbox {
	display:none !important;
	}
}












/* SINGLE COLUMN FOR SMALL TABLETS - THIS IS ONLY USED FOR IE7 AND IE8. THE CLASS IS SET WITH JAVASCRIPT FOR IE ONLY
----------------------------------------------------------- */

c
	
	.s5_ie_single_column #s5_right_column_wrap_inner .s5_float_left, .s5_ie_single_column #s5_left_column_wrap_inner .s5_float_left {
	float:none  !important;
	}

	.s5_ie_single_column #s5_columns_wrap_inner {
	width:100%  !important;
	}

	.s5_ie_single_column #s5_center_column_wrap {
	width:100%  !important;
	/*left:100%  !important;*/
	}

	.s5_ie_single_column #s5_left_column_wrap {
	left:0%  !important;
	}
	
	.s5_ie_single_column #s5_left_top_wrap, .s5_ie_single_column #s5_left_column_wrap, .s5_ie_single_column #s5_left_inset_wrap, .s5_ie_single_column #s5_left_wrap, .s5_ie_single_column #s5_left_bottom_wrap, .s5_ie_single_column #s5_right_top_wrap, .s5_ie_single_column #s5_right_column_wrap, .s5_ie_single_column #s5_right_inset_wrap, .s5_ie_single_column #s5_right_wrap, .s5_ie_single_column #s5_right_bottom_wrap {
	width:100% !important;
	}
	
	.s5_ie_single_column #s5_center_column_wrap_inner {
	margin:0px !important;
	}
	
	.s5_ie_single_column #s5_left_column_wrap {
	margin-right:0px !important;
	}
	
	.s5_ie_single_column #s5_right_column_wrap {
	margin-left:0px !important;
	}
	
	.s5_ie_single_column  .items-row .item {
	width:100% !important;
	padding-left:0px !important;
	padding-right:0px !important;
	margin-right:0px !important;
	margin-left:0px !important;
	}

}