/*region Layout*/
html, body {
    height: 100%;
    margin: 0;
    background-color: #fff;
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #676a6c;
}

#wrapper {
    min-height: 100%;
    border-left: 220px solid #141514;
    transition: border-left-width 0.4s;
}

#sidebar {
    position: absolute;
    width: 220px;
    margin-left: -220px;
    padding-bottom: 70px;
    background-color: #141514;
    transition: width 0.4s, margin-left 0.4s;
    font-size: 14px;
}

#page-wrapper {
    overflow: hidden;
    padding-bottom: 70px;
}

.sidebar-logo {
    display: block;
    padding: 15px;
    width: 100%;
    text-align: center;
}

.sidebar-logo img {
    max-width: 100%;
    max-height: 45px;
}

.sidebar-profile {
    padding: 15px;
    color: white;
    white-space: nowrap;
}

.sidebar-profile .dropdown {
    cursor: pointer;
}

#sidebar-profile_name:after {
    content: ' ';
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    position: absolute;
    top: 50%;
    margin-top: -4px;
}


.sidebar-profile_big,
.sidebar-profile_small {
    max-width: 100%;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-right: 10px;
    margin-right: -10px;
}

.sidebar-profile_small {
    display: none;
    text-align: center;
}

#sidebar-navigation {
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
    color: white;
}

#sidebar-navigation li {
    display: block;
}

#sidebar-navigation a {
    display: block;
    padding: 15px;
    color: white;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-decoration: none;
    vertical-align: middle;
}

#sidebar-navigation a:hover {
    background-color: #ed1c24;
}

#sidebar-navigation li.active a {
    background: #575b57;
}

#sidebar-navigation .nav-icon {
    display: inline-block;
    height: 100%;
    width: 25px;
    margin: -10px 5px -10px 0;
    text-align: center;
}

body.sidebar-mini #sidebar {
    width: 70px;
    margin-left: -70px;
}

body.sidebar-mini #sidebar-navigation .nav-icon {
    margin-right: 0;
}

body.sidebar-mini #wrapper {
    border-left-width: 70px;
}

body.sidebar-mini #sidebar-navigation .nav-label {
    display: none;
}

body.sidebar-mini #sidebar-navigation a {
    text-align: center;
}

body.sidebar-mini .sidebar-profile {
    padding-left: 0;
    padding-right: 0;
}

body.sidebar-mini .sidebar-profile .dropdown {
    text-align: center;
}

body.sidebar-mini .sidebar-profile_big {
    display: none;
}

body.sidebar-mini .sidebar-profile_small {
    display: inline-block;
}

.sidebar-mini-block {
    display: none;
}

body.sidebar-mini .sidebar-mini-block {
    display: initial;
}

body.sidebar-mini .sidebar-full-block {
    display: none;
}

.menu-notify-mark {
    padding: 0.2em 0.6em;
}

body.sidebar-mini .menu-notify-mark {
    position: absolute;
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 50%;
    text-indent: -9999px;
}

#header-alert {
    margin: 15px;
}

#header-alert .alert {
    margin: 0;
}

#page-heading {
    margin: 15px;
}

#page-heading > div {
    display: inline;
    margin: 0 10px 0 0;
}

#page-heading .btn {
    vertical-align: text-bottom;
}

#wrapper-content {
    margin: 15px;
}

.sidebar-toggle {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 1050;
    font-size: 14px !important;
}

.sidebar-toggle,
.sidebar-toggle:focus {
    border-color: #575b57;
    background-color: #141514;
}

body.sidebar-mini .sidebar-toggle span {
    display: none;
}

@media (max-width: 768px) {
    #wrapper {
        border-left-width: 70px;
    }

    #sidebar {
        display: block;
        width: 70px;
        margin-left: -70px;
    }

    body.sidebar-mini #wrapper {
        border-left-width: 0;
    }

    body.sidebar-mini #sidebar {
        display: none;
    }

    body .sidebar-mini-block {
        display: initial;
    }

    body .sidebar-full-block {
        display: none;
    }

    body #sidebar-navigation .nav-icon {
        margin-right: 0;
    }

    body #sidebar-navigation a {
        text-align: center;
    }

    body .sidebar-profile {
        padding-left: 0;
        padding-right: 0;
    }

    body .sidebar-profile .dropdown {
        text-align: center;
    }

    body .sidebar-profile_big {
        display: none;
    }

    body .sidebar-profile_small {
        display: inline-block;
    }

    body #sidebar-navigation .nav-label {
        display: none;
    }

    .sidebar-toggle span {
        display: none;
    }
}

/*endregion*/

/*region NBKI*/
.paymt-pat_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
}

.paymt-pat_legend {
    list-style: none;
    margin: 0;
    padding: 0;
}

.paymt-pat_legend span {
    display: inline-block;
    padding: 0 5px;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
}

.cut-text {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100%;
    display: block;
}

.cell-columns {
    display: flex;
}

.cell-col {
    flex-basis: 200px;
    margin-right: 10px;
}

.cell-columns_jc-sa {
    justify-content: space-around;
}

.cell-columns_jc-sb {
    justify-content: space-between;
}

.report-grid p {
    margin-bottom: 5px;
}

.report-grid tbody td,
.report-grid thead th {
    padding: 5px 10px !important;
}

.account-reply_title {
    margin-top: 20px;
    font-weight: 600;
    font-size: 16px;
}

/*endregion*/

/*region info-popover*/
.info-popover {
}

.info-popover_has-data {
    cursor: pointer;
}

.info-popover .glyphicon {
    vertical-align: middle;
}

.info-popover_nowrap {
    white-space: nowrap;
}

.info-popover-content {
    display: none;
}

.info-popover ~ .popover .popover-content {
    font-size: 13px;
}

.popover {
    font-size: 13px !important;
}

/*endregion info-popover*/

/*region legend*/
.legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 24px;
    font-size: 24px;
    line-height: inherit;
    color: #414042;
    border-top-width: 0;
    border-right-width: 0;
    border-bottom: 1px solid #e5e5e5;
    border-left-width: 0;
}

.pagination + .summary-fix {
    display: inline-block;
    margin-top: 28px;
    padding-left: 50px;
    vertical-align: top;
}

/*endregion*/

/*region ajax-loader*/
.ajax-loader {
    position: relative;
    padding-right: 42px;
}

.ajax-loader:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    background: url('../img/ajax-loader.svg') no-repeat;
    background-size: contain;
}

.ajax-loader-before {
    position: relative;
    padding-left: 32px;
}

.ajax-loader-before:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    background: url('../img/ajax-loader.svg') no-repeat;
    background-size: contain;
}

.js-ajax-loader {
    position: relative;
}

.js-ajax-loader:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1000;
    background: url('../img/ajax-loader.svg') no-repeat center rgba(255, 255, 255, 0.5);
}

body.js-ajax-loader:after {
    position: fixed;
    z-index: 1100;
}

/*endregion*/

/*region image-view*/
.image-view-item {
    position: relative;
    text-align: center;
    min-width: 150px;
    min-height: 150px;
    background: url('../img/ajax-loader.svg') no-repeat center rgba(255, 255, 255, 0.5);
}

.image-view-related-data {
    position: sticky;
    top: 20px;
}

.image-view-buttons {
    position: absolute;
    right: 5px;
    top: 5px;
    background: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}

.image-view-buttons > a,
.image-view-buttons > span {
    display: inline-block;
    margin: 5px;
}

.image-view-item:hover .image-view-buttons {
    opacity: 1;
}

/*endregion*/

/*region tables*/
.width-5 {
    width: 5%;
}

.width-10 {
    width: 10%;
}

.b-l-3 {
    border-left-width: 3px !important;
}

/*endregion*/


/*region client-lock*/
.client-lock-btn.locked {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.client-lock-btn.locked-by-me {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.table .client-lock-btn.btn-xs {
    padding: 0 3px;
    font-size: 10px;
}

/*endregion*/

.success-row {
    background-color: #d6eacb !important;
}

.danger-row {
    background-color: #e4b9b9 !important;
}

.warning-row {
    background-color: #fff3cd !important;
}

.warning,
.block.block_alert {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: 100%;
    line-height: 1.4;
    color: #676a6c;
    box-sizing: border-box;
    background: #ffe360;
    padding: 15px;
    text-align: center;
    font-size: 13px;
    font-weight: 400;
}


/*region bootstrap*/
.krajee-datepicker[value=""], .krajee-datepicker:not([value]) {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url("../img/calendar-solid.svg");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

/*endregion*/


/*region ScoringResult*/
.scoring-result {
    padding: 0;
    overflow: hidden;
}

.scoring-result-content {
    padding: 15px;
}

.scoring-result-explain {
    background: #fff;
    padding: 15px;
    border-radius: 0 0 4px 4px;
    color: #676a6c;
}

.scoring-result-items {
    width: 100%;
}

.scoring-result-item {
    vertical-align: top;
}

.scoring-result-log {
    text-decoration: underline;
    cursor: pointer;
}

.scoring-result-item-log {
    display: none;
    margin-left: 15px;
}

.scoring-result-correction {
    width: 1%;
    text-align: right;
    padding-right: 5px;
    font-weight: bold;
}

.scoring-result-description ul {
    padding-left: 20px;
    margin-bottom: 0;
}

/*endregion*/


.loan-lock-and-decision-table td {
    padding-right: 20px;
}

.table-legend {
}

.table-legend_caption {
    font-weight: bold;
    vertical-align: top;
    padding-right: 20px;
}

.table-legend_caption,
.table-legend_description {
    padding-top: 4px;
    padding-bottom: 4px;
    vertical-align: top;
    line-height: 1.4;
}

.table-legend_description {
    vertical-align: top;
}

/*region margins*/
.m-r-30 {
    margin-right: 30px;
}

/*endregion*/

.ui-autocomplete {
    max-height: 320px;
    overflow-y: scroll;
    overflow-x: hidden;
}


.promocode {

    position: absolute;
    right: 0;
    top: 0;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;

    font-weight: 700;
    font-size: 18px;
    color: #00ce6b;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;


}

.promocode img {
    display: block;
    margin-right: 10px;
}


.promocode.promocode_red {
    color: #ff3036;
}

.promocode.promocode_inline {
    position: static;
    margin-bottom: 0;
}

.promocode-deposit > div {
    margin: 0 5px;
}

.promocode-deposit .amount {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.05em;
}

.promocode-deposit {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

table.empty-table-success > tbody > tr:nth-of-type(odd) {
    background-color: #dff0d8;
    color: #3c763d;
}


.d-none {
    display: none;
}

.d-block {
    display: block;
}

.accrual-widget .card {
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

form.font-size-responsive label {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

form.font-size-responsive label:hover {
    display: inline-flex;
    position: relative;
    left: 50%;
    min-width: 100%;
    transform: translateX(-50%);
    overflow: visible;
}

.card-block {
    border: 1px solid #e3e3e3;
    padding: 15px;
}

.text-break {
    word-break: break-all;
}

.auto-decision-log-result-list > div {
    margin-bottom: 10px;
}

.auto-decision-log-result-list > div:last-child {
    margin-bottom: 0;
}

div.file-preview {
    width: 50% !important;
}

div.file-preview div.file-drop-zone {
    min-height: 213px !important;
}

.filter-row .btn {
    margin-bottom: 5px;
}

.filter-row .filter-group-btn {
    margin-top: 5px;
    margin-bottom: 7px;
}

.filter-row .row > .filter-group-btn {
    margin-top: 0;
}

.filter-row .form-group {
    margin-bottom: 0;
}

.filter-row .help-block:empty {
    margin-bottom: 3px;
}

.card_others h2 {
    padding: 0 15px;
}

.card_row {
    padding: 0 15px 15px 15px;
}

.card_row_odd {
    background: #e8e5e5;
}

.table-fixed-block {
    margin-left: 120px;
    position: static;
}

.table-fixed-block tr :first-child {
    border-right-width: 3px;
    width: 120px;
    height: 35px;
    position: absolute;
    margin-left: -120px;
    color: #000;
}

@media (max-width: 480px) {
    h1, .h1 {
        font-size: 25px;
    }

    .kv-table-wrap tr > th,
    .kv-table-wrap tr > td,
    .kv-table-wrap tr > td:first-child {
        font-size: 1.0em;
    }

    .table-responsive > .table > thead > tr > th,
    .table-responsive > .table > tbody > tr > th,
    .table-responsive > .table > tfoot > tr > th,
    .table-responsive > .table > thead > tr > td,
    .table-responsive > .table > tbody > tr > td,
    .table-responsive > .table > tfoot > tr > td {
        white-space: normal;
    }

    .loan-lock-and-decision-table td {
        padding-right: 5px;
    }
}

.legend-mt {
    margin-top: 35px;
}

.analytics-filter {
    margin-top: 11px;
}

.transaction-import-item__error-row {
    background-color: #f2dede !important;
}

.transaction-import__error-row {
    background-color: #f2dede !important;;
}

.transaction-import__success-row {
    background-color: #def2de !important;;
}

.transaction-transaction-import-item__params td + td {
    padding-left: 5px;
}

.pseudo-link {
    border-bottom: 1px dotted #676a6c;
    cursor: pointer;
}

.settings-btn {
    top: 0;
    vertical-align: middle;
}

.legal-collector-scoring__outer {
    min-width: 130px;
}

.legal-collector-scoring__icon {
    display: inline-block;
    margin-left: 4px;
    cursor: pointer;
}

.btn-group > .dropdown-menu > li > button {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333333;
    white-space: nowrap;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
}

.btn-group > .dropdown-menu > li > button:hover {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}
