/* Hero - CSS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
		

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

#hero-container
{
	display: grid;
}

#hero
{
	display: grid;
	
	background: var( --colour1 );
	
	/*background: #111;*/
	
	grid-row: 3;
	grid-column: 1;
	z-index: 3;
	
	overflow: hidden;
	height: calc( 100vh + 400px );
	
	margin-bottom: 5vh;
}


@media( min-width: 768px )
{
	#hero
	{
		grid-row: 1;
	}
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.hero-img
{	
	grid-row: 1;
	grid-column: 1;
	z-index: 1;
	width: 100%;
}

.hero-cover 
{
    grid-row: 1;
    grid-column: 1;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: url("../img/slides/slide-1m.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.25;
    display: grid;
    overflow: hidden;
}

@media(min-width: 992px) {
    .hero-cover {
        background-attachment: fixed;
    }
}

@media(min-width: 768px) {

    .hero-cover {
        background: url("../img/slides/slide-1.jpg");
        background-size: cover;
    	background-attachment: fixed;
    	background-position: center center;
    	background-repeat: no-repeat;
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.hero-more h2
{
	color: #fff;
}

.hero-more
{
	justify-content: center;
	margin-top: -385px;
	z-index: 10;
	align-content: start;
}

.hero-more-chevron
{
	color: #fff;
	font-size: 32px;
	justify-self: center;
	margin-bottom: -40px;
}

.inner-curve
{
	margin-top: -445px;
	z-index: 5;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.hero-content
{
	display: grid;
	
	width: 512px;
	grid-row: 1;
	grid-column: 1;
	z-index: 6;
	align-self: end;
	justify-self: center;
	
	margin-bottom: 0px;
	
	transition: all ease 1.5s;	
	
	opacity: 0;
	
	max-width: 80vw;
}
/*
.hero-content a {
    margin-top: 32px;
    margin-bottom: -2px;

    justify-self: center;
    color: var(--colour1) !important;
    background-color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 32px;
    transition: all ease .3s;
}

.hero-content a h4 {
    color: var(--colour1) !important;
}

.hero-content a:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(0.95);
}
*/

.hero-line
{
	grid-row: 1;
	grid-column: 1;
	z-index: 6;
	width: 2px;
	height: 0px;
	background-color: #fff;
	
	align-self: end;
	justify-self: center;
	
	transition: height ease 1.5s;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.hero-content p
{
	color: #fff;
	text-align: center;
	justify-self: center;
}

.hero-content h3
{
	color: #fff;
	letter-spacing: 2px;
	font-weight: 400;
	justify-self: center;
}

.hero-content h1
{
	color: #fff;
	letter-spacing: 4px;
	font-weight: 700;
	justify-self: center;
	margin: 4px 0 16px;
	font-size: 40px;
	text-align: center;
}

.hero-content h4
{
	color: #fff;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.hero-sub-page 
{
	height: calc(40vh + 400px ) !important;
	min-height: 700px;
}

.sub-hero-content
{				
	/*margin-bottom: 40vh!important;*/
	margin-bottom: max( 40vh, 300px)!important;
}

.main-hero
{
	height: max(calc(100vh + 400px), 1000px)!important;
}

.main-hero-content
{
	margin-bottom: max(calc(200px + 50vh), 256px);
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

.inner-curve
{				
	margin-top: -445px;
	z-index: 5;
}

.bottom-element
{
	padding-bottom: 33vw;
	margin-bottom: var( --footeradjust );
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
	
.half-circle-mask 
{
	position: relative;
	width: 100%;
	height: 25vw;
	overflow: hidden;
}

.half-circle-mask::before 
{
    content: "";
    position: absolute;
    top: 0;
    left: -10vw;
    width: 120vw;
    height: 100%;
    background-size: cover;
    background-position: center;
    /*background-attachment: fixed;*/
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    z-index: 10;
}

@media(min-width: 768px) 
{
    .half-circle-mask::before 
    {
        background: url("../img/slides/slide-1.jpg");
        background-size: cover;
    	background-attachment: fixed;
    	background-position: center center;
    	background-repeat: no-repeat;
    }
}
	
.half-circle-mask::after
{
	content: "";
	position: absolute;
	top: 0;
	left: -10vw;
	width: 120vw;
	height: 100%;
	
	background: var( --colour1 );
	opacity: 0.8;
	
	border-top-left-radius: 50% 100%;
	border-top-right-radius: 50% 100%;
	z-index: 11;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

#footer
{
	background-image: url("../img/slides/slide-1.jpg"); 
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}
	
#footer::after
{
	content: "";
	
	background:  var( --colour1 );
	opacity: 0.8;
	
	z-index: 11;
	
	grid-row: 1;		
	grid-column: 1;

	width: 100%;
}
	
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
	
@media( min-width: 768px )
{
	#footer::after
	{
		grid-column: 1 / span 3;
	}
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
	
#footer .workspace 
{
    grid-row: 1;
    grid-column: 2;
    z-index: 12;
    width: 100%
}

@media(min-width: 768px)
{
    #footer .workspace 
    {
        grid-column: 2;
    }
}

@media(min-width: 1200px) {
    #footer .workspace {
        margin-top: -325px;
    }
}

#footer .heading
{
	justify-content: center;
	margin-bottom: 32px;
}

#footer h2, #footer h1 
{
	color: #fff;
	/*color: color-mix(in lab, var( --colour1 ) 40%, #111 60%);*/
}
		
@media(max-width: 768px) {
    .half-circle-mask::after {
        opacity: 1;
    }

    #footer {
        background: none;
        background-color: var( --colour1 );
    }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */

