/*Removing top and bottom gaps on home page*/
.home #main {
	padding-top: 0;
	padding-bottom: 0;
}
.home.main-layout-content .entry-content>.alignfull {
	margin-top: 0;
	margin-bottom: 0;
}
/*End Removing top and bottom gaps on home page*/

/*fixed main menu*/
.site-header {
	position: fixed;
	width: 100%;
	top:0;
}
/*End fixed main menu*/

/*adressing wp spacer bug*/
.wp-block-spacer {
    height: 70px !important;
}
/*end adressing wp spacer bug*/

/*Homepage video button*/
a.wp-block-button__link.has-white-color.has-text-color {
	background: transparent;
	border: 2px solid #fff;
	padding: .75em 2em;
	color: #fff!important;
	font-weight: bold;
	font-size: .9em;
	text-transform: uppercase;
	display: block;
	text-align: center;
}
a.wp-block-button__link.has-white-color.has-text-color:hover {
	background: #fff;
	color: #1e2f3b!important;
}

/*Scroll arrow*/
.arrow{
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%,-50%);
}
.arrow span{
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 3s infinite;
}
.arrow span:nth-child(2){
    animation-delay: -0.25s;
}
.arrow span:nth-child(3){
    animation-delay: -0.45s;
}
@keyframes animate {
    0%{
        opacity: 0;
        transform: rotate(45deg) translate(-20px,-20px);
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        transform: rotate(45deg) translate(20px,20px);
    }
}

/*Mega Menu Button styles*/
a.mega-btn {
	background: transparent;
	border: 2px solid #fff;
	padding: .75em 2em;
	color: #fff;
	font-weight: bold;
	font-size: .9em;
	text-transform: uppercase;
	display: block;
	text-align: center;
}
a.mega-btn:hover {
	background: #fff;
	color: #1e2f3b;
}
.mega-menu-item li a {
	color: #fff;
}
.mega-menu-item li a:hover {
	color: #213e53;
}
h3.section a {
	font-size: 1.35em;
}
h3.section a:hover {
	color: #6096ba;
}

/*Dividing lines in mega menu*/
@media screen and (min-width: 1024px) {
#mega-menu-394-0-1,
#mega-menu-1194-0-1,
#mega-menu-1198-0-1,
#mega-menu-1212-0-1,
#mega-menu-1847-0-1
{
	border-left: 3px solid #c3512f!important;
}
}

/*Site footer z-index to keep behind mega menu on short pages*/
.site-footer {
	z-index: 1;
}

/*Button syles*/
.wp-block-buttons {
	margin-bottom:1rem;
}
a.wp-block-button__link, .frm_style_formidable-style.with_frm_style .frm_submit button {
	background: #fff;
	border: 2px solid #213e53;
	padding: .75em 2em;
	color: #213e53 !important;
	font-weight: bold;
	font-size: .9em;
	text-transform: uppercase;
	border-radius: 0;
}
a.wp-block-button__link:hover, .frm_style_formidable-style.with_frm_style .frm_submit button:hover {
	background: #213e53;
	color: #fff !important;
	border: 2px solid #213e53;
}


/*Landing page photo headings*/
.wp-block-cover .wp-block-cover__inner-container a {
	color: #fff;
}
.wp-block-cover .wp-block-cover__inner-container a:hover {
	text-decoration: underline;
}

/*Event icon background*/
.header-main a.item--button {
	background: transparent;
}
.header-main a.item--button:hover {
	background: transparent;
	box-shadow: none;
}
.dark-mode .search-icon {
  color: rgba(255,255,255,1);
}

/*Introductory text*/
.intro {
	font-size: 2em;
	line-height: 1.5em;
	font-weight: 700;
}

/*Navy-colored background class can be added to any block*/
.highlight {
	background-color: #213e53;
	padding: 50px;
	color: #fff;
}
.highlight h2 {
	color: #fff;
}
.highlight h2 a {
	color: #467CA0;
}
.highlight h2 a:hover {
	color: #c3512f;
}

/*Blog*/
.posts-layout .entry-title {
	font-weight: bold;
}
.single-post .site-content {
	margin-top: 80px;
}
.sd-social-icon .sd-content ul li[class*=share-].share-twitter a.sd-button, .sd-social-icon .sd-content ul li[class*=share-].share-facebook a.sd-button {
	background: #213e53;
	margin-right:5px;
}
.sd-content ul li a.sd-button:before {font: normal 20px/1 social-logos;}

/*Page titles*/

#page-titlebar  {
  text-align: center;
  background: #213e53;
	border-bottom: none;
	margin-top: 48px;
}

h1.titlebar-title.h4 {
	font-size: 3em;
	line-height: 1.126;
	font-weight: 900;
	color:#fff;
	margin-top: 20px;
}
h1 {
	font-size: min(8vw,3em);
}



/*page-id-64*/
h2 {
	margin-top: .75em;
	margin-bottom: .5em;
}

/*Styles specific to mobile view*/
@media screen and (max-width: 1024px) {
.wp-block-spacer {
    height: 10px !important;
}
	#main {
		padding-top: 0!important;
	}
	.main-layout-content .entry-content>.alignfull {
		margin: 1em 0 0;
	}
	.intro {
		font-size: 1.5em;
	}
	#page-titlebar {
		margin-top: 70px;
	}
	.page-cover {
		margin-top: 70px;
	}
	.single-post .site-content {
	margin-top: 100px;
}
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu.mega-menu-item {
		border-bottom: 1px solid rgba(255,255,255,.5);
	}
	.header-menu-sidebar.light-mode .builder-item-sidebar {
    border-color: rgba(255,255,255,.5);
}
	.header-search-form .search-form-fields input[type=search] {
    border: 1px solid;
    border-color: rgba(255,255,255,.8);
    box-shadow: none;
    border-radius: 0px;
}
	.header-search_box-item .header-search-form .search-field {
		background-color: #fff;
	}
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {
		border-bottom: 3px solid #6096ba;
	}

	.header-social-icons.customify-builder-social-icons.color-custom li a {
    color: #fff;
}
	.header-social-icons.customify-builder-social-icons.color-custom li a:hover {
    color: #fff;
}
	.customify-builder-btn:hover {
	 box-shadow: none;
	}
	.builder-item-sidebar.mobile-item--button {
			padding: 0;
	}
	.builder-item-sidebar.mobile-item--social-icons {
		padding: 10px 0;
	}
	.header-search_icon-item .header-search-modal {
		max-width: 350px;
	}
}
.header-menu-sidebar-inner {
	background: #213e53;
	padding-top: 0;
}
.menu_sidebar_slide_left .header-menu-sidebar {
	background: #213e53;
	box-shadow: none;
}

.header-search_box-item .header-search-form .search-field, .header-search-form button.search-submit {
		color: #213e53;
	}
.header-menu-sidebar-bg {
	background: #213e53;
}
.header-menu-sidebar.light-mode .header-menu-sidebar-bg:before {
	background: transparent;
}

@media screen and (max-width: 576px) {
.arrow{
    position: absolute;
    bottom: 50px;
}
}

/*Styles specific to tablet view*/
@media screen and (min-width: 1024px) and (max-width: 1200px) {
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link  {
		font-size: 14px;
	}
	#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item h4.mega-block-title {
		font-size: 20px;
	}
	a.mega-btn {
		font-size: 14px;
	}
}

/*Styles to prevent menu from being covered up */
@media screen and (min-width: 1025px) and (max-width: 1450px) {
 #mega-menu-wrap-menu-1 #mega-menu-menu-1 ul.mega-sub-menu {
	margin-top: 40px;
}
}



/*Form fields*/
.with_frm_style input[type=text],
.with_frm_style input[type=email], .with_frm_style input[type=number], .with_frm_style input[type=tel] {
	padding: 1.5em;
	box-shadow: none;
	border-radius: 0px;
	border-color: #213e53;
	border-top: none;
	border-left: none;
	border-right: none;
}
.with_frm_style textarea {
	border-color: #213e53;
}
.with_frm_style .frm_radio input[type=radio], .with_frm_style .frm_checkbox input[type=checkbox] {
	width: 20px;
	height: 20px;
}
.with_frm_style .vertical_radio .frm_checkbox label, .with_frm_style .vertical_radio .frm_radio label {
	font-size: 14px;
}
.with_frm_style .vertical_radio .frm_checkbox label, .with_frm_style .vertical_radio .frm_radio label {
	margin-bottom: .75rem;
}
.with_frm_style .frm_top_container .frm_primary_label {
	font-weight: bold;
}

/*Form placeholders*/
/* Chrome/Opera/Safari */
.with_frm_style input[type=text]::-webkit-input-placeholder { 
  color: #213e53;
	font-weight: bold;
}
.with_frm_style input[type=email]::-webkit-input-placeholder { 
  color: #213e53;
	font-weight: bold;
}
.with_frm_style input[type=tel]::-webkit-input-placeholder { 
  color: #213e53;
	font-weight: bold;
.with_frm_style input[type=number]::-webkit-input-placeholder { 
  color: #213e53;
	font-weight: bold;
}}

/* Firefox 19+ */
.with_frm_style input[type=text]::-moz-placeholder { 
  color: #213e53;
	font-weight: bold;
}
.with_frm_style input[type=email]::-moz-placeholder { 
  color: #213e53;
	font-weight: bold;
}
.with_frm_style input[type=tel]::-moz-placeholder { 
  color: #213e53;
	font-weight: bold;
}
.with_frm_style input[type=number]::-moz-placeholder { 
  color: #213e53;
	font-weight: bold;
}
 /* IE 10+ */
.with_frm_style input[type=text]:-ms-input-placeholder {
  color: #213e53;
	font-weight: bold;
}
.with_frm_style input[type=email]:-ms-input-placeholder {
  color: #213e53;
	font-weight: bold;
}
.with_frm_style input[type=tel]:-ms-input-placeholder {
  color: #213e53;
	font-weight: bold;
}
.with_frm_style input[type=number]:-ms-input-placeholder {
  color: #213e53;
	font-weight: bold;
}
/* Firefox 18- */
.with_frm_style input[type=text]:-moz-placeholder { 
  color: #213e53;
	font-weight: bold;
}
.with_frm_style input[type=email]:-moz-placeholder { 
  color: #213e53;
	font-weight: bold;
}
.with_frm_style input[type=tel]:-moz-placeholder { 
  color: #213e53;
	font-weight: bold;
}
.with_frm_style input[type=number]:-moz-placeholder { 
  color: #213e53;
	font-weight: bold;
}
/*End Form placeholders*/
