/* ------------------------------------------------------------------------ */
/* Tags  								    								*/
/* ------------------------------------------------------------------------ */
body {
    margin: 36px 36px 36px 336px;
}

nav {
    background-color: #ddd;
    left: 0;
    height: 100%;
    overflow: auto;
    position: fixed;
    top: 0;
    width: 300px;
    z-index: 3;
}

nav h1 {
    background-color: #e20074;
    color: #fff;
}

h1, h2, h3, label {
    margin: 0 !important;
}

section + section::before {
    border-top: 1px solid #ddd;
    content: '';
    display: block;
    margin: 12px 0 24px;
}

label {
    cursor: pointer;
    display: block;
    font-weight: inherit;
    overflow: hidden;
}

dd + dt {
    margin-top: 12px;
}

p:last-child {
    margin: 0;
}

/* ------------------------------------------------------------------------ */
/* Common  								    								*/
/* ------------------------------------------------------------------------ */
.mb-1 {
    margin-bottom: 12px;
}

.mb-2 {
    margin-bottom: 24px;
}

.mb-3 {
    margin-bottom: 36px;
}

.ml-1 {
    margin-left: 12px;
}

.h-pad-3 {
    padding-left: 36px;
    padding-right: 36px;
}

.v-pad-3 {
    padding-bottom: 36px;
    padding-top: 36px;
}

.list-group {
    margin: 0; /* reset */
}

/* ------------------------------------------------------------------------ */
/* Headline 																*/
/* ------------------------------------------------------------------------ */
#headline:hover #manifest {
    display: block;
}

#manifest {
    display: none;
    background-color: #eee;
    border-radius: 4px;
    margin: 12px;
    padding: 12px;
}

/* ------------------------------------------------------------------------ */
/* QR Codes 																*/
/* ------------------------------------------------------------------------ */
.qr-wrap {
    display: inline-block;
    position: relative;
}

img[src^="qrcode"] {
    visibility: hidden;
    position: absolute;
    right: 0;
    top: -15px;
    transition: all .25s;
    opacity: 0;
    z-index: 1;
}

[data-qr] {
    position: relative;
    z-index: 2;
}

[data-qr]:hover + img[src^="qrcode"] {
    visibility: visible;
    opacity: 1;
    transform: translateX(100%);
}

/* ------------------------------------------------------------------------ */
/* Fun      																*/
/* ------------------------------------------------------------------------ */
.fun label:hover span::after {
    background: url('../gfx/banana.png') 0/14px;
    content: '';
    display: inline-block;
    height: 14px;
    margin-left: 5px;
    width: 14px;
}

.fun label::after {
    color: #e20074;
    content: attr(data-name);
    display: block;
    font-size: 11px;
    text-overflow: ellipsis;
}

.fun #toggleFun::before {
    background-image: url('../gfx/fun_shirt.png');
}

#toggleFun {
    bottom: -64px;
    cursor: pointer;
    position: fixed;
    right: -64px;
    transition: all ease .25s;
}

#toggleFun:hover {
    bottom: 0;
    right: 0;
}

#toggleFun::before {
    background-image: url('../gfx/fun_jacket.png');
    background-size: 128px;
    content: '';
    display: block;
    height: 128px;
    width: 128px;
}

#liana {
    position: fixed;
    right: 0;
    top: 0;
    transform: translateY(-100%);
}

#liana.show {
    animation: hang 2s ease 0s 1 forwards;
}

/* ------------------------------------------------------------------------ */
/* Keyframes																*/
/* ------------------------------------------------------------------------ */
@keyframes hang {
    0% {
        transform: translateY(-100%);
    }
    50% {
        transform: translateY(0%);
    }
    80% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-100%);
    }
}

/* ------------------------------------------------------------------------ */
/* Responsive																*/
/* ------------------------------------------------------------------------ */
@media (max-width: 767px) {
    body {
        margin-left: 72px;
    }

    nav {
        background-color: #e20074;
        border-radius: 0 12px 12px 0;
        cursor: pointer;
        left: -264px;
        overflow: hidden;
    }

    nav.expanded {
        background-color: #ddd;
        left: 0;
        overflow: auto;
    }

    nav::before {
        color: #fff;
        content: 'Sim KONG';
        font-size: 21px;
        position: fixed;
        left: -34px;
        text-transform: uppercase;
        top: 72px;
        transform: rotateZ(270deg);
    }

    nav.expanded::before {
        display: none;
    }
}