/* FONTS */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* COMMON */

.xdebug-error {
    /*opacity: .2;*/
}

body {
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    background-color: #ECEFF1 !important;
}

.badge{
    font-weight: 400;
}

body.login-page {
    background-color: #444e59 !important;
}


.btn-primary {
    background-color: #2f7db1!important;
    border-color: #2f7db1!important;
}

a {
    color: #2f7db1;
}

.btn-success {
    background-color: #2db16c!important;
    border-color: #2db16c!important;
}

.btn-warning {
    background-color: #ffd865!important;
    border-color: #ffd865!important;
}

.btn-danger{
    background-color: #dc3545!important;
    border-color: #dc3545!important;
}

.border-green{
    border-color: #00c853;
}

.bg-green{
    background: #00c853;
}

.nav-item{
    margin-right: 10px;
}

.form-control, .btn {
    font-size: 14px;
}

.h2, h2 {
    font-size: 1.5rem;
}

/* SIDEBAR */

#sidebar-wrapper {
    min-height: 100vh;
    margin-left: -15rem;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
}

#sidebar-wrapper > .list-group > .list-group-item:not(.collapse .list-group-item) {
    padding: 12px 20px !important;
}

#sidebar-wrapper .collapse .list-group-item, #sidebar-wrapper .collapsing .list-group-item {
    padding-left: 46px !important;
    padding: 8px 20px 8px 46px !important;
    font-size: 13px;
}

#sidebar-wrapper svg.feather {
    width: 18px;
    height: 18px;
    margin-top: -4px;
    margin-right: 4px;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#page-content-wrapper {
    min-width: 100vw;
    margin-bottom: 15px;
}

#page-content-wrapper nav {
    margin-bottom: 0.675rem;
}

.fi12 {
    width: 16px;
    height: 16px;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}

/* CUSTOM */

.text-error {
    color: red;
}

.toast {
    min-width: 20vw;
}

.toast-mark {
    width: 14px;
    height: 14px;
    background-color: #666;
    margin-right: 5px;
    border-radius: 14px;
}

.bg-error {
    background-color: crimson;
}

.table td, .table th {
    padding: 6px 8px;
}

.table-warning, .table-warning > td, .table-warning > th {
    background-color: #fffaea;
}

.table-danger, .table-danger > td, .table-danger > th {
    background-color: #ffd6da;
}

.btn-link {
    color: #212529;
}

.btn-link:hover {
    color: #393939;
    text-decoration: underline;
}

/* REPORTS */

#goods_loader {
    width: 14px;
    height: 14px;
    animation: 1s linear 0s normal none infinite running rot360;
    -webkit-animation: 1s linear 0s normal none infinite running rot360;
}

#car_loader {
    width: 14px;
    height: 14px;
    animation: 1s linear 0s normal none infinite running rot360;
    -webkit-animation: 1s linear 0s normal none infinite running rot360;
}

/* LOGIN */

#frm_login {
    width: 500px;
}

/* ROTATION */

@keyframes rot360 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rot360 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.kap_compare_page .relative-label {
    width: 10px;
    height: 10px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 100%;
}


.kap_compare_page td {
    position: relative;
    height: 40px;
}

.kap_compare_page td .match {
    position: absolute;
    font-size: 12px;
    left: 5px;
    bottom: 0px;
    color: green;
}

.kap_compare_page td .not_match {
    position: absolute;
    font-size: 12px;
    left: 5px;
    bottom: 0px;
    color: red;
}


.kap_compare_page .relative-label-1 {
    background-color: #9c71c7;
}

.kap_compare_page .relative-label-2 {
    background-color: #72ce89;
}

.kap_compare_page .relative-label-3 {
    background-color: #fd9785;
}

.kap_compare_page .relative-label-4 {
    background-color: #00aedabe;
}

.kap_compare_page .match {
    background-color: #ecfbec;
}

.kap_compare_page .not_match {
    background-color: #f7f0f0;
}


.preloader-floating-circles {
    position: relative;
    width: 80px;
    height: 80px;
    margin: auto;
    transform: scale(0.6);
    -o-transform: scale(0.6);
    -ms-transform: scale(0.6);
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
}

.preloader-floating-circles .f_circleG {
    position: absolute;
    background-color: rgb(255, 255, 255);
    height: 14px;
    width: 14px;
    border-radius: 7px;
    -o-border-radius: 7px;
    -ms-border-radius: 7px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    animation-name: f_fadeG;
    -o-animation-name: f_fadeG;
    -ms-animation-name: f_fadeG;
    -webkit-animation-name: f_fadeG;
    -moz-animation-name: f_fadeG;
    animation-duration: 0.672s;
    -o-animation-duration: 0.672s;
    -ms-animation-duration: 0.672s;
    -webkit-animation-duration: 0.672s;
    -moz-animation-duration: 0.672s;
    animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-direction: normal;
    -o-animation-direction: normal;
    -ms-animation-direction: normal;
    -webkit-animation-direction: normal;
    -moz-animation-direction: normal;
}

#frotateG_01 {
    left: 0;
    top: 32px;
    animation-delay: 0.2495s;
    -o-animation-delay: 0.2495s;
    -ms-animation-delay: 0.2495s;
    -webkit-animation-delay: 0.2495s;
    -moz-animation-delay: 0.2495s;
}

#frotateG_02 {
    left: 9px;
    top: 9px;
    animation-delay: 0.336s;
    -o-animation-delay: 0.336s;
    -ms-animation-delay: 0.336s;
    -webkit-animation-delay: 0.336s;
    -moz-animation-delay: 0.336s;
}

#frotateG_03 {
    left: 32px;
    top: 0;
    animation-delay: 0.4225s;
    -o-animation-delay: 0.4225s;
    -ms-animation-delay: 0.4225s;
    -webkit-animation-delay: 0.4225s;
    -moz-animation-delay: 0.4225s;
}

#frotateG_04 {
    right: 9px;
    top: 9px;
    animation-delay: 0.509s;
    -o-animation-delay: 0.509s;
    -ms-animation-delay: 0.509s;
    -webkit-animation-delay: 0.509s;
    -moz-animation-delay: 0.509s;
}

#frotateG_05 {
    right: 0;
    top: 32px;
    animation-delay: 0.5955s;
    -o-animation-delay: 0.5955s;
    -ms-animation-delay: 0.5955s;
    -webkit-animation-delay: 0.5955s;
    -moz-animation-delay: 0.5955s;
}

#frotateG_06 {
    right: 9px;
    bottom: 9px;
    animation-delay: 0.672s;
    -o-animation-delay: 0.672s;
    -ms-animation-delay: 0.672s;
    -webkit-animation-delay: 0.672s;
    -moz-animation-delay: 0.672s;
}

#frotateG_07 {
    left: 32px;
    bottom: 0;
    animation-delay: 0.7585s;
    -o-animation-delay: 0.7585s;
    -ms-animation-delay: 0.7585s;
    -webkit-animation-delay: 0.7585s;
    -moz-animation-delay: 0.7585s;
}

#frotateG_08 {
    left: 9px;
    bottom: 9px;
    animation-delay: 0.845s;
    -o-animation-delay: 0.845s;
    -ms-animation-delay: 0.845s;
    -webkit-animation-delay: 0.845s;
    -moz-animation-delay: 0.845s;
}


@keyframes f_fadeG {
    0% {
        background-color: rgb(0, 0, 0);
    }

    100% {
        background-color: rgb(255, 255, 255);
    }
}


@-o-keyframes f_fadeG {
    0% {
        background-color: rgb(0, 0, 0);
    }

    100% {
        background-color: rgb(255, 255, 255);
    }
}


@-ms-keyframes f_fadeG {
    0% {
        background-color: rgb(0, 0, 0);
    }

    100% {
        background-color: rgb(255, 255, 255);
    }
}


@-webkit-keyframes f_fadeG {
    0% {
        background-color: rgb(0, 0, 0);
    }

    100% {
        background-color: rgb(255, 255, 255);
    }
}


@-moz-keyframes f_fadeG {
    0% {
        background-color: rgb(0, 0, 0);
    }

    100% {
        background-color: rgb(255, 255, 255);
    }
}


.order-executor {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.order-status {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 10px;
}

.order-status .watchers .list {
    font-size: 12px;
    border-top: 1px solid;
    padding: 4px;
    margin-top: 4px;
    color: #1e6a7b;
}

.order-status.view .watchers .list {
    display: flex;
    flex-wrap: wrap;
}

.order-status.view {
    font-size: 18px;
}

.order-status.view .line {
    margin-bottom: 10px;
}

.order-status.view .watchers .list div {
    margin-right: 10px;
    margin-left: 0;
    font-size: 14px;
}

.order-status .line {
    display: block;
    margin-bottom: 5px;
}

.chat-watchers{
    height: calc(100% - 90px);
}

.chat-watchers .chat-area .chat_datetime {
    font-size: 12px;
}

.chat-watchers .chat-area {
    background: #fff;
    height: 100%;
}

.chat-watchers .actions {
    display: flex;
    flex-direction: row;
}

.chat-watchers .chat-area .chat.current {
    align-self: flex-end;
    text-align: right;
    background: #f7fdf7;
}

.chat-watchers .chat-area .chat {
    padding: 10px;
    align-self: flex-start;
    text-align: left;
    border-radius: 8px;
    margin: 5px;
    background: #f8f8ff;
}

.chat-watchers .chat-list {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    max-height: 229px;
    height: calc(100% - 60px);
}

.chat-watchers .chat-area .chat_user {
    font-weight: 600;
    font-size: 12px;
}

.order_timeline_card {
    padding: 25px 0;
    display: flex;
    justify-content: left;
    overflow-x: auto;
}

.order_timeline_card .timeline_item .data {
    width: 220px;
    text-align: center;
}

.order_timeline_card .timeline_item .data .description {
    background: #f5f9ff;
    border-radius: 4px;
    padding: 4px;
    font-size: 12px;
}

.order_timeline_card .timeline_item.check .description {
    background: #E9FFEBB2;
    border-radius: 3px;
}

.order_timeline_card .timeline_item.check .icon {
    background: #d9efd7;
}

.order_timeline_card .timeline_item.check .line {
    border-color: #c8e1c6;
}

.order_timeline_card .timeline_item.active .icon {
    width: 54px;
    height: 54px;
    margin-top: -8px;
    background-color: #007bff;
}

.order_timeline_card .timeline_item.active .icon i {
    font-size: 30px;
    color: #fff !important;
}

.order_timeline_card .timeline_item.active .title {
    font-weight: 600;
}

.order_timeline_card .timeline_content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.order_timeline_card .timeline_item {
    position: relative;
    margin-right: 48px;
}

.order_timeline_card .timeline_item .data .title {
    font-size: 14px;
    margin-bottom: 10px;
}

.order_timeline_card .timeline_item:last-child .line {
    display: none !important;
}

.order_timeline_card .timeline_item .icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: #e1e1e1;
    margin-bottom: 10px;
}

.order_timeline_card .timeline_item .line {
    border-top: .25rem dotted #9b9b9b;
    width: 10rem;
    position: absolute;
    left: 160px;
    top: 18px;
}

.order_timeline_card .timeline_item .icon i {
    font-size: 20px;
}

.order_timeline_card .timeline_item hr {
    margin: 2px 0;
}

.order_timeline_card .timeline_item {
    position: relative;
}

.order_timeline_card .timeline_item.active .current-status {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.order_timeline_card .timeline_item.active .current-status i {
    font-size: 14px;
    color: #007bff !important;
}

.order_timeline_wrapper {
    width: 100%;
}

table.dataTable.select tbody tr,
table.dataTable thead th:first-child {
    cursor: pointer;
}

div.dataTables_wrapper div.dataTables_processing {
    padding-top: 5px;
    top: 50% !important;
    font-weight: bold;
    z-index: 11000 !important;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

colgroup col.success {
    background-color: #FFA07A;
}

colgroup col.error {
    background-color: #FFB6C1;
}

colgroup col.warning {
    background-color: #FFFFE0;
}

#userAcceptForm.collapse {
    transition: none !important;
}

#userAcceptForm.collapsing {
    transition: none !important;
}

#car_vin {
    text-transform: uppercase;
}

#new_kap_info_table td {
    padding: 4px;
}

#kap_table td:nth-child(2n) {
    background-color: #f5f7f5;
}

#kap_table td {
    width: 240px;
    min-width: 240px;
}

#kap_table td:first-child {
    font-weight: 600;
}

.hidden {
    display: none !important;
}

.btn.btn-green {
    background-color: #40bd51 !important;
    color: #fff !important;
}

.bootstrap-select .dropdown-menu li a span.text {
    text-wrap: auto;
}

.dataTable tr.odd {
    background-color: #fff8ff;
}

input.readonly, select.readonly {
    pointer-events: none;
}

.modal.kap_info_modal .card td:first-child {
    width: 400px;
}

.modal.kap_info_modal .card td:nth-child(2n) {
    width: calc(100% - 400px);
}

.modal.kap_info_modal .card tr {
    border: 1px solid #ddd;
    padding: 2px 2px;
}

.file-loader {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.login-page .card.w-25 {
    min-width: 360px;
}


.bg-dark {
    background-color: #262d33 !important;
}

#viewCarList {
    /*opacity: .5;*/
}

.kap-btn { width: 50px; }

.container-fluid .bank-table{
    table-layout: fixed;
}
.offset-fund-executor-card .card-body {
    min-height: calc(100% - 60px);
}

.offset-fund-executor-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.offset-fund-chat {
    min-height: 0;
}

.offset-fund-chat-title {
    margin-bottom: 12px;
}

.offset-fund-chat-subtitle {
    display: block;
    font-size: 12px;
    color: #6c757d;
}

.offset-fund-chat-box {
    flex: 1 1 auto;
    min-height: 0;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
    overflow: hidden;
    max-height: 158px;
}

.chat-list {
    height: 100%;
    overflow-y: auto;
}

.offset-fund-chat-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.offset-fund-chat-form textarea {
    resize: none;
}
