

.card {
	display: inline-block !important;
	margin: 5px !important;
	height: 350px !important;
	width: 300px;
	overflow: hidden;
	position: relative;
	padding: 10px !important;
}

img {
	height: 150px;
	width: auto !important;
	margin-top: 15px !important;
}

.card-body {
	text-align: left;
}

.p-card {
	text-overflow: ellipsis !important;
	height: 50px !important;
	overflow: hidden;
	padding-right: 20px;
}

h5 {
	text-overflow: ellipsis !important;
	max-height: 50px !important;
	overflow: hidden;
	padding-right: 20px;
}

.centered-element {
	margin: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

/* HERO  */
body,
html {
	height: 100%;
}

/* The hero image */
.hero-image {
	/* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
	background-color: black;

	/* Set a specific height */
	height: 50%;

	/* Position and center the image to scale nicely on all screens */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}

/* Place text in the middle of the image */
.hero-text {

	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
}

.p-center {
	text-align: center !important;
}

.hero-title {
	font-size: 100px;
}
