html {
    width: 210mm;
}

.body-pdf  {
    width: 170mm;
}

.sidebar,
.navbar,
.paperclip {
    display: none !important;
}
main.col-xs-12,
main.col-sm-8,
main.offset-sm-4 {
    margin: 0 !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.info-header {
    background: none;
}

.info-header h1 {
    color: #45659f;
    font-size: 24px;
    line-height: 30px;
    padding: 10px 0.4rem;
}

.credits {
    background-color: #fff !important;
}

.credits .credits__author h2 {
    color: #7c9428;
    padding: 10px 0.4rem;
}

.credits__author .reference {
    display: none;
}

.ref-print {
    display: inline !important;
    font-size: 9px !important;
}

.credits,
.credits__references,
.credits__author {
    height: auto;
    display: block !important;
}

.credits .credits__references ul {
    margin: 0;
    padding: 0;
}

.credits .credits__references ul li {
    color: #7c9428 !important;
    margin: 0;
    padding: 0;
    position: relative;
}

.credits .credits__references ul li span, .credits .credits__references ul li p {
    color: #7c9428 !important;
}

.credits .credits__references ul li .ref-print {
    position: absolute;
    left: -20px;
    top: -3px;
}

.credits .credits__references ul li .reference {
    display: none !important;
}

h2 {
    font-size: 15px !important;
    line-height: 16px !important;
}

h3 {
    font-size: 14px !important;
    line-height: 15px !important;
}

h4 {
    font-size: 13px !important;
    line-height: 14px !important;
    font-weight: 600;
}

h5,
figcaption {
    font-size: 13px !important;
    line-height: 15px !important;
}

p,
ol,
ul {
    font-size: 12px !important;
    line-height: 15px !important;
    margin-bottom: 10px !important;
}

a[name] sup,
sup a[name],
sup a,
a sup {
    vertical-align: super;
    font-size: 10px !important;
    color: white !important;
}

h5 .caption,
figcaption,
figcaption .caption {
    color: black !important;
}

figure figcaption {
    width: 100% !important;
    max-width: 170mm !important;
}

.content__text p,
.content__text ol,
.content__text ul {
    color: black;
}

p img {
    display: block;
    padding-top: 0;
    margin-top: 4px;
}

.content__table figure > img,
.content__image figure > img {
    display: block;
    width: auto;
    max-width: 175mm !important;
    padding: 0;
    /* max-height: 750px; */
}

sup {
    vertical-align: super;
    font-size: 7px !important;
    line-height: normal;
}

sub {
    vertical-align: sub;
    font-size: 10px !important;
    line-height: normal;
}

.content__formula {
    position: relative;
}

.content__formula .col-2 {
    display: none;
}

.content__formula span.ref-print {
    position: absolute;
    right: 20px;
    top: 35px;
    margin-top: -7.5px !important;
    color: #3e4a13;
    font-size: 15px !important;
    display: block;
}

figure,
img {
    page-break-before: auto !important; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */
    page-break-after: auto !important; /* 'always,' 'avoid,' 'left,' 'inherit,' or 'right' */
    page-break-inside: avoid !important;
}

img.formula {
    max-height: 50px !important;
}

img.formula.formula--diffwidth {
    max-height: none !important;
}

.pdf {
    display: none !important;
}

ol,
ol li {
    list-style-type: decimal;
}

.content__references {
    /* margin: 0 !important;
    padding: 0 !important; */
    width: 100% !important;
}

#conclusion,
#conclusions {
    page-break-inside: avoid;
}

#references {
    height: auto;
    break-inside: auto;
    page-break-inside: auto !important;
}

#references ol {
    display: block;
    list-style: none;
    page-break-inside: auto !important;
    break-inside: auto !important;
    /* page-break-after: always; */
}

#references ol li {
    display: block;
    list-style: none;
}

.print-only {
    display: -dompdf-image !important;
}

.media-only {
    display: none !important;
}

.pdf-header,
.pdf-footer {
    display: block !important;
    position: fixed;
    width: 175mm;
    margin: 0 20px;
}

.pdf-header {
    top: -35px;
}

.pdf-footer {
    bottom: -20px;
}

.pdf-header p,
.pdf-footer p {
    font-size: 7px;
    color: #6a6a6a;
}

/** exceptions **/
.field-100 img {
    margin-top: 35px;
}

.body-pdf a[name] sup,
.body-pdf sup a[name] {
    background: none !important;
    color: #a0bf34 !important;
    font-weight: 700;
}

.text-nowrap {
    white-space: nowrap !important;
}

.no-print {
    display: none;
}

.print-only{
    display: block;
}

.br {
    display: block;
}

figure {
    margin: 0;
}

.content__references a {
    text-decoration: none;
}