@import url('https://fonts.googleapis.com/css?family=Audiowide|Roboto:400,700&display=swap');
/* Core */
* {
    box-sizing: border-box;
}
html {
	font-family: sans-serif;
	word-wrap: break-word;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	text-size-adjust: none;
    scroll-padding-top: 4rem;
	background-color: #717171;
}
html::before {
	content: "";
	position: fixed;
	width: 100vw;
	height: 100vh;
	background-repeat: repeat;
	background-position: top;
	background-size: 100% auto;
	filter: brightness(0.5);
	z-index: -1;
}
body {
	min-width: 300px;
	max-width: 1366px;
    margin: 0 auto;
	background-color: #383838; /* Match Sidebar */
    box-shadow: 0 2px 10px rgba(0,0,0,.8);
}
html.fonts-loaded body {
	font-family: 'Roboto', sans-serif;
}
header, section, footer, aside, nav, main, article, figure {
    display: block;
}
dialog {
	padding: 0;
	border: none;
}
html h1, html h2, html h3, html h4, html h5, html h6 {
	display: block;
	font-family: sans-serif;
	font-weight: bold;
	margin: .3em 0;
}
html.fonts-loaded h1, html.fonts-loaded h2, html.fonts-loaded h3, html.fonts-loaded h4, html.fonts-loaded h5, html.fonts-loaded h6 {
	font-family: 'Audiowide', sans-serif;
	font-weight: normal;
}
html h1 {font-size: 2em; margin: .6em 0;}
html h2 {font-size: 1.5em;}
html h3 {font-size: 1.17em;}
html h4 {font-size: 1em;}
html h5 {font-size: .83em;}
html h6 {font-size: .75em;}
.social-buttons > div {
	padding: .5em 1em;
}
.social-buttons > div:nth-of-type(1) {
	-webkit-flex: 1;
	flex: 1;
}
.module h3:not(:first-of-type),
.modal-body h3:not(:first-of-type),
.heading-gap {
	margin-top: 1.4em;
}
p {
	font-size: 1.1em;
}
ul {
	list-style-type: square;
	padding-left: 1.5rem;
}
li {
	margin: .6em 0;
}
a {
	color: #941c1c;
	cursor: pointer;
	text-decoration: none;
}
a.no-underline, .no-underline a {
	text-decoration: none !important;
}
a:not(.no-underline):hover {
	text-decoration: underline;
}
a:active {
	color: #e5c134;
}
hr {
	margin: 1em auto;
}
[v-cloak], [ng-cloak] {display: none !important;}

/* Theme Colors */
.theme-bgcolor-1a {background-color: #941c1c;}
.theme-color-1a {color: #941c1c;}
.theme-bordercolor-1a {border-color: #941c1c;}
.theme-bgcolor-1b {background-color: #691414;}
.theme-color-1b {color: #691414;}
.theme-bordercolor-1b {border-color: #691414;}
.theme-bgcolor-1c {background-color: #d23b3b;}
.theme-color-1c {color: #d23b3b;}
.theme-bordercolor-1c {border-color: #d23b3b;}
.theme-bgcolor-1d {background-color: #aa1818;}
.theme-color-1d {color: #aa1818;}
.theme-bordercolor-1d {border-color: #aa1818;}
.theme-bgcolor-1e {background-color: #ff9191;}
.theme-color-1e {color: #ff9191;}
.theme-bordercolor-1e {border-color: #ff9191;}

/* Forms */
button, a.button {
	display: inline-block;
	position: relative;
	border: 0;
	border-radius: 0;
	background-color: #941c1c;
	color: white !important;
	box-shadow: 0 .2em .5em 0 rgba(0, 0, 0, .5);
	font-family: Arial, sans-serif;
	font-weight: bold;
	font-size: 1.2rem;
	vertical-align: middle;
	text-decoration: none;
	padding: .6em;
	margin: .2em; /* Match width below */
	cursor: pointer;
	-webkit-transition: background-color 400ms;
	transition: background-color 400ms;
}
button.small-button, a.button.small-button {
	padding: .4em .6em;
	font-size: 1rem;
}
button.em-button, a.button.em-button {
	color: #941c1c !important;
	background-color: #e5c134;
}
button.em-button:hover, a.button.em-button:hover {
	color: #941c1c !important;
	background-color: #d1ab16;
}
.input-with-button button {
	margin: 0 0 .6em .4em;
	padding: .4em .6em;
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
}
button:hover, a.button:hover {
	background-color: #691414;
	text-decoration: none;
}
button:active, a.button:active {
	background-color: #691414;
	-webkit-transform: translateY(.1em);
	transform: translateY(.1em);
	box-shadow: 0 0 .5em 0 rgba(0, 0, 0, .5);
	outline: none;
}
button.button-secondary,
a.button.button-secondary {
	background-color: #bcbcbc;
	color: #444 !important;
}
button.button-secondary:hover,
button.button-secondary:active,
a.button.button-secondary:hover,
a.button.button-secondary:active {
	background-color: #969696;
}
.module-buttons button,
.module-buttons a.button,
.modal-buttons button,
.modal-buttons a.button {
	-webkit-flex: 1;
	flex: 1;
	min-width: calc(50% - .4em); /* Match margin above */
}
.module-buttons.buttons-nowrap button,
.module-buttons.buttons-nowrap a.button,
.modal-buttons.buttons-nowrap button,
.modal-buttons.buttons-nowrap a.button {
	min-width: auto;
}
button[disabled] {
	opacity: .6;
	cursor: not-allowed;
}
a.button[disabled],
[role='button'][disabled] {
	opacity: .6;
	pointer-events: none;
}
label {
	display: block;
}
label img {
	pointer-events: none;
}
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="file"],
input[type="email"],
input[type="password"],
select,
textarea {
	display: block;
	width: 100%;
	font-size: 1.2em;
	padding: .3em;
	margin-top: .1em;
	margin-bottom: .5em;
	color: black;
	background-color: rgba(255,255,255,.6);
	border-radius: .4em;
	border: 1px solid #383838;
	border-bottom: 3px solid #691414;
	-webkit-transition: box-shadow 400ms, border-color 400ms;
	transition: box-shadow 400ms, border-color 400ms;
}
input[type="file"] {
	font-size: 1em;
	padding: .4em .6em;
	margin-top: .2em;
}
input[type="text"]:hover,
input[type="number"]:hover,
input[type="tel"]:hover,
input[type="file"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
select:hover,
textarea:hover {
	box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
textarea {
	font-size: 1em;
	padding: .4em .6em;
}
input[type="radio"], input[type="checkbox"] {
	margin: .2em;
}
.checkbox-set, .radio-set {
	margin: 1em 0;
}
input[disabled], select[disabled], textarea[disabled] {
	border-bottom-color: #383838;
}
input[disabled]:hover, select[disabled]:hover, textarea[disabled]:hover,
input[readonly]:hover, select[readonly]:hover, textarea[readonly]:hover {
	box-shadow: none;
}
input.ng-invalid, input.input-invalid, textarea.input-invalid {
	background-color: rgba(255, 0, 0, 0.7);
}
input:focus, select:focus, textarea:focus {
	border-bottom-color: #c8a80c !important;
	outline: none;
}
button:focus, a:focus {
	outline-color: #e5c134;
}
.module:focus {
	outline: none;
}
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
	opacity: 1;
}
.input-percentage {
	font-size: 0;
}
.input-percentage .input-percent {
	display: inline-block;
	width: 90%;
    vertical-align: middle;
	font-size: 1.2rem;
}
.input-percentage .input-percent-sign {
	display: inline-block;
	width: 10%;
    vertical-align: middle;
    font-size: 1.2rem;
    padding: 3px;
}

/* Header */
header {
	font-family: sans-serif;
	z-index: 1000;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: #941c1c;
	height: 3em;
	line-height: 3em;
	white-space: nowrap;
	color: white;
	box-shadow: 0 2px 6px rgba(0,0,0,.6);
	overflow: hidden;
}
html.fonts-loaded header {
	font-family: 'Audiowide', sans-serif;
}
header #header-inner {
	display: -webkit-flex;
	display: flex;
	position: relative;
	height: 100%;
	max-width: 1366px;
	margin: 0 auto;
	padding: 0 .8em;
}
header #logo-main {
	height: 100%;
	font-size: 2em;
}
header #logo-link {
	color: white;
}
header #logo-link img {
	width: auto;
	height: 100%;
	margin: auto;
	padding: .2em 0;
	image-rendering: -webkit-optimize-contrast;
}
header #to-top,
header .to-top {
	-webkit-flex-grow: 1;
	flex-grow: 1;
}
header #news-button {
	font-size: 1.5em;
	line-height: 3rem;
	padding: 0 .6em;
    cursor: pointer;
}
header #user-button {
    width: 2em;
    height: 2em;
    margin: .5em;
    cursor: pointer;
}
header #avatar {
	position: relative;
	width: 100%;
	height: 100%;
	border: .1em white solid;
	border-radius: 50%;
	background-position: center;
	background-size: cover;
	background-color: #941c1c;
	text-align: center;
	overflow: hidden;
}
header #avatar:active {
	border-color: #e5c134;
}
header #avatar #no-user,
header #avatar #letter-avatar {
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
}
header #avatar #no-user {
	z-index: 1100;
	display: inline-block;
	padding-top: .1em;
	font-size: 1.8em;
	color: #941c1c;
	background: white;
}
header #avatar #letter-avatar {
	z-index: 1200;
	width: 100%;
	height: 100%;
	line-height: 1.6em;
	font-size: 120%;
	background: #941c1c;
}
header #menu-button {
	width: 3.3em;
	height: 3em;
	padding: .8em .5em .8em .8em;
	border-radius: .6em;
	text-align: center;
	cursor: pointer;
}
header #menu-button div {
	box-sizing: content-box;
	margin: auto;
	width: 100%;
	height: 0.3em;
	background: white;
}
header #menu-button:active div {
	background: #e5c134;
}
.app-overlay {
	visibility: hidden;
	opacity: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	z-index: 850;
	position: fixed;
	top: 0;
	left: 0;
	-webkit-transition: opacity 300ms, visibility 300ms;
	transition: opacity 300ms, visibility 300ms;
}

/* News Panel */
#news-panel {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 960;
	width: 100%;
	height: 0;
	padding: 0;
	background-color: #292f33;
	box-shadow: 0 2px 8px rgba(0,0,0,.6);
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-transition: height 400ms, padding-top 400ms;
	transition: height 400ms, padding-top 400ms;
}
#news-panel-overlay {z-index: 910;}
input#show-news-panel {display: none;}
input#show-news-panel:checked ~ #news-panel {
	height: 100%;
	padding-top: 3em;
	-webkit-transition: height 500ms, padding-top 500ms;
	transition: height 500ms, padding-top 500ms;
}
input#show-news-panel:checked ~ label #news-panel-overlay {
	visibility: visible;
	opacity: .6;
}

/* User Panel */
#user-panel {
	visibility: hidden;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 970;
	width: 100%;
	max-height: 0;
	padding: 0 1.5em;
	color: white;
	background-color: #383838;
	box-shadow: 0 2px 8px rgba(0,0,0,.6);
	overflow: hidden;
	-webkit-transition: max-height 300ms, padding 300ms, visibility 300ms;
	transition: max-height 300ms, padding 300ms, visibility 300ms;
}
#user-panel-overlay {z-index: 920;}
input#show-user-panel {display: none;}
input#show-user-panel:checked ~ #user-panel {
	visibility: visible;
	max-height: 25em;
	padding: 3.5em 1.5em .5em 1.5em;
	-webkit-transition: max-height 400ms, padding 400ms, visibility 400ms;
	transition: max-height 400ms, padding 400ms, visibility 400ms;
}
input#show-user-panel:checked ~ label #user-panel-overlay {
	visibility: visible;
	opacity: .6;
}
#user-panel-footer {margin: 1em 0;}
#user-panel-footer a {
	color: white;
	font-size: .8em;
	margin-right: 1.5em;
	text-decoration: none;
	white-space: nowrap;
}
#user-panel-footer a:hover {
	text-decoration: underline;
}
#sign-in-status {margin: 1em 0;}
.sign-in-providers {
	display: inline-block;
	vertical-align: middle;
	margin: .7em .3em;
	white-space: nowrap;
	padding: .1em .2em;
	background-color: white;
	border-radius: .3em;
}
.sign-in-providers span:first-of-type {
	color: black;
	font-size: .9em;
	vertical-align: middle;
}
.sign-in-providers .fa {
	font-size: 1.5em;
	margin: 0 .2em;
	vertical-align: middle;
}
.sign-in-providers .sign-in-provider-icon-google {
	height: 1.3em;
	width: auto;
	margin: 0 .2em;
	vertical-align: middle;
}
.sign-in-providers .fa-facebook-official {
	color: #3B5998;
}
.sign-in-providers .fa-twitter {
	color: #00aced;
}
.sign-in-providers .fa-envelope {
	color: #db4437;
	margin-right: 0;
}
.user-cta-button {
	display: block;
	padding: 1em 0;
	color: inherit;
	text-decoration: none !important;
	border-top: 1px solid #888;
}
.user-cta-button > .fa-stack {
	font-size: .9em;
	margin-right: .8em;
}
.user-cta-button .user-cta-button__inner-icon {
	font-size: 1.3em;
	color: #383838;
}
.user-cta-button .user-cta-button__label {
	font-size: 1.2em;
	vertical-align: middle;
}
.user-cta-button:hover .user-cta-button__label {
	text-decoration: underline;
}

/* Sidebar */
#sidebar {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 950;
	width: 100%;
	height: 0;
	background-color: rgba(56, 56, 56, .9);
	color: white;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	-webkit-transition: height 400ms, padding-top 400ms;
	transition: height 400ms, padding-top 400ms;
}
#sidebar-inner {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	font-size: 1.2em;
	text-align: center;
	padding-top: .5em;
}
#sidebar-overlay {z-index: 900;}
input#show-sidebar {display: none;}
input#show-sidebar:checked ~ #sidebar {
	height: 100%;
	padding-top: 3.5em;
	-webkit-transition: height 500ms, padding-top 500ms;
	transition: height 500ms, padding-top 500ms;
}
input#show-sidebar:checked ~ label #sidebar-overlay {
	visibility: visible;
	opacity: .6;
}
#sidebar ul {
	list-style-type: none;
	-webkit-flex: 1 0 auto;
	flex: 1 0 auto;
	padding: 0;
	padding-bottom: 1em;
	margin: 0;
	overflow: hidden;
}
#sidebar ul li {
	position: relative;
	margin: 0;
}
#sidebar a {
	display: block;
	padding: .4em 1em;
	color: white;
	text-decoration: none;
}
#sidebar li.level-1:hover {
	background-color: #941c1c;
}
#sidebar li.level-2:hover {
	background-color: #666666;
}
#sidebar ul li.level-1 {
	font-family: sans-serif;
	font-weight: bold;
	font-size: 120%;
	background-color: #691414;
	color: white;
	margin: .2em 0;
	box-shadow: 0 2px 8px rgba(0,0,0,.6);
}
#sidebar ul li.level-1 a {
	padding: .3em .6em;
}
html.fonts-loaded #sidebar ul li.level-1 {
	font-family: 'Audiowide', sans-serif;
	font-weight: normal;
}
#sidebar ul li.level-2 {
	border-bottom: 1px solid #737373;
}
#sidebar ul li.level-1,
#sidebar ul li.level-2 {
	-webkit-transition: background-color 400ms;
	transition: background-color 400ms;
}
#sidebar ul li.level-2:last-of-type {
	border-bottom: none;
}
.sidebar-new-item {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
}
.sidebar-badge {
	display: inline-block;
	text-transform: uppercase;
	font-size: .8em;
	background: #941c1c;
	padding: .2em .4em;
	border-radius: .4em;
	margin: .1em;
	margin-left: .5em;
	vertical-align: middle;
}

/* Content Area */
#content {
	position: relative;
	padding-top: 3.5em;
	background-color: #f3f3f3;
}
main {
	padding-bottom: 1em;
}
main p,
main li {
	color: #333333;
}
.breadcrumbs {
	color: #941c1c;
}
.breadcrumbs .fa {
	margin: 0 .4em;
}
section.introduction {
	padding-bottom: 1.2em;
}
section.introduction p {
	line-height: 1.4em;
	margin: 1.2em 0;
}
.simple-flex {
	display: -webkit-flex;
	display: flex;
}
.display-value {
	float: right;
	background-color: #941c1c;
	color: white;
	text-align: center;
	font-size: 1.6em;
	padding: .6rem 1.2rem;
	margin: .5rem 1rem;
	border-radius: .3em;
}
.display-value div:first-of-type {
	font-size: 50%;
}
.error-message {
	font-weight: bold;
	margin: 1em 0 !important;
	padding: .5em .8em;
	border: 2px solid #d23b3b;
	border-radius: .4em;
}
.zebra-gray > :nth-child(odd) {
	background: #cccccc;
}
.property-list {
	list-style-type: none;
	margin: .3em;
	padding: 0;
}
.property-list > li {
	display: -webkit-flex;
	display: flex;
	padding: .4em;
	margin: 0;
}
.property-list > li:not(:first-of-type) {
    border-top: 1px solid #8f8f8f;
}
.property-list > li > div:nth-child(1) {
    -webkit-flex: 1;
    flex: 1;
    margin-right: 1.5em;
}
.property-list > li > div:nth-child(2) {
    text-align: right;
    max-width: 60%;
}
.footnotes p {
	margin: .5em 0;
	font-size: .9em;
}
.banner-section {
	overflow: hidden;
	padding: 0 !important;
}
.tool-billboard {
	background-position: center;
	background-repeat: no-repeat;
	background-size: auto 80%;
}
.hover-icon .fa {
	display: none;
}
.hover-icon:hover .fa {
	display: initial;
}
.fa.icon-left {
	margin-right: .3em;
}
.fa.icon-right {
	margin-left: .3em;
}
.copy-header,
.button-header {
	position: relative;
	padding-right: 5em;
}
.copy-header button,
.button-header button {
	position: absolute;
	right: 0;
	top: 0;
	font-size: .8em;
	padding: .4em .6em;
	margin: 0;
	margin-top: -0.4em;
}
.copy-header .fa,
.button-header .fa {
	margin-right: .2em;
}
.fade-toggle-trigger {
	cursor: pointer;
}
.fade-toggle {
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity 400ms, visibility 400ms;
	transition: opacity 400ms, visibility 400ms;
}
.fade-toggle.fade-toggle-visible {
	visibility: visible;
	opacity: 1;
}
.responsive-width-img {
	width: 100%;
	height: auto;
}
.invisible {
	visibility: hidden;
}
.a2a_kit .a2a_svg {
	background: #464646 !important;
	box-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* Error screens */
.error-screen {
	text-align: center;
	margin: 2em auto;
	padding: 0 2em;
}
.error-screen p {
	font-size: 1.2em;
	line-height: 1.5em;
}
.error-screen button,
.error-screen a.button {
	margin-top: 1em;
	margin-bottom: 1em;
}
.error-screen .error-screen-image {
	display: block;
	margin: 2em auto 1em auto;
	width: 100%;
	height: auto;
}

/* Footer */
footer {
	position: relative;
	z-index: 700;
	clear: both;
	min-height: 3em;
	color: white;
	background-color: #941c1c;
}
footer > .row {
	-webkit-justify-content: space-evenly;
	justify-content: space-evenly;
	padding: 1em;
}
footer #footer-social-connect {
	padding: .5em 2em;
	white-space: nowrap;
	text-align: center;
}
footer #footer-social-connect h2 {
	display: inline;
	vertical-align: middle;
	margin-right: .6em;
}
footer a {
	color: white;
	text-decoration: underline;
}
footer .fa {
	font-size: 2em;
	margin: .2em;
	vertical-align: middle;
}
footer #footer-disclaimer {
	padding: .5em;
	font-size: .8em;
}
footer #footer-disclaimer .fa {
	font-size: .4em;
	margin: 0 1em;
}

/* Modules */
.module {
	position: relative;
	background-color: white;
	border: .1em solid #691414;
	border-radius: .6em;
	box-shadow: 0 2px 6px rgba(0,0,0,.6);
	overflow: hidden;
}
.module.filled-in {
	background-color: #691414;
	color: white;
}
.module.filled-in .module-body {
	padding: .8em;
}
.module-header {
	position: relative;
	z-index: 400;
	color: white;
	background-color: #691414;
	background-repeat: no-repeat;
    background-position: right 3px top 3px;
    background-size: 6em;
	padding: .8em;
	margin: .6em 0 0 0;
	box-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.module-header.mobile-collapsible {
	padding-right: 4em;
	-webkit-transform: translateZ(0.1px);
	transform: translateZ(0.1px);
}
.module-header.mobile-collapsible .mobile-collapsible-icon {
	position: absolute;
	top: 1.2rem;
	right: 1.6rem;
	width: 1.4rem;
	height: 1.4rem;
	border-right: .44rem solid white;
	border-bottom: .44rem solid white;
	border-top: none;
	border-left: none;
	-webkit-transform: rotate(225deg);
	transform: rotate(225deg);
	-webkit-transform-origin: 65% 65% 0;
	transform-origin: 65% 65% 0;
	-webkit-transition: -webkit-transform 400ms, transform 400ms;
	transition: -webkit-transform 400ms, transform 400ms;
}
.module-header.mobile-collapsible.mobile-collapsed {
	margin-bottom: .6em;
}
.module-header.mobile-collapsible.mobile-collapsed .mobile-collapsible-icon {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.module-body {
	position: relative;
	z-index: 300;
	padding: 1.2em .6em .6em .6em; /* Match below */
	padding-bottom: .8em;
}
.module > p {
	margin-left: .6em;
	margin-right: .6em;
}
.module-body, .module-body ~ * {
	-webkit-transition: opacity 1s;
	transition: opacity 1s;
}
.module-header.mobile-collapsible.mobile-collapsed ~ .module-body {
	height: 0;
	padding: 0;
	overflow: hidden;
	opacity: 0;
}
.module-header.mobile-collapsible.mobile-collapsed ~ .module-body ~ * {
	display: none;
}
.module-table, .article-table {
	width: 100%;
	color: white;
	border-spacing: 0 .5em;
	margin-top: .6em;
	overflow: hidden;
}
.article-table {
	margin: 1.2em 0;
	padding: 0 .4em;
}
.module-table tr,
.article-table tr {
	box-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.module-table th,
.article-table th {
	text-align: left;
	background: #383838;
	padding: .8em .4em;
}
.module-table td,
.article-table td {
	background: #941c1c;
	padding: .4em;
}
.module-table.results-table td {
	font-size: 1.2em;
}
.module-table-wrapper,
.article-table-wrapper {
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
}
.module-body > .module-table,
.module-body > .module-table-wrapper {
	position: relative;
	width: calc(100% + 1.2em); /* Add module-body padding */
	max-width: calc(100% + 1.2em);
	left: -0.6em;
}
.module .bg-img,
.overlay-modal-box .bg-img {
	position: absolute;
    bottom: 10%;
    right: 10%;
    z-index: 200;
    opacity: .2;
    width: auto;
    height: auto;
    pointer-events: none;
}
.overlay-modal-box .bg-img {
    z-index: 1700;
}
.module-footer {
	padding: 1em .6em;
}
.module-buttons,
.modal-buttons {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-align-items: stretch;
	align-items: stretch;
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
	padding: 1em .6em;
	text-align: center;
}
.modal-buttons {
	background-color: rgba(102, 102, 102, .2);
}
.module-buttons.buttons-nowrap,
.modal-buttons.buttons-nowrap {
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
}
.module-switcher {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}
.module-switcher > button,
.module-switcher > a.button {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
	-webkit-flex: 1 0 7em;
	flex: 1 0 7em;
	font-size: 1rem;
    text-align: center;
	margin: 0;
	padding: .4em .6em;
	border: 1px solid black;
	border-radius: 0;
	box-shadow: none;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
}
.module-spinner {
	z-index: 420;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding-top: 4rem;
	background-color: rgba(0,0,0,.5);
}
.page-overlay {
	z-index: 1500;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 100%;
	max-width: 1366px;
	height: 100%;
}
.overlay {
	background: black;
	opacity: .6;
}
.page-overlay .overlay-background {
	opacity: .6;
	width: 100%;
	height: 100%;
	background-color: black;
}
.page-overlay .overlay-background,
.overlay {
	-webkit-transition: opacity 400ms, visibility 400ms;
	transition: opacity 400ms, visibility 400ms;
}
.page-overlay.page-overlay-hidden {
	pointer-events: none;
}
.page-overlay.page-overlay-hidden .overlay-background,
.overlay.overlay-hidden {
	visibility: hidden;
	opacity: 0;
}
.page-overlay.page-overlay-hidden .overlay-modal-box {
	-webkit-transform: translateY(-100vh);
	transform: translateY(-100vh);
	opacity: 0;
	pointer-events: none;
}
.page-overlay .modal-close {
	position: absolute;
	top: .5rem;
	right: .5rem;
	padding: .5rem;
	font-size: 2em;
	cursor: pointer;
}
.page-overlay .overlay-modal-box {
    z-index: 1600;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	position: absolute;
	margin: auto;
	width: 80%;
	height: auto;
	max-height: 70%;
	top: 15%;
	left: 0;
	right: 0;
	background-color: white;
	border: .1em solid #691414;
	border-radius: .6em;
	box-shadow: 0 2px 6px rgba(0,0,0,.6);
	overflow: hidden;
	will-change: transform;
	-webkit-transition: -webkit-transform 400ms, transform 400ms, opacity 400ms;
	transition: -webkit-transform 400ms, transform 400ms, opacity 400ms;
}
.page-overlay .overlay-modal-box.modal-full-screen {
	width: 100%;
	height: 100%;
	max-height: 100%;
	top: 0;
	border-radius: 0;
	box-shadow: none;
}
.page-overlay .modal-header {
    z-index: 1900;
	position: relative;
	color: white;
	background-color: #691414;
	background-image: none !important; /* Temporary */
	background-repeat: no-repeat;
    background-position: right 3px top 3px;
    background-size: 6em;
	padding: .8em;
	padding-right: 4em;
	margin-top: .6em;
	box-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.page-overlay .modal-body {
    z-index: 1800;
	position: relative;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	padding: 1.2em .6em .6em .6em;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.page-overlay .modal-body p,
.page-overlay .modal-body .p-align {
	margin: .5em 1em 1.5em 1em;
}
.page-buttons {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	padding: .6em;
	text-align: center;
}
.page-buttons button,
.page-buttons a.button {
	-webkit-flex: 1 0 12em;
	flex: 1 0 12em;
}
body.modal-open {
	overflow: hidden;
}
.fixed-buttons,
.fixed-alert {
	position: fixed;
	bottom: 0;
	right: 0;
}
.fixed-buttons {
	z-index: 450;
	display: -webkit-flex;
	display: flex;
	margin: 0 1rem 1rem 0;
	margin: 0 1rem calc(1rem + env(safe-area-inset-bottom)) 0;
}
.fixed-alert {
	z-index: 500;
	font-size: 1.25em;
	background-color: black;
	color: white;
	padding: .3em .6em;
	pointer-events: none;
}

/* Spinner */
.spinner {
	position: relative;
	height: 7em;
	width: 7em;
	margin: 4em auto;
}
.spinner::before {
	content: "";
	position: absolute;
	width: 1em;
	height: 1em;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	background-color: black;
	color: black;
	animation: spinner-animation 2000ms linear infinite;
}
.spinner.spinner-light::before {
	background-color: white;
	color: white;
}
.next-page-is-loading-spinner {
	display: none;
	z-index: 2000;
	font-size: 0.6em;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	background-color: rgba(0,0,0,.6);
	padding: 5em;
	border-radius: .8em;
	pointer-events: none;
}
html.next-page-is-loading .next-page-is-loading-spinner {
	display: block;
}
@keyframes spinner-animation {
	0% {
		box-shadow: 1.5em 1.5em  0 0,
		-1.5em -1.5em  0 0,
		1.5em -1.5em  0 0,
		-1.5em 1.5em  0 0,
		0 1.5em  0 0,
		1.5em 0  0 0,
		-1.5em 0  0 0,
		0 -1.5em 0 0,
		-1.5em -1.5em  0 0,
		-1.5em -1.5em  0 0,
		1.5em -1.5em  0 0,
		1.5em -1.5em  0 0,
		-1.5em 1.5em  0 0,
		-1.5em 1.5em  0 0,
		1.5em 1.5em  0 0,
		1.5em 1.5em  0 0;
	}
	25% {
		box-shadow: 2em 2em 0 0,
		-2em -2em 0 0,
		2em -2em 0 0,
		-2em 2em 0 0,
		0 1em 0 0,
		1em 0 0 0,
		-1em 0 0 0,
		0 -1em 0 0,
		-1em -2em 0 0,
		-2em -1em 0 0,
		2em -1em 0 0,
		1em -2em 0 0,
		-1em 2em 0 0,
		-2em 1em 0 0,
		2em 1em 0 0,
		1em 2em 0 0;
	}
	50% {
		box-shadow: 2em 2em 0 0,
		-2em -2em 0 0,
		2em -2em 0 0,
		-2em 2em 0 0,
		0 1em 0 0,
		1em 0 0 0,
		-1em 0 0 0,
		0 -1em 0 0,
		-1em -2em 0 0,
		-2em -1em 0 0,
		2em -1em 0 0,
		1em -2em 0 0,
		-1em 2em 0 0,
		-2em 1em 0 0,
		2em 1em 0 0,
		1em 2em 0 0;
	}
	75% {
		box-shadow: 1.5em 1.5em  0 0,
		-1.5em -1.5em  0 0,
		1.5em -1.5em  0 0,
		-1.5em 1.5em  0 0,
		0 1.5em  0 0,
		1.5em 0  0 0,
		-1.5em 0  0 0,
		0 -1.5em 0 0,
		-1.5em -1.5em  0 0,
		-1.5em -1.5em  0 0,
		1.5em -1.5em  0 0,
		1.5em -1.5em  0 0,
		-1.5em 1.5em  0 0,
		-1.5em 1.5em  0 0,
		1.5em 1.5em  0 0,
		1.5em 1.5em  0 0;
	}
	100% {
		box-shadow: 1.5em 1.5em  0 0,
		-1.5em -1.5em  0 0,
		1.5em -1.5em  0 0,
		-1.5em 1.5em  0 0,
		0 1.5em  0 0,
		1.5em 0  0 0,
		-1.5em 0  0 0,
		0 -1.5em 0 0,
		-1.5em -1.5em  0 0,
		-1.5em -1.5em  0 0,
		1.5em -1.5em  0 0,
		1.5em -1.5em  0 0,
		-1.5em 1.5em  0 0,
		-1.5em 1.5em  0 0,
		1.5em 1.5em  0 0,
		1.5em 1.5em  0 0;
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

/* Scrollbar */
::-webkit-scrollbar {
	width: .9rem;
}
::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background: #383838;
}
::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background: #cccccc;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

/* Ripple Effect */
.ripple,
button,
a.button,
#sidebar li.level-1,
#sidebar li.level-2 {
	position: relative;
	overflow: hidden;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}
.ripple:after,
button:after,
a.button:after,
#sidebar li.level-1:after,
#sidebar li.level-2:after {
	content:"";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	pointer-events: none;
	background-image: -ms-radial-gradient(Center, circle farthest-corner, #FFFFFF 10%, transparent 10.01%);
	background-image: -moz-radial-gradient(Center, circle farthest-corner, #FFFFFF 10%, transparent 10.01%);
	background-image: -o-radial-gradient(Center, circle farthest-corner, #FFFFFF 10%, transparent 10.01%);
	background-image: -webkit-gradient(radial, center center, 0, center center,600, color-stop(0.1, #FFFFFF), color-stop(0.1001, transparent));
	background-image: -webkit-radial-gradient(Center, circle farthest-corner, #FFFFFF 10%, transparent 10.01%);
	background-image: radial-gradient(circle farthest-corner at Center, #FFFFFF 10%, transparent 10.01%);
	background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
	background-repeat: no-repeat;
	background-position: 50%;
	-webkit-transform: scale(10,10);
	transform: scale(10,10);
	opacity: 0;
	-webkit-transition: -webkit-transform .5s, transform .5s, opacity 1s;
	transition: -webkit-transform .5s, transform .5s, opacity 1s;
}
.ripple-dark:after {
	background-image: -ms-radial-gradient(Center, circle farthest-corner, #383838 10%, transparent 10.01%);
	background-image: -moz-radial-gradient(Center, circle farthest-corner, #383838 10%, transparent 10.01%);
	background-image: -o-radial-gradient(Center, circle farthest-corner, #383838 10%, transparent 10.01%);
	background-image: -webkit-gradient(radial, center center, 0, center center,600, color-stop(0.1, #383838), color-stop(0.1001, transparent));
	background-image: -webkit-radial-gradient(Center, circle farthest-corner, #383838 10%, transparent 10.01%);
	background-image: radial-gradient(circle farthest-corner at Center, #383838 10%, transparent 10.01%);
	background-image: radial-gradient(circle, #383838 10%, transparent 10.01%);
}
.ripple:active:after,
button:active:after,
a.button:active:after,
#sidebar li.level-1:active:after,
#sidebar li.level-2:active:after {
	-webkit-transform: scale(0,0);
	transform: scale(0,0);
	opacity: .4;
	-webkit-transition: 0s;
	transition: 0s;
}

/* Responsive */
.row::after {clear: both;}
/* For mobile: */
html {font-size: 14px;}
[class*="col-"] {
	padding: .5em 1em;
}
[class*="col-"].vertical-modules > .module {
	margin: 1em 0;
}
[class*="col-"].vertical-modules > .module:first-child {
	margin-top: 0;
}
[class*="col-"].vertical-modules > .module:last-child {
	margin-bottom: 0;
}
.row.module-set {padding: .6em 0;}
@media only screen and (max-width: 599.9px) {
	.no-mobile {display: none !important;}
}
@media only screen and (min-width: 600px) and (max-width: 899.9px) {
	.no-med {display: none !important;}
}
@media only screen and (min-width: 600px) {
    /* For tablets: */
	html {font-size: 14px;}
	.row {
		display: -webkit-flex;
		display: flex;
	}
	.row.module-set, .row.module-set > section {
		display: -webkit-flex;
		display: flex;
		-webkit-align-items: stretch;
		align-items: stretch;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
		padding: .5em;
	}
	.row.module-set > section, .row.module-set > section > .module {
		-webkit-flex-grow: 1;
		flex-grow: 1;
	}
    .col-m-1 {width: 8.33%;}
    .col-m-2 {width: 16.66%;}
    .col-m-3 {width: 25%;}
    .col-m-4 {width: 33.33%;}
    .col-m-5 {width: 41.66%;}
    .col-m-6 {width: 50%;}
    .col-m-7 {width: 58.33%;}
    .col-m-8 {width: 66.66%;}
    .col-m-9 {width: 75%;}
    .col-m-10 {width: 83.33%;}
    .col-m-11 {width: 91.66%;}
    .col-m-12 {width: 100%;}
	[class*="col-"].vertical-modules {
		-webkit-flex-direction: column;
		flex-direction: column;
	}
	[class*="col-"].vertical-modules > .module {
		width: 100%;
		margin: .5em 0;
	}
	header #logo-main img {
		width: auto;
		height: 60%;
		margin: 0;
		margin-bottom: 3px;
		padding: 0;
		vertical-align: middle;
	}
    #sidebar {
    	width: 16em;
		height: 0;
    }
	#sidebar-inner {
		font-size: 1.2em;
		text-align: left;
	}
	.sidebar-new-item {
		-webkit-justify-content: flex-start;
		justify-content: flex-start;
	}
	#news-panel,
    #user-panel {
    	width: 25em;
    }
	.columns-2 {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
	}
	.columns-3 {
		-webkit-column-count: 3;
		-moz-column-count: 3;
		column-count: 3;
	}
	section.introduction p {
		font-size: 1.2em;
		line-height: 1.5em;
	}
	.module-header.mobile-collapsible {
		padding-right: .8em;
	}
	.module-header.mobile-collapsible.mobile-collapsed {
		margin-bottom: 0;
	}
	.module-header.mobile-collapsible .mobile-collapsible-icon {
		display: none;
	}
	.module-header.mobile-collapsible.mobile-collapsed ~ .module-body {
		height: auto;
		overflow: auto;
		padding: 1.2em .6em .6em .6em; /* Match above */
		padding-bottom: .8em;
		opacity: 1;
	}
	.module-header.mobile-collapsible.mobile-collapsed ~ .module-body ~ * {
		display: initial;
	}
	.module-header.mobile-collapsible.mobile-collapsed ~ .module-body ~ .module-footer {
		display: block;
	}
	.page-overlay .overlay-modal-box.modal-thin {
		width: 65%;
	}
	.error-screen {
		text-align: left;
	}
	.error-screen .error-screen-image {
		margin: auto;
	}
}
@media only screen and (min-width: 900px) {
    /* For desktop: */
	html {font-size: 14px;}
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
	.no-full {display: none !important;}
    header #menu-button-label {
		display: none;
	}
    #content {
    	margin-left: 16em;
		min-height: 1250px; /* Match Media Query below */
    }
    #sidebar {
    	position: absolute;
		margin-left: -16em;
		width: 16em;
		height: auto;
		padding-top: 3.5em;
	}
    #sidebar-overlay {display: none !important;}
    header #news-button {margin: 0 .2em;}
	header #user-button {
	    width: 2.4em;
	    height: 2.4em;
	    margin: .3em;
	}
	header #avatar #letter-avatar {
		font-size: 140%;
	}
	header #avatar #no-user {
		font-size: 2.2em;
		padding-top: .15em;
	}
	footer #footer-disclaimer {
		font-size: .9em;
	}
	.page-overlay .overlay-modal-box,
	.page-overlay .overlay-modal-box.modal-full-screen {
		width: calc(80% - 16em);
		left: 16em;
		height: auto;
		max-height: 70%;
		top: 15%;
		border-radius: .6em;
	}
	.page-overlay .overlay-modal-box {
		max-width: 45rem;
	}
	.page-overlay .overlay-modal-box.modal-thin {
		width: calc(55% - 16em);
		max-width: 30rem;
	}
	.module-buttons,
	.button-group {
		max-width: 32em;
		margin: auto;
	}
	.module-buttons button,
	.module-buttons a.button,
	.modal-buttons button,
	.modal-buttons a.button {
		min-width: calc(33% - .4em); /* Match button margin */
	}
	.module-buttons button:only-child,
	.module-buttons a.button:only-child,
	.modal-buttons button:only-child,
	.modal-buttons a.button:only-child {
		min-width: 60%;
		flex: none;
		margin-left: auto;
		margin-right: auto;
	}
}
@media only screen and (min-width: 1366px) {
	html {font-size: 14px;}
	html::before {background-image: url('/Images/Home/Background.jpg');}
}
@media only screen and (min-width: 900px) and (min-height: 1250px) {
	#sidebar {
		overflow: initial;
	}
	#sidebar-inner {
		height: auto;
		position: -webkit-sticky;
		position: sticky;
		top: 3em;
	}
}
@media only screen and (max-width: 899.9px) and (max-height: 320px) {
	header {position: relative;}
	#content {padding-top: .5em;}
	.page-overlay .overlay-modal-box.modal-full-screen {
		height: 100%;
		max-height: 100%;
		top: 0;
	}
}
