.e-con {
    &:hover {
        .elementor-widget-max-elements-image>.elementor-widget-container>.max-elements-image.selector-type-container {

            &.max-elements-image-container-active {
                &::after {
                    display: block;
                }

                .image-hover-container {
                    display: block;
                    opacity: 1;
                }
            }

        }
    }

}

.max-elements-image {
    &.tce-rotate-center-animation{
        animation: tce-rotate-center-animation 100s linear infinite both;
    }
    &.tce-rotate-center-animation.reverse{
        animation: tce-rotate-center-animation 100s linear infinite both reverse;
    }
    &.selector-type-image {
        &:hover {
            &::after {
                display: block;
            }

            .image-hover-container {
                display: block;
                opacity: 1;
            }
        }
    }
    &::after {
        content: '';
        top: 0;
        left: 0;
        position: absolute;
        display: none;
    }
    .tc-hover-media{
        display: inline-block;
    }
    .image-hover-container {
        display: none;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 20;
        opacity: 0;
        transition: all 0.3s ease;
        white-space: nowrap;

        a {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background-color: #fff5;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            margin: 5px;

            svg {
                width: 25px;
                height: 25px;
            }

            &:hover {
                background-color: #181c20;
            }
        }

        .float-link{

        }

        svg {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
        }
    }
    .max-elements-float-cursor{
        position: absolute;
        left: 0;
        top: 0;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        color: var(--color-primary);
        text-transform: uppercase;
        font-size: 16px;
        z-index: 30;
        pointer-events: none;
        padding: 30px;
        text-align: center;
        span{
            display: inline-block;
        }
        .icon{
            display: block;
        }
    }
    &.line{
        img {
            clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
            transition: all 2s linear;
        }
        &.animated img{
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        }
    }
    &.clippy-img{
        img {
            clip-path: polygon(25% 0, 75% 0, 75% 100%, 25% 100%);
            opacity: 0;
            transform: rotate(-7deg) scale(1.3);
            transition: all 1s ease;
            transition-delay: 0.2s;
        }
        &.animated img{
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
            opacity: 1;
            transform: rotate(0) scale(1);
        }
    }
    &.clip-up-to-down {
        img {
            clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
            transition: all 2s ease-in-out;
        }
        &.animated img {
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        }
    }
    &.max-elements-float-cursor-container{
        a{
            cursor: none;
        }
        cursor: none;
    }
    .butn{
        display: inline-block;
        span{
            display: inline-block;
        }
        .shap-left-bottom{
            position: absolute;
            left: -1.45rem;
            bottom: -1px;
            transform: rotate(180deg);
            line-height: 1;
            svg {
                width: 1.5rem;
                height: 1.5rem;
                fill: #0d0d0d;
            }
        }
        .shap-right-top{
            position: absolute;
            top: -1.45rem;
            right: -1px;
            transform: rotate(180deg);
            line-height: 1;
            svg {
                width: 1.5rem;
                height: 1.5rem;
                fill: #0d0d0d;
            }
        }
    }
    &.tce-simple-parallax{
        .simpleParallax{
            height: 100%;
        }
    }
}

@keyframes tce-rotate-center-animation {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 991px) {
    .max-elements-image{
        &.max-elements-float-cursor-container{
            a{
                cursor: auto;
            }
            cursor: auto;
            .max-elements-float-cursor{
                display: none;
            }
        }
    }
}