
#sortable {
    list-style-type: none;
    margin: 60px auto 50px;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0;
    justify-content: center;
    align-items: flex-start;
}

@media only screen and (max-width: 600px) {
    #sortable {
        margin: 0px auto;
    }
}

#sortable li {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0.3em;
    padding: 0px;
    width: 20%;
    height: auto;
    min-height: 280px;
    max-width: 180px;
    border-radius: 5px;
    font-size: 1em;
    text-align: center;
    cursor: pointer;
    border: 7px solid #ffffff;
    color: #ffffff;
    background-color: #645ba1;
    z-index: 1;
    transition: background-color 200ms;
}

#sortable li:hover {
    z-index: 9999;
    background-color: #8678df;
}

#sortable li img {
    /* max-height: 120px; */
    height: 120px;
    max-width: 90%;
    margin-bottom: 1em;
    pointer-events: none;
}

#sortable li span,
#sortable li p,
#sortable li div {
    pointer-events: none !important;
}

@media only screen and (max-width: 600px) {
    #sortable {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        align-content: center;
        flex-wrap: wrap;
    }
    #sortable li {
        width: 85%;
        max-width: none;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        margin: 0.3em;
        padding: 0px;
        min-height: 50px;
        border: 3px solid white;
        text-align: left;
    }
    #sortable li img {
        display: none;
    }
    #sortable li span {
        margin: auto 20px;
        margin-bottom: auto !important;
    }
}

@media only screen and (max-width: 600px) {
    .game-ui {
        margin: 20px auto;
    }
}

.tickbox {
    display: none;
    position: absolute;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    bottom: -30px;
    background-color: white;
    pointer-events: none;
}

.tickbox {
    background: url('../img/cross.svg') no-repeat center center;
    background-color: #ffffff;
    background-size: 50%;
}

.item-summary {
    display:none;
    position: absolute;
    z-index: 999;
    min-width: 80%;
    color: #333333;
    background-color: #ffffff;
    top: -50px;
    padding: 10px;
    font-size: .8em;
    border-radius: 3px;
}

.item-summary p {
    padding: 0;
    margin: 0;
}

@media only screen and (max-width: 600px) {
    .item-summary {
        display: none !important;
    }
    .tickbox {
        right: -26px;
        top: -3px
    }
}

.timer {
    background-color: #555555;
    width: auto;
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.timer span {
    display: inline-block;
    background-color: #333333;
    padding: 10px;
    min-width: 30px;
    border-radius: 3px;
}

.ui-sortable-placeholder {
    background-color: #210b19 !important;
    border: 6px dashed #61234a !important;
    z-index: 1;
}

.correct {
    border-color: #48b6a8 !important;
}

.incorrect {
    border-color: #d23631 !important;
}

@media only screen and (min-width: 600px) {
    .mobile-view {
        display: none;
    }
    .desktop-view {
        display: block;
    }
}

@media only screen and (max-width: 600px) {
    .mobile-view {
        display: block;
    }
    .desktop-view {
        display: none;
    }
}