h1,
h2,
h3 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 1.5em;
}

h2 {
    font-size: 18px;
}

h3 {
    font-size: 16px;
}

.glyphicon-remove,
.glyphicon-erase {
    color: red;
}

.glyphicon-plus {
    color: blue;
}

.glyphicon-minus {
    color: red;
}

.glyphicon-ok {
    color: green;
}

.glyphicon-save {
    color: green;
}

.glyphicon-calendar {
    color: #595494;
}

.glyphicon-pencil {
    color: purple;
}

.glyphicon-repeat {
    color: blue;
}

.container {
    /*	background-color: rgba(255, 255, 255, 0.9);*/
    background-color: transparent;
    padding-left: 0px;
    padding-right: 0px;
}

#navbar {
    padding: 0px 40px 0px 40px;
}

.PaginatorPageInput {
    width: 80px;
    text-align: right;
    display: inline;
}


/* Search as you type control */


/* highlight results */

.ui-autocomplete span.hl_results {
    background-color: #ffff66;
}


/* loading - the AJAX indicator */

.ui-autocomplete-loading {
    background: white url('/lib/js/jquery-ui/images/ui-anim_basic_16x16.gif') right center no-repeat;
}


/* scroll results */

.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding for vertical scrollbar */
    padding-right: 5px;
    background-color: #FFF;
    margin: 0;
    padding: 0;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.125);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.ui-autocomplete .ui-state-focus {
    background-color: #F5F5F5;
    color: #333333;
    border: 0px;
}

.ui-autocomplete .ui-menu-item {}

.ui-autocomplete li {
    /*font-size: 16px; */
}


/* IE 6 doesn't support max-height
* we use height instead, but this forces the menu to always be this tall
*/

* html .ui-autocomplete {
    height: 300px;
}


/* End of search as you type */

.WrongValue {
    box-shadow: 0 0 0 1pt red;
    outline: 1px red solid;
    /*    background-color: rgba(255, 0, 0, 0.175);*/
}

#ifrOutput {
    display: none;
}

.Warning {
    color: red;
}

#MI {
    width: 40px;
}

.no-padding {
    padding: 0 !important;
    margin: 0 !important;
}

.row-group {
    padding-left: 15px;
    padding-right: 15px;
}

.row-group-top {
    margin-top: 30px;
    margin-bottom: 0px;
}

.row-group-bottom {
    margin-top: 0px;
    margin-bottom: 30px;
}

.row-group label {
    font-size: smaller;
}

.ChangedValue {
    border: 1px solid red;
}

.close-button {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}

.important {
    color: red;
}

.link {
    cursor: pointer;
}

#btnSave,
#btnCancel {
    width: 45%;
}

.header-row {
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-row {
    font-weight: bold;
    margin-top: 15px;
}

.container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}

.navbar-default {
    background-color: transparent;
    border: 0px;
}

.short-control {
    width: 100px !important;
}

.same-row {
    display: table-cell;
}

.row-center {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.DialogFooter>div {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    min-width: 200px;
}

.DialogContents td {
    padding-left: 15px;
    padding-right: 15px;
}

.DialogContents td:nth-child(2) {
    text-align: right;
}

.good-data {
    background-color: #a2ffa2;
}

.bad-data {
    background-color: #ffa2a2;
}

div.striped>div.row:nth-of-type(odd),
table.striped>tbody>tr:nth-of-type(odd) {
    background-color: #e9e9e9;
}

div.hover>div:hover,
table.hover>tr:hover,
table.hover>tbody>tr:hover {
    background-color: #ccc;
}

.col-xs-1.col-0-5 {
    width: 4.16666667%;
}

.col-1-5 {
    width: 12.5%;
}

.col-2-5 {
    width: 20.833333%;
}

.money-control {
    text-align: right;
}

.numeric-control {
    text-align: right;
}

.long-text {
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;
    overflow-x: hidden !important;
}

.comment-exists
{
    color: blue;
}

input[type=checkbox].css-checkbox {
    position: absolute;
    z-index: -1000;
    left: -1000px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

input[type=checkbox].css-checkbox+label.css-label {
    padding-left: 30px;
    height: 25px;
    display: inline-block;
    line-height: 25px;
    background-repeat: no-repeat;
    background-position: 0 0;
    font-size: 25px;
    vertical-align: middle;
    cursor: pointer;
}

input[type=checkbox].css-checkbox:checked+label.css-label {
    background-position: 0 -25px;
}

label.css-label {
    background-image: url(/images/checkbox.png);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.row-hover:hover
{
    background-color:#e9e0e0;
}

#pinDialog
{
    left:50% !important;
    top:25% !important;
    width:33% !important;
    max-height:50% !important;
}

#pinDialog img
{
    width:10%;
}

#pinDialog h2
{
    font-size:26px;
    margin-bottom:0 !important;
}

#pinDialog .pin-item
{
    text-align:center;
    margin-left:3px;
    margin-right:3px;
}

#pinDialog .panel-body
{
    padding-top:0 !important;
}

#pinDialog .panel-heading
{
    border-bottom:0;
}

#pinDialog #btnCancelPin
{
    margin-top:1.5em;
}

.row.equal-height-columns
{
    display: flex;
    flex-wrap: wrap;
}
  
.row.equal-height-columns > [class*='col-']
{
    display: flex;
    flex-direction: column;
    flex: 1;
}

textarea.full-height
{
    height: 100%;
    resize: none;
}

.number-input
{
    text-align: right;
}

@media screen and (max-width:767.98px) {
    .navbar-toggle {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
  /* target only the row we modified */
  .form-row-vertical-center {
    display: flex;
    align-items: center;     /* vertical center */
    flex-wrap: wrap;         /* keep responsiveness */
    gap: 0.5rem;             /* optional horizontal spacing */
  }

  /* Make sure bootstrap floats don't interfere (flex ignores floats) */
  .form-row-vertical-center > .control-label,
  .form-row-vertical-center > .input-group,
  .form-row-vertical-center > [class*="col-"] {
    float: none;
  }

  /* Remove bottom margin from label/input so centering is exact */
  .form-row-vertical-center .control-label {
    margin-bottom: 0;
  }
  .form-row-vertical-center .input-group {
    margin-bottom: 0;
  }

  /* If the label is offset (col-xs-offset-1) the offset becomes margin-left:
     keep that visual spacing but prevent misalignment by letting label keep its bootstrap width */
  .form-row-vertical-center .col-xs-offset-1 {
    margin-left: 4.166667%; /* same as bootstrap's col-xs-offset-1 */
  }
}