/*
 * Page - Model: sections - View: default
 * =========================================
 * default  View file for Page component sections model, contains standard methods and properties
 * for use by page_controller.inc.php
 *
 * @package VCMS
 * @subpackage page
 * @model sections
 * @since 6-Jan-2022
 * @author Simon
 * @copyright Little Fire Digital Ltd 6-Jan-2022
*/

.section_wrapper {
	overflow-x: hidden;
}

section > .panel_wrapper {
	margin-left: auto;
	margin-right: auto;
}

main {
	padding-bottom: 0;
}

.section_navigation  {
	position: fixed;
	right: 1em;
	top: 25%;
	height: 50%;
	display: flex;
	flex-direction: column;
    justify-content: space-between;	
	z-index: 10;
	width: 1em;
	transition: opacity 1s ease;
}

.section_navigation a {
	display: block;
	position: relative;
	opacity: .5;
	max-width: 1em;
	min-width: 1em;
	max-height: 1em;
	min-height: 1em;
	transition: opacity 1s ease;
}

.nav_dot {	
	border-radius: 50%;
	background-color: var(--primary-color);
	transition: background-color 1s ease;
}

.nav_dot.section_up,
.nav_dot.section_down {
	left: 50%;
	transform: translateX( -50% );
	z-index: 10;
	transition: all 1s ease;
	min-width: 2rem;
	max-height: 2rem;
	min-height: 2rem;
	line-height: 2rem;
	font-weight: bold;
	position: fixed;
	text-align: center;
	border-radius: 1rem;
	padding: 0 .5rem;
}

.nav_dot.section_up > span,
.nav_dot.section_down > span {
	display: inline-block;
}

.nav_dot.section_up > span + span,
.nav_dot.section_down > span + span {
	padding-left: .5rem;
}

.nav_dot.section_up {
	top: 2vh;
}

.nav_dot.section_down {
	bottom: 2vh;
}
*[data-bg=primary] ~ .nav_dot,
*[data-bg=primary] + * .nav_dot {
	background-color: var(--accent-color);
}

.section_navigation  a.active,
.section_navigation  a:hover {
	opacity: 1;
}

.section_wrapper.full_screen > section {
	min-width: 100vw;
	min-height: 100vh;
}

.section_wrapper > section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	background-size: cover;
}

.section_wrapper > .filler_div {
	width: 100%;
	content: '';
	position: relative;
	background-attachment: fixed;
	-webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)), to(rgba(0,0,0,1)));
}

.section_wrapper > *[data-bgImage] {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center;

}

.section_wrapper.effects > section > div.panel_wrapper {
	transition: opacity 2s ease, padding-top 2s ease; 
}

.section_wrapper.effects > section.new > div.panel_wrapper {
	padding-top: 5em;
	opacity: 0;	
}
.section_wrapper section.has_video {
	overflow: hidden;
}

.section_wrapper section > video {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.section_wrapper section > video + .panel_wrapper {
	z-index: 1;
}


@media ( max-width: 800px ) {

	.section_navigation {
		display: none;
	}

}	
