/* Cards */
.postcard {
	flex-wrap: wrap;
	display: flex;

	box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
	border-radius: 10px;
	margin: 0 0 2rem 0;
	overflow: hidden;
	position: relative;
	color: #ffffff;

	&.dark {
		background-color: #18151f;
	}
	&.light {
		background-color: #e1e5ea;
	}

	.t-dark {
		color: #18151f;
	}

	a {
		color: inherit;
	}

	.small {
		font-size: 80%;
	}

	.postcard__title {
		font-size: 1.75rem;
	}

	.postcard__img {
		max-height: 180px;
		width: 100%;
		object-fit: cover;
		position: relative;
	}

	.postcard__img_link {
		display: contents;
	}

	.postcard__bar {
		width: 50px;
		height: 10px;
		margin: 10px 0;
		border-radius: 5px;
		background-color: #424242;
		transition: width 0.2s ease;
	}

	.postcard__text {
		padding: 1.5rem;
		position: relative;
		display: flex;
		flex-direction: column;
	}

	.postcard__preview-txt {
		overflow: hidden;
		text-overflow: ellipsis;
		text-align: justify;
		height: 100%;
	}

	.postcard__tagbox {
		display: flex;
		flex-flow: row wrap;
		font-size: 14px;
		margin: 20px 0 0 0;
		padding: 0;
		justify-content: center;

		.tag__item {
			display: inline-block;
			background: rgba(83, 83, 83, 0.4);
			border-radius: 3px;
			padding: 2.5px 10px;
			margin: 0 5px 5px 0;
			cursor: default;
			user-select: none;
			transition: background-color 0.3s;

			&:hover {
				background: rgba(83, 83, 83, 0.8);
			}
		}
	}

	&:before {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		background-image: linear-gradient(-70deg, #424242, transparent 50%);
		opacity: 1;
		border-radius: 10px;
	}

	&:hover .postcard__bar {
		width: 100px;
	}
}

@media screen and (min-width: 769px) {
	.postcard {
		flex-wrap: inherit;

		.postcard__title {
			font-size: 2rem;
		}

		.postcard__tagbox {
			justify-content: start;
		}

		.postcard__img {
			max-width: 300px;
			max-height: 100%;
			transition: transform 0.3s ease;
		}

		.postcard__text {
			padding: 3rem;
			width: 100%;
		}

		.media.postcard__text:before {
			content: "";
			position: absolute;
			display: block;
			background: #18151f;
			top: -20%;
			height: 130%;
			width: 55px;
		}

		&:hover .postcard__img {
			transform: scale(1.1);
		}

		&:nth-child(2n + 1) {
			flex-direction: row;
		}

		&:nth-child(2n + 0) {
			flex-direction: row-reverse;
		}

		&:nth-child(2n + 1) .postcard__text::before {
			left: -12px !important;
			transform: rotate(4deg);
		}

		&:nth-child(2n + 0) .postcard__text::before {
			right: -12px !important;
			transform: rotate(-4deg);
		}
	}
}
@media screen and (min-width: 1024px) {
	.postcard__text {
		padding: 2rem 3.5rem;
	}

	.postcard__text:before {
		content: "";
		position: absolute;
		display: block;

		top: -20%;
		height: 130%;
		width: 55px;
	}

	.postcard.dark {
		.postcard__text:before {
			background: #18151f;
		}
	}
	.postcard.light {
		.postcard__text:before {
			background: #e1e5ea;
		}
	}
}

/* COLORS */
.postcard .postcard__tagbox .green.play:hover {
	background: $main-green;
	color: black;
}
.green .postcard__title:hover {
	color: $main-green;
}
.green .postcard__bar {
	background-color: $main-green;
}
.green::before {
	background-image: linear-gradient(
		-30deg,
		$main-green-rgb-015,
		transparent 50%
	);
}
.green:nth-child(2n)::before {
	background-image: linear-gradient(
		30deg,
		$main-green-rgb-015,
		transparent 50%
	);
}

.postcard .postcard__tagbox .blue.play:hover {
	background: $main-blue;
}
.blue .postcard__title:hover {
	color: $main-blue;
}
.blue .postcard__bar {
	background-color: $main-blue;
}
.blue::before {
	background-image: linear-gradient(
		-30deg,
		$main-blue-rgb-015,
		transparent 50%
	);
}
.blue:nth-child(2n)::before {
	background-image: linear-gradient(30deg, $main-blue-rgb-015, transparent 50%);
}

.postcard .postcard__tagbox .red.play:hover {
	background: $main-red;
}
.red .postcard__title:hover {
	color: $main-red;
}
.red .postcard__bar {
	background-color: $main-red;
}
.red::before {
	background-image: linear-gradient(-30deg, $main-red-rgb-015, transparent 50%);
}
.red:nth-child(2n)::before {
	background-image: linear-gradient(30deg, $main-red-rgb-015, transparent 50%);
}

.postcard .postcard__tagbox .yellow.play:hover {
	background: $main-yellow;
	color: black;
}
.yellow .postcard__title:hover {
	color: $main-yellow;
}
.yellow .postcard__bar {
	background-color: $main-yellow;
}
.yellow::before {
	background-image: linear-gradient(
		-30deg,
		$main-yellow-rgb-015,
		transparent 50%
	);
}
.yellow:nth-child(2n)::before {
	background-image: linear-gradient(
		30deg,
		$main-yellow-rgb-015,
		transparent 50%
	);
}

@media screen and (min-width: 769px) {
	.green::before {
		background-image: linear-gradient(
			-80deg,
			$main-green-rgb-015,
			transparent 50%
		);
	}
	.green:nth-child(2n)::before {
		background-image: linear-gradient(
			80deg,
			$main-green-rgb-015,
			transparent 50%
		);
	}

	.blue::before {
		background-image: linear-gradient(
			-80deg,
			$main-blue-rgb-015,
			transparent 50%
		);
	}
	.blue:nth-child(2n)::before {
		background-image: linear-gradient(
			80deg,
			$main-blue-rgb-015,
			transparent 50%
		);
	}

	.red::before {
		background-image: linear-gradient(
			-80deg,
			$main-red-rgb-015,
			transparent 50%
		);
	}
	.red:nth-child(2n)::before {
		background-image: linear-gradient(
			80deg,
			$main-red-rgb-015,
			transparent 50%
		);
	}

	.yellow::before {
		background-image: linear-gradient(
			-80deg,
			$main-yellow-rgb-015,
			transparent 50%
		);
	}
	.yellow:nth-child(2n)::before {
		background-image: linear-gradient(
			80deg,
			$main-yellow-rgb-015,
			transparent 50%
		);
	}
}

.card-wrapper {
	position: relative;
	min-width: 260px;
	max-width: 320px;
	width: 100%;
	height: auto;
	overflow: hidden;
	margin: 300px 10px 20px 10px;
	border-radius: 5px;
	background-color: #ffffff;
	box-shadow: 1px 1px 4px 4px rgba(0, 0, 0, 0.1);
	transition: 250ms ease-in-out;
}

.card-wrapper:hover {
	box-shadow: 1px 1px 10px 6px rgba(0, 0, 0, 0.15);
}

.card-career {
	padding: 15px 15px;
	width: 100%;
	height: 100%;
}

.card-career img {
	width: 100%;
	max-width: 100%;
	height: 200px;
	border-radius: 5px;
	object-fit: cover;
	vertical-align: middle;
}

.text-content-career {
	font-family: "Montserrat", sans-serif;
}

.text-content-career h3 {
	margin: 10px 0px;
	letter-spacing: 1px;
	font-size: 22px;
}

.product-description-career {
	font-size: 14px;
	letter-spacing: 0.75px;
	color: rgba(0, 0, 0, 0.8);
}

.price-box-career {
	display: flex;
	padding: 0px 10px;
	align-items: center;
	justify-content: space-between;
}

.price-box-career a {
	color: #ffffff;
	font-size: 14px;
	padding: 10px 20px;
	border-radius: 20px;
	text-decoration: none;
	dispaly: inline-block;
	background-color: #000000;
}

.icons {
	width: 100%;
	height: calc(50% + 25px);
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 20px;
	list-style: none;
	transition: 250ms ease-in-out;
}

.icons i {
	width: 40px;
	height: 40px;
	line-height: 40px;
	margin: 10px 8px;
	text-align: center;
	background: #fff;
	font-size: 18px;
	opacity: 0;
	cursor: pointer;
	border-radius: 40px;
	color: rgba(0, 0, 0, 0.6);
	transform: translateY(-200px);
	transition: 250ms ease-in-out;
}

.card-career:hover .icons {
	background-color: rgba(0, 0, 0, 0.1);
}

.card-career:hover .icons i:nth-child(1) {
	transition-delay: 100ms;
}

.card-career:hover .icons i:nth-child(2) {
	transition-delay: 200ms;
}

.icons-career i:hover {
	color: rgba(0, 0, 0);
}

.card-career:hover .icons i {
	transform: translateY(0px);
	opacity: 1;
}

.icons-career i.fa-heart.active {
	color: red;
}

/*new*/

@import url(https://fonts.googleapis.com/css?family=Raleway:400,600,700);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
figure.snip1312 {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  min-width: 250px;
  max-width: 310px;
  width: 100%;
  background-color: #ffffff;
  color: #000000;
  text-align: left;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}
figure.snip1312 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
figure.snip1312 img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
}
figure.snip1312 figcaption {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  padding: 15px 15px 30px;
  background-color: #ffffff;
}
figure.snip1312 .date {
  background-color: #7f8c8d;
  top: 15px;
  color: #fff;
  left: 15px;
  min-height: 48px;
  min-width: 48px;
  position: absolute;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}
figure.snip1312 .date span {
  display: block;
  line-height: 24px;
}
figure.snip1312 .date .month {
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.1);
}
figure.snip1312 h3,
figure.snip1312 p {
  margin: 0;
  padding: 0;
}
figure.snip1312 h3 {
  min-height: 50px;
  margin-bottom: 10px;
  margin-left: 60px;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
}
figure.snip1312 p {
  font-size: 0.8em;
  margin-bottom: 20px;
  line-height: 1.6em;
}
figure.snip1312 footer {
  padding: 0 25px;
  background-color: #667273;
  color: #e6e6e6;
  font-size: 0.8em;
  line-height: 30px;
  text-align: right;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
figure.snip1312 footer > div {
  display: inline-block;
  margin-left: 10px;
}
figure.snip1312 footer i {
  color: rgba(255, 255, 255, 0.2);
  margin-right: 5px;
}
figure.snip1312 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.snip1312:hover img,
figure.snip1312.hover img {
  -webkit-transform: scale(1.15);
  transform: scale(1.15);
}