@font-face {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 400;
    src: local('Noto Serif'), local('NotoSerif'), url(/fonts/NotoSerif.woff2) format('woff2'), url(/fonts/NotoSerif.woff) format('woff');
}
@font-face {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 700;
    src: local('Noto Serif Bold'), local('NotoSerif-Bold'), url(/fonts/NotoSerif-Bold.woff2) format('woff2'), url(/fonts/NotoSerif-Bold.woff) format('woff');
}
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 300;
    src: local('Roboto Condensed Light'), local('RobotoCondensed-Light'), url(/fonts/RobotoCondensed-Light.woff2) format('woff2'), url(/fonts/RobotoCondensed-Light.woff) format('woff');
}
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: local('Roboto Condensed'), local('RobotoCondensed-Regular'), url(/fonts/RobotoCondensed-Regular.woff2) format('woff2'), url(/fonts/RobotoCondensed-Regular.woff) format('woff');
}
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: local('Roboto Condensed Bold'), local('RobotoCondensed-Bold'), url(/fonts/RobotoCondensed-Bold.woff2) format('woff2'), url(/fonts/RobotoCondensed-Bold.woff) format('woff');
}

@font-face {
    font-family: 'B52';
    font-style: normal;
    font-weight: 400;
    src: local('B52'), url(/fonts/B52-Regular.ttf) format('truetype');
}
@font-face {
    font-family: 'DexterC';
    font-style: normal;
    font-weight: 400;
    src: url(/fonts/Dexter_repaired.ttf) format('truetype');
}
@font-face {
    font-family: 'Advanced Pixel LCD-7';
    font-style: normal;
    font-weight: 400;
    src: local('Advanced Pixel LCD-7'), url(/fonts/AdvancedPixelLCD7.ttf) format('truetype');
}
@font-face {
    font-family: 'PF Stamps Pro Metal';
    font-style: normal;
    font-weight: 400;
    src: local('PF Stamp Pro Metal'), url(/fonts/PFStampsProMetal.ttf) format('truetype');
}

#contents {
    font-family: 'Noto Serif', serif;
    font-size: 18px;
    padding: 0 0 7vh;
    margin: 0;
}

#contents > p {
    margin: 2vh 2vw;
}
#contents > p:first-of-type {
    margin-top: 5vh;
}

#contents h1 {
    margin: 0 10vw;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.2em;
    color: #555;
    font-weight: bold;
    font-size: 4vh;
    text-align: center;
}
#contents h1:first-of-type {
    margin-top: 5vh;
}

#contents h2 {
    margin: 5vh 10vw;
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0.1em;
    font-weight: bold;
    font-size: 3vh;
    text-align: center;
}

.chapter-form p + .button {
    margin-top: 5vh;
}

.chapter-form .button + p {
    margin-top: 5vh;
}

.chapter-form .button {
    display: table;
    border-top: 1px solid #e5e5e5;
    width: 100%;
    margin-bottom: 2vh;
    -webkit-tap-highlight-color: transparent;
}

.chapter-form .button .arrow {
    width: 10vh;
    height: 5vh;
    padding-right: 12vh;
    display: table-cell;
    background-repeat: no-repeat;
    background-image: url(/img/arrowStill.png);
    background-position: left top;
    background-size: auto 5vh;
    vertical-align: top;
}

.chapter-form .button.disabled .arrow {
    background-image: url(/img/arrowDisabled.png);
}

.chapter-form .button.pressed .arrow {
    background-image: url(/img/arrowPressed.png);
}

.chapter-form .button .text {
    font-family: 'Noto Serif', serif;
    font-size: 18px;
    display: table-cell;
    vertical-align: middle;
    padding-right: 5vw;
}

#contents img {
    width: 100%;
    padding: 0;
    display: block;
}
#contents img.no-stretch {
    width: auto;
}
#contents img.float.left {
    margin-left: 10vw;
    margin-right: 2vw;
    float: left;
}
#contents img.float.right {
    margin-right: 10vw;
    margin-left: 2vw;
    float: right;
}
#contents img.inline {
    display: inline-block;
    line-height: 100%;
    vertical-align: middle;
}

#contents .journal-update {
    width: calc(100% - 16vh);
    margin: 4vh 8vh 5vh;
    display: table;
}
#contents .journal-update > .icon {
    width: 75px;
    height: 84px;
    padding-right: 1em;
    display: table-cell;
    background-repeat: no-repeat;
    background-image: url(/img/journalUpdateIcon.png);
    background-position: center top;
    background-size: 75px 84px;
    vertical-align: top;
    /*animation: spinner 3500ms infinite linear;*/
}

#contents .journal-update > .details {
    display: table-cell;
}
#contents .journal-update > .details .caption {
    /* almost as h1 */
    font-family: 'Roboto Condensed', sans-serif;
    letter-spacing: 0;
    color: #555;
    font-weight: bold;
    font-size: 4vh;
    text-transform: uppercase;
}
#contents .journal-update > .details .details {
    font-family: 'Roboto Condensed', sans-serif;
    font-style: normal;
    font-size: 3.5vh;
    color: #555;
    margin: 0.5em 0;
}
#contents .journal-update > .details .details > .value {
    float: right;
}
#contents .journal-update > .details .record {
    font-family: 'Roboto Condensed', sans-serif;
    font-style: normal;
    font-size: 3.5vh;
    color: #555;
    margin: 0.5em 0;
}
#contents .journal-update > .details img {
    display: block;
    width: 100%;
}

.chapter-form {
    position: relative;
}