HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/boldt.komma.pro/resources/sass/site/5-Components/_components.card.scss
.c-card{
	display: inline-block;
	position: relative;
	max-width: 360px;
	text-decoration: none;
	vertical-align: top;
	white-space: normal;
	flex-shrink: 1;
	flex-grow: 0;

	@include mq(375) {
		min-width: 340px;
	}

	& + & {
		margin-top: 60px;
		margin-left: 0;
		@include mq(900) {
			margin-left: column(0.55, 10);
			margin-top: 0;
		}
	}

	&:last-of-type {
		@include mq(900, 1425) {
			margin: 60px auto;
		}
	}
}

.c-card--long {
	min-height: 505px;
	background-color: palette(dark);
	@include flex(inline center column);

	flex-shrink: 1;
	flex-grow: 1;
	min-width: 200px;

	@include mq(null, 1425) {
		flex-shrink: 1;
		min-width: auto;
		max-width: none;
		width: column(9, 10);
		min-height: auto;
		margin-top: 60px !important;
		margin-right: auto;
	}

	@include mq(null, 1200) {
		width: 100%;
	}

	@include mq(1425) {
		margin-top: 0;
	}

	.c-card + & {
		@include mq(null, 1425) {
			margin-left: 0;
		}
	}

	&:after {
		content: '';
		display: block;
		height: 60px;
		position: absolute;
		bottom: -60px;
		left: 0;
		z-index: 0;
		width: 100%;
		background: linear-gradient(-45deg, transparent 0, transparent 59px, palette(dark) 60px) -35px 0;
		background-size: calc(100% + 60px);
	}

	.c-card__image {
		position: absolute;
		left: 0;
		top: 0;
		height: 100%;
		width: 100%;
		z-index: 1;

		&:after {
			content: '';
			display: block;
			height: 60px;
			position: absolute;
			bottom: 0;
			left: 0;
			z-index: 0;
			width: 100%;
			background: linear-gradient(180deg, transparent 0%, palette(dark) 100%) 0 0;
		}
	}

	.c-card__title {
		width: 50%;
		text-align: center;
		padding-top: 30px;
		margin-bottom: -40px;
		position: relative;
		z-index: 2;

		@include mq(1425) {
			padding-top: 60px;
		}
	}

	svg {
		margin-top: 30px;
		position: relative;
		z-index: 2;

		@include mq(null, 1425) {
			margin-top: 20px;
			position: relative;
			z-index: 5;
			margin-bottom: -50px;
		}
	}
}

.c-card__image {
	height: 426px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.c-card__body {
	background-color: palette(dark);
	width: column(2.5, 3);
	position: relative;
	left: column(0.5, 3);
	top: -60px;
	padding: 30px 30px 0 30px;
	min-height: 140px;

	&:before {
		content: '';
		display: block;
		height: 60px;
		position: absolute;
		bottom: -60px;
		left: 0;
		width: 100%;
		background: linear-gradient(-45deg, transparent 0, transparent 59px, palette(dark) 60px) -35px 0;
		background-size: calc(100% + 60px);
	}
}

.c-card__title {
	margin-bottom: 30px;
	@include font-family(base);
	@include font(mid, 32, 600);
}

.c-card__content {
	color: palette(text);
}

.c-card__action {
	color: palette(text);
	margin: 0;
}

// Modifier for centering the image & the action button
.c-card--center {
	text-align: center;
}

.c-card--unbox {
	border-radius: 0;
	box-shadow: none;

	.c-card__image {
		border-radius: 10px;
		overflow: hidden;
	}

	.c-card__body {
		padding: 30px 0 0;
	}

	.c-card__title {
		@include font-size(mid);
	}

	.c-card__content {
		display: none;
	}

}