@media all and (max-width: 1050px){
	.banda_imagen{
		font-size: 36px;
	}
	
	.slogans{
		max-width: 374px;
		width: auto;
	}
}

/* Ocultar slogan en pantallas más estrechas*/
@media all and (max-width: 870px){
	.slogans{
		display: none;
	}
}

/*Ocultar logo empleo joven en pantallas pequeñas*/
@media all and (max-width: 600px) {
	#logo_d {
		display: none;
	}

	#logo_i {
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
    }

    #logos {
        text-align: center;
        width: 100%;
    }
}


/*Para pantallas estrechas*/
@media all and (max-width: 22cm){
	#mainmenu ul li a{
		width: 100%;
		font-size: 1.2em;
	}
	
	h1{
		font-size: 14pt;
	}
	
	h2{
		font-size: 12pt;
	}
	
	h3{
		font-size: 11pt;
	}
	
	.ficha_datos{
		width: 100%;
	}
	
	.portada_ficha td{
		display: block !important;
		width: 100% !important;
		height: auto !important;
		margin: 5px 0 !important;
		padding: 5px !important;
	}
	
	.container{
		min-width: 200px;
	}
	
	#content input{
		font-size: 12pt;
		
	}
	
	#content input[type=button], #content input[type=submit]{
		min-height: 40px;
		min-width:  80px;
	}
	
	#content label{
		font-size: 12pt;
	}
	
	fieldset input{
		width: auto;
	}
	
	table.cogiti_banners{
		width: 98% !important;
	}
	
	table.cogiti_banners img{
		width: 100%;
		height: auto;
		box-sizing: border-box;
	}
	
	table.cogiti_banners td{
		font-size: 10pt;
	}
	
}

@media all and (max-width: 800px){
	div.convocatoria_flex_cell{
		width: 80%;
	}
}

@media all and (max-width: 1000px){
	.portada_minibanners{
		display: none !important;
	}
}

@media all and (max-width: 800px){
	div.portada_flex_matriculas_abiertas>.semana_flex_cell{
		width: 90%;
	}
}

@media all and (max-width: 800px){
	div.portada_flex_programadas{
		margin: 0 10%;
	}
}

/* Menú para dispositivos móviles */
@media all and (max-width: 1275px) {

	#mainmenu, #gestion_menu {
		display: none;
	}

	/* Aviso de notificaciones pendientes , quejas, cursos propuestos */
	.noti_bubble {
		position: static;
		padding: 4px 8px 4px 8px;
	}

	#mainmenumobile, #gestion_menu_mobile {
		display: block;
		/* position: fixed; */
		text-align: center;
		width: 100%;
		margin: 10px auto 0 auto;
		z-index: 50 !important;
	}

	#mainmenumobile ul, #gestion_menu_mobile ul {
		list-style-type: none;
		display: block;
		margin: 0 auto 0 auto;
		text-align: center;
		padding: 0;
	}

	/*Crea la listahorizontal con espacio*/
	#mainmenumobile li, #gestion_menu_mobile li {
		display: inline-flex;
		margin: 0px;
	}

	/* Estilos para los link */
	#mainmenumobile li a, #gestion_menu_mobile li a {
		display: block;
		min-width: 180px;
		height: 50px;
		text-align: center;
		line-height: 50px;
		font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
		color: #fff;
		margin: 0;
		padding: 0;
		/* background: #2f3036; */
		background: #0D6EFD;
		/* background: #008EFF; */
		text-decoration: none;
		transition: all 0.5s ease;
	}

	#gestion_menu_mobile li a {
		background: #537F18;
	}

	/* estados hover de los link */
	#mainmenumobile li:hover a {
		/* background: #19c589; */
		/* background: #198754; */

		background: #008EFF !important;
	}

	#gestion_menu_mobile li:hover a {
		background: #4DA318 !important;
	}

	/* estilos del dropdown */
	#mainmenumobile li:hover ul a, #gestion_menu_mobile li:hover ul a {
		background: #f3f3f3;
		color: #2f3036;
		height: 40px;
		line-height: 40px;
	}

	/* estilos del estado hover del dropdown*/
	#mainmenumobile li:hover ul a:hover  {
		background: #19c589 !important;
		color: #fff;
	}

	/* #gestion_menu_mobile li:hover ul a:hover {
		 background: #4DA318;
	} */


	/* estados active de los link */
	#mainmenumobile li:active a, #gestion_menu_mobile li:active a {
		/* background: #19c589; */
		background-color: #000;
	}

	/* estilos del dropdown */
	/* #mainmenumobile li:active ul a {
        background: #000;
        color: #2f3036;
        height: 40px;
        line-height: 40px;
    } */
	#mainmenumobile li:active ul a:active, #gestion_menu_mobile li:active ul a:active {
		background-color: #000;
		color: #fff;
	}

	/*Oculta el dropdown*/
	#mainmenumobile li ul, #gestion_menu_mobile li ul {
		display: none;
	}

	/* Pone el dropdown en vertical */
	#mainmenumobile li ul li, #gestion_menu_mobile li ul li {
		display: block;
		float: none;
	}

	/* Previene el texto wrapping */
	#mainmenumobile li ul li a, #gestion_menu_mobile li ul li a {
		width: auto;
		min-width: 100px;
		padding: 10px 20px;
	}

	/* Aparece el dropdown en hover*/
	#mainmenumobile ul li a:hover + .hidden, .hidden:hover, #gestion_menu_mobile ul li a:hover + .hidden, .hidden:hover {
		display: block;
	}

	/* Estilo de .muestra-menu */
	.show-menu, .show-menu-gestion {
		font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
		text-decoration: none;
		color: #fff;
		background-color: #0D6EFD;
		opacity: 1;
		text-align: center;
		padding: 14px 0;
		border-bottom: 1px solid #fff;
		display: none;
		transition: all 0.5s ease;
	}

	.show-menu-gestion {
		background-color: #537F18;
	}




	/*Oculta el checkbox*/
	#mainmenumobile input[type=checkbox], #gestion_menu_mobile input[type=checkbox]{
		display: none;
	}

	/* muestra el menu cuando el checkbox is checked*/
	#mainmenumobile input[type=checkbox]:checked ~ #yw1, #mainmenumobile input[type=checkbox]:checked ~ #yw2, #mainmenumobile input[type=checkbox]:checked ~ #yw3, #mainmenumobile input[type=checkbox]:checked ~ #yw4, #mainmenumobile input[type=checkbox]:checked ~ #yw5 {
		display: block;
	}

	#gestion_menu_mobile input[type=checkbox]:checked ~ #yw2, #gestion_menu_mobile input[type=checkbox]:checked ~ #yw3, #gestion_menu_mobile input[type=checkbox]:checked ~ #yw4, #gestion_menu_mobile input[type=checkbox]:checked ~ #yw5, #gestion_menu_mobile input[type=checkbox]:checked ~ #yw7 {
		display: block;
	}

	.toggle-button {
		display: none;
	}

	#gestion_menu {
		margin: 10px 0 0 0;
	}

	/* estilos responsive */
	/* @media screen and (max-width : 1275px){ */

	#mainmenumobile {
		margin: 0 auto 0 auto;
	}

	#gestion_menu_mobile {
		margin: 10px 0 0 0;
	}

	/*Hace que el dropdown links aparescan en linea */
	#mainmenumobile ul, #gestion_menu_mobile ul {
		position: static;
		display: none;
	}

	/*Crea espacio vertical */
	#mainmenumobile li, #gestion_menu_mobile li {
		border-bottom: 1px solid #fff;
	}

	/* crea todo el menu links  ancho full */
	#mainmenumobile ul li, li a, #gestion_menu_mobile ul li, li a {
		width: 100%;
	}

	/*Display '.muestra-menu' link*/
	.show-menu, .show-menu-gestion {
		display:block;
		border-bottom: 1px solid #fff;
		width:100%;
		padding-left:44px;
	}


	/* -------------------------------------------
				Estilos CSS del ejemplo del bot�n
		----------------------------------------------*/

	/* Ocultamos el input y le damos estilos al label */

	input#show-menu, input#show-menu-gestion {
		visibility:hidden;
		position: absolute;
		top: -9999px;
	}

	.toggle-button {
		display: block;
		width: 45px;
		height: 45px;
		border-bottom: 1px solid #fff;
		position: relative;
		cursor: pointer;
		box-sizing: border-box;
		float: right;
		color: #fff;
	}

	/* Usamos los :before y :after del label para dibujar las tres rayitas */

	.toggle-button:before, .toggle-button:after {
		position:absolute;
		display:block;
		content:" ";
		width: calc(100% / 2);
		box-sizing: border-box;
		left: calc(100% / 4);
		transition: all 0.2s ease-out;
	}

	.toggle-button:before {
		top: calc(100% / 4);
		height:calc(100% / 4);
		border-top:1px solid white;
		border-bottom:1px solid white;
		background-color: transparent;
	}

	.toggle-button:after {
		height:1px;
		background-color:white;
		bottom:calc(100% / 4);
	}

	/* Hacemos clic y el input queda como :checked, as� que los centramos y giramos 45� en distinto sentido */

	input#show-menu:checked + .toggle-button:before, input#show-menu:checked + .toggle-button:after {
		top:calc(100% / 2);
		height:1px;
		border-bottom:0;
	}

	input#show-menu:checked + .toggle-button:before {
		transform: rotate(45deg);
	}

	input#show-menu:checked + .toggle-button:after {
		transform: rotate(-45deg);
	}

	input#show-menu-gestion:checked + .toggle-button:before, input#show-menu-gestion:checked + .toggle-button:after {
		top:calc(100% / 2);
		height:1px;
		border-bottom:0;
	}

	input#show-menu-gestion:checked + .toggle-button:before {
		transform: rotate(45deg);
	}

	input#show-menu-gestion:checked + .toggle-button:after {
		transform: rotate(-45deg);
	}

	/* Posicionamos y mostramos cuando procede los <span> que nos ayudar�n con los tooltips */

	.abrir, .cerrar {
		position:absolute;
		top:0;
		right:0;
		bottom:0;
		left:0;
		text-indent: -9999px;
	}

	.abrir {
		display:block;
	}

	.cerrar {
		display:none;
	}

	input#show-menu:checked + .toggle-button .abrir {
		display:none;
	}

	input#show-menu:checked + .toggle-button .cerrar {
		display:block;
	}

	input#show-menu-gestion:checked + .toggle-button .abrir {
		display:none;
	}

	input#show-menu-gestion:checked + .toggle-button .cerrar {
		display:block;
	}
	/* } */
}