/*
	Theme Name: Adia Wahid v2
	Theme URI: http://adiawahid.com
	Description: HTML5 Blank WordPress Theme
	Version: 2 (01102024-3)
	Author: Adcore
	Author URI: adcoreproductions.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: 'Futura', sans-serif !important;
	color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    zoom: 1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#000 !important;
}
a:hover {
	/* color:#ccc !important; */
	text-decoration: none !important;
}
a:focus {
	outline:none !important;
}
a:hover,
a:active {
	outline:none !important;
}
input:focus {
	outline:none !important;
}
p{
	margin-top:-4px !important;
	margin-bottom: 1.5rem !important;
}
.slick-lightbox-slick-item {
    text-align: center;
    overflow: auto !important;
}

.slick-lightbox-close:before {
    font-size: 24px !important;
    color: black !important;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	/* max-width:1280px;
	width:92%; */
	margin:0 auto;
	position:relative;
}
/* header */
.header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 30px 48px;
	background-color: white;
}

/* Make the header background transparent for the home page */
.page-template-template-home > .wrapper > .header {
	background-color: unset !important;
}

.top-margin{
	margin-top: 30px;
	/* margin-bottom: 40px; */
}
/* logo */
.logo {
	margin-left: 250px;
	flex-grow: 1;
	flex-shrink: 1;
}
.logo-img {
	display: flex;
	justify-content: center;
}
/* nav */
.nav {
	& > .nav-item:not(:last-child) {
		margin-right: 48px;
	}
}
.nav-item{
	font-size: 15px;
	font-weight: 400;
	line-height: 21px;
	letter-spacing: 0.04em;

	color: #000000;
	cursor: pointer;

	-webkit-user-select: none; /* Safari */
	-ms-user-select: none; /* IE 10 and IE 11 */
	user-select: none; /* Standard syntax */

	&:hover {
		text-decoration: underline;
		text-underline-offset: 5px;
	}
}
.content_pages{
	padding-bottom: 50px;
}
.current-menu-item a, .current_page_item a, .current-page-ancestor a{
	font-weight: bold !important;
	color: 000 !important;
}
/* sidebar */
.sidebar {

}
/* footer */
.footer {
}

.imageLoader{
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    z-index:90;
    background:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
}


/*------------------------------------*\
    PAGES
\*------------------------------------*/

.painting_desc p{
	margin-bottom: 10px !important;
	margin-top:2px !important;
}
.painting_desc{
    width:70%;
    float:left;
}
.painting_arrows{
    float:left;
    clear:both;
    margin-top:5px;
}
.caption-wrapper{
    position:relative;
}

.arrows_wrapper{
    position:absolute;
    top:0;
}

.next-arrow,.prev-arrow{
    float:right;
    width:auto !important;
    height:12px !important; 
    cursor:pointer;
}
.next-arrow{
    margin:0 0 0 20px;
}

.next-arrow img,.prev-arrow img{
    width:auto !important;
    height:12px !important; 
}
.painting_image{
	width: 100vw;
	height: 100vh;
}

.slide-wrapper{
    position:relative;
    width:auto;
}

.slick-slide {
    outline: none !important;
}

/*.slick-slide {
    height:380px;
}

.slick-slide img {
   height: 380px;
}*/

.painting_image img{
	width: 100%;
	height: 100%;
}

.custom_slider_article{
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter:alpha(opacity=0);
    -moz-opacity:0;
    -khtml-opacity: 0;
    opacity:0;
    transition: all 1s ease-in-out;
}

.showArticle{
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=1000)" !important;
    filter:alpha(opacity=100) !important;
    -moz-opacity:1 !important;
    -khtml-opacity: 1 !important;
    opacity:1 !important;
    
    transition: all 1s ease-in-out;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family: 'Futura';
	src:url('fonts/futura-book-font.ttf');
	src:url('fonts/futura-book-font.ttf') format('truetype'),
    font-weight: 400;
    font-style: normal;
}

@font-face {
	font-family: 'Futura';
	src:url('fonts/futura-medium-font.ttf');
	src:url('fonts/futura-medium-font.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}

.burger-menu{
    display:none;
}

.header{
	z-index: 99;
	position: fixed;
	width: 100%;
}
#navigation{
	display:block;
}

.sub-pages-list{
    
}
.img-exhibition{
    margin-bottom:20px !important;
}

#mobilemenu {
	display: block !important;
	overflow: hidden; /* Hide the element content, while height = 0 */
    height: 0;
    opacity: 0;
    transition: height 0ms 400ms, opacity 400ms 0ms;
	position: absolute;
	z-index: 1;
	width: 100%;
	background-color: white;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 99;
	padding: 0;
}

#mobilemenu.visible {
    height: unset; /* any measurable value, not "auto" */
	padding: 72px 0 0 0;
    opacity: 1;
    transition: height 0ms 0ms, opacity 400ms 0ms;
}

@media only screen and (max-width:768px) {
    
    body,p{
        font-size:14px !important;
    }
    
    #navigation{
        display:none;
    }
    #mobilemenu{
        display:block;
    }
    .header{
    }
    .logo{
        float:left;
        width:70%;
    }
    .logo-img{
        width:100%;
    }
    .burger-menu{
        display:block;
        float:right;
        cursor:pointer;
    }
    .burger-menu-img{
        width: 20px;
    }
    .image-exhibition{
        margin-bottom:20px;
    }
    .mobilemenu-nav ul{
        list-style:none;
        margin:0 !important;
        padding:0 !important;
    }
    .mobilemenu-nav ul li a{
        padding:15px 0;
        display:block;
        border-bottom:1px solid #dfdfdf;
        font-size:14px;
    }
    .sub-pages-list ul li a{
        padding:10px 0;
        display:block;
    }
    .sub-pages-list{
         margin-bottom:30px;
         font-size:14px;
         margin-left:24px;
    }
    .writeup a{
        float:left;
        clear:both;
        margin:0px 0 10px 0;
    }
    .img-exhibition{
        margin-bottom:60px !important;
    }
}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

/*------------------------------------*\
    KAVINDA CUSTOM STYLES
\*------------------------------------*/
.project-categories {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 55px) repeat(3, 1fr);
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	text-transform: uppercase;
	position: absolute;
    width: 100%;
    bottom: 0;
}

.project-category {
	background-color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #010101;
	font-size: 15px;
	letter-spacing: 0.266667em;
	line-height: 1.2em;
	font-weight: 400;
	cursor: pointer;
	text-align: center;
	height: 100%;
}

#project-category-1 { grid-area: 1 / 1 / 2 / 2; background-color: #C4CFCD; }
#project-category-2 { grid-area: 1 / 2 / 2 / 3; background-color: #FAD0C6; }
#project-category-3 { grid-area: 1 / 3 / 2 / 4; background-color: #FFFFFF;}
#project-category-4 { grid-area: 2 / 1 / 3 / 2; background-color: #FFFFFF;}
#project-category-5 { grid-area: 2 / 2 / 3 / 3; background-color: #A3848C; }
#project-category-6 { grid-area: 2 / 3 / 3 / 4; background-color: #FAD0C6; }

.home-wrapper-row {
	margin: 0 !important;
}

.full-page-col {
	padding: 0 !important;
}

.nav-dropdown {
	overflow: hidden;
}

.nav-dropdown-content-before {
		height: 12px;
}

.nav-dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	padding: 15px 20px;
	right: 220px;
}

.nav-dropdown-content {
	& > a {
		font-size: 12.75px;
		font-weight: 400;
		line-height: 19.125px;
		letter-spacing: 1px;
		padding: 5px 0;

		&:hover {
			text-decoration: underline !important;
			text-underline-offset: 5px;
		}
	}
}

.nav-dropdown:hover .nav-dropdown-content {
	display: flex;
	flex-direction: column;
}

.nav-sub-item_underline {
	text-decoration: underline;
	text-underline-offset: 5px;
}

/* Highlight the current nav item */

.page-template-template-works-php > .wrapper > .header > .nav > .nav-item:nth-child(1) {
	text-decoration: underline;
	text-underline-offset: 5px;
}

.page-template-template-cv-php > .wrapper > .header > .nav > .nav-item:nth-child(2) {
	text-decoration: underline;
	text-underline-offset: 5px;
}


.page-template-template-contact-php > .wrapper > .header > .nav > .nav-item:nth-child(3) {
	text-decoration: underline;
	text-underline-offset: 5px;
}

/** Custom slider **/
/* SLIDER */
.custom_slider_article {
	height: 100vh;
	display: flex;
	align-items: center;
}

.custom_slider_parent {
	margin: 44px 100px 0 100px;
  overflow-x: hidden;
}

.custom_slider {
	width: 100% !important;
  height: 60rem !important;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  overflow-x: hidden;

	& > .slide:not(:first-child) {
		margin-right: 20px;
	}
}

.slide {
  position: absolute;
  top: 0;
  height: 50rem;
  flex: 1 0 21%;
  /*creates the animation */
 	transition: transform 1s;
 	padding: 32px 24px;
	background-color: #F2F2F2;
}

.slide > a > img {
  /* Only for images that have different size than slide */
  /* width: 320px; */
  height: 440px !important;
  /* box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4); */
}

.slider__btn {
  position: absolute;
  top: 50%;
  z-index: 10;

  border: none;
  background: transparent;
  font-family: inherit;
  color: #333;
  height: 5.5rem;
  width: 5.5rem;
  font-size: 3.25rem;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
	-webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */

	&:hover {
		background-color: #CCCCCC;
		padding: 16px;
	}
}

.slider__btn--left {
  left: 48px;
  transform: translate(-50%, -50%);
}

.slider__btn--right {
  right: 48px;
  transform: translate(50%, -50%);
}

.slide__content {
	margin-top: 48px;
	margin-left: -24px;

	& > p {
		margin-bottom: 8px !important;
		color: #8E8E93;
		font-size: 10px;

		& > strong {
			color: #48484A;
			font-size: 12px;
		}
	}
}

/* Custom Lightbox */

.slick-lightbox {
	background: rgba(70, 68, 66, .9) !important;
}

.slick-lightbox-slick-item-inner {
	padding: 48px;
	background-color: #FFFFFF;
}

.slick-lightbox-slick-img {
	height: calc(100vh - 120px) !important;
	max-width: unset !important;
}

.slick-lightbox-close:before {
	height: 48px !important;
	width: 48px !important;
	display: flex;
	top: 18px;
	right: 18px;
	position: absolute;
	align-items: center;
	justify-content: center;
	color: white !important;
	background-color: rgba(0, 0, 0, 0.67);
	font-size: 32px !important;
	font-family: 'Futura' !important;
}

.home-wrapper-row {
	overflow: hidden;
}

.logo-text {
	font-weight: 700;
	font-size: 32px;
	line-height: 43px;
	letter-spacing: 0.24em;
	color: #010101;
}

/* CV page styles */
.cv {
	margin-top: calc(44px + 112px); /* Heading margin (44) */
	padding-left: 156px;
	
	& strong {
		/* display: block; */
		font-weight: 700;
		font-size: 16px;
		letter-spacing: 0.32px;
		color: #000000;
		line-height: 64px;
	}

	& p {
		font-size: 14px;
		line-height: 30px;
		letter-spacing: 0.48px;
		color: #000000;
	}
}

/* Contact page styles */
.contact-page {
	margin-top: calc(44px + 122px); /* Heading margin (44) */
	padding-left: 156px;
	
	& p {
		font-weight: 400;
		font-size: 14px;
		line-height: 30px;
		letter-spacing: 0.48px;
		color: #000000;
	}
}

/** LIGHTBOX MARKUP **/

.lightbox {
  /* Default to hidden */
  display: none;

  /* Overlay entire screen */
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  /* Translucent background */
  background: rgba(70, 68, 66, 0.9);
}

/* Unhide the lightbox when it's the target */
.lightbox:target {
	display: flex;
	/* align-items: flex-end; */
	justify-content: center;
}

.lightbox img {
  /* Full width and height */
  display: block;
  /* height: 100%; */
  max-width: 80vw;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  align-self: center;

  /* Size and position background image */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

  padding: 36px 48px;
  background-color: #F2F2F2;
  margin-left: 95px; /* Margin to keep image in center with description */
}

.lightbox-content-wrapper {
	color: #AEAEB2;
	margin-bottom: 32px;
	margin-left: 16px;
	font-size: 12px;
	align-self: end;

	& > p {
		margin-bottom: 6px !important;
	}

	& > p > strong {
		color: white;
	}
}

.lightbox-close-btn {
	position: absolute;
	top: 18px;
	right: 16px;

	&:hover {
		background-color: #2f2f30;
	}
}

.lightbox__btn-left {
	left: 1.6rem;
	background-color: #FFFFFF80;
	width: 4.8rem;
	height: 4.8rem;
	/* transform: translate(-50%, calc(-50% - 60px)); */
}

.lightbox__btn-right {
	right: 1.6rem;
	background-color: #FFFFFF80;
	width: 4.8rem;
	height: 4.8rem;
	/* transform: translate(50%, calc(-50% - 60px)); */
}

/* Installtion Page Styles */
.installation-wrapper {
	margin-top: 100px;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 5%;
}

.installation-lightbox:target {
	align-items: center !important;
}

.installation-lightbox-image-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	background-color: #F2F2F2;
}

.installation-lightbox-image-wrapper > .lightbox-content-wrapper {
	position: relative;
	text-align: center;
	color: unset;
    bottom: 36px;
	margin: 0;
}

.installation-lightbox-image-wrapper > img {
	margin: 0;
	object-fit: contain;
	/* padding: 0; */
	padding: 48px 48px 72px 48px;
	background-color: unset;
	background-color: #F2F2F2;
}

.installation-image__wrapper {
	margin-bottom: 64px;
}

.installation-image {
	width: clamp(500px, 75vw, 90vw);
}

.installation-image__content {
	margin-top: 16px;
	text-align: center;
}

.installation-image__content-title {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.25;
}

.installation-image__content-description {
	font-size: 16px;
	font-weight: 400;
	margin-bottom: 0px !important;
	color: #676768;
}

/* Custom Responsiveness */
@media only screen and (max-width:768px) {
	.nav {
		display: none !important;
	}

	.top-margin {
		margin-top: 16px;
	}

	.header {
		padding: 24px 24px;
		justify-content: space-between;
		z-index: 100;
	}

	.logo {
		all: unset;
		flex: 1;
	}

	.logo-text {
		font-size: 20px;
		line-height: 30px;
	}

	.cv {
		margin-top: 120px;
    	padding: 0 24px;
	}

	.contact-page {
		margin-top: 120px;
    	padding: 0 24px;
	}

	.mobilemenu-nav ul {
		padding: 0 24px 12px !important;

		& > li a {
			border-bottom: none;
			font-size: 18px;
		}
	}

	.parent-sub-menu {
		padding: 15px 0 8px 0 !important;
	}

	.sub-menu-item {
		margin-left: 32px;
		font-size: 16px;
	}
	
	.custom_slider_wrapper {
		height: calc(100% - 40px);
	}

	.custom_slider_parent {
		margin: 0 24px;
		height: 100%;
	}

	.custom_slider {
		justify-content: center;
		height: 100% !important;

		& > .slide:not(:first-child) {
			margin-right: 0;
		}
	}

	.custom_slider_article {
		margin-top: 82px;
		height: 100svh;
		align-items: unset;
	}

	.slider__btn {
		width: unset;

		&:hover {
			background-color: transparent;
			padding: 0;
		}
	}

	.slider__btn--left {
		left: 40%;
/* 		transform: translate(-50%, calc(-50% - 60px)); */
		top: unset;
		bottom: 30px;
	}

	.slider__btn--right {
		right: 40%;
/* 		transform: translate(50%, calc(-50% - 60px)); */
		top: unset;
		bottom: 30px;
	}

	.slide {
		padding: 12px 8px;
		height: calc(45rem + 12px);
		display: flex;
		flex-direction: column;
		justify-content: center;
		height: auto;
	}

	.slide > a > img {
		height: unset !important;
		max-height: 440px;
	}

	.slide__content {
		margin-top: unset;
		margin-left: 0;
		position: absolute;
/* 		top: 472px; */
		bottom: -8px;
        transform: translateY(100%);
	}

	.lightbox:target {
		justify-content: center;
		flex-direction: column;
		padding: 0 16px;
	}

	.lightbox img {
		/* height: 80%; */
		padding: 12px;
		margin-top: 48px;
		height: unset;
		max-width: unset;
        margin-left: unset;
		align-self: unset;
	}

	.lightbox-content-wrapper {
		align-self: flex-start;
		margin: 12px 0;

		& > p {
			font-size: 10px;
		}
	
		& > p > strong {
			font-size: 10px;
		}
	}

	.lightbox-close-btn {
		top: 12px;
    right: 8px;

		& > svg {
			width: 32px;
			height: 32px;
		}
	}

	.installation-wrapper {
		margin-top: 80px;
	}

	.installation-lightbox:target {
		padding: 0;
	}

	.installation-lightbox-image-wrapper {
		background-color: #F2F2F2;
	}

	.installation-lightbox-image-wrapper > img {
		height: 100%;
		padding: 0;
	}

	.project-category {
		font-size: 12px;
	}
}

@media only screen and (max-width:321px) {
	.custom_slider_article {
		margin-top: 120px;
	}
}
/*
@media only screen and (orientation : landscape) and (max-width:700px) {
	.logo-text {
		font-size: 20px;
		line-height: 30px;
		margin-bottom: 8px;
	}

	.custom_slider {
		height: 75vh !important;
	}

	.slide {
		height: 100%;
	}

	.slide__content {
		margin-top: 0;
		text-align: center;
	}

	.slide > a > img {
		height: 90%;
		object-fit: contain;
		box-shadow: none;
	}
} */