html, body, body .header, body .header .container {
    min-height: 100%;
    height: 100%;
}

html, body, body .header, body .header .container {
    min-height: 100% !important;
    height: unset !important;
}

body {
    /* Sample BG Original https://projects.verou.me/css3patterns/#cross-dots */
    --circle-colour: rgba(0, 0, 0, 0.16);
    --backdrop-colour: #222;
    --line-colour: rgba(211, 211, 211, 0.39);
    /*background: radial-gradient(var(--circle-colour) 3px, transparent 4px),*/
    /*radial-gradient(var(--circle-colour) 3px, transparent 4px),*/
    /*linear-gradient(var(--backdrop-colour) 4px, transparent 0),*/
    /*linear-gradient(45deg, transparent 74px, transparent 75px, var(--line-colour) 75px, var(--line-colour) 76px, transparent 77px, transparent 109px),*/
    /*linear-gradient(-45deg, transparent 75px, transparent 76px, var(--line-colour) 76px, var(--line-colour) 77px, transparent 78px, transparent 109px),*/
    /*var(--backdrop-colour);*/
    background-size: 109px 109px, 109px 109px, 100% 6px, 109px 109px, 109px 109px;
    background-position: 54px 55px, 0px 0px, 0px 0px, 0px 0px, 0px 0px;
}

.lb-panel #scrapDataTable {
    border-collapse: separate;
    border-spacing: 0 15px;
}

.profile-highlight td:first-of-type,
.profile-highlight td:nth-of-type(2) {
    text-shadow: 0 0 6px black;
    font-weight: bold;
    color: #d1d1d1;
    transition: color 0.35s ease;
}

.profile-highlight:hover td:first-of-type,
.profile-highlight:hover td:nth-of-type(2),
.profile-highlight:focus td:first-of-type,
.profile-highlight:focus td:nth-of-type(2),
.profile-highlight:focus-within td:first-of-type,
.profile-highlight:focus-within td:nth-of-type(2) {
    color: #fff;
}

/*@property --shadow-colour {*/
/*  syntax: '<color>';*/
/*  inherits: false;*/
/*  initial-value: #fff1*/
/*}*/

.profile-highlight {
    cursor: pointer;
    --shadow-colour: 0, 0, 0;
    box-shadow: 0 10px 20px rgba(var(--shadow-colour), 0.2);
    transition: box-shadow 0.3s ease, --shadow-colour 0.3s ease;
    position: relative;
    z-index: 0;
}

.profile-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 210px;
    height: 120px;
    right: 0;
    background-image:  url(https://avatars.steamstatic.com/8ce9548…_full.jpg);
    background-size: cover;
    background-position: center;
    /*clip-path: circle(50% at 50% 50%);*/
    clip-path: url(#playerClip);
    z-index: -1;
}

table.first-page .profile-highlight:nth-of-type(3) {
    --shadow-colour: 109,72,14;
}
table.first-page .profile-highlight:nth-of-type(1) {
    --shadow-colour: 136,134,41;
}
table.first-page .profile-highlight:nth-of-type(2) {
    --shadow-colour: 200,200,200;
}

.profile-highlight td {
    position: relative;
    --bg-colour: 22,21,21;
    --bg-opacity: 0.5;
    background-color: rgba(var(--bg-colour),var(--bg-opacity));
    /*background-color: #16151588;*/
    height: 120px;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

.profile-highlight:nth-child(4n+2) td, .profile-highlight:nth-child(4n+3) td {
    --bg-colour: 12,12,12;
    /*background-color: #0c0c0c88;*/
}

.profile-highlight:hover,
.profile-highlight:focus,
.profile-highlight:focus-within {
    box-shadow: 0 10px 20px rgba(var(--shadow-colour), 0.7);
}

.profile-highlight:hover td,
.profile-highlight:focus td,
.profile-highlight:focus-within td {
    --bg-opacity: 0.15;
}

.scrapland-highlight {
    margin-left: 0.2rem;
    background: linear-gradient(46deg, #00bfff 0%, #afe0f5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#emptyTemplate h5 {
    font-weight: 300;
    font-size: 1.1rem;
}

.srv-ranking {
    position: absolute;
    top: 0;
    margin-top: 1.25em;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
}

.srv-ranking h3 {
    font-size: 1.5rem;
}

.srv-ranking span {
    color: #00a6ff;
}

.video-card {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    min-height: 450px;
    align-items: center;
}

@media (max-width: 991px) {
    .navbar-nav .nav-item, .navbar-nav .nav-item .nav-link.dropdown-toggle {
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .video-card {
        align-items: flex-start;
    }

    .video-card > div:nth-child(2) {
        max-width: 100% !important;
    }

    .video-card > div:nth-child(1), .video-card > div:nth-child(3) {
        display: none !important;
    }
}

.video-card > div *:not(div) {
    width: 100%;
    min-width: 100%;
    max-height: 100%;
    border-radius: 0.5em;
}

.video-card > div:nth-child(1), .video-card > div:nth-child(3) {
    transform-style: preserve-3d;
    perspective: 800px;
    perspective-origin: 50% 50%;
}

.video-card > div:nth-child(1) > * {
    transform: rotateY(330deg) rotateX(0deg) translateX(-30px);
}

.video-card > div:nth-child(3) > * {
    transform: rotateY(30deg) rotateX(0deg) translateX(30px);
}

.video-card > div:nth-child(2) {
    max-width: 40%;
    max-height: 100%;
    perspective: 800px;
}

.video-card > div {
    width: 100%;
    max-height: 220px;
    max-width: 30%;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
}

.site-container {
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
    flex-direction: column;
}

.navbar-nav > .nav-item:not(.dropdown), .dropdown-toggle {
    display: flex;
    align-items: center;
}

.discord-id:focus, .steam-id:focus {
    color: #fff !important;
}

/*.footerSpace {*/
/*    display: block;*/
/*    height: 0;*/
/*    width: 100%;*/
/*}*/

/*.footerSpace.active {*/
/*    !*display: block;*!*/
/*    !*height: 150px;*!*/
/*}*/

@media (max-width: 992px) {
    .navbar-nav > .nav-item.dropdown {
        flex-direction: column;
    }
}

.dropdown-toggle.stack-parent {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0;
}

.stack-container {
    display: flex;
    padding: 3px;
    flex-direction: row;
    flex-wrap: nowrap;
}

.stack-container img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    border: 2px solid #98bdb2;
}

.stack-container img:not(:last-child) {
    margin-right: -30px;
}

.category-bar {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-content: center;
    margin-right: auto;
}

@media (max-width: 991px) {
    .bans-bar {
        flex-direction: column;
    }

    .search {
        margin-top: 0.1em;
        width: 100%;
    }

    .bans-bar .input-group {
        justify-content: center;
    }

    .category-bar .btn {
        margin-top: 0.5em;
    }

    .category-bar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.5em;
    }

    .search p {
        text-align: center;
    }
}

.category-bar .btn:not(:first-child), .category-bar .btn-group {
    margin-left: 0.75em;
}

.btn-outline-primary {
    --bs-btn-color: #00bfff;
    --bs-btn-border-color: #00bfff;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #00bfff;
    --bs-btn-hover-border-color: #00bfff;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #00bfff;
    --bs-btn-active-border-color: #00bfff;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #00bfff;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #00bfff;
    --bs-gradient: none;
}

.btn-unstyled {
    border-radius: 0 !important;
    outline: none !important;
    color: inherit !important;
    background: transparent !important;
}

.sub-bg {
    height: 720px;
    background: linear-gradient(0deg, rgb(9 12 17), rgb(9 12 17 / 70%), rgb(9 13 14 / 92%)), url(../img/background.png);
    background-size: cover;
    filter: opacity(.5);
    background-attachment: fixed;
    width: 100%;
    position: absolute;
    inset: 0;
}

/* Fix text input browser additions, credit: https://gist.github.com/Tombarr/e0fce4a412caa27a9bd3ad8ad2cace9a */

input,
textarea {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

/*
Show overflow in Edge
Source: https://github.com/twbs/bootstrap/blob/v4-dev/scss/_reboot.scss
*/

button,
input {
    overflow: visible;
}

/*
Remove inner border and padding from Firefox
Source: https://github.com/twbs/bootstrap/blob/v4-dev/scss/_reboot.scss
*/

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

/*
Remove padding in IE 10-
Source: https://github.com/twbs/bootstrap/blob/v4-dev/scss/_reboot.scss
*/

input[type="radio"],
input[type="checkbox"] {
    padding: 0;
}

/*
Remove the default appearance of temporal inputs to avoid a Mobile Safari bug where setting a custom line-height prevents text from being vertically
Source: https://github.com/twbs/bootstrap/blob/v4-dev/scss/_reboot.scss
See https://bugs.webkit.org/show_bug.cgi?id=139848
*/

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
    -webkit-appearance: listbox;
}

/*
1. Remove default vertical scrollbar in IE
2. Textareas should really only resize vertically so they don't break their (horizontal) containers
Source: https://github.com/twbs/bootstrap/blob/v4-dev/scss/_reboot.scss
 */

textarea {
    overflow: auto; /* 1 */
    resize: vertical; /* 2 */
}

/*
Correct cursor style of increment and decrement buttons in Chrome
Source: https://github.com/twbs/bootstrap/blob/v4-dev/scss/_reboot.scss
*/

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/*
Overrides extra rounded corners on search inputs in iOS
Source: https://github.com/twbs/bootstrap/blob/v4-dev/scss/_reboot.scss
*/

[type="search"] {
    outline-offset: -2px;
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
}

/*
Remove inner padding and cancel buttons in Chrome and Safari on macOS
Source: https://github.com/twbs/bootstrap/blob/v4-dev/scss/_reboot.scss
*/

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/*
1. Correct inability to style clickable types in iOS and Safari
2. Change font properties to `inherit` in Safari
Source: https://github.com/twbs/bootstrap/blob/v4-dev/scss/_reboot.scss
 */

::-webkit-file-upload-button {
    font: inherit; /* 2 */
    -webkit-appearance: button; /* 1 */
}

/*
 * Remove IE/ Edge clear "X" & eye icons
 */

input::-ms-clear,
input::-ms-reveal {
    display: none;
}

/* Remove Safari contacts icon */

input::-webkit-contacts-auto-fill-button {
    display: none;
}

/* Remove Safari password & caps lock icons */

input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-caps-lock-indicator {
    display: none;
}

/*
 * Disable WebKit's banana-yellow input fields
 * Combination of techniques from:
 * https://stackoverflow.com/questions/2781549/removing-input-background-colour-for-chrome-autocomplete
 */

@-webkit-keyframes autofill {
    to {
        background: transparent;
    }
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
    -webkit-transition-delay: 9999s;
    -webkit-transition-property: background-color, color;
}
