@import "default.css";
@import "event.css";
@import "comment.css";

ul.tabs {
    border-bottom: var(--basic-border);
}

.tabs .tab.active {
    border-bottom: 2px solid rgba(22, 82, 240, 0.6);
}

.tabs .tab {
    text-transform: revert;
}
.topic-image, .market-image{
    max-width: 150px;
    height: auto;
    border-radius: 15px;
}

.tabs .tab a {
    color: var(--app-text-color) !important;
}

#event-dashboard-background {
    /*background-image: url("../img/tournaments.png");*/
    background-size: contain;
    height: 200px;
    background-repeat: no-repeat;
    background-position: center;
}

.link-text {
    color: var(--primary-link-color) !important;
}

.radiant-background {
    background-image: linear-gradient(120deg, rgba(80, 58, 54, .3) 0%, rgb(135, 118, 115, .6) 100%)
}

.statistics-circle {
    border-radius: 100%;
    height: 40px;
    width: 40px;
    border: none;

    position: relative;
}

.balance {
    font-size: 23px;
}


.balance-container {
    font-size: 20px;
}

.app-icon {
    color: #3e2723;
}

.inline-block-centered {
    display: inline-block !important;
    margin-right: auto;
    margin-left: auto;
}

header nav {
    box-shadow: none;
}


header nav img.logo {
    position: relative;
    top: 8px;
}

.no-background-hover-effect:hover {
    background-color: unset !important;
}


.edit-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;

}

.alt-background {
    background-color: rgba(135, 118, 115, 0.4);
}


#profile-image-background {
    width: 50px;
    height: 50px;
    background-size: cover;
    border-radius: 50%;
    border: var(--light-grey-border);
    background-repeat: no-repeat;
    background-position: center;
}

#profile-change-camera {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
    opacity: .5;
}

.app-text {
    color: var(--app-text-color) !important;
}

.app-alt-text {
    color: var(--app-alt-text-color) !important;
}

.sidenav#header-sidenav .collapsible-header {
    padding-left: 32px !important;
}

.sidenav#header-sidenav .collapsible-body li {
    padding-left: 20px;
}

#header-sidenav .header-avatar-icon {
    position: relative;
    top: 10px;
}

.statistics-circle .material-icons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-collapsible-header .material-icons.right {
    font-size: 35px;
    position: absolute;
    right: 10px;
}

.sidenav#header-sidenav .collapsible li {
    margin-top: 13px;
}

header .dropdown-content {
    margin: 20px 0 0 0;
    overflow: inherit;
}

header .dropdown-content::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(222, 222, 222, 1);
    transform: rotate(0deg);
    position: absolute;
    top: -10px;
    right: 5%;
}


nav {
    background-color: var(--white-color);
    /*border-bottom: 1px solid rgba(192, 192, 192, .3);*/
    box-shadow: none !important;
    padding-bottom: 100px;
    padding-right: 15px;

}


#mobile-navbar a.button {
    width: 80%;
}

#deposit-warning {
    background-color: #FEF6D8FF;
    padding: 30px 10px 20px;
    border-radius: 10px;
}

.wallet-address {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal; /* Allow wrapping */
    word-break: break-all; /* Force breaking on long words */
    font-family: monospace; /* Optional, for better readability */
    max-width: 100%; /* Ensure it doesn’t exceed container size */
}


.wallet-address-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

.crypto-deposit-icon {
    left: 47%;

}

.barcode-container {
    padding-top: 30px;
}

.barcode-container div {
    margin-left: auto;
    margin-right: auto;
}

nav .nav-wrapper {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
}

nav .nav-wrapper ul li a:not(.button):not(.link-text) {
    color: rgba(0, 0, 0, .7);
    height: 60px;
    padding-top: 10px;
}

nav ul li a.relative {
    font-size: 14px;
}


#mobile-profile-expand-more {
    position: absolute;
    right: 10px;
    top: 4px;
}


.sidenav .figures {
    position: absolute;
    right: 10px;
    top: 14px;
}

#mobile-profile-dropdown-text {
    position: relative;
    left: 30px;
}


nav .nav-wrapper ul li a .material-icons {

    left: 10px;
    /*top: -10px ; */
    font-size: 15px;
}

nav .nav-wrapper ul li a:not(.button):not(.link-text):hover {
    color: rgba(0, 0, 0, 1) !important;
}

.mobile-market-search .search-container {
    display: block;
}

.mobile-market-search {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.search-markets {
    padding: 10px 40px;
    border-radius: 10px;
    border: var(--light-grey-border);
    transition: width 0.3s ease;
    height: 45px;
    display: inline-block;
}

.search-markets:focus {
    background-color: whitesmoke;
    border: var(--focused-border) !important;
    outline: none;
}

.search-markets:focus ~ .search-icon {
    color: #000 !important;
}

#chart {
    position: relative;
}

#chart-container::before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 80px;
    opacity: 0.2;
    background-image: url('/img/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 150px;


}

#app-logo {
    top: 15px;
    max-height: 120px;
    max-width: 120px;
    position: relative;
    left: 10px;
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translate(-50%, -50%);
    color: grey;
    font-size: 14px;
}

.search-suggestion {
    position: relative;
    top: -2px;
}

.search-suggestion-container {
    position: absolute;
    z-index: 3;
}

.collection-item .collection-event-title {
    color: var(--black-color) !important;
    font-weight: normal;
}

.search-suggestion-container::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 40%;
    transform: translateY(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--grey-color);
    pointer-events: none; /* Prevent interaction */
}

.search-suggestion li.collection-item {
    display: block;
    width: 100%
}

.dashboard .loading-indicator {
    top: 100px;
}

#offline-indicator {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 20px;
    text-align: center;
    z-index: 1000;
}


.search-container {
    display: inline-block;
    position: relative;
}

.nav-wrapper .search-container {
    position: absolute;
    left: 15%;
}


#quick-action-text {
    float: right;
}

.action-button {
    display: inline-block;
}

@media screen and (max-width: 600px) {
    .search-markets {
        width: 100%;
    }
}

.search-markets {
    width: 260px;
}

canvas#chart{
    width: 100% !important;
    height: 300px !important;
}
.mobile-market-search .search-markets {
    width: 100%;
}

.nav-wrapper .search-markets:focus {
    width: 270px;
}

@media screen and (min-width: 601px) {

}

@media only screen and (min-width: 993px) {
    .valign-desktop {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .tabs .tab.active {
        position: relative;
        top: -2px;
    }
}

.avatar-profile.small-profile {
    width: 30px !important;
    height: 30px !important;
}

.avatar-profile {
    background-size: cover;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    border: var(--light-grey-border);
    display: inline-block;
}

#header-avatar-dropdown-link .material-icons {
    font-size: 38px !important;
}

@media only screen and (max-width: 993px) {
    #quick-action-text {
        float: left;
    }

    .scroll-icon {
        display: none;
    }
}

#footer-links-container a {
    margin-left: 20px;
}

.page-footer ul li {
    margin-bottom: 10px;
}

main {
    flex: 1 0 auto;
}

.banners-container, .topics-container {
    margin-bottom: 30px;
    position: relative;
    width: 100%; /* Set the container's width */
    overflow-x: auto; /* Allow horizontal scrolling */
    overflow-y: hidden;
    white-space: nowrap; /* Prevent content from wrapping to the next line */
/ / border: 1 px solid #ccc; /* Optional: Add a border for better visibility */
}

.event-title {
    font-size: 13px;
    position: relative;
    left: 12px;
}

.event {
    height: 226px;
    border: var(--basic-border);
    border-radius: 10px;
    padding: 20px 10px 0;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.event .row.outcomes {
    height: 175px;
    overflow: auto;
    /*border: var(--basic-border)*/;
    margin-bottom: 40px;

}

.event .statistics .data {
    font-size: 13px;
    color: var(--blue-grey-text);
}

.event .statistics .data.material-icons {
    font-size: 16px;
}

.event .statistics {
    z-index: 2;
    height: 40px;
    width: 100%;
    top: 185px;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 5px 15px 0;
    padding: 10px;
}

.comments-count:hover {
    opacity: .6;

}


.binary-outcome-button {
    height: 40px;
    display: inline-block;
    border: none;
    font-weight: bolder;
}

.binary-outcome-button:hover span.material-icons.outcome-direction {
    animation: blink 3s infinite;
}

.outcomes a.binary-outcome-button.first, .event-outcome-stake-button {
    background-color: var(--binary-button-first-child-background-color) !important;
    color: var(--success-color) !important;
}

.outcomes a.binary-outcome-button.last {
    background-color: var(--binary-button-last-child-background-color) !important;
    color: var(--danger-color) !important;
}


.outcomes a.binary-outcome-button.first:hover, .event-outcome-stake-button:hover {
    background-color: var(--success-color) !important;
    color: var(--white-color) !important;
}

.outcomes a.binary-outcome-button.last:hover {
    background-color: var(--danger-color) !important;
    color: var(--white-color) !important;
}


.pro {
    position: relative;
    margin: 4px;
    float: left;
    text-align: center;
}

.load-more-events-button {
    width: 140px;
}


.barOverflow { /* Wraps the rotating .bar */
    position: relative;
    overflow: hidden; /* Comment this line to understand the trick */
    width: 50px;
    height: 25px; /* Half circle (overflow) */
    margin-bottom: -14px; /* bring the numbers up */
}

.bars {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px; /* full circle! */
    border-radius: 50%;
    box-sizing: border-box;
    border: 5px solid #eee; /* half gray, */

}

a.topic:hover {
    border: 2px solid var(--primary-link-color);
}


a.topic.active {
    color: var(--white-color);
    background-color: var(--primary-link-color);

}

.collection-item .collection-content {
    padding: 10px;
}

.market-tab {
    display: inline-block;
}

a.topic {
    background-color: var(--grey-background-color);
    text-align: center;
    border-radius: 20px;
    display: inline-block;
    padding: 10px 13px;
    font-weight: bold;
    color: var(--black-color);
    margin-right: 15px;
    transition: border 0.1s linear;
}

.white-space {
    white-space: normal;
}

.banner {
    height: 165px;
    padding-top: 18px;
    padding-bottom: 30px !important;
    padding-left: 20px;
    width: 330px;
    border-radius: 20px;
    border: none;
    display: inline-block;
    margin-right: 20px;

}

.banner-col {
    height: 140px;
}


.banner-description {
    color: var(--white-color);
    font-size: 12px;
    max-height: 100px; /* Set the height limit */
    overflow-y: auto;
}

.binary-outcome-button {
    width: 100%;
    display: block !important;
}

.banner:nth-of-type(1) {
    background: linear-gradient(to bottom right, cornflowerblue, cadetblue 60%, dodgerblue 90%);
}

.banner:nth-child(2n) {
    background: linear-gradient(to bottom right, forestgreen, darkseagreen 60%, darkolivegreen 90%);
}

.banner:nth-child(3n) {
    background: linear-gradient(to bottom right, darkgoldenrod, goldenrod 60%, palegoldenrod 90%);
}

.banner:nth-child(4n) {
    background: linear-gradient(to bottom right, cadetblue, cadetblue 60%, palegoldenrod 90%);
}


.banner:nth-child(5n) {
    background: linear-gradient(to bottom right, darkcyan, darkcyan 60%, palegoldenrod 90%);
}

.banner:nth-child(7n), .banner:nth-child(23n) {
    background: linear-gradient(to bottom right, #c0ca33, #c0ca33 60%, palegoldenrod 90%);
}

/* Scroll arrow button */
.scroll-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white-color);
    font-size: 24px;
    border: none;
    padding: 5px;
    cursor: pointer;
    z-index: 10;
    text-align: center;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    display: none;

}

.banners:hover .scroll-icon, .topics:hover .scroll-icon {
    display: inline-block;
}

.scroll-icon .material-icons {
    position: relative;
    top: -5px;
    right: 3px;
}

.scroll-icon:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.scroll-icon.scroll-icon-right {
    right: 0;
}

.banner .banner-title {
    color: var(--white-color);
}

.banner-image-container img {
    max-height: 200px;
    width: 145px;
    border: 4px solid var(--white-color);
    border-right: none;
    float: right;
}


main#content {
    margin-top: 20px;
}

main.no-container {
    padding-left: 2.5%;
    padding-right: 2.5%;
}

main#content.dashboard {
    margin-top: 70px;
}

.activity{
    border-bottom:  1px solid var(--basic-border-color);
}
.activity-container:hover{
    background-color: var(--grey-background-color) !important;
}
.activity-event-image{
    max-height: 70px;
    max-width: 50px;
    border-radius: 5px;
}
.activity .activity-avatar{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 2px;
}
.leaderboard-image-content{
    width: 40px;
}
.leaderboard-counter{
    position: absolute;
    border: 1px solid white;
    border-radius: 50%;
    height: 15px;
    width: 15px;
    text-align: center;
    color: white;
    right: 0;
    font-size: 8px;
}
.leaderboard-counter:nth-child(1){
    background-color: red;
}
.leaderboard-counter:nth-child(2){
    background-color: green;
}
.leaderboard-counter:nth-child(2){
    background-color: blue;
}
.leaderboard-counter:nth-child(n+4){
    background-color: black;
}
.bolder{
    font-weight: bolder !important;
}
.resource p{
    margin-bottom: 25px;
}
.resource h6{
    font-weight: bold;
}
.resource ul li{
    list-style-type: disc;
}
.placeholder{
    height: 40px;
}
.leaderboard-avatar{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 2px;
}

.leaderboard-container{
    padding: 15px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 5px 15px 0;
}
#resets-in{
    margin-top: 10px;
    margin-bottom: 10px;
}
ol.lower-alpha{list-style-type: lower-alpha; !important;}
