/* ----------------------------------------------------------------
	Canvas: Bike

	Demo stylesheet. The body below is the design's own stylesheet,
	ported verbatim; the one asset URL is rewritten to the support
	folder that ships beside this file. Additive sections follow the
	ported body and are marked as such.
-----------------------------------------------------------------*/

:root{
	--cnvs-themecolor: #E83C3C;
	--cnvs-themecolor-rgb: 232, 61, 61;
	--cnvs-color-light: #EAF4F4;

	--cnvs-body-font: 'Roboto', sans-serif;
	--cnvs-primary-font: 'Istok Web', sans-serif;

	--cnvs-header-height: 70px;
	--cnvs-header-bg: var(--cnvs-color-light);
}

#header {
	--cnvs-primary-menu-font-weight:     	600;
	--cnvs-primary-menu-font-size:       	14px;
}



.bg1 { background-color: var(--cnvs-color-light); }

#content p:not(.lead) {
	font-size: 15px;
	line-height: 1.7;
}

.button-shadow:not(:hover) {
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	transform: translateY(-1px);
}

.section-curve::after {
	height: 50px;
	background-image: url('bike/images/curve.svg');
	background-size: 100% 100%;
	content: '';
	display: block;
	position: absolute;
	width: 100%;
	z-index: 0;
	bottom: 0;
}

#ytb-video { cursor: pointer }

#ytb-video-button.play-icon {
	position: absolute;
	display: block;
	left: 50%;
	top: 50%;
	width: 60px;
	height: 60px;
	line-height: 61px;
	margin-top: -31px;
	margin-left: -31px;
	transition: transform .3s ease;
}

#ytb-video:hover .play-icon {
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
}

#ytb-video-button.play-icon i {
	width: 60px;
	height: 60px;
	line-height: 61px;
	font-size: 24px;
	color: #000;
	text-align: center;
	border-radius: 50%;
	background-color: #FFF;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
	z-index: 2;
	transition: all .3s ease;
}

#ytb-video:hover .play-icon i {
	background-color: red;
	color: #FFF;
}

#ytb-video-button.play-icon i.icon-play { padding-left: 4px; }

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

.video-played #ytb-video-button.play-icon i:nth-of-type(2) { display: block; }

#ytb-video:not(:hover) i:nth-of-type(2) { opacity: 0; }

.ytb-card { margin-top: -430px; }

.device-xs .ytb-card { margin-top: -310px; }


.showcase-section .showcase-target { display: none; }

.showcase-section .showcase-target.showcase-target-active { display: block; }

.showcase-section ul { list-style: none; }

.showcase-section ul li {
	display: block;
	position: relative;
	padding: 24px 0;
	cursor: pointer;
	border-top: 1px solid #F0F2F6;
}

.showcase-section ul li:first-child {
	padding-top: 0;
	border-top: 0;
}

.showcase-section ul li h3 {
	display: block;
	position: relative;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 5px;
}

.showcase-section ul li p {
	font-weight: 400;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 0;
	color: #777;
}

.showcase-section ul li h3::before {
	opacity: 0;
	content: "\f0da";
	font-family: 'fontawesome';
	position: absolute;
	margin-left: -20px;
	top: -2px;
	-webkit-transition: margin-left .3s ease, opacity .3s ease;
	-ms-transition: margin-left .3s ease, opacity .3s ease;
	-o-transition: margin-left .3s ease, opacity .3s ease;
	transition: margin-left .3s ease, opacity .3s ease;
}

.showcase-section ul li.showcase-feature-active h3::before {
	opacity: 1;
	margin-left: -15px;
}

.showcase-section ul li.showcase-feature-active h3 { color: var(--cnvs-themecolor); }

.showcase-section .showcase-target {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	opacity: 0;
	width: 100%;
	-webkit-transform: translateX(-10px);
	-ms-transform: translateX(-10px);
	-o-transform: translateX(-10px);
	transform: translateX(-10px);
	-webkit-transition: all .3s .1s ease;
	-o-transition: all .3s .1s ease;
	transition: all .3s .1s ease;
	-webkit-backface-visibility: hidden;
}

.showcase-section .showcase-target.showcase-target-active {
	opacity: 1;
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	-o-transform: translateX(0);
	transform: translateX(0);
	z-index: 9;
}

.showcase-section .showcase-target:first-child { position:  relative; }

.heading-block p { font-size: 17px; }


.skill-progress-percent.skill-animated::after {
	content: "\f061";
	font-family: 'FontAwesome';
	color: var(--cnvs-themecolor);
	position: absolute;
	right: -8px;
	top: -20px;
	font-size: 30px;
}

.skill-progress-percent::before {
	width: 20px;
	height: 20px;
	content: '';
	position: absolute;
	top: -8px;
	left: 0;
	background-color: #FFF;
	border: 4px solid var(--cnvs-themecolor);
	border-radius: 50%;
}

.skill-progress-indicator {
	position: absolute;
	top: -50px;
	right: -20px;
	padding: 5px 10px;
	text-align: center;
	background-color: #FFF;
	-webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,0.24);
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.24);
	width: auto;
	height: auto;
	font-size: 15px;
	line-height: 16px;
	text-shadow: none;
	color: #232D41;
}

.skill-progress-indicator::before {
	display: none;
}
.skill-progress-indicator::after {
	background-color: #fff;
	border: none;
	position: absolute;
	z-index: 2;
	width: 8px;
	height: 8px;
	content: ' ';
	-webkit-transform-origin: center bottom;
	transform-origin: center bottom;
	-webkit-transform: translateX(-14%) translateY(-69%) rotate(45deg);
	transform: translateX(-14%) translateY(-69%) rotate(45deg);
	border-radius: 2px;
	left: 50%;
	-webkit-box-shadow: 2px 2px 4px 0 rgba(0,0,0,0.24);
	box-shadow: 2px 2px 4px 0 rgba(0,0,0,0.24);
	bottom: -8px;
	margin-left: -4px;
}

.irs-bar-edge,
.irs-line-mid,
.irs-line-left,
.irs-line-right { background-color: rgba(232, 60, 60, 0.3); }

.portfolio-desc h3 {
	font-size: 14px;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0px;
	margin-bottom: 0;
}

.portfolio-desc h6 {
	margin-bottom: 0;
	font-size: 15px;
	font-weight: 400;
}

@media (min-width: 992px) {

	.ytb-card { max-width: 820px; }

	.portfolio-item { transition: transform .3s ease; }

	.portfolio-item:hover {
		transform: translateY(-5px);
	}

}


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

	Demo-scoped "et-line" icon font: the counter band's bicycle
	glyph comes from the freely-redistributable et-line 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 one glyph class
	this demo uses is 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-bike {
	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-bike:before {
	content: "\e042";
}


/* ----------------------------------------------------------------
	Blog archive, post single and store views (demo-scoped)

	The journal index, the post single and the product views are
	drawn by the site-wide templates rather than by this demo's own
	pages, so the demo's type, colour and card treatment are applied
	to them here. The sidebar matters most: those widgets render as
	core block markup, 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 while the demo is active.
-----------------------------------------------------------------*/

.bike-archive .entry-title h2,
.bike-archive .entry-title h2 a,
.bike-post .entry-title h1,
.bike-post .entry-title h2 {
	font-family: var(--cnvs-primary-font);
	font-weight: 600;
	letter-spacing: -0.5px;
	text-transform: none;
}

.bike-archive .entry-title h2 a:hover,
.bike-post .entry-meta a:hover { color: var(--cnvs-themecolor); }

.bike-archive .entry,
.bike-post .entry { box-shadow: none; }

.bike-archive .entry-image img,
.bike-post .entry-image img { border-radius: 4px; }

.bike-archive .entry-meta,
.bike-post .entry-meta { font-size: 13px; }

.bike-post .entry-content p:not(.lead) {
	font-size: 15px;
	line-height: 1.7;
}

.bike-post .entry-content .lead { color: #444; }

.bike-archive .sidebar .widget,
.bike-post .sidebar .widget { margin-bottom: 40px; }

.bike-archive .sidebar .widget > h4,
.bike-post .sidebar .widget > h4,
.bike-archive .sidebar .wp-block-heading,
.bike-post .sidebar .wp-block-heading {
	font-family: var(--cnvs-primary-font);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 16px;
}

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

.bike-archive .sidebar .wp-block-latest-posts__list li,
.bike-post .sidebar .wp-block-latest-posts__list li,
.bike-archive .sidebar .wp-block-categories li,
.bike-post .sidebar .wp-block-categories li {
	border-bottom: 1px solid #F0F2F6;
	padding: 8px 0;
	font-size: 14px;
}

.bike-archive .sidebar a,
.bike-post .sidebar a { color: #333; }

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

.bike-archive .sidebar .tag-cloud-link,
.bike-post .sidebar .tag-cloud-link {
	background-color: var(--cnvs-color-light);
	border-radius: 2rem;
	display: inline-block;
	font-size: 12px !important;
	margin: 0 4px 6px 0;
	padding: 5px 12px;
}

.bike-archive .sidebar .tag-cloud-link:hover,
.bike-post .sidebar .tag-cloud-link:hover {
	background-color: var(--cnvs-themecolor);
	color: #FFF;
}

/* The rental item single: the catalogue's own card aesthetic applied to the
   item page and its related row. */

.bike-single .single-rental-media img { border-radius: 4px; }

.bike-single .rental-category {
	color: var(--cnvs-themecolor);
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 3px;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.bike-single a.rental-category:hover { color: #333; }

.bike-single .rental-attributes {
	border-top: 1px solid rgba(0, 0, 0, 0.075);
	list-style: none;
	margin: 0 0 24px;
	padding: 16px 0 0;
}

.bike-single .rental-attributes li {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
}

.bike-single .rental-attributes .attr-label {
	color: rgba(0, 0, 0, 0.5);
	font-size: 13px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.bike-single .rental-attributes .attr-value {
	font-weight: 600;
	letter-spacing: 0;
}

.bike-single .single-rental-cta { margin-top: 24px; }

.bike-single .single-rental-book,
.bike-single .single-rental-back {
	letter-spacing: 0;
	margin: 0;
	text-transform: none;
}

.bike-single .single-rental-footer {
	border-top: 1px solid rgba(0, 0, 0, 0.075);
	margin-top: 60px;
	padding-top: 50px;
}

.bike-single .related-rentals { margin-top: 40px; }

.bike-single .related-rentals-title {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.5px;
	margin-bottom: 30px;
	text-transform: none;
}
