﻿#dashboard {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute
}

#dashboard-table-location-name:hover {
    color: #418097;
    cursor: pointer;
}

#dashboard-table-container {
    overflow: hidden;
    height: 100%;
}

#dashboard-menu-wrapper {
    height: 56px;
    position: absolute;
    top: 1px;
    /*    left: 140px;*/
    width: calc(100% - 570px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: end;
}

#executive-dashboard-menu-wrapper {
    /*    height: 35px;
    position: absolute;
    top: 1px;
    left: 170px;
    width: calc(100% - 570px);
    overflow: hidden;*/
}

#executive-dashboard {
    margin: 0;
}

#executive-dashboard-menu {
    float: left;
    background-color: transparent;
    border-width: 0;
    color: #FFFFFF;
    font-weight: 700;
}

#dashboard-content {
    width: 100%;
/*    height: 85vh !important;*/
}

#dashboard-menu {
    float: left;
    border-width: 0;
    background: none;
    vertical-align: bottom;
    color: #FFFFFF;
    font-weight: 700;
}

    #dashboard-menu li:hover {
        background-color: #FFFFFF1F;
        border-color: #FFFFFF1F;
    }

#btnCompOnly {
    background: #AFE6FC;
    cursor: pointer;
    display: inline-block;
    line-height: 35px;
    width: 80px;
    border-left: solid 1px #9EC0CB;
    border-right: solid 1px #9EC0CB;
    text-align: center;
}

    #btnCompOnly.down {
        background: #F9DA82;
    }

    #btnCompOnly:hover {
        background: #F9DA82;
    }

/* JQX CHART CHANGES */
.jqx-chart-axis-text, .jqx-chart-label-text, .jqx-chart-tooltip-text, .jqx-chart-legend-text, .jqx-chart-axis-description, .jqx-chart-title-text, .jqx-chart-title-description {
    fill: #000000;
    color: #2C2C2C;
}

.column-left {
    float: left;
    width: 30px;
    height: 30px;
    padding: 3px;
}

.column-right {
    float: right;
    width: 30px;
    height: 30px;
    padding: 3px;
}

.column-center {
    display: inline-block;
    width: calc(100% - 60px);
    height: 30px;
    overflow: hidden;
    float: left;
}

.values-control {
    height: 99%;
    width: 100%;
    background-color: white;
}

#values-control-00,
#flip-00 {
    height: 100% !important;
}

.values-control-header {
    height: 50px;
}

    .values-control-header span {
        font-size: 16pt;
        line-height: 50px;
        margin: 15px;
        font-weight: bold;
    }

.values-control-total {
    height: calc(100% - 155px);
    width: 100%;
    text-align: center;
    display: table;
    border-spacing: 0;
}

    .values-control-total span {
        height: 100%;
        font-weight: bold;
        font-size: 3.9vw;
        display: table-cell;
        vertical-align: middle;
    }

.values-control-variance {
    width: 100%;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.kpi-executive-values-wrapper .values-control-variance {
    margin-top: 40px;
    margin-bottom: 0;
}

.values-control-variance div {
    margin: 0;
    padding: 0;
    display: inline-block;
    float: left;
    height: 100%;
    line-height: 40px;
}

.values-control-variance-content {
    height: 100%;
    display: inline-block;
}

.values-control-variance img {
    width: 35px;
    height: 35px;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.values-control-variance-content img {
    float: left;
    height: 30px;
    margin: 5px 10px;
}

.values-control-variance-content span {
    display: inline-block;
    float: left;
    line-height: 40px;
}

.values-control-targets {
    height: 50px;
    width: 100%;
    padding: 0 5px;
    position: relative;
}

    .values-control-targets span {
        line-height: 50px;
        font-size: 15pt;
        font-weight: bold;
    }

.values-control-variance-arrows {
    width: 40px;
    text-align: center;
    position: relative;
}

.values-control-variance .values-control-variance-values {
    width: calc(50% - 20px);
}

.dashboard-values-buttons {
    height: 40px;
    margin: 0 15px -5px 0;
}

.dashboard-options {
    display: flex;
    float: right;
}

.dashboard-values-buttons span {
    font-size: 12pt;
    line-height: 30px;
    margin: 0 15px;
}

.dashboard-options img {
    cursor: pointer;
    margin: 5px 15px 0 15px;
    display: inline-block;
    float: left;
    width: 25px;
    height: 25px;
}

.values-control-flip-button {
    position: absolute;
    background-color: #F7F7F8;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    width: 20px;
    height: 20px;
    background-image: -webkit-linear-gradient(135deg, #FFFFFF 50%, #000000 50%);
    background-image: -ms-linear-gradient(135deg, #e9f9fe 50%, #000000 50%);
    cursor: pointer;
    -webkit-transition: width .2s, height .2s;
    /* Safari */
    transition: width .2s, height .2s;
}

.back .values-control-flip-button {
    background-image: -webkit-linear-gradient(135deg, #FFFFFF 50%, #FFFFFF 50%);
    background-image: -ms-linear-gradient(135deg, #e9f9fe 50%, #FFFFFF 50%);
}

.values-control:hover .values-control-flip-button {
    width: 30px;
    height: 30px;
}

.values-charts-body {
    height: calc(100% - 100px);
}

#dashboard-values-compare-target {
    /*margin: 5px 5px 0 5px;*/
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
    .values-control-total span {
        font-size: 3.9vw;
    }

    .values-control-targets span {
        font-size: 1.5vw;
    }

    .values-control-variance {
        font-size: 1.5vw;
    }
}

.target-box {
    width: 50%;
    display: inline-block;
    float: left;
}

    .target-box span {
        word-break: break-all;
    }

.values-control-targets .target-box:last-child span {
    margin-left: 20px;
}

.values-control-targets .target-data {
    width: calc(50% - 20px);
    float: right;
    text-align: right;
    margin-right: 20px;
}

.target-box.target-data {
    margin-right: 20px;
}

@media screen and (max-width: 1150px) {
    .values-control-targets span {
        font-size: 1.5vw;
    }
}

@media screen and (min-width: 1920px) {
    .values-control-total span {
        font-size: 3.9vw;
    }

    .values-control-targets span {
        font-size: 1.7vw;
    }

    .values-control-variance span {
        font-size: 1.7vw;
    }

    .values-control-header span {
        font-size: 1.7vw;
    }
}

.executive-table {
    font-family: Calibri, Helvetica, Tahoma;
    border-spacing: 4px;
}

.executive-div-data {
    font-family: Calibri, Helvetica, Tahoma;
    font-size: 16px;
    font-weight: 700;
    overflow: hidden;
    width: calc(50% - 1px);
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    float: left;
    padding-right: 2px;
}

.executive-div-target {
    font-family: Calibri, Helvetica, Tahoma;
    font-size: 16px;
    font-weight: 700;
    overflow: hidden;
    width: calc(50% - 1px);
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    float: right;
    background-color: #808080;
    color: #FFF;
}

.executive-values-control-data {
    width: 100%;
    text-align: center;
    display: table;
    border-spacing: 0;
    font-weight: 700;
}

.executive-column-center {
    display: inline-block;
    width: 100%;
    height: 36px;
    overflow: hidden;
}

.executive-sf-button {
    background: #AFE6FC;
    cursor: pointer;
    margin-right: 5px;
    width: 80px;
}

.executive-values-control-targets {
    width: 100%;
    position: absolute;
    bottom: 0;
}

    .executive-values-control-targets:hover .values-control-flip-button {
        width: 30px;
        height: 30px;
    }

.kpi-executive-values-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: inline-block;
    height: 150px;
}

#leaderboard-dashboard-menu-wrapper {
/*    height: 35px;
    position: absolute;
    top: 1px;
    left: 170px;
    width: calc(100% - 570px);
    overflow: hidden;*/
}

#leaderboard-dashboard-menu {
    float: left;
    border-width: 0;
    background: none;
    vertical-align: bottom;
    color: #FFFFFF;
    font-weight: 700;
}

.leaderboard-control-flip-button {
    background-color: #F7F7F8;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    width: 20px;
    height: 20px;
    background-image: -webkit-linear-gradient(135deg, #FFFFFF 50%, #000000 50%);
    background-image: -ms-linear-gradient(135deg, #e9f9fe 50%, #000000 50%);
    cursor: pointer;
    -webkit-transition: width .2s, height .2s;
    /* Safari */
    transition: width .2s, height .2s;
}

#quadrant-dashboard-menu-wrapper {
/*    height: 35px;
    position: absolute;
    top: 1px;
    left: 170px;
    width: calc(100% - 570px);
    overflow: hidden;*/
}

#quadrant-dashboard-menu {
    float: left;
    border-width: 0;
    background: none;
    vertical-align: bottom;
    color: #FFFFFF;
    font-weight: 700;
}

.back .leaderboard-control-flip-button {
    background-image: -webkit-linear-gradient(135deg, #FFFFFF 50%, #FFFFFF 50%);
    background-image: -ms-linear-gradient(135deg, #e9f9fe 50%, #FFFFFF 50%);
}

.leaderboard-control:hover .leaderboard-control-flip-button {
    width: 30px;
    height: 30px;
}

.executive-div-target:hover .leaderboard-control-flip-button {
    width: 30px;
    height: 30px;
}

#executive-center-vertical {
    border: none !important;
}

    #executive-center-vertical .jqx-fill-state-normal {
        background-color: #FFFFFF !important;
        border: none !important;
    }

    #executive-center-vertical .jqx-widget-content {
        border: none !important;
    }

.quadrant-flex-row {
    display: flex;
    flex-direction: row;
}

.quadrant__title-row {
    justify-content: space-between;
    align-items: center;
    margin-inline: 1rem;
}

.quadrant__print-button {
    width: auto;
    height: auto;
    max-height: 25px;
}

.quadrant__options-row {
    gap: 2em;
    margin-inline: 1rem;
}

.quadrant__option-container {
    gap: 1em;
    align-items: center;
}

.quadrant__option-label {
    font-size: 1rem;
}

.quadrant__option-select {
    min-width: 120px;
    max-height: 1.25rem;
}

.quadrant__chart-section {
    height: 80vh;
    width: 90vw;
    margin-inline: auto;
}

.quadrant-point {
    opacity: 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.label-visible {
    opacity: 100%;
}

.quadrant-label {
    border: 2px solid #068ACA;
    font-size: 11px;
    text-align: center;
    padding-inline: 4px;
    background-color: white;
    cursor: default;
}

.quadrant-hover-item {
    content: "";
    height: 10px;
    width: 4px;
    border: 1px solid red;
}

@media screen and (max-device-width: 1280px) {
    #divGraph {
        max-height: 90%;
        max-width: 90%;
    }
}

.quadrant-label::after {
    /*    content: "";
    width: 0;
    height: 0;

    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid blue;

    position: absolute;
    right: 50%;
    margin-right: 10px;
    bottom: -20px;

    padding-bottom: 40px;*/
}

/**/
.leaderboard-edit-view {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.leaderboard-edit-settings {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.leaderboard-edit-row {
    display: flex;
}

    .leaderboard-edit-row * {
        width: 50%;
    }

.leaderboard-edit-footer {
    margin-top: auto;
}

.leaderboard-edit-kpis {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 99%;
    border: 1px #E7E9EA solid;
    padding: 6px;
    margin: 6px;
}

.two-column-layout {
    display: flex;
}

.left-column {
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
    border-right: 1px solid #ccc;
    overflow-y: auto;
}

.column.left-column .predefined-layout.selected {
    background-color: #0177BC;
    color: white;
}

.right-column {
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
}

.predefined-layouts {
    margin-bottom: 10px;
}

.predefined-layout {
    cursor: pointer;
    padding-bottom: 4px;
    padding-top: 4px;
}

    .predefined-layout label {
        font-size: 16px;
    }
