﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.isProcessing {
}

.error {
    color: red;
    font-weight: bold;
}

#content input.ng-dirty.ng-invalid {
    border: 1px solid #b94a48;
    background-color: rgb(255, 244, 244);
}

    .preloader {
        position: fixed;
        left: 50%;
        top: 50%;
        border-radius: 15px;
        z-index: 10000000;
    }
    .preloader-inner {
        position: relative; left: -50%;
        background-color: #fff;
        border: 3px solid #ccc;
        border-radius: 15px;
        padding: 15px;
    }

.modal-xs {
    width: 120px;
}
.modal-lg .modal-dialog {
    width: 700px;
}

.view-title {
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}
.offline {
    border-radius: 15px;
    color: #ffffff;
    background-color: #ff0000;
    padding:2px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: .9em;
}

.online {
    border-radius: 15px;
    color: #ffffff;
    background-color: #008000;
    padding:2px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: .9em;
}
.cached-item {
    font-size: .8em;
    color: #ccc;
}

body {
    padding-top: 10px;
}

.gray-bg {
    background-color: #eee;   
}

/*.bootbox {
    z-index: 3000 !important;
}*/

.hidden {
    display: none;
}

/*.pre-display {
    overflow-x: auto;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
    max-height: 250px;
    font-size: .9em;
}*/

.pre-display {
    overflow-x: auto;
    white-space: pre-line;
    max-height: 250px;
    font-size: .9em;
}

.pre-display-no-overflow {
    white-space: pre-line;
    max-height: 150px;
    font-size: .9em;
    overflow-y: auto;
}

.margin-left-10px {
    margin-left: 10px;
}

.large-modal .modal-dialog {
    width: 800px;
}
.x-large-modal .modal-dialog {
    width: 900px !important;
}

.ui-select-search {
    display: block !important;
    height: 32px !important;
    width: 100% !important;
}

.text-right-important {
    text-align: right !important;
}

.table-action {
    text-align: right !important;
    width: 120px !important;
}

.table-date {
    text-align: left !important;
    width: 120px !important;
}

.text-left-important {
    text-align: left !important;
}

.left-indent {
    text-indent: 50px;
}

.priority-green {
    background-color: #99ff99 !important;
}
.priority-red {
    background-color: #ffcccc !important;
}

.priority-yellow {
    background-color: #ffff99 !important;
}

.marker {
    font-size: 1.4em;
    color: #ff4400;
    font-weight: bolder;
}


/* Chrome, Safari, Edge, Opera */
input[type=number].no-stepper::-webkit-inner-spin-button,
input[type=number].no-stepper::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number].no-stepper {
    -moz-appearance: textfield;
}
.has-feedback  {
    padding-right: 42.5px;
}

.form-control-feedback {
    position: absolute !important;
    top: 0;
    right: 0;
    z-index: 2 !important;
    display: block !important;
    width: 34px !important;
    height: 34px !important;
    line-height: 34px !important;
    text-align: center;
    pointer-events: none;
}

.small-font {
    font-size: .8em;
}

.printModal {
    font-family: sans-serif;
    display: flex;
    text-align: center;
    font-weight: 300;
    font-size: 30px;
    left: 0;
    top: 0;
    position: absolute;
    color: #0460b5;
    width: 100%;
    height: 100%;
    background-color: hsla(0,0%,100%,.91)
}

.printClose {
    position: absolute;
    right: 10px;
    top: 10px
}

    .printClose:before {
        content: "\00D7";
        font-family: Helvetica Neue,sans-serif;
        font-weight: 100;
        line-height: 1px;
        padding-top: .5em;
        display: block;
        font-size: 2em;
        text-indent: 1px;
        overflow: hidden;
        height: 1.25em;
        width: 1.25em;
        text-align: center;
        cursor: pointer
    }

input:disabled {
    background-color: #eee !important;
    color: #000;
    opacity: .75;
}

textarea:disabled {
    background-color: #eee !important;
    color: #000;
    opacity: .75;
}


.ui-select-bootstrap .btn.disabled, .ui-select-bootstrap .btn[disabled], .ui-select-bootstrap fieldset[disabled] .btn {
    opacity: .85 !important;
    color: #000 !important;
    background-color: #eee;
}

/*overflow fix for UI select*/
.ui-select-match-text {
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-select-match-item {
    max-width: 100% !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}


.datepicker-years .picker-switch {
    cursor: default !important;
    background: inherit !important;
    pointer-events: none;
}



.btn-action[disabled] {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.65;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.bootbox-body {
    overflow-x:auto;
}

.ellipsis-overflow {
    overflow:hidden;
    text-overflow: ellipsis;
    max-width:220px;
}