/* page styles */

body {
    background-color: #383838;
    color: var(--page-font-colour);
    font-family: var(--standard-font);
    font-kerning: normal;
    font-style: normal;
    font-weight: 250;
    font-size: 13px;
}

@font-face {
    font-family: Commodore64;
    src: url('/fonts/Commodore Pixelized v1.2.ttf');
}

h1 {
    margin-bottom: unset;
}

h3 {
    border-bottom-style: solid;
    /*border-bottom-color: #916b01;*/
    border-bottom-width: 1px;
    /*border-image: linear-gradient(to right, blue 25%, yellow 25%, yellow 50%,red 50%, red 75%, teal 75%) 5;*/

    border-image: linear-gradient(to right, rgba(255, 0, 0, 1) 0%, rgba(251, 255, 0, 1) 16%, rgba(0, 255, 250, 1) 30%, rgba(0, 16, 255, 1) 46%, rgba(250, 0, 255, 1) 62%, rgba(255, 0, 0, 1) 78%, rgba(255, 237, 0, 1) 90%, rgba(20, 255, 0, 1) 100%) 5;
    /* border-bottom-color: var(--section-heading-underline); */
    padding-bottom: 1px;
}

/* old modal style */
/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 100;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: none;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    filter: drop-shadow(5px 5px 10px #000);
    -webkit-filter: drop-shadow(5px 5px 10px #000);
}

/* Modal Content/Box */
.modal-content {
    background-color: #383838;
    margin: 10% auto;
    /* 15% from the top and centered */
    padding: 10px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 700px;
    /* Could be more or less, depending on screen size */
    min-height: 358px;
}

.modal-content-sub {
    background-color: #383838;
    margin: 20% auto;
    /* 20% from the top and centered */
    padding: 10px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 300px;
    /* Could be more or less, depending on screen size */
    min-height: 110px;
}

#modal-heading {
    margin-block: 5px;
    border-bottom-style: solid;
    /*border-bottom-color: #916b01;*/
    border-bottom-width: 3px;
    /*border-image: linear-gradient(to right, blue 25%, yellow 25%, yellow 50%,red 50%, red 75%, teal 75%) 5;*/

    border-image: linear-gradient(to right, rgba(255, 0, 0, 1) 0%, rgba(251, 255, 0, 1) 16%, rgba(0, 255, 250, 1) 30%, rgba(0, 16, 255, 1) 46%, rgba(250, 0, 255, 1) 62%, rgba(255, 0, 0, 1) 78%, rgba(255, 237, 0, 1) 90%, rgba(20, 255, 0, 1) 100%) 5;
}

#modal-content {
    height: 100%;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* old model style end */

/* new modal style */
.modal-background {
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: none;
    background-color: var(--modal-background-color);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-window {
    position: relative;
    display: flex;
    flex-direction: row;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    min-width: 700px;
    max-width: 1000px;
    width: 60%;
    min-height: 388px;
    max-height: 500px;
    height: 60%;
    border-radius: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: var(--modal-border-color);
    overflow: hidden;
    box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -webkit-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -moz-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
}

.modal-window-close {
    position: absolute;
    font-size: 28px;
    font-weight: bold;
    top: 0px;
    right: 0px;
    width: 36px;
    height: 36px;
    text-align: center;
    color: var(--modal-window-header-text-color);
}

.modal-window-close:hover,
.modal-window-close:focus {
    cursor: pointer;
    text-decoration: none;
    background-color: black;
}

.modal-window-inner-content {
    position: absolute;
    top: 36px;
    bottom: 48px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: normal;
    align-items: normal;
    align-content: normal;
}

.modal-window-tabs {
    background-color: var(--modal-tabs-background-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: block;
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    overflow-y: auto;
    overflow-x: hidden;
    border-right-color: black;
    border-right-width: 1px;
    border-right-style: solid;
}

.modal-tab-button {
    display: block;
    padding: 10px;
}

.modal-tab-button:hover,
.modal-tab-button:focus {
    cursor: pointer;
    background-color: var(--modal-window-background-color);
}

.model-tab-button-selected,
.model-tab-button-selected:hover {
    background-color: var(--selected-item);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.modal-window-body {
    background-color: var(--modal-window-background-color);
    display: block;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    padding: 10px;
    text-align: top;
    overflow-y: auto;
    overflow-x: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.modal-window-header {
    position: absolute;
    display: block;
    font-weight: bold;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 19px;
    padding: 8px;
    color: var(--modal-window-header-text-color);
    background-color: var(--modal-window-header-background-color);
    border-bottom-color: black;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

#modal-header-text {
    overflow: hidden;
    white-space: nowrap;
    max-height: 30px;
    position: absolute;
    top: 10px;
    left: 10px;
    right: 40px;
}

#modal-header-text:after {
    content: "";
    /* Needed to render the pseudo */
    background-image: linear-gradient(to right, transparent, var(--modal-window-header-background-color) 80%);
    position: absolute;
    inset-inline-end: 0;
    width: 100px;
    height: 30px;
    /* Logical property equivalent to `right: 0` */
}

.modal-window-content {
    /* position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 52px; */
    /* padding: 10px;
    text-align: top;
    overflow-y: scroll;
    overflow-x: hidden; */
}

.modal-window-footer {
    position: absolute;
    display: block;
    font-weight: bold;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 40px;
    padding-top: 7px;
    padding-right: 6px;
    text-align: right;
    color: var(--modal-window-header-text-color);
    background-color: var(--modal-window-background-color);
    border-top-color: black;
    border-top-width: 1px;
    border-top-style: solid;
}

/* end new modal style */

#banner_icon {
    /* background-color: white; */
    background-color: rgba(0, 22, 56, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0px;
    margin: 0px;
    display: flex;
    z-index: 50;
}

#banner_icon:hover {
    cursor: pointer;
}

#banner_icon_image {
    width: 30px;
    height: 30px;
    filter: drop-shadow(1px 1px 0 rgb(90, 90, 90)) drop-shadow(-1px 1px 0 rgb(90, 90, 90)) drop-shadow(1px -1px 0 rgb(90, 90, 90)) drop-shadow(-1px -1px 0 rgb(90, 90, 90));
}

.banner_button {
    background-color: transparent;
    float: right;
    top: 0px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0px;
    padding-bottom: 0px;
    margin: 0px 0px 0px 0px;
    display: flex;
    color: white;
    border-left-color: black;
    border-left-width: 1px;
    border-left-style: solid;
}

.banner_button:hover {
    cursor: pointer;
    background-color: black;
}

.banner_button_image {
    height: 20px;
    width: 20px;
    margin-right: 5px;
    filter: invert(100%);
}

.user_list_icon {
    width: 35px;
    height: 35px;
    margin-bottom: -5px;
    border-radius: 50%;
}

.user_list_icon_reversed {
    filter: invert(100%);
}

.svginvert {
    filter: invert(100%);
}

.banner_button_image_smaller {
    height: 16px;
    width: 16px;
    margin-left: 5px;
}

.banner_button_avatar {
    margin-top: -8px;
    height: 36px;
    width: 36px;
    margin-left: 1px;
    margin-right: 3px;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
}

#properties_bodypanel_avatar_image {
    height: 200px;
    width: 200px;
    cursor: pointer;
    border-radius: 100px;
    overflow: hidden;
}

.banner_button_avatar_image:hover {
    cursor: pointer;
}

#banner_header {
    background: rgba(0, 22, 56, 0.8);
    background: linear-gradient(90deg, rgba(0, 22, 56, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: fixed;
    top: 0px;
    left: 40px;
    height: 40px;
    right: 0px;
    align-items: center;
    z-index: 50;
}

#banner_header_label {
    font-family: var(--pixel-font);
    display: inline-block;
    padding: 10px;
    font-size: 16pt;
    vertical-align: top;
    /*color: #edeffa;*/
    color: #7c70da;
}

#banner_header_label {
    cursor: pointer;
}

#content {
    margin-top: 35px;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    z-index: -100;
}

#games_filter_scroller {
    position: fixed;
    width: 210px;
    overflow-y: hidden;
    overflow-x: hidden;
    overscroll-behavior: contain;
    top: 60px;
    bottom: 20px;
    /* margin-right: 10px; */
}

#games_library_searchbuttons {
    position: sticky;
    position: -webkit-sticky;
    bottom: 0;
    margin-top: 5px;
    width: 200px;
    z-index: 1;
    background-color: #5d5d5d;
}

#games_library_searchbutton {
    position: sticky;
    position: -webkit-sticky;
    bottom: 0;
    width: 180px;
    height: 15px;
    padding: 10px;
    background-color: #352879;
    color: white;
    text-align: center;
    font-family: var(--pixel-font);
    font-size: 13px;
}

#games_library_searchbutton:hover {
    cursor: pointer;
    background-color: #6C5EB5;
}

#games_library_resetbutton {
    position: sticky;
    position: -webkit-sticky;
    bottom: 0;
    width: 180px;
    height: 15px;
    padding: 10px;
    background-color: #646464;
    color: white;
    text-align: center;
    font-family: var(--pixel-font);
    font-size: 13px;
}

#games_library_resetbutton:hover {
    cursor: pointer;
    background-color: #adadad;
}

#games_filter {

    width: 200px;
    /* border-style: solid;
    border-width: 1px;
    border-color: var(--section-header-background); */
    overflow: hidden;
}

#games_filter_scroller:hover {
    overflow-y: auto;
}

.filter_header {
    font-weight: bold;
    padding: 10px;
    background-color: var(--section-header-background);
}

.filter_header_toggleable:hover {
    background-color: var(--section-header-background-hover);
}

.filter_panel_box {
    position: relative;
    padding: 10px;
    z-index: 1;
    background-color: var(--section-body-background);
}

input[type='text'],
input[type='number'],
input[type="email"],
input[type="password"],
input[type="datetime-local"],
input[type="url"],
input[type="radio"],
input[type="file"],
select,
textarea,
.listboxselector {
    background-color: var(--input-background);
    color: var(--input-font-colour);
    padding: 4px;
    font-family: var(--standard-font);
    font-kerning: normal;
    font-style: normal;
    font-weight: 250;
    font-size: 13px;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    /* border-color: lightgray; */
    border-color: var(--input-border);
}

input[type='text'],
input[type='number'],
input[type="email"],
input[type="password"],
input[type="datetime-local"],
input[type="url"],
input[type="radio"],
input[type="file"],
select:not([size]),
textarea {
    height: 21px;
}

input[type='text']:hover,
input[type='number']:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="datetime-local"]:hover,
input[type="url"]:hover,
input[type="radio"]:hover,
input[type="file"]:hover,
select:hover,
textarea:hover,
.listboxselector:hover {
    border-color: var(--input-border-hover);
}

input[type='text']:disabled,
input[type='number']:disabled,
input[type="email"]:disabled,
input[type="password"]:disabled,
input[type="datetime-local"]:disabled,
input[type="url"]:disabled,
input[type="radio"]:disabled,
input[type="file"]:disabled,
select:disabled,
textarea:disabled,
.listboxselector:disabled {
    cursor: not-allowed;
    background-color: var(--input-background-disabled);
    border-color: var(--input-background-disabled);
}

textarea {
    height: unset;
    font-family: var(--mono-font);
}

input[id='filter_panel_search'] {
    width: 160px;
}

input[name='filter_panel_range_min'] {
    width: 50px;
    margin-right: 5px;
}

input[name='filter_panel_range_max'] {
    width: 50px;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 5px;
    border: 1px solid transparent;
    background-clip: padding-box;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-thumb-hover);
    border-radius: 5px;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.text_link {}

.text_link:hover {
    cursor: pointer;
    text-decoration: underline;
}

#games_home {
    display: absolute;
    margin-left: 210px;
    margin-top: 20px;
    right: 20px;
}

#games_home_box {
    display: relative;
}

#games_pager {
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, 0);
    border-style: solid;
    border-width: 1px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-color: rgba(0, 22, 56, 0.8);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 18px;
    font-family: var(--pixel-font);
    background-color: rgba(0, 22, 56, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -webkit-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -moz-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
}

.games_pager_number {
    display: inline-block;
    padding: 5px;
    width: 40px;
    text-align: center;
}

.games_pager_number:hover {
    background-color: blue;
    cursor: pointer;
}

.games_pager_number_disabled {
    display: inline-block;
    padding: 5px;
    width: 40px;
    text-align: center;
    color: grey;
}

.rom_pager {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 16px;
    font-family: var(--pixel-font);
    text-align: center;
    width: 80%;
}

.rom_pager_number {
    display: inline-block;
    padding: 5px;
    width: 40px;
    text-align: center;
}

.rom_pager_number:hover {
    background-color: blue;
    cursor: pointer;
}

.rom_pager_number_disabled {
    display: inline-block;
    padding: 5px;
    width: 40px;
    text-align: center;
    color: grey;
}

.filter_panel_item {
    display: flex;
    position: relative;
    padding: 3px;
    z-index: -1;
}

.filter_panel_item_checkbox {
    margin-right: 10px;
}

.filter_panel_item_label {
    margin-right: 15px;
}

#games_library_controls {
    position: fixed;
    z-index: 10;
    left: 225px;
    right: 10px;
    background-color: var(--section-header-background);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-style: solid;
    border-width: 1px;
    border-color: var(--section-header-background);
    border-radius: var(--standard-radius);
    margin-bottom: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-right: 20px;
    text-align: right;
    box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -webkit-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -moz-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
}

#rom_library_controls {
    left: 225px;
    right: 10px;
    background-color: var(--section-header-background);
    border-style: solid;
    border-width: 1px;
    border-color: var(--section-header-background);
    border-radius: var(--standard-radius);
    margin-bottom: 10px;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-right: 20px;
    text-align: right;
}

.games_library_controlblock {
    margin-left: 10px;
    display: inline-block;
    vertical-align: top;
    text-align: left;
}

.games_library_button {
    display: inline-block;
    padding: 5px;
    width: 15px;
    height: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 2px;
    border-radius: var(--standard-radius);
    border-width: 1px;
    border-style: solid;
    border-color: var(--input-border);
    background-color: var(--input-border);
    text-align: center;
}

.games_library_button_selected {
    border-color: var(--selected-item);
    background-color: var(--selected-item);
}

.games_library_button_selected:hover {
    border-color: var(--selected-item-hover) !important;
    background-color: var(--selected-item-hover) !important;
}

.games_library_button:hover {
    cursor: pointer;
    border-color: var(--input-border-hover);
    background-color: var(--input-border-hover);
}

.games_library_button_icon {
    height: 12px;
    width: 12px;
    filter: invert(100%);
}

.games_library_label {
    display: inline-block;
    padding-top: 7px;
}

#games_library {
    display: block;
    margin-right: 50px;
    padding-top: 50px;
    /* width: 90%; */
    /* border-style: solid;
    border-width: 1px;
    border-color: var(--section-header-background); */
    /* padding: 10px; */
}

#games_library_loadmore {
    display: block;
    width: 100%;
    text-align: center;
    padding-top: 10px;
    height: 50px;
}

#games_library_padding {
    display: block;
    width: 100%;
    text-align: center;
    padding-top: 10px;
    height: 55px;
}

#games_library_alpha_box {
    position: fixed;
    right: 0px;
    top: 120px;
    bottom: 0px;
    width: 50px;
    overflow-x: auto;
    overflow-y: auto;
    /* display: flex; */
    justify-content: center;
    align-items: center;
}

#games_library_alpha_pager {
    width: 50px;
    justify-content: center;
    align-items: center;
}

.games_library_alpha_pager_letter {
    display: block;
    font-family: var(--pixel-font);
    font-size: 14px;
    text-align: center;
    padding-top: 7px;
    padding-bottom: 7px;
}

.games_library_alpha_pager_letter:hover {
    cursor: pointer;
    background-color: blue;
}

.game_tile_wrapper_icon {
    display: inline-block;
}

.game_tile_wrapper_list {
    display: block;
}

.game_tile_placeholder {
    display: inline-block;
    min-height: 243px;
    width: 232px;
    margin-bottom: 10px;
}

.game_tile {
    padding-top: 10px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    display: inline-block;
    width: 220px;
    min-height: 243px;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: top;
    margin-bottom: 10px;
    border-radius: var(--standard-radius);
    -webkit-border-radius: var(--standard-radius);
    -moz-border-radius: var(--standard-radius);
    border: 1px solid transparent;
}

.game_tile_small {
    min-height: 50px;
    min-width: 50px;
    width: 105px;
}

.game_tile:hover {
    /* cursor: pointer; */
    /* text-decoration: underline;
    background-color: var(--section-header-background);
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    border: 1px solid var(--section-header-background); */
}

.game_tile_small:hover {
    /* cursor: pointer; */
    /* text-decoration: underline;
    background-color: var(--section-header-background);
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    border: 1px solid var(--section-header-background); */
}

.game_tile_small_search {
    min-height: 50px;
    min-width: 50px;
    width: 80px;
}

.game_tile_row {
    padding: 5px;
    display: block;
    position: relative;
    width: auto;
    min-height: 100px;
    align-items: left;
    vertical-align: top;
    border-radius: var(--standard-radius);
}

.game_tile_row:hover {
    cursor: pointer;
    text-decoration: underline;
    background-color: var(--section-header-background);
}

.game_tile_box {
    position: relative;
    display: inline-block;
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--standard-radius);
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    overflow: hidden;
}

/* .game_tile:hover .game_tile_box { */
.game_tile_box:hover {
    border-color: yellow;
    cursor: pointer;
    outline-width: 2px;
    outline-style: solid;
    outline-offset: -3px;
    outline-color: black;
}

.game_tile_box>.favourite-filled,
.game_tile_box_row>.favourite-filled {
    visibility: visible;
}

.game_tile_box>.favourite-empty,
.game_tile_box_row>.favourite-empty {
    visibility: hidden;
}

.game_tile_box:hover>.favourite-empty,
.game_tile_box_row:hover>.favourite-empty {
    visibility: visible;
}

.game_tile_box_row {
    position: absolute;
    display: inline-block;
    padding: 10px;
    left: 0px;
    right: 0px;
}

.game_tile_box_ratingbanner {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    text-align: right;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    height: 19px;
    background-color: rgba(0, 22, 56, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.game_tile_box_ratingbanner_row {
    position: absolute;
    left: 80%;
    top: 10px;
    bottom: 10px;
    right: 10px;
    width: 20%;
    line-height: 80px;
    background-color: transparent;
}

.game_tile_label {
    font-weight: bold;
}

.game_tile_label_row {
    position: absolute;
    text-align: left;
    left: 110px;
    top: 20px;
    width: 40%;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game_tile_summary_row {
    position: absolute;
    text-align: left;
    left: 110px;
    top: 50px;
    /* bottom: 20px; */
    width: 50%;
    font-size: 12px;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.game_tile_box_savedgame {
    position: absolute;
    top: 1px;
    right: 5px;
}

.game_tile_box_savedgame_row {
    position: absolute;
    display: inline-block;
    top: 30%;
    right: 10px;
}

.game_tile_box_favouritegame {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 35px;
    height: 35px;
    border-radius: var(--standard-radius) 0px var(--standard-radius) 0px;
}

.game_tile_box:hover>.game_tile_box_favouritegame {
    /* border-color: var(--input-border);
    border-width: 1px;
    border-style: solid; */
    background-color: var(--fancybutton-background);
}

.game_tile_box:hover>.game_tile_box_favouritegame:hover {
    /* border-color: var(--input-border-hover); */
    background-color: var(--fancybutton-background-hover);
}

.game_tile_box_favouritegame_row {
    position: absolute;
    display: inline-block;
    top: 30%;
    right: 50px;
}

.game_tile_image {
    max-width: 200px;
    min-width: 150px;
    max-height: 200px;
    min-height: 200px;
    background-color: transparent;
}

.game_tile_image_shadow {
    box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -webkit-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -moz-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
}

.game_tile_image_row {
    max-width: 75px;
    min-width: 50px;
    max-height: 75px;
    min-height: 75px;
    margin-left: 10px;
    background-color: transparent;
    border-radius: var(--standard-radius);
}

.game_tile_image,
.unknown {
    background-color: transparent;
}

.game_tile_image_row,
.unknown {
    background-color: transparent;
}

.game_tile_image_small {
    min-width: 50px;
    min-height: 50px;
    max-width: 100px;
    max-height: 100px;
}

.bgImage {
    position: fixed;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    z-index: -100;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: white;
    filter: blur(32px);
    -webkit-filter: blur(32px);
}

.bgImage_LessBlur {
    filter: blur(4px);
    -webkit-filter: blur(4px);
}

#bgImage_Opacity {
    background: rgba(56, 56, 56, 0.7);
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: -90;
}

#gamepage {
    top: 0px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    /* width: 90%; */
    min-width: 911px;
    max-width: 1122px;
    min-height: 550px;

    padding-top: 1px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;

    position: relative;
}

#gamepagecontent {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: normal;
    align-items: normal;
    align-content: normal;
    position: relative;
    min-height: 0px;
    min-width: 0px;
}

#gamesummary {
    /* float: left; */
    margin-right: 20px;
    width: 250px;
    display: block;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    min-width: 0px;
}

#mainbody {
    /* margin-left: 270px; */
    display: block;
    /* flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto; */
    flex: 1;
    order: 0;
    min-height: 0;
    min-width: 0;
}

#gamesummaryroms {
    position: relative;
}

.game_cover_image {
    display: block;
    max-width: 250px;
    max-height: 350px;
    width: 100%;
    border-radius: var(--standard-radius);
    box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -webkit-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -moz-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
}

.gamegenrelabel {
    display: block;
    white-space: pre;
}

.rating_image {
    display: inline-block;
    height: 64px;
    max-width: 64px;
    max-height: 64px;
    margin: 0px;
}

.rating_image_logo_table {
    min-height: 70px;
    min-width: 70px;
    text-align: center;
}

.rating_image_mini {
    max-width: 32px;
    max-height: 32px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.rating_image_overlay {
    position: absolute;
    max-width: 32px;
    max-height: 32px;
    left: 5px;
    bottom: 5px;
}

.rating_image_overlay_row {
    position: absolute;
    left: 65%;
    top: 25px;
    height: 50px;
}

#gamescreenshots {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    /*height: 350px;*/
    margin-bottom: 20px;
    box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -webkit-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -moz-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    border-radius: var(--standard-radius);
}

#gamescreenshots_portal {
    text-align: center;
}

#gamescreenshots_main {
    display: inline-block;
    max-width: 100%;
    min-width: 290px;
    /* width: 290px; */
    height: 290px;
    /* margin-bottom: 10px; */
    border-radius: var(--standard-radius);
    border-width: 1px;
    border-style: solid;
    border-color: transparent;
    overflow: hidden;
}

iframe {
    display: block;
    margin: 0 auto;
}

/* #gamescreenshots_gallery {
    left: 0px;
    right: 0px;
    height: 65px;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: normal;
} */

/* #gamescreenshots_gallery_panel {
    display: block;
    height: 50px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.gamescreenshots_gallery_item {
    display: inline-block;
    height: 50px;
    width: 70px;
    margin-right: 10px;
    white-space: nowrap;
    border-color: transparent;
    border-style: solid;
    border-width: 2px;
    border-radius: var(--standard-radius);
    cursor: pointer;
} */

#gamescreenshots_gallery_panel {
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
    white-space: nowrap;
    display: flex;
    overflow-x: scroll;
    padding: 5px;

    .gamescreenshots_gallery_item {
        flex: 0 0 70px;
        display: inline-block;
        height: 50px;
        width: 70px;
        margin-right: 10px;
        white-space: nowrap;
        border-color: transparent;
        border-style: solid;
        border-width: 2px;
        border-radius: var(--standard-radius);
        cursor: pointer;
    }

    .gamescreenshots_gallery_item:hover {
        border-color: lightgray;
        outline-offset: -4px;
        outline-color: black;
        outline-style: solid;
        outline-width: 2px;
    }

    .gamescreenshosts_gallery_item_selected {
        border-color: white;
        outline-offset: -4px;
        outline-color: black;
        outline-style: solid;
        outline-width: 2px;
    }

    .gamescreenshosts_gallery_item_youtube {
        max-height: 20px;
        max-width: 20px;
        float: right;
        margin-top: 30px;
        margin-right: 5px;
    }
}

/* .gamescreenshots_gallery_item:hover {
    border-color: lightgray;
    outline-offset: -4px;
    outline-color: black;
    outline-style: solid;
    outline-width: 2px;
}

.gamescreenshosts_gallery_item_selected {
    border-color: white;
    outline-offset: -4px;
    outline-color: black;
    outline-style: solid;
    outline-width: 2px;
}

.gamescreenshosts_gallery_item_youtube {
    max-height: 20px;
    max-width: 20px;
    float: right;
    margin-top: 30px;
    margin-right: 5px;
} */

.gamescreenshots_arrows {
    margin-top: 140px;
    height: 30px;
    width: 30px;
    /* padding-top: 5px; */
    background-color: var(--arrow-background);
    text-align: center;
    user-select: none;
    /* standard syntax */
    -webkit-user-select: none;
    /* webkit (safari, chrome) browsers */
    -moz-user-select: none;
    /* mozilla browsers */
    -khtml-user-select: none;
    /* webkit (konqueror) browsers */
    -ms-user-select: none;
    /* IE10+ */
    border-radius: 50%;
    display: block;
}

.gamescreenshots_arrows:hover {
    cursor: pointer;
    background-color: var(--arrow-background-hover);
}

#gamescreenshots_left_arrow {
    float: left;
}

#gamescreenshots_right_arrow {
    float: right;
}

.gamescreenshots_arrow_image {
    padding-top: 7px;
    width: 18px;
    height: 15px;
}

#gamestatistics {
    display: block;
    width: 100%;
    /* margin-bottom: 10px; */
    /* background-color: var(--section-body-background); */
}

.gamestatistics_box {
    display: inline-block;
    padding: 10px;
}

.gamestatistics_label {
    display: block;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    padding: 3px;
}

.gamestatistics_value {
    display: block;
    padding: 3px;
}

#gamestatistics_favourite {
    float: right;
}

#gamestatistics_favourite_button {
    margin-bottom: 5px;
    margin-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 2px;
    padding-right: 7px;
    width: 30px;
    height: 30px;
    text-align: center;
    background-color: var(--fancybutton-background);
    border-radius: var(--standard-radius);
    border-style: solid;
    border-color: var(--fancybutton-background);
    border-width: 1px;
    cursor: pointer;
}

#gamestatistics_favourite_button:hover {
    border-color: var(--input-border-hover);
    background-color: var(--fancybutton-background-hover);
}

.line-clamp-4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /* truncate to 4 lines */
    -webkit-line-clamp: 4;
}

.romtable {
    width: 100%;
}

table {
    border-radius: var(--standard-radius);
    overflow: hidden;
}

div .romrow:nth-child(even),
table .romrow:nth-child(even) {
    background: rgba(94, 94, 94, 0.3);
}

div .romrow:nth-child(odd),
table .romrow:nth-child(odd) {
    background: rgba(56, 56, 56, 0.3);
}

.romrow.romrowgamepage {
    height: 42px;
}

.romcell {
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.romcell-headercell {
    font-weight: bold;
    width: 25%;
}

.bioscell {
    width: 25%;
}

.savedstateicon {
    height: 24px;
    width: 24px;
    margin-top: 4px;
    cursor: pointer;
}

.favouriteicon {
    height: 24px;
    width: 24px;
    margin-top: 4px;
    cursor: pointer;
    filter: invert(11%) sepia(100%) saturate(6854%) hue-rotate(359deg) brightness(103%) contrast(122%) drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
}

th {
    text-align: left;
    padding: 5px;
    background-color: var(--section-header-background);
}

.romlink {
    color: white;
    display: inline;
}

.romlink-nounderline {
    text-decoration: none;
}

.romlink:hover {
    color: white;
    text-decoration: underline;
    cursor: pointer;
}

.romstart {
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: #02B01B;
    color: white;
    text-shadow: 2px 2px 6px #003506;
    text-decoration: none;
    border-radius: var(--standard-radius);
    -webkit-border-radius: var(--standard-radius);
    -moz-border-radius: var(--standard-radius);
    border: 1px solid #19d348;
    box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -webkit-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -moz-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
}

.romstart:hover {
    background-color: #003506;
    border-color: #129834;
    cursor: pointer;
}

.taskstart {
    height: 24px;
    width: 24px;
    margin-top: 4px;
    cursor: pointer;
    filter: invert(11%) sepia(100%) saturate(6854%) hue-rotate(130deg) brightness(130%) contrast(122%) drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
}

.taskstart:hover {
    filter: invert(11%) sepia(100%) saturate(6854%) hue-rotate(160deg) brightness(150%) contrast(122%) drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));
}

.taskrow {
    height: 50px;
}

.properties_button {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: bold;
    color: white;
    line-height: 17px;
    text-align: center;
    border-width: 2px;
    border-style: solid;
    outline-width: 1px;
    outline-style: solid;
    border-color: white;
    background-color: blue;
    outline-color: blue;
    box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -webkit-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -moz-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
}

.properties_button:hover {
    cursor: pointer;
    color: blue;
    border-color: blue;
    background-color: white;
    outline-color: white;
}

#gamedev_logo {
    float: right;
    max-height: 48px;
}

#gamedeveloper_label {
    font-size: 16px;
}

#properties_toc {
    float: left;
    display: block;
    width: 150px;
    min-width: 150px;
    background-color: #383838;
    height: 100%;
}

div[name="properties_toc_item"],
div[name="properties_user_toc_item"],
div[name="properties_profile_toc_item"] {
    padding: 10px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--section-header-background);
}

div[name="properties_toc_item"]:hover,
div[name="properties_user_toc_item"]:hover,
div[name="properties_profile_toc_item"]:hover {
    background-color: var(--section-header-background);
    cursor: pointer;
}

.properties_toc_item_selected {
    background-color: var(--section-header-background);
}

#properties_bodypanel {
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: var(--section-header-background);
    margin-left: 150px;
    padding-left: 10px;
}

.settings_toc {
    margin-top: 20px;
}

/* single select */
.select2-container--default .select2-selection--single {
    background-color: var(--select2-background);
    border-color: var(--select2-border);
    height: 31px;
}

.select2-container--default:hover .select2-selection--single:hover {
    border-color: var(--select2-border-hover);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--select2-font-colour);
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: var(--select2-background-disabled);
    border-color: var(--select2-background-disabled);
    cursor: not-allowed;
}

.select2-container--default.select2-container--disabled:hover .select2-selection--single:hover {
    background-color: var(--select2-background-disabled);
    border-color: var(--select2-background-disabled);
    cursor: not-allowed;
}

/* multiple select */
.select2-container--default .select2-selection--multiple {
    background-color: var(--select2-background);
    border-color: var(--select2-border);
}

.select2-container--default:hover .select2-selection--multiple:hover {
    border-color: var(--select2-border-hover);
}

/* drop down menu */
.select2-dropdown {
    background-color: var(--select2-background);
    border-color: var(--select2-border);
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--select2-dropdown-selection-background);
    color: var(--select2-dropdown-selection-font-colour);
}

.select2-container--default .select2-results__option--selected {
    background-color: var(--select2-dropdown-selected-background);
    color: var(--select2-dropdown-selected-font-colour);
}

.select2-search__field {
    background-color: var(--select2-background);
    color: var(--select2-font-colour);
}

/* tag item */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #575757 !important;
    border: 1px solid var(--select2-background);
    border-radius: var(--standard-radius);
    padding-top: 1px;
    height: 21px;
}

/* tag item delete button */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-right: none;
    background-color: var(--select2-tag-delete-background);
    color: var(--select2-tag-delete-button);
    height: 100%;
    padding-bottom: 2px;
    padding-left: 5px;
}

/* tag item label */
.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    /* background-color: #4e4e4e; */
    background-color: var(--select2-tag-background);
}

/* clear selection button */
.select2-selection__clear {
    margin-right: 10px;
    color: var(--select2-tag-delete-button);
}

.select2-selection__clear:hover {
    color: var(--select2-tag-delete-background);
}

.dropdown-div {
    width: 100%;
}

.dropdown-cover {
    width: 85px;
    max-width: 85px;
}

.dropdown-label {
    padding-left: 20px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 20px;
    font-weight: bold;
    text-align: left;
}

.dropdown-title {
    display: block;
    font-weight: bold;
    margin-right: 5px;
}

.dropdown-releasedate {
    display: block;
    font-weight: normal;
    color: lightgray;
}

button:not(.select2-selection__choice__remove):not(.select2-selection__clear):not(.ejs_menu_button):not(.bigbutton) {
    background-color: var(--button-background);
    color: var(--button-font-colour);
    border-width: 1px;
    border-color: var(--button-border);
    border-style: solid;
    border-radius: var(--standard-radius);
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 5px;
    margin-bottom: 3px;
    font-size: 13px;
    height: 30px;
}

button:not(.select2-selection__choice__remove):not(.select2-selection__clear):not(.ejs_menu_button):hover {
    background-color: var(--button-background-hover);
    border-color: var(--button-border-hover);
    color: var(--button-font-colour-hover);
    cursor: pointer;
}

button:not(.select2-selection__choice__remove):not(.select2-selection__clear):not(.ejs_menu_button):disabled {
    background-color: var(--button-background);
    border-color: var(--button-border-disabled);
    color: var(--button-font-colour-disabled);
    cursor: not-allowed;
}

.bigbutton {
    background-color: var(--button-background);
    color: var(--button-font-colour);
    border-width: 1px;
    border-color: var(--button-border);
    border-style: solid;
    margin-top: 10px;
    width: 100%;
    height: 42px;
    font-size: 16px;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.redbutton {
    background-color: var(--button-red-background) !important;
    border-color: var(--button-red-border) !important;
    color: var(--button-red-font-colour) !important;
}

.redbutton:hover {
    background-color: var(--button-red-background-hover) !important;
    border-color: var(--button-red-border-hover) !important;
    color: var(--button-red-font-colour-hover) !important;
}

.redbutton:disabled {
    background-color: var(--button-red-background-disabled) !important;
    border-color: var(--button-red-border-disabled) !important;
    color: var(--button-red-font-colour-disabled) !important;
}

.bluebutton {
    background-color: var(--button-blue-background) !important;
    border-color: var(--button-blue-border) !important;
    color: var(--button-blue-font-colour) !important;
}

.bluebutton:hover {
    background-color: var(--button-blue-background-hover) !important;
    border-color: var(--button-blue-border-hover) !important;
    color: var(--button-blue-font-colour-hover) !important;
}

.bluebutton:disabled {
    background-color: var(--button-blue-background-disabled) !important;
    border-color: var(--button-blue-border-disabled) !important;
    color: var(--button-blue-font-colour-disabled) !important;
}

#emulator {}

.emulator_partscreen {
    margin: 0 auto;
    width: 640px;
    padding-top: 100px;
}

.emulator_fullscreen {
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 40px;
}

#emulatorbios {
    margin: 0 auto;
    width: 640px;
    padding-top: 20px;
}

.greentext {
    color: lightgreen;
}

.redtext {
    color: red;
}

#settings_photocredit {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 20px;
    background-color: rgba(0, 22, 56, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px;
}

#upload_target {
    /* background-color: #383838; */
    /* color: white; */
    border: none;
    height: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.dragtarget {
    outline-color: var(--section-header-background);
    outline-style: dashed;
    outline-width: 2px;
    outline-offset: 2px;
    cursor: pointer;
}

.dragover {
    outline-color: white;
}

.uploaditem {
    padding: 0px;
    width: 100%;
    position: relative;
    height: 100px;
}

.uploadItem-FlexBox {
    display: flex;
    width: 100%;
    height: 100%;
}

.uploadItem-LeftColumn {
    display: inline-block;
    width: 60px;
    height: 60px;
    padding: 20px;
    text-align: center;
}

.uploadItem-RightColumn {
    display: inline-block;
    width: 91%;
    height: 60px;
    padding-left: 0px;
    padding-right: 10px;
    padding-top: 20px;
    padding-bottom: 10px;
}

.uploadItem-CoverArt {
    display: inline-block;
    max-height: 60px;
    max-width: 60px;
    border-radius: var(--standard-radius);
}

.uploadItem-Label {
    font-weight: bold;
    margin-bottom: 8px;
}

.uploadItem-Status {
    margin-bottom: 5px;
}

.uploadItem-Progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 5px;
}

.uploaditemprogressinprogress {
    accent-color: lightskyblue;
}

.uploaditemprogresscomplete {
    accent-color: green;
}

.uploaditemprogresswarning {
    accent-color: orange;
}

.uploaditemprogressfailed {
    accent-color: red;
}

.system_platforms_legend {
    display: flex;
}

.legend_box {
    display: inline-block;
    flex: 1;
    min-width: 145px;
    min-height: 70px;
    vertical-align: top;
    margin-right: 10px;
    padding-right: 5px;
    margin-top: 10px;
}

.legend_colour {
    float: left;
    width: 10px;
    height: 10px;
    margin-top: 3px;
    margin-bottom: 10px;
}

.legend_label {
    margin-left: 15px;
}

.rom_checkbox_box {
    padding-left: 10px;
}

.rom_checkbox_box_hidden {
    display: none;
}

#rom_edit,
#rom_edit_delete {
    float: right;
}

#rom_edit {
    padding: 10px;
}

#rom_edit_panel {
    background-color: rgba(56, 56, 56, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 15px;
    margin-bottom: 10px;
}

#game {
    box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -webkit-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
    -moz-box-shadow: 5px 5px 19px 0px rgba(0, 0, 0, 0.44);
}

#gametitle {
    margin-bottom: 10px;
}

#gametitle_criticrating {
    float: right;
}

#gametitle_alts {
    margin-top: -2px;
}

#gametitle_criticrating_value {
    display: inline-block;
    font-family: var(--pixel-font);
    font-size: 36px;
    text-align: center;
    margin-right: 2px;
}

#gametitle_criticrating_label {
    display: inline-block;
    text-align: left;
}

#rom_edit_progressbar {
    width: 100%;
    height: 10px;
    background-color: lightgray;
    margin-top: 10px;
}

#rom_edit_progressbar_progress {
    height: 10px;
    background-color: cyan;
}

.collections_modal {
    width: 1000px;
    height: 90%;
    margin: 25px auto;
    /*    overflow-x: scroll;*/
    position: relative;
}

.collections_preview_platform_header {
    background-color: var(--section-header-background);
}

.collections_preview_gamecovercell {
    text-align: center;
    width: 110px;
    vertical-align: top;
    padding-bottom: 10px;
}

.collections_preview_gametitlecell {
    font-weight: bold;
}

.collections_preview_gamedetailcell {
    vertical-align: top;
}

.bgalt0 {
    background-color: #414040;
}

.bgalt1 {
    background-color: transparent;
    ;
}

.logs_table_cell_150px {
    width: 150px;
}

.logs_table_cell {
    vertical-align: top;
}

.logs_table_row_Information:nth-child(even) {
    background: rgba(42, 41, 150, 0.3);
}

.logs_table_row_Information:nth-child(odd) {
    background: rgba(10, 9, 83, 0.3);
}

.logs_table_row_Warning:nth-child(even) {
    background: rgba(139, 150, 41, 0.3);
}

.logs_table_row_Warning:nth-child(odd) {
    background: rgba(49, 53, 14, 0.3);
}

.logs_table_row_Critical:nth-child(even) {
    background: rgba(150, 41, 41, 0.3);
}

.logs_table_row_Critical:nth-child(odd) {
    background: rgba(58, 16, 16, 0.3);
}

.logs_table_row_Debug:nth-child(even) {
    background: rgba(150, 41, 135, 0.3);
}

.logs_table_row_Debug:nth-child(odd) {
    background: rgba(68, 18, 61, 0.3);
}

.logs_table_exception {
    margin-right: 10px;
    padding: 5px;
    border-radius: var(--standard-radius);
    border-color: #383838;
    border-width: 1px;
    background-color: #383838;
}

.string {
    color: lightblue;
}

.number {
    color: lightblue;
}

.boolean {
    color: lightblue;
}

.null {
    color: magenta;
}

.key {
    color: greenyellow;
}

.brace {
    color: #888;
}

.square {
    color: #fff000;
}

.tagBox {
    position: absolute;
    top: 0px;
    right: 0px;
    text-align: right;
    font-size: 10px;
}

.tagBoxItem {
    display: block;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    min-width: 10px;
    height: 10px;
    background-color: darkslategray;
    color: white;
    text-align: center;
    border-radius: var(--standard-radius);
    border-color: darkslategray;
    border-style: solid;
}

.romGroupTitles {
    padding-left: 20px;
}

.loginwindow {
    position: fixed;
    /* Stay in place */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    /*background-color: rgb(0,0,0); /* Fallback color */
    /*background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    /*backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);*/
    filter: drop-shadow(5px 5px 10px #000);
    -webkit-filter: drop-shadow(5px 5px 10px #000);
}

/* Modal Content/Box */
.loginwindow-content {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.loginwindow-logospace {
    background-color: var(--modal-tabs-background-color);
    width: 315px;
    position: relative;
}

.loginwindow_loginspace {
    background-color: var(--modal-window-background-color);
    padding: 20px;
    flex-grow: 1;
}

.loginwindow_loginspace_controls {
    width: 100%;
    min-height: 75%;
}

.loginwindow-logospace-banner {
    margin: 20px;
}

.loginwindow-logospace-banner-top {
    max-width: fit-content;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

.loginwindow-logospace-banner-bottom {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

.loginwindow-logospace-logo {
    display: block;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    background-image: url("/images/logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.loginwindow-logospace-label {
    font-family: var(--pixel-font);
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    font-size: 18pt;
    vertical-align: top;
    /*color: #edeffa;*/
    color: white;
    margin-top: 8px;
}

.loginwindow-logospace-linktable {
    margin-top: 20px;
    width: 100%;
    display: flex;
}

.loginwindow-logospace-linktable-link {
    flex-grow: 1;
    text-align: center;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    float: right;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--modal-background-color);
    border-radius: var(--standard-radius);
    border-color: var(--modal-border-color);
    border-width: 1px;
    border-style: solid;
    overflow: hidden;
    min-width: 160px;
    /* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); */
    z-index: 1;
    right: 0;
    top: 40px;
    filter: drop-shadow(5px 5px 10px #000);
    -webkit-filter: drop-shadow(5px 5px 10px #000);
    padding: 3px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: default;
}

/* Links inside the dropdown */
.dropdown-content a,
.dropdown-content span {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: var(--standard-radius);
    overflow: hidden;
    margin-top: 3px;
}

.dropdown-content span {
    cursor: auto;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: var(--modal-border-color);
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}

.dropdownroleitem {
    text-transform: capitalize;
    font-size: 12px;
    font-weight: bold;
    color: white;
    background-color: red;
    border-color: red;
    border-style: solid;
    border-width: 1px;
    border-radius: var(--standard-radius);
    padding: 3px 6px;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.dropdown-menu-separator {
    border-top: 1px solid var(--modal-border-color);
    margin-top: 3px;
}

#saved_states {}

.saved_state_box {
    display: flex;
    flex-direction: column nowrap;
    padding: 10px;
}

.saved_state_image_box {
    flex-basis: 128px;
}

.saved_state_image_image {
    width: 128px;
    margin: 0px;
}

.saved_state_main_box {
    flex-grow: 1;
    padding-left: 20px;
    padding-right: 20px;
}

.saved_state_name {
    font-size: 15px;
    width: 100%;
    margin-bottom: 10px;
}

.saved_state_date {
    color: #888;
}

.saved_state_controls {
    margin-top: 10px;
    text-align: left;
}

.saved_state_buttonlink {
    cursor: pointer;
}

#gamesummary_cover {
    margin-bottom: 20px;
}

.section {
    background-color: var(--section-body-background);
    margin-bottom: 20px;
    border-radius: var(--standard-radius);
    overflow: hidden;
}

.section-header {
    background-color: var(--section-header-background);
    padding: 10px;
    font-weight: bold;
}

.section-body {
    padding: 10px 10px 12px 10px;
}

.listboxselector {
    overflow-x: scroll;
    height: 200px;
    width: 100%;
}

.listboxselector-item {
    cursor: default;
    padding: 4px;
    display: flex;
    min-height: 35px;
}

.listboxselector-item-selected {
    background-color: var(--selected-item);
}

.listboxselector-arrow {
    display: inline-block;
    text-align: center;
    color: var(--button-font-colour);
    margin-top: 10px;
    padding-top: 5px;
    padding-bottom: 3px;
    width: 60px;
    background-color: var(--arrow-background);
    text-align: center;
    user-select: none;
    /* standard syntax */
    -webkit-user-select: none;
    /* webkit (safari, chrome) browsers */
    -moz-user-select: none;
    /* mozilla browsers */
    -khtml-user-select: none;
    /* webkit (konqueror) browsers */
    -ms-user-select: none;
    /* IE10+ */
    border-radius: var(--standard-radius);
}

.listboxselector-arrow:hover {
    cursor: pointer;
    background-color: var(--arrow-background-hover);
}

.listboxselector-item-name {
    flex-grow: 1;
    pointer-events: none;
    vertical-align: middle;
}

.listboxselector-item-icons {
    pointer-events: none;
    width: 40%;
}

.inputWithVerticalLabel {
    margin-top: 6px;
    margin-bottom: 15px;
}

.avatar {
    border-radius: 50%;
    border-width: 1px;
    border-color: white;
    border-style: solid;
    filter: drop-shadow(1px 1px 3px #000);
    -webkit-filter: drop-shadow(1px 1px 3px #000);
}

.profile-card {
    width: 250px;
    max-width: 250px;
    border-radius: var(--standard-radius);
    border-style: solid;
    border-width: 1px;
    border-color: rgba(173, 216, 230, 0.3);
    overflow: hidden;
    position: relative;
}

.profile-card-standalone {
    filter: drop-shadow(5px 5px 10px #000);
    -webkit-filter: drop-shadow(5px 5px 10px #000);
}

.profile-card-avatar {
    position: absolute;
    left: 10px;
    top: 20px;
    aspect-ratio: 1/1;
}

.profile-card-background-image {
    width: 100%;
    /* height: 60px; */
    aspect-ratio: 4.17/1;
    background-size: cover;
    background-position: center;
    background-color: rgb(0, 0, 130);
}

.profile-card-body {
    /* min-height: 40px; */
    padding-top: 25px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
    background-color: rgba(173, 216, 230, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.profile-card-display-name {
    font-weight: bold;
    font-size: 16px;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-card-quip {
    margin-top: 3px;
    font-style: italic;
    color: white;
}

.password-rules {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.listitem {
    height: 25px;
    padding-left: 30px;
}

.listitem-green {
    background-image: url('/images/tick.svg');
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 18px 18px;
}

.listitem-red {
    background-image: url('/images/cross.svg');
    background-repeat: no-repeat;
    background-position: 1px 1px;
    background-size: 16px 16px;
}

#fileSelector {
    display: flex;
    list-style: none;
    white-space: nowrap;
    width: 100%;
    height: 260px;
    margin-top: 0px;
    margin-left: 0xp;
    margin-right: 10px;
    padding-top: 0xp;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
}

.filepicker-item {
    width: 200px;
    min-width: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.filepicker-path {
    padding: 5px;
}

.filepicker-path-selected {
    background-color: var(--selected-item);
}

.filepicker-path:hover {
    cursor: pointer;
    background-color: var(--input-background);
}

#selectedPath {
    position: absolute;
    height: 20px;
    padding: 5px;
    left: 5px;
    bottom: -38px;
    width: 425px;
    background-color: var(--section-header-background);
    border-radius: var(--standard-radius);
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.role-permissions {
    position: relative;
}

.role-permissions-table.collapsed {
    height: 200px;
    overflow: hidden;
}

.role-permissions-table.expanded {
    padding-bottom: 40px;
}

.role-permissions-expand.collapsed {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 10px;
    height: 60px;
    display: block;
    background: var(--section-body-background);
    background: linear-gradient(0deg, var(--section-body-background-solid) 25%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(8px);
    --webkit-backdrop-filter: blur(8px);
    padding: 5px;
    vertical-align: bottom;
    content: "";
    width: 100%;
    height: 150px;
}

.role-permissions-expand.expanded {
    display: none;
}

.role-permissions-expand-link {
    position: absolute;
    bottom: -10px;
    left: 5px;
    right: 5px;
    height: 40px;
    cursor: pointer;
}

.biositem {
    display: flex;
}

.biosinput {
    flex-grow: 1;
    margin: 5px;
}

.biositemcontrol {
    flex-grow: 0;
    width: 25px;
    margin: 10px;
}

#gamesummaryplatformscontent {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 5px;
}

.platform_item {
    padding: 10px;
    flex-grow: 1;
    flex-basis: 45%;
    border-radius: var(--standard-radius);
    /* background-color: var(--section-header-background); */
    background: linear-gradient(90deg, rgba(200, 200, 200, 0.7469362745098039) 0%, rgba(133, 133, 133, 1) 50%);
    color: white;
    height: 50px;
    cursor: pointer;
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.platform_item:hover {
    background-color: var(--button-background-hover);
}

.platform_item_green {
    background: linear-gradient(90deg, rgba(66, 200, 77, 0.747) 0%, rgb(66, 133, 77) 50%);
}

.platform_item_background:hover {}

.platform_image_container {
    margin-left: 10px;
    margin-right: 10px;
    max-width: 50px;
    max-height: 50px;
    flex-grow: 0;
}

.platform_image {
    width: 40px;
}

.platform_name_container {
    flex-grow: 1;
}

.platform_name {
    display: block;
}

.platform_edit_button_container {
    width: 90px;
    flex-grow: 0;
}

.platform_edit_button {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 20px;
    height: 20px;
    background-color: var(--fancybutton-background);
    border-radius: var(--standard-radius);
    border-width: 1px;
    border-color: var(--fancybutton-background);
    border-style: solid;
    text-align: center;
    cursor: pointer;
    padding: 10px;
}

.platform_edit_button:hover {
    /* background-color: var(--fancybutton-background-hover); */
    border-color: var(--input-border-hover);
}

.platform_statemanager_button {
    right: 60px;
}

.savedstatemanagericon {
    height: 20px;
    width: 20px;
    margin-right: 5px;
}

.homegame-scroller {
    list-style: none;
    white-space: nowrap;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
}

.homegame-item {
    /* display: inline-block; */
    /* width: 220px; */
}

.homegame-item>.game_tile_small {
    max-width: 160px;
    width: 160px;
    white-space: normal;
}