/*  INITIAL SETUP CSS FROM WIDGET  */
.dx-popup-wrapper > #cfgPopup.dx-overlay-content {
    height: 65vh !important;
    max-height: 600px;
}

#cfgPopup.dx-overlay-content .dx-popup-content {
    padding: 25px 20px 0;
}
/*popup title*/
.dx-item-content.dx-toolbar-item-content > div {
    font-size: 28px;
}

.cfgWrapper {
 /*   width: 1000px;*/
}

.cfgContent {   
    width: 100%;
}

.cfgLeft h4 {
    font-weight: 700 !important;
    font-size: 24px !important;
    color: #000 !important;
    margin-top: 0px;
}
.cfgLeft ul {
    padding: 0 20px !important;
    color: #ed1c24 !important;
}
.cfgLeft ul li {
    font-size: 18px;
}


.cfgRight h3 {
    font-weight: 700 !important;
    font-size: 24px !important;
}

.cfgRight ul {
    padding: 0 20px !important;
}

.button1 span {
    font-size: 20px;
    font-weight: 700;
}
.dx-button-mode-contained.startButton,
.dx-button-mode-contained.startButton.dx-state-active 
{
    width: 165px;
    height: auto;
    padding: 5px 10px;
    background-color: #ed1c24;
    color: white;
    border-radius: 10px;
    border: 2px solid #000;
    margin-top: 20px;
}
.dx-button-mode-contained.startButton.dx-state-hover,
.dx-button-mode-contained.startButton.dx-state-focused 
    {
    background-color: #000;
    }

.dx-button-mode-contained.button1,
.dx-button-mode-contained.button1.dx-state-active {
    width: 70%;
    height: auto;
    padding: 5px 20px;
    background-color: #ed1c24;
    color: white;
    border-radius: 10px;
    border: 2px solid #000;
    margin-top: 30px;
}

.dx-button-mode-contained.button1.dx-state-hover,
.dx-button-mode-contained.button1.dx-state-focused {
    background-color: #000;
}
.cfgButtonWrapper {
    margin-bottom: 20px;
}
div#cfgButton {
    width: auto;
   /* float: right;*/
    margin: 10px 15px 10px 0;
}

.cfgNavigation {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    padding: 5px;
}

.heading,
.detailHeadlineLine {
    color: #ed1c24;
    font-weight: 700;
    font-size: 22px;
    /* padding-bottom: 10px; */
    margin: 20px 0 5px;
}

.detailHeadlineLine {
    color: #000;
}



/* Item Radio Button */
.radioBtnRow {
    width: 100%;
}
.dx-radio-value-container {
    width: 44px !important;
}
.radioBtnLabel {
    display: inline-block;
    margin-right: 20px;
    width: 70%;
}

.radioBtn1 {
    font-weight: 500;
}

.imgBox {
    margin: auto;
}



/* List */
.list1 {
    /* quick and dirty fix */
    height: 90%;
    font-weight: 500;
}

.listsRow {}

.listLabel {
    display: inline-block;
    width: 60%;
}

/* Related Item list */
.cfgRight .dx-scrollable-content {
    top: -5px !important;
}

#right .dx-scrollview-content::before {
    display: none;
}
.dx-item-content.dx-list-item-content {
    display: flex;
}
.col1 {
    display: inline-block;
    padding: 5px;
    column-width: 365px;
    vertical-align: middle;
    white-space: normal;
      max-width: 375px;
}
.col1 span.stockCode, .sumStockCode {
    font-weight: 700;
}
.col2 {
    padding: 5px;
    float: right;
    display: flex;
    margin-left: 0px;
    vertical-align: middle;
}

.col3 {
    display: inline-block;
    padding: 5px;
    vertical-align: middle;
}
.col2 .priceDisplay {
    text-align: right;
    padding-left: 10px;
}

/* Item detail popup */
.detailImg {
    width: 100%;
    max-height: 500px;
    float: left;
}

.detailLeft {
    width: 37%;
    max-height: 600px;
    float: left;
}

.detailRight {
    width: 58%;
    height: 500px;
    float: right;
}

.detailStockCodeLine {
    color: black;
    font-weight: bolder;
    font-size: x-large;
    padding-bottom: 10px;
}

.detailtextline {
    color: black;
    font-weight: 500;
    padding-top: 5px;
    padding-bottom: 5px;
}

.detailCharacteristicsLabel {
    display: inline-block;
    color: black;
    font-weight: 500;
}

.detailCharacteristicsValue {
    color: black;
    display: flex;
    font-weight: 500;
}
.detailCharacteristicsValue img {
        margin-right: 5px;
}

.detailCharacteristicsRow {
    margin: 2px;
    padding-top: 10px;
    display: grid;
    grid-template-columns: 2fr 3fr;
}
.detailCharacteristicsRow div {
    padding: 5px 0;
}
.detailCharacteristicsRow div:nth-child(4n+1), 
.detailCharacteristicsRow div:nth-child(4n+2){
   background-color: #ffffd6;
}
.checkMe {
    color: red;
    background-color: yellow;
}

.detailImgPreview {
    border: 1px solid rgb(67, 227, 18);
    width: 100%;
    height: 50px;
}

.imgBoxPreview {
    display: inline-block;
    border: 1px solid rgb(0, 0, 0);
}

/*  CHARACTERISTIC TAB PANEL  */
.dx-tabpanel > .dx-tabpanel-tabs .dx-tabs .dx-tab .dx-tab-content {
    color: #ed1c24 !important;
}

.dx-tab.dx-tab-selected {
    background-color: #fff !important;
    color: #333;
}

.dx-tab {
    background-color: #e0e0e0 !important;
}

.dx-tabpanel > .dx-tabpanel-tabs .dx-tabs {
    display: block;
    border: none;
    background-color: #fff;
    color: #ddd;
    -webkit-box-shadow: none !important;
    box-shadow: inset none !important;
}

.dx-tabpanel > .dx-tabpanel-tabs .dx-tabs .dx-tab {
    color: #ddd;
    border-radius: 6px 6px 0 0 !important;
    border: 1px solid #A8A8A8;
}

.dx-tabpanel > .dx-tabpanel-tabs .dx-tab.dx-tab-selected,
.dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tab.dx-tab-selected {
    -webkit-box-shadow: inset 0 0px #fff, inset 0px 0 #ddd, inset 0px 0 #fff !important;
    box-shadow: inset 0 0px #fff, inset 0px 0 #ddd, inset 0px 0 #fff !important;
}

.dx-tabpanel > .dx-tabpanel-container > .dx-multiview-wrapper,
.dx-tabpanel.dx-state-focused > .dx-tabpanel-container > .dx-multiview-wrapper {
    border-color: transparent !important;
}

/*  CUSTOM OVERRIDES DEVEX LISTS  */

.dx-item.dx-radiobutton {
    width: 100%;
    margin: 0 0 15px 0 !important;
}

.dx-radiobutton-icon::before {
    border: 1px solid #3c3a3a !important;
}

.dx-checkbox-icon {
    width: 30px !important;
    height: 30px !important;
    border: 1px solid #5d5d5d !important;
}

.dx-list-item-before-bag .dx-list-select-checkbox, .dx-list-item-before-bag .dx-list-select-radiobutton {
    margin-left: 1px !important;
}

.dx-radiobutton.dx-state-hover .dx-radiobutton-icon::before {
    border: 1px solid #000 !important;
}

.dx-radiobutton.dx-state-focused:not(.dx-state-active) .dx-radiobutton-icon::before {
    border: 1px solid #000 !important;
}

.dx-radiobutton-icon-checked .dx-radiobutton-icon-dot {
    background: #000000 !important;
}

.dx-checkbox-checked .dx-checkbox-icon {
    color: #000000 !important;
}

.dx-list .dx-empty-message, .dx-list-item {
    border-top: 0px solid #ddd !important;
    color: #333;
}

.dx-list.dx-list-select-decorator-enabled .dx-list-item.dx-state-focused .dx-checkbox-icon,
.dx-list.dx-list-select-decorator-enabled .dx-list-item.dx-state-focused .dx-radiobutton-icon::before,
.dx-list.dx-list-select-decorator-enabled .dx-list-select-all.dx-state-focused .dx-checkbox-icon,
.dx-list.dx-list-select-decorator-enabled .dx-list-select-all.dx-state-focused .dx-radiobutton-icon::before {
    border: 1px solid #000 !important;
}

.cfgContent a, .CatalogItemCharacterisiticURLLink {
    color: #ed1c24 !important;
    font-weight: 600;
    text-decoration: underline;
}
.priceDisplay {
    font-weight: 700;
    display: inline-block;
    float: right;
    color: #ed1c24;
}

/* ORDER SUMMARY  */

.newSumTitle {
    float: left;
    font-weight: 700;
    color: #ed1c24;
    font-size: 22px;
    margin-right: 20px;
}
.orderTotal {
  /*  float: right;*/
    width: fit-content;
    font-weight: 700;
}
.sumLTotalLabel {
    float: left;
    font-size: 18px;
}
.sumTotalAmount {
    float: right;
    margin-left: 10px;
    font-size: 18px;
}
.sumList .dx-item-content.dx-list-item-content {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    margin: 10px 0;
    padding: 0;
}
.sumList .dx-list-item-content::before {
    display: none;
}
.sumList .dx-list-item:first-of-type {
    margin-top: 20px;
}
.sumName {
    width: auto; /*420px;*/
    white-space: normal;
}
/*  FOOTER NAVIGATION  */

.navBtn {
    color: black;
    font-weight: 400;
}
div#homeBtn {
    display: contents;
}

div#homeBtn:after {
    content: '|';
    padding-left: 10px;
}

.cfgNavigation .navBtn.dx-state-hover, 
.cfgNavigation .navBtn.dx-state-focused, 
.cfgNavigation .navBtn.dx-state-active {
    color: black;
    font-weight: 400;
    background-color: transparent;
}


/* SMARTPHONES PORTRAIT */
@media only screen and (min-width: 300px) {

.dx-popup-wrapper > #cfgPopup.dx-overlay-content {
    width: 90% !important;
    height: 85vh !important;
   /* max-height: 95vh;*/
}
#cfgPopup.dx-overlay-content .dx-popup-content {
    overflow: scroll;
}
.cfgLeft, .detailLeft {    
    width: 100%;
    float: left;
}
.cfgRight, .detailRight {   
    width: 100%;
    min-height:200px;
    float: right;
}
.radioBtnRow {
    display: flex;
}
.listsRow {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.listLabel {
    display: inline-block;
    width: auto;
    white-space: normal;
}
#list .dx-item-content.dx-list-item-content {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
}
.col2 {
   /* margin-left: 50px;*/
}
.dx-button-mode-contained.button1, .dx-button-mode-contained.button1.dx-state-active {
    width: 100%;
}
.cfgRightBottom {
    float: right;
    width: 100%;
    height: 100px;
}
.imgBox {
    max-height: 350px;
}
}

/* SMARTPHONES LANDSCAPE */
@media only screen and (min-width: 480px) {


}

/* TABLETS PORTRAIT */
@media only screen and (min-width: 768px) {
.dx-popup-wrapper > #cfgPopup.dx-overlay-content {
    height: 65vh !important;
    min-height: 600px;
    max-width: 1050px;
}
#cfgPopup.dx-overlay-content .dx-popup-content {
  /*  overflow: hidden;*/
}
.cfgLeft, .detailLeft {    
    width: 37%;
    float: left;
}
.cfgRight, .detailRight {   
    width: 60%;
    min-height: 350px;
    float: right;
}
.orderTotal {
    float: left;
}
.radioBtnRow {
    display: block;
}
.listsRow {
   /* display: block;*/
}
.listLabel {
    display: inline-block;
  /*  width: 60%;*/
    white-space: normal;
}
#list .dx-item-content.dx-list-item-content {
 /*      display: block;
 justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;*/
}
.cfgRightBottom {
    float: right;
    width: 60%;
    height: 100px;
}
}

@media only screen and (min-width: 868px) {
#cfgPopup.dx-overlay-content .dx-popup-content {
    overflow: hidden;
}
.orderTotal {
    float:left;
}
}
@media only screen and (min-width: 926px) {

.orderTotal {
    float: right;
}
}
/* TABLET LANDSCAPE / DESKTOP */
@media only screen and (min-width: 1024px) {

#list .dx-item-content.dx-list-item-content {
    display:    flex;
    justify-content: space-between;
}
.listsRow {
    display: block;
}
} 
.questionTitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}