body, html {
    color: rgba(0,0,0,0.6);
    background: #fafafa;
    font-size: 16px;
    overflow-x: hidden;
}

@media print {
    body, html {
        overflow-x: inherit;
    }
}

body {
    /* overflow-y: scroll; */
}


/* 
    Fix for when the scrollbar jumps up/down when an <md-select> is clicked on
    Taken from https://github.com/angular/material/issues/1648#issuecomment-383500834 
body {
    position: initial !important;
    top: initial !important;
    overflow: initial !important;
}
html {
    overflow: initial !important;
}
*/


#app-icon {
    font-size: 28px;
}

.restrict-width {
    /* max-width: calc(100vw - 320px); */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/*@media only screen and (max-width: 1600px) {
    .restrict-width {
        max-width: 1280px;
    }
}*/

h3.app-title {
    margin: 0 0 0 20px;
}


a.standard-link,
a.standard-link:visited,
a.standard-link:hover {
    color: #6698c8;
    text-decoration: none;
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;
    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    border: none;
}

.view-header {
    font-size: 16px;
    font-weight: 500;
    /* margin-bottom: 15px; */
    color: #4a4a4a;
    letter-spacing: 0;
    /* margin-top: 5px; */
    /* border-bottom: 2px solid #ebebfb; */
    /* height: 45px; */
    padding-left: 10px;
    padding-top: 20px;
}


.fixed-toolbar {
    position: fixed;
    top: 0;
    background: #fafafa !important;
    color: #676767;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    padding: 9px 18px 9px 18px;
    width: calc(100vw - 33px);
    z-index: 1;
    display: none;
}

    .fixed-toolbar md-icon {
        color: #676767 !important;
    }


.main-content {
    /* padding-top: 4px; */
    padding-left: 70px;
    transition: all ease 0.2s;
    /* padding-right: 6px; */
}


.main-content-sidenav-expanded {
    padding-left: 171px;
}


.main-content-sidenav-hidden {
    padding-left: 0px;
}

/*@media only screen and (max-width: 1280px) {
    .main-content {
        padding-left: 0px;
        padding-right: 0px;
    }

    .main-content-sidenav-expanded {
        padding-left: 10px;
    }
}*/



.subtitle {
    font-size: 0.8em;
    border-left: 1px solid #bbb;
    padding-left: 15px;
    margin-left: 10px;
    font-weight: 500;
}

.gray {
    color: #aaa;
}

.blue {
    color: #2196F3;
}

.green {
    color: #4CAF50;
}

.amber {
    color: #FFC107;
}

.red {
    color: #F44336;
}

.footer {
    font-size: 0.8em;
    padding: 10px;
    margin-top: auto;
    border-top: 1px solid #ddd;
    color: #bbb;
}

.xlarge {
    font-size: 1.9em;
}

.large {
    font-size: 1.1em;
    font-weight: 500;
    color: #666;
    letter-spacing: 0;
}

.center {
    text-align: center;
}

.bold {
    font-weight: 500;
}

.dashboard-filters-container {
    font-size: 14px;
    margin-left: 15px;
}

    .dashboard-filters-container md-input-container, .dashboard-filters-container .md-button {
        margin: 2px;
    }

.last-updated {
    bottom: -5px;
    font-size: 11px;
    left: 13px;
    pointer-events: none;
    position: absolute;
    white-space: nowrap;
    display: none;
}

    .last-updated md-icon {
        min-width: unset;
        margin-right: 2px;
        color: #888 !important;
    }

/* Only display the published date/time label if LIVE time is selected */
.filter-time-live .last-updated {
    display: block;
}

.md-button.reset-filters-button {
    margin-left: 30px;
    font-size: 11px;
    min-width: 70px;
    font-weight: 500;
    padding-right: 10px;
}

.reset-filters-button md-icon {
    margin-top: -3px;
    font-size: 18px;
}


.error-detail {
    background: #f7f7f7;
    border: 1px solid #eee;
    color: #777;
    font-family: Consolas, 'Courier New';
    font-size: 0.9em;
    max-height: 130px;
    max-width: 650px;
    overflow: auto;
    padding: 10px;
}

.error-detail-small {
    font-size: 10px;
    color: #999;
}

.main-view {
    padding: 0 20px;
    position: relative;
}

.nowrap {
    white-space: nowrap;
}


#toast-container {
    position: fixed;
    /* top: 0; */
    right: 0;
    bottom: 0;
    z-index: 999;
    overflow: visible !important;
    left: 0;
}

.view-padding {
    padding: 0 0 0px 63px;
    /* margin-left: 63px; */
}

.hidden {
    visibility: hidden;
}

.availability-label {
    padding: 5px;
    white-space: nowrap;
}


.info-icon {
    margin-left: 10px;
}


.input-with-icon {
    border-radius: 2px;
    border: 1px solid #b3b3b3 !important;
    padding-left: 10px;
    height: 35px;
    box-shadow: inset 0 1px 2px #eee;
    white-space: nowrap;
    background: #fff;
}

    .input-with-icon input {
        border: none;
        outline: none;
        height: calc(100% - 4px);
        width: calc(100% - 34px);
        margin: 2px;
    }

.fab-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
}


.spin {
    animation: spin 1000ms linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

*:focus {
    outline: none;
}

.app-titlebar {
    margin: 0px 0 0 64px;
    background: #fff;
    color: #000;
    padding: 15px;
    /* box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.14), 0 0 2px 2px rgba(0, 0, 0, 0.098), 0 0 5px 1px rgba(0, 0, 0, 0.084); */
    font-size: 20px;
    position: fixed;
    width: 100%;
    z-index: 2;
    /* box-shadow: inset 0px 4px 8px -3px rgba(17, 17, 17, .06); */
    box-shadow: 3px 1px 6px -1px rgba(0, 0, 0, 0.14);
}

.app-titlebar {
}

.app-notifications-container {
    background: #ea4a4a;
    margin: 70px 10px 0 74px;
    z-index: 1;
}

@media print {
    .app-notifications-container {
        display: none;
    }

    .app-titlebar {
        display: none;
    }
}

.app-notification {
    /* margin-left: 64px; */
    background: #C62828;
    color: white;
    padding: 13px;
    margin-top: 1px;
}

    .app-notification:first-child {
        /* margin-top: 62px; */
    }

    .app-notification md-icon {
        color: white;
        font-size: 2em;
    }
