﻿/*** mobile only ***/
.swatchSpaceMax {
    margin-right: max(5px, 2.2%);
}

.colorSqrSelected {
    width: 275px;
    height: 200px;
    min-width: 275px;
    max-width: 275px;
    min-height: 200px;
    max-height: 200px;
}

.ndx-Overlay-content > * {
    pointer-events: all;
}

.ndx-Overlay {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.ndx-Overlay-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ndx-Sandwich {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    height: auto;
}

.ndx-Sandwich-top {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.ndx-title3 {
    font-size: .694rem;
    font-weight: 500;
}

.ndx-MenuButton.isActionable {
    cursor: pointer;
}

.ndx-NavHeader-close, .ndx-NavHeader-back {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    overflow: visible;
    margin: 0 .5rem;
}

.ndx-MenuButton {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
}

h5.ndx-NavHeader-title {
    margin-bottom:0;
}

.ndx-NavHeader-title {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    letter-spacing: 2px;
    text-transform: capitalize;
    font-size: .833rem;
    font-weight: 300;
    color: black;
}

.ndx-IconSpotColorPickerSandwich {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    padding: 0;
}

.ndx-Sandwich-bottom {
    background-color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /*min-height: 4.5rem;*/
    min-height: 5rem;
}

.ndx-NavHeader {
    background-color: #f6f6f6;
    color: #4a4a4a;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 1;
}

.ndx-NavHeader {
    height: 2.5rem;
}

.ndx-Menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    text-align: center;
    padding: 0 .6rem;
}

.ndx-IconSpotColorPickerSandwich-scroller {
    display: block;
    max-height: 10.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.ndx-IconSpotColorPickerSandwich-spotColor {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    border-bottom: 1px solid #e1e1e1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 3.125rem;
    flex: 0 0 3.125rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row;
    flex-flow: row;
    padding: .75rem 0;
    margin: 0 1.25rem;
}

.ndx-IconSpotColorPickerSandwich-spotColor-title {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    font-size: 0.9rem;
    color: #565657 !important;
}

.ndx-NavHeader-close svg, .ndx-NavHeader-back svg {
    vertical-align: middle;
}

.ndx-NavHeader svg {
    height: .9rem !important;
    width: .9rem !important;
    fill: #4a4a4a;
}

.ndx-Menu svg {
    height: 1.5rem;
    margin: 0 auto;
}

.ndx-IconSpotColorPickerSandwich-spotColor .ndx-ColorSwatch {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    margin-right: .75rem;
    display: grid;
}

.ndx-ColorSwatch {
    position: relative;
    cursor: pointer;
    height: 1.5rem;
    width: 1.5rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ndx-ColorSwatch-inset {
    display: none;
}

.ndx-ColorSwatch.isDisabled {
    cursor: auto;
}

.ndx-IconSpotColorPickerSandwich {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    padding: 0;
}

.ndx-IconSpotColorPickerSandwich-spotColor-arrow {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

    .ndx-IconSpotColorPickerSandwich-spotColor-arrow svg {
        height: 1rem;
        width: 1rem;
    }
/*** after you select a color ***/
.IsActive {
    display: block !important;
}

.IsHidden {
    display: none !important;
}

.colorSqr {
    display: inline-block;
    vertical-align: bottom;
    border-radius: 3px 3px 3px 3px;
    -moz-border-radius: 3px 3px 3px 3px;
    -webkit-border-radius: 3px 3px 3px 3px;
}

.ndx-ColorPickerSandwich {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 0;
    min-width: 0;
    overflow: visible;
    padding: 0;
    position: relative;
}

.ndx-ColorPicker.isInline .ndx-ColorPicker-selected {
    /*position: absolute;*/
    /*position:relative;*/
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: auto;
    width: 100%;
    /*padding: 1rem 0;*/
    /*padding-top:0.5rem;*/
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    pointer-events: none;
}

.ndx-ColorPicker-selected {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 1.1rem;
    /*margin-bottom: 1rem;*/
    font-size: .833rem;
}

.ndx-ColorPicker.isInline .ndx-ColorPicker-colorsContainer {
    position: relative;
    /*margin: 0 1rem;*/
    /*margin: 2.5rem 0 0.1rem;*/
}

.ndx-ColorPicker.isInline .ndx-ColorPicker-colors {
    overflow-x: scroll;
    overflow-y: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    /*padding: 2rem 0 .75rem;*/
    padding: 0.15rem 0 .75rem;
}

    .ndx-ColorPicker.isInline .ndx-ColorPicker-colors .ndx-ColorSwatches {
        margin: 0 auto;
    }

.ndx-ColorSwatches {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.ndx-ColorPicker.isInline .ndx-ColorPicker-colors .ndx-ColorSwatches-list {
    margin-left: 0;
    margin-right: 0;
}

.ndx-ColorSwatches-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin: -.375rem;
    /*padding: .375rem 0;*/
}

.ndx-ColorSwatches-item {
    padding: 0;
}

    .ndx-ColorSwatches-item > .ndx-ColorSwatch {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        height: 1.5rem;
        width: 1.5rem;
    }

.ndx-ColorSwatch {
    position: relative;
    cursor: pointer;
    height: 1.5rem;
    width: 1.5rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ndx-ColorPicker {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
}

.ndx-ColorPicker-selectedColor {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    flex-direction: column;
}

.ndx-ColorPicker.isInline .ndx-ColorPicker-selected .ndx-ColorSwatch {
    display: none;
}

.ndx-ColorPicker-selected .ndx-ColorSwatch {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    margin-right: .4rem;
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

.ndx-ColorSwatch.isSmall {
    width: 1.1rem;
    height: 1.1rem;
}

.ndx-ColorSwatch.isDisabled {
    cursor: auto;
}

.ndx-ColorPicker.isInline .ndx-ColorPicker-selectedColorName {
    text-transform: capitalize;
    /*font-size: .694rem;*/
    /*margin-top: 0.255rem;*/
    margin-top: 0;
}

.ndx-ColorPicker-selectedColorName {
    font-size: .833rem;
    font-weight: 500;
    white-space: nowrap;
    text-transform: capitalize;
}

@media (max-width: 850px) {
    .ndx-ColorPicker.isInline .ndx-ColorPicker-colors .ndx-ColorSwatch {
        position: relative;
    }
}

#formsearch {
    display: flex;
    justify-content: space-evenly;
    position: relative;
    margin: 0 auto;
}

    #formsearch > input[type=text] {
        line-height: 100%;
        margin-bottom: 0;
        margin-top: 0;
        padding-bottom: 0;
        padding-top: 0;
    }

#searchcolor {
    margin: 0 !important;
    align-self: center;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    position: absolute;
    left: 20px;
}

#colorSerach {
    align-self: center;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    border-radius: 20px;
    padding-left: 2.5rem;
}

.ndx-NavHeader-clear {
    background-color: transparent;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
