/*
	Miniport 1.0 by HTML5 Up!
	html5up.net | @n33co
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

/*********************************************************************************/
/* Basic                                                                         */
/*********************************************************************************/

	*
	{
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-o-box-sizing: border-box;
		-ms-box-sizing: border-box;
		box-sizing: border-box;
	}

	body, input, textarea
	{
		font-family: 'Open Sans', sans-serif;
		line-height: 1.85em;
		color: #888;
		font-weight: 300;
	}

	a
	{
		color: #3B95C6;
		text-decoration: underline;
		-moz-transition: color .2s ease-in-out;
		-webkit-transition: color .2s ease-in-out;
		-o-transition: color .2s ease-in-out;
		-ms-transition: color .2s ease-in-out;
		transition: color .2s ease-in-out;
	}
	
		a:hover
		{
			color: #1B75A6 !important;
		}

	strong, b
	{
		font-weight: 600;
		color: #3e3e3e;
	}
	
	h1, h2, h3, h4, h5, h6
	{
		color: #3e3e3e;
	}
	
		h1 a, h2 a, h3 a, h4 a, h5 a, h6 a
		{
			text-decoration: none;
			color: inherit;
		}
	
	h2, h3, h4, h5, h6
	{
		font-weight: 700;
	}
	
	h1
	{
		font-weight: 300;
	}
	
		h1 strong
		{
			font-weight: 700;
		}
	
	em, i
	{
		font-style: italic;
	}
	
	form
	{
	}
	
		form input,
		form select,
		form textarea
		{
			-webkit-appearance: none;
		}

		form input[type=text],
		form input[type=password],
		form select,
		form textarea
		{
			width: 100%;
			border: 0;
			padding: 0.75em;
			font-size: 1em;
			border-radius: 8px;
			background: #282828;
			color: #bbb;
			box-shadow: inset 0px 2px 5px 0px rgba(0,0,0,0.05), 0px 1px 0px 0px rgba(255,255,255,0.025);
		}

		form input[type=text]:focus,
		form input[type=password]:focus,
		form select:focus,
		form textarea:focus
		{
			box-shadow: inset 0px 2px 5px 0px rgba(0,0,0,0.05), 0px 1px 0px 0px rgba(255,255,255,0.025), 0px 0px 2px 2px #74CAEE;
		}
		
		form textarea
		{
			height: 15em;
		}
		
		form .formerize-placeholder
		{
			color: #555 !important;
		}

		form ::-webkit-input-placeholder
		{
			color: #555 !important;
		}

		form :-moz-placeholder
		{
			color: #555 !important;
		}

		form ::-moz-placeholder
		{
			color: #555 !important;
		}

		form :-ms-input-placeholder
		{
			color: #555 !important;
		}

		form ::-moz-focus-inner
		{
			border: 0;
		}

	br.clear
	{
		clear: both;
	}
	
	p, ul, ol, dl, table
	{
		margin-bottom: 2em;
	}
	
	section,
	article
	{
		margin-bottom: 3em;
	}
	
	section > :last-child,
	article > :last-child
	{
		margin-bottom: 0;
	}

	section:last-child,
	article:last-child
	{
		margin-bottom: 0;
	}

	.image
	{
		display: inline-block;
	}
	
		.image img
		{
			display: block;
			width: 100%;
		}

	.image-full
	{
		display: block;
		width: 100%;
		margin: 0 0 2em 0;
	}
	
	.image-left
	{
		float: left;
		margin: 0 2em 2em 0;
	}
	
	.image-centered
	{
		display: block;
		margin: 0 0 2em 0;
	}

		.image-centered img
		{
			margin: 0 auto;
			width: auto;
		}
	
	.button
	{
		position: relative;
		display: inline-block;
		color: #fff;
		text-decoration: none;
		font-weight: 700;
		border: 0;
		outline: 0;
		cursor: pointer;
		border-radius: 8px;
		text-shadow: -1px -1px 0.5px rgba(0,0,0,0.5);
		overflow: hidden;
		background: #61b8db;
		background-image: -moz-linear-gradient(top, rgba(97,184,219,0), rgba(48,141,196,1));
		background-image: -webkit-linear-gradient(top, rgba(97,184,219,0), rgba(48,141,196,1));
		background-image: -o-linear-gradient(top, rgba(97,184,219,0), rgba(48,141,196,1));
		background-image: -ms-linear-gradient(top, rgba(97,184,219,0), rgba(48,141,196,1));
		background-image: linear-gradient(top, rgba(97,184,219,0), rgba(48,141,196,1));
		box-shadow: inset 0px 0px 0px 1px #135c86, inset 0px 2px 1px 0px rgba(255,255,255,0.75);
		-moz-transition: background-color .2s ease-in-out;
		-webkit-transition: background-color .2s ease-in-out;
		-o-transition: background-color .2s ease-in-out;
		-ms-transition: background-color .2s ease-in-out;
		transition: background-color .2s ease-in-out;
	}

		.button:before
		{
			content: '';
			display: block;
			position: absolute;
			left: 0;
			top: 0;
			width: 100%;
			height: 100%;
			background: url('images/bg.png');
		}

		.button:hover
		{
			background-color: #76cdf0;
			color: #fff !important;
		}
		
		.button:active
		{
			background-image: -moz-linear-gradient(top, rgba(48,141,196,1), rgba(77,164,199,0));
			background-image: -webkit-linear-gradient(top, rgba(48,141,196,1), rgba(77,164,199,0));
			background-image: -o-linear-gradient(top, rgba(48,141,196,1), rgba(77,164,199,0));
			background-image: -ms-linear-gradient(top, rgba(48,141,196,1), rgba(77,164,199,0));
			background-image: linear-gradient(top, rgba(48,141,196,1), rgba(77,164,199,0));
			box-shadow: inset 0px 0px 0px 1px #135c86, inset 0px -2px 1px 0px rgba(255,255,255,0.75);
			top: 1px;
		}
	
		.button-alt
		{
			background-color: #393939;
			background-image: -moz-linear-gradient(top, rgba(50,50,50,0), rgba(45,45,45,1));
			background-image: -webkit-linear-gradient(top, rgba(50,50,50,0), rgba(45,45,45,1));
			background-image: -o-linear-gradient(top, rgba(50,50,50,0), rgba(45,45,45,1));
			background-image: -ms-linear-gradient(top, rgba(50,50,50,0), rgba(45,45,45,1));
			background-image: linear-gradient(top, rgba(50,50,50,0), rgba(45,45,45,1));
			box-shadow: inset 0px 0px 0px 1px #242424, inset 0px 2px 1px 0px rgba(255,255,255,0.2);
		}

			.button-alt:hover
			{
				background-color: #444;
			}
			
			.button-alt:active
			{
				background-image: -moz-linear-gradient(top, rgba(45,45,45,1), rgba(50,50,50,0));
				background-image: -webkit-linear-gradient(top, rgba(45,45,45,1), rgba(50,50,50,0));
				background-image: -o-linear-gradient(top, rgba(45,45,45,1), rgba(50,50,50,0));
				background-image: -ms-linear-gradient(top, rgba(45,45,45,1), rgba(50,50,50,0));
				background-image: linear-gradient(top, rgba(45,45,45,1), rgba(50,50,50,0));
				box-shadow: inset 0px 0px 0px 1px #242424, inset 0px -2px 1px 0px rgba(255,255,255,0.2);
			}
	
		.button-big
		{
		}

	ul.social
	{
		cursor: default;
		margin: 0;
	}
	
		ul.social li
		{
			position: relative;
			display: inline-block;
			margin: 0.25em;
			top: 0;
			border-radius: 6px;
			overflow: hidden;
			background: #444;
			background-image: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.2));
			background-image: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.2));
			background-image: -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.2));
			background-image: -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.2));
			background-image: linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.2));
			-moz-transition: background-color .2s ease-in-out, top .2s ease-in-out;
			-webkit-transition: background-color .2s ease-in-out, top .2s ease-in-out;
			-o-transition: background-color .2s ease-in-out, top .2s ease-in-out;
			-ms-transition: background-color .2s ease-in-out, top .2s ease-in-out;
			transition: background-color .2s ease-in-out, top .2s ease-in-out;
			box-shadow: inset 0px 0px 0px 1px #282828, inset 0px 2px 1px 0px rgba(255,255,255,0.1);
		}

			ul.social li a
			{
				display: block;
				position: relative;
				background: url('images/social.png');
				width: 48px;
				height: 48px;
				text-indent: -9999em;
				outline: 0;
			}
			
				ul.social li.facebook a						{ background-position: 0px 0px; }
					ul.social li.facebook:hover				{ background-color: #3C5A98; }
				ul.social li.twitter a						{ background-position: -48px 0px; }
					ul.social li.twitter:hover				{ background-color: #2DAAE4; }
				ul.social li.rss a							{ background-position: -96px 0px; }
					ul.social li.rss:hover					{ background-color: #F2600B; }
				ul.social li.dribbble a						{ background-position: -144px 0px; }
					ul.social li.dribbble:hover				{ background-color: #C4376B; }
				ul.social li.linkedin a						{ background-position: -192px 0px; }
					ul.social li.linkedin:hover				{ background-color: #006599; }
				ul.social li.tumblr a						{ background-position: -240px 0px; }
					ul.social li.tumblr:hover				{ background-color: #51718A; }
				ul.social li.googleplus a					{ background-position: -288px 0px; }
					ul.social li.googleplus:hover			{ background-color: #DA2713; }

			ul.social li:hover
			{
				top: -5px;
			}

			ul.social li:active
			{
				top: 0;
			}

	.box
	{
		background: #fff;
		box-shadow: inset 0px 0px 0px 1px rgba(0,0,0,0.15), 0px 2px 3px 0px rgba(0,0,0,0.1);
		text-align: center;
	}

		.box .image-full
		{
			position: relative;
		}

/*********************************************************************************/
/* Wrappers                                                                      */
/*********************************************************************************/

	.wrapper
	{
		background-image: url('images/bg.png');
		box-shadow: inset 0px 1px 0px 0px rgba(0,0,0,0.05), inset 0px 2px 3px 0px rgba(0,0,0,0.1);
	}

	.wrapper-first
	{
		box-shadow: none;
	}

	.wrapper-style1
	{
		background-image: none;
		background-color: #fff;
	}
	
	.wrapper-style2
	{
		background-color: #fafafa;
		text-shadow: 1px 1px 0px #fff;
	}
	
	.wrapper-style3
	{
		background-color: #f4f4f4;
		text-shadow: 1px 1px 0px #fff;
	}

	.wrapper-style4
	{
		background-color: #303030;
		color: #999;
		text-shadow: -1px -1px 0px #181818;
	}

		.wrapper-style4 h1, 
		.wrapper-style4 h2, 
		.wrapper-style4 h3, 
		.wrapper-style4 h4, 
		.wrapper-style4 h5, 
		.wrapper-style4 h6
		{
			color: #fff;
		}
		
		.wrapper-style4 .row-special
		{
			border-top: solid 1px rgba(0,0,0,0.5);
			border-bottom: solid 1px rgba(0,0,0,0.5);
			box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.1), 0px 1px 0px 0px rgba(255,255,255,0.1);
		}

/* Fondo personalizado para cada sección principal (más diferenciados y alternos) */
.wrapper-style1.bg1 { background: #fcfcfc; } /* gris */
.wrapper-style1.bg2 { background: #f0f4f8; } /* gris azulado más oscuro */
.wrapper-style1.bg3 { background: #f6fafd; } /* casi blanco, azul muy pálido */
.wrapper-style1.bg4 { background: #e9f1f5; } /* gris azulado más marcado */
.wrapper-style1.bg5 { background: #f7fafd; } /* igual que bg3 para alternar */
.wrapper-style1.bg6 { background: #e3eaf0; } /* gris azulado más intenso */

.aula-carousel-container {
  background: #f0f4f8;
}

/*********************************************************************************/
/* Nav                                                                           */
/*********************************************************************************/

	#nav
	{
		background-color: #282828;
		text-align: center;
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		z-index: 10000;
		cursor: default;
	}
	
		#nav ul
		{
			margin: 0;
		}
	
		#nav li
		{
			display: inline-block;
		}
		
		#nav a
		{
			position: relative;
			display: block;
			color: #fff;
			text-decoration: none;
			outline: 0;
		}
		
			#nav a:hover
			{
				color: #fff !important;
			}
			
			#nav a.active:before
			{
				content: '';
				display: block;
				position: absolute;
				bottom: -0.6em;
				left: 50%;
				margin-left: -0.75em;
				border-left: solid 0.75em transparent;
				border-right: solid 0.75em transparent;
				border-top: solid 0.6em #282828;
			}
			
/*********************************************************************************/
/* Articles                                                                      */
/*********************************************************************************/

	#top
	{
	}

		#top .me
		{
			border-radius: 50%;
			overflow: hidden;
		}

		#top p
		{
		}
	
			#top p a
			{
				color: inherit;
			}

/*********************************************************************************/
/* Copyright                                                                     */
/*********************************************************************************/

	#copyright
	{
		color: #666;
	}
	
		#copyright a
		{
			color: inherit;

			-moz-transition: color .2s ease-in-out;
			-webkit-transition: color .2s ease-in-out;
			-o-transition: color .2s ease-in-out;
			-ms-transition: color .2s ease-in-out;
			transition: color .2s ease-in-out;
		}
		
		#copyright a:hover
		{
			color: #777;
		}

.subject-icon {
	font-size: 24px;
	color: #2DAAE4;
}

.subject-name {
	font-size: 24px;
	font-weight: 200;
	color: #2DAAE4;
	padding-left: 20px;
	padding-right: 20px;
}

.career-icon {
	font-size: 24px;
	color: purple;
}

.career-name {
	font-size: 24px;
	color: purple;
	padding-left: 20px;
	padding-right: 20px;
}

.career-subjects {
	font-size: 20px;
	color: #222;
}

/****************************/
/* Responsive y Moderno     */
/****************************/

/* Bienvenida: imagen y texto alineados horizontalmente */
.wrapper-first .row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.me.image img {
  border-radius: 50%;
  max-width: 180px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.col-8 {
  padding-left: 2em;
}

@media (max-width: 800px) {
  .wrapper-first .row {
    flex-direction: column;
    align-items: stretch;
  }
  .col-8 {
    padding-left: 0;
    margin-top: 1.5em;
  }
  .me.image img {
    margin-bottom: 1em;
  }
  .me.image {
    margin-top: 4.5em !important;
  }
}

/* Tabla de asignaturas en 3 columnas iguales */
.subject-table {
  width: 100%;
  table-layout: fixed;
}
.subject-table td {
  width: 33.33%;
  vertical-align: middle;
  padding: 0.5em 0.2em;
}
.subject-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}

/* Carreras: tablas en flexbox */
.career-tables-flex {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.career-table {
  flex: 1 1 300px;
  min-width: 260px;
  max-width: 100%;
  margin-bottom: 1em;
}

@media (max-width: 900px) {
  .career-tables-flex {
    flex-direction: column;
    gap: 1em;
  }
  .career-table {
    min-width: 0;
  }
}

/* Flip-card effect for Apoyo Escolar section */
.flipcard-row {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin: 2em 0 3em 0;
  flex-wrap: wrap;
}
.flip-card {
  background: transparent;
  width: 320px;
  height: 380px;
  perspective: 1200px;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(45,170,228,0.10), 0 1.5px 8px rgba(0,0,0,0.08);
  margin-bottom: 1.5em;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.7s cubic-bezier(.4,2,.6,1);
  transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner, .flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 2px 12px rgba(45,170,228,0.08);
  padding: 2em 1.2em 1.2em 1.2em;
  font-size: 1em;
}
.flip-card-back h {
  font-size: 1.10em !important;
  line-height: 1.5em !important;
  margin: 0.2em 0 0 0 !important;
}
.flip-card-back p {
  font-size: 0.90em !important;
  line-height: 1.1em !important;
  margin: 0.2em 0 0 0 !important;
}
.flip-card-front {
  z-index: 2;
}
.flip-card-back {
  transform: rotateY(180deg);
  background: #2DAAE4;
  color: #fff;
  z-index: 1;
}
.flip-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 1em;
  border-radius: 50%;
  background: #f4faff;
  box-shadow: 0 2px 8px rgba(45,170,228,0.10);
}
.flip-card-front h3, .flip-card-back h3 {
  margin: 0.2em 0 0.4em 0;
  font-size: 1.08em;
  font-weight: 700;
  color: #2DAAE4;
}
.flip-card-back h3 {
  color: #fff;
}
@media (max-width: 1100px) {
  .flipcard-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }
  .flip-card {
    width: 90vw;
    max-width: 350px;
    height: 380px;
  }
  .flip-card-front, .flip-card-back {
    font-size: 0.95em;
  }
}
@media (max-width: 600px) {
  .flip-card {
    width: 98vw;
    max-width: 99vw;
    height: 340px;
  }
  .flip-card-front, .flip-card-back {
    font-size: 0.90em;
  }
  .flip-card-back p {
    font-size: 0.92em;
  }
  .flip-img {
    width: 70px;
    height: 70px;
  }
}

.flip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #f4faff;
  box-shadow: 0 2px 8px rgba(45,170,228,0.10);
  margin-bottom: 1em;
  font-size: 3.2em;
  color: #2DAAE4;
}
@media (max-width: 600px) {
  .flip-icon {
    width: 70px;
    height: 70px;
    font-size: 2.2em;
  }
}

.cita {
	font-size: 28px;
    font-family: 'Marck Script', cursive;
    color: black;
    margin-left: 100px;
    margin-right: 100px;
}

/****************************/
/* Fin Responsive y Moderno */
/****************************/

/* Estilos para el carrusel de imágenes del aula */
.aula-carousel-container {
  width: 100%;
  max-width: 800px;
  margin: 2em auto 2em auto;
  position: relative;
  background: #f4f7fa;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(45,170,228,0.10);
  padding: 1.2em 0 2.2em 0;
}
.aula-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.carousel-images {
  width: 100%;
  max-width: 700px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.carousel-img {
  display: none;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(45,170,228,0.10);
  transition: opacity 0.4s;
}
.carousel-img.active {
  display: block;
  opacity: 1;
}
.carousel-btn {
  background: #2DAAE4;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 0.5em;
  box-shadow: 0 2px 8px rgba(45,170,228,0.10);
  transition: background 0.2s;
}
.carousel-btn:hover {
  background: #1B75A6;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.7em;
  margin-top: 1em;
}
.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #bfe6f8;
  cursor: pointer;
  transition: background 0.2s;
  border: 2px solid #2DAAE4;
}
.dot.active {
  background: #2DAAE4;
}
@media (max-width: 900px) {
  .aula-carousel-container {
    max-width: 99vw;
    padding: 0.5em 0 1.2em 0;
  }
  .carousel-images {
    max-width: 98vw;
    height: 220px;
  }
  .carousel-img {
    height: 220px;
  }
}
@media (max-width: 600px) {
  .carousel-images {
    height: 140px;
  }
  .carousel-img {
    height: 140px;
  }
}

/* Estilos modernos y sutiles para tablas de asignaturas y carreras */
.subject-table, .career-table {
  background: #fafdff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(45,170,228,0.06);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.subject-table td, .career-table td {
  background: rgba(237, 245, 252, 0.7);
  border-bottom: 1px solid #e3eaf0;
  padding: 0.7em 0.5em;
}
.subject-table tr:last-child td, .career-table tr:last-child td {
  border-bottom: none;
}
.career-table .career-icon {
  background: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
}
.career-table .highlight-blue {
  background: #f0f7fb;
  border-radius: 8px;
  padding: 0.2em 0.7em;
}
.career-table ul.career-subjects {
  text-align: left;
  margin-left: 0.5em;
}
@media (max-width: 800px) {
  .career-name {
    font-size: 18px;
  }
}
@media (max-width: 600px) {
  .subject-table td {
    width: 100%;
    display: block;
    box-sizing: border-box;
  }
  .subject-table tr {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  .subject-table td {
    width: 50%;
    display: inline-block;
    box-sizing: border-box;
  }
  .subject-table tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
}
