:root {
    --variable: 20px;
    --half-variable: calc(var(--variable) * 0.5);
    --plus: 6px;
    --half-variable-plus: calc(var(--half-variable) + var(--plus));
    --line-height: 1.1;
    --hf-line-height: 1.6;
    --header-lines: 3;
    --footer-lines: 4;
    --header-plus-footer: calc(var(--header-lines) + var(--footer-lines));
    --body-min-height: calc(100% - (((var(--variable) * var(--hf-line-height))) * var(--header-plus-footer)) - (var(--variable) * 3));
}

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

@media screen and (max-width: 600px) {}

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

}

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

body {
    background-color: #efefef;
    font: 100 var(--variable)/1.1 'Helvetica', 'Arial', sans-serif;
}

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

.link-style {
    cursor: pointer;
}

p {
    max-width: 30em;
    margin-bottom: var(--half-variable);
}

.half-font {
    font-size: var(--half-variable);
    margin-bottom: calc(var(--plus) / 2);
}

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

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

/* start header + footer styles */

.header,
.footer {
    position: relative;
    width: 100%;
    line-height: var(--hf-line-height);
}

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

/* end header + footer styles */

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

.sup {
    position: relative;
/*
    top: calc((var(--hf-line-height) * -4px));
    top: calc((var(--variable) * -0.25) - 1px);
*/
/*    top: 2px;*/
    left: 2px;
    line-height: 0;
    vertical-align: super;
}

.icon {
    display: inline-block;
    height: var(--variable);
    width: var(--variable);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    transform: translateY(-2px);
}

.new {
    display: inline-block;
    height: var(--half-variable);
    width: var(--half-variable);
    background-image:url('/files/images/icon-new.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* start body styles */

html,
body {
    height: 100%;
}

.content {
    min-height: var(--body-min-height);
    padding: calc(var(--variable) * 2);
}

h1 {
    font-weight: normal;
    font-size: calc(var(--variable) * 1.5);
    margin-bottom: 2px;
    max-width: 25em;
}

/* end body styles */

.relative {
    position: relative;
}

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

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

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