/***CUSTOM CSS RULES FOR YOUR SITE***/

#registration-form button[type="submit"] {
    width: 147px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: linear-gradient(25deg, #008d55 0%, #91cd4c 100%);
    box-shadow: 0 3px 12px 0 rgba(38, 50, 56, 0.24);
    color: #fff;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 19px;
    cursor: pointer;
    border: none;
}

.registration-form {
    width: 100%;
    max-width: 440px;
    margin-top: 40px;
    margin-bottom: 125px;
}

.registration-form form {
    width: 100%;
}

.wrap-input-item {
    position: relative;
    width: 100%;
    margin-bottom: 18px;
}

.wrap-input-item p {
    color: #78909c;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 17px;
    margin-bottom: 4px;
    padding-bottom: 0;
}

.wrap-input-item p span {
    margin-left: 0;
    color: #d93333;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 17px;
}

.popup-form-btn-run,
.popup-form-btn-cancel,
.js-smena-tarifa {
    cursor: pointer;
}

.wrap-input-item a {
    color: #263238;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 17px;
    text-decoration: none;
}

.wrap-input-item input {
    border-radius: 5px;
    border: 1px solid #ced9db;
    height: 36px;
    width: 100%;
    padding: 0 13px;
    color: var(--, #263238);
    font-family: Museo Sans Cyrl;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.dropdown {
    width: 100%;
    min-width: 90px;
    height: 36px;
    transition: all 0.5s ease;
    position: relative;
    text-align: left;
    padding-left: 13px;
    padding-right: 13px;
    border-radius: 5px;
    border: 1px solid #ced9db;
}

.dropdown .select {
    cursor: pointer;
    display: flex;
    position: relative;
    text-align: left;
    align-items: center;
    line-height: 1;
    padding: 0;
    height: 36px;
    border: none;
}

.dropdown .select > i {
    position: relative;
    content: "";
    height: 16px;
    top: -1px;
    right: 0;
    width: 16px;
    background: transparent;
    margin-left: auto;
}

.dropdown:active {
    background-color: #f3f3f3;
}

.dropdown .dropdown-menu {
    position: absolute;
    width: 100%;
    left: 0;
    margin-top: 0;
    overflow: hidden;
    display: none;
    overflow-y: auto;
    z-index: 999;
    border-radius: 5px;
    background: #ffffff;
    padding: 8px 0;
    border: 1px solid #ced9db;
}

.dropdown span.arr {
    color: #263238;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.dropdown .dropdown-menu li {
    color: #263238;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    padding: 8px 13px;
}

.dropdown .dropdown-menu {
    padding: 0;
    list-style: none;
}

.dropdown .dropdown-menu li:hover {
    background: #f1f6f7;
}

.dropdown .dropdown-menu li:active {
    background-color: #e2e2e2;
}

.rate-block {
    border-radius: 5px;
    background: #f1f6f7;
    padding: 24px;
    width: 100%;
    max-width: 603px;
    margin-bottom: 80px;
}

.rate-block-title {
    display: flex;
    align-items: center;
    color: #263238;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 19px;
    padding-bottom: 0;
    margin-bottom: 24px;
}

.rate-block-title svg {
    margin-right: 12px;
}

.rate-block-info-title {
    color: #263238;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    padding-bottom: 0;
    line-height: 24px;
}

.rate-block-info-text {
    padding: 0;
    margin: 8px 0;
    color: #263238;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 19px;
}

.rate-block-info-text span {
    font-weight: 600;
}

.rate-btn {
    width: 200px;
    height: 42px;
    margin: 24px 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none !important;
    background: linear-gradient(25deg, #008d55 0%, #91cd4c 100%);
    box-shadow: 0 3px 12px 0 rgba(38, 50, 56, 0.24);
    color: #fff !important;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 19px;
}

.warning-rate-text {
    color: #78909c;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    padding-bottom: 0;
    line-height: 17px;
}

.other-rate-block {
    width: 100%;
}

.other-rate-block-title {
    color: #263238;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    padding-bottom: 0;
    margin-bottom: 24px;
}

.wrap-other-rate-card {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.rate-card {
    padding-bottom: 24px;
    border-radius: 5px;
    border: 1px solid #e3ecef;
    width: 320px;
}

.rate-card-top {
    background: #f1f6f7;
    height: 56px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px 5px 0 0;
}

.rate-card-title {
    display: flex;
    align-items: center;
    color: #263238;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    padding-bottom: 0;
}

.rate-card-title svg {
    margin-left: 4px;
}

.rate-card-middle {
    height: 194px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.rate-card-middle p {
    color: #263238;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 19px;
    margin-bottom: 4px;
    padding-bottom: 0;
    margin-top: 16px;
}

.rate-card-middle .wrap-rate-card-clue p {
    margin-top: 0;
    margin-bottom: 0;
}

.rate-card-middle span {
    display: block;
    color: #78909c;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 17px;
}

.wrap-rate-card-clue {
    margin-top: 16px;
    display: flex;
    align-items: center;
}

.clue-block {
    position: relative;
    margin-left: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.clue-window {
    display: none;
    position: absolute;
    left: 25px;
    top: 50%;
    opacity: 0;
    transform: translateY(-50%);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 9px 24px 0 rgba(38, 50, 56, 0.16);
    padding: 24px 16px;
    width: 320px;
    transition: all 0.3s;
}

.clue-window p {
    color: #263238;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 19px;
    margin-bottom: 16px;
}

.clue-window p span {
    color: #263238;
    font-weight: 600;
    display: inline-block;
}

.clue-window img {
    width: 100%;
    height: auto;
    margin-top: 16px;
    border-bottom: 1px solid #e3ecef;
}

.clue-block:hover .clue-window {
    display: block;
    opacity: 1;
    transition: all 0.3s;
}

.rate-card-price {
    color: #263238;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    padding-bottom: 0;
    line-height: 24px;
}

.rate-card-btn {
    width: 163px;
    height: 42px;
    margin: 16px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none !important;
    background: linear-gradient(25deg, #008d55 0%, #91cd4c 100%);
    box-shadow: 0 3px 12px 0 rgba(38, 50, 56, 0.24);
    color: #fff !important;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 19px;
}

@media (max-width: 768px) {
    .clue-window {
        left: -271px;
        transform: translate(0%, -84%);
    }
}

.popup {
    position: fixed;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 auto;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    overflow-x: hidden;
    background-color: rgba(31, 32, 41, 0.75);
    pointer-events: none;
    opacity: 0;
    transition: opacity 250ms 700ms ease;
}

.popup-body {
    position: relative;
    display: block;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    overflow: hidden;
    align-items: center;
    align-self: center;
    opacity: 0;

    padding-top: 50px;
    transform: scale(0.6);
    transition:
        opacity 250ms 250ms ease,
        transform 300ms 250ms ease;
}

.popup-content {
    position: relative;
    padding: 36px 24px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 12px 25px 0 rgba(199, 175, 189, 0.25);
}

.popup.open {
    pointer-events: auto;
    opacity: 1;
    transition: all 300ms ease-in-out;
}

.popup.open .popup-body {
    opacity: 1;
    transform: scale(1);
    transition:
        opacity 250ms 500ms ease,
        transform 350ms 500ms ease;
}

.popup-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 16px;
    height: 16px;

    opacity: 0.7;
    transition: all 0.3s;
}

.popup-close:hover {
    opacity: 1;
    transition: all 0.3s;
}

.popup-title {
    text-align: center;
    color: #263238;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    padding-bottom: 0;
    margin-bottom: 36px;
}

.popup-text {
    padding: 0;
    color: #78909c;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 17px;
}

.popup-price {
    color: #263238;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 19px;
    padding: 0;
    text-align: center;
    margin: 36px auto;
}

.wrap-popup-form-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-form-btn-cancel {
    width: 109px;
    height: 42px;
    border-radius: 5px;
    border: 1px solid #e3ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #263238;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 19px;
}

.popup-form-btn-run {
    width: 200px;
    height: 42px;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none !important;
    background: linear-gradient(25deg, #008d55 0%, #91cd4c 100%);
    box-shadow: 0 3px 12px 0 rgba(38, 50, 56, 0.24);
    color: #fff !important;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 19px;
    border: none;
}

.popup .dropdown {
    margin-bottom: 16px;
}

.popup-subtitle {
    padding-bottom: 0;
    color: #263238;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 19px;
}

.popup-subtitle + .popup-subtitle {
    margin-top: 8px;
}

.popup-thx-btn {
    width: 265px;
    height: 42px;
    margin: 36px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none !important;
    background: linear-gradient(25deg, #008d55 0%, #91cd4c 100%);
    box-shadow: 0 3px 12px 0 rgba(38, 50, 56, 0.24);
    color: #fff !important;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 19px;
}

.top-panel-logo img {
    display: block;
}

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

.user-menu-popup-mobile {
    top: unset !important;
    bottom: 100% !important;
}

.text-end {
    text-align: right;
}

.p-3 {
    padding: 1rem !important;
}

.tabulator {
    height: auto !important;
    margin-bottom: 30px;
    font-size: 15px;
    border: 0;
}

/*.multivendor-products {
    padding: 0 0 30px;
}*/

.tabulator .tabulator-header {
    display: none;
}

.tabulator .tabulator-tableHolder {
    overflow: inherit;
}

.tabulator-tableHolder .tabulator-table {
    display: block !important;
}

.tabulator-tableHolder .tabulator-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.tabulator-tableHolder .tabulator-cell {
    padding: 15px;
    display: flex;
    flex-direction: column;
    height: auto !important;
}

.tabulator-tableHolder .tabulator-cell[tabulator-field="ID"],
.tabulator-tableHolder .tabulator-cell[tabulator-field="ARTNUMBER"],
.tabulator-tableHolder .tabulator-cell[tabulator-field="SECTION_NAME"],
.tabulator-tableHolder .tabulator-cell[tabulator-field="QUANTITY"],
.tabulator-tableHolder .tabulator-cell[tabulator-field="OLD_PRICE"] {
    display: none;
}

.tabulator-tableHolder .tabulator-cell[tabulator-field="ACTIVE"],
.tabulator-tableHolder .tabulator-cell[tabulator-field="PRICE"],
.tabulator-tableHolder .tabulator-cell[tabulator-field="ACTIONS"] {
    flex-grow: 1;
}

.tabulator-tableHolder .tabulator-cell[tabulator-field="PREVIEW_PICTURE"] {
    flex-grow: 2;
}

.tabulator-tableHolder .tabulator-cell[tabulator-field="PREVIEW_PICTURE"] img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
}

.tabulator-tableHolder .tabulator-cell[tabulator-field="NAME"] {
    flex-grow: 10;
}

.tabulator-tableHolder .tabulator-cell[tabulator-field="CURRENCY"] {
    display: none;
}

.tabulator-tableHolder .tabulator-cell[tabulator-field="PRICE"] {
    text-align: center !important;
}

.tabulator-tableHolder .multivendor-products-actions-links {
    margin: 0 0 -10px;
}

.tabulator-tableHolder .multivendor-products-actions-links > a {
    margin: 0 5px 10px 0;
}

.tabulator-tableHolder .multivendor-products-actions-links > a:last-child {
    margin: 0 0 10px;
}

.tabulator-tableHolder .multivendor-products-actions-link > i,
.tabulator-tableHolder .multivendor-orders-actions-link > i {
    color: #000;
}

.tabulator .tabulator-footer {
    background: 0;
    border: 0;
}

.multivendor-products > .btn {
    position: relative;
    bottom: auto;
    left: auto;
    margin: 0 30px;
}

@media (max-width: 768px) {
    .user-menu-popup-mobile {
        /*top:0!important;*/
        left: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        /*height:100vh!important;*/
        /*position: fixed!important;*/
    }

    .popup-panel {
        width: 95%;
        margin: 0 auto;
    }

    .left-panel {
        width: 100%;
        top: inherit;
        bottom: 0;
    }

    .left-menu {
        flex-direction: row;
        position: relative;
    }

    .left-menu-item {
        height: 124px;
    }

    .left-menu-item {
        flex: 1;
    }

    .left-menu-item.selected:after {
        width: 100%;
        height: 2px;
        bottom: inherit;
    }

    .page-container {
        margin-left: 0;
        padding-bottom: 150px;
    }

    .multivendor-products > .btn {
        width: 100%;
        left: 0;
        position: relative;
        z-index: 1;
        display: block;
        margin: 0 auto;
    }

    .tabulator-tableHolder {
        min-height: auto !important;
        height: auto !important;
        max-height: auto !important;
    }

    .tabulator-tableHolder .tabulator-table {
        width: 100%;
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
        margin: 0;
        white-space: normal !important;
        padding: 10px 5px 0 !important;
    }

    .tabulator-tableHolder .tabulator-row {
        padding: 10px !important;
        -ms-flex: 48%;
        flex: 0 0 48%;
        max-width: 48%;
        display: flex;
        flex-direction: column;
        border: 1px solid #e3ecef;
        margin: 0 1% 2%;
        border-radius: 10px;
    }

    .tabulator-tableHolder .tabulator-row .tabulator-cell {
        /*display: block;*/
        width: 100% !important;
        height: auto !important;
        padding: 0;
        margin: 0 0 15px;
        border: 0;
        white-space: normal;
    }

    .tabulator-tableHolder .tabulator-row .tabulator-cell[tabulator-field="ID"],
    .tabulator-tableHolder .tabulator-row .tabulator-cell[tabulator-field="ARTNUMBER"],
    .tabulator-tableHolder .tabulator-row .tabulator-cell[tabulator-field="SECTION_NAME"],
    .tabulator-tableHolder .tabulator-row .tabulator-cell[tabulator-field="QUANTITY"],
    .tabulator-tableHolder .tabulator-row .tabulator-cell[tabulator-field="OLD_PRICE"] {
        display: none;
    }

    .tabulator-tableHolder .tabulator-cell[tabulator-field="ACTIVE"] {
        text-align: left !important;
    }

    .tabulator-tableHolder .tabulator-row .tabulator-cell[tabulator-field="NAME"] {
        font-weight: 400;
        font-size: 15px;
    }

    .tabulator-tableHolder .tabulator-cell[tabulator-field="NAME"] .multivendor-products-link {
        font-size: 18px;
        font-weight: 600;
    }

    .tabulator-tableHolder .tabulator-cell[tabulator-field="PRICE"] {
        text-align: left !important;
    }

    .tabulator-tableHolder .tabulator-cell[tabulator-field="CURRENCY"] {
        margin-left: 5px;
        text-align: left;
    }

    .tabulator-tableHolder .tabulator-cell[tabulator-field="ACTIONS"] {
        margin-bottom: 0;
    }

    .multivendor-products-actions-links {
        justify-content: space-between;
    }

    .multivendor-products-actions-link:last-child {
        margin-bottom: 0 !important;
    }
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.bottom-user-menu .user-menu {
    top: unset;
    bottom: 100%;
}

.logo-vendor {
    max-width: 100%;
}

@media (min-width: 768px) {
    .p-md-0 {
        padding: 0 !important;
    }

    .d-md-block {
        display: block !important;
    }

    .d-md-none {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .multivendor-products .tabulator-tableHolder .tabulator-cell[tabulator-field="NAME"] {
        flex-grow: 10;
    }

    .multivendor-products .tabulator-tableHolder .tabulator-cell[tabulator-field="PRICE"] {
        flex-grow: 3;
    }
}
