.gel-image-box {
	mark {
		background-color: transparent;
		color: var(--g5-color-primary);
		padding: 0;
	}

	.image {
		margin-bottom: 35px;
	}

	&.border-img .image {
		@include box-shadow(0 0 0 4px var(--g5-color-primary));
	}

	&.border-img:hover .image,
	&.border-img:hover .image:after {
		@include box-shadow(0 0 0 2px var(--g5-color-primary));
	}
}

.gel-image-box-style-04 .image {
	margin-right: 2rem;
}

.custom-image-box-01 {
	.title {
		font-size: 20px;
	}

	.image {
		margin-bottom: 22px;
	}

	sup {
		font-size: 14px;
		font-weight: bold;
		left: 5px;
	}
}

.custom-image-box-02 {
	.image {
		margin-bottom: 23px;
	}
}

.custom-image-box-03 {
	color: #fff;

	.title {
		font-size: 20px;
		margin-bottom: 14px;
		color: inherit;
	}

	.description {
		opacity: 0.7;
	}

	.image {
		@include flex(0 0 80px);
		max-width: 70px;
		margin-bottom: auto;
		margin-right: 30px;
	}
}

.custom-image-box-04 {
	padding: 55px 36px 35px 36px;
	@include border-radius(3px);
	@include transition(all .3s);

	&:hover {
		@include box-shadow(0px 10px 30px rgba(0, 0, 0, 0.1));
	}

	.title {
		margin-bottom: 11px;
	}

	.description {
		font-size: 18px;
	}

	.image {
		margin-bottom: 30px;
	}
}

.custom-image-box-05 {
	.title {
		font-size: 18px;
		font-weight: bold;
		line-height: 1.55;
		margin-bottom: 0;
	}

	.image {
		margin-bottom: -5px;
	}
}

.custom-image-box-06 {
	.image {
		padding-top: 50px;
		padding-left: 55px;
		margin-bottom: 25px;
		background: #F0F3F2;
		border-radius: 3px;

		img {
			border-top-left-radius: 10px;
			filter: drop-shadow(-10px 14px 23px rgba(0, 0, 0, 0.07));
		}

		a {
			display: block;
		}
	}

	.title {
		font-size: 20px;
		margin-bottom: 0;
		font-weight: bold;
	}
}

.custom-image-box-07 {

	.title {
		font-size: 34px;
		margin-bottom: 3px;
	}

	.image {
		margin-bottom: 15px;
	}

	.description {
		font-size: 16px;
	}
}


@-webkit-keyframes scale-mark-img-box {
	0% {
		@include transform(rotate(-13.66deg) translateX(-50%) scale(1));
	}
	25% {
		@include transform(rotate(-13.66deg) translateX(-50%) scale(1.03));
	}

	50% {
		@include transform(rotate(-13.66deg) translateX(-50%) scale(1));
	}

	75% {
		@include transform(rotate(-13.66deg) translateX(-50%) scale(1.07));
	}
	100% {
		@include transform(rotate(-13.66deg) translateX(-50%) scale(1));
	}
}

.custom-image-box-08 {
	position: relative;

	&:hover mark {
		-webkit-animation: scale-mark-img-box 2.5s linear infinite;
		animation: scale-mark-img-box 2.5s linear infinite;
	}

	mark {
		font-family: var(--g5-display-3-font);
		font-style: italic;
		@include transform(rotate(-13.66deg) translateX(-50%));
		position: absolute;
		left: 50%;
		top: 75px;
		width: -webkit-fit-content;
		width: -moz-fit-content;
		width: fit-content;
		text-transform: capitalize;
		font-weight: 400;
		font-size: 122px;
		line-height: 64px;
	}

	.title {
		font-size: 40px;
		letter-spacing: 0.03em;
		text-transform: uppercase;
		margin-bottom: 30px;
	}

	.btn-box {
		margin-top: 20px;
	}

	.btn.btn-link {
		border-bottom: 2px solid;
		padding-bottom: 4px;

		&:after {
			font-family: var(--g5-font-icon-primary);
			margin-left: 5px;
			content: "\e901";
		}
	}

	.image {
		margin-bottom: 57px;
	}

	.description {
		font-size: 18px;
	}

	&.gel-image-box-style-02 {
		.description {
			max-width: 390px;
			margin-left: auto;
			margin-right: auto;
		}
	}
}


.image-boxr-title-font-display-2 {
	.title {
		font-family: var(--g5-display-2-font);
		font-weight: 400;
	}
}

@media (max-width: 1200px) {
	.custom-image-box-08 {
		mark {
			font-size: 90px;
		}
	}
}

@media (max-width: 767px) {
	.custom-image-box-08 {
		mark {
			font-size: 70px;
		}

		.image {
			margin-bottom: 40px;
		}
	}
}