/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */



/* Responsive Utility Classes
----------------------------------------------------------------------------------------------------*/

.hidden-desktop { display: none; }

/* Only Phones */
@media (max-width: 840px) {
	.hidden-phone { display: none; }
}

/* Only Tablets (Portrait) */
@media (min-width: 841px) and (max-width: 959px) {
	.hidden-tablet { display: none; }
}


/* Responsive Content
----------------------------------------------------------------------------------------------------*/

#header-responsive { display: none; }


/* Layout Breakpoints
----------------------------------------------------------------------------------------------------*/

@media (max-width: 840px) {
	/* Layout */
	#maininner,
	#sidebar-a,
	#sidebar-b {
		width: 100%;
		left: auto;
		right: auto;
	}
	
	/* Layout */
	.width16,
	.width20,
	.width25,
	.width40,
	.width60,
	.width75,
	.width80 { width: 50%; }

	.width50 .width50 { width: 100%; }

	.sidebars-1 #sidebar-a .width100,
	.sidebars-1 #sidebar-b .width100 { width: 50%; }

	#sidebar-a .width100:nth-child(odd):last-child,
	#sidebar-b .width100:nth-child(odd):last-child { width: 100%; }

	.sidebars-2 #sidebar-a,
	.sidebars-2 #sidebar-b { width: 50%; }

	.sidebars-2.sidebar-a-right #sidebar-a,
	.sidebars-2.sidebar-b-right #sidebar-b { float: right; }

	/* Tools */
	.width50 .align-left,
	.width50 .alignleft,
	.width50 .align-right,
	.width50 .alignright {
		margin: 0 auto 15px auto;
		float: none;
	}	

	div#headerbanner, #footer {
		display: block;
	}

	/* Header */
	#header-responsive { display: block; }

	#header-responsive .searchbox {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	/* Menu */
	.menu-responsive {
		width: 100%;
		font-size: 14px;
	}
	
	#breadcrumbs, #content, #sidebar-a .module, #sidebar-b .module, #header .module {
		margin-left:0;
		margin-right:0;
	}
	
	
/*	#sidebar-a,
	#sidebar-b,
	.frontpager,
	*/
	#frontpageh3, #frontpageh5,
	.frontpagei {
		display: none;
	}
	
	div.fpinnerl {
		border:none;
		padding:0;
	}
	
	.responsive-footer {
		display:block;		
	}
	
	.hidden-desktop { display: block; }	
}

/* Only Phones (Portrait) */
@media (max-width: 479px) {

	/* Layout */
	.width16,
	.width20,
	.width25,
	.width33,
	.width40,
	.width50,
	.width60,
	.width66,
	.width75,
	.width80,
	.frontpagelnarrow,
	.itemContainer { width: 100%!important; }

	.grid-gutter > .grid-box + .grid-box > * { margin-top: 30px; }

	/* Tools */
	.align-left,
	.alignleft,
	.align-right,
	.alignright {
		margin: 0 auto 15px auto;
		float: none;
	}
	

	
	.newsFormat3 div, .newsFormat4 div.inset {
		margin-left:0!important;
		margin-right:0!important;
	}
	
	.newsFormat4 .imageLink {
		padding-bottom:0;
	}
	
	.newsFormat4 .grid-box {
		padding-top:0;		
	}
	
	div.newsFormat1 .textoverimage {
		display:block;
		width:100%;
		position:relative;
		bottom:o;
		padding:0;
		text-align: left;
		background: none;
		bottom:0;
		z-index: auto;
	}
	
	div.newsFormat1 .textoverimage p {
		float:none!important;
		display: block;
		width: auto!important;
		padding:5px;
		font-weight: normal;		
	}
	
	div.newsFormat1.narrow .textoverimage {
		bottom:0!important;
	}
	
	div.newsFormat1.narrow div.textoverimage a.catname {
		font-size: 12px!important;
	}
	
	div.newsFormat1 div.textoverimage a.catname {
		box-shadow: 0 0 0 transparent;
		float:right;
		height:50px;
		margin: 0 0 5px 10px;
		
	}
	
	div.newsFormat1 .textoverimage h2 {
		padding:0 5px 5px 5px;
		margin:0;
	}
	
	div.newsFormat4 {
		margin-top:10px;
		
	}
	
	div.newsFormat1 .textoverimage a {
		color:#444;
		text-shadow: none;
	}
	
	#simple-menu{margin-top: -25px !important;}
	#simple-menu.over{margin-top: 0px !important;}
}



/* Breakpoints
----------------------------------------------------------------------------------------------------*/

/* Only Phones and Tablets (Portrait) */
@media (max-width: 959px) {	
	#search { display: block; }
	
	#logo { width: 230px; }
	#menu { left: 230px; }

	/* Menu */
	.menu-dropdown a.level1 > span,
	.menu-dropdown span.level1 > span { padding: 0 10px; }
	
	

}

/* Only Phones */
@media (max-width: 840px) {

	/*#sponsor,*/ 
	#toolbar, #header #logoandbanner, #header #menuContainer, #header #banner {display: none;}

	#sponsor img{ width:100%; height:auto;}
	
	#header { background: #f4e700 none repeat scroll 0 0; }
	
	body {
		margin:0;
	}
	
	#header-responsive .logo {
		margin-left: 0;
	}
	
	div.frontpagelwide {
		display:block;
		width:100%;
	}
	
	.wrapper > div {
		padding: 0 15px;
	}
	div.frontpagelwide {
		margin:0;
		
	}
	
	header .custom-logo {
		margin:0;
	}
	
	#simple-menu {
		display: block;
		position:fixed;
		top: 90px;
		right:10px;
		z-index:8000;
	}
	
	#frontpageh2 a.imageLink img,
	#frontpageh2 .newsFormat1 .inset {
	  width: 100%;
	}
	.frontpagelnarrow { width: 100%!important; }
	
	#maininner {
		min-height: 0!important;
		
	}
	
}

@media (min-width: 479px) and (max-width: 840px) {

	.f4image {
		width:20%!important;
	}
	.f4content {
		width:80%!important;
	}
	div.newsFormat1 .textoverimage {
		bottom:0;
		
	}
}

@media (max-width: 980px) {
	

	.page {
		border:none;
		margin:0;
	}
	
	#leftouter, #rightouter, #leftouter2, #rightouter2 {
		display: none;		
	}
	
}








/*TODO MENOS MOV*/
@media (min-width: 465px) {

}


/*MOV / IPAD*/
@media (min-width: 0px) and (max-width: 1200px) {
}


/*MOV*/
@media (min-width: 0px) and (max-width: 765px) {
.maininnerr_doble{ width:95%;}
.sidebars-1 #sidebar-a .width100, .sidebars-1 #sidebar-b .width100,
#sidebar-b_top,
#frontpager6,
#frontpager4,
#frontpager2{ width:100%;}
.candidats div{ width:32%;}  
.candidats div img{ float:left;}  
.candidats div h5{ margin-top:10px;}  
} 





/*MOV VERTICAL*/
@media (min-width: 0px) and (max-width: 400px) {
	.banner_mob img,
	.responsive_banner_zone img {
    width: 100%;
    height: auto;
}
}



/*MOV HORIZONTAL*/
@media (min-width: 400px) and (max-width: 765px) {
}




/*IPAD VERTICAL*/
@media (min-width: 765px) and (max-width: 840px) {
	.frontpagelnarrow {
  width: 79% !important;
}


	#frontpageh3, #frontpageh5,
	.frontpagei {
		display: block;
	}
	.ytvideo {
	  overflow: hidden;
	  width: 19%;
	}
	#frontpagel6,
	div.frontpager  {
	  width: 100%!important;
	}
	#sidebar-b .grid-box,
	div.frontpager .fpinnerr .module {
	  float: left;
	  margin: 1%;
	  width: 47%!important;
	}
	 div.frontpager .fpinnerr .module:nth-child(2n) { float:right;
	 }
	#frontpageh6 div.fpinnerr { margin:0; padding:0;	}	

	#frontpageh6 div.fpinnerr .module { width:100%!important;	}	
	#frontpageh6 div.fpinnerr .module > div {
	  float: left;
	  height: 90px;
	  width: 47%;
	}	
	.responsive_banner_zone div{ float:left; width:50%;}

}

/*MEDIA PANTALLA */
@media (min-width: 841px) and (max-width: 980px) {
	#logoandbanner .logo-r .deepest a img,
	#logoandbanner .logo-l .deepest a img {
	  height: auto;
	  width: 250px !important;
	}

}


/*IPAD HORIZONTAL*/
@media (min-width: 980px) and (max-width: 1200px) {
	#frontpager2{ width:34.5%!important;}
	#frontpager4 .fpinnerr .module.deepest iframe,
	#frontpager2 .fpinnerr .module {
	  width: 100%!important;
	}
	
	#frontpager4 .fpinnerr .module img {
	  width: 100%;
	  height:auto;
	}
}


/*IPAD */
@media (min-width: 765px) and (max-width: 1200px) {

}




