/*
 Theme Name:     Vera and Joseph Dresner Foundation Theme
 Description:    Custom Theme
 Author:         Basso Marketing Agency
 Author URI:     https://www.bassomarketingagency.com/
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

.post .entry h1 {
	font-size: 20px;
	line-height: 30px;
}
.post .entry h2 {
	font-size: 18px;
	line-height: 27px;
}
.post .entry h3 {
	font-size: 16px;
	line-height: 24px;
}
.post .entry h4 {
	font-size: 14px;
	line-height: 21px;
}
.post .entry h5 {
	font-size: 12px;
	line-height: 18px;
}
.post .entry h6 {
	font-size: 10px;
	line-height: 15px;
}

.post .entry ul {
	margin-left: 25px;
}
.post .entry ol {
	margin-left: 25px;
}
.post .entry a img {
	border: 0;
}

img {
	height: auto;
}
p img {
	padding: 0;
	max-width: 100%;
}
.alignright {
	float: right;
	display: inline;
}
.alignleft {
	float: left;
	display: inline;
}
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Calendar widget */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
}
#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}
#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}
#wp-calendar a {
	display: block;
}
#wp-calendar caption {
	text-align: center;
	width: 100%;
}
#wp-calendar td {
	padding: 3px 0;
	text-align: center;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	padding-top: 4px;
	margin: 10px;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

/* Big images in rich text editor should not break page layout */
.post .entry {
	overflow: hidden;
}

/******* /Dresner Foundation WordPress CSS *******/

/* ==========================================================================
	# Wordpress
========================================================================== */
* {
	margin: 0;
	padding: 0;
	outline: 0;
}

body,
html {
	height: 100%;
}

body {
	font-size: 18px;
	line-height: 1.6em;
	font-family: hightower-text, serif;
	color: #595959;
	background: #fff;
	min-width: 100%;
	-webkit-text-size-adjust: none;
	-webkit-font-smoothing: antialiased;
}

a {
	color: #41b5c5;
	text-decoration: none;
	cursor: pointer;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}
a:hover {
	color: #0a4366;
}
a img {
	border: 0;
}
a[href^="tel"] {
	-webkit-appearance: none;
	cursor: default;
	color: inherit;
}

input,
textarea,
select {
	font-size: 16px;
	font-family: arial, sans-serif;
	color: #595959;
}
textarea {
	overflow: auto;
	-webkit-appearance: none;
}

.cl {
	display: block;
	height: 0;
	font-size: 0;
	line-height: 0;
	text-indent: -4000px;
	clear: both;
}
.notext {
	font-size: 0;
	line-height: 0;
	text-indent: -4000px;
}
.left,
.alignleft {
	float: left;
	display: inline;
}
.right,
.alignright {
	float: right;
	display: inline;
}

.fsr-container {
	overflow: hidden;
	background-repeat: no-repeat;
	background-size: cover;
}
.fsr-image {
	position: absolute;
}

.fsr-hidden {
	display: none;
}

.intro:after,
.footer-content .shell:after,
.features:after,
.subscribe .gform_wrapper form:after,
.main-head:after,
.main-body:after {
	clear: both;
	display: block;
	content: "";
	font-size: 0;
	line-height: 0;
	text-indent: -4000px;
}

/* ------------------------------------------------------------ *\
	Style
\* ------------------------------------------------------------ */

.wrapper {
	position: relative;
	overflow: hidden;
}
.shell {
	max-width: 1000px;
	margin: 0 auto;
}

.col,
.footer-col {
	float: left;
}

.col-1of2 {
	width: 50%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	text-transform: uppercase;
	font-family: "Lato", sans-serif;
	font-weight: normal;
	line-height: 1.2em;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.6em;
}

h4 {
	font-size: 1.4em;
}

h5 {
	font-size: 1.2em;
}

h6 {
	font-size: 1em;
}

.socials ul {
	list-style-type: none;
}

.socials li {
	display: inline-block;
	margin: 23px 16px;
}

.socials a {
	display: inline-block;
}

.socials a:hover {
	opacity: 0.85;
}

.socials img {
	vertical-align: middle;
}

/* ------------------------------------------------------------ *\
	Header
\* ------------------------------------------------------------ */

.header {
	position: relative;
	background: #0d5e8e;
	z-index: 10;
}

.header:after {
	content: "";
	width: 0;
	height: 0;
	border-top: 119px solid #fff;
	border-right: 83px solid transparent;
	position: absolute;
	top: 0;
	left: 26%;
}

.header:before {
	content: "";
	display: inline-block;
	background: #fff;
	width: 26%;
	height: 100%;
	padding-bottom: 28px;
	position: absolute;
	top: 0;
	left: 0;
}

.logo-outer {
	position: absolute;
	padding-left: 3.91%;
	box-sizing: border-box;
	width: 25%;
}

.logo-outer:after {
	content: "";
	display: inline-block;
	width: 157px;
	height: 60px;
	position: absolute;
	right: -200px;
	top: 0;
	background: url(images/logo-detail.png) no-repeat 0 0;
}

.logo {
	padding-top: 20px;
	display: inline-block;
}

.logo:hover {
	opacity: 0.85;
}

.logo img {
	width: 100%;
	height: auto;
}

.nav {
	font-family: "Lato", sans-serif;
	font-size: 20px;
	line-height: 1.05;
	margin: 0 3.91% -0px 27%;
	position: relative;
	z-index: 10;
}

.nav ul {
	list-style-type: none;
	text-align: right;
}

.nav li {
	display: inline-block;
	position: relative;
}

.nav li + li {
	margin-left: 2.42%;
}

.nav a {
	color: #fff;
	display: inline-block;
	padding: 40px 0 30px;
}

.nav a:hover {
	color: #41b5c5;
	text-decoration: none;
}

.link-nav {
	display: none;
}

.sub-menu {
	position: absolute;
	top: 85px;
	right: -30px;
	background: rgba(65, 181, 197, 0.85);
	padding: 15px 30px;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50px);
	-webkit-transform: translateX(-50px);
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
}

.sub-menu li {
	padding: 12px 0 10px;
	min-width: 200px;
}

.sub-menu:before {
	content: "";
	width: 0;
	height: 0;
	border-left: 18px solid transparent;
	border-right: 18px solid transparent;
	border-bottom: 18px solid rgba(65, 181, 197, 0.85);
	position: absolute;
	top: -18px;
	right: 30px;
}

.sub-menu a {
	padding: 0;
	width: 100%;
}

.sub-menu a:hover {
	color: #0a4366;
}

.nav li:hover .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0px);
	-webkit-transform: translateY(0px);
}

/* ------------------------------------------------------------ *\
	Intro
\* ------------------------------------------------------------ */

.intro {
	z-index: 1;
	position: relative;
	border-bottom: 7px solid #fff;
}

.intro-section {
	position: relative;
}

.intro-image {
	height: 800px;
}

.intro-section-secondary .intro-image {
	height: 400px;
}

.intro-section-primary .intro-content h5,
.intro-section-primary {
	font-size: 24px;
	line-height: 1.5;
}

.intro-section-primary .intro-content::after {
	display: none;
}

.intro-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(65, 181, 197, 0.85);
	text-align: right;
}

.intro-content:after {
	content: "";
	width: 0;
	height: 0;
	border-top: 18px solid transparent;
	border-bottom: 18px solid transparent;
	border-left: 17px solid rgba(65, 181, 197, 0.85);
	position: absolute;
	left: 100%;
	bottom: 40%;
}

.intro-content-secondary-right:after {
	left: auto;
	right: 100%;
	border-right: 17px solid rgba(65, 181, 197, 0.85);
	border-left: 0;
}

.intro-content-secondary {
	left: 0;
	top: 0;
	height: 100%;
	width: 44%;
	text-align: left;
}

.intro-content-secondary-right {
	right: 0;
	left: auto;
	text-align: right;
}

.intro-content {
	color: #fff;
	vertical-align: text-bottom;
}

.intro-content h5 {
	text-transform: uppercase;
	font-weight: normal;
	color: #0a4366;
	font-family: "Lato", sans-serif;
	font-size: 18px;
	line-height: 1.67;
}

.intro-section-primary .intro-content-inner {
	padding: 60px 65px 85px 0;
	margin-left: 3.91%;
	position: relative;
}

.intro-section-primary .intro-content-inner:after {
	content: "";
	width: 0;
	height: 0;
	border-left: 18px solid transparent;
	border-right: 18px solid transparent;
	border-bottom: 18px solid rgba(65, 181, 197, 0.85);
	position: absolute;
	bottom: 100%;
	right: 72px;
}

.intro-content-secondary .intro-content-inner {
	position: absolute;
	bottom: 0;
	right: 0;
	margin-left: 9.35%;
	margin-right: 9.35%;
	padding: 15px 0 55px;
}

.intro-content h1,
.intro-content h2,
.intro-content h3,
.intro-content h4,
.intro-content h6 {
	padding: 10px 0;
	line-height: 1.2;
}

.intro-content a {
	text-decoration: none;
	color: #fff;
	font-size: 26px;
}

.intro-content a:hover {
	text-decoration: none;
	color: #0a4366;
}

/* ------------------------------------------------------------ *\
	Main
\* ------------------------------------------------------------ */

.content {
	width: 56%;
	float: left;
}

.sidebar {
	width: 38%;
	float: right;
	padding-top: 27px;
	padding-left: 6%;
	box-sizing: border-box;
	position: relative;
}

.main {
	z-index: 1;
	position: relative;
}

.main-head {
	color: #fff;
	margin-bottom: 80px;
	background: #41b5c5;
}

.main-head .shell {
	position: relative;
	padding: 96px 0 85px;
}

.main-head .main-title {
	border-bottom: 1px dotted #fff;
	margin-bottom: 20px;
	padding-bottom: 22px;
}

.main-head p {
	font-size: 24px;
	font-family: hightower-text, serif;
	line-height: 1.25;
	padding: 0 7%;
}

.main-head-content {
	text-align: center;
	padding-right: 64%;
	padding-left: 2%;
}

.main-head-image:after {
	content: "";
	width: 0;
	height: 0;
	border-top: 18px solid transparent;
	border-bottom: 18px solid transparent;
	border-left: 17px solid #41b5c5;
	position: absolute;
	left: 0;
	top: 26%;
	z-index: 10;
}

.main-head-image {
	height: 300px;
	width: 550px;
	position: absolute;
	top: 0;
	right: 0;
}

.section {
	position: relative;
	z-index: 1;
}

/*  Slogan  */

.slogan {
background: url(images/dark-bg.png) repeat 0 0;
  color: #fff;
  /* padding: 47px 0 55px; */
  display: flex;
  align-items: stretch;
  position: relative;
}

.slogan-title {
width: 42%;
  margin-left: 3.91%;
  padding-right: 2%;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slogan-content {
	width: 58%;
  background: #0d5e8e;
  font-size: 18px;
  line-height: 1.33;
  position: relative;
  padding-bottom: 37px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    8% 100%
  );
}

.slogan-content ul {
	margin-left: 4%;
}

.slogan-content:before {
	display: none;
/* content: "";
  width: 0;
  height: 0;
  border-top: 189px solid #0d5e8e;
  border-left: 156px solid transparent;
  top: 0;
  right: 100%;
  position: absolute; */
}

.slogan-content .slogan-inner {
	 font-family: hightower-text, serif;
  padding: 45px 30px 45px 140px;
  overflow: visible;
}

/*  Fetures */

.hidden-title {
	display: none;
	visibility: hidden;
}

.features {
	list-style-type: none;
	padding: 0 3%;
	font-size: 24px;
	line-height: 1.25;
}

.feature {
	float: left;
	width: 31%;
	box-sizing: border-box;
}

.feature + .feature .feature-head {
	border-left: 4px solid #fff;
}

.feature:first-child .feature-head:before,
.feature:last-child .feature-head:before {
	content: "";
	display: inline-block;
	position: absolute;
	height: 100%;
	width: 300px;
	top: 0;
}

.feature:first-child .feature-head:before {
	right: 100%;
}

.feature:last-child .feature-head:before {
	left: 100%;
}

.feature-head,
.feature:first-child .feature-head:before,
.feature:last-child .feature-head:before {
	background: #41b5c5;
}

.feature-head {
	color: #fff;
	position: relative;
	margin-bottom: 85px;
	padding: 90px 0 30px 35px;
}

.feature-head:after {
	content: "";
	width: 0;
	height: 0;
	border-left: 23px solid transparent;
	border-right: 23px solid transparent;
	border-top: 22px solid #268d9b;
	position: absolute;
	top: 100%;
	left: 45;
}

.feature-body {
	padding-right: 4%;
	padding-left: 2%;
}

.feature-body img.alignleft {
	margin-left: 13%;
	margin-right: 4%;
}

.feature-body em {
	font-family: hightower-text, serif;
	font-style: normal;
}

/*  Updates  */

.updates {
	list-style-type: none;
}

.update {
	margin-bottom: 50px;
}

.update-title {
	color: #0a4366;
}

.update-title a {
	color: #0a4366;
}

.update-title a:hover {
	color: #41b5c5;
	text-decoration: none;
}

.update-meta {
	color: #0a4366;
	font-size: 14px;
	line-height: 1.71;
	text-transform: uppercase;
	font-family: "Lato", sans-serif;
	padding-top: 5px;
}

/*  Info Items  */

.list-info-items ul {
	list-style-type: none;
}

.sidebar .widget .list-info-items ul li,
.list-info-items ul li {
	position: relative;
	padding: 3px 0 30px;
	margin-left: 45px;
	border-bottom: 1px dotted #b7b7b7;
	margin-bottom: 30px;
}

.sidebar .widget .list-info-items ul li:last-child,
.list-info-items ul li:last-child {
	border-bottom: none;
}

.list-info-items ul li:before {
	content: "";
	display: inline-block;
	width: 34px;
	height: 34px;
	background: url(images/ico-info.png) no-repeat 0 0;
	position: absolute;
	top: 0;
	left: -45px;
}

.list-info-items ul p {
	font-family: hightower-text, serif;
	padding-top: 5px;
}

.list-info-items ul h6 {
	font-weight: normal;
	text-transform: uppercase;
	font-family: "Lato", sans-serif;
	color: #0a4366;
	line-height: 1.33;
	font-size: 18px;
}

.sidebar .widget .list-info-items ul {
	background: transparent;
	padding: 0;
	border: 0;
	line-height: 1.33;
}
.sidebar .widget .list-info-items ul p {
	padding: 0;
}

.sidebar .widget .list-info-items ul li:before {
	transform: scale(0.5);
	-webkit-transform: scale(0.5);
	left: -37px;
	top: -2px;
}

.sidebar .widget .list-info-items ul li {
	margin-left: 25px;
	margin-bottom: 19px;
	padding-bottom: 19px;
}

.sidebar .widget .list-info-items li + li {
	border-top: 0;
}

.sidebar .widget .list-info-items a {
	color: #41b5c5;
}

.sidebar .widget .list-info-items a:hover {
	color: #0a4366;
}

/*  Article  */
.article-entry h1,
.article-entry h2,
.article-entry h3,
.article-entry h4,
.article-entry h5,
.article-entry h6 {
	text-transform: capitalize;
	color: #0d5e8e;
	padding-bottom: 1rem;
}

.article-entry p {
	padding-bottom: 1em;
}

.article-entry blockquote {
	color: #41b5c5;
	font-size: 36px;
	line-height: 1.33;
	font-style: italic;
	font-family: "Lato", sans-serif;
	text-align: center;
	font-weight: 300;
	padding-bottom: 12px;
}

.article-entry ul,
.article-entry ol {
	padding: 0px 0px 1em 1em;
}

.article-entry ul ul,
.article-entry ol ol {
	padding: 0px 0px 0px 2em;
}

.article-entry ul li,
.article-entry ol li {
	padding-bottom: 0.5em;
}

.article-entry ul li:last-child,
.article-entry ol li:last-child {
	padding-bottom: 0px;
}

.article-entry .postmetadata {
	padding-bottom: 14px;
}
.article-entry .postmetadata p {
	padding-bottom: 0;
}

.article-entry img.alignleft {
	margin-right: 10px;
}
.article-entry img.alignright {
	margin-left: 10px;
}

.article-entry ~ .article-entry {
	padding-top: 14px;
}
.article-entry .nav-single {
	overflow: hidden;
}
.article-entry .post-title a {
	color: inherit;
}

/* ------------------------------------------------------------ *\
	Sidebar
\* ------------------------------------------------------------ */
.sidebar:after {
	background: #eaf2f3;
	content: "";
	display: inline-block;
	width: 1000%;
	height: 300%;
	left: 0;
	top: -200px;
	position: absolute;
	z-index: -1;
}

.sidebar .widget {
	margin-bottom: 56px;
}

.sidebar .widget ul {
	list-style-type: none;
	font-family: "Lato", sans-serif;
	font-weight: 300;
	background: #fff;
	border: 1px solid #0a4366;
	padding: 20px 10%;
}

.sidebar .widget .sf-field-category ul,
.sidebar .widget .sf-field-tag ul {
	padding: 0px;
	border: 0px;
}

.sidebar .widget .widgettitle + ul {
	border-top: 0px;
}

.sidebar .widget li + li {
	border-top: 1px solid #d7d7d7;
}

.sidebar .widget li {
	padding: 1em 0;
	font-size: 1rem;
}

.sidebar .widget a {
	color: #595959;
}

.sidebar .widget a:hover {
	color: #41b5c5;
}

.widgettitle {
	color: #fff;
	background: url(images/dark-bg.png) repeat 0 0;
	padding: 20px 7% 20px 26%;
	margin-left: -40px;
	position: relative;
}

.widgettitle:before {
	content: "";
	width: 0;
	height: 0;
	border-right: 35px solid transparent;
	border-top: 68px solid #eaf2f3;
	position: absolute;
	left: 0;
	top: 0;
}

.sidebar .widget.widget_search .searchform .searchfield {
	margin-bottom: 10px;
	display: block;
	width: 100%;
}

.sf-field-search input,
.sf-field-search label,
.sf-field-sort_order select,
.sf-field-sort_order label {
   width: 100%;
   display: block;
}

.sf-field-search input,
.sf-field-sort_order select {
   padding: 10px;
}

.sidebar .widget .list-info-items .widgettitle,
.sidebar .widget.carbon_richtext .widgettitle,
.sidebar .widget.widget_text .widgettitle,
.sidebar .widget.widget_calendar .widgettitle,
.sidebar .widget.widget_search .widgettitle {
	margin-bottom: 10px;
}

/* ------------------------------------------------------------ *\
	Footer
\* ------------------------------------------------------------ */

.footer nav ul {
	list-style-type: none;
}

.footer {
	position: relative;
	margin-top: 120px;
	background: #0d5e8e;
	padding-top: 45px;
	z-index: 1;
}
.footer:before {
	content: "";
	height: 44px;
	display: block;
	background: url(images/light-bg.png) repeat 0 0;
	position: absolute;
	bottom: 100%;
	left: 0;
	width: 100%;
}

.footer-content {
	margin: 0 0 69px;
	overflow: hidden;
}
.footer-foot {
	background: #0a4366;
	position: relative;
	padding-top: 20px;
}

.footer .socials {
	position: absolute;
	background: #41b5c5;
	width: 40%;
	right: 0;
	bottom: 100%;
	height: 80px;
}
.footer .socials:before {
	content: "";
	width: 0;
	height: 0;
	border-bottom: 80px solid #41b5c5;
	border-left: 90px solid transparent;
	position: absolute;
	right: 100%;
	top: 0;
}

.footer-col:nth-child(1n) {
	width: 22%;
	padding-left: 3%;
}

.footer-col:nth-child(2n) {
	width: 22.88%;
	padding-left: 3.12%;
}

.footer-col:nth-child(3n) {
	width: 30%;
	padding-left: 4%;
}

.footer-col:nth-child(4n) {
	width: 11%;
	padding-left: 4%;
}

.footer-col {
	position: relative;
	font-family: "Lato", sans-serif;
	font-weight: 300;
}

.footer-col:after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 300%;
	width: 1px;
	background: #0b4e76;
	border-right: 1px solid #1375af;
}

.footer-col:first-child:after {
	display: none;
}

/*  Footer Navigation  */

.footer-col ul {
	list-style: none outside none;
	font-weight: 400;
}
.footer-col a {
	color: #fff;
	font-family: "Lato", sans-serif;
}

.footer-col a:hover {
	color: #41b5c5;
	text-decoration: none;
}

.footer-col .footer-widgettitle {
	font-weight: normal;
	font-size: 20px;
	color: #ffffff;
	text-transform: none;
	padding: 5px 0 5px;
}

.footer-col.widget_nav_menu {
	font-size: 20px;
	line-height: 1.05;
}

.footer-col.widget_nav_menu li {
	padding: 12px 0 19px;
}

.footer-col.widget_nav_menu .footer-widgettitle + div {
	font-size: 18px;
	line-height: 1.67;
}

.footer-col.widget_nav_menu .footer-widgettitle + div ul {
	padding-left: 0;
	font-weight: 300;
}

.footer-col.widget_nav_menu .footer-widgettitle + div li {
	padding: 0;
}

.subscribe {
	color: #fff;
	padding-right: 35%;
	margin-left: 25px;
}

.subscribe h5 {
	text-transform: none;
	text-indent: 4px;
}

.footer-logo {
	margin-left: -40px;
	position: relative;
	z-index: 10;
	display: inline-block;
}

.footer-logo img {
	width: 70%;
	height: auto;
}

.footer-logo:hover {
	opacity: 0.85;
}

.footer-logo-outer {
	background: #fff;
	width: 33%;
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	padding-top: 38px;
	box-sizing: border-box;
}

.footer-logo-outer .triangle {
	content: "";
	background: linear-gradient(305deg, #ffffff calc(50% + -1px), transparent 50%);
	width: 150px;
	height: 100%;
	position: absolute;
	bottom: 0px;
	right: 100%;
	z-index: 10;
}

/*  Footer Bar  */

.footer-bar {
	background: #fff;
	color: #0d5e8e;
	font-size: 14px;
	line-height: 1.5;
	font-family: "Lato", sans-serif;
	padding: 25px 0 20px;
}

.footer-bar a {
	color: #0d5e8e;
}

.footer-bar a:hover {
	color: #41b5c5;
	text-decoration: none;
}

.copyright {
	padding-left: 25px;
}

/* ------------------------------------------------------------ *\
	Gravity Forms
\* ------------------------------------------------------------ */
fieldset {
   margin: 0px;
   border: none;
}

.gform_wrapper {
	font-family: "Lato", sans-serif;
	font-size: 1rem;
}

.gfield_label {
   font-weight: bold;
}

.gform_wrapper ul {
	list-style-type: none;
	margin: 0;
}

.gform_wrapper .ginput_container {
   width: 100%;
}

.gform_wrapper .gfield_required {
   display: initial;
}

.gform_wrapper.gravity-theme legend {
   line-height: 1em;
   margin-bottom: 0px!important;
}

.searchform .searchfield,
.gform_wrapper .ginput_container input,
.gform_wrapper .ginput_container textarea {
	width: 100%;
	border: 2px solid #0a4366;
	padding: 10px 15px;
	border-radius: 0px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	transition: 200ms;
}

.searchform .searchfield,
.gform_wrapper .ginput_container input {
	height: 50px;
}

.gform_wrapper .ginput_container input:focus,
.gform_wrapper .ginput_container textarea:focus {
	border-color: #41b5c5;
}

.searchform .searchsubmit,
.gform_wrapper .gform_button {
	border: none;
	background: #1481c1;
	color: #ffffff;
	font-family: 'hightower-text', serif;
	line-height: 1em!important;
	font-weight: 300;
	padding: 0.5em 1.5em;
	cursor: pointer;
	border-radius: 0;
	-webkit-transition: all 0.4s;
	-o-transition: all 0.4s;
	transition: all 0.4s;
	height: 50px;
	font-size: 24px;
}

.ginput_complex.has_first_name.has_last_name {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 15px;
}

.searchform .searchsubmit:hover,
.gform_wrapper .gform_button:hover {
	color: #0a4366;
	background: #41b5c5;
}

.gform_footer {
	position: relative;
}

.subscribe .gform_body {
   width: 100%;
   margin-right: 10px;
}

.gform_footer .gform_ajax_spinner {
	position: absolute;
	bottom: -21px;
	left: 50%;
	margin-left: -7px;
	width: 14px;
	height: 14px;
}

.subscribe .gform_wrapper form {
	display: flex;
	align-items: center;
}

.subscribe .gform_wrapper .gfield_label {
	margin: 0px 5px!important;
	line-height: 1em;
}

.subscribe .gfield-email {
   display: flex;
   align-items: center;
}

.article-entry .gform_wrapper .gfield {
	margin-bottom: 10px;
}

.subscribe .gform_wrapper .ginput_container input {
   border: none;
}

/* ------------------------------------------------------------ *\
	Search Form
\* ------------------------------------------------------------ */
.searchform .screen-reader-text {
	display: none;
}

.searchform .searchfield {
	width: 200px;
	vertical-align: top;
	height: 45px;
}

.searchform .searchsubmit {
	padding: 11px 15px 10px 15px;
}

/* ------------------------------------------------------------ *\
	Media Queries
\* ------------------------------------------------------------ */

@media only screen and (max-width: 1650px) {
	.header::before {
		width: 20%;
		padding-bottom: 15px;
	}

	.header::after {
		left: 20%;
		border-right: 75px solid transparent;
		border-top: 104px solid #fff;
	}

	.logo-outer {
		padding-left: 1%;
		width: 20%;
	}

	.logo-outer::after {
		right: -125px;
		z-index: -1;
	}

	.logo {
		padding-top: 30px;
	}

	.nav {
		font-size: 18px;
		margin-right: 2%;
	}

	.features {
		font-size: 18px;
	}

	.feature {
		width: 33%;
	}

	.feature-body img.alignleft {
		margin-left: 0;
	}

	.update {
		margin-bottom: 25px;
	}

	.footer-logo-outer {
		width: 25%;
	}

	.footer-logo img {
		width: 80%;
		padding-top: 20px;
	}
}

@media only screen and (max-width: 1225px) {
	.shell {
		padding: 0 15px;
	}

	.main-body .shell {
		padding: 0 40px;
	}

	h1 {
		font-size: 40px;
	}

	h2 {
		font-size: 32px;
	}

	h3 {
		font-size: 28px;
	}

	h4 {
		font-size: 26px;
	}

	h5 {
		font-size: 20px;
	}

	h6 {
		font-size: 18px;
	}

	.nav {
		font-size: 15px;
	}

	.nav li + li {
		margin-left: 1.8%;
	}

	.header::after {
		border-right: 70px solid transparent;
		border-top: 102px solid #fff;
	}

	.logo-outer::after {
		right: -95px;
	}

	.intro-image {
		height: 950px;
	}

	.intro-section-secondary .intro-image {
		height: 475px;
	}

	.intro-section-primary .intro-content h5,
	.intro-section-primary {
		font-size: 20px;
	}

	.intro-section-primary .intro-content-inner {
		padding: 80px 40px 40px;
	}

	.intro-content-secondary {
		width: 50%;
	}

	.intro-content-secondary .intro-content-inner {
		padding-bottom: 40px;
	}

	.feature-head {
		padding: 50px 10px 20px 20px;
	}

	.feature-body img.alignleft {
		width: 50%;
		height: auto;
		float: none;
		position: relative;
		left: 50%;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
	}

	.feature-body p em {
		display: block;
		padding: 0 8%;
		text-align: center;
		margin-top: 15px;
	}

	.subscribe {
		padding-right: 38%;
	}

	.footer-content {
		margin-bottom: 25px;
	}

	.footer-bar {
		padding: 10px 0;
	}

	.footer {
		padding-top: 25px;
		margin-top: 85px;
	}
}

@media screen and (max-width: 1440px) {
	header .logo img {
		margin-top: -20px;
	}
}

@media (max-width: 980px) {
  .slogan {
    flex-direction: column;
  }

  .slogan-title,
  .slogan-content {
    width: 100%;
    margin-left: 0;
    padding-right: 0;
    text-align: left;
  }

  .slogan-title {
    justify-content: center;
    padding: 24px 20px;
  }

  .slogan-content {
    clip-path: none;
    padding-bottom: 24px;
  }

  .slogan-content .slogan-inner {
    padding: 24px 20px;
	font-size: 16px;
  }
}


@media only screen and (max-width: 985px) {
	body {
		line-height: 1.4;
	}

	.header {
		height: 87px;
		background: url(images/dark-bg.png) repeat 0 0;
	}

	.header::before {
		width: 33%;
	}

	.header::after {
		left: 33%;
	}

	.logo-outer {
		width: 30%;
	}

	.nav {
		display: none;
		width: 100%;
		position: absolute;
		top: 100%;
		left: 0;
		margin: 0;
		padding: 0;
		text-align: center;
	}

	.nav ul {
		background: #0a4366;
	}

	.nav li {
		display: block;
		border-bottom: 1px solid #fff;
	}

	.nav li + li {
		margin: 0;
	}

	.nav a {
		display: block;
		padding: 10px;
		text-align: center;
	}

	.sub-menu::before {
		display: none;
	}

	.nav li:hover .sub-menu {
		opacity: 0;
		visibility: hidden;
	}

	.nav .sub-menu {
		transform: translateX(0px);
		-webkit-transform: translateX(0px);
		width: 100%;
	}

	.nav .sub-menu-visible .sub-menu {
		position: static;
		display: block;
		opacity: 1;
		visibility: visible;
		padding: 0;
	}

	.nav .sub-menu-visible:hover .sub-menu {
		opacity: 1;
		visibility: visible;
	}

	.nav .sub-menu li {
		border-bottom: 0;
		border-top: 1px solid #fff;
		background: #41b5c5;
		padding: 0;
	}

	.menu-visible .nav {
		display: block;
	}

	.link-nav {
		display: block;
		right: 24px;
		top: 29px;
		background: url(images/nav.png) no-repeat 0 0;
		display: inline-block;
		height: 35px;
		width: 45px;
		position: absolute;
		-webkit-background-size: 45px 35px;
		background-size: 45px 35px;
	}

	.link-nav:hover {
		opacity: 0.85;
	}

	.intro {
		border-bottom: 0;
	}

	.intro .col-1of2 {
		width: 100%;
		float: none;
	}

	.intro-image,
	.intro-section-secondary .intro-image {
		height: 400px;
	}

	.intro-content::after {
		left: auto;
		bottom: 100%;
		right: 72px;
		border-bottom: 18px solid rgba(65, 181, 197, 0.85);
		border-left: 18px solid transparent;
		border-right: 18px solid transparent;
	}

	.intro-section-primary .intro-content h5,
	.intro-section-primary {
		font-size: 18px;
	}

	.intro-section-primary h2 {
		font-size: 26px;
	}

	.intro-section-primary .intro-content {
		height: 40%;
	}

	.intro-section-primary .intro-content::after {
		display: inline-block;
	}

	.intro-section-primary .intro-content-inner:after {
		display: none;
	}

	.intro-section-primary .intro-content-inner {
		margin: 0;
		padding: 15px 40px;
		position: absolute;
		bottom: 0;
		right: 0;
	}

	.intro-content-secondary {
		width: 100%;
		height: 40%;
		top: auto;
		bottom: 0;
		text-align: right;
	}

	.intro-content-secondary .intro-content-inner {
		margin: 0;
		padding: 15px 40px;
	}

	.intro-entry p {
		display: none;
	}

	.slogan {
		padding-bottom: 0;
		text-align: center;
		padding-top: 15px;
	}

	.slogan-title {
		padding: 0;
		margin: 0;
		text-align: center;
		padding-bottom: 15px;
	}

	.features {
		padding: 0 2%;
	}

	.feature-head {
		padding-top: 20px;
		/* margin-bottom: <45></45>px; */
	}

	.feature-head::after {
		border-left: 16px solid transparent;
		border-right: 16px solid transparent;
		border-top: 15px solid #268d9b;
	}

	.list-info-items ul li {
		margin-left: 30px;
	}

	.list-info-items ul li::before {
		transform: scale(0.5);
		-webkit-transform: scale(0.5);
		left: -33px;
	}

	.article-entry blockquote {
		font-size: 24px;
	}

	.subscribe {
		padding-right: 45%;
	}

	.footer-col .footer-widgettitle {
		padding: 3px 0 2px;
	}

	.footer-col.widget_nav_menu .footer-widgettitle + div {
		line-height: 1.4;
	}

	.searchform .searchsubmit, .gform_wrapper .gform_button {
	   display: block;
	   width: 100%;
	   text-align: center;
	}
}

@media only screen and (max-width: 850px) {
	.header::before {
		width: 43%;
	}

	.header::after {
		left: 43%;
	}

	.logo-outer {
		width: 40%;
	}

	.features {
		padding: 0;
	}

	.feature {
		width: 100%;
		float: none;
	}

	.feature + .feature .feature-head {
		border: none;
	}

	.feature-head {
		padding-left: 35px;
		margin-bottom: 40px;
	}

	.feature-body {
		padding: 0 25px;
	}

	.list-info-items ul li {
		padding-bottom: 25px;
		margin-bottom: 25px;
	}

	.content {
		width: 100%;
		float: none;
		background: #fff;
	}

	.sidebar {
		width: 100%;
		float: none;
	}

	.sidebar::after {
		display: none;
	}

	.widgettitle::before {
		border-top-color: #fff;
	}

	.main-head-image {
		width: 39%;
		max-width: 350px;
		height: 200px;
	}

	.single-grant_highlights .main-head-image {
		width: 350px;
		height: 200px;
	}

	.main-head-content {
		padding-right: 38%;
	}

	.main-head .shell {
		padding-top: 50px;
		padding-bottom: 30px;
	}

	.footer {
		margin-top: 100px;
		padding: 0;
	}

	.footer::before {
		height: 36px;
	}

	.footer-content {
		display: none;
	}

	.socials li {
		margin: 17px 9px;
	}

	.footer .socials {
		height: 65px;
		text-align: center;
	}

	.subscribe {
		padding: 0;
		margin: 0;
	}

	.footer-logo-outer {
		position: static;
		width: 100%;
		height: auto;
		padding: 0;
	}

	.footer-logo {
		margin: 0;
		padding: 0 35px;
	}

	.footer-logo img {
		width: 100%;
		height: auto;
	}

	.subscribe .gform_wrapper .gform_button {
		font-size: 18px;
		width: 100%;
		padding-top: 13px;
		padding-bottom: 13px;
	}

	.copyright {
		text-align: center;
	}

	.footer .socials:before {
		border-bottom: 65px solid #41b5c5;
		border-left: 65px solid transparent;
	}
}

@media only screen and (max-width: 479px) {
	body {
		font-size: 16px;
	}

	.intro-content h5,
	.intro-section-primary .intro-content h5,
	.intro-section-primary {
		font-size: 16px;
	}

	.intro-section-primary h2 {
		font-size: 20px;
	}

	.slogan-content .slogan-inner {
		font-size: 16px;
	}

	.feature-head h6 {
		font-size: 21px;
	}

	h5.update-title {
		font-size: 21px;
	}

	.main-head p {
		font-size: 18px;
	}

	h1 {
		font-size: 24px;
	}

	h2 {
		font-size: 28px;
	}

	h3 {
		font-size: 24px;
	}

	h4 {
		font-size: 20px;
	}

	h5 {
		font-size: 18px;
	}

	h6 {
		font-size: 16px;
	}

	.header {
		height: 60px;
	}

	.header:before {
		padding-bottom: 9px;
	}

	.header::after {
		border-right: 33px solid transparent;
		border-top: 69px solid #fff;
	}

	.header::before {
		width: 70%;
	}

	.header::after {
		left: 70%;
	}

	.logo-outer {
		width: 69%;
	}

	.logo {
		padding-top: 12px;
		padding-left: 15px;
	}

	.link-nav {
		height: 28px;
		width: 38px;
		position: absolute;
		-webkit-background-size: 38px 28px;
		background-size: 38px 28px;
		top: 15px;
		right: 14px;
	}

	.intro-section-primary .intro-content::after,
	.intro-content::after {
		right: 17px;
	}

	.intro-content h1,
	.intro-content h2,
	.intro-content h3,
	.intro-content h4,
	.intro-content h6,
	.intro-section-primary h1,
	.intro-section-primary h2,
	.intro-section-primary h3,
	.intro-section-primary h4,
	.intro-section-primary h5,
	.intro-section-primary h6 {
		padding: 0;
	}

	.intro-image,
	.intro-section-secondary .intro-image {
		height: 290px;
	}

	.intro-content-secondary,
	.intro-section-primary .intro-content {
		height: 36%;
	}

	.intro-section-primary .intro-content-inner,
	.intro-content-secondary .intro-content-inner {
		padding: 18px 14px 18px 0;
	}

	.intro-content::after {
		border-bottom: 14px solid rgba(65, 181, 197, 0.85);
		border-left: 12px solid transparent;
		border-right: 12px solid transparent;
	}

	.slogan-content {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.feature-head {
		padding: 26px 10px 29px 30px;
	}

	.feature-head::after {
		left: 30px;
		border-left: 20px solid transparent;
		border-right: 20px solid transparent;
		border-top: 20px solid #268d9b;
	}

	.update-entry {
		display: none;
	}

	.updates {
		padding-left: 6px;
	}

	.list-info-items ul li:before {
		left: -45px;
		transform: scale(1);
		-webkit-transform: scale(1);
	}

	.list-info-items ul li {
		margin-left: 40px;
	}

	.list-info-items ul h6 {
		font-size: 16px;
	}

	.feature-body em {
		font-size: 22px;
	}

	.feature-body img.alignleft {
		width: 90%;
		left: 0;
		transform: translateX(5%);
		-webkit-transform: translateX(5%);
	}

	.hidden-title {
		display: block;
		visibility: visible;
		color: #0a4366;
		text-align: center;
		margin-top: 15px;
	}

	.main-body .shell {
		padding: 0 30px;
	}

	.main-head .main-title {
		padding-bottom: 10px;
		margin-bottom: 10px;
	}

	.main-head .shell {
		padding-top: 35px;
		padding-bottom: 15px;
	}

	.main-head {
		margin-bottom: 30px;
	}

	.main-head-image {
		display: none;
	}

	.main-head-content {
		padding-right: 15px;
		padding-left: 15px;
	}

	img.alignleft,
	img.alignright {
		width: 100%;
		margin: 0;
		margin-bottom: 10px;
	}

	.footer .socials {
		width: 53%;
	}

	.socials img {
		transform: scale(0.8);
		-webkit-transform: scale(0.8);
	}

	.subscribe h5 {
		text-indent: 0;
		padding-left: 10px;
	}

	.copyright {
		font-size: 12px;
		padding-left: 0;
		padding-right: 0;
	}
}

@media only screen and (min-width: 1226px) and (max-width: 1457px) {
	span.s1 a {
		font-size: 16px !important;
	}
}

.entry-utility {
	display: none;
}

.postmetadata {
	display: none;
}

span.s1 a {
	font-size: 18px;
}

/*new highlights sidebar */

h5.widgettitle.highlight {
	background: #41b5c5;
}

.sidebar .widget:first-child {
	margin-bottom: 20px;
}

li.sf-level-1.sf-item-23 {
	border: none !important;
	padding: 5px;
	margin-left: -5px;
}

/* ----- Gs CODE ----- */

.nested-list li {
	margin-bottom: 1em;
}

.col-1 {
	margin-right: 2%;
}

.two-col {
	width: 49%;
	float: left;
}

.blog .main-head-image {
	background-image: url(/wp-content/uploads/2021/01/lighthouse-banner.jpg) !important;
}

.blog .post-title,
.single .post-title {
	font-size: 1.8em;
}

.blog .entry p:not(:first-child) {
	display: none;
}

.article-entry .nav-single {
	display: flex;
	justify-content: space-between;
	line-height: 1.2em;
}

.article-entry .nav-single .alignleft {
	margin-right: 25px;
}

.article-entry .nav-single .alignleft,
.article-entry .nav-single .alignright {
	display: flex;
	align-items: center;
}

.article-entry .nav-single .alignleft > *,
.article-entry .nav-single .alignright > * {
	font-size: 18px;
	margin: 0px 10px;
}

video {
	display: block;
	width: 100%;
}

.textwidget p {
   line-height: 1.4em;
}

.widget h6 {
   margin-bottom: 10px!important;
   color: #0d5e8e;
}

@media only screen and (max-width: 768px) {
	.two-col {
		width: 100%;
		float: none;
	}

	.article-entry .nav-single {
		display: block;
	}

	.article-entry .nav-single .alignleft {
		margin-right: 0px;
		margin-bottom: 1em;
	}
	header .logo img {
		margin-top: 0;
        max-width: 215px;
    }
}
@media only screen and (max-width: 480px){
	header .logo img {
        max-width: 165px;
    }
}