/*
Global
 */
* {
    min-width: 0;
    min-height: 0;
}

/*
Custom bootstrap 4
 */
.dropdown-menu-links {
    line-height: 1.34;
}
.dropdown-menu-links .dropdown-item {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}


/* Card */
.card-header,
.card-footer {
    padding: 0.75rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.card-title {
    margin: 0;
    line-height: 1;
}

.card-body {
    padding: 0.75rem;
}

.grid-view-control {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 5px;
}

.card-footer-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 5px;
}

.card-header-title {
    font-weight: 500;
    font-size: 18px;
    color: #343a40;
}

/* Card table */
.card-table {
    margin: -1px;
}
.card-table .table {
    margin: 0 !important;
}
.card-table .summary {
    padding: 0.35rem 0.75rem;
    margin: 0;
}
.card-table .pagination {
    padding: 0.25rem;
}
.card-table-bottom-text {
    padding: 0.35rem 0.75rem;
}


/*
Site
 */
body {
    min-width: 320px;
}

@media(min-width:768px) {
    .container,
    .container-sm,
    .container-md {
        max-width: 100%;
    }
}
@media(min-width:576px) {
    .container,
    .container-sm,
    .container-md {
        max-width: 100%;
    }
}

@media(min-width:1000px) {
    .container {
        max-width: 1270px;
    }
}
@media(min-width:1270px) {
    .container {
        max-width: 1320px;
    }
}


main > .container {
    padding: 80px 15px 20px;
}

.footer {
    flex: none;
    padding: 30px 0;
    background-color: #f5f5f5;
    font-size: .9em;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
    display: flex;
    align-items: center;
}
.footer-left {
    flex: 1 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-right {
    flex: none;
    display: flex;
    align-items: center;
}
.footer-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-nav a {
    text-decoration: none;
}

@media(max-width:767px) {
    .footer > .container {
        flex-direction: column-reverse;
        gap: 16px;
    }
    .footer-nav {
        justify-content: center;
        gap: 8px;
    }
}


@media(min-width:767px) and (max-width:867px) {
    .header-panel {
        min-height: 56px;
        padding-top: 3px;
        padding-bottom: 3px;
    }
    .header-panel .navbar-nav {
        justify-content: flex-end;
    }
    .header-panel .navbar-nav .nav-link {
        padding-top: 0;
        padding-bottom: 0;
    }
    .header-panel .navbar-nav .dropdown-menu {
        left: auto;
        right: 0;
    }
}


.not-set {
    color: #c55;
    font-style: italic;
}

/* Bootstrap */
.mt-4 {
    margin-top: 2rem;
}
.mb-4 {
    margin-bottom: 2rem;
}

.text-bold {
    font-weight: bold;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

/* Default bootstrap */
.breadcrumb {
    padding: 0.4rem 1rem;
    display: block;
}
.breadcrumb li {
    display: inline;
}
.breadcrumb a {
    display: inline;
}
.breadcrumb-item + .breadcrumb-item::before {
    display: inline;
    float: none;
}


.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.btn {
    min-height: 38px;
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    gap: 8px;
}
.btn-sm {
    min-height: 31px;
}
.btn-mc {
    width: auto;
    height: auto;
    min-width: 18px;
    min-height: 18px;
    padding: 1px 2px 2px 2px;
    font-size: 12px;
}
.btn-only-icon {
    min-height: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: 0;
}

.btn-only-icon-withdraw {
    min-height: auto;
    height: auto;
    padding: 0 4px;
    border: 0;
    margin: -3px 0;
    gap: 4px;
    font-weight: bold;
    font-size: 11px;
    color: rgba(40, 167, 69, 0.7);
    background: 0 !important;
    transition: color 0.3s ease;
}
.icon-btn-faq-withdraw {
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: top;
    background: no-repeat 0 0 url(/img/icons/btn-faq-withdraw.svg);
    background-size: 100% 100%;
}
.btn-only-icon-withdraw .icon-btn-faq-withdraw {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.btn-only-icon-withdraw:hover {
    color: #28a745;
}
.btn-only-icon-withdraw:hover .icon-btn-faq-withdraw {
    opacity: 1;
}

.tippy-tooltip-faq-withdraw {
    font-weight: 400;
    color: #a9faba;
    text-align: center;
}
.tippy-tooltip-faq-withdraw a {
    color: #f3f3f3;
    text-decoration: underline;
}
.tippy-tooltip-faq-withdraw a:hover {
    color: #fff;
    text-decoration: none;
}

.btn.text-warning {
    color: #e7af09 !important;
}


.btn-pseudo-link {
    height: auto;
    min-height: auto;
    line-height: 1.24;
    padding: 0;
    color: #007bff;
    border-bottom: 1px dashed #007bff;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.btn-pseudo-link:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
}

.btn-change-price {
    vertical-align: baseline;
    margin: 0 0 0 4px;
}

.summary {
    margin: 0 0 8px 0;
}


select.form-control option[disabled] {
    color: #ccc;
}


.table {
    font-size: 14px;
}
.table thead {
    font-weight: 500;
    font-size: 14px;
    color: #333;
    line-height: 1.14;
}

.table th,
.table td {
    padding: 0.35rem 0.75rem;
    line-height: 1.34;
}
.table-striped tbody tr {
    transition: background-color 0.3s ease;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.01);
}
.table-striped tbody tr:hover {
    background-color: rgba(52, 58, 64, 0.1);
}


/* Form fields */
.form-group {
    margin-bottom: 0.5rem;
}
.form-group > label,
div[data-attribute-id] > label,
div[data-attribute-id] > .custom-checkbox > .custom-control-label {
    margin-bottom: 0.3rem;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}
.form-group .form-text small,
.form-group .form-text .small {
    font-size: 13px;
    font-weight: 400;
}
.invalid-feedback {
    font-weight: bold;
    font-size: 12px;
}

/*
Форма редактирования цены
 */
.input-group-price label {
    margin: 0;
}


/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/* fix pagination */
.pagination {
    flex-wrap: wrap;
}
.pagination .page-link {
    position: relative;
}
.pagination .page-link-icon::after {
    width: auto;
    height: auto;
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.pagination .disabled {
    cursor: default;
    background: #eee;
}
.pagination .disabled .page-link-icon {
    pointer-events: none;
}
.pagination .disabled .page-link-icon::after {
    display: none;
}



/* Checkbox sizes */

.checkbox-lg .custom-control-label::before,
.checkbox-lg .custom-control-label::after {
    top: .8rem;
    width: 1.55rem;
    height: 1.55rem;
}

.checkbox-lg .custom-control-label {
    padding-top: 13px;
    padding-left: 6px;
}


.checkbox-xl .custom-control-label::before,
.checkbox-xl .custom-control-label::after {
    top: 1.2rem;
    width: 1.85rem;
    height: 1.85rem;
}

.checkbox-xl .custom-control-label {
    padding-top: 23px;
    padding-left: 10px;
}


@media(max-width:1200px) {
    .grid-view {
        overflow: hidden;
        overflow-x: auto;
    }
    .grid-view th,
    .grid-view td:last-child {
        white-space: normal;
    }
}


/*
Показываем звездочку для принудительных к заполнению полей
 */
.form-group.required .control-label::after,
.form-group.required > label::after,
.input-group-required label::after,
.field-attributes div[data-attribute-id].required > label::after,
.form-group .control-label[for="notificationform-user_id"]::after,
.form-group .control-label[for="contact-info-field"]::after,
div.required[data-attribute-id] .control-label::after {
    content: ' *';
    font-weight: bold;
    color: #dd4b39;
}

/*
Оформляем атрибуты
 */
.field-attributes {
    min-height: 50px;
    padding: 10px 10px 0;
    margin: 0 0 20px;
    border: 1px dashed #ccc;
    background: #fbfbfb;
    border-radius: 5px;
}
.field-attributes .form-group {
    padding: 5px 0;
    margin: 0;
    border-top: 1px solid #eee;
}
.field-attributes .form-group:first-child {
    padding-top: 0;
    margin: 0;
    border-top: 0;
}
.field-attributes .form-group div div label {
    margin-right: 3px;
}
.field-attributes-apply {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    flex-wrap: wrap;
    font-weight: bold;
    font-size: 11px;
}
.field-attributes-apply > label {
    padding: 1px 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #eee;
    margin: 0;
    border-radius: 2px;
}
.field-attributes-apply > label input {
    margin: 0;
}

/*
Поле гарантии
 */
.form-group--guarantee {
    width: 190px;
    max-width: 100%;
}
@media(max-width:768px) {
    .form-group--guarantee {
        width: 100%;
    }
}
.form-group--guarantee .form-control {
    padding-top: 0;
    padding-bottom: 2px;
}

/* Чекбоксы приоритета по невалиду */
#productform-invalidpriorityresolving {
    display: flex;
    align-items: center;
    gap: 4px 14px;
    flex-wrap: wrap;
}


/* Loader для pjax форм */
@keyframes loaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
[data-pjax-container][data-pjax-loader="true"] {
    position: relative;
}
[data-pjax-container][data-pjax-loader="true"]::after {
    width: auto;
    height: auto;
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255,255,255,0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
[data-pjax-container][data-pjax-loader="true"]::before {
    content: ' ';
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #212529; /* Blue */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -15px 0 0 -15px;
    animation: loaderSpin 2s linear infinite;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
[data-pjax-container][data-pjax-loader="true"].form-loader-show::after,
[data-pjax-container][data-pjax-loader="true"].form-loader-show::before {
    opacity: 1;
    visibility: visible;
}



/* Loader line */
.line-loader {
    width: 100%;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.line-loader-centered {
    height: 80px;
    padding: 0 1rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    background: #fff;
}
.line-loader-move {
    height: 4px;
    width: 100%;
    display: block;
    background: linear-gradient(to right, #17a2b8 0%, #17a2b8 100%), linear-gradient(to right, #17a2b8 0%, #17a2b8 100%), #E4E4ED;
    background-size: 60% 100%;
    background-repeat: no-repeat;
    border-radius: 34px;
    animation: animLineLoader 1.5s infinite;
}

@keyframes animLineLoader {
    0% {
        background-position: -150% 0, -150% 0;
    }
    66% {
        background-position: 250% 0, -150% 0;
    }
    100% {
        background-position: 250% 0, 250% 0;
    }
}



/*
Просмотр товара
 */
.detail-view-controls {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}
.detail-view-controls .btn-success.border-left {
    border-left-color: #21943a !important;
}
.detail-view-controls .btn-warning.border-left {
    border-left-color: #e3ad09 !important;
}
.detail-view-controls-left {
    flex: 1 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.detail-view-controls-right {
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.detail-view-controls-right .form-control {
    width: auto;
}

@media all and (max-width: 992px) {
    .detail-view-controls-product {
        flex-direction: column;
    }
}
@media all and (max-width: 580px) {
    .card-header-scroll-mobile {
        padding: 0;
    }
    .card-header-scroll-mobile::after {
        width: 20px;
        height: auto;
        content: ' ';
        display: block;
        position: absolute;
        z-index: 2;
        right: 0;
        top: 0;
        bottom: 0;
        pointer-events: none;
        background: -moz-linear-gradient(left, rgba(247,247,247,0) 0%, rgba(247,247,247,1) 100%);
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(247,247,247,0)), color-stop(100%,rgba(247,247,247,1)));
        background: -webkit-linear-gradient(left, rgba(247,247,247,0) 0%,rgba(247,247,247,1) 100%);
        background: -o-linear-gradient(left, rgba(247,247,247,0) 0%,rgba(247,247,247,1) 100%);
        background: -ms-linear-gradient(left, rgba(247,247,247,0) 0%,rgba(247,247,247,1) 100%);
        background: linear-gradient(to right, rgba(247,247,247,0) 0%,rgba(247,247,247,1) 100%);
    }
    .card-header-scroll-mobile .detail-view-controls {
        padding: 0.75rem 1.75rem 0.75rem 0.75rem;
        flex-direction: row;
        gap: 0 0.75rem;
        flex-wrap: nowrap;
        overflow: hidden;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 0.75rem;
    }
    .card-header-scroll-mobile .detail-view-controls .btn {
        flex: none;
        scroll-snap-align: start;
    }
    .card-header-scroll-mobile .detail-view-controls-left,
    .card-header-scroll-mobile .detail-view-controls-right {
        flex: none;
        flex-wrap: nowrap;
        gap: 0 0.75rem;
    }
}

@media all and (max-width: 992px) {
    .detail-view-controls-shipment {
        flex-direction: column;
    }
    .detail-view-controls-shipment .form-control {
        width: auto;
    }
}


/* GV товаров */
.td--shop-url a {
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    word-break: break-word;
    font-size: 10px;
}
.td--created-at {
    white-space: nowrap;
}

.td--id {
    width: 80px;
}

.td--hold-status {
    width: 148px;
}

.td--name {
    word-break: break-word;
}
.td--product-name {
    font-size: 13px;
    word-break: break-word;
}
.td--client-id {
    font-size: 10px;
    white-space: nowrap;
}

.truncate-target {
    word-break: break-word;
}


/*
Mobile responsive
 */
.mobile-find-table-controls {
    display: none;
}
@media all and (max-width: 492px) {
    .mobile-find-table-controls-button-label {
        display: none;
    }
}
@media all and (max-width: 992px) {
    .mobile-find-table-controls {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
    }
    .mobile-find-table .table {
        display: block;
        padding-top: 0;
        border: 0;
    }
    .mobile-find-table .table thead {

    }
    .mobile-find-table .table thead,
    .mobile-find-table .table thead tr,
    .mobile-find-table .table thead td {
        display: block;
        padding: 0;
        margin: 0;
        border: 0;
    }


    [data-fly-toggle="mobile-gv-sort"] button[data-fly-toggle="mobile-gv-sort"] {
        opacity: 0.6;
    }
    [data-fly-toggle="mobile-gv-filter"] button[data-fly-toggle="mobile-gv-filter"] {
        opacity: 0.6;
    }

    /*
    Сортировка
     */
    .mobile-find-table .table thead tr.sorting {
        display: none;
        overflow: auto;
        margin: 0;
        /*white-space: nowrap;*/
    }
    [data-fly-toggle="mobile-gv-sort"] .mobile-find-table .table thead tr.sorting {
        padding: 1px;
        display: flex;
        flex-direction: column;
        gap: 1px;
        background: #dee2e6;
    }
    .mobile-find-table .table thead tr.sorting th {
        display: none;
        width: 100%;
        padding: 0 0.75rem;
        height: 36px;
        line-height: 34px;
        border: 0 !important;
        background: #fff;
    }
    .mobile-find-table .table thead tr.sorting th.td--allow-sort {
        display: block;
        white-space: nowrap;
    }
    .mobile-find-table .table thead tr.sorting a {
        white-space: nowrap;
    }


    /*
    Фильтр
     */
    .mobile-find-table .table thead tr.filters {
        padding: 10px;
        display: none;
        flex-direction: column;
        gap: 8px;
        margin: 0 0 10px 0;
        border: 1px solid #eee;
        background: #f9f9f9;
        border-radius: 5px;
    }
    [data-fly-toggle="mobile-gv-filter"] .mobile-find-table .table thead tr.filters {
        display: flex;
    }
    .mobile-find-table .table thead tr.filters td {
        display: none;
    }
    .mobile-find-table .table thead tr.filters td.td--allow-filter {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .mobile-find-table .table tbody,
    .mobile-find-table .table tr,
    .mobile-find-table .table td,
    .mobile-find-table .table td:first-child,
    .mobile-find-table .table td:last-child {
        width: 100%;
        height: auto;
        border: 0;
        padding: 0;
        margin: 0;
        display: block;
    }
    .mobile-find-table .table td {
        line-height: 1.34;
        text-align: left !important;
    }
    .mobile-find-table .table td,
    .mobile-find-table .table td:first-child,
    .mobile-find-table .table td:last-child {
        padding: 3px 0;
    }
    .mobile-find-table .table td:first-child {
        padding-top: 0;
    }
    .mobile-find-table .table tr {
        padding: 15px;
        position: relative;
        z-index: 2;
        border: 1px solid #dee2e6;
    }
    .mobile-find-table .table tr:first-child {
        border-radius: 5px 5px 0 0;
    }
    .mobile-find-table .table tr:last-child {
        border-radius: 0 0 5px 5px;
    }
    .mobile-find-table .table td[data-label]::before {
        content: attr(data-label) ": ";
        opacity: 0.8;
    }
    .mobile-find-table-products .table tr {
        padding: 15px 15px 64px;
        position: relative;
        z-index: 2;
        border-bottom: 1px solid #ccc;
    }
    .mobile-find-table-products .table tbody tr::after {
        width: auto;
        height: 55px;
        content: " ";
        display: block;
        position: absolute;
        z-index: -1;
        left: 0;
        right: 0;
        bottom: 0;
        border-top: 1px solid #eee;
        background: rgba(238, 238, 238, 0.3);
    }
    .mobile-find-table-products .table tbody tr::before {
        width: auto;
        height: 1px;
        content: ' ';
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 55px;
        background: #ccc;
    }
    .mobile-find-table-products .table tr td.td--price {
        width: auto;
        position: absolute;
        left: 10px;
        bottom: 8px;
        font-size: 16px;
    }
    .mobile-find-table-products .table tr td.td--price::before {
        display: block;
        font-size: 12px;
    }
    .mobile-find-table-products .table tr td.td--buttons {
        width: auto;
        position: absolute;
        right: 10px;
        bottom: 10px;
    }
    .mobile-find-table-order .table tr {
        padding: 15px 15px 69px;
        position: relative;
        z-index: 2;
        border-bottom: 1px solid #ccc;
    }
    .mobile-find-table-order .table tr::after {
        width: auto;
        height: 60px;
        content: " ";
        display: block;
        position: absolute;
        z-index: -1;
        left: 0;
        right: 0;
        bottom: 0;
        border-top: 1px solid #eee;
        background: rgba(238, 238, 238, 0.3);
    }
    .mobile-find-table-order .table tr td.td--price {
        width: auto;
        position: absolute;
        left: 10px;
        bottom: 8px;
        font-size: 16px;
    }
    .mobile-find-table-order .table tr td.td--price::before {
        display: block;
        font-size: 12px;
    }
    .mobile-find-table-order .table tr td.td--buttons {
        width: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    .mobile-find-table-order .table tr td.td--buttons .btn {
        margin: 0 !important;
    }
}


/*
Стили для формы товара
 */
.form-product-notify {
    margin: 20px 0;
}
.form-product-notify .alert {
    margin-bottom: 0 !important;
}
.form-product-notify .form-group {
    margin-bottom: 0 !important;
}

.form-product-box .nav-tabs {
    margin: 0 0 -1px 0;
    position: relative;
    z-index: 2;
}
.form-product-box .nav-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-product-box .card {
    margin-top: 0;
}


/*
Уведомления
 */
.notification {
    position: relative;
}
.notification .card {
    border-top: 0;
    position: static;
    border-radius: 0 0.25rem 0.25rem 0.25rem;
}
.notification-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}
.notification-controls .btn {
    position: relative;
    z-index: 2;
}
.notification .nav-tabs {
    position: relative;
    z-index: 1;
}

.nav-tabs + .tab-content .notification-controls {
    position: absolute;
    right: 0;
    top: 0;
}
@media all and (max-width: 1068px) {
    .nav-tabs + .tab-content .notification-controls {
        padding: 0.5rem 1.25rem;
        position: static;
        right: auto;
        top: auto;
        margin: -1.25rem -1.25rem 1.25rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    }
}

.notification-item {
    background-color: rgba(249, 249, 249, 0.84);
    border-left: 5px solid #9b9b9b;
    padding: 10px 20px;
    margin: 0 0 1rem 0;
    border-radius: 5px;
    transition: opacity 0.5s ease;
}
.notification-item-read {
    opacity: 0.8;
}
.notification-item-read:hover {
    opacity: 1;
}
.notification-list .notification-item:last-child {
    margin-bottom: 0;
}
.notification-item-category-10 {
    border-left-color: #efbc3b;
}
.notification-item-category-20 {
    border-left-color: #2aa846;
}
.notification-item-category-30 {
    border-left-color: #5bc0de;
}
.notification-item-category-40 {
    border-left-color: #bd8de8;
}
.notification-item-category-50 {
    border-left-color: #9b9b9b;
}

.notification-item-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}
.notification-item-category {
    opacity: 0.8;
}

.notification-item-text {
    color: #666;
}
.notification-item-text p:first-child {
    margin-top: 0;
}
.notification-item-text p:last-child {
    margin-bottom: 0;
}

.notification-item-date {
    margin: 6px 0 0 0;
    font-size: 0.9em;
    color: #999;
}


/*
Withdraw
 */
.withdraw {
    display: flex;
    gap: 30px;
}
.withdraw-form {
    flex: none;
    width: 290px;
}
.withdraw-content {
    flex: 1 0;
}
@media all and (max-width: 992px) {
    .withdraw {
        flex-direction: column;
    }
    .withdraw-form {
        width: 100%;
    }
}

.withdraw-bill {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    text-align: right;
}
.withdraw-bill-value {
    max-width: 64px;
    display: inline-block;
    position: relative;
    overflow: hidden;
    line-height: 1.24;
    font-weight: bold;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media all and (max-width: 992px) {
    .withdraw-bill {
        justify-content: flex-start;
        text-align: left;
    }
}

/* History item */
.history-item-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.history-item-header-title {
    flex: 1 0;
}
.history-item-header-controls {
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.history-item-header-right {
    flex: 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 16px;
    flex-wrap: wrap;
}
.history-item-details {
    display: flex;
    align-items: center;
    gap:0 16px;
    flex-wrap: wrap;
    font-size: 0.875rem;
}
.history-item-subtitle {
    padding: 0.3rem 1.25rem;
    font-weight: 500;
    font-size: 14px;
    color: #333;
}
@media(max-width:997px) {
    .history-item-header {
        align-items: normal;
        flex-direction: column;
    }
    .history-item-header-right {
        align-items: normal;
        justify-content: normal;
    }
    .history-item-details {
        flex: 1 0;
    }
}
@media(max-width:472px) {
    .history-item-header-right {
        flex-direction: column;
        gap:6px;
    }
}
.history-item .diff-wrapper.diff {
    border: 0;
    border-top: 1px solid #dfdfdf;
}
.history-item .diff-wrapper.diff thead th {
    padding: 0.3rem 1.25rem;
    background: #f8f8f8;
    border-bottom-color: #dfdfdf;
    color: #bd8e00;
    white-space: nowrap;
}
.history-item .diff-wrapper.diff tbody th {
    background: #f1f1f1;
    border-right-color: #dfdfdf;
}

/* Content */
.content-title {
    margin-bottom: 1rem;
}

/* Page - faq */
.page-faq .card-header {
    padding: 0;
}

/* Формы */
.form-bottom-control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media(max-width:992px) {
    .form-product-create-row-header {
        flex-direction: column;
    }
    .form-product-create-row-header-col {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
}

.shipment-download-check label {
    display: inline;
}
.shipment-download-check-help-btn {
    min-height: 16px;
    line-height: 16px;
    vertical-align: baseline;
}
.shipment-download-check-help-btn i {
    vertical-align: top;
}

/* Icons */
.icon-width-fix {
    min-width: 16px;
}

/* TinyMCE hide info */
.tox-editor-container .tox-promotion,
.tox-statusbar__branding {
    opacity: 0;
    pointer-events: none;
}

/* Загрузка товарных единиц */
.form-control-counter {
    padding: 4px 5px;
    float: right;
    font-weight: bold;
    font-size: 11px;
    color: #22a8c1;
    text-align: right;
    background: rgba(238, 238, 238, 0.5);
    border-radius: 0 0 5px 5px;
}

/* Отзывы в GV товаров */
.product-reviews {
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-reviews span {
    padding: 2px 4px;
    display: inline-block;
    vertical-align: top;
    border-radius: 0.25rem;
    white-space: nowrap;
    font-weight: bold;
}
.product-reviews .fa {
    margin: 0 3px 0 0;
}

/* Активные сессии */
.table-sessions .bg-active-session {
    background-color: rgba(0, 123, 255, 0.05) !important;
}




/* Text formatting */
.text-desc {
    line-height: 1.34;
    word-break: break-word;
}
.text-desc pre {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: rgba(238, 238, 238, 0.4);
    border: 1px solid #eee;
    border-radius: 4px;
}
.text-desc pre + p {
    margin-top: 20px;
}
.text-desc a {
    text-decoration-skip-ink: none;
}
.text-desc p {
    margin: 14px 0;
}
.text-desc p:first-child {
    margin-top: 0 !important;
}
.text-desc p:last-child {
    margin-bottom: 0 !important;
}
.text-desc b {
    font-weight: 600;
}
.text-desc h1, .text-desc h2, .text-desc h3, .text-desc h4, .text-desc h5, .text-desc h6, .text-desc .h1, .text-desc .h2, .text-desc .h3, .text-desc .h4, .text-desc .h5, .text-desc .h6 {
    margin: 20px 0 14px 0;
}
.text-desc h1:first-child, .text-desc h2:first-child, .text-desc h3:first-child, .text-desc h4:first-child, .text-desc h5:first-child, .text-desc h6:first-child, .text-desc .h1:first-child, .text-desc .h2:first-child, .text-desc .h3:first-child, .text-desc .h4:first-child, .text-desc .h5:first-child, .text-desc .h6:first-child {
    margin-top: 0 !important;
}
.text-desc h1:last-child, .text-desc h2:last-child, .text-desc h3:last-child, .text-desc h4:last-child, .text-desc h5:last-child, .text-desc h6:last-child, .text-desc .h1:last-child, .text-desc .h2:last-child, .text-desc .h3:last-child, .text-desc .h4:last-child, .text-desc .h5:last-child, .text-desc .h6:last-child {
    margin-bottom: 0 !important;
}
.text-desc ol:first-child, .text-desc ul:first-child {
    margin-top: 0;
}
.text-desc ol:last-child, .text-desc ul:last-child {
    margin-bottom: 0;
}
.text-desc li + li {
    margin-top: 20px;
}
.text-desc li > p {
    margin: 10px 0;
}
.text-desc li > p:first-child {
    margin-top: 0;
}
.text-desc li > p:last-child {
    margin-bottom: 0;
}
.text-desc img {
    max-width: 100%;
    height: auto;
}

@media all and (max-width: 772px) {
    .text-desc {
        font-size: 14px;
    }
}

.faq-image {
    width: 600px;
    max-width: 100%;
    height: auto;
    vertical-align: top;
    position: relative;
    box-shadow: 0 0 5px rgba(26, 29, 63, 0.22);
    border-radius: 5px;
    transition:box-shadow 0.3s ease;
}
.faq-image:hover {
    box-shadow: 0 0 8px rgba(26, 29, 63, 0.44);
}


.badge--info,
.badge--no-url {
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    text-align: center;
}


.time-moderator-status {
    height: 16px;
    line-height: 16px;
    transform: scale(1.25) translateY(-1px);
    display: inline-block;
}


.select2-container--product-categories .select2-results > .select2-results__options {
    max-height: 360px !important;
}