html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

body {
    font-family: Roboto, 'Trebuchet MS', 'Liberation Sans', 'Nimbus Sans L', sans-serif;
    color: #333;
    background-color: #f6f4f1;
    margin: auto 12px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

pass {
    font-family: 'DejaVu Sans Mono', Menlo, Consolas, 'Liberation Mono', Monaco, 'Lucida Console', monospace;
    cursor: pointer;
    line-height: 1.2em;
    display: inline-block;
    margin-left: 12px;
}

pass::after {
    opacity: 0.0;
    -webkit-transition: opacity .15s ease-in-out;
    transition: opacity .15s ease-in-out;
}

pass.hover::after {
    content: '';
    background: center / contain no-repeat url(/images/clip.png);
    padding-left: 2em;
    opacity: 1.0;
}

pass.check::after {
    content: '';
    background: center / contain no-repeat url(/images/check.png);
    padding-left: 2em;
    opacity: 1.0;
}

tit {
    margin: 12px auto;
    display: inline-block;
    opacity: 0.5;
}

sep {
    margin: auto 4px;
    opacity: 0.2;
}

sep::before {
    content: '|';
}

toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
}

toast.show {
    visibility: visible; 
    -webkit-animation: fadein 0.25s, fadeout 0.25s 2.5s forwards;
    animation: fadein 0.25s, fadeout 0.25s 2.5s forwards;
}


@media all and (max-width: 480px) {
    toast {
        margin-left: 0;
        width: 100%;
        left: 0;
        bottom: 0;
    }

    toast.show {
        -webkit-animation: fadein-s 0.25s, fadeout-s 0.25s 2.5s forwards;
        animation: fadein-s 0.25s, fadeout-s 0.25s 2.5s forwards;
    }
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }
    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }
    to {
        bottom: 0;
        opacity: 0;
    }
}

@-webkit-keyframes fadein-s {
    from {
        bottom: -30px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

@keyframes fadein-s {
    from {
        bottom: -30px;
        opacity: 0;
    }

    to {
        bottom: 0;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout-s {
    from {
        bottom: 0;
        opacity: 1;
    }

    to {
        bottom: -30px;
        opacity: 0;
    }
}

@keyframes fadeout-s {
    from {
        bottom: 0;
        opacity: 1;
    }

    to {
        bottom: -30px;
        opacity: 0;
    }
}
