body {
    font-family:'Helvetica', Arial, sans-serif;
}

#win {
    font-size:60px;
    font-weight:bold;
    position:absolute;
    top:50%;
    left:50%;
    height:65px;
    padding:20px 0;
    width:500px;
    margin:-32px 0 0 -250px;
    background-color:rgba(255,255,255,0.4);
    color:white;
    display:none;
    text-align:center;
}

#bg {
    position: fixed;
    height: 100%;
    width: 100%;
    background: url(../img/bg/1.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bg/1.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../img/bg/1.jpg', sizingMethod='scale')";
}

#main-container {
    width:1000px;
    height:850px;
    position:absolute;
    left:50%;
    top:50%;
    margin:-425px 0 0 -500px;
/*     border:1px solid black;
    background-color:rgba(255,255,255,0.7); */
}

#inner-container {
    width:850px;
    height:650px;
    position:absolute;
    left:50%;
    top:50%;
    margin:-325px 0 0 -425px;
    display:none;
}

/* 'Game' screens */

.screen {
    text-align:center;
    display:none;
    width:100%;
    height:100%;
    background-color:rgba(255,255,255,0.0);
}

.screen.small {
    position:absolute;
    left:50%;
    top:50%;
    width:540px;
    height:340px;
    margin:-200px 0 0 -300px;
    padding:30px;
}

#nosupport-screen {
}

#intro-screen {
}

#upload-screen {

}
#upload-screen form {
    display:none;
}

#processing-screen {

}

#identify-screen {
    overflow:hidden;
}

#cutting-screen {

}

#puzzle-screen {
    overflow:hidden;
}


/* 'Game' elements */
.button {
    position:relative;
    cursor:pointer;
    width:300px;
    padding:20px;
    margin:30px auto;
    background-color:#404040;
    opacity:0.4;
    -webkit-box-shadow: 7px 7px 0px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow:    7px 7px 0px 0px rgba(0, 0, 0, 0.75);
    box-shadow:         7px 7px 0px 0px rgba(0, 0, 0, 0.75);
}
.button:not(.disabled):hover {
    background-color:#404040;
    color:#a2a2a2;
    top:3px;
    left:3px;
    opacity:0.8;
    -webkit-box-shadow: 4px 4px 0px 0px rgba(128, 128, 128, 0.75);
    -moz-box-shadow:    4px 4px 0px 0px rgba(128, 128, 128, 0.75);
    box-shadow:         4px 4px 0px 0px rgba(128, 128, 128, 0.75);
}
.button.small {
    width:120px;
    padding:20px;
    margin:20px auto;
}
.button.big {
    width:380px;
}
.button.tiny {
    margin:0;
    width:auto;
    position: absolute;
    top: 5px;
    right: 9px;
    padding: 4px 8px;
    opacity:0.7;
    -webkit-box-shadow: 4px 4px 0px 0px rgba(255, 28, 34, 0.75);
    -moz-box-shadow:    4px 4px 0px 0px rgba(255, 28, 34, 0.75);
    box-shadow:         4px 4px 0px 0px rgba(255, 28, 34, 0.75);
}
.button.tiny:hover {
    left:auto;
    width:auto;
    top:7px;
    right:7px;
    -webkit-box-shadow: 2px 2px 0px 0px rgba(255, 28, 34, 0.75);
    -moz-box-shadow:    2px 2px 0px 0px rgba(255, 28, 34, 0.75);
    box-shadow:         2px 2px 0px 0px rgba(255, 28, 34, 0.75);
    opacity:1;
}
.button.inline {
    display:inline-block;
    margin-right:15px;
}
.button.inline:last-child {
    margin-right:0;
}
.button.disabled {
    background-color:#858585;
    -webkit-box-shadow: 7px 7px 0px 0px #7A7A7A;
    -moz-box-shadow:    7px 7px 0px 0px #7A7A7A;
    box-shadow:         7px 7px 0px 0px #7A7A7A;
    opacity:0.5;
}

.instr {
    position: absolute;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-box-shadow: 0px 0px 8px 0px rgba(50, 50, 50, 1);
    -moz-box-shadow:    0px 0px 8px 0px rgba(50, 50, 50, 1);
    box-shadow:         0px 0px 8px 0px rgba(50, 50, 50, 1);
}

.rect {
    position:absolute !important;   
    border:2px solid white;
    background:rgba(255,255,255,0.5);
}

#image-container, #puzzle-container {
    position:relative;
    margin:25px auto 0 auto;
}
#image-container.landscape, #puzzle-container.landscape {
    width:800px;
    height:600px;
}
#image-container.portrait, #puzzle-container.portrait {
    width:600px;
    height:800px;
}
#identify-instructions {
    bottom: 50px;
    width: 500px;
    left: 165px;
}
#puzzle-container {
    background-color:rgba(255,255,255,0.8);
}

.piece {
    position:absolute;
}
.group {
    position:absolute;
}


.draggable {
    cursor:pointer;
}

.debug {
    display:none;
}

/* Fonts / Typography */
@font-face {
    font-family: 'Sydnie2';
    src: url('../fonts/sydorig_0-webfont.eot');
    src: url('../fonts/sydorig_0-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sydorig_0-webfont.woff') format('woff'),
         url('../fonts/sydorig_0-webfont.ttf') format('truetype'),
         url('../fonts/sydorig_0-webfont.svg#nbp_sydnie2_standardregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

h1,h2,h3,h4,h5,h6 {
    line-height:0.7em;
}

h1, .xxl {
    font-size:100px;
}
h2, .xl {
    font-size:80px;
}
h3, .l {
    font-size:60px;
}
h4, .m {
    font-size:40px;
}
h5, .s {
    font-size:35px;
}
p {
    font-size:24px;
    margin:15px 0;
}