/*** TILE TABLE ***/
.switchWrapper {
    padding-bottom: 5px;
}
.switchWrapper a.switchButton {
	display: inline-block;
	padding: 4px 6px;
	color: #C4C4C4;
	border: 1px solid #C4C4C4;
	font-size: 20px;
	text-decoration: none;
}
.switchWrapper a.switchButton:first-child {
	border-right: 0px;
}
.switchWrapper a.switchButton:last-child {
	border-left: 0px;
}
.switchWrapper a.switchButton.active {
	background-color: #FF0000;
	color: #FFFFFF;
}
.switchWrapper a.switchButton:hover {
	background-color: #FF0000;
	color: #FFFFFF;
	text-decoration: none;
}
#tableHeaderNavigation div.sortCriteria div.sortSelection,
#tableHeaderNavigation div.sortCriteria div.sortIcon {
	float: left;
	margin-bottom: 10px;
}

#tableHeaderNavigation div.sortCriteria div.sortIcon {
	margin-left: 5px;
}

#tileWrapper {
	width: 100%;
	padding-top: 20px;
}
.tileWrapper {
	width: 100%;
}
.tileWrapper > tbody {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	-ms-grid-columns: repeat(4, minmax(0, 1fr)); 
	grid-column-gap: 20px;
	grid-row-gap: 40px;
}


 /*** TILES ***/
#tileWrapper table.tileWrapper tr {
	display: block;
}
#tileWrapper table.tileWrapper tr.hover:nth-child(4n+1) {
    clear: left;
} 
#tileWrapper table.tileWrapper tr.hover td {
	border: 1px solid #C4C4C4;
	display: block;
	height: 100%;
	position: relative;
	cursor: pointer;
}
#tileWrapper table.tileWrapper tr.hover td:hover {
    border-color: #FF0000;
}
#tileWrapper table.tileWrapper tr.hover td .tile {
	position: relative;
    height: 100%;
}

/*** List Operations ***/
#tileWrapper div.list-operations {
	position: absolute;
	right: 0;
	z-index: 1;
}
#tileWrapper div.list-operations .button {
	display: inline-block;
	padding: 8px 6px;
	color: #646567;
	background-color: transparent;
	border: none;
}
#tileWrapper div.list-operations a.button:hover {
	color: #FF0000;
	background-color: transparent;
}

/*** IMAGE ***/
#tileWrapper div.image-container {
	padding-top: 30px;
}
#tileWrapper img.new-icon {
	position: absolute;
	top: -4px;
	left: -4px;
	z-index: 1;
	height: 100px;
}
#tileWrapper .image-container .outer {
	display: block;
	height: 230px;
}
#tileWrapper .image-container .inner {
	position: relative;
	margin: 0 auto;
    width: 100%;
    text-align: center;
    line-height: 230px;
}
#tileWrapper table.tileWrapper td div.image-container div.inner img {
	max-height: 230px;
    max-width: 100%;
    vertical-align: middle;
}
#tileWrapper table.tileWrapper .newIcon {
	width: 45% !important;
}
#tileWrapper table.tileWrapper td div.image-container div.outer div.image-may-differ {
    font-size: 10px;
    font-style: italic;
    padding-top: 170px;
    text-align: center;
}

/*** PARAMETERS ***/
#tileWrapper table.tileWrapper tr.hover td div.parameters {
	padding: 30px 10px 10px 10px;
	max-height: 100px;
	overflow: hidden;
	line-height: 20px;
}
#tileWrapper .parameters table.parameter-table {
	width: 100%;
	table-layout: fixed;
}
#tileWrapper .parameters table.parameter-table tr {
	display: table-row;
}
#tileWrapper .parameters table.parameter-table tr td {
	display: table-cell;
	padding: 5px;
	border: none;
	vertical-align: top;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	font-size: 12px;
}
#tileWrapper .parameters table.parameter-table tr.table-row-odd td {
	background-color: #E4E4E4;
}


/*** COMMERCIAL ***/
#tileWrapper table.tileWrapper tr.hover .commercial-operations {
	text-align: center;
}
#tileWrapper table.tileWrapper tr.hover .commercial-operations .button {
	width: 80%;
	padding: 8px 10px;
	margin: 10px;
	border: none;
}
#tileWrapper table.tileWrapper tr.hover .commercial-operations span.button {
	background-color: #646567;
}
#tileWrapper table.tileWrapper tr.hover td div.commercial {
	padding: 10px 10px 7px 10px;
}
#tileWrapper table.tileWrapper tr.hover td div.commercial {
	padding-top: 30px;
	text-align: center;	
}
#tileWrapper table.tileWrapper tr.hover td div.commercial div.inner {
	padding: 0;
}
#tileWrapper table.tileWrapper tr.hover td div.commercial div.inner div.commercial {
	padding: 0;
}

#tileWrapper table.tileWrapper tr.hover td div.commercial div.price {
	font-size: 16px;
}
#tileWrapper table.tileWrapper tr.hover td div.commercial div.price span.priceValue {
	color: #FF0000;
	font-weight: bold;
	font-size: 15px;
}
#tileWrapper table.tileWrapper tr.hover td #quantityWrapper {
	padding: 0;
}

 /*** General ***/
#tileWrapper .general {
	padding: 0 10px;
}
#tileWrapper .general.product-family {
	text-align: center;
	padding: 20px 0;
}
#tileWrapper table.tileWrapper tr.hover td:hover .general,
#tileWrapper table.tileWrapper tr.hover td:hover .general a {
	text-decoration: none;
}
#tileWrapper table.tileWrapper tr.hover .objectName {
	max-height: 20px;
}
#tileWrapper table.tileWrapper tr.hover .objectName a {
	display: block;
	font-weight: bold;
	font-size: 16px;
	white-space: nowrap; 
	text-overflow: ellipsis;
	overflow: hidden;
}
#tileWrapper table.tileWrapper tr.hover .objectName span.tileName {
    text-overflow: ellipsis;
    white-space: nowrap !important;
    overflow: hidden;
}
#tileWrapper table.tileWrapper tr.hover div.bottom-section {
	position: absolute;
	bottom: 0;
	width: 100%;
}
#tileWrapper table.tileWrapper tr.hover div.tile-placeholder {
	height: 134px;
}
#tileWrapper .ui-widget input {
	width: 62px;
	text-align: left;
    background: #FFFFFF;
    box-shadow: none;
    padding: 3px 2px;
}

/*** Product Family Tiles ***/
#tileWrapper.product-family table.tileWrapper > tbody {
	grid-column-gap: 40px;
}
#tileWrapper.product-family table.tileWrapper tr.hover td {
	height: unset;
	border-color: #D1D1D1;
}
#tileWrapper.product-family .image-container .outer {
	height: 200px;
	max-width: 200px;
	margin: 0 auto;
}
#tileWrapper.product-family .image-container .inner {
    line-height: 200px;
}
#tileWrapper.product-family .general {
	padding: 11px 5px 8px 5px;
	background-color: #D1D1D1;
	text-align: center;
}
#tileWrapper.product-family table.tileWrapper tr.hover .objectName a {
	font-size: 14px;
}
#tileWrapper.product-family table.tileWrapper tr.hover:hover td {
	border-color: #FF0000;
}
#tileWrapper.product-family tr.hover:hover .general {
	background-color: #FF0000;
}
#tileWrapper.product-family tr.hover:hover .general .objectName a {
	color: #FFFFFF;
	text-decoration: none;
}