﻿/*
    This file is to show how CSS and other static resources (such as images) can be
    used from a library project/package.
*/

.ui-tree {
    display: inline-block;
    overflow: auto;
}

.ui-tree-toggler {
    cursor: pointer;
    padding-right: 6px;
}

.ui-treenode-content {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.375rem 0.25rem;
    margin: 1px 0;
}

    .ui-treenode-content:hover {
        background-color: #59a6cd;
        color: #ffffff;
        border-radius: 2px;
    }


    .ui-treenode-content.changed {
        background-color: #fcd098;
    }

.ui-tree-container,
.ui-treenode-children {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ui-treenode-children {
    padding: 0 0 0 1rem;
}

.ui-treenode-content-selected {
    border-radius: 2px;
    color: #ffffff;
    background-color: #479cc8 !important;
}

.ui-treenode-closed {
    display: none;
}




.blazored-typeahead {
    position: relative;
    width: 100%;
    border: 1px solid #bfbfbf;
    border-radius: 5px;
}

    .blazored-typeahead.valid.modified {
        outline: none !important;
        border: 1px solid #26b050;
    }

    .blazored-typeahead.invalid {
        outline: none !important;
        border: 1px solid red;
    }

.blazored-typeahead__controls {
    position: relative;
    cursor: text;
    display: flex;
}

.blazored-typeahead__input {
    flex: 1;
    max-width: 100%;
    width: 100%;
    border: none;
    /*padding: .5rem;
    border-radius: 5px;*/
}

.blazored-typeahead:focus-within {
    box-shadow: 0 0 0 0.2rem rgba(38,143,255,.5);
}

.blazored-typeahead__input:focus {
    outline: none;
}

.blazored-typeahead__input-multi:focus {
    outline: none;
    box-shadow: none;
}

.blazored-typeahead__input-hidden {
    display: none;
}

.invalid {
    border-color: red !important;
}


.blazored-typeahead__input-mask-wrapper {
    display: flex;
    width: 100%;
}

.blazored-typeahead__input-multiselect-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
}

.blazored-typeahead__input-mask-wrapper--disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    border-radius: 5px 0 0 5px;
    color: grey;
}

    .blazored-typeahead__input-mask-wrapper--disabled:focus {
        border: none;
    }

.blazored-typeahead__input-mask {
    display: flex;
    /*align-items: center;*/
    flex: 1;
    /*border-radius: 5px 0 0 5px;
    padding: .5rem;*/
}

    .blazored-typeahead__input-mask:focus {
        outline: none;
    }

.blazored-typeahead__clear {
    width: 32px;
    /*display: flex;
    padding: .5rem;
    align-items: center;
    justify-content: center;*/
    text-align: center;
    cursor: pointer;
    color: #dbdbdb;
}

    .blazored-typeahead__clear:hover {
        color: #333333;
    }


.blazored-typeahead__input-icon {
    width: 32px;
    /* display: flex;
    border-radius: 0 5px 5px 0;
    padding: .5rem;*/
    cursor: pointer;
    background: none;
    text-align: center;
}

    .blazored-typeahead__input-icon:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(38,143,255,.5);
    }

    .blazored-typeahead__input-icon:hover {
        background-color: #f5f5f5;
    }

        .blazored-typeahead__input-icon:hover .blazored-typeahead__down-arrow path {
            fill: #333333;
        }

.blazored-typeahead__input-icon--disabled,
.blazored-typeahead__input-icon--disabled:hover {
    background-color: #e9ecef;
    cursor: not-allowed;
}

    .blazored-typeahead__input-icon--disabled .blazored-typeahead__down-arrow path,
    .blazored-typeahead__input-icon--disabled:hover .blazored-typeahead__down-arrow path {
        fill: #9c9c9c;
    }

.blazored-typeahead__multi-value {
    background-color: #dbdbdb;
    display: flex;
    align-items: center;
    min-width: 0px;
    box-sizing: border-box;
    border-radius: 2px;
    margin: .4rem 0 .4rem .4rem;
}

.blazored-typeahead__multi-value-label {
    color: rgb(51, 51, 51);
    font-size: 85%;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
    border-radius: 2px;
    overflow: hidden;
    padding: 3px 3px 3px 6px;
}

.blazored-typeahead__multi-value-clear {
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
    border-radius: 2px;
    background-color: transparent;
    border: 0;
    outline: none;
}

    .blazored-typeahead__multi-value-clear:focus {
        outline: none;
    }

    .blazored-typeahead__multi-value-clear:hover {
        background-color: rgb(212, 212, 212);
        color: rgb(222, 53, 11);
    }

.blazored-typeahead__results {
    /*vertical-align: top;*/
    position: absolute;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
    border: 1px solid #dbdbdb;
    min-height: 2rem;
    max-height: 30rem;
    overflow-y: auto;
    z-index: 10000;
    /*width: 50rem;*/
    max-width: 100%;
    /*min-width: 90%;*/
    background: #fff;
}

.blazored-typeahead__result,
.blazored-typeahead__notfound,
.blazored-typeahead__results-help-template,
.blazored-typeahead__results-header,
.blazored-typeahead__results-footer {
    padding: .5rem;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.blazored-typeahead__selected-item {
    background-color: #dbdbdb;
}

.blazored-typeahead__selected-item-highlighted {
    background-color: #d3e2f2;
}

.blazored-typeahead__active-item,
.blazored-typeahead__result:hover,
.blazored-typeahead__result:focus {
    background-color: #007bff;
    border-top: 1px solid #007bff;
    border-bottom: 1px solid #007bff;
    color: #fff;
    cursor: pointer;
}

.blazored-typeahead__loader {
    width: 24px;
    height: 24px;
    background-color: #333;
    border-radius: 100%;
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0)
    }

    100% {
        -webkit-transform: scale(1.0);
        opacity: 0;
    }
}

@keyframes sk-scaleout {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
        opacity: 0;
    }
}


.sg-cell-data {
    height: 0.5rem;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


.sg-cell-weekend {
    background-color: lightgray !important;
}


.sg-cell-today {
    background-color: lightyellow !important;
}


.sg-cell-add-wo-start {
    background-color: #cfffcf !important;
}

.sg-sch-item {
    position: absolute;
    top: 1px;
    /*background-color: lightgreen;*/
    height: 35px;
    text-overflow: clip;
    white-space: nowrap;
    overflow: hidden;
    padding: 5px;
    z-index: 1000;
}



/*.sg-sch-item:hover {
    position: absolute;
    top: 1px;*/
/*background-color: lightgreen;*/
/*height: 35px;
    text-overflow: clip;
    white-space: nowrap;
    overflow: visible;
    padding: 5px;
}*/


.sg-sch-item-containter {
    position: relative;
    height: 40px;
}



.sg-sch-item-new {
    position: absolute;
    top: 1px;
    /*background-color: lightgreen;*/
    height: 35px;
    text-overflow: clip;
    white-space: nowrap;
    overflow: hidden;
    padding: 5px;
}


.sg-resource-group-row {
    border-top-width: 2px !important;
    border-top-color: black !important;
}


.table-fixed {
    table-layout: fixed;
}

.table-cell-sticky {
    position: sticky;
    left: 0;
    z-index: 1000;
}




.table-cell-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;
    margin: 0;
}
/*

    .table-cell-truncate:hover {
        background-color: yellowgreen;
        overflow: visible;
        white-space: normal;
        height: auto;
    }
*/

