.creative .polytable {
    border-collapse: collapse;
    border: 1px black solid;
    float: left;
}

.creative .polytable td {
    width: 32px;
    height: 32px;
    border: 1px black solid;
    cursor: pointer;
}

.creative .empty-cell {
    background-color: white;
}

.creative .border-cell {
    background-color: black;
}

.creative .polyomino-area {
    padding: 0 32px 32px;
}

is-small-screen .creative .polyomino-area {
    margin-left: 32px;
    padding-top: 0px;
}

.creative .statistic {
    margin: 16px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.creative .flexBarrier {
    width: 100%;
    height: 16px;
}

.creative #resetBarrierCells {
    margin-left: 16px;
}

.creative .arrow-td, .arrow-tr {
    border: none !important;
    border-image-width: 0 !important;
    vertical-align: middle;
    cursor: default !important;
}

.creative .arrow-div {
    outline: none;
}

.creative .arrow-bottom {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid black;
    cursor: pointer;
}

.creative .arrow-right {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid black;
    cursor: pointer;
}

.creative .arrow-top {
    width: 0;
    height: 0;
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
    border-bottom: 20px solid black;
    cursor: pointer;
}

.creative .arrow-left {
    width: 0;
    height: 0;
    border-bottom: 20px solid transparent;
    border-top: 20px solid transparent;
    border-right: 20px solid black;
    cursor: pointer;
}

.creative .good {
    color: #47DE17;
}

.creative .bad {
    color: red;
}

.creative .solutionPieces {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 50%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.creative table.piece {
    border-collapse: collapse;
    margin: 4px;
    cursor: pointer;
    float: left;
}

.creative .piece td {
    width: 32px;
    min-width: 32px;
    height: 32px;
}

.creative .solutionArea {
    position: relative;
    /*display: flex;*/
    width: 100%;
    /*flex-wrap: wrap;*/
}

.creative .solutionArea:after {
    content: '';
    clear: both;
    display: block;
}

.creative .over {
    border: 2px dashed #000;
}

.creative .game {
    border: 1px black solid;
    width: 280px;
    height: 280px;
}

.creative .creative-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.creative .creative-buttons > * {
    margin-right: 32px;
    margin-bottom: 16px;
}

@media screen and (min-width: 610px) {
    .mdl-layout__drawer.is-visible {
        width: 50%;
    }
}

.pieceSelectionArea {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.pieceSelectionArea .piece {
    margin: 0;
}

.pieceSelectionArea .pieceContainer {
    padding: 16px;
    cursor: pointer;
    margin: 8px;
    width: auto;
    min-height: initial;
}

.pieceSelectionArea .pieceContainer.selected {
    padding-top: 14px;
    padding-bottom: 18px;
}

.pieceSelectionArea-header {
    padding-left: 40px;
    padding-bottom: 16px;
    padding-top: 40px;
    line-height: 24px;
    font-size: 16px;
    width: 100%;
}

.selected-sample {
    padding: 0 12px;
    display: inline;
}

.bold {
    font-weight: bold;
}

.instruction {
    font-style: italic;
}

#select-all, #deselect-all {
    margin: 12px 0;
}

#numberOfSolutions {
    line-height: 24px;
    height: 24px;
}

.numberOfUsages {
    display: none;
    width: 60px;
}

.numberOfUsages input {
    width: 100%;
    margin: 8px 0;
}

.selected .numberOfUsages {
    display: block;
}

#countSolutions {
    width: 258px;
    margin-left: 40px;
    margin-bottom: 16px;
}

@media screen and (max-width: 1024px) {
    #countSolutions {
        margin-left: 16px;
    }
}

@media screen and (max-width: 609px) {
    #countSolutions {
        width: 200px;
        font-size: 11px;
        padding-left: 8px;
        padding-right: 8px;
    }
}