/**
* CSS Document for Oshada Template
* Last updated 10 May 2024 by Justin Herrin
**/

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5em;
	height: 100vh;
	width: 100%;
	background: #032040;
	background-image: url("../images/body-background-water.jpg");
	background-repeat: no-repeat;
	background-position: top;
	background-attachment: fixed;
	color: #6e6e6e;
	overflow-x: hidden; /* hide that mobile menu */
}
body.mobile-menu-open {
	overflow: hidden;
}

a,
a:link,
a:visited {
	color: #21c6db;
	transition: all .3s ease-in-out;
	text-decoration: none;
}
a:hover,
a:focus {
	color: #005b97;
	text-decoration: none;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: inherit;
	color: #2d2d2d;
	line-height: 1.2em;
	margin-bottom: 1em;
}
h1 {
	font-size: 40px;
}
h2 {
	font-size: 32px;
}
h3 {
	font-size: 24px;
}
h4 {
	font-size: 20px;
}
h1 a, h2 a, h3 a {
	color: inherit !important;
	font-weight: inherit !important;
}

p+h2, p+h3, p+h4, p+h5, p+h6 {
	margin-top: 2em;
}

ol+h2, ol+h3, ol+h4, ol+h5, ol+h6, ol+ol, ol+p, p+ol, p+ul,
ul+h2, ul+h3, ul+h4, ul+h5, ul+h6, ul+p, ul+ul, p+p,
p+.multiple-buttons, p+.moduletable {
	margin-top: 1.5em;
}

strong, .bold {
	font-weight: 600;
}

hr {
	margin: 50px 0;
	height: 1px;
	background: #eee;
	border: 0;
	width: 100%;
}

/* normal teal buttons */
.button,
a.button:link,
a.button:visited,
.btn-primary,
a.btn-primary:link,
a.btn-primary:visited {
	color: #fff;
	background-color: #21c6db;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	font-weight: normal;
	padding: 15px 25px;
	border-radius: 3px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all 0.3s ease-in-out;
	outline: none;
	border: none;
	appearance: none;
}
.button:hover,
a.button:hover,
a.button:focus,
a.button:active,
.btn-primary:hover,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active {
	background-color: #1a9eaf;
}

/* white outlined buttons */
.button-outlined,
a.button-outlined:link,
a.button-outlined:visited {
	background-color: transparent !important;
	border: 2px solid #fff !important;
}
.button-outlined:hover,
a.button-outlined:hover,
a.button-outlined:focus,
a.button-outlined:active {
	background-color: #fff !important;
	color: #2d2d2d !important;
}

.multiple-buttons {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}
.multiple-buttons a:not(:first-child) {
	margin-top: 20px;
}
@media (min-width: 800px) {
	.multiple-buttons {
		flex-direction: row;
		align-items: center;
	}
	.multiple-buttons a:not(:first-child) {
		margin-top: 0;
		margin-left: 30px;
	}
}



/*** Main Body Wrapper Styles ***/
#wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	text-align: left;
	position: relative;
}
@media (min-width: 800px) {
	#wrapper {
		padding: 0 20px;
	}
}


/*** Header Styles ***/
header {
	position: relative;
	background: #080f41;
	padding: 15px;
}
header .logo {
	max-width: 400px;
	position: absolute;
	top: 0;
	left: 50%;
	padding: 0;
	z-index: 1;
	transform: translateX(-50%);
}
header .logo a {
	display: block;
}
header .logo img {
	display: inherit;
}

@media (min-width: 800px) {
	header {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
	header .logo {
		max-width: 216px;
		left: 0;
		transform: unset;
		z-index: 99;
	}
}


/*** Menu Trigger Button Styles ***/
.menu-trigger {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	cursor: pointer;
	opacity: 1;
	transition: all 0.5s ease-in-out;
}
.menu-trigger.active {
	opacity: 0;
}
.menu-trigger .menu-button {}
.menu-trigger .menu-button .menu-button__bar {
	height: 3px;
	background-color: #21c6db;
	border-radius: 3px;
	margin: 5px;
	width: 30px;
}
@media (min-width: 800px) {
	.menu-trigger {
		display: none;
	}
}


/*** Menu Close Button Styles ***/
.menu-close {
	position: absolute;
	top: 50px;
	right: 50px;
	cursor: pointer;
	width: 30px;
	height: 30px;
}
.menu-close .menu-close__bar {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	height: 3px;
	background-color: #21c6db;
	border-radius: 3px;
	width: 30px;
}
.menu-close .menu-close__bar:first-child {
	transform:rotate(45deg);
}
.menu-close .menu-close__bar:last-child {
	transform:rotate(-45deg);
}

@media (min-width: 800px) {
	.menu-close {
		display: none;
	}
}


/*** Main Menu Styles ***/
.main-menu {
	position: fixed;
	top: 0;
	right: -100%;
	width: 100%;
	height: 100vh;
	transition: all .6s ease-in-out;
	background: #080f41;
	padding: 50px;
	overflow-y: scroll;
	z-index: 10;
}
.main-menu.active {
	right: 0;
}
.main-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.main-menu ul li {
	margin: 5px 0;
}
.main-menu ul li > ul.mod-menu__sub {
	margin: 0 0 0 30px;
}
.main-menu ul li > a,
.main-menu ul li > a:link,
.main-menu ul li > a:visited {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 20px;
	transition: all 0.3s ease-in-out;
}
.main-menu ul li > a:hover,
.main-menu ul li > a:focus,
.main-menu ul li.active > a {
	color: #21c6db;
}

@media (min-width: 800px) {
	.main-menu {
		position: relative;
		top: unset;
		right: unset;
		background: none;
		height: unset;
		padding: 0;
		overflow-y: unset;
	}
	.main-menu ul {
		flex-direction: row;
		justify-content: flex-end;
	}
	.main-menu ul li {
		padding: 5px 5px;
		margin: 0 15px 0 0;
		position: relative;
	}
	.main-menu ul li:last-child {
		margin: 0;
	}
	.main-menu ul li > a {
		font-size: 12px;
		padding: 0 !important;
		text-transform: uppercase;
	}

	/* Second Level Menu Items */
	.main-menu ul li > ul.mod-menu__sub {
		position: absolute;
		right: 50%;
		left: auto;
		top: calc(100% - 5px);
		min-width: 200px;
		margin: 0;
		background: #080f41;
		opacity: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		transform: translateX(50%) translateY(40px);
		transition: all 0.3s ease-in-out;
		pointer-events: none;
		white-space: nowrap;
	}
	.main-menu ul li.deeper:hover > ul.mod-menu__sub {
		opacity: 1;
		transform: translateX(50%) translateY(5px);
		pointer-events: auto;
	}
	.main-menu ul li.deeper > ul.mod-menu__sub li {
		width: 100%;
		margin: 0;
		padding: 10px 20px;
	}
	.main-menu ul li.deeper > ul.mod-menu__sub li a {
		display: block;
		text-transform: capitalize;
		font-weight: normal;
	}
	/* icons for those 2nd level items with 3rd level items */
	.main-menu ul li.deeper > ul.mod-menu__sub li.deeper::after {
		font-family: 'Font Awesome\ 5 Free';
		content: "\f054";
		font-weight: 900;
		font-size: 10px;
		color: #fff;
		position: absolute;
		top: 50%;
		right: 10px;
		transform: translateY(-50%);
	}

	/* Third Level Menu Items */
	.main-menu ul li > ul.mod-menu__sub li.deeper > ul.mod-menu__sub {
		position: absolute;
		right: 0;
		left: auto;
		top: 0;
		margin: 0;
		background: #080f41;
		opacity: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		transform: translateX(100%) translateY(40px);
		transition: all 0.3s ease-in-out;
		pointer-events: none;
		white-space: nowrap;
	}
	.main-menu ul li.deeper:hover > ul.mod-menu__sub li.deeper:hover > ul.mod-menu__sub {
		opacity: 1;
		transform: translateX(100%) translateY(0px);
		pointer-events: auto;
	}
}

@media (min-width: 1000px) {
	.main-menu ul li > a {
		font-size: 14px;
	}
	.main-menu ul li {
		padding: 5px 10px;
		margin: 0 20px 0 0;
	}
	.main-menu ul li span[class*="facebook"],
	#footer-menu li span[class*="facebook"] {
		font-size: 26px;
		vertical-align: middle;
		line-height: 10px;
	}
}



/*** Page Titles Styles ***/
.page-title {
	color: #fff;
	margin-bottom: 15px;
}
.page-title h1 {
	color: #fff;
	margin-bottom: 5px;
}



/*** Main Content Elements ***/
.content-wrapper {
	background: #f8f8f8;
}
.component-wrapper ul:not(.pagination) {
	margin-left: 46px;
}
.component-wrapper ol:not(.pagination) {
	margin-left: 46px;
	list-style-type: decimal-leading-zero;
}
.component-wrapper ul:not(.pagination) li,
.component-wrapper ol:not(.pagination) li {
	margin-bottom: 18px;
}
.component-wrapper ul:not(.pagination) li:last-child,
.component-wrapper ol:not(.pagination) li:last-child {
	margin-bottom: 0;
}
/* override the H1's and H2's for the main content area */
.component-wrapper main h1,
.component-wrapper main .blog .page-header h2 {
	color: #005b97;
	font-size: 36px;
}
.component-wrapper.has-sidebar > main {
	margin: 0 0 50px 0;
}

.sidebar-wrapper {
	padding-bottom: 50px;
}

@media (min-width: 800px) {
	.component-wrapper {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
	}
	.component-wrapper.has-sidebar > main {
		width: calc(75% - 50px);
		margin: 0 50px 0 0;
	}
	.sidebar-wrapper {
		width: 25%;
	}
}

.thin-container {
	max-width: 900px;
	margin: 0 auto;
}

.moduletable+.moduletable {
	margin-top: 50px;
}


/*** Sidebar Content Styles ***/
.sidebar-wrapper .moduletable h3 {
	background: #005b97;
	color: #fff;
	padding: 10px 15px;
	border-radius: 3px;
	margin-bottom: 20px;
}
/* better looking menus in sidebar */
.menu-lined h3 {
	margin-bottom: 0 !important;
}
.menu-lined ul {
	list-style: none;
	margin: 0 !important;
	padding: 0;
}
.menu-lined ul li {
	border-bottom: 1px solid #bababa;
	padding: 0;
	margin: 0 !important;
}
.menu-lined ul li a {
	display: block;
	padding: 20px;`
}
.menu-lined ul li.current a {
	color: #005b97;
}


/*** Footer Styles ***/
footer {
	background: #fff;
	border-top: 1px solid #eee;
}

.footer-copyright {
	font-size: 14px;
	text-align: center;
	border-top: 1px solid #eee;
}

#footer-menu {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	list-style: none;
	padding: 0 0 20px 0;
	border-bottom: 1px solid #eee;
}
#footer-menu li {
	position: relative;
	width: 100%;
	text-align: center;
}
#footer-menu li a {
	display: block;
	padding: 8px;
}

@media (min-width: 800px) {
	footer {
		padding: 50px;
	}
	#footer-menu {
		flex-direction: row;
		padding: 0 0 40px 0;
	}
	#footer-menu li {
		width: auto;
	}
	#footer-menu li::after {
		content: "|";
		color: #fff;
		padding: 0 20px;
		display: inline-block;
	}
	#footer-menu li:last-child::after {
		display: none;
	}
	#footer-menu li a {
		display: inline;
		padding: 4px;
	}
}


/*** Footer's MC Webform Styles ***/
#mc-embedded-subscribe-form {
	display: flex;
	margin-top: 15px;
}
#mc-embedded-subscribe-form input.button {
	width: 120px;
	margin-left: 15px;
}
@media (min-width: 800px) {
	#mc-embedded-subscribe-form {
		justify-content: center;
	}
}



/*** Helpers ***/
.clear, .clr {
	clear:both;
}

.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}

.bg-blue {
	background: #0071db;
}

.font-white {
	color: #fff;
}
.red,
.font-red {
	color: #ad0909;
}
.font-dark {
	color: #2d2d2d;
}
.muted,
.text-muted {
	color: #ccc;
}

.padding-all {
	padding: 20px;
}
.padding-top {
	padding-top: 20px;
}
.padding-right {
	padding-right: 20px;
}
.padding-bottom {
	padding-bottom: 20px;
}
.padding-left {
	padding-left: 20px;
}
.padding-sides {
	padding-left: 20px;
	padding-right: 20px;
}
.no-padding {
	padding: 0;
}
.no-margin {
	margin: 0;
}
.margin-all {
	margin: 20px;
}
.margin-bottom {
	margin-bottom: 20px;
}
.margin-top {
	margin-top: 20px;
}
.margin-sides {
	margin-left: 20px;
	margin-right: 20px;
}

@media (min-width: 800px) {
	.padding-all {
		padding: 50px;
	}
	.padding-top {
		padding-top: 50px;
	}
	.padding-right {
		padding-right: 50px;
	}
	.padding-bottom {
		padding-bottom: 50px;
	}
	.padding-left {
		padding-left: 50px;
	}
	.padding-sides {
		padding-left: 50px;
		padding-right: 50px;
	}
	.margin-all {
		margin: 50px;
	}
	.margin-bottom {
		margin-bottom: 50px;
	}
	.margin-top {
		margin-top: 50px;
	}
	.margin-sides {
		margin-left: 50px;
		margin-right: 50px;
	}
}

.pull-left {
	float: left;
	padding: 0 30px 30px 0;
}
.pull-right {
	float: right;
	padding: 0 0 30px 30px;
}
@media (min-width: 800px) {
	.pull-left {
		padding: 0 50px 50px 0;
	}
	.pull-right {
		padding: 0 0 50px 50px;
	}
}

.list-inline {
	padding-left: 0;
	margin-left: 0 !important;
	list-style: none;
}
.list-inline-item {
	display: inline-block;
}
.list-inline-item:not(:last-child) {
	margin-right: 0.5rem;
}

.blog-item+.blog-item {
	margin-top: 64px;
}

.alert {
	position: relative;
	padding: .75rem 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: .25rem;
}
.alert-danger {
	color: #721c24;
	background-color: #f8d7da;
	border-color: #f5c6cb;
}
.alert-success {
	color: #155724;
	background-color: #d4edda;
	border-color: #c3e6cb;
}
.alert-info {
	color: #004085;
	background-color: #cce5ff;
	border-color: #b8daff;
}

blockquote {
	background: #eee;
	border-left: 6px solid #21c6db;
	border-radius: 0px 10px 10px 0px;
	font-size: 1.3em;
	font-style: italic;
	line-height: 1.5em;
	padding: 20px 20px 20px 80px;
	position: relative;

	&::before {
		position: absolute;
		font-family: 'Font Awesome\ 5 Free';
		font-weight: 900;
		font-size: 34px;
		color: #21c6db;
		content: "\f10d";
		top: 20px;
		left: 20px;
	}

	.byline {
		color: initial;
		font-size: initial;
		font-style: normal;
	}
}



/*** Column Styles ***/
.two-col-wrapper {
	padding: 20px 0;
	display: flex;
	flex-direction: column;
}
.two-col-wrapper .col-inner {
	margin: 0 0 30px 0;
}
.two-col-wrapper .col-inner:last-child {
	margin-bottom: 0;
}
@media (min-width: 800px) {
	.two-col-wrapper {
		flex-direction: row;
		justify-content: space-between;
		padding: 40px 0 0 0;
	}
	.two-col-wrapper .col-inner {
		width: calc(50% - 35px);
		margin: 0 0 30px 0;
	}
	.two-col-wrapper .col-inner:last-child {
		margin-bottom: 30px;
	}
}



/*** Offline Styles ***/
#offline-wrapper {
	max-width: 500px;
	margin: 50px auto;
	background: #fff;
	padding: 30px;
}
#offline-wrapper fieldset {
	border: 0;
	margin-top: 20px;
	text-align: left;
}



/*** Homepage-specific Styles ***/
.homepage-memoir-banner {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 50px;
}
.homepage-memoir-banner__cover {
	margin-bottom: 25px;
}
.homepage-memoir-banner__cover img {
	display: block;
	border: 1px solid #000;
	box-shadow: 0px 2px 8px 3px rgba(0,0,0,0.3);
}
.homepage-memoir-banner__copy {
	color: #fff;
}
.homepage-memoir-banner__copy h2 {
	color: #fff;
}

@media (min-width: 300px) {
	.homepage-memoir-banner__cover img {
		max-width: 175px;
	}
}
@media (min-width: 800px) {
	.homepage-memoir-banner {
		flex-direction: row;
	}

	.homepage-memoir-banner__cover {
		margin-bottom: 0;
		margin-right: 50px;
	}
}


.homepage-features-wrapper .moduletable {
	margin: 0 !important;
}

/* homepage showcase */
.homepage-showcase {
	border-bottom: 10px solid #0071db;
}
.homepage-showcase > div {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.homepage-showcase * {
	color: #fff;
}
.homepage-showcase h2 {
	font-size: 3em;
}

/* homepage squares */
.homepage-squares-wrapper {
	display: flex;
	flex-direction: column;
	background-color: #fff;
}
.homepage-square {
	width: 100%;
	text-align: center;
	transition: all 0.3s ease-in-out;
}
.homepage-square:hover {
	background-color: #f7f7f7;
}
.homepage-square .homepage-square__details {
	padding: 20px;
}
.homepage-square .homepage-square__details p {
	font-size: 15px;
}
.homepage-square .homepage-square__details .fa,
.homepage-square .homepage-square__details .far {
	font-size: 5em;
}
@media (min-width: 800px) {
	.homepage-squares-wrapper {
		flex-direction: row;
	}
	.homepage-square {
		width: 25%;
	}
	.homepage-square .homepage-square__details {
		padding: 50px;
	}
}

/* homepage testimonials block */
.homepage-testimonial-block > div {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
.homepage-testimonial-block * {
	color: #fff;
}
.homepage-testimonial-block h2 {
	font-size: 3em;
}
.homepage-testimonial-block .quote {
	font-size: 1.3em;
	font-style: italic;
}





/* Pagination styles */
.com-content-category-blog__navigation {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	font-size: 14px;
	margin: 50px 0 0 0;
}
.com-content-category-blog__navigation p.counter {
	margin: 0 0 10px 0;
}
.com-content-category-blog__navigation ul.pagination {
	list-style: none;
	margin: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
}
.com-content-category-blog__navigation ul.pagination li a {
	border: 1px solid #dedede;
	line-height: 1.25;
	position: relative;
	display: block;
	padding: .5rem .75rem;
	font-weight: 700;
	margin-left: -1px;
	transition: all 0.3s ease-in-out;
}
.com-content-category-blog__navigation ul.pagination li a::before {
	display: none;
}
.com-content-category-blog__navigation ul.pagination li a:hover,
.com-content-category-blog__navigation ul.pagination li.active a {
	background-color: #e9e6da;
	color: #005b97;
}
.com-content-category-blog__navigation ul.pagination li.disabled > span {
	color: #999;
	pointer-events: none;
	cursor: auto;
}

@media (min-width: 800px) {
	.com-content-category-blog__navigation {
		justify-content: center;
		align-items: center;
	}
	.com-content-category-blog__navigation ul.pagination {
		margin: 0;
	}
}




/*** Form Elements Styles ***/
input:not([type=checkbox]):not([type=radio]):not(.btn-primary),
select,
textarea {
	-webkit-appearance: none;
	box-sizing: border-box;
	border: 2px solid #e6e6e6;
	font-size: inherit;
	font-family: inherit;
	line-height: inherit;
	width: 100%;
	padding: 15px;
	border-radius: 5px;
	outline: none;
	transition: all .35s ease-in-out;
	min-height: 40px;
	box-shadow: none;
}
select {
	background-image: linear-gradient(45deg, transparent 50%, #ccc 50%), linear-gradient(135deg, #ccc 50%, transparent 50%);
	background-position: calc(100% - 20px) calc(1em + 4px), calc(100% - 15px) calc(1em + 4px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}
input:not([type=checkbox]):not([type=radio]):not(.btn-primary):hover,
select:hover,
textarea:hover,
input:not([type=checkbox]):not([type=radio]):not(.btn-primary):focus,
select:focus,
textarea:focus {
	border-color: #383838;
}
button, input.button {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	border-color: transparent !important;
}


/*** Webform Styles ***/
.bfQuickMode {

}
.bfQuickMode .form-label {
	font-weight: 500;
	display: block;
	margin: 30px 0 10px 0;
}



/*** Blog Styles ***/
.items-more {
	margin: 50px 0 0 0;
}

.article-info {
	font-size: .9em;
	margin-bottom: 20px;
}
.article-info .article-info-term {
	display: none;
}
.article-info .published:before {
	font-family: 'Font Awesome\ 5 Free';
	content:"\f017";
	font-weight: 900;
}


/*** Quick tweaks for Event Booking Component Styling ***/
#eb-event-info {
	margin-top: 50px;
}
.eb-taskbar ul {
	margin: 10px 0 !important;
	display: flex;
	align-items: center;
}
.eb-taskbar ul li {
	margin: 0 !important;
}


/*** Memoir page styles ***/
.memoir-header {
	background: linear-gradient(45deg, #fa8882 0%, #dc4e47 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 50px;
}
.memoir-header__cover {
	margin-bottom: 25px;
}
.memoir-header__cover img {
	border: 1px solid #000;
	box-shadow: 0px 2px 8px 3px rgba(0,0,0,0.3);
	max-width: 250px;
}
.memoir-header__copy {
	color: #fff;
}
.memoir-header__copy h2 {
	color: #fff;
}
@media (min-width: 800px) {
	.memoir-header {
		height: 485px;
		flex-direction: row;
		align-items: center;
	}
	.memoir-header__cover {
		margin-bottom: 0;
		margin-right: 75px;
	}
	.memoir-header__cover img {
		display: block;
		margin-top: 90px;
		max-width: 330px;
		position: relative;
		z-index: 10;
	}
}
