@media only screen and (max-width: 800px) {
    #contenedor{
        flex-flow: column;  
    }

    #contenedorProductos{
        flex-flow: column;
    }

    .descripcionP{
        flex-basis: 90%;
    }
    
    #contenedor_sala{
        flex-flow: column;
        gap: 35px;
        flex-basis: 90%;
    }

    #contenedorNosotros{
        flex-flow: column;
        gap: 15px;
    }

    #contenedorVideos{
        flex-flow: column;
        flex-basis: 70%;
        gap: 40px;
        text-align: center;
    }

    .videosC{
        flex-basis: 55%;
        
        text-align: center;             
    }

    .equipos{
        flex-flow: column;
        flex-basis: 50%;
        display: flex;
        gap: 35px;
        padding: 15px;
        margin: 50px;
    }
    .equipos2{
        display: flex;
        flex-flow:column-reverse;
        flex-basis: 50%;
        gap: 35px;
        padding: 15px;
        margin: 50px;
    }

    .H2Banner{
        font-size: 18px;
        font-family: 'arial';
    }
   
    
    .H1Banner{
        font-size: 30px;  
    }

    .PieFoto{
        font-size: 18px;
        font-family: 'arial';
        color: rgb(3, 3, 67);
    }

    .bloquesCursos{
        flex-basis: 55%;
      }

      .textEqHome{
        font-size: 14px;
        font-family: 'arial';

        .textoEquipo{
            flex-basis: 45%;
        }
    }
    

}

.textEqHome{
    font-size: 16px;
    font-family: 'arial';
}


a:link, a:visited, a:active {
    text-decoration:none;
}
.PieFoto{
    font-size: 20px;
    font-family: 'arial';
    color: rgb(3, 3, 67);
}
*{
    margin: 0;
    padding: 2;
}


a {
  text-decoration: none;
}

body {
    background-image: url("imagenes/fondo4.png");
    /*background-color: rgb(239, 238, 255);*/
    background-size: 100%;
    background-attachment: fixed;
    background-size: cover;
    font-family: Arial;
    margin: 0;
    padding: 0;
  }

.botones{
    background : rgb(1, 11, 58);
    font-weight:normal ;
    border-radius: 8px 8px 8px 8px;
    font-size: 15px;
    color :#ffffff;
    border: 1px solid rgb(1, 11, 58);
    height:38px;
    width:115px;
    padding: 4px;
  }
  

/*CABECERA  **********************************************************************/
#cabecera{
    display: flex;
    justify-content: space-between;
    /*flex-direction: column;
    flex-wrap: wrap;*/
    margin: 0px ;
    padding: 9px;
    flex-basis: 100%;
    background-color: #FFFFFF;
}

#logo{
    flex-basis: 7%;
}

#menu{
    flex-basis: 80%;
    text-align: right;
    vertical-align: bottom;
    
}

#redes{
    flex-basis: 22%;
    text-align: left;
}

/*BANNER PRINCIPAL  **********************************************************************/

.H1Banner{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 38px;
    color: #2DAAE1;
    font-weight: normal;
    line-height: 1.3;
}


.H1BannerST{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 34px;
    color: #000000;
    font-weight:normal;
    line-height: 1.3;
}

.H1Banner2{
    font-family: Arial;
    font-size: 30px;
    color: #000000;
    font-weight:bold;
    line-height: 1.3;
}

.H1Banner3{
    font-family: Arial;
    font-size: 30px;
    color: #000000;
    font-weight:bold;
    line-height: 1.3;
}

.H1Banner4{
    font-family: Arial;
    font-size: 30px;
    color: #1451b3;
    font-weight:bold;
    line-height: 1.3;
}

.H2Banner{
    font-family: Arial;
    font-size: 25px;
    color: #000000;
    font-weight:normal; 
    line-height: 1.3;
    
}

.H2Banner2{
    font-family: Arial;
    font-size: 19px;
    color: #000000;
    font-weight:normal; 
    line-height: 1.3;
}

.H2BannerC{
    font-family: Arial;
    font-size: 23px;
    color: #1451b3;
    font-weight:normal; 
    line-height: 1.3;
}

#bannerD{
    vertical-align: top;
    padding: 30px;
    text-align: center;
 }

 /*SALAS **********************************************************************/
 #contenedor_sala{
   display: flex;
   flex-basis: 95%;
   justify-content: space-evenly;
   flex-wrap: wrap;
   gap: 45px;
 }

 .imagenSala{
    flex-basis:  100%;
 }

 #sala{
    vertical-align: top;
    padding: 25px;
    text-align: center;
    flex-basis: 86%;
 }

.salas{
    flex-basis: 28%;
    padding: 10px;
    border-radius:20px; 
    -moz-border-radius:20px; /* Firefox */ 
    -webkit-border-radius:20px; /* Safari y Chrome */ 
    border:2px solid rgb(62, 147, 203);
    line-height: 2.3;
   /* background-color: #cfd8f9;*/
    background-color: #ffffff;
}

/*LANDING PAGE  **********************************************************************/
#contenedor{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 0;
    padding: 0; 
    flex-basis: 100%;
    align-content: center;
}
#principal{
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 0;
    padding: 20px;
    flex-basis: 80%;
    gap: 20px;
}


.H1Home{
    font-family: Arial;
    font-size: 20px;
    color: #2EAADC;
    font-weight:normal;
    line-height: 1.2;
}


.equipos{
    display: flex;
    gap: 35px;
    justify-content:center;
    vertical-align: bottom;
    padding: 25px;
    margin: 50px;
}

.equipos2{
    display: flex;
    gap: 35px;
    justify-content:center;
    vertical-align: bottom;
    padding: 25px;
    margin: 50px;
}

.imagen{
    flex-basis: 20%;
}

.textoEquipo{
    flex-basis: 30%;
    text-align: left;
    align-self: flex-end;
    font-size: 16px;
    line-height: 1.3;
}

.textoEquipoI{
    flex-basis: 30%;    
    text-align: right;
    align-self: flex-end;
    font-size: 16px;
    line-height: 1.3;
}


#tituloTest{
    flex-basis: 100%;
}

#contenedorVideos{
    display: flex;
    flex-basis: 100%;
    justify-content: space-evenly;
    flex-wrap:wrap;
    gap: 15px;
    padding: 5px;
    text-align: center;
}

.videosC{
    flex-basis: 30%;
}

.titulos{
    text-align: center;
    align-items: center;
}



.ContenedorVideosC{
    display: flex;
    flex-basis: 100%;
    justify-content: space-evenly;
    flex-wrap:wrap;
    gap: 15px;
    padding: 5px;
}

#contenedorHome{

}
/*CONTACTO **********************************************************************/

#contenedor_contacto{
    display: flex;
    flex-basis: 100%;
    justify-content: space-evenly;
    flex-wrap:wrap;
    gap: 30px;
    padding: 15px;
    text-align: center;
}

.contactanos{
    flex-basis: 70%;
    padding: 4px;
}

/*CADA EQUIPO **********************************************************************/


.botonCompra{
    background : rgb(73, 166, 238);
    font-weight:normal ;
    border-radius: 8px 8px 8px 8px;
    font-size: 15px;
    color :#ffffff;
    border: 1px solid rgb(63, 3, 89);
    height:50px;
    width:auto;
    padding: 7px;
}
#compra{
    flex-basis: 100%;
    text-align: right;
    padding: 25px;
}

#tituloC{
    align-items: center;
    text-align: center;
}
 .numerosForm{
    height: 20px;
    font-size: 16px;
    width: 55px;
 }
/*FORMULARIO DE REGISTRO DE PROFESORES*****************************************/
#ContProfes{
    display: flex;
    flex-basis:100%;
    justify-content: space-evenly;
    flex-wrap:wrap;
    padding: 10px;
    gap: 40px;
    background-color: #305A7A;
}
 #formProfes{
    flex-basis: 40%;
    border-style: solid;
    border-radius: 11px 11px 11px 11px;
    border: 3px solid rgb(18, 63, 118);
    
 }

 #elemProf{
    flex-basis: 70%;
    padding: 10px;

 }


/*FOOTER **********************************************************************/

#contenedorFooter{
    display: flex;
    flex-basis: 100%;
    justify-content: space-evenly;
    background-color: #2EAADC;
    padding: 20px;
    
}
.footerContenido{
    flex-basis: 30%;
}

.contenedorProductos{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    flex-flow: wrap;
    margin: 7px;
    padding: 10px;
    flex-basis: 90%;
    align-items: end;
    gap: 20px;
}

.imagenp{
    flex-basis: 30%;
}

.descripcionP{
    flex-basis: 30%;
    filter:alpha(opacity=99);
    -moz-opacity:.90;
    opacity:.90;
    border-radius:20px; 
    -moz-border-radius:20px; /* Firefox */ 
    -webkit-border-radius:20px; /* Safari y Chrome */ 
    /* Otros estilos */ 
    border:1px solid dimgrey;
    padding:10px;
    margin: 5px;
    background-color: #fff;
    gap: 10px;

}

.descripcionE{
    margin-left: 50px;
    padding: 30px;
    flex-basis: 70%;
    background-color: blueviolets;
    font-size: 19px;
    line-height: 1.3;
}

.videoE{
    flex-basis: 90%;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

.videoProd{
    flex-basis: 75%;
    text-align: center;
    padding: 30px;
    margin-top: 10px;
    gap: 10px;
}

.bannersHome{
    flex-basis: 100%;
    padding: 25;
    margin: 10px;
}

.vinculos{
    color: #FFFFFF;
    font-family: Arial;
    font-size: 17px;
}

.formulario{
    flex-basis: 80%;
    padding: 20px;
    border-radius:20px; 
    -moz-border-radius:20px; /* Firefox */ 
    -webkit-border-radius:20px; /* Safari y Chrome */ 
    border:1px solid dimgrey;
}

.bloquesCursos{
    background-color: #ffffff;
    border-radius:20px;
    -moz-border-radius:20px; /* Firefox */ 
    -webkit-border-radius:20px; /* Safari y Chrome */ 
    /* Otros estilos */ 
    border:2px solid rgb(90, 103, 245);
    padding:14px;
    opacity: 0.90;
    flex-basis: 26%;
  }

#contenedorCursos{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-content:space-around;
    margin: 0;
    padding: 10px;
    flex-basis: 100%;
    gap: 40PX;
}

#container_detalleCurso{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-content:space-around;
    margin: 0;
    padding: 50px;
    flex-basis: 50%;
    gap: 30px;
}

.contenidoCurso{
    flex-basis: 60%;
    border-radius:20px;
    -moz-border-radius:20px; /* Firefox */ 
    -webkit-border-radius:20px; /* Safari y Chrome */ 
    /* Otros estilos */ 
    border:2px solid rgb(90, 103, 245);
    padding: 25px;
    background-color: #fff;
}

.imagenX{
    flex-basis: 100%;
    text-align: center;
    gap: 30px;  
}

.parrafosCursos{
    font-family: arial;
    line-height: 1.7;
    font-size: 17px;
}


/*NOSOTROS **********************************************************************/

#contenedorNosotros{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 15px;
    margin: 5px;
    padding: 20px;
    flex-basis: 80%;
}

.NosotrosImg{
    flex-basis: 25%;
    line-height: 1.7;
    border-radius: 30px;
    border-color: #b6b5b5;
    border-style: solid;
    padding: 10px;
}

/*VIDEO BLOG**********************************************************************/
#contenedorVideos{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 15px;
    margin: 5px;
    padding: 20px;
    flex-basis: 100%;
}

.ElementosVideo{
    flex-basis: 25%;
    line-height: 1.7;
    border-radius: 30px;
    padding: 10px;
}


/*BOTON WHATSAPP **********************************************************************/

.btn-flotante {
	font-size: 16px; /* Cambiar el tamaño de la tipografia */
	text-transform: uppercase; /* Texto en mayusculas */
	font-weight: bold; /* Fuente en negrita o bold */
	color: #ffffff; /* Color del texto */
	border-radius: 15px; /* Borde del boton */
	letter-spacing: 2px; /* Espacio entre letras */
	background-color: rgb(46, 236, 8); /* Color de fondo */
	padding: 18px 30px; /* Relleno del boton */
	position: fixed;
	bottom: 30px;
	right: 15px;    
	transition: all 300ms ease 0ms;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
	z-index: 99;
}

.btn-flotante:hover {
	background-color: #276807; /* Color de fondo al pasar el cursor */
	box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
	transform: translateY(-7px);
}


.btn-flotante2 {
	font-size: 16px; /* Cambiar el tamaño de la tipografia */
	text-transform: uppercase; /* Texto en mayusculas */
	font-weight: bold; /* Fuente en negrita o bold */
	color: #ffffff; /* Color del texto */
	border-radius: 15px; /* Borde del boton */
	letter-spacing: 2px; /* Espacio entre letras */
	background-color: rgb(51, 60, 154); /* Color de fondo */
	padding: 18px 30px; /* Relleno del boton */
	position:relative;
	bottom: 30px;
	right: 15px;    
	transition: all 300ms ease 0ms;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
	z-index: 99;
}

.btn-flotante2:hover {
	background-color: #0b1763; /* Color de fondo al pasar el cursor */
	box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
	transform: translateY(-7px);
}





@media only screen and (max-width: 600px) {
 	.btn-flotante {
		font-size: 14px;
		padding: 12px 20px;
		bottom: 20px;
		right: 20px;
	}
}

/*MENU PRINCIPAL **********************************************************************/

.pd_menu_01 ul {list-style-type:none;padding:0; margin:0;}
.pd_menu_01 ul li {float:left; position:relative; z-index:auto !important ; z-index:1000 ; border-right:solid 1px #fff; border-left:solid 0px #FFFFFF;}
.pd_menu_01 ul li a {color: #000000; background: #ffffff;float:none !important ; float:left ; display:block; height:30px; line-height:30px; padding:0 10px 0 10px; text-decoration:none; }
.pd_menu_01 ul li ul {display:none; border:none;color: #000000;background: #ffffff; width:1px}
.pd_menu_01 ul li:hover a {background-color:#ffffff; text-decoration:none; color:;} /*Color main cells hovering mode*/
.pd_menu_01 ul li:hover ul {display:block;  position:absolute; z-index:999; top:29px; margin-top:1px; left:0;}
.pd_menu_01 ul li:hover ul li a {display:block; width:360px; height:auto; line-height:1.3em; margin-left:-1px; padding:5px 10px 5px 10px; border-left:solid 0px #FFFFFF; border-bottom: solid 0px #FFFFFF; background-color:#ffffff;  color:#000000;} /*Color subcells normal mode*/
.pd_menu_01 ul li:hover ul li a:hover {background-color:#ffffff; text-decoration:none;color:#AAAAAD;} /*Color subcells hovering mode*/
.pd_menu_01 ul li a:hover {background-color:; text-decoration:none;color:;} /*Color main cells hovering mode*/
.pd_menu_01 ul li a:hover ul {display:block; width:360px; position:absolute; z-index:999; top:29px; left:0; }
.pd_menu_01 ul li ul li a:visited { background-color:#ffffff;  color:#000000;} /*Color subcells normal mode*/
.pd_menu_01 ul li a:hover ul li a {display:block; width:360px; height:1px; line-height:1.3em; padding:4px 16px 4px 16px; border-left:solid 0px #FFFFFF; border-bottom: solid 0px #FFFFFF; background-color:#ffffff;  color:#000000;} 
.pd_menu_01 ul li a:hover ul li a:hover {background-color:#ffffff; text-decoration:none;color:#AAAAAD;} /*Color subcells hovering mode*/

#menu {
	background: #FFFFFF;
	height: 30px;
	padding-left: 18px;
	border-radius: 10px;
}
#menu ul, #menu li {
	margin: 0 auto;
	padding: 0;
	list-style: none
}
#menu ul {
	width: 100%;
	text-align: left;
}
#menu li {
	display: inline-block;
	position: relative;
}
#menu a {
	display: block;
	line-height: 30px;
	padding: 0 14px;
	text-decoration: none;
	color: #2D4F8A;
	font-size: 16px;
}
#menu a.dropdown-arrow:after {
	content: "\2B9F";
	margin-left: 5px;
}
#menu li a:hover {
	color: #0099CC;
	background: #F2F2F2;
}
#menu input {
	display: none;
	margin: 0;
	padding: 0;
	height: 30px;
	width: 100%;
	opacity: 0;
	cursor: pointer
}
#menu label {
	display: none;
	line-height: 30px;
	text-align: center;
	position: absolute;
	left: 35px
}
#menu label:before {
	font-size: 1.6em;
	color: #2D4F8A;
	content: "\2261"; 
	margin-left: 20px;
}
#menu ul.sub-menus{
	height: auto;
	overflow: hidden;
	width: 170px;
	background: #FFFFFF;
	position: absolute;
	z-index: 99;
	display: none;
}
#menu ul.sub-menus li {
	display: block;
	text-align: left;
	width: 100%;
}
#menu ul.sub-menus a {
	color: #305A7A;
	font-size: 12px;
}
#menu li:hover ul.sub-menus {
	display: block
}
#menu ul.sub-menus a:hover{
	background: #F2F2F2;
	color: #000000;
}
@media screen and (max-width: 800px){
	#menu {position:relative}
	#menu ul {background:#FFFFFF;position:absolute;top:100%;right:0;left:0;z-index:3;height:auto;display:none;text-align:left;}
	#menu ul.sub-menus {width:100%;position:static;}
	#menu ul.sub-menus a {padding-left:30px;}
	#menu li {display:block;float:none;width:auto;}
	#menu input, #menu label {position:absolute;top:0;left:0;display:block}
	#menu input {z-index:4}
	#menu input:checked + label {color:#2D4F8A}
	#menu input:checked + label:before {content:"\00d7"}
	#menu input:checked ~ ul {display:block}
}
