.ed-tooltip-contenido {
    display: none;
    position: absolute;
    max-width: 96%;
    width: 100%;
}

.ed-tooltip-contenido.ed-tooltip-contenido-activo {
    display: block;
}

.fondo-tooltip {
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    border: 5px solid #e6ca16;
}

.ed-tooltip-activo {
    cursor: pointer;
}

.ed-tooltip-activo::after {
    content: "";
    position: absolute;
    background-color: #e61d3a;
    bottom: -48%;
    left: 5%;
    width: 90%;
    height: 40%;
    -webkit-clip-path: polygon(50% 0, 100% 100%, 0 100%);
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

@-webkit-keyframes onda-tooltip {
    0% {
        -webkit-box-shadow: 0 0 0 0 hsla(351, 80%, 51%, 0.5);
        box-shadow: 0 0 0 0 hsla(351, 80%, 51%, 0.5);
    }

    100% {
        -webkit-box-shadow: 0 0 0 5px hsla(351, 80%, 51%, 0.5);
        box-shadow: 0 0 0 5px hsla(351, 80%, 51%, 0.5);
    }
}

@keyframes onda-tooltip {
    0% {
        -webkit-box-shadow: 0 0 0 0 hsla(351, 80%, 51%, 0.5);
        box-shadow: 0 0 0 0 hsla(351, 80%, 51%, 0.5);
    }

    100% {
        -webkit-box-shadow: 0 0 0 5px hsla(351, 80%, 51%, 0.5);
        box-shadow: 0 0 0 5px hsla(351, 80%, 51%, 0.5);
    }
}

.redi-ex .contenedor-tt .zona {
    position: absolute;
    background-color: #e61d3a;
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    -webkit-animation: onda-tooltip .8s infinite;
    animation: onda-tooltip .8s infinite;
    color: #fff;
    font-size: 25px;
    font-weight: 600;
}

.redi-ex .contenedor-tt .zona.ed-tooltip-activo {
    -webkit-animation: none;
    animation: none;
}

.redi-ex .contenedor-tt .ed-tooltip-contenido {
    z-index: 99999;
}

.redi-ex .contenedor-tt .contenido-tt {
    position: relative;
    max-width: 600px;
    width: 100%;
    display: flex;
    align-items: stretch;
    margin-left: 0;
    margin-right: 0;
    padding: 20px;
    background-color: #e61d3a;
    background-image: url(../img/background-diagonal.png);
    background-repeat: repeat;
    background-blend-mode: screen;
}

.redi-ex .contenedor-tt #ed-tt2 .contenido-tt {
    background-color: #E2E2E2;
}

.redi-ex .contenedor-tt #ed-tt2 .contenido-tt:before {
    border: 2px dashed #e61d3a;
}

.redi-ex .contenedor-tt #ed-tt2 .contenido-tt .tooltipTexto {
    color: #444242;
}

[data-ed-tooltip="2"].ed-tooltip-activo::after {
    background-color: #E2E2E2;
}

/* .redi-ex .contenedor-tt #ed-tt3 .contenido-tt {
    background-color: #d4ba0b;
}

.redi-ex .contenedor-tt #ed-tt3 .contenido-tt:before {
    border: 2px dashed #fff;
}

.redi-ex .contenedor-tt #ed-tt3 .contenido-tt .tooltipTexto {
    color: #fff;
}

[data-ed-tooltip="3"].ed-tooltip-activo::after {
    background-color: #d4ba0b;
} */

.redi-ex .contenedor-tt .contenido-tt::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 2px dashed #fff;
}

@media (max-width: 767px) {
    .redi-ex .contenedor-tt .contenido-tt::before {
        width: calc(100% - 10px);
        height: calc(100% - 10px);
    }
}

.redi-ex .contenedor-tt .contenido-tt ul {
    margin-bottom: 0;
}

.redi-ex .tooltipContenidoTexto {
    text-align: center;
    display: flex;
    align-items: center;
    flex-flow: column;
    width: 100%;
    line-height: 1.3;
}

.redi-ex .tooltipTexto {
    color: #fff;
    margin-bottom: 0;
    font-size: 22px;
}

@media (max-width: 767px) {
    .redi-ex .tooltipTexto {
        font-size: 20px;
        line-height: 1.2;
    }
}

.tooltipTexto h3 {
    font-weight: bold;
    text-transform: uppercase;
}

.tooltipTexto p {
    margin-bottom: 0;
}

.redi-ex .contenedor-tt {

    display: inline-block;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 20px;
    margin-bottom: 20px;

    --puntoTooltipTamano: 50px;

    /* contenedor 1 */

    --tooltip1Top: -60px;
    --tooltip1Left: 25%;

    --tooltip2Top: -60px;
    --tooltip2Left: 50%;

    --tooltip3Top: -60px;
    --tooltip3Left: 75%;

}

.redi-ex .contenedor-tt:before {
    content: "";
    transform: translateX(-50%);
    width: 5px;
    height: calc(100% - 54px);
    position: absolute;
    bottom: 0;
    background: #e6ca16;
}

.contenedor1 {
    position: relative;
    margin-top: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contenedor1:before {
    content: "Etapas de la negociación";
    width: 80%;
    height: auto;
    background: #e6ca16;
    left: 0;
    top: 0px;
    padding: 7px 20px 5px;
    display: inline-block;
    font-size: 25px;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.linea1 {
    position: absolute;
    left: 25%;
    transform: translateX(-50%);
    top: -25px;
    width: 5px;
    background: #e6ca16;
    height: 100%;
    z-index: -1;
}

.linea2 {
    position: absolute;
    left: 75%;
    transform: translateX(-50%);
    top: -25px;
    width: 5px;
    background: #e6ca16;
    height: 100%;
    z-index: -1;
}

.redi-ex .contenedor-tt [data-ed-tooltip="1"] {
    top: var(--tooltip1Top);
    left: var(--tooltip1Left);
    transform: translateX(-50%);
}

.redi-ex .contenedor-tt #ed-tt1 {
    top: calc(var(--tooltip1Top) + var(--puntoTooltipTamano));
}

.redi-ex .contenedor-tt [data-ed-tooltip="2"] {
    top: var(--tooltip2Top);
    left: var(--tooltip2Left);
    transform: translateX(-50%);
}

.redi-ex .contenedor-tt #ed-tt2 {
    top: calc(var(--tooltip2Top) + var(--puntoTooltipTamano));
}

.redi-ex .contenedor-tt [data-ed-tooltip="3"] {
    top: var(--tooltip3Top);
    left: var(--tooltip3Left);
    transform: translateX(-50%);
}

.redi-ex .contenedor-tt #ed-tt3 {
    top: calc(var(--tooltip3Top) + var(--puntoTooltipTamano));
}