/* ----------------------------------------------------------------
	Canvas: Photographer, demo design styles.

	Loaded only on Photographer views (see inc/demos/photographer.php).
	Sections 1-2 are the demo's own two stylesheets; section 3 adds the
	rules for the pages this demo designs itself.
-----------------------------------------------------------------*/

/* ================================================================
	1. Photographer
   ================================================================ */
:root {
	--cnvs-themecolor: #e41c34;
	--cnvs-themecolor-rgb: 228, 28, 52;
	--cnvs-dark-color: #050505;

	--cnvs-body-font: 'Poppins', sans-serif;
	--cnvs-primary-font: 'Poppins', sans-serif;
}

body.dark {
	--cnvs-body-bg: var(--cnvs-dark-color);
}

#header {
	z-index: 399;
}

.slider-element h2 {
	font-size: 3.2rem;
	line-height: 1;
	font-weight: 700;
	letter-spacing: 0;
}

.button.button-change.button-color {
	background-color: #FFF !important;
	text-shadow: none;
}

.button.button-change { box-shadow: 0px 28px 32px -22px rgba(0,0,0,0.75); }

.dark.button.button-change,
.dark.section { background-color: var(--cnvs-dark-color) !important; }

.gradient-border {
	--borderWidth: 3px;
	background: #1D1F20;
	position: relative;
	border-radius: 0;
}

.gradient-border::after {
	content: '';
	position: absolute;
	top: calc(-1 * var(--borderWidth));
	left: calc(-1 * var(--borderWidth));
	height: calc(100% + var(--borderWidth) * 2);
	width: calc(100% + var(--borderWidth) * 2);
	background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
	border-radius: var(--borderWidth);
	z-index: -1;
	animation: animatedgradient 3s ease alternate infinite;
	background-size: 300% 300%;
}

@keyframes animatedgradient {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

@media (min-width: 992px) {
	#header.transparent-header {
		--cnvs-header-bg: transparent;
		--cnvs-header-border-color: transparent;
	}

	#header + .include-header {
		margin-top: calc(calc(-1 * var(--cnvs-header-height)) - 1px);
		display: inline-block;
		vertical-align: bottom;
		width: 100%;
	}

	.slider-element h2 {
		font-size: 4.8rem;
		line-height: 1.2;
		letter-spacing: -4px;
	}

}

/* img-hover-wraps */
.img-hover-wrap {
	-webkit-transition: transform .3s ease;
	-o-transition: transform .3s ease;
	transition: transform .3s ease;
	-moz-transform-style: flat !important;
	-webkit-backface-visibility: hidden;
}

.img-hover-wrap:hover {
	-webkit-transform: scale(1.06);
	-ms-transform: scale(1.06);
	-o-transform: scale(1.06);
	transform: scale(1.06);
	z-index: 2;
}

.img-hover-card > a::after {
	content: " ";
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 0;
	-webkit-transition: background-color .3s ease;
	-o-transition: background-color .3s ease;
	transition: background-color .3s ease;
}

.img-hover-wrap:hover .img-hover-card > a::after { background-color: rgba(0, 0, 0, 0.6); }

.img-hover-card {
	position: relative;
	display: block;
	will-change: transform;
	transition: all .3s ease;
	box-shadow: 0 10px 40px transparent;
}

.img-hover-card a {
	width: 100%;
	max-width: 100%;
	display: block;
	z-index: 99;
}

.img-hover-card.hover-in {
	transition: -webkit-transform .2s ease-out;
	transition: transform .2s ease-out;
	transition: transform .2s ease-out, -webkit-transform .2s ease-out;
}

.img-hover-card.hover-3d { z-index: 2; }

.img-hover-card.hover-out {
	transition: -webkit-transform .2s ease-in;
	transition: transform .2s ease-in;
	transition: transform .2s ease-in, -webkit-transform .2s ease-in;
}

.img-hover-wrap:hover .img-hover-card { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); }

.img-hover-wrap .img-hover-detail {
	position: absolute;
	top: auto;
	left: 40px;
	bottom: 40px;
	pointer-events: none;
	-webkit-backface-visibility: hidden;
	-webkit-transform: scale(1) translateY(40px) translateZ(50px);
	-ms-transform: scale(1) translateY(30px) translateZ(50px);
	-o-transform: scale(1) translateY(30px) translateZ(50px);
	transform: scale(1) translateY(30px) translateZ(50px);
	-webkit-transition: transform .2s ease;
	-o-transition: transform .2s ease;
	transition: transform .2s ease;
}

.img-hover-wrap:hover .img-hover-detail {
	opacity: 1;
	-webkit-transform: scale(1.06) translateY(-5px) translateZ(50px);
	-ms-transform: scale(1.06) translateY(-5px) translateZ(50px);
	-o-transform: scale(1.06) translateY(-5px) translateZ(50px);
	transform: scale(1.06) translateY(-5px) translateZ(50px);
}

.img-hover-wrap .img-hover-title {
	margin: 0 0 6px 0;
	font-size: 17px;
	font-weight: 600;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
	z-index: 9;
}

.img-hover-wrap .img-link {
	opacity: 0;
	width: 20px;
	height: 20px;
	border: 1px solid #FFF;
	border-radius: 50%;
	text-align: center;
	line-height: 18px;
	font-size: 11px;
	-webkit-transition: opacity .3s ease;
	-o-transition: opacity .3s ease;
	transition: opacity .3s ease;
}

.img-hover-wrap:hover .img-link { opacity: 1; }

.img-hover-detail a { color: #FFF; }

.testimonials-carousel .owl-item {
	transform: translateX(-40px);
	opacity: 0;
	transition: transform .4s, opacity .3s;
}

.testimonials-carousel .owl-item.active {
	transform: translateX(0);
	opacity: 1;
}

@media (max-width: 991.98px) {
	#header.dark.transparent-header, #header.dark.semi-transparent { background-color: var(--cnvs-dark-color); }

	.primary-menu ul > li > a, .primary-menu.style-2 > div > ul > li > a {
		padding: 10px !important;
		border-radius: 0 !important;
		margin-right: inherit !important;
	}
}

.css3-spinner > div {
	margin-top: -36px;
	margin-left: -32px;
	width: 62px;
	height: 72px;
	background-color: transparent !important;
	-webkit-animation: none;
	animation: none;
}

#gotoTop { border-radius: 50% }

.dark-mode {
	position: fixed;
	top: auto;
	right: 11px;
	bottom: 80px;
	text-align: center;
	margin: 0 auto;
	z-index: 299;
}

.dark-mode i {
	display: block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-size: 16px;
	color: #FFF !important;
	background-color: #111;
	border-radius: 50%;
	margin: 0 auto;
}

.dark-mode span {
	display: block;
	opacity: 0;
	color: #000;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	margin: 0;
	-webkit-transform: translateY(10px);
	-ms-transform: translateY(10px);
	-o-transform: translateY(10px);
	transform: translateY(10px);
	-webkit-transition: transform .3s, opacity .3s;
	-o-transition: transform .3s, opacity .3s;
	transition: transform .3s, opacity .3s;
	-webkit-backface-visibility: hidden;
}

.dark-mode:hover span {
	opacity: 1;
	margin-bottom: 7px;
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
	transform: translateY(0);
}

.dark .dark-mode i {
	color: #111 !important;
	background-color: #FFF;
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
}

.dark .dark-mode span { color: #FFF; }

/* ================================================================
	2. Overlay menu
   ================================================================ */

:root {
	--path-fill-1: #dce3f1;
	--path-fill-2: #869ccc;
	--path-fill-3: #30436f;
	--path-fill-4: #0d1831;
	--color-title: #fff;
	--color-menu: #fff;
	--font-size-menu: 1.625rem;
}

.global-menu {
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	z-index: 999;
}

.global-menu__item {
	color: var(--color-menu);
	font-size: var(--font-size-menu);
	opacity: 0;
	transform: translateY(-100%);
	pointer-events: none;
	display: block;
	margin: 0.3em 0;
	transition: transform 0.3s, opacity 0.3s;
	transition-timing-function: ease-in;
}

.global-menu__item:nth-child(odd) {
	transform: translateY(-100%) rotate(10deg);
}

.global-menu__item:nth-child(even) {
	transform: translateY(-100%) rotate(-10deg);
}

.global-menu__item:hover { color: var(--cnvs-themecolor); }

.global-menu__item.is-opened {
	opacity: 1;
	transform: translateY(0) rotate(0);
	pointer-events: auto;
	transition-timing-function: ease;
}

.global-menu__item:nth-of-type(1) {
	transition-delay: 0s;
}

.global-menu__item.is-opened:nth-of-type(1) {
	transition-delay: 0.85s;
}

.global-menu__item:nth-of-type(2) {
	transition-delay: 0.05s;
}

.global-menu__item.is-opened:nth-of-type(2) {
	transition-delay: 0.8s;
}

.global-menu__item:nth-of-type(3) {
	transition-delay: 0.1s;
}

.global-menu__item.is-opened:nth-of-type(3) {
	transition-delay: 0.75s;
}

.global-menu__item:nth-of-type(4) {
	transition-delay: 0.15s;
}

.global-menu__item.is-opened:nth-of-type(4) {
	transition-delay: 0.7s;
}

.shape-overlays {
	width: 100%;
	height: 100vh;
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
}

.shape-overlays.is-opened {
	pointer-events: auto;
}

.shape-overlays__path:nth-of-type(1) {
	fill: var(--path-fill-1);
}

.shape-overlays__path:nth-of-type(2) {
	fill: var(--path-fill-2);
}

.shape-overlays__path:nth-of-type(3) {
	fill: var(--path-fill-3);
}

.shape-overlays__path:nth-of-type(4) {
	fill: var(--path-fill-4);
}



.dark .shape-overlays__path:nth-of-type(1) {
	--path-fill-1: #555;
}

.dark .shape-overlays__path:nth-of-type(2) {
	--path-fill-2: #444;
}

.dark .shape-overlays__path:nth-of-type(3) {
	--path-fill-3: #333;
}

.dark .shape-overlays__path:nth-of-type(4) {
	--path-fill-4: #222;
}

@-webkit-keyframes intervalHamburgerBorder {
	0% {
		opacity: 1;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	80% {
		-webkit-transform: scale(1.6);
		transform: scale(1.6);
	}
	100% {
		opacity: 0;
		-webkit-transform: scale(1.6);
		transform: scale(1.6);
	}
}

@keyframes intervalHamburgerBorder {
	0% {
		opacity: 1;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
	80% {
		-webkit-transform: scale(1.6);
		transform: scale(1.6);
	}
	100% {
		opacity: 0;
		-webkit-transform: scale(1.6);
		transform: scale(1.6);
	}
}

.primary-menu-trigger {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1 !important;
}

.hamburger {
	width: 40px;
	height: 40px;
	display: block;
	position: relative;
	cursor: pointer;
	position: fixed;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	top: 40px;
	right: 30px;
	z-index: 1000;
	border-radius: 50%;
	background-color: var(--cnvs-themecolor);
	pointer-events: auto;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.hamburger::after {
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	content: '';
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	pointer-events: none;
	border: 4px solid var(--cnvs-themecolor);
	border-radius: 50%;
	-webkit-animation-duration: 1.2s;
	animation-duration: 1.2s;
	-webkit-animation-name: intervalHamburgerBorder;
	animation-name: intervalHamburgerBorder;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}

.hamburger i {
	position: absolute;
	text-align: center;
	top: 50%;
	left: 50%;
	color: #FFF;
	margin: 0;
	padding: 0;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	font-size: 16px;
	-webkit-transition: opacity .4s ease;
	-o-transition: opacity .4s ease;
	transition: opacity .4s ease;
}

.hamburger.is-opened-navi i:first-child,
.hamburger i:last-child { opacity: 0; }

.hamburger.is-opened-navi i:last-child { opacity: 1; }

/* ================================================================
	3. ADDITIVE: the pages this demo designs itself

	Sections the source has no markup for: the enquiry form, the
	clients wall, the photograph single, and the journal archive and
	post. Built only from the tokens declared above.
   ================================================================ */

/* Enquiry form ---------------------------------------------------- */
.photographer .enquiry-input {
	width: 100%;
	height: 48px;
	padding: 0 18px;
	color: var(--cnvs-contrast-900);
	background-color: #F9F9F9;
	border: 1px solid transparent;
	border-radius: 4px;
	font-family: var(--cnvs-body-font);
	font-size: 14px;
	font-weight: 300;
	transition: border-color .3s ease, background-color .3s ease;
}

.photographer textarea.enquiry-input {
	height: auto;
	padding: 14px 18px;
	resize: vertical;
}

.photographer .enquiry-input:focus {
	outline: none;
	background-color: #FFF;
	border-color: var(--cnvs-themecolor);
}

.photographer .enquiry-input::placeholder { color: #999; }

.photographer .enquiry-details { border-top: 1px solid rgba(0, 0, 0, .08); }

.photographer .enquiry-datum {
	padding: 18px 0;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.photographer .enquiry-datum-value {
	display: block;
	margin-top: 4px;
	font-size: 17px;
	font-weight: 500;
	color: var(--cnvs-contrast-900);
}

.photographer a.enquiry-datum-value:hover { color: var(--cnvs-themecolor); }

/* Clients wall ---------------------------------------------------- */
.photographer .client-card { margin-bottom: 30px; }

.photographer .client-card img {
	transition: opacity .3s ease, transform .3s ease;
	opacity: .55;
}

.photographer .client-card:hover img {
	opacity: 1;
	transform: scale(1.04);
}

.photographer .client-name {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #999;
}

/* Photograph single ----------------------------------------------- */
.photographer .shot-single { padding: 100px 0; }

.photographer .shot-frame img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 4px;
}

.photographer .shot-title {
	margin: 0 0 6px;
	font-size: 34px;
	font-weight: 700;
	letter-spacing: 0;
}

.photographer .shot-album {
	display: inline-block;
	margin-bottom: 18px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--cnvs-themecolor);
}

.photographer .shot-story {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.8;
	color: #666;
}

.photographer .shot-credit {
	font-size: 13px;
	font-style: italic;
	color: #999;
}

.photographer .shot-attributes {
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(0, 0, 0, .08);
}

.photographer .shot-attributes li {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
	font-size: 13px;
}

.photographer .shot-attributes li span:first-child {
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #999;
}

.photographer .shot-attributes li span:last-child {
	font-weight: 500;
	color: var(--cnvs-contrast-900);
}

.photographer .related-shots { margin-top: 90px; }

.photographer .related-shots-title {
	margin-bottom: 30px;
	font-size: 22px;
	font-weight: 700;
}

.photographer .related-shot-frame { display: block; overflow: hidden; border-radius: 4px; }

.photographer .related-shot-frame img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform .4s ease;
}

.photographer .related-shot:hover .related-shot-frame img { transform: scale(1.06); }

.photographer .related-shot-title {
	margin: 14px 0 2px;
	font-size: 16px;
	font-weight: 600;
}

.photographer .related-shot-cat {
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #999;
}

/* Journal archive + post ------------------------------------------ */
.photographer-blog .entry,
.photographer-post .entry { box-shadow: none; }

.photographer-blog .entry-title h2 {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0;
}

.photographer-blog .entry-title h2 a:hover { color: var(--cnvs-themecolor); }

.photographer-blog .entry-meta li,
.photographer-post .entry-meta li {
	font-size: 11px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #999;
}

.photographer-post .entry-title h1 {
	font-size: 40px;
	font-weight: 700;
	letter-spacing: 0;
}

.photographer-post .entry-content p {
	font-size: 16px;
	font-weight: 300;
	line-height: 1.9;
	color: #555;
}

.photographer-blog .sidebar .widget,
.photographer-post .sidebar .widget { margin-bottom: 44px; }

.photographer-blog .sidebar .widget-title,
.photographer-post .sidebar .widget-title {
	margin-bottom: 18px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--cnvs-contrast-900);
}

.photographer-blog .sidebar li,
.photographer-post .sidebar li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(0, 0, 0, .06);
	font-size: 14px;
	font-weight: 300;
}

.photographer-blog .sidebar a:hover,
.photographer-post .sidebar a:hover { color: var(--cnvs-themecolor); }

.photographer-blog .tag-cloud-link,
.photographer-post .tag-cloud-link {
	display: inline-block;
	margin: 0 6px 6px 0;
	padding: 5px 12px;
	border: 1px solid rgba(0, 0, 0, .1);
	border-radius: 40px;
	font-size: 11px !important;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #666;
}

.photographer-blog .tag-cloud-link:hover,
.photographer-post .tag-cloud-link:hover {
	border-color: var(--cnvs-themecolor);
	color: var(--cnvs-themecolor);
}

/* Portfolio filter bar -------------------------------------------- */
.photographer .gallery-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 40px;
}

.photographer .gallery-filter-btn {
	padding: 9px 20px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 40px;
	background: transparent;
	color: #777;
	font-family: var(--cnvs-body-font);
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
	transition: color .3s ease, border-color .3s ease, background-color .3s ease;
	-webkit-appearance: none;
	appearance: none;
}

.photographer .gallery-filter-btn:hover { color: var(--cnvs-contrast-900); }

.photographer .gallery-filter-btn.active {
	background-color: var(--cnvs-themecolor);
	border-color: var(--cnvs-themecolor);
	color: #FFF;
}
