/* ----------------------------------------------------------------
	One Page Module demo: scoped styles.
	1:1 port of the demo source stylesheet (body byte-identical);
	this header replaces the source banner (purpose-only).
	Body font Roboto; primary font Source Sans Pro; theme colour is the
	Canvas default #1abc9c (the source does not override it). Loaded
	demo-scoped by inc/demos.php when the one-page demo is active. The
	et-line icon @font-face (services glyphs) is appended AFTER the 1:1
	body in a clearly-marked ADDITIVE section (files under shared/et-line/).
-----------------------------------------------------------------*/

/* ----------------------------------------------------------------------------
	FONTS
---------------------------------------------------------------------------- */
:root {
	--cnvs-body-font: 'Roboto', sans-serif;
	--cnvs-primary-font: 'Source Sans Pro', sans-serif;
	--cnvs-header-height: 70px;
}

#header {
	--cnvs-sticky-header-height: 70px;
	--cnvs-header-transparent-border-color: rgba(var(--cnvs-contrast-rgb), .05);
	--cnvs-primary-menu-font-weight: 400;
	--cnvs-primary-menu-font-size: 0.75rem;
	--cnvs-primary-menu-tt: uppercase;
	--cnvs-primary-menu-ls: 3px;
}

.is-expanded-menu #header.transparent-header:not(.border-full-header):not(.sticky-header) #header-wrap {
	border-bottom: transparent;
}

.is-expanded-menu .menu-link {
	--cnvs-primary-menu-padding-x: 22px;
}

/* ----------------------------------------------------------------------------
	Header
---------------------------------------------------------------------------- */

.is-expanded-menu #header.full-header #logo {
	border-right: 0;
}

.is-expanded-menu #header.full-header .primary-menu > .menu-container {
	padding-right: 0;
	margin-right: 0;
	border-right: 0;
}

.is-expanded-menu #header.show-on-sticky #header-wrap {
	opacity: 0;
	pointer-events: none;
}

.is-expanded-menu #header.show-on-sticky.sticky-header #header-wrap {
	opacity: 1;
	pointer-events: auto;
}


/* Sticky Header
---------------------------------------------------------------------------- */

.is-expanded-menu #header.sticky-header #header-wrap,
.is-expanded-menu #header.full-header.border-full-header.sticky-header #header-wrap {
	box-shadow: none;
}


/* Side Panel
---------------------------------------------------------------------------- */

body.side-push-panel.stretched #header .container {
	right: 0;
}

body.side-push-panel.side-panel-open.stretched #header .container {
	right: 300px;
}

body.side-panel-left.side-push-panel.stretched #header .container {
	left: 0;
	right: auto;
}

body.side-panel-left.side-push-panel.side-panel-open.stretched #header .container { left: 300px; }


/* ----------------------------------------------------------------------------
	Page Section
---------------------------------------------------------------------------- */

.page-section {
	padding: 120px 0;
}


/* ----------------------------------------------------------------------------
	Heading Block
---------------------------------------------------------------------------- */

.heading-block h2 {
	--cnvs-heading-block-font-weight: 500;
	--cnvs-heading-block-font-spacing: 3px;
	font-family: var(--cnvs-body-font);
}


/* ----------------------------------------------------------------------------
	Portfolio Description
---------------------------------------------------------------------------- */

.bg-overlay .portfolio-desc h3 {
	--cnvs-portfolio-desc-title-size: 22px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.bg-overlay .portfolio-desc h3 a {
	color: #333 !important;
	text-shadow: none;
}

.bg-overlay .portfolio-desc span {
	margin-top: 12px;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 1px;
	font-weight: 300;
}

.bg-overlay .portfolio-desc span a {
	color: #999 !important;
	text-shadow: none;
}


/**/
.op-gradient-icon {
	background: rgb(131,58,180);
	background: linear-gradient(90deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}


/* ----------------------------------------------------------------------------
	Buttons
---------------------------------------------------------------------------- */

.button.button-border {
	font-weight: 400;
	letter-spacing: 2px;
	font-size: 13px;
}

.button.button-border.button-large {
	font-size: 15px;
}

.button.button-border.button-light {
	border-color: #F9F9F9;
	color: #F9F9F9;
}

.button.button-border.button-light:hover {
	background-color: #F9F9F9;
	color: #333;
	text-shadow: none;
}


/* Blog
---------------------------------------------------------------------------- */

.posts-md .entry-title h3 {
	font-size: 1.375rem;
	letter-spacing: 0;
}


/* More Link
---------------------------------------------------------------------------- */

.more-link {
	font-weight: 400;
	text-decoration-thickness: 1px;
	font-style: normal;
}

.more-link i.uil-angle-right-b {
	position: relative;
	top: 1px;
	margin-left: 2px;
}


.link-border {
	font-weight: 600;
	border-bottom: 3px solid var(--cnvs-themecolor);
	-webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
}

.link-border:hover {
	border-color: #FFF;
}


/* ----------------------------------------------------------------------------
	Team & Testimonials
---------------------------------------------------------------------------- */

.team-title h4 {
	--cnvs-team-title-font-size: 17px;
	font-weight: 600;
	letter-spacing: 2px;
}

.team-title span {
	--cnvs-team-title-designation-font-family: var(--cnvs-body-font);
	--cnvs-team-title-designation-font-size: 14px;
	--cnvs-team-title-designation-font-style: normal;
	--cnvs-team-title-designation-font-color: #999;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-top: 2px;
}

.team-social-icons {
	position: absolute;
	width: 100%;
	bottom: 20px;
}

.parallax .fslider * {
	-webkit-backface-visibility: hidden !important;
}

.parallax .fslider .flex-control-paging * { 
	-webkit-backface-visibility: visible !important;
}

.parallax .testimonial .testi-content p {
	line-height: 1.6 !important;
	font-size: 24px;
	letter-spacing: 1px;
	font-weight: 300;
	font-family: var(--cnvs-primary-font);
	font-style: normal;
}

.parallax .testimonial .testi-meta {
	margin-top: 20px;
	font-size: 15px;
	letter-spacing: 2px;
	font-weight: 500;
}

.parallax .testimonial .testi-meta span {
	font-weight: 300;
	font-size: 14px;
	letter-spacing: 1px;
}


/* Border Form Design
---------------------------------------------------------------------------- */

.form-control.border-form-control {
	--cnvs-input-btn-padding-y : 8px;
	--cnvs-input-btn-font-size : 21px;
	--cnvs-input-font-family: var(--cnvs-primary-font);
	letter-spacing: 1px;
}

.border-form-control::-moz-placeholder { font-weight: 300; }
.border-form-control:-ms-input-placeholder { font-weight: 300; }
.border-form-control::-webkit-input-placeholder { font-weight: 300; }

textarea.border-form-control {
	resize: none;
	overflow: hidden;
	word-wrap: break-word;
}

/* ----------------------------------------------------------------------------
	Footer Widgets
---------------------------------------------------------------------------- */

#footer .widget {
	padding: 30px 0;
	--cnvs-widget-title-margin: 50px;
	--cnvs-widget-title-font-size: 20px;
	--cnvs-widget-title-font-weight: 300;
	--cnvs-widget-title-letter-spacing: 3px;
	--cnvs-widget-title-text-transform: uppercase;
}

#footer .widget ul.footer-site-links li {
	margin: 5px 0;
	font-size: 17px;
	letter-spacing: 1px;
	font-weight: 300;
}


#footer .widget .form-control { text-align: center; }

.widget p.lead {
	font-size: 17px;
	letter-spacing: 1px;
	line-height: 1.6;
}


/* ----------------------------------------------------------------------------
	One Page Module: Slider Specifics
---------------------------------------------------------------------------- */

.one-page-arrow i {
	-webkit-animation-duration: 1.5s !important;
	animation-duration: 1.5s !important;
}


/* Large One Word in Slider
---------------------------------------------------------------------------- */

.opm-large-word { font-size: 116px; }

.device-md .opm-large-word { font-size: 96px; }

.device-sm .opm-large-word { font-size: 72px; }

.device-xs .opm-large-word { font-size: 54px; }


/* Medium One Word in Slider
---------------------------------------------------------------------------- */

.opm-medium-word { font-size: 96px; }

.device-md .opm-medium-word { font-size: 80px; }

.device-sm .opm-medium-word { font-size: 60px; }

.device-xs .opm-medium-word { font-size: 48px; }


/* Medium Before Heading
---------------------------------------------------------------------------- */

.before-heading.opm-medium {
	font-size: 30px;
	font-style: normal;
	margin: 0 0 0 5px;
	line-height: 1;
	letter-spacing: 12px;
}

.device-md .before-heading.opm-medium { font-size: 22px; }

.device-sm .before-heading.opm-medium { font-size: 18px; }

.device-xs .before-heading.opm-medium { font-size: 14px; }


/* Large Counter in Slider
---------------------------------------------------------------------------- */

.opm-large-counter {
	font-size: 480px;
	color: #F2F2F2;
	line-height: 1;
}

.device-md .opm-large-counter { font-size: 360px; }

.device-sm .opm-large-counter { font-size: 220px; }

.device-xs .opm-large-counter { font-size: 150px; }


/* Slider Grid Blocks
---------------------------------------------------------------------------- */

.videoplay-on-hover h2 {
	font-size: 40px;
	font-weight: bold;
}

.device-sm .videoplay-on-hover h2 { font-size: 32px; }

.device-xs .videoplay-on-hover h2 { font-size: 26px; }



/* Content Switch
---------------------------------------------------------------------------- */


.con-switch {
	position: relative;
	display: block;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
}

.con-switch .con-default,
.con-switch .con-show {
	display: block;
	opacity: 1;
	-webkit-transition: opacity .4s ease;
	-o-transition: opacity .4s ease;
	transition: opacity .4s ease;
}

.con-switch .con-show {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	text-align: center;
}

.con-switch:hover .con-show { opacity: 1; }

.con-switch:hover .con-default { opacity: 0; }



/* Hero Video Play Event
---------------------------------------------------------------------------- */

.big-video-button {
	display: inline-block;
	width: 64px;
	height: 64px;
	line-height: 64px;
	border-radius: 50%;
	background-color: #333;
	color: #F5F5F5 !important;
	font-size: 24px;
	text-align: center;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
	opacity: 1;
	-webkit-transition: opacity .3s ease;
	-o-transition: opacity .3s ease;
	transition: opacity .3s ease;
}

.big-video-button:hover {
	opacity: 0.9;
}

.dark .big-video-button,
.big-video-button.dark {
	background-color: #F5F5F5;
	color: #333 !important;
	text-shadow: none;
}

.big-video-button i:nth-of-type(1) {
	position: relative;
	left: 2px;
}

.big-video-button i:nth-of-type(2),
.big-video-button.video-played i:nth-of-type(1) { display: none; }

.big-video-button.video-played i:nth-of-type(2) { display: block; }

.big-video-button.video-played { opacity: 0.1; }

#slider:hover .big-video-button.video-played { opacity: 1; }


.slider-caption h2 {
	font-size: 78px;
	letter-spacing: 3px;
	text-transform: lowercase;
}

.slider-caption p {
	font-weight: 300;
	text-transform: lowercase;
	font-size: 26px;
	line-height: 1.8;
	max-width: 600px;
	margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
}



.testimonials-lg { overflow: visible; }

.testimonials-lg:before {
	position: absolute;
	top: -20px;
	left: -30px;
	content: "“";
	color: rgba(0,0,0,0.07);
	font-size: 144px;
	line-height: 1;
	font-family: 'Passion One';
}

.testimonials-lg .testi-content p {
	font-size: 26px;
	line-height: 1.6;
	font-style: normal;
	font-weight: 300;
	font-family: var(--cnvs-body-font);
	color: #111;
}

.testimonials-lg .testi-content p:before,
.testimonials-lg .testi-content p:after { content:''; }

.testimonials-lg .testi-meta {
	font-size: 14px;
	font-weight: 400;
	margin-top: 30px;
	color: #999;
}

.testimonials-lg .testi-meta span {
	font-size: 13px;
	font-weight: 300;
	color: #BBB;
}

/* ----------------------------------------------------------------------------
	Responsive
---------------------------------------------------------------------------- */


@media (max-width: 991px) {

	#header.transparent-header:not(.sticky-header) #header-wrap {
		background-color: #FFF;
		border-bottom: 1px solid #EEE;
	}

	#header.transparent-header.dark:not(.sticky-header) #header-wrap {
		background-color: #333;
		border-bottom-color: rgba(255,255,255,0.1) !important;
	}

	.dark #header.transparent-header #header-wrap,
	.dark #header.semi-transparent #header-wrap,
	#header.dark.transparent-header #header-wrap,
	#header.dark.semi-transparent #header-wrap {
		background-color: #333;
		border-bottom-color: rgba(255,255,255,0.1);
	}

}


/* ================================================================
	One Page Module demo: ADDITIVE (font shipping) section.
	Everything above this banner is the 1:1 port of the source demo
	stylesheet. The rules below ship the "et-line" icon font the theme
	does not bundle: vendored freely-redistributable files under
	shared/et-line/, and ONLY the glyph classes the demo actually uses
	(services section + the services-carousel hero variant), values
	verbatim from source.
	================================================================ */

@font-face {
	font-family: 'et-line';
	src: url('shared/et-line/et-line.woff2') format('woff2'),
		url('shared/et-line/et-line.woff') format('woff'),
		url('shared/et-line/et-line.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

.icon-et-mobile,
.icon-et-presentation,
.icon-et-puzzle,
.icon-et-gears,
.icon-et-hotairballoon,
.icon-et-genius,
.icon-et-laptop,
.icon-et-book-open,
.icon-et-browser,
.icon-et-paintbrush,
.icon-et-envelope {
	font-family: 'et-line';
	speak: none;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	display: inline-block;
}

.icon-et-mobile:before { content: "\e000"; }
.icon-et-presentation:before { content: "\e00e"; }
.icon-et-puzzle:before { content: "\e026"; }
.icon-et-gears:before { content: "\e02b"; }
.icon-et-hotairballoon:before { content: "\e044"; }
.icon-et-genius:before { content: "\e046"; }
.icon-et-laptop:before { content: "\e001"; }
.icon-et-book-open:before { content: "\e00b"; }
.icon-et-browser:before { content: "\e00c"; }
.icon-et-envelope:before { content: "\e028"; }
.icon-et-paintbrush:before { content: "\e036"; }


/* ================================================================
	One Page Module demo: ADDITIVE (single-page design) section.
	Everything above the et-line banner is the 1:1 port of the source
	demo stylesheet; the et-line section ships the services icon font.
	The rules below style the demo's SINGLE pages: the PORTFOLIO single
	(.single-canvas_portfolio) and the BLOG single (.one-page-post, the
	body class the theme emits automatically on posts carrying the demo's
	_canvas_demo meta), to the One-Page aesthetic, using ONLY demo tokens
	(--cnvs-themecolor #1abc9c, --cnvs-body-font Roboto, --cnvs-primary-font
	Source Sans Pro). Every selector is scoped to one of those two single
	body classes, so nothing reaches the front page (page-id-47) or any
	other demo's singles.
	================================================================ */

/* ---- Shared: page-title band (both singles) -------------------------- */

.single-canvas_portfolio .page-title h1,
.one-page-post .page-title h1 {
	font-family: var(--cnvs-primary-font);
	font-weight: 300;
	letter-spacing: 1px;
}

/* Defensive: keep the article/entry flat, no stray card shadow on the
   demo singles (the base .entry currently carries none; hold that). */
.single-canvas_portfolio .entry,
.one-page-post .entry {
	box-shadow: none;
}


/* ================================================================
	PORTFOLIO single (.single-canvas_portfolio)
	================================================================ */

/* Editorial section labels: echo the home's light, letter-spaced feel. */
.single-canvas_portfolio .portfolio-single-content h2 {
	letter-spacing: .5px;
}

.single-canvas_portfolio .portfolio-related h4 {
	font-family: var(--cnvs-primary-font);
	font-weight: 300;
	letter-spacing: 1px;
}

/* "Completed on" meta: muted uppercase label, body-font value. */
.single-canvas_portfolio .portfolio-meta h5 {
	font-family: var(--cnvs-primary-font);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 12px;
	color: #999;
}

.single-canvas_portfolio .portfolio-meta p {
	font-family: var(--cnvs-body-font);
}

/* Prev / Next project navigation: teal on hover. */
.single-canvas_portfolio .wp-block-canvas-core-portfolio-navigation a:hover {
	color: var(--cnvs-themecolor);
}

/* Related Projects cards, match the home works cards: rounded image,
   teal category links, a subtle hover zoom. */
.single-canvas_portfolio .portfolio-related .portfolio-image {
	border-radius: .6rem;
	overflow: hidden;
}

.single-canvas_portfolio .portfolio-related .portfolio-image img {
	border-radius: .6rem;
	transition: transform .4s ease;
}

.single-canvas_portfolio .portfolio-related .portfolio-item:hover .portfolio-image img {
	transform: scale(1.05);
}

.single-canvas_portfolio .portfolio-related .portfolio-desc h3 {
	font-family: var(--cnvs-primary-font);
	font-weight: 600;
	letter-spacing: .3px;
}

.single-canvas_portfolio .portfolio-related .portfolio-desc h3 > a {
	color: #333;
	transition: color .3s ease;
}

.single-canvas_portfolio .portfolio-related .portfolio-desc h3 > a:hover {
	color: var(--cnvs-themecolor);
}

/* Category links: teal, small uppercase. The category <span> is a
   sibling of the title <h3>, so it is scoped as .portfolio-desc span. */
.single-canvas_portfolio .portfolio-related .portfolio-desc span a {
	color: var(--cnvs-themecolor);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 12px;
	font-weight: 400;
}

.single-canvas_portfolio .portfolio-related .portfolio-desc span a:hover {
	color: #333;
}


/* ================================================================
	BLOG single (.one-page-post)
	================================================================ */

/* Article title: editorial, primary font. */
.one-page-post .entry-title h2 {
	font-family: var(--cnvs-primary-font);
	font-weight: 400;
	letter-spacing: .5px;
}

/* Post meta row: muted uppercase with teal icons / hover. */
.one-page-post .entry-meta ul li {
	font-family: var(--cnvs-body-font);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 12px;
	color: #999;
}

.one-page-post .entry-meta ul li i {
	color: var(--cnvs-themecolor);
}

.one-page-post .entry-meta ul li a {
	color: #999;
}

.one-page-post .entry-meta ul li a:hover {
	color: var(--cnvs-themecolor);
}

/* Featured image rounded. Matches the demo's rounded imagery. */
.one-page-post .entry-image img {
	border-radius: .6rem;
}

/* Content sub-headings in the primary font. */
.one-page-post .entry-content h2,
.one-page-post .entry-content h3,
.one-page-post .entry-content h4 {
	font-family: var(--cnvs-primary-font);
	font-weight: 600;
}


/* ---- Blog single sidebar (demo-styled) ------------------------------- */

.one-page-post .sidebar .widget {
	margin-bottom: 44px;
}

.one-page-post .sidebar .widget-title {
	font-family: var(--cnvs-primary-font);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 3px;
	position: relative;
	padding-bottom: 12px;
	margin-bottom: 24px;
}

.one-page-post .sidebar .widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 2px;
	background: var(--cnvs-themecolor);
}

/* Recent Posts: clean rows, muted dates, teal hover. */
.one-page-post .sidebar .wp-block-latest-posts__list li {
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid rgba(var(--cnvs-contrast-rgb), .06);
}

.one-page-post .sidebar .wp-block-latest-posts__list li:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.one-page-post .sidebar .wp-block-latest-posts__post-title {
	font-family: var(--cnvs-primary-font);
	font-weight: 600;
	color: #333;
	transition: color .3s ease;
}

.one-page-post .sidebar .wp-block-latest-posts__post-title:hover {
	color: var(--cnvs-themecolor);
}

.one-page-post .sidebar .wp-block-latest-posts__post-date {
	display: block;
	margin-top: 3px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #aaa;
}

/* Categories: spaced rows, teal links. */
.one-page-post .sidebar .wp-block-categories li {
	padding: 6px 0;
}

.one-page-post .sidebar .wp-block-categories a {
	font-family: var(--cnvs-body-font);
	color: var(--cnvs-themecolor);
	transition: color .3s ease;
}

.one-page-post .sidebar .wp-block-categories a:hover {
	color: #333;
}

/* Tag Cloud: themecolor-bordered pill/chips at a uniform size
   (font-size !important overrides WP's inline per-tag sizing). */
.one-page-post .sidebar .wp-block-tag-cloud a.tag-cloud-link {
	display: inline-block;
	margin: 0 6px 8px 0;
	padding: 6px 14px;
	border: 1px solid rgba(var(--cnvs-themecolor-rgb), .35);
	border-radius: 3px;
	font-family: var(--cnvs-body-font);
	font-size: 11px !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--cnvs-themecolor);
	transition: all .3s ease;
}

.one-page-post .sidebar .wp-block-tag-cloud a.tag-cloud-link:hover {
	background: var(--cnvs-themecolor);
	border-color: var(--cnvs-themecolor);
	color: #fff;
}
