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

.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: 8px 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: 28px;
    width: 3%;
    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: #fff;
    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 {
    padding-block: 26px;
    height: auto;
    display: flex;
    z-index: 1;
    align-items: center;
    background: #fff;
    position: relative;
    padding: 20px 0;
    border: solid 1px rgba(0, 0, 0, 0.075);
    box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.075);
    border-radius: 3px 3px 0 3px;
}

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

.brand-terms {
    background: #F0F1F5;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 0 0 0 3px;
    z-index: 1;
    color: #4E525D;
    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: 10px;
}

.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: 27px;
    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: 10px;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.tops-new-dsgn .home-top-item .top-item-btn .bank-logos img {
    width: calc((80% - 18px) / 4);
    height: auto;
    max-height: 26px;
    max-width: 44px;
}

.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;
}

.show-more-topsdetails {
    position: relative;
    background: #F0F1F5;
    color: #4E525D;
    padding: 5px 10px;
    float: right;
    z-index: 0;
    border-radius: 0 0 4px 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    cursor: pointer;
    box-shadow: 0 0.155em 0.25em rgba(0, 0, 0, 0.075);
}

.show-more-topsdetails img {
    width: 6px;
    height: 10px;
    margin-top: -2px;
}

.topsdetails-wrapper {
    background: #F0F1F5;
    padding: 0 16px 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    height: 0;
    overflow: hidden;
    position: relative;
    box-shadow: none;
    transition: height .3s linear;
}

.topsdetails-wrapper.active {
    padding-top: 16px;
    height: auto;
    z-index: 0;
    box-shadow: 0 0.155em 0.25em rgba(0, 0, 0, 0.075);
}

.topsdetails-wrapper.no-terms-text.active {
    padding-bottom: 16px;
}

.benefits-wrap,
.withdrawal-time-wrap,
.payment-methods-wrap {
    width: calc((100% / 3) - 7px);
    background: #fff;
    padding: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    flex-direction: column;
}

.benefits-wrap {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.benefits-wrap ul {
    padding: 0;
    max-width: 80%;
    margin-right: -20px;
}

.benefits-wrap li {
    list-style-type: none;
}

.benefits-wrap li:before {
    content: '';
    position: absolute;
    width: 11px;
    height: 14px;
    background-image: url(../img/commons/gr2/icon_pointers.svg);
    background-repeat: no-repeat;
    margin-left: -20px;
    margin-top: 5px;
}

.details-wrap-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 9px;
}

.details-wrap-content {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
    color: rgba(52, 58, 64, 1);
    line-height: 30px;
    margin-bottom: 9px;
}

.withdrawal-time-wrap .details-wrap-content {
    margin-block: 15px;
}

.payment-methods-wrap .details-wrap-content {
    gap: 10px;
}

.payment-methods-wrap .details-wrap-content .bank-logo {
    padding: 4px;
    border-radius: 5px;
    border: 1px solid rgba(208, 211, 221, 1);
}

.payment-methods-wrap .details-wrap-content img {
    width: 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: 891px) {
    .benefits-wrap {
        width: 45%;
    }
    .withdrawal-time-wrap {
        width: 20%;
        min-width: 180px
    }
    .payment-methods-wrap {
        width: calc(35% - 40px);
        flex-grow: 1;
    }
}

@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: 20px;
        line-height: 30px;
    }

    .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;
    }

    .topsdetails-wrapper {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        grid-template-rows: 1fr 0fr;
        grid-template-areas:
        "benefits withdrawal"
        "payment payment";
    }

    .benefits-wrap, .withdrawal-time-wrap, .payment-methods-wrap {
        width: 100%;
    }

    .benefits-wrap {
        grid-area: benefits;
    }

    .withdrawal-time-wrap {
        grid-area: withdrawal;
    }

    .payment-methods-wrap {
        grid-area: payment;
    }

}

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

@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-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;
    }

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

    .topsdetails-wrapper {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 428px) {
    .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 .top-item-btn .bank-logos {
        display: block;
        text-align: center;
        width: 80%;
        margin-inline: auto;
    }

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