body
{
}

* {
    box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.container {
    position: relative;
}

/* Hide the images by default */
.artyImages {
    display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    /*position: absolute;*/
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.roboText {
    color: #f2f2f2;
    font-size: 12px;
    font-family: Roboto;
    padding: 8px 12px;
}

.roboText20 {
    color:dodgerblue;
    font-size: 20px;
    font-family: Roboto;
    padding: 4px 8px;
}

/* Container for image text */
.caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}

img { 
    vertical-align: top;
}

td.fit {
    width: 0;
    min-width: fit-content;
    background-color: black;
    /*border: 1px solid blue;*/
    padding: 0;
    margin: 0;
    color: white;
}

table {
    border: 1px solid black;
    border-collapse: collapse;
    white-space: nowrap;
    width: 100%;
}

td, th {
    border: 1px solid black;
}

td {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

td.blueborder {
    background-color: black;
    border: 1px solid blue;
    padding: 0;
    margin: 0;
    color: white;
}

td.thumbimg {
    background-color: red;
    border: 1px solid blue;
    padding: 0;
    margin: 0;
    color: white;
    width: 0;
    height:0;
    min-width: fit-content;
}

.thumbnail {
    width: 10%;
    height: 10%;
    min-width:200px;
    min-height:200px;
    max-height:200px;
    background-color: black;
    margin: 6px 0;
    transition: 0.4s;
}

.artymap {
    width:100%;
    height:100%;
    background-color: black;
    transition: 1.4s;
}

td.artyText {
    width: 15%;
    word-wrap:hyphenate;
    white-space:normal;
    vertical-align: top;
    color: #f2f2f2;
    font-size: 14px;
    font-family: Roboto;
    padding: 8px 12px;
}

td.yayaText {
    width: 33%;
    word-wrap: hyphenate;
    white-space: normal;
    vertical-align: top;
    color: #f2f2f2;
    font-size: 14px;
    font-family: Roboto;
    padding: 8px 12px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Six columns side by side */
.column {
    float: left;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

.thumbNailContainer {
    position: relative;
    width: 100%;
}

/* Make the image to responsive */
.image {
    display: block;
    width: 100%;
    height: auto;
}

/* The overlay effect - lays on top of the container and over the image */
.overlay {
    position: absolute;
    bottom: 0;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.5); /* Black see-through */
    color: #f1f1f1;
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    color: white;
    font-size: 20px;
    padding: 20px;
    text-align: center;
    font-family: Roboto;
}

/* When you mouse over the container, fade in the overlay title */
.thumbNailContainer:hover .overlay {
    opacity: 1;
}

.holder {
    width: 400px;
    height: 300px;
    position: relative
}

.frame {
    width: 100%;
    height: 100%;
    background-color: blue;
}

.bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: red;
}

.robotextHelp {
    height:10px;
    border: solid black 1px;
    display: flex;
    align-items:center;
    justify-content:left;
    color: #f2f2f2;
    font-size: 12px;
    font-family: Roboto; 
}

/* ----- Layout refresh ----- */
body.theme-dark {
    background-color: #000;
    color: #f2f2f2;
    margin: 0;
    font-family: Roboto, Arial, sans-serif;
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 12px;
    position: sticky;
    top: 0;
    background: linear-gradient(90deg, #0d1117, #0b1b2b);
    border-bottom: 1px solid #111;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 180px;
    max-width: 32vw;
    height: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-title {
    font-size: 16px;
    color: #e7f5ff;
}

.brand-sub {
    font-size: 12px;
    color: #9fb3c8;
}

.brand-hint {
    font-size: 12px;
    color: #c7d2fe;
    min-height: 16px;
}

.topbar-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.search {
    background: #0a0f17;
    border: 1px solid #1f2a3a;
    color: #e7f5ff;
    padding: 8px 10px;
    border-radius: 6px;
    min-width: 200px;
}

.btn {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #1f2a3a;
    background: #121826;
    color: #e7f5ff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn:hover {
    background: #1f2a3a;
    transform: translateY(-1px);
}

.btn.primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #f8fafc;
}

.btn.ghost {
    background: transparent;
    color: #9fb3c8;
}

.layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 16px;
    padding: 16px;
}

.sidebar {
    background: #0a0f17;
    border: 1px solid #111827;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: calc(100vh - 120px);
    position: sticky;
    top: 76px;
    overflow: hidden;
}

.sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #e7f5ff;
    font-weight: 600;
}

.map-list {
    overflow-y: auto;
    padding-right: 4px;
    display: grid;
    gap: 6px;
}

.map-list-item {
    text-align: left;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #1f2a3a;
    background: #0f172a;
    color: #dce7f5;
    cursor: pointer;
    transition: background 0.15s ease, border 0.15s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-list-item:hover {
    background: #1f2a3a;
    border-color: #2563eb;
}

.map-list-item.hidden {
    display: none;
}

.map-list-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
    background: #111827;
    border: 1px solid #1f2a3a;
    flex-shrink: 0;
}

.main {
    min-width: 0;
}

@media (max-width: 1000px) {
    .layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: relative;
        max-height: none;
    }
    .topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}


