.dx-widget {
    font-size: 16px;
}

.tile.dx-tileview {
    position: relative;
    z-index: 5;
}

.dx-item-content .item-image {
    width: auto !important;
    height: 270px;
/*    max-width: 300px;*/
}
img.CatalogProductTileListPicture {
    width: 100% !important;
}
.item-name.CatalogTileListItemName, .item-name.CatalogTileListItemName a, .item-name.CatalogTileListItemName a:hover {
    line-height: 22px;
    text-align:center;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(70, 72, 85, 1);
}

.item-headline.CatalogTileListItemHeadline {
    font-weight: 500;
}

.item-stockcode.itemTileStock {
    margin: 5px 0;
    color: #ff6607;
    font-size: 16px;
}
.detailLink {
    font-size: 16px;
        margin: 15px 0;
}
.zoomIcon {
    position: absolute;
    top: 15px;
}

.dx-overlay-wrapper input,
.dx-overlay-wrapper textarea {
    font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Verdana, sans-serif;
    line-height: 1.35715;
    float: left;
}

.dx-tile.dx-state-hover {
    box-shadow: 0px 3px 10px 3px rgba(221, 221, 221, 0.6);
    border-color: rgba(255, 102, 7, 0.3) !important;
}

.lightboxImage img {
    max-width: 1000px;
    height: auto;
    width: 100%;
}

a.lightbox-close {
    display: block;
    float: right;
    margin: 10px;
}

a.lightbox-close:before {
    content: "Close";
    margin: 10px;
}

.price-text {
    float: left;
}

.addToCartBtn {
    padding: 3px !important;
    margin: 5px 0;
}

a.addToCartBtn,
a.addToCartBtn:hover {
    color: #fff;
    text-decoration: none;
    padding: 1px 5px !important;
    margin: 0 10px;
}

/* Popup Content */

.quickviewContent .CatalogQuickViewName {
    font-weight: 600;
    font-size: 2.0rem;
    margin: 10px 0;
    color: #ff6600;
}

.quickviewContent .CatalogQuickViewHeadline {
    font-size: 1.5rem;
    font-weight: 600;
}

.quickviewContent .CatalogQuickViewStockCode {
    margin: 5px 0;
    color: #ff6600;
}

.quickviewContent .CatalogQuickViewShortDescription {
    margin: 15px 0;
}

.quickviewContent .PriceRow {
    width: 50%;
    float: left;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 16px;
}

.quickviewContent .itemPrice {
    float: left;
    font-weight: 600;
    width: 50%;
    font-size: 16px;
}

.quickviewContent input.QVQty {
    width: 40px;
    clear: both;
    padding: 5px;
}

.quickviewContent .addToCartBtn.dxbButton.btnCart {
    margin: 0px 3px;
}

.QVcheckoutLink a.btnCart,
.QVcheckoutLink a.btnCart:hover {
    color: #fff;
    text-decoration: none;
    padding: 1px 5px !important;
    margin: 0 10px;
    float: none;
}

.QVImage img:hover {
    cursor: zoom-in;
}

.zoomable {
    z-index: 1600;
    height: 450px;
    width: 450px;
    position: absolute !important;
    left: 370px;
    display: block;
}

/* Popup Pricing Grid  */
div#messagePlaceHolder {
    margin-top: 10px;
}

#popupPricingGrid {
    padding: 0 10px 0 0;
    width: 50% !important;
    float: right;
    margin-top: 0px;
}

#popupPricingGrid .dx-gridbase-container>.dx-datagrid-rowsview.dx-scrollable {
    max-height: 200px;
    border-width: 0;
}

.dx-datagrid-rowsview .dx-row {
    border-bottom: 1px solid #d6d5d5 !important;
}

.dx-datagrid-rowsview .dx-row:nth-last-child(2) {
    border-bottom: 0px solid #d6d5d5 !important;
}

.dx-datagrid-headers,
.dx-datagrid-borders>.dx-datagrid-headers,
.dx-datagrid-headers .dx-datagrid-table .dx-row>td {
    border-width: 0px !important;
}

.dx-header-row td[role="columnheader"] {
    border-width: 0px !important;
    text-align: center !important;
    text-decoration: underline;
    color: #000;
}

#popupPricingGrid .dx-datagrid .dx-row>td {
    padding: 10px 5px;
    white-space: normal;
    word-break: normal;
    border-width: 0;
    border-color: #000;
    border-radius: 0;
    text-align: center !important;
}

#popupPricingGrid .dx-widget {
    font-size: 12px;
}

#popupPricingGrid .dx-datagrid-content .dx-datagrid-table .dx-row>td:first-child,
#popupPricingGrid .dx-datagrid-content .dx-datagrid-table .dx-row>tr>td:first-child {
    border-left: 0;
    width: 100px;
    border-right: 0;
}

#popupPricingGrid .dx-datagrid-content .dx-datagrid-table .dx-row>td:nth-child(2n),
#popupPricingGrid .dx-datagrid-content .dx-datagrid-table .dx-row>tr>td:nth-child(2n) {
    width: 70px;
}

#popupPricingGrid .dx-datagrid-content .dx-datagrid-table .dx-row>td:nth-child(3n),
#popupPricingGrid .dx-datagrid-content .dx-datagrid-table .dx-row>tr>td:nth-child(3n) {
    width: 40px;
}

#popupPricingGrid .dx-datagrid-content .dx-datagrid-table .dx-row>td:nth-child(4n),
#popupPricingGrid .dx-datagrid-content .dx-datagrid-table .dx-row>tr>td:nth-child(4n) {
    width: 50px;
}

#popupPricingGrid .dx-datagrid-content .dx-datagrid-table .dx-row>td:nth-child(5n),
#popupPricingGrid .dx-datagrid-content .dx-datagrid-table .dx-row>tr>td:nth-child(5n) {
    width: 50px;
}

.dx-datagrid .dx-row>td a {
    white-space: normal;
    word-break: normal;
    text-align: center;
}

.dx-texteditor.dx-editor-outlined {
    min-width: 40px;
    max-width: 60px;
    height: 48px;
}

.dx-texteditor-container {
    width: 85%;
    float: right;
    margin-right: 2px;
    max-height: 30px;
}

.dx-datagrid-rowsview .dx-texteditor-input {
    padding: 4px !important;
    min-height: 24px !important;
    border: 1px solid;
    font-size: 1em;
    border-color: #ddd;
    border-radius: 0px !important;
    color: #000;
}

.dx-datagrid .dx-column-lines>td:last-child {
    border-right: 0px solid #000;
    padding: 0;
}

.divWrapper_gridAddToCartButton {
    min-width: 60px;
    height: 100%;
    border-radius: 0px;
    margin: 0px;
    padding: 6px 0;
    text-align: center;
}

a.gridAddToCartButton,
a.gridAddToCartButton:hover,
a.gridAddToCartButton:focus {
    color: #fff;
    font-size: 12px;
    text-align: center;
    padding: 5px 7px;
    background: #ff6600;
    border-radius: 5px;
    position: relative;
    top: 5px;
}

a.gridAddToCartButton.added {
    font-size: 10px;
    padding: 0px 0px;
    border-radius: 0px;
    white-space: normal;
    text-transform: uppercase;
    top: -2px;
}

@media screen and (max-width: 767px) {
    .touchAction {
        touch-action: none;
    }

    .dx-toolbar-label .dx-toolbar-item-content>div {
        font-size: 20px;
    }

    .dx-popup-title.dx-toolbar .dx-toolbar-items-container {
        margin-bottom: 0;
    }

    .dx-scrollable-native.dx-scrollable-vertical,
    .dx-scrollable-native.dx-scrollable-vertical .dx-scrollable-container {
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .dx-overlay-wrapper.dx-popup-wrapper {
        z-index: 1501;
        position: fixed !important;
        width: 100%;
        height: 100%;
        left: 0px;
        top: 0px;
        transform: translate(0px, 0px);
        transition: all 0s ease 0s;
        background-color: rgba(128, 128, 128, 0.8);
    }

    .dx-overlay-wrapper {
        height: 200vh !important;
        touch-action: none;
    }

    .dx-overlay-content.dx-popup-normal.dx-popup-draggable.dx-resizable,
    .dx-overlay-content.dx-popup-normal.dx-resizable.dx-popup-inherit-height {
        width: 80% !important;
        /*  height: auto !important; */
        height: 100vh !important;
        margin: 0px auto;
        transform: translate(0px, 523px);
        max-width: 100%;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }

    .CatalogProductQuickViewPicture {
        max-width: 250px;
    }

    #popupPricingGrid .dx-gridbase-container>.dx-datagrid-rowsview.dx-scrollable {
        max-height: none;
    }

    div#popupPricingGrid {
        height: unset;
        overflow-y: hidden;
        width: 100% !important;
    }

    .zoomable {
        display: none;
    }

    #popupPricingGrid .dx-scrollable-container {
        overflow-y: visible;
    }
}

@media screen and (max-width: 414px) {
    .dx-item.dx-tile {
        width: unset;
        /*  width: 200px !important;*/
        left: unset;
    }

    img.CatalogProduct2xListPicture,
    img.CatalogProduct4xListPicture,
    img.CatalogProductTileListPicture,
    .RelatedItemsImage img,
    img.CatalogProductVerticalListPictureNotFound {
        width: 200px !important;
        max-height: 200px;
    }
}

@media screen and (max-width: 375px) {

    .dx-overlay-content.dx-popup-normal.dx-popup-draggable.dx-resizable,
    .dx-overlay-content.dx-popup-normal.dx-resizable.dx-popup-inherit-height {
        width: 95% !important;
        height: 80vh !important;
    }

    .dx-item.dx-tile {
        width: 90% !important;
        /* width: 200px !important; */
        /* left: 15% !important; */
    }
}

img.CatalogProduct2xListPicture,
img.CatalogProduct4xListPicture,
img.CatalogProductTileListPicture,
.RelatedItemsImage img,
img.CatalogProductVerticalListPictureNotFound {
    width: 200px !important;
    max-height: 200px;
    margin-bottom: 15px;
}

@media screen and (min-width: 768px) {
    .zoomable {
        display: block;
    }
}