﻿.ExtendedDealsModal {
}

    .ExtendedDealsModal .modal-body {
        text-align: center;
        max-height: calc(100vh - 180px);
    }

    .ExtendedDealsModal .Icon {
        margin-bottom: 20px;
    }

    .ExtendedDealsModal .Text {
        color: var(--custom-color-1);
        font-weight: 500;
        margin-bottom: 20px;
    }

    .ExtendedDealsModal .Buttons {
        margin-left: auto;
        margin-right: auto;
        width: 270px;
    }

    .ExtendedDealsModal .ExtendedDeal {
        background-color: var(--custom-color-1);
        border-radius: 1rem;
        color: #ffffff;
        font-size: 1.1em;
        font-weight: 600;
        letter-spacing: 1px;
        margin-bottom: 20px;
        padding-bottom: 1.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-top: 1.7rem;
    }

        .ExtendedDealsModal .ExtendedDeal .FlexContainer {
            align-content: center;
            justify-content: center;
        }

        .ExtendedDealsModal .ExtendedDeal .Name {
            direction: ltr;
            margin-left: auto;
            margin-right: auto;
        }

.ExtendedDealModal {
    color: #6e6e6e;
}

    .ExtendedDealModal .modal-dialog {
        margin-top: 0px;
    }

    .ExtendedDealModal .modal-header {
        border-bottom: none;
        height: 50px !important;
    }

    .ExtendedDealModal .modal-body {
        height: calc(100vh - 50px) !important;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .ExtendedDealModal .modal-footer {
        border-top: none;
    }

    .ExtendedDealModal .DealName {
        align-items: center;
        color: #545454;
        display: flex;
        flex-wrap: wrap;
        font-size: 18px;
        font-weight: 500;
        justify-content: center;
    }

        .ExtendedDealModal .DealName .DealNameWord {
            display: flex;
            flex-wrap: wrap;
        }

    .ExtendedDealModal .StepTitle {
        background-color: #ffffff;
        color: #545454;
        font-size: 15px;
        margin-bottom: 5px;
        margin-top: 20px;
        text-align: center;
    }

    .ExtendedDealModal .StepSubTitle {
        background-color: #ffffff;
        color: #6e6e6e;
        font-size: 14px;
        margin-bottom: 5px;
        margin-top: 5px;
        padding-right: 10px;
    }

    .ExtendedDealModal .Step {
        background-color: rgba(229, 243, 250, 1);
        padding: 8px;
    }

        .ExtendedDealModal .Step.UnSelected {
            opacity: 0.6;
        }

        .ExtendedDealModal .Step .StepRowPlus {
            background-color: #e5f3fa;
            border-radius: 12px;
            color: rgba(255, 151, 62, 1);
            height: 24px;
            margin-right: calc(100vw - 90px);
            margin-top: -16px;
            padding-top: 2px;
            position: absolute;
            text-align: center;
            width: 24px;
        }

        .ExtendedDealModal .Step .StepRow {
            border-radius: 6px;
            display: flex;
            margin-top: 8px;
            padding: 8px;
        }

            .ExtendedDealModal .Step .StepRow.Header {
                margin-bottom: 10px;
            }

            .ExtendedDealModal .Step .StepRow.Buy {
                background-color: rgba(255, 255, 255, 1);
            }

            .ExtendedDealModal .Step .StepRow.Get {
                background-color: var(--custom-color-8);
                color: #ffffff;
            }

            .ExtendedDealModal .Step .StepRow.Search {
            }

                .ExtendedDealModal .Step .StepRow.Search input {
                    background-color: transparent;
                    border: none;
                    outline: none;
                    padding: 5px;
                    width: calc(100% - 25px);
                }

            .ExtendedDealModal .Step .StepRow.Get.Search input {
                color: #ffffff;
            }

            .ExtendedDealModal .Step .StepRow.Get.Search ::placeholder {
                color: #ffffff;
            }

            .ExtendedDealModal .Step .StepRow.Get.Search :-ms-input-placeholder {
                color: #ffffff;
            }

            .ExtendedDealModal .Step .StepRow.Get.Search ::-ms-input-placeholder {
                color: #ffffff;
            }

            .ExtendedDealModal .Step .StepRow .StepRowFramePlaceHolder {
                height: 60px;
                padding: 10px;
                width: 65px;
            }

            .ExtendedDealModal .Step .StepRow .StepRowFrame {
                background-color: rgba(229, 243, 250, 1);
                border: solid 0.5px #dadcdd;
                border-radius: 6px;
                color: var(--custom-color-2);
                height: 60px;
                padding: 10px;
                width: 65px;
            }

                .ExtendedDealModal .Step .StepRow .StepRowFrame .StepRowFrameRow1 {
                    font-size: 12px;
                    font-weight: 500;
                    line-height: 12px;
                }

                .ExtendedDealModal .Step .StepRow .StepRowFrame .StepRowFrameRow2 {
                    font-size: 18px;
                    font-weight: 500;
                    line-height: 18px;
                    margin-top: 5px;
                }

            .ExtendedDealModal .Step .StepRow .StepRow1 {
                margin-top: 5px;
                width: 65px;
            }

            .ExtendedDealModal .Step .StepRow .StepRowQuantity {
                display: flex;
                margin-top: 5px;
                width: 65px;
            }

                .ExtendedDealModal .Step .StepRow .StepRowQuantity .Title {
                    color: #6e6e6e;
                    font-size: 10px;
                    margin-left: 4px;
                    margin-top: 8px;
                }

            .ExtendedDealModal .Step .StepRow.Buy .StepRowQuantity .Title {
                color: #6e6e6e;
            }

            .ExtendedDealModal .Step .StepRow.Get .StepRowQuantity .Title {
                color: #ffffff;
            }

            .ExtendedDealModal .Step .StepRow .StepRowQuantity .Box {
                border: solid 0.5px #dadcdd;
                border-radius: 6px;
                color: var(--custom-color-2)e5;
                font-size: 13px;
                height: 30px;
                outline: none;
                padding: 5px;
                text-align: center;
                width: 40px;
            }

            .ExtendedDealModal .Step .StepRow.Buy .StepRowQuantity .Box {
                background-color: #ffffff;
            }

            .ExtendedDealModal .Step .StepRow.Get .StepRowQuantity .Box {
                background-color: #ffffff;
            }

            .ExtendedDealModal .Step .StepRow.Buy .StepRowDetails {
                color: #6e6e6e;
            }

            .ExtendedDealModal .Step .StepRow.Get .StepRowDetails {
            }

            .ExtendedDealModal .Step .StepRow .StepRowDetails {
                padding-left: 0px;
                padding-right: 20px;
                width: calc(100% - 70px);
            }

                .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Info {
                    font-size: 16px;
                    margin-top: 20px;
                }

                .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Info1 {
                    font-size: 12px;
                    margin-top: 15px;
                }

                .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Info2 {
                    font-size: 12px;
                    margin-top: 0px;
                }

                .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Info1Of3 {
                    font-size: 12px;
                    margin-top: 0px;
                }

                .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_InfoBold {
                    font-size: 13px;
                    font-weight: 700;
                }

                .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Price {
                    font-size: 11px;
                    margin-top: 8px;
                }

                    .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Price .InitialPriceContainer {
                        display: inline-block;
                        width: 78px;
                    }

                    .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Price .InitialPrice {
                        font-size: 13px;
                        font-weight: 400;
                    }

                    .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Price .FinalPrice {
                        font-size: 18px;
                        font-weight: 500;
                    }

                .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Name {
                    font-size: 13px;
                    font-weight: 400;
                }

                .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Id {
                    display: flex;
                    font-size: 11px;
                    margin-top: 2px;
                }

                    .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Id .ItemId {
                        margin-top: 4px;
                        width: calc(100% - 80px);
                    }

                    .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Id .History {
                        border: solid 0.5px #dadcdd;
                        border-radius: 6px;
                        margin-right: 5px;
                        padding: 2px 5px;
                    }

                .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Badges {
                    display: flex;
                    flex-wrap: wrap;
                }

                    .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Badges .ItemBadge {
                        border-radius: 4px;
                        font-size: 11px;
                        font-weight: 400;
                        margin-left: 10px;
                        margin-top: 3px;
                        padding: 4px;
                        text-wrap: none;
                        white-space: nowrap;
                    }

            .ExtendedDealModal .Step .StepRow.Buy .StepRowDetails .StepRowDetails_Badges .ItemBadge {
            }

            .ExtendedDealModal .Step .StepRow.Get .StepRowDetails .StepRowDetails_Badges .ItemBadge {
            }

            .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Badges .ItemBadge.Deal {
                background-color: var(--custom-color-1);
                border-radius: 6px;
                color: #ffffff;
            }

            .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Badges .ItemBadge.Stock {
                background-color: rgba(214, 0, 0, 1);
                border-radius: 6px;
                color: #ffffff;
            }

                .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Badges .ItemBadge.Stock.Arriving {
                    background-color: rgba(235, 151, 78, 1);
                }

            .ExtendedDealModal .Step .StepRow .StepRowDetails .StepExpanded {
                font-size: 20px;
                margin-top: 15px;
            }

            .ExtendedDealModal .Step .StepRow .StepRowPrice {
            }

                .ExtendedDealModal .Step .StepRow .StepRowPrice .InitialPrice {
                    font-size: 18px;
                    font-weight: 400;
                    margin-top: 10px;
                    text-decoration: line-through;
                }

                .ExtendedDealModal .Step .StepRow .StepRowPrice .FinalPrice {
                    font-size: 18px;
                    font-weight: 600;
                    margin-top: 0px;
                }

                .ExtendedDealModal .Step .StepRow .StepRowPrice .Price {
                    font-size: 18px;
                    font-weight: 600;
                    margin-top: 20px;
                    text-align: left;
                }

        .ExtendedDealModal .Step .ItemsList {
            max-height: 300px;
            overflow-y: auto;
        }

        .ExtendedDealModal .Step .OrderRow {
            background-color: #ffffff;
            display: flex;
            flex-wrap: wrap;
            margin-top: 8px;
            padding: 8px;
        }

            .ExtendedDealModal .Step .OrderRow .OrderRowFrame {
                background-color: rgba(229, 243, 250, 1);
                border: solid 0.5px #dadcdd;
                border-radius: 6px;
                height: 60px;
                padding: 10px;
                width: 65px;
            }

                .ExtendedDealModal .Step .OrderRow .OrderRowFrame .OrderRowFrameRow1 {
                    font-size: 12px;
                    font-weight: 500;
                    line-height: 12px;
                }

                .ExtendedDealModal .Step .OrderRow .OrderRowFrame .OrderRowFrameRow2 {
                    font-size: 18px;
                    font-weight: 500;
                    line-height: 18px;
                    margin-top: 5px;
                }

            .ExtendedDealModal .Step .OrderRow .Quantity {
                margin-top: 5px;
                width: 65px;
            }

                .ExtendedDealModal .Step .OrderRow .Quantity input {
                    background-color: rgba(229, 243, 250, 1);
                    border: solid 0.5px #dadcdd;
                    border-radius: 6px;
                    box-shadow: 0px 3px 6px #00000029;
                    color: #6e6e6e;
                    font-size: 13px;
                    outline: none;
                    padding: 5px;
                    text-align: center;
                    width: 100%;
                }

            .ExtendedDealModal .Step .OrderRow .OrderRowDetails {
                padding-left: 20px;
                padding-right: 20px;
                width: calc(100% - 100px);
            }

                .ExtendedDealModal .Step .OrderRow .OrderRowDetails .OrderRowDetails_Price {
                    font-size: 18px;
                    font-weight: 500;
                    margin-top: 8px;
                }

                .ExtendedDealModal .Step .OrderRow .OrderRowDetails .OrderRowDetails_Name {
                    font-size: 13px;
                }

                .ExtendedDealModal .Step .OrderRow .OrderRowDetails .OrderRowDetails_Id {
                    font-size: 11px;
                }

        .ExtendedDealModal .Step .Nis {
            font-size: 10px;
            font-weight: 400;
        }

        .ExtendedDealModal .Step .ValidationMessage {
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 10px;
            margin-right: 10px;
            margin-top: 10px;
        }

        .ExtendedDealModal .Step .Button {
            display: flex;
        }

            .ExtendedDealModal .Step .Button button {
                border-radius: 6px;
                margin-top: 8px;
                padding-bottom: 8px;
                padding-top: 8px;
            }

                .ExtendedDealModal .Step .Button button.Select {
                    background-image: linear-gradient(to right, var(--custom-color-2), #08588a);
                    width: 100%;
                }

                .ExtendedDealModal .Step .Button button.Submit {
                    background-color: transparent;
                    background-image: none;
                    border: solid 1px var(--custom-color-2);
                    color: var(--custom-color-2);
                    width: calc(50% - 5px);
                }

                    .ExtendedDealModal .Step .Button button.Submit:first-child {
                        margin-left: 5px;
                    }

                    .ExtendedDealModal .Step .Button button.Submit:last-child {
                        margin-right: 5px;
                    }

    .ExtendedDealModal .StepDelete {
        margin-top: 20px;
        text-align: center;
    }

        .ExtendedDealModal .StepDelete button {
            background-color: transparent;
            background-image: none;
            border: solid 1px var(--custom-color-2);
            color: var(--custom-color-2);
            font-size: 14px;
            padding: 5px;
            width: 270px;
        }

@media (max-width: 575px) {
    .ExtendedDealModal .modal-dialog {
        margin: 0px;
    }

    .ExtendedDealModal .modal-body {
    }
}

@media (min-width: 576px) {
    .ExtendedDealModal .modal-dialog {
        margin-top: 40px;
    }

    .ExtendedDealModal .modal-body {
        height: auto !important;
        max-height: calc(100vh - 140px) !important;
    }

    .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Price .InitialPriceContainer {
        width: 140px;
    }
}

@media (min-width: 768px) {
    .ExtendedDealModal .modal-dialog {
        max-width: none;
        width: 600px;
    }

    .ExtendedDealModal .modal-body {
        padding-left: 30px;
        padding-right: 30px;
    }

    .ExtendedDealModal .modal-content {
        border-radius: 10px;
    }

    .ExtendedDealModal .StepTitle {
        margin-top: 40px;
    }

    .ExtendedDealModal .Step {
        border-radius: 10px;
        padding: 15px;
    }

        .ExtendedDealModal .Step .StepRow {
            font-size: 15px;
        }

            .ExtendedDealModal .Step .StepRow .StepRowFrame .StepRowFrameRow1 {
            }

            .ExtendedDealModal .Step .StepRow .StepRowFrame .StepRowFrameRow2 {
                font-size: 20px;
                margin-top: 10px;
            }

            .ExtendedDealModal .Step .StepRow .StepRowDetails .StepRowDetails_Name {
                font-size: 15px;
            }

        .ExtendedDealModal .Step .StepRowPlus {
            margin-right: 450px;
        }
}

.ExtendedDealModal .Step .FromItem {
    border: dotted 1px #777777;
}

.ExtendedDealModal .Loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ItemSalesHistoryModal {
}

    .ItemSalesHistoryModal .modal-body {
        overflow-y: auto;
    }

    .ItemSalesHistoryModal .ReferenceDate {
        width: 25%;
    }

    .ItemSalesHistoryModal .Quantity {
        width: 25%;
    }

    .ItemSalesHistoryModal .Reference {
        width: 25%;
    }

    .ItemSalesHistoryModal .FinalPrice {
        width: 25%;
    }

    .ItemSalesHistoryModal .TableHead {
    }

        .ItemSalesHistoryModal .TableHead table {
            margin-bottom: 0px;
        }

    .ItemSalesHistoryModal .TableBody {
        max-height: calc(100vh - 350px);
        overflow-x: hidden;
    }

