﻿.ws-table__prices th:not(:first-child) {
    text-align: center !important;
    font-size: 14px;
}

.ws-table__prices td:not(:first-child) {
    width: 150px;
    text-align: center !important;
}


    .ws-table__prices td:not(:first-child):not(:last-child) {
        width: 150px;
        text-align: center !important;
    }

.ws-table__prices td:last-child {
    width: 100px;
}

.ws-table__prices td {
    font-size: 14px;
}

.ws-table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

    .ws-table:not(.--ws-table-no-border) tr:first-child {
        border-bottom: 2px solid var(--color-main);
    }

    .ws-table th {
        padding: 10px 5px;
        text-align: left;
        vertical-align: bottom;
    }

        .ws-table th:first-child {
            /*width: 230px;*/
        }

    .ws-table td {
        padding: 10px 5px;
        word-break: break-word;
    }

        .ws-table td:first-child {
            /*width: 230px;*/
        }

    .ws-table .--loading {
        background: url("/images/preloader.gif") no-repeat center;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        background-color: rgba(0, 0, 0, 0.1);
    }

.ws-table__row-bid {
    background-color: #fce5b8;
}

.ws-table-extended tr {
    height: 50px;
}

    .ws-table-extended tr:hover td {
        cursor: pointer;
        background-color: lightgray;
    }

.ws-table-extended__disabled-row:hover td {
    cursor: not-allowed !important;
}

.mapping-table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

    .mapping-table td {
        height: 90px;
        vertical-align: bottom;
    }

    .mapping-table .ant-select {
        width: 100%;
    }

.no-items {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.ws-dashboard {
    background: #fff;
    border-radius: 2px;
    padding: 30px 15px;
    margin-bottom: 30px;
    position: relative;
    min-height: 150px;
}

.ws-dashboard__confirmation {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.ws-dashboard__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-main);
    margin-bottom: 25px;
}

.content__title {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 40px;
    color: var(--color-main);
}

.page__bg-gray {
    background: #efefef;
}

.wb-hr {
    max-width: 1550px;
    height: 0px;
    top: 192px;
    left: 200px;
    gap: 0px;
    border: 1px 0px 0px 0px;
    opacity: 0px;
    border: 1px solid var(--color-main);
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
}

    .wb-hr.wb-hr-medium {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .wb-hr.wb-hr-small {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    .wb-hr.wb-hr-no-margin {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

.loader {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.loader-flex {
    display: flex;
    justify-content: center;
}

.button-icon {
    border: none;
    background: none;
    color: black;
    padding: 0;
}

.modal {
    padding: 30px 20px 20px 20px;
    border-radius: 10px;
}

.modal-title {
    font-weight: 700;
    text-align: center;
    font-size: 40px;
    padding-bottom: 20px;
    color: #3b3d40;
}

.modal-header {
    position: relative;
    font-size: 40px;
    color: #3b3d40;
    font-weight: 700;
    text-align: center;
    justify-content: center !important;
    padding-bottom: 20px;
    border-bottom: none;
}

.modal-content {
    padding: 30px 20px 20px 20px;
    border-radius: 10px;
    position: relative;
    height: auto;
}

.modal-footer {
    border-top: none;
}

.modal-body {
    margin-bottom: 20px;
}

.btn-modal {
    width: 200px;
    padding-top: 14px;
    padding-bottom: 14px;
    border-radius: 5px;
    margin: 0 10px 10px;
    text-transform: uppercase;
    text-align: center;
    font-size: 12px;
    letter-spacing: .1em;
}

.btn-modal-ok {
    color: #000;
    outline: none;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid #3b3d40;
    background-color: transparent;
}

.btn-modal-cancel {
    cursor: pointer;
    border: 2px solid #76142b;
    background-color: #76142b;
    color: #fff;
}

    .btn-modal-cancel:hover {
        color: #fff !important;
    }

.data-usage {
    width: 160px;
    height: 38px;
    background: white;
    margin-right: 10px;
    padding: 2px;
    box-shadow: 2px 0px 2px 1px white, 0px 2px 2px 1px white, 2px 0px 2px 1px white, 0px 0px 2px 1px white;
}

.data-usage__title {
    font-size: 14px;
    color: black;
    margin-bottom: 0;
    font-weight: bold;
    text-align: center;
}

.data-usage__desc {
    font-size: 14px;
    color: black;
    text-align: center;
}

.ws-filter {
    margin-bottom: 25px;
}

.ws-filter__keyword {
    background-color: #fff;
    max-width: 100%;
    min-height: 25px;
    border: 1px solid var(--color-main);
    padding: 10px 10px;
    text-align: center;
    margin-bottom: 10px;
    margin-left: 5px;
}

.ws-filter__select {
    width: 100% !important;
    min-height: 50px !important;
    position: relative;
    color: var(--color-main);
}

    .ws-filter__select .ant-select-selector {
        min-height: 50px !important;
        background: var(--color-main) !important;
    }

    .ws-filter__select .ant-select-selection-item {
        line-height: 50px !important;
        color: #fff !important;
    }

    .ws-filter__select .ant-select-arrow {
        color: #fff !important;
    }

    .ws-filter__select .ant-select-selection-placeholder {
        line-height: 50px;
        color: #fff;
    }

        .ws-filter__select .ant-select-selection-placeholder:focus {
            color: gray;
        }

    .ws-filter__select.ant-select-open.ant-select-show-search .ant-select-selection-placeholder {
        color: lightgray !important;
    }

    .ws-filter__select.ant-select-multiple .ant-select-selection-item {
        color: #000 !important;
        line-height: 22px !important;
    }

    .ws-filter__select.ant-select-multiple .ant-select-selection-overflow {
        padding: 10px;
    }

    .ws-filter__select .ant-select-selection-search {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .ws-filter__select .ant-select-selection-search-input {
        color: white;
        line-height: 50px;
    }

.ws-filter__dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
    background-color: var(--color-main);
}

.ws-filter__dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
    color: #fff !important;
}

.ws-filter__dropdown .ant-select-item {
    line-height: 50px;
}

.ws-filter__select.ant-select-single .ant-select-selection-placeholder {
    line-height: 50px;
}

.ws-filter__input-loading {
    background-image: url(/images/preloader.gif);
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: none;
}

.ws-filter__input {
    border-color: #3b3d40;
    width: 100% !important;
    height: 50px !important;
    border: 1px solid #000 !important;
    background-color: #fff !important;
    border-radius: 1px !important;
}

    .ws-filter__input .anticon-loading {
        background: url(/images/preloader.gif) no-repeat center;
        background-size: auto 100%;
        width: 25px;
        height: 25px;
        cursor: default;
    }

        .ws-filter__input .anticon-loading > svg {
            display: none;
        }

.ws-filter__search {
    width: 50px !important;
    height: 50px !important;
    background-color: #3b3d40 !important;
    background-image: url("/images/icons/glass.svg") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    border: 1px solid #000 !important;
    border-radius: 1px !important;
}

    .ws-filter__search:hover {
        background-color: #3b3d40 !important;
    }

.ws-filter__input .ant-select-selector {
    height: 50px !important;
    background-color: unset !important;
}

.ws-filter__input .ant-select-selection-item {
    display: none;
}

.ws-filter__input .ant-select-selection-search input {
    height: 50px !important;
}

.portfolio-form {
    margin: 70px auto 30px;
    flex-direction: column;
    max-width: 500px;
    font-size: 1.4rem;
}

.portfolio-form__title {
    font-size: 2rem;
    font-weight: 600;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
}

    .portfolio-form__title a {
        font-size: 1.5rem;
        color: #000;
    }

    .portfolio-form__title img {
        margin-left: 6px;
    }

.portfolio-form button[type=submit] {
    width: 200px;
    height: 47px;
}

.portfolio-form .form__group .valid.modified:not([type="checkbox"]) {
    border-color: #3B3D40;
}

.ant-pagination-item {
    /*border-radius: 5px !important;*/
}

.ant-pagination-item-active {
    border-color: var(--color-main) !important;
}

.ant-pagination-item:hover {
    border-color: var(--color-main) !important;
}

.ant-pagination-prev:not(.ant-pagination-disabled) .ant-pagination-item-link:hover {
    border-color: var(--color-main) !important;
    color: black !important;
}

.ant-pagination-next:not(.ant-pagination-disabled) .ant-pagination-item-link:hover {
    border-color: var(--color-main) !important;
    color: black !important;
}

.ant-btn:hover {
    color: black;
    border-color: var(--color-main);
}

.processing {
    position: relative;
    color: black;
    line-height: 30px;
    height: 30px;
    border-radius: 5px;
    width: 140px;
    text-align: center;
    vertical-align: central;
    border: 1px solid black;
}

.file-processing {
    /*font-size: 1.4rem;*/
    position: relative;
    color: black;
    height: 30px;
    width: 140px;
    vertical-align: central;
    border-radius: 5px;
    background-color: darkgray;
}

    .file-processing:before {
        content: attr(data-label);
        position: absolute;
        color: #fff;
        /*text-shadow: 0 0 2px #000;*/
        text-align: center;
        top: 5px;
        left: 0;
        right: 0;
    }

    .file-processing .file-processing__progress {
        border-radius: 5px;
        height: 100%;
        display: inline-block;
        background-color: var(--color-green) !important;
    }

.processing-importing {
    border: none;
    color: white;
    background-color: darkorange;
}

.processing-mapping {
    border: none;
    color: white;
    background-color: var(--color-blue);
}

.processing-processed {
    border: none;
    color: white;
    background-color: var(--color-green);
}

.processing-error {
    border: none;
    color: white;
    background-color: darkred;
}

.col-remark {
    font-size: 12px;
    position: relative;
    top: -5px;
}

.with-remark {
    top: -8px;
}

.mapping mapping__input {
    width: 400px;
}

.mapping__input-autocomplete {
    border-left: 1px solid gray;
    border-right: 1px solid gray;
}

    .mapping__input-autocomplete:first-child {
        border-top: 1px solid gray;
    }

    .mapping__input-autocomplete:last-child {
        border-bottom: 1px solid gray;
    }

    .mapping__input-autocomplete:not(:last-child) {
        border-bottom: 1px solid gray;
    }

/* Mapping Select */
.mapping-type__select {
    max-width: 230px !important;
    height: 40px !important;
    position: relative;
}

    .mapping-type__select .ant-select-selector {
        height: 40px !important;
        border: 1px solid black !important;
    }

    .mapping-type__select .ant-select-selection-item {
        line-height: 40px !important;
    }

.mapping-type__dropdown .ant-select-item {
    line-height: 40px;
}

/* */

/* Mapping Input */

.mapping__input {
    border-color: #3b3d40;
    max-width: 900px !important;
    height: 40px !important;
    border: 1px solid #000 !important;
    background-color: #fff !important;
    border-radius: 1px !important;
    position: relative;
    padding-right: 40px;
    box-sizing: border-box;
}

    .mapping__input .ant-select-selector {
        height: 40px !important;
        background-color: unset !important;
    }

    .mapping__input .ant-select-selection-search input {
        height: 40px !important;
    }

    .mapping__input .ant-select-selection-item {
        display: none;
        font-weight: bold;
    }

    .mapping__input .anticon-loading {
        background: url(/images/preloader.gif) no-repeat center;
        width: 20px;
        height: 20px;
        cursor: default;
    }

        .mapping__input .anticon-loading > svg {
            display: none;
        }

/* */

.mapping__input-loading {
    background-image: url(/images/preloader.gif);
    background-repeat: no-repeat;
    background-position: right 10px center;
    transition: none;
}

.mapping__input-yellow {
    background-color: yellow !important;
}

.mapping__input-blue {
    background-color: #6ab6f7 !important;
}

.portfolio__pagination {
    margin-top: 20px;
    margin-bottom: 20px;
}

.valuations-summary {
    width: 33.333%;
    height: 90px;
    border: 1px solid #ccc;
    border-top: none;
    justify-content: center;
}

    .valuations-summary p {
        text-align: center;
    }

        .valuations-summary p > span:nth-child(1) {
            display: block;
            color: #07841a;
            font-weight: 700;
            margin-bottom: 5px;
        }

.valuations__desc {
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
}

.valuations__secondary-desc {
    align-content: end;
    font-size: 16px;
    font-weight: 600;
    line-height: 25px;
}

.valuations-table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    font-size: 15px;
    margin-bottom: 1rem;
}

    .valuations-table th {
        text-align: center;
        padding: 9px 5px;
        vertical-align: baseline;
    }

        .valuations-table th:first-child {
            width: 34%;
            text-align: left;
        }

    .valuations-table tr {
        text-align: center;
        border-color: inherit;
        border-style: solid;
        border-width: 0;
    }

.valuations-table__actions {
    padding: 10px;
}

.wine-info {
    width: 100%;
    padding: 5px 0 0;
}

.wine-info__text {
    text-align: left;
    font: 15px 'Montserrat', 'sans-serif';
    width: 70%;
}

    .wine-info__text span {
        display: block;
    }

        .wine-info__text span:nth-child(2) {
            font: italic 13px 'PT Serif';
            color: rgba(59, 61, 64, .6);
        }

.wine-info__dot {
    width: 11px;
    height: 11px;
    margin-left: 20px;
    display: flex;
    border-radius: 10px;
    margin-left: auto;
}

.db__dot {
    display: inline-block;
    border-radius: 10px;
    width: 15px;
    height: 15px;
}

.wine-info__dot-red,
.db__dot-red {
    background-color: #76142b;
}

.wine-info__dot-rose,
.db__dot-rose {
    background-color: #ffbcd2
}

.wine-info__dot-white,
.db__dot-white {
    background-color: #f5e4ae
}

.toggle-tr {
    display: none;
    text-align: center;
    background: #ebebec;
}

.toggle-tr__item td {
    padding: 5px;
}

    .toggle-tr__item td:first-child {
        width: 34%;
        text-align: left;
    }

.toggle-tr__caption td {
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px;
    border-bottom: 1px solid white;
}

    .toggle-tr__caption td:first-child {
        text-align: left;
    }

.toggle-tr__openned {
    display: table-row;
}

.ant-dropdown__bold .ant-select-item-option-content {
    font-weight: bold !important;
}

.filter-label {
    font-size: 1.7rem;
    color: var(--color-main);
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.vintage-hyperlink {
    color: #0071c1;
}

    .vintage-hyperlink:hover {
        text-decoration: underline;
    }

.ws-filter__close {
    cursor: pointer;
}

.price-label:not(.text-danger):hover {
    text-decoration: underline;
}

.supplier-label:hover {
    text-decoration: underline;
    cursor: pointer;
}

.best-price {
    color: red;
    font-size: 1.2rem;
}

.custom-switch.ant-switch-checked {
    background-color: var(--color-main);
}

.analytics__link {
    text-decoration: none;
}

.canvas__600px {
    height: 600px !important;
}

.canvas__500px {
    height: 500px !important;
}

.wine-title__subtitle {
    text-align: center;
    font: italic 18px PTSerif;
    color: #3b3d40;
    padding-bottom: 10px;
}

.chart-legend {
    display: flex;
    justify-content: center;
}

.chart-legend ul {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min-content;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.chart-legend li {
    padding: 6px 10px;
    border-radius: 6px;
    box-sizing: border-box;
    white-space: nowrap;
}

@media (max-width: 1400px) {
    .chart-legend ul {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .chart-legend li {
        white-space: normal;
        width: 100%;
    }
}

.mapping-rules li {
    padding: 10px;
}