#min_wallpaper {
    width: 100%;
    position: absolute;
    height: 100%;
    right: 0;
}

#min_wallpaper .blur {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    background-size: 176% 100%;
    background-position: left;
    background-repeat: no-repeat;
    filter: blur(2em);
}


#min_wallpaper canvas {
    width: 85%;
    height: 100%;
    right: 0;
    object-fit: cover;
    object-position: left;
    position: absolute;
    opacity: 1;
}


#min_wallpaper .shadow {
    position: absolute;
    width: 100%;
    height: 20%;
    background: linear-gradient(to bottom, #0000 0%, #000000b8 100%);
    bottom: 0;
}



#min_preview {
    width: 100%;
    height: 65%;
    /*padding: 1em 2em 1em 2em;*/
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
}

#min_preview .logo_container {
    
    width: 100%;
    height: 25%;
    margin-top: .5em;
}

#min_preview .logo {
    max-width: 100%;
    max-height: 100%;
}

#min_preview .type_icon {
    font-size: 1.5em;
    margin-left: .5em;
    margin-right: 1em;
    color: #ffffffaa;
    display: inline-block;
    vertical-align: middle;
}

#min_preview .genres {
    display: inline-block;

}

#min_preview .genres div {
    display: inline-block;
    margin: 0 1.2em 0 0;
    font-weight: 400;
    color: #ffffffa6;
font-size: .9;
}

#min_preview .bottom {
    position: absolute;
    bottom: 1em;
}

#min_preview .l {
    display: inline-block;
    width: 30%;
    vertical-align: middle;
    height: 100%;
    overflow: hidden;
    text-align: left;
    position: relative;
}

#min_preview .c {
    display: inline-block;
    box-sizing: border-box;
    padding: 0 1.5em;
    width: 39%;
    vertical-align: middle;
    overflow: hidden;
    height: 100%;
}

#min_preview .r {
    display: inline-block;
    width: 30%;
    text-align: right;
    vertical-align: middle;
    height: 100%;
}




#min_preview .poster {
    max-height: 90%;
    border-radius: 0.3em;
    box-shadow: 5px 8px 9px rgb(0, 0, 0);
    max-width: 95%;
    object-fit: contain;
    vertical-align: middle;
    display: inline-block;
    box-sizing: border-box;
}

#min_preview .title {
    font-size: 1em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-bottom: .5em;
    display: inline-block;
}

#min_preview .overview {

    font-weight: 300;
    text-shadow: 0px 0px 6px rgb(0 0 0);
    color: rgb(255, 255, 255);
    margin: .5em 0;
}


#min_preview .providers,
#min_preview .premiere {
    transform: translateY(-130%);
    top: 100%;
    display: block;
    position: relative;
}

#min_preview .providers .logo {
    display: none;
    width: 38%;
    filter: drop-shadow(1px 1px 1px #000);
}

#min_preview .providers .logo.ok:first-child {
    display: inline-block;
}


#min_preview .vote_average{
    display: inline-block;
    width: 6em;
    height: 1.5em;
    border-radius: .5em;
    background-color: #fff;
    position: relative;

}

.rank {
    text-align: center;
    display: inline-block;
    color: #ffffffb5;
    margin-left: 2em;
}

.rank .bi-star-fill,
.rank .bi-star-half {
    color: rgba(255, 241, 41, 0.74);
}

.rank .stars {
    display: inline-block;
    margin-left: .2em;
}

.rank .emoji {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.5em;

}



#min_preview .meta {
    font-size: .8em;
    text-shadow: 2px 2px 4px rgb(0 0 0);
}

#min_preview .meta .rating {
    background-color: rgba(83, 83, 83, 0.397);
    color: #ffffffaa;
    padding: .2em .3em;
    border-radius: .3em;

    font-weight: 400;
    display: inline-block;
}

#min_preview .meta .date {
    display: inline-block;
    margin-left: .8em;
    color: #ffffffaa;
}

#preview {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    padding: 1em 3em;
    box-sizing: border-box;
    text-align: center;
}

#preview .logo {
    filter: drop-shadow(2px 2px 2px #000);
    max-width: 100%;
    max-height: 8em;

}

#preview .left_container {
    width: 24%;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

#preview .center_container {
    width: 49%;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

#preview .right_container {
    width: 24%;
    box-sizing: border-box;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    text-align: right;
}




#preview .wallpaper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    left: 0;
    background-color: #000;
}


#preview .wallpaper img {
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
    object-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: 4s;
    position: absolute;
    top: 0;
    left: 0;
}

#preview .wallpaper img.active {
    transition: 4s;
    opacity: .8;

}

#preview .poster {
    margin: 0 0 0 4%;
    border-radius: .2em;
    box-shadow: 10px 18px 18px rgb(0, 0, 0);
    position: relative;
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
    max-height: 8em;
}

#preview .info {
    display: inline-block;
    width: 77.5%;
    padding: 0 .5em;
    border-radius: .5em;
    background-color: rgba(255, 255, 255, 0.46);
    box-sizing: border-box;
}

#preview .title {
    font-size: 2.5em;
    font-weight: 200;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    text-shadow: 0px 0px 2px rgb(255, 255, 255), 2px 2px 5px rgb(0, 0, 0), 2px 2px 5px rgb(0, 0, 0);
    text-align: center;
}

#preview .synopsis {
    margin-top: 1em;
    text-transform: capitalize;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.84);
    text-shadow: 1px 1px 2px rgb(0, 0, 0), 1px 1px 3px rgb(0, 0, 0), 1px 1px 4px rgb(0, 0, 0);
    font-family: Atkinson;
    font-weight: 200;
    padding: 0 2em;
    position: relative;
}

#preview .meta div {
    display: inline-block;
    margin: 0 .8em 0 0;
    padding: .3em .5em;
    border-radius: .2em;
    color: white;
    font-weight: bold;
}

#preview .meta .class {
    background-color: rgba(255, 255, 255, 0.14);
}

#preview .meta {
    margin-bottom: .5em;
    display: inline-block;
    font-weight: 200;
    margin-top: 1em;
}

#preview .tag {
    padding: .3em .5em;
    border-radius: .2em;
    margin: .2em .5em 0 0;
    display: inline-block;
    color: rgb(242, 242, 242);
    text-shadow: 0 0 5px rgb(0, 0, 0), 0 0 5px rgb(0, 0, 0);
}

#preview .cast {
    display: inline-block;

    color: rgb(242, 242, 242);
    padding: .3em .5em;
    border-radius: .2em;
    margin: .2em .5em;
}


#preview .buttons {}

#preview .buttons .button {
    margin: .25em;
    padding: .3em .5em;
    color: #fff;
    display: inline-block;
    border-radius: .4em;
    font-weight: 300;
    text-align: center;
    vertical-align: middle;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, .9);
    background-color: rgba(18, 18, 18, .7);
}


#preview .buttons .button span,
#preview .buttons .button i {
    text-align: center;
    vertical-align: middle;
    display: inline-block;
}

#preview .button .time {
    font-size: .6em;
    color: rgba(250, 250, 250, 0.589);
}

#preview .button.focus {
    background-color: #0064f7;
}

#gallery_header {
    margin-bottom: .5em;
    margin-left: 1em;
    opacity: .8;
}

#gallery_header span {
    font-size: 1.5em;
    font-weight: 500;
    vertical-align: middle;
}

#gallery_header i {
    font-size: 1.4em;
    vertical-align: middle;
    margin-left: 1em;
    color: #ffffff80;
}

#gallery_header span.count {
    font-size: .9em;
    margin-left: 1em;
    opacity: .7;
    font-weight: 500;
    vertical-align: super;
    padding: .5em;
    background-color: #fff;
    border-radius: .3em;
    color: #000;
}

.genre_buttons .button {
    display: inline-block;
    padding: .3em 1em;
    background-color: rgba(45, 44, 44, 0.27);
    border-radius: .2em;
    margin: .2em;
}

.genre_buttons .button.focus {
    background-color: rgb(198, 0, 0);
}

.gallery {
    width: 100%;
    height: 27%;
    overflow-y: scroll;
}


.gallery .gallery_title {
    position: absolute;
    z-index: 99999;
    text-align: left;
    color: rgba(255, 255, 255, .8);
    font-size: 1.6em;
    margin: 1em 0 0 .5em;
    font-weight: 200;
    text-shadow: 1px 1px 6px rgb(0, 0, 0);
}

.gallery .title {
    font-size: .9em;
    opacity: .9;
    margin-top: 1em;
}

.gallery_linear {
    width: 100%;
    overflow-x: scroll;
    text-align: center;

}


.gallery_linear .title {
    font-size: 1em;
    font-weight: 600;
    opacity: .7;
}

.gallery_linear .file {
    width: max-content;
    display: inline-block;
    padding: 0 1em 0 0;
}

.gallery_linear .file .galery_title {
    display: inline-block;
    position: relative;
    width: 5.5em;
    vertical-align: middle;
    overflow: hidden;
    font-size: 1em;
    font-weight: 600;
    height: 10em;
    color: rgba(255, 255, 255, .6);
    text-shadow: 1px 1px 2px rgb(0, 0, 0);
}

.gallery_linear .file .galery_title .info {
    display: inline-block;
    padding: 1em 0em;
    border-radius: .2em;
    vertical-align: middle;
    width: 90%;
    box-sizing: border-box;
}

.gallery_linear .file .galery_title.focus .info {
    background-color: rgba(0, 88, 255, 0.43);
    color: rgb(255, 255, 255);
}

.gallery_linear .file .galery_title.focus .info .see_all {
    display: inline-block;
}

.gallery_linear .file .galery_title .count {
    font-size: .8em;
    font-weight: 400;
    margin-top: 1em;
}

.gallery_linear .file .galery_title .see_all {
    display: none;
    font-size: .8em;
    margin-top: 1em;
}


.gallery .movie_gallery_poster {
    display: inline-block;
    width: 6em;
    height: 9em;
    max-height: 100%;
    margin: .5em;
    border-radius: .3em;
    border: 1px solid rgba(223, 240, 255, 0.19);
    vertical-align: baseline;
    box-sizing: border-box;
    position: relative;
    font-size: .9em;
    vertical-align: middle;
    box-shadow: 2px 3px 4px rgba(19, 18, 18, 0.77);
    overflow: hidden;
    opacity: .8;
}

.gallery .movie_gallery_poster.focus {
    width: 7em;
    height: 10em;
    opacity: 1;
    z-index: 999;
}

.gallery .movie_gallery_poster.focus::before {
    content: '';
    background-image: linear-gradient(transparent 1%, rgb(5, 49, 170), rgb(10, 238, 219));

    position: absolute;
    display: block;
    width: 300%;
    height: 150%;
    left: -100%;
    top: -25%;

    animation: bg-spin 5s ease-in infinite;
    z-index: -1;
}

.gallery .type_icon {
    position: absolute;
    right: .3em;
    bottom: .1em;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1em;
    text-shadow: 1px 1px 3px rgb(0, 0, 0), 1px 1px 3px rgb(0, 0, 0);
}

.gallery .movie_gallery_poster .title {
    display: none;
    position: absolute;
    margin-top: -3em;
    transform: translateX(-50%);
    background-color: rgb(255, 255, 255);
    padding: .5em;
    color: #00255e;
    border-radius: .2em;
    font-size: 1.2em;
}

.gallery .movie_gallery_poster.focus .title {
    display: block;
}



.gallery .movie_gallery_poster .poster {
    object-fit: cover;
    width: 96%;
    height: 98%;
    left: 1.5%;
    top: 1%;
    display: block;
    position: absolute;
    border-radius: .2em;
}

.preview_selectors {
    width: 100%;
    margin-top: 1em;
    position: relative;
    text-align: center;
}

#temp_selector,
#chapter_selector {}



#temp_selector .title,
#chapter_selector .title {
    font-weight: 400 !important;
    font-size: 1.1em !important;
    color: rgb(255, 255, 255) !important;
    text-shadow: 0px 0px 2px rgb(0, 0, 0), 0px 0px 3px rgb(0, 0, 0), 3px 3px 4px rgb(0, 0, 0);
    margin: 1em 0;
}


#temp_selector .temp,
#chapter_selector .chapter {
    display: inline-block;
    padding: .3em 1em;
    text-shadow: 0px 0px 2px rgb(0, 0, 0), 0px 0px 3px rgb(0, 0, 0), 3px 3px 4px rgb(0, 0, 0);
    border-radius: .3em;
}

#temp_selector .temp.selected,
#chapter_selector .chapter.selected {
    background-color: rgba(255, 0, 0, 0.86);
    box-shadow: 1px 1px 6px rgb(0, 0, 0);
}

#temp_selector .temp.focus,
#chapter_selector .chapter.focus {
    background-color: #0064f7;
    border-radius: .2em;
    border-radius: .2em;
}








.gallery .banner {
    width: 10em;
    display: inline-block;
    height: 5em;
    position: relative;
    margin: .3em .5em;
    overflow: hidden;
    border-radius: .5em;

    border: 1px solid rgba(255, 255, 255, 0.23);
    vertical-align: middle;
    box-shadow: 2px 3px 4px rgba(19, 18, 18, 0.77);


    animation-play-state: paused;


}


.gallery .card_logo {
    width: 7em;
    height: 3em;
    display: inline-block;
    margin: 0 1em;
    filter: grayscale();
}

.gallery .card_logo img {
    max-width: 100%;
    max-height: 100%;
    z-index: 99;
    position: relative;

}

.gallery .card_logo.focus {

    filter: none;
}

@keyframes bg-spin {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }


}

.gallery .banner.focus::before {
    content: '';
    background-image: linear-gradient(transparent 2%, rgb(5, 49, 170), rgb(10, 238, 219));
    position: absolute;
    display: block;
    width: 130%;
    height: 300%;
    left: -15%;
    top: -100%;
    animation: bg-spin 9s ease-in infinite;
}

.gallery .banner.focus {
    width: 12em;
    height: 6.5em;
    margin: 10px;
}

.gallery .banner.focus .wallpaper {
    width: 98%;
    height: 97%;
    top: 1.5%;
    left: 1%;
    border-radius: .3em;
}


.gallery .banner .wallpaper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: .8;
    object-fit: cover;
    object-position: center;
    /*filter: grayscale();*/
}


.gallery .banner .title {
    font-size: 1.8em;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgb(0 0 0), 2px 2px 4px rgb(0 0 0);
    width: 100%;
    position: absolute;
    opacity: unset;
    margin-top: 1.45em;
}


.gallery .banner.focus .wallpaper {
    opacity: 1;
    filter: blur(0);
}

.gallery .banner .logo {
    position: absolute;
    left: 0;
    top: 0;
    max-height: 60%;
    max-width: 70%;
    filter: drop-shadow(3px 3px 1px #000);
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
}











.pagination {
    width: 100%;
    position: relative;
    display: inline-block;
    font-size: 1.3em;
    margin-bottom: .5em;
    font-weight: 200;
    color: rgba(255, 255, 255, .9);
    height: 1.8em;
}

.pagination .counter {
    display: inline-block;
}

.pagination .left,
.pagination .right {
    top: 0;
    width: 50%;
    position: absolute;
}

.pagination .left {
    left: 0;
    text-align: right;
}

.pagination .right {
    right: 0;
    text-align: left;
}

.pagination .left span,
.pagination .right span {
    padding: .3em 1em;
    border-radius: .2em;
}


.pagination .left span {
    margin-right: 3em;
}

.pagination .right span {
    margin-left: 3em;
}


.pagination .left.focus span,
.pagination .right.focus span,
.pagination .left:hover span,
.pagination .right:hover span {
    font-size: 1.3em;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background-color: rgb(208, 0, 0);
    color: rgba(254, 255, 255, 0.7);
}





circle-progress {
    margin-left: 1em;
    z-index: 9999;
    display: inline-block;
    vertical-align: middle;
}

circle-progress::part(base) {
    width: 2.5em;
    height: 2.5em;
}

circle-progress::part(value) {
    stroke-width: .3em;
    stroke: hsl(210, 100%, 45%);
}

circle-progress::part(circle) {
    stroke: #fff0;
    stroke-width: 1em;
    fill: #00000069;
}

circle-progress::part(text) {
    font-weight: 300;
    font-family: Roboto;
    font-size: 2em;

    fill: #ffffffc4;
}

circle-progress::part(text-max) {
    display: none;
}

circle-progress::part(text-separator) {
    display: none;
}


circle-progress.red::part(value) {
    stroke: #db2360;
}


circle-progress.green::part(value) {
    stroke: #21d07a;
}

circle-progress.blue::part(value) {
    stroke: hsl(210, 100%, 45%);
}

circle-progress.yellow::part(value) {
    stroke: hsl(56, 100%, 50%);
}