/*  */

.navbar-links li a[href="/contacte"] {
	text-decoration-color: white;
}

main {
	display: flex;
	flex-direction: column;
	align-items: center;
}

article {
	width: 100%;
	align-items: center;
}

section {
	display: flex;
	flex-direction: column;
	width: 100%;
}

section.maps {
	align-items: center;
}

.contained {
	width: min(100%, 40rem + 25vw);
	align-self: center;
}

.map-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
	width: min(100%, 116em);
	margin-bottom: 2rem;
}

.narrow {
	width: min(40em + 20vw, 100%);
}

.map-container .narrow {
	width: min(40em + 13vw, 100%);
}

form {
	display: flex;
	flex-direction: column;
	align-self: center;
	margin-bottom: 4rem;
}

form * {
	font-family: 'arial', sans-serif;
}

form label {
	font-size: 1.2rem;
}

input[type=text],
input[type=email],
select,
textarea {
	width: 100%;
	padding: 12px 20px;
	margin: 8px 0;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	background-color: white;
	display: block;
}

textarea {
	resize: none;
	overflow: hidden;
}

form button {
	font-size: 1.5em;
	align-self: flex-end;
}

.group1 {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-wrap: wrap;
}

.group1>div {
	float: left;
}

@media screen and (min-width:1435px) {
	.group1 {
		flex-direction: row;
	}

	.group1>div {
		float: left;
		flex-grow: 1;
	}

	.group1>div:nth-last-of-type(2) {
		padding: 0 1em;
	}
}

.map {
	height: min(18em + 15vw, 39em);
	min-height: 35em;
	align-self: center;
	padding: 0;
}

.map-info {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-top: 1rem;
	font-size: 1.2rem;
}

.map-info * {
	font-family: 'arial', sans-serif;
}

.map-info>div {
	padding: 1em 0;
}

.map-info>div>* {
	margin-bottom: 1em;
	text-align: center;
}

.map-info h3 {
	margin-bottom: 1.5em;
}

.map-info ul {
	line-height: 1.4;
	padding-left: 1em;
	text-align: start;
}

article h2 {
	text-align: center;
	text-transform: lowercase;
	font-size: 2.8em;
}

article section:first-of-type h2 {
	margin-top: min(0.7em + 3vw, 2em);
}

article h2 span {
	white-space: nowrap;
}

.maps h2 {
	padding: 1em 0;
	margin-bottom: 1rem;
}

@media screen and (min-width:1005px) {
	.map-info>div {
		max-width: 15em;
	}

	.map-info>div>* {
		text-align: start;
	}

	.map-info {
		margin: 0;
	}

	.map-container {
		margin-bottom: 4rem;
	}
}

@media screen and (min-width:1208px) {
	.map-info>div {
		min-width: 25.4em;
	}
}

@media screen and (min-width:1219px) {

	.map-info ul {
		/* padding-left: 1em; */
	}

	article h2 {
		/* text-align: start; */
	}
}

.map-info ul:before {
	font-weight: bold;
	font-size: 100%;
	text-transform: none;
}

article p:last-of-type {
	margin-bottom: 3rem;
}

.controls {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
}

.checkbox-holder {
	display: inline-flex;
	color: var(--black);
	line-height: 2.3em;
	align-items: center;
	width: fit-content;
	font-size: 1rem;
	padding: 0 0 0.5em 0.5em;
}

.checkbox-holder a {
	/* padding-left: .5em;
	padding-right: .5em; */
	text-decoration: underline;
}
.checkbox-holder a:hover {
	color: black;
}

.checkbox-holder label {
	display: block;
	font-size: 0.8em;
	font-weight: 600;
	letter-spacing: 0.25em;
	margin: 0 0 1em 0;
	text-transform: uppercase;
}

.checkbox-holder span {
	line-height: 1.5;
	margin-left: .5em;
}

@media screen and (min-width:656px) {
	.checkbox-holder span {
		margin-left: 0;
	}
}

input[type="checkbox"],
input[type="radio"] {
	width: 2em;
	height: 1.2em;
}

.alert {
	/* width: 75%; */
	/* min-height: 3em; */
	border-radius: 3px;
	/* display: flex; */
	margin: 1em auto;
	position: fixed;
	/* left: 50%; */
	/* transform: translateX(-50%); */
	/* justify-content: center; */
	/* align-items: center; */
	/* color: var(--info-text); */
	/* transition: 2s linear all; */
	align-self: center;
	top: 0;
	transform: translateY(35vh);
	box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
	width: min(90%, 43em);
}

.alert span {
	display: flex;
	min-height: 3em;
	padding: 0.5em 1em;
	justify-content: center;
	align-items: center;
	font-size: 1.1rem;
	text-transform: lowercase;
	font-weight: 600;
	text-align: center;
}

.alert.info {
	background-color: var(--info-fill);
	border: 3px solid var(--info-border);
	color: var(--info-text);
}

.alert.error {
	background-color: var(--error-fill);
	border: 3px solid var(--error-border);
	color: var(--error-text);
}