@font-face {
    font-family: 'Shentox';
    src: url('Shentox-Light.eot');
    src: local('Shentox Light'), local('Shentox-Light'),
        url('Shentox-Light.eot?#iefix') format('embedded-opentype'),
        url('Shentox-Light.woff2') format('woff2'),
        url('Shentox-Light.woff') format('woff'),
        url('Shentox-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shentox';
    src: url('Shentox-RegularItalic.eot');
    src: local('Shentox Italic'), local('Shentox-RegularItalic'),
        url('Shentox-RegularItalic.eot?#iefix') format('embedded-opentype'),
        url('Shentox-RegularItalic.woff2') format('woff2'),
        url('Shentox-RegularItalic.woff') format('woff'),
        url('Shentox-RegularItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Shentox';
    src: url('Shentox-BoldItalic.eot');
    src: local('Shentox Bold Italic'), local('Shentox-BoldItalic'),
        url('Shentox-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('Shentox-BoldItalic.woff2') format('woff2'),
        url('Shentox-BoldItalic.woff') format('woff'),
        url('Shentox-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Shentox';
    src: url('Shentox-Bold.eot');
    src: local('Shentox Bold'), local('Shentox-Bold'),
        url('Shentox-Bold.eot?#iefix') format('embedded-opentype'),
        url('Shentox-Bold.woff2') format('woff2'),
        url('Shentox-Bold.woff') format('woff'),
        url('Shentox-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shentox';
    src: url('Shentox-LightItalic.eot');
    src: local('Shentox Light Italic'), local('Shentox-LightItalic'),
        url('Shentox-LightItalic.eot?#iefix') format('embedded-opentype'),
        url('Shentox-LightItalic.woff2') format('woff2'),
        url('Shentox-LightItalic.woff') format('woff'),
        url('Shentox-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Shentox';
    src: url('Shentox-UltraLight.eot');
    src: local('Shentox UltraLight'), local('Shentox-UltraLight'),
        url('Shentox-UltraLight.eot?#iefix') format('embedded-opentype'),
        url('Shentox-UltraLight.woff2') format('woff2'),
        url('Shentox-UltraLight.woff') format('woff'),
        url('Shentox-UltraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shentox';
    src: url('Shentox-UltraLightItalic.eot');
    src: local('Shentox UltraLight Italic'), local('Shentox-UltraLightItalic'),
        url('Shentox-UltraLightItalic.eot?#iefix') format('embedded-opentype'),
        url('Shentox-UltraLightItalic.woff2') format('woff2'),
        url('Shentox-UltraLightItalic.woff') format('woff'),
        url('Shentox-UltraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Shentox';
    src: url('Shentox-Medium.eot');
    src: local('Shentox Medium'), local('Shentox-Medium'),
        url('Shentox-Medium.eot?#iefix') format('embedded-opentype'),
        url('Shentox-Medium.woff2') format('woff2'),
        url('Shentox-Medium.woff') format('woff'),
        url('Shentox-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shentox';
    src: url('Shentox-SemiBoldItalic.eot');
    src: local('Shentox SemiBold Italic'), local('Shentox-SemiBoldItalic'),
        url('Shentox-SemiBoldItalic.eot?#iefix') format('embedded-opentype'),
        url('Shentox-SemiBoldItalic.woff2') format('woff2'),
        url('Shentox-SemiBoldItalic.woff') format('woff'),
        url('Shentox-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Shentox';
    src: url('Shentox-Thin.eot');
    src: local('Shentox Thin'), local('Shentox-Thin'),
        url('Shentox-Thin.eot?#iefix') format('embedded-opentype'),
        url('Shentox-Thin.woff2') format('woff2'),
        url('Shentox-Thin.woff') format('woff'),
        url('Shentox-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shentox';
    src: url('Shentox-ThinItalic.eot');
    src: local('Shentox Thin Italic'), local('Shentox-ThinItalic'),
        url('Shentox-ThinItalic.eot?#iefix') format('embedded-opentype'),
        url('Shentox-ThinItalic.woff2') format('woff2'),
        url('Shentox-ThinItalic.woff') format('woff'),
        url('Shentox-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Shentox';
    src: url('Shentox-SemiBold.eot');
    src: local('Shentox SemiBold'), local('Shentox-SemiBold'),
        url('Shentox-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('Shentox-SemiBold.woff2') format('woff2'),
        url('Shentox-SemiBold.woff') format('woff'),
        url('Shentox-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shentox';
    src: url('Shentox-MediumItalic.eot');
    src: local('Shentox Medium Italic'), local('Shentox-MediumItalic'),
        url('Shentox-MediumItalic.eot?#iefix') format('embedded-opentype'),
        url('Shentox-MediumItalic.woff2') format('woff2'),
        url('Shentox-MediumItalic.woff') format('woff'),
        url('Shentox-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Shentox';
    src: url('Shentox-Regular.eot');
    src: local('Shentox'), local('Shentox-Regular'),
        url('Shentox-Regular.eot?#iefix') format('embedded-opentype'),
        url('Shentox-Regular.woff2') format('woff2'),
        url('Shentox-Regular.woff') format('woff'),
        url('Shentox-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.navright {
    float: right;
}

a.navright {
    color: #fff;
    padding: 0 10px 0 50px;
}

.navbar {
    display: flex;
    text-align: center;
    align-items: center;
}

a {
    color: #99cfbb;
}

.bugButton a {
    text-decoration: none;
    color: #fff;
    target-new: tab;
    font-weight: 500;
}

button {
    color: #252E30;
    background-color: #99cfbb;
    box-shadow: 0px 0px 3px #000;
    cursor: pointer;
    text-transform: uppercase;
    padding: 5px 10px;
    font-weight: 500;
}

.clear-button {

}

button:hover {
    background-color: #7bb8a1;
}

button:active {
    background-color: #99cfbb;
}

.legend {
    margin-left: auto;
    display: flex;
    color: #fff;
    border: 1px #3A3A3A solid;
    padding: 0 5px;
}

button.bugButton {
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    background-color: #99cfbb;
    border-radius: 3px;
    box-shadow: 0px 0px 3px #000;
    cursor: pointer;
}

button.bugButton:hover {
    background-color: #7bb8a1;
}

button.bugButton:active {
    background-color: #99cfbb;
}

.accordion {
    background-color: #99cfbb;
    color: #252E30;
    cursor: pointer;
    padding: 5px 18px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    margin: 2px 0;
}

.accordion:hover {
    background-color: #7bb8a1;
}

.accordion:active {
    background-color: #99cfbb;
}

.accordion-title {
    position: relative;
    left: 10px;
}

.accordion-panel {
    padding: 0 0 0 18px;
    display: none;
    background-color: #1B1B1B;
    overflow: hidden;
}

.accordion-item {
    background-color: #7BB8A1;
    color: #fff;
    cursor: pointer;
    margin: 4px 0;
    padding: 2px 18px;
}

.accordion-item:hover {
    background-color: #7bb8a1;
}

.accordion-item:active {
    background-color: #99cfbb;
}

.accordion-item2 {
    display: inline-block;
    border-radius: 5px;
    color: white;
    padding: 2px 5px;
    margin: 5px 0;
    width: 100%;
}

.accordion-item2 input {
    color: black;
}

.accordion-input2 {
    width: 25%;
    float: right;
}

.main-container {
    position: absolute;
    left: 0;
    top: 3%;
    width: 100%;
    height: 97%;
}

.flex-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 2.5px;
}

.section-divider {
    display: flex;
    flex-direction: column;
    justify-content: start;
    border-radius: 0px;
    margin: 20px 10px;
    padding: 20px 10px;
    background-color: #1B1B1B;
    color: #fff;
}

.flex-box1 {
    flex: 1 1 23%;
}

.flex-box2 {
    flex: 1.1 1.1 31%;
}

.grid-container1 {
    display: grid;
    grid-gap: 10px 5px;
    grid-template-columns: 25px auto 100px;
    align-content: start;
    width: 100%;
    overflow: auto;
}

.grid-container2 {
    display: grid;
    grid-gap: 10px 5px;
    grid-template-columns: auto 100px 125px 25px;
    align-content: start;
    width: 100%;
    overflow: auto;
}

.grid-container3 {
    display: grid;
    grid-gap: 10px 5px;
    grid-template-columns: auto 100px 125px 25px;
    align-content: start;
    width: 100%;
    overflow: auto;
}

.grid-container4 {
    display: grid;
    grid-gap: 1px 5px;
    align-content: start;
    grid-template-columns: auto auto auto auto auto auto;
    width: 100%;
    overflow: auto;
    background-color: #3A3A3A;
    padding: 0 0 0 5px;
    color: #fff;
    height: 90%;
}

.grid-container4 div {
    padding: 6px 10px;
    vertical-align: middle;
}

#profileDialog input, #profileDialog select {
    width: 150px;
}

#profileDialog button {
    width: 100px;
}

#langDialog button {
    margin: 5px;
}

.paste-config-content {

}

.list-item {
    border: 1px none #fff;
    border-bottom-style: solid;
}

.list-header {
    color: #252E30;
    font-size: 1em;
    font-style: normal;
    font-weight: 500;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #99cfbb;
    text-align: center;
    padding: 10px;
}

.section-header {
    display: inline;
    font-size: 2em;
    font-weight: 500;
    border-width: 2px;
    border-color: #3A3A3A;
    width: 100%;
    display: flex;
    margin: 0 0 10px 0;
    padding: 8px;
}

.inv-item, .inv-quantity, .cft-item, .cft-quantity {
    cursor: pointer;
    width: 100%;
}

.details-row-1 {
    background-color: #1B1B1B;
}

.details-row-2 {
    background-color: #3A3A3A;
}

#invAddBut, #cftAddBut {
    padding: 5px 0;
    margin: 10px 0 0 0;
}

.inv-item, .cft-item {
    padding: 0 0 0 5px;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Shentox', sans-serif;
}

body {
    background-color: #000;
}

.inv-quantity, .cft-quantity, .ore-quantity, .queue-quantity, .queue-time {
    font-family: 'Shentox', serif;
    text-align: right;
    padding-right: 5%;
}

.ore-item, .cft-item, .inv-item, .queue-item, .queue-industry {
    font-family: 'Shentox', serif;
}

.ore-item .hovertext, .queue-item .hovertext, .cft-item .hovertext {
    font-family: 'Shentox', serif;
    visibility: hidden;
    text-align: left;
    border-radius: 6px;
    padding: 10px 10px;

    position:absolute;
    top: 20px;
    z-index: 1;
}

.ore-item:hover .hovertext, .queue-item:hover .hovertext, .cft-item:hover .hovertext {
    visibility: visible;
}

.quantity-color {

}

.time-color {

}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 25px; /* Location of the box */
    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 */
}

.modal-craft {
    position: absolute;
    top: 5%;
    height: 95%;
    background-color: #1B1B1B;
    border: 2px solid #3A3A3A;
    width: 99.5%;
    padding-bottom: 5px;
}

.modal-profile {
    position: relative;
    background-color: #1B1B1B;
    margin: 50px;
    border: 1px solid #3A3A3A;
    width: 20%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    overflow: auto;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #1B1B1B;
    margin: 50px;
    border: 1px solid #3A3A3A;
    width: 500px;
    overflow: auto;
}

h3 {
    color: #fff;
}


/* The Close Button */
.modal-close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

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

.modal-header {
    padding: 2px 16px 2px 16px;
    color: white;
    border-radius: 20px;
}

.tier-all {
    border-radius: 3px;
    padding: 0 5px;
}

.tier-0 {
    color: #ffffff !important;
}

.tier-1 {
    color: #ab9b9b !important;
}

.tier-2 {
    color: #009245 !important;
}

.tier-3 {
    color: #0071bc !important;
}

.tier-4 {
    color: #662d91 !important;
}

.tier-5 {
    color: #d97500 !important;
}

.modal-body {
    padding: 10px 15px 15px 15px;
}

.totals {
    font-style: italic;
}

#totalTime, #totalOre, #totalPrice, #totalOrePrice {
    color: orange;
    font-style: normal;
    font-weight: bold;
}

/* Skill Tree */
.tree-node {
    color: #fff;
}

.tree-node-active {

}

.tree-node-title {
    background-color: #99CFBB;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border: 1px #3A3A3A solid;
    padding: 5px 18px;
    transition: 0.4s;
    margin: 2px 0;
}

.tree-node-body {
    margin-left: 20px;
    display: none;
}

.tree-node-active > .tree-node-body {
    display: block;
}

.tree-node-title:hover {
    background-color: #7BB8A1;
}

.tree-node-title:active {
    background-color: #7BB8A1;
}

.tree-node-title-active {
}

.tree-node-title-text {
    position: relative;
}

.tree-node-plus {
    width: 20px;
    display: inline-block;
}

.tree-node-minus {
    width: 20px;
    display: none;
}

.tree-node-title-active > .tree-node-plus {
    display: none;
}

.tree-node-title-active > .tree-node-minus {
    display: inline-block;
}

.tree-leaf {
    padding: 5px 0px 5px 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.skill-radio {
    height: 100%;
    display: inline-flex;
}

.skill-input {
    width: auto;
    height: 100%;
    appearance: none;
    outline: none;
    cursor: pointer;
    padding: 2px 8px;
    margin: 5px 5px;
    background-color: #7BB8A1;
    color: #fff;
    font-size: 14px;
    font-family: 'Shentox', sans-serif';
    transition: all 100ms linear;
}

.skill-radio input:checked {
    background-color: #99CFBB;
    color: #fff;
    box-shadow: 0 1px 1px #0000002e;
}

.skill-input:checked ~ input  {
    background-color: #3A3A3A;
}

.skill-input:before {
    content: attr(label);
    display: inline-block;
    text-align: center;
    width: 100%;
}

.hidden-tree-node {
    display:none;
}

/* The container */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 20px;
    color: #ffffff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkbox-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;

    border: 1px #3A3A3A solid;
    border-radius: 3px;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkbox-checkmark {
    background-color: #004466;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkbox-checkmark {
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkbox-checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkbox-checkmark:after {
    left: 6px;
    top: 1px;
    width: 6px;
    height: 9px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.hidden {
    display: none;
}