﻿.header-label {
    display: inline-block;
    clear: left;
    width: 6em;
    text-align: right;
    margin-right: 1em;
}

.field-selected {
    /*background-color: #c6ff9b;*/
}

.valid {
    border-color: #b8babc;
}

.valid.field-selected {
    border-color: #b8babc;
    background-color: #c6ff9b;
}

.valid.field-selected[readonly] {
    border-color: #b8babc;
    background-color: #c6ff9b;
}

.valid:focus {
    border-color: #449138 !important;
}

.dropdown-toggle.valid:focus,
.dropdown-toggle.valid[aria-expanded='true'] {
    background-color: #c6ff9b !important;
}

.valid[readonly]:focus {
    border-color: #449138;
    background-color: #c6ff9b;
}

.valid.low-confidence-characters {
    color: #932200;
    border-width: 2px;
}

.invalid {
    border-color: #d11b1b;
    border-width: 2px;
}

.invalid.field-selected {
    border-color: #d11b1b;
    border-width: 2px;
    background-color: #F1cbcb;
}

.invalid.field-selected[readonly] {
    border-color: #d11b1b;
    border-width: 2px;
    background-color: #F1cbcb;
}

.dropdown-toggle.invalid:focus,
.dropdown-toggle.warning:focus,
.dropdown-toggle.invalid[aria-expanded='true'],
.dropdown-toggle.warning[aria-expanded='true'] {
    background-color: #F1cbcb !important;
}

.invalid.low-confidence-characters {
    color: #932200;
}

.warning {
    border-color: #e84f19;
    border-style: dashed;
    border-width: 2px;
}

.warning.field-selected {
    border-color: #e84f19;
    border-width: 2px;
    border-style: dashed;
    background-color: #F1cbcb;
}

.warning.low-confidence-characters {
    color: #932200;
}

.ui-datepicker-trigger {
    display: none;
    visibility: hidden
}

.line-item {
    min-height: 15px;
}

.line-item.invalid {
    background-color: #F1cbcb;
}

.line-item.valid {
    border-style: none;
}


.header-fields input {
    width: 200px;
}

.header-field {
    width: 200px;
}

.table-button {
    border-color: black;
    border-radius: 2px;
    width: 20px;
    height: 20px;
    background-color: #d0d5dd;
}

#table {
    width: 100%;
    border-collapse: collapse;
    empty-cells: show;
}

th {
    height: 30px;
    background-repeat: no-repeat;
    color: black;
}

tr {
    height: 25px;
}

.borderRight {
    display: inline-block;
    float: right;
    margin-right: 0px;
    width: 5px;
    height: 20px;
}

.noSelect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.resizing {
    cursor: col-resize;
}

hr {
    border: 0;
    clear: both;
    display: block;
    width: 100%;
    background-color: #eee;
    height: 1px;
}

html,
body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
}

.wordwrap {
    white-space: pre-wrap; /* CSS3 */
    white-space: -moz-pre-wrap; /* Firefox */
    white-space: -pre-wrap; /* Opera <7 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* IE */
    max-width: 600px;
    min-height: 15px;
}

#wrap {
    min-height: 100%;
    height: auto;
    /* Negative indent footer by its height */
    margin: 0 auto -5.5%;
    /* Pad bottom by footer height */
    padding: 0 0 1%;
}

/* Set the fixed height of the footer here */
#footer {
    height: 100px;
}

/* jQuery calendar*/
.ui-widget-header {
    border: 1px solid #357ebd;
    background: #428bca;
    color: #ffffff;
    font-weight: bold;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}

/* Cusom range slider from Bootstrap 4, works only on chrome */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .custom-range {
        -webkit-appearance: none;
        width: 100%;
        height: 8px;
        border-radius: 5px;
        background: #d3d3d3;
        outline: none;
        opacity: 0.7;
        -webkit-transition: opacity .15s ease-in-out;
        transition: opacity .15s ease-in-out;
    }

    .custom-range:hover {
        opacity: 1;
    }

    .custom-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 16px;
        height: 16px;
        background: #337ab7;
        cursor: pointer;
        border-radius: 8px;
    }

    .custom-range::-moz-range-thumb {
        width: 16px;
        height: 16px;
        background: #337ab7;
        cursor: pointer;
        border-radius: 8px;
    }
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.btn-info:hover {
    background-color: #138496;
    border-color: #117a8b;
}

.form-group button > img {
    height: 16px;
}

.table-control-calculable button > img {
    height: 80%;
    vertical-align: text-bottom;
}

.layout-compact #form-fields .form-group .input-group-btn > button {
    padding: 0 8px;
}

.form-control-pair-previous {
    display: flex;
    align-items: center;
    padding-right: 30px;
}

.form-control-pair-previous label {
    max-width: 53%;
    padding: 0 15px 0 0;
    /* Overrides bootstrap's padding-top: 15px */
    /*noinspection CssOverwrittenProperties*/
    padding-top: 0 !important;
    text-overflow: ellipsis;
    margin-left: auto;
}

.overlay {
    cursor: wait;
    background-color: #EFEFEF;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
    opacity: .5;
    filter: alpha(opacity:50);
    display: none;
}

.overlay.enabled {
    display: block;
}

kbd {
     display: inline-block;
     margin: 0 .1em;
     padding: .1em .6em;
     font-family: Arial,"Helvetica Neue",Helvetica,sans-serif;
     font-size: 13px;
     line-height: 1.5;
     color: #242729;
     text-shadow: 0 1px 0 #fff;
     background-color: #fff;
     border: 1px solid #9fa6ad;
     border-radius: 3px;
     box-shadow: 0 1px 1px rgba(12,13,14,0.15), inset 0 1px 0 0 #fff;
     overflow-wrap: break-word;
     white-space: nowrap;
 }

#helpModal p {
    height: 24px;
}

#license-refresh-date {
    visibility: hidden;
}

#pConfirmDeleteMsg {
    overflow-wrap: break-word;
}