/* Custom normalize file for Hello Elements child theme */
*,
:after,
:before {
    box-sizing: border-box;
}

html {
    font-family:
        system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
        "Apple Color Emoji", "Segoe UI Emoji"; /* 1 */
    line-height: 1.15; /* 2 */
    -webkit-text-size-adjust: 100%; /* 3 */
    tab-size: 4; /* 4 */
}

body {
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-block-start: 0.5rem;
    margin-block-end: 1rem;
}

p {
    margin-block-start: 0;
    margin-block-end: 1rem;
}

ol,
ul {
    margin-block: 1rem;
    padding-inline-start: 2rem;
}

ol,
ul,
dl {
    margin-block-start: 0;
    margin-block-end: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
    margin-block-end: 0;
}

dd {
    margin-block-end: 0.5rem;
    margin-inline-start: 0;
}

blockquote {
    margin: 0 0 1rem;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
    white-space: pre-wrap;
}

a {
    text-decoration: none;
    background-color: transparent;
}

a:not([href]):not([tabindex]),
a:not([href]):not([tabindex]):focus,
a:not([href]):not([tabindex]):hover {
    color: inherit;
    text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
    outline: 0;
}

abbr[title] {
    border-block-end: none;
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
    height: auto;
    max-width: 100%;
}

details {
    display: block;
}

summary {
    display: list-item;
}

figcaption {
    color: #333;
    font-size: 1rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.4;
}

[hidden],
template {
    display: none;
}

@media print {
    *,
    :after,
    :before {
        background: transparent !important;
        box-shadow: none !important;
        color: #000 !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    blockquote,
    pre {
        -moz-column-break-inside: avoid;
        border: 1px solid #ccc;
        break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    img,
    tr {
        -moz-column-break-inside: avoid;
        break-inside: avoid;
    }

    h2,
    h3,
    p {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        -moz-column-break-after: avoid;
        break-after: avoid;
    }
}

label {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    color: inherit;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

input[type=date],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select,textarea {
    width: 100%;
    display: block;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

[type="button"],
[type="reset"],
[type="submit"],
button {
    -webkit-appearance: button;
    width: auto;
}

[type="button"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
    resize: vertical;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

select {
    display: block;
}

table {
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.9em;
    margin-block-end: 15px;
    width: 100%;
}

table td,
table th {
    border: 1px solid hsla(0, 0%, 50%, 0.502);
    line-height: 1.5;
    padding: 15px;
    vertical-align: top;
}

table th {
    font-weight: 700;
}

table tfoot th,
table thead th {
    font-size: 1em;
}

table caption + thead tr:first-child td,
table caption + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table thead:first-child tr:first-child td,
table thead:first-child tr:first-child th {
    border-block-start: 1px solid hsla(0, 0%, 50%, 0.502);
}

table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
    background-color: hsla(0, 0%, 50%, 0.071);
}

table tbody tr:hover > td,
table tbody tr:hover > th {
    background-color: hsla(0, 0%, 50%, 0.102);
}

table tbody + tbody {
    border-block-start: 2px solid hsla(0, 0%, 50%, 0.502);
}

@media (max-width: 767px) {
    table table {
        font-size: 0.8em;
    }

    table table td,
    table table th {
        line-height: 1.3;
        padding: 7px;
    }

    table table th {
        font-weight: 400;
    }
}

:focus-visible {
    outline: rgba(127, 127, 127, 0.5) solid 2px;
    outline-offset: 2px;
}
