/*!
Theme Name: Paige Wilburn Architect
Theme URI: https://deliciousdesign.com/
Author: Delicious Design
Author URI: https://deliciousdesign.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: paige-wilburn-architect
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Paige Wilburn Architect is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/


html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

body {
	margin: 0;
	overflow-x: hidden;
}

main {
	display: block;
}

img {
	border-style: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 15px;
	margin-top: 0;
}


pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* img {
	height: 100%;
	max-width: 100%;
} */

img {
	height: auto;
	max-width: 100%;
	max-height: 100%;
	width: auto;
}


table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	/* margin: 0 0 1.5em; */
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	/* margin: 1.5em 0 0; */
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}


/* ============================================================= */
:root {
	--title-fontfamily: "DM Sans", sans-serif;
	--content-fontfamily: "Lato", Sans-serif;
	--col-gap: 30px;
	--row-gap: 40px;
	--num-of-cols: 8;
	--accessible-width: calc(min(140rem, 100vw) - 6rem - ((var(--num-of-cols) - 1)*var(--row-gap)));
	--unit: calc(var(--accessible-width)/var(--num-of-cols));
}

.header-fix {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	bottom: auto;
}

.home-hero-sec {
	z-index: -1;
}

.home-hero-sec .elementor-image-carousel-wrapper {
	height: 100vh;
}

.home-hero-sec img.swiper-slide-image {
	height: 100vh;
	object-fit: cover;
}


/* ======== portfolio ========= */

.project-info,
.project-details-part {
	display: flex !important;
	height: 100vh;
	align-items: center;
	background-color: #BFB4A7;
}

.project-content-part,
.project-details-content-part {
	color: #fff;
}

.project-details-image,
.project-details-content-part,
.project-content-part,
.project-img {
	width: 50%;
}

.project-details-content-part,
.project-content-part {
	padding: 8% 9% 8% 7%;
}

.project-title {
	font-family: var(--content-fontfamily);
	font-size: 18px;
	line-height: 30px;
	font-weight: 500;
	padding-bottom: 5px;
	margin-bottom: 25px;
	position: relative;
}

.project-title:before {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	border-bottom: 1px solid #fff;
	animation: border_anim 2s linear forwards;
}

@keyframes border_anim {
	0% {
		width: 0%;
	}

	100% {
		width: 100%;
	}
}

.project-content p {
	font-size: 16px;
	font-family: var(--content-fontfamily);
	font-weight: 300;
	line-height: 25px;
	margin-bottom: 20px;
}

.project-details-content p {
	font-size: 17px;
	font-family: var(--content-fontfamily);
	font-weight: 300;
	line-height: 32px;
	margin-bottom: 0;
}

.project-details-content h2 {
	font-size: 22px;
	font-family: var(--title-fontfamily);
	font-weight: 600;
	color: #fff;
}

.project-slider-part .slick-slide img {
	height: 100vh;
	width: 100%;
	object-fit: cover;
}

.project-slider-part .slick-list {
	height: 100vh;
}

.project-slider-part .slick-prev,
.project-slider-part .slick-next {
	top: 0;
	width: 50%;
	height: 100%;
	transform: translate(0, 0);
	bottom: 0;
}

.project-slider-part .slick-next {
	cursor: url('assets/images/right_arrow.svg'), auto;
	right: 0;
	transform: translateX(84%);
}

.project-slider-part .slick-next.half-hide {
	transform: translateX(0);
}

.project-slider-part .slick-next.bottom-hide {
	transform: translate(0, -10%);
}

.project-slider-part .slick-next.close-icon-last {
	cursor: url('assets/images/close-last.svg'), auto;
}

.project-slider-part .slick-prev {
	cursor: url('assets/images/left_arrow.svg'), auto;
	left: 0;
	z-index: 1;
}

.project-slider-part .slick-prev.slick-disabled {
	display: none;
}

.scrvices-section p {
	margin-bottom: 25px;
}

.top-nav-menu ul li.menu-item:last-child a:after {
	position: absolute;
	content: '';
	background-image: url('./assets/images/instagram.png');
	background-repeat: no-repeat;
	height: 16px;
	width: 16px;
	top: 10px;
	left: 16px;
}

.next-post .navigation .nav-links .nav-previous {
	display: none;
}

.next-post .navigation .nav-links .nav-next a {
	font-family: var(--title-fontfamily);
	font-size: 15px;
	font-weight: 300;
	text-transform: uppercase;
	color: #FFFFFF;
	padding: 0px 25px 0px 20px;
	text-decoration: none;
}

.next-post .navigation .nav-links .nav-next a:hover {
	color: #FF7549;
}

/* studio page */

@keyframes fadeInRightImage {
	from {
		opacity: 0;
		transform: translate3d(15%, 0, 0)
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.image-effect.fadeInRight {
	animation-name: fadeInRightImage;
}

.project-details-content-part2 {
	position: absolute;
	bottom: 20px;
}

/* ============== scroll =================== */

.scrollbar {
	height: 10px;
	overflow-y: hidden;
	min-height: 330px;
	text-align: justify;
	padding: 12px 35px 12px 0;
}

.scrollbar:hover {
	overflow-y: scroll;
	padding: 12px 29px 12px 0;
}

.scrollbar::-webkit-scrollbar {
	width: 6px;
}

.scrollbar::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: #D9D9D9;
}

/* #scrollbar-line::-webkit-scrollbar-track {
	border-radius: 20px;
	background-color: #ffffff;
} */

/* ================================================================================================================== */

.work-grid {
	display: grid;
	grid-auto-rows: var(--unit);
	grid-auto-flow: dense;
	grid-template-columns: repeat(var(--num-of-cols), minmax(0, 1fr));
	gap: var(--row-gap) var(--col-gap);
	padding: 30px 20px 20px;
}

.work-grid .work-card {
	display: grid;
	gap: var(--row-gap) var(--col-gap);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-card .work-card-link {
	display: block;
	grid-column: 1/-1;
	position: relative;
}

.work-card .work-card-link:after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 6;
	transition: opacity .3s ease;
	pointer-events: none;
	opacity: 0;
	background-color: #f1f2ed1a
}

.work-card .work-card-link:hover:after,
.work-card-link:focus-visible:after {
	opacity: 1;
}

.work-card .work-card-media {
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 0;
	overflow: hidden;
}

.work-card .work-card-media img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.work-card-content {
	width: 100%;
	min-height: 95px;
	padding: 20px;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 5;
	color: #fff;
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .414) 50%, rgba(0, 0, 0, .585) 75%, rgba(0, 0, 0, .8) 100%);
}

.work-card-content .work-card-title {
	margin: 0;
	padding-right: 20px;
	color: #fff;
	line-height: 40px;
	font-size: 18px;
	font-family: var(--content-fontfamily);
}

.work-card-info p {
	font-family: var(--content-fontfamily);
	font-size: 16px;
	line-height: 1;
	text-transform: uppercase;
	color: #d4d4d4;
	margin: 0;
}

@keyframes fadeInUpImg {
	0% {
		opacity: 0;
		transform: translate3d(0, 25%, 0);
	}

	100% {
		opacity: 1;
		transform: none;
	}
}

.work-card.fadeInUp {
	animation-name: fadeInUpImg;
}

/* ================== media screen ================== */

@media screen and (max-width: 1850px) {

	.services-section,
	.about-part,
	.studio-part {
		padding-left: 90px;
		padding-right: 170px;
	}

	.studio-image .elementor-widget-container {
		margin-right: -10% !important;
	}

	.studio-image2 .elementor-widget-container {
		margin: 0px !important;
	}

	.about-image2 .elementor-widget-container {
		margin: 10px 0px -40px 50px !important;
	}

	.studio-image2 .elementor-widget-container img {
		max-width: 60% !important;
	}

	.about-image2 .elementor-widget-container img {
		max-width: 50% !important;
	}

	.service-img1 .elementor-widget-container img {
		max-width: 85% !important;
	}

}

@media screen and (min-width: 1024px) {
	.desktop-hide {
		display: none;
	}

}

@media screen and (min-width: 768px) {
	.work-grid .work-card {
		grid-column: span 4;
		grid-row: span 2;
	}

	.work-grid .work-card:nth-child(2),
	.work-grid .work-card:nth-child(3),
	.work-grid .work-card:nth-child(6),
	.work-grid .work-card:nth-child(7),
	.work-grid .work-card:nth-child(10),
	.work-grid .work-card:nth-child(13),
	.work-grid .work-card:nth-child(14) {
		grid-column: span 4;
		grid-row: span 3;
	}

	.work-grid .work-card:nth-child(2) .work-card-link,
	.work-grid .work-card:nth-child(3) .work-card-link,
	.work-grid .work-card:nth-child(6) .work-card-link,
	.work-grid .work-card:nth-child(7) .work-card-link,
	.work-grid .work-card:nth-child(10) .work-card-link,
	.work-grid .work-card:nth-child(13) .work-card-link,
	.work-grid .work-card:nth-child(14) .work-card-link {
		grid-column: 2/-1;
	}

	.work-grid .work-card:nth-child(2) .work-card-link,
	.work-grid .work-card:nth-child(6) .work-card-link,
	.work-grid .work-card:nth-child(10) .work-card-link,
	.work-grid .work-card:nth-child(14) .work-card-link {
		grid-column: 1/-2;
	}
}

@media screen and (max-width: 1600px) {

	.project-details-content-part,
	.project-content-part {
		padding: 8% 10% 8% 7%;
	}

}

@media screen and (max-width: 1500px) {

	.service-img1 .elementor-widget-container img {
		max-width: 100% !important;
	}

	.services-section,
	.about-part,
	.studio-part {
		padding-left: 90px;
		padding-right: 160px;
	}

}

@media screen and (max-width: 1400px) {
	.portfolio-sec {
		width: 1200px;
	}

	.work-grid .work-card {
		grid-row: span 3;
	}

	.work-grid .work-card:nth-child(2),
	.work-grid .work-card:nth-child(3),
	.work-grid .work-card:nth-child(6),
	.work-grid .work-card:nth-child(7),
	.work-grid .work-card:nth-child(10),
	.work-grid .work-card:nth-child(13),
	.work-grid .work-card:nth-child(14) {
		grid-row: span 4;
	}

	.service-img1 .elementor-widget-container {
		margin: 70px -30px 0px 50px !important;
	}

	.service-img2 .elementor-widget-container img {
		max-width: 55% !important;
	}

	.service-img3 .elementor-widget-container img {
		max-width: 70% !important;
	}

	.service-img4 .elementor-widget-container img {
		max-width: 60% !important;
	}

	.process-img1 .elementor-widget-container img {
		max-width: 65% !important;
	}

	.project-details-content-part,
	.project-content-part {
		padding: 8% 12% 8% 5%;
	}

}

@media screen and (max-width: 1024px) {

	.project-info,
	.project-details-part {
		display: block !important;
		height: 100%;
	}

	.project-details-image,
	.project-details-content-part,
	.project-content-part,
	.project-img {
		width: 100%;
	}

	.project-slider-part .slick-list {
		height: auto;
	}

	.top-nav-menu ul li.menu-item:last-child a {
		font-size: 0 !important;
	}

	.studio-image .elementor-widget-container {
		margin-right: 75px !important;
	}

	.studio-image2 .elementor-widget-container img {
		max-width: 40% !important;
	}

}

@media screen and (max-width: 991px) {
	.project-details-content-part2 {
		position: relative;
		top: 20px;
	}

	.about-image2 .elementor-widget-container img {
		max-width: 45% !important;
	}

	.service-img1 .elementor-widget-container img {
		max-width: 75% !important;
	}

	.services-section,
	.about-part,
	.studio-part {
		padding-left: 20px;
		padding-right: 20px;
	}

}

@media screen and (max-width: 767px) {
	:root {
		--num-of-cols: 1;
	}

	.contact-bg-img {
		min-height: 400px;
	}

	.about-image2 .elementor-widget-container {
		margin: 65px 0px -40px 100px !important;
	}

	.work-grid .work-card {
		grid-row: span 1;
	}

	.work-grid .work-card:nth-child(2),
	.work-grid .work-card:nth-child(3),
	.work-grid .work-card:nth-child(6),
	.work-grid .work-card:nth-child(7),
	.work-grid .work-card:nth-child(10),
	.work-grid .work-card:nth-child(13),
	.work-grid .work-card:nth-child(14) {
		grid-row: span 1;
	}

	.service-img1 .elementor-widget-container {
		margin: 0 !important;
	}

}

@media screen and (max-width: 480px) {
	.project-details-content h2 {
		font-size: 18px;
		line-height: 22px;
	}

	.about-image2 .elementor-widget-container {
		margin: 0px !important;
	}
}