html {
    height: 100vh;
    width: 100vw;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    min-width: 100vw;
}

:root {
    --primary-color: #004284;
    --secondary-color: #f4f5f7;
    --primary-bg-color: #f8f8f8;
    --secondary-bg-color: #06a10b;
}

.color-primary {
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
}

.color-secondary {
    background-color: var(--secondary-bg-color);
    color: var(--secondary-color);
}

main {
    display: grid;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 4fr 8fr 6vh;
    grid-template-areas: 
        "top top"
        "left right"
        "bottom bottom"; 
    height: 100vh;
}

#info-container {
    /* outline: none; */
    margin-bottom: 1px;
    grid-area: top;
    display: grid;
    /* grid-column-gap: 0px; */
    /* grid-row-gap: 0px; */
    grid-column-gap: 1px;
    grid-row-gap: 1px;
    grid-template-columns: 2fr 1fr 1fr 2fr 2fr;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    grid-template-areas: 
        "c1 c2 c3 c4 c5-1"
        "c1 c2 c3 c4 c5-2"
        "c6 c6 c8 c9 c10-1"
        "c6 c6 c8 c9 c10-2";
}

#c1 {
    grid-area: c1;
}

#c2 {
    grid-area: c2;
}

#c3 {
    grid-area: c3;
}

#c4 {
    grid-area: c4;
}

#c5-1 {
    grid-area: c5-1;
}

#c5-2 {
    grid-area: c5-2;
}

#c6 {
    grid-area: c6;
}

/* c6 covers two boxes */
/* #c7 {
    grid-area: c7;
} */

#c8 {
    grid-area: c8;
}

#c9 {
    grid-area: c9;
}

#c10-1 {
    grid-area: c10-1;
}

#c10-2 {
    grid-area: c10-2;
}

#recruiters-container {
    background-color: var(--primary-bg-color);
    grid-area: left;
}

#misc-container {
    background-color: var(--primary-bg-color);
    grid-area: right;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 2fr 1fr;
    grid-column-gap: 0px;
    /* grid-row-gap: 0px; */
    grid-row-gap: 1px;
    grid-template-areas:
        "top"
        "bottom";
}

#gross-profit {
    grid-area: top;
}

#clients {
    grid-area: bottom;
}

#footer-container {
    grid-area: bottom;
    /* font-size: x-large; */
    font-size: calc(0.1rem + 1.5vw);
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.box {
    outline: 1px solid black;
    border-radius: 1px;
    text-align: center;
}

.labeled-number {
    position: relative;
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
    display: grid;
    grid-auto-flow: row;
    grid-template-rows: 1fr 3rem;
}

.labeled-number-inline {
    position: relative;
    /* display: flex;
    flex-direction: row; */
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 1rem;
    justify-content: center;
}

.labeled-number-inline-big-label {
    position: relative;
    /* display: flex;
    flex-direction: row; */
    display: grid;
    grid-auto-flow: column;
    /* grid-auto-columns: 1fr; */
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    justify-content: center;
}

.labeled-graph {
    position: relative;
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
    display: grid;
    grid-auto-flow: row;
    grid-template-rows: 3rem 1fr;
}

.big-number {
    font-size: calc(1.4rem + 2vw);
    font-weight: bold;
}

.big-label {
    font-size: calc(0.3rem + 1.5vw);
}

.medium-number {
    font-size: calc(0.6rem + 2vw);
    font-weight: bold;
}

.small-label {
    font-size: calc(0.1rem + 0.9vw);
}

.small-number {
    font-size: calc(0.6rem + 1.8vw);
    font-weight: bold;
}

.medium-label {
    font-size: calc(0.3rem + 1vw);
}

.tiny-number {
    font-size: calc(0.3rem + 1.2vw);
    font-weight: bold;
}

.icon {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0.2rem;
    font-size: calc(0.6rem + 2vw);
}

.number-top-right {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0.2rem;
}

.icon-inline {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0.2rem;
    font-size: calc(0.6rem + 1.5vw);
}

.align-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.align-right {
    display: flex;
    justify-content: right;
    align-items: center;
}

.align-left {
    display: flex;
    justify-content: left;
    align-items: center;
}

.not-available {
    color: gray;
}

.icon-button {
    background-color: transparent;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
    overflow: hidden;
    outline: none;
}

.parentheses-surrounded:before {
    content: '(';
}

.parentheses-surrounded:after {
    content: ')';
}

.orders-grid {
    border: none;
    position: relative;
    top: 25%;
}

.orders-grid td {
    padding-left: 1rem;
    padding-right: 1rem;
}

#recruiters-container {
    overflow: hidden;
    white-space: nowrap;
    height: 100%;
}

/* .scroll {
    will-change: transform;
    animation: recruiters-scrolling 10s linear infinite;
} */

.scroll {
    overflow: hidden;
    white-space: nowrap;
    height: 90%;
}

.recruiters-table {
    border-collapse: collapse;
    width: 100%;
    font-size: calc(0.3rem + 1vw);

    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 0;
    margin: 0;

    height: 172%;
    /* height: 600px; */
}

.recruiters-table-header {
    border-collapse: collapse;
    width: 100%;
    font-size: calc(0.3rem + 1vw);
    font-weight: bold;

    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;

    height: 10%;

    border-bottom: 1px;
}

.recruiters-table-row {
    width: 100%;
    height: 8.3%;
    display: flex;
    align-items: center;
    transform-origin: top;
}

.recruiters-table-row-even {
    background-color: lightgray;
}

.recruiters-table-row-odd {
    background-color: transparent;
}

.recruiters-table-recruiter-cell {
    width: 30%;
}

.recruiters-table-cell-value.recruiters-table-recruiter-cell {
    text-align: left;
    margin-left: 1rem;
}

.recruiters-table-talent-cell {
    width: 10%;
}

.recruiters-table-job-cell {
    width: 7%;
}

.recruiters-table-iv-cell {
    width: 15%;
}

.recruiters-table-call-cell {
    width: 10%;
}

.recruiters-table-text-email-cell {
    width: 10%;
}

.recruiters-table-start-ends-cell {
    width: 8%;
}

.recruiters-table-total-cell {
    width: 10%;
}

.bar-chart {
	/* position: relative; */
	margin: auto;
    width: 90%;
	height: 90%;
    display: flex;
    align-items: center;
	/* background-color: lightskyblue; */
    /* font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; */
}

.bar-chart .domain {
    display: none;
}

.bar-chart .tick line {
    display: none;
}

.bar-chart .xaxis {
    /*font-size: 24px;*/
    font-style: italic;
    /* this color: white setting IS successfully
       setting the internal color of the bottom
       wk1, wk2 text */
    color: #F4F5F7;
}
