/**
 * SVG ICONS
 */
.si:before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 43px;
	height: 43px;
	color: #000000;
	font-size: 32px;
}
.bg-dark .si:before {
	color: var(--primary-color);
}
.si.si-start,
.si.si-end {
	position: relative;
	line-height: 1.5;
}
.si.si-start:before,
.si.si-end:before {
	position: absolute;
	width: 32px;
	height: auto;
	line-height: 1.2;
}
.si.si-start {
	padding-left: 32px;
}
.si.si-end {
	padding-right: 32px;
}
.si.si-start:before {
	left: 0;
}
.si.si-end:before {
	right: 0;
}
.si-burger {
	display: inline-flex;
	width: 42px;
	height: 42px;
	background: none;
	align-items: center;
	justify-content: center;
}
.si-burger span {
	position: relative;
	display: inline-block;
	width: 23px;
	border-bottom: 2px solid var(--header-color,#000000);;
}
.si-burger span::before,
.si-burger span::after {
	content: '';
	position: absolute;
	width: 100%;
	border-bottom: 2px solid var(--header-color,#000000);;
	transform: translateY(-7px);
}
.si-burger span::after {
	transform: translateY(7px);
}
[class^="si-"]::before, [class*=" si-"]::before,
header [class^="bi-"]::before, header [class*=" bi-"]::before {
	line-height: initial;
	font-size: 24px;
}
label[class^="si-"]::before, label[class*=" si-"]::before,
label[class^="bi-"]::before, label[class*=" bi-"]::before,
.page-link [class^="bi-"]::before, .page-link [class*=" bi-"]::before {
	line-height: initial;
	font-size: 16px;
}

@media (min-width:992px) {
	.si-burger {
		display: none;
	}
}

*:focus-visible {
	outline: 0;
}

header {
	position: fixed;
	top: 0px; left: 0;
	right: 0;
	z-index: 1020;
	display: flex;
	flex-flow: row wrap;
	/*wcag
	color: var(--header-color,#000000);
	background: var(--header-background,#ffffff);
	*/
	color: var(--header-color);
	background: var(--header-background);
	box-shadow: 0 5px 10px rgba(0,0,0,.05);
}
header a, header a:hover, header a:focus, header .btn-link, 
header .btn-link:hover, header .btn-link:focus {
	color: var(--header-color);
}
header .header-main {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
}
@media (max-width:991px){
	header .container,
	header .container-fluid {
		padding: 0;
	}
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .caption {
	font-family: var(--header-font);
}
.h1, h1 {
	font-size: calc(1rem + 1.5vw);
	margin-bottom: 1.5vw;
}
.h2, h2, main .caption, footer .caption {
	font-size: 1rem;
	font-weight: 700;
	color: #000000;
}
th .caption {
	text-align: center;
	font-size: 1rem;
	font-weight: bold;
}
@media (min-width:992px) {
	.h2, h2 {
		font-size: 2rem;
	}
}

.text-sm {
	font-size: .875rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	width: auto;
	height: auto;
}
.brand img {
	display: block;
	max-height: 32px;
}
.contact-logo img {
	display: block;
	margin: 0 auto 1rem;
	max-height: 120px;
}
.toggle {
	display: flex;
	padding: 8px;
	max-width: var(--toggle-width);
}
a, a:hover, a:focus,
.btn-link, .btn-link:hover, .btn-link:focus {
	text-decoration: none;
	color: var(--primary-color);
}
a.btn:hover, a.btn:focus {
	text-decoration: none;
}
a:hover, a:focus,
.btn-link:hover, .btn-link:focus {
	text-decoration: underline;
}
header a:hover, header a:focus {
	text-decoration: none;
}
.dropdown {
	display: inline-block;
}
.dropdown .dropdown-toggle,
.dropdown .dropdown-toggle:hover
.dropdown .dropdown-toggle:focus {
	display: flex;
	box-shadow: 0 0 0 transparent;
	background: transparent;
	color: var(--primary-color);
}
.dropdown .dropdown-toggle::after {
	display: none;
}
header .dropdown .dropdown-toggle,
header .dropdown .dropdown-toggle:hover
header .dropdown .dropdown-toggle:focus {
	color: var(--header-color,#000000);
}
.btn-primary,
.bg-primary,
.page-item.active .page-link {
	background: var(--primary-color)!important;
	border-color: var(--primary-color)!important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, 
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
	color: #ffffff!important;
	background-color: #000000!important;
	border-color: #000000!important;
}
.btn-outline-primary {
	color: var(--primary-color);
	border-color: var(--primary-color)!important;
}
.btn-check:active + .btn-outline-primary,
.btn-check:checked + .btn-outline-primary,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show,
.btn-outline-primary:active {
	background-color: var(--secondary-color);
	border-color: var(--secondary-color);
}
.btn-secondary,
.btn-outline-secondary:active,
.btn-outline-secondary:hover,
.bg-secondary {
	background-color: var(--secondary-darker-color)!important;
	border-color: var(--secondary-darker-color)!important;
}
.btn-check:active + .btn-outline-secondary,
.btn-check:checked + .btn-outline-secondary,
.btn-outline-secondary.active,
.btn-outline-secondary.dropdown-toggle.show,
.btn-outline-secondary:active {
	color: #ffffff;
	background-color: var(--secondary-darker-color)!important;
	border-color: var(--secondary-darker-color)!important;
}
.btn-floating {
	display: flex;
	align-items: center;
	height: 100%;
}
.btn-floating.text-center {
	justify-content: center;
}

.swiper-slide-caption {
	position: absolute;
	left: 50%;
	bottom: 1rem;
	z-index: 20;
	padding: 1rem;
	width: calc(100vw - 2rem);
	color: #ffffff;
	background: #ffffff88;
	text-align: center;
	transform: translateX(-50%);
}
.swiper-slide-caption .btn {
	margin-top: 1rem;
}
.swiper-slide {
	background: var(--bg-img) 50% 50% / cover no-repeat;
}
@media (min-width: 680px) {
	.swiper-slide {
		background-image: var(--bg-lg-img);
	}
}

main {
	padding: 45px 0 2rem;
}
.text-secondary {
	color: var(--secondary-darker-color)!important;
}

.list-inline {
	display: inline-flex;
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (min-width: 992px) {
	.brand {
		margin: .5rem auto;
	}
	.brand img {
		max-height: 60px;
	}
	main {
		padding: 0 0 3rem;
	}
}
@media (min-width: 1200px) {
	.brand img {
		max-height: 80px;
	}
}

.bg-dark {
	background-color: #000000!important;
}
.bg-dark a,
.bg-dark a:hover {
	color: var(--grey-color);
	text-decoration: none;
}
.bg-dark a:hover {
	color: #ffffff!important;
}

/**
 * Nav-Tree
 */
@media (max-width:991px) {
	.nav-tree {
		position: fixed;
		top: 0; bottom: 0;
		left: 0; right: 0;
		z-index: 9900;
		width: 100vw;
		transition: all .3s;
	}
	/** Flip from top */
	.nav-tree.flip-left {
		-webkit-transform: perspective(300px) rotateY(90deg);
		transform: perspective(300px) rotateY(90deg);
		-webkit-transform-origin: left;
		transform-origin: left;
	}
}
@media (min-width:992px) {
	.toggle-main {
		display: none;
	}

/**
	.nav-tree.flip-left {
		display: none;
	}
	.nav-tree.flip-left {
		-webkit-transform: none;
		transform: none;
		opacity: 1;
	}
**/
}
