﻿
.legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    padding-top: 10px;
}

.legend-item {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 5px;
    white-space: pre-wrap;
}

    .legend-item span {
        display: block;
    }

@media (max-width: 768px) {
    .legend {
        grid-template-columns: 1fr;
    }
}

.table-main {
    font-family: Montserrat;
    width: 100%;
    color: #243141;
}

.table-main tr {
    height: 40px;
}

.table-main-header {
    font-size:18px;
}

.table-main-header th {
    padding-bottom:8px;
    font-size:14px;
}

.button_edit_button {
    padding:10px;
}

    .button_edit_button:hover {
        background: rgba(0, 0, 0, 0.075);
        cursor: pointer;
    }

.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

select:required:invalid {
    color: gray;
}

option[value=""][disabled] {
    display: none;
}

option {
    color: black;
}

.successButton {
    background-color: #243141;
    font-family: Montserrat;
    border-radius: 0px;
}

.secondaryButton {
    border: 1px solid #243141;
    color: #243141;
    font-family: Montserrat;
    font-weight: 600;
    border-radius: 0px;
}

.buttonSearchManagement {
    border-left: none;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-color: #ced4da;
    height: inherit;
    padding: 0.5rem 0.75rem;
}

.input-group-addon .eyePassword {
    margin-left: -30px;
    cursor: pointer;
    z-index: 200;
    position: absolute;
    font-size: large;
    color: grey;
    margin-top: 8px;
}

.textPercentageDemonstrate {
    color: #917C3F;
    font-weight: 600;
}

.textPercentageDontDemonstrate {
    color: dimgrey;
    font-weight: 600;
}

.tabActivate {
    border-bottom: 5px solid #243141 !important;
    font-weight:600 !important;
}

.tabCompetencyModel:hover {
    border-bottom: 5px solid #243141 !important;
    font-weight: 600 !important;
}

.subTabActivate {
    border-bottom: 5px solid #917C3F !important;
    font-weight: 600 !important;
}

.subTabActivate span {
    color: #917C3F !important;
}

.subTabCompetencyModel:hover {
    border-bottom: 5px solid #917C3F !important;
    font-weight: 600 !important;
    color: #917C3F !important;
}

.subTabCompetencyModel:hover a {
    color: #917C3F !important;
}

.buttonProficiencyLevelActivated {
    background: #243141 !important;
}

.buttonProficiencyLevelActivated span {
    color: #fff !important;
}

proficiencyButton:active {
    background: #243141 !important;
}

    proficiencyButton:active span {
        color: #fff !important;
    }


/* My Profile, profile picture hover START */

#image-container {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin: 0 55px;
    --bs-gutter-x: 0;
}

#image-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

    #image-overlay i {
        color: white;
        font-size: 30px;
    }

#image-container:hover #image-overlay {
    opacity: 1;
    cursor: pointer;
}

/* My Profile END */


@media (min-height: 950px) {
    .CompetencyModelSubTabPage {
        min-height: 300px !important;
    }

}

.columnbackgroundlight {
    width: 95%;
    display: block;
    background-color: #d3cbb2;
    padding: 15px;
    border-radius: 5px;
    text-align: left;
}

.columnbackgroundDone {
    width: 95%;
    display: block;
    background-color: #907c3f;
    padding: 15px;
    border-radius: 5px;
    text-align: left;
    color: #fff;
}

.columnbackgroundToStart {
    width: 95%;
    display: block;
    background-color: #f2f2f2;
    padding: 15px;
    border-radius: 5px;
    text-align: left;
}


.secondaryButtonDisabled {
    border: none;
    color: #fff;
    font-family: Montserrat;
    border-radius: 0px;
    background-color: #cccccf;
    pointer-events: none;
}


@property --p {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
}

.pie {
    --p: 20;
    --b: 22px;
    --c: darkred;
    --w: 30%;
    width: var(--w);
    aspect-ratio: 1;
    position: relative;
    display: inline-grid;
    margin: 5px;
    place-content: center;
    font-weight: bold;
    color: #917C3F;
    font-size: 2.5rem;
}

    .pie:before,
    .pie:after {
        content: "";
        position: absolute;
        border-radius: 50%;
    }

    .pie:before {
        inset: 0;
        background: radial-gradient(farthest-side,var(--c) 98%,#0000) top/var(--b) var(--b) no-repeat, conic-gradient(var(--c) calc(var(--p)*1%),#0000 0);
        -webkit-mask: radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
        mask: radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
    }

    .pie:after {
        inset: calc(50% - var(--b)/2);
        background: var(--c);
        transform: rotate(calc(var(--p)*3.6deg)) translateY(calc(50% - var(--w)/2));
    }

.animate {
    animation: p 1s .5s both;
}

.no-round:before {
    background-size: 0 0,auto;
}

.no-round:after {
    content: none;
}

@keyframes p {
    from {
        --p: 0
    }
}


/*Dashboard*/

.dashboard-number {
    font-size: xx-large;
    color: #917C3F;
    font-weight: 800;
}

.progress-bar {
    background-color: #cccccf;
    border: none;
}

.customized-calendar {
    width: 200px !important;
}

    .customized-calendar input {
        cursor: pointer;
        text-transform: uppercase;
        height: 50px;
        border-radius: 0px;
        border: transparent;
        background-color: #f2f2f2 !important;
    }

    .customized-calendar .input-group-addon {
        cursor: pointer;
        height: 50px;
        border-radius: 0px;
        border: transparent;
        background-color: #f2f2f2 !important;
    }

    .customized-calendar .form-control:focus {
        border: transparent;
        background-color: #f2f2f2 !important;
        box-shadow: none;
    }