/* Component Variables */
:root {
    --button-border-width: 0.15em;
    --disabled-color: var(--darkestgray);
    --underline-width: 0.15em;
}

/* SmButton */
.sm-button-purple, .sm-button-black, .sm-button-glass, .sm-button-purple-outline, .sm-button-purple-text, .sm-button-link, .sm-button-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border: var(--button-border-width) solid;
    padding: 0.25em 0.8em 0.25em 0.8em;
    min-height: 1.5em;
    color: white;
    cursor: pointer;
    text-underline-offset: 0.3em;
    white-space: nowrap;
}

.sm-button-purple, .sm-button-black:not(.static):hover, .sm-button-purple-outline:not(.static):hover, .sm-button-purple-text:not(.static):hover {
    background-color: var(--purple);
    border-color: var(--purple);
    color: white;
}
.sm-button-black, .sm-button-purple:not(.static):hover, .sm-button-glass:not(.static):hover, .sm-button-orange:not(.static):hover {
    background-color: black;
    border-color: var(--black);
    color: white;
}
.sm-button-glass {
    background-color: transparent;
    color: black;
    border-color: var(--disabled-color);
}
.sm-button-orange {
    background-color: var(--orange);
    border-color: var(--orange);
    color: white;
}
.sm-button-purple-outline {
    background-color: white;
    color: black;
    border-color: var(--purple);
}
.sm.button-purple-text {
    background-color: white;
    color: var(--purple);
    border-color: white;
}
.sm-button-purple:active, .sm-button-glass:active {
    border-color: var(--purple);
}
.sm-button-black:active, .sm-button-purple-outline:active, .sm-button-purple-text:active {
    border-color: black;
}
.sm-button-purple[disabled], .sm-button-black[disabled] {
    background-color: var(--disabled-color);
    border-color: var(--disabled-color);
}
.sm-button-glass[disabled], .sm-button-purple-outline[disabled], .sm-purple-text[disabled] {
    color: var(--disabled-color);
    border-color: var(--disabled-color);
}
.sm-button-glass[disabled], .sm-button-purple-outline[disabled] {
    border-color: var(--disabled-color);
}
.sm-button-link {
    border-radius: 0;
    border: none;
    color: black;
    font-weight:bold;
}
.sm-button-link::after {
    font-family: "bootstrap-icons";
    content: "\f138";
    margin-left: 0.2em;
    font-size: 1.3em;
    stroke: black;
}
.sm-button-link:not(.static):hover:after {
    text-decoration: underline white;
    text-decoration-thickness: var(--underline-width);
}
.sm-button-link:not(.static):hover{
    text-decoration: underline var(--purple);
    text-decoration-thickness: var(--underline-width);
}

/* Call to action dot */
.cta-dot {
    width: 5px;
    height: 5px;
    background-color: var(--orange);
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
    margin-bottom: 8px;
}

/* TmCardAIO */
.sm-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: white;
    background-clip: border-box;
    border: 1px solid var(--gray);
    border-radius: var(--border-rounding);
    /* contain: paint; */
}
.sm-card .header {
    background-color: var(--blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 1rem 1.5rem;
    width: 100% !important;
    border-bottom: 0;
    border-top-left-radius: var(--border-rounding);
    border-top-right-radius: var(--border-rounding);
    height: var(--profile-header-height);
}
.sm-card .header-left {
    display: flex;
    align-items: center;
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}
.sm-card .header-left i {
    margin-right: 1rem;
    color: white;
    font-size: 2rem;

}
.card-description {
    font-size: 16px;
    color: #72706E;
    line-height: 22px;
    padding: 10px 20px 0;
    display: inline-block;
}
.circle-count {
    background-color: var(--purple);
    color: #fff;
    font-size: 14px;
    line-height: 19px;
    border-radius: 100%;
    padding: 5px;
    display: inline-block;
    margin-left: 10px;
    font-weight: bold;
    min-width: 28px;
    min-height: 28px;
    text-align: center;
}

/* SmTableAIO */
.smtable-subheader {
    height: 4.5rem;
    background-color: white;
    border-bottom: 1px solid #dee2e6;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    font-size: 1.25rem;
}
.sort-button {
    font-size: 1rem !important;
    display: flex;
    flex-direction: column;
    gap: 1px;
    justify-content: center;
    cursor: pointer;
}
.sort-button i {
    margin-bottom: -0.5rem;
    margin-top: -0.5rem;
}

/* TableBaseAIO */
:root {
    --table-header-height: 5rem;
}

.table-header-title {
    text-align: right;
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
}

.search-bar {
    width: 100%;
    background: white;
    border-radius: 5px;
}

.row-hover {
    background-color: white;
}

.row-hover:hover {
    background-color: var(--lightgray);
    border-right: solid var(--lightgray) 1.5rem !important;
    border-left: solid var(--lightgray) 1.5rem !important;
    box-shadow: 0 1px 0 var(--lightgray);
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.first-no-border[style *= "order: 0;"], .row-separator + .first-no-border{
    border-top: 0 !important;
}

.row-separator {
    background-color: var(--gray);
    width: 100%;
    height: 1rem;
}

.table-header-title-dark {
    text-align: right;
    color: var(--darkestgray);
    font-size: 1.25rem;
    font-weight: bold;
}

.search-bar-input, .search-bar-input-top, .search-bar-input-tree {
    outline-color: var(--darkgray) !important;
    border: 0 !important;
    background: transparent !important;
    width: 100%;
    height: 30px !important;
    font-size: 1.25rem !important;
}
.search-bar-input.tall {
    height: 3.5rem !important;
}

.search-bar-input-tree {
    height: 32px !important;
}

.search-bar-top {
    width: 100%;
    background: white;
    border-radius: 3px;
    border: 1px solid var(--darkgray) !important;
    margin-bottom: 10px;
}

.search-bar-input-top {
    height: 35px !important;
}

/* SmTree */

.tree-hover {
    background-color: white;
}

.tree-hover:hover {
    background-color: var(--lightgray);
    z-index: calc(var(--z-table-header) - 1)
}

.tree-hover .tree-auto-hide {
    display: none;
}

.tree-hover:hover .tree-auto-hide {
    display: block;
}

/* ScoresTableAIO */
.font_benchmark_module {color: white; font-size: 1.6rem; font-weight: bold; }

.font_benchmark_parent_category {color: var(--lightblack); font-size: 1.5rem; font-weight: bold; }

.font_benchmark_category {color: var(--lightblack); font-size: 1.5rem; }

.font_benchmark_subcategory {color: var(--black); text-transform: uppercase; font-size: 1.2rem; font-weight: normal}

/* Side Panel */
:root {
    --sidebar-header-height: 6rem;
}
.side-menu {
    position: fixed;
    left: 0;
    z-index: var(--z-navbar);
    background-color: var(--gray);
}
.side-menu .side-menu-header {
    font-weight:bold;
    background-color: var(--purple);
    color: white;
    padding: 2rem;
}
.side-menu .side-menu-header div {
    text-align: center;
}
.side-menu .side-menu-content {
    padding-left: 1.5rem;
    text-transform: uppercase;
    height: calc(100vh - var(--navbar-height) - 6rem);
    overflow: auto;
}

/* Ads Card */
.ads-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--lightgray);
    background-clip: border-box;
    border: 1px solid var(--lightgray);
    border-radius: var(--border-rounding);
}

/* SmTree */
.tree-search-bar {
    width: 100%;
    border-radius: 5px;
    background: white;
    border: 1px solid var(--darkgray) !important;
    align-items: center;
    justify-content: space-between;
    display: flex;
}

/* RFI Dropdown */
[title="rfi-status-1"] {
    color: var(--orange);
}
[title="rfi-status-2"] {
    color: var(--darkestgray);
}
[title="rfi-status-3"] {
    color: var(--purple);
}
[title^="rfi-status-"].title {
    display: none;
}
[title^="rfi-status-"]::before {
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-right: 5px;
}
[title="rfi-status-1"]::before {
    content: '\F4F5';

}
[title="rfi-status-2"]::before {
    content: '\F47B';
}
[title="rfi-status-3"]::before {
    content: '\F293';
}
[title="rfi-status-vd"]::before {
    content: '\F8C4';
}

/* CSS talk bubble */
.talk-bubble {
	padding: 10px;
	background-color: var(--purple);
    color: white;
    border-radius: 10px;
    margin-bottom: 10px;
	white-space: pre-line;
}

.talk-bubble.end {
	margin-left: 100px;
}

.talk-bubble.start {
	margin-right: 100px;
}

.dots_spinner::after {
    display: inline-block;
    animation: dotty steps(1,end) 1s infinite;
    content: '';
    min-width: 25px;
}

@keyframes dotty {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
    100% { content: ''; }
}

/* THG Card */
.thg-card > div:first-child {
    color: white;
    width: 100%;
    padding: 1rem 2rem;
    font-weight: bold;

}

.thg-card > div:last-child {
    background: var(--gray);
    color: black;
    padding: 1.5rem 2rem;
}

.thg-card.glass > div:last-child {
    background: transparent;
    color: black;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

/* Fit Bar */
.fit-bar {
    height: 2rem;
    position: relative;
    display: flex;
    align-items: center;
}

.fit-bar > div:first-child {
    background-color: black;
    align-items: center;
    justify-content: end;
    position: absolute;
    left: 0;
    right: 0;
    cursor: default;
    height: 1px;
}

.fit-bar > div:first-child::after {
    content: '>';
    position: absolute;
    font-size: 19px;
    color: black;
    top: -16px;
    right: -5px;
}

.fit-bar > div:nth-child(2) {
    background-color: var(--purple);
    height: 100%;
    position: absolute;
}

.fit-bar > div:last-child {
    background-color: var(--orange);
    height: 140%;
    width: 3px;
    top: -20%;
    position: absolute;
}

/* Card Fade */

.selection-card {
    overflow: hidden;
    position: relative;
    height: 100%;
}
.selection-card-slide-footer {
    overflow: hidden;
    position: absolute;
    right: 0;
    top: calc(100% - 3px);
    left: 0;
    transition-duration: .2s;
    transition-property: transform, visibility;
    transition-timing-function: ease-in-out;
    color: white;
    background-color: var(--light-purple);
}
.selection-card:hover .selection-card-slide-footer {
    transform: translateY(calc(3px - 100%));
}
.selection-card .fade-icon {
    color: var(--light-purple);
    border-style: solid;
    border-color: inherit;
    border-width: 1px;
}
.selection-card-fade {
    transition: background-color .2s ease-in-out;
}
.selection-card-fade:hover {
    background-color: var(--purple);
}
.selection-card-fade:hover * {
    color: white;
}