#contenedor-recurso-2 {
    text-align: center;
    display: flex;
    margin: 0 auto;
    /*padding-top: 150px;*/
    height: auto;
    overflow: visible;
    width: 100%;
    max-width: 1000px;
    flex-wrap: wrap;
    flex-direction: row;
    min-height: 400px;
    color: #444242;
}

@media screen and (min-width:769px) {
    #contenedor-recurso-2 {
        padding-top: 150px;
        justify-content: center;
        align-content: center;
    }
}

.secciones {
    height: auto;
}

#botones {
    /*margin: 0 auto;*/
    position: relative;
    /*left: 121px;
    top: -330px;
    display: table;*/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

@media screen and (min-width:769px) {
    #botones {
        flex-direction: column;
        width: 25%;
        position: relative;
        top: -100px;
        margin-bottom: 0;
    }
}

#botones .rol {
    width: 100%;
    padding: 2px;
}

@media screen and (min-width:769px) {
    #botones .rol {
        width: 100%;
        height: auto;
    }
}

/*@media screen and (min-width:920px) {
    #botones .rol{
        height: 70px;
    }
}*/

#botones .rol button {
    height: 100%;
    font-size: 18px;
    width: 100%;
    color: #fff;
    background-color: #7c7c7c;
    padding: 8px 20px;
    position: relative;
    z-index: 1;
    transform: scale(1);
    transition: transform .5s;
    opacity: 1;
}

@media screen and (min-width:769px) {
    #botones .rol button {
        font-size: 20px;
    }
}

#botones .rol button:hover:before {
    opacity: 0;
    transform: scale(1.1);
}

#botones .rol button:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: .8;
    transform: scale(1);
    transition: opacity .5s, transform .5s;
}


#botones .rol button.seleccionado {
    box-shadow: 0 0 5px 3px hsla(0, 0%, 0%, 0.2);
    animation: pulse 1s infinite;
}


.tooltip__trigger.inicio {
    box-shadow: 0 0 6px 2px hsla(0, 0%, 0%, 0.1);
    animation: pulse2 .5s infinite;
}

#botones .rol:nth-child(1) button.active {
    background-color: #e61d3a;
    background-image: url(../img/tema3/background-diagonal.png);
    background-size: 10px;
    background-repeat: repeat;
    background-blend-mode: screen;

}

#botones .rol:nth-child(3) button.active {
    background-color: #e6ca16;
    background-image: url(../img/tema3/background-diagonal.png);
    background-size: 10px;
    background-repeat: repeat;
    background-blend-mode: screen;
}

#botones .rol:nth-child(2) button.active {
    background-color: #49a5ab;
    background-image: url(../img/tema3/background-diagonal.png);
    background-size: 10px;
    background-repeat: repeat;
    background-blend-mode: lighten;
}

#botones .rol:nth-child(4) button.active {
    background-color: #49ab72;
    background-image: url(../img/tema3/background-diagonal.png);
    background-size: 10px;
    background-repeat: repeat;
    background-blend-mode: lighten;
}

#botones .rol:nth-child(5) button.active {
    background-color: #e61d3a;
    background-image: url(../img/tema3/background-diagonal.png);
    background-size: 10px;
    background-repeat: repeat;
    background-blend-mode: screen;
}



.eva-unit01 .tooltip__shape {
    fill: #e61d3a;
}

.eva-unit03 .tooltip__shape {
    fill: #F0D427;
}

.eva-unit02 .tooltip__shape {
    fill: #49a5ab;
}

.eva-unit04 .tooltip__shape {
    fill: #49ab72;
}

.eva-unit05 .tooltip__shape {
    fill: #e61d3a;
}

.boton-recurso2 {
    cursor: pointer;
    width: 148px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#empleado {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url(../img/tema3/1.png);
    width: 50%;
    height: 200px;
}

@media screen and (min-width:769px) {
    #empleado {
        width: 35%;
        height: 350px;
    }
}

#funciones {
    width: 50%;
}

@media screen and (min-width:769px) {
    #funciones {
        width: 33.33%;
    }
}

.tareas {
    text-align: left;
    position: relative;
}

/*@media screen and (min-width:769px) {
    .tareas{
        position: relative;
    }
}*/

.tareas span {
    border-radius: 50%;
    height: 1.5em;
    width: 1.5em;
    display: inline-block;
    color: #fff;
    text-align: center;
    font-weight: 600;
    position: absolute;
    left: -1.9em;
}

@media screen and (min-width:769px) {
    .tareas span {
        position: absolute;
        left: -1.9em;
    }
}

.tareas p {
    display: inline-block;
    font-size: 18px;
}

@media screen and (min-width:769px) {
    .tareas p {
        font-size: 20px;
    }
}


/***** estilos tooltips ****/

.flex-container {
    padding: 0;
    margin: 0;
    list-style: none;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: block;
    /*-webkit-flex-flow: row wrap;*/
    justify-content: space-around;
}

.tooltip-recurso2 {
    position: absolute;
    /*top: -121px;
    left: -331px;*/
    opacity: 1;
    font-size: 18px;
    color: #fff;
}

.tooltip__trigger {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
    font-size: 25px;
    position: relative;
    /*margin-left: -20px;*/
    height: 54px;
    width: 56px;
    transition: background-image;
}

.tooltip__trigger.desactivado {
    cursor: not-allowed;
}

.tooltip__trigger-text {
    display: block;
    padding: 0.85em;
    pointer-events: none;
}

.tooltip__base1 {
    position: absolute;
    left: 4%;
    margin: 0 auto;
    bottom: -114px;
    margin-left: 0px;
    width: 320px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

@media screen and (min-width:769px) {
    .tooltip__base1 {
        left: 95%;
        top: -15px;
    }
}

.tooltip__base2 {
    position: absolute;
    left: 234%;
    margin: 0 auto;
    top: -140%;
    margin-left: 0px;
    width: 474px;
    height: 397px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    display: none;
}


/* tooltip  */

.tooltip__content {
    color: #fff;
    margin-left: -102px;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 55%;
    padding: 0 1em;
    opacity: 0;
    font-size: 14px;
    top: -21px;

    line-height: 1.1;
    font-size: 22px;
    font-weight: 600;
}

@media screen and (min-width:769px) {
    .tooltip__content {
        margin-left: auto;
        position: absolute;
        padding: 0;
        top: auto;
    }
}

.tooltip__shape,
.tooltip__shape2,
.tooltip__deco {
    position: absolute;
    width: 100%;
    height: 200%;
    top: -70px;
    left: -51px;
}

@media screen and (min-width:769px) {

    .tooltip__shape,
    .tooltip__shape2,
    .tooltip__deco {
        position: initial;
        width: auto;
        top: 0;
        left: 0;
    }
}



/* Smaug */

.tooltip--smaug .tooltip__base {
    bottom: -60px;
    transform-origin: 50% 100%;
}

.tooltip--smaug .tooltip__content {
    padding: 0;
}

.posicion-tooltip {
    position: absolute;
}


/* media queries */

@media screen and (max-width:577px) {
    #recurso2-imagen {
        width: 380px;
        height: 380px;
    }

    #recurso-2 #botones {
        width: 165px;
        left: 88px;
        top: -212px;
    }

    .tooltip__trigger {
        height: 33px;
        width: 22px;
        font-size: 20px;
    }

    .flex-container {
        width: 135px;
        margin: 0px 4px;
    }

    .tooltip__base {
        width: 250px;
        height: 355px;
        left: 70px;
    }

    .tooltip__content {

        line-height: 1.1;
        font-size: 20px;
        font-weight: 600;

    }

    .tooltip--smaug .tooltip__base {
        bottom: -107px;
    }

    #recurso-2 {
        margin-left: -109px;
        width: 526px;
        height: 420px;
    }
}

@media screen and (min-width: 578px) and (max-width: 619px) {
    #recurso2-imagen {
        width: 450px;
        height: 450px;
    }

    #recurso-2 #botones {
        width: 165px;
        left: 91px;
        top: -247px;
    }

    .tooltip__trigger {
        height: 33px;
        width: 26px;
        font-size: 23px;
    }

    .flex-container {
        width: 162px;
        margin: 0px 8px;
    }

    .tooltip__base {
        width: 250px;
        height: 355px;
        left: 96px;
    }

    .tooltip__content {
        line-height: 1.1;
        font-size: 10px;
    }

    .tooltip--smaug .tooltip__base {
        bottom: -107px;
    }

    #recurso-2 {
        margin-left: -65px;
        width: 572px;
        height: 460px;
    }
}

@media screen and (min-width: 620px) and (max-width: 750px) {
    #recurso2-imagen {
        width: 500px;
        height: 500px;
    }

    #recurso-2 #botones {
        width: 100px;
        left: 100px;
        top: -273px;
    }

    .tooltip__trigger {
        height: 33px;
        width: 29px;
    }

    .flex-container {
        width: 183px;
        margin: 0px 2px;
    }

    .tooltip__base {
        width: 296px;
        height: 355px;
        left: 82px;
    }

    .tooltip__content {
        line-height: 1.1;
        font-size: 20px;
    }

    .tooltip--smaug .tooltip__base {
        bottom: -87px;
    }

    #recurso-2 {
        margin-left: -58px;
        width: 656px;
        height: 610px;
    }
}

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

    50% {
        transform: scale(1.03);
    }

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

@keyframes pulse2 {
    from {
        transform: none;
    }

    50% {
        transform: scale(1.05);
    }

    to {
        transform: none;
    }
}