* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --------------------------- typography -------------- */
@media screen and (min-width: 200px) {
    html {
        font-size: 4px;
    }
    .poster.big {
        display: none;
    }
    .poster.small {
        display: block;
    }
    /* Increase the font size */
}

@media screen and (min-width: 300px) {
    html {
        font-size: 6px;
    }
    .poster.big {
        display: none;
    }
    .poster.small {
        display: block;
    }
    /* Increase the font size */
}

@media screen and (min-width: 400px) {
    html {
        font-size: 8px;
    }
    .poster.big {
        display: none;
    }
    .poster.small {
        display: block;
    }
    /* Increase the font size */
}

@media screen and (min-width: 500px) {
    html {
        font-size: 10px;
    }
    .poster.big {
        display: none;
    }
    .poster.small {
        display: block;
    }
    /* Increase the font size */
}

@media screen and (min-width: 600px) {
    html {
        font-size: 12px;
    }

    .poster.big {
        display: none;
    }
    .poster.small {
        display: block;
    }
    /* Increase the font size */
}

@media screen and (min-width: 800px) {
    html {
        font-size: 13px;
    }

    .poster.big {
        display: none;
    }
    .poster.small {
        display: block;
    }
    /* Increase the font size */
}

@media screen and (min-width: 900px) {
    html {
        font-size: 14px;
    }

    .poster.big {
        display: none;
    }
    .poster.small {
        display: block;
    }

    /* Increase the font size */
}

@media screen and (min-width: 1000px) {
    html {
        font-size: 16px;
    }

    .poster.big {
        display: none;
    }
    .poster.small {
        display: block;
    }
    /* Increase the font size */
}

@media screen and (min-width: 1100px) {
    html {
        font-size: 17px;
    }
    .poster.big {
        display: none;
    }
    .poster.small {
        display: block;
    }
    /* Increase the font size */
}

html {
    height: 100%;
    width: 100%;
}

body {
    height: 100%;
    width: 100%;
    background-color: #fff;
    color: #555;
    font-size: 1rem;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

header {
    background-color: white;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Josefin Sans', Arial, sans-serif;
    color: rgb(322, 69, 16);
}

h1 {
    font-size: 1.8em;
}

/* http://www.w3.org/Style/Examples/007/color-bullets.en.html */
ol {
    list-style: none;
    counter-reset: li
}

/* And then we use it like we did the bullet above: */
ol li::before {
    content: counter(li);
    color: rgb(322, 69, 16);
    display: inline-block;
    width: 1em;
    margin-left: -1em
}

/* One more thing is missing: As it is our own counter, we're responsible for augmenting it as well: */
ol li {
    counter-increment: li
}

ul {
    list-style: none
}

ul li span {
    font-family: 'Josefin Sans', Arial, sans-serif;
    color: rgb(322, 69, 16);
    font-size: 1.2em;
}

ul li::before {
    content: "• " attr(aria-label) "\00a0";
    color: rgb(322, 69, 16);
    font-size: 1.1rem;
    display: inline-block;
}

ul::before{
    content: attr(aria-label);
    font-size: 1rem;
    margin-left: -1rem;
    color: rgb(322, 69, 16);
}

.tower {
    width: 100%;
    height: 100%;
}

.floor {
    width: 100%;
    height: 100%;
}

.floor.nav-target:target {
    display: block;
}

.showroom.nav-target:target {
    display: flex;
}

.floor.nav-target {
    display: block;
}

.showroom.nav-target {
    display: none;
}

/* --------- control-panel --------- */
.control-panel {
    height: 7%;
    width: 100%;
    display: block;
    text-align: center;
    color: white;
    background-color: rgb(322, 69, 16);
    font-size: 1.4rem;
    display: -webkit-box;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    align-items: center;
    list-style-type: none;
    padding: 0 15% 0 15%;
}

.control-panel a {
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    color: white;
    position: relative;
    margin-right: 1em;
}

.control-panel a:after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    border-bottom: white solid 3px;
    width: 0;
    background: transparent;
    transition: width .2s ease, border-bottom .3s ease;
    text-align: center;
    height: 100%;
}

.control-panel a:hover:after, .control-panel a.selected:after {
    width: 100%;
}

.floor aside {
    width: 15%;
    height: 93%;
    float: left;
}

.logo {
    height: 60%;
    background-image: url('../../image/roundcherry.png');
    background-size: contain;
    background-color: rgb(255, 255, 255);
    background-repeat: no-repeat;
    margin: 4em 2em 2em 2em;
}

/* ---------------- .showroom container ------------------- */
.showroom {
    float: right;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 85%;
    height: 93%;
    background-color: rgb(244, 240, 236);
    overflow-y: auto;
}

.showroom .newspaper-column {
    width: 15%;
    flex-grow: 2;
    padding: 0 2.5em 0 2.5em;
}

.showroom .newspaper-column.double {
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    align-content: flex-start;
    flex-wrap: wrap;
    flex-grow: 4;
}

.showroom .newspaper-column.x-small {
    flex-grow: 0.5;
}

.showroom .newspaper-column.small {
    flex-grow: 1;
}

.showroom .newspaper-column:nth-child(odd) {
    background-color: rgb(244, 240, 236);
}

.showroom .newspaper-column:nth-child(even) {
    background-color: rgb(238, 238, 224);
}

.showroom .newspaper-column > h1 {
    margin: 0.4em 0 0 0;
}

.showroom .newspaper-column > h2 {
    margin: 0.5em 0.5em 0 0;
}

.showroom .newspaper-column > h3 {
    margin: 1em 0.5em 0 0;
}

.showroom .newspaper-column p {
    margin: 0.6em 0.5em 1em 0;
}

.showroom .newspaper-column p span {
    font-weight: bold;
    color: rgb(322, 69, 16);
}

.showroom .newspaper-column figure {
    width: 96%;
    border: solid 1px #ccc;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.05);
    margin: 2em 2% 2em 2%;
    padding: 0.8em;
    display: block;
}

/* ------------------- profile --------------- */
.showroom .newspaper-column figure.profile {
    width: 100%;
}

.showroom .newspaper-column figure figcaption {
    margin-top: 0.4rem;
    text-align: center;
    font-size: 0.8rem;
    font-style: italic;
    display: block; /* For IE8 */
}

.showroom .newspaper-column > figure.profile figcaption {
    margin-left: 10%;
    text-align: left;
}

.showroom .newspaper-column figure img {
    width: 66%;
    margin-left: 17%;
}

.showroom .newspaper-column figure.profile img{
    width: 28%;
    margin-left: 10%;
}

.zoomedOut:hover {
    cursor: zoom-in;
}

.zoomedIn:hover {
    cursor: zoom-out;
}

.showroom .newspaper-column ul,
.showroom .newspaper-column ol {
    margin: 0 0.2em 0 2em;
}

.showroom .newspaper-column ul p,
.showroom .newspaper-column ol p {
    margin: 0 0.5em 0.5em 0;
}

.showroom .newspaper-column > ul,
.showroom .newspaper-column > ol {
    margin-top: 0.2em;
}

.showroom .newspaper-column .text-block {
    border-top: dotted rgb(322, 69, 16) 1px;
    margin-top: 1em;
    padding-top: 0.5em;
}

/* -------------- algemene instellingen tegel ---------- */
.showroom {
    justify-content: space-around;
}

.showroom .tile {
    width: 30%;
    height: 45%;
    background-color: linen;
    border: rgb(250, 235, 215) solid 1em;
    position: relative; /* masker is absoluut geplaatst hierop*/
    outline: 0;
    text-align: center;
    margin-top: 1em;
    cursor: pointer;
    color: black;
    overflow: hidden;
}

#history-index .tile {
    width: 30%
}

.showroom a.tile {
    text-decoration: none;
}

.showroom .tile > .image {
    width: 100%;
    height: 60%;
    margin-top: 1em;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.showroom .tile > .subject {
    margin-top: 2em;
    width: 100%;
    height: 100%;
}

.showroom .tile:hover .mask {
    opacity: 1;
    top: -30%;
}

.showroom .tile:hover .mask h3 {
    opacity: 1;
}

.showroom .tile:hover .mask p {
    opacity: 1;
}

.showroom .tile:hover .mask ol {
    opacity: 1;
}

.showroom .tile .mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 130%;
    transition: top .2s ease-in;
    opacity: 0;
    background-color: #fff;
}

.showroom .tile .mask h3 {
    transition: opacity 0.8s ease;
    opacity: 0;
}

.showroom .tile .mask p {
    transition: opacity 0.8s ease;
    opacity: 0;
    padding: 0.5em 2em 0 2em;
}

.showroom .tile .mask ol {
    transition: opacity 0.8s ease;
    opacity: 0;
    padding: 0.5em 2em 0 2em;
}

.showroom .tile .mask .content {
    margin-top: 2em;
    width: 100%;
    height: 100%;
    font-family: 'Roboto Slab', "Times New Roman", "serif";
}

.showroom .tile .mask .image {
    width: 100%;
    height: 45%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* ------------------ boekmerk ----------------- */
.period {
    font-style: italic;
}
.number {
    font-size: 2.2em;
}

.previous-number a:after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    border-bottom: rgb(322, 69, 16) solid 3px;
    width: 0;
    background: transparent;
    transition: width .2s ease, border-bottom .3s ease;
    text-align: center;
    height: 100%;
}

.previous-number a:hover:after {
    width: 100%;
}

.previous-number a {
    font-family: 'Josefin Sans', Arial, sans-serif;
    color: rgb(322, 69, 16);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    position: relative;}



/* http://www.css3developer.com/css3generator/css-arrow-generator.html */
.arrow-div {
    position: relative;
    background: #f1f1f1;
    border-top: 5px solid #DDDDDD;
}

.arrow-div:after, .arrow-div:before {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.arrow-div:after {
    border-color: rgba(241, 241, 241, 0);
    border-top-color: #f1f1f1;
    border-width: 20px;
    margin-left: -20px;
}

.arrow-div:before {
    border-color: rgba(221, 221, 221, 0);
    border-top-color: #DDDDDD;
    border-width: 27px;
    margin-left: -27px;
}

/* ------------------- poster ----------------------- */
.poster {
    width: 100%;
    background-color: #171717; /* emo black */
    padding: 1.5rem;
    margin-top: 1rem;
}

.poster .text {
    font-size: 3.5rem;
    color: #5B6258;
}

.poster .text span {
    color: #f0ead6;
    font-weight: bold;
}

/* ----------------- vcard ------------------ */
.vcard {
    padding: 1em;
}

.vcard .postal-code {
    float: left;
    margin-right: 1em;
}

