/* Carbon 1.03 April 2022 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--body);
  /* offset anchor scrolling */
  scroll-padding-top: var(--nav);
  -ms-overflow-style: -ms-autohiding-scrollbar;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font: var(--font-size)/1.4 var(--font);
  color: var(--color);
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

img,
iframe,
picture,
video {
  display: block;
  border: 0;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: all .4s;
}

[class*=display-] {
  margin-bottom: var(--space);
  font-weight: var(--display-w);
  line-height: 1;
  letter-spacing: var(--ls);
}

.display-1 {
  font-size: 4.5rem;
  font-size: clamp(2rem, 10vmin, 4.5rem);
}

.display-2 {
  font-size: 4rem;
  font-size: clamp(2rem, 7vmin, 4rem);
}

.display-3 {
  font-size: 3rem;
  font-size: clamp(1.875rem, 6vmin, 3rem);
}

.display-4 {
  font-size: 2.75rem;
  font-size: clamp(1.5rem, 4.5vmin, 2.75rem);
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
.h1 {
  color: var(--h1);
  font-size: 2.5rem;
  font-size: clamp(1.75rem, 4.5vmin, 3rem);
  font-family: var(--h1f);
  font-weight: var(--h1w);
}

h2,
.h2 {
  color: var(--h2);
  font-size: 2rem;
  font-size: clamp(1.375rem, 4vmin, 2.25rem);
  font-family: var(--h2f);
  font-weight: var(--h2w);
}

h3,
.h3 {
  color: var(--h3);
  font-size: 1.75rem;
  font-size: clamp(1.2rem, 3.5vmin, 1.5rem);
  font-family: var(--h3f);
  font-weight: var(--h3w);
}

h4,
.h4 {
  color: var(--h4);
  font-size: 1.5rem;
  font-size: clamp(1.1rem, 2.5vmin, 1.25rem);
  font-family: var(--h4f);
  font-weight: var(--h4w);
}

h5,
.h5 {
  color: var(--h5);
  font-size: 1.25rem;
  font-size: clamp(1rem, 1vmin, 1.25rem);
}

h6,
.h6 {
  color: var(--h6);
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
  line-height: 1.2;
}

h4,
h5,
.h4,
.h5 {
  line-height: 1.4;
  margin-bottom: var(--space);
}

h1,
h2,
h3,
.h1,
.h2,
.h3,
main :is(p, ul, ol),
footer :is(p, ul) {
  margin-bottom: var(--space2);
}


main p+*:not(p):not(ul) {
  margin-top: var(--space1);
}

main ul,
main ol {
  padding-left: 1.5rem;
}

.col>*:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 105%;
  font-weight: var(--bold);
}

.note {
  font-size: 80% !important;
  opacity: .5;
}


strong {
  font-weight: var(--bold) !important;
}

.elg {
  margin-bottom: var(--space);
  font-family: var(--font);
  font-size: .75rem;
  font-size: clamp(.75rem, 2vmin, .875rem);
  font-weight: var(--bold);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hyp {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

hr {
  border: 1px solid currentColor;
  margin: 3rem 0 !important;
  opacity: .1 !important;
}

table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
}

.tabler {
  display: block;
  overflow-x: auto;
}

.tabler table th {
  width: 280px;
}

.tabler table th:last-child {
  width: auto;
}

.tabler td {
  overflow: hidden;
  text-overflow: ellipsis;
}

tr {
  background-color: var(--tr);
  transition: background-color .4s;
}

td,
th {
  padding: 1rem 1.25rem;
  vertical-align: top;
  font-size: 90%;
}

th {
  background-color: var(--th);
  color: var(--th-txt);
  text-align: left;
  vertical-align: middle;
}

th:nth-child(even) {
  background-color: var(--th-hover);
}

tr:nth-child(even) {
  background-color: var(--tr-even);
}

@media (max-width: 59.9375rem) {
  .tabler table {
    min-width: 60rem;
  }
}

@media (hover:hover) {
  tr:hover {
    background-color: var(--tr-hover);
  }

  th:hover {
    background-color: var(--th-hover);
  }
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-bottom: var(--space2);
  padding: .5rem .75rem;
  border: none;
  border-radius: 4px;
  background: var(--form);
  font: inherit;
}

label {
  display: flex;
  align-items: center;
  margin-bottom: calc(var(--space) * .5);
}

form input[type=checkbox],
form input[type=radio] {
  display: inline-block;
  flex: none;
  height: 1.5rem;
  margin: .375rem .5rem .375rem 0;
  width: 1.5em;
  accent-color: var(--ac);
}

input[type=submit]:hover {
  cursor: pointer;
}

textarea {
  height: 13rem;
}

select {
  width: auto;
}

::placeholder {
  opacity: .6;
}

input.error,
textarea.error,
select.error {
  background-color: #fadfe6 !important;
}

label.error {
  margin-top: -1.25rem;
  color: red;
  font-size: .813rem;
}

.honey {
  display: none
}

button {
  display: block;
  width: auto;
  font: inherit;
  -webkit-appearance: none;
  border: none;
  cursor: pointer;
}

/* layout */
main {
  overflow-x: hidden;
}

.row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

[class*="col-"],
.col-6 {
  display: flex;
  flex-direction: column;
  grid-column: span 6;
}

.col-5 {
  grid-column: span 5;
}

.col-4 {
  grid-column: span 4;
}

.col-3 {
  grid-column: span 3;
}

.col-2 {
  grid-column: span 2;
}

.col-1 {
  grid-column: span 1;
}

.gap {
  gap: var(--gap);
}

.no-ban main {
  padding-top: var(--nav);
}

article {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  width: 100%;
  position: relative;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.container,
article {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.container::-webkit-scrollbar,
article::-webkit-scrollbar {
  display: none;
}

.container,
article {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.container-fluid,
.half {
  max-width: 100%;
}

.col {
  display: flex;
  flex-direction: column;
  padding: var(--y) var(--x);
  z-index: 2;
}

.col>*:not(table, img, picture, video, iframe) {
  width: var(--narrow);
  max-width: 100%;
}

.mt-auto {
  margin-top: auto !important
}

.mb-auto {
  margin-bottom: auto !important
}

.mx-auto {
  margin-right: auto !important;
  margin-left: auto !important
}

.m-0 {
  margin: 0 !important
}

.mt-0 {
  margin-top: 0 !important
}

.mt-1 {
  margin-top: calc(var(--space) * .25) !important
}

.mt-2 {
  margin-top: calc(var(--space) * .5) !important
}

.mt-3 {
  margin-top: var(--space) !important
}

.mt-4 {
  margin-top: calc(var(--space) * 1.5) !important
}

.mt-5 {
  margin-top: calc(var(--space) * 3) !important
}

.mb-0 {
  margin-bottom: 0 !important
}

.mb-1 {
  margin-bottom: calc(var(--space) * .25) !important
}

.mb-2 {
  margin-bottom: calc(var(--space) * .5) !important
}

.mb-3 {
  margin-bottom: var(--space) !important
}

.mb-4 {
  margin-bottom: calc(var(--space) * 1.5) !important
}

.mb-5 {
  margin-bottom: calc(var(--space) * 3) !important
}

.pxy {
  padding: var(--y) var(--x);
}

.px {
  padding-right: var(--x);
  padding-left: var(--x);
}

.pr {
  padding-right: var(--x);
}

.pl {
  padding-left: var(--x);
}

.py {
  padding-top: var(--y);
  padding-bottom: var(--y);
}

.pb {
  padding-bottom: var(--y);
}

.pt {
  padding-top: var(--y);
}

.pt-nav {
  padding-top: var(--nav);
}

.p-0 {
  padding: 0 !important;
}

.px-0 {
  padding-right: 0 !important;
  padding-left: 0 !important
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important
}

.pt-1 {
  padding-top: calc(var(--space) * .25) !important
}

.pt-2 {
  padding-top: calc(var(--space) * .5) !important
}

.pt-3 {
  padding-top: var(--space) !important
}

.pt-0 {
  padding-top: 0 !important
}

.pr-0 {
  padding-right: 0 !important
}

.pb-1 {
  padding-bottom: calc(var(--space) * .25) !important
}

.pb-2 {
  padding-bottom: calc(var(--space) * .5) !important
}

.pb-3 {
  padding-bottom: var(--space) !important
}

.pb-0 {
  padding-bottom: 0 !important
}

.pl-0 {
  padding-left: 0 !important
}

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

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

.hide {
  display: none;
}

.p-rel {
  position: relative;
}

@media (max-width: 31.9375rem) {
  .py-sm {
    padding-top: var(--y) !important;
    padding-bottom: var(--y) !important
  }

  .p-sm-0 {
    padding: 0 !important;
  }

  .px-sm-0 {
    padding-right: 0 !important;
    padding-left: 0 !important
  }

  .py-sm-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important
  }

  .pt-sm-0 {
    padding-top: 0 !important
  }

  .pr-sm-0 {
    padding-right: 0 !important
  }

  .pb-sm-0 {
    padding-bottom: 0 !important
  }

  .pl-sm-0 {
    padding-left: 0 !important
  }

  .hide-sm {
    display: none;
  }

  .order-1 {
    order: 1
  }

  .order-2 {
    order: 2
  }

  .order-3 {
    order: 3
  }

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

@media (max-width: 47.9375rem) {

  .collapse>*:not(:first-child) {
    padding-top: 0;
    padding-bottom: 0;
  }

  .order-md-1 {
    order: 1
  }

  .order-md-2 {
    order: 2
  }

  .order-md-3 {
    order: 3
  }
}

@media (min-width: 48rem) {

hr {
  margin: 1.5rem 0 3rem !important;
}

  .pb-md {
    padding-top: var(--y);
    padding-bottom: var(--y);
  }

  .col-md-6 {
    grid-column: span 6;
  }

  .col-md-5 {
    grid-column: span 5;
  }

  .col-md-4 {
    grid-column: span 4;
  }

  .col-md-3 {
    grid-column: span 3;
  }

  .col-md-2 {
    grid-column: span 2;
  }

  .col-md-1 {
    grid-column: span 1;
  }

  [class^=y-],
  [class^=x-] {
    display: flex;
    flex-direction: column;
  }

  .y-c {
    justify-content: center;
  }

  .y-e {
    justify-content: flex-end;
  }

  .x-s {
    align-items: flex-start;
  }

  .x-c {
    align-items: center;
  }

  .x-e {
    align-items: flex-end;
  }

  .center {
    place-items: center
  }

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

  .text-md-right {
    text-align: right;
  }

  [class^=order-] {
    display: flex;
  }

  .hide-md {
    display: none;
  }

  .py-md {
    padding-top: var(--y);
    padding-bottom: var(--y);
  }

  .pb-md {
    padding-bottom: var(--y);
  }

  .pt-md {
    padding-top: var(--y);
  }

  .pl-md {
    padding-left: var(--y);
  }

  .pl-md-1 {
    padding-left: 25px;
  }

  .pl-md-2 {
    padding-left: 50px;
  }

  .pl-md-3 {
    padding-left: 100px;
  }

  .pr-md {
    padding-right: var(--y);
  }

  .pr-md-1 {
    padding-right: 25px;
  }

  .pr-md-2 {
    padding-right: 50px;
  }

  .pr-md-3 {
    padding-right: 100px;
  }
}

footer {
  color: var(--footer);
  background-color: var(--footer-bg);
  position: sticky;
  top: 100vh;
  font-size: 90%;
}

footer article {
  max-width: var(--container);
  padding: var(--y) var(--x);
}

footer .col {
  justify-content: flex-start;
}

footer ul {
  list-style: none;
  margin-left: 0;
}

footer ul li {
  margin-bottom: .5rem;
  font-size: 1rem;
}

footer ul ul {
  margin-top: .25rem;
}

footer>*:last-child {
  margin-bottom: 0;
}

.copyright {
  font-size: 65%;
  opacity: .6;
  text-transform: uppercase;
}

footer a:link,
footer a:visited {
  color: var(--footer-a);
}

footer a:hover {
  color: var(--footer-a-hover);
}

.zz article:nth-child(even) {
  direction: rtl;
}

.zz article:nth-child(even)>* {
  direction: ltr;
  text-align: left;
}


.contain,
.cover {
  background-size: contain !important;
  background-position: right top;
  min-height: 450px;
  background-repeat: no-repeat;
}

.cover {
  background-size: cover !important
}

[class*=fit] {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover
}

.fit-r {
  object-position: right center
}

.fit-l {
  object-position: left center
}

.w-100 {
  width: 100% !important;
}

.w-auto {
  width: auto !important;
}

@media (min-width: 80rem) {
  [class*=display-] {
    letter-spacing: var(--ls);
  }

  .col-lg-6 {
    grid-column: span 6;
  }

  .col-lg-5 {
    grid-column: span 5;
  }

  .col-lg-4 {
    grid-column: span 4;
  }

  .col-lg-3 {
    grid-column: span 3;
  }

  .col-lg-2 {
    grid-column: span 2;
  }

  .col-lg-1 {
    grid-column: span 1;
  }

  .span-2 {
    grid-column: span 2;
  }

  .span-3 {
    grid-column: span 3;
  }

  .px-lg {
    padding-right: var(--x);
    padding-left: var(--x);
  }

  .pr-lg {
    padding-right: var(--x);
  }

  .pr-lg-0 {
    padding-right: 0;
  }

  .pr-lg-1 {
    padding-right: 25px;
  }

  .pr-lg-2 {
    padding-right: 50px;
  }

  .pr-lg-3 {
    padding-right: 100px;
  }

  .pl-lg {
    padding-left: var(--x);
  }

  .pl-lg-0 {
    padding-left: 0;
  }

  .pl-lg-1 {
    padding-left: 25px;
  }

  .pl-lg-2 {
    padding-left: 50px;
  }

  .pl-lg-3 {
    padding-left: 100px;
  }

  .py-lg {
    padding-top: var(--y);
    padding-bottom: var(--y);
  }

  .pb-lg {
    padding-bottom: var(--y);
  }

  .pt-lg {
    padding-top: var(--y);
  }

  .half>:first-child:not(picture):not(img) {
    width: calc(var(--container) * .5) !important;
    margin-left: auto
  }

  .half>:last-child:not(picture):not(img) {
    width: calc(var(--container) * .5) !important;
  }

  .zz .half:nth-child(even)>:first-child:not(picture):not(img) {
    margin-left: 0;
    margin-right: auto;
  }

  .text-lg-left {
    text-align: left;
  }

  .hide-lg {
    display: none;
  }

  .jut {
    margin-top: -4rem;
  }

  .jut-md {
    margin-top: -8rem;
  }

  .jut-lg {
    margin-top: -12rem;
  }
}

[class*=btn] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 10ch;
  padding: .875em 1.5em .75em;
  border-radius: var(--rad);
  background-color: var(--ac);
  color: #fff;
  font-weight: var(--bold);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: .4s all ease-in-out;
  overflow: hidden;
  margin-bottom: .625em;
  text-shadow: none;
  cursor: pointer;
}

[class*=btn]:not(:last-child) {
  margin-right: .625em;
}

[class*=btn]:hover {
  background-color: var(--ac-hover);
}

[class*=btn]::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100px;
  background-color: rgba(255, 255, 255, .3);
  transition: none;
}

[class*=btn]:hover::after {
  width: 120%;
  background-color: rgba(255, 255, 255, 0);
  transition: all .3s ease-in-out;
}

[class*=btn2] {
  background-color: var(--ac2);
}

[class*=btn2]:hover {
  background-color: var(--ac2-hover);
}

[class*=-ol] {
  background-color: transparent !important;
  border-radius: 0;
  box-shadow: inset 0 0 0 2px var(--ac);
  color: var(--ac);
}

[class*=-ol]:hover {
  box-shadow: inset 0 0 0 2px var(--ac-hover);
  color: var(--ac-hover);
}

.btn2-ol {
  box-shadow: inset 0 0 0 2px var(--ac2);
  color: var(--ac2);
}

.btn2-ol:hover {
  box-shadow: inset 0 0 0 2px var(--ac2-hover);
  color: var(--ac2-hover);
}

.inv [class*=btn] {
  background-color: #fff;
  color: var(--ac);
}

.inv [class*=-ol],
.inv [class*=-ol]:hover {
  box-shadow: inset 0 0 0 2px #fff !important;
  color: #fff !important;
}

[class*="ico-"] {
  display: inline-block;
  padding: .25rem 0;
  padding-inline-start: 2rem;
  position: relative;
  margin-top: 0 !important;
  color: var(--ac3);
}

[class*="ico-"]::before {
  content: "";
  position: absolute;
  background: transparent url(../i/phone.svg) no-repeat left .125em;
  background-size: 100% auto;
  left: 0;
  width: 20px;
  height: 100%;
  filter: var(--ico);
}

[class*="-email"]::before {
  background-image: url(../i/email.svg);
  background-position: left .375em;
}

[class*="-wa"]::before {
  background-image: url(../i/whatsapp.svg);
}

[class*="-waze"]::before {
  background-image: url(../i/waze.svg);
}

[class*="-gmap"]::before {
  background-image: url(../i/gmap.svg);
}

[class*="-ig"]::before {
  background-image: url(../i/ig.svg);
}

[class*="-twitter"]::before {
  background-image: url(../i/twitter.svg);
}

[class*="-linkedin"]::before {
  background-image: url(../i/linkedin.svg);
}

[class*="-fb"]::before {
  background-image: url(../i/fb.svg);
}

/* Animation */
[class*=ani-] {
  opacity: 0;
  position: relative;
  transition: 1s ease-out;
}

[class*=ani-fade] {
  transition: .2s ease-out;
}

.ani-fade-up {
  transform: translateY(20px);
}

[class*=ani-fade].done {
  opacity: 1;
  transition: .2s ease-out;
  transform: translateY(0);
}

.ani-reveal-left {
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
}

.ani-reveal-right {
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
}

.ani-reveal-center {
  clip-path: polygon(25% 0%, 75% 0%, 75% 100%, 25% 100%);
}

[class*=ani-reveal].complete {
  opacity: 1;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  transform: skewY(0);
}

[class*=ani-reveal] img {
  transform: scale(1.1);
  transition: 2s ease-out;
}

[class*=ani-reveal].complete img {
  transform: scale(1);
  transition: 4s ease-out;
}

@media (min-width: 40rem) {
  [data-delay="1"] {
    transition-delay: .2s !important
  }

  [data-delay="2"] {
    transition-delay: .4s !important
  }

  [data-delay="3"] {
    transition-delay: .6s !important
  }

  [data-delay="4"] {
    transition-delay: .8s !important
  }
}

body.no-js [class*=ani-],
.is-cms [class*=ani-] {
  opacity: 1 !important;
  transform: none !important;
}

.ac {
  background-color: var(--ac)
}

.ac2 {
  background-color: var(--ac2)
}

.ac3 {
  background-color: var(--ac3)
}

.ac-hover {
  background-color: var(--ac-hover)
}

.ac2-hover {
  background-color: var(--ac2-hover)
}

.ac3-hover {
  background-color: var(--ac3-hover)
}

.g1 {
  background-color: var(--g1)
}

.g2 {
  background-color: var(--g2)
}

.g3 {
  background-color: var(--g3)
}

.g4 {
  background-color: var(--g4)
}

.g5 {
  background-color: var(--g5)
}

.fff {
  background-color: #fff
}

.inv *:not([class*=btn]):not([type="text"]):not(textarea):not(select) {
  color: #fff !important
}

.muted {
  color: var(--g3);
}

.t-ac {
  color: var(--ac) !important
}

.t-ac2 {
  color: var(--ac2) !important
}

.font1 {
  font-family: var(--font)
}

.font2 {
  font-family: var(--font2)
}

.fw-400 {
  font-weight: 400;
}

.fw-bold {
  font-weight: var(--bold);
}

[class*=social] img {
  display: inline-block;
  width: var(--social);
  filter: var(--social-filter);
  vertical-align: middle;
  transition: opacity .4s;
  margin-bottom: .25rem;
}

[class*=social-sm] img {
  width: var(--social-sm) !important;
  filter: var(--social-sm-filter) !important;
}

[class*=social-sm2] img {
  filter: var(--social-sm2-filter) !important;
}


[class*=social] img:hover {
  opacity: .7;
}

[class*=social] a:not(:last-child) {
  margin-right: 1em
}

.shadow {
  box-shadow: 0 1.9px 1.7px rgba(0, 0, 0, .052), 0 4.5px 4.1px rgba(0, 0, 0, .062), 0 8.5px 7.8px rgba(0, 0, 0, .07), 0 15.2px 13.8px rgba(0, 0, 0, .078), 0 28.4px 25.9px rgba(0, 0, 0, .088), 0 68px 62px rgba(0, 0, 0, .11)
}

.shadow-sm{
  box-shadow: 0 50px 20px -50px rgba(0, 0, 0, 0.1), 0 8px 20px 0 rgba(0, 0, 0, 0.1);
}

/* Navigation */
header {
  width: 100%;
  height: var(--nav);
  position: fixed;
  top: 0;
  z-index: 9;
  background: var(--header);
  transition: all .2s ease-in-out;
  -webkit-backdrop-filter: var(--head-filter);
  backdrop-filter: var(--head-filter);
}

header.alt {
  background-color: var(--header-alt);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

header ul {
  list-style: none;
}

nav {
  display: flex;
  position: relative;
  z-index: 8;
  padding: 0 var(--x);
  justify-content: space-between;
  transition: all .2s;
}

.logo {
  display: block;
  flex: 1 0 200px;
  height: var(--nav);
  font-size: 0;
  background: var(--logo) left center no-repeat;
  background-size: var(--logo-size);
  transition: all .4s;
}

.alt .logo {
  filter: var(--logo-filter-alt);
}

.logo,
.no-ban .alt .logo {
  filter: var(--logo-filter);
}

@media (max-width: 79.9375rem) {
  nav::before {
    content: "";
    position: fixed;
    top: 0;
    left: 100%;
    width: 100vw;
    height: 100vh;
    background: var(--olay);
    transition: opacity .2s;
    opacity: 0;
    z-index: 7
  }

  header button {
    position: absolute;
    right: 0;
    z-index: 10;
    cursor: pointer;
    width: 100px;
    height: var(--nav);
    margin: 0;
    background-color: transparent;
  }

  .burger {
    top: calc(var(--nav)*.5 - 1px);
    right: calc(var(--x) + 8px);
    z-index: 9;
    transition-delay: .2s, 0s;
  }

  .burger,
  .burger::after,
  .burger::before {
    position: absolute;
    display: block;
    width: 16px;
    height: 2px;
    background-color: var(--burger);
    border-radius: 1px;
  }

  .burger::after,
  .burger::before {
    content: "";
    width: 24px;
    margin-top: -7px;
    transition-property: margin, transform;
    transition-duration: .2s;
    transition-delay: .2s, 0s
  }

  .alt .burger,
  .alt .burger::after,
  .alt .burger::before {
    background-color: var(--burger-alt)
  }

  .no-ban .alt .burger,
  .no-ban .alt .burger::after,
  .no-ban .alt .burger::before {
    background-color: var(--burger-no-ban)
  }

  .burger::after {
    margin-top: 7px
  }

  .open .burger {
    background-color: transparent !important;
    transition-delay: .2s
  }

  .open .burger::after,
  .open .burger::before {
    margin-top: 0;
    transform: rotate(45deg);
    transition-delay: 0s, .2s;
    background-color: var(--burger-close) !important
  }

  .open .burger::after {
    transform: rotate(-45deg)
  }

  .open nav>ul {
    transform: translateX(calc(-1 * var(--menu-x)))
  }

  .open nav>ul>* {
    opacity: 1;
    transform: translateY(-.5rem)
  }

  .open nav::before {
    opacity: 1
  }

  .open nav::before {
    left: 0
  }

  nav>ul {
    display: flex;
    flex-direction: column;
    width: var(--menu-x);
    max-width: var(--menu-x-max);
    height: 100vh;
    position: fixed;
    top: 0;
    right: calc(-1 * var(--menu-x));
    z-index: 8;
    padding: 2rem 50px 8rem 2rem;
    overflow-y: auto;
    background: var(--menu-bg);
    transition: transform .4s cubic-bezier(0.5, 0, 0.1, 1);
    will-change: transform;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  nav>ul>* {
    transition: opacity .4s .3s, transform .4s .3s;
    opacity: 0;
  }

  nav>ul>*:first-child {
    margin-top: auto;
  }

  nav>ul>*:last-child {
    margin-bottom: auto;
  }

  nav>ul li a {
    display: block;
  }

  nav>ul>li>a {
    color: var(--menu);
    font-size: 1.25rem;
    padding-bottom: 1.5rem;
    font-weight: var(--bold);
  }

  nav>ul ul {
    margin: .5rem 0 var(--space);
  }

  nav>ul ul li a {
    color: var(--submenu);
    font-size: 1rem;
    padding-bottom: 1rem;
  }

  .m1 nav>ul>li.m1>a,
  .m2 nav>ul>li.m2>a,
  .m3 nav>ul>li.m3>a,
  .m4 nav>ul>li.m4>a,
  nav>ul>li.active>a,
  nav>ul ul>li.active>a {
    color: var(--menu-active);
    font-weight: var(--bold);
  }

  .pb-md-3 {
    padding-bottom: var(--space) !important
  }
  
  .pb-md-1 {
    padding-bottom: calc(var(--space) * .25) !important
  }
}

@media (min-width: 80rem) {
  header button {
    display: none
  }

  nav>ul {
    display: flex;
    height: var(--nav);
  }

  nav>ul>li {
    position: relative;
  }

  nav>ul>li>a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 1rem 1.5rem;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    font-size: .875rem;
    color: var(--menu);
    font-weight: var(--bold);
  }

  .m1 nav>ul>li.m1>a,
  .m2 nav>ul>li.m2>a,
  .m3 nav>ul>li.m3>a,
  .m4 nav>ul>li.m4>a,
  nav>ul>li.active>a,
  .no-ban .alt nav>ul>li.active>a {
    color: var(--menu-active);
    border-top: 4px solid var(--menu-border-active)
  }

  nav>ul>li>a:hover {
    text-decoration: none;
    color: var(--menu-active)
  }

  .alt nav>ul>li>a {
    color: var(--menu-alt)
  }

  .alt nav>ul>li.active>a,
  .m1 .alt nav>ul>li.m1>a,
  .m2 .alt nav>ul>li.m2>a,
  .m3 .alt nav>ul>li.m3>a,
  .m4 .alt nav>ul>li.m4>a {
    color: var(--menu-alt-active);
    border-top: 4px solid var(--menu-alt-border-active)
  }

  .no-ban .alt nav>ul>li>a {
    color: var(--menu-no-ban);
  }

  nav>ul ul {
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity .3s;
    transition-delay: .03s;
    pointer-events: none;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .05);
  }

  nav>ul li:last-child ul {
    left: auto;
    right: 0;
  }

  nav>ul ul li a {
    font-size: 85%;
    min-width: 220px;
    padding: 1rem 2rem;
    display: block;
    background: var(--submenu-bg);
    color: var(--submenu);
    white-space: nowrap
  }

  nav>ul ul li a:hover {
    color: var(--submenu-hover);
    background: var(--submenu-bg-hover)
  }

  nav>ul ul li.active a,
  nav>ul ul li a.current {
    color: var(--submenu-active);
    background: var(--submenu-bg-active);
    font-weight: var(--bold)
  }

  nav>ul li:hover>ul {
    opacity: 1;
    transition: opacity .4s;
    pointer-events: all
  }
}