html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media print {
    body {
        visibility: hidden;
    }
    #section-to-print {
        visibility: visible;
        position: absolute;
        left: 10px;
        top: 0;
    }
}

#map { height: 720px; }

.sideDiv {
    height: 100%;
    width: 32px;
    background-color: #112233;
    border: 1px solid #000;
    float: left;
}

.slidingDiv {
    height: 100%;
    top: 40px;
    left: 40px;
    float: left;
    border: 1px solid #000;
}

.smallButton {
    width: 16px;
    height: 16px;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.pointer {
    cursor: pointer;
}

.fast-input-help {
    background-color: #F4F5F6;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-top: 5px;
    margin-top: 10px;
}

.help-explanation {
    background-color: #F4F5F6;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-top: 5px;
    margin-top: 10px;
}

.gear-selected {
    padding: 5px;
    margin-top: 3px;
}

.sunken {
    padding: 5px;
    border: 2px ridge;
    /*box-shadow: inset 0 1px 2px rgba(0,0,0,.39), 0 -1px 1px #FFF, 0 1px 0 #FFF;*/
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.16), 0 4px 6px rgba(0,0,0,0.45);
}

.purple {
    background: linear-gradient(to top, #dad4ec 0%, #dad4ec 1%, #f3e7e9 100%);
}

.enhance-configuration {
    background-image: linear-gradient(to right top, #d16ba5, #c060aa, #ac58b0, #9152b6, #6f4fbc, #5a5cc7, #3e68d0, #0073d7, #008bdb, #0099b4, #00a172, #3ca126);
}

.enhance-missing {
    background-image: linear-gradient(to right top, #ac58b0, #d16ba5, #c060aa, #9152b6, #6f4fbc, #5a5cc7, #3e68d0, #0073d7, #008bdb, #0099b4, #00a172, #3ca126);
}

.enhance-execution {
    background-image: linear-gradient(to right top, #c060aa, #ac58b0, #d16ba5, #9152b6, #6f4fbc, #5a5cc7, #3e68d0, #0073d7, #008bdb, #0099b4, #00a172, #3ca126);
}

ul.no-bullets {
    list-style-type: none; /* Remove bullets */
}

.fast-input-settings {
    padding-bottom: 5px;
    padding-left: 5px;
    padding-top: 5px;
    margin-top: 10px;
    background-color: #F3F7F5;
}

.import-hero {
    padding-bottom: 5px;
    padding-left: 5px;
    padding-top: 5px;
    margin-top: 10px;
    background-color: #F3F7F5;
}

.create-equipment {
    padding-bottom: 5px;
    padding-left: 5px;
    padding-top: 5px;
    margin-top: 10px;
    background-color: #F6F7EB;
    //background-color: #DAE4F1;
}

td.customColumn {
    background-color: #20c997;
}

.ctk-tooltip {
    padding: 4px 8px;
    background: #000;
    color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transform: translateX(-50%);
    z-index: 9999;
    -webkit-box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
}

.tooltip {
}

.tooltip .tooltiptext {
    visibility: hidden;
    padding: 4px 8px;
    background: #000;
    color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transform: translateX(-50%);
    z-index: 9999;
    -webkit-box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.hovered {
    background-color: lightblue;
    cursor: pointer;
}

.false-link {
    text-decoration: none;
}

.nothing {

}

.barterLevel1 {
    font-weight: bold;
    color: ghostwhite;
}

.barterLevel2 {
    font-weight: bold;
    color: lightgreen;
}

.barterLevel3 {
    font-weight: bold;
    color: lightblue;
}

.barterLevel4 {
    font-weight: bold;
    color: gold;
}

.barterLevel5 {
    font-weight: bold;
    color: darkorange;
}

.givesBackground {
    background-color: darkgray;
    height: 24px;
    color:black;
}

.simple-typeahead {
    position: relative;
    width: 100%;
}
.simple-typeahead > input {
    margin-bottom: 0;
}
.simple-typeahead .simple-typeahead-list {
    position: absolute;
    width: 100%;
    border: none;
    max-height: 400px;
    overflow-y: auto;
    border-bottom: 0.1rem solid #d1d1d1;
    z-index: 9;
}
.simple-typeahead .simple-typeahead-list .simple-typeahead-list-header {
    background-color: #fafafa;
    padding: 0.6rem 1rem;
    border-bottom: 0.1rem solid #d1d1d1;
    border-left: 0.1rem solid #d1d1d1;
    border-right: 0.1rem solid #d1d1d1;
}
.simple-typeahead .simple-typeahead-list .simple-typeahead-list-footer {
    background-color: #fafafa;
    padding: 0.6rem 1rem;
    border-left: 0.1rem solid #d1d1d1;
    border-right: 0.1rem solid #d1d1d1;
}
.simple-typeahead .simple-typeahead-list .simple-typeahead-list-item {
    cursor: pointer;
    background-color: #fafafa;
    padding: 0.6rem 1rem;
    border-bottom: 0.1rem solid #d1d1d1;
    border-left: 0.1rem solid #d1d1d1;
    border-right: 0.1rem solid #d1d1d1;
}
.simple-typeahead .simple-typeahead-list .simple-typeahead-list-item:last-child {
    border-bottom: none;
}
.simple-typeahead .simple-typeahead-list .simple-typeahead-list-item.simple-typeahead-list-item-active {
    background-color: #e1e1e1;
}

.ellipsis {
        display: inline-block;
        /*width: 180px;*/
        white-space: nowrap;
        overflow: hidden !important;
        text-overflow: ellipsis;
}

.limitedHeight {
    max-height: 150px;
}

.extraSmallInput {
    max-width: 50px;
}

.background3d {
    background-color: #c4c4c4;
}

.text3d {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%,-50%);
    text-transform: uppercase;
    font-family: verdana;
    font-size: 12em;
    font-weight: 700;
    color: #f5f5f5;
    text-shadow: 1px 1px 1px #919191,
    1px 2px 1px #919191,
    1px 3px 1px #919191,
    1px 4px 1px #919191,
    1px 5px 1px #919191,
    1px 6px 1px #919191,
    1px 7px 1px #919191,
    1px 8px 1px #919191,
    1px 9px 1px #919191,
    1px 10px 1px #919191,
    1px 18px 6px rgba(16,16,16,0.4),
    1px 22px 10px rgba(16,16,16,0.2),
    1px 25px 35px rgba(16,16,16,0.2),
    1px 30px 60px rgba(16,16,16,0.4);
}

input.smallNumber {
    /*flex: 0 1 50px;*/
    width: 4rem;
    /*background-color: rebeccapurple;*/
}

.hr-text {
    border: 0;
    line-height: 1em;
    position: relative;
    text-align: center;
    height: 1.5em;
    font-size: 14px;
    margin: 30px 15px;
}

.hr-text::before {
    content: "";
    background: linear-gradient(to right, transparent, black, transparent);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}

.hr-text::after {
    content: attr(data-content);
    position: relative;
    padding: 0 7px;
    line-height: 1.5em;
    color: white;
    background-color: #1a1a1a;
}

.mytooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.mytooltip .mytooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.mytooltip:hover .mytooltiptext {
    visibility: visible;
}

.demarcation {
    padding: 5px;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.024) 0px 0px 0px 1px,
    rgba(0, 0, 0, 0.05) 0px 1px 0px 0px,
    rgba(0, 0, 0, 0.03) 0px 0px 8px 0px,
    rgba(0, 0, 0, 0.1) 0px 20px 30px 0px;
}

.vr {
    width: 1px;
    border-right: 2px solid black;
}

.autocomplete-input {
    width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
}

.autocomplete-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.autocomplete-item {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}

#array_evaluation_action tr td:nth-child(5){
    width:15%;
}

.block {
    border: 1px solid;
}

.header-content {
    align-items: center;
    justify-content: center;
}

.scroll-150 {
    height:150px;
    overflow-y: scroll;
}

.scroll-300 {
    height:300px;
    overflow-y: scroll;
}

.scroll-450 {
    height:450px;
    overflow-y: scroll;
}

.legend {
    padding: 6px 8px;
    font: 14px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255, 255, 255, 0.8);
    /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
    /*border-radius: 5px;*/
    line-height: 24px;
    color: #555;
}
.legend h4 {
    text-align: center;
    font-size: 16px;
    margin: 2px 12px 8px;
    color: #777;
}

.legend span {
    position: relative;
    bottom: 3px;
}

.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin: 0 8px 0 0;
    opacity: 0.7;
}

.legend i.icon {
    background-size: 18px;
    background-color: rgba(255, 255, 255, 1);
}

.my-custom-icon{
    width: 24px !important;
    height: 24px !important;
    margin-left: -12px;
    margin-top: -12px;
    border-radius: 18px;
//    border: 2px solid #3F51B5;
    text-align: center;
//    color: #3F51B5;
    background-color: #fff;
    font-size: 16px;
}

.my-custom-icon-blue{
    border: 2px solid #3F51B5;
    color: #3F51B5;
}

.my-custom-icon-violet{
    border: 2px solid #583470;
    color: #583470;
}

.elementActive {
    background-color: #B3A694;
}

.elementInactive {
    background-color: #E6E6E6;
    //background-color: #B3A694;
}

.fakeLink {
    cursor: pointer;
    text-decoration: underline;
    color: #007bff;
    font-weight: bold;
    font-size: large;
}

p.no-margin {
    margin-bottom: 0;
}


/* =============================================================================
   Shared Vue component utilities
   These classes are used across multiple Vue components and must NOT be in
   <style scoped>. Add skin-specific color overrides in wwwroot/css/<skin>/tfg.css
   ============================================================================= */

/* ── Delta values (positive / negative / neutral comparisons) ─────────────────
   Usage: <span :class="deltaClass(v)" class="delta">
   ---------------------------------------------------------------------------- */
.delta {
    font-size: 0.78em;
    margin-left: 3px;
}
.delta-pos     { color: var(--bs-success,   #198754); }
.delta-neg     { color: var(--bs-danger,    #dc3545); }
.delta-neutral { color: var(--bs-secondary, #6c757d); }


/* ── btn-xs — extra-small button (Bootstrap has no xs variant) ─────────────────
   Usage: <button class="btn btn-outline-secondary btn-xs">
   ---------------------------------------------------------------------------- */
.btn-xs {
    --bs-btn-padding-y:     0.1rem;
    --bs-btn-padding-x:     0.35rem;
    --bs-btn-font-size:     0.7em;
    --bs-btn-border-radius: 0.2rem;
}


/* ── Slot badge (W / H / A / N / R / B) ────────────────────────────────────────
   Usage: <span class="slot-badge">W</span>
   Displayed next to gear stats wherever gear slots appear.
   ---------------------------------------------------------------------------- */
.slot-badge {
    display: inline-block;
    width: 1.4em;
    text-align: center;
    font-weight: 700;
    margin-right: 3px;
}


/* ── Sticky-left column in horizontally-scrollable tables ──────────────────────
   Usage: <td class="sticky-left"> on the label column of a wide table.
   Uses --bs-body-bg so it stays correct in any theme.
   ---------------------------------------------------------------------------- */
.sticky-left {
    position: sticky;
    left: 0;
    background: var(--bs-body-bg, #fff);
    z-index: 1;
    border-right: 2px solid var(--bs-border-color, #dee2e6) !important;
}