.ig-loader .lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.ig-loader .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    /*width: 64px;*/
    /*height: 64px;*/
    /*margin: 8px;*/
    /*border: 8px solid #fff;*/
    width: 50px;
    height: 50px;
    margin: 8px;
    border: 5px solid #fff;
    border-radius: 50%;
    animation: ig-lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}
.ig-loader .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.ig-loader .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.ig-loader .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes ig-lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.ig-video .ig-loader{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    justify-items: center;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(50px);

}
.ig-video:not(.loading) .ig-loader{
    opacity: 0;
    visibility: hidden;
    display: none;
}

.ig-container{
    position: relative;
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    justify-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100vw;
    gap: 5px;
}


.ig-container .ig-post{
    position: relative;
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: calc(100vw / 5 - 5px);
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;
    transition: all linear .25s;
}

.ig-container .ig-post img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity ease-in .25s;

}

.ig-container .ig-post .overlay{
    position: absolute;
    right: 0;
    left: 0;
    bottom: -100%;
    height: auto;
    display: flex;
    padding: 20px;
    background: rgba(0,0,0,.5);
    color: #fff;
    transition: all linear .25s;
}
.ig-container .ig-post:hover .overlay{
    bottom: 0;
}

.ig-container .ig-post.extra-link{
    background: #001580;
}
.ig-container .ig-post.extra-link a{
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    text-align: center;
}

.ig-videos-screen{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #000;
    /*display: flex;*/
    /*align-items: center;*/
    /*align-content: center;*/
    /*justify-items: center;*/
    /*justify-content: center;*/
    width: 100%;
    height: 100%;
    display: block;
    visibility: visible;
    opacity: 1;
    transition: opacity ease-in .125s;
    z-index: 10000000;
}

.ig-videos-screen:not(.active){
    display: none;
    visibility: hidden;
    opacity: 0;
}

.ig-videos-screen #closeIgScreen{
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 100000;
}
.ig-videos-screen #prevIgVideo{
    position: absolute;
    top: 60px;
    bottom: 60px;
    right: 0;
    width: 60px;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 100000;
    text-align: right;
}
.ig-videos-screen #prevIgVideo:disabled,
.ig-videos-screen #prevIgVideo[aria-disabled="true"]
{
    opacity: 0;
}
.ig-videos-screen #nextIgVideo{
    position: absolute;
    top: 60px;
    bottom: 60px;
    left: 0;
    width: 60px;
    background: transparent;
    border: none;
    box-shadow: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 100000;
    text-align: left;
}
.ig-videos-screen #nextIgVideo:disabled,
.ig-videos-screen #nextIgVideo[aria-disabled="true"]{
    opacity: 0;
}
.ig-videos{
    position: relative;
    display: block;
    height: 100%;
    width: 100%;

}
.ig-videos .swiper-wrapper{
    align-items: center;
}
.ig-videos .swiper-slide{
    transition: all linear .25s;
    text-align: center;
    display: flex;
    align-items: flex-start;
    align-content: center;
    justify-items: center;
    justify-content: center;
}
.ig-videos .swiper-slide.swiper-slide-active {
    scale: 1;
    transition: scale ease-in .3s;
}
.ig-videos .swiper-slide:not(.swiper-slide-active) {
    scale: .75;
}

.ig-videos .ig-video{
    position: relative;
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    /*height: 100vh;*/
}
.ig-videos .swiper-slide:not(.swiper-slide-active)  .ig-video{
    border-radius: 10px;
    overflow: hidden;
}
.ig-videos .ig-video[data-player="play"]{
}
.ig-videos .ig-video img{
    position: absolute;
    /*top: 0;*/
    /*right:0;*/
    /*bottom: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*height: 100%;*/
    transition: opacity ease-in .25s;
}
.ig-videos .ig-video[data-player="play"] video{}

.ig-videos .ig-video[data-screen="vertical"] video{
    height: 100vh;
    width: auto;
}
.ig-videos .ig-video[data-screen="horizontal"] video{
    height: auto;
    width: 100vw;
}
.ig-videos .ig-video .progress-container {
    position: absolute;
    bottom: 15px;
    right: 12px;
    left: 12px;
    content: " ";
    height: 40px;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
}

.ig-videos .ig-video .progress-container .progress-bar{
    position: absolute;
    top: 18px;
    right: 0;
    left: 0;
    content: " ";
    height: 4px;
    background: #434343;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}
.ig-videos .ig-video .progress-container .progress-bar .progress{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    content: " ";
    background: #fff;
    border-radius: 2px;
}

.ig-videos .ig-video .progress-container .touch{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    content: " ";
    height: 100%;
    width: 100%;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    z-index: 10;
}
.ig-videos .swiper-slide-active .ig-video img{
    opacity: 0;
    visibility: hidden;
    display: none;

}

.ig-videos .ig-video[data-player="play"] img{
opacity: 0;
    visibility: hidden;
    display: none;
}
.ig-videos .ig-video .overlay{
    position: absolute;
    right: 0;
    left: 0;
    bottom: -100%;
    height: auto;
    display: flex;
    padding: 20px;
    background: rgba(0,0,0,.5);
    color: #fff;
    transition: all linear .25s;

}
.ig-videos .ig-video:hover .overlay{
    bottom: 0;

}

.ig-videos .ig-video .play-pause{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(5px);
    display: none;
    opacity: 0;
    visibility: hidden;
}

.ig-videos .swiper-slide-active .ig-video[data-player="pause"] .play-pause{
    display: flex;
    opacity: 1;
    visibility: visible;
}
.ig-videos .ig-video .play-pause button{
    position: relative;
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 5px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    padding: 0;
    margin: 0;
}
.ig-videos .ig-video .play-pause button i{
    font-size: 32px;
    margin-right: -2px;
}


.ig-paginator{
    position: relative;
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    margin: 60px 0;
    color: #fff;
}
.ig-paginator > .pagination{
    position: relative;
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
}
.ig-paginator > .pagination > *{
    position: relative;
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #fff;
    border-radius: 20px;
    color: #fff;
    min-width: 35px;
}
.ig-paginator > .pagination > a{
    background: #2561ae;
}
.ig-paginator > .pagination > span{}
@media (min-width: 0) and (max-width: 768px) {
    .ig-videos .swiper-slide.swiper-slide-active {
        scale: 1;
        width: 100% !important;
        height: 100% !important;
    }

    .ig-videos .swiper-slide:not(.swiper-slide-active) {
        scale: 1;
    }

    .ig-videos-screen #closeIgScreen {
        top: 0;
        left: 0;
        width: 40px;
        height: 40px;
    }

    .ig-videos .ig-video .progress-container{
        bottom: 15px;
        right: 60px;
        left: 60px;
    }

    .ig-container .ig-post{
        width: calc(100vw / 3 - 5px);
    }
}