/*----------------------------------------------------------------
	Canvas Demo: Business

	Design stylesheet for the Business demo. Ported as-authored;
	only the relative url() paths are rewritten so they resolve
	next to this file (business/images/), and the additive
	section at the end supplies the icon font the theme does not
	ship. Loaded only while the Business demo is active.
-----------------------------------------------------------------*/

:root {
	--cnvs-themecolor: #00BED7;
	--cnvs-themecolor-rgb: 0, 190, 215;

	--cnvs-primary-font: 'Poppins', sans-serif;
	--cnvs-body-font: 'Open Sans', sans-serif;
	--cnvs-secondary-font: var(--cnvs-body-font);
}

#header {
	--cnvs-primary-menu-font-weight: 500;
	--cnvs-primary-menu-font-size:	1rem;
	--cnvs-primary-menu-tt:	none;
	--cnvs-primary-menu-ls:	0;
	--cnvs-primary-menu-submenu-font-size:	0.875rem;
	--cnvs-primary-menu-submenu-font-weight:	400;
	--cnvs-primary-menu-submenu-hover-font-weight: 500;
	--cnvs-primary-menu-submenu-tt:	none;
}

.is-expanded-menu .mega-menu-style-2 .mega-menu-title > .menu-link {
	font-size: calc(var(--cnvs-primary-menu-submenu-font-size) * 0.9);
}


/*	Primary Menu Header size
-----------------------------------------------------------------*/
@media (min-width: 992px) {

	.menu-link {
		text-transform: none;
		font-weight: 500;
	}

	.menu-container > .menu-item > .menu-link div { position: relative; }

	.menu-container > .menu-item > .menu-link div::after {
		opacity: 0;
		content: '';
		background : url('business/images/border.svg') no-repeat;
		position: absolute;
		bottom: -3px;
		left: 0;
		text-align: center;
		margin: 0 auto;
		width: 100%;
		height: 4px;
		transition: all .3s ease;
	}

	.dark .menu-container > .menu-item > .menu-link div::after { background : url('business/images/border-white.svg') no-repeat; }

	/*
	 * "You are here" underline. The design source's static HTML hand-writes
	 * `class="menu-item active"` on the current item, but `active` is not the
	 * theme's active-item vocabulary: every menu rule in the theme stylesheet
	 * keys off `.menu-item.current` (16 of them), and the nav walker bridges
	 * WordPress's own `current-menu-item` / `current_page_item` identities to
	 * that same `current` token. `.active` is emitted by nothing, so ported
	 * verbatim this selector matched no element and the current item rendered
	 * with the underline permanently at `opacity: 0`, the hover twin below was
	 * the only half of the rule that ever fired. Adapted to the token the theme
	 * actually emits, which is the whole point of a port.
	 */
	.menu-container > .menu-item.current > .menu-link > div::after,
	.menu-container > .menu-item:hover > .menu-link > div::after {
		bottom: -1px;
		opacity: 1;
	}

	img.man { margin-left: 100px; }
	.section.parallax { padding: 160px 0; }
}

/* Slider Area
-----------------------------------------------------------------*/
.slider-caption h2 {
	text-transform: none;
	letter-spacing: 0;
	line-height: 1;
	font-size: 72px;
	line-height: 1.3;
	margin-bottom: 10px;
}

.slider-caption p {
	font-size: 18px;
	margin-bottom: 20px;
}

.slider-caption h2,
.slider-caption p,
.slider-caption .button {
	opacity: 0;
	transform: scale(0.9);
	-webkit-transform-origin: 50% 50% 0px;
	transform-origin: 50% 50% 0px;
	transition: -webkit-transform .05s ease-out;
	transition: transform .05s ease-out;
	transition: transform .05s ease-out, -webkit-transform .05s ease-out;
	backface-visibility: hidden;
}

.swiper-slide.swiper-slide-active .slider-caption h2,
.swiper-slide.swiper-slide-active .slider-caption p,
.swiper-slide.swiper-slide-active .slider-caption .button {
	opacity: 1;
	transition: transform 1s, opacity 1.05s;
	transform: scale(1);
	backface-visibility: hidden;
}

.swiper-slide.swiper-slide-active .slider-caption p {
	-webkit-transition-delay: 0.3s;
	transition-delay: 0.3s;
}

.swiper-slide.swiper-slide-active .slider-caption .button {
	-webkit-transition-delay: 0.6s;
	transition-delay: 0.6s;
}

.one-page-arrow { bottom: 30px; }
.one-page-arrow .animated {
	-webkit-animation-duration: 2s;
	animation-duration: 2s;
}

.slider-arrow-left i,
.slider-arrow-right i {
	font-size: 34px;
	transition: all .3s ease;
}

.slider-arrow-left,
.slider-arrow-right,
.owl-carousel-full .owl-nav [class*=owl-] {
	transition: all .3s ease;
	transform: scale(1);
}

.slider-arrow-left:hover,
.slider-arrow-right:hover,
.owl-carousel-full .owl-nav [class*=owl-]:hover {
	background-color: transparent !important;
	transform: scale(1.3);
}

/* Feaured Carousel
-----------------------------------------------------------------*/
#oc-features .owl-item:not(.active) { opacity: .4; }

#oc-features .owl-item p {
	font-size: 16px;
	font-weight: 300;
	color: #666;
}

/* Button-link
-----------------------------------------------------------------*/
.button-link {
	display: inline-block;
	position: relative;
	color: #333;
	font-weight: 600;
	margin-top: 10px;
	padding: 5px 0;
	transition: color .3s ease;
}

.dark .button-link { color: #FFF; }

.button-link:hover { color: var(--cnvs-themecolor); }

.button-link::after {
	content: '';
	background : url('business/images/border.svg') no-repeat;
	position: absolute;
	bottom: 0px;
	left: 0;
	margin-bottom: 0;
	width: 100%;
	height: 4px;
	transition: bottom .3s ease;
}

.button-link.border-0::after { content: none; }
.button-link:hover::after { bottom: 3px; }


/* Owl Carousel - Controls - Arrows
-----------------------------------------------------------------*/
.owl-carousel-full .owl-nav [class*=owl-] {
	left: 150px !important;
	height: 60px;
	line-height: 60px;
	border: none;
	color: #333;
	background-color: transparent;
	font-size: 28px;
	border-radius: 0;
}

.owl-carousel .owl-nav .owl-next {
	left: auto;
	right: -155px;
}

.owl-carousel-full  .owl-nav .owl-next {
	left: auto !important;
	right: 155px !important;
	border-radius: 0;
}

.owl-carousel-full .owl-nav [class*=owl-]:hover { color: #333 !important; }

/* Owl Carousel - Responsive
-----------------------------------------------------------------*/
.device-lg .owl-carousel .owl-nav .owl-prev,
.device-md .owl-carousel .owl-nav .owl-prev,
.device-sm .owl-carousel .owl-nav .owl-prev,
.device-xs .owl-carousel .owl-nav .owl-prev { left: 2px !important; }

.device-lg .owl-carousel-full  .owl-nav .owl-next,
.device-md .owl-carousel-full  .owl-nav .owl-next,
.device-sm .owl-carousel-full  .owl-nav .owl-next,
.device-xs .owl-carousel .owl-nav .owl-next { right: 2px !important; }

/* Grid Filter
-----------------------------------------------------------------*/
.grid-filter li.activeFilter a { font-weight: normal; }
.grid-overlay { background-color: rgba(0, 0, 0, 0.75); }


/* Testimonial
-----------------------------------------------------------------*/
.testimonials-rating {
	margin-top: 15px;
	color: #FFD700;
	font-size: 18px;
	line-height: 1;
}

.testi-content p {
	font-size: 16px;
	color: #666;
	font-style: normal;
}

.testi-content p::before,
.testi-content p::after { display: none; }

.testi-meta::before { display: none; }
.testi-meta span { padding-left: 0; }

.testimonial .flex-control-nav {
	bottom: 8px;
	right: 0px;
}
.testimonial .flex-control-nav li a { background-color: #333; }

/* Footer
-----------------------------------------------------------------*/
.widget > h4 {
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0;
}

.widget_links li,
.widget_links li a {
	background-image: none !important;
	padding-left: 0;
	color: #999;
	font-size: 13px;
	font-weight: 300;
	padding-top: 1px;
}

.social-icon.si-mini {
	--cnvs-socialicon-size: 1.75rem;
	--cnvs-socialicon-fontsize: 0.75rem;
	margin-bottom: 0;
}

/* Misc
-----------------------------------------------------------------*/
#header, #header-wrap, #logo img {
	transition: all .4s ease;
}

.feature-box h3 span.subtitle { font-size: 14px; }

.feature-box.fbox-plain .fbox-icon img { height: 50px; }

.col-padding {padding: 100px 60px !important; }

.heading-block::before {
	content: attr(data-heading);
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	color: var(--cnvs-contrast-200);
	z-index: -1;
	font-family: var(--cnvs-primary-font);
	font-weight: bold;
	font-size: 90px;
	line-height: .3;
}

.heading-block.center::before {
	right: 0;
	left: 0;
	margin: auto;
}

.text-rotater {
	display: inline-block;
	font-weight: 300;
	font-size: 20px;
	line-height: 1.7;
	color: var(--cnvs-contrast-600);
}




/* ----------------------------------------------------------------
	Demo-scoped additions (not part of the 1:1 ported body above)

	Demo-scoped "et-line" icon font: the design's About section
	icons use the freely-redistributable et-line glyph set, which
	the theme's shipped icon fonts do not include. The font files
	live next to this stylesheet (shared/et-line/) so imported
	sites resolve them with no URL remapping. Only the glyph
	classes this demo uses are declared. Values verbatim from the
	et-line set.
-----------------------------------------------------------------*/

@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-globe, .icon-et-gears, .icon-et-document {
	font-family: 'et-line';
	speak: none;
	font-style: normal;
	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-document:before {
	content: "\e005";
}
.icon-et-gears:before {
	content: "\e02b";
}
.icon-et-globe:before {
	content: "\e045";
}


/* ----------------------------------------------------------------
	Blog archive and single (demo-scoped)

	The blog archive, the post single and the project single are drawn
	by the site-wide templates, not by this demo's own pages, so they
	need the demo's type and colour applying to them here. The sidebar
	is the important part: those widgets render as core block markup
	(.wp-block-latest-posts, .wp-block-categories, .tag-cloud-link),
	which the framework's widget styles do not reach, so without this
	an unstyled column sits beside a styled article. Only this demo's
	own tokens are used, and every rule is scoped to a body class the
	theme adds only while this demo is active.
-----------------------------------------------------------------*/

.business-archive .entry-title h2,
.business-archive .entry-title h3 {
	font-family: var(--cnvs-primary-font);
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

.business-archive .entry-title h2 a,
.business-archive .entry-title h3 a { color: var(--cnvs-contrast-900); }

.business-archive .entry-title h2 a:hover,
.business-archive .entry-title h3 a:hover { color: var(--cnvs-themecolor); }

.business-archive .entry-meta li,
.business-post .entry-meta li {
	font-family: var(--cnvs-body-font);
	font-size: 13px;
	font-weight: 300;
}

.business-archive .entry-meta li a:hover,
.business-post .entry-meta li a:hover { color: var(--cnvs-themecolor); }

.business-post .entry { box-shadow: none; }

/* Sidebar: core block widgets the framework's widget CSS does not cover. */
.business-post .sidebar .widget-title,
.business-post .sidebar .widget h4,
.business-post .sidebar .wp-block-heading,
.business-archive .sidebar .widget-title,
.business-archive .sidebar .wp-block-heading {
	font-family: var(--cnvs-primary-font);
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
}

.business-post .sidebar .wp-block-latest-posts__list,
.business-post .sidebar .wp-block-categories-list,
.business-archive .sidebar .wp-block-latest-posts__list,
.business-archive .sidebar .wp-block-categories-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.business-post .sidebar .wp-block-latest-posts__list li,
.business-post .sidebar .wp-block-categories-list li,
.business-archive .sidebar .wp-block-latest-posts__list li,
.business-archive .sidebar .wp-block-categories-list li {
	padding: 4px 0;
	border-bottom: 1px solid var(--cnvs-contrast-200);
}

.business-post .sidebar .wp-block-latest-posts__list li:last-child,
.business-post .sidebar .wp-block-categories-list li:last-child,
.business-archive .sidebar .wp-block-latest-posts__list li:last-child,
.business-archive .sidebar .wp-block-categories-list li:last-child { border-bottom: 0; }

.business-post .sidebar .wp-block-latest-posts__list a,
.business-post .sidebar .wp-block-categories-list a,
.business-archive .sidebar .wp-block-latest-posts__list a,
.business-archive .sidebar .wp-block-categories-list a {
	font-family: var(--cnvs-body-font);
	font-size: 13px;
	font-weight: 300;
	color: var(--cnvs-contrast-600);
}

.business-post .sidebar .wp-block-latest-posts__list a:hover,
.business-post .sidebar .wp-block-categories-list a:hover,
.business-archive .sidebar .wp-block-latest-posts__list a:hover,
.business-archive .sidebar .wp-block-categories-list a:hover { color: var(--cnvs-themecolor); }

/*
 * WordPress sets a per-tag inline font-size on every tag-cloud link, so the
 * cloud arrives as a jumble of sizes; !important is the only way to normalise
 * it without editing the markup.
 */
.business-post .sidebar .tag-cloud-link,
.business-archive .sidebar .tag-cloud-link {
	font-family: var(--cnvs-body-font);
	font-size: 12px !important;
	font-weight: 300;
	display: inline-block;
	margin: 0 4px 4px 0;
	padding: 3px 10px;
	border: 1px solid var(--cnvs-contrast-200);
	border-radius: 2px;
	color: var(--cnvs-contrast-600);
}

.business-post .sidebar .tag-cloud-link:hover,
.business-archive .sidebar .tag-cloud-link:hover {
	border-color: var(--cnvs-themecolor);
	color: var(--cnvs-themecolor);
}
