﻿/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *  Tags, overrides, and resets.
 */

html, body {
    background-color: lightgrey;
}

/* Main implementation - only when video/ad is active */
.ac-lre-main-widget-container:has(.vjs-playing),
.ac-lre-main-widget-container:has(.vjs-has-started),
.ac-lre-main-widget-container:has(video[src]:not([src=""])),
.ac-lre-main-widget-container:has(.ac-lre-ima-ad-container:not([style*="display: none"])) {
    position: relative !important;
    z-index: 1 !important;
    margin-bottom: 190px;
    /* Ensure it doesn't float over other content */
    clear: both;
}

/* Ensure the video wrapper behaves properly */
.ac-lre-main-widget-container:has(.vjs-playing) .ac-player-wrapper,
.ac-lre-main-widget-container:has(.vjs-has-started) .ac-player-wrapper {
    position: relative !important;
}

/* Keep your section properly positioned */
section {
    position: relative;
    z-index: 2;
    clear: both;
}

/* Browser compatibility fallback */
@@supports not selector(:has(*)) {
    /* For browsers that don't support :has(), apply basic fix when video container exists */
    .ac-lre-main-widget-container:not(.vjs-hidden) {
        position: relative !important;
        z-index: 1 !important;
        margin-bottom: 20px;
    }
}

/* #main-page{
    z-index: 100;
} */
/*width: 100%;*/
/*align-self: center;*/
/*vertical-align: center;*/

.center-fixed {
    width: 1000px;
    max-width: 100%;
}

h2 {
    font-size: 1.2em;
    font-weight: normal;
}

/* Bootstrap reset sets a blue color for links. This sets it to our standard straight blue. */

a, a:hover {
    color: blue;
    /*text-decoration: none;*/
}

/* Datatables override. For some strange reason it wants to put 17px in for the right padding. */

table.dataTable.compact thead th {
    padding: 4px 4px 4px 4px;
}

/* Facebook social button fix for top margin. */

.fb_iframe_widget span {
    top: -4px;
}

#center-main {
    /* background-color: white; */
    /* z-index: 5; */
    /* width: 1000px;
    max-width: 1000px; */
    /* position: relative; */
}

/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *  Sidebar
 */

#side-bar-content {
    width: 300px
}

.side-bar-game-list {
    height: 335px;
    width: 100%;
}

.side-bar-ad {
    width: 100%;
}

/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *
 *  Top Games Tested Box
 */

#top-games-tested {
    height: 100%;
}

#top-games-tested .card-header {
    font-weight: bold;
}

#top-games-tested .card-body {
    height: 100%;
    overflow: auto;
}

#top-games-tested a {
    display: inline-block;
    font-size: 0.9em;
    line-height: 1.1;
}

/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *
 *  Recently Added Games Box
 */

#recently-added-games {
    height: 100%;
}

#recently-added-games .card-header {
    font-weight: bold;
}

#recently-added-games .card-body {
    height: 100%;
    overflow: auto;
}

#recently-added-games a {
    display: inline-block;
    font-size: 0.9em;
    line-height: 1.1;
}

/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *  Misc.
 */

.percent-run {
    color: green;
    font-weight: bold;
}

/* Tool tip areas */

[data-bs-toggle="tooltip"] {
    cursor: help;
}


/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
 *  Navigation Bar.
 *
 *  #main-nav 
 */

#main-nav {
    background-color: #666;
}

.navbar-inverse .navbar-nav .nav-link {
    color: white;
}

.nav-item:hover {
    background-color: #333;
}


/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *  Highlight box.
 */

.highlight-box {
    background-color: rgba(0, 0, 0, .10);
}

.highlight-box.bg-white {
    background-color: white;
}

.highlight-box-triangle {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid rgba(0, 0, 0, .10);
}

.highlight-box-triangle.bg-white {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 20px solid white;
}

/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *  GPU Stats
 */

#gpu-stats {
    margin: 0 50px 0 50px;
}

#gpu-name {
    font-size: 1.2em;
    font-weight: bold;
}

#gpu-stats dt, #gpu-stats dd {
    font-size: .8em;
    line-height: .8;
}

#gpu-name2 {
    font-size: 1.2em;
    font-weight: bold;
}

#gpu-stats2 dt, #gpu-stats2 dd {
    font-size: .8em;
    line-height: .8;
}

/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *  Games table.
 */

#game-table {
    width: 100%
}

#game-table thead tr:first-of-type th {
    border-bottom: 0;
}

#game-table thead tr:first-of-type th .gpu-desc {
    font-size: 0.9em;
    font-weight: normal;
}

/* Override of jquery datatables to clear the bottom border. */
table.dataTable.no-footer {
    border-bottom: 0px;
}

/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *  Select GPU Dialog.
 */
/*.model-content {
    max-width: 650px;
}

#selection-dialog .modal-content {
    width: 650px;
}*/

#gpu-table {
    cursor: default;
}

#table-toolbar .btn.active {
    background-color: gray;
    color: white;
}

#table-toolbar .btn {
    background-color: white;
    color: black;
}

/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 *  Footer.
 */

footer {
    font-size: .8em;
}

footer a {
    text-decoration: underline;
}

