/* CSS FOR THE CONFIG EDITOR */

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    /* Hide when Angular is not yet loaded and initialized */
    display: none !important;
}

body {
    /* Set font across app to Soruce Sans Pro */
    font-family: "Source Sans Pro";
}

body>md-content {
    /* Hack to use inset shadow because outset shadow on nav doesn't work */
    box-shadow: inset 0 2px 5px 0 rgba(0, 0, 0, 0.5);
}

div:focus {
    /* Remove the outline on clickable divs */
    outline: none;
}

li:focus {
    /* Remove the outline on clickable list */
    outline: none;
}

div.forgot-password {
    /* Add space between login links */
    margin-bottom: 10px;
}

div.mobile-column>div {
    margin: 4px 0 4px 0;
}

img.main-logo {
    /* Sets the size of the header logo */
    width: 311px;
    height: 77px;
}

.action-links {
    /* Links for row hover buttons (or anything that will redirect) */
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
    outline: none;
}

.auto-logoff-modal {
    /* Sets a size for the logoff modal */
    width: 400px;
    height: 200px;
}

.awsc-menu-button {
    /* Sets height for awsc menu buttons */
    height: 36px !important;
}

.bordered {
    border-top: 1px solid rgba(187, 187, 187, 0.7);
    border-bottom: 1px solid rgba(187, 187, 187, 0.7);
    border-left: 1px solid rgba(187, 187, 187, 0.7);
    border-right: 1px solid rgba(187, 187, 187, 0.7);
    padding-top: 0px;
    padding-bottom: 0px;
    padding-right: 0px;
}

.bottom-border {
    /* A top border for the first element in a list */
    border-bottom: 1px solid rgba(187, 187, 187, 0.7);
}

.center-align {
    align-items: center
}

.clickable {
    /* Makes the cursor go to clickable style */
    cursor: pointer !important;
}

.customer-list {
    /* Determines sizing for the main customer list*/
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    padding: 15px;
}

.data-row {
    /* Styling for lists */
    align-items: center;
    padding-top: 2px;
    padding-bottom: 2px;
    min-height: 35px;
    display: flex;
    border-bottom: 1px solid rgba(187, 187, 187, 0.7);
}

.data-row-mini {
    /* Styling for condensed lists */
    align-items: center;
    padding-top: 1px;
    padding-bottom: 1px;
    min-height: 20px;
    display: flex;
}

.data-row-mini-side-borders {
    /* Styling for condensed lists */
    align-items: center;
    padding-top: 1px;
    padding-bottom: 1px;
    min-height: 20px;
    display: flex;
    border-left: 1px solid rgba(187, 187, 187, 0.7);
    border-right: 1px solid rgba(187, 187, 187, 0.7);
}

.data-row>div {
    /* Sets things off to the right a little bit so they don't hug the margins */
    margin-left: 32px;
    align-items: center;
    min-height: 30px;
}

.data-row-button {
    /* Makes the button in the preview point rows smaller */
    min-height: 25px;
    align-items: center;
    line-height: 0;
    margin: 0;
    padding: 0 16px;
    text-transform: none;
    font-size: 100%
}

.data-header {
    /* Sets things off to the right a little bit so they don't hug the margins */
    align-items: center;
    min-height: 40px;
    background-color: #F4F4F4;
}

.delete-device-modal {
    /* Sets a size for the device deletion modal */
    width: 600px;
}

.delete-device-modal div h3, h4 {
    /* Lower the header margins on the delete device modal */
    margin-top: 5px;
    margin-bottom: 5px;
}

.dialog-header div {
    /* Modal title font */
    font-size: 28px;
    font-weight: 600;
}

div.option-picker-bigger {
    /* A bigger option picker */
    height: 45px;
    border-radius: 1px;
    border: 1px solid rgba(187, 187, 187, 0.9);
}

div.option-selected {
    /* The background for selected items */
    background-color: #607D8B;
    color: white;
}

div.option-picker-bigger div {
    /* Sets text size and appearance in option select */
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    cursor: pointer;
    font-size: 14px;
}

.edstrom-action-button-hollow {
    height: 40px;
    border-radius: 20px;
    border: 2px solid #607D8B;
}

.edstrom-action-button-micro {
    min-height: 22px !important;
    height: 22px !important;
    padding: 0px !important;
    color: white !important;
    background-color: #607D8B !important;
    border-radius: 20px !important;
    margin-top: 0px;
    line-height: 0px;
}

.edstrom-action-button-micro:not([disabled]):hover {
    background-color: #4e6a78 !important;
}

.edstrom-action-button-micro:not([disabled]).md-focused {
    background-color: #4e6a78 !important;
}

.ellipses-overflow {
    /* When a div runs out of space for text, cut it off and show ellipses */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipses-overflow:hover {
    text-overflow: clip;
    white-space: normal;
    word-break: break-word;
}

.filled-row {
    /* Every other row [light theme] */
    background-color: #F4F4F4;
}

.filled-row-dark {
    /* Every other row [dark theme] */
    background-color: #353535;
}

.half-width {
    /* Take up half of the parent container */
    width: 50%;
    max-width: 50%;
}

.header-with-button {
    align-items: center;
    justify-content: space-between
}

.header-with-chips {
    align-items: center;
}

.header-with-chips h2 {
    margin-right: 8px;
}

@keyframes rowHide {
    0% {
        height: 41px;
        opacity: 1;
    }
    100% {
        height: 0;
        opacity: 0;
    }
}

@keyframes rowShow {
    0% {
        height: 0;
        opacity: 0;
    }
    100% {
        height: 41px;
        opacity: 1;
    }
}

.hideable.ng-hide-add {
    animation: 0.5s rowHide;
}

.hideable.ng-hide-remove {
    animation: 0.5s rowShow;
}

.hollow-button {
    /* Buttons with no fill and only an outline */
    border-radius: 3px;
    border: 2px solid #607D8B;
}

.hover-row:hover {
    /* Hover over rows */
    background-color: rgba(75, 90, 121, 0.2);
}

.inline {
    display: inline;
}

.list-header {
    color: #777777;
    font-size: 16px;
    letter-spacing: 0.68px;
    line-height: 20px;
    padding-bottom: 8px;
    padding-left: 32px;
    align-items: center;
}

.loading-cursor {
    cursor: progress !important;
}

.location-list {
    align-items: center;
    width: 100%;
}

.location-list-body {
    width: 100%;
}

.location-list-header {
    align-items: center;
    display: flex;
    padding-left: 0;
    justify-content: space-between;
    margin-bottom: 8px;
    width: 100%;
}

.location-list-header md-divider {
    padding: 8px 0 8px 0;
    margin: 0 8px 0 8px;
}

.location-list-header, .neuron-dialog md-input-container {
    margin: 0;
}

.location-row {
    padding-top: 2px;
    padding-bottom: 2px;
    width: 100%;
    height: 40px;
}

.location-row>div {
    height: 100%;
    justify-content: space-between;
    align-items: center;
    margin: 0 8px;
}

.location-row-name {
    font-size: 22px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-row-acknowledge {
    font-size: 14px;
    color: #444749;
    margin-top: 6px
}

.location-row-selected {
    background-color: rgba(75, 90, 121, 0.2);
}

.locations-page-header {
    /* header for locations preview */
    z-index: 1;
}

.lp-select {
    /* Slightly reduce margin */
    margin-top: 15px !important;
    margin-bottom: 0px !important;
}

.menu-item-users {
    height: 48px;
    font-size: 14px;
}

.md-toolbar-tools {
    /* Spaces apart title and close button, adds divider line */
    justify-content: space-between;
    border-bottom: 1px solid rgba(187, 187, 187, 0.7);
}

.no-padding {
    padding: 0 !important;
}

.no-points {
    align-items: center;
    font-size: 22px;
}

.no-points * {
    margin: 16px 0 16px 0;
}

.on-premises-row {
    background: repeating-linear-gradient( 45deg, rgba(133, 133, 133, 0.05), rgba(133, 133, 133, 0.05) 10px, rgba(133, 133, 133, 0.1) 10px, rgba(131, 131, 131, 0.1) 20px);
}

.option-container {
    /* Add some spave above and below */
    margin: 24px 0 16px 0;
}

.points-header {
    padding-bottom: 5px;
    padding-top: 5px;
    background-color: #F4F4F4;
}

.quick-action-buttons ng-md-icon {
    display: block;
    fill: white;
    margin-top: 3px;
    margin-left: 0px;
}

.quick-action-dot {
    height: 60px;
    width: 60px;
    background-color: #607D8B;
    border-radius: 50%;
    display: inline-block;
}

.quick-action-buttons span {
    text-align: center;
}

#vertical-device-container {
    min-height: 550px;
    width: 100%;
}

.repeated-device {
    border-bottom: 1px solid rgba(187, 187, 187, 0.7);
    border-left: 1px solid rgba(187, 187, 187, 0.7);
    border-right: 1px solid rgba(187, 187, 187, 0.7);
    box-sizing: border-box;
    overflow: hidden;
    height: 22px;
}

.row-drop-down {
    height: 100%;
    width: 40px;
    display: flex
}

.signOutButton {
    /* Controls log out button size */
    position: absolute;
    top: 15px;
    right: 0px;
    min-width: 10%;
}

.tab-body-margin-top {
    margin: 24px 0 0 0;
}

.topLeftButtons {
    /* Controls log out button size */
    position: absolute;
    top: 15px;
    left: 15px;
    min-width: 10%;
}

.selected-location-header {
    justify-content: space-between;
}

.selected-location-header img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.selected-location-header md-menu {
    margin-bottom: 16px;
}

.selected-location-placeholder {
    margin-left: 32px;
    margin-right: 32px;
}

.selected-location-placeholder img {
    width: 100%;
}

.set-solenoid-border {
    /* A border around the solenoid categories in the set solenoid order modal */
    border-top: 1px solid rgba(187, 187, 187, 0.7);
    border-bottom: 1px solid rgba(187, 187, 187, 0.7);
    border-left: 1px solid rgba(187, 187, 187, 0.7);
    border-right: 1px solid rgba(187, 187, 187, 0.7);
    margin: 5px 5px 5px 5px;
    padding: 5px 0 5px 5px;
}

.top-border {
    /* A top border for the first element in a list */
    border-top: 1px solid rgba(187, 187, 187, 0.7);
}

.transparent {
    background-color: rgba(0, 0, 0, 0) !important;
}

.watering-column {
    padding: 0 20px;
    justify-content: center;
}

.watering-column>div {
    width: 100%;
}

.watering-column-flush {
    margin-bottom: 6px;
}

.md-button.md-small {
    /* A small button */
    width: auto;
    height: 24px;
    line-height: 24px;
    min-height: 20px;
    vertical-align: middle;
    font-size: 14px;
    margin: auto 5px auto 4px;
}

.md-button.quick-action-buttons {
    line-height: unset;
    margin-bottom: 10px;
}

#mainContent md-content:first-of-type {
    /* Make content transparent and take up full screen */
    background-color: transparent;
    width: 100%;
}

md-card {
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3) !important;
}

md-card.customers-list {
    /* Make customer list card fill up space */
    width: 100%;
    max-height: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0px;
    margin: 0px;
}

md-checkbox {
    /* Reduce margin for checkboxes */
    margin-bottom: 0;
}

md-checkbox[disabled] .md-label {
    /* Start of colors for checkboxes */
    color: rgba(0, 0, 0, 0.38) !important;
}

md-checkbox.md-default-theme.md-checked .md-icon, md-checkbox.md-checked .md-icon {
    background-color: #607D8B;
    /* End of colors for checkboxes */
}

md-checkbox.md-ripple-container {
    /* Start of ink ripple color for checkboxes */
    color: #607D8B !important;
    border-color: #607D8B !important;
}

md-checkbox.md-ink-ripple {
    color: #607D8B !important;
    /* End of ink ripple color for checkboxes */
}

md-dialog.add-device-modal {
    /* Make edit details card fill up space */
    width: 1000px;
    height: 100%;
    overflow: visible;
}

md-dialog.add-location-modal {
    /* Make edit details card fill up space */
    width: 500px;
    height: 550px;
    overflow: visible;
}

md-dialog.add-location-modal .room-volume {
    padding-top: 20px;
}

md-dialog.add-panel-modal {
    /* Make edit details card fill up space */
    width: 1000px;
    height: 1200px;
    overflow: visible;
}

md-dialog-content.add-panel-modal {
    /* Make edit details card fill up space */
    order: unset;
    max-height: 100%;
    height: 100%;
}

md-dialog.set-zone-flush-order-modal {
    /* Make edit details card fill up space */
    width: 50%;
    max-height: 85%;
    height: 85%;
    overflow: visible;
}

md-dialog-content.set-zone-flush-order-modal {
    /* Make edit details card fill up space */
    order: unset;
    max-height: 100%;
    height: 100%;
}

md-dialog.add-new-customer-modal {
    /* Make add new customer card fill up space */
    width: 90%;
    max-height: 80%;
    height: 80%;
    overflow: hidden;
}

md-dialog.add-new-customer-modal md-dialog-content {
    order: unset;
    max-height: 100%;
    height: 100%;
    overflow: auto;
}

md-dialog.edit-details-modal {
    /* Make edit details card fill up space */
    width: 90%;
    max-height: 95%;
    height: 95%;
    overflow: visible;
}

md-dialog-content.edit-details-modal {
    /* Make edit details card fill up space */
    padding: 16px 200px 16px 200px;
    order: unset;
    max-height: 100%;
    height: 100%;
}

md-dialog.edit-location-properties-modal {
    /* Make edit details card fill up space */
    width: 1000px;
    height: 550px;
    overflow: visible;
}

.location-properties {
    margin-left: 20px;
}

md-dialog.edit-location-properties-modal .room-volume {
    padding-top: 20px;
}

.edit-location-properties-location-tree {
    overflow-y: auto;
    height: 305px;
    padding: 0;
}

.add-panel-location-tree {
    overflow-y: auto;
    height: 312px;
    padding: 0;
}

.add-hardware-tree {
    overflow-y: auto;
    height: 1030px;
    padding: 0;
}

.edit-flush-order {
    overflow-y: auto;
    height: 430px;
    padding: 0;
}

.edit-panel-tabs {
    height: 1200px;
}

md-dialog.preview-modal {
    /* Make preview card fill up space */
    width: 95%;
    max-width: 95%;
    max-height: 95%;
    height: 95%;
    overflow: visible;
}

md-dialog-content.preview-modal {
    /* Make preview details card fill up space */
    padding: 16px 200px 16px 200px;
    order: unset;
    max-height: 100%;
    height: 100%;
}

md-dialog-content.modal-body {
    /* Makes sure the body takes up all the pave between the header and footer toolbars */
    order: unset;
    margin: 16px;
    height: 100%;
    overflow: auto;
}

md-radio-button {
    margin: 0 !important;
}

md-select-menu {
    /** Make select menu shadows more prevalent */
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3) !important;
}

md-select-menu, md-select-menu md-content {
    /* Make select menus show more items */
    max-height: 500px;
}

md-tabs md-content {
    background-color: rgba(0, 0, 0, 0) !important;
}

md-tabs md-ink-bar {
    /* The color for tabs */
    color: #607D8B;
    background-color: #607D8B;
}

md-tabs.editor-top-bar {
    /* Make tabs take up less height */
    min-height: 140px !important;
}

md-toolbar.edit-profile-buttons {
    /* Bottom buttons */
    width: 100%;
    font-size: 100%;
    padding: 4px 16px 0 16px;
    border-top: 1px solid rgba(187, 187, 187, 0.7);
    justify-content: flex-end;
}

ng-md-icon svg {
    /* Center the SVG icons vertically */
    transform: translate3d(0, 20%, 0);
}

page-title {
    /* Page title for preview */
    -webkit-margin-before: 16px;
    -webkit-margin-after: 0;
    display: block;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    line-height: 50px;
    font-size: 40px;
    font-weight: 600;
}

form[name=editDeviceForm], form[name=editDeviceForm]>md-tabs {
    height: 100%;
}

.clear-button {
    border: 0;
    outline: none;
    fill: #C1C1C1;
    position: relative;
    left: -35px;
    top: 5px;
    cursor: pointer;
    pointer-events: all;
}

.loading {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 99;
    background-color: rgba(255, 255, 255, .15);
    backdrop-filter: blur(2px);
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

.read-only-padding {
    padding-top: 10px;
}

.disabled-row {
    color: darkgray;
    cursor: default;
}

.enabled-row {
    cursor: pointer;
}

.current-row {
    font-weight: bold;
}