/* The service carousel's items, which script/serviceCarousel.js creates and sizes. Linked from the head (App.razor)
   so it outlives enhanced navigation. */

.item {
	user-select: none;
}

.item img {
	width: 100%;
}

.selected_service {
	width: 20vw;
	margin-top: 0;
	flex-shrink: 0;
}

.selected_service_small {
	width: 11vw;
	margin-top: 0;
	flex-shrink: 0;
}


.unselected_service {
	cursor: pointer;
	opacity: 0.5;
	width: 10vw;
	margin-top: -2vh;
	flex-shrink: 0;
	transition: opacity 0.5s ease-in-out;
}

.unselected_service_small {
	cursor: pointer;
	opacity: 0.5;
	width: 7vw;
	margin-top: -2vh;
	flex-shrink: 0;
	transition: opacity 0.5s ease-in-out;
}

.unselected_service:hover {
	opacity: 1 !important;
}

@media only screen and (max-width:1750px) and (min-width:1024px){
	.selected_service {
		width: 20vw;
	}
	
	.unselected_service {
		width: 10vw;
	}
	
	.selected_service_small {
		width: 13vw;
	}
	
	.unselected_service_small {
		width: 7vw;
	}
}

@media only screen and (max-width:1024px) and (min-width:640px) {
	.selected_service {
		width: 35vw;
	}
	
	.unselected_service {
		width: 17vw;
	}
	
	.selected_service_small {
		width:31vw;
	}
	
	.unselected_service_small {
		width: 14vw;
	}
}

@media only screen and (max-width:640px) {
	.selected_service {
		width: 40vw;
	}
	
	.unselected_service {
		width: 20vw;
	}
	
	.selected_service_small {
		width:40vw;
	}
	
	.unselected_service_small {
		width: 19vw;
		margin-top: -4vh;
	}
}
