.tci-button,
.tci-button:before,
.tci-button:after,
.tci-button-text,
.tci-button-text:before,
.tci-button-text:after {
	transition: border-color .3s ease, color .1s ease;
	border-width: 2px;
}

.tci-button.tci-custom-button-blue .tci-button-text,
.tci-button.tci-custom-button-blue:hover .tci-button-text {
	color: #1A5AA8;
	/* Blue Text */
}

.tci-button.tci-custom-button-white .tci-button-text {
	color: white;
	/* White Text */
}

.tci-button.tci-custom-button-white:hover .tci-button-text {
	color: #1A5AA8;
	/* Blue Text */
}

.tci-button {
	/* color: #005895; */
	width: 12.5rem;
	border-color: #ffd322;
	text-decoration: none;
	display: inline-block;
	font-size: 20px;
	line-height: 1rem;
	font-family: "Work Sans", sans-serif;
	font-weight: bold;
	position: relative;
	overflow: hidden;
	padding: 0 14px;
	transition: background-color .3s ease, clip-path .3s ease, color .3s ease, opacity .3s ease;


	&:before,
	&:after {
		content: '';
		width: 20px;
		height: 20px;
		display: block;
		position: absolute;
		transform: rotate(135deg);
		z-index: 3;
	}

	&:before {
		border-bottom: solid 2px #ffd322;
		top: 4px;
		left: 4px;
	}

	&:after {
		border-top: solid 2px #ffd322;
		bottom: 4px;
		right: 4px;
	}
}

.tci-button .tci-button-bg {
	background: transparent;
	position: absolute;
	display: block;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: -1;
	clip-path: polygon(14px 0%,
	100% 0%,
	100% calc(100% - 14px),
	calc(100% - 14px) 100%,
	0% 100%,
	0% 14px,
	14px 0%);
	transition: background-color .2s ease,  opacity .2s ease 0.1s, clip-path .2s ease;
}

.tci-button .tci-button-text {
	padding: 15px 20px;
	display: block;
	position: relative;
	border-top: solid 2px #ffd322;
	border-bottom: solid 2px #ffd322;
	text-align: center;
	z-index: 3;

	&:before,
	&:after {
		content: '';
		width: 20px;
		height: calc(100% - 13px);
		display: block;
		position: absolute;
		z-index: 3;
	}

	&:before {
		top: -2px;
		right: -14px;
		border-top: solid 2px #ffd322;
		border-right: solid 2px #ffd322;
	}

	&:after {
		bottom: -2px;
		left: -14px;
		border-bottom: solid 2px #ffd322;
		border-left: solid 2px #ffd322;
	}
}

.tci-button:hover {
	color: #005895;
	background-color: transparent;
	clip-path: polygon(14px 0%,
			100% 0%,
			100% calc(100% - 14px),
			calc(100% - 14px) 100%,
			0% 100%,
			0% 14px,
			14px 0%);

	.tci-button-bg {
		background-color: #ffd322;
		opacity: 1;
	}
}

a.tci-button,
a.tci-button:hover,
a.tci-button:focus {
	text-decoration: none;
	color: inherit;
}