main {
	min-height: calc(100vh - var(--footerHeight) - var(--headerHeight)  - 43px); /* viewheight - footerheiht */
	/* display: flex;
	flex-direction: column; */
	margin-bottom: 43px;
}

a {
	color: inherit;
}

/*----- Header ---------------------------*/
header {
	position: sticky;
	font-size: var(--navigation);
	padding: 20px 20px;
	z-index: 999;
	top: 0;
	box-sizing: border-box;
	height: var(--headerHeight);
}

/* Navigation - Burger Menu */
#menu {
	margin: 18px 22px 20px 20px;
	cursor: pointer;
	float: right;
	background-color: var(--hermosaPink);
	padding: 10px;
}
#menu-text {
	margin: 0 1px 3px 1px;
	transition: 0.4s ease-in;
	font-size: inherit;
	padding-bottom: 3px;
	line-height: 90%;
	color: var(--antwarpBlue);
	transition: 0.6s ease-in-out;
}
.bar {
	height: var(--burgerBarWeight);
	width: 100%;
	background-color: var(--antwarpBlue);
	display: block;
	transition: 0.3s ease-in;
	transform-origin: center;
	outline: solid 2px var(--hermosaPink);
}
#bar1 {
	margin-bottom: var(--burgerBarSpace);
}
.nav {
	margin: var(--burgerNavMarginTop) 30px 20px 20px;
	padding: 10px 18px 12px 18px;
	transition: 0.3s ease-in-out;
    display: none;
	background-color: var(--antwarpBlue);
}
.nav li {
	list-style: none;
	padding: 0 10px;
	white-space: nowrap;
}
.nav li a {
	color: var(--hermosaPink);
	text-decoration: none;
}
.nav li a:hover {
	color: var(--black);
}

#menu-bar {
	top: 0;
	right: 0;
	position: absolute;
}

#menu-bar {
	z-index: 2;	
}
.change #menu-text {
	opacity: 0;
}
.change #bar1{
	transform: translateY(calc((var(--burgerBarSpace) + var(--burgerBarWeight))/2)) rotateZ(-45deg);
}
.change #bar3{
	transform: translateY(calc(-1*(var(--burgerBarSpace) + var(--burgerBarWeight))/2)) rotate(45deg);
}
.change #bar2{
	opacity: 0;
}
.change {
	display: block;
	opacity: 1;
	animation: fade-in 0.5s ease-in forwards;
}

.hide {
	animation: fade-out 0.5s ease-in forwards;
}

/*----- Submenu ---------------------------*/

#submenu {
	font-size: var(--normal);
	position: absolute;
	right: 20px;
	top: 75px;
	text-align: right;
}

#submenu li {
	padding: 2px;
}

#submenu ul {
	list-style: none;
	margin-left: 0;
}

#submenu a {
	color: var(--antwarpBlue);
	text-decoration: none;
	background-color: var(--hermosaPink);
	padding: 0 1px;
}


/*----- Footer ---------------------------*/

footer {
	padding: 13px 10px 10px 10px;
   	border-top: 3px solid;
  	border-image: repeating-linear-gradient( to right, #000 0 10px, transparent 10px 14px ) 1
}

footer nav {
	margin: 9px 19px 9px 0;
}

footer ul {
	list-style: none;
	margin: 0;
}

footer ul li {
	display: inline;
	margin-right: 10px;
}

footer p {
	font-size: inherit;
	max-width: initial;

	padding: 0;
}

footer a {
	
	color:var(--brown);
	font-weight: normal;
}


@media only screen and (min-width: 800px) {
	#menu {
		display: none;
	}
	#nav {
		display: block;
	}
	.nav {
		margin: 20px 20px 0 20px;
		opacity: 1;
	}
	#nav li {
		display: inline;
	}
	.hide {
		animation: none;
	}


}
@media only screen and (max-width: 900px) {
	#submenu {
		top: 90px;
	}
}


@keyframes fade-out {
  from {
    opacity: 1;

  }
  to {
    opacity: 0;

  }
}

.flex-spacebetween {
	display: flex;
	justify-content: space-between;
}

figure {
	margin: 50px 50px 0 0;
}


figure[data-ratio="16/9"] img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  object-fit: cover;
}

figure[data-ratio="5/3"] img {
  aspect-ratio: 5 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
}

figure[data-ratio="4/3"] img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
}

figure[data-ratio="1/1"] img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  object-fit: cover;
}

figcaption {
	max-width: 100%;
	font-size: var(--small);
}

.nav-back {
    position: fixed;
    bottom: 20px;
    left: 18px;
    z-index: 1;
}

html {
  font-size: 150%;
  font-family: sans-serif;
}

* {
  font-size: inherit;
}

.toggletip-container button {
	width: 1.4em;
	height: 1.4em;
	border: 0;
	line-height: 100%;
	vertical-align: top;
	background: url('/assets/icons/handycap.svg') no-repeat center / contain;
	cursor: pointer;
} 

.toggletip-container {
  position: relative;
  display: inline-block;
}

/* the bubble element, added inside the toggletip live region */

.toggletip-bubble {
	display: inline-block;
	position: absolute;
	right: 100%;
	top: 0;
	width: 300px;
	padding: 20px 20px 22px 24px;
	background: var(--duskyGreen);
	color: #fff;
	z-index: 1000;
	font-size: var(--normal);
	-webkit-box-shadow: 0px 0px 14px -7px #000000; 
	box-shadow: 0px 0px 10px -7px #000000;
	hyphens: auto;
}


.grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	padding: 8vw 4vw;
	gap: 3vw;
}

.grid .column {
	max-width: 100%;
}

.currentEvents ul {
	list-style: none;
	margin: 0;
}

.currentEvents a {
	font-size: var(--large);
	margin: 20px 0;
	color: var(--black);
	display: block;
}

.blocks h2 {
	margin-bottom: 38px;
}

.blocks h3 {
	margin-top: 22px;
	margin-bottom: 8px;
}