/* Frontpage blocks */

.main-banner-hero img {
	width: 100%;
	height: auto;
}

.new-block {
	margin: 2em auto;
	padding: 2em 1em 5em;
	min-height: fit-content;
}

.new-block-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.new-block a {
	font-size: 1.2em;
	font-weight: 500;
	line-height: 1.2;
	color: var(--mainColor);
}

.products-wrapper-flex {
	padding: 0 !important;
}

.ma-text-image-w-text {
	display: flex;
	width: 100%;
	box-sizing: border-box;
	margin: 40px 0px 0px;
	font-size: 1.125em;
}

.title-ma-image-block {
	font-size: 1.8em;
	overflow-wrap: break-word;
	margin-bottom: 1em;
	font-weight: 500;
}

.description-ma-image-block {
	overflow-wrap: break-word;
	margin-bottom: 1em;
	white-space: pre-line;
}

.ma-image-text-one-block {
	flex-basis: 50%;
	padding: 1em;
	max-width: 50%;
}

.img-ma-image-block img {
	max-width: 100%;
	width: 100%;
	max-height: none;
}

.ma-text-image-w-text .ma-image-text-one-block>div {
	margin-bottom: 1em;
}

.cta-ma-image-block,
.cta-ma-image-block a {
	font-size: 1.1em;
	font-weight: 500;
	line-height: 1.2;
	display: inline-block;
	color: var(--mainColor);
}

.cta-ma-image-block a {
	padding-right: .5em;
}

.slider-fullwidth-images img {
	width: 100%;
	height: auto;
}

.ma-theme-slider .tns-outer {
	position: relative;
}

.ma-theme-slider .tns-controls {
	position: absolute;
	top: 50%;
	z-index: 1;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
}

.ma-theme-slider .tns-nav {
	position: absolute;
	bottom: 20px;
	z-index: 1;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.ma-theme-slider .tns-nav button {
	outline: none;
	border: 0;
	width: 8px;
	height: 8px;
	display: inline-block;
	border-radius: 50%;
	background: #000;
	opacity: .2;
	padding: 0;
}

.ma-theme-slider .tns-nav button.tns-nav-active {
	background: #007aff;
	opacity: 1;
}

.ma-theme-slider {
	position: relative;
}

.ma-theme-slider .custom-controls-ma {
	width: 98.75%;
	box-sizing: border-box;
	position: absolute;
	z-index: 1;
	top: 45%;
	display: flex;
	justify-content: space-between;
	color: #fff;
	padding: 0px 20px;
}

.slider-images {
	width: 98%;
	display: flex;
	overflow: hidden;
	overflow-x: hidden;
	padding-bottom: 11px;
	flex-flow: row;
	margin: 18px;
}

.scroll-button {
	position: absolute;
	top: 50%;
}

.scroll-button.right {
	right: 0;
}

.img-third {
	display: flex;
	min-width: 30%;
	width: 396.333px;
	max-height: 100%
}

.ma-slider-btns svg {
	width: 64px;
	height: 64px;
	cursor: pointer;
}

.ma-slider-btns.slider-prev2 svg {
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
}

.ma-slider-btns svg polygon {
	fill: #007aff;
}

.ma-text-image-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	justify-items: center;
}

.large-heading-text {
	font-size: 3em;
	font-weight: bold;
}

.ma-text-part-in-block {
	width: 650px;
	max-width: 100%;
}

.ma-images-gallery {
	display: flex;
	flex-wrap: wrap;
}

.ma-images-gallery>div {
	flex-basis: 33.33%;
	max-width: 33.33%;
	padding: 0.6em;
	box-sizing: border-box;
}

.ma-images-gallery img {
	width: 100%;
}

.content-area-cms a {
	font-weight: bold;
}

.content-area-cms a:hover {
	color: blue;

}

@media only screen and (max-width: 640px) {
	.container {
		margin: 0 20px;
		padding: 0px 1em;
		box-sizing: border-box;
	}

	.ma-text-image-w-text {
		display: flex;
		width: 100%;
		box-sizing: border-box;
		flex-direction: column;
	}

	.ma-image-text-one-block {
		flex-basis: 100%;
		padding: 1em;
		max-width: 100%;
	}

	.slider-images {
		margin: 0;
	}

	.ma-slider-btns svg {
		width: 44px;
		height: 44px;
		cursor: pointer;
	}

	.img-third {
		min-width: 50%;
	}

	.ma-text-image-block {
		grid-template-columns: 1fr;
	}

	.large-heading-text {
		font-size: 2em;
		font-weight: 700;
		max-width: 100%;
		box-sizing: border-box;
	}

	.ma-text-part-in-block {
		width: auto;
		max-width: 100%;
		box-sizing: border-box;
	}

	.ma-images-gallery>div {
		flex-basis: 100%;
		max-width: 100%;
	}

}