/*
Theme Name: AQA
Description:  official website
Author: Farzin Mojaver
Author URI: https://www.linkedin.com/in/farzin-mojaver-a687871a7/
Version: 1.0
*/
@font-face {
    font-family: sen;
    font-style: normal;
    font-weight: normal;
    src: url('fonts/Sen-Regular.ttf') format('truetype');	 
}
@font-face { 
    font-family: sen;
    font-style: normal;
    font-weight: bold;
    src: url('fonts/Sen-Bold.ttf') format('truetype');	 
}
@font-face {
    font-family: bauh;
    font-style: normal;
    font-weight: bold;
    src: url('fonts/BAUHS93.ttf') format('truetype');	 
}

/***************************************************
				General
***************************************************/
html {
    background: #fff;
}
html.invert {
    filter: invert(1);
}
body {
    width: 100%;
	padding:0;
	margin:0;
	-webkit-font-smoothing: antialiased;
    font-family: 'sen', sans-serif;
	font-size:16px;
	-webkit-text-size-adjust: 100%;
	background:#fff !important;
    scroll-behavior: smooth;
	color: #000000;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    background: #fff;
    display: inline-block;
}
* {
    outline: none;
}
*::after,
*::before {
	box-sizing: border-box;
}
ul {
	margin:0;
	padding:0;
}
li {
	list-style:none;
    color: #000;
}
a {
    font-family: 'sen', sans-serif;
    font-size:16px;
    color:#000;
}
a:link {
	text-decoration: none;
    color:#000000;
}
a:visited {
	text-decoration: none;
    color:#000000;
}
a:focus,
a:hover {
	text-decoration: none;
    color:#000000;
}
a:active {
	text-decoration: none;
    color:#000000;
}
a[href^=tel]{
	color:inherit;
	text-decoration:none;
}
img {
    width: 100%;
    height: auto;
}
input, textarea{
    font-family: 'sen', sans-serif;
    font-size:1em;
}
textarea {
	resize:none !important;
}
textarea:focus, input:focus{
	outline: 0;
    font-family: 'sen', sans-serif;
}
::-webkit-input-placeholder {
	color: #000000;
    font-family: 'sen', sans-serif;
}
:-moz-placeholder { /* Firefox 18- */
	color: #000000;
    font-family: 'sen', sans-serif;
}
::-moz-placeholder {/* Firefox 19+ */
	color: #000000;
    font-family: 'sen', sans-serif;
}
:-ms-input-placeholder {
	color: #000000;
    font-family: 'sen', sans-serif;
}
figure {
    margin: 0;
}
img {
	border:0;
	border:none;
    outline: none;
}
figure img {
	width: 100%;
    height: auto;
}
span,
p {
    font-family: 'sen', sans-serif;
    font-size:1.2vw;
    color: #000000;
}
p {
    margin-top: 0;
}
span {
    font-family: 'sen', sans-serif;
    font-size:16px;
}
iframe {
	border:none;
}
.clear{
	clear:both;
}


/***************************************************
				header
***************************************************/
header {
    width: -moz-calc(100% - 80px);
    width: -webkit-calc(100% - 80px);
    width: -o-calc(100% - 80px);
    width: calc(100% - 80px);
    height: 90px;
    position: fixed;
	z-index:5;
    top:0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px 40px 10px 40px;
	background:#fff;
}
#logo {
    display: block;
    position: relative;
    z-index: 99;
    cursor: pointer;
    text-align: center;
    cursor: pointer;
	background:#fff;
}
#logo svg {
	width:auto;
	height:70px;
}

header nav {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
	transition:all .3s ease;
}
header nav a  {;
    display: block;
    transition: all .3s ease;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 20px;
	line-height: .9;
	margin-left:20px;
}
header nav li.cur a,
header nav a:focus,
header nav a:hover {
    color:#00B2B7;
}
#burger {
	width:24px;
	height:20px;
	display:none;
	justify-content:center;
	align-items:center;
	position:relative;
	position:fixed;
	top:20px;
	right:20px;
	z-index:6;
}
#burger span {
	width:24px;
	height:2px;
	background:#000;
    transition: all .3s ease;
}
#burger span:nth-child(1) {
	position:absolute;
	top:0;
}
#burger span:nth-child(3) {
	position:absolute;
	bottom:0;
}
#burger.actv span:nth-child(2) {
	transform:translatey(-9px);
}
#burger.actv span:nth-child(3) {
	transform:translatey(-19px);
}
.nav-overlay {
    width: -moz-calc(100% - 40px);
    width: -webkit-calc(100% - 40px);
    width: -o-calc(100% - 40px);
    width: calc(100% - 40px);
    height: -moz-calc(100% - 160px);
    height: -webkit-calc(100% - 160px);
    height: -o-calc(100% - 160px);
    height: calc(100% - 160px);
	padding:140px 20px 20px 20px;
	position:fixed;
	top:0;
	left:0;
	z-index:4;
	background:#fff;
	transform:translatey(-400%);
	transition:all .3s ease;
	display:flex;
	align-items:flex-end;
}
.nav-overlay.actv {
	transform:translatey(0%);
}
.nav-overlay ul {
	display:flex;
	flex-direction:column;
}
.nav-overlay ul li {
	margin-top:10px;	
}
.nav-overlay ul li a {
    transition: all .3s ease;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 20px;
	line-height: .9;
}
.nav-overlay ul li.cur a,
.nav-overlay ul a:focus,
.nav-overlay ul a:hover {
    color:#00B2B7;
}
/***************************************************
				home header
***************************************************/
.home-header {
    width: -moz-calc(100% - 80px);
    width: -webkit-calc(100% - 80px);
    width: -o-calc(100% - 80px);
    width: calc(100% - 80px);
	height:100px;
	display:flex;
	justify-content:space-between;
	align-items:flex-end;
	margin:10px auto;
}
.logo-text {
    display: block;
    display: block;
    transition: all .3s ease;
    font-size: 8.9px;
	margin:10px auto 0px auto;
	text-transform:uppercase;
}
.home-header ul {
	justify-content:center;
	align-items:center;
}
.home-header ul li {
	margin:0 0 0 20px;
}
.home-header ul li a{
    display: block;
    transition: all .3s ease;
    font-size: 20px;
	line-height: .9;
    text-transform: uppercase;
    cursor: pointer;
}
.home-header ul li a:focus,
.home-header ul li a:hover {
	color:#00B2B7;
}

.nav-overlay .home-en-nav,
.nav-overlay .home-fr-nav,
.home-en-nav,
.home-fr-nav {
	display:none;
}
.nav-overlay .home-en-nav.actv,
.nav-overlay .home-fr-nav.actv,
.home-en-nav.actv,
.home-fr-nav.actv {
	display:flex;
}
/***************************************************
				main
***************************************************/
main {
    width: -moz-calc(100% - 80px);
    width: -webkit-calc(100% - 80px);
    width: -o-calc(100% - 80px);
    width: calc(100% - 80px);
    min-height: -moz-calc(100vh - 100px);
    min-height: -webkit-calc(100vh - 100px);
    min-height: -o-calc(100vh - 100px);
    min-height: calc(100vh - 100px);
    margin: 140px auto 20px auto;
}
/***************************************************
				Home
***************************************************/
main.home  {
    width: -moz-calc(100% - 80px);
    width: -webkit-calc(100% - 80px);
    width: -o-calc(100% - 80px);
    width: calc(100% - 80px);
    min-height: -moz-calc(100% - 140px);
    min-height: -webkit-calc(100% - 140px);
    min-height: -o-calc(100% - 140px);
    min-height: calc(100% - 140px);
    margin: 0px auto 20px auto;
}
main.home .slide {
   	height: -moz-calc(100vh - 140px);
    height: -webkit-calc(100vh - 140px);
    height: -o-calc(100vh - 140px);
    height: calc(100vh - 140px);
    background-size: cover;
	background-position:center;
	background-repeat:no-repeat;
}
.mobile-slider {
	display:none;
}
main.home .mobile-slider .slide {
   	height: -moz-calc(100dvh - 140px) !important;
    height: -webkit-calc(100dvh - 140px) !important;
    height: -o-calc(100dvh - 140px) !important;
    height: calc(100dvh - 140px) !important;
    background-size: cover;
	background-position:center;
}
.lang {
	width: -moz-calc(100% - 80px);
    width: -webkit-calc(100% - 80px);
    width: -o-calc(100% - 80px);
    width: calc(100% - 80px);
	max-width:200px;
	display:flex;
	flex-direction:column;
	background:#fff;
	padding:20px;
	position:fixed;
	bottom:40px;
	right:60px;
	border-radius:20px;
	z-index:3;
	display:none;
}
.lang p {
	text-align:center;
}
.lang ul {
	display:flex;
	justify-content:space-between;
}
.lang ul li {
	margin:0 15px;
}
.lang ul li a,
.lang ul li {
    font-family: 'bauh', sans-serif;
    display: block;
    transition: all .3s ease;
    font-size: 1.6vw;
    line-height: .9;
    text-transform: uppercase;
    cursor: pointer;
}
.lang ul li a:focus,
.lang ul li a:hover,
.lang ul li:focus,
.lang ul li:hover {
	color:#00B2B7;
}
/***************************************************
				profile
***************************************************/
main.about {
	height:unset;
	position:relative;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.profile-info p {
    margin-top: 20px;
    margin-bottom: 0;
}
.profile-img {
    width: -moz-calc(50% - 20px);
    width: -webkit-calc(50% - 20px);
    width: -o-calc(50% - 20px);
    width: calc(50% - 20px);
	position:sticky;
	top:120px;
	right:0;
}
.profile-img { 
	max-width:300px;
}
.profile-info {
    width: -moz-calc(50% - 20px);
    width: -webkit-calc(50% - 20px);
    width: -o-calc(50% - 20px);
    width: calc(50% - 20px);
}
.profile-info img {
    max-width: 140px;
	margin-top:20px;
}
/***************************************************
				contact
***************************************************/
main.contact {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
	flex-wrap:wrap;
   	height: -moz-calc(100% - 100px);
    height: -webkit-calc(100% - 100px);
    height: -o-calc(100% - 100px);
    height: calc(100% - 100px);
	min-height:inherit;
	position:fixed;
	top:80px;
	left:40px;
	margin:0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.contact-form-wrap {
    flex: 0 0 calc(50% - 20px);
}
.contact-form-wrap textarea,
.contact-form-wrap input {
    border: none !important;
    border-bottom: 2px solid #000 !important;
    border-radius: 0 !important;
	transition:all .3s ease !important;
	padding:3px 0!important;
}
.contact-form-wrap textarea:focus,
.contact-form-wrap input:focus {
	color:#00B2B7 !important;
    border: none !important;
    border-bottom: 2px solid #00B2B7 !important;
}
.contact-form-wrap textarea.wpforms-error,
.contact-form-wrap input.wpforms-error {
    border: none !important;
    border-bottom: 2px solid #D63637 !important;
}
.contact-form-wrap textarea.wpforms-error:focus,
.contact-form-wrap input.wpforms-error:focus {
    border: none !important;
    border-bottom: 2px solid #D63637 !important;
}
.wpforms-submit {
    border: none !important;
    border-radius: 0 !important;
	background:#00B2B7 !important;
}
.wpforms-label-hide {
	width:0 !important;
	height:0 !important;
	overflow:hidden !important;
	display:none !important;
	visibility:hidden !important;
}
.contact-info {
    flex: 0 0 calc(50% - 20px);
    display: flex;
	flex-direction:column;
    justify-content: flex-end;
    align-items: flex-end;
}
.contact-info p {
    width: 100%;
    text-align: right;
	margin-bottom:0;
	margin-top:20px;
}
.contact-info p a {
	transition:all .3s ease;
}
.contact-info p a:hover {
	color:#00B2B7;
}
/***************************************************
				projects
***************************************************/
.projects-wrap {
	display:flex;
	flex-direction:row-reverse;
	justify-content:space-between;
    align-items: flex-start;
}
.filter {
    width: 250px;
    display: flex;
    justify-content: flex-end;
	position:sticky;
	top:140px;
	right:0;
}
#thumbnail,
#list span {
    transition: all .3s ease;
    font-size: 20px;
    display: none;
    text-transform: uppercase;
    cursor: pointer;
}
#list span {
	display:block;
	margin-bottom:20px;
}
#list,
#thumbnail {
    display: none;
}
#list li {
	margin-top:5px;
	text-transform:capitalize;
	cursor:pointer;
}
#list li:focus,
#list li:hover,
#list li.actv {
	color:#00B2B7;
}
#list span.no-hover {
	display:block;
	margin-bottom:10px;
	font-size:16px;
	font-weight:bold;
	cursor:default;
}

#thumbnail.actv,
#list.actv{
	display:flex;
	flex-direction:column;
	align-items:flex-end;
}
.project-in {
	width: -moz-calc(100% - 250px);
    width: -webkit-calc(100% - 250px);
    width: -o-calc(100% - 250px);
    width: calc(100% - 250px);
    margin:0;
	float:left;
}
.projects-thumb {
	display:none;
	flex-wrap:wrap;
	justify-content:flex-start
	float:left;
}
.projects-thumb li,
.projects-thumb a {
	flex: 0 0 calc(33.33% - 20px);
	margin-right:20px;
	margin-bottom:20px;
	aspect-ratio:1;
}
.projects-thumb a {
	transition: transform 0.3s ease;
	opacity: 0;
	transform: scale(0.1);
	transition: transform 0.3s ease, opacity 0.3s ease;
	overflow:hidden;
}
.projects-thumb a img {
	width:100%;
	height:100%;
	object-fit:cover;
}
.projects-thumb a label {
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	background:rgba(255, 255, 255, 0.85);
	opacity:0;
	transition:all .3s ease;
	display:flex;
	justify-content:center;
	align-items:center;
	font-size:18px;
	cursor:pointer;
	text-transform:uppercase;
	text-align:center;
}
.projects-thumb a:focus label,
.projects-thumb a:hover label {
	opacity:1;
}
.projects-list {
	width:100%;
	display:none;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
	margin:0 auto 40px auto;
	float:left;
}
.cat-list {
	width:100%;
	position:relative;
}
.projects-list label {
	display:block;
	margin-bottom:20px;
	font-weight:bold;
	text-align:left;
	font-size:18px;
	color:#00B2B7;
	text-transform:uppercase;
}
.projects-list ul {
	width:100%;
	margin-bottom:40px;
    display: flex;
    flex-direction: column;
}
.projects-list ul .catz-image {
	position:absolute;
	top:50%;
	left:340px;
	width:200px;
	transform:translatey(-50%);
	aspect-ratio:1;
	overflow:hidden;
	display:none;
}
.projects-list ul .catz-image  img {
	width:100%;
	height:100%;
	object-fit:cover;
}
.projects-list ul li {
	width:fit-content;
}
.projects-list ul li a {
	width:fit-content;
	display:block;
	font-size:18px;
	clear:both;
	margin-bottom:5px;
	position:relative;
	float:left;
}
.projects-list ul li a:focus,
.projects-list ul li a:hover {
	color:#00B2B7;
}
.projects-list.actv {
	display:grid;
}
.projects-thumb.actv {
	display:flex;
}
.zoom {
	transform: scale(1) !important;
}
/***************************************************
				404
***************************************************/
.is_404 p span,
.is_404 p {
    font-family: 'bauh', sans-serif;
    transition: all .3s ease;
    font-size: 4vw;
	line-height: 1;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.is_404 p span {
    color:#00B2B7;
}
/***************************************************
				single
***************************************************/
.single-wrap {
	width: -moz-calc(100% - 320px);
    width: -webkit-calc(100% - 320px);
    width: -o-calc(100% - 320px);
    width: calc(100% - 320px);
	margin:0 auto;
}
.single-wrap h1 {
	display:block;
	text-align:center;
	font-size:22px;
}
.has-small-font-size {    
	font-family: 'sen', sans-serif;
    font-size: 1.2vw !important;
}
/***************************************************
				landscape
***************************************************/
.landscape {
	width:100%;
	height:100vh;
	position:fixed;
	top:0;
	right:0;
	z-index:999999;
	display:none;
	justify-content:center;
	align-items:center;
	background:#fff;
}
.landscape-in {
	text-align:center;
}
.landscape-in p {
    margin: 20px 0 0 0;
}
.landscape svg {
	width:60px;
	height:auto;
}


@media (max-width: 1200px) {
    span, 
    p span,
    p {
        font-family: 'sen', sans-serif;
        font-size: 16px;
    }
	.has-small-font-size {    
	    font-size: 16px !important;
	}
	.lang ul li a, .lang ul li,
	#thumbnail, 
	#list,
    header nav a {
        font-size: 20px;
    }
	.single-wrap,
	.projects-thumb {
		width: 100%;
	}
}
@media (max-width: 1000px) {
	header,
	main.contact,
	main,
	main.home,
	.home-header {
		width: -moz-calc(100% - 40px);
		width: -webkit-calc(100% - 40px);
		width: -o-calc(100% - 40px);
		width: calc(100% - 40px);
	}
	header {
		padding:20px 20px 10px 20px;
	}
	main.contact {
		left:20px;
	}
	.lang {
		right:40px;
	}
    .profile-img {
        flex: 0 0 calc(30% - 20px);
    }
    .profile-info {
        flex: 0 0 calc(70% - 20px);
    }
	.projects-list ul .catz-image {
		width:0 !important;
		height:0 !important;
		visibility:hidden !important;
		opacity:0 !important;
		overflow:hidden !important;
			
	}
}
@media (max-width: 860px) {
	.projects-thumb a {
    	flex: 0 0 calc(50% - 20px);
	}
}
@media (max-width: 768px) {
    .profile-wrap {  
        flex-direction: column;
    }
    .profile-img {
        margin-top: 20px; 
        margin-bottom: 20px; 
    }
	.mobile-slider {
		display:block;
	}
	.desktop-slider {
		display:none;
	}
	.projects-thumb {
	    grid-template-columns: repeat(2, 1fr);
	}
	.projects-list {
		max-width:unset;
		margin:0 auto;
	    grid-template-columns: repeat(1, 1fr);
	}
	
	.projects-wrap {
		flex-direction: column;
	}
	.filter {
		width:100%;
		position:relative;
		top:unset;
		right: unset;
	}
	.project-in,
	.projects-list {
		width:100%;
	}
	
    .projects-thumb a {
        flex: 0 0 calc(50% - 10px);
		margin: 0 0 20px 0;
    }
	.projects-thumb a:nth-child(odd) {
		margin: 0 20px 20px 0;
	}
	.projects-list label {
		text-align: right;
	}
	.projects-list ul {
		align-items: flex-end;
	}
		
}
@media (max-width: 640px) {
	main {
		margin:120px auto 60px auto
	}
	.fancybox-bg {
		background: #fff !important;
		opacity: 1!important;
	}	 
	.single-wrap .wp-block-image {
		flex: 0 0 100%;
	}
	main.contact {
		height: -moz-calc(100dvh - 100px);
		height: -webkit-calc(100dvh - 100px);
		height: -o-calc(100dvh - 100px);
		height: calc(100dvh - 100px);
	}
	.projects-list {
		flex-direction:column;
	}
	.projects-list .cat-list:first-child ul li a {
		float:none;
	}
	.projects-list .cat-list:last-child li a {
		float:none;
	}
	main.about {
		flex-direction:column;
	}
	.profile-info,
	.profile-img {
		width: 100%;
		position:relative;
		top:unset;
		right:unset;
		max-width:unset;
	}
}
@media (max-width: 640px) {
	.projects-thumb {
	    grid-template-columns: repeat(1, 1fr);
	}
	.home-header .home-en-nav.actv,
	.home-header .home-fr-nav.actv,
	header nav {
		display:none !important;
	}
	.lang {
        right: 50%;
        transform: translateX(50%);
    }
	main.contact {
		height:auto;
		flex-direction: column-reverse;
		position:relative;
		margin:100px auto 20px auto;
		left:unset;
		bottom:unset;
	}
	.contact-form-wrap,
	.contact-info {
		width:100%;
		flex: 0 0 100% !important;
	}
	#burger {
		display:flex;
	}
	.contact-info p {
		text-align:left;
	}
}
@media only screen and (max-device-width: 680px) and (orientation: landscape) {
	.landscape {
		display:flex;
	}
}

.fancybox-bg,
.fancybox-container--ready .fancybox-bg {
	background:#fff;
	opacity:1;
}
.fancybox-button:focus,
.fancybox-button:hover,
.fancybox-button,
.fancybox-infobar__body {
	background:transparent;
}
.fancybox-button {
	filter:invert(1);
}
.dark-fancybox .fancybox-button--fullscreen,
.fancybox-button--play,
.fancybox-button--thumbs {
    display: none !important;
}
.fancybox-caption-wrap {
	padding:0 20px;
	background:transparent;
}
.fancybox-caption {
    padding: 10px 0 !important;
    font-family: 'Myriad', sans-serif;
	border:none;
	color:#000;
	text-align:center;
}