
/*
Theme Name: Contextlogic Ver2026
Theme URI: 
Author: Mohamad Yousefi
Author URI: 
Description: Contextlogic theme (performance build 2026). Keep beside the original Contextlogic Theme to compare.
Requires at least: 6.4
Requires PHP: 7.4
Version: 2026.24
License: 
License URI: 
Text Domain: contextlogic
Tags: 
 * @package contextlogic
*/

.portfolio-post-content .gallery {
	display: none !important;

}


html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
	overflow-x: hidden;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

body {
    line-height:1;
}

body {
	background: #FFFFFF;
	color: #000000;
}

li {
	list-style: none;
}

a {
	text-decoration: none;
	color: #000000;
	transition:all .2 ease-in-out ;
	-webkit-transition:all .2 ease-in-out ;
	-moz-transition:all .2 ease-in-out ;
	-o-transition:all .2 ease-in-out ;
}

.clear {
	clear: both;
}

.mainpage {
   padding-right: 50px;
   padding-left: 50px;
    margin: 0 auto;
	padding-bottom: 50px;
}


.mainheader {
	height: 150px;
    background: #FFFFFF;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    position: relative;
	padding-right: 50px;
	padding-left: 50px;
}

.home {
    overflow: hidden;
}

.home-landing {
    position: absolute;
    left: 0px;
    width: 100%;
    top: 150px;
    bottom: 0px;
}

.home-landing img {
    max-width: 100%;
    margin: auto;
    object-fit: cover;
    object-position: 50% 50%;
    width: 100%;
    max-height: 85vh;
}


.logo {
	margin: 50px;
	display: inline-block;
    margin-left: 0;
}


.logo img {
	width: 50px;
    height: 50px;
    object-position: center;
    object-fit: cover;
}

.main-nav {
	padding-top: 67px;
	float: right;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	letter-spacing: 0em;
	text-align: left;
	color: #000000;
	text-decoration-line: none;
}


/*-------------nav menu START--------------*/


@media (min-width: 1100px) {

.main-nav ul{
	display: flex;

}

.main-nav ul li{
	list-style: none;
	cursor: pointer;
	position: relative;
	display: flex;
	transition: all .2s ease;
	white-space: nowrap
}

	.main-nav ul li a{
		padding-bottom: 7px;
	}

.main-nav ul li:not(:first-child):not(:last-child){
	margin-right: 4px;
	margin-left: 4px;
}

.main-nav ul li:first-child{
	margin-right: 8px;
}

.main-nav ul li:last-child{
	margin-left: 8px;
}

.sub-menu {
	float: right;
	overflow: hidden;
	transition: max-width 1s ease;
	border-bottom: 1px solid #000;
    max-width: 0;
	display: flex;
}

.current-menu-ancestor .sub-menu {
	border-bottom: 1px solid #E5E5E5 !important;
	max-width: 100em !important;
	margin-left: 16px;
}

.main-nav ul li.active .sub-menu {
	margin-left: 16px;
	max-width: 100em; 
}

.sub-menu li{
	list-style: none;
	cursor: pointer;
	position: relative;
	display: flex;
	white-space: nowrap
}

.sub-menu li:not(:first-child):not(:last-child){
	margin-right: 8px;
	margin-left: 8px;
}


.sub-menu li:first-child{
	margin-right: 8px;
}

.sub-menu li:last-child{
	margin-left: 8px;
}


.current-menu-item {
	border-bottom: 1px solid #000;
}

}

/*-------------nav menu END--------------*/



.contactbox {
	margin-bottom: 0;
    margin-top: 104px;
}

#contactline {
    border: none;
    height: 1px;
    background-color: #000;
    position: absolute;
    margin-top: 25px;
    width: 100%;
    left: 0;
}

.contactbox ul {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	grid-gap: 100px;
}

.contactbox ul li {
	font-family: 'Roboto',sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 300;
	line-height: 18px;
	letter-spacing: 0.1em;
}





.contactbox ul li h2 {
	font-family: 'Roboto', sans-serif !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: bold !important;
	line-height: 16px !important;
	letter-spacing: 0em !important;
	padding-bottom: 10px;
}

.contactbox ul li div {
	padding-top: 10px;
}

.socialmediabox {
    font-size: 22px !important;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.socialmediabox a {
	margin-right: 10px;
}


.contactcontent {
	font-family: 'Roboto',sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: 200;
	line-height: 18px;
	letter-spacing: 0.1em;
}

.contactfooter {
    bottom: 20px;
    position: absolute;
}

#blog-container {
	margin: 0 auto;
    padding-top: 100px;
}

.blog-column {
	display: grid;
    grid-template-columns: repeat(1,1fr);
    grid-gap: 40px;
    grid-auto-flow: dense;
}

.fa-post {
    direction: rtl;
    text-align: right !important;
    letter-spacing: 0px !important;
}

.blog-post h2 {
	font-family: 'Source Sans Pro',sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
	line-height: 15px;
	letter-spacing: 0.2em;
	padding-bottom: 5px;
}

.blog-post p {
	font-family: 'Roboto',sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: 17.5px;
}


.blog-post-title {
	font-family: 'Roboto',sans-serif;
	font-size: 24px;
	font-style: normal;
	font-weight: 700;
	line-height: 30px;
	letter-spacing: 0.3em;
	text-align: left;
	margin-bottom: 40px;

}


.blog-post-content {
	font-family: 'Roboto',sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: 18px;
	letter-spacing: 0.05em;
	text-align: left;
	column-count: 1;
}

.blank-content {
	font-family: 'Roboto',sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: 18px;
	letter-spacing: 0.05em;
}

.blog-post-content img {
	max-width: 100%;
    height: auto;
}


.blog-post-thumbnail {
	margin-top: 40px;
}

.blog-post-thumbnail img {

	height: auto;
    max-width: 50%;
    object-fit: cover;
    aspect-ratio: 1;
}

.blog-post-meta {
	font-family: 'Roboto',sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: 25px;
	letter-spacing: 0.05em;
	text-align: left;
	margin-top: 40px;

}

#about-container {
	padding-top: 0px;
}


.about-main-pic {
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.about-member {
	margin-top: 120px;
}

.about-member ul {
	display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-auto-flow: dense;
	column-gap: 40px;
	row-gap: 45px;
	margin-bottom: 45px;
}

.about-member ul li {
	width: 100%;
    height: 100%;
    position: relative;
}

.about-member ul li img {
	width: 100%;
    object-fit: cover;
    object-position: 50% 50%;
	aspect-ratio: 1;
	height: auto;
}

.about-member ul li h3, .about-member ul li h4  {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-style: normal;
	line-height: 18px;
	letter-spacing: 0.05em;
	
}

.about-member ul li h3 {
	font-weight: 700;
	margin-top: 20px;
}


.about-member ul li h4 {
	font-weight: 300;
	margin-top: 5px;
}


.metro-gallery {
	margin-bottom: 150px;
}

.metro-gallery ul {
	display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 2px;
    grid-auto-flow: dense;
}

.metro-gallery ul li {
    width:100%;
    height:100%;
    position:relative;
    overflow:hidden;
    aspect-ratio: 1;
}

.metro-gallery ul li img {
    width:100%;
    height:100%;
    object-fit: cover;
    object-position:50% 50%;
}

.metro-gallery-title {
	left: 0;
    width: 100%;
    background: #FFFFFF;
    position: absolute;
    display: none;
    bottom: 0;
    text-align: center;
}

.metro-gallery ul li:hover .metro-gallery-title {
    display: block !important;
}


.metro-gallery-title h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: 0em;
	padding: 10px;
}

#portfolio-container {
    margin-bottom: 150px;
	text-align: center;
	font-family: 'Roboto', sans-serif;
	font-style: normal;
}

.portfolio-post-galary {

}

.portfolio-post-galary-viewmore {
    position: relative;
    display: block;
    font-style: normal !important;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 10px;
    color: #FFFFFF;
    letter-spacing: 0.5em;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    opacity: 0.5;
    font-weight: 300;
    transition: all .2s ease;
    top: 50px;
	cursor: pointer;
}

.portfolio-post-galary:hover .portfolio-post-galary-viewmore {
    opacity: 1;
}

.portfolio-post-galary img {
	max-width: 100%;
    margin-left: auto;
    margin-right: auto;
	margin-bottom: 40px;
	object-fit: cover;
	object-position: 50% 50%;
	width: 100%;
}

.portfolio-post-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 30px;
	letter-spacing: 0.3em;
	margin-top: 40px;
	margin-bottom: 20px;

}

.portfolio-detail {
	font-size: 14px;
	font-weight: 400;
	line-height: 18px;
	letter-spacing: 0.05em;
	margin-bottom: 60px;
	margin-left: auto;
	margin-right: auto;

}

#project-detail {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-auto-flow: dense;
    column-gap: 20px;
    row-gap: 50px;
	
}

#project-more-detail {
    margin-top: 30px;
	padding: 0 30px;
}

#project-more-detail li {
	margin-bottom: 10px;
	font-size: 13px !important;
}


.portfolio-post-content {
	font-size: 14px;
	font-weight: 300;
	line-height: 18px;
	letter-spacing: 0.05em;
	text-align: center;
    margin: 0 auto;

}




.note404 {
	font-family: 'Roboto' , sans-serif;
    font-style: normal;
    text-align: left;
    margin:0 50px;

}

.note404 h1 {
	font-size: 60px;
	margin-bottom: 10px;
}

.note404 h2 {
	font-size: 24px;
	margin-bottom: 50px;
}

.note404 h3 {
	font-size: 14px;
	font-weight: 300;
	margin-bottom: 10px;
}



@media (min-width: 1400px) {

	.mainheader {
		width: 1300px;
	}
	.mainpage {
		width: 1300px;
	}
   }

   @media (min-width: 1000px) {


	#blog-container {
		padding-right: 100px !important;
		padding-left: 100px !important;
	}

	#about-container {
		padding-right: 100px !important;
		padding-left: 100px !important;
	}

	.portfolio-detail {
		width: 900px !important;
	
	}
   }

   @media (min-width: 800px) {


	#blog-container {
		padding-right: 50px;
		padding-left: 50px;
	}

	.blog-column {
		grid-template-columns: repeat(2,1fr);
		}
	
		.blog-post-content {
			column-count: 2;
		}

	#about-container {
		padding-right: 50px ;
		padding-left: 50px;
	}

	.metro-gallery ul {
		grid-template-columns: repeat(5,1fr) !important;
	}

	.about-member ul {
		grid-template-columns: repeat(5,1fr);
	}
	.portfolio-detail {
		width: 700px;
	}

	#project-detail {

	}

	.portfolio-post-content {
		width: 60%;
	}
	
	.portfolio-post-galary img {
	    height: 350px;
	}
   }

   @media (min-width: 600px) {

	.metro-gallery ul {
		grid-template-columns: repeat(3,1fr);
	}

	.about-member ul {
		grid-template-columns: repeat(4,1fr);
	}
	.contactline_mobile {
		display: none;
	}
	
   }

   @media (max-width: 800px) {
   .contactbox ul {
	grid-gap: 40px;
   }
}

@media (max-width: 600px) {
	.contactbox ul {
		grid-template-columns: repeat(1,1fr);
	}
	#contactline {
		display: none;
	}
	.contactline_mobile {
		background-color: #000;
		height: 1px;
		border: none;
		position: absolute;
		width: 100%;
		left: 0;
		overflow: hidden;
		margin: 0;
	}
	.contactbox {
		padding-left: 40px;
   		padding-right: 40px;
	}

	
 }

   @media (max-width: 450px) {
	.mainheader {
		padding-right: 40px;
		padding-left: 40px;
		height: 150px;

	}

	.mainpage {
		padding-right: 40px;
		padding-left: 40px;
	}

	.blog-post-thumbnail img {
		max-width: 100%;

	}

	.portfolio-post-title {
		font-size: 18px !important;
	}

	.portfolio-detail {
		font-size: 12px !important;
	}

	.portfolio-post-galary img {
		aspect-ratio: 1;
		height: auto;
	}

   }


   
   

/*-------------nav menu START--------------*/
.logo.mobile {
	display: none;
}

.nav_menu_button , .nav_menu_button_on {
    display: none;
    background-image: url(images/Button-Hamburger.svg);
    background-repeat: no-repeat;
    background-color: transparent;
    border: 0;
    padding: 0;
    height: 12px;
    width: 43px;
	float: right;
	cursor: pointer;
	transition: all .2s ease;
}

.back-button {
	display: block;
}


@media (min-width: 1100px) {

	.back-button {
		display: none;
	}

}
@media (max-width: 1100px) {
	.nav_menu_button , .nav_menu_button_on {
		display: block;
	}



	.main-nav-mobile {
		position: fixed;
		width: 300px;
		height: 100%;
		background: #fff;
		right: -450px;
		top: 0;
		z-index: 9000000000;
		transition: all .5s ease-in-out;

	}

	.main-nav-mobile.open {
		right: 0px;
		transition: all .5s ease-in-out;
	}

	.nav_menu_button_on {
		z-index: 9000000009;
		display: inline-block;
   		float: right;
    	margin-top: 55px;
   		margin-right: 40px;
		transition: all 0.2s ease-in-out;

	}

	
	.nav_menu_button.open ,	.nav_menu_button_on.open  {
		transform: rotateZ(90deg);
		transition: all .2s ease;
	}

	.logo {
		margin-top: 40px;
	}

	.logo.mobile {
		margin: 40px;
    	display: inline-block;
	}
	.menu {
		text-align: center;
		font-family: 'Roboto', sans-serif;
		font-size: 18px;
		font-style: normal;
		font-weight: 400;
		margin-top: 130px;

	}

   
	
	.menu-item{
		list-style: none;
		cursor: pointer;
		position: relative;
		transition: all .2s ease;
		margin-bottom: 60px;
	}
	
	.menu-item.deactive .sub-menu {
		overflow: hidden !important;
		transition: all .5s ease !important;
		width: 300px !important;
		right: -450px !important;
		height: 0 !important;
	}
	.sub-menu {
		overflow: hidden;
		transition: all .5s ease;
		width: 300px;
		right: -450px;
		height: 0;
	}

	.menu-item.active .sub-menu {
		position: fixed;
		height: 100%;
		background: #fff;
		right: 0;
		top: 0;
		z-index: 90000009999999;
		margin-top: 250px;
		transition: all .5s ease;
	}

	
}


@media (max-width: 600px) {
	.nav_menu_button , .nav_menu_button_on {
		display: block;
	}


	.main-nav-mobile {
		position: fixed;
		width: 100%;
		height: 100%;
		background: #fff;
		right: -600px;
		top: 0;
		z-index: 9000000000;
		transition: all .5s ease-in-out;

	}

	.main-nav-mobile.open {
		right: 0px;
		transition: all .5s ease-in-out;
	}

	.nav_menu_button_on {
		z-index: 9000000009;
		display: inline-block;
   		float: right;
		margin-top: 60px;
   		margin-right: 40px;
		transition: all 0.2s ease-in-out;

	}

	
	.nav_menu_button.open ,	.nav_menu_button_on.open  {
		transform: rotateZ(90deg);
		transition: all .2s ease;
	}

	.logo {
		margin-top: 40px;
	}

	.logo.mobile {
		margin: 40px;
    	display: inline-block;
	}
	.menu {
		text-align: center;
		font-family: 'Roboto', sans-serif;
		font-size: 18px;
		font-style: normal;
		font-weight: 400;
		margin-top: 130px;

	}

   
	
	.menu-item{
		list-style: none;
		cursor: pointer;
		position: relative;
		transition: all .2s ease;
		margin-bottom: 60px;
	}
	
	
	.sub-menu {
		overflow: hidden;
		transition: all .5s ease;
		width: 100%;
		right: -600px;
		height: 0;
	}

	.menu-item.active .sub-menu {
		position: fixed;
		height: 100%;
		background: #fff;
		right: 0;
		top: 0;
		z-index: 90000009999999;
		width: 100%;
		margin-top: 250px;
		transition: all .5s ease;
	}


	
}
@media (max-height: 500px) {
	.menu {
		text-align: center;
		font-family: 'Roboto', sans-serif;
		font-size: 14px;
		font-style: normal;
		font-weight: 400;
		margin-top: 20px !important;
	}

	.menu-item {
		margin-bottom: 30px;
	}

	.menu-item.active .sub-menu {
		margin-top: 140px;
	}
}


	/*-------------nav menu END--------------*/


	.close-button {
		background-image: url(images/Button-Close.svg);
		background-repeat: no-repeat;
		height: 50px;
		width: 50px;
		display: block;
	}

	
	.next-button {
		background-image: url(images/Button-big-Next.svg);
		background-repeat: no-repeat;
		height: 50px;
		width: 50px;
		display: block;
	}

	
	.prev-button {
		background-image: url(images/Button-big-Previous.svg);
		background-repeat: no-repeat;
		height: 50px;
		width: 50px;
		display: block;
	}
	
	/* Disable mobile tap highlight on links and li */
	.menu-item,
	.menu-item a {
	  -webkit-tap-highlight-color: transparent;
	  tap-highlight-color: transparent; /* for future compatibility */
	  outline: none !important;
	  background-color: transparent !important;
	  box-shadow: none !important;
	}



	
	



/* Hide the Insert HTML Snippet plugin credit line. */
div[style*="font-size:11px"][style*="text-align:center"]:has(a[href*="xyzscripts.com"]) {
	display: none !important;
}


.idea-gallery ul li {
	background: #f3f3f3;
}

.idea-gallery .idea-tile {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	padding: 18px;
	color: #000;
	text-decoration: none;
	background: #f3f3f3;
}

.idea-gallery .idea-tile:hover {
	background: #000;
	color: #fff;
}

.idea-gallery .idea-tile h2 {
	margin: 0;
	font-family: 'Source Sans Pro', 'Roboto', sans-serif;
	font-size: clamp(15px, 1.8vw, 26px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.06em;
	text-transform: none;
}

.idea-gallery .idea-tile[dir="rtl"] {
	justify-content: flex-end;
	text-align: right;
}

.idea-gallery .idea-tile[dir="rtl"] h2 {
	letter-spacing: 0;
	font-family: 'Vazirmatn', 'Source Sans Pro', 'Roboto', sans-serif;
	width: 100%;
}

