#elementsk::-webkit-scrollbar {
    width: 9px;
    background-color: var(--fltx);
}

#elementsk::-webkit-scrollbar-thumb {
    background-color: var(--tt-accent);
    border-radius: 10px;
}

#elementb::-webkit-scrollbar {
    width: 11px;
    background-color: #111;
}

#elementb::-webkit-scrollbar-thumb {
    background-color: var(--tt-accent);
    border-radius: 10px;
}

::-webkit-scrollbar {
    width: 11px;
    background-color: var(--fltx)
}

::-webkit-scrollbar-thumb {
    background-color: var(--tt-accent);
    border-radius: 10px;
}

.revli {
    margin-top: 20px;
}

.amedia_srochno {
    border: 4px #c50725 solid;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    font-size: 16px;
    background: #fff1d74d;
}

.amedia_srochno a {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    background: #389bf3;
    padding: 2px 4px;
    border-radius: 4px;
}

.amedia_srochno a:hover {
    background: #2b6ba4;
}

.rev-nom {
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 0 10px;
    color: #4d4d4d;
    background: #5eed00;
    padding: 2px 5px;
    line-height: 18px;
    border-radius: 4px;
}

.revshap {
    width: 100%;
}

.revlink {
}

.goodlin {
}

.badlin {
}

.wendlin {
}

.revfilt {
    text-align: center;
}

.recc {
    margin-bottom: 20px;
}

.revzag {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    width: 100%;
    margin-top: 60px;
}

.rev-avatar {
    margin-right: 10px;
}

.revbatt {
    background: var(--bg1s);
    color: white;
    font-size: 16px;
    border-radius: 8px;
    text-align: center;
    padding: 6px;
}

.recenzgood {
    background: #ffeded;
    border-radius: 8px;
    padding: 10px;
}

.recenznotgood {
    background: #d4ffd1;
    border-radius: 8px;
    padding: 10px;
}

.recenzbitween {
    background: var(--fltx);
    border-radius: 8px;
    padding: 10px;
}

.stn1 {
    width: 50px!important;
    height: 50px!important;
}

.stn2 {
    width: 70px!important;
    height: 70px!important;
}

.stn3 {
    width: 50px!important;
    height: 50px!important;
}

.stn4 {
    width: 50px!important;
    height: 50px!important;
}

.stn5 {
    width: 90px!important;
    height: 90px!important;
}

.stn6 {
    width: 120px!important;
    height: 120px!important;
}

.amedia_spanser {
    font-size: 24px;
    font-weight: 700;
    line-height: 24px;
}

.amedia_spanser span {
    color: var(--accent-anim);
    opacity: 0.7;
}

.amedia_spanser i {
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
}

.footer__soc .fab {
    font-size: 22px;
    color: #fff;
}

.footer__soc .fab:hover {
    color: #ccc;
}

.amedia_vseri {
    font-size: 16px;
    color: var(--tt-accent);
    font-weight: 600;
}

.amedia_animefilm {
    margin-bottom: 40px;
}

.animefilm1 {
    margin-top: 40px;
}

.animefilm2 {
    margin: 40px 0;
}

img[data-src] {
    opacity: 0;
    transition: opacity .3s;
}

img.lazy-loaded {
    opacity: 1;
}

.amedia_infocomm {
    background-color: var(--fltx);
    border-radius: 5px;
    padding: 10px 20px;
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
}

.amedia_infocomm a {
    color: var(--tt-accent);
}

.amedia_infocomm .fas {
    color: var(--bg1s);
    font-size: 22px;
    margin: 0 10px;
}

.amedia_header__menu .amedia_sub ul {
    display: none;
}

.edit {
    margin-bottom: 20px;
    background-color: #fff82d;
    padding: 6px 20px;
    border-radius: 5px;
    color: #ff0000;
    text-align: center;
    font-size: 20px;
}

.amedia_mylists-tabs a {
    padding: 5px 10px;
}

.amedia_razvern {
}

.slice-masked::before {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    z-index: 1;
    height: 100px;
    pointer-events: none;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,0)), to(var(--bg-2)));
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%, var(--bg-2) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--bg-2) 100%);
}

.slice {
    z-index: 0;
}

.slice {
    overflow: hidden;
    position: relative;
    -webkit-transition: height .2s;
    -o-transition: height .2s;
    transition: height .2s;
    z-index: 0;
}

.slice-btn {
    padding: 5px 40px;
    backdrop-filter: blur(5px);
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    margin: auto;
    font-size: 18px;
    margin-top: -30px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    background: var(--fltx);
}

.slice-btn_tgd {
    margin-top: 10px;
}

.global__right_all .slice-btn {
    margin-bottom: 35px;
}

.amedia_ulpad {
    padding: 10px;
}

.sockn {
    position: absolute;
    right: 0;
}

.socseti {
    display: grid;
    margin-bottom: 40px;
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-gap: 0 8px;
    font-size: 20px;
}

.socseti .fab {
    font-size: 30px;
    margin: 5px 10px;
}

.favorstar {
    top: 5px;
    left: -30px;
    position: absolute;
}

.amedia_vysser {
    padding: 2px 5px;
    position: absolute;
    left: 6px;
    top: 6px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
    /* color: var(--tt-accent); */
    margin-left: 10px;
    background-color: var(--bg-2);
    border-radius: 5px;
}

.socdiscord {
    background: #678ade;
    padding: 10px;
    border-radius: 5px;
    color: white;
}

.soctelega {
    background: #28a4e4;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
}

.socdiscord:hover {
    opacity: 0.7;
    transition: .2s;
    color: white;
    font-size: 22px;
}

.soctelega:hover {
    opacity: 0.7;
    transition: .2s;
    color: white;
    font-size: 22px;
}

/* DLE Friends v1.6 */
#no-friends {
    padding: 6px;
    border: 1px solid #C0D4DE;
    background-color: #F3F7F9;
    color: #507D98;
    margin: 10px 0;
}

.delcom {
    color: var(--tt-accent);
    float: right;
}

.show_spoiler_main {
    font-size: 14px;
    margin: 10px;
    color: #f80019;
    cursor: pointer;
}

.friends {
    margin-bottom: 10px;
}

.friends ul, .prof-list {
    margin-top: 10px;
}

.friends li {
    width: 100px;
    text-align: center;
    float: left;
    margin-right: 10px;
}

.friends img {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: 100px;
}

.friends_table h3 {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 14px;
    font-weight: bold;
}

.friends_table h3 a span {
    font-size: 12px;
    font-weight: normal;
    color: #6C838E;
}

.friends_table h3 a span:hover {
    text-decoration: underline;
}

.friends_table ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.friends_table td {
    padding: 10px;
    border-bottom: 1px solid #EEE;
    font-size: 12px;
    vertical-align: top;
}

.friends_table .active {
    background-color: #F8F8F8;
}

.contact_friends {
    width: 140px;
}

.contact_friends a, .contact_friends span {
    display: block;
    padding: 6px;
    margin-bottom: 4px;
    line-height: 11px;
}

.contact_friends a:hover {
    background-color: #DAE7ED;
    text-decoration: none;
}

#allfriends .rcol {
    margin-top: 4px;
}

#allfriends h2.lcol a {
    text-decoration: underline;
}

#allfriends h2.lcol a:hover {
    text-decoration: none;
}

#friends_feed {
    margin: 0 15px;
}

#friends_feed table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 25px;
}

#friends_feed td {
    vertical-align: top;
    text-align: left;
}

#friends_feed td.f_avatar, #friends_feed td.f_author {
    border: 1px solid;
    border-color: #ACCCDA #E2EDF2 #E2EDF2;
    vertical-align: middle;
    background-color: #F4F8FA;
}

#friends_feed td.f_avatar {
    width: 50px;
    border-spacing: 10px;
    padding: 2px;
    border-right-width: 0;
}

#friends_feed td.f_avatar img {
    width: 50px;
    height: 50px;
}

#friends_feed td.f_author {
    padding: 0 10px;
    border-left-width: 0;
    border-style: solid;
    font-size: 11px;
}

#friends_feed td.f_author h3 {
    fonst-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

#friends_feed td.f_story {
    padding: 15px 0;
}

#friends_feed .f_cover {
    width: 104px;
    max-height: 104px;
    overflow: hidden;
    margin-right: 10px;
    float: left;
    border: 1px solid #E2EDF2;
    background-color: #F4F8FA;
}

#friends_feed .f_cover img {
    width: 100px;
    padding: 2px;
}

#friends_feed td.f_det {
    border-top: 1px solid #E2EDF2;
    padding: 5px 0;
}

.feed_loader {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #E2EDF2;
    color: #284B5A;
    margin-bottom: 20px;
}

.f_active:hover {
    border-color: #ACCCDA;
    background-color: #F4F8FA;
    cursor: pointer;
}

.amedia_player_blok {
    display: grid;
    gap: 0 20px;
    grid-template-columns: 260px minmax(0,1fr);
    grid-template-areas: "serii player ";
}

.amedia_pmovie__player {
    position: relative;
    margin-bottom: 20px;
    grid-area: player;
}

.amedia_posled_ser {
    grid-area: serii;
}

.amedia_ftop-itempl {
    margin-bottom: 10px;
    background-color: var(--fltx);
    border-radius: 5px;
    width: 100%;
    margin-right: 2%;
    float: left;
}

.amedia_ftop-item__imgpl {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-right: 5px;
    z-index: 5;
}

.amedia_ftop-item__titlepl {
    font: 15px 'GothamProRegular', sans-serif;
    line-height: 15px;
    margin-top: 6px;
    white-space: nowrap;
    height: 20px;
}

.amedia_animseripl span {
    font-size: 20px;
    font-weight: 700;
    color: var(--tt-accent);
    display: block;
    opacity: 0.6;
    line-height: 20px;
}

.amedia_animseripl {
    padding: 4px;
    text-align: center;
    color: #8e8e8e;
    font-size: 13px;
    line-height: 13px;
}

.amedia_zagser {
    text-align: center;
    margin-bottom: 30px;
    font-size: 18px;
}

.playlist-episode-last {
    padding: 2px;
    text-align: center;
    background: var(--bg1s1);
    color: #fff;
    font-size: 17px;
    margin: -10px 0 10px 0;
}

.amedia_ftop-item {
    margin-bottom: 20px;
    background-color: var(--fltx);
    border-radius: 5px;
    width: 48%;
    margin-right: 2%;
    float: left;
}
.amedia_ftop-item:nth-child(2n){margin-right: 0px;width: 50%;}
.amedia_sectcomm {
    margin-top: 60px;
}

@keyframes pmNew {
    from {
        background-color: #7ae026;
        box-shadow: 0 0 0 0 rgba(81, 175, 5,1);
    }

    to {
        background-color: #51af05;
        box-shadow: 0 0 0 10px rgba(81, 175, 5,0);
    }
}

@keyframes pmNew1 {
    from {
        background-color: #e02660;
        box-shadow: 0 0 0 0 rgb(175 5 5);
    }

    to {
        background-color: #e02660;
        box-shadow: 0 0 0 10px rgba(81, 175, 5,0);
    }
}

.amedia_amdcomm {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2,minmax(0,1fr));
}

.uved {
    position: absolute;
    bottom: 20px;
    font-size: 11px;
    background: var(--bg1s);
    display: block;
    padding: 0 5px;
    color: white;
    border-radius: 4px;
    font-weight: 600;
}

.otvetcomm {
    padding: 10px;
    border-radius: 5px;
    max-height: 96px;
    overflow: hidden;
}

.alert_module {
    position: relative;
    z-index: 9999;
    max-width: 350px;
    color: #212121;
}

.alert_module-icon {
    width: 30px;
    height: 30px;
    position: relative;
    font-size: 26px;
    float: right;
    color: var(--bg-btn-hover1);
    display: grid;
    place-items: center;
    margin-left: 10px;
}

.alert_module-icon:hover {
    color: var(--accent-anim);
}

.alert_list-text a {
    color: var(--tt-accent);
    font-size: 15px;
}

.alert_module-title {
    color: var(--tt);
    padding: 14px;
    border-bottom: 2px var(--hov) solid;
}

.alert_module-title i {
    font-style: normal;
    font-weight: 600;
}

.alert_list {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 100%;
    max-width: 450px;
    background: var(--bg-2);
    border-radius: 5px;
    overflow: hidden;
    margin-top: 80px;
    max-height: 400px;
    box-shadow: 0px 0px 10px #dbdbdb;
    overflow-y: auto;
    display: none;
    z-index: 999;
}

.alert_list-item {
    padding: 10px;
    color: var(--tt);
    display: flex;
    position: relative;
    text-decoration: none;
    transition: background 0.3s;
    cursor: pointer;
    background: var(--fltx);
    border-radius: 5px;
    margin: 10px 6px;
}

.alert_list-item:hover {
    background: var(--hov);
    text-decoration: none;
}

.alert_list-text {
    width: 100%;
}

.alert_list-image {
    width: 30%;
    height: 80px;
    overflow: hidden;
}

.alert_list-image img {
    width: 100% !important;
    height: auto;
}

.alert_list-date {
    display: block;
    font-size: 12px;
    margin: 10px 0 -7px 0;
    color: #6e6e6e;
}

.alert_list-item--active::before {
    content: " ";
    display: block;
    width: 12px;
    animation: pmNew1 1s infinite linear;
    animation-direction: alternate;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    top: -5px;
    right: 0;
    position: absolute;
}

.alert_module-icon--active::before {
    content: " ";
    animation: pmNew 1s infinite linear;
    animation-direction: alternate;
    display: block;
    width: 5px;
    height: 5px;
    background: #68e300;
    border-radius: 5px;
    top: 15px;
    left: 5px;
    position: absolute;
}

.alert_module-icon--active::before {
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    left: unset;
}

.alert_list-item-remove {
    color: var(--bg1s);
    position: absolute;
    bottom: 2px;
    right: 10px;
}

.amedia_commenty {
    float: left;
}

.rank {
    text-align: center;
    padding: 5px 2px;
}

.comm-authorvip a {
    color: #ffffff;
    background: #ff3b00;
    padding: 2px 3px;
    border-radius: 5px 3px;
}

.comm-authorguru a {
    color: #ffffff;
    background: #f50066;
    padding: 2px 3px;
    border-radius: 5px 3px;
}

.comm-authorlord a {
    color: #ffffff;
    background: #d600f5;
    background: linear-gradient(#ff0000, #a100e9);
    padding: 4px 4px;
    border-radius: 5px 3px;
}

.comm-authorlord a:hover {
    color: #ccc;
}

.comm-authorgl a {
    color: #ffffff;
    background: #05ba13;
    padding: 2px 3px;
    border-radius: 5px 3px;
}

.comm-authorvet a {
    color: #00807a;
    padding: 2px 3px;
    border-radius: 5px 3px;
}

.comm-id, .comm-author, .comm-authorvip, .comm-nom, .rev-nom, .comm-authorguru, .comm-authorlord, .comm-date, .comm-authorvet, .comm-authorgl {
    color: #888;
    font-size: 10px;
    display: inline-block;
}

.comm-author, .comm-authorvip, .comm-authorguru, .comm-authorlord, .comm-authorvet, .comm-authorgl {
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 0 10px;
    color: #f34f00;
}

.comm-author a {
    color: #f34f00;
}

.comm-nom {
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 0 10px;
    color: #4d4d4d;
    background: #f3d500;
    padding: 2px 5px;
    line-height: 18px;
    border-radius: 4px;
}

.rank img {
    height: 30px;
}

.group-icon {
    float: left;
    width: 25px;
    height: 25px;
}

.num {
    background: #d83948;
    width: 25px;
    color: white;
    height: 25px;
    line-height: 25px;
    text-align: center;
    border-radius: 50%;
    position: relative;
    top: 15px;
    left: -10px;
}

.comm-group-mark {
    padding: 3px;
    text-align: center;
    font-size: 10px;
    font-weight: normal !important;
    margin-top: 5px;
    background-color: #ffffff;
    color: #444;
    overflow: hidden;
}

.comm-admin {
    background-color: #d60505;
    color: #fff;
    border-radius: 6px;
}

.comm-admin span, .comm-jour span {
    color: #fff !important;
}

.comm-jour {
    background-color: #1ca101;
    color: #fff;
    border-radius: 6px;
}

.comm-user {
    background-color: #f34f00;
    color: #fff;
    border-radius: 6px;
}

.comm-post {
    background-color: #3f90d6;
    color: #fff;
    border-radius: 6px;
}

.comm-mest {
    background-color: #da005b;
    color: #fff;
    border-radius: 6px;
}

.comm-gl {
    background-color: #05ba13;
    color: #fff;
    border-radius: 6px;
}

.comm-vet {
    background-color: #00aca4;
    color: #fff;
    border-radius: 6px;
}

.comm-vip {
    color: #000;
    background-color: #fff476;
    font-size: 14px;
    font-weight: 600 !important;
    padding: 5px;
    border-radius: 6px;
    background: url(../images/vip.png) no-repeat;
}

.comm-guru {
    color: #000;
    background-color: #ffeb00;
    font-size: 12px;
    font-weight: 600 !important;
    border-radius: 6px;
}

.comm-lord {
    color: #fff;
    background-color: #bb00a6;
    font-size: 14px;
    background: linear-gradient(#ff0000, #a100e9);
    font-weight: 600 !important;
    border-radius: 6px;
    padding: 4px;
}

.video-inside iframe, .video-inside frame, .plcdn {
    height: 500px;
    border-radius: 0 10px 0 0;
    background: black;
}

.amedia_zakl {
    background: black;
    /* margin-top: -8px; */
    padding-top: 10px;
    order: 1;
    display: block;
    position: relative;
}

.ac-navigation {
    display: flex;
    flex: 1 0 100%;
    flex-wrap: wrap;
    padding-top: 30px;
    font-size: 14px;
    line-height: 30px;
    margin-right: -8px;
    justify-content: center;
}

.ac-navigation > span, .ac-navigation > a {
    box-sizing: border-box;
    padding: 0 10px;
    margin: 5px 15px 0 0;
    border-radius: 4px;
    min-width: 36px;
    color: #123;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    text-align: center;
    transition: .2s;
}

.ac-navigation > a:hover, .ac-navigation > span {
    background-color: var(--bg1s);
    color: #fff;
    border-color: transparent;
}

.ac-navigation a.disabled {
    cursor: default;
    opacity: .2;
}

.ac-navigation > span {
    cursor: default;
}

.ac-navigation span.nav_ext {
    background: transparent;
    color: #aaa;
}

.dlevideoplayer ul[data-theme] {
    display: none;
}

.buttttons {
    display: table;
    height: 100%;
    width: 100%;
}

.kontaiher {
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
    max-height: 260px;
    overflow-y: auto;
    background: black;
    padding: 20px 10px;
    margin-top: -10px;
    border-radius: 0 0 10px 10px;
}

.BatcoH {
    color: white !important;
    cursor: pointer;
    background: #ae0821;
    display: inline-block;
    font-size: 16px;
    font-weight: 400;
    margin: 4px 2px;
    max-width: 90px;
    position: relative;
    text-decoration: none !important;
    vertical-align: middle;
    width: 100%;
}

@media (min-width: 400px) {
    .BatcoH {
        display: inline-block;
        margin-right: 0.4em;
    }

    .BatcoH:nth-of-type(2n) {
        margin-right: 0.4em;
    }
}

@media (min-width: 600px) {
    .BatcoH:nth-of-type(2n) {
        margin-right: 0.5em;
    }

    .BatcoH:nth-of-type(5) {
        margin-right: 0.5em;
    }
}

.BatcoH:hover {
    text-decoration: none !important;
}

.BatcoH-dub {
    color: red;
    cursor: pointer;
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 45px;
    margin: 0 auto 0.5em;
    max-width: 200px;
    position: relative;
    text-decoration: none;
    vertical-align: middle;
    width: 100%;
}

@media (min-width: 400px) {
    .BatcoH-dub {
        display: inline-block;
        margin-right: 0.4em;
    }

    .BatcoH-dub:nth-of-type(2n) {
        margin-right: 0.4em;
    }
}

@media (min-width: 600px) {
    .BatcoH-dub:nth-of-type(2n) {
        margin-right: 0.5em;
    }

    .BatcoH-dub:nth-of-type(5) {
        margin-right: 0.5em;
    }
}

.BatcoH-dub:hover {
    text-decoration: none;
}

.BatcoH-prevnext {
    color: white;
    cursor: pointer;
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
    margin: 0 auto 0.5em;
    max-width: 47%;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: middle;
    width: 47%;
}

@media (min-width: 400px) {
    .BatcoH-prevnext {
        display: inline-block;
        margin-right: 0.5em;
    }

    .BatcoH-prevnext:nth-of-type(2n) {
        margin-right: 0.1em;
    }
}

@media (min-width: 600px) {
    .BatcoH-prevnext:nth-of-type(2n) {
        margin-right: 0.5em;
    }

    .BatcoH-prevnext:nth-of-type(5) {
        margin-right: 0.5em;
    }
}

.BatcoH-prevnext:hover {
    text-decoration: none;
}

.BatcoH-4 {
    background: var(--bg1s1);
    border-radius: 5px;
}

.BatcoH-4::after {
    background: #3f90d6;
}

.BatcoH-4:hover::after {
}

.sel-active {
    background: #696969 !important;
}

.BatcoH-5 {
    text-align: center;
    background: var(--bg1s1);
    color: white !important;
    border-radius: 4px;
    text-decoration: none !important;
}

.BatcoH-5 a {
    color: white !important;
    text-decoration: none;
}

.BatcoH-5:hover {
    background: #3f90d6;
}

.BatcoH-5:active {
    background: #111;
}

.BatcoH-6 {
    text-align: center;
    background: #125794;
    color: white !important;
    text-decoration: none !important;
}

.BatcoH-6:first-child {
    background: #3f90d6;
}

.BatcoH-6 a {
    color: white !important;
    text-decoration: none;
}

.BatcoH-6:hover {
    background: #3f90d6;
}

.playlist-episodes {
    overflow: hidden;
    max-height: 260px;
    overflow-y: auto;
    text-align: center;
    padding: 10px 0;
    background: #000000;
}

.tabs {
    font-size: 0;
}

.tabs > input[type="radio"] {
    display: none;
}

.tabs > div {
    display: none;
    margin-top: 6px;
    border: 2px solid var(--bg-lightest);
    padding: 10px 5px;
    font-size: 16px;
}

#tab-btn-1:checked ~ #content-1, #tab-btn-2:checked ~ #content-2, #tab-btn-3:checked ~ #content-3, #tab-btn-4:checked ~ #content-4, #tab-btn-5:checked ~ #content-5, #tab-btn-6:checked ~ #content-6, #tab-btn-7:checked ~ #content-7 {
    display: block;
}

.tabs > label {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    width: 14.2%;
    background-color: var(--fltx);
    border: 2px solid var(--bg);
    padding: 20px 5px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
    cursor: pointer;
    position: relative;
    top: 1px;
    white-space: nowrap;
    overflow: hidden;
    border-radius: 5px;
}

.tabs > input[type="radio"]:checked + label {
    background-color: var(--bodd);
}

.tabs > label .raspis2 span:last-child{
	display:none;
}

.hide, .hide + label ~ div {
    display: none;
}

.hide + label {
    margin: 0;
    padding: 0;
    color: var(--bg1s);
    cursor: pointer;
    display: inline-block;
    line-height: 44px;
    font-size: 16px;
}

.hide:checked + label {
    color: red;
    border-bottom: 0;
}

.amedia_commpr span {
    font-weight: 600;
    color: #f34f00;
}

.hide:checked + label + div {
    display: block;
    padding: 20px;
    background: var(--fltx);
    border-radius: 5px;
    margin-top: 15px;
    -webkit-animation: fade ease-in 0.5s;
    -moz-animation: fade ease-in 0.5s;
    animation: fade ease-in 0.5s;
}

@-moz-keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1
    }
}

@-webkit-keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1
    }
}

.hide + label::before {
    background-color: var(--bg1s);
    color: #fff;
    content: "!";
    display: block;
    float: left;
    font-size: 26px;
    font-weight: bold;
    height: 36px;
    line-height: 39px;
    margin: 3px 5px;
    text-align: center;
    width: 36px;
    border-radius: 5px;
}

.hide:checked + label::before {
    content: "\2212";
}

.amedia_item__rating {
    width: 54px;
    padding: 5px 0 2px 24px;
    position: absolute;
    right: 6px;
    top: 6px;
    font-size: 14px;
    line-height: 18px;
    z-index: 10;
    background: var(--bg-sh1p);
    margin-left: 10px;
    background-color: var(--bg-2);
    border-radius: 5px 5px 0 0;
}

.item__rating1 {
    width: 54px;
    padding: 5px 0 2px 24px;
    position: absolute;
    right: 6px;
    top: 27px;
    font-size: 14px;
    line-height: 18px;
    z-index: 10;
    background: var(--bg-shp);
    margin-left: 10px;
    background-color: var(--bg-2);
    border-radius: 5px;
}

.amedia_item-slide__ext-rating {
    font-weight: 400;
    font-size: 22px;
}

.amedia_item-slide__ext-rating--imdb {
    padding: 4px 4px 4px 32px;
    background: var(--bg-sh1);
    background-color: var(--fltx);
    border-radius: 5px;
    width: 50%;
}

.amedia_item-slide__ext-rating--kp {
    padding: 4px 4px 4px 32px;
    background: var(--bg-sh);
    background-color: var(--fltx);
    border-radius: 9px;
    width: 47%;
    margin-right: 3%;
}

.amedia_item-slide__ext-rating--kp span {
    color: #b8b8b8;
    font-size: 16px;
}

.amedia_comment-item__rating a:last-child > span:first-child {
    color: #ffffff;
    margin-right: 2px;
    font-weight: 600;
    font-size: 16px;
    background: #d25050;
    padding: 4px;
    border-radius: 8px;
}

.amedia_comment-item__rating a > span:first-child {
    color: #ffffff;
    margin-right: 2px;
    font-weight: 600;
    font-size: 16px;
    background: #509fd2;
    padding: 4px;
    border-radius: 8px;
}

.discr {
    background: var(--fltx);
    padding: 20px;
    border-radius: 5px;
    margin-top: 40px;
}

.owl-stage-outer .order-last a {
    color: #fff;
}

.dropdown_spb {
    display: table;
}

.dropdown_sp {
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin: 8px 0 0 8px;
    color: var(--tt-accent);
}

.courssp {
    display: none;
    position: absolute;
    background: var(--bg);
    border-radius: 6px;
    left: 10px;
    box-shadow: -1px 1px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 16px;
}

.amedia_dropdown_button {
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin: 10px 0;
}

.amedia_dropdown_button_text {
    display: none;
}

.amedia_dropdown_button.active .amedia_dropdown_button_active {
    display: block;
}

.amedia_dropdown_button:not(.active) .amedia_dropdown_button_notactive {
    display: block;
}

.courses {
    display: none;
    position: absolute;
    background: var(--bg);
    border-radius: 5px;
    box-shadow: -1px 1px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px;
}

.amedia_animrei {
    margin-bottom: 30px;
    font-size: 22px;
}

.reitingkp {
    background: whitesmoke;
    padding: 10px;
    border-radius: 5px;
    margin-right: 20px;
    background: var(--bg-sh);
}

.reitingam {
    background: whitesmoke;
    padding: 10px;
    border-radius: 5px;
    background: var(--bg-am);
}

.amedia_pmovie__anime {
    position: relative;
    grid-area: anime;
}

.amedia_pmovie__anime2 {
    position: relative;
    grid-area: anime2;
}

.amedia_pmovie__anime3 {
    position: relative;
    grid-area: anime3;
}

.amedia_pmovie__anime4 {
    position: relative;
    grid-area: anime4;
}

.amedia_mylists-switch, .amedia_mylists-tabs {
    list-style: none;
    font-size: 16px;
    text-align: center;
}

.amedia_mylists-switch li, .amedia_mylists-tabs li {
    display: inline-block;
    margin-bottom: 10px;
    margin-right: 10px;
    color: var(--tt);
    text-decoration: none;
    background: var(--fltx);
    border-radius: 6px;
    padding: 2px 5px;
}

.amedia_mylists-switch li:hover, .amedia_mylists-tabs li:hover {
    background: var(--bg1s);
    cursor: pointer;
    color: #fff;
}

.amedia_mylists-switch li:last-child, .amedia_mylists-tabs li:last-child {
    margin-right: 0px;
}

.amedia_mylists-switch li.active, .amedia_mylists-tabs li.active {
    background: var(--tt-accent);
    color: #fff;
    border: 0px;
    border-radius: 6px;
}

.amedia_mylists-tabs li.active a {
    color: #fff;
}

#amedia_timer {
    padding-bottom: 10px;
    margin-bottom: 30px;
    border-radius: 5px;
    text-align: center;
    background: var(--fltx);
}

#amedia_timer > div {
    display: inline-block;
    vertical-align: top;
}

#amedia_timer span {
    font-size: 12px;
    display: block;
    color: rgb(199, 199, 199);
}

.amedia_timer-block div {
    font-size: 42px;
}

.amedia_timer-sep {
    font-size: 42px;
    font-weight: normal;
}

.amedia_podborkianime a {
    padding: 5px 10px;
    margin: 4px;
    border-radius: 5px;
    line-height: 40px;
    background: var(--fltx);
    font-size: 16px;
    color: var(--tt);
    white-space: nowrap;
}

.amedia_seriianime {
    color: var(--tt-accent);
    font-size: 24px;
}

.amedia_seriianime span {
    color: var(--accent-anim);
}

.img-mask::before {
    content: '';
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: linear-gradient(to top, #000 0%, transparent 100%);
    opacity: 0.8;
}

.amedia_animli a {
    padding: 3px 8px;
    border-radius: 5px;
    color: var(--tt);
    background: var(--fltx);
    font-size: 16px;
    margin-right: 4px;
    line-height: 36px;
}

.amedia_animli {
}

.pmovie__list .amedia_animli {
    margin: 10px 0;
}

.pmovie__list li a:hover {
    color: #000000;
}

.amedia_animli a:hover, .amedia_podborkianime a:hover {
    border: 0px;
    background: var(--bg1s);
    color: #fff!important;
}

.amedia_animserii {
    padding: 10px;
    margin-bottom: 30px;
    border-radius: 5px;
    text-align: center;
    background: var(--fltx);
}

/* BASIC LAYOUT
----------------------------------------------- */
.wrapper {
    min-width: 320px;
    position: relative;
    padding-bottom: 40px;
}

.amedia_wrapper-container {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 20;
}

.amedia_wrapper-main {
    min-height: 100vh;
}

.amedia_header {
    padding: 0 var(--indent);
    position: relative;
    z-index: 100;
}

.amedia_content {
    padding: 60px var(--indent);
    padding-bottom: 60px;
    min-height: 80vh;
}

.amedia_footer {
    padding: 20px var(--indent);
    color: var(--tt-dark);
    border-radius: 5px;
    margin: 0 var(--indent);
    background-color: var(--bg1s);
}

.footer__bottom {
    margin-top: 16px;
    gap: 20px;
}

#scrolltop {
    position: fixed;
    width: 60px;
    height: 60px;
    line-height: 60px;
    right: 10px;
    bottom: 10px;
    z-index: 990;
    display: none;
    background-color: var(--bg);
    color: var(--tt-2);
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* HEADER, NAV
----------------------------------------------- */
.amedia_logo {
    height: 90px;
    width: 225px;
    display: block;
    background: var(--bg-bga);
    overflow: hidden;
    text-indent: -1000px;
}

.amedia_header__btn-login {
    margin-left: 10px;
    font-size: 20px;
    display: grid;
    place-items: center;
    height: 35px;
    width: 35px;
    border-radius: 5px;
    overflow: hidden;
    padding: 0;
    color: #fff;
}

.amedia_theme-toggle {
    margin-left: 10px;
    font-size: 20px;
    display: grid;
    place-items: center;
    height: 35px;
    width: 35px;
    border-radius: 5px;
    padding: 0;
    color: #fff;
    background-color: var(--bg1s);
}

.dt-is-active .amedia_theme-toggle .fal::before {
    content: "\f185";
}

.amedia_header__menu {
    gap: 20px;
    position: relative;
}

.amedia_header__menu > li > a {
    font-weight: 600;
    color: var(--tt);
    height: 90px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-family: GothamProRegular,sans-serif;
    cursor: pointer;
    font-size: 14px;
}

.amedia_header__menu > li.header__menu--fw400 > a {
    font-weight: 400;
}

.amedia_header__menu-hidden {
    position: absolute;
    top: 80%;
    left: 0;
    z-index: 100;
    border-radius: 6px;
    background-color: var(--bg);
    box-shadow: 0 10px 60px rgba(0,0,0,0.2);
    width: 100%;
    padding: 15px 20px;
    display: grid;
    gap: 10px 20px;
    grid-template-columns: repeat(auto-fill,minmax(140px,1fr));
}

.amedia_header__menu-hidden a {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 16px;
}

.amedia_header__menu > li:hover > a {
    color: var(--accent-anim);
}

.amedia_header__menu-hidden a:hover, .amedia_theme-toggle:hover {
    background-color: var(--bg2s);
    color: #fff;
}

.amedia_header__search {
    width: 210px;
    position: relative;
}

.amedia_header__search input, .amedia_header__search input:focus {
    padding: 0 30px 0 10px;
    border-radius: 5px;
    background: var(--fltx);
    color: var(--tt);
    height: 36px;
    line-height: 36px;
}

.amedia_header__search input:not(:focus)::placeholder {
    color: var(--tt-3);
    opacity: 1;
    font-size: 14px;
}

.amedia_header__search button {
    position: absolute;
    right: 0;
    top: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    background: none;
    color: var(--tt-3);
    font-size: 14px;
    margin-top: -3px;
}

/* CAROU TOP ITEM, COLLECTION ITEM
----------------------------------------------- */
.amedia_carou {
    background-color: var(--bg1s);
    padding: 20px 40px;
    margin: 0 var(--indent);
    border-radius: 3px;
}

.amedia_carou__content:not(.owl-carousel) {
    display: flex;
    overflow: hidden;
}

.amedia_carou__content > .amedia_poster {
    width: calc((100% - 120px)/7);
    flex-shrink: 0;
    margin-right: 20px;
}

.amedia_carou .amedia_poster__title {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.amedia_ftop-item__title {
    font: 16px 'GothamProRegular', sans-serif;
    line-height: 17px;
    margin-top: 10px;
    white-space: nowrap;
    height: 30px;
}

.amedia_carou .amedia_poster__subtitle {
    font-size: 10px;
    font-weight: 400;
}

.amedia_carou .amedia_has-overlay__icon {
    padding: 0;
}

.amedia_carou .poster__fav {
    top: 140px;
}

.amedia_carou .poster__label {
    background-color: var(--bg);
    color: var(--tt-3);
}

.amedia_carou .amedia_poster__series {
    left: 5px;
    bottom: 5px;
    border-radius: 3px;
    height: 20px;
    padding: 0 6px;
    font-size: 10px;
    display: flex;
    align-items: center;
}

.amedia_carou .amedia_poster__series div {
    display: inline;
    margin-left: 6px;
}

.grid-collectons {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px 0;
}

.coll {
    display: block;
    padding-top: 0;
    height: 160px;
    text-align: center;
}

.coll__title {
    position: absolute;
    inset: 0;
    color: #fff;
    background-color: rgba(0,0,0,0.5);
    padding: 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 15px;
    z-index: 5;
}

.coll__title:hover {
    background-color: var(--accent-anim);
    color: #fff;
}

.grid-items > .coll, #dle-content > .coll {
    grid-column: span 2;
}

/* SECTION
----------------------------------------------- */
.amedia_sect:not(:last-child) {
    margin-bottom: 40px;
}

.amedia_sect__header {
    margin-bottom: 20px;
    gap: 10px;
}

.amedia_sect__title {
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.sect__ctrl {
    margin-top: -6px;
    gap: 10px;
}

.sect__ctrl-menu {
    gap: 20px 20px;
    font-size: 13px;
}

.sect__ctrl-menu--main {
    font-weight: 600;
}

.sect__ctrl-menu label {
    position: relative;
    display: block;
}

.sect__ctrl-menu label input {
    display: block;
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.sect__ctrl-menu a, .sect__ctrl-menu label div {
    height: 30px;
    display: flex;
    align-items: center;
}

.sect__ctrl-menu a.is-active, .sect__ctrl-menu label input:checked + div {
    background-color: var(--bg-dark);
    color: var(--tt-dark);
    border-radius: 4px;
    padding: 0 10px;
}

.sect__ctrl-menu a:not(.is-active):hover, .sect__ctrl-menu label div:hover {
    color: var(--accent-anim);
}

.sect__link {
    display: flex;
    align-items: center;
    height: 30px;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 12px;
    background-color: var(--bg);
    color: var(--tt-2);
    gap: 10px;
}

.sect__content--carousel:not(.owl-carousel) {
    display: flex;
    overflow: hidden;
}

.sect__content--carousel:not(.owl-carousel) > .amedia_poster {
    flex-shrink: 0;
    margin-right: 20px;
    width: calc((100% - 100px)/6);
}

.sect--carou .amedia_sect__header {
    padding-right: 80px;
}

.descr {
    display: grid;
    grid-gap: 20px;
    line-height: 1.7;
    color: var(--tt);
    margin-top: 60px;
    background: var(--fltx);
    padding: 20px;
    border-radius: 5px;
}

.descr h1, .descr h2, .descr h3 {
    font-weight: 500;
    font-size: 16px;
    color: var(--tt);
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
}

.descr a {
    text-decoration: underline;
    color: var(--tt-accent);
}

.descr ul li {
    position: relative;
    padding-left: 25px;
    margin-left: 25px;
}

.descr ul li::before {
    content: "\f00c";
    font-weight: 300;
    font-family: 'Font Awesome 5 Pro';
    color: var(--tt-accent);
    position: absolute;
    left: 0;
    top: 0;
}

.amedia_speedbar {
    font-size: 13px;
    color: var(--tt-2);
    /* margin-top: 20px; */
    margin-bottom: 20px;
}

.amedia_speedbar .fal {
    margin-right: 8px;
    color: var(--tt-accent);
}

.amedia_speedbar a:hover {
    text-decoration: underline;
}

/* POSTER ITEM
----------------------------------------------- */
.amedia_poster {
    position: relative;
}

.amedia_poster__img {
    border-radius: 5px;
    margin-bottom: 15px;
}

.amedia_poster:hover {
    webkit-filter: saturate(200%);
    filter: saturate(200%);
    transition: .4s;
}

.poster__label {
    position: absolute;
    left: 5px;
    top: 5px;
    border-radius: 3px;
    height: 20px;
    display: flex;
    align-items: center;
    padding: 0 6px;
    font-size: 13px;
    background-color: var(--bg1s);
    color: var(--tt-dark);
    z-index: 10;
    pointer-events: none;
}

.poster__label--white {
    background-color: var(--bg);
    color: var(--tt-3);
}

.amedia_poster__series {
    position: absolute;
    bottom: 10px;
    margin: 0 auto;
    width: 100%;
    z-index: 10;
}

.amedia_has-overlay__icon {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 50px;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.amedia_has-overlay__icon::before {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff url(../images/play.svg) center center / 14px no-repeat;
    content: '';
}

.poster__ratings {
    color: #fff;
    font-size: 11px;
    text-align: center;
    line-height: 1.6;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
}

.poster__btn-info, .poster__fav a {
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    border-radius: 3px;
    background-color: var(--accent-anim);
    color: #fff;
    gap: 5px;
    font-size: 12px;
    white-space: nowrap;
}

.poster__fav a {
    background-color: #fff;
    color: #000;
}

.poster__btn-info, .poster__fav {
    position: absolute;
    left: 50%;
    top: 50px;
    z-index: 11;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%,-30px);
    transition: all 0.2s ease-in-out;
}

.poster__fav {
    top: 146px;
    transform: translate(-50%,30px);
}

.amedia_poster:hover .poster__fav, .amedia_poster:hover .poster__btn-info {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%,0px);
}

.amedia_poster:hover .poster__btn-info {
    transition-delay: 0.2s;
}

.poster__fav a::before {
    content: '';
    background: url(../images/heart.svg) 0 0 / contain no-repeat;
    width: 16px;
    height: 16px;
}

.amedia_has-overlay:hover .amedia_has-overlay__icon {
    opacity: 1;
}

.amedia_poster:hover .amedia_poster__series {
    opacity: 0;
}

.poster__fav a:hover {
    background-color: var(--bg-dark);
    color: #fff;
}

.poster__btn-info:hover {
    background-color: var(--bg-dark);
}

.amedia_poster__link {
    display: block;
}

.amedia_poster__link::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
}

.amedia_poster__title {
    font-size: 14px;
    font-weight: 500;
}

.amedia_poster__subtitle {
    color: var(--tt-2);
    font-size: 13px;
    font-weight: 500;
}

.amedia_poster__subtitle span {
    color: var(--tt-accent);
    font-size: 14px;
    font-weight: 600;
    opacity: 0.7;
}

.th-active {
    z-index: 100;
}

.th-text {
    display: none;
    background-color: var(--bg);
    cursor: auto;
    padding: 20px;
    text-align: left;
    position: absolute;
    z-index: 1000;
    left: 100%;
    top: 0;
    width: 460px;
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
    border-radius: 4px;
    min-height: 100px;
}

.th-text::after {
    content: "";
    border: 10px solid var(--bg);
    position: absolute;
    top: 24px;
    right: 100%;
    border-left-color: transparent;
    border-bottom-color: transparent;
}

.pop-left .th-text::after {
    border: 10px solid var(--bg);
    border-right-color: transparent;
    border-bottom-color: transparent;
    left: 100%;
    right: auto;
}

.pop-left .th-text {
    left: auto;
    right: 100%;
}

.th-text-loader {
    text-align: center;
    font-size: 18px;
    color: var(--tt-accent);
    padding-top: 20px;
}

.th-text-header {
    display: block;
    text-decoration: underline;
    font-weight: 500;
    font-size: 18px;
    color: var(--tt-accent);
}

.th-text .not-shown-ajax, .th-text .pmovie__header h1 a {
    display: none;
}

.th-text .pmovie__text {
    font-size: 13px;
    line-height: 1.4;
    margin: 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.th-text .pmovie__list {
    background: none;
    padding: 0;
    font-size: 13px;
}

.th-text .pmovie__list li + li {
    margin-top: 5px;
}

.th-text button {
    width: 100%;
    margin-top: 15px;
    gap: 10px;
}

/* CARD SHORTSTORY, TOP SHORTSTORY
----------------------------------------------- */
.card {
    padding: 20px;
    border-radius: 5px;
    background-color: var(--bg);
    display: grid;
    gap: 15px 20px;
    grid-template-columns: 200px minmax(0,1fr);
    grid-template-rows: min-content 1fr min-content;
    grid-template-areas: "cimg ctitle" "cimg cdesc" "cimg cbtm";
    position: relative;
}

.card__img {
    display: block;
    height: 300px;
    border-radius: 5px;
    grid-area: cimg;
    border: 1px solid var(--bdc);
}

.card .amedia_has-overlay__icon {
    padding: 0;
}

.card .poster__fav {
    left: auto;
    right: 20px;
    top: 20px;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.card .poster__fav a:not(:hover) {
    background-color: var(--bg-2);
}

.card__title {
    display: block;
    grid-area: ctitle;
    margin-right: 130px;
}

a.card__title:hover {
    text-decoration: underline;
}

.card__title h3 {
    font-size: 18px;
    font-weight: 600;
}

.card__desc {
    grid-area: cdesc;
}

.card__list {
    display: grid;
    grid-gap: 6px 0;
    font-size: 13px;
}

.card__list li > span:first-child {
    font-weight: 500;
    margin-right: 3px;
}

.card__list a {
    text-decoration: underline;
    color: var(--tt-accent);
}

.card__text {
    margin-top: 15px;
    -webkit-line-clamp: 4;
    line-height: 1.5;
}

.amedia_card__bottom {
    font-size: 12px;
    grid-area: cbtm;
    gap: 10px 20px;
}

.card__meta .fal {
    margin-right: 5px;
    opacity: 0.66;
}

.card__btn {
    height: 30px;
    padding: 0 10px;
}

.card__fav {
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    height: 60px;
    cursor: pointer;
    font-size: 18px;
    overflow: hidden;
    color: var(--tt-lighter);
}

.card__fav .fas {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0 0 25px 25px;
}

.card__fav .fas::after {
    content: '';
    background: var(--gradient);
    box-shadow: var(--bsh-2);
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: skew(45deg);
    transform-origin: 0 0;
}

.card__fav .fas.added::after {
    background: var(--gradient-accent);
}

.card__rating-ext {
    font-size: 16px;
    font-weight: 500;
    color: var(--tt);
    gap: 3px;
    position: relative;
    display: flex;
    align-items: center;
    line-height: 1;
    white-space: nowrap;
}

.card__rating-ext > span {
    font-size: 11px;
    font-weight: 400;
}

.card__rating-ext::before {
    content: attr(data-text);
    display: inline-flex;
    height: 24px;
    align-items: center;
    border-radius: 3px;
    padding: 0 5px;
    font-size: 11px;
    margin-right: 3px;
}

.card__rating-ext.amedia_kp::before {
    background: var(--bg-sh1);
    width: 20px;
    color: #fff;
}

.card__rating-ext.amedia_imdb::before {
    background: var(--bg-sh);
    width: 20px;
    color: #000;
}

.card__meta.flex-grow-1 {
    align-self: center;
    text-align: right;
    margin-right: -10px;
}

.amedia_linek {
    background-color: var(--fltx);
    border-radius: 5px;
    padding: 10px 20px;
    gap: 0 !important;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    display: flex !important;
}

.amedia_linek:hover {
    background-color: var(--hov);
    transition: .3s;
}

.amedia_ftop-item:hover {
    background-color: var(--hov);
    transition: .3s;
}

.amedia_spiski #dle-content, .amedia_sect .grid-items {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
}

.amedia_linek__img {
    width: 90px;
    height: 120px;
    margin: -10px -20px;
    margin-right: 15px;
    border-radius: 5px;
}

.amedia_linek__title {
    color: var(--tt-accent);
    font-weight: 500;
    font-size: 17px;
}

.amedia_linek__meta {
    margin-top: 10px;
    color: var(--tt-2);
    font-size: 12px;
}

.amedia_linek .amedia_card__bottom {
    margin-top: 10px;
}

.amedia_linek .poster__fav {
    right: 5px;
    top: 5px;
}

.amedia_count-items {
    counter-reset: num;
}

.amedia_count-items .amedia_linek::before {
    content: counter(num);
    counter-increment: num;
    color: var(--tt-2);
    opacity: 0.3;
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -10px;
    transform: translateY(-50%);
    font-size: 40px;
    font-weight: 700;
}

.animetitle {
    margin-bottom: 30px;
}

.animetitle h1 {
    font-size: 22px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ttan);
}

.animetitle h1 span {
    font-size: 14px;
}

/* SIDEBAR
----------------------------------------------- */
.sb {
    background-color: var(--bg);
}

.sb__title {
    font-weight: 600;
    font-size: 16px;
    padding: 15px 20px;
}

.upd__date {
    background-color: var(--bg-dark);
    color: var(--tt-dark);
    padding: 10px 20px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
}

.updli {
    position: relative;
}

.updli__link {
    padding: 10px 20px;
    border-bottom: 1px solid var(--bdc);
}

.updli__img {
    width: 50px;
    height: 50px;
    border-radius: 3px;
    margin-right: 10px;
}

.updli__title {
    font-weight: 500;
    font-size: 13px;
}

.updli__season {
    margin-top: 6px;
    border-radius: 3px;
    background-color: var(--bg-2);
    padding: 3px 6px;
    font-size: 11px;
    display: inline-block;
}

.updli__meta {
    border-radius: 3px;
    background-color: var(--bg-2);
    margin-left: 10px;
    padding: 6px 10px;
    font-size: 11px;
    text-align: center;
    width: 80px;
    font-weight: 500;
}

.updli__voice {
    font-weight: 400;
    color: var(--tt-2);
    margin-top: 3px;
}

.upd.is-active .upd__items {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
}

.upd:not(.is-active) + .upd {
    margin-top: 5px;
}

.updli__fav {
    width: 50px;
    height: 50px;
    border-radius: 3px;
    inset: 10px auto auto 20px;
    color: #fff;
    font-size: 10px;
    z-index: 10;
    white-space: nowrap;
}

.updli__fav a {
    color: #fff;
    width: 100%;
    height: 100%;
    display: block;
    text-align: center;
}

.updli__fav a::before {
    content: '';
    background: #fff url(../images/heart.svg) center center / 12px no-repeat;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    margin-bottom: 2px;
}

.updli:hover .updli__meta, .updli:hover .updli__voice, .upd__date:hover {
    background-color: var(--accent-anim);
    color: #fff;
}

.upd__items {
    max-height: 460px;
    overflow-x: hidden;
    overflow-y: auto;
}

.sb + .sb {
    border-top: 1px solid var(--bdc);
}

.sblogin {
    padding: 20px;
}

.sblogin__img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-right: 10px;
    background-color: #000;
}

.sblogin__name {
    font-weight: 600;
}

.sblogin__name div:last-child {
    font-weight: 400;
    color: var(--tt-2);
    font-size: 11px;
    margin-top: 2px;
}

.sblogin__ctrl {
    gap: 10px;
    font-weight: 500;
    font-size: 11px;
    margin-left: 10px;
}

.sblogin__desc-btm {
    gap: 6px;
    margin-top: 6px;
}

.sblogin__desc-btm a, .sblogin__desc-btm a span {
    border-radius: 3px;
    background-color: var(--bg-2);
    display: flex;
    align-items: center;
    padding: 0 6px;
    font-size: 11px;
    height: 20px;
    overflow: hidden;
}

.sblogin__desc-btm a span {
    margin-right: -6px;
    margin-left: 6px;
    background-color: var(--accent-anim);
    color: #fff;
    border-radius: 0;
    font-size: 10px;
}

.sblogin a:hover {
    text-decoration: underline;
}

/* FOOTER, PAGINATION
----------------------------------------------- */
.amedia_footer__menu {
    gap: 20px 40px;
    font-weight: 400;
}

.amedia_footer__menu a {
    color: var(--tt-dark);
}

.amedia_footer__menu--fw600 {
    font-weight: 600;
}

.footer__text, .footer__copyright {
    font-size: 13px;
}

.footer__soc {
    gap: 20px 15px;
}

.footer__soc img {
    display: block;
    height: 16px;
    opacity: 0.5;
}

.amedia_footer__menu a:hover {
    text-decoration: underline;
}

.footer__soc a:hover img {
    opacity: 1;
}

.amedia_pagination__pages {
    text-align: center;
    padding-top: 40px;
    gap: 20px;
}

.amedia_pagination__pages > a, .amedia_pagination__pages > span, .amedia_pagination__pages-btn > a, .amedia_pagination__pages-btn > span {
    height: 36px;
    font-weight: 600;
    color: var(--tt-3);
    width: 36px;
    font-size: 14px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amedia_pagination__pages-btn {
    font-size: 30px;
}

.amedia_pagination__pages > span:not(.nav_ext) {
    background: var(--bg1s);
    color: #fff;
    min-width: 36px;
    padding: 0 10px;
}

.amedia_pagination__pages a:hover {
    color: white;
    background: #0000007d;
}

/* INNER PAGE
----------------------------------------------- */
.amedia_pmovie {
    border-radius: 5px;
}

.amedia_pmovie__main {
    display: grid;
    gap: 0 30px;
    grid-template-columns: 260px minmax(0,1fr) minmax(0,1fr);
    grid-template-areas: "pimg pheader pheader" "pimg plist anime" "pimg plist anime2" "pimg plist anime3" "pimg plist anime4";
    margin-bottom: 40px;
}

.amedia_pmovie__descr {
    margin-bottom: 40px;
}

.amedia_pmovie__img {
    height: 380px;
    width: 260px;
    border-radius: 5px;
    border: 1px solid var(--bdc);
}

.amedia_pmovie__poster {
    grid-area: pimg;
    position: relative;
}

.pmovie__header {
    position: relative;
    grid-area: pheader;
}

.pmovie__list {
    grid-area: plist;
}

.pmovie__header h1 {
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
    text-transform: uppercase;
}

.pmovie__header h1 a {
    font-weight: 600;
    font-size: 20px;
    color: var(--accent-anim);
    text-transform: uppercase;
}

.pmovie__header h1 a:hover {
    color: #c2b7c9;
}

.amedia_pmovie__main-info {
    font-weight: 500;
    margin-left: 14px;
    font-size: 11px;
    color: var(--tt-2);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    float: left;
}

.pmovie__header .poster__fav {
    left: auto;
    right: 0px;
    top: 0px;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.pmovie__header .poster__fav a:not(:hover) {
    background-color: var(--bg-2);
}

.amedia_pmovie__subtitle {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
}

.animefilm1 + .amedia_pmovie__subtitle {
    margin-bottom: 30px;
    margin-top: 30px;
}

.pmovie__list {
    line-height: 1.5;
    font-size: 16px;
    word-wrap: break-word;
}

.pmovie__list li {
    position: relative;
    padding-left: 160px;
}

.pmovie__list li + li {
    margin-top: 14px;
}

.pmovie__list li > span:first-child {
    position: absolute;
    left: 0;
    top: 0;
    color: var(--animli);
}

.pmovie__list li a {
    color: var(--tt-accent);
}

.pmovie__list li a:hover {
    text-decoration: none;
}

.amedia_pmovie__rating {
    font-size: 16px;
    font-weight: 600;
}

.pmovie__rating-caption {
    font-weight: 600;
    margin-bottom: 6px;
}

.pmovie__rating-votes {
    font-size: 12px;
    color: var(--tt-2);
    position: absolute;
    right: 0;
    top: 1px;
}

.pmovie__rating-score {
    position: absolute;
    right: 0;
    top: 25px;
    height: 28px;
    width: 28px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    background-color: var(--bg-dark);
    color: #fff;
    display: grid;
    place-items: center;
}

.tabs-block__select {
    gap: 10px;
}

.tabs-block__select button {
    height: 40px;
    padding: 0 10px;
    border-radius: 10px 10px 0 0;
    gap: 10px;
    background: var(--fltx);
    color: var(--tt);
    font-weight: 500;
    font-size: 16px;
}

.tabs-block__select button.is-active, .tabs-block__select button:hover {
    background: var(--bg1s);
    color: #fff;
}

.pmovie__player-bottom {
    background-color: var(--bg-2);
    padding-left: 20px;
}

.ya-share2 {
    height: 24px;
    margin-left: 10px;
}

.ya-share2 a:not(:hover) {
    filter: grayscale(1);
    opacity: 0.66;
}

.pmovie__complaint a {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    font-size: 24px;
    background: var(--accent-anim);
    color: #fff;
}

.pmovie__related {
    padding: 0 !important;
    background: none;
}

@media screen and (min-width: 760px) {
    .pmovie__related .grid-items {
        grid-template-columns: repeat(6,minmax(0,1fr));
        gap: 16px;
    }

    .pmovie__related .amedia_poster__img {
        margin-bottom: 8px;
    }

    .pmovie__related .amedia_has-overlay__icon {
        padding-bottom: 0;
        padding-top: 55px;
    }

    .pmovie__related .poster__btn-info {
        top: 32px;
        padding: 0 7px;
    }
}

.pactor .pmovie__header .poster__fav {
    position: static;
}

.pactor .pmovie__header .pmovie__btn-scroll {
    margin: 0;
    height: 40px;
    padding: 0 20px;
    margin-top: 20px;
    font-size: 16px;
    gap: 20px;
}

.pactor .amedia_poster .poster__ratings, .pactor .amedia_poster .poster__fav {
    display: none;
}

.pactor .card, .pactor .amedia_linek {
    padding: 0;
    background: none;
}

/* TEXT BLOCK, TYPOGRAPHY, VIDEO BLOCK
----------------------------------------------- */
.full-text {
    line-height: 1.6;
    font-size: 16px;
    text-align: justify;
    word-wrap: break-word;
    background: var(--fltx);
    border-radius: 8px;
    padding: 20px;
}

.full-text-com {
    line-height: 1.4;
    font-size: 16px;
    text-align: justify;
    word-wrap: break-word;
    padding-left: 10px;
}

.amedia_cb {
    float: left;
    margin-right: 10px;
}

.full-text img:not(.emoji), .full-text p, .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5, .full-text > ul, .full-text > ol, .full-text table, .amedia_page__title {
    margin-bottom: 20px;
}

.full-text > img[style*="left"], .full-text > .highslide img[style*="left"] {
    margin: 0 10px 10px 0;
}

.full-text > img[style*="right"], .full-text > .highslide img[style*="right"] {
    margin: 0 0 10px 10px;
}

.full-text > ul li, .full-text > ol li {
    padding-left: 60px;
    position: relative;
}

.full-text > ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    position: absolute;
    top: 5px;
    left: 34px;
}

.full-text > ol {
    counter-reset: num;
}

.full-text > ol li::before {
    content: counter(num);
    counter-increment: num;
    background-color: var(--accent);
    color: #fff;
    position: absolute;
    top: -2px;
    left: 17px;
    width: 24px;
    height: 30px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 6px;
    box-sizing: border-box;
}

.full-text > ol li::after {
    content: '';
    border: 10px solid transparent;
    border-left-color: var(--accent);
    position: absolute;
    left: 41px;
    top: -2px;
    transform: scale(0.66,1.5);
    transform-origin: 0 0;
}

.full-text > ul li + li, .full-text > ol li + li {
    margin-top: 10px;
}

.full-text table, .video-inside > * {
    width: 100%;
}

.full-text table tr td {
    padding: 10px;
    border: 2px solid #fff;
}

.full-text table tr:nth-child(2n+1) {
    background-color: #f2f6f9;
}

.full-text table tr:nth-child(1) {
    background-color: #cee0ed;
}

.full-text table img:not(.emoji) {
    margin: 0;
    max-width: 350px
}

.full-text > *:last-child {
    margin-bottom: 0;
}

.video-responsive {
    padding-top: 60%;
    position: relative;
    background-color: #000;
}

.video-responsive > iframe, .video-responsive > video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {
    font-size: 21px;
}

.full-text iframe {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
}

/* COMMENTS
----------------------------------------------- */
.page__comments {
    margin: 0;
    border: 2px solid var(--bg-2);
}

.amedia_page__comments-psform {
    padding: 15px;
    background-color: var(--bg-2);
}

.page__comments-psform-title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 15px;
}

.page__comments-psform-form {
    background-color: var(--bg);
    cursor: pointer;
    color: var(--tt-2);
    font-size: 13px;
    padding: 15px;
}

.amedia_page__comments-title {
    font-size: 13px;
    color: var(--tt-2);
    padding: 15px;
}

.amedia_page__comments-title span {
    font-weight: 600;
    color: var(--tt-3);
}

#dle-comments-list #comment:first-child + .comments-tree-list {
    margin-top: -15px;
}

.amedia_page__comments-list {
    padding: 0;
}

.page__comments-list--not-comments {
    padding: 0;
    border: 0;
}

.add-comments-form.form {
    padding: 0;
    margin-bottom: 0px;
}

.add-comments-form .form__input, .add-comments-form__input, .add-comments-form .form__textarea-inside textarea, .mass_comments_action select {
    box-shadow: inset 0 0 0 1px #e3e3e3;
    border-radius: 0;
}

.add-comments-form__input {
    margin-left: 20px;
}

.add-comments-form .d-none, .comments_subscribe + br {
    display: none;
}

.mass_comments_action {
    display: flex;
    align-items: center;
    max-width: 800px;
    white-space: nowrap;
    padding: 15px;
}

.mass_comments_action select {
    flex: 1 1 0;
    margin: 0 -8px 0 20px;
}

.mass_comments_action .bbcodes {
    border-radius: 0;
    padding: 0 10px;
}

.show-comms a {
    padding: 15px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-2);
    color: var(--tt-3);
    font-size: 13px;
}

.comment-item__title {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 20px;
}

.amedia_comment-item {
    padding: 10px 15px 0;
    margin-bottom: 10px;
    min-height: 160px;
}

.amedia_comment-item__header {
    position: relative;
    margin-bottom: 5px;
}

.amedia_comment-item__img {
    width: 70px;
    height: 70px;
    border-radius: 5px;
}

.amedia_bodycomm {
    background: var(--bocomm);
    padding: 10px 15px;
    border-radius: 8px;
    position: relative;
    font-size: 17px;
}

.amedia_bodycomm::before {
    border: 11px solid transparent;
    border-top: 13px solid var(--bocomm);
    border-bottom: 0;
    height: 0;
    width: 0;
    border-top-width: 17px;
    content: '';
    display: block;
    position: absolute;
    left: 1px;
    top: 15px;
    transform-origin: center;
    transform: rotate(92deg) skew(331deg) translateY(17px);
}

.comment-item__letter {
    width: 100%;
    height: 100%;
    text-transform: uppercase;
    font-weight: 500;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 5;
    color: #fff;
    font-size: 18px;
}

.comment-item__author, .comment-item__author a {
    font-weight: 600;
    font-size: 14px;
    color: var(--tt-3);
}

.amedia_comment-item__date {
    color: var(--tt-2);
    font-size: 12px;
}

.comment-item__main {
    margin: 0 0 0 80px;
}

.amedia_comment-item__footer, .amedia_comment-item__controls {
    gap: 10px;
    font-size: 12px;
    margin-top: 2px;
}

.amedia_comment-item__rating a {
    color: var(--tt-3);
}

.amedia_comment-item__rating a > span {
    font-weight: 600;
    font-size: 14px;
    margin-right: 15px;
}

.amedia_comment-item__controls a {
    color: var(--tt-2);
}

.amedia_comment-item__footer a:hover, .amedia_comment-item__controls a:hover, .show-comms a:hover, .page__comments-psform-form:hover {
    text-decoration: underline;
}

.amedia_comment-item__controls .checkbox {
    transform: scale(0.8,0.8);
    margin-right: -10px;
}

.comments-tree-list {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.comments-tree-list .comments-tree-list {
    padding-left: 50px;
    position: relative;
}

.comments-tree-item {
    display: block;
    margin: 0;
    padding: 0;
}

/* LOGIN
----------------------------------------------- */
.amedia_login {
    position: fixed;
    z-index: 999;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    overflow: hidden;
    background-color: var(--ui-bg);
    border-radius: 4px;
    width: 400px;
    box-shadow: 0 0 0 10px rgba(255,255,255,0.2), 0 15px 45px rgba(0,0,0,1);
}

.amedia_login__header {
    padding: 20px 40px;
    background-color: var(--ui-bg-darker);
}

.amedia_login__title {
    font-size: 17px;
    font-weight: 600;
    padding: 1px 0;
    text-transform: capitalize;
}

.amedia_login__close {
    cursor: pointer;
    font-size: 24px;
    opacity: 0.6;
    margin-left: 20px;
}

.amedia_login__title a {
    border-bottom: 1px dotted var(--tt-2);
    margin-left: 10px;
    font-weight: 400;
    color: var(--tt-2);
}

.amedia_login__content {
    padding: 20px 40px;
}

.amedia_login__row {
    margin-bottom: 20px;
    position: relative;
    display: block;
    font-size: 14px;
    color: var(--tt-2);
}

.amedia_login__caption {
    font-size: 14px;
    color: var(--tt);
    margin-bottom: 10px;
}

.amedia_login__caption a {
    text-decoration: underline;
    margin-left: 6px;
    color: var(--tt-accent);
}

.amedia_login__input input {
    padding-left: 40px;
}

.amedia_login__row .fal {
    opacity: 0.5;
    position: absolute;
    left: 0;
    bottom: 0;
    line-height: 40px;
    width: 40px;
    text-align: center;
}

.amedia_login__row button {
    width: 100%;
}

.amedia_login__social {
    background-color: var(--ui-bg-darker);
    padding: 20px 40px;
    text-align: center;
}

.amedia_login__social-caption {
    font-size: 11px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.amedia_login__social-btns a {
    display: inline-block;
    margin: 0 3px;
    vertical-align: top;
}

.amedia_login__social-btns img {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.amedia_login__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.amedia_login__menu {
    padding-left: 35px;
    padding-right: 35px;
    margin-bottom: -10px;
}

.amedia_login__menu li {
    flex: 1 1 0;
    min-width: auto;
    max-width: 100%;
    margin: 0 5px 10px 5px;
}

.amedia_login__menu a {
    display: block;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    white-space: nowrap;
    background-color: var(--ui-bg-darker);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
    font-size: 13px;
}

.amedia_login__menu .fal {
    display: block;
    height: 30px;
    font-size: 24px;
    opacity: 0.3;
}

/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
.owl-carousel {
    width: 100%;
    position: relative;
    z-index: 1;
}

.owl-carousel .owl-stage {
    position: relative;
    display: flex;
    justify-content: flex-start;
}

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-item {
    position: relative;
    min-height: 10px;
}

.owl-carousel .owl-nav.disabled, .owl-carousel .owl-dots.disabled, .owl-carousel.owl-refresh .owl-item {
    display: none;
}

.owl-carousel.owl-loaded, .owl-carousel.owl-loading, .no-js .owl-carousel {
    display: block;
    opacity: 1;
}

.owl-carousel.owl-drag .owl-item {
    user-select: none;
}

.owl-carousel.owl-grab {
    cursor: move;
    cursor: grab;
}

.owl-carousel .animated {
    animation-duration: 1000ms;
    animation-fill-mode: both;
}

.owl-carousel .owl-animated-in {
    z-index: 0;
}

.owl-carousel .owl-animated-out {
    z-index: 1;
}

.owl-carousel .fadeOut {
    animation-name: fadeOut;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.owl-height {
    transition: height 500ms ease-in-out;
}

.owl-carousel .owl-item .owl-lazy {
    opacity: 0;
    transition: opacity 400ms ease;
}

.owl-carousel .owl-item img.owl-lazy {
    transform-style: preserve-3d;
}

.owl-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 54%;
}

.owl-prev, .owl-next {
    display: flex;
    cursor: pointer;
    box-shadow: none;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background: none;
    color: var(--tt);
    position: absolute;
    top: 0;
    font-size: 28px;
    margin-top: -40px;
}

.owl-prev {
    left: -40px;
}

.owl-next {
    right: -40px;
}

.owl-prev:hover, .owl-next:hover {
    background: var(--bg-dark) !important;
    color: #fff !important;
}

.owl-prev, .owl-next {
    color: #fff !important;
}

.owl-dots {
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -37px;
}

.owl-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    background: var(--bg);
    margin: 0 5px;
    box-shadow: var(--bsh-2);
}

.owl-dot.active, .owl-dot:hover {
    background: var(--accent-green);
}

.sect--carou .owl-nav {
    left: auto;
    top: -10px;
    display: flex;
    gap: 10px;
}

.sect--carou .owl-prev, .sect--carou .owl-next {
    position: static;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    font-size: 18px;
    background-color: var(--bg-dark);
    color: #fff;
}

/* ADAPTIVE, MOBILE MENU
----------------------------------------------- */
.overlay {
    position: fixed;
    z-index: 998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    background-color: #000;
    cursor: pointer;
    display: none;
}

.mobile-menu {
    width: 280px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0px 0;
    z-index: 999;
    position: fixed;
    left: -320px;
    top: 0;
    transition: left .4s;
    background: var(--bg);
}

.mobile-menu.is-active {
    left: 0;
}

.mobile-menu-close {
    cursor: pointer;
    display: block;
    left: 280px;
    top: -40px;
    position: fixed;
    z-index: 999;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    opacity: 0;
    background-color: #e84e36;
    color: #fff;
    transition: top .4s, opacity .4s;
}

.mobile-menu-close.is-active {
    top: 0px;
    opacity: 1;
}

body.mobile-menu-is-opened {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.mobile-menu .amedia_header__menu {
    margin: 0;
    display: block;
}

.mobile-menu .amedia_header__menu > li > a {
    height: 50px;
    border-bottom: 4px solid var(--bdc);
    padding: 0 20px;
    background: var(--bg1s);
    color: #fff;
}

.mobile-menu .amedia_header__menu-hidden a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 5px 0;
}

.mobile-menu .amedia_header__menu-hidden {
    background-color: var(--bg-2);
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    width: 100%;
    display: grid;
    border-radius: 0;
    gap: 5px 10px;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    padding: 10px 20px;
    font-size: 16px;
}

@media screen and (max-width: 1370px) {
    .amedia_header__search {
        order: 10;
        min-width: 100%;
        margin: 0;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 1220px) {
    body {
        background-image: none;
    }

    .wrapper {
        padding: 0;
        background-image: none;
        overflow: hidden;
    }

    .video-inside iframe, .video-inside frame, .plcdn {
        height: 420px;
    }

    .amedia_logo {
        width: 200px;
    }

    .amedia_header__menu {
        gap: 10px;
    }

    .amedia_header__search {
        width: 180px;
    }

    .amedia_spiski #dle-content, .amedia_sect .grid-items {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px 16px;
    }

    .amedia_has-overlay__icon, .amedia_poster .poster__fav, .poster__btn-info {
        display: none;
    }

    #scrolltop {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 18px;
    }

    .amedia_carou__content > .amedia_poster, .sect__content--carousel:not(.owl-carousel) > .amedia_poster {
        width: calc((100% - 100px)/6);
    }

    .sect__ctrl-menu {
        min-width: 100%;
    }

    .amedia_cols {
        display: block;
    }

    .cols__right {
        margin-top: 60px;
    }
}

@media screen and (max-width: 1080px) {
    .amedia_header__menu > li > a {
        font-size: 13px;
    }
}

@media screen and (max-width: 1023px) {
    .amedia_header .amedia_header__menu {
        display: none;
    }

    .amedia_header__search {
        flex: 1 1 0;
        max-width: 100%;
        min-width: 50px;
        order: unset;
        min-width: unset;
        margin: 0;
        margin-bottom: unset;
    }

    .amedia_header__btn-menu {
        display: flex;
        margin-left: 10px;
        padding: 0;
        width: 40px;
        font-size: 18px;
    }

    .amedia_header__btn-login {
        background-color: var(--bg);
        color: var(--tt-3);
        box-shadow: 0 0 0 1px var(--bdc);
    }

    .video-inside iframe, .video-inside frame, .plcdn {
        height: 380px;
    }
}

@media screen and (max-width: 950px) {
    .amedia_animli {
        margin: 20px 0 0;
    }

    .sockn {
        position: relative;
    }

    .video-inside iframe, .video-inside frame, .plcdn {
        height: 350px;
    }

    .amedia_comment-item__rating a > span {
        margin-right: 5px;
    }

    .amedia_spiski #dle-content, .amedia_sect .grid-items {
        grid-template-columns: repeat(1,minmax(0,1fr));
    }

    .amedia_carou__content > .amedia_poster, .sect__content--carousel:not(.owl-carousel) > .amedia_poster {
        width: calc((100% - 80px)/5);
    }

    .amedia_card__bottom .btn {
        width: 100%;
    }

    .card__meta.flex-grow-1 {
        margin: 0;
    }

    .card__text {
        -webkit-line-clamp: 3;
    }

    .amedia_linek__img {
        margin: 0px;
        margin-right: 10px;
        width: 70px;
        height: 90px;
    }

    .amedia_linek {
        padding: 10px;
    }

    .amedia_count-items .amedia_linek::before {
        right: 10px;
        margin-top: -20px;
    }

    .amedia_pmovie__main {
        display: grid;
        gap: 0 30px;
        grid-template-columns: 260px minmax(0,1fr);
        grid-template-areas: "pimg pheader" "pimg  plist" "anime2 anime" "anime3 anime4";
        margin-bottom: 60px;
    }
	
	.tabs > label .raspis2 span:first-child{
		display:none;
	}
	
	.tabs > label .raspis2 span:last-child{
		display:inline-block;
	}
}

@media screen and (max-width: 760px) {
    .amedia_content {
        padding: 30px var(--indent);
    }

    .amedia_player_blok {
        display: grid;
        gap: 0;
        grid-template-columns: 100%;
        grid-template-areas: "player ";
    }

    .amedia_posled_ser {
        display: none;
    }

    .uved {
        bottom: 60px;
    }

    .amedia_ftop-item__title {
        font: 15px 'GothamProRegular', sans-serif;
        line-height: 18px;
        margin-top: 6px;
        white-space: nowrap;
        height: 35px;
    }

    .amedia_ulpad {
        background: var(--fltx);
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .full-text-com {
        padding: 0 10px;
    }

    .amedia_comment-item__img {
        width: 50px;
        height: 50px;
    }

    .comment-item__main {
        margin: 0 0 0 60px;
    }

    .amedia_carou {
        display: none;
    }

    .amedia_theme-toggle {
        margin-left: 9px;
    }

    .alert_module-icon {
        margin-left: 9px;
    }

    .amedia_header__btn-login {
        margin-left: 9px;
    }

    .amedia_header__btn-menu {
        margin-left: 9px;
    }

    .amedia_amdcomm {
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(1,minmax(0,1fr));
    }

    .amedia_ftop-item,.amedia_ftop-item:nth-child(2n) {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .video-inside iframe, .video-inside frame, .plcdn {
        /* height: 300px; */
    }

    .amedia_carou__content > .amedia_poster, .sect__content--carousel:not(.owl-carousel) > .amedia_poster {
        width: calc((100% - 40px)/3);
    }

    .amedia_header__search {
        order: 10;
        min-width: 100%;
        margin: 0;
    }

    .amedia_logo {
        flex: 1 1 0;
        min-width: 50px;
        max-width: 100%;
    }

    .sect__ctrl-menu li, .sect__ctrl-menu li a, .sect__ctrl-menu label, .sect__ctrl-menu label div {
        justify-content: center;
        flex-grow: 1;
        text-align: center;
    }

    .amedia_footer__top, .footer__bottom, .amedia_footer__menu, .footer__text {
        justify-content: center;
        min-width: 100%;
        text-align: center;
    }

    .amedia_footer__menu {
        gap: 20px;
        margin-bottom: 20px;
    }

    .sect__ctrl-menu {
        gap: 10px;
    }

    .sect__ctrl-menu a, .sect__ctrl-menu label div {
        background-color: var(--bg);
        color: var(--tt);
        border-radius: 4px;
        padding: 0 10px;
    }

    .card {
        grid-template-columns: 120px minmax(0,1fr);
        grid-template-rows: min-content min-content 1fr;
        grid-template-areas: "cimg ctitle" "cimg cbtm" "cdesc cdesc";
        gap: 15px 10px;
    }

    .card__img {
        height: 180px;
    }

    .amedia_card__bottom {
        align-self: flex-end;
    }

    .card .poster__fav {
        right: auto;
        top: 100px;
        left: 150px;
    }

    .card__rating-ext span {
        display: none;
    }

    .card__title {
        padding: 0;
        margin: 0;
    }

    .amedia_linek {
        align-items: flex-start;
    }

    .amedia_linek .poster__fav {
        position: static;
        margin-top: 10px;
    }

    .amedia_linek__title {
        padding: 0;
    }

    .amedia_linek__meta {
        margin-top: 5px;
    }

    .amedia_linek .card__btn {
        margin-left: -90px;
        width: calc(100% + 90px);
    }

    .amedia_count-items .amedia_linek::before {
        right: 10px;
        margin-top: -5px;
        top: 10px;
        transform: none;
    }

    .amedia_pmovie__main {
        display: grid;
        gap: 0 10px;
        grid-template-columns: 100%;
        grid-template-areas: "pheader" "pimg" "anime" "anime2" "anime3" "plist" "anime4";
        margin-bottom: 60px;
    }

    .pmovie__header h1 {
        font-size: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: center;
    }

    .amedia_pmovie__main-info {
        text-align: center;
    }

    .pmovie__list li {
        padding-left: 130px;
    }

    .amedia_pmovie__img {
        margin: 0 auto;
    }

    .pmovie__rating--10-stars {
        bottom: 13px;
        width: 200px;
    }

    .pmovie__header {
        padding: 0;
        margin: 0 auto;
    }

    .pmovie__header .poster__fav {
        position: static;
        margin-top: 20px;
        display: inline-flex;
    }

    .page__text .quote {
        margin-left: var(--indent-negative);
        margin-right: var(--indent-negative);
        padding-right: var(--indent);
    }

    .full-text h1, .full-text h2, .full-text h3, .full-text h4, .full-text h5 {
        font-size: 18px;
    }

    .comments-tree-list .comments-tree-list {
        padding-left: 15px;
    }

    .show-comms a {
        margin: 0 var(--indent);
        margin-top: 15px;
        margin-bottom: -5px;
    }

    .page__comments {
        border: 0;
        margin-left: var(--indent-negative);
        margin-right: var(--indent-negative);
    }

    .amedia_page__comments-psform, .amedia_comment-item, .amedia_page__comments-title {
        padding-left: var(--indent);
        padding-right: var(--indent);
    }

    .add-comments-form__input {
        min-width: 100%;
        margin: 0 0 10px 0;
    }

    .amedia_add-comments-form__btn {
        width: 100%;
        order: 10;
    }

    .add-comments-form .form__row--protect .form__caption {
        width: 100%;
        margin: 0 0 10px 0;
    }

    .mass_comments_action, .amedia_comment-item__controls {
        display: none;
    }
}

@media screen and (max-width: 590px) {
    .grid-items, #dle-content {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .video-inside iframe, .video-inside frame, .plcdn {
        border-radius: 10px 10px 0 0;
    }

    .video-inside iframe, .video-inside frame, .plcdn {
        height: 250px;
    }

    .amedia_login {
        max-width: 90%;
        max-height: 90%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .amedia_login__header, .amedia_login__content, .amedia_login__social, .pages-bg {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sect--carou .amedia_sect__title {
        min-width: calc(100% + 80px);
        margin-right: -80px;
    }

    .amedia_pmovie__subtitle {
        font-size: 16px;
    }

    .pmovie__share-caption {
        display: none;
    }
}

@media screen and (max-width: 470px) {
    .amedia_logo {
        background: var(--bg-bgam);
    }

    .video-inside iframe, .video-inside frame, .plcdn {
        border-radius: 0;
    }

    .kontaiher {
        border-radius: 0;
    }

    .amedia_carou__content > .amedia_poster, .sect__content--carousel:not(.owl-carousel) > .amedia_poster {
        width: calc((100% - 20px)/2);
    }

    .amedia_header__logo {
        font-size: 18px;
    }

    .amedia_header__search {
        margin-top: 10px;
    }

    .coll {
        height: 140px;
    }

    .cols__right {
        margin: 0 var(--indent-negative);
        margin-top: 40px;
    }

    .descr {
        padding-top: 40px;
    }

    .amedia_pagination__pages {
        padding-top: 20px;
    }

    .card__meta.flex-grow-1 {
        display: none;
    }

    .card__title h3 {
        font-size: 16px;
        padding: 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .amedia_speedbar {
        margin-bottom: -20px;
    }

    .amedia_comment-item__date {
        width: 100%;
    }
}

/* BUG FIXES 
----------------------------------------------- */

/* UPDATES
----------------------------------------------- */
@media screen and (min-width: 1220px) {
    .cols--no-cols {
        display: block;
    }

    .cols--no-cols .cols__right {
        margin-top: 60px;
    }

    .cols--no-cols .sb__grid, .cols--no-cols .upd.is-active .upd__items {
        grid-template-columns: repeat(auto-fill,minmax(360px,1fr));
    }
}

.sb__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(280px,1fr));
    counter-reset: num;
}

.sb--mt {
    margin-top: 20px;
}

.sb--mt .sb__title {
    border-bottom: 1px solid var(--bdc);
}

.amedia_ftop-item .amedia_has-overlay__icon {
    padding: 0;
}

.amedia_sect__btn-link {
    width: max-content;
    margin: 24px auto;
    margin-bottom: 0;
    text-align: center;
    display: block;
}

.amedia_amd {
    overflow: hidden;
    /* margin-bottom: 40px; */
}

.amedia_ftop-item, .amedia_ftop-item__desc {
    position: relative;
    z-index: 5;
}

.amedia_ftop-item__img {
    width: 60px;
    height: 70px;
    border-radius: 5px;
    margin-right: 15px;
    z-index: 5;
}

.amedia_animseri {
    padding: 8px;
    text-align: center;
    color: #8e8e8e;
    font-size: 15px;
    line-height: 15px;
}

.amedia_animseri span {
    font-size: 30px;
    font-weight: 700;
    color: var(--tt-accent);
    display: block;
    opacity: 0.6;
    line-height: 32px;
}

.lcomm {
    font-size: 13px;
    border-bottom: 1px solid var(--bdc);
    padding: 15px;
}

.lcomm__link {
    display: block;
    font-size: 12px;
    color: var(--tt-3);
    padding-left: 1px;
    font-weight: 500;
}

.lcomm__date {
    font-size: 12px;
    color: var(--tt-2);
    margin-left: 10px;
}

.lcomm__text {
    margin: 8px 0 10px 0;
    opacity: 0.66;
    -webkit-line-clamp: 3;
}

.lcomm__author {
    font-weight: 500;
}

.lcomm__av {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 10px;
}

.amedia_fr-list {
    counter-reset: num;
    flex-direction: column-reverse;
}

.amedia_fr::before {
    content: counter(num);
    counter-increment: num;
    width: 40px;
    text-align: center;
    margin-top: -1px;
    color: var(--tt-accent);
    font-weight: 600;
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
}

.amedia_fr {
    cursor: pointer;
    position: relative;
    padding: 6px 10px;
    padding-left: 40px;
    border-radius: 4px;
}

.amedia_fr:nth-child(2n) {
    background-color: var(--fltx);
}

.amedia_fr__title {
    display: inline-block;
    max-width: 100%;
    line-height: 26px;
    height: 20px;
    font-weight: 400;
    font-size: 16px;
}

.amedia_fr:hover {
    background: var(--hov);
    z-index: 3;
}

.amedia_fr__year {
    color: var(--tt-2);
    margin: 0 10px;
    font-size: 13px;
}

.fr__rating {
    background: var(--accent-gray);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
}

.clrrating-1, .clrrating-2, .clrrating-3, .clrrating-4 {
    background-color: var(--accent-anim);
}

.clrrating-7, .clrrating-8 {
    background-color: var(--accent-green);
}

.clrrating-9, .clrrating-10 {
    background-color: var(--accent-gold);
}

.is-active .amedia_fr__title {
    color: var(--tt-3);
}

.amedia_fr.is-active::before {
    content: "";
    display: block;
    left: 13px;
    background-size: 13px 15px;
    background-repeat: no-repeat;
    width: 13px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg width='13px' height='15px' viewBox='0 0 13 15' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='sprite' transform='translate(-170.000000, -111.000000)' fill='%23000000' fill-rule='nonzero'%3E%3Cg id='play_black' transform='translate(170.000000, 111.000000)'%3E%3Cpath d='M12.508581,8.36085 L1.50873,14.86076 C1.033253,15.14173 0.420037,14.98404 0.139074,14.50857 C0.048028,14.35449 0,14.1788 0,13.99984 L0,1 C0,0.44772 0.447715,0 1,0 C1.178966,0 1.354653,0.04803 1.50873,0.13908 L12.508581,6.63899 C12.984057,6.91996 13.141741,7.53317 12.860778,8.00865 C12.774963,8.15388 12.653806,8.27503 12.508581,8.36085 Z' id='Triangle'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.dt-is-active .amedia_fr.is-active::before {
    filter: invert(0.8);
}

.pmovie__btn-scroll {
    margin-top: 6px;
    padding: 0 10px;
    height: 24px;
    gap: 5px;
    font-size: 12px;
    border-radius: 3px;
}

.amedia_pmovie__rating-likes {
    gap: 10px;
    padding-top: 2px;
}

.amedia_pmovie__rating-likes > * {
    display: flex;
    align-items: center;
    color: #fff;
    padding: 0 10px 0 0;
    overflow: hidden;
}

.amedia_pmovie__rating-likes > * .fal {
    font-size: 20px;
    margin-right: 10px;
    width: 40px;
    border-radius: 5px;
    height: 40px;
    display: grid;
    place-items: center;
    background-color: #1e98c4;
    color: #fff;
}

.amedia_pmovie__rating-likes > * + * .fal {
    background-color: #dd5161;
}

.amedia_pmovie__rating-likes > * .fal:hover {
    opacity: 0.8
}

.amedia_pmovie__rating-likes > a:hover {
    color: #fff;
}

[data-actorimg] {
    position: relative;
    z-index: 999;
}

.actor-preview {
    position: absolute;
    left: 50%;
    bottom: 100%;
    margin-left: -100px;
    width: 200px;
    background-color: var(--bg);
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.bottom .actor-preview {
    top: 100%;
    bottom: auto;
}

@media screen and (max-width: 760px) {
    .amedia_pmovie .poster__fav {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .pmovie__btn-scroll {
        margin: 0;
        flex-grow: 1;
        padding: 0;
    }

    .pmovie__btn-scroll span {
        display: none;
    }

    .pmovie__btn-scroll::before {
        content: attr(data-mobtext);
        display: inline;
    }
}

.amedia_filter-block-toggle {
    border-radius: 0;
    width: 100%;
    gap: 10px;
    margin-bottom: 40px;
}

.amedia_filter-block {
    margin-bottom: 40px;
    background-color: var(--fltx);
    padding: 20px;
    border-radius: 5px;
}

.amedia_filter-block__form {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    grid-gap: 10px 20px;
}

.filter-block__cell--full-width {
    grid-column: 1 / -1;
}

.filter-block__cell-caption {
    margin-bottom: 10px;
}

.amedia_filter-block__cell-content > * {
    width: 100%;
    display: block;
}

.amedia_filter-block__cell-content--two-columns {
    display: flex;
    justify-content: space-between;
}

.amedia_filter-block__cell-content--two-columns > * {
    width: calc((100% - 10px)/2) !important;
}

.amedia_filter-block__cell-content select, .amedia_filter-block__cell-content input[type="text"], .amedia_filter-block__cell-content--check-group {
    height: 36px;
    line-height: 34px;
    background-position: right 8px top 50%;
    background-color: var(--bg);
    color: var(--tt-2);
    border: 1px solid var(--bdc);
    border-radius: 4px;
    box-shadow: none;
    font-size: 14px;
    padding: 0 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.amedia_filter-block__cell-content select {
    padding: 0 20px 0 4px;
}

.amedia_filter-block__cell-content input[type="text"]::placeholder {
    opacity: 1;
    color: var(--tt-2);
    font-size: 14px;
}

.amedia_filter-block__cell-content input[type="text"]:focus::placeholder {
    opacity: 0;
}

.amedia_filter-block__cell-content label {
    position: relative;
    padding-left: 50px;
    cursor: pointer;
    height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 14px;
}

.amedia_filter-block__cell-content label input {
    display: inline-block;
    appearance: none;
    -webkit-appearance: none;
    height: 20px;
    width: 40px;
    border-radius: 5px;
    background-color: #8c8c8c;
    cursor: pointer;
    transition: all .2s linear;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -10px;
}

.amedia_filter-block__cell-content label input::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 5px;
    position: absolute;
    left: 1px;
    top: 1px;
    background-color: var(--bg);
    transition: all .2s linear;
}

.amedia_filter-block__cell-content label input:checked {
    background-color: #6ab04c;
}

.amedia_filter-block__cell-content label input:checked::before {
    left: 21px;
}

.amedia_filter-block__cell-content input[type="button"], .amedia_filter-block__cell-content button {
    cursor: pointer;
    height: 36px;
    display: inline-flex;
    justify-content: center;
    padding: 0 10px;
    box-shadow: none;
    border-radius: 4px;
}

.amedia_filter-block__cell-content input[type="button"][data-dlefilter="reset"] {
    background: var(--bg-2);
    color: var(--tt-2);
}

.amedia_filter-block__cell-content--check-group label {
    padding: 0;
    text-align: center;
    white-space: nowrap;
    flex: 1 1 0;
    min-width: 30px;
    max-width: 100%;
}

.amedia_filter-block__cell-content--check-group label:hover {
    background: var(--bg-btn-hover);
    color: #fff;
}

.amedia_filter-block__cell-content--check-group label input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 5;
}

.amedia_filter-block__cell-content--check-group {
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.amedia_filter-block__cell-content--check-group label + label {
    border-left: 1px solid var(--bg-2);
}

.amedia_filter-block__cell-content--check-group label div {
    height: 36px;
    font-size: 13px;
}

.amedia_filter-block__cell-content--check-group label input:checked + div {
    background-color: var(--bg-btn-hover1);
    color: #ffffff;
}

@media screen and (max-width: 1220px) {
    .amedia_filter-block-toggle {
        display: flex;
        margin-bottom: 40px;
        border-radius: 5px;
    }

    .amedia_filter-block {
        display: none;
        margin-top: -40px;
    }
}
