body {
    font-family: 'Alegreya Sans', sans-serif;
    letter-spacing: 1px;
}
/*
from sample
*/
#draggable {
   width: 100px;
   height: 100px;
   padding: 0.5em;
/*
   float: left;
*/
   margin: 10px 10px 10px 0;
   background-color:red;
}
#droppable {
   width: 150px;
   height: 150px;
   padding: 0.5em;
   float: left;
   margin: 10px;
   background-color:yellow;
}
.ui-draggable, .ui-droppable {
  background-position: top;
}
/*
customs
*/
body {
    padding: 0;
    margin: 0;

    background-color: #eee;
}

html, body, .page {
    width: 100%;
    height: 100%;
    position: relative;
}
p {
    margin: 4px 0;
}

.left-col {}

.cols {
    position: absolute;
    left: 0;
    top: 0;
    width: 280px;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.mid-col.cols {
    left: 280px;
    width: calc( 100% - 560px );
    background-color: #fff;
    z-index: -1;
}

.right-col.cols {
    left: calc( 100% - 280px );
}

.left-col.cols .brick,
.right-col.cols .brick {
    float: left;
}

.page {
    max-width: 1280px;
    margin: 0 auto;
}

.brick {
    width: 120px;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-content: center;
/*
    background-color: #ddd;
*/
    border: 2px solid black;
    box-shadow: 6px 6px 8px 0 #aaa;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2px;
    margin-right: 2px;
}
.brick.active {
    border-color: #0ff;
}
.brick.user-input.active {
    border-color: #ff0;
}
.ui-draggable-dragging {
    z-index: 1;
}

.draggable {
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

 /* (Optional) Apply a "closed-hand" cursor during drag operation. */
.draggable:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.messages {
    position: absolute;
    padding: 10px;
    left: 280px;
    width: calc( 50% - 280px );
    box-sizing: border-box;

    background-color: lightblue;
}
.inputs {
    display: none;

    position: absolute;
    left: 50%;
    width: calc( 50% - 280px );
    box-sizing: border-box;
}
/*
.phase-2 .inputs {
    display: block;
}
*/
.plus-wrapper {
    cursor: pointer;
    padding: 10px;
    background-color: lightsteelblue;
    margin-bottom: 12px;
}
.plus {
    width: 40px;
    height: 40px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-content: center;
    border-radius: 100px;
    background: palevioletred;

    font-size: 24px;
}
.plus-text {
    display: inline-flex;
    margin-left: 12px;
}

.user-input:not(.draggable) {
    cursor: pointer;
}

.brick input {
    display: none;

    margin: 0 auto;
    width: 90%;
    border: none;
    outline: none;
    background-color: #bbb;

    font-family: 'Alegreya Sans', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}
.brick.clicked input {
    display: inline-block;
}
.brick-accept {
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    width: 40px;
    height: 40px;
    border: 2px solid black;
    border-radius: 100px;
    cursor: pointer;
    margin-top: 10px;
    margin-left: 10px;

    display: none;
}
.brick-container.done .brick-accept {
    margin-left: 134px;
}
.clicked .brick-accept {
    display: block;
}
.brick.clicked .brick-text {
    display: none;
}

.brick-container {
    position: relative;
    display: flex;
    margin-left: 12px;
}
.brick-container.done {
    width: 0;
}
.brick-wrapper {
    position: relative;
    display: flex;
    cursor: pointer;

    display: block;
}
.brick-container.done .brick-wrapper {
    width: 0;
}
/*
.brick-container.done .brick-wrapper {

}
*/
.brick-buttons {
    display: flex;
    align-content: center;
    flex-flow: wrap;

    display: block;
    width: 0;
}


.m1, .m2, .m3 {
    display: none;
}
.submit-wrap {
    display: none;
}
.submit {
    display: inline-block;
    width: auto;
    padding: 4px 12px;
    background-color: lightgreen;
    cursor: pointer;
}

.game-content.result {
    display: none;

    position: absolute;
    left: 280px;
    top: 60px;
    width: calc( 100% - 560px);
    height: 405px;
    z-index: 100;
}
.game-content.result iframe {
    width: 100%;
    height: 100%;
}

.page.show-result > div {
    opacity: .25;
}

.page.show-result .game-content.result {
    opacity: 1;
    padding: 56px 0 0 0;
}
.result-content {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}
.result-text {
    padding: 12px;
    background: deepskyblue;
}
.result .plus {
    position: absolute;
    right: 0;
    top: 5px;

    cursor: pointer;
}
audio {
    width: 100%;
}
