@import url('./_config.css');

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-weight: var(--titleWeight);
	line-height: 1;
	color: var(--titleColor);
}

b, strong {font-weight: var(--boldWeight)}

.container {
	max-width: 90%;
	width: var(--containerWidth);
}

.btn {
	font-size: .875rem;
	padding: 1.3em 3em;
	line-height: 1.1;
	background-color: black;
	border-radius: .25rem;
	-webkit-border-radius: .25rem;
	-moz-border-radius: .25rem;
	-ms-border-radius: .25rem;
	-o-border-radius: .25rem;
}

.navbar .btn {
	font-weight: bold;
	font-size: 1.125rem;
	padding: 1.5em 3em;
}

body {
	font-size: .875rem;
	overflow-x: hidden;
}

p:first-of-type {margin-top: 0;}
p:last-of-type {margin-bottom: 0;}




/*
			N A V B A R
*/

.navbar {
	background-color: #fff;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 999;
	border-bottom: 2px solid var(--bgLight);
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

.affix {
	border-bottom: 0;
	box-shadow: 0 0 30px hsl(0 0% 0% / .1);
}

.navbar-logo {
	margin: 22.5px 0;
	transition: margin .3s;
	-webkit-transition: margin .3s;
	-moz-transition: margin .3s;
	-ms-transition: margin .3s;
	-o-transition: margin .3s;
}

.affix .navbar-logo {
	margin: 10px 0;
}

.navbar-logo-image {
	display: block;
	height: 85px;
	transition: height .3s;
	-webkit-transition: height .3s;
	-moz-transition: height .3s;
	-ms-transition: height .3s;
	-o-transition: height .3s;
}

.affix .navbar-logo-image {height: 55px;}

.affix .btn {
	font-size: .875rem;
}


/*
			N A V B A R   N A V
*/

.navbar-nav {
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: center;
}

.navbar-nav li {
	list-style: none;
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
}

.navbar-nav > li:not(:first-child) {
	padding-left: var(--navMargin);
}

.navbar-nav a {
	will-change: auto;
}

.navbar-nav > li > a {
	color: black;
	font-size: 1.125rem;
	font-weight: 700;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
	outline: none;
	position: relative;
	overflow: hidden;
}
/*
.nav-dropdown > a::after {
	filter: invert(1);
} */


.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: -100%;
	width: 100%;
	height: 2px;
	will-change: transform;
	background-color: var(--primary);
	transition: all .2s var(--ease);
}


.navbar-nav a:focus::before,
.navbar-nav a:hover::before,
.navbar-nav .nav-active::before {
	left: 0;
}

.navbar-nav .nav-active {
	color: var(--primary);
}

.navbar-nav ul {
	position: absolute;
	display: none;
	top: 100%;
	left: var(--navMargin);
	margin: 0;
	padding: 10px;
	min-width: 250px;
	background-color: white;
	box-shadow: 0 10px 30px hsla(0, 0%, 0%, .2);
}

.navbar-nav ul a {
	padding: 10px 15px;
	display: flex;
	font-size: 0.875rem;
	color: var(--textColor);
	justify-content: space-between;
	text-decoration: none;
	overflow: hidden;
	line-height: 1.3;
	transition: all .3s var(--ease);
}

.navbar-nav ul a::after {
	transform: rotate(-90deg);
}

.navbar-nav ul a::before {
	content: '>';
	font-family: monospace;
	font-weight: bold;
	font-size: 1rem;
	width: auto;
	height: auto;
	display: block;
	transform: translateX(0) !important;
	visibility: visible;
	background: none;
	position: absolute;
	top: 8px;
	left: 0;
	opacity: 0;
	color: var(--primary);
}

.navbar-nav ul a:hover::before {
	transform: translateX(10px) !important;
	opacity: 1;
}
.navbar-nav ul a:hover {
	padding-left: 25px;
	padding-right: 5px;
}

.navbar-nav ul .active > a,
.navbar-nav ul a.active {
	color: var(--primary);
}

.navbar-nav > li > .open,
.navbar-nav .nav-dropdown:hover > ul {
	display: block;
	animation: showDropdown .3s 1 forwards;
}

.navbar-nav .open .open,
.navbar-nav ul .nav-dropdown:hover > ul {
	display: block;
	animation: showNextDropdown .3s 1 forwards;
}

.navbar-nav ul ul {
	top: 0; left: 100%;
}


/* mobile menu */

.mobile-menu-toggler {
	width: 32px;
	height: 24px;
	padding: 0;
	border: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	position: relative;
	background: none;
	transition: all var(--fastSpeed) var(--easeOutBack);
	outline: none;
}

.mobile-menu-toggler div {
	display: block;
	height: 2px;
	width: 32px;
	background-color: var(--primary);
	transition: all var(--fastSpeed) var(--easeOutBack);
	transform-origin: right;
}

.mobile-menu-toggler div:last-child {
	width: 70%;
}

.mobile-menu-toggler.active-toggler div:first-of-type {
	transform: rotate(-45deg);
}

.mobile-menu-toggler.active-toggler div:last-child {
	transform: rotate(45deg);
	width: 100%;
}

.mobile-menu-toggler.active-toggler div:nth-of-type(2) {
	display: none;
}

.mobile-nav {
	transition: transform var(--fastSpeed) var(--easeOutQuart);
	transform: translateX(-100%);
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	max-width: 80vw;
	width: 300px;
	/* background-color: hsla(0, 0%, 0%, 0.8);
	backdrop-filter: blur(10px); */
	background-color: var(--primary);
	margin: 0;
	padding: 0;
	z-index: 99999;
	overflow-y: auto;
}

.mobile-nav.show {
	transform: translateX(0);
}

.mobile-nav ul,
.mobile-nav li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav ul {
	background-color: hsla(0, 0%, 0%, .3);
}

.mobile-nav a {
	display: block;
	font-size: 1rem;
	text-decoration: none;
	font-weight: 700;
	color: white;
	box-sizing: border-box;
	padding: 10px 15px;
	border-bottom: 1px solid hsla(0, 0%, 100%, .2);
}

.mobile-nav ul a {
	font-size: 0.875rem;
	font-weight: normal;
	padding-left: 30px;
}

.mobile-nav ul ul a {
	padding-left: 45px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
	color: var(--primary);
	background-color: #fff;
}





/*
			M A I N   S E C T I O N S
*/


.card {
	height: 100%;
	border: 1px solid var(--borderColor);
	padding: 40px;
	cursor: pointer;
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

aside .card {height: auto;}

.card-title {
	margin: 15px 0;
}

.card-date {color: hsl(0 0% 0% / .5);}

.card-title-link {
	color: var(--titleColor);
	transition: color .2s;
	-webkit-transition: color .2s;
	-moz-transition: color .2s;
	-ms-transition: color .2s;
	-o-transition: color .2s;
}

.card:hover .card-title-link,
.card-title-link:hover {
	color: var(--primary);
}

.card:hover {
	border-color: var(--primary);
}

.card-text {
	display: block;
	height: 8.5em;
	overflow: hidden;
	position: relative;
}

.card-text::after {
	content: '';
	display: block;
	background-image: linear-gradient(to bottom, transparent, white);
	inset: 0;
	position: absolute;
	z-index: 20;
}

#mapa iframe {
	width: 100%;
	height: 500px;
	display: block;
}


/*
			F O O T E R
*/

.madeby {
	color: white;
	text-decoration: none;
	line-height: 1;
	display: inline-block;
}

.madeby small {
	float: left;
	margin: 4px 4px 0 0;
	font-size: 0.6875rem;
}


footer {
	background-color: black;
	color: white;
}

footer h5 {
	color: white;
}

[data-hidden] {display: none;}

footer hr {
	opacity: .2;
	background-color: #fff;
	margin: 0;
}

footer .md\:w-4-12 ul {
	margin: 0;
	padding: 0;
}

footer .md\:w-4-12 li {
	margin: 0;
	padding: 0;
	list-style: none;
}

footer .md\:w-4-12 li + li {
	border-left: 1px solid white;
	margin-left: 10px;
	padding-left: 10px;
	line-height: 1;
}

footer a {
	color: white;
	text-decoration: none;
	transition: opacity .2s;
}

footer a:hover {
	opacity: .8;
}




form {
	width: 100%;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

label {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: .75rem;
	text-transform: uppercase;
}

[type="checkbox"] + label {
	text-transform: none;
}

label p {
	margin: 0;
}

label a {
	text-decoration: none;
	color: var(--primary);
}

label p,
label li {
	font-size: 0.875rem;
	line-height: 1.5;
}

label li {
	margin-bottom: 0.5em;
}

input,select,textarea {
	width: 100%;
	background-color: black;
	color: white;
	box-sizing: border-box;
	padding: .8rem 1rem;
	border-radius: .25rem;
	border: 2px solid hsl(0 0% 100% / .18);
	-webkit-border-radius: .25rem;
	-moz-border-radius: .25rem;
	-ms-border-radius: .25rem;
	-o-border-radius: .25rem;
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

input:hover,
select:hover,
textarea:hover,
input:focus,
select:focus,
textarea:focus {
	border-color: white;
}

[type="checkbox"],
[type="radio"] {
	width: auto;
	flex-shrink: 0;
}

[type="checkbox"] {
	appearance: none;
	width: 1rem;
	height: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex-shrink: none;
	padding: 0;
	margin-top: 11px !important;
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

[type="checkbox"]:checked {
	background-color: var(--primary);
}

[type="checkbox"]:checked::after {
	content: '\2713';
	display: block;
	color: white;
	font-family: monospace;
	font-size: .875rem;
}

textarea {
	height: 10rem;
}

.ok {
	border-color: var(--borderColor);
}

.error {
	border-color: red;
}

.error-msg {
	color: red;
	font-size: 1rem;
	margin-top: 5px;
}

.star {
	color: red;
	font-family: sans-serif;
}

#alert {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.5rem 1rem;
	color: white;
	font-weight: bold;
}

#alert.success {
	background-color: rgb(0, 133, 22);
}


#alert.danger {
	background-color: rgb(165, 0, 0);
}


form .btn {
	background-color: white;
	color: black;
}

form .btn:hover,
form .btn:focus {
	background-color: white;
	opacity: .8;
}



/*
			K E Y F R A M E S
*/

@keyframes showDropdown {
	0% {opacity: 0; transform: translateY(-10px);}
	100% {opacity: 1; transform: translateY(0);}
}

@keyframes showNextDropdown {
	0% {opacity: 0; transform: translateX(-10px);}
	100% {opacity: 1; transform: translateX(0);}
}



/*
			M E D I A   Q U E R I E S
*/


@media screen and (max-width: 1199px) {
	.navbar .btn {display: none;}

	header img {
		width: 100%;
		height: 250px;
		object-fit: cover;
	}

	header .md\:row,
	#news .sm\:row {
		row-gap: 30px;
	}

	footer .md\:w-4-12 ul {margin-top: 60px;}

	footer .md\:w-4-12 {margin-bottom: 60px;}

	footer .py-40 {
		flex-direction: column;
		align-items: center;
	}
}



@media screen and (max-width: 760px) {
	.navbar-logo-image {height: 55px;}
}

@media screen and (max-width: 599px) {
	:root {
		--sectionPadding: 60px !important
	}

	footer .flex-nowrap.jb {
		flex-direction: column;
	}

	footer form .btn {margin-top: 0 !important;}

	footer form .gap-30 {gap: 10px;}
}


@media screen and (max-width: 420px) {
	#news .pb-hsp {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}
}