/* styles for validation helpers */
.field-validation-error {
    color: #d10045;
    font-size: 13px;
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

.field-validation-valid {
    display: none;
}

/*input.input-validation-error {
    border: 1px solid #b94a48;
}*/

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    font-weight: 700;
    background: #d10045;
    padding: 20px 20px 24px 20px;
    color: #fff;
    margin-bottom: 10px;
}

    .validation-summary-errors:before {
        content: '\e819';
        font-size: 24px;
        margin-right: 20px;
        float: left;
    }

    .validation-summary-errors > span {
        display: block;
        margin-left: 49px;
    }

    .validation-summary-errors ul {
        padding: 0;
        margin: 0;
        list-style: none;
        margin-left: 49px;
    }

.validation-summary-valid {
    display: none;
}

/* groups */
.form-group {
    padding: 10px 0;
}

.form-group-margin {
    margin-top: 10px;
    margin-bottom: 10px;
}

.small-form-group {
    padding: 5px 0;
}

.control-label {
    display: block;
    margin-bottom: 6px;
}

.form-pair {
    float: left;
    padding-right: 20px;
}

.field-inline .control-label, .field-inline .form-control, .field-inline .input-group {
    display: inline-block;
}


/* controls */
.form-control {
    border: 1px solid #DBDBDB;
    padding: 14px 12px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    height: 54px;
    font-size: 16px;
}

    .form-control.readonly-select {
        pointer-events: none;
        background-color: #e9ecef;
        opacity: 1;
    }

textarea .form-control {
    height: auto;
}

.form-group input[type="radio"] + label, .form-group input[type="checkbox"] + label, .rbCbLabel {
    margin: 0 6px;
}

.form-groupBlock input[type="text"], .form-groupBlock input[type="password"], .form-groupBlock select, .form-groupBlock textarea {
    width: 95%;
    display: block;
}

.form-groupBlock label, .form-groupHorizontal label, .falseLabel {
    display: block;
    margin-bottom: 4px;
    line-height: 18px;
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
    float: left;
    margin-left: -20px;
    margin-top: 3px;
}

.checkbox-inline-right input[type="checkbox"] {
    float: right;
    margin-right: -20px;
    margin-top: 3px;
}

.radio + .radio,
.checkbox + .checkbox {
    margin-top: -5px;
}

.radio-inline,
.checkbox-inline {
    display: inline-block;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: normal;
    vertical-align: middle;
    cursor: pointer;
}

.checkbox-inline-right {
    display: inline-block;
    padding-right: 20px;
    margin-bottom: 0;
    font-weight: normal;
    vertical-align: middle;
    cursor: pointer;
}

    .radio-inline + .radio-inline,
    .checkbox-inline + .checkbox-inline,
    .checkbox-inline-right + .checkbox-inline-right {
        margin-top: 0;
        margin-left: 10px;
    }

    input[type="radio"][disabled],
    input[type="checkbox"][disabled],
    .radio[disabled],
    .radio-inline[disabled],
    .checkbox[disabled],
    .checkbox-inline[disabled],
    .checkbox-inline-right[disabled],
    fieldset[disabled] input[type="radio"],
    fieldset[disabled] input[type="checkbox"],
    fieldset[disabled] .radio,
    fieldset[disabled] .radio-inline,
    fieldset[disabled] .checkbox,
    fieldset[disabled] .checkbox-inline,
    fieldset[disabled] .checkbox-inline-right {
        cursor: not-allowed;
    }

input[type="text"][disabled],
select[disabled] {
    background-color: rgb(235, 235, 228);
}

/* buttons */
.btn {
    /*background-color: #808183;*/
    background-repeat: no-repeat;
    border-width: 0;
    border-style: none;
    /*border: 1px solid #808183;*/
    /*color: #fff;*/
    padding: 15px 20px;
    text-decoration: none;
    border-radius: 4px;
    box-sizing: content-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

a.btn, span.btn {
    /* Adjust whenever base .btn is updated, so buttons are even height*/
    padding-top: 14px;
    padding-bottom: 14px;
    display: inline-block;
}

.btn.btn-small {
    padding: 5px 10px;
}

    .btn.btn-small.btn-review {
        padding-left: 20px;
    }

.btn.btn-xs {
    padding: 2px 5px;
}

.btn.btn-img {
    background-color: transparent;
    border: 0 none;
    padding: 0;
    border-radius: 0;
}

.btn.btn-link {
    color: #333333;
    background-color: transparent;
    border: 0 none;
}

.btn.btn-link-add {
    padding: 0;
}

.btn.btn-block {
    display: block;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

    .btn.btn-block + .btn-block {
        margin-top: 5px;
    }
/*.btn:hover {
    text-decoration: underline;
}*/
.btn-default {
    color: #333333;
    background-color: #d2d2d2;
    border-color: #d2d2d2;
}

.btn-primary {
    color: #ffffff;
    background-color: #58b4e5;
    border-color: #58b4e5;
}

.btn-light {
    color: #333333;
    background-color: #ececec;
    border-color: #ececec;
}

.btn-primary-light {
    color: #5f717e;
    background-color: #dceef8;
    border-color: #dceef8;
}

.btn-primary-dark {
    color: #ffffff;
    background-color: #174173;
    border-color: #174173;
}

.btn-default-dark {
    color: #ffffff;
    background-color: #6e6e6e;
    border-color: #6e6e6e;
}

.btn-green {
    color: #ffffff;
    background-color: #a7be39;
    border-color: #a7be39;
}

.btn.pull-right + .btn.pull-right {
    margin-right: 5px;
}

.btn-add-on:first-child {
    margin-right: 10px;
}

.btn-add-on:last-child {
    margin-left: 10px;
}

.btn.btn-small .btn-add-on:first-child {
    margin-right: 5px;
}

.issubmitting .btn {
    position: relative;
}

    .issubmitting .btn::after {
        content: ' ';
        background: #eee;
        /*background: #eee url(/Content/images/loading.svg) no-repeat center center;*/
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: .7;
        z-index: 5000;
    }

    .issubmitting .btn.clicked:not(.btn-link):not(.btn-img)::after {
        content: ' ';
        background: #eee;
        background: #eee url(/Content/images/loading.svg) no-repeat center center;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: .7;
        z-index: 5000;
    }

/* upload control */
.upload-control {
    position: relative;
    display: inline-block;
}

    .upload-control input[type=file] {
        position: relative;
        opacity: 0;
        z-index: 3;
    }

.ie8 .upload-control input[type=file] {
    filter: alpha(opacity=0);
}

.upload-control button,
.issubmitting .upload-control button {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.upload-control .button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    display: block;
}

/* alert */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

    .alert h4 {
        margin-top: 0;
        color: inherit;
    }

    .alert .alert-link {
        font-weight: bold;
    }

    .alert > p,
    .alert > ul {
        margin-bottom: 0;
    }

        .alert > p + p {
            margin-top: 5px;
        }

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

    .alert-success hr {
        border-top-color: #c9e2b3;
    }

    .alert-success .alert-link {
        color: #2b542c;
    }

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

    .alert-danger hr {
        border-top-color: #e4b9c0;
    }

    .alert-danger .alert-link {
        color: #843534;
    }

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

    .alert-warning hr {
        border-top-color: #f7e1b5;
    }

    .alert-warning .alert-link {
        color: #66512c;
    }

@media (max-width: 480px) {
    .field-radio, .field-checkbox {
        display: block;
        margin: 8px 0;
    }

        .field-radio:first-child, .field-checkbox:first-child {
            margin-top: 0;
        }

        .field-radio:last-child, .field-checkbox:last-child {
            margin-bottom: 0;
        }

    .field-select {
        width: 100%;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
}

/* file upload */
.fileinput-button {
    position: relative;
    overflow: hidden;
}

    .fileinput-button input {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        opacity: 0;
        -ms-filter: 'alpha(opacity=0)';
        font-size: 200px;
        direction: ltr;
        cursor: pointer;
    }

    .fileinput-button .form-control {
        height: 30px;
        display: block;
    }

/* progress */

.progress-bs {
    height: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

.progress-bs-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #337ab7;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}

/*.progress-bs.active .progress-bs-bar,
.progress-bs-bar.active {
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    -o-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
}*/

.progress-bs-bar-success {
    background-color: #5cb85c;
}

.progress-bs-bar-info {
    background-color: #5bc0de;
}

.progress-bs-bar-warning {
    background-color: #f0ad4e;
}

.progress-bs-bar-danger {
    background-color: #d9534f;
}

.cell-progress {
    min-width: 60px;
}

.download-file {
    display: block;
}

.text-danger {
    color: #d9534f;
}

.btn[disabled], .loading {
    opacity: 0.5;
}

.loading {
    background-image: url(/content/images/loading.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 18px 18px;
}

.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 2px;
    margin-right: 5px;
    color: #fff;
    background-color: #6e6e6e;
}



/*** fixes ***/
.bus-app-nav li {
    padding: 10px 14px;
}

/* table responsive important styles */
.th-title {
    display: none;
}

.rebuild {
    width: 100%;
    border-collapse: collapse;
}

    .rebuild tr:nth-child(even) td {
        background: #fbfbfb;
    }

table.responsive.rebuild td {
    border: none;
    border-left: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
}

.rebuild tbody tr:first-child {
    border-bottom: 1px solid #e3e3e3;
}

.rebuild tbody tr td:last-child {
    border-bottom: 1px solid #e3e3e3;
}

.rebuild thead {
    display: none;
}

.rebuild tbody td {
    display: block;
    text-align: left;
    padding: 5px 10px;
    border-top-width: 0;
}

.rebuild .th-title {
    display: block;
    padding-right: 2%;
    font-weight: 700;
}

.rebuild .td-content {
    display: inline-block;
    vertical-align: top;
}

.table-wr {
    box-sizing: border-box;
}

.rebuild .hide-mobile-m {
    display: none;
}

@media (max-width: 800px) {
    .table-wr {
        padding: 0 15px;
    }
}

@media (min-width: 350px) {
    .collateral-total {
        display: inline-block;
    }
}
