*, *:before, *:after {
  -webkit-box-sizing: border-box; 
  -moz-box-sizing: border-box; 
  box-sizing: border-box;
}
/*This changes the box model of everything in the website and can be overwriten per component if needed. To read more about box-sizing and why you'd want to overwrite it see https://css-tricks.com/international-box-sizing-awareness-day/ or https://www.w3schools.com/cssref/css3_pr_box-sizing.asp*/
/*--------------------------------------------------------
	FONT ASSIGNMENTS
--------------------------------------------------------*/
html {
	font-family: 'PT Sans', sans-serif;
	color: #333;
	font-size: 16px;
}
body {
	font-family: inherit;
	color: inherit;
	font-size: inherit;
}
#subpage-main p:empty { display: none; } 

/*--------------------------------------------------------
	H1 - H6
--------------------------------------------------------*/
h1, 
h2, 
h3, 
h4,
h5,
h6 {
	margin: 0 0 .6em;
	padding: 0px;
	font-weight: bold;
	color: #666565;
}

h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 25px; }
h4 { font-size: 22px; }
h5 { font-size: 19px; }
h6 { font-size: 16px; }

h1.title{
}
h1.title:empty{ display:none; }
/*^^Hides the extra margin that is added on pages without a title*/
#subpage-main p:not(:empty) + h2,
#subpage-main p:not(:empty) + h3,
#subpage-main p:not(:empty) + h4,
#subpage-main ul + h2,
#subpage-main ul + h3,
#subpage-main ul + h4,
#subpage-main table + h2,
#subpage-main table + h3,
#subpage-main table + h4 {
    margin-top: 1.5em;
}
#subpage-main h2 + ul,
#subpage-main h3 + ul,
#subpage-main h4 + ul {
	margin-top: -.75rem; /*Adjusts for the margin-bottom placed on these headings to make the ul's look like they belong to that heading*/
}
/*--------------------------------------------------------
	LINKS
--------------------------------------------------------*/
a {
	color: #31619B;
	transition: .125s ease-in-out color;
}
a:hover, 
a:focus {
	color: #00B1D9;
}
a.button {}
a.button:hover,
a.button:focus
 {
	text-decoration: none;
}
a.button + * {
	padding-top: 1.5em;
}
/*--------------------------------------------------------
	Objects
--------------------------------------------------------*/
/*----------------------Wrappers----------------------*/
/* .wrapper acts as a more symantic stand in for <container><row><col-md-12></col-md-12></row></container> in sections of this build that don't require stacking columns */
.wrapper {
	margin-right:auto;
	margin-left:auto;
	max-width: 100%;
	position: relative;
	height: inherit;
	padding-left: 15px;
	padding-right: 15px;
}
@media (min-width:768px){
	.wrapper {
		width: 750px;
	}
}
@media (min-width:992px) {
	.wrapper {
		width: 970px;
	}
}
@media (min-width:1200px){
	.wrapper {
		width: 1170px;
	}
}
@media (min-width:1280px){
	.wrapper {
		width: 1250px;
	}
}
#subpage-main img {
	display: inline-block;
	max-width: 100%;
	height: auto;
}
figcaption {
	font-style: italic;
	font-size: .9em;
	padding-top: 5px;
}
@media (max-width: 767px) {
	figcaption {
		font-size: 1em;
	}
}
@media (min-width: 767px) {
	/*The following styles are meant to give more space to the label column in contact forms that are too narrow for the entire label to be read normally*/
	.col-md-5 form[action="contact_form_resp.php"] .col-sm-2, 
	.col-md-4 form[action="contact_form_resp.php"] .col-sm-2, 
	.col-md-3 form[action="contact_form_resp.php"] .col-sm-2, 
	.col-md-2 form[action="contact_form_resp.php"] .col-sm-2, 
	.col-md-1 form[action="contact_form_resp.php"] .col-sm-2 {
		width: 25%;
		padding-right: 1em;
	}
	.col-md-5 form[action="contact_form_resp.php"] .col-sm-10, 
	.col-md-4 form[action="contact_form_resp.php"] .col-sm-10, 
	.col-md-3 form[action="contact_form_resp.php"] .col-sm-10, 
	.col-md-2 form[action="contact_form_resp.php"] .col-sm-10, 
	.col-md-1 form[action="contact_form_resp.php"] .col-sm-10 {
		width: 75%;
		padding-left: 0;
	}
	.col-md-5 form[action="contact_form_resp.php"] .col-sm-offset-2, 
	.col-md-4 form[action="contact_form_resp.php"] .col-sm-offset-2, 
	.col-md-3 form[action="contact_form_resp.php"] .col-sm-offset-2, 
	.col-md-2 form[action="contact_form_resp.php"] .col-sm-offset-2, 
	.col-md-1 form[action="contact_form_resp.php"] .col-sm-offset-2 {
		margin-left: 25%;
	}
	/*^^Adjusts the form-group placement of the reCAPTCHA iframe and submit buttom to match the new widths from the styles above*/
}
blockquote {
	font-size: inherit;
}
/*Styles below are taken from Bootstrap's table style to ensure that tables on content pages are responsive and neat whether Bootstrap classes are added or not*/
#subpage-main table {
	max-width: 100%;
	border-collapse: collapse;
	color: #212529;
	margin-bottom: 1em;
}
#subpage-main table td, 
#subpage-main table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    text-align: inherit;
}
#subpage-main table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    border-top: none;
}
#subpage-main table caption {
    padding-top: .75rem;
    padding-bottom: .75rem;
    color: #6c757d;
    text-align: left;
    caption-side: bottom;
}
#subpage-main table tbody tr:hover {
    color: #212529;
    background-color: rgba(0,0,0,.075);
}
grammarly-btn {
	display: none;
	/*If someone copy/pastes text from Grammarly it will add this invisible button and cause the page to scroll horizontally. This style hides that.*/
}
/*--------------------------------------------------------
						HEADER
--------------------------------------------------------*/
header {
	position: sticky;
	top: 0;
	box-shadow: 2.08px 3.12px 20.8px rgba(0, 0, 0, 0.2);
	z-index: 50;
	background: white;
}
header > section {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1rem;
	padding-bottom: 1rem;
}
#logo img {
	max-height: 15vh;
	min-height: 70px;
}
@media (max-width: 500px) {
	header > section {
		padding-top: 5px;
		padding-bottom: 5px;
	}
	#logo img {
		max-height: 10vh;
		min-height: 60px;
	}
}
/*--------------------------------------------------------
	Login Modal
--------------------------------------------------------*/
.modal {
	width: 260px;
	margin: auto;
}
.modal-dialog {
	width: auto;
}
.modal input {
	margin: .5rem 0;
	display: block;
}
.modal input:not([type="submit"]) {
	width: 100%;
}
.modal .close {
	opacity: 1;
	color: #666565;
}
/*--------------------------------------------------------
	Navigation
--------------------------------------------------------*/
header nav {
	display: inherit;
	align-items: inherit;
}
#nav_menu > ul {
	display: flex;
	align-items: center;
}
header .mobileMenuTrigger {
	background: none;
	border: 2px solid #2F619C;
	display: flex;
	padding: 0;
	border-radius: 3px;
}
@media (min-width: 767px) {
	header .mobileMenuTrigger {
		display: none;
	}
}
.mobileMenuTrigger svg {
	width: 30px;
	height: 30px;
	margin: auto;
}
.mobileMenuTrigger line {
    stroke-width: 3px;
    stroke: #2F619C;
}
img[src*="images/facebook-icon.svg"] {
	background: #3B5999;
	width: 30px;
	height: 30px;
}
#mobileMenuWrapper {
	position: fixed;
	left: calc(-100% + 25px);
	top: 0;
	bottom: 0;
	z-index: 500;
	transition: .125s ease-in-out left;
	background: white;
	padding: 1rem 2ch;
	box-shadow : 2.15px 3.22px 21.46px rgba(0, 0, 0, 0.2);
	width: 300px;
	max-width: 100%;
	font-size: 18px;
}
#mobileMenuWrapper.open {
	left: 0;
}
#mobileMenuWrapper > ul {
	list-style: none;
	padding: 0;
	position: relative;
}
#mobileMenuWrapper li {
	margin-bottom: .5em;
}
#triggerClose {
	position: absolute;
	top: -1rem;
	right: 0;
	font-size: 30px;
	cursor: pointer;
}
#nav_menu a {
	white-space: nowrap;
}
.nav>li>a:focus, 
.nav>li>a:hover,
.nav .open>a, 
.nav .open>a:focus, 
.nav .open>a:hover {
	/*Overwrite Bootstrap defaults*/
    background-color: transparent;
    color: #4e2574;
}
.mDropdown {
	display: none;
}
.mToggle + .mDropdown.open {
	display: block;
}
@media (max-width: 990px) and (min-width: 768px) {
	header section.wrapper {
		/*Extra specificity added to overwrite Bootstrap default*/
	    width: 100%;
	}
	.nav > .home-link {
		/*Extra specificity added to overwrite Bootstrap default*/
		display: none;
	}
}
@media (max-width: 1200px) {
	header nav,
	#nav_menu,
	#nav_menu > ul {
		width: 100%;
	}
	header nav::before,
	header nav::after,
	#nav_menu::before,
	#nav_menu::after,
	#nav_menu > ul::before,
	#nav_menu > ul::after {
		content: none;
	}
	#nav_menu > ul {
		justify-content: space-between;
		flex-wrap: wrap;
	}
	#nav_menu .nav > li > a {
		padding-left: 5px;
		padding-right: 5px;
	}
}
@media (max-width: 767px) {
	header nav {
		justify-content: flex-end;
	}
	#triggerClose + li {
		margin-top: 1em;
	}
}
/*--------------------------------------------------------
					Index / Main Body
--------------------------------------------------------*/
main {
	position: relative;
}
#subpage-main,
#mms-main {
	/*The minimum height of the main section of the page should be the height of the screen minus the header, the margin on the main element and the footer*/
	min-height: calc(100vh - 131px - 80px - 3rem);
	margin-bottom: 2.5em;
	margin-top: 3rem;
}
@media (max-width: 900px) {
	#subpage-main
	#mms-main {
		margin-bottom: 2em;
	}
}
@media (min-width: 767px) {	
	#subpage-main .row {
	    margin-bottom: 1em;
	}
}
@media (max-width: 767px) {
	#subpage-main div[class^="col-md"] {
	    margin-bottom: 1em;
	}
}
/*^^These two styles can be tweaked if needed, but they are a handy default for spacing rows (and then columns once the screen hits the col-xs breakpoint on subpages*/

/*----------------Slideshow----------*/
#home-slide-row {
	margin-left: auto;
	margin-right: auto;
	width: 1300px;
	max-width: 100%;
	height: auto;
}
#home-slide-row img {
	object-fit: cover;
	width: 100%;	
}
.carousel-control.left, .carousel-control.right, .carousel-control:hover{
	display: none;
}
.carousel-caption { 
	position: absolute;
	z-index: 10;
	background-color: #002857;
	background: rgba(0, 0, 0, .6);
	padding: 1.5rem 2rem 2.2rem;
	left: inherit;
	bottom: 0px;
	right: 0px;
	/*top: inherit;*/
	width: 100%;
	text-align: left;
	text-shadow: none;
	color: white;
}
.carousel-caption p {
	font-size: 1.2rem;
	font-weight: bold;
	line-height: 1.1;
}
.carousel-caption p + p {
	margin-top: 10px;
	font-size: 1rem;
	font-style: italic;
	font-weight: normal;
}
.carousel-indicators {
	top: .5rem;
	right: .5rem;
	left: inherit;
	bottom: inherit;
	text-align: right;
}
@media (max-width: 600px){
	#home-slide-row {
		margin-top: .5rem;
	}
	#home-slide-row img {
		height: 50vh;	
	}
	.carousel-caption {
		padding: 5px 10px;
	}
	.carousel-caption p {
		font-size: 1rem;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.carousel-caption p + p {
		-webkit-line-clamp: 1;
	}
}
/*----------------End Slideshow------*/
@media (min-width: 767px) {
	#home-content-boxes::before,
	#home-content-boxes::after {
		content: none;
	}
}
#home-content-boxes {
	position: relative;
	z-index: 11;
}
#home-content-boxes h1,
#home-content-boxes h2 {
	font-size: 26px;
	text-align: center;
}
@media (min-width: 767px) {
	#home-content-boxes:not(.gm-editing) {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		margin-top: -1rem;
		padding-left: 15px;
		padding-right: 15px;
	}
	#home-content-boxes:not(.gm-editing) > div {
		box-shadow : 2.15px 3.22px 21.46px rgba(0, 0, 0, 0.2);
		padding: 1.5rem 2rem 2.2rem; 
		width: calc(33% - 30px );
		background: white;
		margin-top: -1.7rem;
	}
}
@media (max-width: 990px) and (min-width: 767px) {
	#home-content-boxes > div {
		padding: 1rem;
		width: calc(33% - 15px );
	}
}
@media (max-width: 767px) {
	#home-content-boxes {
		display: block;
	}
	#home-content-boxes > div {
		width: 100%;
		margin-top: 1rem;
	}
	#home-content-boxes h1,
	#home-content-boxes h2 {
		text-align: left;
	}
}

/*--------------------------------------------------------
					News and Events Feeds
--------------------------------------------------------*/

.event-content .row {
    margin-bottom: 0px !important;
}
.event-item{
	padding: 10px 15px;
}

.event-content{
	border: #4495AD 1px solid;
}

.event-date-wrap{
	font-family: 'Lato', sans-serif;
	font-size: 22px;
	text-align: center;
	background-color: #4495AD;
	color: white;
	width: 75px;
}
h3.event-title {
    font-size: 23px;
    margin: 0px;
    padding: 0px;
    font-family: 'Arvo', sans-serif;
    font-weight: normal;
}
.event-title a {
    font-family: 'Catamaran', sans-serif;
    text-decoration: none;
    color: #3C575B;
    text-transform: capitalize;
}
.event-title a:hover, .event-title a:focus {
    color: #E58E0E;
}
#event-container{
	padding: 10px 0px;
	margin-left: -150px;
}

@media (min-width: 990px) and (max-width: 1200px){
	#event-container{
		padding: 10px 15px;
		margin-left: -125px;
	}
}

@media (min-width: 770px) and (max-width: 990px){
	#event-container{
		padding: 10px 15px;
		margin-left: -25px;
	}
}

@media (min-width: 480px) and (max-width: 770px){
	#event-container{
		padding: 10px 15px;
		margin-left: -25px;
	}
}

@media (max-width: 480px){
	#event-container{
		padding: 10px 15px;
		margin-left: 0px;
	}
}

.event-blurb{
	display: none;
}


/*--------------------------------------------------------
				CSS Styles for Inner Pages
--------------------------------------------------------*/
/*----------Responsive Nivo*/
div[id^=slider-container-FD], div[id^=slider_FD], .nivoSlider img {
	max-width: 100% !important;
	height: auto !important;
}
/*----------Nivo Controls*/
.nivo-prevNav, .nivo-nextNav {
	background-image: none !important;
	width: 25px !important;
	top: 25% !important; /*Fallback for browsers that don't support calc*/
	top: calc( 50% - 50px) !important;
	text-decoration: none;
	color: white;
	font-weight: bold;
	font-size: 75px;
	font-family: Arial, sans-serif;
	text-shadow: 0px 0px 10px rgba(51,51,51,0.4);
}
.nivo-prevNav:hover, .nivo-nextNav:hover {
	text-decoration: none;
	color: #ae0e0d;
	text-shadow: none;
}
.nivo-prevNav {
	left: 10px !important;
}
.nivo-nextNav {
	right: 10px !important;
}
.nivo-prevNav:after {
	content: "‹";
}
.nivo-nextNav:after {
	content: "›" ;
}

/*--------------------------------------------------------
						Footer
--------------------------------------------------------*/
footer {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
	margin-top: 2rem;
}
/*--------------------------------------------------------
						MMS Styling
--------------------------------------------------------*/