@import url("https://fonts.googleapis.com/css2?family=Lato&display=swap");
@import url("https://fonts.googleapis.com/css2?family=PT+Sans+Narrow&display=swap");
* {
	box-sizing: border-box;
}

body,
html {
	overflow: auto;
	width: 100%;
}

body {
	font-family: "Lato", sans-serif;
	font-size: 16px;
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
}

.container-css {
	width: 1080px;
	margin: 0 auto;
}

a:hover {
	text-decoration: none;
}

.nav-css {
	padding: 1rem;
	background-color: #2c374c;
}

.nav-home img {
	margin-right: 1rem;
}

/* Sección buscador */

.container-search {
	border-bottom: 2px solid rgb(218, 216, 216);
}

.search-section {
	margin-top: 1.2rem;
	margin-bottom: 1.2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.search-section p {
	color: #4d4d4d;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 38px;
}

.search-section form {
	position: relative;
}

.search-section button img {
	width: 25px;
	position: absolute;
	right: 14px;
	top: 15px;
	/* background-color: #fff; */
	cursor: pointer;
}

.search-section button {
	width: 25px;
	position: absolute;
	right: 14px;
	/* top: 15px; */
	background-color: transparent;
	color: #fff;
	border: none;
	cursor: pointer;
}

#search {
	width: 360px;
	font-size: 0.9rem;
	font-weight: lighter;
	line-height: 1.1rem;
	padding: 1rem;
	border: 2px solid transparent;
	border-radius: 25px;
	-webkit-appearance: none;
	-webkit-box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.2),
		0 6px 10px 0 rgba(0, 0, 0, 0.19);
	box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.19);
}

#search:focus {
	outline: none;
}

.container-main {
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
}
.trash-size {
	width: 8%;
}
/* Sección listado de cursos */

.main {
	margin-left: 30%;
	/* padding: 0px 15px; */
}

.cursos-section {
	margin: 0;
	width: 80%;
	display: flex;
	justify-content: start;
	/* align-items: flex-end; */
	align-items: stretch;
	flex-wrap: wrap;
}

.cursos-section li:nth-of-type(3n) .popover-content {
	opacity: 0.5;
	visibility: hidden;
	position: absolute;
	top: 5%;
	left: -115%;
	transform: translate(0, 10px);
	background-color: #fff;
	padding: 1rem;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
	width: 300px;
}

.cursos-section li:nth-of-type(3n) .popover-content:after {
	position: absolute;
	z-index: -1;
	content: "";
	right: -10px;
	top: 30%;
	/* left: 100%; */
	width: 0;
	height: 0;
	border-left: 20px solid #fff;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
}

.cursos-section li:nth-of-type(3n) .popover-content:before {
	left: 0%;
	top: 0%;
}

.text-in-img {
	position: absolute;
	top: 20%;

	/* border-radius: 5px; */
	/* border-radius: 1px 10px 1px 1px; */
	padding: 6px;
	text-align: center;
	background: rgba(000, 000, 000, 0.7);
}

.text-red {
	position: absolute;
	top: 1%;
	/* border-radius: 1px 1px 10px 1px; */
	padding: 6px;
	text-align: center;
	background: rgba(248, 3, 3, 0.8);
}

.text-in-img p,
.text-red p {
	color: #fff;
	font-size: 0.6rem;
	font-weight: bold;
	margin: auto;
}

div.container-card {
	padding: 0.3rem;
	text-align: left;
}

.container-card > p {
	font-size: 0.9rem;
	font-weight: bold;
	color: #2daae1;
}

.container-card span {
	font-size: 0.8rem;
	line-height: 1.1rem;
	color: #4d4d4d;
}

.curso-img {
	position: relative;
}

.cursos-card {
	position: relative;
	display: inline-block;
	transition: 0.3s;
	width: calc(100% / 3 - 16px);
	margin: 1rem;
	/* height: 355px; */
	margin-right: 0;
	box-shadow: 0 4px 5px 0 rgb(0 0 0 / 20%), 0 6px 10px 0 rgb(0 0 0 / 19%);
}

.cursos-card:hover {
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

/* Popover sobre el curso */

/* .popover-content-last {
	opacity: 0.5;
	visibility: hidden;
	position: absolute;
	right: 100%;
	top: 5%;
	transform: translate(0, 10px);
	background-color: #fff;
	padding: 1rem;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
	width: 300px;
} */

.popover-content {
	opacity: 0.5;
	visibility: hidden;
	position: absolute;
	left: 100%;
	top: 5%;
	transform: translate(0, 10px);
	background-color: #fff;
	padding: 1rem;
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
	width: 300px;
}

.popover-content:before {
	position: absolute;
	z-index: -1;
	content: "";
	left: -10px;
	top: 20%;
	width: 0;
	height: 0;
	border-right: 20px solid #fff;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
}

/* .popover-content-last:before {
	position: absolute;
	z-index: -1;
	content: "";
	right: -10px;
	top: 20%;
	width: 0;
	height: 0;
	border-left: 20px solid #fff;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
} */

.cursos-card:hover .popover-content,
.cursos-section li:nth-of-type(3n).cursos-card:hover .popover-content {
	z-index: 10;
	opacity: 1;
	visibility: visible;
	transform: translate(0, -20px);
	transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97);
}

.popover-title {
	font-size: 1rem;
	font-weight: bold;
	color: #2daae1;
	text-align: left;
}

.popover-contenido {
	font-size: 1rem;
	color: #666666;
	text-align: left;
}

.popover-contenido span {
	font-size: 0.7rem;
	color: #999999;
}

.popover-btn {
	background-color: #2daae1;
	font-weight: bold;
	border: 1px solid transparent;
	padding: 10px 15px;
	border-radius: 10px;
	width: 100%;
	margin: auto;
	margin-top: 1rem;
}

.popover-detalle {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-bottom: 0.5rem;
}

.popover-detalle p {
	font-size: 14px;
	font-weight: bold;
}

.popover-btn a {
	color: #fff;
}

/* Sección filtros */

.filter-section {
	height: auto;
	width: 20%;
	/* position: absolute; */
	z-index: 1;
	/* top: 32%;
	left: 10%; */
}

.filter-section > button {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.filter-clean {
	font-size: 0.9rem;
	font-weight: bold;
	color: #2daae1;
}

.filter-btn {
	margin: 1rem;
	display: flex;
	justify-content: start;
	align-items: center;
}

/* Seccion filtros -> Detalle */

.accordion {
	background-color: #fff;
	color: #848080;
	font-family: "Lato", sans-serif;
	font-weight: lighter;
	cursor: pointer;
	padding: 5px;
	width: 100%;
	text-align: left;
	border: none;
	outline: none;
	border-bottom: 1px solid #ccc;
	transition-duration: 0.4s;
}

.accordion > p {
	font-size: 0.9rem;
}

/* .active, .accordion:hover {
	color: #000;
} */

.panel {
	padding: 10px 0;
	background-color: white;
	display: none;
	overflow: hidden;
}

.panel > p {
	font-size: 0.8rem;
	color: #848080;
	line-height: 0.9rem;
}

.filter-items {
	display: flex;
	align-items: center;
}

.filter-items > p {
	font-size: 0.8rem;
	color: #848080;
	line-height: 0.9rem;
}

.filter-items > input {
	margin: 0.5rem;
}

.arrowup {
	display: none;
	width: 10%;
}

.arrowdown {
	display: block;
	width: 10%;
}

/* Sección paginado */

.main-pagination {
	margin-left: 20%;
}

.pagination {
	margin: 2.5rem 0;
	width: auto;
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.pagination a {
	float: center;
	margin: auto 0.5rem;
	text-decoration: none;
	transition: background-color 0.3s;
}

.number-page {
	color: #666666;
	padding: 8px 16px;
}

.pagination a.active {
	width: 40px;
	font-weight: bold;
	/* border: 1px solid #2daae1; */
	/* padding: 10px; */
	/* border-radius: 20px; */
	color: #2daae1;
}

.pagination a:hover:not(.active) {
	color: #2daae1;
	font-weight: bold;
}

.arrow-icon {
	width: 40px;
	height: 40px;
	/* background-size: 40px; */
	background-repeat: no-repeat;
}

.line-icon {
	width: 40px;
	height: 35px;
	/* background-size: 40px 35px; */
	background-repeat: no-repeat;
}

/* Sección pie de página */

.section-footer {
	/* margin-top: 1rem; */
	padding: 3rem 0;
	color: #666666;
	background-color: #ddd;
	font-size: 0.75rem;
	font-family: "PT Sans Narrow", sans-serif;
}

.footer {
	display: flex;
	justify-content: space-between;
}

.footer-details {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-details div {
	padding-left: 8px;
}

.footer-item {
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 0;
}

.footer-item li {
	padding: 0.5rem;
}

.footer-item a,
.footer-item li {
	display: flex;
	align-items: center;
}

.footer-item a {
	color: #999999;
	font-weight: bold;
}

.footer-item a {
	list-style: none;
}

.copyright {
	text-align: center;
	padding: 15px 0;
	color: #fff;
	background-color: #868686;
	font-size: 0.625rem;
	line-height: 0.8rem;
	font-family: "PT Sans Narrow", sans-serif;
}

.container-detalle {
	position: relative;
	height: 399px;
	/* height: 430px; */
	/* margin: 0 auto; */
}

container-fix {
	height: 315px;
}

.container-detalle .content-detalle {
	position: absolute;
	bottom: 0;
	background: rgb(0, 0, 0);
	background: rgba(0, 0, 0, 0.35);
	color: #f1f1f1;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.banner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.banner iframe {
	flex: 1;
}

.banner-info {
	margin-right: 2rem;
	flex: 1;
}

.banner-title {
	text-transform: uppercase;
	font-size: 1.5rem;
	font-weight: bold;
}

.btn-banner {
	cursor: pointer;
	background-color: #2daae1;
	border: 1px solid transparent;
	padding: 10px 40px;
	border-radius: 30px;
	margin-top: 2rem !important;
	text-align: center;
	color: #fff;
}

.btn-banner a {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

.info-detalle {
	padding: 3rem;
	border-bottom: 1px solid #ccc;
}

.items-detalle {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.item {
	display: flex;
	justify-content: center;
	align-items: center;
}

.item img {
	margin-right: 0.5rem;
}

.item span {
	font-size: 0.9rem;
}

#inscribirme {
	overflow: hidden;
	background-color: #2daae1;
	margin-top: 1rem;
	z-index: 999;
}

#inscribirme a {
	display: block;
	color: #fff;
	text-align: center;
	/* font-weight: bold; */
	padding-top: 12px;
	padding-bottom: 12px;
	cursor: pointer;
	font-size: 24px;
	text-decoration: none;
}

.contenido-detalle {
	display: flex;
	justify-content: space-between;
	margin: 3rem auto;
}

.contenido {
	flex: 1;
	color: #666;
	line-height: 1.5rem;
}

.contenido p {
	font-size: 1rem;
	color: #666;
}
.btn-contenido {
	margin-bottom: 1rem;
}
.btn-contenido a {
	display: block;
	background-color: #2daae1;
	color: #fff;
	text-align: center;
	font-weight: bold;
	padding: 1rem 2rem;
	cursor: pointer;
	font-size: 1rem;
	text-decoration: none;
	/* border-radius: 1px 1px 10px 10px; */
}

.forms {
	flex: 1;
	margin-left: 1rem;
}

.title {
	color: #999999;
	font-size: 1.5rem !important;
}

.subtitle {
	color: #fff;
	font-weight: bold;
	font-size: 1.1rem;
	background-color: #666;
	padding: 1rem 2rem;
	border-radius: 10px 10px 1px 1px;
	margin-bottom: 0.5rem;
}

.precio-detalle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f1f1f1;
	padding: 0.5rem;
	margin-bottom: 0.5rem;
}

.precio-detalle p {
	font-weight: bold;
}

.precio-detalle p span {
	color: #666666;
	font-weight: lighter;
}

.precio {
	color: #2daae1;
}

.precio span {
	position: relative;
	top: -0.4rem;
	color: #2daae1 !important;
	font-size: 0.7rem;
	font-weight: bold !important;
}

.temario-section > button {
	display: flex;
	justify-content: flex-start;
	align-items: baseline;
}

.temario-section .accordion img {
	margin-right: 0.5rem;
}

.disertantes-detalle {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-bottom: 0.5rem;
}

.disertantes-detalle img {
	margin-right: 2rem;
}

.disertantes-detalle p {
	font-weight: bold;
}

.disertantes-detalle p span {
	font-weight: lighter !important;
}

.form-consulta {
	background-color: #ddd;
	padding: 1rem;
	margin-top: 1rem;
	border: 1px solid transparent;
	border-radius: 10px;
	box-shadow: 0 4px 5px 0 rgb(0 0 0 / 20%), 0 6px 10px 0 rgb(0 0 0 / 19%);
	text-align: center;
}

.form-consulta p {
	font-size: 1.2rem;
}

.input-consulta {
	width: 100%;
	border: none;
	padding: 0.5rem;
	border-radius: 5px;
	font-family: "Lato", sans-serif;
	color: #808080;
}

.main-form .form-input {
	margin-bottom: 10px;
}

.form-input textarea {
	resize: vertical;
}

#add-input {
	border: 1px solid transparent;
	border-radius: 10px;
	background-color: #2daae1;
	color: #fff;
	/* font-weight: bold; */
	padding: 2px;
	width: auto;
	cursor: pointer;
	margin-left: 10px;
}

.sticky {
	position: fixed;
	top: 0;
	width: 100%;
}

.sticky + .content {
	padding-top: 60px;
}

/* Utilities */

@media screen and (min-width: 625px) {
	.visible-xs {
		display: none;
	}
}

@media screen and (max-width: 625px) {
	.hidden-xs {
		display: none;
	}
}

@media screen and (max-width: 1000px) {
	.container-css {
		width: 100%;
	}
	.hidden-md {
		display: none;
	}
}

/* -webkit-width: 100%; */
@media screen and (max-width: 625px) {
	* {
		box-sizing: border-box;
	}
	body {
		font-size: 12px;
	}
	.container-css {
		width: 100%;
	}
	.search-section {
		flex-direction: column-reverse;
	}
	.search-section p {
		color: #4d4d4d;
		text-align: center;
		font-size: 1.5rem;
		font-weight: bold;
		line-height: 38px;
		margin-top: 1.5rem;
		/* padding: 0 .2rem; */
	}
	/* Sección listado de cursos */
	.filter-section {
		height: auto;
		width: 100%;
	}
	.container-main {
		display: flex;
		align-items: center;
		flex-direction: column;
	}
	.filter-btn {
		margin: 1rem auto;
		display: flex;
		justify-content: flex-start;
		align-items: center;
	}
	.arrowup {
		display: none;
		width: 8%;
	}

	.arrowdown {
		display: block;
		width: 8%;
	}
	.main {
		margin-left: 0;
		padding: 0;
	}
	.cursos-section {
		width: 100%;
		margin-top: 2rem;
		margin-bottom: 2rem;
		display: flex;
		flex-direction: column;
		justify-content: center;
		flex-wrap: nowrap;
	}
	div.container-card {
		padding: 0.3rem;
		text-align: left;
	}
	.container-card > p {
		font-size: 0.9rem;
		font-weight: bold;
		color: #2daae1;
	}
	.container-card span {
		font-size: 0.8rem;
		line-height: 1.1rem;
		color: #4d4d4d;
	}
	.curso-img {
		position: relative;
	}
	.cursos-card {
		padding: 0;
		flex: 1;
		width: auto;
		margin: 5px 10px;
		-webkit-box-shadow: 3px 3px 5px 6px #ccc;
		box-shadow: 0 4px 5px 0 rgb(0 0 0 / 20%), 0 6px 10px 0 rgb(0 0 0 / 19%);
	}
	.text-in-img {
		padding: 8px;
	}
	.text-red {
		padding: 8px;
		top: 16%;
	}
	.banner {
		justify-content: center;
	}
	.banner-info {
		margin-right: 0;
		padding: 1rem;
	}
	.banner-info h4 {
		font-size: 1.4rem;
	}
	.banner-info > h3 > strong {
		font-size: 1.8rem;
		text-transform: uppercase;
	}
	.banner-info p {
		font-size: 1.1rem;
	}
	.banner-info h4,
	h3,
	p {
		margin: 0;
	}
	.banner-title {
		font-size: 1rem;
		/* height: ; */
	}
	#inscribirme {
		overflow: hidden;
		background-color: #2daae1;
		margin-top: 0;
		margin-bottom: 0.5rem;
	}
	#inscribirme a {
		display: block;
		color: #fff;
		text-align: center;
		font-weight: bold;
		padding-top: 12px;
		padding-bottom: 12px;
		cursor: pointer;
		font-size: 18px;
		text-decoration: none;
	}
	.info-detalle {
		padding: 2rem;
	}
	.items-detalle {
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
	}
	.item {
		margin: 1rem 0;
		justify-content: flex-start;
	}
	.contenido-detalle {
		flex-direction: column;
	}
	.container-detalle {
		height: 625px;
	}
	.disertantes-detalle {
		margin-left: 0.5rem;
	}
	.title {
		margin-bottom: 0.5rem;
	}
	.forms {
		margin: 3rem 0.5rem;
	}
	.form-consulta {
		margin-top: 2rem;
	}
	.main-form {
		margin-top: 0.8rem;
	}
	.precio-detalle {
		font-size: 14px;
	}
	.precio {
		font-size: 15px;
	}
	.btn-banner {
		padding: 15px 30px;
		font-weight: bold;
	}
	.contenido p {
		margin: 0.5rem;
		color: #666;
	}
	.contenido {
		color: #666;
	}
	.display-section {
		margin-top: 1rem;
		margin-bottom: 1rem;
	}
	.display-section > button {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
	}
	.display-section .accordion img {
		margin-right: 0.5rem;
	}
	.display-section .panel ul li {
		font-size: 1rem;
	}
	.temario-section {
		font-size: 16px;
	}
	.trash-size {
		width: 5%;
	}
	.footer {
		flex-direction: column-reverse;
	}
	.section-footer {
		padding: 0;
	}
	.footer > div {
		padding: 1rem;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
	}
	.footer-details > div > span {
		font-weight: bold;
	}
	.footer-info p {
		font-size: 1rem;
		margin-right: 3rem;
	}
	.footer-info {
		flex-direction: column !important;
	}
	.copyright span {
		display: none;
	}
}

@media screen and (max-width: 1080px) {
	.container-css {
		width: 100%;
	}
	div,
	ul,
	li {
		box-sizing: border-box;
	}
	.container-main {
		padding: 1rem;
	}
}
