[data-di-container-index] {
    margin: auto;
}

.di-dropdown {
    min-height: 47px;
}

.di-dropdown select {
    margin-bottom: 10px;
    font-size: 16px;
    border: 1px solid #dfdfdf;
    background-color: #fff !important;
    padding: .5rem;
}

.di-select-currency {
    float: right;
}

.di table {
    width: 100%;
}

.di-loading-display {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    text-align: center;
}

.di th {
    padding-top: 15px;
    padding-bottom: 10px;
    font-size: 17px;
}

.di td {
    padding: 14px 30px;
    line-height: 1.4em;
    vertical-align: top;
}

.di tr.odd {
    background-color: #f4f4f4;
}

.di tr.even {
    background-color: white;
}

td.di-logo {
    width: 90px;
    min-width: 90px;
    padding: 0 !important;
    padding-left: 15px !important;
    padding-top: 8px !important;
}

.di-disti {
    padding-left: 10px !important;
}

td.di-disti {
    padding-right: 0px !important;
}

td.di-mpn a:hover {
    text-decoration: underline;
}

td.di-logo img {
    vertical-align: middle;
    width: 70px;
}

.di-max-lines-1, .di-max-lines-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-break: break-word;
    word-wrap: break-word;
}

.di-max-lines-2 {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.di-max-lines-1 {
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.di-mpn {
    min-width: 300px;
}

th.di-mpn {
    padding-left: 52px;
}

th.di-qty {
    padding-right: 30px;
}

th.di-price {
    padding-right: 52px;
}

.di-qty, .di-price, .di-buy {
    text-align: right !important;
}

.di-qty {
    padding-left: 0 !important;
}

td.di-buy {
    padding-left: 0 !important;
    padding-right: 10px !important;
}

td.di-buy a {
    white-space: nowrap;
    color: white !important;
    text-decoration: none !important;
    background: #00a880;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: smaller;
}

.di .di-price-break {
    display: flex;
    margin-bottom: 1px;
    margin-left: auto;
}

.di .di-price-break .di-one, .di-price-break .di-two {
    flex-grow: 0;
}

.di .di-price-break .di-dots {
    flex-grow: 1;
    border-bottom: 2px dotted #80808096;
    margin: 8px 3px;
}

.di .di-icon-down-dir, .di .di-icon-up-dir {
    cursor: pointer;
}

.di-price-breaks {
    display:flex;
}

.di-price-break-container {
    flex-grow: 1;
    margin-right: 2px;
    max-width: 150px;
}

.di-price-breaks .di-price-break:not(:first-child) {
    display: none;
}

.di-price-breaks.di-display .di-price-break:not(:first-child) {
    display: flex;
}

[data-di-hidden] .di-mpn .di-icon-container > div, .di-mpn .di-icon-container[data-di-results-count="1"] > div {
    display: none;
}

[data-di-hidden] .di-disti > *, [data-di-hidden] .di-logo > * {
    display: none;
}

[data-di-hidden].di-hidden-row-show {
    display: table-row !important;
}

.di-icon-container {
    width: 22px;
}

.di-icon-container[data-di-price-count="1"] [data-di-toggle-prices] {
    display: none;
}

.di-icon-container[data-di-price-count="0"] [data-di-toggle-prices] {
    display: none;
}

.di-powered-by {
    float: right;
    line-height: 22px;
    margin: 18px 16px 10px 0;
}

.di-powered-by img {
    width: 130px;
    vertical-align: bottom;
    margin-bottom: 2px;
}

@media screen and (max-width: 1000px) {
	.di td {
		padding: 14px 20px;
	}

    th.di-mpn {
        padding-left: 42px;
    }

    th.di-qty {
        padding-right: 20px;
    }

    th.di-price {
        padding-right: 42px;
    }
}

@media screen and (max-width: 960px) {
	.di-disti {
        display: none;
    }

    .di-dropdown select {
        font-size: inherit;
    }
}

@media screen and (max-width: 840px) {

	.di table, .di thead, .di tbody, .di th, .di td, .di tr { 
		display: block; 
        text-align: right;
	}

    [data-di-hidden].di-hidden-row-show {
        display: block !important;
        border-top: none;
        margin-top: -40px;
    }
	
	/* Hide table headers (but not display: none;, for accessibility) */
	.di thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
    .di tr {
        max-width: 440px;
        margin: auto;
        border: 1px solid #ccc;
        padding: 14px 20px !important;
    }
	
	.di td { 
		border: none;
		position: relative;
        padding: 5px 20px !important;
	}

    .di td.di-buy {
        padding: 14px 20px !important;
    }

    .di tr:not(.di-hidden-row-show) {
        margin-top: 20px;
    }

    .di td.di-disti, td.di-logo {
        display: inline-block;
        vertical-align: middle;
    }

    td.di-logo {
        text-align: left;
        padding: 0px 5px !important;
        width: 110px;
    }

    td.di-logo img {
        width: 100px;
    }

    td.di-disti {
        text-align: right;
        font-weight: bold;
        width: calc(100% - 110px);
    }

    .di td.di-mpn {
        border-top: 1px solid #ccc;
        padding-top: 12px !important;
        min-width: auto;
    }

    [data-di-hidden] .di-disti, [data-di-hidden] .di-logo {
        display: none;
    }

    .di-mpn .di-icon-container {
        margin-left: auto;
    }

    .di-price-breaks {
        flex-direction: row-reverse;
    }
	
	.di td:before { 
		position: absolute;
        top: 5px;
        left: 6px;
        white-space: nowrap;
        font-weight: bold;
	}
    
	.di td.di-mpn:before {
        content: "MPN";
        top: 12px;
    }

	.di td.di-qty:before {
        content: "Available Qty.";
    }

	.di td.di-price:before {
        content: "Pricing";
    }
}

@media screen and (max-width: 440px) {
    .di-dropdown select {
        width: 100%;
        float: none;
    }

    .di td {
        padding: 3px 5px !important;
    }

    .di tr {
        padding: 5px 10px !important;
    }

    .di td:before {
        top: 2px;
		left: 3px;
	}

    .di td.di-buy {
        padding: 14px 5px !important;
    }

    [data-di-hidden].di-hidden-row-show {
        margin-top: -25px;
    }
}
