@import url("https://use.typekit.net/ubm0ydk.css");

.tm-box-decoration-primary.tm-box-decoration-inverse::before {
	border-image-source: url(https://835309c2e9.nxcli.io/wp-content/uploads/2024/10/dots-pattern-inverse.svg);
	max-width: 400px;
    max-height: 550px;
}

.tm-box-decoration-primary::before {
	border-image-source: url(https://835309c2e9.nxcli.io/wp-content/uploads/2024/10/dots-pattern.svg);
}

.tm-box-decoration-secondary::before {
	border-image-source: url(https://835309c2e9.nxcli.io/wp-content/uploads/2024/10/dots-pattern.svg);
	transform: translate(35px, -30px);
}

.tm-box-decoration-default::before {
	border-image-source: url(https://835309c2e9.nxcli.io/wp-content/uploads/2024/10/dots-pattern.svg);
	max-width: 400px;
    max-height: 300px;
	width: 400px;
    height: 300px;
	transform: translate(0);
	bottom: -30px;
	top: auto;
	right: -35px;
	left: auto;
}

.uk-grid .uk-first-column .tm-box-decoration-default::before {
	transform: translate(0);
	top: -30px;
	left: -35px;
	right: auto;
	bottom: auto;
}

@media (min-width: 960px) {
	article:nth-child(even) .tm-box-decoration-primary::before {
		transform: translate(435px, 0px);
	}
}

@media (max-width: 960px) {
	article .tm-box-decoration-primary::before {
		display: none !important;
	}
	.tm-box-decoration-primary::before, .tm-box-decoration-secondary::before {
	    border-image-width: 50px;
	}
	.tm-box-decoration-secondary::before {
		transform: translate(30px, -25px);
	}
	.tm-box-decoration-default::before, .uk-grid .uk-first-column .tm-box-decoration-default::before {
	    border-image-width: 46px;
		width: auto;
		height: auto;
		transform: translate(-30px, -25px);
		top: 0;
		bottom: 0;
		right: 0;
		left: 0;
	}
}