/*
 * Services Archive
*/

body.post-type-archive-services::before {
	content: "";
	display: block;
	width: 100%;
	height: 30vh;
	position: absolute;
	top: 0;
	left: 0;
	background: linear-gradient(180deg, #F5F6FA 12.68%, rgba(255, 255, 255, 0.0001) 94.6%);
	opacity: 0.7;
	z-index: 1;
}

#subheader::after {
	content: "";
	display: block;
	width: 100%;
	height: 30%;
	background: linear-gradient(0deg, rgba(81, 81, 97, 0.390734) 11.59%, rgba(255, 255, 255, 0.0001) 94.6%);
	position: absolute;
	bottom: 0;
}

.sectors-all {
	background-image: url(/wp-content/uploads/2021/12/PP_patternAsset-3@2x-Copy.svg);
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: top center;
	padding-bottom: 3.15em;
}

.sectors-all > :nth-child(2n+1) {
	flex-direction: row-reverse;
}

.attachment-services.size-services.wp-post-image {
	display: inline-block;
	max-width: calc(100% - 15px);
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sectors-all > :nth-child(2n) .attachment-services.size-services.wp-post-image {
	border-radius: 0px 4px 4px 0px;
}

.sectors-all > :nth-child(2n+1) .attachment-services.size-services.wp-post-image {
	border-radius: 4px 0px 0px 4px;
}

.post-sectors-block {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	max-width: 31em;
	padding: 2.5em 0 1.5em;
	height: 100%;
}

.post-sectors-content.b4 {
	line-height: 1.4;
}

article.services.type-services {
	margin-bottom: 1.5em;
}

article.services.type-services:first-child {
	padding-top: 1.5em;
}

.post-sectors-block h2 {
	margin-bottom: 0.4em;
}

h2.entry-title a {
	color: #4F4D88;
}

.sectors-all > :nth-child(2n+1) > .col-md-6:first-child {
	text-align: right;
}

.sectors-all > :nth-child(2n+1) > .col-md-6:last-child {
	display: flex;
	justify-content: flex-end;
}

.sectors-all > :nth-child(2n+1) > .col-md-6:last-child,
.sectors-all > :nth-child(2n+1) > .col-md-6:first-child {
	display: flex;
	align-items: center;
}

.post-sectors-block > * {
	max-width: calc(100% - 30px);
}

.sectors-all > :nth-child(2n)> .col-md-6:last-child > * {
	margin-left: 30px;
}

.read-more {
	margin-top: 1.5em;
	padding-bottom: 0.5em;
}

article.services.type-services .post-sectors-content {
	width: 100%;
	color: #4F4D88;
}

.wheel {
	padding: 0 15px;
}

#wheel {
	max-width: 100%;
	height: auto;
}

.wheel h2 {
	margin-bottom: 0.5em;
}

.wheel .wheel-desc {
	max-width: 51em;
	margin: auto;
	letter-spacing: -0.5px;
	color: #4F4D88;
	font-size: 1.1em;
}

.wheel-content {
	background: #E9EFF2;
	padding: 8em 0 3em;
	margin-top: -24em;
	min-height: 24em;
	position: relative;
	z-index: 2;
}

.wheel-content-block {
/*	display: none;*/
	/*max-width: 43.33em;*/
	margin: auto;
	position: static;
}

.wheel-content-block .glide__arrows {
	position: absolute;
	top: 0%;
	width: 100%;
}

.wheel-content-block.active {
	display: block;
}

.wheel-content-block .b5 {
	font-size: 1.27em;
	line-height: 1.6;
	text-align: center;
	font-weight: 400;
	color: #4F4D88;
	opacity: 0.8;
	margin-bottom: 1.5em;
}

.wheel-content-block .b6 {
	line-height: 1.56;
	color: #4F4D88;
	opacity: 0.8;
}

.wheel-main {
	max-width: 51.11em;;
	margin: -4em auto 0;
	position: relative;
	top: 21px;
}

.wheel-hub {
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	top: 19em;
	max-width: 13.16em;
	max-height: 13.16em;
	z-index: 3;
}

/*.wheel-content-block {
	display: none;
}*/


#wheel-top,
#wheel-left,
#wheel-right {
	transition: all 0.4s;
}

/*.wheel-active-top:hover #wheel-top,
.wheel-active-top.active #wheel-top {
	transform: scale(1.19) translate(-8%, -8%);
}

.wheel-active-left:hover #wheel-left,
.wheel-active-left.active #wheel-left {
	transform: scale(1.19) translate(-8.4%, -8.4%);
}

.wheel-active-right:hover #wheel-right,
.wheel-active-right.active #wheel-right {
	transform: scale(1.19) translate(-8.4%, -8.4%);
}
*/
.wheel-active-top:hover #wheel-left,
.wheel-active-top:hover #wheel-right,
.wheel-active-top:hover .wheel-stroke-right,
.wheel-active-left:hover #wheel-top,
.wheel-active-left:hover #wheel-right,
.wheel-active-left:hover .wheel-stroke-top,
.wheel-active-right:hover #wheel-left,
.wheel-active-right:hover #wheel-top,
.wheel-active-right:hover .wheel-stroke-left,
.wheel-active-top.active #wheel-bottom,
.wheel-active-bottom.active #wheel-top,
.wheel-active-top.active #wheel-left,
.wheel-active-top.active #wheel-right,
.wheel-active-top.active .wheel-stroke-right,
.wheel-active-left.active #wheel-top,
.wheel-active-left.active #wheel-right,
.wheel-active-left.active .wheel-stroke-top,
.wheel-active-right.active #wheel-left,
.wheel-active-right.active #wheel-top,
.wheel-active-right.active .wheel-stroke-left {
	opacity: 0.3;
}

.wheel-active-left.active #wheel-right:hover,
.wheel-active-top.active #wheel-right:hover,
.wheel-active-right.active #wheel-left:hover,
.wheel-active-top.active #wheel-left:hover,
.wheel-active-left.active #wheel-top:hover,
.wheel-active-right.active #wheel-top:hover {
  opacity: 0.8;
  cursor: pointer;
}

.wheel-rotate {
	transform-origin: center;
	transition: all 0.4s;
}

.wheel-content-block .glide__slide > * {
	width: 94em;
	max-width: 90%;
	margin: auto;
}

/*.wheel-active-left .wheel-rotate {
	transform: rotate(120deg);
}

.wheel-active-right .wheel-rotate {
	transform: rotate(240deg);
}*/

.wheel.wheel-2 #wheel-top image {
	transform: translateX(4px) translateY(15px);
}

.wheel.wheel-2 #wheel-bottom image {
	transform: translateX(-4px) translateY(-12px);
}

@media (max-width: 991px) {
	.wheel-hub {
		top: 35%;
		max-width: 30%;
		max-height: 30%;
	}

	.wheel-content {
		margin-top: -21em;
	}

	.wheel-content .glide__slide {
		padding: 0 2em;
	}

	.attachment-services.size-services.wp-post-image {
		height: 100%;
		object-fit: cover;
	}
}

@media (max-width: 767px) {
	#subheader {
		margin-bottom: 2em;
	}

	.post-sectors-block {
		padding: 2.5em 1em 1.5em;
	}

	.sectors-all > :nth-child(2n) > .col-md-6:last-child > * {
		margin-left: 0;
	}

	.attachment-services.size-services.wp-post-image {
		max-width: 100%;
	}

	.wheel {
		overflow: hidden;
	}

	.wheel .b3 {
		padding: 0 15px;
		font-size: 1.12em;
	}

	.wheel-main {
		margin: -2em -3em 0;
		overflow: hidden;
	}
}

@media (max-width: 480px) {
	.wheel-content {
		padding: 4.5em 0 3em;
		margin-top: -13em;
	}

	.wheel-content .glide__slide {
		padding: 0;
	}

	.wheel-content .glide__arrow--left {
		left: 0.5em;
	}

	.wheel-content .glide__arrow--right {
		right: 0.5em;
	}

	.wheel-content .glide__slide .b2 {
		margin-bottom: 0.3em;
		font-size: 1.5em;
		line-height: 1.2;
	}

	.wheel-content .b6 {
		font-size: 0.9em;
	}

	.wheel-content-block .b5 {
		font-size: 1.1em;
		line-height: 1.3;
		margin-bottom: 1.1em;
	}
}