.depend-academy-archive .no-posts {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    font-size: 24px;
}

.depend-academy-archive .filter-wrapper {
    margin-top: 20px;
}

.depend-academy-archive .filters {
    margin-bottom: 10px;
}

.depend-academy-archive .filters h2 {
    font-size: 18px;
    margin: 0;
}

@media screen and (min-width: 800px) {
    .depend-academy-archive .filters {
        margin-bottom: 10px;
        display: flex;
    }
    .depend-academy-archive .filters div:first-child {
        flex: 0 0 200px;
    }
}

.depend-academy-archive .filters span {
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 3px 10px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: inline-block;
    cursor: pointer;
}

.depend-academy-archive .filters span.active {
    box-shadow: inset 0px 0px 1px 2px rgba(0,0,0,1)
}

.depend-academy-archive .element-item {
    width: 33%;
    margin-bottom: 50px;
}

.depend-academy-archive .element-item:not(.first-item) {
    padding: 10px;
}

@media screen and (max-width: 800px) {
    .depend-academy-archive .element-item {
        width: 50%;
        margin-bottom: 20px;
    }
}

/*
.depend-academy-archive .element-item:not(.first-item) .thumbnail img {
    max-width: 320px;
}
*/

@media screen and (max-width: 600px) {
    .depend-academy-archive .element-item:not(.first-item) .thumbnail img {
        max-width: 220px;
    }
}

.depend-academy-archive .element-item.first-item {
    width: 100%;
    margin-bottom: 50px;
    display: flex;
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.25);
}

.depend-academy-archive .element-item.first-item .title {
    font-size: 20px;
    display: inline-block;
    margin-bottom: 20px;
    border-bottom: 2px solid black;
}

.depend-academy-archive .element-item.first-item .title a {
    margin-bottom: 10px;
    display: block;
}

@media screen and (max-width: 800px) {
    .depend-academy-archive .element-item.first-item {
        flex-direction: column;
    }
}

.depend-academy-archive .element-item.first-item .thumbnail {
    flex: 0 0 60%;
}

.depend-academy-archive .element-item.first-item .content {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: 50px;
}

.depend-academy-archive .element-item .title {
    margin: 10px 0;
    font-weight: bold;
    font-size: 16px;
}

.depend-academy-archive .element-item .desc {
    font-size: 14px;
    margin: 10px 0;
}

.depend-academy-archive .element-item .read {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}


/**********************
******* SINGLE
***********************/

.step-faded {
    color: #cacaca;
    text-transform: uppercase;
}

.academy-intro {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
}

.academy-intro-title {
    display: inline-block;
    margin-bottom: 20px;
    border-bottom: 2px solid black;
}

.academy-swiper {
    position: relative;
    margin: 20px 0;
}

.academy-swiper-box {
    display: flex;
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.25);
    margin: 5px;
    background-color: white;
}

.academy-swiper-box.video {
    box-shadow: none;
    background-color: transparent;
}

/*
.academy-swiper-box.long-desc .academy-swiper-description {
    max-height: 280px;
    overflow-y: scroll;
}
*/

@media screen and (max-width: 800px) {
    .academy-swiper-box {
        flex-direction: column;
    }
}

.academy-swiper-box .video {
    width: 100%;
    min-height: 460px;
}

.academy-swiper-box .video iframe {
    width: 100%;
    min-height: 490px;
}

@media screen and (max-width: 800px) {
    .academy-swiper-box .video,
    .academy-swiper-box .video iframe {
        min-height: 400px;
    }
}

.academy-swiper-box .academy-swiper-image {
    flex: 0 0 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 800px) {
    .academy-swiper-box .academy-swiper-image img {
        height: 100%;
        object-fit: cover;
        max-height: 500px;
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
        width: 100%;
    }
}

.academy-swiper-box .academy-swiper-content {
    display: flex;
    /*justify-content: space-evenly;
    align-items: center;*/
    padding: 20px;
    flex-direction: column;
    overflow-y: auto;
    max-height: 500px;
}

.academy-swiper-box .academy-swiper-product {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;    
}

.academy-swiper-box .academy-swiper-product-title {
    display: none;
}

.academy-swiper-box .academy-swiper-product-url {
    font-size: 12px;
}

.academy-swiper-box .academy-swiper-product img {
    max-width: 100px;
}

.academy-swiper .swiper-button-prev {
    left: -50px;
}

.academy-swiper .swiper-button-next {
    right: -50px;
}

@media screen and (max-width: 800px) {
    .academy-swiper .swiper-button-prev {
        left: -0px;
    }
    
    .academy-swiper .swiper-button-next {
        right: -0px;
    }

    .depend-academy-popup-content .academy-swiper .swiper-button-prev {
        left: -25px;
    }
    .depend-academy-popup-content .academy-swiper .swiper-button-next {
        right: -25px;
    }
}

.academy-swiper .swiper-button-prev:focus, 
.academy-swiper .swiper-button-next:focus {
    outline: none;
}

.academy-swiper .swiper-button-prev, 
.academy-swiper .swiper-button-next {
    width: 50px;
    height: 50px;
    background-color: #333;
}

.academy-swiper .swiper-button-prev::after, 
.academy-swiper .swiper-button-next::after {
    font-size: 30px;
    color: white;
}

.academy-swiper .swiper-button-prev:hover, 
.academy-swiper .swiper-button-next:hover {
    background-color: #585858
}

.academy-swiper .swiper-pagination {
    position: inherit;
}

.academy-swiper .swiper-pagination .swiper-pagination-bullet {
    margin-left: 3px;
}

.academy-swiper .swiper-pagination .swiper-pagination-bullet-active {
    background: #333;
}

/*** NORMAL ***/

.academy-step-title {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.academy-step-guide {
    display: flex;
    justify-content: space-between;
    color: #cacaca;
}

.academy-step-guide h3 {
    color: #858585;
}

.academy-step-guide-products {
    margin-right: 50px;
}

@media screen and (max-width: 800px) {
    .academy-step-guide {
        display: none;
    }
}

.academy-step-box {
    display: flex;
    margin-bottom: 50px;
}

@media screen and (max-width: 800px) {
    .academy-step-box  {
        flex-direction: column;
    }
}

.academy-step-box .academy-step-image {
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
}

.academy-step-box .academy-step-image img {
    object-fit: cover;
}

.academy-step-box .academy-step-description {
    flex: 0 0 50%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    /*align-items: center;*/
    font-size: 14px;
}

.academy-step-box .academy-step-product {
    flex: 0 0 20%;
    display: flex;
    flex-direction: column;
    /*justify-content: center;*/
    align-items: center;
}

.academy-step-box .academy-step-product a {
    font-size: 12px;
}

.academy-step-box .academy-step-product img {
    max-width: 180px;
}

@media screen and (max-width: 800px) {
    .academy-step-box .academy-step-product img {
        max-width: 100px;
    }
    .academy-step-box .academy-step-description {
        padding-top: 10px;
    }
}


/**********************
****** POPUP
**********************/

a.academy-popup {
    display: block;
}

.depend-academy-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.7);
    z-index: 99999;
}

.depend-academy-popup.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.depend-academy-popup-content {
    position: relative;
    background-color: transparent;
    max-width: 1000px;
    width: 90%;
    border-radius: 3px;
    animation-duration: 0.5s !important;
}

.depend-academy-popup-content .academy-swiper-box {
    border-radius: 3px;
}

.depend-academy-archive .element-item .thumbnail {
    position: relative;
}

.depend-academy-archive .element-item .thumbnail .popup-icon {
    position: absolute;
    left: 5px;
    top: 5px;
    pointer-events: none;
    background: white;
    padding: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #333;
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.25);
    transition: all ease-in-out 0.2s;
}

.depend-academy-archive .element-item .thumbnail.has-popup:hover .popup-icon {
    background: #FD7FCB;
    color: white;
}



/*
.depend-academy-popup-content .academy-swiper-box.long-desc {
    flex-direction: column;
    max-height: 100vh;
    overflow-y: auto;
}
*/

.academy-loader-box {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    background-color: #0000008c;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.lds-dual-ring {
    display: inline-block;
    width: 64px;
    height: 64px;
  }
  .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 46px;
    height: 46px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
  }
  @keyframes lds-dual-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  