﻿body {
    background-color: #383838;
    color: white;
    font-family: "PT Sans", Arial, Helvetica, sans-serif;
    font-kerning: normal;
    font-style: normal;
    font-weight: 100;
    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;
}

/* 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;
}

#banner_icon {
    background-color: white;
    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;
}

.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;
}

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

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

.banner_button_avatar {
    margin-top: -10px;
    height: 40px;
    width: 40px;
    cursor: pointer;
}

.banner_button_avatar_image:hover {
    cursor: pointer;
}

#banner_header {
    background-color: rgba(0, 22, 56, 0.8);
    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: Commodore64;
    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: Commodore64;
    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: Commodore64;
    font-size: 13px;
}

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

#games_filter {

    width: 200px;
    /* border-style: solid;
    border-width: 1px;
    border-color: #2b2b2b; */
    overflow: hidden;
}

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

.filter_header {
    font-weight: bold;
    padding: 10px;
    background-color: #2b2b2b;
}

.filter_header_toggleable:hover {
    background-color: #000000;
}

.filter_panel_box {
    position: relative;
    padding: 10px;
    z-index: 1;
}

input[type='text'],
input[type='number'],
input[type="email"],
input[type="password"],
input[type="datetime-local"] {
    background-color: #2b2b2b;
    color: white;
    padding: 4px;
    font-family: "PT Sans", Arial, Helvetica, sans-serif;
    font-kerning: normal;
    font-style: normal;
    font-weight: 100;
    font-size: 13px;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    /* border-color: lightgray; */
    border-color: #2b2b2b;
    height: 21px;
}

input[type='text']:hover,
input[type='number']:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="datetime-local"]:hover {
    border-color: #939393;
}

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: #383838;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.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: Commodore64;
    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: Commodore64;
    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 {
    display: absolute;
    border-style: solid;
    border-width: 1px;
    border-color: #2b2b2b;
    border-radius: 5px;
    margin-bottom: 10px;
    padding-top: 7px;
    padding-bottom: 10px;
    padding-right: 20px;
    text-align: right;
}

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

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

#games_library {
    display: block;
    margin-right: 50px;
    /* width: 90%; */
    /* border-style: solid;
    border-width: 1px;
    border-color: #2b2b2b; */
    /* 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: Commodore64;
    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 {
    display: inline-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: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    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: #2b2b2b;
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    border: 1px solid #2b2b2b;
}

.game_tile_small:hover {
    cursor: pointer;
    text-decoration: underline;
    background-color: #2b2b2b;
    border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    border: 1px solid #2b2b2b;
}

.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;
}

.game_tile_row:hover {
    cursor: pointer;
    text-decoration: underline;
    background-color: #2b2b2b;
}

.game_tile_box {
    position: relative;
    display: inline-block;
    max-width: 200px;
    max-height: 200px;
}

.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_row {
    position: absolute;
    text-align: left;
    vertical-align: middle;
    left: 110px;
    top: 0px;
    bottom: 0px;
    width: 50%;
    line-height: 100px;
}

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

.game_tile_box_savedgame_row {
    position: absolute;
    top: 30%;
    right: 10px;
}

.game_tile_box_favouritegame {
    position: absolute;
    top: 1px;
    left: 5px;
}

.game_tile_box_favouritegame_row {
    position: absolute;
    top: 30%;
    right: 10px;
}

.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;
}

.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;
}

#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;
}

#mainbody {
    margin-left: 270px;
}

#gamesummary {
    float: left;
    margin-right: 20px;
    width: 250px;
}

#gamesummaryroms {
    position: relative;
}

.game_cover_image {
    display: block;
    max-width: 250px;
    max-height: 350px;
    width: 100%;
    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-right: 20px;
    /* margin-bottom: 20px; */
}

.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: 50%;
    top: 25px;
    height: 50px;
}

#gamescreenshots {
    background-color: black;
    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);
}

#gamescreenshots_main {
    display: block;
    width: 100%;
    height: 290px;
    margin-bottom: 10px;
}

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: black;
    border-style: solid;
    border-width: 2px;
    cursor: pointer;
}

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

.gamescreenshots_arrows {
    margin-top: 140px;
    height: 50px;
    width: 30px;
    font-size: 40px;
    background-color: #383838;
    color: black;
    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+ */
}

.gamescreenshots_arrows:hover {
    cursor: pointer;
    background-color: #555;
}

#gamescreenshots_left_arrow {
    float: left;
}

#gamescreenshots_right_arrow {
    float: right;
}

.gamescreenshosts_gallery_item:hover {
    border-color: lightgray;
}

.gamescreenshosts_gallery_item_selected {
    border-color: white;
}

#gamestatistics {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    background-color: rgba(56, 56, 56, 0.3);
}

.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: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 2px;
    padding-right: 7px;
    width: 30px;
    height: 30px;
    text-align: center;
    background-color: rgba(56, 56, 56, 0.3);
    border-radius: 5px;
    border-style: solid;
    border-color: transparent;
    border-width: 0px;
    cursor: pointer;
}

#gamestatistics_favourite_button:hover {
    background-color: rgba(56, 56, 56, 0.9);
}

#gamesummarytext_label {}

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

.romtable {
    width: 100%;
}

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

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

.romrow.romrowgamepage {
    height: 42px;
}

.romcell {
    padding: 5px;
}

.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;
}

.romlink {
    color: white;
    /*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: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    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;
}

.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: #2b2b2b;
}

div[name="properties_toc_item"]:hover,
div[name="properties_user_toc_item"]:hover,
div[name="properties_profile_toc_item"]:hover {
    background-color: #2b2b2b;
    cursor: pointer;
}

.properties_toc_item_selected {
    background-color: #2b2b2b;
}

#properties_bodypanel {
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: #2b2b2b;
    margin-left: 150px;
    padding-left: 10px;
}

.settings_toc {
    margin-top: 20px;
}

.select2-container--default .select2-selection--multiple {
    background-color: #2b2b2b;
    color: white !important;
    border: 1px solid #2b2b2b;
    border-radius: 5px;
}

.select2-container--default:hover,
.select2-selection--multiple:hover {
    border-color: #939393;
}

.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-dropdown--above {
    background: #2b2b2b;
}

.select2-container--flat .select2-container--focus .select2-selection--multiple {
    border: 1px solid #2b2b2b;
}

/* tag item */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #575757 !important;
    border: 1px solid #2b2b2b;
    border-radius: 5px;
}

/* tag item delete button */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-right: none;
    background-color: #939393;
    color: white;
}

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

.select2-selection__choice__display {
    color: white;
}

.select2-results__option--selected {
    background-color: black !important;
}

.select2-selection--single .select2-selection__rendered {
    background-color: #2b2b2b;
    color: white !important;
    border: 1px solid #2b2b2b;
    border-radius: 5px;
}

.select2-selection--single:hover,
.select2-selection__rendered:hover {
    border-color: #939393;
}

.select2-container--default .select2-selection--single {
    background-color: #2b2b2b;
    color: white !important;
    border: 1px solid #2b2b2b;
    border-radius: 5px;
}

/* .select2-container--default:hover, .select2-selection--single:hover {
    border-color: #939393;
} */

.select2-search__field {
    background-color: #2b2b2b;
    color: white;
}

.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(.ejs_menu_button):not(.bigbutton) {
    background-color: #555;
    color: white;
    border-width: 1px;
    border-color: #555;
    border-style: solid;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 3px;
    margin-bottom: 3px;
    font-size: 13px;
    height: 30px;
}

button:not(.select2-selection__choice__remove):not(.ejs_menu_button):hover {
    background-color: #888;
    cursor: pointer;
}

button:not(.select2-selection__choice__remove):not(.ejs_menu_button):disabled {
    background-color: #555;
    color: #888;
    cursor: not-allowed;
}

.bigbutton {
    background-color: #555;
    color: white;
    border-width: 1px;
    border-color: #555;
    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: darkred;
    border-color: darkred;
}

.redbutton:hover {
    background-color: red;
}

.redbutton:disabled {
    background-color: #555;
}

#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: 310px;
    margin-top: 10px;
    overflow: auto;
}

.legend_box {
    display: inline-block;
    width: 145px;
    height: 70px;
    vertical-align: top;
    margin-right: 5px;
    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 {}

.rom_checkbox_box_hidden {
    display: none;
}

#rom_edit,
#rom_edit_delete {
    float: right;
}

#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_criticrating {
    float: right;
}

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

#gametitle_criticrating_value {
    display: inline-block;
    font-family: Commodore64;
    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: #2b2b2b;
}

.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: 10px;
    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: 5px;
    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: relative;
    background-color: #383838;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 10px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 350px;
    /* Could be more or less, depending on screen size */
    min-height: 250px;
}

#loginwindow_header_label {
    font-family: Commodore64;
    display: inline-block;
    padding: 10px;
    font-size: 24pt;
    vertical-align: top;
    /*color: #edeffa;*/
    color: #7c70da;
}

/* 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: #f1f1f1;
    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);
}

/* Links inside the dropdown */
.dropdown-content a,
.dropdown-content span {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content span {
    cursor: auto;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* 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: 5px;
    padding: 3px 6px;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

#saved_states {
    overflow-x: scroll;
    height: 350px;
}

.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;
}