:root {
  --border: #d1d1d1;
}

* {
  margin: 0;
  padding: 0;
}

html { height: 100%; }

body {
  background-color: #fff;
  box-sizing: border-box;
  font: 300 16px 'Open Sans', sans-serif;
  font-optical-sizing: auto;
  min-height: 100%;
  padding-bottom: 580px !important;
  position: relative;
}

h1, h2 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1em;
  margin-bottom: 1em;
}

h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1em;
  margin: 1em 0 0.75em 0;
}

h4 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1em;
  margin: 1em 0 0.8em 0;
  text-transform: uppercase;
}

h5 {
  font-size: 18px;
  font-weight: 400;
  margin: 1em 0 0.889em 0;
}

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

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

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

a { transition: 300ms; }

img { vertical-align: middle; }

strong { font-weight: 400; }

li.button a,
a.button {
  background-color: #7e7e7f;
  border-radius: 5px;
  color: #fff !important;
  display: inline-block;
  font-size: 18px;
  font-weight: 400 !important;
  padding: 13px 30px !important;
  text-decoration: none;
  text-transform: uppercase;
}

li.button a:hover,
a.button:hover { background-color: #646466; }

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

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

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

.header-wrapper {
  box-shadow: 0 3px rgba(0,0,0,0.15);
  position: relative;
  z-index: 100;
}

.header-wrapper .contact {
  background-color: #313131;
  color: #d9d9d9;
  display: flex;
  flex-flow: row wrap;
  gap: 10px 40px;
  justify-content: flex-end;
  padding: 14px 40px;
  text-align: center;
}

.header-wrapper .contact a {
  color: #d9d9d9;
  text-decoration: none;
}

.header-wrapper .contact span {
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
}

.header {
  align-items: center;
  display: grid;
  gap: 10px 40px;
  grid-template-columns: auto 1fr;
  padding: 15px 40px;
}

#menu-main-menu {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  gap: 10px 30px;
  justify-content: flex-end;
  list-style: none;
}

#menu-main-menu a {
  display: block;
  text-decoration: none;
}

#menu-main-menu > li > a {
  color: #111;
  font-size: 18px;
  font-weight: 600;
  padding: 10px;
  text-transform: uppercase;
}

#menu-main-menu > li.menu-item-has-children {
	background: url("../images/menu-arrow.png") right center no-repeat;
	padding-right: 8px;
	transition: 300ms;
}

#menu-main-menu > li:hover > a { color: #7e7e7f; }

#menu-main-menu > li.menu-item-has-children:hover { background-image: url("../images/menu-arrow-hover.png"); }

#menu-main-menu > li:hover > ul { display: block; }

#menu-main-menu li > ul {
  background-color: rgba(0,0,0,0.85);
  display: none;
  list-style: none;
  padding: 15px 10px;
  position: absolute;
}

.main-menu li > ul a {
  border-radius: 3px;
  color: #d9d9d9;
  font-weight: 400;
  padding: 5px 10px;
}

.main-menu li > ul a:hover {
  background-color: #4b4b4d;
  color: #fff;
}

.renew { display: none; }

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

#mainMenu {
  background-color: #111;
  height: 100vh;
  overflow-x: hidden;
  position: fixed;
    top: 0;
    right: 0;
  transition: 1s;
  width: 0;
  z-index: 998;
}

#mainMenu.show { width: 100%; }

#mainMenu ul { list-style: none; }

.mobile-menu { margin: 30px; }

.mobile-menu a {
  color: #fff;
  display: block;
  font-size: 18px;
  margin: 20px 0;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-menu .button {
  background-color: transparent;
  color: #fff !important;
  font-weight: 300 !important;
  padding: 0 !important;
  text-transform: none;
}

/* ==========================================================================
    Mobile Menu Toggle
    ========================================================================== */
  
#openMenu {
  background-color: #111;
  display: none;
  padding: 20px 15px;
  position: fixed;
    top: 0;
    right: 0;
  transition: .5s;
  width: 41px;
  z-index: 999;
}

#openMenu.open {
  background-color: #111;
  color: #fff;
}

#menuTitle {
  position: relative;
  text-align: center;
  transition: .5s;
}
  
/* ==========================================================================
    Mobile Menu Icon Transition Effect
    ========================================================================== */
  
#btn {
  cursor: pointer;
  display: block;
  height: 30px;
  position: relative;
  transition: .5s;
  z-index: 200;
}

#btn .icon,
#btn .icon::before,
#btn .icon::after {
  background: #fff;
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  transition: top ease .5s .5s, transform ease .5s;
  width: 41px;
}

#btn .icon {
  top: 14px;
  left: 2px;
}

#btn .icon::before { top: -8px; }

#btn .icon::after { top: 8px; }

#btn.active .icon { background: transparent; }

#btn.active .icon::before { transform: rotate(45deg); }

#btn.active .icon::after { transform: rotate(-45deg); }

#btn.active .icon::before,
#btn.active .icon::after {
  background-color: #fff;
  top: 0;
  transition: top ease .5s, transform ease .5s .5s;
}

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

.banner {
  position: relative;
  z-index: 0;
}

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

.banner .button {
  font-size: 20px !important;
  padding: 15px 30px !important;
}

#wds_container1_0 #wds_container2_0 #wds_0_slide1_layer1 {
  display: block !important;
  width: 100%;
}

.banner div.banner-overlay {
  margin: 0 auto !important;
  padding: 0 20px !important;
  width: 1600px !important; 
}

.banner h1 {
	font: 600 60px 'Open Sans', sans-serif !important;
	line-height: 1em !important;
	margin: 10px 0 30px 0 !important;
}

.banner h4 {
	font: 400 30px 'Open Sans', sans-serif !important;
	margin: 0 0 10px 0 !important;
}

span[data-type="wds_text_parent"] * { padding: 0 !important; }

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

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

.content a { color: #646466; }

.content ul {
  line-height: 1.5em;
  margin: 1em 0;
  overflow: hidden;
}

.content li { margin-left: 1em; }

.content .no-bullet { list-style: none; }

.content .no-bullet li { margin-left: 0; }

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

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

.fm-header { display: block !important; }

.wdform_column { gap: 0 20px; }

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

.iti { display: block !important; }

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

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

.fm-form .fm-header-bg { padding: 0 !important; }

.wdform_section,
.wdform-element-section { margin: 0 !important; }

.wdform_footer { display: none; }

.fm-form-container.fm-theme1 .fm-form .button-submit {
  font: 400 18px 'Open Sans', sans-serif !important;
  transition: 300ms;
  width: 100%;
}

.fm-form-container.fm-theme1 .fm-form .fm-header-title {
  font: 400 36px "Open Sans", serif !important;
  line-height: 1em;
  margin-bottom: 1em;
}

.fm-form .fm-header-description {
  font-weight: 300;
  text-align: center !important;
}

/* ==========================================================================
   Section 1
   ========================================================================== */

.section1 {
  margin: 80px auto;
  max-width: 1600px;
  padding: 0 20px;
}

.section1 .grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-item {
  background-color: #646466;
  color: #fff;
  text-align: center;
}

.grid-item h3 {
  margin: 0;
  padding: 28px 20px;
}

.grid-item h3 a {
  color: #fff;
  text-decoration: none;
}

.grid-item img { width: 100%; }

/* ==========================================================================
   Section 2
   ========================================================================== */

.section2-wrapper {
  background-color: #313131;
  color: #fff;
}

.section2 {
  display: grid;
  grid-template-columns: auto 720px 880px auto;
}

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

.section2 ul {
  columns: 2;
  column-gap: 40px;
  list-style: none;
  margin: 2em 0 -1.25em;
}

.section2 li {
  align-items: center;
  display: flex;
  flex-flow: row nowrap;
  margin-bottom: 1.25em;
}

.section2 .icon { margin-right: 15px; }

.section2 .image {
  background: url("../images/weve-got-you-covered.jpg") center center no-repeat;
  background-size: cover;
  grid-column: 1 / span 2;
}

.section2 .text { padding: 60px 20px 60px 60px; }

/* ==========================================================================
   Section 3
   ========================================================================== */

.section3-wrapper { background-color: #e1e1e3; }

.section3 {
  margin: 0 auto;
  max-width: 1200px;
  padding: 80px 20px;
  text-align: center;
}

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

.footer-wrapper {
  background-color: #111;
  position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

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

.footer h4:first-child { margin-top: 0; }

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

.footer .nav li { margin-bottom: 0.5em; }

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

.footer .bottom-menu .button { display: none; }

.footer .contact {
  justify-self: end;
  text-align: right;
}

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

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

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

.section2 .text { padding: 40px; }

.section2 .image { grid-column: auto; }

}

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

body { padding-bottom: 0 !important; }

.header-wrapper .contact { justify-content: center; }

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

#menu-main-menu {
  gap: 10px 20px;
  justify-content: center;
}

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

.section2 .image { height: 50vw; }

.footer-wrapper { position: relative; }

.footer { grid-template-columns: repeat(3, auto); }

.footer .contact {
  grid-column: 1 / span 3;
  grid-row: 1;
  justify-self: start;
  text-align: left;
}

}

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

#menu-main-menu { gap: 10px; }

.banner h1 { font-size: 40px !important; }

.banner h4 { font-size: 20px !important; }

}

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

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

.pull-left,
.pull-right {
  float: none;
  margin: 1em 0;
}

#openMenu { display: block; }

.header { gap: 20px; }

.main-menu { display: none; }

.renew {
  display: block;
  padding-bottom: 20px;
  text-align: center;
}

.renew h3 { margin-top: 0; }

.renew img { border: 1px solid #d1d1d1; }

.banner { display: none; }

.section1,
.content { margin: 40px auto; }

.section2 .text,
.section3 { padding: 40px 20px; }

.section2 ul { columns: 1; }

.footer {
  grid-template-columns: auto;
  padding: 40px 20px;
}

.footer .contact { grid-column: 1; }

}