nav h2 {
    color: var(--on-surface);
}

html {
    background-color: var(--surface-dim);
    color: var(--on-surface);
}

html * {
    font-family: Verdana, Geneva, sans-serif;;
}

body {
    background-color: var(--surface-dim);
}

a {
    color: var(--primary);
}

h1 {
    padding: 10px;
    color: var(--primary);
    background-color: var(--surface-bright);
    border-radius: 8px;
    font-size: 1.5em;
}

h2 {
    padding: 7px;
    color: var(--primary);
    font-size: 1.3em;
}

h3 {
    padding: 5px;
    color: var(--on-surface);
    font-size: 1.2em;
}

h4 {
    padding: 5px;
    color: var(--on-surface);
    font-size: 1.1em;
}

h5 {
    padding: 0px;
    color: var(--on-secondary);
    font-size: 1.0em;
}

p {
    color: var(--on-primary);
}

a {
    color: var(--primary);
    font-size: 1.5em;
}

details {
    padding: 5px;
    color: var(--on-primary);
    border: none;

}
.v {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.h {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

.grow {
    flex-grow: 10;
}

.surface {
    color: var(--on-surface);
    background-color: var(--surface);
    border-radius: 5px;
    display: flex;
    padding: 0.1em;
}
.panel {
    color: var(--on-surface);
    background-color: var(--surface);
    border-radius: 5px;
    display: flex;
    padding: 8px;
    margin: 8px;
}

.upload {
    width: 100%;
    border-style: dashed;
    border-width: 3px;
    border-radius: var(--border-radius);
    border-color: var(--primary);
    text-align: center;
    padding: 0.5em;
    margin: 0.2em;
    width: 100%;
}


summary {
    padding: 5px;
    /* "background-color": colors["primary-marine-blue"], */
    border-radius: 10px;
    background-color: var(--primary);

}

summary temptemptemp.nav-link {
    background-color: var(--primary);
    color: var(--on-primary);
    padding: 8px 14px 8px 14px;
    border-radius: 5px;
    display: block;
    text-decoration: none;
}

select {
    border-radius: 5px;
    margin: 5px;
}

input {
    background: var(--surface-bright);
    color: var(--on-secondary);

    border: 1px solid var(--primary);
    font-size: 1.1em;
    border-radius: var(--border-radius);

    margin: 5px;
    padding: 12px 12px;

}

input:hover {
    background-color: var(--surface-dim);
    box-shadow: 0px 0px 20px var(--primary);
    color: var(--on-surface);
}

button {
    background-color: var(--primary);
    border: 0;
    color: var(--on-primary);
    box-shadow: 0px 0px 20px var(--surface-dim);
    margin: 5px;
    padding: 12px 12px;
    font-size: 1em;
    border-radius: 8px;
}

button:hover {
    background-color: var(--surface-dim);
    box-shadow: 0px 0px 20px var(--primary);
}

#_pages_content {
    display: flex;
    flex-direction: column;
    flex-grow: 50;
}
#app-layout > div {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

*.dash-dropdown {
    vertical-align: center;
    padding: 0px;
    margin: 0px;
}

.Select-menu-outer {  /* IMPORTANT fixes bug within dash that prevents table dropdown options displaying */
display : block !important;
}


.Select {
    height: 100%;
}
.Select-control {
    color: var(--on-surface);
    background: var(--surface-bright);
}
.Select-arrow {
    border-top-color: var(--on-surface);
}

.Select.is-open>.Select-arrow {
    border-top-color: var(--on-surface);
}

div.Select-control {
    height: 100%;
    padding: 10px 10px;
}
.dash-spreadsheet .Select-control {  /*fixes table dropdown padding*/
    padding: 0px 0px;
}

.dash-spreadsheet .cell-table .Select-menu-outer {
    background-color: var(--surface-bright);
    /*border-width: 5px;  This does not work? */
    border-radius: 5px;
    border-color: black;
}
.dash-spreadsheet .cell-table .Select-option.is-focused {
    color: var(--on-surface);
    background-color: var(--surface-dim);
}
.dash-spreadsheet .cell-table .Select-option {
    color: var(--on-surface);
}
.dash-spreadsheet .cell-table .Select:hover .Select-clear {
    color: var(--secondary);
}


.Select-value {
    display: flex;
    align-items: center;
}
div.Select-placeholder {
    line-height: 100%;
    display:flex;
    align-items: center;
}
/* input box */
.Select-control {
  background-color: var(--surface-bright) !important;
  color: var(--on-surface) !important;
  border-color: var(--primary);
  border-width: 2px;
}
.Select-control:hover {
  background-color: var(--surface-bright) !important;
  color: var(--on-surface) !important;
  border-color: var(--on-surface) !important;
}

/* changes the text color of input box */
.Select-value-label {
  color: var(--on-surface) !important;
}

.Select input {
  color: var(--on-surface);
}

/* dropdown menu options */
.VirtualizedSelectOption {
  background-color: var(--surface-dim);
  color: var(--on-surface);
}

/* dropdown menu hover effect */
.VirtualizedSelectFocusedOption {
  background-color: var(--surface-bright);
  color: var(--on-surface);
}

/* border on focus - default is blue
 * shadow box around input box.  default is blue
 */
.is-focused:not(.is-open) > .Select-control {
  border-color: var(--primary);
}

/* primary  this colors the input box text and x  of multi */
.Select--multi .Select-value {
  color: var(--primary);
  background-color: var(--surface);
  border-color: var(--primary) !important;
  border-width: 4px;
}
.Select-clear {
    color: var(--primary);
}
.Select-clear-zone:hover span.Select-clear {
    color: red;
}
span.Select-arrow {
    border-color: var(--primary) transparent transparent;
}
span.Select-arrow:hover {
    border-color: var(--primary) transparent transparent;
}
.Select-arrow-zone:hover > .Select-arrow {
    border-color: var(--on-surface) transparent transparent;
    border-top-color: var(--on-surface) !important;
}

.empty-dropdown > .Select-control{
    border-color: var(--bs-danger) !important;
}

.filled-dropdown > .Select-control{
    border-color: var(--primary) !important;
}


/*Data Table */


/* filter row in the header */
.dash-spreadsheet .dash-filter {
  background-color: var(--surface);
  color: var(--on-surface);
  --border: var(--surface-dim);
}
/* selected cells */
.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td.cell--selected {
  background-color: var(--secondary) !important;
  color: var(--on-secondary) !important;
}
/* active cell */
.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td.focused {
  background-color: var(--surface-bright) !important;
  color: var(--on-surface)!important;
  border-color: var(--primary)!important;
  outline: 3px solid var(--primary)!important;

}
.dash-table-container .dash-spreadsheet-container .dash-spreadsheet-inner td.focused > div > input {
  background-color: var(--surface-bright) !important;
  color: var(--on-surface)!important;

}

th.dash-filter {
    padding: 0;
}

th.dash-filter > div > input {
    color: var(--on-surface) !Important;
}

/* Tabs */

.tab-parent > .tab-container > .tab span {
    font-size: 1.25rem
}

.tab parent .tab-container .tab--selected, .tab parent .tab-container .tab:last-of-type.tab--selected {
    border-bottom: none;
    border-top: 5px;
  }

.tab-parent > .tab-container > .tab {
    background-color: var(--surface-alternate);
    color: var(--on-surface);
    border: 0;
}

.tab-parent > .tab-container > .tab:last-of-type {
    background-color: var(--surface-alternate);
    color: var(--on-surface);
    border: 0;
}

.tab-parent > .tab-container > .tab:hover {
    background-color: var(--surface-bright);
    color: var(--on-surface);
    border: 2px solid var(--primary);
    border-top: 5px solid var(--primary);
}

.tab-parent > .tab-container > .tab:hover:last-of-type {
    background-color: var(--surface-bright);
    color: var(--on-surface);
    border: 2px solid var(--primary);
    border-top: 5px solid var(--primary);
}
/* increase weight of tab header*/


.tab-container > .tab.tab--selected {
    background-color: var(--surface);
    color: var(--on-surface);
    border-top: 5px solid var(--primary);
}

.tab-container > .tab.tab--selected:last-of-type {
    background-color: var(--surface);
    color: var(--on-surface);
    border-top: 5px solid var(--primary);
}



.modebar-container{
    display: none;
}

.colorbar {
    width: 150px;
}



.upload-block{
    display: flex;
    flex-direction: column;
}


.upload-blocks {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 5px;
    padding: 0;
    gap: 20px;
}




.upload-box {
    width: 50%;
    border-width: 1px;
    border-style: dashed;
    border-radius: 8px;
    text-align: center;
    color: var(--surface-bright);
    box-sizing: border-box;
    padding: 10px;
}

.output_number_label {
    height: 100%;
    width: 50%;
    color: var(--on-surface);
    font-size: 1.0em;
    text-align: left;
}

.output_number_box {
    height: 100%;
    width: 50%;
    color: var(--on-surface);
    font-size: 0.9em;

    border-color: var(--primary);
    background-color: var(--surface-alternate);
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    text-align: left;
    box-sizing: border-box;
    padding: 4px;
    margin: 0% 5% 3% 5%;
}

.enter_number_box{
    box-sizing: border-box;
    height: 48px;
    display: flex;
    width: 100%;
    margin: 0px;
    background-color: ghostwhite;
}


.scale-selection {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.scale-dropdown {
    min-width: 100%;
}

.inputs-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 70%;
    margin: 10px;
}

.in_out_labels {
    margin-bottom: 10px;
}

.precise-scale-inputs {
    width: 100%;
}

.axis-input {
    box-sizing: border-box;
    width: 30%;
}

.content-container {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    width: 100%;
}

.left-col {
    width: 40%;
    overflow-x: hidden;
    height: 85vh;
    overflow-y: auto;
    background-color: var(--surface-dim);
}

.left-col > div {
    padding: 10px;
}

.right-col {
    width: 60%;
    position: sticky;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 85vh;
}



.input-fields {
    display: grid;
    justify-content: center;
    width: 96%;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 3px;
}

.button-group {
    display: flex;

}

.axis-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.specify-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rotation-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.axis-input {
    margin: 0px;
    width: 100%;
}

.input-label {
    padding-bottom: 10px;
    padding-top: 10px;
}

.view-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.view-buttons button {
    font-size: 0.9em;
    padding: 5px;
}

.viz-box {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: row;
    height: 85vh;
    width: 100%;
}

.title {
    text-align: center;
}

.tooltip-content {
    display: flex;
    flex-direction: column;
    background-color: var(--on-primary);
    color: black;
    z-index: 1000;
    padding: 6px;
}

.tooltip-txt {
    color: var(--surface);
    max-width: 100%;
}

.cursor-crosshair {
        cursor: default !important;
    }


.bbox-components {
    display: flex;
    flex-direction: row;
}

.bbox-box {
    color: var(--on-primary);
    text-align: center;
    width: 100%;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
}


.layer-tools {
    font-size: 0.8em;
    width: 100%;
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
}

.single-layer-tools {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
}

.layer-tools::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary);
    opacity: 0.2;
    z-index: -1;
}

.bbox-title {
    padding-top: 5px;
    padding-bottom: 0px;
    color: var(--on-primary);
}

.bbox-subtitle {
    color: var(--on-primary);
    margin: 6px;
}

.layers {
    text-align: left;
}

.layer-toggles label {
    text-align: left;
}

hr {
    width: 95%;
    margin: 20px auto;
    border: none;
    border-top: 2px solid var(--primary);
}


#_pages_content {
    padding: 0px;
}

.apply-button {
    box-sizing: border-box;
    background-color: #F74749;
    width: 100%;
}

.apply-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.manipulation-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.manipulation-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 1em;
    border-radius: 8px;
    height: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
}


.button-icon {
    align-items: center;
    justify-content: center;
    margin: 0px 8px 0px 0px;
}

.upload-icon {
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.upload-button {
    font-size: 1em;
    border-radius: 6px;
}

.calc-results {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 30px;
}

.calc-result {
    width: 48%;
    text-align: center;
}

.results-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.results-result {
    font-size: 40px;
    font-weight: normal;
    opacity: 0.2;
}

.download-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-grow: 1;
    gap: 10px;
    height: 90px;
}

.download-button-div {
    width: 50%;
    height: 100%;
}

.download-button {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

button:disabled {
    opacity: 0.6;

}

button:disabled:hover {
    opacity: 0.6;
    color: var(--on-primary);
    background-color: var(--primary);
}

.mesh-thk-view-box{
    height: 800px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    width: 100%;
}

#loading_spinner {
    position: fixed;
    top: 50vh;
    left: 0;
    z-index: 1000;
}

.help_header_div {
    padding: 0px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.help_header {
    font-size: 35px;
     color: var(--primary);
     padding: 5px;
}

.help_body_div {
    padding: 10px;

}

.help_body {
    font-size: 18px;
    color: var(--on-primary);
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;

}

.section{
    width: 100%
    height: 100%;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;

    background: var(--surface);
    border-radius: 8px;
}

.feature_label_div {
    width: 15%;
    height: 100%;
    margin: auto;
    margin-left: 5px;
    margin-right: 5px;

}

.feature_label {
    font-size: 18px;
    font-weight: bold;
    color: var(--on-primary);
    text-align: left;

    height: 100%;
    box-sizing: border-box;
    padding: 5px;
    margin: auto;
}

.feature_description_div {
    width: 85%;
    height: 100%;
    padding: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.feature_description {
    font-size: 18px;
    font-weight: normal;
    color: var(--on-primary);
    padding: 0px;
}

.feature{
    display: flex;
    background: var(--surface-alternate);
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 8px;
    }

.dual-input {
    width: 100%;
}

.scale-options {
    display: flex;
    flex-direction: row;
}

.img-box {
    position: absolute;
    top: 15%;
    right: 0%;
}

.results {
    display: flex;
    flex-direction: column;
}

.modal-body {
    color: var(--on-secondary);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1rem;
}

.go-button {
    width: 100%;
}

.go-button-box{
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 15px;
}