html {
    background-repeat: no-repeat;
    background-position: top center;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body {
    padding-top: 90px;
    box-sizing: border-box;
    position: absolute;
    z-index: -2;
    min-height: 100%;
    min-width: 100%;
    font-family: Vito Regular, sans-serif;
    font-size: 78%;
}

a:link, a:visited, a:hover, a:active {
    text-decoration: none;
    color: black;
}

#container {
    display: flex;
    min-width: 320px;
    max-width: 1020px;
    margin: 0px 20px 0px 50px;
}

#main-menu {
    flex: 0 0 200px;
    text-align: right;
    white-space: nowrap;
}

#main-menu .nav {
    font-size: 2.5em;
    line-height: 1;
}

#content .nav {  /* landing page */
    font-size: 2.8em;
    line-height: 1;
}

.nav .dates {
    font-family: Vito Black, sans-serif;
}

.nav .news {
    font-family: Vito Extra Light, sans-serif;
}

.nav .ensemble {
    font-family: Vito Condensed Bold, sans-serif;
}

.nav .projects {
    font-family: Vito Black Italic, sans-serif;
}

.nav .media {
    font-family: Vito Condensed Light, sans-serif;
}

.nav .press {
    font-family: Vito Extra Light, sans-serif;
}

.nav .contact {
    font-family: Vito Medium Italic, sans-serif;
}

.nav .shop {
    margin-top: 1em;
    font-family: Vito Black Italic, sans-serif;
}

.nav .shop .amp {
    font-family: Vito Light Italic, sans-serif;
}

.nav .cart {
    font-family: Vito Condensed Light, sans-serif;
}

.nav .imprint {
    font-family: Vito Regular, sans-serif;
    font-size: 50%;
    margin-top: 3em;
}

.nav .privacy {
    font-family: Vito Regular, sans-serif;
    font-size: 50%;
    margin-top: 1em;
}

.nav .languages {
    font-family: Vito Light, sans-serif;
    font-size: 50%;
    margin-top: 1em;
    margin-bottom: 3em;
}

.nav .languages .selected {
    font-family: Vito Black, sans-serif;
}

#title {
    flex: 0 0 136px;
    position: relative;
}

#title > div {
    transform-origin: top right;
    transform: rotate(-90deg);
    position: absolute;
    right: 100px;
}

#title h1 {
    text-transform: uppercase;
    white-space: nowrap;
    height: 64px;
    font-family: Vito Extended Extra Light, sans-serif;
    font-size: 90px;
    line-height: 80%;
    overflow: hidden;
    margin-left: 100px;
}

#content {
    flex: 1 0 490px;
    max-width: 680px;
    margin-bottom: 100px;
    font-family: Vito Regular, sans-serif;
    font-size: 1.67em;
    line-height: 127%;
}

body.homepage #content {
    margin-bottom: 0px;
}

body.indexpage #content h2 {
    font-family: Vito Black, sans-serif;
    font-size: 1.5em;
    line-height: 116%;
}

#content h3,
.sep {
    font-family: Vito Light, sans-serif;
    font-size: 1.5em;
    line-height: 116%;
}

body.indexpage #content h4,
body.detailpage #content .dateblock h4 {
    font-family: Vito Medium Italic, sans-serif;
    font-size: 1.5em;
    line-height: 116%;
    margin-top: inherit;
}

body.detailpage #content .dateblock .subtitle {
    font-family: Vito Medium Italic, sans-serif;
}

body.detailpage #content h4 {
    font-family: Vito Black, sans-serif;
    font-size: 1.5em;
    line-height: 116%;
    margin-top: 2em;
}

#content h2 {
    font-family: Vito Black, sans-serif;
    font-size: 3em;
    line-height: 116%;
}

#content .rich-text {
    margin-top: .4em;
}

#content .video-container {
    margin-top: 1em;
    margin-right: 20px;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

body.indexpage #content .rich-text p:last-of-type::after {
    content: " …";
}

#content .block-image {
    text-align: right;
    line-height: .5em;
    margin: 1.5em 20px 1em 0px;
}

#content .block-image .copyright {
    font-size: .5em;
    text-transform: uppercase;
    display: inline-block;
}

#content .block-image img {
    display: block;
    width: 100%;
}

body.detailpage #content .dateblock,
body.detailpage #content .mediablock,
body.detailpage #content .graveyard,
body.detailpage #content .downloadblock {
    margin-bottom: 1.5em;
}

body.detailpage #content .graveyard .logoblock {
    margin-top: 1.5em;
}

body.detailpage #content .graveyard .logoblock img {
    display: block;
}

body.detailpage #content p,
body.shop.cart #content p {
    margin-bottom: 1.5em;
}

#content .rich-text a,
#content .footer a,
#content .project a,
#content .downloads a,
#content .button,
#content b,
#content strong {
    font-family: Vito Black, sans-serif;
    font-weight: initial;
}

#content input#id_name,
#content input#id_address,
#content input#id_extra,
#content input#id_zip,
#content input#id_city,
#content input#id_country,
#content input#id_email {
    width: 50%;
    min-width: 340px;
    margin-top: .3em;
}

#content .button {
    border-radius: 3px;
    margin-top: 3px;
    width: auto;
    height: 1.6i7em;
    padding: 0 .5em;
    font-size: 1em;
    vertical-align: baseline;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    text-transform: lowercase;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#content .formerror {
    color: #ff3300;
}

#content em {
    font-family: Vito Regular Italic, sans-serif;
}

.footer {
    margin-top: 1.5em;
}

#product-index {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    max-width: 660px;
}

#product-index h1 {
    margin-top: 50px;
    margin-bottom: 100px;
    font-size: 450%;
    line-height: 100%;
    font-family: Vito Black, sans-serif;
}

#product-index h1 .amp {
    font-family: Vito Extra Light, sans-serif;
}

.product-tile {
    display: block;
    width: 200px;
    height: 200px;
    margin-bottom: 30px;
}

.product-tile:nth-child(-n+3) {
    order: -3;
}

.product-tile:nth-child(4) {
    order: -1;
}

#content #product-index .product-tile h3 {
    font-family: Vito Black, sans-serif;
    font-size: 135%;
}

#content #product-index .product-tile h4 {
    font-family: Vito Extra Light, sans-serif;
    font-size: 135%;
}

#content #product-index .product-tile svg.icon {
    width: 200px;
    height: 200px;
    position: absolute;
    z-index: -1;
    color: white;
}

.shop .gallery .block-image {
    position: relative;
    left: 0;
    top: 0;
}

.shop .gallery .block-image.hidden {
    display: none;
}

.shop .gallery .preview {
    margin-right: 20px;
}

.shop form {
    margin-top: 2em;
}

.shop form select {
    min-width: 50%;
}

.shop form p.amount input {
    width: 5em;
    text-align: right;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0; /* Removes leftover margin */
}

input[type=number] {
    -moz-appearance: textfield;
}

.fade-out {
    margin-left: 1em;
    animation-name: fade-out;
    animation-duration: 1.2s;
    animation-fill-mode: both;
}

 @keyframes fade-out {
    0% {opacity: 1;}
    100% {opacity: 0;}
 }

.shop.cart td,
.shop.checkout td,
.shop.payment td {
    padding-top: 0.2em;
    padding-right: 1em;
}

.shop.cart td.price,
.shop.checkout td.price {
    text-align: right;
}

.shop.cart form input[type="text"] {
    width: 2em;
    text-align: right;
}

.shop.checkout form label {
    display: inline-block;
    width: 80%;
}

.shop.checkout #content input#id_email {
    margin-top: 1em;
}

.shop.checkout form label[for="id_extra"] {
    visibility: hidden;
}

.shop.checkout p.newsletter,
.shop.checkout p.privacy {
    margin-top: 1em;
    display: flex;
    flex-direction: row;
}

.shop.checkout p.newsletter input,
.shop.checkout p.privacy input {
    width: 1.1em;
    height: 1.1em;
    margin: 0 0.3em 0 0;
}

.shop.cart p.address-block {
    margin: 1em;
}

symbol.icon .st0 {
    fill: none;
}

symbol.icon .st1 {
    fill: #fff;
}

symbol.icon rect {
    fill: red;
}

@media screen and (max-width: 1066px) {
    #product-index {
        max-width: 435px;
    }

    #product-index h1 {
        order: -1;
    }
}

@media screen and (max-width: 900px) {
    html, body {
        width: 100%;
        height: 100%;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body {
        font-size: 50%;
    }

    #container {
        flex-wrap: wrap;
        margin: 0px;
        box-sizing: border-box;
        padding-left: 25px;
        padding-right: 3px;
    }

    #main-menu {
        flex: 1 1 auto;
    }

    #title {
        flex: 0 0 65px;
    }

    #title > div {
        right: 40px;
    }

    #title h1 {
        height: 40px;
        line-height: 82%;
        font-size: 56px;
    }

    #content {
        flex: 1 1 100%;
        margin-right: 50px;
    }

    body.homepage #main-menu {
        display: none;
    }

    body.homepage #container {
        padding-left: 2px;
    }

    body.homepage #title {
        flex: 0 0 40px;
    }

    body.homepage #title > div {
        right: 40px;
    }

    body.homepage #content {
        max-width: 1000px;
        margin: 0px 0px 0px 70px;
    }

    #content .block-image {
        margin-right: 16px;
    }

    #content input#id_name,
    #content input#id_address,
    #content input#id_extra,
    #content input#id_zip,
    #content input#id_city,
    #content input#id_country,
    #content input#id_email {
        width: 50%;
        min-width: 225px;
    }

    #product-index {
        max-width: 660px;
    }

    #product-index h1 {
        order: 0;
    }
}

@media screen and (max-width: 750px) {
    #product-index {
        max-width: 435px;
    }

    #product-index h1 {
        order: -1;
    }
}
