@font-face
{
    font-family: OCRA;
    src: url('assets/OCRAStd.otf');
}

@font-face
{
    font-family: Garamond;
    src: url('assets/AGaramondPro-Regular.otf');
}

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

    min-width: 800px;
    min-height: 570px;

    overflow: hidden;
}

h1, h2 {
    font-family: OCRA;
    font-size: 20px;

    padding: 0px;
    margin: 0px;
}

p {
    font-family: Garamond;
    font-size: 18px;
    line-height: 24px;

    padding: 0px;
    margin: 16px 0px 0px 0px;
}

/* Clip Viewer */
#clipviewer
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;

    visibility: hidden;
    pointer-events: none;
}

#clipviewer-background
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, 0.9);
}

#clipviewer-line
{
    position: absolute;
    background-color: black;
    width: 3px;
}

#clipviewer-title, #clipviewer-description
{
    position: absolute;
    left: 0px;
    top: 0px;
    height: auto;
    overflow: hidden;

    /*background-color: rgba(0, 255, 0, 0.5);*/
}

#clipviewer-title div, #clipviewer-description div
{
    position: relative;
}

#clipviewer-description p
{
    margin: 2px 0px 0px 0px;
}

#clipviewer-text h2, #clipviewer-measure h2
{
    margin-left: -2px;
}

#clipviewer-box
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 0px;
    height: 0px;
    background-color: rgba(255, 255, 255, 0.9);
}

#clipviewer-clip
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 300px;
    height: 200px;

    background-repeat: no-repeat;
}

/* Navigation */
#navigation
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 300px;
    height: 60px;

    cursor: default;
    background-color: rgba(255, 255, 255, 0.9);

    visibility: hidden;
    overflow: hidden;

    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
}

#navigation div
{
    position: relative;
    width: auto;
    height: auto;
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 20px;
    overflow: hidden;

    border-left: 3px solid black;
}

#navigation div h1
{
    margin-left: 7px;
}

#navigation div p
{
    margin-left: 10px;
}

/* Cube */
#cubeStage
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 0px;
    height: 0px;

    background-color: black;

    overflow: hidden;
}

#cubeContainer
{
    left: 0px;
    top: 0px;
    width: 1008px;
    height: 1008px;
    position: relative;
    -webkit-perspective: 1400px;
    -moz-perspective: 1400px;
    -webkit-transform-origin: 0px 0px;
    -moz-transform-origin: 0px 0px;
    -webkit-transform-style: flat;
    -moz-transform-style: flat;

    overflow: hidden;
}

#cube
{
    width: 1008px;
    height: 1008px;

    position: absolute;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
}

#cube div.side
{
    position: absolute;
    width: 1008px;
    height: 1008px;

    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;

    /* FIREFOX Anti Flicker */
    -moz-transform-style: preserve-3d;
}

#cube div.side div
{
    position: relative;
    width: 252px;
    height: 144px;
    float: left;

    padding: 0px;
    margin: 0px;
    background-color: black;

    cursor: pointer;
}

#cube div.side div img
{
    opacity: 1.0;
}

#cube div.side div img:hover
{
    opacity: 1.0;
}

#debug1, #debug2, #debug3, #debug4
{
    position: absolute;
    background-color: red;
    left: -2px;
    top: -2px;
    width: 5px;
    height: 5px;
    visibility: hidden;
}