:root {
  --border: #d1d1d1;
  --green: #007837;
}

* {
  margin: 0;
  padding: 0;
}

html { height: 100%; }

body {
  box-sizing: border-box;
  font: 300 18px 'Work Sans', sans-serif;
  font-optical-sizing: auto;
  min-height: 100%;
  padding-bottom: 238px !important;
  position: relative;
}

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

h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1em;
  margin: 1.52em 0 1em 0;
  text-transform: uppercase;
}

h4 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1em;
  margin: 1em 0;
}

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

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

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

p.larger {
  color: #ef8812;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
}

a { transition: 300ms; }

img { vertical-align: middle; }

strong { font-weight: 500; }

.button {
  background-color: #2a2b33;
  border-radius: 5px;
  color: #fff !important;
  display: inline-block;
  font-weight: 400;
  padding: 13px 30px 14px 30px;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover { background-color: #595a66; }

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

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

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

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

header {
  background-color: #fff;
  border-bottom: 10px solid var(--green);
  display: grid;
  gap: 20px 40px;
  grid-template-columns: auto 1fr;
  grid-template-rows: repeat(2, auto);
  padding: 20px 40px;
  place-items: center end;
}

header ul { list-style: none; }

header a {
  display: block;
  text-decoration: none;
}

.logo { grid-row: 1 / span 2; }

.top {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  gap: 20px 30px;
}

#menu-top-menu {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  gap: 10px 30px;
}

#menu-top-menu a {
  color: #595a66;
  font-size: 16px;
  font-weight: 500;
}

#menu-top-menu a:hover { color: #2a2b33; }

#menu-main-menu {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  gap: 20px 40px;
}

#menu-main-menu a {
  color: #2a2b33;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

#menu-main-menu a:hover { color: var(--green); }

.fa-facebook-f {
	background-color: #2f71b3;
	border-radius: 5px;
	color: #fff;
	padding: 7px 5px;
}

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

#mainMenu {
  background-color: #2a2b33;
  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 Toggle
    ========================================================================== */
  
#openMenu {
  background-color: #2a2b33;
  display: none;
  padding: 20px 15px;
  position: fixed;
    top: 0;
    right: 0;
  transition: .5s;
  width: 41px;
  z-index: 999;
}

#openMenu.open {
  background-color: #2a2b33;
  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; }

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

.banner .text {
  color: #fff;
  margin-top: -100px;
  position: absolute;
    top: 50%;
    right: 0;
    left: 0;
  text-align: center;
}

.banner h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 26px;
}

.banner h4 {
  font-size: 30px;
  margin: 0 0 35px 0;
}

.banner .button-wrapper {
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
  justify-content: center;
}

.banner .button {
  background-color: var(--green);
  font-size: 18px;
}

.banner .button.grey {
  background-color: #f1f1f1;
  color: #000 !important;
}

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

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

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

.section1 .grid-item {
  padding-bottom: 81px;
  position: relative;
  text-align: center;
}

.section1 h3 { color: #2a2b33; }

.section1 .button-wrapper {
  position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

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

.section2 {
  margin: 80px auto;
  max-width: 1200px;
  padding: 0 20px;
}

/* ==========================================================================
   Frontpage
   ========================================================================== */

.frontpage-wrapper {
  background-color: #303c48;
  color: #fff;
}

.frontpage {
  display: grid;
  grid-template-columns: auto 740px 860px auto;
}

.frontpage .text {
  grid-column: 3;
  padding: 56px 0 60px 60px;
}

.frontpage .image {
  background: url("../images/hvac-repair.jpg") center top no-repeat;
  background-size: cover;
  grid-column: 1 / span 2;
}

.frontpage .button {
  background-color: #fff;
  color: #303c48 !important;
  font-weight: 500;
}

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

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

.content a {
  color: var(--green);
  font-weight: 400;
}

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

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

.content .cols {
  display: grid;
  gap: 0 60px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.bwg_container { margin-top: 2em !important; }

/* ==========================================================================
   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: 'Work 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 0 10px !important; }

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

.wdform_footer { display: none; }

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

.section2 .fm-form-container.fm-theme1 .fm-form .fm-header-bg { padding-top: 0 !important; }

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

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

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

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

.footer {
  color: #fff;
  margin: 0 auto;
  max-width: 1600px;
  padding: 36px 20px;
  text-align: center;
}

.footer .bottom-menu { margin-bottom: 26px; }

#menu-bottom-menu {
  display: flex;
  flex-flow: row wrap;
  gap: 20px 30px;
  justify-content: center;
  list-style: none;
}

.bottom-menu a {
  color: #fff;
  display: block;
  font-weight: 400;
  text-decoration: none;
}

.footer .logo { margin-bottom: 26px; }

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

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

.frontpage .text {
  grid-column: 2;
  padding: 40px;
}

.frontpage .image { grid-column: 1; }

}

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

header {
  grid-template-columns: auto 1fr;
  grid-template-rows: repeat(2, auto);
  padding: 20px;
}

.logo { grid-row: 1; }

.main-menu {
  grid-column: 1 / span 2;
  justify-self: center;
}

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

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

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

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

}

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

body { padding-bottom: 0 !important; }

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

.main-menu,
.banner .text { display: none; }

#openMenu { display: block; }

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

.top { justify-content: center; }

#menu-top-menu { gap: 20px; }

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

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

.footer-wrapper { position: relative; }
  
.frontpage .image { display: none; }
  
.frontpage .text { padding: 60px 20px; }

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

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

.section1,
.section2,
.content { margin: 60px auto; }
  
}