:root {
    --variable: 4px;
    --variablex1: calc(var(--variable) * 1);
    --variablex2: calc(var(--variable) * 2);
    --variablex3: calc(var(--variable) * 3);
    --variablex4: calc(var(--variable) * 4);

    --line-height: 1.2;

    --header-lines: 3;
    --footer-lines: 4;

    --body-min-height: calc(100% - (((((var(--variablex4) * var(--line-height)) + var(--variablex1)) * var(--header-lines)) + var(--variablex4)) + ((((var(--variablex4) * var(--line-height)) + var(--variablex1)) * var(--footer-lines)) + (var(--variablex4) * 1))));

    /* math: 100% - header: font-size * line-height * lines + padding + footer: font-size * line-height * lines + padding */

}

@media screen and (min-width: 992px) {}

@media screen and (max-width: 600px) {
    :root {
        --variable: 3.5px;
    }
}

@media screen and (max-width: 320px) {
    :root {
        --variable: 3px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch;
}

body {
    background-color: #efefef;
    background-color: #f1efea;
    font: 100 var(--variablex4)/var(--line-height) 'Helvetica', 'Arial', sans-serif;
}


/* ↓ safe area ↓ */
    body {
            padding-top: env(safe-area-inset-top);
            padding-right: env(safe-area-inset-right);
            padding-bottom: env(safe-area-inset-bottom);
            padding-left: env(safe-area-inset-left);
    }
/* ↑ safe area ↑ */

a,
.link-style {
    text-decoration: none;
    border-bottom: 1px solid #0000ff;
    color: unset;
}

.link-style {
    cursor: pointer;
}

.non-link {
    display: none;
    border-bottom: 1px solid transparent;
}

p {
    max-width: 30em;
/*    margin-top: var(--variablex1);*/
    margin-bottom: var(--variablex2);
}

.caption {
    margin-bottom: var(--variablex1);
    font-size: var(--variablex3);
}

.no-break {
    white-space: pre;
}

h1 {
    font-weight: normal;
    font-size: calc(var(--variablex4) + var(--variablex1));
    font-size: 1.25em;
    margin-left: calc(var(--variablex1) * -1);
    /*    max-width: 25em;*/
}

html,
body {
    height: 100%;
}

.header,
.footer {
    position: relative;
    width: 100%;
}

.header ul,
.footer ul {
    list-style: none;
}

.header li,
.footer li {
    margin-bottom: var(--variablex1);
}

.content {
    min-height: var(--body-min-height);
    padding: calc(var(--variablex4) + var(--variablex1));
}

.spacer {
    height: var(--variablex4);
}

.relative {
    position: relative;
}

.icon,
.new {
    display: inline-block;
    position: relative;
    height: var(--variablex4);
    width: var(--variablex4);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: top;
}

.new {
    background-image: url('/files/images/icon-new.svg');
}

.sup {
    position: relative;
    left: var(--variablex1);
}

/* ↓ PDF ↓ */

.pdf {
    margin-bottom: var(--variablex3);
    padding-top: calc(129% * 0.32);
}

.pdf iframe {
    border: none;
    position: absolute;
    top: 0;
/*
    top: calc(var(--variablex4) * 0);
    left: calc(var(--variablex4) * 0);
*/
    width:100%;
    height: 100%;
}

@media screen and (orientation: portrait) {
    .pdf {
        padding-top: 129%;
    }
}

/* ↑ PDF ↑ */
