@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");

:root {
  --dblue: 30, 51, 120;
  --lblue: 0, 150, 214;
  --red: 238, 49, 36;
  --black: 0, 0, 0;
  --white: 255, 255, 255;
  --grey: 133, 136, 140;
  --lgrey: 220, 220, 220;
}

html,
body {
  font-family: "Roboto", sans-serif !important;
  background:#ffffff;
}
html,

img {
  max-width: 100%;
  height: auto;
}

/* DIV CLASSES */

.text-center {
  text-align: center;
}

.left {
  text-align: left;
}

.col-med {
  max-width: 900px;
  margin: 10px auto;
}

.col2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 2rem;
}

figcaption {
  margin-bottom: 50px;
  font-size: 1.2em;
  color: rgb(var(--dblue));
  font-style: italic;
}

/* TYPOGRAPHY */

p,
li{
  font-weight: 300;
}

a {
  color: rgb(0,120,170);
  font-weight: 500;
}

a:hover {
  color: rgb(var(--red));
}

.caps {
  text-transform: uppercase;
}

h1 {
  color: rgb(var(--dblue));
  text-transform: capitalize;
}

h2 {
  color: rgb(var(--lblue));
  text-transform: unset;
}

h3 {
  color: rgb(var(--dblue));
}

h1.small {
  font-size: large;
}

  h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto", sans-serif !important;
  }

hr {
  color: rgba(var(--lgrey), 0.5);
}

.button {
  border: 1px solid rgb(var(--dblue));
  background-color: rgb(var(--dblue));
  color: rgb(var(--white));
  padding: 12px 35px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  font-size: 20px;
  margin: 4px 2px;
  cursor: pointer;
  transition: 0.15s all ease;
}

.button:hover {
  background-color: rgb(var(--white));
  color: rgb(var(--dblue));
  text-decoration: none;
}

.wrapper {
  margin-right: auto;
  margin-left: auto;
  max-width: 1300px;
}

/* HOME HEADER IMAGE */
.homeheader {
  position: relative;
  background-image: url("../images/home-header.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 0;
  padding-bottom: 54%;
}
/* (img-height / img-width * width) */
/* (853 / 1280 * 100) */

/* HEADER FOR SMALL SCREENS */

.internalheader {
  position: relative;
  width: 100%;
  height: 100px;
}

.nav-header {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  margin-bottom: 30px;
}

.hamburger {
  grid-row: 1;
  grid-column: 12;
  z-index: 2;
}

.logo {
  grid-row: 1;
  grid-column: 3 / 11;
  text-align: center;
  margin-top: 5px;
}

.logo img {
  max-width: 70%;
  max-height: 100px;
}

.nav-container {
  grid-row: 1;
  grid-column: 1 / -1;
  z-index: 1;
}

/* HEADER FOR LARGER SCREENS */

@media (min-width: 600px) {
  .internalheader {
    height: unset;
  }

  .logo {
    grid-row: 2;
    grid-column: 4 / 10;
    text-align: center;
  }

  .logo img {
    max-width: 80%;
    max-height: 100%;
  }

  .nav-container {
    grid-row: 1;
    grid-column: 1 / -1;
  }
}

@media (min-width: 800px) {
  .logo {
    grid-row: 1;
    grid-column: 1 / 5;
    text-align: center;
    margin: 15px;
  }

  .logo img {
    max-width: 100%;
  }

  .nav-container {
    grid-row: 1;
    grid-column: 5 / -1;
  }
}

/* HIDDDEN MENU TOGGLE FOR SMALLER SCREENS */

.menu-toggle {
  display: inline-block;
  cursor: pointer;
  padding: 30px 20px;
  z-index: 2;
}

.icon {
  width: 30px;
  height: 20px;
  background-color: rgb(var(--red));
  height: 2px;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.icon:before,
.icon:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: rgb(var(--red));
  left: 0;
  transition: 0.25s ease-in-out;
}

.icon:before {
  top: -8px;
}

.icon:after {
  bottom: -8px;
}

.menu-toggle.active .icon:before {
  transform: rotate(-45deg);
  top: 0;
}

.menu-toggle.active .icon:after {
  transform: rotate(45deg);
  bottom: 0;
}

.menu-toggle.active .icon {
  transform: rotate(180deg);
  background: transparent;
}

#nav-container {
  display: none;
}

/* SHOW HIDE HAMBURGER MENU */

@media (min-width: 600px) {
  .menu-toggle,
  .hamburger {
    display: none;
  }

  #nav-container {
    display: flex !important;
  }
}

/* CLICKY MENU STYLES */

/* Hidden SVG used for down arrows */
svg[hidden] {
  display: none;
  position: absolute;
}

.site-navigation {
  width: 100%;
  max-width: 782px;
  margin: 0px auto;
  background-color: rgb(var(--white));
  border-radius: 4px;
  box-shadow: 0px 15px 10px -15px rgb(var(--dblue));
}

@media (min-width: 600px) {
  .site-navigation {
    background-color: transparent;
    box-shadow: none;
  }
}

.clicky-menu {
  justify-content: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 600px) {
  .clicky-menu {
    display: flex;
  }
}

/* General Link & Button Styles */
.clicky-menu a,
.clicky-menu button {
  margin: 0.25em;
  padding: 1em;
  background: transparent;
  color: rgb(var(--dblue));
  font-weight: bold;
  text-decoration: none;
  font-family: inherit;
  border-radius: 3px;
}

.clicky-menu a:hover,
.clicky-menu button:hover {
  background: transparent;
  outline: 0.1em dotted rgb(var(--dblue));
}

.clicky-menu a:focus,
.clicky-menu button:focus {
  outline: 0.1em dotted rgb(var(--dblue));
  outline-offset: -0.125em;
}

/* Top Level Items */
.clicky-menu > li {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  justify-content: stretch;
  flex-wrap: wrap;
}

.clicky-menu > li > a,
.clicky-menu > li > button {
  flex: 1 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border: 0;
  font-size: inherit;
  line-height: 1.5;
  cursor: pointer;
}
@media (min-width: 600px) {
  .clicky-menu > li > a,
  .clicky-menu > li > button {
    justify-content: center;
  }
}

/* Icon */
.clicky-menu svg {
  width: 1em;
  height: 1em;
  margin-left: 0.5em;
}

.clicky-menu [aria-expanded="true"] svg {
  transform: scaleY(-1);
}

/* Submenu Styles */
.clicky-menu ul {
  min-width: 100%;
  width: 12em;
  margin-top: 0.25em;
  padding: 0;
  list-style: none;
  background-color: #f1f1f1;
  border-radius: 3px;
}
/* @media (min-width: 600px) {
	.clicky-menu {
		box-shadow: 2px 4px 4px rgba(0,0,0,.2);
	}
} */

/* Responsive Submenu Behavior */
.clicky-menu ul[aria-hidden="false"] {
  position: static;
  width: 100%;
  flex: 0 0 auto;
}

@media (min-width: 600px) {
  .clicky-menu ul[aria-hidden="false"] {
    position: absolute;
    width: auto;
  }
}

/* Submenu Links */
.clicky-menu ul a {
  display: block;
  padding-top: 0.375em;
  padding-bottom: 0.375em;
}
@media (min-width: 600px) {
  .clicky-menu ul a {
    padding: 0.375em 1em;
    white-space: nowrap;
  }
}

/* HOME HEADINGS */

.home-heading {
  text-align: center;
  margin: 10px;
}

/* MAIN CONTENT */

.main-heading {
  text-align: center;
  margin: auto;
}

.main-heading p {
  color: rgb(var(--dblue));
  font-weight: 400;
}

.main-content {
  position: relative;
  margin: 30px;
  padding: 30px 0px;
  text-align: center;
  z-index: 0;
}

/*.main-content:before {
  content: "";
  height: 3px;
  background: rgb(var(--red));
  left: 12.5%;
  top: 0;
  width: 74%;
  position: absolute;
  z-index: -5;
  margin: 2px;
}*/

.main-content:after {
  content: "";
  height: 3px !important;
  background: rgb(255,255,255);
  left: 12.5%;
  bottom: 0;
  width: 74%;
  position: absolute;
  z-index: -5;
  margin: 2px;
}

/* SHOP SECTION */
.shop-heading {
  text-align: center;
  margin: 40px auto;
}

a:link.product,
a:visited.product {
  display: inline-block;
  max-width: 130px;
  margin: 15px 10px;
  padding: 10px;
  border-top: 6px solid rgb(var(--lblue));
  -webkit-box-shadow: 2px 2px 5px 0px rgba(var(--black), 0.75);
  -moz-box-shadow: 2px 2px 5px 0px rgba(var(--black), 0.75);
  box-shadow: 2px 2px 5px 0px rgba(var(--black), 0.75);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(var(--dblue));
  transition-duration: 0.3s;
}

@media (min-width: 600px) {
  a:link.product,
  a:visited.product {
    max-width: 200px;
    margin: 30px 10px;
  }
}

a:hover.product,
a:active.product {
  border-top: 6px solid rgb(var(--red));
  -webkit-box-shadow: 2px 2px 5px 0px rgba(var(--black), 0.75);
  -moz-box-shadow: 2px 2px 5px 0px rgba(var(--black), 0.75);
  box-shadow: 4px 4px 6px 0px rgba(var(--black), 0.75);
}

/* HOMEPAGE DEALER SECTION */

.dealer-section {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  margin-bottom: 50px;
}

.dealer-text {
  grid-column: 1 / -1;
  margin: 10px;
  text-align: center;
}

.image-stack-2 {
  display: none;
}

@media (min-width: 768px) {
  .dealer-text {
    grid-column: 2 / 8;
  }

  /* image stack using css grid */

  .image-stack-2 {
    grid-column: 9 / 13;
    display: grid;
    position: relative;
    grid-template-columns: repeat(12, 1fr);
  }

  .image-stack__item--bottom-2 {
    grid-column: 4 / -1;
    grid-row: 1;
    z-index: -5;
  }

  .image-stack__item--top-2 {
    grid-row: 1;
    grid-column: 1 / span 8;
    padding-top: 40%;
    z-index: -4;
  }

  .image-stack-2 img {
    width: 100%;
    display: block;
    max-width: 290px;
  }
}

/* FOOTER */
.footer {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  background-color: rgb(var(--dblue));
  color: rgb(var(--white));
  padding: 50px 20px;
	max-width: 1300px;
	margin-left: auto;
	margin-right: auto;
}

.footer-logo {
  grid-row: 2;
  grid-column: 4 / 10;
  margin-top: 20px;
}

.contact {
  grid-row: 1;
  grid-column: 4 / 9;
  justify-items: left;
  justify-self: center;
  text-align: left;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 10px;
}

.contact-header {
  grid-row: 1;
  grid-column: 1 / -1;
}

.footer img {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.footer a {
  color: rgb(var(--white));
  text-decoration: none;
}

.footer a:hover {
  color: rgb(var(--red));
}
.footer h1 {
  color: rgb(var(--white));
  font-size: larger;
  font-weight: 400;
  text-transform: capitalize;
}

@media (min-width: 600px) {
  .footer-logo {
    grid-row: 1;
    grid-column: 2 / 6;
  }

  .contact {
    grid-row: 1;
    grid-column: 8 / 10;
    justify-self: left;
    text-align: left;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 10;
  }
}

/* TABLE FORMATTING */

/* RESPONSIVE TABLE SCROLLING */
.table-wrap {
  overflow-x: auto;
}

/* GENERIC TABLE FORMATTING */
.gen-table {
  font-family: "Roboto", serif;
  font-weight: 400;
  border-collapse: collapse;
  max-width: 1000px;
  border: 1px solid rgb(var(--dblue));
  margin-left: auto;
  margin-right: auto;
}

.gen-table a {
  color: rgb(var(--black));
  font-weight: 400;
}

.gen-table tr:nth-child(even) {
  background-color: rgba(var(--dblue), 0.2);
}

.gen-table th {
  background-color: rgb(var(--dblue));
  color: rgb(var(--white));
}

.gen-table th,
td {
  padding: 10px;
  vertical-align: middle;
}

.gen-table tr:hover {
  background-color: rgba(var(--dblue), 0.4) !important;
}

/* PRODUCT LISTS TABLE FORMATTING */
.product-table {
  font-family: "Roboto", serif;
  font-weight: 400;
  border-collapse: collapse;
  max-width: 1000px;
  border: 1px solid rgb(var(--dblue));
  margin-left: auto;
  margin-right: auto;
}

.product-table a {
  color: rgb(var(--black));
  font-weight: 400;
}

.product-table tr:nth-child(even) {
  background-color: rgba(var(--dblue), 0.2);
}

.product-table th {
  background-color: rgb(var(--dblue));
  color: rgb(var(--white));
}

.product-table th,
td {
  padding: 10px;
  vertical-align: middle;
}

.product-table tr:hover {
  background-color: rgba(var(--dblue), 0.4) !important;
}

.product-table td:nth-child(1),
td:nth-child(4) {
  white-space: nowrap;
}

.product-table td:nth-child(2) {
  min-width: 250px;
}

/* ITEM DETAIL SECTION */
.item-detail {
  max-width: 800px;
  margin: 20px auto;
}

.item-detail img {
  display: block;
  max-height: 200px;
  margin: auto auto;
}

/* ITEM DISPLAY TABLE FORMATTING */
.item-table {
  font-family: "Roboto", serif;
  font-weight: 400;
  border-collapse: collapse;
  max-width: 1000px;
  border: 1px solid rgb(var(--dblue));
  margin-left: auto;
  margin-right: auto;
}

.item-table a {
  color: rgb(var(--black));
  font-weight: 400;
}

.item-table tr:nth-child(even) {
  background-color: rgba(var(--dblue), 0.2);
}

.item-table th {
  background-color: rgb(var(--dblue));
  color: rgb(var(--white));
}

.item-table th,
td {
  padding: 10px;
  vertical-align: middle;
}

.item-table td:nth-child(1) {
  white-space: nowrap;
  font-weight: 700;
}

/* ITEM DETAIL TEXT AREA */

textarea {
  width: 100%;
  height: 200px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 1px solid rgb(var(--dblue));
  border-radius: 0px;
  background-color: rgb(var(--white));
  font-family: "Roboto", serif;
  font-weight: 300;
  resize: none;
}

/* ITEM SELECTION STYLES */

#select-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

select,
input {
  -webkit-appearance: revert;
  -moz-appearance: revert;
  -ms-appearance: revert;
  appearance: revert;
  outline: 0;
  box-shadow: none;
  border: 1px rgb(var(--dblue)) solid !important;
  background: rgb(var(--lgrey));
  background-image: none;
  flex: 1;
  padding: 0 0.5em;
  color: rgb(var(--dblue));
  cursor: pointer;
  font-family: "Roboto", serif;
  font-weight: 400;
}
select::-ms-expand {
  display: none;
}
.select {
  position: relative;
  font-family: "Roboto", serif;
  font-weight: 400;
  display: flex;
  width: 20em;
  height: 3em;
  line-height: 3;
  background: rgb(var(--lgrey));
  overflow: hidden;
  border-radius: 0.25em;
}
.select::after {
  content: "\25BC";
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 1em;
  background: rgb(var(--grey));
  cursor: pointer;
  pointer-events: none;
  transition: 0.15s all ease;
}
.select:hover::after {
  color: rgb(var(--red));
}

.optgroup {
  font-family: "Roboto", serif;
  font-weight: 400;
}

input[type="button"],
input[type="submit"],
input[type="reset"] {
  border: 1px solid rgb(var(--dblue)) !important;
  background-color: rgb(var(--dblue));
  color: rgb(var(--white));
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  font-size: 20px;
  margin: 40px 2px 20px 2px;
  cursor: pointer;
  transition: 0.15s all ease;
}

input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
  background-color: rgb(var(--white));
  color: rgb(var(--dblue));
}

input[type="text"],
input[type="password"] {
  padding: 4px 4px;
}

label {
  display: inline-block;
  width: 100px;
  text-align: right;
}

.checkout-div {
  margin: 5px 0px 5px 0px;
}

.checkout-div > .select {
  margin: inherit;
}

/* SHOPPING CART TABLE */

.cart-table {
  font-family: "Roboto", serif;
  font-weight: 400;
  border-collapse: collapse;
  max-width: 1000px;
  border: 1px solid rgb(var(--dblue));
  margin-left: auto;
  margin-right: auto;
}

.cart-table a {
  color: rgb(var(--black));
  font-weight: 400;
}

.cart-table th {
  background-color: rgb(var(--dblue));
  color: rgb(var(--white));
}

.cart-table th,
td {
  padding: 10px;
  vertical-align: text-top;
  /*border: 1px solid rgb(var(--dblue));*/
}

.cart-table tr:nth-last-child(1),
.cart-table tr:nth-last-child(3) {
  background-color: rgba(var(--dblue), 0.2);
}

.cart-table tr:nth-last-child(1) {
  font-weight: 700;
}

/* .cart-table 
td:nth-child(1)  {min-width: 200px;} */

/* CHECKOUT STYLES */
h4.checkout-header {
  margin: 30px 0px 2px 0px;
  font-weight: 700;
  color: rgb(var(--dblue));
}

/* BREADCRUMBS */

.breadcrumb {
  padding: 0px;
  margin-bottom: 0px;
  font-size: small;
  background: none;
}

.breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb ul a {
  color: rgb(var(--grey));
  text-decoration: none;
}

.breadcrumb ul a:hover {
  color: rgb(var(--grey));
  text-decoration: underline;
}

.breadcrumb li:not(:last-child)::after {
  display: inline-block;
  margin: 0 0.25rem;
  color: rgb(var(--grey));
  content: ">";
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 0px solid rgb(var(--lblue));
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -200px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -200px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: rgb(var(--dblue));
  color: white !important;
}

.modal-header h2 {
  color: rgb(var(--white));
  font-weight: 400;
}

.modal p,
.modal li {
  font-weight: 400;
  font-size: 1.2em;
  line-height: 2;
}

.modal-body {
  padding: 2px 16px;
}

.red-divider {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  border-top: 3px solid rgb(var(--red));
  height:3px;
}

ul.bullets{
    list-style-type:disc;
    margin-left:30px;
}

.aspNetHidden{
  line-height: 1px;
}

.title {
  text-transform: capitalize;
}

.vertical-align {
  display: flex;
  align-items: center;
}