@import url("https://use.typekit.net/gsa7dmj.css");
h1 {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 700; }
h1 a {
    color: #000;
    text-decoration: none; }

h2 {
    margin: 0;
    font-size: 1.875rem;
    font-weight: 500; }

* { box-sizing: border-box; }

html, body {
    height: 100%;
    margin: 0;
    padding: 0; }

body {
    font-size: 1rem;
    min-height: 100%;
    font-family: objektiv-mk3, sans-serif;
    font-style: normal;
    font-weight: 400; }

a {
    color: #2A4E7D; }
a:hover {
    color: #000;
    text-decoration: none; }

#osd-viewer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000;
    border: 1px solid #000; }

.osd-highlight {
    cursor: pointer;
    box-shadow: 0 0 15px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6); }

.caption-box {
    position: absolute;
    display: flex;
    flex-direction: column;
    bottom: 0;
    left: 0;
    padding: 20px;
    width: 100%;
    max-height: 35vh;
    background: rgba(255, 255, 255, 0.85);
    z-index: 10;
    transform: translate(0%, 0%);
    transition: transform 0.3s; }

.caption-box--hidden {
    transform: translateY(100%); }

.caption-box__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem; }

.button {
    padding: 0;
    background-size: 30px 24px;
    overflow: hidden;
    text-indent: -1000px;
    border: 1px solid transparent; }

.caption-box-show {
    position: absolute;
    width: 46px;
    height: 46px;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85) url("/assets/base/images/show.svg") no-repeat center center;
    transition: opacity 0.4s 0s;
    opacity: 0;
    pointer-events: none; }

.caption-box-show--show {
    opacity: 1;
    pointer-events: all;
    transition-delay: 0.4s; }

.caption-box__header .button--toggle {
    background: url("/assets/base/images/hide.svg") no-repeat center center;
    width: 26px; }

.caption-box__controls .button {
    width: 34px;
    height: 31px;
    background: url("/assets/base/images/arrow.svg") no-repeat center center; }

.button:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.4); }

.button__previous {
    transform: rotate(180deg); }

#annotation {
    overflow: auto; }

@media screen and (min-width: 42.5rem) {
    .caption-box {
        top: 20px;
        bottom: auto;
        left: 20px;
        width: 40%;
        max-width: 600px;
        max-height: 80vh; }
    .caption-box--hidden {
        transform: translateX(calc(-100% - 5vw)); }
    .caption-box-show {
        bottom: auto;
        top: 33px;
        left: 30px; } }

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; }

#osd-viewer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #000;
    border: 1px solid #000; }

.modal {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff; }

.modal__inner {
    display: flex;
    flex: 1 1 100%;
    align-items: center;
    max-width: 40rem;
    padding: 3rem 1rem; }

.modal__header {
    display: flex;
    flex-direction: column;
    align-items: center; }

.modal__title {
    font-size: 2rem;
    margin-bottom: 1rem; }

.slowlooking-logo {
    width: 6.5rem;
    fill: #ffffff; }

.modal__body {
    text-align: center; }

.modal__actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem; }

.modal__button {
    padding: 1rem;
    color: #ffffff;
    border: 3px solid #ffffff;
    text-decoration: none;
    background-color: transparent;
    transition: 0.3s all; }
.modal__button + .modal__button {
    margin-left: 2rem; }
.modal__button:hover {
    background: #ffffff;
    color: #000; }

.modal__button--a {
    border: 0 none;
    text-decoration: underline; }
.modal__button--a:hover {
    background: none;
    color: #ffffff;
    text-decoration: none; }
