.tile {
	display: flex;
	position: relative;
	flex-direction: column;
}

.tile, .card-container {
	margin-bottom: 1.5rem;
	padding-bottom: 0; /*used for cards and can be removed once cards are no more*/
}

	.tile:last-of-type, .card-container:last-of-type {
		margin-bottom: 0;
	}

	/*.tile:first-of-type:last-of-type,*/
	.tile--fluid:first-of-type:last-of-type,
	.card-container:first-of-type:last-of-type {
		height: 100%;
	}

	.tile > a {
		flex-basis: 100%;
	}

	.tile a, .tile a:hover, .tile a:visited {
		color: #002744;
		text-decoration: none;
	}



.tile__container {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-clip: border-box;
	border: none;
	background-color: #eeefef;
	height: 100%;
	width: 100%;
	overflow: hidden;
	color: #002744;
}


.tile__image {
	position: relative;
	flex: 0 1 auto;
	overflow: hidden;
	width: 100%;
}

.tile__image-inner::before {
	content: "";
	float: left;
	padding-top: calc(9 / 19.5 * 100%);
	width: 100%;
}

.tile__image-inner::after {
	content: "";
	display: block;
	clear: both;
}



.tile__content {
	flex: 1 1 auto;
	padding: 15px;
	display: flex;
	flex-direction: column;
}

	.tile__content.tile__content--orientation-column {
		flex-direction: column;
	}

	.tile__content.tile__content--orientation-row {
		flex-direction: row;
	}


.tile__content-header,
.tile__content-body,
.tile__content-footer {
	padding: 10px 0;
}

	.tile__content-header:empty {
		display: none;
	}

.tile__content-body {
	flex-grow: 2;
	position: relative;
	/*color: #002744;*/
	color: inherit;
	z-index: 1;
}

.tile__content-footer:empty {
	display: none;
}



.tile__caption-title {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 12px;
}

.tile:hover a .tile__caption-title {
	color: #9a258f;
}


.tile__caption-text {
	font-size: 0.9rem;
	font-weight: 300;
}

	.tile__caption-text:last-child {
		margin-bottom: 0;
	}


.tile__call-to-action {
	border: 1px solid #9a258f;
	color: #9a258f;
	width: 100%;
	text-align: center;
	font-size: 0.9rem;
	display: block;
}

	.tile__call-to-action:hover {
		background-color: #9a258f;
		color: #fff;
	}

	.tile__call-to-action a,
	.tile__call-to-action a:hover,
	.tile__call-to-action a:active,
	.tile__call-to-action a:visited {
		display: block;
		padding: 10px;
		font-size: inherit;
		color: inherit;
	}


.tile__accent {
	position: relative;
}

	.tile__accent::after {
		position: absolute;
		width: 0;
		height: 0;
		background-color: #9a258f;
		z-index: 1;
	}

/*************************************/
/*********** Modifiers ***************/
/*********** Accent Behaviour ******************/
.tile__accent--static::after {
	content: "";
}

.tile:hover a .tile__accent--on-hover::after {
	content: "";
}

/*********** Accent Positions ******************/

.tile__accent--top::after {
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	width: 100%
}

.tile__accent--bottom::after {
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	width: 100%
}

.tile__accent--left::after {
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	height: 100%;
}

.tile__accent--right::after {
	right: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	height: 100%;
}



/*********** Orientation ***********/

.tile--orientation-caption-top {
}

	.tile--orientation-caption-top .tile__container {
		flex-direction: column-reverse;
	}

.tile--orientation-caption-bottom {
}

	.tile--orientation-caption-bottom .tile__container {
		flex-direction: column;
	}

.tile--orientation-caption-left {
}

	.tile--orientation-caption-left .tile__container {
		flex-direction: row-reverse;
		gap: 3%
	}

	.tile--orientation-caption-left .tile__image {
		max-height: 100%;
		flex-basis: 50%;
	}

	.tile--orientation-caption-left .tile__content {
		max-height: 100%;
		flex-basis: 50%;
	}

.tile--orientation-caption-right {
}

	.tile--orientation-caption-right .tile__container {
		flex-direction: row;
		gap: 3%
	}

	.tile--orientation-caption-right .tile__image {
		max-height: 100%;
		flex-basis: 50%;
	}

	.tile--orientation-caption-right .tile__content {
		max-height: 100%;
		flex-basis: 50%;
	}



/*********** Fluidity ***********/
.tile--fluidity-priority-caption {
}

	.tile--fluidity-priority-caption .tile__image {
		flex: 0 1 0px;
	}

	.tile--fluidity-priority-caption .tile__content {
		flex: 1 1 auto;
	}

.tile--fluidity-priority-image {
}

	.tile--fluidity-priority-image .tile__image {
		max-height: 100%;
		flex: 1 1 auto;
	}

	.tile--fluidity-priority-image .tile__content {
		flex: 0 1 auto;
	}


.tile--fluidity-priority-image-25-caption-75 {
}

	.tile--fluidity-priority-image-25-caption-75 .tile__image {
		max-height: 100%;
		flex: 1 1 25%;
	}

	.tile--fluidity-priority-image-25-caption-75 .tile__content {
		flex: 1 1 75%;
	}

.tile--fluidity-priority-image-40-caption-60 {
}

	.tile--fluidity-priority-image-40-caption-60 .tile__image {
		max-height: 100%;
		flex: 1 1 40%;
	}

	.tile--fluidity-priority-image-40-caption-60 .tile__content {
		flex: 1 1 60%;
	}

.tile--fluidity-priority-image-50-caption-50 {
}

	.tile--fluidity-priority-image-50-caption-50 .tile__image {
		max-height: 100%;
		flex: 1 1 50%;
	}

	.tile--fluidity-priority-image-50-caption-50 .tile__content {
		flex: 1 1 50%;
	}

.tile--fluidity-priority-image-60-caption-40 {
}

	.tile--fluidity-priority-image-60-caption-40 .tile__image {
		max-height: 100%;
		flex: 1 1 60%;
	}

	.tile--fluidity-priority-image-60-caption-40 .tile__content {
		flex: 1 1 40%;
	}

.tile--fluidity-priority-image-75-caption-25 {
}

	.tile--fluidity-priority-image-75-caption-25 .tile__image {
		max-height: 100%;
		flex: 1 1 75%;
	}

	.tile--fluidity-priority-image-75-caption-25 .tile__content {
		flex: 1 1 25%;
	}






/***********************************/
/*********** Image Miscs ***********/

/*********** Overlay ***********/
.tile--caption-overlay {
}

	.tile--caption-overlay a, .tile--caption-overlay a:hover, .tile--caption-overlay a:visited {
		color: #ffffff;
	}

	.tile--caption-overlay .tile__accent::after, .tile--caption-overlay:hover .tile__accent::after {
		content: none;
	}

	.tile--caption-overlay .tile__image {
		position: static;
	}

	.tile--caption-overlay .tile__content-body {
		background: rgba(0, 39, 68, 0.45);
		color: #ffffff;
		padding: 10px;
	}

	.tile--caption-overlay:hover .tile__caption-title {
		color: #ffffff;
	}


/*********** Image Hover ***********/
.tile--image-hover-zoom {
}

	.tile--image-hover-zoom .tile__image img {
		transition: 0.5s;
	}

	.tile--image-hover-zoom:hover .tile__image img {
		transform: scale(1.1);
	}

/*********** Image Size Limiter ***********/
.tile--image-size-limiter {
}

	.tile--image-size-limiter.tile--orientation-caption-top .tile__image,
	.tile--image-size-limiter.tile--orientation-caption-bottom .tile__image,
	.tile--image-size-limiter:not(.tile--orientation-caption-left):not(.tile--orientation-caption-right) .tile__image {
		max-height: 223px;
	}


	.tile--image-size-limiter.tile--orientation-caption-left .tile__image,
	.tile--image-size-limiter.tile--orientation-caption-right .tile__image {
		min-height: 223px;
	}

		.tile--image-size-limiter.tile--orientation-caption-left .tile__image::before,
		.tile--image-size-limiter.tile--orientation-caption-right .tile__image::before {
			padding-top: 0;
		}
