﻿

/******************************************************************************
//
// This file contains the CSS used by EAGLE Vision (not the IETM output).
//
******************************************************************************/

.navCollapsed.companylogo {
    background-position-x: left !important;
}

.companylogo {
    background-image: url("/images/logos/company_logo.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: right;
    height: 30px;
    width: 200px;
}

.editable-logo-container {
    height:30px;
    max-width:200px;
    display: inline-flex;
}
.editable-logo-container img{
    height:100%;
    width:auto;
    max-width: 100%;
}


.entity-viewer-tools {
    background-color: #ffffff;
    border-style: solid;
    border-width: thin;
    border-color: #000000;
    position: absolute;
    bottom: 10px;
    padding: 10px;
    z-index: 999;
}


/* For Larson 3D Viewer. */
.canvas-3d {
    width: 100%;
    height: 95%;
    overflow: hidden;
    background-color: white;
}

.myline {
    stroke: black !important;
}

.myfill {
    fill: black !important;
}

.viewerIcon {
    height: 25px;
    width: auto;
}

.hiddenElement {
    display: none !important;
}

.svgButton {
    cursor: pointer;
}

body.lightmode .toptools {
    background: #D0D0D0;
}

body.darkmode .toptools {
    background: #262626;
}

body.lightmode .canvas-3d {
    background: white;
}

body.darkmode .canvas-3d {
    background: grey;
}

body.darkmode .canvas-3d .menu {
    background: #262626;
}

body.lightmode .bottools {
    background: #D0D0D0;
}

body.darkmode .bottools {
    background: #262626;
}

body.darkmode div#ImageViewer [stroke="#FFFFFF"] {
    stroke: lightgrey;
}

body.darkmode div#ImageViewer [fill="#FFFFFF"] {
    fill: lightgrey;
}

.ipdSelected {
    background-color: #1E90FF !important;
}

.ipdHover {
    background-color: #c8e2e2 !important;
}

.hovertext {
    position: relative;
}

.hovertext:before {
    content: attr(data-hover);
    visibility: hidden;
    width: 120px;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    /* Position the tooltip */
    position: absolute;
    z-index: 1000;
}

.hovertext:hover:before {
    visibility: visible;
}

body.darkmode .dropdown-menu {
    background-color: #262626;
    color: #e6e6e6;
}

body.darkmode .dropdown-menu .selected {
    background-color: darkslategrey;
    color: #fff;
}

body.lightmode .ipdRowHighlight {
    background: #61bbff;
    scroll-margin-top: 150px;
}

body.darkmode .ipdRowHighlight {
    background: #212681;
    scroll-margin-top: 150px;
}

body.lightmode .ipdHeadRow {
    background: #e3e3e3;
}

body.darkmode .ipdHeadRow {
    background: #595959;
}

.ipdHeaders {
    top: -12px; /* this aligns the floating cells to the top of the page rather than having a gap */
    position: sticky;
    background-color: inherit;
    white-space: pre-line;
}

.ipdCenter {
    text-align: center;
}

#ipdTable {
    border-collapse: separate;
    border-spacing: 0px;
    border-width: 1px;
    border-style: solid;
    width: 100%;
}

body.lightmode .ipdModalClose {
    color: black;
}

body.darkmode .ipdModalClose {
    color: white;
}

.ipdSortable {
    margin-left: -4px;
    display: inline-block;
}

.ipdNotSortable {
    display: inline-block;
}

.ipdConfigCol {
    border: solid 1px;
    min-width: 50px;
    display: inline-block;
    white-space: pre-wrap;
    vertical-align: top;
    height: 100%;
    padding: 2px;
}

.ipdSortable .ipdConfigCol {
    cursor: grab;
}

body.lightmode .ipdSortable .ipdConfigCol.ui-sortable-helper {
    cursor: grabbing;
    background-color: rgba(255,255,255,0.5);
}

body.darkmode .ipdSortable .ipdConfigCol.ui-sortable-helper {
    cursor: grabbing;
    background-color: rgba(0,0,0,0.5);
}

.ipdNotSortable .ipdConfigCol {
    cursor: default;
}

body.lightmode .ipdConfigCol {
    color: black;
    background-color: white;
}

body.darkmode .ipdConfigCol {
    color: white;
    background-color: black;
}

body.lightmode .highlightElement {
    background-color: lightblue;
}

body.darkmode .highlightElement {
    background-color: darkslategrey;
}

.ipdColDisable {
    background-color: rgb(150,150,150,0.3) !important;
}

.ipdColDisable * {
    color: darkgray;
}

.dropdown-menu .selected {
    background-color: lightblue;
    color: #000;
}

.navspacer {
    height: 20px;
}

.btn-group {
    margin-bottom: 1px;
}

.logoSize {
    max-width: 200px;
    max-height: 30px;
}

.hiddenTitle {
    display: none;
}

.loadSpinner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: absolute;
    z-index: 9999;
    min-width: 200px;
    min-height: 200px;
    width: inherit;
    height: inherit;
}

.tocPopOut {
    cursor: pointer;
    align-content: end;
}

body.lightmode .tocPopOut:hover {
    background-color: lightgoldenrodyellow !important;
}

body.darkmode .tocPopOut:hover {
    background-color: darkgoldenrod !important;
}

.tocPopOut .newWinIcon {
    padding: 0px;
}

.newWinIcon {
    transform: scale(.8);
    cursor: pointer;
    margin-top: -2px;
}

body.lightmode .newWinIcon {
    stroke: black;
}

body.darkmode .newWinIcon {
    stroke: white;
}

a:has(svg.newWinIcon) {
    padding-left: 3px;
    padding-right: 3px;
}

#TOC td,
#SNS td {
    border: none !important;
    padding: 0px;
    background-color: inherit;
}

#TOC tr:has(> td.tocPopOut),
#SNS tr:has(> td.tocPopOut) {
    border: solid thin !important;
}

body.lightmode #TOC tr,
body.lightmode #SNS tr {
    background-color: #f1f1f1;
}

body.darkmode #TOC tr,
body.darkmode #SNS tr {
    background-color: #363636;
}

td.pub-options button.btn {
    height: 38px !important;
    width: 45px !important;
    padding: 0px !important;
}

.vpficon {
    height: 26px;
    padding-top: 0;
}