/* ====================================================== */
/* CSS for control sap.esh.search.ui/SearchTileContainer  */
/* Base theme                                             */
/* ====================================================== */

/* ================================================================*/
/* wrapper for a tile */
/* ================================================================*/

.sapUshellSearchTileWrapper {
	display: inline-block;
	vertical-align: top;
	margin-bottom: 0.5rem;
	margin-right: 0.5rem;
}

.sapUiMedia-Std-Phone .sapUshellSearchTileWrapper {
	margin: 0.25rem;
}

/* ================================================================*/
/* add overflow hidden to tile */
/* ================================================================*/

.sapUshellSearchTileWrapper .sapMGT.OneByOne {
	display: block; /* tile wrapper has inline block */
	overflow: hidden;
}

/* ================================================================*/
/* overflow hidden for tiles to which the tile class is added */
/* programmatically, see SearchTilesContainer limitTileSize */
/* ================================================================*/

.sapUshellSearchTileWrapper.sapMGT.OneByOne {
	overflow: hidden;
}

/* ================================================================*/
/* show more tile */
/* ================================================================*/

.sapUshellSearchShowMoreTile button.sapMGT.OneByOne {
	border-style: none;
	padding: 0;
}

.sapUshellSearchShowMoreTile button.sapMGT.OneByOne span {
	border-style: none;
	display: table;
	padding: 1rem;
	width: 100%;
	height: 100%;
}

.sapUshellSearchShowMoreTile button.sapMGT.OneByOne span span {
	border-style: none;
	display: table-cell;
	vertical-align: middle;
	white-space: normal;
	line-height: 1.4;
}

/* ================================================================*/
/* highlighting */
/* ================================================================*/

.sapUshellSearchTileContainer .sapUshellSearchTileWrapper {

	b.sapUshellSearchHighlight {
		background-color: var(--sapContent_SearchHighlightColor);
		font-weight: bold;
	}
}

.sapUshellSearchGridContainer {
	padding-top: 2px;
	padding-left: 0.375rem;

	b.sapUshellSearchHighlight {
		background-color: var(--sapContent_SearchHighlightColor);
		font-weight: bold;
	}
}

/* ================================================================*/
/* search result item which holds app container */
/* ================================================================*/

.sapMListBGSolid .sapUshellSearchResultListItemApps {
	/* make transparent, tiles have white background */
	background-color: transparent;
	/* item has no border, tiles have border */
	border-width: 0;
	/* remove bottom margin, tiles have increased bottom margin */
	margin-bottom: 0.25rem;
	/* increased top margin*/
	margin-top: 0.25rem;
	padding-left: 0.0625rem;
	padding-right: 0.0625rem;
	padding-top: 0.0625rem;
	padding-bottom: 0.0625rem;
}

.sapUiMedia-Std-Phone .sapMListBGSolid .sapUshellSearchResultListItemApps {
	margin: 0.25rem 0.1rem 0.25rem 0.1rem;
}

.sapMListBGSolid .sapUshellSearchResultListItemApps.sapMLIB:not(.sapMLIBActive):not(.sapMLIBSelected):not(:hover) {
	background-color: transparent;
}

.sapUshellSearchResultListItemAppsShowMore {
	min-height: auto !important;
}

.sapUshellSearchResultListItemAppsShowMore .sapMGTContent {
	text-align: center;
}