﻿@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;600;700;800;900&family=Roboto:wght@100;300;400;500;700;900&display=swap');

:root {
    /*brand colors (orig)*/
    /*--black: #0e131f;
    --silver: #f7f7f8;
    --blue: #0a6ba1;
    --orange: #f25f5c;
    --teal: #0d8285;
    --peri: #c9d7f8;
    --white: #ffffff;*/
    /*brand colors*/
    --black: #272932;
    --silver: #efefef;
    --orange: #ff331f;
    --teal: #06908f;
    --peri: #6cadf5;
    --blue: #1b6ac2;
    --white: #fffbfa;
    --grey: #6c7189;
    /* secondary colors (for graphs) */
    --green: #0A8754;
    --platinum: #d8dbe2;
    --pink: #ff82a9; /*keep*/
    --purple: #b744b8; /*keep*/
    --red: #bf1a2f;
    --tangerine: #ffa987;
    --yellow: #ffba49;
    --teagreen: #caffd0;
    --tan: #decbb7;
    /* tertiary colors (for fills an dbuttons) */
    --alice-blue: #dbeafa; /* variant of blue / peri*/
    --misty-rose: #ffe2d6; /* variant of orange / red / tangerine */
    --mint-green: #d8fdfd; /* variant for teal / green*/
    --mimi-pink: #ffd6e3; /* variant for pink */
    --pale-purple: #f4e1f4; /* variant for purple */
    --papaya-whip: #ffefd6; /* variant for yellow */
    --honeydew: #ebffed; /* variant for tea green */
    --linen: #f2ebe3; /* variant for tan */
    /*root layout*/
    width: 100%;
    height: 100%;
    /*behavior*/
    transition: all 2s;
}



/* --- GLOBAL --- */

/* global elements */
body {
    background: var(--platinum);
    color: var(--black);
    font-family: 'Roboto', sans-serif;
    margin: 0;
}

div {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1.2rem;
    font: inherit;
    vertical-align: baseline;
}

a {
    cursor: pointer;
}

    a:hover {
        font-weight: 600;
    }

h1 {
}

h2 {
}

h3 {
}

h4 {
    font-size: 1.2rem;
}

/*  layout elements */
#container {
    height: 100vh;
    display: flex;
    flex-direction: row;
    margin: 0;
}

#contentWrapper {
    position: fixed;
    overflow-y: scroll;
    left: 11rem;
    height: 100%;
    width: calc(100vw - 11rem);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0;
}

/* flex classes */
.flex-column {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap;
    padding-right: 1rem;
}

.flex-row {
    display: flex !important;
    flex-direction: row !important;
    padding-right: 1rem;
}

.fill {
    width: 100%;
}

/* tooltips */
.tooltip {
    position: absolute;
    width: 2rem;
}

.tooltip-text {
    position: absolute;
    bottom: 95%;
    left: 1.25rem;
    visibility: hidden;
    height: 1rem;
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: .5rem;
    border-radius: 6px;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    height: auto;
    width: 10rem;
    border: 1px solid var(--black);
    border-radius: .25rem;
    z-index: 99;
}



/* --- LH SIDE PANEL --- */

/* 'aloha' controls the greeting in the top left. */
.aloha {
    font-family: 'Raleway', sans-serif;
    color: var(--white);
    width: 90%;
    margin: 0 5% 1rem 5%;
}

    .aloha > em, .aloha > a {
        font-style: normal;
        font-weight: 500;
    }

    .aloha > a {
        color: var(--white);
        cursor: pointer;
        text-decoration: none;
    }

/* left-hand navigation items */
.lh-nav {
    position: fixed;
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 11rem;
    background: var(--black);
    color: white;
    z-index: 999;
    box-sizing: border-box;
}

    .lh-nav a {
        cursor: pointer;
    }

    .lh-nav .logo img {
        width: 90%;
        max-width: 100px;
        margin: 5%;
    }

    .lh-nav .nav-items {
        flex: 1;
    }

    .lh-nav li a {
        display: inline-block;
    }

.nav {
    list-style-type: revert;
    list-style: none;
    list-style-position: inside;
    padding-left: .5rem;
}

    .nav > li {
        margin: .5rem;
    }

    .nav a {
        cursor: pointer;
    }

        .nav a:hover {
            font-weight: 500;
        }

.delegation {
    margin-top: 2rem;
}

.lh-nav-tile {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

    .lh-nav-tile.active {
        color: var(--orange);
        text-decoration: none;
        font-weight: 500;
    }

.delegation .lh-nav-tile.active {
    color: var(--peri);
    text-decoration: none;
    font-weight: 500;
}

.lh-nav-subtile {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    padding-left: 1rem;
}

    .lh-nav-subtile.active {
        color: var(--orange);
        text-decoration: none;
        font-weight: 400;
        padding-left: 1rem;
    }

.delegation .lh-nav-subtile.active {
    color: var(--peri);
    text-decoration: none;
    font-weight: 400;
    padding-left: 1rem;
}

.lh-nav-item-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* bottom left (logout, etc) */

.lh-nav-bottom {
    padding: 1rem;
    position: fixed;
    bottom: 1rem;
}

    .lh-nav-bottom img {
        width: 1rem;
        margin-right: .5rem;
        vertical-align: middle;
    }

.nav-bottom-items {
    margin: .25rem;
}

.logout {
    cursor: pointer;
}



/* --- TOP PANEL (BREADCRUMB, ETC.) --- */

/*  styles for the top nav panel    */
.top-nav {
    background-color: var(--white);
    padding: .5rem;
    box-shadow: .025rem .025rem .1rem var(--black);
    width: 100%;
    box-sizing: border-box;
}

.banner-container {
    display: flex;
    flex-direction: row;
    font-family: 'raleway', sans-serif;
    font-weight: 500;
    gap: 1rem;
    padding: .5rem;
}

    .banner-container em {
        font-weight: 400;
        color: var(--blue);
    }

    .banner-container .title {
        font-size: 1.3rem;
        font-weight: 700;
    }

    .banner-container .top-control-container {
        flex-grow: 1;
    }


.credit-container {
    background-color: var(--alice-blue);
    border: 1px solid var(--blue);
    border-radius: .25rem;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .5rem;
}

    .credit-container a {
        color: var(--blue);
        cursor: pointer;
        font-weight: 600;
    }

        .credit-container a:hover {
            color: var(--orange);
        }

    .credit-container span {
        font-family: Roboto, sans-serif;
        font-weight: 600;
    }

.credits-low {
    background-color: var(--misty-rose);
}

.icon-container {
    border-radius: 50%;
    margin: .5rem;
    border: .125rem solid var(--blue);
    box-sizing: border-box;
    background-color: var(--silver);
    color: var(--blue);
}

    .icon-container > span {
        margin: .25rem;
    }

.subscription-container {
    border: 1px solid var(--blue);
    border-radius: .25rem;
    color: var(--blue);
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .5rem;
}

    .subscription-container a {
        color: var(--orange);
        cursor: pointer;
    }

        .subscription-container a:hover {
            font-weight: 600;
        }

    .subscription-container h4 {
        margin: 0;
    }

.top-control-container {
    color: var(--peri);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    padding-right: 1rem;
}

    .top-control-container a {
        font-size: 1.1rem;
    }

    .top-control-container .icon-container {
        height: 2.25rem;
        width: 2.25rem;
        align-content: center;
        align-items: center;
    }

    .top-control-container .summary-link {
        position: relative;
        top: 20%;
        margin-right: .5rem;
    }


/* --- MAIN CONTENT PANELS --- */

/*  styles for the content tiles    */
#tileContainer {
    /*position: relative;
    padding:1rem;*/
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.bottom-border-padded {
    border-bottom: 1px solid var(--alice-blue);
    margin-bottom: 2rem;
}

.container-row {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
}

.container-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.container-nav, .widget-panel {
    border-width: .1rem;
    border-style: solid;
    border-radius: .5rem;
    box-shadow: .025rem .025rem .1rem var(--black);
    box-sizing: border-box;
    background-color: var(--white);
    padding: .5rem;
    margin: 1rem auto;
    width: calc(100%/3 - 2rem);
}

    .container-nav h2, .widget-panel h2 {
        font-family: Raleway, sans-serif;
        font-weight: 700;
        font-size: 1.3rem;
        margin: 0;
    }

    .container-nav li, .widget-panel li {
        padding: 0 .5rem .5rem 0;
        color: var(--black);
    }

    .container-nav em, .widget-panel em {
        font-weight: 600;
        font-style: normal;
    }

.credit-warning {
    color: var(--orange);
    font-weight: 600;
    margin-top: 2rem;
    padding-left: 0 !important;
}

.credit-purchase-container {
    align-items: center;
    border: 1px solid var(--blue);
    border-radius: .5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

    .credit-purchase-container:hover {
        background-color: var(--alice-blue);
        animation: smidge 500ms;
        animation-timing-function: ease;
        animation-fill-mode: backwards;
        transform: scale(1.03)
    }

    .credit-purchase-container button, .tier-container button {
        background-color: var(--blue);
        border: 1px solid var(--black);
        border-radius: 1.5rem;
        color: var(--alice-blue);
        cursor: pointer;
        font-size: 1rem;
        letter-spacing: 2px;
        font-weight: 600;
        padding: .5rem 1rem;
        text-transform: lowercase;
    }

        .credit-purchase-container button:hover, .tier-container button:hover {
            color: var(--white);
            animation: smidge 500ms;
            animation-timing-function: ease;
            animation-fill-mode: backwards;
            transform: scale(1.03)
        }

    .credit-purchase-container h3 {
        font-size: 1.3rem;
        margin: 0;
    }

    .credit-purchase-container span {
        color: var(--grey);
        font-family: Roboto, sans-serif;
        font-size: 1.2rem;
        font-weight: 600;
    }


.tab-header-row {
    margin: .5rem 0 1rem 0;
    /*padding: 0 !important;*/
    padding-left: .25rem;
    background: var(--silver);
    border-top: 1px solid var(--peri);
    border-bottom: 1px solid var(--peri)
}

.tab-panel {
    padding: 0 .5rem 0 .25rem;
    /*border-bottom-left-radius: .5rem;
    border-top-right-radius: .25rem;
    border-bottom: 2px solid var(--platinum);
    border-left: 2px solid var(--platinum);*/
    margin-right: .2rem;
    background-color: var(--silver);
    display: flex;
    flex-direction: row;
}

    .tab-panel img {
        height: 1.5rem;
        padding: .25rem 0;
    }

    .tab-panel h3 {
        margin-left: 0;
    }


.top-border-padded {
    border-top: 1px solid var(--alice-blue);
    margin-top: 2rem;
}

/*.tab-panel-fill {
    background-color: var(--silver);
    border-bottom: 2px solid var(--platinum);
    border-left: 1px solid var(--platinum);
    width: max-content;
    flex: 2;
}*/
.tab-panel h3 {
    margin: 0;
}

.tab-panel img {
    height: 2rem;
    margin-right: .5rem;
}

.widget-panel h2 {
}

.widget-panel form {
    margin: .5rem;
}

/* styles for detail sections */

/*.aim-gauge canvas { -- chart.js needs to resize the canvas in code
    width: 100%;
    aspect-ratio: 1/1;
    box-sizing: border-box;
}*/
.aim-gauge layered {
    width: 90%;
    box-sizing: border-box
}

.control-row-container {
    width: 100%;
    border-top: 1px solid var(--peri);
    border-bottom: 1px solid var(--peri);
    box-sizing: border-box;
    padding: 2rem 0 1rem 0;
}

.description-content {
    flex-direction: column;
    margin: .5rem 0 1rem 0;
}

.description-header {
    display: flex;
    flex-direction: row;
    padding-bottom: .5rem;
    padding-top: 1.5rem;
}

    .description-header > a {
        margin-left: auto;
        margin-right: 0;
    }

        .description-header > a > .material-symbols-rounded {
            background-color: var(--silver);
            border: 1px solid;
            border-radius: .25rem;
            box-sizing: content-box;
            height: 1.5rem;
            width: 1.5rem;
            text-align: center;
            vertical-align: middle;
        }

.detail-control-container {
    min-width: 40%;
}

.grade-container {
    border: 1px solid;
    border-radius: .5rem;
    margin: .5rem;
}

    .grade-container:hover {
        background-color: var(--alice-blue);
        animation: smidge 500ms;
        animation-timing-function: ease;
        animation-fill-mode: backwards;
        transform: scale(1.03)
    }

    .grade-container > div > .icon-container {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }

.grade-container-button {
    border: 1px solid var(--blue);
    border-radius: .5rem;
    height: 1.5rem;
    padding: .25rem;
    width: 1.5rem;
}

    .grade-container-button:hover {
        background-color: var(--blue);
        color: var(--silver);
    }

    .grade-container-button.selected {
        background-color: var(--platinum);
    }

        .grade-container-button.selected:hover {
            background-color: var(--platinum);
            color: var(--blue);
        }

.grade-description {
    width: 100%;
}

.grade-description-collapsed {
    width: 100%;
}

    .grade-description h3, .grade-description-collapsed h3 {
        font-weight: 600;
        font-size: 1.2rem;
        margin: 0;
    }

    .grade-description-collapsed > .description-content {
        height: 4rem;
        overflow: hidden;
    }

.home-widget-container {
    flex-wrap: wrap;
    gap: 2rem;
}

.home-intro-tile {
    /*background-color: var(--blue);*/
    border: 1px solid var(--alice-blue);
    border-radius: .5rem;
    box-sizing: border-box;
    /*color: var(--white);*/
    padding: 2rem;
    width: calc(33% - 1rem);
    max-width: 28%;
}

    .home-intro-tile:hover {
        border: 1px solid var(--blue);
        background-color: var(--alice-blue)
    }

    .home-intro-tile a {
        text-decoration: none;
        cursor: pointer;
    }

        .home-intro-tile a:hover {
            font-weight: 600;
            /*color:var(--grey);*/
        }

    .home-intro-tile .material-symbols-rounded {
        column-gap: .5rem;
        transform: scale(2);
    }


.intro-tile-heading {
    font-size: 1.4rem;
}

    .intro-tile-heading a {
        flex-wrap: wrap;
    }


.note-container, .pov-container {
    background-color: var(--blue);
    border: 1px solid var(--blue);
    border-radius: .5rem;
    color: var(--white);
    margin: .5rem;
}

    .note-container > div > .icon-container {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }

.note-description, .pov-section {
    width: 100%;
}

    .note-description .delete-warning, .pov-section .delete-warning {
        margin: .75rem;
    }

        .note-description .delete-warning .warning, .pov-section .delete-warning {
            font-weight: 600;
            background-color: var(--white);
            color: var(--red);
            padding: .25rem;
            border: 1px var(--black) solid;
            border-radius: .25rem;
        }

    .note-description .mini-form-row, .pov-section .mini-form-row {
        margin: .5rem 0px 1rem;
    }

        .note-description .mini-form-row form textarea, .pov-section .mini-form-row form textarea {
            background-color: var(--silver);
            border: 1px solid var(--white);
            border-radius: .25rem;
            color: var(--blue);
            margin-right: .5rem;
            height: rem;
            padding: .25rem;
            resize: vertical;
            width: 100%;
        }

        .note-description .mini-form-row form button, .pov-section .mini-form-row form button {
            background-color: var(--silver);
            border: 1px solid var(--white);
            border-radius: .25rem;
            color: var(--blue);
            margin-right: .5rem;
            font-weight: 600;
            height: 2rem;
            padding: .25rem;
            text-transform: uppercase;
        }

.pov-container {
    margin-bottom: 0;
}

.pov-section {
    margin-bottom: 1rem;
}

    .pov-section div, .pov-section span {
        row-gap: 1rem;
        column-gap: .5rem;
    }

    .pov-section h3 {
        font-size: 1.3rem;
    }

    .pov-section h4 {
        font-size: 1.2rem;
        margin: 1rem 0 0 0;
    }
/*  form within pov container    */
.pov-chapter-container {
    background-color: var(--alice-blue);
    border: 1px solid var(--white);
    border-radius: .25rem;
    box-sizing: border-box;
    color: var(--blue);
    display: flex;
    flex-direction: column;
    padding: 1rem;
    width: 100%;
}

.pov-section form {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.pov-section .form-group {
    flex-direction: row;
}

    .pov-section .form-group button, .pov-section .form-group h4, .pov-section .form-group label {
        text-transform: lowercase;
    }

        .pov-section .form-group button:hover {
            background-color: var(--peri);
        }

    .pov-section .form-group textarea {
        border: 1px solid var(--white);
        border-radius: .25rem;
        height: 7rem;
        padding: .25rem;
        resize: vertical;
        width: 100%;
    }

.pricing-container {
    background-color: var(--white);
    border: 1px solid var(--blue);
    border-radius: .5rem;
    box-sizing: border-box;
    color: var(--blue);
    flex-direction: column;
    gap: 1rem;
    display: flex;
    padding: 0 1rem;
    margin: 2rem 0 1rem 0;
}

    .pricing-container .toggle-checkbox {
        display: none
    }

    .pricing-container .toggle-container {
        padding: .25rem;
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: fit-content;
        border: 1px solid var(--black);
        border-radius: 1.5rem;
        background: var(--blue);
        font-weight: bold;
        color: var(--peri);
        cursor: pointer;
    }

        .pricing-container .toggle-container::before {
            position: absolute;
            width: 50%;
            height: 100%;
            left: 0%;
            border-radius: 20px;
            background: var(--alice-blue);
            transition: all 0.3s;
        }

        .pricing-container .toggle-container div {
            padding: 6px;
            text-align: center;
            z-index: 1;
        }

    .pricing-container .toggle-checkbox:checked + .toggle-container::before {
        left: 50%;
    }

    .pricing-container .toggle-checkbox:checked + .toggle-container div:first-child {
        color: var(--white);
        transition: color 0.3s;
    }

    .pricing-container .toggle-checkbox:checked + .toggle-container div:last-child {
        color: var(--peri);
        transition: color 0.3s;
    }

    .pricing-container .toggle-checkbox + .toggle-container div:first-child {
        color: var(--peri);
        transition: color 0.3s;
    }

    .pricing-container .toggle-checkbox + .toggle-container div:last-child {
        color: var(--white);
        transition: color 0.3s;
    }

.tier-container {
    border-top: 1px solid var(--blue);
    margin: 1rem 0;
}

    .tier-container > em {
        color: var(--grey);
        font-size: .9rem;
        font-style: normal;
    }

.tier-price-container {
    color: var(--grey);
    margin: 1rem 0;
}

.tier-price {
    color: var(--blue);
    font-size: 2rem;
    font-weight: 600;
    margin: 1rem .5rem 0 0;
}

.tier-description {
    align-items: center;
    color: var(--blue);
    display: flex;
    font-size: 1rem;
    gap: .5rem;
    margin: 1rem 0;
}

    .tier-description > em {
        font-weight: 600;
        font-style: normal;
    }

.free-tier button {
    background-color: var(--peri);
    color: var(--silver);
}

    .free-tier button:hover {
        color: var(--white);
    }

.free-tier em, .free-tier .tier-description {
    color: var(--grey)
}

    .free-tier h3, .free-tier .tier-price, .free-tier .tier-price-container, .free-tier .tier-description > em {
        color: var(--peri);
    }

.pro-tier button {
    background-color: var(--green);
    color: var(--mint-green);
}

.pro-tier h3, .pro-tier .tier-price, .pro-tier .tier-price-container, .pro-tier .tier-description {
    color: var(--green);
}

.team-tier button {
    background-color: var(--orange);
    color: var(--misty-rose);
}

.team-tier h3, .team-tier .tier-price, .team-tier .tier-price-container, .team-tier .tier-description {
    color: var(--orange);
}





/* sliders and container overlays for AIM widgets*/

.slider-container input {
    -webkit-appearance: none;
    cursor: pointer;
    vertical-align: middle;
    margin-bottom: .5rem;
    height: .3rem;
    border-radius: .15rem;
    background: var(--blue);
}

    .slider-container input::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        /*margin-top: -12px;*/
        background-color: var(--blue);
        height: .8rem;
        width: .8rem;
        border-radius: .8em;
    }

.slider-container a {
    vertical-align: middle;
    color: var(--blue);
    font-family: Raleway,sans-serif;
    font-weight: 500;
    font-size: .9rem;
    text-transform: uppercase;
    cursor: pointer;
}

    .slider-container a:hover {
        color: var(--orange);
    }

.canvas-overlay {
    position: absolute;
    top: 30%;
    margin: auto;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
    text-align: center;
    width: 100%;
    height: auto;
}

    .canvas-overlay h2 {
        font-size: 3rem !important;
        font-weight: 700;
        margin-bottom: .25rem;
    }

    .canvas-overlay > .description {
        justify-content: center;
        display: flex;
        padding: 0 10%;
        text-transform: uppercase;
    }

/* radar panel and other classes for AIM radar */
.radar-panel, .radar-panel-select, .radar-panel-analyze {
    padding: 1rem;
    transition: all 2s;
}

.radar-panel-scope {
    padding: 1rem;
    transition: all 2s;
    width: calc(100% - 2rem) !important;
}

    .radar-panel h2, .radar-panel-select h2,
    .radar-panel-analyze h2, .radar-panel-scope h2 {
        font-weight: 700;
        font-size: 1.5rem;
        padding-bottom: 1rem;
    }

.radar-panel-select ul {
}

.radar-panel-select li {
    display: flex;
    flex-direction: row;
    font-size: 1.2rem;
    padding: .5rem;
    color: var(--blue);
}

.radar-panel-select img {
    position: relative;
    bottom: -.2rem;
    padding: 0 .4rem 0 0;
    height: 1rem;
    width: auto;
}

.radar-panel-analyze form, .radar-panel-analyze h3 {
    color: var(--blue);
    text-transform: uppercase;
}

.radar-panel-analyze h3 {
    letter-spacing: .2rem;
}

.person {
    display: flex;
    flex: 1;
    margin-right: .5rem;
    padding: 0 .25rem;
}

.adjust-AIM {
    font-size: 1rem;
}

/* charts / widgets */
/*.widget-panel {
    
}*/

/*    .slider-container input:focus {
        outline: none;
    }
        .slider-container input:focus::-webkit-slider-thumb {
            border: 1px solid var(--blue);
            outline: 3px solid var(--blue);
            outline-offset: .125rem;
        }*/


.alt-row {
    background-color: var(--silver)
}
/*  TO-DO: consider creating a standalone class for the form panel and form tile    */
.detail-panel /*, .container-row > .form > .form-panel*/ {
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
}

.detail-tile /*, .container-row > .form > .form-panel > .form-tile*/ {
    background: var(--white);
    border-width: .1rem;
    border-style: solid;
    border-radius: .5rem;
    box-shadow: .025rem .025rem .1rem var(--black);
    box-sizing: border-box;
    color: var(--blue);
    /*margin: 2rem auto 1rem;*/
    font-size: 1rem;
    gap: 1rem;
    padding: 0 0 2rem 1rem;
    position: relative;
    width: 100%;
}

    .detail-tile > h2, .detail-tile > div {
        padding-left: 1rem;
    }

    /*use an adjusted detail panel tile for the person detail*/
    /*#personDetailDiv, #selectPersonDiv {
    display: flex;
    flex-direction: row;
}*/
    /*#personDetailDiv > .detail-panel {
    flex:2;
}
    #personDetailDiv > .widget-panel {
        flex:1;
    }*/

    /*selection and query results*/
    .detail-tile h2 {
        font-family: Raleway, sans-serif;
        font-size: 2rem;
        color: var(--blue);
    }

    .detail-tile em {
        font-weight: 600;
        font-style: normal;
    }

.query-panel {
    padding: 0 .5rem;
    color: var(--orange);
    cursor: pointer;
}

.query-results {
    border-spacing: 0;
    border-collapse: collapse;
}

    .query-results td {
        padding: .5rem
    }

.pagination {
    font-size: 1rem;
    letter-spacing: .2rem;
    text-transform: uppercase;
    margin-right: .25rem;
    padding-bottom: 1rem;
}

    .pagination h4 {
        display: inline;
        font-size: 1rem;
        font-weight: 500;
    }

    .pagination a {
        cursor: pointer;
        margin: .25rem;
    }

        .pagination a:hover {
            font-weight: 600;
        }

.active-page {
    color: var(--orange);
}

.header-row {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .2rem;
    text-transform: uppercase;
    /*background-color:var(--platinum);*/
    border-bottom: 1px solid var(--blue);
    border-radius: 3px;
}

.criteria-clauses {
    flex-wrap: wrap;
}

.scope-statement {
    border-radius: .5rem;
    background-color: var(--platinum);
    color: var(--blue);
    margin: .25rem;
    padding: .25rem .5rem;
}

.scope-operator {
    color: var(--blue);
    margin: .25rem;
    padding: .25rem;
}

    .scope-operator a:hover {
        font-weight: 600;
        color: var(--red);
    }

.scope-delete {
    width: 1rem;
    padding-left: .5rem;
    position: relative;
    top: .125rem;
}

.search-panel-row:hover {
    background-color: var(--alice-blue) !important;
    border-top: 1px solid var(--blue) !important;
    border-bottom: 1px solid var(--blue) !important;
}




/*  styles relative to forms    */

form {
    display: block;
    margin-top: 0rem;
}

.button-container {
    display: inline-block !important;
    flex-direction: row !important;
}

    .button-container button {
        margin-right: 1rem;
    }

.criteria-form {
    /*width:auto;*/
}

    .criteria-form form, .mini-form form, .mini-form form .form-group {
        display: flex;
        flex-direction: row;
        margin-bottom: 0;
    }

    .criteria-form .form-group input,
    .criteria-form .form-group select,
    .criteria-form .form-group button,
    .mini-form .form-group select,
    .mini-form .form-group input,
    .mini-form .form-group button,
    .mini-form .form-group button {
        width: auto;
        padding: .25rem .5rem .25rem .5rem;
        margin: .5rem;
        font-size: 1rem;
        border: 1px solid var(--platinum);
    }

    .criteria-form .operator-button {
        background-color: var(--black);
    }


.form-container {
    background: var(--white);
    border: 1px solid var(--blue);
    border-radius: .5rem;
    box-sizing: border-box;
    color: var(--blue);
    font-size: 1rem;
    gap: 1rem;
    margin: 2rem 2rem 1rem;
    min-width: 33%;
    position: relative;
    padding: 0 0 2rem 1rem;
}

.form-tile {
    padding-left: 1rem;
}

    .form-tile h2 {
        font-family: Raleway, sans-serif;
        font-size: 2rem;
        color: var(--blue);
    }

.form-content {
    margin-right: 1rem;
}

.form-group {
    gap: 1rem;
    padding: 0 !important;
}


.form-group, .form-updated {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 1rem;
}

    .form-group > h4 {
        display: block;
        margin: .5rem 0 .75rem;
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.2rem;
        text-transform: uppercase;
        letter-spacing: .2rem;
    }

    .form-group > label {
        display: block;
        margin: 0 0 .75rem;
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.2rem;
        text-transform: uppercase;
        letter-spacing: .2rem;
    }

    .form-group input, .form-group textarea, .form-group select {
        outline: none;
        display: block;
        background-color: var(--alice-blue);
        width: 100%;
        border: 1px solid var(--grey);
        border-radius: .25rem;
        box-sizing: border-box;
        padding: .5rem 1rem .5rem 1rem;
        color: var(--blue);
        font-family: Roboto, sans-serif;
        font-size: 1rem;
        font-weight: 500;
        transition: 0.3s ease;
    }

    .form-group textarea {
        line-height: 1.5rem;
        margin-right: .5rem;
        height: 12rem;
        padding: .5rem;
        resize: vertical;
        width: 100%;
    }

    .form-group > button, .form-group > span {
        outline: none;
        background: var(--blue);
        border: 0;
        border-radius: .25rem;
        padding: .75rem 1rem;
        color: var(--white);
        font-family: Raleway,sans-serif;
        font-weight: 500;
        font-size: 1.25rem;
        text-transform: uppercase;
        cursor: pointer;
    }

    .form-group button:hover {
        background-color: var(--orange)
    }

    .form-group p {
        margin-top: 0;
    }


.form-label-context {
    text-align: left !important;
    font-weight: 300;
}

.form-validation {
    font-size: .8rem;
    color: var(--orange);
    font-weight: 600;
}

.mini-form form .form-group label {
    margin-top: .75rem;
}

.progressive-profile, .progressive-profile > ul {
    display: flex;
    flex-direction: row;
}

.required {
    font-weight: 800 !important;
}

.required-field {
    border: 1px solid var(--blue) !important;
}

.signup-form, .login-form {
    max-width: 600px;
}

.typeahead {
    position: relative;
    top: -1rem;
    width: 100%;
}

.modal-link {
    color: var(--orange);
    font-weight: 600;
    cursor: pointer;
}

.layered {
    display: grid;
}

    .layered > * {
        grid-column-start: 1;
        grid-row-start: 1;
    }

.icon {
    position: relative;
    bottom: -.6rem;
    padding-right: .5rem;
    width: 2rem;
    height: auto;
}

.icon-small {
    position: relative;
    bottom: -.1rem;
    padding-right: .25rem;
    width: 1rem;
    height: auto;
}

/* misc styles */
.ai-confirmation {
    cursor: pointer;
    padding: .2rem .5rem 0 .5rem;
    /*color: var(--peri);*/
}

    .ai-confirmation:hover {
        font-weight: 500;
        color: var(--blue);
    }

.bg-alice-blue {
    background-color: var(--alice-blue);
    color: var(--blue);
}

    .bg-alice-blue a:hover {
        color: var(--black);
    }

.bg-blue {
    background-color: var(--blue);
    color: var(--silver);
}

    .bg-blue a:hover {
        color: var(--peri);
    }

.bg-teal {
    background-color: var(--teal);
    color: var(--white);
}

.bg-peri {
    background-color: var(--peri);
    color: var(--black);
}

    .bg-peri a:hover {
        color: var(--orange);
    }

.bg-platinum {
    background-color: var(--platinum);
    color: var(--blue);
}

    .bg-platinum a:hover {
        color: var(--blue);
    }

.bg-orange {
    background-color: var(--orange);
    color: var(--white);
}

.bg-silver {
    background-color: var(--silver);
    color: var(--blue);
}

.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.chart-container {
    position: relative;
    width: 90%;
    aspect-ratio: 1/1
}

.cta-after-icon {
    /*margin-top: .2rem;*/
    margin-left: .25rem;
}

.delete-link {
    color: var(--peri);
    cursor: pointer;
    margin-right: 1rem;
}

    .delete-link:hover {
        color: var(--red);
        font-weight: 500;
    }

.detail-control-panel {
    color: var(--peri);
    margin-top: .25rem;
    flex-wrap: wrap
}

.detail-control {
    border: 1px solid var(--blue);
    border-radius: 3px;
    margin: 0 1rem 1rem 0;
    padding: .3rem;
}

    .detail-control:hover {
        animation: smidge 500ms;
        animation-timing-function: ease;
        animation-fill-mode: backwards;
        transform: scale(1.03)
    }

.detail-row {
    margin-bottom: 1rem;
}

    .detail-row > h2 {
        /* drop the margin on the top for better spacing control */
        font-size: 1.6rem;
        margin-top: 0;
    }


.disabled, .disabled em {
    pointer-events: none;
    color: var(--platinum);
}

.enabled, .enabled em {
    color: var(--white);
}

.error {
    color: var(--orange);
    font-weight: 600;
}

.field-label {
    font-weight: 600;
    column-gap: .5rem;
}

.hidden {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.no-bottom {
    margin-bottom: 0;
}

.no-margin {
    margin: 0;
}

.sort-icon {
    width: .8rem;
    margin-left: .6rem;
    position: relative;
    top: .05rem;
    cursor: pointer;
}

.summary-link {
    cursor: pointer;
    font-weight: 500;
}

.bg-blue .summary-link:hover {
    color: var(--peri) !important;
}

.summary-link:hover {
    color: var(--orange) !important;
}

.advice-panel {
    display: none;
}

.loading {
    width: 2rem;
    margin-top: 1rem;
}

.waiting {
    color: var(--peri);
}

.validation {
    font-size: 1rem;
    color: var(--peri);
}

/* uploads */
.upload-form {
    width: calc(50% - 1rem);
}

    .upload-form form {
        display: flex;
        flex-direction: column;
    }

        .upload-form form button, .upload-form form input[type=file]::file-selector-button {
            outline: none;
            background: var(--blue);
            width: 30%;
            border: 0;
            border-radius: .25rem;
            padding: .25rem .5rem;
            margin-top: 1rem;
            color: var(--white);
            font-family: Raleway,sans-serif;
            font-weight: 500;
            font-size: 1rem;
            text-transform: uppercase;
            cursor: pointer;
        }

    .upload-form > form input[type=file]::file-selector-button {
        background-color: var(--peri);
        margin-right: 1rem;
    }

        .upload-form > form input[type=file]::file-selector-button:hover {
            background-color: var(--blue);
        }

    .upload-form > form button[type=submit] {
    }

.upload-instructions {
    background-color: var(--alice-blue);
    border: 1px solid var(--blue);
    border-radius: .5rem;
    font-size: 1rem;
    padding: 1rem;
    vertical-align: top;
    width: calc(50% - 1rem);
}

    .upload-instructions > h2 {
        margin-top: 0;
    }

    .upload-instructions > ol > .flex-row > ul {
        width: calc(50% - 1rem);
    }

    .upload-instructions a {
        color: var(--blue)
    }

        .upload-instructions a:hover {
            color: var(--orange)
        }

.upload-progress, .upload-result {
    margin-top: 1rem;
}

    .upload-progress > span {
        display: block;
    }

    .upload-result > div > span {
        color: var(--orange)
    }

.upload-warning a {
    margin-right: 1rem;
    cursor: pointer
}

    .upload-warning a:hover {
        font-weight: 500;
    }

/* AIM archetypes */
.aim-archetype {
    width: 6rem;
    height: 6rem;
    margin-right: .5rem;
    box-sizing: border-box;
}

.archetype-container {
    width: calc(95%/3);
    padding: .75rem;
    box-sizing: border-box;
}

    .archetype-container > div > a {
        text-decoration: none;
        font-weight: 400;
        color: var(--blue);
        cursor: pointer;
    }

        .archetype-container > div > a:hover {
            font-weight: 500;
        }

.archetype-header {
    display: flex;
    flex-direction: row;
}

    .archetype-header > img {
        width: 6rem;
        height: 6rem;
        padding-top: .4rem;
    }

    .archetype-header > div {
        padding-left: .75rem;
        width: 60%;
    }

        .archetype-header > div > h3 {
            margin: 0;
        }

        .archetype-header > div > span {
            font-size: .9rem;
        }

.person-archetype-container {
}

.person-archetype {
    margin-bottom: .5rem;
}

    .person-archetype > div > a, .advice-link {
        color: var(--peri);
        cursor: pointer;
    }

        .person-archetype > div > a:hover, .advice-link:hover {
            color: var(--blue);
            font-weight: 600;
        }


/*  --- EXTENSIONS ---  */



/*  --- KEYFRAME ELEMENTS ---   */

.vertical-scroll-container {
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    animation-timeline: scroll(y);
}

.horizontal-scroll-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    animation-timeline: scroll(x);
}

.scroll-panel {
    scroll-snap-align: start;
}


@keyframes slide-in-horizontal {
    /*enter*/
    0% {
        transform: translateX(25%);
    }
    /*stage*/
    20%, 80% {
        opacity: 1;
        transform: none;
    }
    /*exit*/
    100% {
        transform: translateX(90%);
        opacity: 0;
    }
}

@keyframes slide-in-vertical {
    /*enter*/
    0% {
        transform: translateY(25%);
    }
    /*stage*/
    20%, 80% {
        opacity: 1;
        transform: none;
    }
    /*exit*/
    100% {
        transform: translateY(90%);
        opacity: 0;
    }
}

@keyframes slide-left {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0%);
        opacity: 1;
    }
}

@keyframes exit-left {
    from {
        transform: translateX(0%);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slide-right {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0%);
        opacity: 1;
    }
}

@keyframes exit-right {
    from {
        transform: translateX(0%);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slide-down {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes exit-bottom {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0%);
        opacity: 1;
    }
}

@keyframes exit-top {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes pulse-spin {
    0% {
        transform: rotate(0turn) scale(1);
    }

    25% {
        transform: rotate(.25turn) scale(1.1);
    }

    50% {
        transform: rotate(.5turn) scale(1.2);
    }

    75% {
        transform: rotate(.75turn) scale(1.1);
    }

    100% {
        transform: rotate(1turn) scale(1);
    }
}

@keyframes breathe {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.5);
    }
}

@keyframes grow {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes smidge {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.03);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-in-out {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.slide-in-horizontal {
    animation: slide-in-horizontal both;
    animation-timeline: view(x);
}

.slide-in-vertical {
    animation: slide-in-vertical both;
    animation-timeline: view(y);
}

.slide-left {
    animation: slide-left 1500ms;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    opacity: 1;
}

.exit-left {
    animation: exit-left 1500ms;
    animation-timing-function: ease;
    animation-fill-mode: backwards;
    opacity: 0;
}

.slide-right {
    animation: slide-right 1500ms;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    opacity: 1;
}

.exit-right {
    animation: exit-right 1500ms;
    animation-timing-function: ease;
    animation-fill-mode: backwards;
    opacity: 0;
}

.slide-down {
    animation: slide-down 1500ms;
    animation-timing-function: ease;
    opacity: 1;
}

.exit-bottom {
    animation: exit-bottom 1500ms;
    animation-timing-function: ease;
    animation-fill-mode: backwards;
    opacity: 0;
}

.slide-up {
    animation: slide-up 1500ms;
    animation-timing-function: ease;
    opacity: 1;
}

.exit-top {
    animation: exit-top 1500ms;
    animation-timing-function: ease;
    animation-fill-mode: backwards;
    opacity: 0;
}

.pulse-spin {
    animation: pulse-spin 3000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.breathe {
    animation: breathe 1500ms;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}

.grow {
    animation: grow 500ms;
    animation-timing-function: ease;
    animation-fill-mode: backwards;
    transform: scale(1.1)
}

.smidge {
    animation: smidge 500ms;
    animation-timing-function: ease;
    animation-fill-mode: backwards;
    transform: scale(1.03)
}

.fade-in {
    animation: fade-in 1500ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: backwards;
    opacity: 1;
}

.fade-in-out {
    animation: fade-in-out 3000ms;
    animation-timing-function: ease-in-out;
    animation-fill-mode: backwards;
    opacity: 0;
}


/* RESPONSIVE ELEMENTS */
@media (min-width: 1600px) {
    .archetype-header {
        height: 6rem;
        margin-bottom: 1rem;
    }
    /*.grade-container {
        max-width: 400px !important;
    }*/
    .radar-panel, .radar-panel-analyze {
        width: calc(60% - 2rem);
        margin: 1rem;
    }

    .radar-panel-select {
        width: calc(40% - 2rem);
        margin: 1rem;
    }

    .aim-gauge {
        width: calc(25% - 3rem);
    }
}

@media (min-width: 1400px) and (max-width: 1600px) {

    .canvas-overlay {
        top: 30%;
    }

    .home-intro-tile {
        padding: 1.8rem;
    }

        .home-intro-tile .container-row {
            column-gap: 1.5rem;
        }

        .home-intro-tile .material-symbols-rounded {
            column-gap: .25rem;
            transform: scale(1.6);
        }

    .intro-tile-heading {
        font-size: 1.3rem;
    }

    .slider-container > a {
        font-size: .8rem;
    }

    .radar-panel, .radar-panel-analyze {
        width: calc(58% - 2rem);
        margin: 1rem;
    }

    .radar-panel-select {
        width: calc(42% - 2rem);
        margin: 1rem;
    }
}

@media (min-width: 1200px) and (max-width:1600px) {
    .archetype-header {
        height: 7rem;
    }

    .radar-panel, .radar-panel-analyze {
        width: calc(56% - 2rem);
        margin: 1rem;
    }

    .radar-panel-select {
        width: calc(44% - 2rem);
        margin: 1rem;
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {

    .canvas-overlay {
        top: 25%;
    }

        .canvas-overlay h2 {
            font-size: 3.2rem;
        }

        .canvas-overlay .description {
            font-size: .9rem;
        }

    .home-intro-tile {
        padding: 1.5rem;
        font-size: .9rem;
    }

        .home-intro-tile .container-row {
            column-gap: 1rem;
        }

        .home-intro-tile .material-symbols-rounded {
            transform: scale(1.3);
        }

    .intro-tile-heading {
        font-size: 1.1rem;
        padding-top: .2rem;
    }
}

@media (min-width: 1080px) and (max-width:1200px) {
    .archetype-header {
        height: 8rem;
    }

    .canvas-overlay {
        top: 15%;
    }

        .canvas-overlay h2 {
            font-size: 3.1rem;
        }

        .canvas-overlay .description {
            font-size: .9rem;
        }

    .home-intro-tile {
        padding: 1.5rem;
        font-size: .9rem;
    }

        .home-intro-tile .container-row {
            column-gap: 0;
        }

        .home-intro-tile .material-symbols-rounded {
            display: none;
        }

    .intro-tile-heading {
        font-size: 1.1rem;
        padding-top: .2rem;
    }

    .radar-panel, .radar-panel-analyze {
        width: calc(50% - 2rem) !important;
        margin: 1rem;
    }

    .radar-panel-select {
        width: calc(50% - 2rem) !important;
        margin: 1rem !important;
    }
}

@media (min-width: 900px) and (max-width: 1080px) {

    .archetype-container {
        width: calc(95% / 2);
    }

    .archetype-header {
        height: 7rem;
    }


    .aim-gauge {
        width: calc(50% - 2rem);
    }

    .canvas-overlay {
        top: 0%;
    }

        .canvas-overlay h2 {
            font-size: 3rem;
        }

        .canvas-overlay .description {
            font-size: .9rem;
        }

    .container-row {
        gap: 1.5rem;
    }

    .home-intro-tile {
        padding: 1.5rem;
        font-size: .9rem;
    }

        .home-intro-tile .container-row {
            column-gap: 0;
            flex-wrap: unset;
        }

        .home-intro-tile .material-symbols-rounded {
            display: none;
        }

    .intro-tile-heading {
        font-size: 1.1rem;
        padding-top: .2rem;
    }

    .radar-panel, .radar-panel-analyze, .radar-panel-select {
        width: calc(50% - 2rem);
        margin: 1rem;
    }
}

@media (min-width: 740px) and (max-width: 900px) {
    .aim-gauge > h2 {
        font-size: 1.2rem;
    }
    /*    .canvas-overlay {
        top: 33%;
    }
    .canvas-overlay > h2 {
        font-size:3.5rem;
    }
    .canvas-overlay > .description {
        font-size:.9rem;
    }
    .slider-container > a {
        font-size:.8rem;
    }*/
}

@media (min-width: 680px) and (max-width: 900px) {
    .container-nav {
        width: 200px;
    }

    .archetype-header {
        height: 6rem;
    }

    .radar-panel, .radar-panel-analyze, .radar-panel-select {
        width: calc(50% - 2rem);
        margin: 1rem;
    }

    .aim-gauge {
        width: calc(50% - 2rem);
    }
}

@media (max-width: 1200px) {
    .aim-analysis {
        width: 95%;
    }
}

@media (max-width: 900px) {
    .archetype-container {
        width: 95%;
    }
}

@media (max-width: 740px) {
    .aim-gauge {
        width: calc(100% - 1rem);
    }

        .aim-gauge > h2 {
            font-size: 1.5rem;
        }

    /*    .canvas-overlay {
        top: 45%;
    }

        .canvas-overlay > h2 {
            font-size: 5rem;
        }

        .canvas-overlay > .description {
            font-size: 1.3rem;
        }

    .slider-container > a {
        font-size: 1.2rem;
    }*/
}

@media (max-width: 680px) {
    .container-nav {
        width: 95%;
    }

    .archetype-header {
        height: 6rem;
    }
}
