* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
  color: #494b4d;
  font: 400 16px 'Montserrat', sans-serif;
  min-height: 100%;
  position: relative;
}

h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 0.75em;
}

h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 0.9em;
}

h3 {
  font-size: 32px;
  font-weight: 800;
  margin: 1em 0 0.5em 0;
}

h4 {
  font-size: 24px;
  font-weight: 800;
  margin: 1.333em 0 0.667em 0;
}

h5 {
  font-size: 18px;
  font-weight: 600;
}

p {
  line-height: 1.8em;
  margin: 1em 0;
}

p:first-of-type { margin-top: 0; }

p:last-of-type { margin-bottom: 0; }

p.larger {
  font-size: 18px;
  font-weight: 400;
}

a { transition: 300ms; }

img {
  max-width: 100%;
  vertical-align: middle !important;
}

strong { font-weight: 800; }

.button {
  background-color: #396279;
  border-radius: 26px;
  color: #fff !important;
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 30px;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover { background-color: #193545; }

.button-wrapper { margin-top: 2em; }

.pull-left {
	float: left;
	margin: 0 2em 1em 0;
}

.pull-right {
	float: right;
	margin: 0 0 1em 2em;
}

.divider {
  color: #396279;
  margin: 120px auto;
  max-width: 1600px;
  padding: 0 20px;
  text-align: center;
}

.divider h2 { margin: 0; }

ul.no-bullets {
  line-height: 1.5em;
  list-style: none;
  margin: 1.5em 0;
}

ul.checkmark,
ul.checkmark-circle,
ul.cross {
  list-style: none;
  margin: 1.5em 0;
}

ul.checkmark-circle li {
  background: url("../images/checkmark-circle.png") left top no-repeat;
  min-height: 22px;
  margin-bottom: 20px;
  padding-left: 32px; 
}

ul.checkmark li,
ul.cross li {
  line-height: 1.5em;
  margin-bottom: 1em;
  min-height: 28px;
  padding-left: 39px;
}

ul.checkmark li { background: url("../images/check.png") left top no-repeat; }

ul.cross li { background: url("../images/cross.png") left top no-repeat; }

.hide { opacity: 0; }

/* ==========================================================================
   Header
   ========================================================================== */

header {
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr;
  margin: 0 auto;
  max-width: 1600px;
  padding: 40px 20px;
}

#menu-main-menu {
  display: flex;
  flex-flow: row nowrap;
  gap: 50px;
  justify-content: end;
  list-style: none;
}

#menu-main-menu a {
  color: #fff;
  display: block;
  font-weight: 600;
  text-decoration: none;
}

#menu-main-menu a::after {
  border-bottom: 3px solid #a8c5d6;
  content: '';
  display: block;
  padding-bottom: 7px;
  transform: scaleX(0);
  transition: transform 300ms ease-in-out;
}

#menu-main-menu a:hover::after { transform: scaleX(0.9); }

/* ==========================================================================
   Banner
   ========================================================================== */

.banner-wrapper {
  background: #1f3c4d url("../images/header-bg.png") center bottom no-repeat;
  background-size: cover;
  box-sizing: border-box;
  height: 870px;
  margin: -132px 0 120px;
  padding-top: 132px;
}

.banner {
  color: #fff;
  display: grid;
  gap: 20px 80px;
  grid-template-columns: 7fr 10fr;
  margin: 0 auto;
  max-width: 1600px;
  padding: 0 20px;
  place-items: center;
}

.banner h1 {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 0.5em;
}

.banner h3 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.5em;
  margin-bottom: 0; 
}

.banner img { max-width: 100%; }

.banner-1 { grid-template-columns: 9fr 10fr; }

.banner-1 h1 { font-size: 60px; }

.banner-1 h3 { font-size: 24px; }

/* ==========================================================================
   Content
   ========================================================================== */

.content,
.section {
  margin: 120px auto;
  max-width: 1600px;
  padding: 0 20px;
}

.section.smaller { max-width: 1360px; }

.center { text-align: center; }

.center ul[class*="col"] { justify-content: center; }

.intro {
  margin-bottom: 60px;
  text-align: center;
}

.end {
  margin-top: 60px;
  text-align: center;
}

.left-image,
.right-image {
  display: grid;
  gap: 20px 80px;
  place-items: center start;
}

.left-image { grid-template-columns: auto 1fr; }

.right-image { grid-template-columns: 1fr auto; }

ul { text-align: left; }

ul:last-child { margin-bottom: 0; }

ul[class*="col"] {
  display: grid;
  gap: 20px 80px;
}

ul[class*="col"] li { margin: 0; }

ul.col-1 { grid-template-columns: auto; }

ul.col-2 { grid-template-columns: repeat(2, auto); }

ul.col-5 { grid-template-columns: repeat(5, auto); }

.flex {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  gap: 30px 80px;
  justify-content: center;
}

.grid { display: grid; }

.grid.grid-2 { grid-template-columns: repeat(auto-fit, minmax(600px, 1fr)); }

.grid.grid-3 { grid-template-columns: repeat(auto-fit, minmax(480px, 1fr)); }

.grid.grid-5 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.grid.gap-40 { gap: 40px; }

.grid.gap-80 { gap: 80px; }

.grid.border .grid-item {
  border: 1px solid #e1e1e1;
  padding: 30px;
}

.grid.side-icon .grid-item {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: auto 1fr;
}

.grid.side-icon .text :first-child { margin-top: 0; }

.icon {
  margin-bottom: 2em;
  position: relative;
}

.icon img {
  position: relative;
  z-index: 1;
}

.icon.shadow {
  display: inline-block;
  margin: 0;
  padding: 10px 10px 0 0;
}

.icon.shadow::after {
  border: 50px solid rgba(114,158,184,0.25);
  border-radius: 50px;
  content: ' ';
  position: absolute;
    top: 0;
    left: 0;
  z-index: 0;
}

.icon.shadow.large { padding: 20px 20px 0 0; }

.icon.shadow.large::after {
  border: 60px solid rgba(114,158,184,0.25);
  border-radius: 60px;
}

h4.n2-ss-text { margin: 1em 0 !important; }

p.n2-font-2ce73cef478e490909610ee25a66d13b-paragraph { columns: 2; }

p.n2-font-2ce73cef478e490909610ee25a66d13b-paragraph br { margin: 0.25em; }

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

.fm-header-title {
  font-size: 40px !important;
  font-weight: 800;
  margin-bottom: 0;
}

.fm_empty_margin { margin-top: 0 !important; }

.fm-form-container.fm-theme1 .fm-form,
input[type="text"],
textarea { font-family: 'Montserrat', sans-serif !important; }

.fm-form-container.fm-theme1 .fm-form .button-submit {
  font: 700 16px 'Montserrat', sans-serif;
  text-transform: uppercase;
}

.iti { display: block !important; }

.fm-form .wd-flex { display: block !important; }

.fm-form .fm-header-bg, .fm-form .wdform-field:not([type="type_hidden"]) { padding: 10px 0 !important; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-wrapper { background-color: #396279; }

.footer {
  color: #fff;
  display: grid;
  gap: 40px 80px;
  grid-template-columns: 1fr repeat(4, max-content);
  margin: 0 auto;
  max-width: 1600px;
  padding: 60px 20px;
}

.footer-menu ul { list-style: none; }

.footer-menu li { margin-bottom: 0.6em; }

.footer-menu li:last-child { margin-bottom: 0; }

.footer h5 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 1em;
}

.footer a {
  color: #fff;
  display: block;
  text-decoration: none;
}

.footer .contact { text-align: right; }

.footer .logo { margin-bottom: 1.5em; }

.footer .tagline { margin-bottom: 30px; }

.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media only screen  
and (max-width : 1499px) {

#homepage header { height: auto; }

.banner {
  grid-template-columns: auto;
  margin: 30px auto 80px;
}

.banner .text {
  grid-row: 2;
  text-align: center;
}

#homepage .content {
  grid-template-columns: auto;
  justify-items: center;
  text-align: center;
}

.section3 .grid { grid-template-columns: auto; }

.section3 .image { display: none; }

}

@media only screen  
and (max-width : 1023px) {

.banner h1 { font-size: 48px; }

.banner h3 { font-size: 32px; }

.banner h3 span { font-size: 36px; }

h1, h2 { font-size: 40px; }

.left-image,
.right-image { grid-template-columns: auto; }

}

@media only screen  
and (max-width : 767px) {

nav { display: none; }

header { height: 640px; }

.banner { margin: 60px auto; }

.banner h1 { font-size: 36px; }

.banner h3 { font-size: 24px; }

.banner h3 span { font-size: 32px; }

h1, h2 { font-size: 32px; }

.divider { margin: 60px auto; }

.content,
.section1,
.section2,
.section3,
.section4 {
  grid-template-columns: auto;
  margin: 80px auto;
}

.section1 h2,
.section2 h2 { text-align: center; }

.section1 .grid,
.section2 .grid,
.section8 .grid {
  gap: 40px;
  grid-template-columns: auto;
}

.section8 .grid-item ul { grid-template-columns: auto; }

.section4 .grid { display: block; }

.section4 .slideshow { margin-bottom: 40px; }

.section4 h3 { font-size: 24px; }

.section1 .grid-item {
  grid-template-columns: auto;
  justify-items: center;
}

.section1 .grid-item .text { text-align: center; }

.footer {
  grid-template-columns: auto;
  text-align: center;
}

.bottom-menu { justify-self: center; }

.footer .contact { text-align: center; }

}