/* ======================================= */			
/* ----- 2.0 Media -----*/
/*Celular girado*/
@media screen and (min-width:480px){
	/* Slider home*/
	.slider-section h1,
	.slider-section p{
		max-width: 70%;
	}
	#img-1{background-image: url(../../../../es/assets/img/slider-home/slider-tablet-1.webp);}
	#img-2{background-image: url(../../../../es/assets/img/slider-home/slider-tablet-2.webp);}
	#img-3{background-image: url(../../../../es/assets/img/slider-home/slider-tablet-3.webp);}
	#img-4{background-image: url(../../../../es/assets/img/slider-home/slider-tablet-4.webp);}
	#img-5{background-image: url(../../../../es/assets/img/slider-home/slider-tablet-5.webp);}
	#img-6{background-image: url(../../../../es/assets/img/slider-home/slider-tablet-6.webp);}
	#img-7{background-image: url(../../../../es/assets/img/slider-home/slider-tablet-7.webp);}
	#img-8{background-image: url(../../../../es/assets/img/slider-home/slider-tablet-8.webp);}
	#img-9{background-image: url(../../../../es/assets/img/slider-home/slider-tablet-9.webp);}
	#img-10{background-image: url(../../../../es/assets/img/slider-home/slider-tablet-10.webp);}
	/*footer*/
	.footer-contenido > div ul{
		padding: 20px 0;
		grid-gap: 35px;
		grid-auto-flow: column;
	}
}
/* ======================================= */
/*Tablet*/
@media screen and (min-width:560px){
	/*Header*/
	#nav-toggle {
		display: none;
	}
	#ocultar-menu{
		display: grid;
	}
	/*Seccion certificacion*/
	.certificacion > article{
		grid-template-columns: minmax(300px, 1fr) 2fr;
		padding: 50px 40px;
		grid-gap: 0;
	}
		.certificacion article > div:first-child{
			padding-right: 20px;
		}
			.purchase-now .certificacion p{
				margin-bottom: 0;
			}
	/*Seccion FAQ*/
	#faq div {
		grid-template-columns: repeat(3, 1fr);
		grid-auto-flow: row;
		grid-gap: 0 40px;
	}
		#faq div h2,
		#faq div p{
			grid-column: 1/-1;
		}
		#faq div article{
			margin-top: 25px;
		}
}
/* ======================================= */
/*Escritorio*/
@media screen and (min-width:768px){
    /*Header*/
	header{
		overflow: visible;
	}
	/*slider*/
	.slider-section .etiqueta{
		padding: 20px 0 8px 0;
	}
	/*categoria*/
	#cursos-menu{
		pointer-events: auto;
	}
	.menu nav .sub-menu{
		right: 0;
		width: auto;
		min-width: 250px;
		position: absolute;
	}
		.menu nav .sub-menu > li .sub-menu{
			position: absolute;
			left: 100%;
			top: 0;
			min-width: 280px;
			display: none;
		}
			.menu nav div:hover > .sub-menu{
				display: block;
				transition: all .2s ease-out;
			}
				.menu nav .sub-menu > li:hover .sub-menu{
					display: block;
				}
			.menu nav div > .sub-menu::before{
				content: "";
				width: 0 !important;
				height: 0;
				border: 0 solid transparent;
				border-right-width: 12px;
				border-left-width: 12px;
				display: block;
				position: absolute;
				top: -12px;
				left: 200px;
			}
				.menu nav .sub-menu li a,
				.menu nav .sub-menu > li .sub-menu li a,
				.menu nav .sub-menu li label{
					padding: 13px 20px;
				}
					.menu nav .sub-menu > li > label{
						border-bottom: 0;
						display: block;
					}
	#informacion-top{
		width     : 100%;
		height    : 30px;
		padding   : 6px 3%;
		color     : var(--blanco);
		z-index   : 1000;
		max-width: 1280px;
		margin: 0 auto;
		display: block;
	}
	/*Slider home*/
	.slider-home{
		height: 300px;
	}
		.slider{
			height: 300px;
		}
			#img-1, #img-2, #img-3, #img-4, #img-5,
			#img-6, #img-7, #img-8, #img-9, #img-10{
				background-position: center;
			}
			#img-1{background-image: url(../../../../es/assets/img/slider-home/slider-1.webp);}
			#img-2{background-image: url(../../../../es/assets/img/slider-home/slider-2.webp);}
			#img-3{background-image: url(../../../../es/assets/img/slider-home/slider-3.webp);}
			#img-4{background-image: url(../../../../es/assets/img/slider-home/slider-4.webp);}
			#img-5{background-image: url(../../../../es/assets/img/slider-home/slider-5.webp);}
			#img-6{background-image: url(../../../../es/assets/img/slider-home/slider-6.webp);}
			#img-7{background-image: url(../../../../es/assets/img/slider-home/slider-7.webp);}
			#img-8{background-image: url(../../../../es/assets/img/slider-home/slider-8.webp);}
			#img-9{background-image: url(../../../../es/assets/img/slider-home/slider-9.webp);}
			#img-10{background-image: url(../../../../es/assets/img/slider-home/slider-10.webp);}

	/*Página cursos*/
	#cursos {
		grid-template-columns: repeat(2, minmax(290px,370px));
		justify-content: center;
		grid-gap: 30px 40px;
		padding: 40px;
	}
	/*Boton Whatsapp + Contacto*/
	#btn-fixed {
		bottom: auto;
		top: 48vh;
	}
	/*Página Nosotros, Empresas y FAQ */
	.pagina-interna article {
		grid-template-columns: minmax(auto, 350px) 1fr;
		grid-gap: 50px;
	}
		.pagina-interna article h2{
			text-align: right;
			margin-top: 5px;
		}
		 	#empresas article div.lista-areas{
				display: grid;
				grid-gap: 20px;
				grid-template-columns: repeat(3, 1fr);
			}
	/*Contacto*/
	#contacto {
		width: 75%;
		padding: 40px 80px;
	}
}
/* ======================================= */
/* Escritorio */
@media screen and (min-width:960px) {
	/*Pagina cursos*/
	#cursos {
		grid-template-columns: repeat(3,minmax(290px, 370px));
	}
	/*footer*/
	.footer-contenido{
		position: relative;
		z-index: 11;
	}
		.footer-contenido > div{
			grid-template-columns: 220px 1fr 350px;
			grid-template-rows: 1fr;
			grid-gap: 20px;
		}
			.footer-contenido > div ul{
				padding: 100px 0;
				grid-gap: 50px;
			}
			.footer-contenido > div div{
				padding: 100px 0;
				height: calc(100% + 15px);
				position: relative;
				top: -8px;
			}
	/*Paginas internas*/
	.pagina-interna article{
		max-width: 1200px;
		margin: 0 auto;
	}
}