:root {
    --main-color: rgb(214, 69, 44);
    --error-red: #D7462E;
    --success-green: #04926E;
}

h1 {
    font-size: 22px;
    font-weight: 500;
    color: var(--main-color);
}

h2 {
    font-size: 32px;
    font-weight: 700;
    color: rgba(60, 56, 53);
}

h3 {
    padding-bottom: 10px;
}

.over-shadow-light {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
}

.main-color {
    color: var(--main-color);
}

.flex {
    display: flex;
}

.flex-grow-1 {
    flex-grow: 1;
}

.flex-shrink-auto {
    flex-shrink: 1;
}

.flex.hide-empty>div:empty {
    display: none;
}

.grid {
    display: grid;
}

.wrap {
    flex-wrap: wrap;
}

.flex-row {
    flex-direction: column;
}

.flex-column {
    flex-direction: row;
}

.flex.distribute>div {
    flex: 1 1;
}

.gap-big {
    gap: 30px;
}

.gap {
    gap: 20px;
}

.gap-small {
    gap: 10px;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.align-bottom>div {
    align-self: flex-end;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.padding-top {
    padding-top: 20px;
}

.padding-bottom {
    padding-bottom: 20px;
}

.margin-left-small {
    margin-left: 10px !important;
}

.margin-left {
    margin-left: 20px !important;
}

.margin-left-big {
    margin-left: 30px !important;
}

.margin-right-small {
    margin-right: 10px !important;
}

.margin-right {
    margin-right: 20px !important;
}

.margin-right-big {
    margin-right: 30px !important;
}

/* INFO BLOCK */
.evfInfoBlock {
    display: inline-block;
    vertical-align: top;
    margin: 0px 15px 15px 0px;
}

.evfInfoBlock.noMargin {
    margin: 0px;
}

.evfInfoBlock>div {}

.evfInfoBlock>div.label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 5px;
}

.evfInfoBlock>div.data {
    font-size: 16px;
}

/* DIAlOG */
dialog.evf {
    border: 0px;
    border-radius: 5px;
}

dialog.evf:focus-visible {
    outline: none;
}

dialog.evf>div.title {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    padding-bottom: 10px;
}

dialog.evf>div.actions {
    text-align: center;
    padding: 5px;
    padding-bottom: 0px;
}

dialog.evf>div.actions>div {
    margin: 5px;
    margin-bottom: 0px;
}

/* SCROLLBAR */
.evfScrollBar::-webkit-scrollbar {
    width: 6px;
    height: 7px;
}

.evfScrollBar::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.evfScrollBar::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgb(130, 126, 123);
}

.evfScrollBar::-webkit-scrollbar-thumb:hover {
    background: #999;
    cursor: grab;
}

.evfScrollBar::-webkit-scrollbar-thumb:active {
    cursor: grabbing;
}

/* SKILL TAGS */
/*
.evfSkillTags div.tag {
    display: inline-block;
    background: rgb(76, 76, 76);
    font-size: 12px;
    color: #FFF;
    padding: 4px 5px;
    line-height: 12px;
    border-radius: 2px;
    border-left: 5px solid #333;
    position: relative;
    font-weight: 600;
}
*/

.evfSkillTags div.tag {
    display: inline-block;
    background: #E6E6E6;
    font-size: 12px;
    color: #4C4C4C;
    padding: 4px 5px;
    line-height: 12px;
    border-radius: 2px;
    border-left: 5px solid #333;
    position: relative;
    font-weight: 600;
}

.evfSkillTags div.tag:not(:last-child) {
    margin-right: 18px;
}

.evfSkillTags div.tag:not(:last-child)::after {
    content: '+';
    padding: 0px 5px;
    position: absolute;
    color: #333;
    font-size: 20px;
    font-weight: bold;
    margin-left: 3px;
}

/* ALLOCATION */
.allocationBlockHeader {
    background: #FFF;
    display: flex;
    gap: 10px;
    padding: 12px 15px;
}

.allocationBlockHeader>div.label {
    font-weight: 700;
    font-size: 16px;
    flex-grow: 1;
}

.allocationBlockHeader .stateCounter * {
    font-size: 16px;
}

.allocationBlockSubHeader {
    background: rgb(66, 65, 61);
    display: flex;
    gap: 10px;
    padding: 12px 15px;
}

.allocationBlockSubHeader>div.label {
    color: #FFF;
    font-weight: 500;
    font-size: 16px;
    flex-grow: 1;
}

.bleedIcon {
    width: 30px;
    height: 20px;
    position: relative;
    margin-right: 5px;
}

.bleedIcon svg.icon.frk {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    margin-top: -15px;
    margin-right: 0px;
}

.teamIcon svg.icon.frk {
    fill: rgb(66, 65, 61);
}

.skillIcon {
    width: 24px;
}

.skillIcon svg.icon.frk {
    width: 24px;
    height: 24px;
    margin-top: -12px;
    fill: rgb(66, 65, 61);
}

.teamSkillIcon {
    display: inline-block;
    height: 10px;
    margin-left: 10px;
    width: 18px;
}

.teamSkillIcon svg.icon.frk {
    width: 18px;
    height: 18px;
    margin-top: -8px;
    margin-right: 0px;
    stroke: var(--success-green);
}

.teamRequiredIcon {
    display: inline-block;
    height: 10px;
    margin-left: 10px;
    width: 20px;
}

.teamRequiredIcon svg.icon.frk {
    width: 20px;
    height: 20px;
    margin-top: -9px;
    margin-right: 0px;
    stroke: #BC844D;
}

.evfAllocationEmployee {
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: inline-block;
    overflow: hidden;
    background: #FFF;
    padding: 10px;

    -webkit-box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.15);
}

.evfAllocationEmployee:not(.temporary) .temporaryIcon {
    display: none;
}

.evfAllocationEmployee svg.frk.icon.temporaryIcon {
    height: 16px;
    width: 16px;
    margin-right: 5px;
}

#allocationZone:not(.attributed) .evfAllocationEmployee {
    cursor: grab;
}

#allocationZone.attributed div.dragzone {
    display: none;
}

.evfAllocationEmployee.hide {
    display: none !important;
}

.evfAllocationEmployee div.number {
    font-weight: 600;
    font-size: 13px;
}

.evfAllocationEmployee div.name {
    font-weight: 400;
}

.evfAllocationEmployee div.skills {
    padding-top: 7px;
}

.evfAllocationEmployee div.skills>div {
    display: inline-block;
    margin: 3px 3px 0px 0px;
}

.evfAllocationEmployee.ui-draggable-dragging {
    transform: rotate(5deg);
}

.evfAllocationEmployee.unqualified {
    background: #FFEEEE;
}

.evfAllocationEmployee.unqualified .name {
    color: #990000;
}

#allocationZone>div.employeesHolder {
    width: 300px;
    margin-top: 10px;
    box-sizing: border-box;
}

#allocationZone.hideEmployeeSkills .evfAllocationEmployee .skills {
    display: none;
}

#allocationZone>div.employeesHolder>div.employees {
    overflow-y: auto;
    background: rgb(232, 231, 229);
    padding: 12px 15px;
}

#allocationZone.published>div.employeesHolder {
    display: none;
}

#allocationZone.published>div.sectors {
    padding-left: 0px;
}

#allocationZone div.employees>div.evfAllocationEmployee {
    display: block;
}

#allocationZone div.employees>div.evfAllocationEmployee:not(:nth-child(2)) {
    cursor: not-allowed !important;
    opacity: 0.75;
}

#allocationZone div.employees>div.evfAllocationEmployee:not(:last-child) {
    margin-bottom: 5px;
}

#allocationZone>div.sectors {
    flex: 1 1;
    overflow-y: scroll;
    padding: 10px;
}

#sectorsZone {
    margin-right: 5px;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

#sectorsZone>div>div.sector .skillRequirements.permanent {
    margin-right: 7px;
}

#sectorsZone>div>div.sector .skillRequirements {
    position: relative;
}

#sectorsZone>div>div.sector .skillRequirements>div {
    display: inline-block;
    vertical-align: middle;
}

#sectorsZone>div>div.sector .skillRequirements.none {
    opacity: 0.5;
}

#sectorsZone>div>div.sector .skillRequirements>div.number {
    color: #FFF;
    font-size: 16px;
}

#sectorsZone>div>div.sector .skillRequirements>div.bleedIcon:not(:first-child) {
    margin-left: 20px;
}

#sectorsZone div.team>div.title>div.label>div.teamSkills div.details,
#sectorsZone>div>div.sector .skillRequirements>div.details {
    position: absolute;
    right: 0px;
    top: 100%;
    margin-top: 12px;
    margin-right: -15px;
    background: #FFF;
    padding: 10px 10px 5px 10px;
    z-index: 99;
    display: none;
}

#sectorsZone div.team>div.title>div.label>div.teamSkills div.details>div.title,
#sectorsZone>div>div.sector .skillRequirements>div.details>div.title {
    padding-bottom: 5px;
    font-weight: 600;
    white-space: nowrap;
}

#sectorsZone div.team>div.title>div.label>div.teamSkills div.details {
    margin-top: 0px;
    margin-right: 0px;
}

#sectorsZone div.team>div.title>div.label>div.teamSkills div.details>div.evfSkillTags,
#sectorsZone>div>div.sector .skillRequirements>div.details>div.evfSkillTags {
    margin-bottom: 5px;
    white-space: nowrap;
}

#sectorsZone div.team>div.title:hover>div.label>div.teamSkills div.details,
#sectorsZone>div>div.sector .skillRequirements:hover>div.details {
    display: block;
}

#sectorsZone>div>div.sector {
    background: rgb(232, 231, 229);
    vertical-align: top;
    /* overflow: hidden; */
}

#sectorsZone>div>div.sector div.requirements {
    padding: 5px 3px 0px 7px;
}

#sectorsZone>div>div.sector div.team div.requirements {
    padding-left: 0px;
}

#sectorsZone>div>div.sector div.requirements>div {
    display: inline-block;
}

#sectorsZone>div>div.sector div.requirements>div>div {
    margin: 0px 4px 3px 0px;
    border-radius: 3px;
    overflow: hidden;
}

#sectorsZone>div>div.sector>div.employees {}

#sectorsZone>div>div.sector>div.employees div.list:not(:empty) {
    padding-bottom: 5px;
}

#sectorsZone>div>div.sector>div.employees div.list>div {
    display: block;
}

#sectorsZone>div>div.sector>div.employees div.list>div:not(:last-child) {
    margin-bottom: 5px;
}

#evfCurrentAllocations .allocation:not(:last-child) {
    margin-bottom: 10px;
}

#allocationZone div.employees div.dragzone {
    margin-bottom: 5px;
}

#allocationZone div.dragzone {
    border: 2px dashed rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    text-align: center;
    padding: 8px;
    opacity: 0.5;
}

#allocationZone div.dragzone.default {
    border: 2px solid rgb(169, 165, 162);
    background: rgb(169, 165, 162);
    min-height: 40px;
    opacity: 1;
}

#allocationZone div.dragzone svg.icon.frk {
    fill: #FFF;
    width: 30px;
    height: 30px;
    margin-right: 0px;
}

#allocationZone div.dragzone.ui-state-active,
#allocationZone.published div.dragzone:hover {
    opacity: 1;
}

#allocationZone div.dragzone.default.ui-state-active,
#allocationZone.published:not(.attributed) div.dragzone.default:hover {
    background: rgb(216, 213, 208);
    border-color: #FFF;
}

#allocationZone.published:not(.attributed) div.dragzone:hover,
#allocationZone.published:not(.attributed) div.dragzone.default:hover {
    cursor: pointer;
}

.stateCounter {
    display: flex;
}

.stateCounter>div {
    align-content: center;
}

.stateCounter>div.label {
    flex: 1 1;
}

.stateCounter>div.icon svg.icon.frk {
    display: none;
    margin-right: 2px;
    width: 16px;
    height: 16px;
}

.stateCounter:not(.error):not(.iconError)>div.icon svg.icon.frk.success {
    display: block;
}

.stateCounter.error>div.icon svg.icon.frk.error,
.stateCounter.iconError>div.icon svg.icon.frk.error {
    display: block;
}

.stateCounter>div.status {
    padding-left: 5px;
    text-align: right;
}

.stateCounter.prefix>div.status {
    padding-left: 0px;
    padding-right: 5px;
}

.stateCounter>div.status div {
    font-weight: 500;
    display: inline-block;
}

.stateCounter>div.status>div.current {
    font-weight: bold;
}

.stateCounter>div.status>div.limits:before {
    content: '/';
    padding: 0px 2px;
}

.stateCounter>div.status>div.limits>div.range {
    padding: 0px 2px;
}

.stateCounter>div.status>div,
.stateCounter>div.status>div>div {
    color: var(--success-green) !important;
}

.stateCounter.error>div.status>div,
.stateCounter.error>div.status>div>div {
    color: var(--error-red) !important;
}

.allocationBlockHeader .counter.stateCounter.error div.status * {
    color: #333 !important;
}

#sectorsZone>div>div.sector div.requirements>div>div {
    background: #666;
}

#sectorsZone>div>div.sector div.requirements>div>div>div.label>div {
    padding: 4px 5px;
    font-size: 12px;
    line-height: 12px;
    color: #FFF;
    display: inline-block;
    vertical-align: top;
}

#sectorsZone>div>div.sector div.requirements>div>div>div.status {
    background: rgba(0, 0, 0, 0.25);
    padding-right: 5px;
}

#sectorsZone>div>div.sector div.requirements>div>div>div.status div {
    font-size: 12px;
    line-height: 12px;
    color: #FFF;
}

#sectorsZone>div>div.sector div.requirements>div>div>div.status>div {
    vertical-align: top;
    padding-top: 4px;
}

#sectorsZone>div>div.sector div.requirements>div>div>div.status>div.limits:before,
#sectorsZone>div>div.sector div.requirements>div>div>div.status>div.limits>div {
    font-size: 10px;
}

#sectorsZone>div>div.sector>div.name>div.status {
    background: rgba(0, 0, 0, 0.25);
}

#sectorsZone>div>div.sector>div.name div {
    color: #FFF;
}

#sectorsZone>div>div.sector>div.name>div.status {
    padding-right: 7px;
    padding-left: 7px;
}

#sectorsZone>div>div.sector>div.name>div.status>div.limits:before,
#sectorsZone>div>div.sector>div.name>div.status>div.limits>div {
    font-size: 11px;
}

#sectorsZone div.team {}

#sectorsZone div.team:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

#sectorsZone div.team>div.title {
    padding: 10px 15px;
    position: relative;
    align-items: center;
}

#sectorsZone div.team>div.title div {}

#sectorsZone div.team>div.title>div.label {
    display: flex;
    align-items: center;
}

#sectorsZone div.team>div.title>div.label>div.teamName {
    font-size: 16px;
    font-weight: 600;
    flex-grow: 1;
}

#sectorsZone div.team>div.title>div.label>div.teamSkills {
    font-size: 12px;
    font-weight: 500;
    margin-right: 3px;
}

#sectorsZone div.team>div.title>div.label>div.teamSkills.error .teamSkillIcon svg {
    stroke: var(--error-red);
}

#sectorsZone div.team>div.content {
    padding: 0px 10px 5px 10px;
}

#sectorsZone div.team>div.content>div.requirements {
    padding-top: 0px;
}

#sectorsZone div.team>div.title>div.status {}

#sectorsZone div.team>div.title>div.status {
    padding-right: 5px;
}

#sectorsZone div.team>div.title>div.status * {
    font-size: 12px;
}

#sectorsZone div.team>div.title>div.status>div.limits:before,
#sectorsZone div.team>div.title>div.status>div.limits>div {}

#evfAllocationFiltersForm {
    max-width: 1000px;
}

#evfAllocationFiltersForm div.formarField {
    display: flex;
    align-items: center;
    margin: 0px 0px 10px 0px;
    gap: 10px;
}

#evfAllocationFiltersForm div.formarField>div.header {
    padding-bottom: 0px;
}

#evfAllocationFiltersForm div.skillFilters div.formarField>div.header {
    opacity: 0.5;
}

#evfAllocationFiltersForm div.formarField>div.header.toggled {
    opacity: 1 !important;
}

#evfAllocationFiltersForm div.formarField>div.header>div.label {
    color: #333;
}

.evfStatisticsTable .state {
    font-weight: bold;
}

.evfStatisticsTable .state.red {
    color: #990000;
}

.evfStatisticsTable .state.green {
    color: #009900;
}

/* TRANSFER */
#evfTransferSkillRequirements .combination {
    margin: 0px 15px 15px 0px;
    display: inline-block;
    vertical-align: top;
}

#evfTransferSkillRequirements .combination>div {
    display: inline-block;
    vertical-align: top;
}

#evfTransferSkillRequirements .combination>div.state {
    color: #990000;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
    margin-right: 10px;
}

#evfTransferSkillRequirements .combination>div.state svg.icon.frk {
    fill: #990000;
    margin-right: 5px;
    width: 18px;
    height: 18px;
}

#evfTransferEmployeeTable .first_column .evfSkillTags {
    display: inline-block;
    margin-left: 5px;
}

#evfTransferEmployeeTable .first_column {
    white-space: nowrap;
}

#evfTransferEmployeeTable .transferable:hover {
    background: rgba(0, 0, 0, 0.1);
}

#evfTransferEmployeeTable_wrapper {
    margin-bottom: 10px;
}