:root {
    --fuenteHeading: 'PT Sans', sans-serif;
    --fuenteParrafos: 'Open Sans', sans-serif;
    --colorPrimario: #784D3C;
    --colorBlanco: #FFF;
    --colorNegro: #000;
    --colorGris: #E1E1E1;

    --facebook: #3b5999;
    --instagram: #e4405f;
    --twitter: #55acee;
    --pinterest: #bd041c;
    --linkedin: #007785;

    --sombra: 0 0 13px 0 rgba(185,185,185, .25);

}
html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-family: var(--fuenteParrafos);
    font-size: 1.6rem;
    line-height: 2;
}

/*Globales*/
.contenedor {
    max-width: 120rem;
    width: 90%;
    margin: 0 auto;
}
a {
    text-decoration: none;
}
h1,h2,h3,h4,h5 {
    font-family: var(--fuenteHeading);
    line-height: 1.2;
}
h1 {
    font-size: 4.8rem;
}
h2 {
    font-size: 5rem;
}
h3 {
    font-size: 3.2rem;
}
h4 {
    font-size: 2.8rem;
}
h5 {
    font-size: 1.8rem;
}
img {
    max-width: 100%;
}
.nombre_copyright {
    font-style: italic;
    color: white;
}

/*Estilos barra de redes sociales*/
.social {
    position: fixed;
    top: 20.5rem;
    z-index: 1;
}
.iframe {
        max-width: 100%;
        height: auto;
    }

.social ul {
    list-style: none;
}

.social ul li a {
    display: inline-block;
    color: white;
    background: black;
    padding: 2rem 2.5rem;
    text-decoration: none;

    transition: all 500ms ease;
}

.social ul li .icon-facebook {background: #3b5998 ;}
.social ul li .icon-twitter {background: #00abf0 ;}
.social ul li .icon-instagram {background: #FD1D1D;}
.social ul li .icon-pinterest {background: #ae181f ;}
.social ul li .icon-envelop {background: #666666;}
.social ul li .icon-phone {background: #32CD32;}

.imagen-escalada {
    width: 40%;
    height: 40%;
}

.DataBasica {
    width: 40%;
    height: 40%;
}

/*Utilidades*/
.no-margin {
    margin: 0;
}
.no-padding {
    padding: 0;
}
.centrar-texto {
    text-align: center;
}
.centrar-tabla {
    display: flex;
    justify-content: center;
}
.w-100 {
    width: 100%;
}
.video-responsive {
    overflow:hidden;
    padding-bottom:400px; /* Adecua este valor para controlar la altura del video */
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
/*Webp Header*/
.webp .header {
    background-image: url(../img/banner.jpg);
}
.no-webp .header {
    background-image: url(../img/banner.jpg);
}
/*Header*/
.header {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.header__texto {
    text-align: center;
    color: var(--colorBlanco);
    margin-top: 3rem;
    background-color: #000;
    opacity: 0.8;
}
.header__texto h2 {
    font-size: 3rem;
}
.header__texto h3 {
    font-size: 2.52rem;
}
.barra {
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
    align-items: center;
    justify-content: space-between;
}
.logo {
    color: var(--colorBlanco);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}   
.logo__nombre {
    font-weight: normal;
    font-size: 3rem;
}
.logo__nombre--bold {
    font-weight: bold;
    font-size: 4.5rem;
}
.logo__imagen {
    width: 5rem;
}
.navegacion {
    margin-top: 3rem;
    visibility: hidden;
    opacity: 0;
    height: 0;
    
}

.navegacion__enlace{
    display: block;
    text-align: center;
    font-size: 2rem;
    color: var(--colorBlanco);
    font-weight: bold;
    margin-bottom: 0.8rem;
}
/*Contenido Principal & Nuestros Cursos*/
.entrada {
    border-bottom: 2px solid var(--colorGris);
    margin-bottom: 2rem;
}
.boton {
    display: block;
    font-family: var(--fuenteHeading);
    color: var(--colorBlanco);
    text-align: center;
    padding: 1rem 3rem;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 2rem;
}
.boton--primario {
    background-color: var(--colorNegro);
}
.boton--secundario {
    background-color: var(--colorPrimario);
}
.boton-lineamientos {
    color: white;
}
.boton-lineamientos:hover {
    text-decoration: underline;
}

.btn {
  box-sizing: border-box;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: transparent;
  border: 2px solid #e74c3c;
  border-radius: 0.6em;
  color: #006400;
  cursor: pointer;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-self: center;
      -ms-flex-item-align: center;
          align-self: center;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  margin: 20px;
  padding: 1.2em 2.8em;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.btn:hover, .btn:focus {
  color: #fff;
  outline: 0;
}
.fourth {
  border-color: #006400;
  color: #006400;
  background-image: -webkit-linear-gradient(45deg, #f1c40f 50%, transparent 50%);
  background-image: linear-gradient(45deg, #006400 50%, transparent 50%);
  background-position: 100%;
  background-size: 400%;
  -webkit-transition: background 300ms ease-in-out;
  transition: background 300ms ease-in-out;
}
.fourth:hover {
  background-position: 0;
}

.cursos {
    list-style: none;
}
.widget-curso {
    border-bottom: 2px solid var(--colorGris);
    margin-bottom: 2rem;
}
.widget-curso:last-of-type {
    border: none;
    margin: 0;
}
.widget-curso__label,
.curso__label {
    font-family: var(--fuenteHeading);
    font-weight: bold;
}
.widget-curso__info,
.curso__info {
    font-weight: normal;
}
.widget-curso__label,
.widget-curso__info,
.curso__label,
.curso__info {
    font-size: 2rem;
}
.enlaces-cursos {
    display: grid;
}
/*Footer*/
.footer {
    background-color: var(--colorNegro);
    padding: 1rem 0;
    margin-top: 4rem;
}


/*Sobre Nosotros*/
.sobre-nosotros {
    display: flex;
    flex-direction: column;
}


/*Nuestros Cursos*/
.curso {
    padding: 3rem 0;
    border-bottom: 2px solid var(--colorGris);
}
.curso:last-of-type {
    border: none;
}

/*Contacto*/
.contacto-background {
    background-image: url(../img/contacto.jpg);
    height: 40rem;
    background-size: cover;
    background-repeat: no-repeat;
}

/*Formulario*/
.formulario {
    background-color: var(--colorBlanco);
    margin: -5rem auto 0 auto;
    width: 95%;
    padding: 2rem;
}
.campo {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    gap: 1rem;
}
.campo__label {
    flex: 0 0 4rem;
    font-weight: bold;
}
.campo__input {
    flex: 1;
    border: 3px solid var(--colorGris);
    padding: 1.5rem 1rem;
}
.campo--boton {
    width: 100%;
    margin-top: 5rem;
}
.boton:hover {
    cursor: pointer;
}
.campo__input--textarea {
    min-height: 30rem;
    max-width: 100%;
}

.copyright {
    color: rgb(255, 255, 255);
}

.imagenJs {
    height: 2.4rem;
}

.contenido-construccion {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contenido-construccion img {
    width: 10rem;
}

.logos-oficiales {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.logos-oficiales img {
    width: 10rem;
}

.texto-oficiales h2 {
    color: white;
    margin-right: 1.5rem;
}

.texto__oficiales--texto {
    font-size: 2rem;
}

.botones {
    display: flex;
    flex-direction: column-reverse;
}

.texto-titulo {
    background-color: #000;
    color: white;
    padding: 2rem 0;
}

/*Estilos a la tabla de trámites*/

.tabla-solicitud table {
    margin-top: 4rem;
    width: 100%;
    /* border-spacing: 0; */
}

.tabla-solicitud table .tabla-tramites {
    background-color: lightsalmon;
}

.tabla-solicitud table .tabla-entrega {
    background-color: violet;
}

.tabla-solicitud table .tabla-validacion {
    background-color: lightskyblue;
}

.tabla-solicitud table th {
    color: white;
    padding: 2rem;
    text-align: center;
}

.tabla-solicitud table tbody {
    background-color: lightgreen;
}

.tabla-solicitud table tbody tr {
    text-align: center;
}

.tabla-solicitud table tbody .nonthchild {
    background-color: white;
}

.tabla-solicitud table tbody tr:nth-child(odd) {
    background-color: white;
}

/*Estilos al calendario*/

.dias {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    place-items: center;
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
    color: #51565d;
    border: 1px solid black;
}

.calendario {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    grid-auto-rows: 20rem;
}

.calendario-mesproximo .dias {
    background-color: greenyellow;
}

.calendario-mesactual .dias {
    background-color: cornflowerblue;
}

.mes-actual {
    background-color: lightskyblue;
}

.mes-proximo {
    background-color: lightgreen;
}

.calendario__dia {
    color: #51565d;
    border: 1px solid black;
    padding: 0 0.5rem;
}

.numero-dia {
    color: black;
    font-weight: bold;
}

/*Estilos a las tablas Online*/
.tramites-tabla iframe {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 50rem;
}

.hamburguesa img {
    width:5rem;
    margin:1rem 0
}

.mostrar-nav {
    visibility:visible;
    opacity:1;
    height:auto
}

.videos-presentacion {
    display: grid;
    row-gap: 3rem;
}

.ir-arriba {
	display:none;
	padding:20px;
	background: black;
	font-size:20px;
	color:#fff;
	cursor:pointer;
	position: fixed;
	bottom:20px;
	right:20px;
    z-index: 1;
    border-radius: 50%;
}

.sb-description {
    padding: 20px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 1000;
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    border-left: 4px solid #fff;
    opacity: 0;
    color: #fff;

    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -o-transition: all 300ms;
    -ms-transition: all 300ms;
    transition: all 300ms;
}

.tablas-periodos {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tabla-periodo iframe {
    min-height: 35rem;
    width: 100%;
}


.anuncio-vacantes {
    background-image:url(/img/fondo-frances.png)
}
.webp .anuncio-vacantes {
    background-image:url(/img/fondo-frances.webp)
}.anuncio-vacantes {
    background-position:50%;
    background-size: contain;
    background-repeat: no-repeat;
    /* width: 100%;*/
    /* height: 25%;*/
    /* padding: 6rem;*/
    display:flex;
    flex-direction:column;
    align-items:center
}
.botones-preregistro {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
@media (min-width:768px) { 
    .anuncio-vacantes {
        min-height:30rem
    }

}
.anuncio-vacantes h3 {
    font-size:4rem;
    color:yellow;
    text-shadow: -2px -2px 1px #000, 2px 2px 1px #000, -2px 2px 1px #000, 2px -2px 1px #000;
    font-weight:700
}.anuncio-vacantes p {
    font-size:2.5rem;
    text-shadow: -1px -1px 1px #fff, 1px 1px 1px #fff, -1px 1px 1px #fff, 1px -1px 1px #fff;
    color:#000;
    text-align:center
}
.anuncio-vacantes h3,
.anuncio-vacantes p {
    margin:1rem
}

/*Estilos a las Dudas Frecuentes*/

.titulo {
	color: #3a3a3a;
	font-weight: 700;
	text-align: center;
	margin: 60px 0;
}

/*! =================================================*/
/*! ============= Categorias ============= */
/*! =================================================*/
.categorias {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 60px;
}

.categorias-entrega {
    display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	margin-bottom: 60px;
}

.categoria {
	cursor: pointer;
	text-align: center;
	padding: 20px;
	border-radius: 10px;
	background: #fff;
	font-weight: 700;
	color: #B8B8B8;
	border: 2px solid transparent;
	transition: .3s ease all;
}

.categoria:hover {
	box-shadow: var(--sombra);
	color: #000;
}

.categoria:hover path {
	fill: #000;
}

.categoria svg {
	width: 64px;
	margin-bottom: 10px;
}

.categoria path {
	fill: #B8B8B8;
	transition: .3s ease all;
}

.categoria.activa {
	border: 2px solid #000;
	color: #000;
}

.categoria.activa path {
	fill: #000;
}

/*! =================================================*/
/*! ============= Contenedor Preguntas ============= */
/*! =================================================*/
.contenedor-preguntas {
	display: none;
	grid-template-columns: 1fr;
	gap: 40px;
}

.contenedor-preguntas.activo {
	display: grid;
}

.contenedor-pregunta {
	background: #fff;
	padding: 40px;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	transition: .3s ease all;
	cursor: pointer;
}

.contenedor-pregunta:hover {
	box-shadow: var(--sombra);
}

.contenedor-pregunta.activa {
	border: 2px solid var(--primario);
}

/*! =================================================*/
/*! ============= Preguntas ============= */
/*! =================================================*/
.pregunta {
	font-weight: 700;
	font-size: 20px;
	line-height: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.pregunta img {
	width: 14px;
}

.respuesta {
	color: #808080;
	line-height: 30px;
	max-height: 0;
	opacity: 0;
	transition: .3s ease all;
}

.contenedor-pregunta.activa .respuesta {
	opacity: 1;
	margin-top: 20px;
}

.contenedor-pregunta.activa img {
	transform: rotate(45deg);
}

/*! =================================================*/
/*! ============= Responsive Design ============= */
/*! =================================================*/
@media screen and (max-width: 820px){
	.categorias,
    .categorias-entrega {
		grid-template-columns: 1fr 1fr;
	}

	.categoria {
		padding: 10px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 5px;
	}

	.categoria svg {
		width: 30px;
		margin-right: 10px;
		margin-bottom: 0;
	}
}

@media screen and (max-width: 500px){
	.categorias,
    .categorias-entrega {
		grid-template-columns: 1fr;
	}
	.iframe {
        max-width: 100%;
        height: auto;
    }
}


/*Media Queries*/
@media (min-width: 768px) {
    
    .iframe {
        max-width: 100%;
        height: auto;
    }
    .header {
        height: 50rem;
    }
    .header__texto {
        margin-top: 12rem;
    }
    .barra {
        flex-direction: row;
    }

    /*Estilos al menu hamburguesa*/
    .hamburguesa {
        display: none;
    }
    .logo {
        flex-direction: row;
    }
    .logo__nombre--bold {
        margin-left: 2rem;
    }
    .navegacion {
        display: flex;
        gap: 1rem;
        align-items: center; 
        opacity: 1; 
        visibility: visible;
    }
    /* .navegacion a {
        display: table;
    }
    
    .navegacion a::after {
        content: "";
        display: block;
        height: 0.5rem;
        background-color: white;
        transform: scale(0,1);
        transform-origin: center;
        transition: transform .25s;
    }
    
    .navegacion a:hover::after {
        transform: scale(1,1);
    } */

    .navegacion a {
        position: relative;
        text-decoration: none;
        z-index: 1;
    }

    .navegacion a:before {
        content: "";
        background: black;
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        transform: scaleX(0);
        animation: .8s no-hover;
        animation-fill-mode: forwards;
        z-index: -1;
    }

    .navegacion a:hover:before,
    .navegacion a:focus:before {
        animation: .4s hover linear;
        animation-fill-mode: forwards;
    }
    @keyframes hover {
        0% {transform: scaleX(0);height: 5px;}
        45% {transform: scaleX(1.05);height: 5px;}
        55% {height: 5px;}
        100% {transform: scaleX(1.05);height: 100%;}
    }
    @keyframes no-hover {
        0% {transform: scaleX(1.05);height: 100%;}
        45% {height: 5px;}
        55% {transform: scaleX(1.05);height: 5px;opacity: 1;}
        100% {transform: scaleX(0);height: 5px;opacity: .02;}
    }


    .contenido-principal {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 4rem;
    }
    .boton {
        display: inline-block;
        
    }
    .sobre-nosotros {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
    .curso {
        display: grid;
        grid-template-columns: 1fr 2fr;
        column-gap: 2rem;
    }
    .formulario {
        padding: 5rem;
    }
    .campo {
        flex-direction: row;
        margin-bottom: 2rem;
        gap: 2rem;
    }
    .campo__label {
        flex: 0 0 9rem;
        font-weight: bold;
    }
    .campo__input {
        flex: 1;
        border: 3px solid var(--colorGris);
    }
    .campo--boton {
        justify-content: right;
    }
    .boton:hover {
        cursor: pointer;
    }
    .campo__input--textarea {
        min-height: 30rem;
    }

    .logos-oficiales {
        flex-direction: row;
    }
    
    .logos-oficiales img {
        width: 10rem;
    }
    
    .texto-oficiales h2 {
        color: white;
        margin-right: 1.5rem;
    }
    
    .texto__oficiales--texto {
        font-size: 2rem;
    }

    .botones {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .botones-preregistro {
        flex-direction: row;
    }

    .contenido-modalidades {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        column-gap: 4rem;
    }

    .social ul li a:hover {
        padding: 2rem 6rem;
    }

    .header__texto h2 {
        font-size: 5rem;
    }

    .header__texto h3 {
        font-size: 3.2rem;
    }   

    .enlaces-tramites {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 2rem;
    }

    .boton-tramites {
        display: block;
    }

    .evento strong {
        font-size: 1.4rem;
    }

    /*Estilos al calendario*/
    .dias__item {
        color: black;
        font-weight: bold;
        text-transform: uppercase;
    }

    .enlaces-requisitos h4 {
        margin-top: 0;
    }

    .tramites-tabla iframe {
        height: 50rem;
        width: 75%;
    }
    .botones-preregistro {
        flex-direction: row;
        justify-content: space-around;
    }

    .imagenJs {
        height: 3.1rem;
    }

    .videos-presentacion {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 3rem;
    }

    .body-scroll {
        scroll-padding-bottom: 3.175rem;
    }

    .fijar-body {
        overflow: hidden;
    }

    .header .fijo {
        padding: 1rem 7rem;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 70%);
        box-shadow: 0 2rem 5rem black;
        z-index: 1;
        transition: all 500ms ease;
    }

    .fijo:hover {
        padding: 3rem 6rem;
    }
    .fijo a {
        transition: all 500ms ease;
    }
    .fijo a:hover {
        padding: 0.5rem 0.5rem;
    }

    .opciones-inscripciones {
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }

    .opciones-inscripciones h2 {
        margin: auto;
    }

    .enlaces-inscripciones {
        display: flex;
        flex-direction: column;
    }

    .tablas-periodos {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 4rem;
    }

    .tabla-periodo iframe {
        min-height: 45rem;
    }

    /*Modificación estilo SweetAlert*/
    .swal2-container .swal2-popup {
        font-size: 1.6rem;
    }
    .footer-sweetAlert h5{
        font-size: 2.5rem;
    }
    
}

@media screen and (max-width: 600px) {
    
    /*Estilos a la tabla de trámites*/
    .tabla-solicitud table {
        border: 0rem;
    }

    .tabla-solicitud thead {
        display: none;
    }

    .tabla-solicitud table tbody {
        background-color: white;
    }

    .tabla-solicitud tr {
        display: block;
        margin-bottom: 3rem;
        border-bottom: 1px solid lightgray;
    }

    .tabla-solicitud th,
    .tabla-solicitud td {
        font-size: 1.2rem;
    }

    .tabla-solicitud td {
        display: block;
        border-bottom: 1px solid lightgray;
        text-align: right;
    }

    .tabla-solicitud td:last-child {
        border-bottom: 0px;
    }

    .tabla-solicitud td::before {
        content: attr(data-label);
        font-weight: bold;
        text-transform: uppercase;
        float: left;
    }

    /*Estilos al Calendario*/
    .iframe {
        max-width: 100%;
        height: auto;
    }
    .dias {
        display: none;
    }
    
    .calendario {
        display: block;
        margin-bottom: 3rem;
        border-bottom: 1px solid lightgray;
    }
    
    .calendario__dia {
        color: #51565d;
        text-align: center;
    }

    .agrega__dia::before {
        font-weight: bold;
        content: "Día: ";
        color: black;
    }

    .agrega__evento::before {
        font-weight: bold;
        content: "Eventos: ";
        color: black;
    }

    .numero-dia {
        font-weight: bold;
        color: #51565d;
    }
    .swal2-html-container h4 {
        font-size: 1.8rem;
    }
}