/* FULLSCREEN MODE */
html.fullscreen {
    height: 100%;
}

html.fullscreen body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

html.fullscreen body>header,
html.fullscreen body>footer {
    flex: 0 0 auto;
}

html.fullscreen body>main {
    overflow-y: hidden;
    color-scheme: dark;
    flex-grow: 1;
    padding: var(--spacing-medium);
}

html.fullscreen footer {
    padding: var(--spacing-medium);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    flex-direction: row-reverse;
}

html.fullscreen footer #bottomMenu {
    justify-content: end;
}

html.fullscreen main>#content {
    flex-grow: 1;
}

html.fullscreen main>#content>#ui {
    flex: 0 0 auto;
}

html.fullscreen main>#content>.simulatorOutput,
html.fullscreen main>#content>#output {
    flex-grow: 1;
}

html.fullscreen main>#content>#output>.calculator {
    height: 100%;
}

html.fullscreen header>div,
html.fullscreen main>#content {
    max-width: none;
}

html.fullscreen #filterSelector>ul,
.methods.horizontal .selector>ul,
.omens.horizontal .selector>ul {
    flex-direction: column;
    flex-wrap: nowrap;
}

.methods.horizontal .craftingMethodsHolder {
    flex-direction: row;
}

html.fullscreen #filterSelector>label,
html.fullscreen #typeSelector>label,
.methods.horizontal #CraftingMethod_>label,
.omens.hide-title #OmensSelector>label {
    display: none;
}

html.fullscreen #stickySidePanel {
    top: var(--spacing-small);
}

.methods.horizontal {
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

.methods.horizontal>.methods {
    flex-grow: 1;
    height: 100%;
}

.methods.horizontal>.methods>.craftingMethodsHolder {
    flex-grow: 1;
    height: min-content;
    padding-bottom: var(--spacing-medium);
}

.methods.horizontal>.methods>.craftingMethodsHolder>div.selector {
    height: min-content;
    top: 0px;
    z-index: 1;
    position: sticky;
}

.methods.horizontal>.methods>.craftingMethodsHolder>div.selector>ul>li {
    white-space: nowrap;
}

html.fullscreen div.params {
    align-items: center;
}

html.fullscreen div.modifiers>div.params {
    padding-top: var(--spacing-smallx);
}

html.fullscreen #output div.selector>ul>li {
    padding: var(--spacing-smallx);
    font-size: 14px;
}

html.fullscreen #output #filterSelector>ul>li {
    padding: var(--spacing-small);
    font-size: 12px;
    display: block;
    text-align: center;
}

html.fullscreen #influenceSelector {
    width: auto;
}

html.fullscreen #influenceSelector>label {
    display: none;
}

html.fullscreen #influenceSelector>ul {
    gap: var(--spacing-smallx);
}

html.fullscreen #output #influenceSelector>ul>li {
    position: relative;
    padding: var(--spacing-medium);
}

html.fullscreen #influenceSelector>ul>li>span.text {
    position: absolute;
    top: 100%;
    left: 0px;
    margin-top: 5px;
    margin-left: -3px;
    display: none;
    font-size: 12px;
    padding: var(--spacing-small);
    border: 2px solid var(--color-beige-dark);
    background: var(--color-dark);
    border-radius: var(--border-radius);
    max-width: 150px;
    white-space: normal !important;
    width: max-content;
    text-align: center;
    z-index: 99999999;
}

html.fullscreen #influenceSelector>ul>li:hover {
    z-index: 5;
}

html.fullscreen #influenceSelector>ul>li:hover>span.text {
    display: block;
}

html.fullscreen #influenceSelector>ul>li>img {
    margin-right: 0px;
}

html.fullscreen #typeSelector>ul {
    gap: var(--spacing-small);
}

html.fullscreen body.basePicking #ui {
    align-items: center;
    width: 100%;
}

html.fullscreen body.basePicking #ui .selector>label,
html.fullscreen body.basePicking #ui .selector>ul {
    justify-content: center;
}

html.fullscreen body.basePicking #content {
    gap: var(--spacing-large);
}

.methods.horizontal>.methods>.craftingMethodsHolder>div.selector>ul {}

.methods.horizontal>.methods>.craftingMethodsHolder>div.selector:hover {
    z-index: 5;
}

#fullHeightArea {
    height: 1px;
}

#fullHeightArea * {
    box-sizing: border-box;
}

html.fullscreen .filters .selector.off>ul {
    display: flex;
}

html.fullscreen .filters,
html.fullscreen .render,
html.fullscreen .requirements {
    overflow-y: auto;
    overflow-x: hidden;
}

.scrollableBox {
    border: 2px solid #444;
    border-radius: 7px;
    box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.25);
    background: #222;
    box-sizing: border-box;
}

.scrollableBox>div.title {
    padding: var(--spacing-small);
    color: var(--color-beige-dark);
    background: rgba(255, 255, 255, 0.05);
    font-size: 14px;
    font-weight: bold;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    text-align: center;
    white-space: nowrap;
}

.scrollableBox>div.content {
    padding: var(--spacing-smallx);
}

.scrollableBox>div.params {
    padding: 0px var(--spacing-smallx);
}

.scrollableBox>div.params>div.params {
    gap: var(--spacing-smallx);
}

.scrollableBox>div.toggles {
    padding: 0px var(--spacing-smallx);
}

.scrollableBox>div.render {
    padding-top: 0px;
}

html.fullscreen body.basePicking #output {
    display: none;
}

html.fullscreen body:not(.basePicking) #ui {
    flex-direction: row;
    gap: var(--spacing-medium);
    width: 100%;
}

html.fullscreen body:not(.basePicking) #ui>div.actions {
    flex-grow: 1;
    justify-content: flex-end;
}

html.fullscreen .panel {
    max-width: 400px;
    min-width: 350px;
    overflow: hidden;
}

html.fullscreen .itemOutput {
    overflow-y: auto;
}

html.fullscreen .itemOutput>div {
    height: 100%;
}

html.fullscreen .itemOutput>div>div {
    height: 100%;
}

html.fullscreen .itemOutput .item .output {
    overflow-y: auto;
    display: grid;
}

html.fullscreen .changesOutput:empty {
    display: none;
}

html.fullscreen .changesOutput {
    overflow-y: auto;
    display: flex;
    width: 100%;
    min-height: 120px;
    flex: 1 1 0;
}

html.fullscreen .changesOutput .item {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

html.fullscreen .changesOutput .modsHolder {
    overflow-y: auto;
    position: relative;
    display: grid;
    justify-content: normal;
}

.adspace.video {
    min-height: 260px;
}

.adspace.top-banner {
    width: 100%;
    min-width: 360px;
    min-height: 140px;
}

html.fullscreen #snackbarsLeft {
    left: auto;
    right: 50%;
    align-items: end;
    padding-right: var(--spacing-medium);
}

html.fullscreen #snackbarsRight {
    right: auto;
    left: 50%;
    align-items: baseline;
    padding-left: var(--spacing-medium);
}

html:not(.fullscreen) .detailedHistoryZone .stateColumn {
    display: none;
}

#viewSelector>ul>li {
    flex-grow: 1;
    justify-content: center;
}

#viewSelector .historyOverviewOutput,
#viewSelector .spendingOverviewOutput {
    margin-bottom: -10px;
    margin-top: -10px;
    padding: var(--spacing-mini) var(--spacing-small);
    border: 0px;
    cursor: pointer !important;
}

#viewSelector .historyOverviewOutput *,
#viewSelector .spendingOverviewOutput * {
    cursor: pointer !important;
}

#viewSelector .historyOverviewOutput .pricing label,
#viewSelector .spendingOverviewOutput .pricing label {
    font-size: 12px;
}

#viewSelector .historyOverviewOutput img,
#viewSelector .spendingOverviewOutput img {
    max-height: 20px;
}

.scrollableBox>div.content#fullscreenViewHistory,
.scrollableBox>div.content#fullscreenViewSpending {
    padding: 0px;
    overflow-y: auto;
    overflow-x: hidden;
}

.scrollableBox>div.content#advancedMethod {
    overflow-y: auto;
    overflow-x: hidden;
}

.scrollableBox>div.content#fullscreenViewHistory .spendingTable,
.scrollableBox>div.content#fullscreenViewSpending .spendingTable {
    overflow: hidden;
    border-radius: 5px;
}

.fullscreenView>div.title {
    display: none;
}

html.fullscreen #benchCraftOptions ul {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    max-height: none;
    height: calc(100% - 68px);
}

html.fullscreen #benchCraftOptions>label {
    background: #2F2F2F;
}

/* CALCULATOR */
html.fullscreen .requirements {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

html.fullscreen #calculationsZone>h4 {
    text-align: center;
}

html.fullscreen div.requirements>h4 {
    text-align: center;
}

html.fullscreen div.requirements>div.requirementsZone>button {
    background: rgba(255, 255, 255, 0.05);
}

html.fullscreen div.calculations {
    padding: var(--spacing-mediumx) var(--spacing-smallx) 0px var(--spacing-smallx);
}

html.fullscreen div.calculations>#calculationsZone>div.calculationsOutput {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

/* SIMULATOR */
html.fullscreen #simulatorStickySidePanel {
    top: 0px;
}

html.fullscreen #simulatorSimulation.disabled {
    display: flex;
}

html.fullscreen #simulatorSimulation.disabled .hideWhenSimulatorDisabled {
    display: none;
}

html.fullscreen #simulatorSimulation.disabled .invisibleWhenSimulatorDisabled {
    visibility: hidden;
}

html.fullscreen #simulatorConditionLayout>label,
html.fullscreen #simulatorConditionRequirements {
    padding: 0px;
}

@media (min-width: 2300px) {
    #viewSelectorZone {
        display: none;
    }

    .fullscreenViewZone {
        flex-direction: row;
    }

    .fullscreenView {
        height: auto;
    }

    .fullscreenView.modifiers {
        max-width: 40%;
    }

    .fullscreenView>div.title {
        display: flex;
    }

    .fullscreenView.hidden {
        display: flex !important;
    }

    .fullscreenView.spending {
        gap: 0px;
    }

    .fullscreenView.spending,
    .fullscreenView.history {
        gap: 0px !important;
    }

    .scrollableBox>div.content#fullscreenViewSpending .spendingTable {
        border-radius: 0px;
    }

    html.fullscreen div.modifiers>div.params {
        padding-top: 0px;
    }
}

html.fullscreen .sidebars>div {
    top: auto;
    position: relative;
    min-width: 300px;
}

html.fullscreen main {
    gap: var(--spacing-medium);
}

@media (max-width: 2500px) {
    html.fullscreen .sidebars>div {
        min-width: 160px;
    }
}

@media (max-width: 2200px) {
    html.fullscreen .sidebars {
        display: none;
    }

    .sidebars>div {
        max-width: 160px;
    }
}

@media (max-width: 1900px) {}

@media (max-width: 1750px) {}

@media (max-width: 1570px) {
    .sidebars {
        display: none;
    }

    header>div,
    main>#content {
        max-width: none;
    }
}

@media (max-width:1000px) {
    #ui {
        flex-direction: column-reverse;
    }

    #noticeDialog {
        overflow: auto;
    }

    #noticeDialog .modifierDetailsModal,
    #noticeDialog .itemDetailsModal {
        flex-direction: column;
    }
}

@media (max-width:920px) {
    #settingsZone>div.settings:hover>div.holder {
        display: none;
    }
}

@media (max-width:760px) {}