/*********************************
***** Core Structure Styles ******
*********************************/

body.toolbar-vertical {
	min-height: calc(100vh - 79px);
}

.dialog-off-canvas-main-canvas {
	padding-bottom: calc(5rem + 80px);
}

.dialog-off-canvas-main-canvas:after {
    clear: both;
    content: "";
	display: table;
}

.region-branding, section.main {
	margin: auto;
	max-width: 1280px;
	overflow: visible;
	width: 80%;
}

nav.breadcrumb {
	margin-top: 10px;
}

header {
	min-height: 70px;
	padding-top: 30px;
}

header li {
	float: left;
	display: inline;
	padding: 0 20px 0 20px;
}

header .block-system-branding-block {
	float: left;
}

header .block-system-branding-block .site-name {
	float: left;
}

header .block-system-branding-block .site-slogan {
	float: right;
	margin-left: 6px;
    margin-top: 14px;
}

header nav {
	float: right;
	margin-top: 10px;
}

.messages--status {
	position: absolute;
    top: 100px;
    right: 0;
}

.region-featured {
	position: relative;
}

#block-showcase {
    background-size: cover;
    background-repeat: no-repeat;
	min-height: 300px;
	max-width: 100%;
	height: auto;
	text-align: center;
	position: relative;
}

#block-showcase:after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	background-color: rgba(0, 0, 0, 0.3);
}

#block-pagetitle {
	position: absolute;
    top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

#block-pagetitle h1 {
    font-size: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    margin: 0;
    color: white;
    height: 100%;
	-webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #002515;
    text-shadow: -3px -2px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

/* section.main:after { */
    /* clear: both; */
    /* content: ""; */
	/* display: table; */
/* } */

section.main {
    display: flex;
    flex-wrap: wrap;
	gap: 2rem;
}

section.main main {
    /* float: left; */
    /* padding: 0 30px; */
	width: calc(100% - 200px - 2rem);
	flex: 1 0 auto;
}

section.main p {
    margin-bottom: 1.7em;
}

section.main iframe {
	height: calc(100vh - 250px);
	width: 100%;
}

section.main aside {
	/* float: left; */
	width: 200px;
	position: sticky;
	text-align: center;
	top: 0;
}

main .block-views:not(:last-child) {
	margin-bottom: 60px;
}

#block-personalhighlight img {
	height: auto;
	width: 100%;
}

section.main aside ul {
	display: inline-block;
    height: 45px;
	list-style-type: none;
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
}

section.main aside ul li:first-child {
	margin: 0;
}

section.main aside li {
	float: left;
	margin-left: 10px;
}

.footer {
	border-top: 1px solid rgba(0,0,0,.2);
	bottom: 0;
	height: 45px;
	margin-top: 20px;
	padding: 10px 0;
	position: fixed;
	width: 100%;
}

.footer-rights {
	display: inline-block;
	height: 45px;
}

.footer-rights p {
	float: left;
	margin-top: 13px;
}

.footer ul {
	display: inline-block;
    height: 45px;
	list-style-type: none;
    overflow: hidden;
}

.footer li {
	float: left;
	margin-left: 10px;
}

/* Media Queries */
@media(max-height: 500px) {
	.dialog-off-canvas-main-canvas {
		padding: 0;
	}
	
	.footer {
		position: unset;
	}
}

/* Media Queries */
@media(max-height: 750px){
	section.main main {
		width: 100%;
	}
	
	section.main aside {
		margin: 0 auto;
	}

	#block-pagetitle h1 {
		font-size: 5vh;
		-webkit-text-stroke-width: 0px;
	}
}

/* Media Queries */
@media(max-width: 768px){
	header .block-system-branding-block,
	header .site-name,
	header nav,
	header nav li {
		float: none;
		text-align: center;
		width: 100%;
	}
	
	header {
		padding: 10px 0;
	}
	
	header #block-mainnavigation {
		border-top: 1px solid #fff;
		display: inline-block;
		padding-top: 10px;
	}
	
	header #block-mainnavigation,
	header #block-mainnavigation .sf-accordion-toggle {
		float: none;
		text-align: center;
		width: 100%;
	}
	
	header #block-mainnavigation:after {
		clear: both;
		content: "";
		display: table;
	}
	
	#block-pagetitle h1 {
		font-size: 5vh;
		-webkit-text-stroke-width: 0px;
	}
	
	section.main main,
	section.main aside {
		padding: 0;
		width: 100%;
	}
	
	section.main aside {
		position: unset;
	}
	
	#block-personalhighlight img {
		height: auto;
		max-width: 50%;
	}
}