﻿.color-black {
    color: black;
}

.color-blue {
    color: dodgerblue;
}

.color-green {
    color: darkgreen !important;
}

.color-orange {
    color: darkorange !important;
}

.color-red {
    color: darkred !important;
}

.color-dark {
    color: #343a40;
}

.color-light {
    color: lightgrey;
}

.bg-danger {
    background-color: darkred;
    color: white;
}

.bg-warning {
    background-color: #fd7e14;
    color: black;
}

.bg-success {
    background-color: darkgreen;
    color: white;
}

.bg-info {
    background-color: dodgerblue;
    color: white;
}

.bg-highlight {
    background-color: yellow;
    color: white
}

.bg-report {
    background-color: #0d47a1;
    color: white
}

.bg-secondary {
    background-color: #1d2124;
    color: white
}

.border-left-success {
    border-left: 0.25rem solid forestgreen !important;
}

.border-success {
    border: 1px forestgreen !important;
}

.border-left-info {
    border-left: 0.25rem solid dodgerblue !important;
}

.border-info {
    border: dodgerblue !important;
}

.bg-success-lt {
    background-color: #dafada;
}

.bg-info-lt {
    background-color: aliceblue;
}

.dashButton {
    display: inline-block;
    padding: .5em;
    font-size: 15px;
    width: -webkit-fill-available;
    border: none;
    border-radius: 6px;
    margin: 0 0 .5em 0;
    text-align: center;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    cursor: pointer;
}

.dashRow {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0px;
    margin-left: 0px;
}

.bg-red {
    background-color: darkred;
    color: white
}

.bg-green {
    background-color: darkgreen;
    color: white
}

.bg-orange {
    background-color: #fd7e14;
    color: white;
}

.bg-semi-orange {
    background-color: rgba(253, 126, 20, 0.3);
}

.bg-semi-red {
    background-color: rgba(139, 0, 0, 0.3);
}

.bg-semi-green {
    background-color: rgba(0, 100, 0, 0.3);
}

.bg-blue-black {
    background-color: dodgerblue;
    color: white;
    border-left: 0.25rem solid #343a40 !important;
}

.bg-green-black {
    background-color: forestgreen;
    color: white;
    border-left: 0.25rem solid #343a40 !important;
}

.bg-black-blue {
    background-color: #343a40;
    color: white;
    border-left: 0.25rem solid dodgerblue !important;
}

.bg-black-green {
    background-color: #343a40;
    color: white;
    border-left: 0.25rem solid forestgreen !important;
}

.bg-white-black {
    background-color: white;
    color: black;
    border-left: 0.25rem solid #343a40 !important;
}

.bg-white-blue {
    background-color: white;
    color: black;
    border-left: 0.25rem solid dodgerblue !important;
}

.bg-white-green {
    background-color: white;
    color: black;
    border-left: 0.25rem solid darkgreen !important;
}

.bg-white-red {
    background-color: white;
    color: black;
    border-left: 0.25rem solid darkred !important;
}

.bg-white-dark {
    background-color: white;
    color: black;
    border-left: 0.25rem solid #343a40 !important;
}

.bg-white-orange {
    background-color: white;
    color: black;
    border-left: 0.25rem solid #fd7e14 !important;
}

.bg-highlight-blue {
    background-color: yellow;
    color: black;
    border-left: 0.25rem solid dodgerblue !important;
}

.bg-grey-blue {
    background-color: darkgrey;
    color: white;
    border-left: 0.25rem solid dodgerblue !important;
}

.bg-blue {
    background-color: #066dab;
    color: white;
}

.bg-disabled {
    background-color: #e9ecef;
    color: #495057;
}

/* Fix for Modal content windows that are set to a specific size to work on smaller screen sizes. */
/* There are still formatting issues with field lengths being too long/buttons wrapping to next line */
@media (max-width: 767.98px) {
    .modalContentWindow, .ccm-cw {
        width: auto !important;
    }
}

.no-left-border-radius {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.no-right-border-radius {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* HEALTH GAUGE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.chart-skills {
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
}

    .chart-skills *,
    .chart-skills::before {
        box-sizing: border-box;
    }


/* CHART-SKILLS STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.chart-skills {
    position: relative;
    width: 15em;
    height: 7.5em;
    overflow: hidden;
}

    .chart-skills::before,
    .chart-skills::after {
        position: absolute;
    }

    .chart-skills::before {
        content: '';
        width: inherit;
        height: inherit;
        border-bottom: none;
        border-top-left-radius: 175px;
        border-top-right-radius: 175px;
    }

    .chart-skills::after {
        left: 50%;
        bottom: 10px;
        transform: translateX(-50%);
        font-size: 1.1rem;
        font-weight: bold;
        color: cadetblue;
    }

    .chart-skills li {
        position: absolute;
        top: 100%;
        left: 0;
        width: inherit;
        height: inherit;
        border: 45px solid;
        border-top: none;
        border-bottom-left-radius: 175px;
        border-bottom-right-radius: 175px;
        transform-origin: 50% 0;
        transform-style: preserve-3d;
        backface-visibility: hidden;
        animation-fill-mode: forwards;
        animation-duration: .4s;
        animation-timing-function: linear;
    }

        .chart-skills li:nth-child(1) {
            z-index: 4;
            border-color: darkgreen;
            animation-name: rotate-one;
        }

        .chart-skills li:nth-child(2) {
            z-index: 3;
            border-color: gold;
            animation-name: rotate-two;
            animation-delay: .4s;
        }

        .chart-skills li:nth-child(3) {
            z-index: 2;
            border-color: darkred;
            animation-name: rotate-three;
            animation-delay: .8s;
        }

    .chart-skills span {
        position: absolute;
        font-size: .85rem;
        backface-visibility: hidden;
        animation: fade-in .4s linear forwards;
    }

    .chart-skills li:nth-child(1) span {
        top: 5px;
        left: 10px;
        transform: rotate(-59.9deg);
    }

    .chart-skills li:nth-child(2) span {
        top: 20px;
        left: 10px;
        transform: rotate(-119.8deg);
    }

    .chart-skills li:nth-child(3) span {
        top: 18px;
        left: 10px;
        transform: rotate(-180deg);
    }

/* ANIMATIONS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@keyframes rotate-one {
    100% {
        transform: rotate(59.9deg);
    }
}

@keyframes rotate-two {
    0% {
        transform: rotate(59.9deg);
    }

    100% {
        transform: rotate(119.8deg);
    }
}

@keyframes rotate-three {
    0% {
        transform: rotate(118.8deg);
    }

    100% {
        transform: rotate(180deg);
    }
}

@keyframes fade-in {
    0%, 90% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.needle {
    position: absolute;
    width: .5em;
    height: 6em;
    background: black;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-left-radius: 100%;
    border-top-right-radius: 100%;
    display: inline-block;
    top: 5.5em;
    transform-origin: bottom;
    z-index: 5;
}

.needle-danger {
    transform: rotate(60deg);
}

.needle-warning {
    transform: rotate(0deg);
}

.needle-success {
    transform: rotate(-65deg);
}





















