/*
Theme Name: OCA ANIMATION
*/

@font-face {
	font-family: 'icons';
	font-display: swap;
	src:  url('fonts/icons.eot?tf6yrd');
	src:  url('fonts/icons.eot?tf6yrd#iefix') format('embedded-opentype'),
		url('fonts/icons.ttf?tf6yrd') format('truetype'),
		url('fonts/icons.woff?tf6yrd') format('woff'),
		url('fonts/icons.svg?tf6yrd#icons') format('svg');
	font-weight: normal;
	font-style: normal;
}

/**
 * Generic elements
 */
html, body {
	width: 100%;
	height: 100%;
	min-width: 320px;
}
body {
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	margin: 0;
	padding: 0;
	color: #fff;
	background: #000;
}
p {
	margin: 0 0 1em 0;
	padding: 0;
	line-height: 1.1em;
}
table {
	margin: 0;
	margin-bottom: 1.4em;
	padding: 0;
	border-spacing: 0;
	border-collapse: collapse;
}
tbody {
	border: 0;
}
table td, table th {
	padding: 0.7em 1.4em;
	border: 0;
}
table th {
	padding: 1.4em;
	text-align: center;
}

a:link, a:visited {
	color: #FDD101;
	text-decoration: none;
	transition: color .2s ease-in-out;
}
a:hover {
	color: #fff;
}

h1, .title-h1 {
	font-size: 1.7em;
	font-weight: 600;
	font-style: italic;
	padding: 1.5em 0 1em;
	margin: 0;
}
h2, .title-h2 {
	font-size: 1.775em;
	font-weight: 600;
	padding: 1em 0 0.6em;
	margin: 0;
}
h3, .title-h3 {
	font-size: 1.25em;
	font-weight: 600;
	padding: 1em 0 0.6em;
	margin: 0;
}

img, a[rel="shadowbox"] {
	border: 0;
}

.icon-item {
	position: relative;
}
.icon-item:after {
	display: block;
	font-family: 'icons';
	font-weight: 400;
	font-size: 1.5em;
	width: 100%;
	height: 100%;
	text-align: center;
}

.page-title {
	display: flex;
	margin: 0.55em 0 0;
}
.page-title h1 {
	color: #92A2AB;
	padding: 0;
	line-height: 1em;
	text-transform: uppercase;
}
.block-text-shape {
	width: 2em;
	height: 100%;
	position: relative;
	float: left;
	background: linear-gradient(100deg, #000000 15%, #92A2AB 150%);
	shape-outside: polygon(0 0, 100% 0, 61% 100%, 0 100%);
	clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
	shape-margin: 0.5em;
	margin-right: 0.5em;
	transition: opacity 0.3s;
	overflow: hidden;
}
.block-text-shape::after {
	content: '';
	opacity: 0;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(100deg, rgba(0, 0, 0, 0) 25%, #FDD101 100%);
	transition: opacity 0.3s;
}
.page-title .block-text-shape {
	height: auto;
}

/*
 * Content
 */
.content {
	position: relative;
	margin-bottom: 3em;
	padding-top: 1px;
}
.content p:last-child, .content ul:last-child, .content ol:last-child, .content ul li:last-child, .content ol li:last-child {
	margin-bottom: 0;
}
.content strong {
	font-weight: 600;
}
.content em {
	font-weight: 400;
	font-style: italic;
	color: #92A2AB;
}
.content strong em, .content em strong {
	font-weight: 600;
	font-style: italic;
}
.content pre {
	white-space: normal;
}
.content ul, .content ol {
	display: inline-block;
	margin-top: 0;
	margin-bottom: 1.4em;
	padding-left: 1.1em;
}
.content ul li, .content ol li {
	padding-left: 0.5em;
	padding-bottom: 0.5em;
	line-height: 1.6em;
}
.content ul li::marker, .content ol li::marker {
	width: 0.375em;
	height: 0.375em;
	border-radius: 50%;
	color: #FDD101;
}
.node-body {
	overflow: hidden;
}
.node-body ul ul, .node-body ol ol {
	margin: 0.7em 0 0;
}
.content-body p + ul , .content-body p + ol {
	margin-top: -1em;
}
.node-body table {
	max-width: 100%;
	line-break: auto; 
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	border: 0;
	overflow-y: scroll;
	display: inline-block;
	background: none;
}
.node-body table thead {
	font-weight: 600;
	border-bottom: 1px solid #FDD101;
}
.node-body table td, .node-body table th {
	padding: 1em;
	border: 0;
}
.node-body table th {
	text-align: left;
	font-size: 0.875em;
	font-weight: 400;
}
.node-body table tbody tr {
	border-bottom: 1px solid #fff;
}
.node-body table tbody tr:last-child {
	border-bottom: unset
}

.content img {
	border: 0;
	max-width: 100%;
	height: auto;
}

/*
 * Layouts
 */
.wrapper {
	display: flex;
	flex-direction: column;
	justify-content: stretch;
	width: 100%;
	height: 100%;
	min-width: 320px;
}
.container {
	flex: 1 0 auto;
	width: 100%;
}
.footer {
	flex: 0 0 auto;
	width: 100%;
	box-sizing: border-box;
	margin-top: 1.25em;
	padding-bottom: 0.75em;
	color: #FDD101;
}
.inner {
	padding: 0 0.75em;
	box-sizing: border-box;
	margin: 0 auto;
}

/*
 * Header
 */
.header {
	width: 100%;
}
.header .inner {
	display: flex;
	align-items: center;
	padding-top: 0.75em;
	padding-bottom: 0.75em;
}
.logo2 {
	flex-basis: 3.375em;
	width: 3.375em;
	z-index: 11;
}
.logo {
	flex-grow: 1;
	text-align: center;
	z-index: 11;
}
a.front-link {
	display: block;
	height: 1.25em;
}
.logo2 a.front-link {
	height: 1.8em;
}
a.front-link img, .logo2 img {
	height: 100%;
}
.block-lang {
	flex-basis: 1.5em;
	width: 1.5em;
	margin-right: 0.5em;
}
.link-lang {
	display: none;
	width: 1.5em;
	height: 1.5em;
}
.link-lang:after {
	content: '\e901';
	color: #fff;
}
.menu-main {
	flex-basis: 1.5em;
}

/*
 * Footer
 */
.footer-text, .footer-phone {
	text-align: right;
}
.copyright {
	margin-top: 0.5em;
}
#wpfront-scroll-top-container {
	width: 2.375em;
	height: 1.375em;
	line-height: 1.375em;
	position: fixed;
	z-index: 7 !important;
	bottom: 0.75em !important;
	right: 0.75em !important;
	color: #fff;
	text-align: center;
	text-decoration: none;
}
#wpfront-scroll-top-container:after {
	content: '\e905';
	font-family: 'icons';
	color: #FDD101;
	width: 100%;
	height: 100%;
}
#wpfront-scroll-top-container .text-holder {
	display: none;
}

/*
 * Menu main
 */
.header.block-fixed {
	position: fixed;
	z-index: 1111;
	height: 100%;
}
.link-menu-main {
	display: block;
	position: relative;
	line-height: 1.5em;
	flex-basis: 1.5em;
	height: 1.5em;
	width: 1.7em;
	z-index: 9;
}
.link-menu-main:after {
	content: '\e900';
	color: #fff;
}
input.menu-toggle {
	font-size: 1em;
	display: block;
	width: 1.7em;
	height: 1.5em;
	position: absolute;
	top: 0.9em;
	right: 0.75em;
	cursor: pointer;
	opacity: 0;
	z-index: 10;
	margin: 0;
	-webkit-touch-callout: none;
}
input.menu-toggle:checked ~ .link-menu-main:after {
	content: '\e904';
}
.menu-main-cover {
	position: absolute;
	width: 100%;
	left: -100%;
	top: 0;
	padding: 3.4em 0.75em 0.75em;
	box-sizing: border-box;
	z-index: 8;
	background: rgba(0,0,0,0.8);
	-webkit-font-smoothing: antialiased;
	transform-origin: 0% 0%;
	transform: translate(-100%, 0);
	transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.5s, left 0.5s;
	opacity: 0;
}
input.menu-toggle:checked ~ .menu-main-cover {
	transform: none;
	opacity: 1;
	left: 0;
	height: 100%;
}
.menu-main-container {
	height: 80vh;
	overflow-y: scroll;
	padding-right: 0.2em;
}
.menu-main-cover .menu-shape {
	display: none;
}
ul.menu {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
ul.menu li {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: right;
	margin-bottom: 0.225em;
}
.menu-main a {
	font-size: 1.625em;
	font-weight: 600;
	font-style: italic;
	color: #92A2AB;
	text-transform: uppercase;
}
.menu-main .current-menu-item a, .menu-main .current-menu-parent a {
	color: #FDD101;
}
.menu-main .menu-item-16 {
	margin-top: 3em;
}
.menu-main .menu-image {
	display: none;
}

/*
 * About us
 */
h2.subtitle {
	font-size: 1.25em;
	text-align: left;
	padding-bottom: 1em;
	font-style: italic;
}
h2.subtitle p {
	line-height: 1.2em;
	color: #92A2AB;
	font-weight: 200;
}
.about-us-text-1 {
	font-size: 0.875em;
	font-style: italic;
	text-align: left;
	color: #92A2AB;
}
.about-us-why {
	margin-top: 1em;
}
.about-us-why-block {
	text-align: left;
	font-style: italic;
	margin-bottom: 0.875em;
}
h3.about-us-why-block-title {
	padding-top: 0;
	padding-bottom: 0.2em;
	color: #FDD101;
}
.about-us-why-block-text {
	color: #92A2AB;
	font-size: 0.875em;
}

/*
 * Contact
 */
.contacts-content {
	padding: 1em 0;
	text-align: left;
	font-size: 1.25em;
	font-style: italic;
	font-weight: 600;
}
.contacts-block-item {
	margin-bottom: 1em;
}
.contacts-block-item .icon-item {
	display: inline-block;
	font-weight: 600;
	font-style: italic;
	line-height: 2.5em;
	padding-left: 3em;
	color: #fff;
	transition: color .2s ease-in-out;
}
.contacts-block-item .icon-item:after {
	color: #333333;
	position: absolute;
	font-size: 1.667em;
	font-style: normal;
	left: 0;
	top: 0;
	width: 1.5em;
	height: 1.5em;
	line-height: 1.5em;
	transition: color .2s ease-in-out;
}
.contacts-block-item .icon-item:hover, .contacts-block-item .icon-item:hover:after {
	color: #FDD101;
}
.contacts-email:after {
	content: '\e902';
}
.contacts-telegram:after {
	content: '\e903';
}

/*
 * Portfolio
 */
.category .subtitle-cover h2.subtitle {
	padding-bottom: 0;
}
.portfolio-posts {
	margin-top: 1.25em;
}
.portfolio-posts .post {
	margin-bottom: 2em;
}
a.portfolio-post-link {
	display: block;
}
.portfolio-post-img {
	line-height: 0;
	margin-bottom: 1.25em;
}
.portfolio-post-img img {
	object-fit: cover;
	width: 100%;
}
.block-bg {
	height: 5.875em;
	font-style: italic;
	font-weight: 600;
}
.portfolio-posts .post .block-bg {
	text-transform: uppercase;
	color: #92A2AB;
}
.block-bg .block-text-shape {
	width: 3em;
}
.block-bg h3, .block-bg h2 {
	color: #92A2AB;
	padding: 0;
	margin-bottom: 0.6em;
}
.block-bg h3 {
	height: 2.3em;
	overflow: hidden;
}
.video-cover-inner {
	max-height: 40em;
}
.portfolio-post-video a {
	display: inline-block;
	position: relative;
	line-height: 0;
	overflow: hidden;
	height: 100%;
}
.portfolio-post-param-title {
	opacity: 0.4;
	font-size: 0.875em;
}
.portfolio-post-param-value {
	font-size: 0.875em;
}

/*
 * Portfolio post page
 */
.portfolio-post-page .page-title .block-text-shape {
	min-width: 2em;
}
.portfolio-post-page .page-title h1 {
	display: flex;
	font-size: 1.125em;
}
.portfolio-post-param-cover {
	margin-top: 0.75em;
	font-style: italic;
	font-weight: 600;
	text-align: center;
}
.portfolio-post-page .portfolio-post-param-title {
	font-size: 1.125em;
	text-transform: uppercase;
}
.portfolio-post-page .portfolio-post-param-value {
	font-size: 1.25em;
}
.portfolio-description {
	margin-top: 2em;
}

/*
 * Careers
 */
.careers-posts {
	margin-top: 1.25em;
}
.careers-posts .post {
	margin-bottom: 0.875em;
	padding: 2em 1em;
	background-color: #292B2C;
	text-align: left;
}
a.careers-post-link {
	color: #fff;
}
.careers-post-link h3 {
	font-size: 1.875em;
	padding-top: 0;
	text-transform: uppercase;
	font-style: italic;
}

h2.careers-post-title {
	font-size: 1.875em;
	font-weight: 600;
	font-style: italic;
	text-transform: uppercase;
	padding: 1.33em 0 0.5em;
	text-align: center;
}
.careers-post-content {
	text-align: center;
}
.careers-post-content-block {
	margin-bottom: 1em;
}

/*
 * Front page
 */
html.fancybox-active {
	height: unset;
}
.front-page-video-cover {
	position: relative;
	overflow: hidden;
	height: auto;
	margin-bottom: 2.8125em;
}
.front-page-video {
	width: 100%;
	aspect-ratio: 16 / 10;
}
.front-page-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;       /* Prevents distortion by cropping slightly if needed */
}
.front-video {
	display: block;
	position: absolute;
	height: 100%;
	width: auto;
	min-width: 100%;
	min-height: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
.front-page .page-title {
	height: auto;
	text-align: center;
	justify-content: center;
	padding-left: 0;
	margin: 0.75em 0 1.25em 0;
}
.front-page .page-title h1 {
	color: #fff;
	font-style: italic;
	font-size: 11.3vw;
	line-height: 0.95em;
	font-weight: 1000;
	overflow: visible;
}
.front-page .page-title h1 span {
	font-size: 14vw;
	font-style: italic;
}
.front-page .subtitle {
	font-style: italic;
	font-weight: 200;
	
}
.front-portfolio-block {
	margin-bottom: 2em;
}
.front-portfolio-block-img {
	display: block;
	position: relative;
	line-height: 0;
    margin-bottom: 1em;
}
.front-portfolio-block-img-inner {
	display: flex;
	height: 100%;
	width: 100%;
	overflow: hidden;
}
.front-portfolio-block-img img {
	object-fit: cover;
	width: 100%;
}
.front-portfolio-block .block-bg {
	display: block;
	height: 4.4em;
	overflow: hidden;
	max-width: 20em;
}
.block-text-cover {
	color: #92A2AB;
	font-size: 0.875em;
	height: 100%;
}
.block-text-cover h2 {
	line-height: 0.85em;
}
.triangle {
	position: absolute;
	right: 1em;
	bottom: 1em;
	width: 4em;
	height: 2em;
	background: url(images/arrow.svg) no-repeat 50% 50%;
	background-size: contain;
	transition: all .3s ease-in-out;
}
.block:hover .triangle {
	background-image: url(images/arrow_hover.svg);
}
.block-text-text {
	color: #92A2AB;
	width: 100%;
}

.error-page .inner {
	max-width: 40em;
	text-align: center;
}
.error-page-text {
	font-size: 1.25em;
}

@media screen and (min-width: 760px) {
	.inner {
		padding: 0 1em;
	}
		.front-page .subtitle {
		font-size: 1em;
		line-height: 1em;
	}
	h1, .title-h1  {
		font-size: 6.25em;
	}
	h2, .title-h2 {
		font-size: 1.5em;
	}
	h3, .title-h3 {
		font-size: 1.5em;
	}
	.page-title {
		margin: 0 0 1.5em 0;
	}
	.page-title h1 {
		line-height: 0.75em;
	}
	.block-text-shape {
		width: 3em;
	}
	h2.subtitle {
		font-size: 1.5em;
	}
	.block-bg {
		height: 7em;
	}
	.header .inner {
		padding-top: 1em;
		padding-bottom: 1em;
	}
	.menu-main, .block-lang {
		flex-basis: 2.5em;
		width: 2.5em;
	}
	.logo {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 3.125em;
	}
	a.front-link {
		height: 2.25em;
	}
	input.menu-toggle {
		width: 2.5em;
		height: 3.125em;
		top: 1em;
		right: 1em;
	}
	.link-menu-main {
		width: 2.5em;
		height: 3.125em;
	}
	.link-menu-main:after {
		line-height: 2.08em;
	}
	.menu-main-cover {
		padding-top: 5.125em;
	}

	.footer {
		margin-top: 2em;
		padding-bottom: 2em;
		color: #FDD101;
	}
	.footer-text, .footer-phone {
		font-size: 1.25em;
	}
	#wpfront-scroll-top-container {
		bottom: 2em !important;
    	right: 2em !important;
	}
	#wpfront-scroll-top-container:after {
		font-size: 1.5em;
	}

	.front-page .page-title h1 {
		font-size: 11.4vw;
	}
	.front-page .page-title h1 span {
		font-size: 14.5vw;
	}
	.front-page .subtitle {
		font-size: 2.5em;
	}
	.front-portfolio-block {
		margin-bottom: 2.5em;
	}
	.front-portfolio-block .block-bg {
		height: 7.9em;
		max-width: unset;
	}
	.block-bg .block-text-shape {
		width: 5em;
		shape-margin: 0.9em;
		margin-right: 0;
	}
	.front-portfolio-block-img {
		height: 25.625em;
		margin-bottom: 1.25em;
	}
	.block-bg h2 {
		font-size: 3.75em;
		margin-bottom: 0.2em;
	}
	.block-text-text {
		font-size: 1.5em;
	}
	
	.portfolio-posts .post {
		margin-bottom: 2.5em;
	}
	.portfolio-post-img {
		margin-bottom: 1.25em;
	}
	.portfolio-post-param-title, .portfolio-post-param-value {
		font-size: 1.125em;
	}

	.image-cover, .video-cover, .about-us-cover, .careers-post-cover, .contacts-cover {
		position: relative;
		/*max-width: 1380px;*/
		margin: 0 auto;
	}
	.image-cover:before, .image-cover:after, .video-cover:before, .video-cover:after {
		content: '';
		position: absolute;
		top: 0;
		height: 100%;
		width: 21.5%;
		z-index: 11;
	}
	.image-cover:before, .video-cover:before {
		left: 0;
		background: linear-gradient(100deg, #000000 25%, #92A2AB 150%);
		clip-path: polygon(0 0, 100% 0, calc(100% - 3.3em) 100%, 0 100%)
	}
	.image-cover:after, .video-cover:after {
		right: 0;
		background: linear-gradient(100deg, #92A2AB -150%, #000000 75%);
		clip-path: polygon(3.3em 0, 100% 0, 100% 100%, 0 100%);
	}
	.image-cover-inner, .video-cover-inner {
		position: relative;
		margin: 0 auto;
		display: flex;
		height: 100%;
		width: 70%;
		clip-path: polygon(3.3em 0, 100% 0, calc(100% - 3.3em) 100%, 0 100%);
	}
	.image-cover img {
		object-fit: cover;
		width: 100%;
	}
	.about-us-text-1 {
		font-size: 1.25em;
	}
	.about-us-why *, .about-us-why h2.subtitle {
		text-align: left;
	}
	.about-us-why h2.subtitle {
		margin-left: 4.1em;
	}
	.about-us-why-block {
		position: relative;
		padding-left: 6.125em;
		margin-bottom: 1em;
	}
	.about-us-why-block:before {
		content: '';
		width: 5.5em;
		height: 3.125em;
		position: absolute;
		left: 0;
		background: linear-gradient(100deg, #000000 15%, #FDD101 150%);
		clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
		overflow: hidden;
	}
	.about-us-why-block-text {
		font-size: 1.25em;
	}
	
	.careers-posts .post {
		padding: 2em;
		text-align: left;
	}
	.careers-post-link h3 {
		font-size: 2.125em;
		transition: color .2s ease-in-out;
	}
	.careers-posts .post:hover h3 {
		color: #FDD101;
	}

	.portfolio-post-page .page-title h1 {
		font-size: 2.1em;
		line-height: 0.9em;
	}
	.portfolio-post-video .triangle {
		right: 5.5em;
	}
	.portfolio-post-param-cover {
		display: flex;
		justify-content: center;
		align-items: baseline;
	}
	.portfolio-post-param-cover .portfolio-post-param-title {
		margin-right: 0.5em;
	}

	.contacts-content {
		font-size: 1.5em;
	}
	.contacts-block-item .icon-item {
		font-size: 1.5em;
	}
}

@media screen and (min-width: 980px) {
	.inner {
		padding: 0 2em;
	}

	input.menu-toggle {
		right: 2em;
	}
	.menu-main-cover {
		padding-right: 2em;
	}

	.footer .inner {
		display: flex;
		flex-wrap: wrap;
		justify-content: start;
	}
	.footer-text {
		text-align: left;
		margin-right: 3.375em;
	}
	.copyright {
		width: 100%;
		flex-basis: 100%;
	}

	.front-page-video-cover {
		height: 37.5em;
		margin-bottom: 1.75em;
	}
	.front-page .page-title h1 {
		width: 100%;
		text-align: right;
		font-size: 11.18vw;
	}
	.front-page .page-title h1 span {
		width: 100%;
		display: inline-block;
		text-align: left;
	}
	.front-subtitle {
		display: flex;
		justify-content: end;
	}
	.front-page .subtitle {
		width: 74%;
		padding: 0.85em 0 1.5em;
		text-align: left;
	}
	.front-portfolio-block {
		display: flex;
		justify-content: space-between;
		align-items: center;
		cursor: pointer;
		margin-bottom: 0;
	}
	.front-portfolio-block:nth-child(2n) {
		flex-direction: row-reverse;
	}
	.front-portfolio-block-img {
		position: relative;
		height: 25em;
		width: calc(51% + 10em);
		flex-basis: calc(51% + 10em);
		overflow: hidden;
		clip-path: polygon(0 0, 100% 0, calc(100% - 4.5em) 100%, 0 100%);
		margin-bottom: 0;
	}
	.front-portfolio-block:nth-child(2n) .front-portfolio-block-img {
		clip-path: polygon(4.5em 0, 100% 0, 100% 100%, 0 100%);
	}
	.triangle {
		right: 6em;
	}
	.front-portfolio-block:nth-child(2n) .triangle {
		right: 1.5em;
	}
	.front-portfolio-block-img:hover .triangle, .image-cover-inner:hover .triangle {
		background-image: url(images/arrow_hover.svg);
	}
	.front-portfolio-block-text {
		flex-basis: 50%;
		height: 5.5em;
		overflow: hidden;
	}
	.block-bg:hover * {
		color: #FDD101;
	}
	.block-bg:hover .block-text-shape:after {
		opacity: 1;
	}

	.subtitle-cover {
		display: flex;
		justify-content: end;
	}
	h2.subtitle {
		width: 80%;
		text-align: right;
	}
	.portfolio-posts {
		display: flex;
		flex-wrap: wrap;
		overflow: hidden;
	}
	.portfolio-posts .post {
		margin-bottom: 2em;
		width: 50%;
		flex-basis: 50%;
	}
	a.portfolio-post-link {
		display: flex;
		align-items: center;
		flex-direction: column;
		justify-content: start;
	}
	a.portfolio-post-link * {
		transition: color .2s ease-in-out;
	}
	a.portfolio-post-link:hover * {
		color: #FDD101;
	}
	a.portfolio-post-link:hover .block-text-shape:after {
		opacity: 1;
	}
	.front-portfolio-block-text:hover * {
        color: #FDD101;
    }
	.portfolio-post-img {
		position: relative;
		overflow: hidden;
		clip-path: polygon(0 0, 100% 0, calc(100% - 3.5em) 100%, 0 100%);
		height: 20em;
		width: calc(100% + 3em);
		flex-basis: 20em;
		margin-bottom: 1em;
	}
	.portfolio-posts .post:nth-child(2n) .portfolio-post-img {
		clip-path: polygon(3.5em 0, 100% 0, 100% 100%, 0 100%);
	}
	.portfolio-post-img img {
		height: 100%;
		width: auto;
	}
	.portfolio-post-title {
		width: 100%;
		height: 6.8em;
		flex-basis: auto;
	}

	.image-cover:before, .image-cover:after {
		width: 19.8%;
	}
	h2.about-us-subtitle {
		width: 80%;
		text-align: left;
		margin-top: 1em;
		padding-left: 4.1em;
		box-sizing: border-box;
		margin-left: 4em;
	}
	.subtitle-cover h2.about-us-subtitle {
		text-align: right;
	}
	.subtitle-cover h2.about-us-subtitle {
		margin-top: 0;
	}
	.about-us-text-1 {
		text-align: left;
		margin-left: 5em;
	}

	.careers-posts {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.careers-posts .post {
		width: calc(50% - 0.5em);
		flex-basis: calc(50% - 0.5em);
		margin-bottom: 1em;
		box-sizing: border-box;
	}
	h2.careers-post-title {
		text-align: left;
	}
	.careers-post-content {
		text-align: left;
	}

	.contacts-content {
		text-align: right;
	}
	.contacts-block {
		text-align: right;
	}
}

@media screen and (min-width: 1050px) {
	.portfolio-post-img img {
		height: auto;
		width: 100%;
	}
}

@media screen and (min-width: 1280px) {
	.header .inner {
		padding-top: 1.5em;
		padding-bottom: 1.5em;
	}
	input.menu-toggle {
		top: 1.5em;
	}
	.menu-main-container {
		height: auto;
		overflow-y: unset;
		margin-right: 9em;
	}
	.menu-main-cover {
		padding-top: 6.125em;
		padding-right: 5em;
		text-align: right;
	}
	.menu-main-inner {
		display: inline-block;
		white-space: nowrap;
	}
	.menu-main-cover .block-text-shape.menu-shape {
		display: block;
		width: 10em;
		background: none;
		shape-margin: 0;
		margin-right: 0;
	}
	ul.menu li {
		text-align: left;
		
	}
	/*ul.menu li:nth-child(2n) {
		margin-left: 3.5em;
	}
	ul.menu li:nth-child(3n) {
		margin-left: 3em;
	}
	ul.menu li:nth-child(4n) {
		margin-left: 2.5em;
	}
	ul.menu li:nth-child(5n) {
		margin-left: 2em;
	}
	ul.menu li:nth-child(6n) {
		margin-left: 1.5em;
	}
	ul.menu li:nth-child(7n) {
		margin-left: 1em;
	}
	ul.menu li:nth-child(8n) {
		margin-left: 0.5em;
	}
	ul.menu li:nth-child(9n) {
		margin-left: 0;
	}
	ul.menu li:nth-child(10n) {
		margin-left: 0;
	}
	ul.menu li:nth-child(11n) {
		margin-left: 0;
	}*/
	.menu-main .menu-item-16 {
		margin-top: 2em;
	}
	.menu-main a {
		font-size: 1.3em;
		position: relative;
	}
	.menu-main a:hover {
		color: #FDD101;
	}
	.menu-main a .block-text-shape {
		display: block;
		opacity: 0;
		visibility: hidden;
		position: absolute;
		width: 1em;
		top: 0;
		left: -1em;
		background: linear-gradient(100deg, rgba(0, 0, 0, 0) 15%, #FDD101 100%);
		transition: all .2s ease-in-out;
	}
	.menu-main a .menu-image {
		font-size: 0.65em;
		display: block;
		opacity: 0;
		visibility: hidden;
		position: absolute;
		width: 14.375em;
		height: 7.1875em;
		top: 0;
		left: -18em;
		object-fit: cover;
		clip-path: polygon(2em 0, 100% 0, calc(100% - 2em) 100%, 0 100%);
		transition: all .2s ease-in-out;
	}
	.menu-main a:hover .block-text-shape, .menu-main a:hover .menu-image {
		opacity: 1;
		visibility: visible
	}

	.footer-text, .footer-phone {
		font-size: 1.8em;
	}
	.footer-text {
		margin-right: 3.375em;
	}

	.front-page-video-cover {
		height: 45em;
	}
	.front-page .page-title h1 {
		font-size: 8.5em;
		line-height: 0.86em;
	}
	.front-page .page-title h1 span {
		font-size: 1.2em;
		line-height: 0.68em;
	}
	.front-page .subtitle {
		width: 28.2em;
		padding: 0.65em 0 1.25em;
	}
	.triangle {
		width: 7em;
		height: 4.375em;
	}
	.front-portfolio-block-img {
		width: calc(50% + 10em);
		flex-basis: calc(50% + 10em);
	}

	.portfolio-post-params {
		display: flex;
		justify-content: space-between;
	}
	.portfolio-post-param-cover {
		margin-top: 1.5em;
	}
	.portfolio-description {
		margin-top: 3em;
	}

	.image-cover:before, .image-cover:after {
        width: 18.7%;
    }
}

@media screen and (min-width: 1300px) {
	.inner {
		padding: 0 5em;
	}
	input.menu-toggle {
		right: 5em;
	}

	.page-title {
		margin: 0 0 2em 0;
		padding-left: 5em;
	}
	h2.subtitle {
		padding: 0.2em 0 1em 0;
	}

	.footer-text, .footer-phone {
		font-size: 2em;
	}

	.front-video {
		height: auto;
		width: 100%;
	}

	.portfolio-posts .post {
		margin-bottom: 3em;
	}
	.portfolio-post-cover {
		/*max-width: 1380px;*/
		margin: 0 auto;
	}
	.portfolio-posts .post {
		width: 33%;
		flex-basis: 33%;
	}
	.portfolio-posts .post:nth-child(3n+2) {
		width: 34%;
		flex-basis: 34%;
	}
	.portfolio-post-img img {
		object-fit: cover;
		width: auto;
		height: 100%;
	}
	.portfolio-posts .post:nth-child(2n) .portfolio-post-img {
        clip-path: polygon(0 0, 100% 0, calc(100% - 3.5em) 100%, 0 100%);
    }
	.portfolio-posts .post:nth-child(3n+2) .portfolio-post-img, .careers-posts .post:nth-child(3n+2):before {
		clip-path: polygon(3.5em 0, 100% 0, calc(100% - 3.5em) 100%, 0 100%);
	}
	.portfolio-posts .post:nth-child(3n) .portfolio-post-img, .careers-posts .post:nth-child(3n):before {
		clip-path: polygon(3.5em 0, 100% 0, 100% 100%, 0 100%);
	}
	.portfolio-posts .post .block-bg {
		padding-right: 2em;
		box-sizing: border-box;
	}

	.careers-posts {
		overflow: hidden;
	}
	.careers-posts .post {
		width: 33%;
		flex-basis: 33%;
		max-height: 20em;
		background: none;
		position: relative;
	}
	.careers-posts .post:nth-child(3n+1) {
		width: 30%;
		flex-basis: 30%;
	}
	.careers-posts .post:nth-child(3n+2) {
		width: 34%;
		flex-basis: 34%;
		padding-left: 7%;
		padding-right: 3%;
	}
	.careers-posts .post:nth-child(3n) {
		width: 36%;
		flex-basis: 36%;
		padding-left: 7%;
	}
	.careers-posts .post:before {
		content: '';
		display: block;
		position: absolute;
		width: calc(100% + 3em);
		height: 100%;
		left: 0;
		top: 0;
		z-index: -1;
		background-color: #292B2C;
		clip-path: polygon(0 0, 100% 0, calc(100% - 3.5em) 100%, 0 100%);
	}
	.careers-post-wrapper {
		overflow: hidden;
		max-height: 100%;
	}

	.image-cover:before, .video-cover:before {
		width: 20.2%;
		clip-path: polygon(0 0, 100% 0, calc(100% - 5em) 100%, 0 100%);
	}
	.image-cover:after, .video-cover:after {
		width: 20.2%;
		clip-path: polygon(5em 0, 100% 0, 100% 100%, 0 100%);
	}
	.image-cover-inner, .video-cover-inner {
		clip-path: polygon(5em 0, 100% 0, calc(100% - 5em) 100%, 0 100%);
	}

	.about-us-why-block-cover {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.about-us-why-block {
		box-sizing: border-box;
		width: 45%;
		flex-basis: 45%;
	}
}

@media screen and (min-width: 1400px) {
	.image-cover:before, .video-cover:before {
		width: 20%;
	}
	.image-cover:after, .video-cover:after {
		width: 20%;
	}
}

@media screen and (min-width: 1500px) {
	.portfolio-post-img img {
		width: 100%;
	}
	.portfolio-posts .post .block-bg {
		padding-right: 5em;
	}
	.image-cover:before, .video-cover:before {
		width: 19.5%;
	}
	.image-cover:after, .video-cover:after {
		width: 19.5%;
	}
}

@media screen and (min-width: 1600px) {
	.front-page .subtitle {
		font-size: 3.375em;
		width: 21em;
		padding: 1.5em 0 2.5em;
	}
	.front-portfolio-block-img {
		height: 30em;
	}
	.image-cover:before, .video-cover:before {
		width: 19%;
	}
	.image-cover:after, .video-cover:after {
		width: 19%;
	}
}

@media screen and (min-width: 1800px) {
	.image-cover:before, .video-cover:before {
		width: 18.5%;
	}
	.image-cover:after, .video-cover:after {
		width: 18.5%;
	}
	.front-page .subtitle {
		font-size: 3.375em;
		line-height: 1.8em;
	}
}