:root {
  --border: #e1e1e1;
  --light-blue: #0291bf;
  --blue: #0275a6;
}

* {
  margin: 0;
  padding: 0;
}

html { height: 100%; }

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

h1, h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1em;
  margin-bottom: 1em;
  text-transform: uppercase;
}

h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1em;
  margin: 1em 0;
  text-transform: uppercase;
}

h4 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1em;
  margin: 1em 0;
  text-transform: uppercase;
}

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; }

.button {
  background-color: var(--blue);
  color: #fff !important;
  display: inline-block;
  font-size: 21px;
  font-weight: 700 !important;
  padding: 11px 40px 10px 40px;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover { background-color: #072b4f !important; }

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

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

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

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

header {
  background-color: #fff;
  position: relative;
}

header .logo { padding: 15px 20px; }

header .main-menu { background-color: #e1e1e1; }

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

#menu-main-menu a {
  color: #313131;
  display: block;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  transition: 300ms;
}

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

.contact {
  background: url("../images/bg.png") left center no-repeat;
  box-sizing: border-box;
  color: #fff;
  height: 272px;
  padding: 30px 58px 30px 205px;
  position: absolute;
    top: 0;
    right: 0;
  text-align: right;
  width: 579px;
}

.service {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.phone {
  font-size: 36px;
  font-weight: 700;
}

.contact .button { margin: 24px 0; }

.contact .social {
  display: flex;
  flex-flow: row nowrap;
  gap: 10px;
  justify-content: flex-end;
}

.fa-brands {
  background-color: #fff;
  border-radius: 5px;
	color: var(--light-blue);
	font-size: 24px;
	padding: 6px 3px;
}

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

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

#openMenu.open {
  background-color: #072b4f;
  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 img { max-width: 100%; }

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

.frontpage-wrapper {
  color: #59666a;
  display: grid;
  gap: 40px 80px;
  grid-template-columns: 10fr 9fr;
  margin: 0 auto;
  max-width: 1600px;
  padding: 80px 20px;
}

.frontpage a {
  color: var(--blue);
  font-weight: 500;
}

.frontpage h1,
.frontpage h2 { color: #072b4f; }

.services {
  background-color: var(--light-blue);
  color: #fff;
  display: inline-block;
  margin-bottom: 20px;
  padding: 30px;
  text-align: center;
}

.services h3 { margin: 0 0 0.5em 0; }

.commercial { background-color: var(--blue); }

.commercial .button { background-color: var(--light-blue); }

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

.content a {
  color: var(--blue);
  font-weight: 500;
}

.content h1,
.content h2 { color: #072b4f; }

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

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

.content hr {
  background-color: var(--border);
  border: none;
  height: 1px;
  margin: 2em 0;
}

.content .bwg_container { margin: 0; }

.content div[id^="bwg_container1_"] div[id^="bwg_container2_"] div[class^="bwg_gal_title_"] { text-transform: uppercase; }

.content div[id^="bwg_container1_"] div[id^="bwg_container2_"] .bwg-album-thumbnails .bwg-item { margin-bottom: 20px !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: 'Montserrat', sans-serif !important;
  font-weight: 400;
}

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

.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; }

.section3 .fm-form-container.fm-theme1 .fm-form .button-submit {
  text-transform: uppercase;
  transition: 300ms;
  width: 100%;
}

.section3 .fm-form-container.fm-theme1 .fm-form .button-submit:hover { background-color: var(--dark-blue) !important; }

.section3 .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: 700 32px "Montserrat", serif !important;
  text-transform: uppercase;
}

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

.section1-wrapper {
  background: url("../images/divider.png") center top no-repeat;
  padding-top: 62px;
}

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

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

}

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

.section1 h4 { color: #59666a; }

.tagline h2 {
  color: var(--light-blue);
  margin: 60px 0;
  text-align: center;
}

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

.section2-wrapper { background-color: var(--blue); }

.section2 {
  color: #fff;
  margin: 0 auto;
  max-width: 900px;
  padding: 60px 20px;
  text-align: center;
}

.section2 p {
  font-size: 30px;
  font-weight: 500;
}

.section2 .button { background-color: var(--light-blue); }

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

.section3 {
  align-items: center;
  color: #59666a;
  display: grid;
  gap: 80px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin: 80px auto;
  max-width: 1600px;
  padding: 0 20px;
}

.section3 h1,
.section3 h2 { color: #072b4f; }

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

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

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

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

.footer h3 { margin-top: 0; }

#menu-bottom-menu {
  font-size: 18px;
  line-height: 1.5em;
  list-style: none;
}

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

#menu-bottom-menu a:hover { color: var(--light-blue); }

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

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

header {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr auto;
}

.contact {
  height: auto;
  position: relative;
}

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

#menu-main-menu { justify-content: center; }

}

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

body { padding-bottom: 0 !important; }

.button {
  font-size: 18px;
  padding: 11px 30px 10px 30px;
}

.contact {
  padding: 30px 30px 30px 180px;
  width: auto;
}

.service { font-size: 16px; }

.phone { font-size: 30px; }

.frontpage-wrapper,
.section3 { grid-template-columns: auto; }

.footer-wrapper { position: relative; }

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

}

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

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

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

.contact {
  background-color: var(--light-blue);
  background-image: none;
  padding: 30px 20px;
  text-align: inherit;
}

.contact .social { justify-content: center; }

.main-menu { display: none; }

#openMenu { display: block; }

.banner { display: none; }

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

.section2 p { font-size: 24px; }

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

}