.add-device-button {
    position: absolute;
    /* right: 8px;
    top: 15px; */
    cursor: pointer;
}

.add-device-button-active {
    color: #212121 !important;
}

.add-device-button:hover {
    transform: translate(-2px, -2px);
    transition-duration: 0.25s;
    box-shadow: 0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.2);
}

.add-device-button i {
    font-size: 1em;
    padding: 4px;
    border: 1px solid #f5f5f5;
    border-radius: 3px;
}

.add-device-button-active i {
    border: 1px solid #212121 !important;
}

@media only screen and (min-height: 680px) {
    .menuSmallScreenSpacer {
        display: none;
    }
}

@media only screen and (max-height: 679px) {
    .menuSmallScreenSpacer {
        padding-left: 1em;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.menu-separator {
    margin-left: 16px;
    width: calc(100% - 16px);
}

.menu-separator-button {
    position: absolute;
    right: 8px;
    top: 0;
    cursor: pointer;
}

.menu-separator-button i {
    font-size: 1.2em;
}

.noTitleDialog .ui-dialog-titlebar {
    display: none;
}

.noTitleDialog .ui-dialog-content div {
    margin-top: 1em;
}

.noTitleDialog .ui-dialog-content button {
    margin-right: 0.5em;
}

.noTitleDialog .ui-dialog-content p {
    font-family: 'Roboto','Helvetica','Arial',sans-serif !important;
    font-size: 16px !important;
}

.noTitleDialog .ui-dialog-content button {
    font-family: 'Roboto','Helvetica','Arial',sans-serif !important;
    font-size: 14px !important;
}

.ui-widget-overlay {
    opacity: 0.4 !important;
}

.mdl-data-table th {
    font-size: 1.2rem !important;
    font-weight: normal !important;
    color: rgba(0, 0, 0, .9);
    padding-top: 8px;
}

.p-float-label .p-inputwrapper-filled~label,
.p-float-label .p-inputwrapper-focus~label,
.p-float-label input.p-filled~label,
.p-float-label input:focus~label,
.p-float-label textarea.p-filled~label,
.p-float-label textarea:focus~label {
    background-color: var(--surface-a) !important;
    width: auto !important;
}

table.dataTable thead th, table.dataTable tfoot th {
    font-weight: normal;
}

.mdl-spinner:not(.is-upgraded).is-active:after {
    content: "" !important;
}

.CaptionCont > span {
    min-height: 24px;
}

div.nav {
    margin-top: 0.2em;
    margin-left: 0.2em;
}

.mdl-card__title {
    color: rgba(54,54,54,1)
}

.app-ui-container {
    float: none;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 1366px) {
    .app-ui-expand-button {
        display: none !important;
    }
}

.bg-transparent {
    background: transparent;
}

.custom-app-time-input {
    border-radius: 2px;
    border: 1px solid #A4A4A4;
    font-size: 16px;
    height: 32px;
}

.search-clear-button {
    position: absolute;
    right: 0;
    top: 0.9em;
    cursor: pointer;
}

.mdl-textfield__input:focus, .mdl-textfield__input:focus-visible {
    outline: none !important;
}

.p-scrolltop-apps {
    z-index: 1001 !important;
    position: fixed !important;
    right: 2.5em !important;
    bottom: 2.5em !important;
}

.spinner-2em {
    width: 2em !important;
    height: 2em !important;
}

.float-right {
    float: right !important;
}

.float-left {
    float: left !important;
}

.mdl-dialog {
    max-height: calc(100% - 1em) !important;
}

@media only screen and (max-width: 419px) {
    .mdl-dialog {
        width: calc(100% - 2em) !important;
    }
}

@media (max-width: 1366px) {
    .mdl-dialog {
        width: 75% !important;
    }
}

.mdl-dialog__content {
    color: rgba(54,54,54,.75) !important;
}

.one-em-wide {
    width: 1em;
    min-width: 1em;
    max-width: 1em;
}

.three-em-wide {
    width: 3em;
    min-width: 3em;
    max-width: 3em;
}

.pt-015em {
    padding-top: 0.15em;
}

.scale-075 {
    transform: scale(0.75) !important;
}

.textarea-mono {
    font-family: monospace;
    font-size: 0.8em;
}

.CodeMirror-line::selection,
.CodeMirror-line > span::selection,
.CodeMirror-line > span > span::selection {
    background: #c0c0c0 !important;
}