/*#region alphabatic index */

.products-index {
	width: 100%;
	border-bottom: 2px solid #b7b7b7;
}

	.products-index a {
		color: #b7b7b7;
		font-size: 1.5em;
		display: block;
		width: 100%;
		padding: 7px 0;
		border-top: 3px solid transparent;
	}

	.products-index td {
		text-align: center;
		display: table-cell;
		max-width: 0px; /* makes all cells same width */
	}

		.products-index td.selected a,
		.products-index td a:hover {
			border-top: 3px solid #D14A41;
		}

		.products-index td.selected a,
		.products-index td a:hover {
			color: #D14A41;
		}

.products-index-vertical {
	display: none;
	position: absolute;
	right: 30px;
	margin-top: 10px;
}
	.products-index-vertical a {
		display: block;
		color: #b7b7b7;
		font-size: 0.9em;
		margin: 15px 0;
		text-align: center;		
		font-weight: bold;
	}
		.products-index-vertical a.selected {
			color: #D14A41;
		}

/*#endregion */

/*#region activities */

.products-activities {
	margin: 40px -6px;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
}

	.products-activities select {
		width: 100%;
		margin: 0 6px;
		text-align: center;
		color: #D14A41;
		padding: 12px 6px;
		font-size: 1.5em;
	}

	/*
	.products-activities a {
		width: calc(33.3% - 12px - 12px);
		margin: 0 6px;
		text-align: center;
		color: white;
		background-color: #b7b7b7;
		padding: 12px 6px;
		font-size: 1.5em;

		display: flex;
		align-items: center;
		justify-content: center;
	}
	*/

/*#endregion */

/*#region search */

.products-search {
	width: calc(33.3% - 8px);
	margin: 0 0 0 auto;
}

.products-search > * {
	vertical-align: middle;
}
	.products-search input[type=text] {
		width: calc(70% - 15px);
		padding-left: 15px;
		height: 32px;
		border: 1px solid #D14A41;
		background: url(/assets/search.png) no-repeat right;
		background-size: 22px 22px;
		background-position-x: 98%;
	}
		
	.products-search .button {
		width: calc(29% - 10px);
		margin-left: 5px;
		display: inline-block;
		text-align: center;
		color: white;
		background-color: #b7b7b7;
		padding: 8px 0;
		font-size: 1em;
	}

.products-no-results {
	color: red;
	font-size: 1.3em;
	text-align: center;
}
.products-no-results img.error {
	vertical-align: text-bottom;
	width: 30px;
	margin-right: 10px;
}

/*#endregion */
/*#region pictures */
.products-pictures {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
	margin-top: 20px;
}

	.products-pictures a {
		display: inline-block;
		width: calc(25% - 20px);		
		margin: 20px 10px;		
	}

	.products-pictures img {
		width: 100%;
		height: 100%;
		/*border: 1px solid #b7b7b7;*/
	}

/*#endregion */

/*#region Adaptive */

@media screen and (max-width: 1000px) {
	.products-pictures a {
		width: calc(33.3% - 20px);
	}
}

@media screen and (max-width: 776px) {
	.products-pictures a {
		width: calc(50% - 20px);
	}
	.products-activities a {
		font-size: 1em;
	}

	.products-search {
		width: calc(60% - 4px);		
	}

	.products-index {
		display: none;		
	}

	.products-index-vertical {
		display: block;
	}

	.products-pictures {
		margin-top: 0;
		margin-right: 30px;
	}
	.products-activities {
		margin: 20px -6px;
	}
}

@media screen and (max-width: 450px) {
	.products-pictures a {
		width: calc(100% - 20px);
	}

	.products-activities a {
		width: calc(100% - 12px - 12px);
	}
	.products-activities a:not(:last-child) {
		margin-bottom: 5px;
	}

	.products-search {
		width: 100%;		
	}

	.products-index-vertical {
		right: 20px;
	}
}

/*#endregion */

