﻿body {
	display: flex;
	flex-direction: column;
	background-color: var(--color-bg-light-primary);
}

h1, .h1 {
	font-size: 19pt;
	font-weight: 700;
	margin-bottom: 48px;
}

h2, .h2 {
	font-size: 15pt;
	font-weight: 700;
}

h3, .h3 {
	font-size: 13pt;
	font-weight: 400;
}

	h3 + .table {
		margin-top: 30px;
	}

h4, .h4 {
	font-size: 11pt;
	margin: 6px 0 12px 0;
	font-weight: 700;
}

p {
	line-height: 140%;
}

section {
	padding: var(--padding-double);
}

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

header {
	background: #fff;
	border-bottom: solid 1px var(--color-bg-light-primary);
}

header .icon-btn-group.header {
	top: auto;
}

header .icon-btn-group.header>.icon-btn {
	color: var(--color-text-default);
}

header .icon-btn-group.header>.icon-btn:hover {
	/*background: none;*/
	color: var(--color-link-primary);
}

header .logo {
	max-height: 45px;
}

.banner img {
	width: 100%;
	height: auto;
}

.banner.header {
	margin-bottom: 18px;
}

main {
	flex-grow: 1;
	margin-bottom: var(--padding-double);
}

body:not(.forside) main {
	margin-top: var(--padding-double);
}

footer {
	background-color: var(--color-bg-dark);
	color: #fff;
}

footer * {
	color: #fff;
}

footer a:hover {
	color: var(--color-link-primary);
}

.modal h3 {
	font-size: 12pt;
}

.submenu .grid a {
	color: var(--color-text-light) !important;
	font-size: 8pt;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	padding: 15px 6px 15px 6px;
	transition: all .3s;
	border-radius: var(--border-radius-small);
}

.submenu .grid a:hover,
.submenu .grid a.active {
	color: var(--color-link-primary) !important;
	background-color: var(--color-bg-light-primary);
	text-decoration: none;
}

.submenu .grid a i {
	display: block !important;
	margin: 0 auto 6px auto !important;
	font-size: 14pt;
}

.submenu .grid a .text {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	display: block;
}

/* Program supporters */

.banner.header + .program-supporters {
	margin-top: -18px;
}

.program-supporters {
	margin-bottom: var(--padding-default);
}

.program-supporters .content-wrapper {
	display: grid;
	align-items: center;
}

.program-supporters .content-wrapper>div {
	padding: var(--padding-double);
}

.program-supporters .content-wrapper>div img {
	width: auto;
	max-width: 100%;
	max-height: 50px;
	opacity: .8;
	transition: opacity .3s;
}

.program-supporters .content-wrapper>div img:hover {
	opacity: 1;
}

.program-supporters.header {
	background: var(--color-bg-dark);
	/*var(--color-bg-light-primary);*/
}

.program-supporters.header .content-wrapper {
	grid-template-columns: repeat(auto-fit, minmax(0px, 1fr));
}

.program-supporters.header .content-wrapper>div {
	text-align: center;
}

.program-supporters.footer .content-wrapper {
	grid-template-columns: repeat(auto-fit, minmax(50%, 1fr));
}


/* Site boxes */

.sitebox.paragraph {
	grid-column: span 12;
}

.sitebox .link {
	text-align: right;
}


/* Workshop list */

.workshop-list-box {
	position: relative;
	margin-top: 3px;
}

.workshop-list-box:hover {}

.workshop-list-box.box:hover {
	background: #fff !important;
}

.workshop-list-box .formgrid>.griditem {
	padding: 1px 0 1px 0;
}

.workshop-list-box .attend-badge {
	position: absolute;
	right: -6px;
	top: -6px;
	z-index: 10;
	margin: 0;
	border-radius: var(--border-radius-small);
}

.workshop-image-container {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	padding-top: 35%;
	margin-bottom: 15px;
	background-color: var(--color-bg-light-primary);
}

.workshop-image {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.workshop-admin-card .image-cell {
	width: 102px;
	margin-right: 24px;
}

.workshop-admin-card .image-cell img {
	border-radius: 50%;
	margin-top: 6px;
}


/* Mobile */

@media (max-width: 900px) {

	h1,	.h1 {
		font-size: 19pt;
	}

}

@media (max-width: 600px) {

	header .logo {
		max-height: 30px;
	}

	header .icon-btn .text {
		display: none;
	}

}