﻿input[type="text"]:not(.hide-disabled):disabled {
    color: black !important;
    background: lightgray;
}

.window {
    z-index: 5;
}

input[type="checkbox"]:checked
label
span.custom-todo-box:first-of-type:not(.indicator) {
    background-color: #10b981;
    border-color: #10b981;
    color: #fff;
}

input[type="checkbox"]:checked label span.custom-todo-box:nth-of-type(2) {
    text-decoration: line-through;
    color: #9ca3af;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#jobTimelineChart > div,
#jobTimelineChart > div > svg,
#jobTimelineChart * {
    max-width: 100%;
}

.exportCSV {
    display: none;
}

main {
    height: calc(100vh - 70px);
}

.training-matrix {
    margin: 1rem 0rem;
}

.training-matrix .wrapper {
    position: relative;
    overflow: auto;
    border: 1px solid black;
    white-space: nowrap;
}

.training-matrix .sticky-col {
    position: -webkit-sticky;
    position: sticky;
    background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.training-matrix .first-col {
    width: 100px;
    min-width: 250px;
    max-width: 250px;
    left: 0px;
}

.training-matrix .second-col {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    left: 100px;
}

.training-matrix.table {
    width: 100%;
    border-collapse: collapse;
}

.training-matrix.table th {
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.training-matrix.table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.training-matrix.table td:first-child,
.training-matrix.table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: #fff;
}

.select2-container {
    width: 100%;
}

@-webkit-keyframes come-in {
    0% {
        -webkit-transform: translatey(100px);
        transform: translatey(100px);
        opacity: 0;
    }

    30% {
        -webkit-transform: translateX(-50px) scale(0.4);
        transform: translateX(-50px) scale(0.4);
    }

    70% {
        -webkit-transform: translateX(0px) scale(1.2);
        transform: translateX(0px) scale(1.2);
    }

    100% {
        -webkit-transform: translatey(0px) scale(1);
        transform: translatey(0px) scale(1);
        opacity: 1;
    }
}

@keyframes come-in {
    0% {
        -webkit-transform: translatey(100px);
        transform: translatey(100px);
        opacity: 0;
    }

    30% {
        -webkit-transform: translateX(-50px) scale(0.4);
        transform: translateX(-50px) scale(0.4);
    }

    70% {
        -webkit-transform: translateX(0px) scale(1.2);
        transform: translateX(0px) scale(1.2);
    }

    100% {
        -webkit-transform: translatey(0px) scale(1);
        transform: translatey(0px) scale(1);
        opacity: 1;
    }
}

* {
    margin: 0;
    padding: 0;
}

.floating-container {
    position: fixed;
    width: 100px;
    height: 100px;
    bottom: 0;
    right: 0;
    margin: 35px 25px;
    z-index: 999;
}

.floating-container:hover {
    height: 275px;
}

.floating-container:hover .floating-button {
    box-shadow: 0 10px 25px rgba(44, 179, 240, 0.6);
    -webkit-transform: translatey(5px);
    transform: translatey(5px);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.floating-container:hover .element-container .float-element:nth-child(1) {
    -webkit-animation: come-in 0.4s forwards 0.2s;
    animation: come-in 0.4s forwards 0.2s;
}

.floating-container:hover .element-container .float-element:nth-child(2) {
    -webkit-animation: come-in 0.4s forwards 0.4s;
    animation: come-in 0.4s forwards 0.4s;
}

.floating-container:hover .element-container .float-element:nth-child(3) {
    -webkit-animation: come-in 0.4s forwards 0.6s;
    animation: come-in 0.4s forwards 0.6s;
}

.floating-container .floating-button {
    position: absolute;
    width: 65px;
    height: 65px;
    /*background: #2cb3f0;*/
    bottom: 0;
    border-radius: 50%;
    left: 0;
    right: 0;
    margin: auto;
    color: white;
    line-height: 65px;
    text-align: center;
    font-size: 23px;
    z-index: 100;
    box-shadow: 0 10px 25px -5px rgba(44, 179, 240, 0.6);
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.floating-container .float-element {
    position: relative;
    display: block;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 15px auto;
    color: white;
    font-weight: 500;
    text-align: center;
    line-height: 50px;
    z-index: 0;
    opacity: 0;
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
}

.floating-container .float-element .material-icons {
    vertical-align: middle;
    font-size: 16px;
}

.floating-container .float-element:nth-child(1) {
    /*background: #42a5f5;*/
    box-shadow: 0 20px 20px -10px rgba(66, 165, 245, 0.5);
}

.floating-container .float-element:nth-child(2) {
    /*background: #4caf50;*/
    box-shadow: 0 20px 20px -10px rgba(76, 175, 80, 0.5);
}

.floating-container .float-element:nth-child(3) {
    /* background: #ff9800;*/
    box-shadow: 0 20px 20px -10px rgba(255, 152, 0, 0.5);
}

ul#my-tree {
    margin: 0;
    padding: 10px 5px;
    color: #666;
}

ul#my-tree li {
    margin: 5px 0;
    line-height: 30px;
}

ul#my-tree li a {
    color: #666;
    text-decoration: none;
    display: block;
    width: 100%;
}

div.desc {
    margin: 20px 0;
    color: #aaa;
    font-size: 11px;
    text-align: left;
}

.tf-tree,
.tf-tree li {
    list-style: none;
    padding-left: 0;
    line-height: 20px;
}

.tf-tree .tf-child-true > ul {
    display: none;
    padding-left: 0;
    padding-bottom: 5px;
}

.tf-tree .tf-child-true {
    cursor: pointer;
    position: relative;
}

.tf-tree .tf-child-true:before {
    display: block;
    position: absolute;
    top: 10px;
    left: 0;
    content: "▸";
    width: 20px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    transition: .1s linear;
}

.tf-tree .tf-child-true.tf-open > a {
    font-weight: bold;
}

.tf-tree .tf-child-true.tf-open > ul {
    display: block;
}

.tf-tree .tf-child-true.tf-open:before {
    -webkit-transform: rotate(90deg);
}

.tf-tree .tf-child-false {
    cursor: pointer;
    position: relative;
}

.tf-tree .tf-child-false:before {
    display: block;
    position: absolute;
    top: -1px;
    left: 0;
    content: "•";
    width: 20px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
}

.tf-tree .tf-closed {
    font-weight: normal;
}

.tf-tree .tf-selected {
    color: #08f;
    border-radius: 0;
}

.tf-tree ul.tf-search-result {
    display: block;
}

.tf-tree ul.tf-search-result > li {
    display: none;
}

.tf-tree ul.tf-search-result > li.tf-search-result {
    display: block;
}
