a {
    transition: .2s;
}

.p-i-0 {
    padding: 0 !important;
}

.m-t-i-0 {
    margin-top: 0 !important;
}

.ml-px5 {
    margin-left: 5px;
}

.my-1-px{
    margin-top: 2px;
    margin-bottom: 2px;
}

.my-5-px{
    margin-top: 5px;
    margin-bottom: 5px;
}

.radius-0 {
    border-radius: 0;
}

.border-top-1 {
    border-top: 1px solid rgb(255 255 255 / 13%);
}

.stroke-width-5 {
    stroke-width: 5px;
}

.collapse-arrow-text:after {
    content: 'Раскрыть';
    transition: .25s;
}

.rotate .collapse-arrow-text:after {
    content: 'Скрыть';
}

#loader-wrapper {
    font: 1em/1.5 sans-serif;
    height: 100vh;
    display: grid;
    place-items: center;
    transition: background-color 0.3s;
}

.knowledge-base-bg {
    background: #7367F0;
    background: linear-gradient(rgba(12, 0, 139, .6), rgba(12, 0, 139, .6)), url(/assets/images/banner/scrap_pattern.png) bottom;
}

.action-list-delete-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 999;
}

.metal-choose-item {
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    height: 95px;
    width: 95px;
    transition: .25s;
    cursor: pointer;
    background-size: cover !important;
    color: #FFFFFF;
}

.metal-choose-item.active {
    border-color: green;
}

.metal-choose-item .item-name {
    font-size: 10px;
    font-weight: bold;
    padding: 7px;
}

.metal-choose-item.category .item-name {
    font-size: 12px;
    padding: 4px;
}

.table svg {
    width: 20px;
    height: 20px;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-14 {
    font-size: 14px !important;
}

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

.fs-11 {
    font-size: 11px !important;
}

.fs-9 {
    font-size: 9px !important;
}

.fs-8 {
    font-size: 8px !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child {
    padding-left: 0;
}

/*.dark-layout .table .thead tr:not([class*='table-']) th,*/
/*.dark-layout .table .thead tr:not([class*='table-']) td,*/
/*.dark-layout .table tbody tr:not([class*='table-']) th,*/
/*.dark-layout .table tbody tr:not([class*='table-']) td {*/
/*    max-width: 25px !important;*/
/*}*/

table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
    content: "";
    right: 0 !important;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:before {
    top: 0.7rem !important;
}


::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: transparent;
}

::-webkit-scrollbar {
    width: 1rem;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #7367F0;
    border: 5px solid #283046;
    border-radius: 33px;
}

body::-webkit-scrollbar-thumb {
    border: 5px solid #161d31;
}

.modal::-webkit-scrollbar-thumb {
    border: 5px solid #1c2330;
}

.modal .modal-body, .modal .modal-header, .modal .modal-content {
    border-radius: 8px;
}

/*.main-menu.menu-native-scroll .main-menu-content {*/
/*    overflow-y: hidden !important;*/
/*}*/

.main-menu.menu-native-scroll .main-menu-content:hover {
    overflow-y: scroll !important;
}

.mr-05 {
    margin-right: .5rem;
}

/*.dt-button.buttons-excel {*/
/*    padding: 0;*/
/*    background: transparent;*/
/*    border: none;*/
/*    margin: 10px 0 0 15px;*/
/*    border-radius: 0.428rem;*/
/*}*/

#metal-list-wrapper tbody .child ul {
    width: 100%;
}

#metal-list-wrapper tbody .child li span {
    width: 100%;
    text-align: center;
}

#metal-list-wrapper tbody .child svg {
    margin: 0 0 5px;
}

.dataTables_length {
    float: left;
    /*margin: 10px 15px;*/
}

#metal_list_table_filter {
    float: right;
    margin: 10px 15px;
}

.mxw-150 {
    max-width: 150px;
}

.menu-card {
    border: 2px solid #283046;
    transition: .4s;
}

.menu-card:hover {
    border-color: orange;
}

.min-w-130 {
    min-width: 130px;
}

div.dt-buttons {
    text-align: left;
}

.brand-logo img {
    background: #fff;
    border-radius: 10px;
    padding: 3px;
}

.w-min-content {
    width: min-content;
}

.w-max-content {
    width: max-content;
}

.w-10-px {
    width: 10px;
}

table.dataTable td, table.dataTable th {
    padding: 0.72rem 0.72rem;
}

.table thead tr th, .table tfoot tr th {
    font-size: 11px;
}

.disabled-op-1 {
    opacity: 1 !important;
    cursor: not-allowed;
}

.dark-layout .select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
    color: #B4B7BD !important;
}

.select2-sm .select2-container .select2-selection {
    height: 30px !important;
    font-size: 12px !important;
}

.select2-container--default .select2-results__group {
    color: #FF9F43;
}

.select2-container--classic .select-sm.select2-selection--multiple .select2-selection__choice,
.select2-container--default .select-sm.select2-selection--multiple .select2-selection__choice {
    padding: 0.2rem 0.5rem;
}

.select2-results__option[aria-selected] {
    font-weight: bold;
}

.is-invalid .select2-container .select2-selection {
    border-color: rgb(185, 74, 72) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered, input {
    font-weight: bold !important;
    font-size: 14px !important;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 330px !important;
}

#filter-button, .floating-button {
    position: fixed;
    bottom: 5%;
    left: 288px;
    z-index: 1031;
}

.hover-border-warning {
    border: 2px solid transparent;
}

.hover-border-warning:hover {
    transition: .5s;
    border: 2px solid #ff9f43;
}

.hover-warning .border-right, .hover-warning .product_title {
    transition: .5s;
}

.hover-warning:hover .border-right {
    border-color: #ff9f43 !important;
}

.hover-warning:hover .product_title {
    color: #ff9f43 !important;
}

.custom-file-input:lang(en) ~ .custom-file-label::after {
    content: 'Выбрать' !important;
}

.file-upload span {
    position: absolute;
    width: 100%;
    text-align: center;
    margin: auto;
    z-index: 0;
    left: 0;
    text-transform: uppercase;
    font-size: 16px;
}

.MultiFile-wrap {
    width: 100%;
    display: flex;
    align-items: center;
}

.file-upload .photo_upload_input, .file-upload .video-upload-input {
    -moz-transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.03);
    width: 100%;
    height: 70px;
    text-align: center;
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding: 70px 0 0 0;
    overflow: hidden;
    z-index: 1;
    border: 2px dashed #ced4e1;
}

.file-upload {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.photo-upload-previews span.MultiFile-label, .video-upload-previews span.MultiFile-label {
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    display: inline-block;
    margin: 10px;
}

span.MultiFile-label {
    margin: 0 10px;
}

.MultiFile-remove {
    position: absolute;
    top: 0;
    left: -10px;
    transform: translateY(-50%);
    font-size: 14px;
    background: #7974749e;
    color: white;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.MultiFile-remove:hover {
    color: white;
}

div.MultiFile-label {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.03);
    display: inline-block;
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: relative;
    margin-right: 10px;
    width: 100%;
    margin-bottom: 5px;
}

.photo-upload-previews span.MultiFile-label .MultiFile-preview, .video-upload-previews span.MultiFile-label .MultiFile-preview {
    max-width: 125px !important;
    max-height: 80px !important;
}

.photo-upload-previews span.MultiFile-label .MultiFile-title, .video-upload-previews span.MultiFile-label .MultiFile-title {
    z-index: 2;
}

.file-history {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.03);
    display: inline-block;
    border: 2px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    position: relative;
    margin-right: 10px;
    width: 100%;
    margin-bottom: 5px;
}

.file-history .file-history-lable {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    display: inline-block;
    margin: 10px;
}

.file-history .file-history-preview {
    max-width: 125px !important;
    max-height: 80px !important;
}

.file-history .file-history-title {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 0;
    top: -5px;
    right: -5px;
    font-size: 11px;
    text-align: center;
    width: 15px;
    height: 15px;
    line-height: 1;
    overflow: hidden;
    z-index: 1;
    font-weight: bolder;
    border-radius: 100%;
    border: 2px solid rgba(0, 0, 0, 0.95);
    transition: .25s;
}

.file-history .file-history-title:hover {
    border: 2px solid #ea5455;
}

.delete_query_image {
    cursor: pointer;
}

.photo-upload-previews span.MultiFile-label .MultiFile-title, .video-upload-previews span.MultiFile-label .MultiFile-title {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 10px;
    bottom: 0;
    font-size: 12px;
    text-align: center;
    width: 100%;
    line-height: 1.4;
    overflow: hidden;
}

.file-upload {
    position: relative;
}

.file-upload span {
    position: absolute;
    width: 100%;
    text-align: center;
    margin: auto;
    z-index: 0;
    left: 0;
    text-transform: uppercase;
    font-size: 14px;
}

.file-upload .photo_upload_input, .file-upload .video-upload-input {
    -moz-transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.03);
    width: 100%;
    height: 70px;
    text-align: center;
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding: 70px 0 0 0;
    overflow: hidden;
    z-index: 1;
    border: 2px dashed #ced4e1;
}

.file-upload .photo_upload_input:hover, .file-upload .video-upload-input:hover {
    border-color: #021f4a;
}

.main-menu .navbar-header {
    display: grid;
}

.main-menu .navbar-header .navbar-brand {
    margin-top: unset !important;
}

.main-menu .navbar-header .navbar-brand .brand-text {
    font-size: 1.1rem;
    line-height: 17px;
    color: #ffffff;
    max-width: 145px;
    text-wrap: initial;
}

.table-col-icon {
    border-radius: 100%;
    width: 35px;
    height: 35px;
    background: #fff;
    margin: 0 auto;
}

.table-col-icon img {
    width: inherit;
    height: inherit;
    padding: 5px;
}

.text-decoration-underline {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.navigation {
    font-size: 1rem;
}

.category-metal-img-32 {
    width: 32px;
    height: 32px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 50%;
    font-size: .857rem;
}

.category-metal-img-32 img {
    object-fit: cover;
    width: inherit;
    height: inherit;
}

.vertical-center {
    vertical-align: center;
}

.horizontal-nav {
    white-space: nowrap;
    display: inline-block;
    overflow: auto;
    overflow-y: hidden;
    max-width: 100%;
}

.horizontal-nav::-webkit-scrollbar-track,
.horizontal-nav::-webkit-scrollbar,
.horizontal-nav::-webkit-scrollbar-thumb {
    display: none;
}

.horizontal-nav li {
    display: inline-block;
    vertical-align: top;
}

.nav-cs.nav-tabs {
    border-bottom: 1px solid rgb(255 255 255 / 60%);
    width: 100%;
    border-radius: 0;
}

.nav-cs.nav-tabs .nav-item.show .nav-link, .nav-cs.nav-tabs .nav-link.active {
    color: #ffffff !important;
    background-color: #7367f0bf !important;
    border-color: #7367F0 !important;
}

.nav-cs.nav-tabs .nav-link:after {
    display: none !important;
}

.nav-cs.nav-tabs .nav-link {
    transition: .25s;
    margin-bottom: -1px;
    border: 1px #7367F0 solid;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    color: #7367F0;
}

.nav-cs.nav-tabs.tab-border-warning {
    border-bottom: 2px solid #FF9F43 !important;
}

.nav-cs.nav-tabs.tab-border-primary {
    border-bottom: 2px solid #7367F0 !important;
}

.nav-tabs .nav-item .nav-link {
    transition: .25s;
}

.nav-tabs .nav-item .nav-link:hover {
    color: #7367F0;
}

.vertical-layout.vertical-menu-modern .main-menu .navigation > li > a i, .vertical-layout.vertical-menu-modern .main-menu .navigation > li > a svg {
    margin-right: 0.8rem;
}

.hover-color-warning:hover {
    color: #FF9F43 !important;
}

.hover-color-primary:hover {
    color: #7367F0 !important;
}

.transition-025 {
    transition: .25s;
}

.psa-form-total {
    font-size: 1rem;
}

.form-control-border-bottom {
    border: none;
    border-bottom: 2px solid #404656;
    border-radius: 0;
}

.nav-vertical .nav.nav-tabs.nav-left ~ .tab-content .tab-pane {
    overflow-y: inherit !important;
}

.radius-l-50-px {
    border-bottom-left-radius: 50px !important;
    border-top-left-radius: 50px !important;
}

.radius-r-50-px {
    border-bottom-right-radius: 50px !important;
    border-top-right-radius: 50px !important;
}

.radius-8-px {
    border-radius: 8px;
}

.dark-layout .table.table-striped tbody tr:nth-of-type(odd) {
    transition: .25s;
}

.dark-layout .table.table-hover tbody tr:hover {
    background-color: #1e2332 !important;
}

table.dataTable.table-sm .sorting:before,
table.dataTable.table-sm .sorting_asc:before,
table.dataTable.table-sm .sorting_desc:before {
    top: 7px !important;
}

table.dataTable.table-sm .sorting:after,
table.dataTable.table-sm .sorting_asc:after,
table.dataTable.table-sm .sorting_desc:after {
    top: 17px !important;
}

.card {
    box-shadow: none !important;
}

.card .card-header {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgb(255 255 255 / 13%);
}

.card-body {
    padding: 1rem !important;
}

/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 99999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
}

.loading.show {
    display: block;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));

    background: -webkit-radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

.psa-relation-link {
    display: flex;
    align-items: center;
    height: 35px;
    width: auto;
    padding: 10px;
    transition: .2s;
}

.psa-relation-link:hover {
    border-style: dashed !important;
}

.no-wrap {
    text-wrap: nowrap;
}

/*Star rating*/
.star-rating {
    display: flex;
    flex-direction: row-reverse;
}

.star-rating input {
    width: 30px;
    height: 30px;
    appearance: none;
    cursor: pointer;
    line-height: 30px;
    text-align: center;
    font-size: 30px !important;
    outline: 0;
    transition: all 0.25s;
}

.star-rating input::after {
    color: grey;
    content: "\2605";
    transition: all 0.25s;
}

.star-rating input:checked::after, .star-rating input:hover::after, .star-rating input:checked ~ input::after, .star-rating input:hover ~ input::after {
    color: #FFD700;
    content: "★";
}

/* Animation */
@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 640px) {
    .star-rating input {
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 20px !important;
    }

    #basic-and-outline-pills .split-card-item {
        padding: 12px 5px !important;
        font-size: 12px;
    }

    .psa-form-total {
        font-size: .7rem;
    }

    .horizontal-nav-sm {
        white-space: nowrap;
        display: inline-block;
        overflow: auto;
        overflow-y: hidden;
        max-width: 100%;
    }

    .horizontal-nav-sm::-webkit-scrollbar-track,
    .horizontal-nav-sm::-webkit-scrollbar,
    .horizontal-nav-sm::-webkit-scrollbar-thumb {
        display: none;
    }

    .horizontal-nav-sm li {
        display: inline-block;
        vertical-align: top;
    }

    .total-card .card-header .card-text {
        font-size: 12px;
        line-height: 1.2;
        font-weight: bolder !important;
    }

    .total-card .card-header h3 {
        font-size: 1.1rem;
    }

    #filter-button, .floating-button {
        right: 0;
        left: 16px;
    }

    .table thead tr th, .table tfoot tr th {
        font-size: 9px;
    }

    .dataTables_length label {
        margin: 0 !important;
    }

    .metal_list_table_filter label {
        margin-bottom: 0 !important;
    }

    table.dataTable td {
        font-size: 10px;
        padding: 10px 2px;
    }

    .table svg {
        width: 15px;
        height: 15px;
    }

    th.fs-16 {
        font-size: 14px !important;
    }

    .dataTables_length, #metal_list_table_filter {
        margin: 0 0 0 15px;
        float: left;
    }

}

