
/*
#motion-mdp-1.animate{
    animation: motionMdp0 2s ease-in-out 0s forwards;
}
@keyframes motionMdp0{
    0% { opacity: 0;}
    100% { opacity: 1; }
}
*/

#motion-mdp-1.animate,
#motion-mdp-2.animate,
#motion-mdp-3.animate,
#motion-mdp-4.animate{
    animation: motionMdpAll 4s ease-in-out 0s forwards;
}
@keyframes motionMdpAll{
    0% { opacity: 0; transform: translateY(20px)}
    20% { opacity: 1; transform: translateY(0px) }
    95% { opacity: 1; transform: translateY(0px)}
    100% { opacity: 0; transform: translateY(-20px)}
}




/*
#motion-mdp-0.animate{
    animation: motionMdp0 2s ease-in-out 0s forwards;
}
@keyframes motionMdp0{
    0% { opacity: 0;}
    20% { opacity: 1; }
    95% { opacity: 1; }
    100% { opacity: 0; }
}

#motion-mdp-1.animate{
    animation: motionMdp1 2s ease-in-out 0s forwards;
}
@keyframes motionMdp1{
    0% { opacity: 0;}
    20% { opacity: 1; }
    95% { opacity: 1; }
    100% { opacity: 0; }
}


#motion-mdp-2.animate{
    animation: motionMdp2 2s ease-in-out 0s forwards;
}
@keyframes motionMdp2{
    0% { opacity: 0;}
    20% { opacity: 1; }
    95% { opacity: 1; }
    100% { opacity: 0; }
}

#motion-mdp-3.animate{
    animation: motionMdp3 2s ease-in-out 0s forwards;
}
@keyframes motionMdp3{
    0% { opacity: 0;}
    20% { opacity: 1; }
    95% { opacity: 1; }
    100% { opacity: 0; }
}

#motion-mdp-4.animate{
    animation: motionMdp4 2s ease-in-out 0s forwards;
}
@keyframes motionMdp4{
    0% { opacity: 0;}
    20% { opacity: 1; }
    95% { opacity: 1; }
    100% { opacity: 0; }
}
*/


.element-sprite{
    width: 100%;
    height: 100%;
    display: block;
    background-size: 100%;
}

.element-custom{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    animation-timing-function: ease-in;
    animation-iteration-count: 1;
    animation-direction: initial;
    animation-fill-mode: forwards;
    animation-play-state: initial;
}

#scene-1-main-element{
    width: 100%;
    height: 100%;
    display: block;
    background-image: url("/wp-content/themes/xyalis/includes/motion/motion-mdp/motion-min-90.webp");
    background-size: 100%;
}


#motion-xyalis{
    position: relative;
    min-height: 700px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

#motion-xyalis .slider-left,
#motion-xyalis .slider-right{
    position: absolute;
    z-index: 10;
    top: 300px;
    font-size: 60px;
    cursor: pointer;
}

#motion-xyalis .slider-left{
    left: 7%;
}
#motion-xyalis .slider-right{
    right: 7%;
}

#motion-xyalis .slider-item{
    position: absolute;
    left: 0px;
    width: 100%;
    opacity: 0;
    transition: ease all 0.2s;
    z-index: 9;
}

#motion-xyalis .slider-item.active,
#motion-xyalis .slider-item.active:hover{
    opacity: 1;
    z-index: 10;
}


#motion-nav {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 15%;
    display: flex;
    justify-content: center;
    color: white;
    z-index: 3;
    opacity: 1;
    transition: ease all 0.5s;
}

#motion-nav.hide {
    opacity: 0;
}

#motion-nav a {
    position: relative;
    cursor: pointer;
    transition: ease all 0.5s;
}

#motion-nav a span.circle {
    width: 28px;
    height: 28px;
    background: #ccc;
    outline: 2px solid #ccc;
    border: 6px solid #101010;
    display: inline-block;
    border-radius: 50%;
}

#motion-nav a span.label {
    position: absolute;
    top: 36px;
    left: -85px;
    width: 200px;
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 1);
}

#motion-nav span.delimiter {
    width: 15%;
    height: 2px;
    margin: 8px 20px 0px 20px;
    background: rgba(255, 255, 255, 0.8);
}

#motion-nav a.active span.label {
    color: #ffd119;
}

#motion-nav a.active span.circle {
    width: 28px;
    height: 28px;
    background: #fab807;
    outline: 2px solid #101010;
    border: 4px solid #101010;
    display: inline-block;
    border-radius: 50%;
    transition: ease all 0.2s;

}

.slider-nav-item span{
    width: 28px;
    height: 28px;
    background: #ccc;
    outline: 2px solid #ccc;
    border: 6px solid #101010;
    display: inline-block;
    border-radius: 50%;
}

.slider-nav-item.active{
    color: #fab807;
    transition: ease all 0.2s;
}

.slider-nav-item.active span{
    width: 28px;
    height: 28px;
    background: #fab807;
    outline: 2px solid #101010;
    border: 4px solid #101010;
    display: inline-block;
    border-radius: 50%;
    transition: ease all 0.2s;
}






.slider-nav{
    z-index: 20;
    position: absolute;
    bottom: 60px;
    width: 40%;
    left: 30%;
    margin: 0 auto;
    color: #ccc;
    display: flex;
    justify-content: space-between;
}
.slider-nav-item{
    font-size: 20px;
    text-align: center;
    width: 200px;
}
.slider-nav-item span{
    width: 28px;
    height: 28px;
    background: #ccc;
    outline: 2px solid #ccc;
    border: 6px solid #101010;
    display: inline-block;
    border-radius: 50%;
}

.slider-nav-item.active{
    color: #fab807;
    transition: ease all 0.2s;
}

.slider-nav-item.active span{
    width: 28px;
    height: 28px;
    background: #fab807;
    outline: 2px solid #101010;
    border: 4px solid #101010;
    display: inline-block;
    border-radius: 50%;
    transition: ease all 0.2s;
}


.slider-nav-sep1,
.slider-nav-sep2{
    height: 1.5px;
    background: #ccc;
    top: 12px;
    position: absolute;
}
.slider-nav-sep1{
    width: 22%;
    left: 22%;
}

.slider-nav-sep2{
    width: 22%;
    left: 56%;
}


.motion-title{
    font-size: 80px;
    font-weight: bold;
    line-height: 100%;
}
.motion-subtitle{

    font-size: 30px;
    font-weight: 100;
}
.motion-substep{
    display: flex;
    color: #4b4b4b;
    text-transform: uppercase;
    font-weight: bold;
    margin: 8px 0px;
}
.motion-dot{
    width: 14px;
    display: inline-block;
    fill: #4b4b4b;
    margin-right: 6px;
}

.motion-substep.active{
    color: #fab807;
}
.motion-substep.active .motion-dot{
    color: #fab807;
    fill: #fab807;
}





/*



#motion-joomla .interface-joomla{
    width: 84%;
    left: 8%;
    top: 8%;
    height: auto;
    animation: motionJoomla 20s ease-in-out 0s infinite;
}

@keyframes motionJoomla{
    0% { top: 6%; opacity: 1;}
    20% { top: 6%; opacity: 1;}
    28% { top: 6%; opacity: 1;}

    35% { top: -40%; opacity: 1;}

    50% { top: -100%; opacity: 1; }
    60% { top: 6%; opacity: 1; }
    100% { top: 6%; opacity: 1; }
}


#motion-wordpress .interface-wordpress{
    width: 81.5%;
    left: 10%;
    top: 8%;
    height: auto;
    animation: motionWordpress 16s ease-in-out 0s infinite;
}

@keyframes motionWordpress{
    0% { top: 4%; opacity: 1;}
    5% { top: 4%; opacity: 1;}
    15% { top: 4%; opacity: 1;}

    50% { top: -40%; opacity: 1;}

    80% { top: -182%; opacity: 1; }
    100% { top: 4%; opacity: 1; }
}


#motion-prestashop .interface-prestashop{
    width: 81.5%;
    left: 10%;
    top: 8%;
    height: auto;
    animation: motionPrestashop 20s ease-in-out 0s infinite;
}

@keyframes motionPrestashop{
    0% { top: 4%; opacity: 1;}
    25% { top: 4%; opacity: 1;}
    35% { top: 4%; opacity: 1;}

    70% { top: -40%; opacity: 1;}

    90% { top: -182%; opacity: 1; }
    100% { top: 4%; opacity: 1; }
}
*/