﻿.ordenarfrase {
    width: 80vw;
    height: calc(80vw / 1.779);
    position: relative;
    background-size: cover;
    margin: 0 auto;
    max-height: 100dvh !important;
    max-width: 177.78vh !important;
    margin: auto !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    height: calc(56.25vw);
    background-size: contain;
    max-height: 100dvh !important;
    max-width: 177.78vh !important;
    margin: auto !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background-repeat: no-repeat;
}

    .ordenarfrase .ok {
        top: 17.5%;
        width: 100%;
        text-align: center;
        position: absolute;
    }

        .ordenarfrase .ok img {
            width: 50%;
        }

    .ordenarfrase .titulo {
        position: absolute;
        top: 0;
        right: 0;
        color: white;
        background-color: #3A3431;
        padding: 2%;
        font-size: 2vw;
    }

    .ordenarfrase .frase {
        width: 100%;
        height: 12%;
        margin-top: 5%;
        left: 0;
        right: 0;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2vw;
        background-color: black;
    }

    .ordenarfrase .target {
        width: 100%;
        height: 20%;
        left: 0;
        right: 0;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px dashed #999;
        background-color: white;
    }

    .ordenarfrase .source {
        width: 100%;
        height: 49%;
        float: left;
        position: absolute;
        right: 0;        
        left: 0;
    }

        .ordenarfrase .source .frasesolucion {
            width: 100%;
            margin-top: 5%;
            background-color: white;
            color: red;
            text-align: center;
            font-size: 2vw;
            padding-top: 1%;
            padding-bottom: 1%;
        }

        .ordenarfrase .source .btnContinuarTemas {
            height: 40%;
            margin-top: 5%;            
        }

            .ordenarfrase .source .btnContinuarTemas img {
                height: 100%;
            }

    .ordenarfrase .botonera {
        width: 100%;
        height: 10%;
        float: left;
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
    }

        .ordenarfrase .botonera button {
            margin-top:1%;
            width: 22%;
            font-size: 1.5vw;
            border: 0;
            border-radius: 10px;
            height: 70%;
            background-color: #392F2D;
            color: white;
            margin-left: 1%;
            cursor: pointer;
        }

.ordenarfrase_item {
    height: 15%;
    width: 17%;
    background-color: #f2c641;
    position: absolute;
    text-align: center;
    font-size: 2vw;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: -webkit-grab;
    cursor: grab;
    color: black;
}

.ordenarfrase_item_locked {
    height: 40.5%;
    width: 15%;
    background-color: #f2c641;
    color: white;
    float: left;
    text-align: center;
    font-size: 2vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1%;
    cursor: grab;
    color:black;
}

.ordenarfrase_empty {
    height: 9.72%;
    border: 1px dashed #999;
}

    .ordenarfrase_empty .ordenarfrase_item {
        margin: 0;
    }

.ordenarfrase_highlight {
    border: 1px solid red;
    background: #fff;
}

    .ordenarfrase_highlight .ordenarfrase_item {
        opacity: 0.3;
    }

.ui-draggable-dragging {
    z-index: 99;
    opacity: 1 !important;
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.ui-draggable-helper {
    background-color: orange;
    z-index: 9999999;
}

@media (max-device-width:  961px) {

}