/* GLOBAL */

.et_ltx_reel_container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  opacity: 1;
}

.et_ltx_reel_container video {  
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  /* object-fit:contain!important;	*/
   clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  outline: none!important;
  border: none!important;
}

.et_ltx_reel_container .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.et_ltx_reel_container:not(.no-logo):after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 999;
    width: 182px;
    height: 128px;
    left: 0;
    bottom: 10%;
    background-color: transparent;
    background-image: url(./assets/360.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: content;
    transition: opacity 0.1s ease-out;
    opacity: 1;
}

.et_ltx_reel_container.toload:not(.no-logo):after {
        opacity: .5;
}

.et_ltx_reel_container:not(.loaded) {
    cursor: pointer;
}


/* LOADING */

.et_ltx_reel_container .loading {
    z-index: 999;
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    left: 0;
    top: 0;
    font-size: 20px;
    color: black;
    opacity : 1;
    transition: opacity 0.3s ease-out;
    font-family: 'Paradigm Spine Thin';
    background: rgba(255,255,255,.7);
}

.et_ltx_reel_container.loaded {
    cursor: url(./assets/360-cursor.svg) ,auto;
}

.et_ltx_reel_container .loading .progressBar {
    position: relative;
    width : 60%;
    border : 1px solid rgba(0,0,0,1);
    padding : 1px;
    height : 20px;
    background-color: transparent;
    border-radius: 20px;
}

.et_ltx_reel_container .loading .progressBar .progressBarContent {
    position: relative;
    width : 0%;
    height : 100%;
    background : rgba(0,0,0,1);
    border-radius: 20px;
}

.et_ltx_reel_container .loading .progressBar .progressText {
    position: absolute;
    left: 50%;
    top : 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    color: rgba(255,255,255,1);
    mix-blend-mode: exclusion;
}


/* SWIPE */

.et_ltx_reel_container.swipe:after {
    content: "";
    position: absolute;
    pointer-events: none;
    left: 50%;
    right: unset;
    top: 25%;
    bottom: unset;
    z-index: 999;
    height: 50%;
    width: 50%;
    opacity: 1;
    background-color: transparent;
    background-image: url('/wp-content/uploads/2022/08/swipe_left.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.et_ltx_reel_container.swipe.left:after {
    background-image: url('/wp-content/uploads/2022/08/swipe_left.svg');
}

.et_ltx_reel_container.swipe.right:after {
    background-image: url('/wp-content/uploads/2022/08/swipe_right.svg');
}

.et_ltx_reel_container.loaded.product-video.swipe:after {
    animation: swipe 2s infinite;
}


/* KEYFRAMES */


@keyframes swipe {
    0% {
        transform: translate(0%,0%);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translate(-100%,0%);
        opacity: 0;
    }

    /*100% {
            transform: translate(0%,0%);
              opacity:0;
          }*/
}

@keyframes swipe_mobile {
    0% {
        transform: translate(0%,50%);
    }

    15% {
        transform: translate(-100%,50%);
    }

    100% {
        transform: translate(0%,50%);
    }
}

@media (min-width: 320px) {
    /* smartphones, iPhone, portrait 480x320 phones */
}

@media (min-width: 481px) {
    /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
}

@media (min-width: 641px) {
    /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
}

@media (min-width: 961px) {
    /* tablet, landscape iPad, lo-res laptops ands desktops */
}

@media (min-width: 1025px) {
    /* big landscape tablets, laptops, and desktops */
}

@media (min-width: 1281px) {
    /* hi-res laptops and desktops */
}

.et_ltx_reel_container {
  touch-action: none;
}


.et_ltx_reel_container .loading {
    z-index: 999;
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    left: 0;
    top: 0;
    font-size: 20px;
    color: black;
    opacity : 1;
    transition: opacity 0.3s ease-out;
    font-family: 'Conduit ITC Extra Light';
    background: rgba(255,255,255,.7);
}

.et_ltx_reel_container.loaded {
    /* cursor: url(./assets/360-cursor.svg) ,auto; */
}

.et_ltx_reel_container .loading .progressBar {
    position: relative;
    width : 60%;
    border : 1px solid rgba(0,0,0,1);
    padding : 1px;
    height : 20px;
    background-color: transparent;
    border-radius: 20px;
}

.et_ltx_reel_container .loading .progressBar .progressBarContent {
    position: relative;
    width : 0%;
    height : 100%;
    background : rgba(0,0,0,1);
    border-radius: 20px;
}

.et_ltx_reel_container .loading .progressBar .progressText {
    position: absolute;
    left: 50%;
    top : 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    color: rgba(255,255,255,1);
    mix-blend-mode: exclusion;
}

.et_ltx_reel_container .progressImg {
    /*
    width: 50%;
    height: 50%;
    background-color:transparent;
        background-image:url('/wp-content/uploads/2021/10/360View-2.svg');
        background-repeat:no-repeat;
        background-position:center;
        background-size:content;
    */
    display: none;
}

.blink {
    animation: blinker 0.2s linear 1;
}

@keyframes blinker {
    50% {
        filter: brightness(2);
    }
}
