* {
  margin: 0;
  padding: 0;
}

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

body {
  background-color: #fff;
  box-sizing: border-box;
  color: #000;
  font: 300 16px 'Roboto', sans-serif;
  min-height: 100%;
  padding-bottom: 473px;
  position: relative;
}

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

h2 {
  font: 400 48px 'Anton', sans-serif;
  margin-bottom: 0.9em;
  text-transform: uppercase;
}

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: 24px;
  font-weight: 800;
  margin-bottom: 0.667em;
  text-transform: uppercase;
}

h6 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

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 { vertical-align: middle !important; }

strong { font-weight: 400; }

.button {
  background-color: #1167b1;
  color: #fff !important;
  display: inline-block;
  font-size: 16px;
  font-weight: 400;
  padding: 15px 30px;
  text-decoration: none;
  text-transform: uppercase;
}

.button:hover { background-color: #2d8ee3; }

.button.light {
  background-color: #e1e1e1;
  color: #000 !important;
}

.button.light:hover { background-color: #fff; }

.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
   ========================================================================== */

.top-wrapper {
  background-color: #143452;
  color: #fff;
  font-size: 13px;
  text-align: center;
}

.top {
  display: flex;
  flex-flow: row wrap;
  gap: 10px 20px;
  justify-content: space-around;
  margin: 0 auto;
  max-width: 1600px;
  padding: 8px 20px;
}

.top h6 { margin-bottom: 2px; }

.top p { line-height: normal; }

header {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1600px;
  padding: 0 20px;
}

header .logo { padding: 10px 0; }

.main-menu { align-self: end; }

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

#menu-main-menu a {
  color: #143452;
  display: block;
  font: 400 30px 'Anton', sans-serif;
  padding: 43px 0 32px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
}

#menu-main-menu a::after {
  border-bottom: 5px solid #1167b1;
  content: '';
  display: block;
  position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
  transform: scaleX(0);
  transition: transform 300ms ease-in-out;
}

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

.user {
  align-items: center;
  display: flex;
  flex-flow: row wrap;
  gap: 20px 40px;
  justify-content: flex-end;
  padding: 20px 0;
}

input[type="text"] {
  border: 1px solid #d1d1d1;
  color: #646464;
  font: 400 16px 'Roboto', sans-serif;
  padding: 10px 12px;
}

.links {
  display: flex;
  flex-flow: row wrap;
  font-size: 12px;
  gap: 20px;
  text-align: center;
}

.links p { line-height: normal; }

.links a {
  color: #000;
  display: block;
  font-weight: 400;
  text-decoration: none;
}

.links .icon { margin-bottom: 5px; }

.links .fa-solid {
  color: #1167b1;
  font-size: 24px;
  transition: 300ms;
}

.links .fa-solid:hover { color: #2d8ee3; }

.sub-menu { background-color: #e1e1e1; }

#menu-sub-menu {
  display: flex;
  flex-flow: row wrap;
  gap: 20px 80px;
  justify-content: center;
  list-style: none;
  padding: 11px 20px;
}

#menu-sub-menu a {
  color: #000;
  font-weight: 400;
  text-decoration: none;
}

#menu-sub-menu li:hover a { color: #1167b1; }

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

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

#mainMenu.show { width: 100%; }

#mainMenu .menu {
  list-style: none;
  margin: 30px;
}

#mainMenu .menu li ul {
  display: none;
  margin-bottom: 15px;
}

#mainMenu .menu a {
  color: #fff;
  display: block;
  font-size: 16px;
  font-weight: 400;
  margin: 20px 0;
  text-decoration: none;
}

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

#openMenu.open {
  background-color: #212121;
  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 .mobile { display: none; }

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

.banner h1 {
  font: 400 80px "Anton", sans-serif !important;
  margin-bottom: 20px !important;
  text-transform: uppercase;
}

.banner .banner-overlay p {
  font: 300 32px "Roboto", sans-serif !important;
  margin-bottom: 30px !important;
}

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

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

div.banner-overlay {
  max-width: 100%;
  text-align: center !important;
  width: 1200px;
}

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

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

.frontpage {
  align-items: center;
  display: grid;
  gap: 20px 120px;
  grid-template-columns: max-content 1fr;
}

.frontpage h2 { margin-bottom: 0; }

.content a,
.section a { color: #1167b1; }

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

.section .grid {
  display: grid;
  gap: 20px;
  grid-template-columns: auto;
}

.section .grid-item h2 { margin-bottom: 0.25em; }

.section .grid-item {
  aspect-ratio: 7 / 2;
  background: #333 url("/wp-content/uploads/images/airsoft.jpg") center center no-repeat;
  background-size: cover;
  box-sizing: border-box;
  color: #fff;
  display: grid;
}

.section .grid-item .text {
  background-image: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.5) 60%, transparent);
  max-width: 440px;
  padding: 50px 200px 50px 50px;
}

.section :not(.grid.col-2) .grid-item .text.right {
  background-image: linear-gradient(to left, rgba(0,0,0,0.8), rgba(0,0,0,0.5) 60%, transparent);
  justify-self: end;
  padding: 50px 50px 50px 200px;
  text-align: right;
}

.section .grid-item.new-arrivals { background-image: url("/wp-content/uploads/images/new-arrivals.jpg"); }

.section .grid-item.clearance-sale { background-image: url("/wp-content/uploads/images/clearance-sale.jpg"); }

.section .grid-item.your-source-for-rc { background-image: url("/wp-content/uploads/images/your-source-for-rc.jpg"); }

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

.section .grid.col-2 .grid-item { aspect-ratio: 1 / 1; }

.section .grid.col-2 p:first-child { margin-bottom: 0; }

.section .grid.col-2 .grid-item .text,
.section .grid.col-2 .grid-item .text.right {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.4) 60%, transparent);
  box-sizing: border-box;
  max-width: none;
  padding: 50px;
  width: 100%;
}

.section .grid.col-2 .grid-item .text.right { text-align: right; }

.section .grid.col-2 .grid-item .text p { max-width: 440px; }

.section .grid.col-2 .grid-item .text.right p { margin-left: auto; }

.section .grid-item.rc-products { background-image: url("/wp-content/uploads/images/rc-products.jpg"); }

.section .grid-item.parts-and-accessories { background-image: url("/wp-content/uploads/images/parts-and-accessories.jpg"); }

.section .grid-item.electronics { background-image: url("/wp-content/uploads/images/electronics.jpg"); }

.section .grid-item.rc-bodies { background-image: url("/wp-content/uploads/images/rc-bodies.jpg"); }

.section .grid-item.tires-and-wheels { background-image: url("/wp-content/uploads/images/tires-and-wheels.jpg"); }

.section .grid-item.tools-and-maintenance { background-image: url("/wp-content/uploads/images/tools-and-maintenance.jpg"); }

.section .grid-item.models { background-image: url("/wp-content/uploads/images/models.jpg"); }

.section .grid-item.general-hobby { background-image: url("/wp-content/uploads/images/general-hobby.jpg"); }

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

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

.fm-header-description { line-height: 1.5em; }

.fm-header-bg { margin-bottom: 30px; }

.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 { padding: 0 !important; }

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

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

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

.footer {
  display: grid;
  gap: 30px 80px;
  grid-template-columns: max-content 1fr 440px;
  margin: 0 auto;
  max-width: 1600px;
  padding: 60px 20px;
}

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

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

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

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

.footer a:hover { color: #1167b1; }

.footer .branding { justify-self: end; }

.footer .button.submit { padding: 11px 22px; }

.footer .form { margin: 20px 0; }

.footer .social {
  display: flex;
  flex-flow: row nowrap;
  gap: 7px;
}

.footer .social .fa-brands {
  background-color: #1167b1;
  border-radius: 15px;
  box-sizing: border-box;
  color: #fff;
  padding: 7px 6px;
  text-align: center;
  transition: 300ms;
  width: 30px;
}

.footer .social .fa-brands:hover { background-color: #2d8ee3; }

.copyright {
  border-top: 1px solid #d1d1d1;
  color: #000;
  padding: 20px 0;
  text-align: center;
}

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

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

body { padding-bottom: 0; }

h2 { font-size: 36px; }

header { grid-template-columns: 2fr 3fr 2fr; }

.frontpage,
.content,
.section { margin: 80px auto; }

.frontpage { gap: 0 80px; }

.footer-wrapper { position: relative; }
  
}

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

header { grid-template-columns: repeat(2, auto); }

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

#menu-main-menu a { padding-top: 0; }

#menu-sub-menu { gap: 20px 50px; }

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

.frontpage h2 { margin-bottom: 0.9em; }

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

}

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

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

header .logo,
.user { padding: 0; }

.user { justify-content: center; }

.main-menu,
.sub-menu { display: none; }

#openMenu { display: block; }

.banner .slider { display: none; }

.banner .mobile { display: block; }

.intro { margin-bottom: 40px; }

.section .grid-item .text,
.section .grid-item .text.right {
  background-color: rgba(0,0,0,0.5);
  background-image: none;
  max-width: none;
  padding: 30px;
  text-align: center;
}

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

}

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

img { max-width: 100%; }

.frontpage,
.content,
.section { margin: 60px auto; }

}