.wrapper {
    width: 920px;
    height: 640px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.wrapper .host {
    position: absolute;
    z-index: 4;
    left: 0;
    top: 0;
}
.wrapper .host_right {
    cursor: pointer;
}
.wrapper .puzzle-field {
    position: absolute;
    display: inline-block;
    overflow: hidden;
}
.wrapper .puzzle-field .piece-image {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

#titleBar {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    -moz-box-shadow: 0 0 5px #000000;
    -webkit-box-shadow: 0 0 5px #000000;
    box-shadow: 0 0 5px #000000;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}
.wrapper h1 {
    font-weight: 700;
    font-size: 1em;
}
#titleBar h1 {
    float: left;
    line-height: 2;
    margin: 0 0 0 10px;
}
#titleBar .score {
    float: right;
    margin: 5px 0 0 0;
}
#titleBar .score span {
    padding: 2px 10px;
    color: #fff;
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.75);
    margin-right: 10px;
}
#titleBar .score #stopwatch {
    width: 65px;
}

#piecesArea {
    position: absolute;
}

#forwardButton {
    background: #e3e3e3;
    border: 1px solid #bbb;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 1px 1px #aaa;
    -moz-box-shadow: 0 0 1px 1px #aaa;
    box-shadow: 0 0 1px 1px #aaa;
    font-weight: 700;
    padding: 0.5em 1em;
    text-align: center;
    text-shadow: 0 1px 0 #333;
    width: auto;
    position: absolute;
    bottom: 1em;
    right: 1em;
    z-index: 3;
}
#forwardButton:hover {
    background: #d9d9d9;
    -webkit-box-shadow: inset 0 0 1px 1px #eaeaea;
    -moz-box-shadow: inset 0 0 1px 1px #eaeaea;
    box-shadow: inset 0 0 1px 1px #eaeaea;
    cursor: pointer;
}
#forwardButton:active {
    background: #d0d0d0;
    -webkit-box-shadow: inset 0 0 1px 1px #e3e3e3;
    -moz-box-shadow: inset 0 0 1px 1px #e3e3e3;
    box-shadow: inset 0 0 1px 1px #e3e3e3;
}

.wrapper .pieces-field {
    position: absolute;
    display: inline-block;
}

.wrapper .hidden {
    display: none;
}

.wrapper .ui-droppable {
    background-repeat: no-repeat;
    background-position: center center;
    background-color: transparent;
    background-size: auto 100%;
}

#resultMessage {
    border: 3px solid #adff2f;
    height: 5.5em;
    left: 50%;
    margin-left: -160px;
    margin-top: -3em;
    padding: 0.5em;
    position: absolute;
    z-index: 7;
    text-align: center;
    top: 50%;
    width: 320px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 5px #000000;
    -webkit-box-shadow: 0 0 5px #000000;
    box-shadow: 0 0 5px #000000;
}

#resultMessage h1 {
    line-height: 1.25em;
    margin-bottom: 0.5em;
}
#resultMessage p a {
    margin-bottom: 1em;
    background-color: rgba(0,0,0,0.125);
    padding: 0 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
#resultMessage p a:hover {
    text-decoration: none;
}