/*
Theme Name: advansys
Author: artium
Author URI: https://artium.com.ua
Theme URI: https://artium.com.ua
Tags: full-site-editing, block-patterns
Text Domain: advansys
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}



body {
	/* font-family: "Source Sans 3", sans-serif;
  
	font-weight: 400;
	font-style: normal; */
  
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: var(--wp--preset--color--contrast);
	background-color: var(--wp--preset--color--base);
}

p {
	margin-bottom: 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
}

a {
	text-decoration: none;
}
.text-decoration-none {
	text-decoration: none;
}

.text-decoration-none a {
	text-decoration: none;
}

.text-decoration-dotted,
.text-decoration-dotted a {
	text-decoration: underline;
	text-decoration-style: dotted;
}

.cursor-pointer {
	cursor: pointer;
}

.bw {
	filter: grayscale(1);
}
.wp-element-button {
	transition: all 0.35s
}
.wp-element-button > img {
	transition: all 0.35s
}

/* Remove margin from group blocks on the page root  */
:root :where(.is-layout-flow) > .container {
	margin-top: 0;
}
:root :where(.is-layout-flow) > .wp-block-group {
	margin-top: 0;
}
:root :where(.is-layout-flow.wp-block-group) {
	margin-top: 0;
}

/* Fix Hero width for home page */
.wp-block-cover.has-custom-content-position.has-custom-content-position.is-position-bottom-left .wp-block-cover__inner-container {
	width: 100%;
}



/* CF7 Styles */

form label {
	width: 100%;
	margin-bottom: 12px;
	display: inline-block;
}

form label input {
	box-sizing: border-box;
	width: 100%;
	padding: 14px;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--secondary);
	border-radius: 0;
	font-size: 16px;

	background-color: var(--wp--preset--color--base);
}

form label input:focus {
	/* border: 1px solid var(--wp--preset--color--primary); */
	border-bottom: 1px solid var(--wp--preset--color--contrast);
	outline: none;
}

form label textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 14px;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--secondary);
	border-radius: 0;
	font-size: 16px;

	background-color: var(--wp--preset--color--base);
}

form label textarea:focus {
	border-bottom: 1px solid var(--wp--preset--color--contrast);
	outline: none;
}

form label ::placeholder {
	color: var(--wp--preset--color--secondary);
	opacity: 1;
}

.wpcf7-select {
	display: block;
	width: 100%;
	margin-bottom: 10px;
	padding: 10px;
	line-height: 1.5;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right .75rem center;
	background-size: 16px 12px;
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/* Styling the upload file button */
input[type=file]::file-selector-button {
	margin-right: 20px;
	border: none;
	background: var(--wp--preset--color--primary);
	padding: 7px 15px;
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
	transition: background .2s ease-in-out;
}

input[type=file]::file-selector-button:hover {
	background: var(--wp--preset--color--secondary);
}


/* Style fot CF7 buttons */
.wpcf7-submit {
	display: inline-block;
	padding: 12px 40px;

	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	text-decoration: none;
	cursor: pointer;

	color: var(--wp--preset--color--base);
	background-color: var(--wp--preset--color--contrast);
	border: 2px solid var(--wp--preset--color--contrast);
	border-radius: 0;

	transition: 0.35s;
}

.wpcf7-submit:hover {
	/* color: var(--wp--preset--color--contrast);
	background-color: var(--wp--preset--color--transparent);
	border: 2px solid var(--wp--preset--color--contrast); */
	transform: translateY(-5px);
	transition: 0.35s;
}



.form-dark-style form label {
	width: 100%;
	margin-bottom: 12px;
	display: inline-block;
}

.form-dark-style form label input {
	border-bottom: 1px solid var(--wp--preset--color--transparent);
	background-color: rgba(255, 255, 255, 0.05);
}

.form-dark-style form label input:focus {
	border-bottom: 1px solid var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--primary);
}

.form-dark-style form label textarea {
	border-bottom: 1px solid var(--wp--preset--color--transparent);
	background-color: rgba(255, 255, 255, 0.05);
}

.form-dark-style form label textarea:focus {
	border-bottom: 1px solid var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--primary);
}

.form-dark-style form label::placeholder {
	color: var(--wp--preset--color--secondary);
	opacity: 1;
}

/* Style fot CF7 buttons */
.form-dark-style .wpcf7-submit {
	color: var(--wp--preset--color--primary);
	background-color: var(--wp--preset--color--transparent);
	border: 1px solid var(--wp--preset--color--primary);
}

.form-dark-style .wpcf7-submit:hover {
	/* color: var(--wp--preset--color--contrast);
	background-color: var(--wp--preset--color--secondary); */
	transform: translateY(-5px);
	transition: 0.35s;
}





.header {
	background-color: var(--wp--preset--color--contrast);
}

.toolbar {
	/* height: 72px; */
	/* background-color: rgba(255, 255, 255, 0.02); */
}

.menu-item {
	color: var(--wp--preset--color--primary);
	padding: 0 10px;
	text-decoration: none;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.hero-mask {
	position: relative;
	width: 400px;
	height: 400px;
  
	-webkit-mask-image: url(assets/images/hero-mask-sq.svg);
	mask-image: url(assets/images/hero-mask-sq.svg);
	
	mask-size: 100%;
	-webkit-mask-size: 100%;
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	mask-position: left bottom;
	-webkit-mask-position: left bottom;
  
	overflow: hidden;
  }

/* .hero-wrapper {
	position: relative;
	flex-grow: 1;
}

.hero-wrapper::before {
	content: '';
	position: absolute;
	bottom: 0px;
	left: -19%;
	width: 100%;
	height: 140%;
	background-image: url(assets/images/vector-bg.svg);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	pointer-events: none;
} */

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

.hero-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);

	/* transition: all 15s;
	transform-origin: bottom left;
	transform: scale(1.2); */
}


.project-slider-item {
	width: 310px;
	padding-left: 10px;
	border-left: 1px solid var(--wp--preset--color--secondary);
}

.project-slider-item .project-slider-item__img {
	width: 300px;
	height: 225px;
	overflow: hidden;
}

.project-slider-item .project-slider-item__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);
	transition: all 0.5s;
}

.project-slider-item .project-slider-item__img img:hover {
	transform: scale(1.05);
}

.project-slider-item .project-slider-item__title {
	margin-bottom: 0px;
	margin-top: 0;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}

.project-slider-item .project-slider-item__title a {
	color: inherit;
	text-decoration: none;
}

.project-slider-item .project-slider-item__title a:hover {
	text-decoration: underline;
}

.project-slider-item .project-slider-item__text {
	margin-bottom: 0;
	font-size: 14px;
	line-height: 20px;
	color: var(--wp--preset--color--secondary);
}

.tags-list {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
}
.tags-list.tags-list--spacer {
	margin-top: 17px;
	/* margin-bottom: 14px; */
}
.tags-list .tags-list__item {
	flex-shrink: 0;
	margin: 0;
	margin-bottom: 15px;
	margin-right: 10px;
	padding: 0;
}

.tags-list .tags-list__item a {
	display: inline-block;
	padding: 5px 10px;
	font-size: 12px;
	color: inherit;
	text-decoration: none;
	border: 1px solid var(--wp--preset--color--contrast);
	transition: var(--transition-base);
}

.tags-list .tags-list__item a:hover {
	background-color: var(--wp--preset--color--primary);
}

.project-slider-navigations {
	display: flex;
	flex-wrap: wrap;
	margin: 30px 0;
}

.project-slider-navigations .project-slider-navigations__title {
	color: var(--wp--preset--color--secondary);
	width: 100%;
	margin-bottom: 10px;
}

.project-slider-navigations .project-slider-navigations__prev {
	margin-right: 10px;
}

.project-slider-navigations .project-slider-navigations__prev,
.project-slider-navigations .project-slider-navigations__next {
	margin-top: 0;
	transition: var(--transition-base);
}

.project-slider-navigations .project-slider-navigations__prev:hover,
.project-slider-navigations .project-slider-navigations__next:hover {
	filter: opacity(0.5);
}

/* WP Query Loop Projects Slider */
.swiper-projects .swiper-slide {
	width: 310px;
	margin-block-start: 0;
	padding-left: 10px;
	border-left: 1px solid var(--wp--preset--color--secondary);
}
.swiper-projects .swiper-slide .wp-block-post-featured-image {
	width: 300px;
	height: 225px;
	overflow: hidden;
}
.swiper-projects .swiper-slide .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);
	transition: all 0.5s;
}
.swiper-projects .swiper-slide .wp-block-post-featured-image img:hover {
	transform: scale(1.05);
}
.swiper-projects .swiper-slide .wp-block-post-title {
	margin-bottom: 0px;
	margin-top: 0;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}
.swiper-projects .swiper-slide .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}
.swiper-projects .swiper-slide .wp-block-post-title a:hover {
	text-decoration: underline;
}


.title-cl {
	width: calc(100% - 20px - 10px);
	height: 20px;
	position: relative;
	overflow: hidden;
}

.title-cl::before {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	left: 0;
	top: 0;
	background-color: var(--wp--preset--color--contrast);
	border-radius: 50%;
}

.title-cl::after {
	content: '';
	position: absolute;
	left: 30px;
	top: 10px;
	background-color: var(--wp--preset--color--secondary);
	width: 95%;
	height: 1px;
}

.title-cl.op-25::before {
	opacity: 25%;
}

.title-cl.op-50::before {
	opacity: 50%;
}

.title-cl.op-75::before {
	opacity: 75%;
}

.time-line-scroller {
	overflow-x: scroll;
}

.time-line-scroller::-webkit-scrollbar {
	height: 5px;
}

.time-line-scroller::-webkit-scrollbar-track {
	background: white;
	box-shadow: inset 0 0 1px 2px white;
}

.time-line-scroller::-webkit-scrollbar-thumb {
	background: var(--wp--preset--color--secondary);
}

.time-line-wrapper {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	padding-left: 50px;
	padding-bottom: 30px;
	width: fit-content;
}

.time-line-wrapper::after {
	content: '';
	position: absolute;
	top: 90px;
	left: 0;
	width: 100%;
	height: 1px;
	background-color: var(--wp--preset--color--contrast);
}

.time-line {
	position: relative;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: 210px;
	margin-right: 90px;
}

.time-line .time-line__ico {
	width: 54px;
	height: 64px;
	margin-bottom: 0;
}

.time-line .time-line__ico img {
	width: 100%;
	height: 100%;
}

.time-line .time-line__y {
	font-weight: 600;
	margin-top: 50px;
	margin-bottom: 10px;
}

.a-outline-grey {
	background-image: url(assets/images/vector-A-outline.svg);
	background-repeat: no-repeat;
	background-position: -20vw 50%;
	background-size: contain;
}
.a-filled-green {
	background-image: url(assets/images/vector-A-filled-green.svg);
	background-repeat: no-repeat;
	background-position: -20vw 50%;
	background-size: contain;
}

.h-line-white {
	position: relative;
}
.h-line-white::after {
	content: '';
	position: absolute;
	left: 12px;
	bottom: 0;
	width: calc(100% - 24px);
	height: 1px;
	background-color: var(--wp--preset--color--secondary);
}
.h-line-white-top {
	position: relative;
}
.h-line-white-top::after {
	content: '';
	position: absolute;
	left: 12px;
	top: 0;
	width: calc(100% - 24px);
	height: 1px;
	background-color: var(--wp--preset--color--secondary);
}

.title-separator {
	overflow: hidden;
	width: 100%;
	text-align: right;
	margin: 24px auto;
  }
  .title-separator > *:first-child {
	position: relative;
	display: inline-block;
	margin-left: auto;
	margin-bottom: 0;
	font-size: 16px;
	color: var(--wp--preset--color--secondary);
  }
  .title-separator > *:first-child::before {
	content: '';
	position: absolute;
	right: calc(100% + 20px);
	top: 10px;
	width: 200vw;
	height: 1px;
	background-color: var(--wp--preset--color--cool-grey);
  }

.gallery-project-aside {
	display: flex;
	flex-direction: column;
}
.gallery-project-aside > figure {
	width: 100%;
	height: 175px;
	margin-block-start: 16px;
}
.gallery-project-aside > figure:first-child {
	margin-block-start: 0;
}
.gallery-project-aside > figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gallery-project-main > figure {
	width: 100%;
	height: 365px;
}
.gallery-project-main > figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.swiper-partners .swiper-slide {
	display: flex;
	justify-content: center;
  }
  .swiper-partners .swiper-slide > img {
	max-width: 100px;
	height: auto;
  }
  .swiper-partners .swiper-pagination-bullet-active {
	--swiper-pagination-color: var(--wp--preset--color--contrast);
  }
  .swiper-partners .swiper-horizontal>.swiper-pagination-bullets, .swiper-partners .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-partners .swiper-pagination-fraction {
	bottom: 0px;
}

.card-link > figure {
	flex-shrink: 0;
}





/* App style */

.projects-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
  }
/* .projects-list .project-slider-item {
	margin-bottom: 90px;
} */
#root   .projects-list .project-slider-item {
	margin-bottom: 90px;   
}
  
  
.projects-list .tags-list .tags-list__item {
	flex-shrink: 0;
	margin: 0;
	margin-bottom: 15px;
	margin-right: 10px;
	padding: 0;
  
	display: inline-block;
	padding: 5px 10px;
	font-size: 12px;
	color: inherit;
	text-decoration: none;
	border: 1px solid var(--wp--preset--color--contrast);
	transition: var(--transition-base);
	cursor: pointer;
  }
.projects-list .tags-list .tags-list__item:hover {
	background-color: var(--wp--preset--color--primary);
}
.projects-filters {
	position: sticky;
	left: 0;
	top: 100px;
	z-index: 101;
}

.app-loading {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100vw;
	height: 100vh;
	width: 100svw;
	height: 100svh;
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.app-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.app-pagination .pagination-item {
	margin: 10px 5px;
	padding: 3px 10px;
	border: 1px solid #E2E5E4;
	cursor: pointer;
}

.app-pagination .pagination-item:hover {
	background-color: #E2E5E4;
}

.app-pagination .pagination-item.active {
	background-color: #c4d6d0;
}


.app-spinner {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 6px solid;
	border-color: #D3D3D3;
	border-right-color: #0b3327;
	animation: spinner-d3wgkg 1s infinite linear;
}
  
  @keyframes spinner-d3wgkg {
	to {
	   transform: rotate(1turn);
	}
  }
  
  .app-animated-background {
	animation-duration: 1.25s;
	animation-fill-mode: forwards;
	animation-iteration-count: infinite;
	animation-name: placeHolderShimmer;
	animation-timing-function: linear;
	background: darkgray;
	background: linear-gradient(to right, #E2E5E4 10%, #eeeeee 18%, #E2E5E4 33%);
	background-size: 800px 104px;
	height: 100px;
	position: relative;
  }
  
  @keyframes placeHolderShimmer{
	0%{
		background-position: -468px 0
	}
	100%{
		background-position: 468px 0
	}
  }

  #root {
	position: relative;
  }







  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
	
  /* Up Scale     */
  /* Large devices (PC, less than 1400px) */
  @media screen and (min-width: 1400px) {
  
	.hero-mask {
		width: 430px;
		height: 430px;
	}
	/* .hero-wrapper::before {
	  height: 130%;
	} */

	.gallery-project-aside > figure {
		height: 200px;
	}
	.gallery-project-main > figure {
		height: 416px;
	}

	.swiper-partners .swiper-slide > img {
		max-width: 120px;
	}
  
  }
  
  
  /* Down Scale     */
  /* Large devices (PC, less than 1200px) */
  @media screen and (max-width: 1200px) {
	
	/* .hero-mask {
	  height: 290px;
	} */

	.a-outline-grey {
		background-position: -30vw 50%;
	}
	.a-filled-green {
		background-position: -30vw 50%;
	}
  
  }
  
  
  /* Medium devices (tablets, less than 992px) */
  @media screen and (max-width: 991px) {
  
	.hero-mask {
		width: 330px;
		height: 330px;
	}
	/* .hero-wrapper::before {
	  height: 110%;
	} */
  
	.project-slider-navigations .project-slider-navigations__title {
	  display: none;
	}

	.a-outline-grey {
		background-position: -40vw 50%;
	}
	.a-filled-green {
		background-position: -40vw 50%;
	}

	.gallery-project-aside {
		flex-direction: row;
		gap: 16px;
	}
	.gallery-project-aside > figure {
		width: auto;
		height: 170px;
		margin-top: 16px !important;
	}
	
	.gallery-project-main {
		order: -1;
	}
	
	.gallery-project-main > figure {
		height: auto;
	}
  
	
  
  
	/* Change the WordPress default css to a 992px media query */
	.wp-block-navigation__responsive-container-open:not(.always-shown) {
	  display: flex;
	}
  
	.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	  display: none;
	}
  
	/* Animation Mobile Menu */
	.wp-block-navigation__responsive-container.is-menu-open {
	  display: flex;
	  flex-direction: column;
	  background-color: inherit;
	  animation-duration: .25s;

	  padding: 20px;
	}
  
	.wp-block-navigation-item__content {
	  font-size: 16px;
	  font-weight: 600;
	  letter-spacing: 1.5px;
	}
  
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	  align-items: flex-start;
	}
  
	.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
	  align-items: flex-start;
	}


	/* need to show A symbol */
	.wp-block-navigation__responsive-container {
		overflow: hidden !important;
	}
	/* .wp-block-navigation__responsive-dialog::after {
		content: '';
		position: absolute;
		top: 100%;
		left: -40%;
		width: 230%;
		height: 230%;
		background-image: url('assets/images/vector-A-outline-white.svg');
		background-repeat: no-repeat;
		background-position: center;
		opacity: 0.2;
	} */
	.wp-block-navigation__responsive-container::after {
		content: '';
		position: absolute;
		top: 0%;
		right: -15%;
		width: 150%;
		max-width: 700px;
		height: 100%;
		background-image: url('assets/images/vector-A-outline-white.svg');
		background-repeat: no-repeat;
		background-position: bottom;
		background-size: contain;
		opacity: 0.2;
	}
  
  
  }
  
  
  
  /* Small devices (landscape phones, less than 768px) */
  @media screen and (max-width: 767px) {
  
	.h-space-inner {
	  padding: 75px 0;
	}
  
	/* .hero-mask {
	  height: 230px;
	}
	.hero-wrapper::before {
	  content: none;
	} */
  
	.project-slider-item {
	  margin: auto;
	}
	.project-slider-navigations {
	  margin: 30px auto;
	}

	.a-outline-grey {
		background-image: none;
	}
	.a-filled-green {
		background-image: none;
	}

	.gallery-project-aside > figure {
		width: auto;
		height: 150px;
	}

	.swiper-partners .swiper-slide > img {
		max-width: 100px;
		height: auto;
	  }
  
  
  }
  
  
  /* Extra small devices (portrait phones, less than 576px) */
  @media screen and (max-width: 575px) {

	.wp-block-navigation__responsive-container::after {
		right: -50%;
		width: 150%;
	}
  
	.spaser-responsive {
		  height: 70px !important;
	  }
  
	/* Site Logo */
	.wp-block-site-logo img {
	  width: 90px;
	}

	.hero-front-wrapper {
		/* min-height: 500px !important; */
		min-height: calc(100svh - 72px) !important;
	}
	.hero-front-wrapper .hero-front {
		/* min-height: 500px !important; */
		min-height: calc(100svh - 72px) !important;
	}
  
	.hero-mask {
		width: 300px;
		height: 300px;
	}
  
	.swiper-projects .swiper-slide {
		width: 310px;
		margin-block-start: 0;
		padding-left: 10px;
		border-left: 0;
	}

	.gallery-project-aside > figure {
		width: auto;
		height: 120px;
	}

	.swiper-partners .swiper-slide > img {
		max-width: 85px;
		height: auto;
	}
  
  
  }
  
  
  @media screen and (max-width: 320px) {}
  
