html, body, .full-height {
    min-height: 100%;
    height: 1px;
}

footer {
    text-align: center;
    bottom: 0;
}
footer > nav {
    margin-bottom: 0 !important;
}

body.no-scroll {
    overflow: hidden;
}

.unselectable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.forced-selectable {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

#contextMenu {
    position: absolute;
    border: 1px solid #e1e1e8;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 4px 4px 4px 0 rgba(225, 225, 232, 0.25);
    background-color: white;
    overflow: auto;
    display: none;
    z-index: 9999;
}

.box {
    border: 1px solid #e1e1e8;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 4px 4px 4px 0 rgba(225, 225, 232, 0.25);
    background-color: white;
    max-height: 100vh;
    max-width: 100vw;
    overflow: auto;
}

.tdAjaxLoading {
    padding: 10px 16px;
    line-height: 24px;
    vertical-align: middle;
    text-align: center;
    font-size: 18px;
    cursor: wait;
}

.template {
    display: none;
}

tr.selected td {
    background-color: #265a88 !important;
    color: #fff !important;
}
tr.selected:hover td {
    background-color: #215583 !important;
    color: #fff !important;
}

tr.failure td {
    background-color: #fdd;
}
tr.failure:hover td {
    background-color: #f5d5d5;
}

tr.ok td {
    background-color: #90ee90;
}
tr.ok:hover td {
    background-color: #85e585;
}

tr.dup td {
    background-color: #ee0;
}
tr.dup:hover td {
    background-color: #e5e500;
}

td.failure {
    background-color: #fdd !important;
}
td.failure:hover,
tr:hover:not(.selected) td.failure {
    background-color: #f5d5d5 !important;
}
tr.selected td.failure {
    background-color: #fdd !important;
    color: #000 !important;
}

td.ok {
    background-color: #90ee90 !important;
}
td.ok:hover,
tr:hover:not(.selected) td.ok {
    background-color: #85e585 !important;
}

td.alert {
    background-color: #ee0 !important;
}
td.alert:hover,
tr:hover:not(.selected) td.alert {
    background-color: #e5e500 !important;
}
tr.selected td.alert {
    background-color: #ee0 !important;
    color: #000 !important;
}

td.hasCopy {
    background-color: #aaf !important;
}
td.hasCopy:hover,
tr:hover:not(.selected) td.hasCopy {
    background-color: #a5a5ff !important;
}
tr.selected td.hasCopy {
    background-color: #aaf !important;
    color: #000 !important;
}

tr[data-trashed="1"] {
    color: #777;
}

.trClient.alien td {
    /*color: #777;*/
}

th .orderMark {
    display: none;
}
th[data-sort-order="ASC"] .orderMark.asc,
th[data-sort-order="DESC"] .orderMark.desc {
    display: inline-block;
}

#clientsList td {
    word-break: break-all;
}

.nav li a.disabled {
    color: #aaa !important;
    cursor: not-allowed;
}

.blackout {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    outline: none;
}

.window-container {
    display: table;
    position: absolute;
    height: 100%;
    margin: 0 auto;
    outline: none;
    /*left: 0;
    right: 0;*/
}

.window {
    display: table-cell;
    vertical-align: middle;
    outline: none;
}

.blackoutAjaxLoading {
    /*padding: 10px 16px;*/
    color: #ddd;
    line-height: 24px;
    vertical-align: middle;
    text-align: center;
    font-size: 18px;
    /*cursor: wait;*/
}

.fileUpload {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    height: 100%;
    width: 100%;
    left: 0;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}
::-webkit-file-upload-button {
    cursor: pointer;
}

.comment {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 1em;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    overflow-x: auto;
    overflow-y: hidden;
}
.text {
    /*padding: 1em;*/
    /*word-break: break-all;*/
    white-space: pre-wrap;
}
.date {
    /*padding-left: 1em;*/
    color: #a5a5a5;
}

.callRecord {
    border-bottom: 1px solid #e5e5e5;
    /*padding: 1em;*/
}

.logRecord {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-top: -1px;
}
.logRecord .header {
    padding: 5px 0;
}
.logRecord .header:hover {
    cursor: pointer;
    background-color: #eee;
}

.form-control.focus {
    border-color: #66afe9;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 175, 233, 0.6);
    outline: 0 none;
}

textarea {
    resize: none;
}

a {
    cursor: pointer;
}
a.disabled {
    cursor: default;
    color: gray;
}
a.disabled:hover {
    cursor: default;
    text-decoration: none;
}