.rotate {
    transform: rotate(180deg);
}

.text-block {
    max-width: 1000px;
}

.casino-name .stars {
    margin-top: 6px;
    margin-bottom: 10px;
    width: 90px;
    height: 17px;
    display: flex;
    background: transparent url(../images/home_stars_new.png) left bottom repeat-x;
}

.casino-name .stars_in {
    height: 100%;
    width: 100%;
    background: transparent url(../images/home_stars_new.png) left top repeat-x;
}

.topnew {
    margin-bottom: 0;
}

.filters-wrapper::-webkit-scrollbar {
    display: none;
}

.tops-new-dsgn {
    width: 100%;
    clear: left;
}

.tops-new-dsgn .home-top-item-container:not(:first-child) {
    margin-top: 20px;
}

.tops-new-dsgn .home-top-item-container:not(:first-child).with-ribbon {
    margin-top: 26px;
}

.tops-new-dsgn .home-top-new {
    gap: unset;
    display: flex;
    margin: 0 0 25px 0;
    flex-direction: column;
}

.tops-new-dsgn .home-top-item > span.brand-ribbon:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    left: -11px;
    top: 15px;
    background: transparent;
    border-top: 5px solid #000;
    border-right: 5px solid #000;
    border-left: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.tops-new-dsgn .home-top-item > span.brand-ribbon {
    content: attr(data-rib-text);
    width: fit-content;
    position: absolute;
    left: -11px;
    top: -5px;
    border-radius: 3px 3px 3px 0;
    color: #fff;
    line-height: 20px;
    font-size: 12px;
    font-weight: 700;
    padding-inline: 10px;
}

.tops-new-dsgn .home-top-item-container span.brand-ribbon {
    line-height: 28px;
    font-size: 14px;
    border-radius: unset;
    top: -15px;
}

.tops-new-dsgn .home-top-item-container span.brand-ribbon::before {
    left: 0;
    top: 28px;
}

.exclusive-brand {
    font-size: 14px;
    color: #801819;
    background: #FFDF59;
    border-radius: 8px 0 8px 0;
    padding: 6px 10px;
    font-weight: 600;
    line-height: 16px;
}

.exclusive-brand > img {
    margin-top: -2px;
}

span.brand-ribbon > img {
    margin-top: -3px;
}

.tops-new-dsgn .home-top-item-container .home-top-item .number-top {
    height: 45px;
    width: 4%;
    background: var(--tops-number-bg);
    gap: 0;
    flex-grow: 0;
    border-radius: 0 4px 4px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.tops-new-dsgn .home-top-item-container .home-top-item .number-top .number-top-span {
    font-size: 12px;
    font-weight: 800;
    line-height: 16px;
    color: var(--tops-number-color);
    text-align: center;
}

.tops-new-dsgn .home-top-item-container .home-top-item .casino-name {
    width: 20%;
    max-width: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tops-new-dsgn .home-top-item-container .home-top-item .casino-name .stars,
.tops-new-dsgn .home-top-item-container .home-top-item .casino-name .stars_in {
    background-image: url(../img/commons/clf/home_stars_new.svg);
    margin-bottom: 6px;
    transform: scale(1);
}

.tops-new-dsgn .home-top-item-container .casino-name > a {
    font-size: 18px;
    line-height: 27px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    color: #343a40;
}

.tops-new-dsgn .home-top-item-container .casino-name > a:hover {
    text-decoration: underline;
}

.tops-new-dsgn .home-top-item-container .home-top-item {
    display: flex;
    height: auto;
    z-index: 2;
    background: #fff;
    align-items: center;
    position: relative;
    padding-block: 26px;
    border: solid 1px rgba(0, 0, 0, 0.075);
    padding: 20px 0;
    border-radius: 3px 3px 0 3px;
    box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.075);
}

.tops-new-dsgn .home-top-item-container .home-top-item.with-terms {
    border-bottom-left-radius: 0;
    border-bottom: unset;
}

.brand-terms {
    background: #F0F1F5;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 0 0 0 3px;
    z-index: 2;
    position: relative;
    color: #4E525D;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: none;
    box-shadow: 0 0.155em 0.25em rgba(0, 0, 0, 0.075);
}

.tops-new-dsgn .home-top-item-container .top-rating-wrap {
    display: flex;
    flex-direction: column;
}

.tops-new-dsgn .home-top-item-container.x2973 .casino-name {
    gap: 6px;
    padding-inline: 10px;
}

.tops-new-dsgn .home-top-item-container.x2973 .casino-name .stars {
    transform: unset !important;
}

.tops-new-dsgn .home-top-item-container.x2973 .top-rating-wrap {
    flex-direction: row;
    gap: 6px;
}

.tops-new-dsgn .home-top-item-container.x2973 .top-rating-wrap .stars {
    margin-top: 8px;
}

.tops-new-dsgn .home-top-item-container .casino-name-rating {
    font-size: 24px;
    font-weight: 800;
    line-height: 30px;
    text-align: center;
}

.tops-new-dsgn .home-top-item-container .bons-box {
    width: 24%;
    font-size: 1.565rem;
    padding-inline: 20px;
    line-height: 35px;
    text-align: center;
    font-weight: 600;
    display: grid;
    justify-items: center;
    min-height: 80px;
    align-items: center;
    gap: 5px;
}

.tops-new-dsgn .home-top-item-container .bons-box .bons-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: 800;
}

.tops-new-dsgn .home-top-item-container .bons-box a.link-get-bonus {
    color: #0f73e6;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

.tops-new-dsgn .home-top-item-container .bons-box a.link-get-bonus:hover {
    text-decoration: underline;
}

.tops-new-dsgn .home-top-item-container .bons-box .bons-box-top {
    font-size: 25px;
    line-height: 35px;
    font-weight: 800;
    text-align: center;
}

.tops-new-dsgn .home-top-item-container .bons-box .bons-box-top.no-biggest-bonus {
    background: rgba(244, 244, 244, 1);
    width: 100%;
    padding-bottom: 5px;
}

.tops-new-dsgn .home-top-item-container .bons-box .bons-box-top span {
    font-size: 18px;
    line-height: 25px;
    font-weight: 700;
    text-align: center;
    display: block;
}

.tops-new-dsgn .home-top-item > .top-item-btn {
    min-width: inherit;
    width: 24%;
    padding: 0 40px 0 10px;
    margin-top: -6px;
}

.tops-new-dsgn .home-top-item > div {
    box-sizing: border-box;
    flex-grow: 1;
}

.tops-new-dsgn .home-top-item > .top-item-btn > a {
    font-size: 18px;
    text-transform: uppercase;
    line-height: 24px;
    min-width: 100%;
    height: auto;
    padding: 14px 14px 14px 26px;
    position: relative;
    margin: 0;
    display: grid;
    justify-content: center;
    align-items: center;
    max-width: 170px;
    width: 100%;
    background-color: var(--tops-visit-button-bg);
    box-shadow: 0 5px 0 0 var(--tops-visit-button-shadow);
    grid-template-columns: 2fr 0fr;
}

.tops-new-dsgn .home-top-item > .top-item-btn > a img {
    visibility: hidden;
    max-width: unset;
    float: right;
}

.tops-new-dsgn .home-top-item > .top-item-btn > a:hover {
    background-color: var(--tops-visit-button-bg) !important;
    box-shadow: none;
}

.tops-new-dsgn .home-top-item > .top-item-btn > a:hover img {
    visibility: visible;
}

.tops-new-dsgn .home-top-item .top-item-btn .bank-logos {
    margin-top: 21px;
    max-width: 100%;
    overflow: hidden;
    display: block;
    text-align: center;
}

.tops-new-dsgn .home-top-item .top-item-btn .bank-logos img {
    width: 44px;
    height: auto;
    max-height: 26px;
}

.tops-new-dsgn .home-top-item .thumb-box > a {
    display: block;
    width: 268px;
    height: 107px;
}

.tops-new-dsgn .home-top-item .thumb-box img {
    float: left;
    max-width: 268px;
    display: inline-block;
    border: none;
}

.tops-new-dsgn .home-top-item .thumb-box {
    max-width: 268px;
    margin-left: 1.9%;
    width: 22.1%;
    position: relative;
    text-align: center;
    min-width: 140px;
}

.tops-new-dsgn .home-top-item .thumb-box > a,
.tops-new-dsgn .home-top-item .thumb-box img {
    width: 100%;
    height: auto;
}

@media (max-width: 1208px) {
    .tops-new-dsgn .home-top-item .thumb-box > a,
    .tops-new-dsgn .home-top-item .thumb-box img {
        /*width: 208px;*/
        /*height: 74px;*/
    }

    .tops-new-dsgn .home-top-item-container .casino-name > a {
        font-size: 16px;
        line-height: 24px;
    }

    .tops-new-dsgn .home-top-item-container .bons-box .bons-box-top {
        font-size: 20px;
        line-height: 28px;
    }

    .tops-new-dsgn .home-top-item-container .bons-box .bons-box-top span {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 918px) {
    .tops-new-dsgn .home-top-item .thumb-box > a,
    .tops-new-dsgn .home-top-item .thumb-box img {
        /*width: 200px;*/
        /*height: 80px;*/
    }

    .tops-new-dsgn .home-top-item .thumb-box {
        margin-left: 1.2%;
        width: 21.8%;
    }

    .tops-new-dsgn .home-top-item-container .casino-name > a {
        font-size: 18px;
        line-height: 27px;
    }

    .tops-new-dsgn .home-top-item-container .casino-name > a:hover {
        text-decoration: unset;
    }

    .tops-new-dsgn .home-top-item-container .bons-box {
        width: 25%;
        padding-inline: 25px;
    }

    .tops-new-dsgn .home-top-item > .top-item-btn {
        padding: 0 30px 0 5px;
    }

    .tops-new-dsgn .home-top-item > .top-item-btn > a {
        font-size: 18px;
        line-height: 20px;
        font-weight: 800;
        padding: 16px;
    }

    .tops-new-dsgn .home-top-item > .top-item-btn > a img {
        display: none !important;
    }

    .exclusive-brand {
        font-size: 12px;
        padding-block: 4px;
    }

    .exclusive-brand > img {
        height: 10px;
        width: 10px;
    }

}

@media (min-width: 910px) {
    .tops-new-dsgn .home-top-item .top-item-btn .bank-logos {
        display: flex;
    }
}

@media (max-width: 890px) {
    .tops-new-dsgn {
        display: block !important;
        padding: 0 !important;
    }

    .tops-new-dsgn .home-top-item-container .home-top-item .number-top {
        display: none;
    }

    .tops-new-dsgn .home-top-item .thumb-box,
    .tops-new-dsgn .home-top-item-container .home-top-item .casino-name,
    .tops-new-dsgn .home-top-item-container .bons-box,
    .tops-new-dsgn .home-top-item > .top-item-btn {
        margin: 0;
        width: 100% !important;
        max-width: inherit;
    }

    .tops-new-dsgn .home-top-item .thumb-box,
    .tops-new-dsgn .home-top-item-container .home-top-item .casino-name {
        padding-inline: 8%;
    }

    .tops-new-dsgn .home-top-item-container .home-top-item .casino-name .stars {
        margin-bottom: 10px;
    }

    .tops-new-dsgn .home-top-item .thumb-box {
        margin-block: 30px;
        height: 100%;
        grid-area: thumb-box;
        display: flex;
        align-items: center;
    }

    .tops-new-dsgn .home-top-item-container .casino-name > a {
        font-size: 16px;
        line-height: 24px;
    }

    .tops-new-dsgn .home-top-item-container .casino-name-rating {
        font-size: 30px;
        line-height: 45px;
    }

    .tops-new-dsgn .home-top-item .thumb-box > a,
    .tops-new-dsgn .home-top-item .thumb-box img {
        width: 180px;
        height: 72.6px;
        margin-inline: auto;
    }

    .tops-new-dsgn .home-top-item-container .bons-box {
        padding-inline: 8%;
        padding-bottom: 8px;
        height: 100%;
        grid-area: bons-box;
        border-left: #f0f1f5 solid 2px;
    }

    .tops-new-dsgn .home-top-item-container .bons-box .bons-box-top {
        font-size: 30px;
        line-height: 40px;
    }

    .tops-new-dsgn .home-top-item-container .bons-box .bons-box-top span {
        font-size: 25px;
        line-height: 35px;
    }

    .tops-new-dsgn .home-top-item-container .bons-box a.link-get-bonus {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 8px;
    }

    .tops-new-dsgn .home-top-item-container .home-top-item:not(.with-banking) .bons-box a.link-get-bonus {
        margin-top: 8px;
    }

    .tops-new-dsgn .home-top-item > .top-item-btn {
        padding: 0 8% 6px;
        display: flex;
        height: 100%;
        grid-area: top-item-btn;
        flex-direction: column;
        border-left: #f0f1f5 solid 2px;
    }

    .tops-new-dsgn .home-top-item.with-banking > .top-item-btn {
        padding-bottom: 0;
    }

    .tops-new-dsgn .home-top-item-container .home-top-item {
        display: grid;
        grid-gap: 0;
        padding: 16px 0;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 0fr;
        grid-template-areas:
        "thumb-box bons-box"
        "casino-name top-item-btn";
    }

    .home-top-item-container.x2973 .home-top-item {
        gap: 10px 0;
        padding-block: 16px;
        grid-template-rows: 2.5fr 0fr;
        grid-template-areas:
        "thumb-box casino-name"
        "top-item-btn top-item-btn";
    }

    .tops-new-dsgn .home-top-item .thumb-box > a,
    .tops-new-dsgn .home-top-item .thumb-box > picture > img,
    .tops-new-dsgn .home-top-item-container .home-top-item .casino-name {
        margin-top: -35px;
    }

    .tops-new-dsgn .home-top-item-container .home-top-item .casino-name {
        height: fit-content;
        grid-area: casino-name;
    }

    .tops-new-dsgn .home-top-item-container .home-top-item .casino-name > div.stars {
        flex-shrink: 0;
    }

    .tops-new-dsgn .home-top-item > .top-item-btn > a {
        margin-top: auto !important;
    }
}

@media (max-width: 738px) {
    .tops-new-dsgn .home-top-item-container .bons-box .bons-box-top {
        font-size: 25px;
        line-height: 33px;
    }

    .tops-new-dsgn .home-top-item-container .bons-box .bons-box-top span {
        font-size: 20px;
        line-height: 30px;
    }
}

@media (max-width: 548px) {
    .tops-new-dsgn .home-top-item-container .casino-name > a {
        font-size: 100%;
    }

    .tops-new-dsgn .home-top-item .thumb-box > a, .tops-new-dsgn .home-top-item .thumb-box img {
        width: 160px;
        height: 64px;
    }

    .tops-new-dsgn .home-top-item-container .bons-box .bons-title {
        font-size: 12px;
        line-height: 16px;
    }

    .tops-new-dsgn .home-top-item-container .bons-box a.link-get-bonus {
        font-size: 18px;
        line-height: 25px;
    }

    .tops-new-dsgn .home-top-item > .top-item-btn > a {
        font-size: 14px;
    }
}

@media (max-width: 458px) {
    .tops-new-dsgn .home-top-item .thumb-box > a, .tops-new-dsgn .home-top-item .thumb-box img {
        width: 114px;
        height: 46px;
    }

    .tops-new-dsgn .home-top-item-container .bons-box .bons-box-top {
        font-size: 18px;
        line-height: 25px;
    }

    .tops-new-dsgn .home-top-item-container .bons-box .bons-box-top span {
        font-size: 14px;
        line-height: 20px;
    }

    .tops-new-dsgn .home-top-item-container .bons-box a.link-get-bonus {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 428px) {
    .tops-new-dsgn .home-top-item-container .bons-box .bons-box-top {
        font-size: 20px;
        line-height: 30px;
    }

    .tops-new-dsgn .home-top-item-container .bons-box .bons-box-top span {
        font-size: 16px;
        line-height: 24px;
    }
}

@media (max-width: 380px) {
    .tops-new-dsgn .home-top-item-container .bons-box a.link-get-bonus {
        font-size: 50%;
    }
}