:root {
  --border: #d1d1d1;
  --light-blue: #45709b;
  --blue: #184a7b;
}

* {
  margin: 0;
  padding: 0;
}

html { height: 100%; }

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

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

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

h3:first-child { margin-top: 0; }

h4 {
  font-size: 24px;
  font-weight: 600;
  margin: 1em 0 0.667em 0;
}

h5 {
  font-size: 18px;
  font-weight: 700;
  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; }

strong { font-weight: 600; }

img {
  max-width: calc(100vw - 40px);
  vertical-align: middle;
}

a { transition: 300ms; }

.button {
  background-color: var(--blue);
  color: #fff !important;
  display: inline-block;
  font-weight: 400;
  padding: 12px 20px;
  text-decoration: none;
}

ul.checkmark {
  list-style: none;
  margin: 1em 0;
}

ul.checkmark li {
  background: url("../images/checkmark.png") left 1px no-repeat;
  line-height: 1.5em;
  margin-top: 8px;
  padding-left: 30px;
}

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

header {
  display: grid;
  gap: 25px 20px;
  grid-template-columns: auto 1fr;
  grid-template-rows: repeat(2, auto);
  margin: 0 auto;
  max-width: 1600px;
  padding: 25px 30px 21px 30px;
  place-items: center end;
}

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

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

.contact {
  align-items: center;
  color: #5a5e61;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  gap: 5px 30px;
}

.contact a {
  color: #5a5e61;
  text-decoration: none;
}

.contact a:hover { text-decoration: underline; }

.contact span {
  font-weight: 600;
  margin-right: 8px;
  text-transform: uppercase;
}

#menu-main-menu {
  display: flex;
  flex-flow: row nowrap;
  gap: 40px;
  list-style: none;
}

#menu-main-menu a {
  color: #292c2e;
  display: block;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

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

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

/* ==========================================================================
   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 {
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

.mobile-banner { display: none; }

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

.banner div[id*="wds_container1_"] div[id*="wds_container2_"] span[id*="wds_0_slide"] {
  display: block !important;
  height: 100% !important;
  width: 100% !important;
}

.banner .banner-overlay {
  align-items: center;
  display: flex;
  height: 100%;
  margin: 0 auto !important;
  max-width: 1600px;
  padding: 0 20px;
  text-align: left;
}

.banner .inner {
  margin: 0 !important;
  max-width: 40%;
}

.banner h2 {
  font-size: 60px !important;
  font-weight: 800;
  margin-bottom: 0.5em !important;
  padding: 0 !important;
}

.banner div[id^="wds_container"] p {
  color: #fff;
  font-size: 24px !important;
  font-weight: 300;
  line-height: normal;
  margin: 1.25em 0 !important;
}

.banner .button {
  background-color: #19abe1;
  font-size: 20px !important;
  font-weight: 400;
  padding: 15px 20px !important;
}

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

.frontpage {
  background-color: #45709b;
  color: #fff;
  display: grid;
  grid-template-columns: auto 900px 700px auto;
}

.frontpage .text {
  grid-column: 2;
  padding: 80px 60px 80px 0;
}

.frontpage .image {
  background: url("../images/welcome-to-bell-industries.jpg") right center no-repeat;
  background-size: cover;
  grid-column: 3 / span 2;
}

.section1 a { color: #19abe1; }

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

.section1 .grid {
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin: 80px auto;
  max-width: 1600px;
  padding: 0 20px;
}

.section1 .grid-item {
  border: 1px solid #d2d6d9;
  padding: 30px 30px 78px 30px;
  position: relative;
  text-align: center;
}

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

.section1 .button {
  display: block;
  font-size: 18px;
}

.section1 .image { margin-bottom: 30px; }

.section1 img {
  max-height: 230px;
  max-width: 100%;
}

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

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

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

.section2 .grid-item {
  border: 1px solid #d2d6d9;
  display: grid;
  grid-template-columns: 1fr 3fr;
}

.section2 .image {
  background: url("../images/our-signature-brand.jpg") center bottom no-repeat;
  background-size: cover;
}

.section2 .grid-item:nth-child(2) .image {
  background-image: url("../images/represented-manufacturers.jpg");
  background-position-y: center;
}

.section2 .text { padding: 30px; }

.section2 .button-wrapper { margin-top: 30px; }

.section2 h3 { margin-top: 0; }

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

.section3-wrapper { background: url("../images/oil-refinery.jpg") center center no-repeat; }

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

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

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

.content ul {
  margin: 1em 0;
  overflow: hidden;
}

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

.content a { color: #19abe1; }

.bwg_container { margin: 0 !important; }

.left-image {
  display: grid;
  gap: 30px 60px;
  grid-template-columns: auto 1fr;
}

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

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

.product-categories + *,
.products + * { margin-top: 2em; }

.product { text-align: center; }

.product .image { height: 300px; }

.product .image img {
  height: 100%;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.product h4 a {
  color: #000;
  text-decoration: none;
}

.product h4 a:hover { color: #19abe1; }

/* ==========================================================================
   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: 'Nunito 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 'Nunito Sans', sans-serif !important;
  transition: 300ms;
  width: 100%;
}

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

.content .fm-form-container.fm-theme1 {
  margin-top: 2em;
  max-width: 1200px;
}

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

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

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

.footer {
  color: #bfbfbf;
  padding: 40px 20px;
  text-align: center;
}

.footer .logo {
  display: block;
  margin: 30px 0;
}

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

#menu-bottom-menu a {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
}

#menu-bottom-menu a:hover { color: #19abe1; }

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

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

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

.frontpage .text {
  grid-column: auto;
  padding: 60px 20px;
}

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

.banner .inner { max-width: none; }

.banner h2 { font-size: 48px !important; }

}

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

header .logo { grid-row: auto; }

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

.section1 .grid,
.section2 .grid { gap: 20px; }

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

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

body {
  font-size: 16px;
  padding-bottom: 0 !important;
}

#menu-main-menu,
#menu-bottom-menu { gap: 10px 20px; }

#menu-main-menu a,
#menu-bottom-menu a { font-size: 16px; }

.banner h2 { font-size: 32px !important; }

.banner div[id^="wds_container"] p { font-size: 16px !important; }

.banner .button { font-size: 18px !important; }

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

.left-image .image {
  justify-self: center;
  max-width: calc(100vw - 40px);
}

.footer-wrapper { position: relative; }

}

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

.main-menu { display: none; }

#openMenu { display: block; }

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

.banner-overlay { display: none !important; }

.contact { justify-content: center; }

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

.frontpage .image {
  grid-row: 1;
  height: 50vw;
}

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

.section2 .image {
  grid-row: 1;
  height: 60vw;
}

}

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

.section1 .grid,
.product-categories,
.products { grid-template-columns: auto; }

}