.contenido.contenido-recurso1 {
    max-width: 1100px;
    margin: auto;
}

.nav {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    border-bottom: dashed #016d38 2px;
    /* margin-bottom: 40px; */
    text-align: center;
}

@media (max-width: 767px) {
    .nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

.nav:before {
    display: none;
}

.nav>li>a {
    font-size: 18px;
    background-color: #ffdc5d;
    color: #016d38;
    line-height: 1.2;
    border-radius: 12px;
    height: 100%;
}

.nav>li>a:hover,
.nav-pills>li:hover>a {
    background-color: #016d38;
    color: #fff;
    border: 2px solid #FFC000;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.nav-pills>li.active+li>a {
    animation: pulse .8s infinite;
    border: 2px solid #016d38;
}

.nav-pills>li.active>a,
.nav-pills>li.active>a:focus,
.nav-pills>li.active>a:hover {
    color: #fff;
    background-color: #016d38;
    border: 2px solid #FFC000;
}

@media (max-width: 767px) {
    .nav>li>a {
        font-size: 16px;
        padding: 7px;
    }
}

@media (max-width: 565px) {
    .nav>li {
        width: calc(33.333% - var(--espacioEntreElementos) * 2);
    }

    .nav>li>a {
        font-size: 14px;
        padding: 7px;
    }
}

/* estilos generales del recurso */
div[role="tabpanel"] ul:not(.caja-descripcion) {
    padding: 0 20px 10px 0;
    list-style-type: none;
}

.destino__contenedor {
    position: relative;
    display: inline-block;
}

/* estilos del area de prendas */
.origen {
    border-right: dashed #016d38 2px;
    /* border-top: dashed #016d38 2px; */
    padding: 0%;
}

.caja-origen {
    display: grid;
    width: 100%;
    padding: 4%;
    height: 120px;
    vertical-align: middle;
    /* height: 12vw; */
    position: relative;
    margin: 0 auto;
    margin-top: 1.5vw;
    border-radius: 10px;
    border: 1px dashed #016d38;
    background: #dddddd;
}

.img-origen {
    margin: auto;
    width: auto;
    max-height: 100px;
    max-width: 100px;
    filter: drop-shadow(0 0 1px hsla(0, 0%, 0%, 0.2));
}

/* estilos del area de funcionarios */
.destino {
    /* border-top: dashed #016d38 2px; */
    text-align: center;
}

.caja-destino img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    filter: none;
}

/* descripciones de funciones*/
.funciones-derecha {
    /* border-top: dashed #016d38 2px; */
}

.descripcion {
    --espacioAlBorde: 10px;
    line-height: 1.3;
    color: #fff;
    margin: auto;
    padding: calc(var(--espacioAlBorde) * 2.5);
    font-size: 18px;
    display: table;
    height: 145px;
    position: relative;
    margin: 20px 0 20px 10px;
    z-index: 12;
    border-radius: 10px;
    box-shadow: 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
}

.descripcion:after {
    content: '';
    position: absolute;
    top: var(--espacioAlBorde);
    left: var(--espacioAlBorde);
    right: var(--espacioAlBorde);
    bottom: var(--espacioAlBorde);
    border: dashed #fff 2px;
    border-radius: 10px;
    background: transparent;
    z-index: -1;
}

.hombre {
    background: #016d38;
}

.mujer {
    background: #016d38;
}

.caja-descripcion li {
    margin-bottom: 10px;
}

.caja-descripcion {
    margin: 0 auto;
    padding: 15px 20px;
    list-style: disc;
}

@media (max-width: 767px) {
    .descripcion {
        font-size: 16px;
        margin: 25px 0 0;
    }
}

#list-destino-ec-salon {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#imagen-fondo {
    margin: 10% 0;
    width: 100%;
    max-width: 400px;
}

@media (max-width: 991px) {
    #imagen-fondo {
        max-width: 300px;
        width: 100%;
    }
}

.titulo-descripcion {
    font-size: 18px;
    color: #016d38;
    font-weight: 600;
    border-radius: 5px;
    margin: 0 auto 15px;
    padding: .3em 1em;
    width: 90%;
    text-align: center;
    background-color: #FFC000;
    /* -webkit-box-shadow: 8px 7px 1px 0px rgba(249, 160, 27, 1);
    -moz-box-shadow: 8px 7px 1px 0px rgba(249, 160, 27, 1);
    box-shadow: 8px 7px 1px 0px rgba(249, 160, 27, 1); */
    max-width: 300px;
    margin-bottom: 0px;
}

/***************** estilos de cada pestaña *********************/

/* estilos del auxiliar de salon */

#salon-gorra {
    position: absolute;
    top: 15%;
    left: 38%;
    width: 15%;
    height: 3.5%;
    background-image: url(../img/recurso-1-1-1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

#salon-camisa {
    position: absolute;
    top: 20.5%;
    left: 28%;
    width: 38%;
    height: 37%;
    background-image: url(../img/recurso-1-2-1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

#salon-pantalon {
    position: absolute;
    top: 20%;
    left: 67.2%;
    width: 13%;
    height: 22%;
    background-image: url(../img/recurso-1-3-1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.correcto#salon-gorra,
.correcto#salon-camisa,
.correcto#salon-pantalon {
    background-image: none;
}

[data-order-origen="salon1"] {
    max-width: 70px;
}

[data-order-origen="salon2"] {
    max-width: 100px;
}

[data-order-origen="salon3"] {
    max-width: 40px;
}


li img[data-order-origen="salon4"] {
    -ms-transform: rotate(-32deg);
    /* IE 9 */
    -webkit-transform: rotate(-32deg);
    /* Chrome, Safari, Opera */
    transform: rotate(-32deg);
}

.caja-destino img[data-order-origen="salon4"] {
    -ms-transform: rotate(0deg);
    /* IE 9 */
    -webkit-transform: rotate(0deg);
    /* Chrome, Safari, Opera */
    transform: rotate(0deg);
}

/* fin de estilos de auxiliar de salon */

/* estilos del domicilios */
#list-destino-ec-domicilio {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#descripcion-domicilio {
    margin-top: 7%;
}

#domicilio-gorra {
    position: absolute;
    top: 9.8%;
    left: 45%;
    width: 14%;
    height: 100%;
    background-image: url(../img/recurso-2-1-1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

#domicilio-camisa {
    position: absolute;
    top: 23%;
    left: 34%;
    width: 32.2%;
    height: 100%;
    background-image: url(../img/recurso-2-2-1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

#domicilio-pantalon {
    position: absolute;
    top: 42%;
    left: 40.2%;
    width: 21%;
    height: 100%;
    background-image: url(../img/recurso-2-3-1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.correcto#domicilio-gorra,
.correcto#domicilio-camisa,
.correcto#domicilio-pantalon {
    background-image: none;
}


[data-order-origen="domicilio1"] {
    max-width: 50px;
}

[data-order-origen="domicilio2"] {
    max-width: 80px;
}

[data-order-origen="domicilio3"] {
    max-width: 100px;
}


/* fin de estilos de domicilio */

/* inicio de estilos de despacho de combos */
#list-destino-ec-despacho {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#descripcion-despacho {
    padding: 7%;
}

#despacho-gorra {
    position: absolute;
    top: 16%;
    left: 45%;
    width: 15%;
    height: 5%;
    background-image: url(../img/recurso-3-1-1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

#despacho-camisa {
    position: absolute;
    top: 22.5%;
    left: 34.3%;
    width: 36%;
    height: 36.5%;
    background-image: url(../img/recurso-3-2-1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

#despacho-pantalon {
    position: absolute;
    top: 30.6%;
    left: 28.2%;
    width: 16%;
    height: 15%;
    background-image: url(../img/recurso-3-3-1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.correcto#despacho-gorra,
.correcto#despacho-camisa,
.correcto#despacho-pantalon {
    background-image: none;
}

[data-order-origen="despacho1"] {
    max-width: 60px;
}

[data-order-origen="despacho2"] {
    max-width: 100px;
}

[data-order-origen="despacho3"] {
    max-width: 60px;
}


/* fin de estilos de despacho de combos */

/* estilos de oficios varios */
#list-destino-ec-oficio {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#descripcion-oficio {
    padding: 7%;
}

#oficio-gorra {
    position: absolute;
    top: 22%;
    left: 26%;
    width: 31.5%;
    height: 23%;
    background-image: url(../img/recurso-4-1-1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

#oficio-camisa {
    position: absolute;
    top: 24%;
    left: 57%;
    width: 19%;
    height: 16%;
    background-image: url(../img/recurso-4-2-1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

#oficio-pantalon {
    position: absolute;
    top: 40.7%;
    left: 29.8%;
    width: 24.2%;
    height: 41%;
    background-image: url(../img/recurso-4-3-1.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.correcto#oficio-gorra,
.correcto#oficio-camisa,
.correcto#oficio-pantalon {
    background-image: none;
}

[data-order-origen="oficio1"] {
    max-width: 80px;
}

[data-order-origen="oficio2"] {
    max-width: 60px;
}

[data-order-origen="oficio3"] {
    max-width: 100px;
}

#lista-oficios-varios li {
    margin-bottom: 0.5vw;
}

/* fin de estilos de oficios varios */

/* estilos de auxiliar de preparación */
#list-destino-ec-preparacion {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#descripcion-preparacion {
    padding: 7%;
}

#preparacion-gorra {
    position: absolute;
    top: 3%;
    left: 17%;
    width: 49%;
    height: 20%;
}

#preparacion-camisa {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 67%;
    height: 23%;
}

#preparacion-pantalon {
    position: absolute;
    top: 68%;
    left: 5.8%;
    width: 64%;
    height: 24%;
}

/* fin de estilos de auxiliar de preparación */

.ui-sortable-handle {
    cursor: grab;
}

.ui-sortable-helper {
    cursor: grabbing;
}