/*
@tailwind base;
@tailwind components;
@tailwind utilities; 
*/


:root {
    --dek-toast-text-color: var(--dek-modal-text-color);
    --dek-toast-body-color: var(--dek-modal-border-color);
    --dek-toast-border-color: var(--dek-modal-body-color);
}

body {
    background: transparent;
    text-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.5);
    height: 100vh;
    width: 100vw;
    /* box-shadow: inset 0 0 5rem rgba(0, 0, 0, .25); */
}

html {
    background: transparent;
}


#button-container {
    width: 78px;
    overflow-y: auto;
    overflow-x: hidden;
}

.header-color {
    background-color: var(--dek-card-header-color);
}

hr.nav-hr {
    background-color: var(--dek-modal-border-color);
    height: 1px;
    border: 0;
    padding-left: 3px;
    padding-right: 3px;
    margin-bottom: 0px;
    margin-top: 0px;
}

.card {
    border-radius: 9px;
}
.card-title {
    /* height: 48px; */
    background-color: var(--dek-card-header-color);
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}
.card .btn {
    color: #e4e4e4 !important;
}
.btn,
.form-control,
.card,
.img-thumbnail,
.modal-body {
    transition: color 1s, background-color 0.5s, border-color 1s,
        box-shadow 0.5s, border-radius 0.5s, opacity 0.5s;
}
.form-control.angry {
    border-color: #c1687b !important;
}
.modal-content {
    border-width: 4px;
    border-style: solid;
}
.btn-bg {
    border-radius: 100%;
    background-color: rgba(72, 72, 72, 0.25);
    color: #e4e4e450;
}
.btn-bg:focus,
.btn-bg:hover,
.btn-bg:active,
.btn-bg.active {
    border-radius: 20%;
    background-color: var(--dek-secondary-darkest) !important;
    color: var(--dek-text-color);
}

.drag-border {
    border: 2px solid var(--dek-secondary-normal) !important;
    border-radius: 20% !important;
}
.opacity img {
    opacity: 0;
}
.opacity0 {
    opacity: 0;
}
.opacity1 {
    opacity: 1;
}
.opacity-half {
    opacity: 0.5;
}

.btn-grey {
    background-color: #4f545c;
}
.btn-grey:hover {
    background-color: #5d6269;
}
.modal-content,
.modal-header,
.modal-footer {
    color: var(--dek-modal-text-color);
    background-color: var(--dek-modal-body-color);
    border-color: var(--dek-modal-border-color);
}
/* .modal-header {
    background-color: var(--dek-card-header-color);
} */

.modal-fullscreen {
    border: 2px solid var(--dek-info-normal);
}

.list-group-dropdown {
    background-color: var(--dek-darker-3);
    /* border: 2px solid var(--dek-darker-4); */
}
.list-group-dropdown .list-group-item {
    color: var(--dek-text-color);
    background-color: transparent;
    cursor: pointer;
}
.list-group-dropdown .list-group-item:hover {
    background-color: var(--dek-secondary-darker);
}

.list-group-item.active {
    background-color: var(--dek-secondary-darker) !important;
    border-color: transparent;
    opacity: 1;
}

.img-thumbnail {
    background-color: var(--dek-card-body-color);
    border: none;
}
.no-shadow {
    box-shadow: none;
}
.img-48 {
    height: 48px;
}
.btn-58 {
    height: 58px;
    width: 58px;
}
.fix-w {
    max-width: 72px;
}
.tooltip {
    transition: opacity 1s;
}
.card {
    color: var(--dek-card-text-color);
    background-color: var(--dek-card-body-color);
    border-color: transparent;
    border: none;
    /* box-shadow: none; */
}
input[type='color']::-webkit-color-swatch-wrapper {
    padding: 0;
}
input[type='color']::-webkit-color-swatch {
    border: inherit;
}
.input-wrapper {
    height: 48px;
}
.modal-white {
    background-color: #e4e4e4;
    color: #18191c;
}
.small,
small {
    font-size: 0.875em;
    line-height: 1.25em;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-x: hidden;
}

.fa-big {
    font-size: 1.75em;
    line-height: 2.5rem;
}

.half-opacity {
    opacity: 0.5;
}

.h320 {
    min-height: 320px;
    max-height: 320px;
}

.navbar {
    height: 72px;
    background-color: var(--dek-darker-3);
    border-bottom: 3px solid var(--dek-card-header-color);
    /* margin-bottom: 2rem; */
}

.footer {
    height: 64px;
    /* width: 100%; */
    padding: 1.4rem;
    border-top: 2px solid var(--dek-card-header-color);
    justify-content: center;
    align-items: center;
    display: none;
}

.footer a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.main-body {
    position: relative;
    height: calc(100% - 72px - 40px);
    overflow-y: auto;
    overflow-x: auto;
    z-index: 0;
}
.main-body {
    position: relative; /* Ensure the parent element has relative positioning */
    z-index: 0; /* Ensure the content is above the background */
}

/* Pseudo-element for the fixed background image */
.main-body::before {
    content: "";
    /* background: url('/img/palworld/bg1.webp') no-repeat center center fixed; */
    background-size: cover;
    position: fixed; /* Make the background fixed */
    top: 112px;
    bottom: 2px;
    right: 2px;
    left: 2px;
    opacity: 0.025; /* Adjust the opacity to the desired transparency level */
    z-index: -1; /* Ensure the pseudo-element is beneath any content */
    pointer-events: none; /* Ensure the background doesn't interfere with mouse events */
}

.main-body.bgopac-low::before {
    opacity: 0.025;
}
.main-body.bgopac-med::before {
    opacity: 0.1;
}
.main-body.bgopac-high::before {
    opacity: 0.25;
}

.game-bg-full {
    height: calc(100% - 40px) !important;
}
.game-bg-full::before {
    position: fixed; /* Make the background fixed */
    top: 40px !important;
    bottom: 2px !important;
    right: 2px !important;
    left: 2px !important;
}

.game-bg.palworld1::before {
    background: url('/img/palworld/bg1.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.palworld2::before {
    background: url('/img/palworld/bg2.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.palworld3::before {
    background: url('/img/palworld/bg3.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.black-myth-wukong1::before {
    background: url('/img/black-myth-wukong/bg1.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.black-myth-wukong2::before {
    background: url('/img/black-myth-wukong/bg2.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.black-myth-wukong3::before {
    background: url('/img/black-myth-wukong/bg3.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.ff7remake1::before {
    background: url('/img/ff7remake/bg1.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.ff7remake2::before {
    background: url('/img/ff7remake/bg2.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.ff7remake3::before {
    background: url('/img/ff7remake/bg3.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.ff7rebirth1::before {
    background: url('/img/ff7rebirth/bg1.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.ff7rebirth2::before {
    background: url('/img/ff7rebirth/bg2.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.ff7rebirth3::before {
    background: url('/img/ff7rebirth/bg3.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.hogwarts-legacy1::before {
    background: url('/img/hogwarts-legacy/bg1.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.hogwarts-legacy2::before {
    background: url('/img/hogwarts-legacy/bg2.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.hogwarts-legacy3::before {
    background: url('/img/hogwarts-legacy/bg3.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.black-myth-wukong1::before {
    background: url('/img/black-myth-wukong/bg1.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.black-myth-wukong2::before {
    background: url('/img/black-myth-wukong/bg2.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.black-myth-wukong3::before {
    background: url('/img/black-myth-wukong/bg3.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.lockdown-protocol1::before {
    background: url('/img/lockdown-protocol/bg1.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.lockdown-protocol2::before {
    background: url('/img/lockdown-protocol/bg2.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.lockdown-protocol3::before {
    background: url('/img/lockdown-protocol/bg3.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.orcs-must-die-31::before {
    background: url('/img/orcs-must-die-3/bg1.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.orcs-must-die-32::before {
    background: url('/img/orcs-must-die-3/bg2.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.orcs-must-die-33::before {
    background: url('/img/orcs-must-die-3/bg3.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.orcs-must-die-deathtrap1::before {
    background: url('/img/orcs-must-die-3/bg1.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.orcs-must-die-deathtrap2::before {
    background: url('/img/orcs-must-die-3/bg2.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.orcs-must-die-deathtrap3::before {
    background: url('/img/orcs-must-die-3/bg3.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.tekken81::before {
    background: url('/img/tekken8/bg1.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.tekken82::before {
    background: url('/img/tekken8/bg2.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.tekken83::before {
    background: url('/img/tekken8/bg3.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.stellar-blade1::before {
    background: url('/img/stellar-blade/bg1.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.stellar-blade2::before {
    background: url('/img/stellar-blade/bg2.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.stellar-blade3::before {
    background: url('/img/stellar-blade/bg3.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.the-killing-antidote1::before {
    background: url('/img/the-killing-antidote/bg1.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.the-killing-antidote2::before {
    background: url('/img/the-killing-antidote/bg2.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.the-killing-antidote3::before {
    background: url('/img/the-killing-antidote/bg3.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.mgs-delta1::before {
    background: url('/img/mgs-delta/bg1.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.mgs-delta2::before {
    background: url('/img/mgs-delta/bg2.webp') no-repeat center center fixed;
    background-size: cover;
}
.game-bg.mgs-delta3::before {
    background: url('/img/mgs-delta/bg3.webp') no-repeat center center fixed;
    background-size: cover;
}

@media (min-width: 576px) {
    .footer {
        display: none;
    }
    .main-body {
        height: calc(100% - 72px - 40px);
    }
    .main-body::before {
        top: 112px;
        bottom: 0;
    }
}
@media (min-width: 768px) {
    .footer {
        display: flex;
    }
    .main-body {
        height: calc(100% - 72px - 38px - 64px);
    }
    .main-body::before {
        top: 112px;
        bottom: 66px;
    }
    .game-bg-full {
        height: calc(100% - 38px) !important;
    }
}

/* 
// Medium devices (tablets, 768px and up)

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// X-Large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

// XX-Large devices (larger desktops, 1400px and up)
@media (min-width: 1400px) { ... } */

.navbar-nav .nav-link {
    transition: color 0.5s, opacity 0.75s;
    opacity: 0.6;
}
.navbar-nav .nav-link:hover {
    opacity: 1;
}
.navbar-nav .nav-link.active {
    color: var(--dek-secondary-normal);
}
.nav-iconsize {
    font-size: 32px;
}

.nav-link {
    color: var(--dek-text-color) !important;
}
.btn {
    color: var(--dek-text-color);
}

.bbcode-div {
    /* font-size: 14px; */
}

.anal-cavity {
    min-height: 128px;
    max-height: 192px;
    /* height: 192px; */
}

/* .anal-cavity svg {
    animation-name: svgRotate;
    animation-duration: 2.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    transform-origin: 50% 50%;
    display: inline-block;
}

.anal-cavity svg:hover {
    animation-play-state: paused;
} */

/* limit number of text lines */
.anal-cavity div, .anal-cavity small {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.anal-cavity.large div, .anal-cavity.large small {
    -webkit-line-clamp: 6;
}
.anal-cavity.small {
    min-height: 28px;
    max-height: 48px;
}
.anal-cavity.small div, .anal-cavity.small small {
    -webkit-line-clamp: 2;
}



@keyframes svgRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.modalicon {
    height: 2rem;
    width: 2rem;
}

thead,
tbody,
tfoot,
tr,
td,
th {
    color: var(--dek-text-color) !important;
    border-color: var(--dek-modal-border-color) !important;
}
tbody tr:hover {
    background-color: var(--dek-card-header-color) !important;
    cursor: pointer;
}
/* table {
    width: 100%;
    position: relative;
}
thead, tbody {display:block;width: 100%;}
tbody {
    width: 100% !important;
    max-height: 180px !important;
    overflow-y: auto;
    display: inline-block;
}
tbody tr {
    width: 100% !important;
}
table {
    width: 100%;
    border-spacing: 0;
} */

table {
    display: flex;
    flex-flow: column;
    /* height: 100%; */
    width: 100%;
}
table thead {
    /* head takes the height it requires, 
    and it's not scaled when table is resized */
    flex: 0 0 auto;
    width: 100%;
}
table tbody {
    height: 100%;
    min-height: 164px;
    /* max-height: 164px; */
    /* body takes all the remaining available space */
    flex: 1 1 auto;
    display: block;
    overflow-y: auto;
}
table tbody tr {
    width: 100%;
}
table thead,
table tbody tr {
    display: table;
    table-layout: fixed;
}

thead,
thead tr {
    border: 0 none;
}
tbody {
    border-radius: 0;
    border-top: 1px solid var(--dek-modal-border-color);
    /* border-bottom: 2px solid var(--dek-modal-border-color); */
}
tbody tr {
    /* border-left: 2px solid var(--dek-modal-border-color); */
    /* border-right: 2px solid var(--dek-modal-border-color); */
    border-bottom: 1px solid var(--dek-modal-border-color);
}

.table-varheight {
    min-height: inherit;
    max-height: inherit;
}

.modal-nav-button-group {
    border: 1px solid var(--dek-modal-border-color);
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
}
/* .carousel-item {
    min-height: 213px;
    max-height: 213px;
} */

.check-icon {
    padding-top: 7px !important;
}

.overflow-text, .truncate {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

datalist {
    position: absolute;
    background-color: white;
    border: 1px solid blue;
    border-radius: 0 0 5px 5px;
    border-top: none;
    font-family: sans-serif;
    width: 350px;
    padding: 5px;
    max-height: 10rem;
    overflow-y: auto
    
  }

.btn.hover-dark[disabled] {
    opacity: 0.25;
}

.list-group-item.hover-bg {
    transition: background-color 0.2s linear;
}
.list-group-item.hover-bg:hover {
    transition: background-color 0.5s linear;
    background-color: var(--dek-card-header-color) !important;
}

.carousel-inner {
    height: 100%;
}
.carousel-item {
    overflow-y: auto;
}

.card-border-bg {
    background-color: var(--dek-card-header-color);
}

.dropdown-toggle::after {
    display: none;
}

.radius0 {
    border-radius: 0;
}
.radius3 {
    border-radius: 3px;
}
.radius6 {
    border-radius: 6px;
}
.radius9 {
    border-radius: 9px;
}
.radius-card-border {
    border-radius: 13px;
}
.noverflow {
    overflow: hidden;
}

.no-radius-start {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.no-radius-end {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.scale-thumbnail {
    transition: 0.5s ease all;
    opacity: 0.6;
    scale: 1;
}
.scale-thumbnail:hover,
.scale-thumbnail.selected {
    border-radius: 10%;
    overflow: hidden;
    opacity: 1;
    scale: 1.1;
}

.page-header-bg {
    background-color: var(--dek-secondary-normal);
    background-color: #140e1e;
}

/* 
.icon-stroke {
    text-shadow: -10px 0 #000, 0 10px #000, 10px 0 #000, 0 -10px #000;
}
*/
.btn, .form-control {
    border-width: 3px;
    /* border-color: var(--dek-card-header-color); */
}

/* 
.dek-switch .btn {

}
.dek-switch:hover .btn {
    background-color: var(--dek-secondary-normal);
} 
*/

.text-updater-node {
    height: 50px;
    border: 1px solid #eee;
    padding: 5px;
    border-radius: 5px;
    background: white;
}
  
.text-updater-node label {
    display: block;
    color: #777;
    font-size: 12px;
}

.appbar {
    background-color: var(--dek-darker-4);
    background-color: var(--dek-info-normal);
}

.deap-dragbar {
    height: 38px;
    line-height: 32px;
    -webkit-user-select: none;
    -webkit-app-region: drag;    
}

.full-dragbar {
    -webkit-user-select: none;
    -webkit-app-region: drag;    
}

.appbar-btn {
    margin: 0;
    opacity: 0.6;
    border-radius: 0;
    /* border: 0; */
}
.appbar-btn:hover {
    opacity: 1.0;
    /* background-color: var(--dek-secondary-darker); */
    color: var(--dek-text-color);
}

.sidebar {
    background-color: var(--dek-darker-4);
    border-right: 2px solid var(--dek-info-normal);
    height: calc(100% - 174px);
    max-width: 98px;

    position: absolute;

}


.app-border {
    border: 2px solid var(--dek-info-normal);
    /* border-radius: 9px; */
}





.cursor-pointer {
    cursor: pointer;
}

.bg-transparent, .bg-trans {
    background-color: transparent;
}

.carousel-indicators {
    margin-bottom: 0;
}

/* Change the default link color */
a {
    color: var(--dek-success-normal); /* Replace with your desired color */
}

/* Optionally, change the color when the link is hovered */
a:hover {
    color: var(--dek-warning-normal); /* Replace with your desired hover color */
}

.modcard {
    position: absolute;
    left: 6px;
    top: 6px;
}

.set-topleft {
    position: absolute;
    top: 0;
    left: 0;
    border-bottom-right-radius: 9px;
}

.modicon {
    color: var(--dek-warning-normal);
    padding: 12px;
    height: 48px;
    width: 48px;
}

.modname {
    position: absolute;
    top: 64px;
    right: 16px;
}

.iconsize {
    font-size: 36px;
    color: #e4e4e4;
}

::-webkit-scrollbar-corner {
    display: none;
}