/*!
Theme Name: Totally Townships Pro Master
Theme URI: http://underscores.me/
Author: Arthur Agency
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tt-pro-master
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Totally Townships Pro Master is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
	overflow-x: hidden;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}



a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}








/* Main Styles
--------------------------------------------- */

#page {
	min-height: 100vh;
	position: relative;
}

#footer {
	position: absolute;
	bottom: 0;
	height: 110px;
}

main#primary {
	padding-bottom: 110px;
}

.page-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
}

.header-spacer {
	width: 100%;
	height: 165px;
	background-color: #003041;
}

#site-header {
	background-color: #003041;
	z-index: 100;
}

#site-header {
    z-index: 100;
    position: absolute;
    top: 0px;
	width: 100%;
    transition: top .3s ease-in-out;
}

#site-header.repo {
    top: -155px;
}

#site-header.hide {
    position: fixed;
    top: 0px;
}

body.home #site-header.hide {
    background: #003041;
}

.header-top-bar {
	font-family: 'Open Sans';
	font-weight: 600;
	font-size: 13px;
	padding-top: 20px;
	padding-bottom: 20px;
	color: #508496;
	width: 100%;
	text-align: center;
    position: relative;
}

.header-top-bar::after {
    content: ' ';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    width: 100%;
    background-color: #004862;
    opacity: 0.2;
}

.header-top-bar span {
    opacity: 0.5;
}

.header-top-bar span.tnb-email-span {
    opacity: 1;
}

.top-nav-contact a {
	color: #508496;
	text-decoration: none;
    opacity: 0.5;
}

.top-nav-contact a:hover {
	color: #5fb8cc;
	transition-duration: 0.2s;
    opacity: 1;
}

.header-main-container {
	width: 100%;
}

.hmc-left {
    display: inline-block;
    width: 25%;
    text-align: left;
    vertical-align: middle;
}

.hmc-right {
    display: inline-block;
    width: 74.5%;
    text-align: right;
    vertical-align: middle;
	position: relative;
}

#desktop-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Open Sans';
    font-size: 16px;
    font-weight: 400;
    color: #404040;
}

#desktop-nav ul li, #desktop-nav ul li a {
    display: inline-block;
}

#primary-menu > li {
	background: transparent;
}

#primary-menu .menu-item {
	position: relative;
	margin-left: -4px;
}

#primary-menu > .menu-item a {
	text-decoration: none;
    padding-top: 56px;
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 49px;
    color: #5fb8cc;
    font-weight: 500;
    font-size: 16px;
    z-index: 1;
    transition-duration: 0.2s;
    position: relative;
	line-height: 0px;
}

#primary-menu > .menu-item a:hover {
	color: #ffffff;
}

#primary-menu > li a::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.1), transparent);
    z-index: -1;
    transition: opacity 0.2s linear;
    opacity: 0;
    mix-blend-mode: overlay;
}

#primary-menu > li a::after {
    position: absolute;
    content: "";
    bottom: 10px;
    left: 50%;
    transform: translate(-50%);
    width: 15px;
    height: 2px;
    background: #5FB8CC;
    opacity: 0;
    transition: opacity 0.2s, bottom 0.2s;
}

#primary-menu > li:hover a::before {
	opacity: 1;
}

#primary-menu > li:hover a::after {
    opacity: 1;
    bottom: 28px;
}

#burger {
	position: relative;
	display: inline-block;
	margin-left: 14px;
	width: 25px;
	height: 10px;
	cursor: pointer;
	max-height: 10px;
	max-width: 25px;
	min-width: 25px;
	min-height: 10px;
	transition-duration: 0.2s;
}

#burger div {
    height: 1px;
    min-height: 1px;
    position: absolute;
    background-color: #5FB8CC;
    transition-duration: 0.2s;
}

#burger div:nth-child(1) {
    top: 0px;
    width: 50%;
}

#burger div:nth-child(2) {
    top: 4px;
    width: 75%;
}

#burger div:nth-child(3) {
    top: 8px;
    width: 100%;
}

#burger:hover div {
    width: 100%;
}




#nav-fly-in {
	background-color: #5FB8CC;
	z-index: 102;
	width: 100%;
	min-height: 100vh;
	top: 0px;
	left: 0px;
	bottom: 0px;
	position: fixed;
	transform: translateX(-100%);
	transition: transform 0.36s ease-out;
}

#nav-fly-in.nfi-open {
	transform: translateX(0);
}

.nfi-left {
	width: 40%;
	display: flex;
	padding: 100px;
	align-items: flex-start;
	text-align: left;
	justify-content: flex-end;
	flex-wrap: nowrap;
    flex-direction: column;
	position: relative;
}

.nfi-right {
	width: 60%;
	flex-direction: column;
	display: flex;
	text-align: left;
	justify-content: center;
	padding-left: 60px;
	text-align: left;
    position: relative;
}

.nfi-right::before {
    content: ' ';
    position: absolute;
    height: 100%;
    width: 1px;
    left: 0;
    background-color: #004862;
    opacity: 0.2;
}

.nfi-container {
	height: 100%;
	padding: 0;
	display: flex;
	flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.nfi-logo-link {
	position: absolute;
	top: 100px;
	left: 100px;
}

.nfi-contact-block {
    font-family: 'Open Sans';
    font-size: 15px;
    color: #003041;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 0px;
	display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
}

.nfi-address-1 {
	
}

.nfi-address-2 {
    margin-bottom: 17px;
}

.nfi-directions {
    margin-bottom: 39px;
    text-decoration: underline;
    color: #003041;
    transition-duration: 0.2s;
}

.nfi-directions:hover {
    color: #ffffff;
    text-decoration: underline;
}

.nfi-phone, .nfi-extra-phone {
    margin-bottom: 10px;
}

.nfi-fax {
    margin-bottom: 10px;
}

.nfi-email {
    color: #003041;
    transition-duration: 0.2s;
	text-decoration: none;
}

.nfi-email:hover {
    color: #ffffff;
}

.nfi-social {
    width: 100%;
    margin-top: 42px;
}

.nfi-social a {
	font-size: 46px;
    margin-right: 5px;
    margin-bottom: 5px;
	text-decoration: none;
}

.nfi-social a svg {
    width: 0.5em;
    height: 0.5em;
    color: #003041;
	transition-duration: 0.2s;
}

.nfi-social a:hover svg {
    color: #ffffff;
}

.nfi-social a svg {
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}

#desktop-nav {
	display: inline-block;
}

#mobile-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#mobile-nav ul li {
	padding-bottom: 8px;
}

#mobile-nav ul li a {
	font-family: 'Figtree';
    font-size: 46px;
    font-weight: 600;
    color: #003041;
    line-height: 68px;
    transition-duration: 0.2s;
    margin-bottom: 9px;
	text-decoration: none;
}

#mobile-nav ul li a:hover {
	color: #ffffff;
}

svg.nfi-close {
	stroke: #003041;
	transition-duration: 0.2s;
	cursor: pointer;
}

svg.nfi-close:hover {
	stroke: #ffffff;
}

.nfi-close {
	top: 35px;
	right: 35px;
	position: absolute;
}

#mobile-nav ul.sub-menu {
  max-width: 600px;
	padding-bottom: 28px;
	margin-top: -6px;
}

#mobile-nav ul.sub-menu li {
  display: inline-block;
	padding: 0 20px 0 0;
}

#mobile-nav ul.sub-menu li a {
  font-family: 'Open Sans';
    font-weight: 600;
    font-size: 15px;
	line-height: 30px;
}

#desktop-nav ul.sub-menu {
	padding: 0;
    flex-direction: column;
    white-space: nowrap;
    transition-timing-function: ease-in-out;
    transition-property: visibility, opacity;
    visibility: hidden;
    opacity: 0;
    display: flex;
    position: absolute;
    top: 100%;
}

#desktop-nav ul#primary-menu li:hover ul.sub-menu {
	visibility: visible;
	opacity: 1;
}

#desktop-nav ul.sub-menu li a {
	padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    color: #003041;
    padding-bottom: 30px;
	font-weight: 500;
    font-size: 16px;
	transition: color 0.13s;
	height: auto;
	text-align: left;
}

#desktop-nav ul.sub-menu li a::before {
	position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #2485a3;
    z-index: -1;
    transition: opacity 0.2s;
    opacity: 0;
}

#desktop-nav ul.sub-menu li a:hover::before {
	opacity: 0.35;
}

#desktop-nav ul.sub-menu li a::after {
	    position: absolute;
    content: "";
    bottom: 10px;
    left: 50%;
    transform: translate(-50%);
    width: 15px;
    height: 2px;
    background: #5FB8CC;
    opacity: 0;
    transition: opacity 0.2s, bottom 0.2s;
}

#desktop-nav ul.sub-menu li {
	list-style-type: none;
    display: flex;
	flex-direction: column;
	margin-left: 0px;
}

#desktop-nav ul.sub-menu {
	background-color: #5FB8CC;
	padding-top: 20px;
    padding-bottom: 20px;
    transition-duration: 0.2s;
}

#footer {
	width: 100%;
    background-color: #5FB8CC;
}

.footer-container {
	padding: 40px 0;
	margin: 0 auto;
}

.footer-container p {
	padding: 0;
	margin: 0
}

.ft-right .nfi-social a {
	line-height: 0;
}

.ft-left, .ft-center, .ft-right {
	width: 33%;
	padding: 0;
	vertical-align: middle;
	display: inline-block;
	font-family: 'Open Sans';
    font-size: 15px;
    color: #003041;
    font-weight: 500;
}

.ft-ns-left, .ft-ns-right {
	width: 49.5%;
	padding: 0;
	vertical-align: middle;
	display: inline-block;
	font-family: 'Open Sans';
    font-size: 15px;
    color: #003041;
    font-weight: 500;
}

.ft-ns-right {
	text-align: right;
}

.ft-center a, .ft-ns-right a {
	color: #003041;
    transition-duration: 0.2s;
    text-decoration: underline;
}

.ft-center a:hover, .ft-ns-right a:hover {
	color: #ffffff;
}

.ft-left {
	text-align: left;
}

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

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

.ft-right .nfi-social {
	margin: 0;
}


/* home page styles */

#home-header {
	width: 100%;
	min-height: 100vh;
	position: relative;
	background: transparent;
	padding-top: 145px;
    padding-bottom: 124px;
}

.header-content-container {
	    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.hc-left {
	    width: 50%;
    margin-top: 0px;
    padding-left: 0px;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 0px;
	    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
}

.hc-right {
	    width: 50%;
    padding-right: 0px;
    text-align: left;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 0px;
    margin-right: 0px;
	display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
	font-family: 'Figtree';
    font-size: 18px;
    color: #5fb8cc;
    font-weight: 400;
}

.hc-right p {
	max-width: 394px;
	margin: 0;
}

.header-content-container h1 {
	padding: 0;
	margin: 0;
	
	color: #5fb8cc;
    font-family: 'Figtree';
    font-size: 66px;
    font-weight: 600;
   
	line-height: 66px;
}

.header-photo-container .post-thumbnail {
	height: 600px;
	width: 100%;
	overflow: hidden;
	margin-top: 62px;
}

#subpage-container .post-thumbnail {
	height: 420px;
	max-width: 800px;
}

.header-photo-container .post-thumbnail img, #subpage-container .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

#header-fade {
	transition: opacity 0.3s ease-in-out;
    background-color: #003041;
}

#header-fade {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: flex-start;
	position: fixed;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
	opacity: 1;
	z-index: -1;
}

#header-fade.header-away {
    opacity: 0;
	transition: opacity 0.6s ease-in-out;
}



#home-callout-slider .swiper {
    padding: 12px;
}

#home-callout-slider .swiper-slide {
    align-items: center;
    justify-content: center;
    transition-duration: 0.2s;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    text-decoration: none;
    flex-direction: column;
}

.swiper-slide a {
	height: 230px;
	background-color: #003041;
	width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
	position: relative;
}

.swiper-slide a::after {
	content: ' ';
	position: absolute;
	height: 3px;
	width: 100%;
	top: 0px;
	left: 0px;
	right: 0px;
	background-color: blue;
}

#home-callout-slider {
	padding: 40px 114px 40px 114px;
	margin-bottom: 120px;
	position: relative;
}

#home-callout-slider .swiper-button-next {
	width: 66px;
	height: 66px;
	opacity: 1;
	transition: opacity 0.2s ease;
	border-radius: 32px;
	background-position: center;
    overflow: hidden;
}


#home-callout-slider .swiper-button-prev {
	width: 66px;
	height: 66px;
	opacity: 1;
	transition: opacity 0.2s ease;
	border-radius: 32px;
	background-position: center;
    overflow: hidden;
}

.swiper-button-next .sb-inner {
    transform: rotate(180deg);
}

.sb-inner-icon svg {
    stroke: #003041;
}

.sb-inner-icon {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sb-inner {
    position: relative;
    width: 100%;
    height: 100%
}

.sb-inner-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.25;
    background-color: #5fb8cc;
    transition-duration: 0.2s;
}

.swiper-button-prev:hover .sb-inner-bg, .swiper-button-next:hover .sb-inner-bg {
    opacity: 1;
    transition-duration: 0.2s;
}

#home-callout-slider .swiper-button-prev::after, #home-callout-slider .swiper-button-next::after {
	content: none;
}

.swiper-slide a {
	transition-duration: 0.2s;
    text-decoration: none;
}

.swiper-slide a:hover {
	transform: scale(1.08);
}

.hcse-viewnow {
    font-family: 'Figtree';
    color: #419eb7;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    position: absolute;
    bottom: 16px;
}

.hcse-viewnow {
	transition-duration: 0.2s;
}

.swiper-slide a:hover .hcse-viewnow {
	color: #ffffff;
}

.hcse-title {
    font-family: 'Figtree';
    color: #ffffff;
    font-size: 30px;
    font-weight: 500;
    text-align: center;
    width: 220px;
    line-height: 32px;
    margin-bottom: 24px;
}


.home-callouts-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 137px;
    padding-top: 40px;
}

.home-callouts-container:nth-child(2) {
    flex-direction: row-reverse;
}

.hcall-left, .hcall-right {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
}

.hcall-left {
    padding: 20px;
}

.hcall-right {
    padding: 20px 60px 20px 80px;
}

.hcall-left-photo {
    height: 380px;
    width: 100%;
    overflow: hidden;
}

.hcall-left-photo img {
    width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

.hc-title {
    font-family: 'Figtree';
    font-size: 32px;
    font-weight: 600;
    color: #003041;
    line-height: 36px;
    margin: 0 0 43px 0;
}

.hc-desc {
    font-family: 'Open Sans';
    font-size: 17px;
    font-weight: 400;
    color: #595959;
    margin: 0 0 46px 0;
    opacity: 0.8;
}

.hc-lm-btn, #subpage-container .entry-content p a.hc-lm-btn {
    font-family: 'Figtree';
    background-color: #ffffff;
    border-top-color: #003041;
    border-right-color: #003041;
    border-bottom-color: #003041;
    border-left-color: #003041;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    padding-top: 16px;
    padding-right: 86px;
    padding-bottom: 16px;
    padding-left: 36px;
    position: relative;
    overflow: hidden;
    font-size: 20px;
    color: #003041;
    font-weight: 400;
    line-height: 30px;
    z-index: 1;
    text-decoration: none;
    transition-duration: 0.2s;
    display: inline-block;
}

#subpage-container .entry-content p a.hc-lm-btn {
	padding-right: 36px;
}

.hc-lm-btn:before, #subpage-container .entry-content p a.hc-lm-btn:before {
    position: absolute;
    background-color: #003041;
    width: 100%;
    height: 100%;
    right: 0px;
    bottom: -59px;
    z-index: -1;
    content: "";
    transition-duration: 0.2s;
}

.hc-lm-btn:hover, #subpage-container .entry-content p a.hc-lm-btn:hover {
    color: #5fb8cc;
    text-decoration: none;
    transition-duration: 0.2s;
}

.hc-lm-btn:hover::before, #subpage-container .entry-content p a.hc-lm-btn:hover::before {
    bottom: 0px;
    transition-duration: 0.2s;
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0px;
    z-index: -1;
    content: "";
}

.hc-lm-btn svg {
    stroke: #003041;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    transition-duration: 0.2s;
}

#home-events {
    position: relative;
    padding-top: 111px;
    padding-bottom: 88px;
}

.ue-bg {
    position: absolute;
    background-color: #5FB8CC;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.25;
    height: 100%;
    width: 100%;
}


.ue-container {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 2;
    position: relative;
}

.ue-left {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
    width: 25%;
    padding-top: 0;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
}

.ue-left h4 {
    font-family: 'Figtree';
    font-size: 42px;
    color: #003041;
    font-weight: 600;
    line-height: 44px;
    padding: 0;
    margin: 0;
}

.ue-right {
    width: 75%;
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 0px;
    padding-bottom: 0px;
    text-align: center;
}

.ue-entry {
    width: 47%;
    padding-top: 16px;
    padding-bottom: 28px;
    border-top-color: rgba(0,48,65,0.25);
    border-top-width: 1px;
    border-top-style: solid;
    margin-right: 3%;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    width: 100%;
}

.ue-entry-home {
    padding-left: 0px;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    padding-top: 0px;
}

.cal-sidebar {
	width: 100%;
	text-align: left;
	z-index: 2;
}

.cal-sidebar-home ul.upcoming-events {
    columns: 2 auto;
    column-gap: 40px;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.cal-sidebar .ue-wrapper {
    padding: 20px 0px 20px 20px;
    position: relative;
}

.cal-sidebar .ue-wrapper::before {
    content: ' ';
    position: absolute;
    height: 1px;
    width: 100%;
    background-color: #003041;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0.35;
}

.ue-entry-title {
    font-family: 'Figtree';
    font-size: 14px;
    color: #003041;
    font-weight: 700;
}

.ue-entry-subtitle {
    font-size: 14px;
    color: #003041;
    font-weight: 500;
    opacity: 0.5;
}

.non-btn-link {
    font-family: 'Figtree';
    font-size: 18px;
    font-weight: 500;
    margin-top: 57px;
    color: #003041;
    position: relative;
    text-decoration: none;
    padding-right: 60px;
}

.non-btn-link svg {
    stroke: #003041;
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    transition-duration: 0.2s;
}

.non-btn-link:hover svg {
    right: -25px;
}

.subpage-with-sidebar-container {
	display: flex;
	width: 100%;
	flex-direction: row;
	align-items: stretch;
	justify-content: center;
	flex-wrap: wrap;
	padding-left: 0px;
	margin-left: auto;
	margin-right: auto;
}

.swsb-main {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: flex-start;
	width: 77%;
	padding: 0 125px 0 0;
}

.swsb-side .cal-sidebar {
	padding-top: 130px;
	padding-bottom: 130px;
	padding-left: 30px;
}

.swsb-side {
	display: flex;
	position: relative;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: flex-start;
	width: 23%;
	z-index: 2;
}

.swsb-side ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.swsb-side::after {
	content: ' ';
	position: absolute;
	width: 300%;
	height: 100%;
	background-color: #003041;
	z-index: 1;
	opacity: 0.25;
}

.swsb-side.swsbs-links::after {
	background-color: transparent !important;
}

.swsb-side .cal-sidebar h4 {
    font-family: 'Figtree';
    font-size: 24px;
    color: #003041;
    font-weight: 600;
    line-height: 28px;
    padding: 0 0 40px 0;
    margin: 0;
}

.subpage-with-sidebar-container .entry-content {
	margin-top: 70px;
	font-family: 'Open Sans';
	font-size: 17px;
	font-weight: 400;
	color: #595959;
	line-height: 30px;
	margin-bottom: 130px;
	padding-right: 40px;
}

.subpage-standard .entry-content {
	margin-top: 70px;
	font-family: 'Open Sans';
	font-size: 17px;
	font-weight: 400;
	color: #595959;
	line-height: 30px;
	margin-bottom: 130px;
	padding-right: 0px;
	max-width: 800px;
}

.subpage-standard .entry-content p {
	opacity: 1.0;
}

span.edit-link {
	display: none;
}

#subpage-container .entry-content p a {
	font-family: 'Open Sans';
	color: #003041;
	text-decoration: underline;
	font-weight: 600;
}

.subpage-standard h1 {
	font-family: 'Figtree';
	font-size: 54px;
	font-weight: 700;
	color: #003041;
	margin-bottom: 56px;
	line-height: 54px;
	margin-top: 130px;
}

.subpage-with-sidebar-container h1 {
	font-family: 'Figtree';
	font-size: 54px;
	font-weight: 700;
	color: #003041;
	margin-bottom: 56px;
	line-height: 54px;
	margin-top: 130px;
}

.of-header-content h1 {
	font-family: 'Figtree';
	font-size: 54px;
	font-weight: 700;
	color: #003041;
	margin-bottom: 56px;
	line-height: 54px;
	margin-top: 0px;
}

.do-content h1 {
	font-family: 'Figtree';
	font-size: 54px;
	font-weight: 700;
	color: #003041;
	margin-bottom: 56px;
	line-height: 54px;
	margin-top: 81px;
}

.cu-contact-container p {
	font-family: 'Figtree';
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 16px;
	color: #419eb7;
	margin: 0;
}

.cu-contact-container .nfi-address-1, .cu-contact-container .nfi-address-2 {
	font-family: 'Figtree';
    font-size: 27px;
    line-height: 30px;
    color: #003041;
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: 400;
}

.cu-contact-container .nfi-directions {
	margin-top: 15px;
	margin-bottom: 30px;
    color: #003041;
    font-family: 'Figtree';
    font-size: 18px;
    font-weight: 400;
    text-decoration: underline;
}

.cu-contact-container .nfi-directions:hover {
	color: #5fb8cc;
}

.email-btn {
	    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 20px;
    padding-right: 80px;
}

.email-btn::before {
	position: absolute;
    bottom: -39px;
    content: "";
}

.email-btn svg {
	stroke: none;
	fill: #003041;
}

.email-btn:hover svg {
	stroke: none;
	fill: #5fb8cc;
}

.nfi-right .nfi-logo-link {
	display: none;
}

.cu-contact-container .nfi-phone, .cu-contact-container .nfi-extra-phone {
	font-family: 'Figtree';
    font-size: 27px;
    line-height: 30px;
    color: #003041;
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: 400;
	margin-bottom: 30px;
}

.cu-contact-container .nfi-fax {
	font-family: 'Figtree';
    font-size: 27px;
    line-height: 30px;
    color: #003041;
    margin-top: 0px;
    margin-bottom: 0px;
    font-weight: 400;
	margin-bottom: 30px;
}

.cu-contact-container {
	display: flex;
	width: 100%;
	max-width: 800px;
	flex-direction: row;
	align-items: stretch;
	justify-content: start;
	flex-wrap: wrap;
}

.cucc-left {
	display: flex;
	position: relative;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: flex-start;
	width: 50%;
}

.cucc-right {
	display: flex;
	position: relative;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: flex-start;
	width: 50%;
	padding-bottom: 30px;
}

#subsub-links-sidebar {
	z-index: 2;
	position: sticky;
	top: 0px;
	padding-top: 115px;
	transition: top .3s ease-in-out;
}

#subsub-links-sidebar.pushed {
	z-index: 2;
	position: sticky;
	top: 145px;
	padding-top: 115px;
	transition: top .3s ease-in-out;
}

#subsub-links-sidebar p {
	margin-bottom: 25px;
    color: #5fb8cc;
    font-family: 'Figtree';
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

#subsub-links-sidebar ul li {
	padding: 10px 10px 10px 0px;
	position: relative;
}

#subsub-links-sidebar ul li::before {
	content: ' ';
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 1px;
	background-color: blue;
	opacity: 0.3;
	transition-duration: 0.15s;
}

#subsub-links-sidebar ul li::after {
	content: ' ';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: blue;
	opacity: 0;
	transition-duration: 0.15s;
	z-index: -1;
}

#subsub-links-sidebar ul li a {
	padding: 12px 10px 12px 18px;
	font-family: 'Open Sans';
	font-size: 15px;
	color: #003041;
	font-weight: 600;
	text-decoration: none;
	transition-timing-function: ease-in-out;
	transition-property: background-color, color, border-color;
	transition-duration: 0.15s;
	-webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

#subsub-links-sidebar ul li:hover::before {
	opacity: 1;
	width: 3px;
}

#subsub-links-sidebar ul li:hover::after {
	opacity: 0.2;
}

.subpage-with-sidebar-container .entry-content h3, .contactus-extra h3, #subpage-container h3 {
	font-family: 'Figtree';
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    padding-bottom: 5px;
	opacity: 1;
}



.officials-index-container {
	width: 100%;
}

.ofi-inner {
	flex-direction: row;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;
	margin-top: 70px;
	text-align: center;
	padding-right: 19px;
	padding-bottom: 160px;
	flex-wrap: wrap;
	gap: 20px;
}

.ofi-entry {
    flex-direction: column;
    display: flex;
	width: 280px;
    margin-bottom: 59px;
	    flex-wrap: nowrap;
    align-items: flex-start;
	text-align: left;
}

.ofi-photo-link {
	width: 278px;
	height: 330px;
}

.ofi-photo-link > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

.ofi-name-link, .ofi-name {
    font-family: 'Figtree';
    font-size: 22px;
    font-weight: 700;
    line-height: 20px;
    margin-top: 21px;
    margin-bottom: 4px;
    color: #003041;
}

.ofi-name {
	line-height: 26px;
}

.ofi-name-link {
	text-decoration: none;
}

.ofi-title {
	font-family: 'Figtree';
	font-size: 17px;
	color: #003041;
	font-weight: 500;
	line-height: 20px;
	margin-bottom: 18px;
	margin-top: 0;
	text-align: left;
}

.ofi-phone {
	font-family: Open Sans;
	margin-bottom: 17px;
	font-size: 16px;
	font-weight: 400;
	color: #003041;
	line-height: 24px;
	margin-top: 0;
}

.of-header {
	position: relative;
}

.of-header::before {
	background: blue;
	opacity: 0.25;
	content:  ' ';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: -1;
}

.of-header.of-has-thumb::before {
	height: 516px;
}

.of-header.of-no-thumb::before {
	height: 450px;
}

.of-header-content {
	padding-top: 100px;
	display: flex;
    width: 100%;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.of-header-content .entry-header {
	display: flex;
	width: 100%;
}

.ofh-photo {
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: flex-start;
}

.ofh-contact .ofi-name {
	margin-top: 0;
	margin-bottom: 20px;
}

.of-has-thumb .ofh-contact {
	padding-left: 60px;
}

.of-no-thumb .ofh-contact {
	padding-left: 0px;
	padding-bottom: 150px;
}

.ofh-photo .post-thumbnail {
	height: 350px;
	width: 295px;
}

.ofh-photo {
	margin-bottom: 20px;
}

.ofh-photo .post-thumbnail img, .ofh-photo .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

.of-subpage #subsub-links-sidebar {
	padding-top: 55px;
	padding-bottom: 55px;
}

.do-content {
    padding-bottom: 100px;
}

.opl-empty {
	text-align: center;
	padding-top: 50%;
	font-family: 'Figtree';
	font-size: 74px;
	font-weight: 700;
	line-height: 44px;
	text-decoration: none;
	color: #ffffff;
}




/* accordion stuff */

/* main level */

.ac-label {
  font-weight: 700;
  position: relative;
  padding: 1em 2em 1em 4px;
  display: block;
  cursor: pointer;
	line-height: 1.2;
  background-color: whiteSmoke;
  transition: background-color .15s ease-in-out;
}

.ac-input:checked + label, .ac-label:hover {
  background-color: #999;
}

.ac-label:after, .ac-input:checked + .ac-label:after {

}

.ac-label:hover:after, .ac-input:checked + .ac-label:after {
  background-color: #b5b5b5;
}

.ac-input {
  display: none;
}

.acl-main {
	position: relative;
}

.acl-main svg {
	content: ' ';
	position: absolute;
	right: 20px;
	top: 28px;
	transition-duration: 0.3s;
	transition-property: transform;
}

.acl-main svg {
	stroke: blue;
}

.ac-input:checked + .acl-main svg {
	transform: rotate(180deg);
	top: 38px;
	transition-duration: 0.3s;
	transition-property: transform;
}


/* the magic */

.ac-text, .ac-sub-text {
  opacity: 0;
  height: 0;
  margin-bottom: 0;
  transition: opacity .5s ease-in-out;
  overflow: hidden;
}

.ac-input:checked ~ .ac-text, .ac-sub .ac-input:checked ~ .ac-sub-text { 
  opacity: 1;
  height: auto;
}

/* sub-level */

.ac-sub .ac-label {
  background: none;
  font-weight: 600;
  padding: .5em 1em;
  margin-bottom: 0;
}

.ac-sub .ac-label:checked {
  background: none;
  border-bottom: 1px solid whitesmoke;
}

.ac-sub .ac-label:after, .ac-sub .ac-input:checked + .ac-label:after {
  left: 0;
  background: none;
}

.ac-sub .ac-input:checked + label, .ac-sub .ac-label:hover {
  background: none;
}

.ac-sub-text {
  padding: 0 1em 0 2em;
}

#doc-ac label.ac-label {
	background: #ffffff;
    font-family: 'Figtree';
    font-size: 32px;
    color: #003041;
    font-weight: 600;
    border-bottom: 1px solid rgba(0,48,65,0.25);
}

#doc-ac label.ac-label::after {
	background: #ffffff;
}

#doc-ac .ac-sub label.ac-label {
	background: #ffffff;
    font-family: 'Figtree';
    font-size: 32px;
    color: #5FB8CC;
    font-weight: 400;
    border-bottom: 1px solid #5FB8CC;
}

#doc-ac .ac-sub a {
	font-family: 'Open Sans';
    font-size: 15px;
    font-weight: 400;
    color: #003041;
    width: 100%;
    padding-left: 34px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(95, 184, 204, 0.3);
	padding-top: 18px;
	display: block;
	position: relative;
    text-decoration: none;
}

#doc-ac .ac-sub-text {
	padding-left: 0;
	padding-right: 0;
}

#doc-ac .ac-sub p {
	padding: 0;
	transition-duration: 0.15s;
	margin: 0;
	position: relative;
}

#doc-ac .ac-sub p:hover::after {
	opacity: 0.3;
	transition-duration: 0.2s;
}

#doc-ac .ac-sub p::after {
	content: ' ';
	position: absolute;
	width: 100%;
	background-color: blue;
	opacity: 0;
	top: 0px;
	right: 0px;
	left: 0px;
	bottom: 0px;
	z-index: -1;
}

#doc-ac label.ac-label {
    position: relative;
    border: none;
}

#doc-ac label.ac-label::before {
    content: ' ';
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    background-color: blue;
    height: 1px;
    width: 100%;
    opacity: 0.4;
    z-index: 3;
}

#doc-ac .ac-sub label.ac-label {
    position: relative;
    border: none;
}

#doc-ac .ac-sub label.ac-label::before {
    content: ' ';
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    background-color: blue;
    height: 1px;
    width: 100%;
    opacity: 0.3;
    z-index: 3;
}

#doc-ac .ac-sub a {
    border: none;
    position: relative;
}

#doc-ac .ac-sub a::before {
    content: ' ';
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    background-color: blue;
    height: 1px;
    width: 100%;
    opacity: 0.2;
    z-index: 3;
}

.do-link svg {
	stroke: blue;
	position: absolute;
	top: 18px;
	right: 28px;
}

.acl-sub {
	position: relative;
}

.acl-sub svg {
	stroke: blue;
	position: absolute;
	right: 28px;
}

.acl-sub svg.do-plus {
	top: 28px;
	opacity: 1;
	transition-duration: 0.2s;
}

.acl-sub svg.do-minus {
	top: 36px;
	opacity: 0;
	transition-duration: 0.2s;
}

.ac-input:checked + label.acl-sub svg.do-plus {
	top: 28px;
	opacity: 0;
	transition-duration: 0.2s;
}

.ac-input:checked + label.acl-sub svg.do-minus {
	top: 36px;
	opacity: 1;
	transition-duration: 0.2s;
}


.tt-content-table {
	border-collapse: collapse;
	border-width: 1px;
	border-style: solid;
	border-color: #000000;
}

.tt-content-table td {
	border-width: 1px;
	border-style: solid;
	border-color: #000000;
	padding: 10px;
}


.single-mc-event main#primary {
	padding: 40px 60px;
}

.single-mc-event aside#secondary {
	display: none;
}



.contactus-extra {
	padding-top: 70px;
}

/*
.entry-content a {
	word-break: break-all;
}
*/

#primary-menu > .menu-item a {
	line-height: 20px;
	text-align: center;
	vertical-align: middle;
}

#desktop-nav ul.sub-menu li a {
	width: auto;
}






/* MEDIA QUERIES */


@media screen and (max-width: 1280px) {
	
	.page-container {
		padding-left: 28px;
		padding-right: 28px;
	}
	
}

@media screen and (max-width: 1080px) {
	
	#primary-menu > .menu-item a {
	text-decoration: none;
			padding-left: 7px;
			padding-right: 7px;
			color: #5fb8cc;
			font-weight: 500;
			font-size: 16px;
			z-index: 1;
			transition-duration: 0.2s;
			position: relative;
	}
	
}





@media screen and (max-width: 991px) {
	
	.header-photo-container.page-container {
		padding: 0 0;
	}
	
	main#primary {
		padding-bottom: 182px;
	}
	
	.of-header-content h1 {
		margin: 40px 0 30px 0;
	}
	
	#subsub-links-sidebar {
		padding-top: 0;
		padding-bottom: 40px;
	}

	.cu-contact-container {
		padding-bottom: 70px;
	}
	
	.cucc-left {
		width: 100%;
	}

	.cucc-right {
		width: 100%;
		padding-bottom: 15px;
	}
	
	.nfi-right .nfi-logo-link {
		display: block;
	}
	
	.nfi-left .nfi-logo-link {
		display: none;
	}
	
	#desktop-nav, .top-nav-contact {
		display: none;
	}
	
	img.main-logo {
		width: 200px;
	}
	
	.page-container {
		padding: 0 6%;
	}
	
	#site-header > .page-container {
		padding: 2% 6%;
	}
	
	.of-header > .page-container {
		padding-top: 100px;
	}
    
    .page-container.do-content {
        padding-bottom: 80px;
    }
	
	.hmc-left {
			display: inline-block;
			width: 70%;
			text-align: left;
			vertical-align: middle;
	}

	.hmc-right {
			display: inline-block;
			width: 28%;
			text-align: right;
			vertical-align: middle;
		position: relative;
	}
	
	.nfi-container {
		height: 100%;
		padding: 0;
		display: flex;
		flex-direction: row-reverse;
		align-items: stretch;
		justify-content: center;
		flex-wrap: wrap;
	}
	
	.nfi-left {
		width: 100%;
		height: auto;
		padding-bottom: 0px;
    padding-top: 41px;
    padding-left: 45px;
    flex-direction: column;
    display: flex;
    text-align: left;
		justify-content: flex-end;
		order: 2;
	}
	
	ul.sub-menu {
		display: none;
	}

	.nfi-right {
		width: 100%;
		height: auto;
		padding-top: 44px;
    padding-left: 41px;
    margin-bottom: 23px;
    text-align: left;
		order: 1;
	}
	
	.nfi-social {
		margin-top: 2px;
	}
	
	#mobile-nav ul li a {
		font-family: 'Figtree';
			line-height: 40px;
    font-size: 27px;
			font-weight: 600;
			color: #003041;
			transition-duration: 0.2s;
			margin-bottom: 9px;
		text-decoration: none;
	}
	
	#mobile-nav .sub-menu li {
			display: none !important;
	}
	
	#nav-fly-in .nfi-address-1, #nav-fly-in .nfi-address-2, #nav-fly-in .nfi-fax, #nav-fly-in .nfi-directions {
		display: none;
	}
	
	.nfi-logo {
		width: 200px;
    display: block;
    position: relative;
    margin-bottom: 42px;
    top: auto;
    left: auto;
	}
	
	.nfi-logo-link {
		position: relative;
		top: auto;
		left: auto;
	}
	
	#mobile-nav ul li {
		padding-bottom: 0px;
	}
	
	#burger {
		width: 35px;
    max-width: 35px;
    height: 20px;
	}
	
	#burger div:nth-child(1) {
		top: 0px;
		height: 2px;
	}
	
	#burger div:nth-child(2) {
		top: 7px;
		height: 2px;
	}
	
	#burger div:nth-child(3) {
		top: 14px;
		height: 2px;
	}
	
	.ft-left, .ft-center, .ft-right {
		width: 100%;
		padding: 10px 0;
		text-align: center;
		vertical-align: middle;
		display: inline-block;
		font-family: 'Open Sans';
			font-size: 15px;
			color: #003041;
			font-weight: 500;
	}

	.ft-ns-left, .ft-ns-right {
		width: 100%;
		text-align: center;
		padding: 10px 0;
		vertical-align: middle;
		display: inline-block;
		font-family: 'Open Sans';
			font-size: 15px;
			color: #003041;
			font-weight: 500;
	}
	
	.ft-ns-right {
		padding-bottom: 10px;
	}
	
	.ft-right .nfi-social {
		padding-top: 10px;
	}
	
	.hc-left {
		width: 100%;
	}

	.hc-right {
		width: 100%;
	}
	
	.hc-right {
		align-items: flex-start;
		padding-top: 40px;
		padding-bottom: 50px;
	}

	.header-content-container h1 {
			font-size: 49px;
		line-height: 50px;
		padding-bottom: 40px;
	}
	
	.header-photo-container .post-thumbnail {
		margin-top: 0;
		height: 450px;
	}
	
	#home-header {
		padding-top: 100px;
        padding-bottom: 30px;
        height: 100%;
	}
    
    #home-callout-slider {
        padding: 40px 90px 40px 90px;
        position: relative;
    }
    
    .home-callouts-container {
        margin-bottom: 60px;
    }
    
    .home-callouts-container:nth-child(2) {
        flex-direction: row;
    }

    .hcall-left, .hcall-right {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .hcall-left {
        padding: 20px;
    }

    .hcall-right {
        padding: 20px;
    }

    .hcall-left-photo {
        height: 250px;
        width: 100%;
        overflow: hidden;
    }
    
    .cal-sidebar-home ul.upcoming-events {
        columns: 1 auto;
        column-gap: 40px;
        list-style: none;
        padding-left: 0;
        margin: 0;
    }
    
    .ue-left, .ue-right {
        width: 100%;
    }
    
    .ue-right {
        padding-left: 20px;
    }
    
    #home-events {
        padding-top: 53px;
    }
    
    .ue-left h4 {
        padding-bottom: 20px;
    }
    
    .non-btn-link {
        margin-top: 20px;
    }
	
	.swsb-main {
		display: flex;
		flex-wrap: nowrap;
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		padding: 0 125px 0 0;
	}

	.swsb-side .cal-sidebar {
		padding-top: 82px;
		padding-left: 30px;
	}

	.swsb-side {
		display: flex;
		position: relative;
		flex-wrap: nowrap;
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		z-index: 2;
	}
	
	.swsb-side::after {
		content: ' ';
		position: absolute;
		width: 100vw;
		left: -7%;
		height: 106%;
		z-index: 1;
		opacity: 0.25;
	}
	
	.swsb-side .cal-sidebar {
		padding-top: 82px;
		padding-left: 0px;
		padding-bottom: 60px;
	}
	
	.swsb-main {
		padding: 0;
	}
	
	.header-spacer {
		height: 124px;
	}
	
	.header-main-container {
		line-height: 83px;
    vertical-align: middle;
	}
	
	
	
	.hmc-left a {
		line-height: 0px;
    vertical-align: middle;
	}
	
	#footer {
		height: 182px;
	}
	
	#footer {
		padding-top: 20px;
	}
	
}






@media screen and (max-width: 767px) {
	
	.of-header > .page-container {
		padding-top: 50px;
	}
	
	.ofh-photo {
		width: 100%;
	}
	
	.of-header.of-has-thumb::before {
		height: 460px;
	}
	
	.of-has-thumb .ofh-contact {
		padding-left: 20px;
	}

	.of-no-thumb .ofh-contact {
		padding-left: 0px;
	}
	
	.ofi-photo-link {
		width: 238px;
		max-height: 290px;
		background-size: cover;
		background-position: center;
	}
	
	.header-photo-container .post-thumbnail {
		height: 350px;
	}
    
    .swiper-slide a {
        height: 200px;
    }
    
    #home-callout-slider {
        padding: 60px 80px 60px 80px;
        position: relative;
    }
	
    #home-header {

        padding-bottom: 30px;
        height: 100%;
	}
    
    .swiper-slide a:hover {
        transform: scale(1);
    }
	
	.header-spacer {
		height: 108px;
	}
	
	#doc-ac .ac-sub label.ac-label {
			font-size: 25px;
	}
	
	#doc-ac label.ac-label {
			font-size: 25px;
	}
    
}

@media screen and (max-width: 480px) {
	
	#doc-ac label.ac-label {
		font-size: 22px;
	}
	
	#doc-ac .ac-sub label.ac-label {
			font-size: 23px;
	}
	
}




