:root {
    --color-background: #0d0d0d;
    --color: #ffffff;
    --color01: #2edc89;
    --color02: #0f2319;
    --color03: #684bd8;
    --color04: #1c1c2d;
    --color05: #5b72e5;
    --color06: #5be5d5;
    --color-shade01: #000000;
    --color-shade02: #141619;
    --color-shade03: #2d3033;
    --color-shade04: #0d0f0e;
}



@font-face { font-family: "DmMono"; src: url("font/DmMonoRegular-z8ldX.ttf"); }
@font-face { font-family: "GravitasOne"; src: url("font/GravitasOne-Regular.ttf"); }
@font-face { font-family: "Battambang"; src: url("font/Battambang-Regular.ttf"); }


*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}
::before,
::after {
    text-transform: initial !important;
}

::selection {
    background-color: var(--color-shade02);
    color: var(--color01);
}

body {
    background-color: var(--color-background);
    color: var(--color);
    font-family: Battambang;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.05em;
}

body.purple ::selection {
    background-color: var(--color-shade02);
    color: var(--color03);
}

h1 {
    font-family: GravitasOne;
    font-size: 50px;
    line-height: 52px;
    letter-spacing : 0.025em;
}
h2 {
    font-family: GravitasOne;
    font-size: 30px;
    line-height: 32px;
    letter-spacing: 0.025em;
}
h3 {
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0.05em;
}

a, .link {
    color: var(--color);
    text-decoration: none;
    cursor: pointer;
}

a:hover, .link:hover {
    color: var(--color01);
}

body.purple a:hover, body.purple .link:hover {
    color: var(--color03);
}

img {
    max-width: 100%;
}

button, .btn {
    border: 1px solid var(--color01);
    background-color: transparent;
    color: var(--color01);
    padding: 20px 30px;
    border-radius: 60px;
    width: 100%;
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
body.purple button,
body.purple .btn,
section.purple button,
section.purple .btn {
    color: var(--color03);
    border-color: var(--color03);
}
button.active,
button:hover,
.btn:hover {
    background-color: var(--color01);
    color: var(--color-shade01);
    cursor: pointer;
}
body.purple button.active,
body.purple button:hover,
body.purple .btn:hover,
section.purple button.active,
section.purple button:hover,
section.purple .btn:hover {
    background-color: var(--color03);
    color: var(--color-shade01);
}
button.download {
    display: block;
    margin: auto;
    width: auto;
    padding: 20px 6rem;
}
button.download::after {
    font-family: Battambang;
    content: "\21a7";
    padding-left: 15px;
}
button.getintouch::after {
    font-family: Battambang;
    content: "\27a1";
    padding-left: 15px;
    font-size: 2rem;
}


body > :nth-child(2) {
    padding-top: 10rem;
}
body > header {
    position: fixed;
    width: 100%;
	height: 60px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    border-bottom: 1px solid var(--color-shade03);
    background-color: var(--color-background);
    padding: 15px 30px;
    z-index: 100;
}
body > header a, body > header .link {
    text-transform: uppercase;
}
.logo > img {
    width: 175px;
}
body > header h1 {
    font-weight: normal;
    font-size: 1.5rem;
    line-height: initial;
}
body > header a, body > header .link {
    font-family: DmMono;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1em;
    word-spacing: -5px;
}
body > header nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

#menu__toggle, .menu__btn, nav input[type=radio], nav div {
    display: none;
}

nav a {
    font-family: Battambang;
    word-spacing: initial;
}

body > footer {
    display: grid;
    grid-template-areas:
        "logo company support"
        "logo company legal"
        "copyright social backtotop";
    grid-template-columns: repeat(3, 1fr);
    font-size: 13px;
    border-top: 1px solid var(--color-shade03);
}
body > footer a {
    text-transform: initial;
}
body > footer [data-area=logo]      { grid-area: logo; font-size: 2rem; font-weight: normal; }
body > footer [data-area=company]   { grid-area: company; }
body > footer [data-area=support]   { grid-area: support; }
body > footer [data-area=legal]     { grid-area: legal; }
body > footer [data-area=copyright] { grid-area: copyright; }
body > footer [data-area=social]    { grid-area: social; }
body > footer [data-area=backtotop] { grid-area: backtotop; display: flex; align-items: center; }
body > footer [data-area=backtotop]::after {
    content: "\2b06";
    font-family: "Battambang";
    font-size: 1.5rem;
    margin-left: 1rem;
}
body > footer > * {
    padding: 15px;
}
body > footer dl dt {
    padding-bottom: 15px;
}


#hero {
    min-height: calc(100vh - 60px - 90px);
    background-image: url(img/background.hero.jpg);
    background-size: 100% 100%;
    background-position: top;
    background-repeat: no-repeat;
    padding: 40vh 15px 15px 15px;
    display: flex;
    flex-direction: column;
}
#hero > button {
    font-size: .8rem;
}
#hero p {
    font-size: 16px;
}

.breadcrumb {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 30px;
    align-items: end;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    max-width: 1200px;
    margin: auto;
}
.breadcrumb a {
    text-transform: uppercase;
    display: inline-flex;
    font-size: .8rem;
}
.breadcrumb a::before {
    content: "\2b05";
    font-family: "Battambang";
    font-size: 2rem;
    margin-right: 15px;
}

.center {
    text-align: center;
    justify-self: center;
}
.left {
    justify-self: left;
    text-align: left;
}

.eml:before {
    content: attr(data-website) "\0040" attr(data-user);
    unicode-bidi: bidi-override;
    direction: rtl;
}
[data-check] {
    font-size: 0;
}
[data-check]:before {
    content: attr(data-check);
    unicode-bidi: bidi-override;
    direction: rtl;
    font-size: .8rem;
    text-transform: uppercase !important;
    font-style: initial;
    color: green;
}
hr {
    border: 1px solid var(--color-shade03);
    margin: 30px auto;
}
.no-border {
    border: none !important;
}
section.print>article {
    padding: 30px 15px;
}
section {
    clear: both;
    max-width: 1200px;
    margin: auto;
    padding: 30px 15px;
}
img.bordered {
    border: 1px solid var(--color-shade03);
    border-radius: 5px;
    overflow: hidden;
}
img.max-width {
    width: 100%;
}
.box  {
    display: grid;
    grid-gap: 30px;
    justify-items: center;
}
.filers ~ .box {
    align-items: baseline;
}
.bb,
.breadcrumb,
.links li {
    border-bottom: 1px solid var(--color-shade03);
}
.mb {
    margin-bottom: 1rem;
}
.box2 { grid-template-columns: repeat(2, 1fr); }
.box2-3 { grid-template-columns: 1fr 2fr; }
.box3 { grid-template-columns: repeat(3, 1fr); }
.box5 { grid-template-columns: repeat(auto-fill, minmax(var(--min-width), 1fr)); align-items: start; width: 100%; }
a.boxlink {
    background-color: var(--color-shade04);
    border: 1px solid var(--color-shade03);
    border-radius: 5px;
    display: grid;
    grid-template-rows: 90px auto;
    width: 100%;
}
a[href^="test-and-measurement"][data-filters].boxlink { grid-template-rows: initial; width: 100%; }
a[href^="test-and-measurement"][data-filters].boxlink header { display: flex; justify-content: space-between; }
a[href^="test-and-measurement"][data-filters].boxlink header::before { content: none; }
a.boxlink img { border-radius: 0 0 5px 5px; }
.box.offset div {
    grid-column: 2;
}
.pr30 { padding-right: 30%; }
.panel {
    background-color: var(--color-shade04);
    border: 1px solid var(--color-shade03);
    border-radius: 5px;
    padding: 1.5rem;
}
.panel .icon {
    border-radius: 5px;
    background-color:var(--color-shade02);
    padding: .5rem;
    width: 4rem;
    margin-bottom: 8rem;
}
.panel h3 {
    font-size: 1.9rem;
    font-weight: initial;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.panel h3 img {
    height: 4rem;
}
.card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    align-items: center;
    grid-gap: 0 1rem;
}
.card p {
    grid-column: span 2;
    align-self: self-start;
}
p {
    margin: 1rem auto;
}
.box a > header {
    padding: 10px;
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: auto 1fr auto;
    font-size: 24px;
    border-bottom: 1px solid var(--color-shade03);
    align-items: center;
    border-radius: 5px 5px 0 0;
}
.box5 a > header {
    font-size: 18px;
}
.box a.green > header::before,
.box a.cyan > header::before,
.box a.purple > header::before,
.box a.blue > header::before {
    content: "\2022";
    font-family: "Battambang";
    font-size: 3rem;
}
.box5 a.green > header::before { font-size: 2rem; }

.box a.green > header::before  { color: var(--color01); }
.box a.cyan > header::before   { color: var(--color06); }
.box a.purple > header::before { color: var(--color03); }
.box a.blue > header::before   { color: var(--color05); }

.box a.green > header::after,

.box a.purple > header::after,
.box a.blue > header::after {
    content: "\27a1";
    font-family: "Battambang";
    align-self: baseline;
}
.box a.green:hover,
.box a.green:hover header {
    border-color: var(--color01);
    background-color: var(--color02);
    color: var(--color01);
}
.box a.cyan:hover,
.box a.cyan:hover header {
    border-color: var(--color06);
    background-color: var(--color02);
    color: var(--color06);
}
.box a.purple:hover,
.box a.purple:hover header {
    border-color: var(--color03);
    background-color: var(--color04);
    color: var(--color03);
}
.box a.blue:hover,
.box a.blue:hover header {
    border-color: var(--color05);
    background-color: var(--color04);
    color: var(--color05);
}
.news-header,
.links-header,
.filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}
.news-header a,
.links-header a,
.links-header span,
.filter a {
    text-transform: uppercase;
    font-size: .8rem;
    display: flex;
    align-items: center;
    font-family: "DmMono";
}
.news-header a::after,
.links-header a::after,
.filter a::after {
    content: "\27a1";
    font-family: "Battambang";
    font-size: 1rem;
    margin-left: .5rem;
}
.news-body {
    display: grid;
    grid-template-columns: repeat(3, 32%);
    grid-gap: 30px;
}
.news-body a.news {
    border: 1px dashed transparent;
    border-radius: 5px;
}
.news-date {
    text-transform: uppercase;
    font-size: .8rem;
}
.news img {
    width: 100%;
    aspect-ratio: 372 / 209;
    border: 1px solid var(--color-shade03);
    border-radius: 5px;
    object-fit: cover;
    object-position: left;
}
a.news figcaption {
    display: flex;
    flex-direction: column;
}
a.news:hover {
    border-color: var(--color01);
    color: white;
}
body.purple a.news:hover {
    border-color: var(--color03);
}
a.news:hover .news-title {
    text-decoration: underline;
}
#news p {
    text-align: justify;
}
#news p.youtube .videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}
#news p.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#news figure {
    display: grid;
}
#news img {
    justify-self: center;
}
#news ul {
    padding-left: 2rem;
}
#news ul + figure {
    margin-top: 1rem;
}

.filter > div {
    display: flex;
    gap: 15px;
}
.filter > div > button {
    text-transform: uppercase;
    white-space: nowrap;
    font-family: "DmMono";
    padding: 8px 8px;
    font-size: .6rem;
}
img.icon.green { filter: invert(79%) sepia(14%) saturate(2066%) hue-rotate(92deg) brightness(92%) contrast(88%); }
img.icon.cyan { filter: invert(85%) sepia(42%) saturate(561%) hue-rotate(107deg) brightness(96%) contrast(88%); }
img.icon.purple { filter: invert(29%) sepia(68%) saturate(3344%) hue-rotate(241deg) brightness(90%) contrast(87%); }
img.icon.blue { filter: invert(63%) sepia(73%) saturate(5512%) hue-rotate(213deg) brightness(92%) contrast(95%); }

.links-header {
    padding-bottom: 15px;
}
.links ul {
    list-style-type: none;
    border-top: 1px solid var(--color-shade03);
}
.links li {
    padding: 15px 0;
}
.links li a {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
}
.links li a::after {
    content: "\27a1";
    font-family: "Battambang";
    font-size: 2rem;
}
.table {
    width: 100%;
    max-width: 100%;
    /* border-collapse: collapse; */
    border-spacing: 0;
    margin: 2rem 0;
}
.table th,
.table td {
    padding: 8px;
    line-height: 1.4;
    vertical-align: top;
    border-top: 1px solid var(--color-shade03);
}
.table tbody tr:last-of-type th,
.table tbody tr:last-of-type td {
    border-bottom: 1px solid var(--color-shade03);
}
span[check]::before,
td[check]::before {
    content: "\2713";
    font-family: "Battambang";
    color: var(--color01);
}
.table-wrapper {
    overflow: auto;
    width: 100%;
    position: relative;
}
.table-wrapper th {
    position: sticky;
    left: 0;
    background-color: var(--color-background);
    white-space: nowrap;
    font-weight: normal;
}
.table-wrapper tbody th {
    text-align: left;
}
a.techlink {
    display: block;
    text-align: right;
    color: var(--color01);
    text-transform: uppercase;
    font-size: .8rem;
}
body.purple a.techlink {
    color: var(--color03);
}

a[target]::after {
    content: '\1f517';
    font-family: 'Battambang';
    margin-left: 5px;
}

.form {
    width: 100%;
}
.form .formGroup {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.form .formGroup>* {
    flex: 1;
}
.form label {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    font-size: .8rem;
    margin-bottom: 2rem;
}
.form label span {
    white-space: nowrap;
}
.form input,
.form textarea,
.form select {
    background-color: transparent !important;
    border: none;
    border-bottom: 1px solid var(--color-shade03);
    width: 100%;
    color: white !important;
    padding: 1rem 0;
    font-size: 1rem;
}
.form option {
    color: var(--color-shade02);
}
.form select:invalid,
.form option:first-of-type {
    color: var(--color-shade03);
}
.form button[type="submit"]::after {
    content: '\2713';
    font-family: 'Battambang';
    margin-left: 1rem;
}
.checkbox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  border: 2px solid var(--color-shade03);
  border-radius: 5px;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.checkbox input:checked ~ .checkmark:after {
  display: block;
}
.checkbox .checkmark:after {
  left: 8px;
  top: 4px;
  width: 6px;
  height: 10px;
  border: solid var(--color01);
  border-width: 0 1px 1px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.purple .checkbox .checkmark:after {
  border: solid var(--color03);
  border-width: 0 1px 1px 0;
}

.confirm,
.error {
    height: 50vh;
}
.confirm div,
.error div {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}
.confirm div::before {
    content: '\1f44d';
    font-family: 'Battambang';
    margin-right: 1rem;
    font-size: 3rem;
    color: var(--color01);
}
.error div::before {
    content: '\274c';
    font-family: 'Battambang';
    margin-right: 1rem;
    font-size: 3rem;
    color: red;
}

.partners {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 2rem;
}
.partner {
    display: inline-grid;
	perspective: 1000px;
    border: 1px solid var(--color-shade03);
    border-radius: 10px;
}
.partner dl,
.partner dd {
    font-size: .8rem;
}
.partner dd {
    color: white;
}
section.purple .partner dt {
    color: var(--color03);
}
.partner-card {
    position: relative;
    cursor: pointer;
    transition-duration: 0.6s;
    transition-timing-function: ease-in-out;
    transform-style: preserve-3d;
    height: 10rem;
}
.partner-card .front,
.partner-card .back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform: rotateX(0deg);
    display: inline-grid;
    align-content: center;
    justify-items: center;
    padding: .25rem;
    text-align: center;
}
.partner-card .front {
    z-index: 2;
}
.partner-card .back {
    transform: rotateY(-180deg);
}
.partner:hover .partner-card {
    transform: rotateY(-180deg);
}
.partner-card img {
    max-height: 100%;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

a.anchor {
    position: relative;
    top:-90px;
    display: block;
    height: 0;
    width:0;
}

input[type=file]::file-selector-button {
  margin-right: 20px;
  border: 1px solid var(--color01);
  background: transparent;
  padding: 10px 20px;
  border-radius: 60px;
  color: var(--color01);
  cursor: pointer;
}

input[type=file]::file-selector-button:hover {
    background: var(--color01);
    color: var(--color02);
}

.filters {
    display: flex;
    gap: .25rem;
    padding: 2rem 0;
    flex-wrap: wrap;
    height: fit-content;
}
.filters button {
    width: auto;
    font-size: .8rem;
    padding: .25rem 1rem;
    border-radius: 10px;
    text-transform: capitalize;
}
.filters span {
    font-size: .8rem;
    flex-basis: 100%;
    margin-top: 1rem;
}
[data-clear] {
    font-size: .8rem;
}
[data-clear]::before {
    content: '\274c';
    font-family: 'Battambang';
    margin-right: .25rem;
}
button[data-clear] {
    border: none;
    padding-left: 0;
    color: var(--color);
    font-weight: bold;
}
button[data-clear]:hover {
    background-color: transparent;
    color: var(--color01);
}

.team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1rem;
}
.team a {
    border: 1px solid var(--color-shade03);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    height: fit-content;
}
.team h2 { font-size: 1.2rem; }
.team h3 { font-size: 1rem; }
.team p {
    text-align: justify;
    font-size: .8rem;
}

.customers-logo {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    grid-gap: 1rem 3rem;
    justify-items: center;
    align-items: center;
    grid-auto-rows: 1fr;
}

.obj-preview {
    position: relative;
}
.obj-preview a.lnk-preview {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
}
modal- {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}
modal-content {
    position: relative;
    margin: auto;
    padding: 35px;
    background-color: #fff;
    border-radius: 10px;
    width: 90%;
    height: 90%;
    max-width: 1200px;
}
model-viewer {
    width: 100%;
    height: 100%;
}
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

/*
 * Desktop
 */
@media screen and (min-width: 1271px) {
    nav > div > dl {
        padding-left: 30%;
    }
    nav > div > * {
        padding: 15px 30px;
        border-bottom: 1px solid var(--color-shade03);
    }
    nav input[type=radio]:checked + div {
        display: block;
        position: absolute;
        background-color: var(--color-background);
        width: 100%;
        left: 0;
        top: 60px;
    }
    nav a {
        text-transform: initial;
    }
    nav custom-details {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    body > header > nav > a {
        color: var(--color01);
        position: absolute;
        right: 30px;
        text-transform: uppercase;
    }
    body.purple > header > nav > a {
        color: var(--color03);
    }
    #hero {
        padding-left: 30%;
        display: grid;
        grid-template-rows: 1fr 1fr auto;
    }
    #hero > * {
        max-width: 900px;
    }
    #hero > button {
        border-color: var(--color-shade03);
        border-radius: 5px;
        background-color: var(--color-background);
        width: auto;
        padding: 10px;
        text-transform: uppercase;
        color: white;
        display: flex;
        justify-content: center;
        gap: .5rem;
        align-self: end;
        letter-spacing: .1rem;
        justify-self: end;
    }
    #hero > button::before {
        content: "\25b6";
        font-family: "Battambang";
        font-size: .6rem;
        align-self: center;
    }
    body > footer [data-area=logo] {
        border-right: 1px solid var(--color-shade03);
        border-bottom: 1px solid var(--color-shade03);
    }
    body > footer [data-area=company] {
        border-right: 1px solid var(--color-shade03);
        border-bottom: 1px solid var(--color-shade03);
    }
    body > footer [data-area=legal] {
        border-bottom: 1px solid var(--color-shade03);
    }
    body > footer [data-area=social] {
        display: flex;
        gap: .5rem;
    }
    body > footer [data-area=social] a {
        text-transform: uppercase;
    }
    body > footer [data-area=social] dd:not(:last-of-type)::after {
        content: ",";
    }    
    body > footer [data-area=copyright] {
        text-align: left;
    }
    body > footer [data-area=backtotop] {
         justify-content: end;
    }
    body > footer [data-area=social] dt {
        display: none;
    }
}

/*
 * Tablet
 */
@media screen and (max-width: 1270px) {
    body {
        font-size: 14px;
        line-height: 20px;
    }
    h1 {
        font-size: 30px;
        line-height: 32px;
    }
    h2 {
        font-size: 22px;
        line-height: 24px;
    }
    h3 {
        font-size: 18px;
        line-height: 22px;
    }
    body > header {
        height: 70px;
        grid-template-columns: 1fr auto;
    }
    body > header nav, header>a {
        display: none;
    }
    nav a {
        text-transform: initial !important;
    }
    nav>label, nav>a {
        text-transform: initial !important;
        font-family: Battambang !important;
        word-spacing: initial !important;
        line-height: 45px !important;
        padding: 0 15px;
        border-bottom: 1px solid var(--color-shade03);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    nav>label[open] {
        color: var(--color01);
        border-bottom: 0;
    }
    nav>a::after {
        content: "\27a1";
        font-family: "Battambang";
        font-size: 1.2rem;
        display: inline-flex;
    }
    nav>label::after {
        content: "+";
        font-family: "Battambang";
        display: inline-flex;
    }
    nav>label[open]::after {
        content: "-";
    }
    nav input[type=radio]:checked + div {
        display: block;
        background-color: var(--color-background);
        width: 100%;
        left: 0;
        top: 60px;
    }
    nav div > custom-details > custom-summary {
        line-height: 45px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    nav div > custom-details {
        display: block;
        margin: 0 15px;
        border-top: 1px solid var(--color-shade03);
    }
    nav div > custom-details > custom-summary::after {
        content: "+";
        font-family: "Battambang";
        display: inline-flex;
        
    }
    nav div > custom-details[open] > custom-summary {
        color: var(--color01);
    }
    nav div > custom-details[open] > custom-summary::after {
        content: "-";        
    }
    nav div dl {
        margin-bottom: 15px;
    }
    nav div dd, nav div dt {
        margin-left: 15px;
    }
    nav div {
        border-bottom: 1px solid var(--color-shade03);
    }
    #menu__toggle:checked + .menu__btn > span {
        transform: rotate(45deg);
    }
    #menu__toggle:checked + .menu__btn > span::before {
        top: 0;
        transform: rotate(0deg);
    }
    #menu__toggle:checked + .menu__btn > span::after {
        top: 0;
        transform: rotate(90deg);
    }
    #menu__toggle:checked ~ nav {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: absolute;
        background-color: var(--color-background);
        width: 100%;
        left: 0;
        top: 70px;
    }
    .menu__btn {
        position: relative;
        width: 26px;
        height: 26px;
        cursor: pointer;
        z-index: 1;
        display: flex;
        align-items: center;
    }
    .menu__btn > span,
    .menu__btn > span::before,
    .menu__btn > span::after {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #616161;
        transition-duration: .25s;
    }
    .menu__btn > span::before {
        content: '';
        top: -8px;
    }
    .menu__btn > span::after {
        content: '';
        top: 8px;
    }
    #hero {
        background-size: 100%;
        padding-top: 30vh;
    }
    #hero > button {
        display: none;
    }
    section {
        grid-template-columns: repeat(2, 1fr);
    }
    body > footer {
        grid-template-areas:
            "logo logo"
            "company legal"
            "support social"
            "backtotop backtotop"
            "copyright copyright";
        grid-template-columns: repeat(2, 1fr);
    }
    body > footer [data-area=logo] {
        border-bottom: 1px solid var(--color-shade03);
        font-size: 1.2rem;
    }
    body > footer [data-area=backtotop] {
        border-top: 1px solid var(--color-shade03);
        justify-content: center;
    }
    body > footer [data-area=copyright] {
        text-align: center;
        border-top: 1px solid var(--color-shade03);
    }
}

/*
 * Smartphone
 */
@media screen and (max-width: 744px) {
    body > header {
        padding: 15px;
    }
    button {
        padding: 10px;
    }
    body > :nth-child(2) {
        padding-top: 7rem;
    }
    .breadcrumb, .box2, .box2-3, .box3, .partners, .team, .news-body {
        grid-template-columns: 1fr;
    }
    .news-header, .links-header, .filter {
        flex-direction: column;
        gap: 15px;
    }
    .filter > div {
        flex-wrap: wrap;
    }
    .pr30 {
        padding-right:inherit;
    }
    .box.offset div {
        grid-column: 1;
    }
    .northern button {
        font-size: 1.2rem;
    }
    .customers-logo {
        grid-template-columns: repeat(3,1fr);
    }
    .form .formGroup {
        flex-direction: column;
    }
}


/*
 * Details hack
 */
custom-details > custom-summary {
    cursor: pointer;
    display: list-item;
    list-style-type: "+";
    padding-left: 10px;
}
custom-details > custom-summary::marker {
    font-family: "Battambang";
}
custom-details[open] > custom-summary {
    list-style-type: "-";
    
}
custom-details:not([open]) > *:not(custom-summary) {
    display: none;
}

/*
 * Marquee
 */
.marquee {
    --gap: 1rem;
    --duration: 60s;
  display: flex;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    gap: var(--gap);
    -webkit-mask-image: linear-gradient( var(--mask-direction, to right), hsl(0 0% 0% / 0), hsl(0 0% 0% / 1) 20%, hsl(0 0% 0% / 1) 80%, hsl(0 0% 0% / 0) );
    mask-image: linear-gradient( var(--mask-direction, to right), hsl(0 0% 0% / 0), hsl(0 0% 0% / 1) 20%, hsl(0 0% 0% / 1) 80%, hsl(0 0% 0% / 0) );
}
/* .marquee__group:hover { animation-play-state: paused; } */
.marquee__group {
  flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: var(--gap);
    min-width: 100%;
    -webkit-animation: scroll-x var(--duration) linear infinite;
    animation: scroll-x var(--duration) linear infinite;
}
.marquee__group img {
    display: grid;
    place-items: center;
    max-width: 200px;
    max-height: 100px;
    padding: calc(200px / 10);
}

@media (prefers-reduced-motion: reduce) {
  .marquee__group {
    animation-play-state: paused;
  }
}

@keyframes scroll-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}
