
body {
    font-family: 'Inter', Arial, sans-serif;
}

    /* pages */

    body.galaxy {
        overflow-y: hidden;
    }

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* Atlas Pages */
.atlas-header-row {
    min-height: 100px;
  }

.atlas-widgets-row {
display: flex;
gap: 1rem;          /* space between widgets */
margin: 1rem;  
min-height: 120px;
align-items: center;
flex-wrap: wrap;
}

.atlas-widget {
    width: 18%;
    min-width: 80px;
}

/* Logo */
.andromeda-logo {
    background: url('../images/andromeda-logo-transparent.png') no-repeat;
    background-size: contain;
    height: 39px;
    width: 39px;
}

/* Search */

.search-bar {
    width: 200px;
    max-width: 100%;
    transition: width 0.3s ease;
    overflow: hidden;
  }
  
  .search-bar:focus-within {
    width: 500px;            /* expand on focus of input inside */
  }
  
  .search-bar .rz-autocomplete {
    display: block !important;  /* override inline-block */
    width: 100% !important;     /* fill .search-bar container */
    height: 100%;               /* match height */
    box-sizing: border-box;
  }
  .rz-autocomplete-panel {
    max-height: 600px !important;  /* Set the maximum height */
    overflow-y: auto !important;   /* Enable vertical scrolling */
  }
  .search-bar .rz-autocomplete-input {
    width: 100% !important;     /* fill autocomplete div */
    height: 100%;               /* match height */
    box-sizing: border-box;
  }

/* icons */

.square-button-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10px;   /* container height */
    width: 30px;    /* container width */
  }
  
  .square-button-cell .rz-button {
    width: 30px !important;
    height: 10px !important;
    padding: 0 !important;
    display: flex !important;            /* Use flexbox to center content */
    align-items: center !important;
    justify-content: center !important;
  }

.circle-icon {
    border-radius: 3rem;
    width: 2.25rem;
    height: 2.25rem;
    text-align: center;
    font-size: 1.25rem;
    padding: 0.25rem;
}

.nav-toggle {
    position: absolute;
    margin-left: 93%;
    margin-top: -1rem;
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
    padding: 0.2rem 0 0 0;
}

.menu-closed .nav-toggle {
    margin-left: 67%;
}

.toggle-control {
    display: inline-block;
    min-width: 2.5rem;
    min-height: 1rem;
    border-radius: 4rem;
}

    .toggle-control .toggle-option {
        min-width: 1rem;
        min-height: 1rem;
        display: inline-block;
        background: #fff;
        border-radius: 1rem;
        float: left;
    }

        .toggle-control .toggle-option.on {
            float: right;
        }

/** Nav **/
.nav-item {
    font-size: 0.8rem;
}

/* Visualisation */

.sigma-vis {
    /*min-height: 700px;
    min-width: 400px;*/
}

.non-interactive-visualisation, .non-interactive-visualisation * {
    pointer-events: none;
}

.side-vis {
    width: 100%;
    min-height: 300px;
}

div.tooltip-dot {
    position: absolute;
    text-align: center;
    padding: .5rem;
    background: #FFFFFF;
    color: #313639;
    border: 1px solid #313639;
    border-radius: 8px;
    pointer-events: none;
    font-size: 1.3rem;
    z-index:100;
}

#galaxyContextBar {
    margin: 0 auto;
    position: relative;
    bottom: 68px;
    z-index: 50;
    padding: 0.25rem;
    border-radius: 1rem;
    text-align: center;
    display: table;
    box-shadow: 0 0px 14px 2px rgb(59 60 107);
}

    #galaxyContextBar.hidden {
        display: none;
    }

.display-options-legend {
    flex: auto;
    flex-direction: column;
    height: 40vh;
}

    .display-options-legend .galaxy-legend-items {
    flex: 1 1 0%;
    overflow-y: auto;
    margin-top: 0.5rem;
    }

#galaxyNavigationWidget {
    width: 1rem;
    right: 0;
    border: 1px solid;
    position: relative;
    display: table;
    z-index: 50;
    border-radius: 5px;
    text-align: center;
    margin: 10px 10px;
    float: right;
}

    #galaxyNavigationWidget i {
        padding: 0.5rem;
    }
    
    #galaxyContent {
        padding-bottom: 3rem;
    }

#atlasContent {
    overflow-y: auto;
}

#atlasContent.atlas-hidden { 
    overflow-y:hidden;
}

    #atlasContent .tab-content {
        padding: 0;
        overflow-y: auto;
    }

.color-key a:hover .edit-color {
    display: block !important;
}

#plotColumn {
    display: grid;
    height: 100%;
    grid-template-rows: 1fr 7.5rem 1fr;
    min-height: 0;
    width: clamp(16rem, 32vh, 26rem);
  }
  
  #plotColumn > .section-top,
  #plotColumn > .section-bottom {
    overflow: hidden;
    min-height: 0;
  }
  
  #plotColumn > .section-middle {
    z-index: 10;
  }

/* forms */
form input, textarea, select, .pseudo-form input, textarea, select {
    background: #3b516b;
    color: #fff;
}

/* Modal override */
.bm-container {
    display: flex;
    align-content: center;
    color: #000000;
}

    /* keep the modal background clear */
    .bm-container .blazored-modal {
        background: none;
        border: none;
    }

.validation-message {
    background-color: rgb(177 0 44);
    margin: .5rem 0;
    padding: 0.33rem 1rem;
    border-radius: .3rem;
    color: #ffffff;
    font-size: small;
    display: inline-block;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #2b3a4d;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #435167;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #7084a1;
    }


/* Notifications */

#notificationSidebar {
    height: calc(100vh - 150px);
    border-radius: 1rem;
}

.tab-layout * {
    box-sizing: border-box;
}

.sigma-vis {
    min-width: 100px;
    min-height: 100px;
    width: 100%;
    height: 100%;
}

.galaxy-node-tooltip {
    position: absolute;
    /* display: none; */
    padding: 10px;
    background-color: #fff;
    color: #333;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1000;
    overflow: hidden;
    text-wrap: wrap;
    box-shadow: 0 0px 14px 2px rgb(59, 74, 107);
    overflow-wrap: anywhere;
}

    .galaxy-node-tooltip .fk-column-pill {
        background-color: #d6d6d6;
        border-radius: 1rem;
        padding: 0.3rem;
        margin-bottom: 0.5rem;
        display: block;
        font-size: .8rem;
    }

    .galaxy-node-tooltip h6 {
        font-size: .7rem;
        padding-bottom: 5px;
        border-bottom: 1px solid #d6d6d6;
        margin-bottom: .5rem;
    }

    .galaxy-node-tooltip h3 i {
        margin-right: 8px;
        font-size: .8rem;
        margin-top: 10px;
    }

    .galaxy-node-tooltip p {
        margin: .5rem 0;
        font-size: 0.8rem;
    }

    .galaxy-node-tooltip h3 {
        display: flex;
        font-size: 1.2rem;
        font-weight: bold;
        overflow-wrap: anywhere;
    }

    .galaxy-node-tooltip h5 {
        border-bottom: 1px solid #d6d6d6;
        padding-bottom: 5px;
        font-size: .8rem;
    }

    .galaxy-node-tooltip ul li {
        padding: 0 0 0.3em 0em;
        font-size: 0.7rem;
    }

/* timer */

.loadingTimer {
    background: -webkit-linear-gradient(left, #fff 50%, #18202b 50%);
    border-radius: 100%;
    border: none;
    height: calc(var(--size) * 1px);
    width: calc(var(--size) * 1px);
    position: relative;
    -webkit-animation: loadingTimer calc(var(--duration) * 1s) steps(1000, start) 1;
    -webkit-mask: radial-gradient(transparent 50%,#000 50%);
    mask: radial-gradient(transparent 50%,#000 50%);
    animation-fill-mode: forwards;
}

    .loadingTimer .timerMask {
        border-radius: 100% 0 0 100% / 50% 0 0 50%;
        border: none;
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 50%;
        -webkit-animation: loadingTimerMask calc(var(--duration) * 1s) steps(500, start) 1;
        -webkit-transform-origin: 100% 50%;
    }

@-webkit-keyframes loadingTimer {

    99% {
        -webkit-transform: rotate(360deg);
        background: -webkit-linear-gradient(left, #fff 50%, #18202b 50%);
    }

    100% {
        -webkit-transform: rotate(180deg);
        background: #fff;
    }
}

@-webkit-keyframes loadingTimerMask {
    0% {
        background: #18202b;
        -webkit-transform: rotate(0deg);
    }

    50% {
        background: #18202b;
        -webkit-transform: rotate(-180deg);
    }

    50.01% {
        background: #fff;
        -webkit-transform: rotate(0deg);
    }

    100% {
        background: #fff;
        -webkit-transform: rotate(-180deg);
    }
}

/*Galaxy data grid at bottom of page*/

#atlasContent .rz-data-grid {
    padding: 0;
    margin: 0;
}

    #atlasContent .rz-data-grid .rz-data-grid-data {
        margin: 0;
        padding: 0;
    }

        #atlasContent .rz-data-grid .rz-data-grid-data th,
        #atlasContent .rz-data-grid .rz-data-grid-data td {
            padding: 4px 0;
        }

        #atlasContent .rz-data-grid .rz-data-grid-data .rz-grid-table tbody tr:nth-child(even) td {
            background: #252e40 !important; /* only using important to override a Radzen important */
        }

        #atlasContent .rz-data-grid .rz-data-grid-data .rz-grid-table tbody tr td {
            /*border-bottom: 1px solid #48495e !important;*/ /* only using important to override a Radzen important */
            border-radius:0;
        }

        #atlasContent .rz-data-grid .rz-data-grid-data .rz-grid-table .rz-group-row td {
            background:none !important;
        }

.welcome-circle-number {
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 5rem;
    display: block;
    color: #000;
    font-weight: bold;
    text-align: center;
    padding-top: 8px;
    overflow: none;
}