.h2-style {
    color: #000000;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.quick-view-container {
    display: flex;
    margin-top: 65px;
    gap: 25px;
    /* width: 1080px; */
    width: 1180px;
    max-height: 464px;
    position: relative;
}

.quick-view-iframe {
    width: 40%;
}

.events-iframe {
    width: 60%;
    max-height: 464px;
}

#shorts-iframe {
    max-height: 520px;
}

#search-iframe {
    max-height: 940px;
}

.page-container {
    /* width: 1080px; */
    width: 1180px;
}

#gainer-loser-container {
    direction: ltr;
    display: flex;
    gap: 20px;
    margin-bottom: 52px;
    margin-top: -26px;
}

#gainer-loser-container>div {
    width: 100%;
}

#gainer-loser-container table td,
#gainer-loser-container table th {
    text-align: left !important;
}

#gainer-loser-container li {
    text-align: left !important;
}

#coin-calculator-container,
#coin-calculator-container li,
#coin-calculator-container ul,
.select2-results__options li {
    text-align: left !important;
    direction: ltr !important;
}

#coin-calculator-container {
    margin-bottom: 44px;
}

#cryptocurency-market-cap-wrapper {
    margin-bottom: 113px;
}

#coin-single-page-data {
    margin-bottom: 83px;
}

#head-title-crypto-table,
#head-title-crypto-gainers-losers-table {
    font-family: "rubik", arial;
    text-align: center;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    position: relative;
    color: #3d7fb8;
    font-size: 24px;
    background-color: white;
}

#head-title-crypto-table {
    margin-bottom: -40px;
    color: #00367C;
}

#head-title-crypto-table::before,
#head-title-crypto-gainers-losers-table::before {
    content: "";
    position: absolute;
    right: 37px;
    bottom: -2px;
    height: 1.5px;
    /*3px*/
    width: 220px;
    background-color: #FFA527;
    /*#e5b485*/
    transition: width 1.5s ease;
    z-index: 2;
}

.up-down-header {
    font-family: "rubik", arial;
    text-align: center;
    font-weight: normal;
    font-size: 19.5px;
}

/* for the top arrows START */
.toparrow {
    position: relative;
    display: inline-block;
    font-size: 16px;
    text-align: center;
    width: 40px;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    text-transform: uppercase;
    cursor: pointer;
    transition: width 0.5s ease-in-out, margin 0.5s ease-in-out,
        border-radius 0.25s ease-in-out, color 0.25s ease-in-out;
}

.toparrow.green {
    color: #399918;
    border: 2px solid #399918;
    border-radius: 5px;
}

.toparrow.red {
    color: #fd5e53;
    border: 2px solid #fd5e53;
    border-radius: 5px;
}

.toparrow.red.toparrow-active {
    font-weight: bold;
    box-shadow: 0 0 0 1px #fd5e53;
}

.toparrow.green.toparrow-active {
    font-weight: bold;
    box-shadow: 0 0 0 1px #399918;
}

.toparrow:hover {
    width: 20px;
    border-radius: 40px;
    color: rgba(179, 195, 58, 0);
    transition: width 0.5s ease-in-out, margin 0.5s ease-in-out,
        border-radius 1s 0.25 ease-in-out, color 0.25s ease-in-out 0.25s;
}

.toparrow:hover:before {
    animation: lineUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}

.toparrow.red:hover:before {
    animation: lineUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite reverse 0.5s;
}

.toparrow:hover:after {
    animation: tipUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}

.toparrow.red:hover:after {
    animation: tipUpRed 1s cubic-bezier(0, 0.6, 1, 0.4) infinite reverse 0.5s;
}

.toparrow:before {
    position: absolute;
    display: inline-block;
    content: "";
    width: 4px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -2px;
    transform: translateY(50px);
}

.toparrow.green:before {
    background: #399918;
}

.toparrow.green:after {
    color: #399918;
}

.toparrow.red:before {
    background: #fd5e53;
    top: 25%;
}

.toparrow.red:after {
    color: #fd5e53;
    transform: translateY(50px) rotateZ(-135deg);
    top: 95%;
}

.toparrow:after {
    position: absolute;
    display: inline-block;
    content: "";
    width: 12px;
    height: 12px;
    border-top: 4px solid;
    border-left: 4px solid;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -6px;
    transform: translateY(50px) rotateZ(45deg);
}

.top-btn-container:hover .toparrow,
.toparrow:hover {
    width: 20px;
    border-radius: 40px;
    color: rgba(179, 195, 58, 0);
    transition: width 0.5s ease-in-out, margin 0.5s ease-in-out,
        border-radius 1s 0.25 ease-in-out, color 0.25s ease-in-out 0.25s;
}

.top-btn-container:hover .toparrow:before,
.toparrow:hover:before {
    animation: lineUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}

.top-btn-container:has(.toparrow.red):hover .toparrow.red:before,
.toparrow.red:hover:before {
    animation: lineUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite reverse 0.5s;
}

.top-btn-container:hover .toparrow:after,
.toparrow:hover:after {
    animation: tipUp 1s cubic-bezier(0, 0.6, 1, 0.4) infinite 0.5s;
}

.top-btn-container:has(.toparrow.red):hover .toparrow.red:after,
.toparrow.red:hover:after {
    animation: tipUpRed 1s cubic-bezier(0, 0.6, 1, 0.4) infinite reverse 0.5s;
}

.top-btn-container {
    margin: auto;
    padding: 10px;
    width: 60px;
    display: flex;
    justify-content: center;
}

.top-btns-container {
    display: flex;
    justify-content: center;
    background: #fff;
    margin: 10px auto;
    gap: 35px;
}

.downButton .svgIcon {
    transform: rotate(180deg);
    transform-origin: center;
}

@keyframes tipUp {
    0% {
        transform: translateY(50px) rotateZ(45deg);
    }

    100% {
        transform: translateY(-70px) rotateZ(45deg);
    }
}

@keyframes tipUpRed {
    0% {
        transform: translateY(50px) rotateZ(-135deg);
    }

    100% {
        transform: translateY(-70px) rotateZ(-135deg);
    }
}

@keyframes lineUp {
    0% {
        transform: translateY(50px);
    }

    100% {
        transform: translateY(-70px);
    }
}

@media screen and (max-width: 900px) {

    .crypto-graphs-container {
        width: 100%;
    }

    .page-container {
        width: 100%;
    }

    .quick-view-container {
        width: 100%;
    }

    .header-crypto-technical-analysis {
        width: 100%;
    }

    #trading-analysis {
        width: 100%;
    }

    #trading-analysis-container {
        align-items: center;
    }

    .wrapper-tradingview-widget-container #trading-analysis {
        left: 0 !important;
    }
/* 
    #forum-widget {
        margin-top: 0 !important;
    } */

    div[id*="cmc_"].dataTables_wrapper div.dataTables_paginate a.paginate_button {
        min-width: 58px;
    }

    .cmc-containers-group {
        width: 100% !important;
    }

    #head-title-crypto-table {
        margin-bottom: 0;
    }

    .top-down-button-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }

    #gainer-loser-container {
        flex-flow: column;
    }

    .wrapper-tradingview-widget-container {
        transform: scale(1.3, 1.3) !important;
        margin-top: 34px !important;
        padding-bottom: 51px;
    }

    #trading-analysis-container {
        height: max-content !important;
        overflow: hidden;
    }

    .tradingview-widget-container#trading-analysis {
        /* height: 410px !important;
        overflow: hidden; */
    }
}

@media screen and (max-width: 600px) {
    div[id*="cmc_"].dataTables_wrapper div.dataTables_paginate a.paginate_button {
        min-width: 45px;
    }

    .latest-posts-widget-class li:not(:last-child) {
        margin-bottom: 10px !important;
    }

    ul.tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        justify-content: unset;
    }

    #coins-charts {
        left: unset !important;
    }
}

@media screen and (max-width: 400px) {
    .wrapper-tradingview-widget-container {
        transform: scale(1.2, 1.2) !important;
        margin-top: 16px !important;
        padding-bottom: 35px;
    }
}