/* ============================================
   THEME.BS5.CSS - Bootstrap 5 Compatible Theme
   GameTame Custom Styles
   ============================================ */

/* ============================================
   LAYOUT & SPACING
   ============================================ */
body {}

#content {
    min-height: 69vh;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.display-none {
    display: none;
}

.heading-div {
    height: 50px;
    width: 98%;
}

/* ============================================
   CHAT SYSTEM
   ============================================ */
.chat-button {
    border-radius: 4px !important;
    padding: 12px !important;
    background: green;
    color: white;
}

.chat-input {
    border-radius: 4px !important;
    padding: 12px !important;
}

.chat-message {
    padding: 10px 5px !important;
    border: 1px solid var(--bs-border-color);
    margin: 4px;
    background: var(--bs-body-bg);
    border-radius: 10px;
}

.message_div>img {
    margin: 0 10px;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    vertical-align: middle;
}

.admin-button {
    border-radius: 4px !important;
    padding: 8px !important;
    background: red;
    color: white;
}

.message-container {
    padding: 4px;
    margin-top: 8px;
}

.message-container>div {
    height: 600px;
    overflow-y: auto;
}

.chat {
    padding-top: 4px;
}

.chat-container {}

.chat-container .col-md-2,
.chat-container .col-md-10 {
    padding: 0;
}

.chat-container .card {
    margin-bottom: 0px;
}

.chat-window {
    bottom: 0;
    right: 2px;
    position: fixed;
    width: 335px;
}

.chat-window>div>.card {
    border-radius: 5px 5px 0 0;
}

.icon_minim {
    padding: 2px 10px;
    color: white;
}

.msg_container_base {
    background: #555555;
    margin: 0;
    padding: 0 10px 10px;
    max-height: 285px;
    overflow-x: hidden;
    font-size: 12px;
}

.chat-container .top-bar {
    color: white;
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.chat-container .msg_receive {
    padding-left: 0;
    margin-left: 0;
}

.chat-container .msg_sent {
    margin-right: 0;
}

.chat-container .messages {
    background: white;
    padding: 10px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

.chat-container .messages>p {
    font-size: 13px;
    margin: 0 0 0.2rem 0;
}

.chat-container .msg_container {
    padding: 0px 10px 0 10px;
    overflow: hidden;
    display: flex;
}

.chat-container img {
    display: block;
    width: 100%;
}

.chat-container .avatar {
    position: relative;
}

.chat-container .base_receive .avatar:after {
    content: "";
    position: absolute;
    top: 0;
    right: -2px;
    z-index: 5;
    width: 0;
    height: 0;
    border: 5px solid #FFF;
    border-left-color: rgba(0, 0, 0, 0);
    border-bottom-color: rgba(0, 0, 0, 0);
}

.chat-container .base_sent {
    justify-content: flex-end;
    align-items: flex-end;
}

.chat-container .base_sent .avatar:after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: -1px;
    width: 0;
    height: 0;
    border: 5px solid white;
    border-right-color: transparent;
    border-top-color: transparent;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.chat-container .msg_sent>time {
    float: right;
}

.chat-container .msg_container_base::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

.chat-container .msg_container_base::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

.chat-container .msg_container_base::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #555;
}

.chat-container .btn-group.dropup {
    position: fixed;
    left: 0px;
    bottom: 0;
}

.chat-container img {
    height: 40px;
    width: 40px;
    padding: 4px;
    border: 1px solid white;
}

.chat-user-name {
    font-size: 10px;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
}

.chat-container .msg_container .time {
    font-size: 9px;
    color: lightgray;
}

.chat-container .msg_container .smily {
    display: inline-block;
    height: 30px;
    width: 30px
}

.a_container {
    margin: 0px 0 15px 0px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid var(--bs-border-color);
}

.top {
    padding-left: 5px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--bs-border-color);
}

.top a {
    font-weight: bold;
    color: rgba(0, 153, 204, 1);
}

.top img {
    border: 2px #6C0 solid;
}

.inside {
    padding: 5px;
}

.time {
    padding-left: 5px;
    font-size: 9px;
    color: #999;
}

/* ============================================
   STORE & PRODUCT CARDS
   ============================================ */
.store-tab {
    height: 100px;
    font-size: 30px;
    padding-top: 25px !important;
}

.productHome {
    border-bottom: solid 1px var(--bs-border-color);
    margin-bottom: 30px;
    text-align: center;
}

.productHome .image {
    overflow: hidden;
}

.productHome .image img {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .productHome .image img.img-fluid {
        min-width: 100%;
    }
}

.productHome .text {
    padding: 5px;
}

.productHome .text h3 {
    font-size: 13px;
    font-weight: 300;
    overflow: hidden;
    max-height: 40px;
    min-height: 40px;
    margin: 5px 0 5px 0;
}

.productHome .text h3 a {
    color: var(--bs-body-color);
}

.productHome .text h3 a:hover {
    text-decoration: none;
}

.productHome .text p.price {
    font-size: 15px;
}

.productHome .text p.price del {
    color: var(--bs-secondary-color);
}

.productHome .buttons {
    clear: both;
    position: absolute;
    display: none;
    bottom: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    border: solid 1px transparent;
    padding: 10% 0 0 0;
    background: rgba(255, 255, 255, 0.9);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    text-align: center;
}

.productHome .buttons .btn {
    margin-bottom: 20px;
}

.productHome:hover {
    border-bottom: solid 1px #808080;
    top: 0;
}

.productHome:hover .buttons {
    clear: both;
    position: absolute;
    display: block;
    bottom: 15px;
    background: rgba(255, 255, 255, 0.5);
    left: 0;
}

.productHome:hover .image img {
    -webkit-transform: scale(1.1, 1.1);
    -ms-transform: scale(1.1, 1.1);
    -o-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

/* ============================================
   EARNING OFFERS / WALL CARDS
   ============================================ */
.wall {
    background: var(--bs-body-bg);
    text-align: center;
    line-height: 60px;
    margin-top: 10px;
    border-radius: 4px;
    border: 2px solid var(--bs-border-color);
}

.wall:hover {
    border: 2px solid #38a7bb;
}

.wall:hover span.points {
    background: #02a8fe;
}

.wall img {
    max-width: 100%;
    vertical-align: middle;
}

.wall a {
    display: block;
    padding: 0px 5px;
}

.wall a:hover {
    opacity: 1 !important;
}

.wall.top {
    background: var(--bs-body-bg) url('../img/top.jpg') top right no-repeat;
}

.wall.new {
    background: var(--bs-body-bg) url('../img/new.jpg') top right no-repeat;
}

.wall span.points {
    display: block;
    line-height: 34px;
    background: #1bb833;
    border-radius: 4px;
    color: #fff;
    text-align: center;
    font-size: 15px;
    font-weight: 900;
    margin-left: -11px;
    margin-right: -11px;
    margin-top: 10px;
    margin-bottom: -1px;
}

.wall span.points small {
    opacity: .7;
    font-size: 75%;
    font-weight: 900;
    text-transform: uppercase;
    margin-left: 2px;
}

.wall span.load a {
    font-size: 20px;
    color: #333;
}

/* ============================================
   DAILY REWARDS & PROGRESS
   ============================================ */
.floating-giveaway {
    position: fixed;
    right: 10px;
    bottom: 50px;
    z-index: 10000;
}

.progress_image {
    height: 25px;
    margin-top: 10px;
    width: 100%;
}

#countdown {
    font-size: 18px;
    font-weight: bold;
    color: #006600;
}

/* ============================================
   BOOTSTRAP TOUR (Onboarding)
   ============================================ */
.tour-backdrop {
    position: absolute;
    z-index: 1100;
    background-color: #000;
    opacity: .8;
    filter: alpha(opacity=80)
}

.popover[class*="tour-"] {
    z-index: 1102
}

.popover[class*="tour-"] .popover-navigation {
    padding: 9px 14px;
    overflow: hidden
}

.popover[class*="tour-"] .popover-navigation *[data-role="end"] {
    float: right
}

.popover[class*="tour-"] .popover-navigation *[data-role="prev"],
.popover[class*="tour-"] .popover-navigation *[data-role="next"],
.popover[class*="tour-"] .popover-navigation *[data-role="end"] {
    cursor: pointer
}

.popover[class*="tour-"] .popover-navigation *[data-role="prev"].disabled,
.popover[class*="tour-"] .popover-navigation *[data-role="next"].disabled,
.popover[class*="tour-"] .popover-navigation *[data-role="end"].disabled {
    cursor: default
}

.popover[class*="tour-"].orphan {
    position: fixed;
    margin-top: 0
}

.popover[class*="tour-"].orphan .arrow {
    display: none
}

/* ============================================
   DARK THEME OVERRIDES
   ============================================ */
[data-bs-theme="dark"] .chat-message {
    background: var(--bs-dark);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .productHome .buttons {
    background: rgba(33, 37, 41, 0.9);
}

[data-bs-theme="dark"] .productHome:hover .buttons {
    background: rgba(33, 37, 41, 0.5);
}

[data-bs-theme="dark"] .wall span.load a {
    color: var(--bs-body-color);
}