﻿.typeahead-container {
    position: relative;
    box-sizing: border-box;
}

.typeahead-control {
    -webkit-box-align: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    cursor: default;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    min-height: 38px;
    position: relative;
    box-sizing: border-box;
    border-color: rgb(204, 204, 204);
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    transition: all 100ms ease 0s;
    outline: 0px !important;
}

.typeahead-value-container {
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    box-sizing: border-box;
    flex: 1 1 0%;
    padding: 2px 8px;
}

.typeahead-value-placeholder {
    opacity: .5;
}

.typeahead-single-value {
    color: rgb(51, 51, 51);
    margin-left: 2px;
    margin-right: 2px;
    max-width: calc(100% - 8px);
    position: absolute;
    text-overflow: ellipsis;
    white-space: nowrap;
    top: 50%;
    transform: translateY(-50%);
    box-sizing: border-box;
}

.typeahead-multi-value {
    background-color: rgb(230, 230, 230);
    display: flex;
    min-width: 0px;
    box-sizing: border-box;
    border-radius: 2px;
    margin: 2px;
}

.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;
}

.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;
}

    .typeahead-multi-value-clear:hover {
        background-color: rgb(212, 212, 212);
        color: rgb(222, 53, 11);
    }

.typeahead-indicators {
    -webkit-box-align: center;
    align-items: center;
    align-self: stretch;
    display: flex;
    flex-shrink: 0;
    box-sizing: border-box;
}

.typeahead-indicator-separator {
    align-self: stretch;
    background-color: rgb(204, 204, 204);
    margin-bottom: 8px;
    margin-top: 8px;
    width: 1px;
    box-sizing: border-box;
}

.typeahead-indicator {
    color: rgb(204, 204, 204);
    display: flex;
    box-sizing: border-box;
    padding: 8px;
    transition: color 150ms ease 0s;
    background-color: transparent;
    border: 0;
    outline: none;
}

.typeahead-clear-indicator {
    color: rgb(204, 204, 204);
    display: flex;
    box-sizing: border-box;
    padding: 8px;
    transition: color 150ms ease 0s;
}

.typeahead-loading-indicator {
    color: rgb(204, 204, 204);
    display: flex;
    align-self: center;
    font-size: 4px;
    line-height: 1;
    margin-right: 4px;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
    padding: 8px;
    transition: color 150ms ease 0s;
}

.typeahead-loading-dot-1,
.typeahead-loading-dot-2,
.typeahead-loading-dot-3 {
    background-color: rgb(204, 204, 204);
    display: inline-block;
    height: 1em;
    vertical-align: top;
    width: 1em;
    border-radius: 1em;
}

.typeahead-loading-dot-2,
.typeahead-loading-dot-3 {
    margin-left: 1em;
}

.typeahead-loading-dot-1 {
    animation: 1s ease-in-out 0ms infinite normal none running dotLoading;
}

.typeahead-loading-dot-2 {
    animation: 1s ease-in-out 160ms infinite normal none running dotLoading;
}

.typeahead-loading-dot-3 {
    animation: 1s ease-in-out 320ms infinite normal none running dotLoading;
}

.typeahead-svg {
    display: inline-block;
    fill: currentcolor;
    line-height: 1;
    stroke: currentcolor;
    stroke-width: 0;
}

.typeahead-clear-indicator:hover {
    color: rgb(222, 53, 11);
}

.typeahead-chevron-indicator:hover {
    color: rgb(130, 130, 130);
}

.typeahead-menu {
    top: 100%;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 4px 11px;
    margin-bottom: 8px;
    margin-top: 2px;
    position: absolute;
    width: 100%;
    z-index: 1;
    box-sizing: border-box;
    border: 1px solid rgb(191, 191, 191);
    border-radius: 4px;
}

.typeahead-search-container {
    margin: 0;
}

.typeahead-search-input {
    width: 100%;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: 1px solid #bfbfbf;
    padding: .5rem;
    box-sizing: border-box;
}

.typeahead-menu-list {
    max-height: 300px;
    overflow-y: auto;
    padding-bottom: 4px;
    padding-top: 4px;
    position: relative;
    box-sizing: border-box;
}

.typeahead-option {
    background-color: transparent;
    color: inherit;
    cursor: pointer;
    display: block;
    font-size: inherit;
    width: 100%;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    box-sizing: border-box;
    padding: 8px 12px;
}

.typeahead-option-no-records,
.typeahead-option-loading {
    padding: .5rem;
    opacity: .5;
}

.typeahead-option-footer {
    padding: .5rem;
}

.typeahead-option-selected,
.typeahead-option.typeahead-option-selected:hover {
    background-color: rgb(38, 132, 255);
    color: rgb(255, 255, 255);
}

.typeahead-option:hover {
    background-color: rgb(222, 235, 255);
}

@keyframes dotLoading {
    0%, 80%, 100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}


.toggle-switch {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 30px;
    margin: 0;
}

    .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(204, 204, 204);
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 4px;
}

    .toggle-slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: rgb(255, 255, 255);
        -webkit-transition: .4s;
        transition: .4s;
        border-radius: 2px;
    }

    .toggle-slider:after {
        position: absolute;
        content: "NO";
        height: 22px;
        width: 26px;
        right: 6px;
        top: 6px;
        color: rgb(130, 130, 130);
        font-size: 12px;
    }

.toggle-switch input:checked + .toggle-slider {
    background-color: rgb(38, 132, 255);
}

.toggle-switch input:focus + .toggle-slider {
    outline: 1px solid rgb(38, 132, 255);
}

.toggle-switch input:checked + .toggle-slider:before {
    -webkit-transform: translateX(36px);
    -ms-transform: translateX(36px);
    transform: translateX(36px);
}

.toggle-switch input:checked + .toggle-slider:after {
    content: "YES";
    left: 6px;
    top: 6px;
    color: rgb(230, 230, 230);
}

/* DateTimePicker */

.datetimepicker {
    box-sizing: border-box;
    clear: both;
    position: relative;
    text-align: left;
}

.datetimepicker-value-container {
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    box-sizing: border-box;
    flex: 1 1 0%;
    width: 100%;
    border: 1px solid rgb(191, 191, 191);
    border-radius: .25rem;
}

.datetimepicker-clear-button,
.datetimepicker-calendar-button,
.datetimepicker-time-button {
    color: rgb(204, 204, 204);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    background-color: rgb(255, 255, 255);
    border: 0 none transparent;
    height: calc(1.5em + .75rem + 2px);
    padding: 1px 4px;
}

    .datetimepicker-clear-button:hover {
        color: rgb(222, 53, 11);
    }

    .datetimepicker-calendar-button:hover,
    .datetimepicker-time-button:hover {
        color: rgb(130, 130, 130);
    }

.datetimepicker-calendar-button,
.datetimepicker-time-button {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

.datetimepicker.is-datepicker-open .datetimepicker-calendar-button {
    color: rgb(38, 132, 255);
}

.datetimepicker.is-timepicker-open .datetimepicker-time-button {
    color: rgb(38, 132, 255);
}

.datetimepicker-input {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    border: 0 none transparent;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
    padding: .375rem .75rem;
    box-sizing: border-box;
    background-color: rgb(255, 255, 255);
    position: relative;
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;
    min-width: 0;
}

.datetimepicker-background {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    position: fixed;
    background-color: transparent;
    z-index: 1040;
    cursor: pointer;
}

.datepicker-modal,
.timepicker-modal {
    top: 100%;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 0px 4px 11px;
    margin-bottom: 8px;
    margin-top: 2px;
    position: absolute;
    z-index: 1050;
    box-sizing: border-box;
    border: 1px solid rgb(191, 191, 191);
    border-radius: 4px;
}

.datepicker-table {
    display: table;
    margin: 0 auto;
}

.datepicker-header {
    display: table-header-group;
}

.datepicker-header-cell,
.datepicker-cell {
    text-align: center;
    vertical-align: middle;
    display: table-cell;
    border-radius: 4px;
    padding: .45rem;
    color: rgb(74, 74, 74);
    text-decoration: none;
    border: 0 none transparent;
    background-color: transparent;
}

.datepicker-header-cell {
    color: rgb(122, 122, 122);
    font-weight: 600;
}

.datepicker-body {
    display: table-row-group;
}

.datepicker-row {
    display: table-row;
}

.datepicker-cell:not(.is-disabled),
.timepicker-cell:not(.is-disabled) {
    cursor: pointer;
}

.datepicker-cell:hover:not(.is-selected),
.timepicker-cell:hover:not(.is-selected) {
    background-color: rgb(222, 235, 255);
    color: rgb(10, 10, 10);
}

.datepicker-cell.is-today {
    border: 1px solid rgba(38, 132, 255, .5);
}

.datepicker-cell.is-secondary-month,
.datepicker-cell.is-disabled,
.timepicker-cell.is-disabled {
    color: rgb(181, 181, 181) !important;
}

.datepicker-cell.is-selected,
.timepicker-cell.is-selected {
    background-color: rgb(38, 132, 255);
    color: rgb(255, 255, 255) !important;
}



.is-disabled {
    pointer-events: none;
}

.datepicker-navigation {
    display: flex;
    justify-content: space-between;
}

.datepicker-previous-button,
.datepicker-next-button,
.datepicker-today-button {
    background-color: transparent;
    color: rgb(204, 204, 204);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 1px 3px;
    border: 0 none transparent;
    margin: .2rem .15rem;
}

.datepicker-today-button {
    color: rgb(74, 74, 74);
}

.datepicker-select-month,
.datepicker-input-year {
    color: rgb(74, 74, 74);
    display: flex;
    box-sizing: border-box;
    padding: 1px 3px;
    border: none;
    margin: .2rem .15rem;
    font-weight: 700;
    cursor: pointer;
}

.datepicker-select-month {
    width: 100px;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 0.01px;
    -moz-text-overflow: '';
    text-overflow: '';
}

.datepicker-input-year {
    width: 60px;
    -moz-appearance: textfield;
}

    .datepicker-input-year::-webkit-outer-spin-button,
    .datepicker-input-year::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.timepicker-modal {
    width: 150px;
    height: 230px;
    overflow-x: hidden;
    overflow-y: scroll;
    padding: .4rem;
}

.timepicker-cell {
    text-align: left;
    vertical-align: middle;
    padding: .15rem .6rem;
    color: rgb(74, 74, 74);
    text-decoration: none;
    border: 0 none transparent;
    background-color: transparent;
}
