@font-face {
  font-family: 'FetteEngD';
  src: url("fonts/FetteEngD.woff");
}

/* TODO: put inputs into an _include file */
/* inputs */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="date"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 2.5em;
  padding: 3px 10px;
  /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 3px;
  box-shadow: none;
  box-sizing: border-box;
  width: 100%;
}

/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="date"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

textarea {
  min-height: 3em;
  padding-top: 6px;
  padding-bottom: 6px;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="date"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33C3F0;
  outline: 0;
}

.clearfix {
  clear: both;
  overflow: hidden;
}

@media screen and (min-width: 480px) {
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="text"],
  input[type="date"],
  input[type="tel"],
  input[type="url"],
  input[type="password"],
  textarea,
  select {
    width: auto;
  }
}

/* TODO: put all base definitions here, including h1, a, etc. */
h1 {
  font-family: 'FetteEngD', sans-serif;
  text-transform: uppercase;
  font-size: 3.5em;
}

h2 {
  font-family: tahoma , sans-serif;
}

a {
  text-decoration: none;
}

a .button-black {
  width: 12em;
  background-color: #fff;
  border: 2px solid #0a0a0a;
  margin: 1em 0 0 0;
  display: inline-block;
  text-align: center;
  position: relative;
}

a .button-black h3 {
  color: #0a0a0a;
  font-size: 1em;
  z-index: 2;
  margin: 0.6em 0;
  position: relative;
}

a .button-black .button-overlay {
  width: 0;
  height: 100%;
  background-color: #0a0a0a;
  position: absolute;
  top: 0;
  transition: all 0.3s;
  z-index: 1;
}

a .button-black:hover h3 {
  color: #fff;
}

a .button-black:hover .button-overlay {
  width: 100%;
}

a .button-gray {
  width: 12em;
  background-color: #757575;
  border: 2px solid #757575;
  margin: 1em 0 0 0;
  display: inline-block;
  text-align: center;
  position: relative;
  cursor: not-allowed;
}

a .button-gray h3 {
  color: white;
  font-size: 1em;
  z-index: 2;
  margin: 0.6em 0;
  position: relative;
}

a .button-white {
  width: 12em;
  background-color: transparent;
  border: 2px solid #fff;
  text-align: center;
  position: relative;
}

a .button-white h3 {
  color: #fff;
  font-size: 1em;
  z-index: 2;
  margin: 0.6em 0;
  position: relative;
}

a .button-white .button-overlay {
  width: 0;
  height: 100%;
  background-color: #fff;
  position: absolute;
  top: 0;
  transition: all 0.3s;
}

a .button-white:hover h3 {
  color: #000;
}

a .button-white:hover .button-overlay {
  width: 100%;
}

.small {
  font-size: 0.7em;
}

body {
  background-color: #0a0a0a;
  color: #fff;
  margin: 0;
  font-family: Tahoma , sans-serif;
}

table.list {
  width: 100%;
}

table.list img {
  max-width: 44px;
  max-height: 44px;
}

table.list tbody tr:hover {
  background: #e7e7e7;
}

th, td {
  text-align: left;
  padding: 0.4em 1em 0.4em 0;
}

th.right, td.right {
  text-align: right;
}

th.center, td.center {
  text-align: center;
}

td {
  vertical-align: middle;
}

tbody tr {
  cursor: pointer;
}

tbody tr img {
  max-width: 80px;
  max-height: 80px;
}

img.left {
  float: left;
  margin-right: 2em;
}

img.right {
  float: right;
  margin-left: 2em;
}

img.center {
  display: block;
  margin: 0 auto;
}

img.display-flag {
  position: relative;
  float: right;
  z-index: 99;
  width: 25%;
}

@media all and (min-width: 768px) {
  .main .content-wrapper {
    padding: 6em 0;
  }
  .main .banner-wrapper a .banner-title {
    font-size: 2em;
  }
}

@media all and (min-width: 850px) {
  .main .banner-wrapper img {
    width: 100%;
  }
  .main div.accordion {
    margin-left: 40px;
    padding: 16px 0;
  }
}

.main .header-banner {
  width: 100vw;
  text-align: center;
  position: relative;
}

.main .header-banner img {
  width: 100%;
}

.main .header-banner h1 {
  color: #fff;
  position: absolute;
  margin: 0;
  font-size: 2em;
  left: 0.25em;
  bottom: 0.25em;
}

.main .empty-list {
  background-color: #fff;
  color: #ccc;
  font-size: 2em;
  margin: 0 auto;
  padding: 1em 0 6em 0;
  text-align: center;
}

.main .product-section, .main .productgrid-section {
  background-color: #fff;
  position: relative;
  text-align: center;
}

.main .product-section h1, .main .productgrid-section h1 {
  color: #0a0a0a;
  font-size: 2.5em;
  margin-top: 0;
  padding-top: 1em;
}

.main .product-section a .button-black, .main .productgrid-section a .button-black {
  position: absolute;
  background-color: transparent;
  left: 0;
  right: 0;
  top: 6em;
  margin: auto;
}

.main .product-section .product-grid, .main .productgrid-section .product-grid {
  max-width: 1100px;
  margin: 0 auto;
}

.main .product-section .product-grid ul.product, .main .productgrid-section .product-grid ul.product {
  display: flex;
  flex-flow: row wrap;
  justify-content: left;
  margin: 5em auto 0 auto;
  padding-left: 0;
  list-style-type: none;
}

.main .productgrid-section {
  padding: 1em 0;
}

.main .productgrid-section .filters {
  width: 100%;
  padding-top: 1em;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid #464646;
}

@media all and (min-width: 900px) {
  .main .productgrid-section .filters {
    height: 4em;
  }
}

.main .productgrid-section .filters .filter-form {
  margin: 0.25em 1em;
}

.main .productgrid-section .filters .filter-form h3 {
  color: #0a0a0a;
  font-family: Tahoma, sans-serif;
  font-size: 1em;
  text-align: left;
}

@media all and (min-width: 900px) {
  .main .productgrid-section .filters .filter-form h3 {
    display: inline;
  }
}

.main .productgrid-section .filters .filter-form form {
  display: inline;
}

.main .productgrid-section .filters #caliber-filter, .main .productgrid-section .filters #compliance-filter {
  float: left;
}

.main .productgrid-section .filters #sort-filter {
  float: left;
  clear: both;
}

.main .productgrid-section .filters.bottom {
  border-bottom: 0 none;
  padding-top: 0;
  padding-bottom: 2em;
}

.main .productgrid-section .product-grid ul.product {
  margin: 6em auto 0 auto;
}

.main .productgrid-section .product-grid ul.product li {
  flex-basis: 100%;
}

@media all and (min-width: 600px) {
  .main .productgrid-section .filters #sort-filter {
    float: right;
    clear: none;
  }
  .main .productgrid-section .product-grid ul.product li {
    flex-basis: 30%;
  }
  .main .header-banner h1 {
    line-height: 0.8em;
    font-size: 3em;
    font-weight: normal;
  }
}

@media all and (min-width: 1024px) {
  .main .header-banner h1 {
    line-height: 0.5em;
    font-size: 7em;
    left: 0em;
    bottom: 0em;
  }
}

.main .color-section {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 5em;
}

.main .color-section ul.double-wide {
  align-items: flex-end;
  flex-flow: row wrap;
}

.main .color-section ul.double-wide li.single-section {
  align-items: flex-end;
  text-align: right;
  flex-basis: 30%;
  flex: 1 1 0px;
  margin: 0 1em 0 1em;
  display: flex;
  flex-direction: column;
}

.main .color-section ul.double-wide li.single-section p {
  min-width: 15em;
  max-width: 17em;
}

.main .color-section ul.double-wide li.double-section {
  flex: 2;
  flex-basis: 60%;
  margin: 0 1em 0 1em;
  display: flex;
}

.main .color-section ul.double-wide li.double-section .color-img img {
  width: 100%;
  min-width: 15em;
}

.main .department-section {
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 5em;
}

.main .department-section .department-wrapper {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin: 0 auto;
}

.main .department-section .department-wrapper .department {
  flex-basis: 100%;
  flex: 1 1 0px;
  position: relative;
  margin: 0 1em;
}

.main .department-section .department-wrapper .department img.dept-img {
  width: 100%;
  min-width: 15em;
}

.main .department-section .department-wrapper .department .dept-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.3s;
}

.main .department-section .department-wrapper .department a .button-white {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1em;
  margin: auto;
}

.main .department-section .department-wrapper .department:hover .dept-overlay {
  background-color: rgba(0, 0, 0, 0);
}

.main .department-section .department-wrapper .department:hover a .button-white h3 {
  color: #000;
}

.main .department-section .department-wrapper .department:hover a .button-white .button-overlay {
  width: 100%;
}

.main .divider {
  width: 90vw;
  height: 1px;
  background-color: #464646;
  margin: 0 auto;
}

.content-wrapper {
  background-color: #fff;
  padding: 3em 0;
  text-align: center;
  color: #0a0a0a;
}

.content-wrapper .content-inner {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  text-align: left;
}

.content-wrapper h1 {
  color: #0a0a0a;
  margin: 0;
}

.content-wrapper a {
  color: #000A32;
  text-decoration: underline;
}

.content-wrapper a:hover {
  color: #0032f3;
}

.content-wrapper .filters, .content-wrapper .locate-filters {
  width: 100%;
  height: auto;
  padding: 1em 0;
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 1em;
}

.content-wrapper .filters a.clear, .content-wrapper .locate-filters a.clear {
  display: none;
}

.content-wrapper .filters .filter-form, .content-wrapper .locate-filters .filter-form {
  margin: 0.25em 1em;
  display: inline-block;
}

.content-wrapper .filters .filter-form h3, .content-wrapper .locate-filters .filter-form h3 {
  color: #3b3b3b;
  font-family: Tahoma, sans-serif;
  font-size: 0.9em;
  display: inline-block;
  margin: 0.25em 0;
}

.content-wrapper .filters .filter-form form, .content-wrapper .locate-filters .filter-form form {
  display: inline;
}

.content-wrapper .filters .filter-form select, .content-wrapper .locate-filters .filter-form select {
  height: 2em;
}

.content-wrapper .filters .filter-form input, .content-wrapper .locate-filters .filter-form input {
  height: 2em;
}

.content-wrapper .filters h4, .content-wrapper .locate-filters h4 {
  display: inline-block;
  padding: 0 1em;
}

.content-wrapper .locate-filters {
  max-width: 850px;
  width: 95%;
}

.content-wrapper .locate-filters .locate-buttons {
  display: inline-block;
}

.content-wrapper .locate-filters .locate-buttons a .button-black {
  width: 6em;
}

.content-wrapper .locate-filters .locate-buttons a .button-black h3 {
  margin: 0.5em 0;
}

.content-wrapper .locate-filters .locate-buttons a.clear {
  display: none;
}

@media all and (min-width: 1250px) {
  .content-wrapper .locate-filters {
    max-width: none;
  }
}

@media all and (min-width: 768px) {
  .content-wrapper {
    padding: 6em 0;
  }
  .content-wrapper h1 {
    margin-bottom: 1em;
  }
}

/* TODO: put one-page specific css in the actual page */
.add-to-watchlist {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  font-weight: bold;
  color: #737373;
  display: flex;
  align-items: center;
}

.add-to-watchlist span.plus-button {
  font-size: 25px;
}

.add-to-watchlist img {
  width: 45px;
  height: auto;
  margin-left: -7px;
}

.add-to-watchlist .watchlist-text {
  color: #737373;
  opacity: 0;
  font-size: 16px;
  padding: 5px 0 0 12px;
  transition: all 0.3s ease;
}

.add-to-watchlist:hover .watchlist-text {
  opacity: 1;
}

.add-to-watchlist.in-watchlist, .add-to-watchlist.in-watchlist .watchlist-text {
  color: #000A32;
}

.footer {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

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

.footer .social-wrapper {
  margin: 0 auto;
  display: inline;
}

.footer .social-wrapper img {
  margin: 1em 1em;
  width: 2.5em;
}

@media all and (min-width: 900px) {
  .footer .social-wrapper {
    width: 50%;
  }
  .footer .social-wrapper img {
    margin: 2em 3em;
  }
}

.footer .footer-wrapper {
  text-align: left;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin: 0 auto;
}

.footer .footer-wrapper ul.footer-menu {
  min-width: 19em;
  padding-left: 0;
  list-style: none;
  flex-basis: 100%;
  flex: 1 1 0px;
  margin: 0 3em 3em 3em;
}

.footer .footer-wrapper ul.footer-menu li {
  padding: 1.25em 0;
}

.footer .footer-wrapper ul.footer-menu li.column-header {
  border-bottom: 1px solid #fff;
  padding-bottom: 0.35em;
}

.footer .copyright {
  width: 50%;
  margin: 1em auto;
  padding: 0 0 1em 0;
  text-align: center;
  font-size: 0.75em;
  color: #d4d4d4;
}

.columns {
  box-sizing: border-box;
  text-align: center;
  display: grid;
  grid-auto-rows: auto;
  grid-auto-flow: row;
  grid-gap: 5em 2em;
  padding-bottom: 2em;
  margin: 0 auto;
  padding: 0;
  grid-template-columns: 1fr;
  max-width: 1100px;
  width: 90%;
}

li.column {
  align-items: center;
  position: relative;
}

li.column .image {
  border: 1px solid #d1d1d1;
  padding: 1em;
  margin-bottom: 1em;
  min-height: 167px;
  display: grid;
  align-items: center;
}

li.column .image .series-group-image {
  max-width: 16em;
  width: 100%;
  max-height: 100%;
  margin: auto;
}

li.column h4 {
  color: #0a0a0a;
  margin: 0 0 2em 0;
  max-height: 1.75em;
}

li.column .series-group-controls {
  width: 70%;
  margin: 0 auto;
}

.column {
  text-align: center;
}

.international {
  background-color: white;
}

.international h2 {
  font-family: 'FetteEngD', sans-serif;
  font-size: 2em;
  text-transform: uppercase;
  font-weight: normal;
  margin: 2em;
  color: #000000;
}

.international .featured-products > h1 {
  display: none;
}

.international .featured-img, .international .series-img, .international .image-wrapper {
  border: 1px solid #d1d1d1;
  padding: 1em;
  margin-bottom: 1em;
  min-height: 167px;
  display: grid;
  align-items: center;
}

.international .featured-img img, .international .series-img img, .international .image-wrapper img {
  width: 100%;
  max-height: 100%;
  margin: auto;
}

.international h1:not(.price) {
  margin: 0 0 1rem 0;
  height: 0.8em;
  background: #003088;
  color: white;
  padding: 0.25em;
  width: fit-content;
}

.international .main .productgrid-section .filters {
  display: none;
}

.international .marquee-wrapper {
  padding-bottom: 2px;
  border-bottom: 2px solid #003088;
  margin-bottom: 2em;
}

.international .marquee-wrapper img {
  width: 100%;
  height: auto;
  position: relative;
}

.international-sub-menu {
    max-width: 1100px;
    font-size: 0.9em;
    margin: 0 auto 2em auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    text-align: center;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}

.international-sub-menu .sub-menu-button {
    text-transform: uppercase;
    padding: 0.5em;
    color: black;
}
.international-sub-menu .sub-menu-button:hover { background-color: #ddd; cursor: pointer; }

.international .black-buttonsolid {
  display: inline-block;
  cursor: pointer;
  margin: 0.5em auto;
  background-color: #000A32;
  height: 1.75em;
  width: 90%;
  font-size: 0.9em;
  color: #fff;
  padding-top: 0.6em;
  text-align: center;
}

.international .black-buttonsolid h3 {
  margin: 0;
  padding-top: 0.4em !important;
}

.international a.black-buttonsolid {
  height: 1.25em;
  padding: 0.8em;
}

.international .product-main {
  padding-bottom: 0;
}

.international .product-main h2 {
  text-transform: uppercase;
}

.international .product-main .upper-meta {
  color: #777;
}

.international .product-main .black-buttonsolid {
  margin: 0.5em 0;
  height: 2em;
  width: 12em;
  text-align: center;
  cursor: pointer;
}

.international .product-main .black-buttonsolid h3 {
  font-size: 0.75em;
  color: #fff;
  padding-top: 0.4em;
}

.international .product-main .spec-sheet-link {
  display: grid;
  grid-template-columns: 1fr 5fr;
  align-items: center;
  color: #003088 !important;
}

.international .product-main .spec-sheet-link img {
  justify-self: center;
  width: 21px;
}

.international .product-main .specs-wrapper {
  padding-left: 0 !important;
  margin: 3em 0 !important;
  width: 100% !important;
}

.international .product-main .specs-wrapper ul {
  list-style: none;
  padding: 0;
}

.international .product-main .product-detail .alternate-model-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2em;
  border-top: 2px solid black;
  padding: 2em 1em;
  margin-top: 3em;
}

.international .product-main .product-detail .alternate-model-wrapper h2 {
  justify-self: center;
  color: black;
  text-align: center;
}

.international .product-main .product-detail .alternate-model-wrapper .model {
  cursor: pointer;
  text-align: center;
}

.international .product-main .product-detail .alternate-model-wrapper .caption {
  color: black;
  font-weight: bold;
}

@media all and (min-width: 560px) {
  .international .columns {
    grid-template-columns: 1fr 1fr;
  }
  .international .product-main .product-detail .alternate-model-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .international .product-main .product-detail .alternate-model-wrapper h2 {
    grid-column: span 2;
  }
}

@media all and (min-width: 1024px) {
  .international .columns {
    padding: 0 0 2em 0;
    grid-template-columns: repeat(4, 1fr);
  }
  .international .columns .column {
    width: 100%;
  }
  .international .product-main .product-detail .alternate-model-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
  .international .product-main .product-detail .alternate-model-wrapper h2 {
    grid-column: span 4;
  }
}

@media all and (min-width: 1200px) {
  .footer .footer-wrapper ul.footer-menu {
    min-width: 12em;
  }
}
