/******************** 
Fonts
********************/
@font-face {
	font-display: swap;
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/geologica-400.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/geologica-500.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/geologica-700.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/inter-500.woff2') format('woff2');
}

@font-face {
	font-display: swap;
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/inter-700.woff2') format('woff2');
}


/******************** 
Base
********************/
:root {
	--blue: #344EAE;
	--blueDark: #2C3C69;
	--blueDarker: #0B1324;
	--bluePurple: #3D5AC1;
	--blueVivid: #288BFF;
	--blueGrey: #EBF1FD;
	--white: #FFFFFF;
	--font-secondary: 'Geologica', sans-serif;
}

* {
	position: relative;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	background-color: var(--blueGrey);
}

a {
	color: var(--blueVivid);
	transition: 0.5s ease;
	text-decoration: none;
}

a:hover {
	color: var(--bluePurple);
}

img {
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-secondary);
}

figure {
	text-align: center;
}

/******************** 
Header 
********************/
#header {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	background-color: var(--blueDarker);
	z-index: 99999;
}

.home #header {
	background-color: transparent;
}

#header .container .row {
	padding: 0.75rem 0;
}

#header .identity a {
	display: flex;
	align-items: center;
	height: 100%;
}

#header .identity .logo {
	width: 3rem;
}

#header .identity h1 {
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--white);
	margin: 0 0 0 0.5rem;
}

#header .menu-wrapper {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

#header .promo a {
	background-color: var(--bluePurple) !important;
	color: var(--white) !important;
	border-radius: 3px !important;
}

#header .promo a:hover {
	background-color: var(--blue) !important;
}

#header.scrolled,
.home #header.scrolled {
	background-color: var(--blueDarker);
}

body:not(.home) #main {
	margin-top: -20px;
}

.astm-search-menu {
	display: inline-block;
	padding: 5px 10px;
}

@keyframes ticker {
	0% {
		margin-left: 100%;
		transform: translateX(0)
	}

	100% {
		margin-left: 0;
		transform: translateX(-100%)
	}
}

.ticker-wrapper {
	width: 100%;
	box-sizing: content-box;
	background-color: #101F4B;
	color: var(--white);
	overflow: hidden;
}

.ticker {
	display: inline-flex;
	align-items: center;
	height: 100%;
	white-space: nowrap;
	animation: ticker 45s linear infinite;
}

.ticker:hover {
	animation-play-state: paused;
}

.ticker-post {
	display: inline-block;
	line-height: 2.5rem;
	color: var(--white);
	padding-right: 2rem;
}

.ticker-post:hover {
	color: var(--blueGrey);
}

/******************** 
Footer
********************/
footer {
	background-color: var(--blueDarker);
	color: var(--white);
	padding: 3rem 1rem;
}

footer .row>div {
	text-align: center;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--blueGrey);
}

footer .row>div:last-of-type {
	border: none;
}

footer a {
	color: #5789C3;
}

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

footer .logo {
	margin-bottom: 1rem;
}

footer .logo img {
	max-width: 6rem;
}

footer .column-a div {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}

footer .column-a div img {
	max-width: 1.5rem;
	margin-right: 0.5rem;
}

footer .column-a div p {
	font-size: 1.1rem;
	margin-bottom: 0;
}

footer .column-b {
    display: flex;
    flex-wrap: wrap;
}

footer .column-b > div {
    width: 100%;
    margin-bottom: 1rem;
}

footer .widget-title {
	margin-bottom: 1rem;
}

footer .menu {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

footer .menu li {
	font-size: 1rem;
	margin-bottom: 0.75rem;
}

/******************** 
Search Popup
********************/
#is-popup-wrapper .is-popup-search-form form {
	width: min(500px, 90%);
}

#is-popup-wrapper .is-popup-search-form input[type="search"] {
	font-family: 'Inter', sans-serif;
	font-size: 1.125rem !important;
}

#is-popup-wrapper .is-popup-search-form .is-search-icon {
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: var(--blueVivid);
	padding: 0 !important;
	border: none;
}

#is-popup-wrapper .is-popup-search-form .is-search-icon svg path {
	fill: var(--white);
}

body .popup-search-close:before,
body .popup-search-close:after {
	border-color: red !important;
}

/******************** 
Home
********************/
.home section:not(#intro) {
	padding: 4rem 0;
}

.home section h3 {
	color: var(--blueDark);
	margin-bottom: 1rem;
}

#intro .video-wrapper {
	width: 100%;
	height: 30rem;
}

#intro .video-wrapper:after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: rgba(31, 51, 101, 0.5);
	background: linear-gradient(180deg, rgba(31, 51, 101, 0.95) 0%, rgba(31, 51, 101, 0.65) 30%, rgba(31, 51, 101, 0.35) 100%)
}

#intro .video-wrapper video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	z-index: 0;
}

#intro .content-wrapper {
	display: flex;
	align-items: center;
	position: absolute;
	width: 100%;
	top: 0;
	bottom: 0;
}

#intro .content-wrapper h2 {
	font-size: 2rem;
	text-shadow: 1px 1px var(--blueDarker);
	color: white;
	padding: 2rem;
	margin: 0;
	z-index: 999;
}

#spotlight .item {
	padding: 1rem;
	margin-bottom: 1rem;
}

#spotlight a {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
	background-color: var(--white);
	padding: 3rem;
	transition: 0.5s ease;
}

#spotlight a:after {
	content: '';
	position: absolute;
	width: 1rem;
	height: 100%;
	top: 0;
	left: 0;
	background-color: var(--bluePurple);
	transition: 0.5s ease;
}

#spotlight a svg {
	width: 64px;
	height: auto;
	margin-top: 1rem;
	z-index: 9;
	transition: 0.5s ease;
}

#spotlight a svg path {
	stroke: var(--blueDark);
}

#spotlight a svg circle,
#spotlight a svg line {
	stroke: var(--bluePurple)
}

#spotlight a:hover:after {
	width: 100%;
}

#spotlight a h3 {
	width: 100%;
	margin: 1rem 0 0;
	z-index: 9;
}

#spotlight a:hover svg path {
	stroke: var(--white);
}

#spotlight a:hover svg circle,
#spotlight a:hover svg line {
	stroke: var(--blueDarker);
}

#spotlight a:hover h3 {
	color: var(--white);
}

#welcome {
	background-color: var(--white);
}

#welcome figure {
	box-shadow: 0.25rem 0.25rem var(--bluePurple);
}

#welcome .wrapper {
	padding-left: 1rem;
}

#discover .box {
	margin-bottom: 1.5rem;
}

#discover .wrapper {
	display: flex;
	background-size: cover;
	background-position: center center;
}

#discover .wrapper:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	background: linear-gradient(135deg, rgba(40, 139, 255, 0.1) 0%, rgba(52, 78, 174, 0.35) 50%, rgba(44, 60, 105, 0.9) 100%);
	transition: 0.5s ease;
}

#discover .wrapper a {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	width: 100%;
	font-family: var(--font-secondary);
	font-size: 1.25rem;
	color: white;
	z-index: 9;
}

#discover .wrapper a span {
	display: block;
	width: 100%;
	background-color: var(--blueDarker);
	padding: 1rem;
	transition: 0.5s ease;
}

#discover .wrapper a:hover span {
	background-color: var(--bluePurple);
}

#posts {
	background-color: var(--white);
}

#posts .post-list {
	margin-top: 1rem;
}

#posts .post-list .post-item a {
	background-color: var(--blueGrey);
}

#posts #category-select {
	display: flex;
	width: 100%;
	background-color: var(--blueGrey);
	padding: 5px 0;
	border: 2px solid var(--blueDark);
}

#posts #category-select option {
	color: var(--blueDark);
}

#posts .category-buttons {
	display: none;
}

#posts .category-button {
	font-size: 1.1rem;
	font-family: var(--font-secondary);
	background-color: transparent;
	color: var(--blueDark);
	padding-right: 0.5rem;
	margin-right: 0.5rem;
	border: none;
	border-right: 0.15rem solid var(--blueDark);
}

#posts .category-button:last-of-type {
	border-right: none;
}

#posts .category-button:hover {
	color: var(--blueVivid);
}

#posts .category-button.active {
	color: var(--bluePurple);
}

/******************** 
Pages / Posts
********************/
.page-header {
	color: var(--blueDarker);
	margin-bottom: 1rem;
}

.page-header h1 {
	font-size: 1.75rem;
}

.page-image {
	padding-bottom: 0.75rem;
}

.page-image figure {
	box-shadow: 0.25rem 0.25rem var(--bluePurple);
}

.page-image img {
	width: 100%;
	height: 12rem;
	object-fit: cover;
}

.page-main {
	padding-bottom: 2rem;
}

.page-body {
	margin-bottom: 1rem;
}

.page-body img.alignleft {
	float: left;
	margin-right: 1rem;
}

.page-body .wrapper {
	height: 100%;
	background-color: var(--white);
	padding: 1rem;
}

.page-body table {
	display: flex;
	flex-flow: column;
	max-width: 100%;
	overflow: auto;
}

.page-body table thead tr,
.page-body table tr.sub {
	display: flex;
	justify-content: center;
	background-color: var(--blueGrey);
	padding: 10px;
}

.page-body table td {
	text-align: center;
	vertical-align: top;
	padding: 5px;
	border: 1px solid var(--blueGrey);
}

.page-child-item {
	margin-bottom: 1rem;
}

.page-child-item a {
	display: flex;
	font-size: 1rem;
	background-color: var(--white);
	color: var(--blueDark);
	padding: 1rem;
	border: 2px solid transparent;
	border-radius: 0.25rem;
	transition: 0.5s ease;
}

.page-child-item a:hover {
	border-color: var(--blueDark);
}

.post-item {
	margin-bottom: 2rem;
}

.post-item a {
	display: flex;
	flex-flow: column;
	height: 100%;
	background-color: var(--white);
	color: var(--blueDark);
	border-bottom: 0.5rem solid transparent;
	transition: 0.5s ease;
}

.post-item a:hover {
	color: var(--blueDarker);
	border-color: var(--blueDarker);
}

.post-item a img {
	height: 12rem;
	object-fit: cover;
	object-position: 50% 50%;
}

.post-item a figure {
	margin: 0;
}

.post-item a .content {
	padding: 1rem;
}

.post-item a .date {
	font-family: var(--font-secondary);
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--blueVivid);
	margin-bottom: 0.5rem;
}

.post-item a h3 {
	font-size: 1.2rem;
	margin: 0.5rem 0;
}

.pagination-wrapper {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

.pagination-wrapper>* {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	font-family: var(--font-secondary);
	background-color: var(--white);
	padding: 0.25rem 0.5rem;
	margin-right: 0.5rem;
	border-radius: 0.25rem;
}

.pagination-wrapper .current {
	background-color: var(--blueDark);
	color: var(--white);
}

.page-template-template-highlight .page-sidebar {
	order: 3;
}

.page-template-template-contact main .row>div {
	margin-bottom: 1rem;
}

.wrapper.contact {
	height: 100%;
	background-color: var(--white);
	padding: 1rem;
}

.wrapper.contact h3 {
	color: var(--blueDark);
	margin-bottom: 1rem;
}

.wrapper.contact table {
	width: 100%;
}

.wrapper.contact table thead tr {
	border-bottom: 1px solid var(--blue);
}

.wrapper.contact table th {
	color: var(--blue);
}

.wrapper.contact table th,
.wrapper.contact table td {
	padding: 0.25rem
}

.wrapper.contact .wpforms-container {
	padding: 1rem;
	margin: 0;
}

.wrapper.contact .wpforms-container label {
	font-family: var(--font-secondary);
	font-weight: 400;
	margin-bottom: 0.5rem;
}

.wrapper.contact .wpforms-container .wpforms-submit {
	font-size: 1rem;
	background-color: var(--blueDark) !important;
	border-radius: 0;
}

/******************** 
404
********************/
.error404 main {
	text-align: center;
}

.error404 h1 {
	font-size: 5rem;
	margin-top: 3rem;
}

.error404 p {
	font-family: var(--font-secondary);
	font-size: 1.5rem;
}

/******************** 
Share Buttons 
********************/
.social {
	display: none;
	position: absolute;
	width: 50px;
	height: 100%;
	left: -45px;
	z-index: 1;
}

.sfsi_widget {
	height: 100%;
}

.sfsi_wDiv {
	position: sticky !important;
	top: 120px;
	z-index: 9999;
}

.sfsi_wicons {
	padding: 0;
}

/******************** 
Sidebar 
********************/
.widget {
	background-color: var(--white);
	padding: 2rem;
	margin-bottom: 1rem;
}

.widget .textwidget p {
	margin-bottom: 0;
}

.widget .textwidget a {
	display: flex;
}

.widget h3.widget-title {
	color: var(--blueDarker);
	margin-bottom: 1rem;
}

.widget ul.menu {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.widget ul.menu li a {
	display: flex;
	padding-bottom: 0.5rem;
	margin-bottom: 0.5rem;
	transition: 0.5s ease;
}

.widget ul.menu li:last-of-type a {
	margin: 0;
	border-bottom: 0;
}

/******************** 
Events
********************/
.eo-fullcalendar.fc .fc-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 700;
	background-color: var(--blue);
	color: var(--white);
	padding: 10px;
}

.eo-fullcalendar.fc .fc-toolbar .fc-center,
.eo-fullcalendar.fc .fc-toolbar .fc-clear {
	display: none;
}

.eo-fullcalendar.fc .fc-toolbar .fc-button-group:last-of-type {
	margin-right: 0;
}

.eo-fullcalendar.fc .fc-button-group>button {
	font-weight: 500;
	text-shadow: none;
	background-color: var(--white);
	color: var(--blue);
	border: none;
	opacity: 1;
}

.eo-fullcalendar.fc tbody .fc-row {
	min-height: 100px;
}

.eo-fullcalendar.fc .fc-view-container th {
	background-color: var(--blueDark) !important;
	color: var(--white);
	padding: 15px 0 !important;
	border: 0;
}

.eo-fullcalendar.fc .fc-view-container td:not(.fc-widget-header) {
	border: none;
	padding: 5px !important;
}

.eo-fullcalendar.fc .fc-view-container .fc-today {
	background-color: #D0DFFF;
}

.eo-fullcalendar.fc .fc-view-container .fc-day-grid-event {
	background-color: var(--blue) !important;
	border: none !important;
	padding: 5px
}

/******************** 
Responsive
********************/
@media screen and (min-width: 768px) {
	body:not(.home) #main {
		margin-top: 0;
	}

	#posts .category-buttons {
		display: block;
	}

	#posts .category-select-wrapper {
		display: none;
	}

	.page-header h1 {
		font-size: 2rem;
	}

	.page-image img {
		height: 20rem;
	}
}

@media screen and (min-width: 992px) {
	footer .row>div {
		text-align: left;
		border: none;
	}

	footer .logo {
		text-align: left;
	}

	footer .logo img {
		max-width: 8rem;
	}

	footer .column-a div {
		justify-content: flex-start;
	}

	.page-image img {
		height: 30rem;
	}

	.page-child-item a {
		font-size: 1.1rem;
		padding: 1.5rem
	}

	.page-template-template-highlight .page-sidebar {
		order: initial;
	}
}

@media screen and (min-width: 1280px) {
    footer .column-b > div:not(.banner) {
        width: 50%;
    }
    
	#header .promo a {
		margin-left: 0.75rem !important;
		margin-right: 0.25rem !important;
	}

	.social {
		display: block;
	}

	.home section:not(#intro) {
		padding: 8rem 0;
	}

	#intro .video-wrapper {
		height: 45rem;
	}

	#intro .content-wrapper h2 {
		font-size: 3rem;
	}

	.home section#spotlight {
		background-color: var(--white);
		padding: 0;
		margin-bottom: -8rem;
		z-index: 999;
	}

	.home section#spotlight .container {
		transform: translate(0, -50%);
	}

	#spotlight .item {
		padding: 2rem;
		margin-bottom: 0;
	}

	.page-header {
		margin-bottom: 1.5rem;
	}

	.page-main {
		padding-bottom: 5rem;
	}

	.page-image img {
		height: 35rem;
	}
}