*,
*:before,
*:after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* overflow-y: scroll; */
}
html::before {
  content: "Apologies, our website is currently down for scheduled maintenance from 7:30pm - 01:00am AEST. For any urgent enquiries please contact your local branch or email online.support@bgwgroup.com.au";
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #eee;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--gutter) 10rem;
  z-index: 9999 !important;
  font-size: 20px;
  font-weight: var(--font-weight-300);
  font-family: "Inter", sans-serif;
  text-align: center;
  line-height: 24px;
  display: none;
}

html,
body {
  /* height: 100%; */
  width: 100%;
  padding: 0;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: var(--font-size-regular);
  -webkit-font-smoothing: antialiased;
}

body {
  /* overflow-x: hidden; */
  min-height: 100vh;
  position: relative;
}

table {
  -webkit-print-color-adjust: exact !important;
  color-adjust: exact !important;
}

img,
iframe,
button,
input {
  user-select: none;
}

input,
textarea,
select {
  resize: none;
}
input,
select,
textarea,
button,
table,
th,
tr,
td,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

select {
  padding: 8px 12px;
}

img {
  display: inline-block;
  max-width: 100%;
}

.hidden {
  display: none;
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a.btn {
  text-decoration: none;
}

.link-primary,
a.link-primary {
  color: var(--color-primary);
}

.link-secondary,
a.link-secondary {
  color: var(--color-secondary);
  text-decoration: underline;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.15;
  margin: 0;
}

input,
textarea {
  border: solid 1px #c2c8d0;
  min-height: 40px;
  max-height: 40px;
  padding: 0 var(--gutter-half);
  border-radius: 0;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
input::-ms-input-placeholder,
textarea::-ms-input-placeholder,
input::placeholder,
textarea::placeholder,
input::placeholder,
textarea::placeholder {
  font-style: italic;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

input:focus,
textarea:active {
  outline: 0;
  border-color: #62676d;
}

textarea {
  padding: var(--gutter-half);
  min-height: 100px;
}

.text-center {
  text-align: center;
}

.product-code {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-500);
  color: var(--color-gray);
}

.full-width {
  width: 100%;
}

#bgwtBody .print-logo {
  background-image: url("https://static-files.bgwgroup.com.au/global/img/logo/bgwt.jpg") !important;
}

#samBody .print-logo {
  background-image: url("https://static-files.bgwgroup.com.au/global/img/logo/samios.jpg") !important;
}

#cnwBody .print-logo {
  background-image: url("https://static-files.bgwgroup.com.au/global/img/logo/cnw.jpg") !important;
}

#sheBody .print-logo {
  background-image: url("https://static-files.bgwgroup.com.au/global/img/logo/sherriff.jpg") !important;
}

.print-logo {
  visibility: hidden;
  background-position: top left !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  width: 100%;
  -webkit-print-color-adjust: exact !important;
  color-adjust: exact !important;
}
@media print {
  .print-logo {
    visibility: visible;
    width: 450px;
    height: 120px;
  }
}
select {
  display: block;
  font-size: var(--font-size-regular);
  font-family: inherit;
  font-weight: var(--font-weight-400);
  color: var(--color-secondary);
  line-height: 1.3;
  padding: 0.49em 1.4em 0.5em 0.8em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #c2c8d0;
  border-radius: 0;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--color-gray-lighter);
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23545454%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%;
  background-size: 0.65em auto;
}
select::-ms-expand {
  display: none;
}
select:hover {
  border-color: #62676d;
}
select:focus {
  border-color: #62676d;
  outline: none;
}
select option {
  font-weight: normal;
}

input[type="checkbox"] {
  position: relative;
  height: 13px;
  min-height: 13px;
  max-height: 13px;
  width: 13px;
  min-width: 13px;
  max-width: 13px;
}

.toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.toggle .switch {
  display: inline-block;
  height: 18px;
  position: relative;
  width: 36px;
}
.toggle .switch input {
  display: none;
}
.toggle .switch input:checked + .slider {
  background-color: var(--color-form-accent) !important;
  border-color: var(--color-form-accent) !important;
  transition: none;
}
.toggle .switch input:checked + .slider::before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
  transition: none;
  background-color: var(--color-white);
}
.toggle .switch .slider.round {
  border-radius: var(--gutter-half);
}
.toggle .switch .slider.round::before {
  border-radius: var(--gutter-half);
}
.toggle .switch .slider {
  -webkit-transition: all var(--transition-fast) ease;
  -o-transition: all var(--transition-fast) ease;
  transition: all var(--transition-fast) ease;
  background-color: var(--color-gray-lighter);
  border: solid 1px var(--color-gray);
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.toggle .switch .slider::before {
  -webkit-transition: all var(--transition-fast) ease;
  -o-transition: all var(--transition-fast) ease;
  transition: all var(--transition-fast) ease;
  background-color: var(--color-gray);
  bottom: 2px;
  content: "";
  height: 12px;
  left: 3px;
  position: absolute;
  width: 12px;
}

/* Headings */
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5 {
  text-wrap: balance;
  margin: var(--gutter-half) 0;
  width: fit-content;
}

h1,
.h1 {
  font-size: 1.5em;
  line-height: 1.8em;
  font-weight: var(--font-weight-800);
  position: relative;
}
@media (min-width: 992px) {
  h1,
  .h1 {
    font-size: 2em;
    line-height: 2.3em;
  }
}

h1::before,
.h1::before {
  content: "h1";
  background-color: orangered;
}

h2,
.h2 {
  font-size: 1.5em;
  line-height: 1.8em;
  font-weight: var(--font-weight-600);
  position: relative;
}
h2::before,
.h2::before {
  content: "h2";
  background-color: fuchsia;
}

h3,
.h3 {
  font-size: 1.17em;
  line-height: 1.47em;
  font-weight: var(--font-weight-600);
  position: relative;
}
h3::before,
.h3::before {
  content: "h3";
  background-color: blue;
}

h4,
.h4 {
  font-size: 1em;
  line-height: 1.3em;
  font-weight: var(--font-weight-500);
  position: relative;
}
h4::before,
.h4::before {
  content: "h4";
  background-color: teal;
}

h5,
.h5 {
  font-size: 0.83em;
  line-height: 1.03em;
  font-weight: var(--font-weight-500);
  position: relative;
}
h5::before,
.h5::before {
  content: "h5";
  background-color: limegreen;
}

h6,
.h6 {
  font-size: 0.67em;
  line-height: 0.97em;
  position: relative;
}
h6::before,
.h6::before {
  content: "h5";
  background-color: limegreen;
}
h1::before,
.h1::before,
h2::before,
.h2::before,
h3::before,
.h3::before,
h4::before,
.h4::before,
h5::before,
.h5::before,
h6::before,
.h6::before {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2px 2px;
  font-size: 9px;
  color: white;
  text-transform: uppercase;
  height: 18px;
  line-height: 14px;
  animation: general-fade 0.5s infinite linear;
  display: none;
}

p {
  line-height: 1.2;
  position: relative;
  text-wrap: pretty;
}

p::before {
  content: "p";
  position: absolute;
  top: 0;
  right: 0;
  background-color: aqua;
  padding: 3px 6px;
  font-size: 11px;
  color: white;
  text-transform: uppercase;
  animation: general-fade 0.5s infinite linear;
  display: none;
}

input[type="checkbox"],
input[type="radio"],
input[type="range"],
progress {
  /* accent-color: var(--color-primary); */
}
