﻿
:root {
    --regularFont: #2c2c2c;
    --altFontColor: #495D70;
}

.content .body.module-suppliers {
    height: 100%;
}

.full-width {
    width: 100%;
}

.ss-loader {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url('images/loading-cube.gif') no-repeat;
    background-size: 100%;
}

.clickable-text {
    cursor: pointer;
}

    .clickable-text:hover {
        text-decoration: underline;
    }

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

body {
    font-family: Outfit;
    font-size: 12px;
    color: var(--fontColor);
    background-color: var(--bgColor);
}

.ss-treeview {
    position: absolute;
    top: -21px;
    padding-left: 0px;
    margin-top: 0px;
    max-height: 100%;
    overflow: auto;
}

.hierarchy-mode .ss-treeview {
    top: 0px;
}

    .ss-treeview .ss-catalog-title {
        font-family: 'Outfit';
        margin-bottom: 13px;
        cursor: pointer;
        color: var(--altFontColor);
        position: relative;
    }

    .position-relative {
        position: relative;
    }

.ss-catalog-title .text {
    padding-left: 20px;
}

.ss-treeview .ss-tree-node {
    cursor: pointer;
    margin-bottom: 13px;
    color: var(--altFontColor);
    position: relative;
}

.ss-tree-node .active {
    background-color: #EDF8FF;
    border-radius: 0px;
    display: block;
    padding-right: 10px;
    word-break: break-all;
    border-right: 1px solid rgb(255, 158, 22);
    border-top: 1px solid #E3ECF3;
    border-bottom: 1px solid #E3ECF3;
}

    .ss-tree-node .active::before {
        display: block;
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        right: 15px;
        top: 0;
        background-color: #EDF8FF;
        border-top: 1px solid #E3ECF3;
        border-bottom: 1px solid #E3ECF3;
        z-index: -1;
    }

.ss-sub-block .ss-tree-node .text:hover {
    background-color: #EDF8FF;
}

.ss-tree-node .text {
    padding-left: 20px;
    display: inline-block;
    word-break: break-word;
    width: 100%;
}

.ss-main-screen {
    padding: 20px;
    padding-top: 1px;
    height: 100%;
}

.ss-supplier-panes {
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
    display: flex;
    margin: 0 auto;
    margin-top: 100px;
}

    .ss-supplier-panes > * {
        flex-grow: 1;
    }

        .ss-supplier-panes > *:first-child {
            max-width: 300px;
            min-width: 300px;
        }

.ss-icon {
    display: inline-block;
    width: 13px;
    height: 13px;
    background-repeat: no-repeat;
    background-size: 100%;
}

    .ss-icon.ss-details {
        background-image: url('images/align-justify.svg')
    }

    .ss-icon.ss-globe {
        background-image: url('images/globe-grey.svg')
    }

    .ss-icon.ss-rows {
        background-image: url('images/mid_size_gator.svg')
    }

    .ss-icon.ss-blocks {
        background-image: url('images/apps.svg');
    }

    .ss-icon.ss-expand {
        background-image: url('images/angle-right.svg')
    }

    .ss-icon.ss-collapse {
        background-image: url('images/angle-down.svg')
    }

    .ss-icon.ss-info {
        background-image: url('images/info.svg')
    }

    .ss-icon.ss-help-bubble {
        background-image: url('images/info-circle.svg')
    }

.ss-clickable {
    cursor: pointer;
}

.ss-treeview .ss-icon {
    margin-right: 0.5rem;
}

.ss-tree-node.ss-sub-block {
    padding-left: 20px;
    position: relative;
}

    .ss-tree-node.ss-sub-block::before {
        position: absolute;
        width: 1px;
        background-color: #E3ECF3;
        height: calc(100% + 17px);
        content: '';
        left: 6px;
        top: -17px;
    }

.ss-treeview .text, .ss-treeview .ss-icon {
    vertical-align: top;
}

.ss-treeview .ss-collapse {
    vertical-align: top;
    position: absolute;
    top: 2px;
}

.ss-treeview .ss-expand {
    vertical-align: top;
    position: absolute;
    top: 2px;
}

.ss-table {
    width: 100%;
    max-height: 100px;
}

    .ss-table .sorba-checkbox {
        width: 15px;
        height: 15px;
        position: relative;
        top: 1px;
    }

    .ss-table th, .ss-table td {
        border: 1px solid #D2E1EA;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .ss-table th {
        background: #F6F8FA;
        font-size: 12px;
        font-weight: normal;
        color: var(--altFontColor);
    }

    .ss-table td {
        color: var(--regularFont);
    }

    .ss-table select {
        border: 0;
        width: 100%;
        background-image: url(images/angle-down-faded.svg);
        background-repeat: no-repeat;
        background-position: center right;
        -webkit-appearance: none;
        -moz-appearance: none;
        outline: 0;
        padding-right: 15px;
    }

    .ss-table input[type=number] {
        border: 0;
        text-align: right;
        width: 100%;
        color: #747474;
        outline: 0;
    }

.ss-input {
    font-family: "Outfit";
    border-style: none none solid;
    border-width: 0px 0px 1px;
    overflow: visible;
    border-color: rgb(255, 158, 22) rgb(255, 158, 22) rgb(210, 225, 234);
    z-index: 1;
    border-radius: 2px 2px 0px 0px;
    font-size: 12px;
    color: var(--regularFont);
    padding: 2px;
    padding-left: 5px;
    background-color: #F6F8FA;
    outline: 0;
}

    .ss-input[type=number] {
        text-align: right;
    }

    .ss-input.ss-select {
        -moz-appearance: none;
        -webkit-appearance: none;
        background-image: url(images/angle-down-faded.svg);
        background-repeat: no-repeat;
        background-position: calc(100% - 4px) center;
        background-size: 17px;
    }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

.ss-table .ss-info {
    width: 20px;
    height: 15px;
}

.ss-bcrumb {
    cursor: pointer;
    color: var(--altFontColor);
}

    .ss-bcrumb.active {
        border-bottom: 1px solid #FF9E16;
    }

    .ss-bcrumb:hover {
        color: #86a3b4;
    }

.ss-bcrumb-sep {
    margin-left: 5px;
    margin-right: 5px;
}

.ss-section {
    margin-bottom: 1.25rem;
    position: relative;
}

    .ss-section.for-bcrumb {
        padding-right: 100px;
        word-break: break-all;
    }

    .ss-section .module-search-close {
        right: 0;
        top: 0;
    }

.ss-top-section {
    display: flex;
    position: relative;
    width: 100%;
    padding: 3px 9px;
    vertical-align: top;
    padding-left: 0px;
    border-bottom: 1px solid transparent;
    border-top: 0;
    border-bottom: 1px solid #E3ECF3;
    word-break: break-all;
}

    .ss-top-section > * {
        flex-grow: 1;
    }

    .ss-top-section > .ss-supplier-toggle {
        max-width: 130px;
        cursor: pointer;
        border-right: 1px solid #E3ECF3;
        margin-right: 8px;
    }

    .ss-top-section .filter-big-field {
        flex-grow: 1;
        border: 0;
        outline: 0;
        color: var(--regularFont);
        font-size: 12px;
        border-right: 0;
        margin-right: 0px;
        background-image: url(/css/images/search_new.svg);
        background-repeat: no-repeat;
        background-position: 0px 4px;
        background-size: 13px;
        padding-left: 18px;
        padding-right: 0px;
        position: relative;
    }

    .ss-top-section .icon-clear {
        display: inline-block;
        width: 20px;
        height: 20px;
        background-size: 20px;
        background-repeat: no-repeat;
        background-image: url(/css/images/close_n.svg);
        position: absolute;
        right: 0px;
        top: 3px;
        cursor: pointer;
        opacity: 0.3;
    }

    .ss-top-section .new-entity-button {
        position: absolute;
        right: 25px;
        top: 3px;
    }

    .ss-top-section .icon-filter-search {
        right: unset;
        top: 4px;
        left: 98px;
    }

    .ss-top-section .icon-filter-search.no-filter {
        opacity: 0.5;
    }

    .ss-top-section .icon-filter-search.no-filter:hover {
        opacity: 1;
    }

.filter-big-field .ss-search {
    width: 100%;
    background: none;
    border: 0;
    padding-right: 80px;
}

.ss-supplier-toggle > * {
    vertical-align: middle;
    color: var(--altFontColor);
}

.ss-supplier-list, .ss-wrap {
    display: flex;
    gap: 1.3rem;
    width: 100%;
    flex-wrap: wrap;
    padding: 10px;
    padding-right: 20px;
}

.ss-supplier-list {
    height: calc(100% - 30px);
    overflow: auto;
    align-items: start;
    align-content: baseline;
}

    .ss-wrap.cells {
        border: 0;
    }

    .ss-wrap.no-flex {
        display: block;
    }

.ss-cell .title {
    color: var(--regularFont);
    margin-bottom: 1rem;
}

.ss-cell.for-suppliers .title {
    color: var(--altFontColor);
    position: absolute;
    width: calc(100% - 13px);
    text-align: center;
    top: 0px;
    left: 0px;
}

.ss-supplier-box, .ss-cell {
    flex-grow: 1;
    max-width: 32%;
    min-width: 30%;
    padding: 11px;
    border: 1px solid #E3ECF3;
    border-radius: 13px;
    border-left: 0;
    border-top: 0;
    position: relative;
    padding-right: 13px;
    padding-left: 0px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 3px;
    border-top-right-radius: 0;
}


.ss-cell, .ss-supplier-box {
    max-width: 19.5rem;
    min-width: 19.5rem;
    flex-basis: 18%;
}

.ss-supplier-box .ss-name {
    margin-bottom: 0px;
}

.ss-supplier-box .ss-select-line {
    display: flex;
    gap: 0.5rem;
}

.ss-button-line {
    display: flex;
    gap: 5px;
}

    .ss-button-line .ss-details {
        text-align: center;
        line-height: 10px;
        opacity: 0.2;
        cursor: pointer;
        max-width: 40px;
        flex-grow: 1;
        color: #6D8797;
        text-decoration: none;
        position: relative;
        top: -1px;
    }

        .ss-button-line .ss-details:hover {
            opacity: 0.7;
        }

        .ss-button-line .ss-details .text {
            display: block;
            font-size: 11px;
        }

        .ss-button-line .ss-details .ss-icon {
            width: 22px;
            height: 22px;
            top: 1px;
            position: relative;
        }

    .ss-button-line .ss-button, .ss-button, .price-info {
        flex-grow: 1;
        background-color: #f6f8fa;
        color: #2896d5;
        border: 1px solid #d2e1ea;
        border-radius: 5px;
        font-family: 'Outfit';
        outline: 0;
    }

    .ss-button-line .ss-button {
        height: 22px;
    }

.ss-button[disabled] {
    opacity: 0.5;
}

.ss-big-row .price-info {
    color: var(--regularFont);
    border-width: 0;
    text-align: right;
    background: none;
    margin-bottom: 11px;
    font-weight: normal;
    font-family: Outfit;
}

.ss-cell .price-info {
    color: var(--regularFont);
    border-width: 0;
    text-align: right;
    background: none;
    margin-bottom: 11px;
    font-weight: normal;
    font-family: Outfit;
}

.ss-logo {
    display: block;
    width: 50%;
    margin: 0 auto;
}

.ss-logo-wrap {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 200px;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.ss-field {
    background-color: #f6f8fa;
    border: 0;
    border-bottom: 1px solid #d2e1ea;
    color: #747474;
    font-size: 12px;
    outline: 0;
}

.ss-search {
    background-image: url('images/search.svg');
    background-repeat: no-repeat;
    background-position: 5px center;
    background-size: 13px;
    padding-left: 6px;
}

table tr.ss-clickable-row {
    cursor: pointer;
}

    table tr.ss-clickable-row:hover {
        background-color: #F6F8FA;
    }

.ss-toolbar .ss-right-actions {
    float: right;
    position: relative;
    top: -8px;
    right: 0px;
}

    .ss-toolbar.pad-left {
        padding-left: 240px;
    }

.ss-right-actions .ss-button {
    vertical-align: middle;
    margin-left: 5px;
}

    .ss-right-actions .ss-button.off-color {
        color: #495D70 !important;
    }

.ss-right-actions .ss-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.7;
    vertical-align: middle;
}

    .ss-right-actions .ss-icon:hover {
        opacity: 1;
    }

    .ss-right-actions .ss-icon.active {
        border: 1px solid #ff9d18;
        border-radius: 5px;
        opacity: 1;
    }

.ss-wrap {
    padding: 1rem;
    padding-top: 0px;
    border: 0;
    max-height: calc(100% - 90px);
    overflow: auto;
    padding-right: 0;
}

.ss-big-row {
    display: flex;
    border-bottom: 1px solid #E3ECF3;
    padding-bottom: 13px;
    padding-top: 13px;
    gap: 1rem;
    position: relative;
    width: 100%;
}

    .ss-big-row:not(.no-hover):hover .description {
        cursor: pointer;
        color: #2896d5;
    }

    .ss-big-row .image, .ss-cell .image {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        border-radius: 3px;
        cursor: pointer;
    }

.ss-cell .image {
    margin: 0 auto;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.ss-big-row .description {
    font-size: 16px;
    color: var(--regularFont);
    flex-grow: 1;
    padding-top: 25px;
    background: url('images/angle-right-faded.svg') no-repeat;
    background-size: 20px;
    background-position: right center;
}

    .ss-big-row .description > div:first-child {
        font-size: 13px;
        word-break: break-word;
    }

.ss-big-row.no-hover {
    padding-bottom: 25px;
    padding-right: 230px;
    width: 100%;
}

    .ss-big-row.no-hover .description {
        background-image: unset;
        padding-top: 0px;
        font-size: 12px;
    }

.ss-inline-fields {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

    .ss-inline-fields > * {
        flex-grow: 1;
        min-width: calc(50% - 5px);
    }

.blue-info {
    color: var(--altFontColor);
}

.ss-right-block {
    position: absolute;
    right: 10px;
    top: 10px;
}

.cells.of-data .ss-cell {
    padding-bottom: 100px;
}

.ss-cell .ss-right-block {
    position: absolute;
    margin-top: 20px;
    top: unset;
    bottom: 11px;
    right: 11px;
    width: 70%;
}

.ss-big-row .ss-right-block .ss-input {
    height: 22px;
    color: #6D8797;
}

.ss-big-row .ss-right-block input {
    width: 85px;
}

.ss-big-row .ss-right-block select {
    width: 71px;
}

.ss-big-row .ss-right-block .ss-button {
    color: #6D8797;
    width: 133px;
}

.ss-split {
    display: flex;
    gap: 20px;
    width: 100%;
    max-height: calc(100% - 90px);
    height: calc(100% - 90px);
}


    .ss-split > * {
        flex-grow: 1;
    }

    .ss-split:not(.no-data) > div:first-child {
        min-width: 220px;
        max-width: 220px;
        padding-left: 0;
        margin-top: 0;
    }

    
.mt-15 {
    margin-top: 15px;
}

.module-suppliers .details-body {
    display: none !important;
}

.content .body.module-suppliers .body-content .items-list {
    display: block;
}

.ss-supplier-box .ss-button-line .ss-button {
    height: auto;
}

.ss-supplier-box .ss-details {
    top: 0;
}

.br-3-hide {
    border-radius: 3px;
    max-height: calc(100% - 90px);
    overflow: auto;
}

.less-pad-right {
    padding-right: 2px;
}

.ss-treeview-wrapper.hierarchy-mode {
    max-width: 100% !important;
    height: calc(100% - 90px);
}

@media(max-width: 1000px) {
    .ss-supplier-box, .ss-cell {
        max-width: 48%;
        min-width: 48%;
    }



    .ss-treeview {
        display: none;
    }

    .ss-treeview-wrapper {
        display: none;
    }

    .ss-toolbar.pad-left {
        padding-left: 0px;
    }
}


@media(max-width: 650px) {
    .ss-big-row.no-hover {
        padding-right: 10px;
    }

    .ss-supplier-box, .ss-cell {
        max-width: 100%;
        min-width: 100%;
    }
}

@media(max-width: 600px) {
    .ss-big-row.no-hover {
        padding-right: 25px;
        flex-direction: column;
    }
    .ss-big-row .image, .ss-cell .image {
        margin: 0 auto;
    }

    .ss-big-row .ss-right-block .ss-button {
        width: 100%;
    }


    .ss-big-row .ss-right-block select, .ss-big-row .ss-right-block input {
        width: calc(50% - 5px);
    }
}

@media(max-width: 800px) {

    .ss-right-block {
        position: relative;
    }
}

.ss-table td.pad-bot-more {
    position: relative;
    top: -2px;
}

.zoom-dialog-backdrop {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 5;
    opacity: 0.71;
    background: rgb(246, 252, 255);
}

.zoom-dialog {
    background: white;
    display: block;
    position: fixed;
    width: 60%;
    height: 60%;
    left: 20%;
    top: 20%;
    border-radius: 10px;
    z-index: 220;
    padding: 8px;
    box-shadow: rgb(170, 173, 173) 0px 0px 5px;
}

    .zoom-dialog .zoomed-image {
        left: 8px;
        width: calc(100% - 16px);
        height: calc(100% - 50px);
        bottom: 8px;
        position: absolute;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .zoom-dialog .item-title {
        text-align: center;
        padding-left: 100px;
        padding-right: 100px;
        color: rgb(0, 138, 209);
        font-size: 11px;
    }

    .zoom-dialog .close-text {
        color: rgb(0, 138, 209);
        font-size: 12px;
        font-family: "Outfit Medium";
        width: 50px;
        padding: 6px;
        position: absolute;
        right: 8px;
        top: 8px;
        border-radius: 4px;
        text-align: center;
        cursor: pointer;
    }

        .zoom-dialog .close-text:hover {
            background-color: rgb(235, 244, 251);
        }
