﻿.required:before {
    content: "* ";
    font-weight: bold;
    color: red;
}

.switch-text {
    margin-left: 5px;
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
}

.dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
}

.dropdown-subtoggle {
    white-space: nowrap;
}

    .dropdown-subtoggle:after {
        display: inline-block;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.2em solid transparent;
        border-right: 0.3em solid transparent;
        border-bottom: 0.3em solid transparent;
        border-left: 0.4em solid;
        box-sizing: border-box;
    }

/* ============ small devices ============ */
@media (max-width: 991px) {
    .dropdown-menu .dropdown-menu {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        margin-bottom: .5rem;
    }
}

/*#region ---------- SitePeople Styles ---------- */
.site-people.chosen-container-multi {
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}

    .site-people.chosen-container-multi .chosen-choices {
        border-color: #ced4da;
        border-width: 1px;
        background-color: #f8f5f0;
        /*Lux?*/
        height: calc(1.5em + 0.75rem) !important;
        /*padding-left: 0.75rem;*/
        box-sizing: border-box;
        display: flex !important;
        flex-direction: row;
        align-items: center;
    }

        .site-people.chosen-container-multi .chosen-choices.bootstrap-tagsinput {
            margin-top: 0;
            margin-bottom: 0;
        }

.site-people-wrap {
    position: relative;
}

    .site-people-wrap .site-people-badge {
        position: absolute;
        top: 50%;
        margin-top: calc((-0.375rem) + (-1px) + (-9px * 1.5) / 2);
        right: 0.375rem;
        font-size: 9px;
        line-height: 1.5;
        font-weight: bold;
        color: #a2a9b1;
        text-align: right;
    }

/*#endregion ^^^^^^^^^^ End SitePeople Styles ^^^^^^^^^^ */

/*TypeAhead Css*/
.fa, .fas, .bi {
    font-weight: 900;
}

.bi, .fa, .fas, .far, .fal, .fad, .fab, .fak {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.twitter-typeahead i.bi,
.twitter-typeahead i.fa,
.twitter-typeahead i.fas,
.twitter-typeahead i.far,
.twitter-typeahead i.fab,
.twitter-typeahead i.fal,
.twitter-typeahead i.fad,
.twitter-typeahead i.fak {
    position: absolute;
    top: 50%;
    margin-top: calc((-0.375rem) + (-1px));
    right: 0.75rem;
}

.twitter-typeahead i.bi,
.twitter-typeahead i.fa {
    position: absolute;
    top: 50%;
    margin-top: -6px;
    right: 18px;
}

.bootstrap-tagsinput .twitter-typeahead {
    width: auto !important
}

.twitter-typeahead {
    width: 100%;
}

.tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999;
}

.tt-menu {
    width: 422px;
    margin: 2px 0;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 3px 20px;
    font-size: 18px;
    line-height: 24px;
}

    .tt-suggestion:hover {
        cursor: pointer;
        color: #fff;
        background-color: #0097cf;
    }

    .tt-suggestion.tt-cursor {
        color: #fff;
        background-color: #0097cf;
    }

    .tt-suggestion p {
        margin: 0;
    }


/* Employee SitePeople Lookup */
.chosen-container {
    font-size: 15px;
    position: relative;
    vertical-align: middle;
    padding-bottom: 10px;
}

.chosen-container-multi .chosen-choices {
    background-color: #ecf0f1;
    border: 2px solid #dce4ec;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
    cursor: text;
    height: auto !important;
    height: 1%;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
}

    .chosen-container-multi .chosen-choices .search-choice {
        -webkit-background-clip: padding-box;
        -moz-background-clip: padding;
        background-clip: padding-box;
        background-color: #3498DB;
        border: 0;
        border-top-right-radius: 4px;
        border-top-left-radius: 4px;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
        color: white !important;
        cursor: default;
        line-height: 13px;
        /*margin: 8px 0 8px 12px;*/
        padding: 6px 29px 6px 10px;
        position: relative;
        font-weight: bold;
        background-image: none;
    }

    .chosen-container-multi .chosen-choices li {
        float: left;
        list-style: none;
    }

    .chosen-container-multi .chosen-choices .search-choice .search-choice-close::after {
        content: "X";
        padding: 0px 4px 1px 4px;
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 25%;
        font-size: 13px;
    }

    .chosen-container-multi .chosen-choices .search-choice .search-choice-close {
        display: block;
        height: 10px;
        position: absolute;
        right: 8px;
        top: 5px;
        width: 12px;
        cursor: pointer;
        color: white;
        background: none;
        text-decoration: none;
    }

    .chosen-container-multi .chosen-choices .search-field {
        margin: 0;
        padding: 0;
        white-space: nowrap;
    }

    .chosen-container-multi .chosen-choices li {
        float: left;
        list-style: none;
    }

    .chosen-container-multi .chosen-choices .search-field input[type='text'] {
        background: transparent !important;
        border: 0 !important;
        -webkit-box-shadow: none;
        box-shadow: none;
        color: #95a5a6;
        height: 43px;
        margin: 0;
        padding: 4px;
        outline: 0;
    }

/*#region ---------- DataTables ---------- */
/* Handles the moble overflow, allows for side-to-side scroll without leaving the screen */
/* limits the way values are displayed to about 300px in a normal situation, with no wrap */
.DTFC_Cloned tr {
    background-color: white;
}

.talon-buttons button {
    margin: 0 1px;
}

.talon-buttons a {
    margin: 0 1px;
}

.talon-nowrap {
    white-space: nowrap;
}

.card-grid {
    padding: 15px 0;
}

    .card-grid .dataTables_wrapper .dataTables_length {
        margin-left: 10px;
    }

.dataTables_wrapper .dataTables_filter {
    position: relative;
}

    .dataTables_wrapper .dataTables_filter input {
        margin-left: 0;
        padding-right: 24px;
    }

        .dataTables_wrapper .dataTables_filter input::-ms-clear {
            display: none;
        }

    .dataTables_wrapper .dataTables_filter i {
        color: #999;
        position: absolute;
        margin-top: -11px;
        top: 50%;
        right: 12px;
        cursor: pointer;
    }

.dataTables_wrapper div.row:last-child {
    margin-top: 0.75rem;
}

.dataTables_wrapper table.dataTable {
    margin-bottom: 0 !important;
    border-collapse: collapse !important;
}

.dataTables_wrapper table.table-bordered {
    border: 1px solid #dfd7ca;
}

.dt-table-wrapper {
    clear: both;
    overflow-x: auto;
}

.dataTable td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 30rem;
}

.dataTable th {
    white-space: nowrap;
}

/*#endregion ^^^^^^^^^^ End DataTables ^^^^^^^^^^ */
