/* CSS Document */


:root {
    margin: 0;
    padding: 0;
    --primary: #512d82;
    --secondary: #80bdb8;
    --secondarylight: rgba(204, 244, 5, 0.1);
    --background: #fff7e3;
    --textdark: #1d1d1d;
    --textlight: #FFFFFF;
    --primarylight: #C4C5CE;
    --shadow: #464646;
    --heading-fonts: "Montserrat", sans-serif;
    --body-fonts: "Montserrat", sans-serif; 
    --line-height: 1.4;
    --section-max-width: 1640px;
    --section-width: calc(100% - 3em);
    --sectionpadding: 70px;
    --transition: 0.3s;
    --large-header-height: 90px;
    --small-header-height: 70px;
    --bodytext: 1.125em;
    --mobilebodytext: 1em;
    --footertext: 0.875em;
    --captiontext: 0.875em;
    --heading-font-optical-sizing: auto;
    --body-font-optical-sizing: auto;
}


.no-animations *,
.no-animations *::before,
.no-animations *::after {
  animation: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

#toggle-animations {
    position: fixed;
    z-index: 1;
    bottom: 20px;
    left: 20px;
    background-color: var(--primary);
    box-sizing: border-box;
    width: 74px;
    height: 74px;
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 0.625em;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    border-radius: 20px;
    border: 2px solid var(--textlight);
    -moz-box-shadow: 0px 0px 7px rgba(0,0,0,.4);
    -webkit-box-shadow: 0px 0px 7px rgba(0, 0, 0, .4);
    box-shadow: 0px 0px 7px rgba(0, 0, 0, .4);
    transition: 0.3s;
    z-index: 10;
}

#toggle-animations:hover {
    background-color: var(--secondary);
}

#toggle-animations::before {
    display: block;
    content: "";
    width: 14px;
    height: 16px;
    border-color: transparent transparent transparent #ffffff;
    border-width: 0px 0 0px 14px;
    border-style: solid;
    transition: 100ms all ease;
    margin: 0 auto 7px auto;
    border-style: double;
}

.no-animations #toggle-animations::before {
    border-style: solid;
    border-width: 8px 0 8px 13px;
}






/* --------------Cookies-------------------------------------- */




/*--------------------------------TEXT--------------------------------*/


#survey p strong{
    color: white;
}
p.page-no {
    font-weight: 600;
    margin-bottom: 45px;
    color: var(--primary);
    width: 100%;
}

.section-wrap:nth-child(3n) p.page-no,
.section-wrap:nth-child(3n+1) p.page-no {
    color: var(--textlight);
}

h1, h2, h3 {
    font-family: var(--heading-fonts);
}

#welcome h3 {
    font-family: var(--body-fonts);
    line-height: 1.4;
}

h1 {
    color: var(--primary);
}

h1 span {
    color: var(--primary);
}


h1 strong {
    color: var(--secondary);
}

h2 {
    color: var(--textdark);
    font-weight: 700;
    text-transform: uppercase;
}

#welcome h2 {
    color: var(--primary);
    font-weight: 400;
}

.section-wrap:nth-child(3n) h2 {
   /* color: var(--secondary);*/
}

h3.sentence {
    font-weight: 640;
    text-transform: uppercase;
}

h3 {
    color: var(--textdark);
    font-weight: bold;
}

h3 strong {
    color: var(--secondary);
    font-weight: 500;
}

h4.contact {
    font-weight: 700;
}

h4.contact strong {
    color: var(--secondary);
    font-weight: 700;
}

p strong {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}

p:not(:first-of-type) strong {
    display: block;
    margin-top: 30px;
}

#welcome.section-wrap h3/*,
.section-wrap:nth-child(3n) h3*/ {
    color: var(--textlight);
}

#welcome.section-wrap p {
}

/*.section-wrap:nth-child(3n+1) h2,
.section-wrap:nth-child(3n+1) h3 {
    color: var(--primary);
}*/

h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

h4.contact {
    clear: both;
    text-transform: uppercase;
}

h4.contact:first-of-type {
    margin-top: 60px;
}

h4.contact::before {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background-color: var(--primarylight);
    margin: 45px 0;
}

h4.contact:first-of-type::before {
    content: "";
    display: none;
    height: 1px;
    width: 100%;
    background-color: var(--primarylight);
    margin: 45px 0;
}

.dp h4 {
    margin-top: 60px;
}

.dp h4::after {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background-color: var(--secondary);
    margin-top: 20px;
    margin-bottom: 20px;
}

h4.sentence,
.stage h4 {
    text-transform: none;
}

.stage h4 {
    margin-top: 0;
    margin-bottom: 8px;
}

p {
    color: var(--textdark);
    font-weight: 400;
    margin-bottom: 15px;
}

.section-content ul {
    padding-inline-start: 17px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.section-content ul li {
    color: var(--textdark);
    margin-bottom: 10px;
    font-size: var(--bodytext);
}

.section-content .flexslider ul li {
    color: var(--primary);
}

.stage p {
    color: var(--textlight);
    font-weight: 700;
}

#welcome.section-wrap p/*,
.section-wrap:nth-child(3n) p*/ {
    color: var(--textlight);
}

.maincontent p a,
.maincontent li a,
.maincontent h3 a {
    text-decoration: none;
    vertical-align: top;
    background-image: linear-gradient(rgba(0,0,0,0) 50%, var(--secondary) 50%);
    background-size: auto 175%;
    transition: background .2s ease-in-out;
    color: var(--textdark);
    font-weight: 600;
}

.maincontent .flexslider a {
    color: var(--primary);
}

.maincontent p a:hover,
.maincontent li a:hover,
.maincontent h3 a:hover {
    color: var(--textlight);
    background-position-y: 100%;
    transition: .2s ease-in-out;
}

.maincontent #welcome p a,
.maincontent #welcome h3 a {
    color: var(--secondary);
    background-image: linear-gradient(rgba(0,0,0,0) 50%, var(--secondary) 50%);
}

.maincontent #welcome p a,
.maincontent #welcome h3 a {
    color: var(--secondary);
}

.maincontent #welcome h3 a:hover,
.maincontent #welcome p a:hover {
    color: var(--textlight);
}

.maincontent #welcome h3 a::after,
.maincontent #welcome p a::after {
    background-color: var(--secondary);
}

/*.maincontent .section-wrap:nth-child(3n+1) h3 a,
.maincontent .section-wrap:nth-child(3n+1) p a {
    color: var(--textlight);
    background-image: linear-gradient(rgba(0,0,0,0) 50%, var(--textlight) 50%);
}

.maincontent .section-wrap:nth-child(3n+1) h3 a:hover,
.maincontent .section-wrap:nth-child(3n+1) p a:hover {
    color: var(--secondary);
}

.maincontent .section-wrap:nth-child(3n+1) h3 a::after {
    background-color: var(--textlight);
}*/

h3::after {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background-color: var(--primarylight);
    margin: 45px 0;
}

.following h3::before {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background-color: var(--primarylight);
    margin: 0 0 45px 0;
}

#welcome h3::after,
.following h3::after {
    display: none;
}

#ss-embed-frame {
    margin-top: 45px;
    border-top: 1px solid var(--primarylight) !important;
    padding-top: 45px;
}


@media (max-width: 600px) {

    svg#Grid,
    #heroimage img,
    #heroimage2 img {
       display: none;
    }

    #title {
        width: 100% !important;
        padding-right: 0 !important;
    }
    
    #title h1 {
        font-size: 2.5em !important;
        text-align: center;
        width: 100%;
        margin-bottom: 22px !important;
    }

    #title h1 span {
        font-size: 0.5em !important;
        margin-bottom: 15px !important;
    }

    #title h2 {
        font-size: 1em !important;
        text-align: center;
        width: 100%;
    }

    #title h1::after {
        margin: 30px 0 !important;
    }

    .scrollbox {
        display: block !important;
    }

    .scrollbox p {
        width: 100%;
        text-align: center;
    }
    
    h1, h2 {
        font-size: 1.25em !important;
        line-height: 1.0666666666666667em;
        margin-bottom: 25px;
    }

    #welcome h2 {
        margin-bottom: 30px !important;
    }

    #welcome h3 {
        font-size: 1em !important;
    }

    h3 {
        font-size: 1.125em !important;
    }


    #welcome .section-content .column:last-child {
        margin-top: 30px !important;
    }

    .section-content h2::after,
    .section-content h3::after,
    .following h3::before {
        margin: 30px 0 !important;
    }

}

@media (max-width: 1000px) and (min-width: 601px) {

    svg#Grid,
    #heroimage img,
    #heroimage2 img {
        left: 75% !important;
        width: 75% !important;
        padding-left: 5%;
    }

    #title {
        width: 75% !important;
        padding-right: 5%;
    }

}


@media (max-width: 1000px) {

    p.page-no {
        font-size: 1em;
        margin-bottom: 20px;
        margin-left: 0 !important;
    }

    h1, h2 {
        font-size: 1.25em;
        line-height: 1.0666666666666667em;
        margin-bottom: 25px;
    }

    #title h1 {
        font-size: 3.25em;
        line-height: 0.9;
    }

    #title h1 span {
        font-size: 0.3125em;
        margin-bottom: 25px;
    }

    #title h2 {
        font-size: 1.25em;

        padding-top: 0px;
        padding-bottom: 0px;
        margin-top: 0;
        top: unset;  
        margin-bottom: unset;
    }

    h3 {
        margin-bottom: 20px;
        font-size: 1.25em;
        line-height: 1.2;
    }

    #welcome h3 {
        font-size: 1em;
        line-height: var(--line-height);
    }

    p, h4, .section-content ul li {
        font-size: var(--mobilebodytext);
    }

    p.disclaimer {
        font-size: 0.75em;
    }

    #welcome.section-wrap p {
    }

    .maincontent #welcome p a {
        pointer-events: all;
    }

    #heroimage2 img {
       display: none;
    }

}

@media (min-width: 1001px) {

    h1, h2 {
        font-size: 1.75em;
        line-height: 1.0666666666666667em;
        margin-bottom: 45px;
    }

    #title h1 {
        font-size: 6em;
        line-height: 0.9;
    }

    #title h1 span {
        font-size: 0.3125em;
        margin-bottom: 25px;
    }

    #title h2 {
        font-size: 1.75em;
    }

    h3 {
        margin-bottom: 30px;
        font-size: 1.375em;
        line-height: 1.2;
        /*text-transform: uppercase;*/
    }

    .location h3 {
        font-size: 1.125em;
    }

    .location p {
        font-size: 1em;
    }

    #welcome h3 {
        font-size: 1.25em;
    }

    h4 {
        font-size: var(--bodytext);
        color: var(--textdark);
    }

    p {
        color: var(--textdark);
        margin-bottom: 15px;
        font-weight: 400;
        font-size: var(--bodytext);
        line-height: 1.375em; 
    }

    p.disclaimer {
        font-size: var(--footertext);
    }
    
    p.page-no {
        font-size: 1.375em;
    }

}

@media (min-width: 1001px) and (max-width: 1500px) {

    #title h1 {
        font-size: 4.5em;
    }

    #title h2 {
        font-size: 1.5em;
    }

}

@media (min-width: 1501px) and (max-width: 1700px) {

	#title h1 {
        font-size: 5.25em;
    }

    #title h2 {
        font-size: 1.5em;
    }

}
/*
@media (min-width: 1301px) and (max-width: 1450px) {

    h1, h2 {
        font-size: 3.25em;
    }

}*/





/*--------------------------------CALLOUT--------------------------------*/


.callout {
    padding: 25px;
    border-radius: 5px;
	background-color: var(--primary);
}

.callout h4 {
    color: var(--secondary);
}

.callout p {
    color: var(--textlight);
}

.section-wrap:nth-child(3n) .callout {
    background-color: var(--secondary);
}

.section-wrap:nth-child(3n) .callout h4 {
    color: var(--textlight);
}

.section-wrap:nth-child(3n) .callout p {
    color: var(--primary);
}

.section-wrap:nth-child(3n) .callout p a {
    color: var(--textlight);
    background-image: linear-gradient(rgba(0,0,0,0) 50%, var(--textlight) 50%);
}

.section-wrap:nth-child(3n+1) .callout p a {
    color: var(--secondary);
    background-image: linear-gradient(rgba(0,0,0,0) 50%, var(--secondary) 50%);
}

.section-wrap:nth-child(3n+1) .callout p a:hover {
    color: var(--primary);
}

.section-wrap:nth-child(3n) .callout p a:hover {
    color: var(--secondary);
}

.section-wrap:nth-child(3n) .callout p a::after, 
.section-wrap:nth-child(3n) .callout h3 a::after {
    background-color: var(--textlight);
}


@media (max-width: 1000px) {

    .callout {
        margin-top: 60px;
    }

}
/*
.callout .bus{
    margin-top: 40px;
}*/

@media (min-width: 1001px) {

    .callout.col-width {
        width: 37%;
        -webkit-transform: translateY(-10%);
        -moz-transform: translateY(-10%);
        -o-transform: translateY(-10%);
        transform: translateY(-10%);
    }

    .section-content .column:first-of-type .callout {
        margin-top: 50px;
    }

    #bus .callout {
        margin-top: 60px;
    }

}




/*--------------------------------HEADER--------------------------------*/


#masthead {
    position: fixed;
    background-color: var(--primary);
    width: 100%;
    top: 0;
    transition: var(--transition);
    z-index: 999999999;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);
}

#header-top {
    height: 1px;
    background-color: blue;
    visibility: hidden;
}


/*-----Header Small Device Width-----*/

@media (max-width: 1450px) {
    
    .headercontent,
    .section-content,
    #footer-wrap {
        padding: 20px;
    }

    .headerlogo {
       
    }

    #masthead.nav-up {
        top: calc(var(--small-header-height) * -1);
    }

    #masthead {
    }
    
}


/*-----Header Desktop Width-----*/

@media (min-width: 1451px) {

    #masthead {
        height: var(--large-header-height);
        top: calc(var(--large-header-height) * -1);
    }

    #masthead.nav-up {
        /*top: calc(var(--large-header-height) * -1);*/
    }

    #masthead.sticky {
        top: 0;
    }
    
    .headercontent,
    .section-content,
    #footer-wrap {
        max-width: var(--section-max-width);
        width: var(--section-width);
        margin-left: auto;
        margin-right: auto;
    }

    .headerlogo {
        margin-top: 25px;
    }

}

@media (min-width: 1451px) and (max-width: 1850px) {

    .headercontent,
    #footer-wrap {
        padding-left: var(--sectionpadding);
        padding-right: var(--sectionpadding);
    }

}



/*------------------------------NAVIGATION------------------------------*/


nav ul {
	padding-inline-start: 0px;
}

nav ul li {
	padding-left: 0;
	list-style: none;
	position: relative;
    font-weight: 500;
}

nav ul li a {
	text-decoration: none;
	transition: var(--transition);
    color: var(--textlight);
}

nav ul li a:hover {
    color: var(--secondary);
}


/*-----Navigation Small Device Width-----*/


@media (max-width: 1500px) and (min-width: 1451px) {

    #menu-icon {
		right: var(--sectionpadding) !important;
    }
}

@media (max-width: 1450px) {
	
    #menu-icon {
		display: block;
	}

    nav ul {
        display: none;
        height: 100vh;
        width: calc(100% + 40px);
        flex-direction: column;
        justify-content: center;
        margin-left: -20px;
        padding-bottom: calc(var(--small-header-height) / 2);
    }

    nav ul li {
        line-height: 1.1;
        display: block;
        float: none;
        text-align: center;
        -webkit-animation: fadeOut 0.3s ease forwards;
        -moz-animation: fadeOut 0.3s ease forwards;
        animation: fadeOut 0.3s ease forwards;
        text-transform: uppercase;
    }

    nav ul.open li {
        -webkit-transform: translateX(-150%);
        -moz-transform: translateX(-150%);
        -o-transform: translateX(-150%);
        transform: translateX(-150%);
        -webkit-animation: slideIn 0.3s ease forwards;
        -moz-animation: slideIn 0.3s ease forwards;
        animation: slideIn 0.3s ease forwards;
        text-align: center;
        animation-delay: 0.3s;
    }

    .no-animations nav ul.open li {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }

    nav ul li.current {
        color: var(--secondary);
        background-color: rgba(255,255,255,0.1);
    }

    nav ul li {
        padding: 5px 0;
    }
	
	/*Hamburger Icon*/

	#menu-icon {
		width: 40px;
		height: 30px;
		cursor: pointer;
		position: absolute;
		top: 20px;
		right: 20px;
		z-index: 300;
		-webkit-transform: rotate(0deg);
  		-moz-transform: rotate(0deg);
  		-o-transform: rotate(0deg);
  		transform: rotate(0deg);
  		-webkit-transition: .5s ease-in-out;
  		-moz-transition: .5s ease-in-out;
  		-o-transition: .5s ease-in-out;
  		transition: .5s ease-in-out;
	}

	#menu-icon:focus {
		outline: none;
	}

	#menu-icon span {
  		display: block;
  		position: absolute;
  		height: 6px;
  		width: 100%;
  		opacity: 1;
  		left: 0;
  		-webkit-transform: rotate(0deg);
  		-moz-transform: rotate(0deg);
  		-o-transform: rotate(0deg);
  		transform: rotate(0deg);
  		-webkit-transition: .25s ease-in-out;
  		-moz-transition: .25s ease-in-out;
  		-o-transition: .25s ease-in-out;
  		transition: .25s ease-in-out;
	}

	#menu-icon span:nth-child(1) {
  		top: 0px;
	}

	#menu-icon span:nth-child(2) {
  		top: 12px;
	}

	#menu-icon span:nth-child(3) {
  		top: 24px;
	}

	#menu-icon.active span:nth-child(1) {
  		top: 12px;
  		-webkit-transform: rotate(135deg);
  		-moz-transform: rotate(135deg);
  		-o-transform: rotate(135deg);
  		transform: rotate(135deg);
	}

	#menu-icon.active span:nth-child(2) {
  		opacity: 0;
  		left: -60px;
	}

	#menu-icon.active span:nth-child(3) {
  		top: 12px;
  		-webkit-transform: rotate(-135deg);
  		-moz-transform: rotate(-135deg);
  		-o-transform: rotate(-135deg);
  		transform: rotate(-135deg);
	}

    #menu-icon span {
        background: var(--textlight);
    }
	
}

/*-----Navigation Desktop Width-----*/


@media (min-width: 1451px) {

	#navbar {
        float: right;
    }

    nav ul {
        display: block !important;
        height: var(--large-header-height);
    }
    
    nav ul li {
    	display: inline-block;
        font-size: 1.125em;
        margin-left: 12px;
        line-height: var(--large-header-height);
	}

    nav ul li.current a {
    	color: var(--secondary);
	}

    nav ul li:first-child {
        margin-left: 0px;
        display: none;
	}

    nav ul li::after {
        content: "";
        display: block;
        height: 3px;
        width: 0px;
        margin-top: 0px;
        z-index: 0;
        position: relative;
        bottom: 34px;
        -webkit-animation: linewidth-out 0.2s ease-in-out;
        -moz-animation: linewidth-out 0.2s ease-in-out;
        -o-animation: linewidth-out 0.2s ease-in-out;
        animation: linewidth-out 0.2s ease-in-out;
        margin-left: auto;
        margin-right: auto;
        background-color: var(--secondary);
    }

    nav ul li:hover::after, 
    nav ul li:focus::after, 
    nav ul li:active::after {
        height: 3px;
        width: 0px;
        -webkit-animation: linewidth 0.2s ease-in-out 0.3s forwards;
        -moz-animation: linewidth 0.2s ease-in-out 0.3s forwards;
        -o-animation: linewidth 0.2s ease-in-out 0.3s forwards;
        animation: linewidth 0.2s ease-in-out 0.3s forwards;
    }

    .headerlogo {
        float: left;
    }
	
}





/*--------------------------------LOGO--------------------------------*/


#heroimage svg {
    /*transform: translateY(var(--translateY));*/
    opacity: var(--opacity);
    will-change: opacity;

}

#heroimage2 img {
    /*transform: translateY(var(--translateYA));
    will-change: transform;*/

}

svg#Grid,
#heroimage img {
    position: absolute;
    left: 50%;
    width: 50%;
    opacity: 1;
    padding-left: 5%
}

svg#Grid path {
    fill: none;
    stroke-width: 3;
    stroke-dasharray: 250;
    stroke-dashoffset: 1000;
    -webkit-animation: dash 4s ease-in-out alternate infinite;
    animation: dash 4s ease-in-out alternate infinite;
}

#background {

}

#background img {
    width: 40% !important;
    position: relative !important;
    padding-left: 0;
    left: initial !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    animation: clouds 10s ease-in-out infinite;
}

@keyframes clouds {
	0% {
	  transform: translate(0%);
	}
	50% {
	  transform: translate(5%);
	}
	100% {
	  transform: translate(0%);
	}
}

.butter {
    width: 13%;
    position: absolute;
    animation: butterflyFlight 18s ease-in-out infinite;
    top: 20%;
    will-change: unset !important;
    opacity: 1 !important;
    overflow: visible;
    z-index: 1;
}

.butter .cls-1 {
    animation: none;
}

/* Whole butterfly movement */
.butter #Layer_1 {
  transform-box: fill-box;
  transform-origin: center;
}

/* Upper wings */
#leftwingupper {
  transform-box: fill-box;
  transform-origin: 100% 70%;
  animation: leftWingFlap 0.15s cubic-bezier(.7,0,.3,1) infinite alternate;
}

#rightwingupper {
  transform-box: fill-box;
  transform-origin: 0% 70%;
  animation: rightWingFlap 0.15s cubic-bezier(.7,0,.3,1) infinite alternate;
}

/* Lower wings flap slightly less */
#leftwinglower {
  transform-box: fill-box;
  transform-origin: 100% 20%;
  animation: leftWingFlapLower 0.15s cubic-bezier(.7,0,.3,1) infinite alternate;
}

#rightwinglower {
  transform-box: fill-box;
  transform-origin: 0% 20%;
  animation: rightWingFlapLower 0.15s cubic-bezier(.7,0,.3,1) infinite alternate;
}

/* Wing motion */
@keyframes leftWingFlap {
  from { transform: rotate(0deg); }
  to   { transform: rotate(22deg); }
}

@keyframes rightWingFlap {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-22deg); }
}

@keyframes leftWingFlapLower {
  from { transform: rotate(0deg); }
  to   { transform: rotate(12deg); }
}

@keyframes rightWingFlapLower {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-12deg); }
}

/* Flight path */
@keyframes butterflyFlight {

  /* Rest */
  0%,10% {
    transform: translate(0px,0px) rotate(0deg);
  }

  /* Lift off */
    15% {
    transform: translate(30px,-40px) rotate(8deg);
    }

    /* Climb */
    20% {
    transform: translate(90px,-140px) rotate(14deg);
    }

  /* Fly off page right */
  30% {
    transform: translate(300px,-120px) rotate(20deg) scale(0.9);
  }

  /* Off screen */
  40% {
    transform: translate(2250px,-450px) rotate(25deg) scale(0.8);
    opacity: 0;
  }

  /* Return from above */
  75% {
    transform: translate(1180px,-220px) rotate(-10deg) scale(0.9);
    opacity: 1;
  }

  /* Glide back */
  90% {
    transform: translate(40px,-60px) rotate(-2deg);
  }

  100% {
    transform: translate(0px,0px) rotate(0deg);
  }
}

#Grid .cls-1 {
    stroke-miterlimit: 10;
    stroke-width: .5px;
    -webkit-animation: dash 18s ease-in-out alternate infinite;
    animation: dash 18s ease-in-out alternate infinite;
    stroke: #ffffff;
}

#Grid #grid1,
#Grid #grid2 {
    -webkit-animation: none;
    animation: none;
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
}

#Grid #pattern2 {
    animation-delay: 2s;
}

#Grid #pattern3 {
    animation-delay: 4s;
}

#Grid #pattern4 {
    animation-delay: 6s;
}

#Grid #pattern5 {
    animation-delay: 8s;
}

#Grid #pattern6 {
    animation-delay: 10s;
}

#Grid #pattern7 {
    animation-delay: 18s;
}

svg polyline,
svg line {
    fill: none;
    stroke-width: 3;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    -webkit-animation: dash2 4s linear alternate infinite;
    animation: dash2 4s linear alternate infinite;
    -webkit-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
  }

#arrowstem,
#arrowhead {
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 7px;
    animation-delay: 2s;
    animation-duration: 5s;
}

.cls-1 {
    /*animation-duration: 3s;*/
}

#baseline {
    -webkit-animation: fadeIn 4s linear forwards;
    animation: fadeIn 4s linear forwards;
    opacity: 1;
    stroke-dasharray: 0;
}

#logo {
    margin-bottom: 45px;
    width: 300px;
    height: 90px;
}

#k, #m, #kdescemder {
    stroke: #ce229b;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 7px;
    animation-delay: 2s;
    animation-duration: 5s;

}

.cls-1 {
    stroke-miterlimit: 10;
    stroke-width: .5px;
    stroke-dasharray: 0;
    -webkit-animation: fadeIn 4s linear forwards;
    animation: fadeIn 4s linear forwards;
    opacity: 1;

}

/*.cls-1, .cls-2, .cls-3, .cls-4 {
    fill: none !important;
}

.flip-card .cls-1, 
.flip-card .cls-2, 
.flip-card .cls-3, 
.flip-card .cls-4 {
    fill: inherit !important;
}

.cls-1, .cls-4 {
    stroke: #1d1d1b;
}*/

@-webkit-keyframes dash {
    to {
      stroke-dashoffset: 0;
    }
}

@keyframes dash {
    to {
      stroke-dashoffset: 0;
    }
}

@-webkit-keyframes dash2 {
    0% {
		stroke-dashoffset: 1000;
	}
	25% {
		stroke-dashoffset: 0;
	}
    100% {
		stroke-dashoffset: 0;
	}
}

@keyframes dash2 {
    0% {
		stroke-dashoffset: 1000;
	}
	25% {
		stroke-dashoffset: 0;
	}
    100% {
		stroke-dashoffset: 0;
	}
}

@-webkit-keyframes fadeIn {
	0% {
		opacity: 0;
	}
	25% {
		opacity: 1;
	}
    100% {
		opacity: 1;
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	25% {
		opacity: 1;
	}
    100% {
		opacity: 1;
	}
}

@keyframes scroll {
	0% {
		transform: translateY(0);
	}
	30% {
		transform: translateY(100px);
	}
}

svg #wheel {
	animation: scroll ease 3s infinite;
}

#scroll {
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.scrollbox {
    stroke: var(--primary);
    transition: 0.3s;
    display: inline-block;
    margin: 0 auto;
}

.scrollbox p {
    color: var(--primary) !important;
    transition: 0.3s;
    font-weight: 700;
    margin-top: 7px;
}

.scrollbox a {
    text-decoration: none;
}

.scrollbox:hover p {
    color: var(--secondary) !important;
}

.scrollbox:hover {
    stroke: var(--secondary);
    color: #1d1d1d;
}

.scrollbox:hover svg #wheel {
    animation-play-state: paused;
}


@media (max-width: 600px) {

    #logo {
        margin-bottom: 30px !important;
        margin-left: auto;
        margin-right: auto;
    }

}


@media (max-width: 1000px) {

    #logo {
        margin-bottom: 45px;
        width: 200px;
        height: 60px;
    }

    #heroimage2 {
        display: none;
    }

}


@media (max-width: 1300px) {

    /*svg#Grid,
    #heroimage img,
    #heroimage2 img {
        position: absolute;
        left: 70%;
        width: 70%;
        padding-left: 5%
    }*/

}




/*-----Mobile Logo (Remove this section if no seperate mobile version of logo)-----*/


@media (max-width: 1500px) {
	
}


/*-----Logo Size Mobile & Tablet Width-----*/


@media (max-width: 1450px) {

	.headerlogo a,
	.headerlogo a img {
		width: 241px;
    	height: 30px;
	}
	
}


/*-----Logo Size Desktop Width-----*/


@media (min-width: 1451px) {

	.headerlogo a,
	.headerlogo a img {
    	width: 321px;
    	max-height: 40px;
	}
	
}




/*------------------------------FOOTER------------------------------*/


#page-footer {
    border-top: 1px solid var(--primary);
    font-size: var(--footertext);
}

#page-footer a {
    text-decoration: none;
    color: var(--textdark);
    font-weight: 700;
    transition: var(--transition);
}

#page-footer a:hover {
    color: var(--secondary);
}


/*-----Footer Mobile & Tablet Width-----*/


@media (max-width: 1220px) {
	
    #footer-wrap {
        text-align: center;
        padding: 45px 20px 60px 20px;
    }

    .footer-two {
        margin-top: 10px;
    }

}


/*-----Footer Desktop Width-----*/


@media (min-width: 1221px) {

	#page-footer {
        height: 120px;
        line-height: 120px;
    }
    
    .footer-one,
    .footer-two {
        width: 49.5%;
        display: inline-block;
    }

    .footer-two {
        text-align: right;
    }

}




/*--------------------------------GENERAL--------------------------------*/


html {
    scroll-behavior: smooth;
}

.section-wrap {
	overflow: clip;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/*
.section-wrap:nth-child(3n) {
    background-color: var(--primary);
}*/

.background {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden !important;
}

.background img {
    height: auto;
    width: 100%;
    transform: scale(var(--px), var(--py));
    will-change: transform;
    transform-origin: bottom;
    opacity: 1;
    margin-left: -60%;
    flex-shrink: 0;
    min-width: 100%;
    min-height: 100%
}

#proposals {
    /*border-top: 1px solid rgba(204, 233, 5, 0.3);*/
}

#netzero .background img {
    transform: scale(var(--nx), var(--ny));
}

#contact .background img {
    transform: scale(var(--cx), var(--cy));
}

#welcome.section-wrap {
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-wrap:nth-child(2n+1) {
    background-color: var(--background);
    /*background-size: var(--sx) 100%;
    background-image: url("../img/NorthMiltonKeynesbackgroundGrid.svg");
    will-change: transform;*/
}

/* .section-wrap:first-child {
    background-image: url(../img/20240514_141152.jpg);
    background-repeat: no-repeat;
    background-size: cover;
} */

#heroimage,
#heroimage2 {
    width: 100%;
    /*height: 100%;*/
    position: absolute;
}

#heroimage img {
    opacity: var(--opacity);
    will-change: transform;
    transform-origin: left;
    position: absolute;
    /*left: 50%;
    width: 50%;*/
}

#heroimage2 img {
    /*transform: translateY(var(--translateYA));
    will-change: transform;
    transform-origin: left;
    position: absolute;*/
    /*left: 50%;
    width: 50%;*/
}

#imageContainer::before {
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgb(13,19,47);
    background: linear-gradient(90deg, rgba(13,19,47,1) 0%, rgba(13,19,47,1) 17%,  rgba(13,19,47,0.3) 100%);
}

#imageContainer video {
    width: 100%;
    height: auto;
    top: 0px;
    left: 0px;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.section-wrap:first-child::before {
    content: "";
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(46,53,63,0.8);
    position: absolute;
}

.section-content {
    display: flex;
    flex-wrap: wrap;
}

.circle {
    border-radius: 50%;
}

#welcome.section-wrap .circle p {
    margin-left: 0;
    color: var(--primary);
    padding: 30px 30px 0 30px;
    margin-top: -27%;
    margin-bottom: 0;
    text-indent: 1em;
    font-weight: 700;
}

#stats .circle h4 {
    font-size: 3em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: -5px;
    font-family: var(--heading-fonts);
}

#stats .circle:nth-child(2n) h4 {
    color: var(--textlight);
}

#stats .circle p {
    font-size: 0.875em;
    font-weight: 700;
    color: var(--primary);
    overflow: hidden;
    margin-bottom: 0;
}


#stats .circle:nth-child(2n) p {
    color: var(--textlight);
}

#welcome .cta a {
    margin-left: 30px;
    margin-top: 20px;
}

.break {
    flex-basis: 100%;
    height: 0;
}

.section-content h2 {
    width: auto;
    padding-right: 42%;
    margin-bottom: 0;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 90px;
    position: relative;
    margin-top: -70px;
    z-index: 0;
}

.section-content h2::after {
   display: block;
    content: "";
    height: 100%;
    /* max-width: 120px; */
    width: 300%;
    background-color: var(--primary);
    /* margin: 35px 0; */
    position: absolute;
    z-index: -1;
    top: -45px;
    left: -250%;
    padding: 60px;
    margin-left: 45px;
}

.section-content h2::before {
   display: block;
    content: url(../img/headinggraphic.svg);
    height: 120px;
    /* max-width: 120px; */
    width: 120px;
    /* margin: 35px 0; */
    position: absolute;
    z-index: -1;
    top: -45px;
    left: 50%;
    margin-left: 45px;
}


.section-content.end {
    padding-bottom: 0;
}

.section-content .column.full-width {
    width: 100% !important;
    margin-right: 0% !important;
    margin-top: 45px;
}

.section-content .column.fully-wide {
    margin: 0 -100% !important; /* old browsers fallback */
    margin: 0 calc(50% - 50vw) !important;
    width: 100% !important;
    width: 100vw !important;
    max-width: none !important;
}

.section-content .column.fully-wide figure {
    margin-bottom: 0;
}

.section-content .column.fully-wide figure img {
    width: 100% !important;
}

#stats,
#timeline {
    width: 100%;
}

#stats {
    margin-top: 90px;
}

#stats .circle {
    width: 15%;
    float: left;
    margin-right: 2%;
    padding: 0;
    margin-bottom: 30px;
    position: relative;
    display: block;
    background-color: transparent;
    text-align: left;
    height: auto;
}

#stats .circle:after {
    display: block;
    padding-bottom: 100%;
    width: 100%;
    height: 0;
    border-radius: 50% 50% 50% 0;
    background-color: var(--secondary);
    content: "";
}

#stats .circle:nth-child(2n):after {
    background-color: var(--primary);
}

.circle__inner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
  
.circle__wrapper {
    display: table;
    width: 90%;
    height: 90%;
    margin-top: 5%;
    margin-left: 5%;
}
  
.circle__content {
    display: table-cell;
    padding: 20px;
    vertical-align: middle;
}

#stats .circle:nth-child(2n),
#timeline .stage:nth-child(2n) {
   background-color: var(--primary);
}

#stats .circlelogo {
    height: 85px;
    width: auto;
    margin-bottom: 10px;
    margin-left: 10px;
}

#stats .circlelogo.landscape {
    height: 46px;
}

#stats .circle:last-of-type {
    margin-right: 0%;
}

.stage {
    background-color: var(--secondary);
    border-radius: 10px;
    min-height: 170px;
}

#timeline .stage {
    width: 12%;
    float: left;
    margin-right: 2.66666666666%;
    margin-top: 90px;
    position: relative;
    padding: 15px;
}

#timeline .stage:last-of-type {
    margin-right: 0%;
}

#timeline .stage:nth-child(2n) h4 {
    color: var(--secondary);
 }

#timeline .stage::after {
    display: block;
    content: "";
    right: -17px;
    left: initial;
    border-left-width: 18px;
    border-left-style: solid;
    border-right: none;
    border-color: var(--secondary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

#timeline .stage:last-of-type::after {
    display: none;
}

#timeline .stage:nth-child(2n)::after {
    border-color: var(--primary);
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}


@media (max-width: 530px) {

    #stats .circle {
        width: 70% !important;
        margin-right: 0 !important;
    }

}


@media (max-width: 800px) {

    #stats .circle {
        width: 49%;
    }

    #stats .circle:nth-child(2),
    #stats .circle:nth-child(4),
    #stats .circle:nth-child(6) {
        margin-right: 0;
        float: right;
    }

    .background img {
        width: 200%;
        margin-left: -150%;
        max-width: none;
    }

}


@media (max-width: 1000px) {

    .section-content {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .section-content.starter  {
        padding-top: 0;
        margin-top: -60px;
    }

    .section-content.following {
        padding-top: 0px;
    }

    .section-content h2 {
        padding-right: 40px;
        width: auto !important;
        padding-top: 30px;
        padding-bottom: 30px;
        margin-top: 0;
        top: -6em;  
        margin-bottom: -4em;  
    }

    .section-content h2::before {
        display: none;
    }

    .section-content h2::after {
        top: 0;
        left: -20px;
        padding: 0;
        margin: 0 !important;
    }

    .section-content h2::after {
        height: 100%;
        width: 100%;
    }

    .section-wrap {
        min-height: 0;
    }

    #welcome .section-content .column:last-of-type {
    }

    #imageContainer img,
    .overlay {
        animation: none;
    }

    .section-content .column {
        width: 100%;
    }

    .section-content .column.full-width {
        margin-top: 30px;
    }

}

@media (min-width: 1001px) {

    /*.section-wrap::before {
        content: "1";
        display: block;
        background-color: #9782b2;
        height: 45px;
        width: 45px;
        position: absolute;
        color: #ffffff;
        line-height: 45px;
        text-align: center;
        font-weight: 800;
        font-size: var(--bodytext);
    }*/
    
    .section-content {
        padding-top: 160px;
        padding-bottom: 160px;
    }

    .section-content.starter  {
        padding-top: 0;
        margin-top: -150px;
    }

    .section-wrap:nth-child(2n) .section-content.reverse,
    .section-wrap .section-content.reverse {
        flex-direction: row-reverse;
    }

    .section-wrap:nth-child(2n) .section-content.reverse .column:first-of-type,
    .section-wrap .section-content.reverse .column:first-of-type {
        margin-left: 9%;
        margin-right: 0;
    }

    #welcome .section-content {
        padding-top: 120px;
    }

    .section-content.following {
        padding-top: 30px;
    }
    
    .section-content .column:first-of-type {
        width: 50%;
        margin-right: 9%;
    }

    .section-content .column.wide:first-of-type {
        width: 100%;
        margin-right: 0%;
    }

    .section-content.onecolumn .column:first-of-type {
        width: 40%;
    }
    
    .section-content .column {
        width: 41%;
    }

    #welcome .section-content .column:first-of-type {
        width: 50%;
        max-width: 460px;
        margin-right: calc(68% - 460px);
        padding-top: 0;
    }

    #welcome .section-content .column {
        width: 58%;
        max-width: none;
    }

    #welcome .section-content .column:last-child {
        width: 20%;
        margin-left: 22%;
    }

}

@media (min-width: 1000px) and (max-width: 1301px) {

    #welcome .section-content .column {
        padding-right: 45px;
    }

    #welcome .section-content .column:last-child {
        padding-right: 0px;
    }

}

@media (min-width: 801px) and (max-width: 1200px) {

    #stats .circle {
        width: 32%;
    }

    #stats .circle:nth-child(3) {
        margin-right: 0;
    }

}

@media (min-width: 1201px) and (max-width: 1701px) {

    #stats .circle {
        width: 23.5%;
    }

    #stats .circle:nth-child(4) {
        margin-right: 0;
    }

}

@media (max-width: 1301px) {

    #welcome .section-content .column {
        width: 100%;
        max-width: none;
    }

    #welcome .section-content .column:last-child {
        width: 100%;
        margin-left: 0%;
        max-width: 300px;
        margin-top: 60px;
    }

    #welcome.section-wrap .circle {
    }

    #timeline .stage {
        width: 100%;
        float: none;
        margin-right: 0;
        margin-top: 30px;
        min-height: 0;
    }

    #timeline .stage::after {
        bottom: -35px;
        border-left: 18px solid transparent;
        border-right: 18px solid transparent;
        border-top-width: 18px;
        border-top-style: solid;
        border-top-color: var(--secondary);
        left: 50%;
        transform: translateX(-50%);
        top: initial;
    }

    #timeline .stage:nth-child(2n)::after {
        border-color: var(--primary);
        border-top: 18px solid var(--primary);
        border-bottom: 18px solid transparent;
        border-left-color: transparent;
        border-right-color: transparent;
    }

    .section-content h2 {
        width: 100%;
    }

}

@media (min-width: 1301px) and (max-width: 1400px) {

    #welcome .section-content .column:last-child {
        width: 27%;
        margin-left: 15%;
    }

    #welcome.section-wrap .circle p {
    }

}

@media (min-width: 1501px) {

    #welcome .section-content {
        padding-top: 0px;
        padding-bottom: 0px;
    }

}

@media (min-width: 1401px) and (max-width: 1600px) {

    #welcome .section-content .column:last-child {
        width: 24%;
        margin-left: 18%;
    }

    #welcome.section-wrap .circle p {
        margin-top: -33%;
    }

}

@media (min-width: 1601px) and (max-width: 1700px) {

    #welcome .section-content .column:last-child {
        width: 22%;
        margin-left: 20%;
    }

    #welcome.section-wrap .circle p {
        margin-top: -30%;
    }

}

@media (min-width: 1701px) and (max-width: 1850px) {

    #welcome.section-wrap .circle p {
        margin-top: -30%;
    }

}


@media (min-width: 1001px) and (max-width: 1850px) {

    .section-content {
        padding-left: var(--sectionpadding);
        padding-right: var(--sectionpadding);
    }

}





/*--------------------------------IMAGES--------------------------------*/


figure {
    margin-bottom: 45px;
}

figure img {
    border-radius: 5px 5px 0 0;
    border-bottom: 2px solid var(--primary);
}

figure img.noline,
.shape img {
    border-bottom: none;
}

figure.fullbleed {
    position: absolute;
    width: 41%;
    right: 0;
    top: 0;
    overflow: hidden;
    max-height: 100vh;
    border-bottom: 2px solid var(--primary);
}

figure.fullbleed img.night {
    animation: fadeImage 40s ease-in forwards infinite;
    position: relative;
}

figure.fullbleed img {
    border-radius: 0px 0px 0 0;
    border-left: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    position: absolute;
    top: 0;
}

figure.fullbleed figcaption {
    border-radius: 0 5px 0 0;
    position: absolute; 
    bottom: 0;
}


@-webkit-keyframes fadeImage {
	0% {
		opacity: 1;
	}
    24% {
		opacity: 1;
	}
    50% {
		opacity: 0;
	}
    76% {
		opacity: 0;
	}
    100% {
		opacity: 1;
	}
}

@keyframes fadeImage {
	0% {
		opacity: 1;
	}
    24% {
		opacity: 1;
	}
    50% {
		opacity: 0;
	}
    76% {
		opacity: 0;
	}
    100% {
		opacity: 1;
	}
}

.shape img {
    border-radius: 50% 50% 50% 0;
    width: 82%;
    position: relative;
    z-index: 1;
}

.shape::before {
    content: "";
    display: block;
    border-radius: 50% 50% 0 50%;
    width: 30%;
    background-color: var(--secondarylight);
    padding: 15% 0;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 0;
}

.dp {
    margin-top: 45px;
    float: left;
    width: 30%;
    margin-left: 5%;
    position: relative;
    z-index: 1;
}

.dp::before {
    content: "";
    display: block;
    border-radius: 50% 50% 0 50%;
    width: 60%;
    background-color: var(--secondarylight);
    padding: 30% 0;
    position: absolute;
    bottom: -12%;
    left: -50px;
    z-index: -1;
}

.dp:nth-child(2)::before { 
    border-radius: 50% 50% 50% 0;
    background-color: var(--textlight);
}

.dp:first-of-type {
    margin-left: 0;
}

.dp img {
    border-radius: 50% 50% 50% 0;
}

.dp:nth-of-type(2) img {
    border-radius: 50% 50% 0 50%;
}

figure a img:hover,
.flexslider a img:hover {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.flexslider li a:hover {
    color: var(--primary);
}

figure figcaption,
.flexslider figcaption,
#welcome.section-wrap figure figcaption,
.flex-caption {
    color: var(--textlight);
    font-size: var(--captiontext);
    font-weight: 700;
    width: auto;
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--primary);
    border-radius: 0 0 5px 5px;
}

#welcome.section-wrap figure figcaption,
.section-wrap:nth-child(3n) figure figcaption {
}

.section-wrap:nth-child(3n+1) figure figcaption {
    border-bottom: 2px solid var(--textlight);
}

#welcome .section-wrap figure figcaption {
    color: var(--primary);
    font-size: var(--captiontext);
    border-bottom: 2px solid var(--secondary);
    font-weight: 600;
    width: auto;
    display: inline-block;
    padding: 10px 0;
}

.animback {
    position: absolute;
    height: 100%;
    top: 0;
    width: 50%;
    right: 0;
    z-index: 0;
}

span.animwrap {
    width: 100%;
    height: 100%;
    position: absolute;
}

#walking .animback {
    height: 300%;
    top: -150%;
    width: 150%;
    right: -50%;
}

#cycling .animback {
    height: 200%;
    top: -70%;
    width: 110%;
    right: -50%;
}

#sharing .animback{
    height: 200%;
    top: -45%;
    width: 110%;
    right: -40%;
}

#journey .animback {
    height: 180%;
    top: -30%;
    width: 78%;
    right: -19%;
}

#contact .animback {
    /* height: 180%; */
    top: 10%;
    /* width: 78%; */
    /* right: -19%; */
}


@media (max-width: 800px) {

    .dp {
        float: none;
        width: 100%;
        margin-left: 0%;
        margin-top: 90px;
    }

    .dp:first-child {
        margin-top: 0px !important;
    }

    .dp::before {
        width: 50%;
        padding: 25% 0;
        bottom: -10%;
        left: -50px;
    }

}

@media (min-width: 801px) and (max-width: 1000px) {

    .dp {
        margin-top: 0px !important;
    }

    .dp::before {
        bottom: -5%;
    }
    
}


@media (max-width: 1000px) {

    figure.fullbleed {
        position: relative;
        width: 100%;
        margin-top: 30px;
        overflow: visible;
        height: auto;
        border-bottom: none;
        max-height: none;
    }

    figure.fullbleed img {
        position: relative;
    }

    figure.fullbleed img.night {
        position: absolute;
        top: 0;
    }

    figure.fullbleed img {
        border-bottom: 2px solid var(--primary);
    }
    
    figure.fullbleed figcaption {
        border-radius: 0 0 5px 5px;
        position: relative; 
        bottom: 0;
    }

}

@media (min-width: 1001px) and (max-width: 1349px) {
    #contact .animback {
        /* height: 180%; */
        top: 25%;
        /* width: 78%; */
        /* right: -19%; */
    }
}

@media (min-width: 1001px) {

 .sticky {
        position: sticky;
        top: 150px;
    }

}

#survey .animback {
    height: 165%;
    top: -37%;
    width: 33%;
    right: 10%;
}




.phone svg,
.email svg,
.post svg {
  	width: 70px;
  	height: 70px;
	margin: 0 auto 20px auto;
}

/* Animate phone */

.phone svg path:nth-child(2) {
  -webkit-animation: header-phone 2s infinite cubic-bezier(.1, .57, .5, 1);
  animation: header-phone 2s infinite cubic-bezier(.1, .57, .5, 1);
}

.phone svg path:nth-child(3) {
  -webkit-animation:header-phone2 2s infinite cubic-bezier(.1, .57, .5, 1);
  animation:header-phone2 2s infinite cubic-bezier(.1, .57, .5, 1);
}

@-webkit-keyframes header-phone {
  0%,30% {opacity:0; -webkit-transform:translate3d(-20px, 20px, 0); transform:translate3d(-20px, 20px, 0)}
  80% {opacity:1; -webkit-transform:translate3d(0, 0, 0); transform:translate3d(0, 0, 0)}
  100%{opacity:0}
}

@keyframes header-phone {
  0%,30%{opacity:0; -webkit-transform:translate3d(-20px, 20px, 0); transform:translate3d(-20px, 20px, 0)}
  80%{opacity:1; -webkit-transform:translate3d(0, 0, 0); transform:translate3d(0, 0, 0)}
  100%{opacity:0}
}

@-webkit-keyframes header-phone2 {
  0%{opacity:0; -webkit-transform:translate3d(-20px, 20px, 0); transform:translate3d(-20px, 20px, 0)}
  70%,90%{opacity:1; -webkit-transform:translate3d(0, 0, 0); transform:translate3d(0, 0, 0)}
  100%{opacity:0}
}

@keyframes header-phone2 {
  0%{opacity:0; -webkit-transform:translate3d(-20px, 20px, 0); transform:translate3d(-20px, 20px, 0)}
  70%,90%{opacity:1; -webkit-transform:translate3d(0, 0, 0); transform:translate3d(0, 0, 0)}
  100%{opacity:0}
}


/* Animate Mail */

.mail {
  animation: send 3s infinite;
  
}

@keyframes send {
  100% {
    transform: translateY(-500px);
  }	
}

@media (max-width: 1000px) {

	ul.icons {
		margin-top: 30px;
		margin-bottom: 15px;
	}
	.phone svg,
	.email svg,
	.post svg {
  		width: 50px;
  		height: 50px;
	}
	
}


/*-----Icons Desktop Width-----*/


@media (min-width: 1001px) {

	ul.icons {
		margin-top: 30px;
		margin-bottom: 30px;
	}
	
}


/* ------------------------Button------------------------ */


/* .cta {
	margin-top: 45px;
	margin-bottom: -10px;
}

.cta {
	border-top-width: 1px;
    border-top-style: solid;
	padding-top: 40px;
} */

.cta a {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    border-style: none;
    border-width: 0px;
    border-color: initial;
    border-radius: 0px;
	text-decoration: none;
	text-transform: uppercase;
	padding-top: 14px;
    padding-right: 22px;
    padding-bottom: 14px;
    padding-left: 22px;
	display: inline-block;
	margin-top: 15px;
}

/* .cta {
    border-top-color: #2B9C71;
} */

a.submit {
    border-radius: 7px;
}

.cta a {
	color: var(--textlight);
    background-color: var(--primary);
    transition: 0.5s;
    border: 3px solid var(--primary)
}

.cta a:hover {
    background-color: transparent;
	color: var(--primary);
}

.cta p,
.cta a {
	font-weight: 700;
}

.cta a {
    font-size: 1em;
    line-height: 1.2;
}


@media (max-width: 1000px) {

    figure.col-width,
    figure.col-top,
    figure {
        margin-top: 30px;
    }

    .animback {
        display: none;
    }

}

@media (min-width: 1001px) {

    figure.col-width {
        width: 33%;
        -webkit-transform: translateY(-10%);
        -moz-transform: translateY(-10%);
        -o-transform: translateY(-10%);
        transform: translateY(-10%);
    }

}




/* ------------------ICONS---------------------------------- */



#contact .iconlist {
    /*border-top: 1px solid var(--primary);*/
    padding-top: 10px;
    border-bottom: none;
}

#contact .iconlist:first-of-type {
}

#contact .iconlist a:hover {
    color: var(--textlight);
    background-position-y: 100%;
    transition: .2s ease-in-out;
}

#contact .iconlist a {
    text-decoration: none;
    vertical-align: top;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 50%, var(--secondary) 50%);
    background-size: auto 175%;
    transition: background .2s ease-in-out;
    color: var(--textdark);
}

svg#Layer1 {
    width: 45px;
    height: 45px;
    float: left;
    margin-top: 0px;
    margin-right: 15px;
}

.phone {
    width: 45px;
    height: 45px;
    float: left;
    margin-top: 0px;
    margin-right: 20px;
    margin-bottom: 20px;
}

ul.icons.contact li::after,
ul.downloads li::after {
	background-color: var(--primary);
}

ul.icons.contact {
	border-top-color: var(--primary);
}

ul.icons.contact li::before {
	content: "\E830";
	width: 40px;
	font-size: 40px;
	margin-right: 15px;
	float: left;
	clear: both;
	margin-top: -15px;
}

ul.icons {
	list-style-type: none;
	padding-inline-start: 0px;
}

ul.icons li {
	text-indent: 0;
	min-height: 40px;
	line-height: 1.1;
}

ul.icons li::before {
	content: "\E803";
	width: 40px;
	font-size: 40px;
	margin-right: 15px;
	float: left;
	clear: both;
	margin-top: -15px;
	color: #313649
} 

ul.icons li::after {
	content: "";
	display: block;
	height: 1px;
	width: 100%;
	margin-top: 30px;
    margin-bottom: 30px;
}

ul.icons li:last-child::after {
	display: none;
}

ul.icons.contact {
	border-top-style: solid;
	border-top-width: 1px;
	padding-top: 20px;
}

ul.icons li strong {
	display: block;
	font-weight: 700;
	margin-bottom: 5px;
}

ul.icons li::before {
	font-size: 50px;
    margin-top: -25px;
	position: absolute;
	margin-left: -65px;
}

ul.icons li::after {
    content: "";
    display: block;
    height: 1px;
	width: 100%;
    width: calc(100% + 65px);
    margin-top: 30px;
    margin-bottom: 30px;
	margin-left: -65px;
}

ul.icons li:last-child::after {
    display: none;
}

ul.icons li a {
    color: var(--primary);  
}

ul.icons li a:hover {
    text-decoration: none;
    vertical-align: top;
    background-image: linear-gradient(rgba(0, 0, 0, 0) 50%, var(--secondary) 50%);
    background-size: auto 175%;
    transition: background .2s ease-in-out;
    color: var(--secondary);
}

ul#benefits {
    margin-top: 75px;
}

ul#benefits li:before {
    border-width: 3px;
    border-style: solid;
    border-radius: 50%;
    content: "\E803";
    display: block;
    width: 60px;
    height: 60px;
    margin-top: -50px;
    line-height: 24px;
    position: absolute;
    left: -40px;
    text-align: center;
    font-family: mkicons;
    font-size: 49px;
    line-height: 54px;
    z-index: 110000000000;
    margin-left: 0;
    background-color: var(--primary);
    font-weight: 400;
}

ul#benefits li {
    margin-left: 40px;
    background-color: rgba(204, 233, 5, 0.3);
    padding: 20px 20px 20px 30px;
    border-radius: 5px 50px 50px 10px;
    margin-bottom: 30px;
    font-weight: 600;
}

ul#benefits li.jobs:before {
    content: "\E806";
}

ul#benefits li.homes:before {
    content: "\E805";
}

ul#benefits li.park:before {
    content: "\E801";
}

ul#benefits li.education:before {
    content: "\E804";
}

ul#benefits li::after {
    display: none;
}




/*--------------------------------TABLES--------------------------------*/


#rail table td {
    padding: 15px 1em;
    text-align: center;
    border-left: 2px solid var(--secondary);
}

#rail table th, table td {
    padding: 15px 1em;
    text-align: center;
    border-left: 2px solid var(--secondary);
}

#rail table tr:nth-child(odd) {
    background-color: #4854677d;
}

#rail table th {
    font-weight: 700;
    background-color: #2e353f;
}

#rail table tr {
    background-color: #2e353fc7;
    border: 2px solid var(--secondary);
    padding: .35em;
    color: white;
}

table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
    font-size: 0.875em;
    font-weight: 700;
    border-radius: 5px;
}

table tr:last-child th:first-child {
    border-top-left-radius: 7px;
}
    
table tr:last-child th:last-child {
    border-top-right-radius: 7px;
}

table tr:last-child td:first-child {
    border-bottom-left-radius: 7px;
}
    
table tr:last-child td:last-child {
    border-bottom-right-radius: 7px;
}
  
table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}
  
table tr:nth-child(odd) {
    background-color: rgba(255,255,255,0.1);
}

table tr {
    background-color: rgba(255,255,255,0.2);
    border: 2px solid var(--primary);
    padding: .35em;
}

table tr th:first-child,
table tr td:first-child {
    border-left: 0px solid var(--primary);
}

table tr td:first-child {
    text-align: left;
}

table td {
    color: var(--textlight)
}
  
table th,
table td {
    padding: 15px 1em;
    text-align: center;
    border-left: 2px solid var(--primary);
}
  
table th {
    font-weight: 700;
    background-color: var(--secondary);
}
  
@media screen and (max-width: 600px) {

    table {
      border: 0;
    }
  
    table caption {
      font-size: 1.3em;
    }

    table tr:last-child th:first-child {
        border-top-left-radius: 0px;
    }
        
    table tr:last-child th:last-child {
        border-top-right-radius: 0px;
    }
    
    table tr:last-child td:first-child {
        border-bottom-left-radius: 0px;
    }
        
    table tr:last-child td:last-child {
        border-bottom-right-radius: 0px;
    }
    
    table thead {
      border: none;
      clip: rect(0 0 0 0);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
    }
    
    table tr {
      display: block;
      margin-bottom: .625em;
    }

    table tr td:first-child {
        text-align: right;
    }
    
    table td,
    #rail table td {
      border-bottom: 1px solid #ddd;
      display: block;
      font-size: .8em;
      text-align: right;
      border-left: 0px solid var(--primary);
    }
    
    table td::before,
    #rail table td::before {
      /*
      * aria-label has no advantage, it won't be read inside a table
      content: attr(aria-label);
      */
      content: attr(data-label);
      float: left;
      font-weight: bold;
      text-transform: uppercase;
    }
    
    table td:last-child,
    #rail table td:last-child {
      border-bottom: 0;
    }

}

@media (max-width: 1000px) {

    table {
        margin-top: 30px;;
      }

}




/*--------------------------------CARDS--------------------------------*/


.card-wrapper {
    display: flex;
    align-items: flex-start;
}

.card {
    width: 24.25%;
    text-align: center;
    font-size: var(--mobilebodytext);
    background-color: var(--secondary);
    padding: 20px;
    margin-left: 1%;
    border-radius: 5px;
}

.card:nth-child(even) {
    background-color: rgba(150,174,186,0.6);
}

.card:first-of-type {
    margin-left: 0;
}

.card .logo img {
    padding: 0 23px;
    margin-top: 5px;
    margin-bottom: 20px;
}

.card h6 {
    font-size: var(--mobilebodytext);
    font-weight: 800;
    margin-bottom: 2px;
}

.card p {
    margin-bottom: 20px;
}

.card p strong {
    font-weight: 800;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    display: block;
    padding: 20px 0;
}

@media screen and (max-width: 800px) {

    .card-wrapper {
        display: block;
    }
    
    .card {
        width: 100%;
        margin-left: 0%;
        margin-bottom: 20px;
    }

    .card .logo img {
        max-width: 250px;
        margin: 0 auto 20px auto;
    }

}

@media screen and (max-width: 1000px) {

    .card-wrapper {
        margin-top: 30px;
    }

}
 



/*--------------------------------SECTION ARROWS--------------------------------*/



.arrow-wrap {
    min-height: 100%;
    position: absolute;
    z-index: 1;
    /*display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 0;
    perspective: 1px;*/
}

.arrow-wrap.prev {
    left: 20px;
}

.arrow-wrap.next {
    right: 20px;
}

.arrow-container {
    writing-mode: vertical-lr;
    text-orientation: sideways;
    font-weight: 700;
    font-size: 1em;
    position: sticky;
    top: 50vh;

    margin: 200px 0;
    transform: translateY(-50%);
    /*bottom: 100px;
    transform: translateZ(-1px) scale(2);*/
}

 .arrow-container a {
    text-decoration: none;
    color: var(--textdark);
}

 .arrow.is-bottom {
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.arrow.is-top {
    -moz-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
    margin-top: 0;
    margin-bottom: 27px
}

.arrow {
    margin-top: 27px;
    display: inline-block;
    height: 12px;
    position: relative;
    width: 12px;
    transition: 0.3s;
}

.arrow-container a:hover .arrow {
    margin-top: 37px;
}

.arrow-container a:hover .arrow.is-top {
    margin-bottom: 37px;
    margin-top: 0;
}

.arrow::after {
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-right-style: solid;
    border-right-width: 2px;
    content: "";
    display: inline-block;
    height: 12px;
    left: 0;
    position: absolute;
    top: 0;
    width: 12px;
}

.arrow.arrow-bar::before {
    bottom: 1px;
    content: "";
    height: 30px;
    position: absolute;
    right: 0px;
    transform-origin: bottom;
    width: 3px;
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    transition: 0.3s;
}

.arrow-container a:hover .arrow.arrow-bar::before {
    height: 40px;
}

.arrow.is-triangle::after {
    border-style: solid;
    border-width: 0 0 12px 12px;
    height: 0;
    width: 0;
}

.arrow::before, 
.arrow .arrow::before {
    background-color: var(--textdark);
}

.arrow::after, 
.arrow .arrow::after {
    border-color: var(--textdark);
}

.arrow.is-triangle::after, 
.arrow .arrow.is-triangle::after {
    border-color: transparent;
    border-bottom-color: var(--textdark);
}

/*.section-wrap:nth-child(3n) .arrow-container a,
.section-wrap:first-child .arrow-container a,
.section-wrap:nth-child(3n+1) .arrow-container a {
    color: var(--textlight)
}*/


/*.section-wrap:nth-child(3n) .arrow::before,
.section-wrap:nth-child(3n) .arrow .arrow::before,
.section-wrap:first-child .arrow::before,
.section-wrap:first-child .arrow .arrow::before,
.section-wrap:nth-child(3n+1) .arrow::before,
.section-wrap:nth-child(3n+1) .arrow .arrow::before {
    background-color: var(--textlight);
} */

/*.section-wrap:nth-child(3n) .arrow.is-triangle::after, 
.section-wrap:nth-child(3n) .arrow .arrow.is-triangle::after,
.section-wrap:first-child .arrow.is-triangle::after,
.section-wrap:first-child .arrow .arrow.is-triangle::after,
.section-wrap:nth-child(3n+1) .arrow.is-triangle::after,
.section-wrap:nth-child(3n+1) .arrow .arrow.is-triangle::after {
    border-bottom-color: var(--textlight);
}*/

#start .arrow::before, 
#start .arrow .arrow::before {
    background-color: var(--secondary);
}

#start .arrow.is-triangle::after, 
#start .arrow .arrow.is-triangle::after {
    border-color: transparent;
    border-bottom-color: var(--secondary);
}

#start.arrow-container {
    position: absolute;
    top: 0%;
    transform: translateY(0%);
    margin: 0;
}

#start.arrow-container a:hover .arrow.arrow-bar::before {
    height: 150px;
}

#start .arrow {
    margin-top: 110px;
}

#start.arrow-container a:hover .arrow {
    margin-top: 140px;
}

#start .arrow.arrow-bar::before {
    height: 120px;
}

#start .arrow.is-triangle::after {
    border-width: 0 0 16px 16px;
}

@media (max-width: 1000px) {

    .arrow-wrap {
        display: none;
    }

}



/*--------------------------------WELCOME SECTION--------------------------------*/


#title {
    width: 50%;
    padding-right: 5%;
    z-index: 1;
    display: block;
}

.client {
    width: 160px;
    height: 45px;
}

#title img {
    margin-bottom: 45px;
}

#title h1 {
    display: inline-block;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-weight: 630;
} 

#title h1 span {
    display: block;
    font-weight: normal;
    letter-spacing: 0.08em;
    font-weight: 630;
}

#title h1::after {
    content: "";
    display: none;
    height: 3px;
    width: 100%;
    background-color: var(--secondary);
    margin: 45px 0;
}

#title h2::after {
    display: none;
}  

#welcome h2 {
    margin-bottom: 40px;
    margin-top: 0;
    padding-right: 0;
}  

#welcome h2::before {
    display: none;
}  

.intro {
    position: relative;
}

@media (max-width: 600px) {

    #title img {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 30px;
    }

    .client {
        width: 110px;
        height: 31px;
    }

}

@media (min-width: 1001px) and (max-width: 1300px) {

    #title {
        width: 70%;
    }
    

}


@media (max-width: 1300px) {

    #welcome h2 {
        max-width: none;
    }

}




/*--------------------------------SCROLL TO TOP--------------------------------*/


.container-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
    z-index: 10;
}

.container-top:hover {
	opacity: 0.9 !important;
	-webkit-transition: 0.35s;
	transition: 0.35s;
}

.container-top svg {
	border-radius: 50%;
	-webkit-transition: transform .2s ease-in-out;
	transition: transform .2s ease-in-out;
    fill: var(--primary);
    border: 2px solid var(--textlight);
    -moz-box-shadow: 0px 0px 7px rgba(0,0,0,.4);
    -webkit-box-shadow: 0px 0px 7px rgba(0,0,0,.4);
    box-shadow: 0px 0px 7px rgba(0,0,0,.4);
    transition: 0.3s;
}

.container-top svg:hover {
    fill: var(--secondary);
}

.container-top svg:hover > #scrolltop-arrow {
	transform: translate3d(0px, -3px, 0px);
	-webkit-transition: transform .2s ease-in-out;
	transition: transform .2s ease-in-out;
}

.container-top svg > #scrolltop-arrow {
	-webkit-transition: transform .2s ease-in-out;
	transition: transform .2s ease-in-out;
    fill: var(--textlight);
}




/*--------------------------------ANIMATIONS--------------------------------*/


@-webkit-keyframes linewidth {
	0%   { width: 0px; }
  	100% { width: 100%; }
}
@-moz-keyframes linewidth {
	0%   { width: 0px; }
  	100% { width: 100%; }
}
@-o-keyframes linewidth {
    0%   { width: 0px; }
  	100% { width: 100%; }
}
@keyframes linewidth {
    0%   { width: 0px; }
  	100% { width: 100%; }
}

@-webkit-keyframes linewidth-out {
	0%   { width: 100%; }
  	100% { width: 0px; }
}
@-moz-keyframes linewidth-out {
	0%   { width: 100%; }
  	100% { width: 0px; }
}
@-o-keyframes linewidth-out {
    0%   { width: 100%; }
  	100% { width: 0px; }
}
@keyframes linewidth-out {
    0%   { width: 100%; }
  	100% { width: 0px; }
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
@-moz-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
@-o-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@-webkit-keyframes fadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}
@-moz-keyframes fadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}
@-o-keyframes fadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}
@keyframes fadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@-webkit-keyframes slideIn {
	0% { -webkit-transform: translateX(-150%); }
    100% { -webkit-transform: translateX(0%); }
}
@-moz-keyframes slideIn {
    0% { -moz-transform: translateX(-150%); }
    100% { -moz-transform: translateX(0%); }
}
@-o-keyframes slideIn {
    0% { -o-transform: translateX(-150%); }
    100% { -o-transform: translateX(0%); }
}
@keyframes slideIn {
    0% { transform: translateX(-150%); }
    100% { transform: translateX(0%); }
}

@-webkit-keyframes slideOut {
	0% { -webkit-transform: translateX(0%); opacity: 1 }
    100% { -webkit-transform: translateX(-150%); opacity: 0; }
}
@-moz-keyframes slideOut {
    0% { -moz-transform: translateX(0%); opacity: 1 }
    100% { -moz-transform: translateX(-150%); opacity: 0; }
}
@-o-keyframes slideOut {
    0% { -o-transform: translateX(0%); opacity: 1 }
    100% { -o-transform: translateX(-150%); opacity: 0; }
}
@keyframes slideOut {
    0% { transform: translateX(0%); opacity: 1 }
    100% { transform: translateX(-150%); opacity: 0; }
}




/*----------------------------LOTTIE ANIMATIONS----------------------------*/


.iconlist {
    border-bottom: 1px solid var(--primary);
}

.iconlist:last-child {
    border-bottom: none;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.iconlist h4 {
    margin-top: 15px;
    margin-bottom: 3px;
}

.icons .anim {
    width: 90px;
    height: 90px;
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
}

.icons .icontext {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 110px);
}

@media (max-width: 1000px) {

    .icons {
        border-top: 1px solid var(--primary);
        margin-top: 60px;
        padding-top: 15px;
    }

    #benefits.icons {
        border-top: none;
    }

    .iconlist {
        padding-bottom: 30px;
        margin-bottom: 20px;
    }

    .icons .anim {
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }

    .iconlist h4 {
        margin-top: 10px;
    }

    .icons .icontext {
        display: inline-block;
        vertical-align: top;
        width: calc(100% - 90px);
    }

}



/*--------------------------------CSS RESET--------------------------------*/

*, 
*::before, 
*::after {
    box-sizing: border-box;
  }
  
*,
html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--body-fonts);
}
  
body {
    line-height: var(--line-height);
    -webkit-font-smoothing: antialiased;
}
  
img, 
picture, 
video, 
canvas, 
svg {
    display: block;
    max-width: 100%;
}
  
input, 
button, 
textarea, 
select {
    font: inherit;
}
  
p, 
h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
    overflow-wrap: break-word;
}
  
#root, 
#__next {
    isolation: isolate;
}



/*--------------------------------FLEX SLIDER--------------------------------*/


.flexslider {
	background: transparent !important;
    border: none !important;
    zoom: 1;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
    -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.0) !important;
    -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.0) !important;
    -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.0) !important;
    box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.0) !important;
}

.flexslider .slides {
	padding-inline-start: 0px;
    margin-bottom: 0px;
    margin-top: 0px;
}

.flexslider .slides img {
	border-bottom-width: 3px;
	border-bottom-style: solid;
}

.flex-caption,
.video-caption{
	margin-bottom: 0 !important;
}

.flex-direction-nav a {
    width: 50px !important;
    height: 50px !important;
    margin: -40px 0 0 !important;
	background-color: red;
    text-shadow: none !important;
}

.flex-direction-nav a:before {
    font-size: 30px !important;
    color: var(--textlight) !important;
    text-shadow: none !important;
	width: 50px;
	height: 50px;
	padding: 5px;
	text-align: center;
}

.flex-direction-nav a.flex-prev:before {
	text-indent: -2px;
}

.flex-direction-nav a.flex-next:before {
	text-indent: 2px;
}

.flexslider:hover .flex-direction-nav .flex-prev {
	left: 0 !important;
}

.flexslider:hover .flex-direction-nav .flex-next {
	right: 0 !important;
}


/*-----Flex Slider Mobile & Tablet Width-----*/


@media (max-width: 1000px) {
	
	.flexslider {
		margin-top: 30px !important;
		margin-bottom: 50px !important;
	}
	
}


/*-----Flex Slider Desktop Width-----*/


@media (min-width: 1001px) {
	
	.flexslider {
		margin-top: 35px !important;
		margin-bottom: 60px !important;
	}
	
}


/*--------------------------------GOOGLE TRANSLATE--------------------------------*/


#google_translate_element {
	position: fixed;
	z-index: 99999999999999999999999999999999;
	top: 0;
}

/*#google_translate_element span a,
.goog-te-gadget {
	color: transparent !important;
}*/

.goog-te-gadget img {
	display: inline !important;
}

.VIpgJd-ZVi9od-xl07Ob-OEVmcd {
	box-shadow: none !important;
}

#google_translate_element .indicator {
	display: none !important;
}



/*--------------------------------FLEX SLIDER--------------------------------*/


.flexslider {
	background: transparent !important;
    border: none !important;
    zoom: 1;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
    -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.0) !important;
    -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.0) !important;
    -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.0) !important;
    box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.0) !important;
    width: 100%;
}

.flex-viewport {
    border-radius: 5px 5px 0 0 !important;
}

.flexslider .slides img {
	border-bottom-width: 3px;
	border-bottom-style: solid;
}

.flex-caption,
.video-caption{
	margin-bottom: 0 !important;
}

.flex-direction-nav a {
    width: 50px !important;
    height: 50px !important;
    margin: -40px 0 0 !important;
	background-color: var(--primary);
    text-shadow: none !important;
    background-image: none !important;
    font-weight: 400 !important;
}

.flex-direction-nav a:before {
    font-size: 30px !important;
    color: var(--textlight) !important;
    text-shadow: none !important;
	width: 50px;
	height: 50px;
	padding: 5px;
	text-align: center;
    background-image: none !important;
}

.flex-direction-nav a.flex-prev:before {
	text-indent: -2px;
}

.flex-direction-nav a.flex-next:before {
	text-indent: 2px;
}

.flexslider:hover .flex-direction-nav .flex-prev {
	left: 0 !important;
}

.flexslider:hover .flex-direction-nav .flex-next {
	right: 0 !important;
}


/*-----Flex Slider Mobile & Tablet Width-----*/


@media (max-width: 1000px) {
	
	.flexslider {
		margin-top: 30px !important;
		margin-bottom: 50px !important;
	}
	
}


/*-----Flex Slider Desktop Width-----*/


@media (min-width: 1001px) {
	
	.flexslider {
		margin-top: 35px !important;
		margin-bottom: 60px !important;
	}

    .flexslider.col-top {
		margin-top: 0px !important;
	}
	
}


/*--------------------------------TIMELINE--------------------------------*/


@font-face {
    font-family: 'mkicons';
    src: url("icons/mkicons.eot");
    src: url("icons/mkicons.eot#iefix") format('embedded-opentype'), 
        url("icons/mkicons.woff") format('woff'), 
        url("icons/mkicons.ttf") format('truetype'), 
        url("icons/mkicons.svg#mkicons") format('svg');
    font-weight: normal;
    font-style: normal;
}

.diagramback {
    display: block;
    position: relative;
    padding-top: 1px;
    margin-top: 60px;
}

.diagramback::before {
    background-image: url(../img/NorthMiltonKeynesbackgroundGrid.svg);
    background-size: 150%;
    display: block;
    content: "";
    position: absolute;
    width: 50vw;
    width: calc(50vw + 60px);
    height: 100%;
    left: -60px;
    top: 0;
    border-bottom: 1px solid rgba(204, 244, 5, 0.6);
}

.diagramheader {
    font-weight: 700;
    text-align: center;
    font-size: 1.5em;
    margin-top: 75px;
    background-color: var(--primary);
    border: 6px solid var(--textdark);
    border-radius: 50px;
    padding: 10px 0;
}

.diagramfooter {
    font-weight: 700;
    text-align: center;
    font-size: 1.5em;
    line-height: 10rem;
    border-radius: 50px;
    margin-bottom: 0;
}

.half-circle {
    height: 10rem;
    width: 20rem;
    border-radius: 10rem 10rem 0 0;
    background-color: var(--primary);
    display: block;
    margin: -15px auto 0 auto;
    border-top: 6px solid var(--textdark);
    border-left: 6px solid var(--textdark);
    border-right: 6px solid var(--textdark);
    z-index: 1;
    position: relative;
}

.half-circle::after {
    content: "";
    display: block;
    background-color: var(--primarylight);
    width: 100%;
    height: 1px;
    position: absolute;
    left: 0;
    margin-top: -6px;
}

ul.timeline::before {
    background-color: var(--textdark);
}

ul.timeline li {
    color: #ffffff;
    background-color: var(--secondary);
}

ul.timeline li strong {
    font-size: 1.125em;
}

ul.timeline li:before {
    background-color: var(--secondary);
    border-color: var(--textdark);
    color: #ffffff;
}

ul.timeline li::after {
    border-right-color: #160F3E;
}

ul.timeline {
	counter-reset: numbered-list;
	margin-left: 0px;
	margin-top: 75px;
	margin-bottom: 45px;
	list-style: none;
	padding: 0;
	position: relative;
}

#about ul.timeline {
	margin-bottom: 75px;
}

ul.timeline::before {
	content: "";
	display: block;
	height: 100%;
	width: 4px;
	padding: 0;
	position: absolute;
	left: 50%;
  	transform: translateX(-50%);
    background-color: var(--primary);
}

ul.timeline li {
	width: 47%;
    width: calc(50% - 50px);
	font-size: 16px;
    position: relative;
    line-height: 1.3;
    margin-bottom: 30px;
    margin-left: 0px;
    padding: 20px;
    background-color: var(--primary);
    border-radius: 10px;
    color: var(--textlight);
}

ul.timeline li:last-child {
    margin-bottom: 0px;
}

ul.timeline li:nth-child(2n) {
    margin-left: auto;
	margin-right: 0;
}

ul.timeline li:before {
	border-width: 4px; 
	border-style: solid;
	border-radius: 50%;
	content: counter(numbered-list, decimal);
	counter-increment: numbered-list;
	display: block;
	font-weight: bold;
	width: 30px;
	height: 30px;
	margin-top: -5px;
	line-height: 24px;
	position: absolute;
	left: -46px;
	text-align: center;
    background-color: var(--secondary);
    border-color: var(--primary);
    color: transparent;
}

ul.timeline li.current:before {
	border-width: 4px;
	border-style: solid; 
}

ul.timeline li.m1 {
    background-color: var(--shadow);
}

ul.timeline li.m1:before {
    background-color: var(--textdark);
}

ul.timeline li.train:before {
    content: "\E803";
}

ul.timeline li.homes:before {
    content: "\E805";
}

ul.timeline li.jobs {
    background-color: var(--shadow);
}

ul.timeline li.jobs:before {
    content: "\E806";
    background-color: var(--textdark);
}

ul.timeline li.centre {
    background-color: var(--shadow);
}

ul.timeline li.centre:before {
    content: "\E802";
    background-color: var(--textdark);
}

ul.timeline li.park {
    background-color: var(--primary);
    color: var(--textdark);
}

ul.timeline li.park:before {
    content: "\E801";
    background-color: var(--primary);
    color: var(--textdark);
}

ul.timeline li.bridge:before {
    content: "\E800";
}

ul.timeline li.rail {
    background-color: transparent;
    color: var(--textdark);
}

ul.timeline li.rail:before {
    content: "\E808";
    background-color: var(--textdark);
}

ul.timeline li::after {
	display: block;
	content: "";
	position: absolute;
	left: -10px;
	top: 20px;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-right-width: 10px;
	border-right-style: solid;
    border-right-color: var(--primary);
}

ul.timeline li strong {
	display: block;
	margin-bottom: 3px;
}

ul.timeline li.rail strong {
	margin-top: 12px;
}

ul.timeline li.current::after {
	border-right-width: 10px;
	border-right-style: solid;
}

/*---Timeline Mobile---*/

@media (max-width: 768px) {

    ul.timeline {
		margin-top: 60px;
		margin-bottom: 35px;
        font-size: 14px;
		margin-left: 10px;
    }
	
	ul.timeline::before {
		left: 0;
  		transform: translateX(0);
	}
	
	ul.timeline li {
        width: 94%;
        margin-left: 30px;
    }
	
	ul.timeline li:nth-child(2n) {
        margin-left: 30px;
		margin-right: auto;
	}
	
	ul.timeline li:before {
        left: -43px;
    }

    ul.timeline li.rail {
        border-top: 6px solid var(--textdark);
        border-right: 6px solid var(--textdark);
        border-bottom: 6px solid var(--textdark);
        min-height: 99.2px;
        background-color: #ffffff;
    }

    .diagramheader {
        font-size: 1.25em;
        margin-top: 45px;
        border-radius: 0 50px 50px 0;
        margin-left: 10px;
    }

    .diagramfooter {
        text-align: left;
        font-size: 1.25em;
        padding-left: 20px;
        line-height: 7rem;
    }

    .half-circle {
        height: 7rem;
        width: 12rem;
        border-radius: 0rem 10rem 0 0;
        background-color: var(--primary);
        display: block;
        margin: -15px 0px 0 10px;
        border-top: 6px solid var(--textdark);
        border-left: 6px solid var(--textdark);
        border-right: 6px solid var(--textdark);
    }

}

@media (min-width: 769px) {
   	ul.timeline li:nth-child(odd)::after {
		right: -10px;
		left: initial;
		border-left-width: 10px;
		border-left-style: solid;
		border-right: none;
	}
	ul.timeline li:nth-child(odd)::before {
        right: -65px;
        left: initial;
    }
	ul.timeline li.current:nth-child(odd)::after {
		border-left-width: 10px;
		border-left-style: solid;
		border-right: none;
	}
	ul.timeline li:before {
        left: -65px;
    }
    ul.timeline li:nth-child(odd)::after {
        border-left-color: var(--primary);
    }
}

@media (min-width: 769px) and (max-width: 875px) {
	ul.timeline li {
	}
	ul.timeline li:nth-child(odd)::before {
	}
	ul.timeline li:before {
	}
}

@media (min-width: 876px) and (max-width: 999px) {
	ul.timeline li {
	}
	ul.timeline li:nth-child(odd)::before {
	}
	ul.timeline li:before {
	}
}

@media (max-width: 1000px) {
	.diagramback::before {
        width: 100vw;
        width: calc(100vw + 60px);
        height: 100%;
        left: -60px;
        top: 0;
    }
}


@media (min-width: 1000px) {
	ul.timeline li:nth-child(odd)::before {
	}
	ul.timeline li:before {
	}
}

@media (min-width: 1100px) {
	ul.timeline li:nth-child(odd)::before {
	}
	ul.timeline li:before {
	}
}

@media (min-width: 1200px) {
	ul.timeline li:nth-child(odd)::before {
    	
	}
	ul.timeline li:before {
	}
}


/*--------------------------------Animation--------------------------------*/


#direction-cyclist {
    display: inline-block;
    position: absolute;
    top: -12%;
    left: 8%;
    width: 79%;
    height: 100%;
    background-image: url(../img/Cyclist1lefttoright_sequence1.svg);
    background-repeat: no-repeat;
    background-size: 1000%;
    -webkit-animation: walkanim 1.5s infinite steps(9);
    -moz-animation: walkanim 1.5s infinite steps(9);
    animation: walkanim 1.5s infinite steps(9);
}

#cyclist-background {
    display: inline-block;
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: absolute;
    left: 0%;
    /* background-image: url(../mask.svg); */
    background-repeat: no-repeat;
    background-size: 100%;
    -moz-box-shadow: inset 50px 0px 50px rgba(255, 255, 255, 1);
    -webkit-box-shadow: inset 50px 0px 50px rgba(255, 255, 255, 1);
    box-shadow: inset 50px 0px 50px rgba(255, 255, 255, 1);
}

#cyclist-background::after {
    width: 100%;
    height: 100%;
    content: "";
    display: block;
    -moz-box-shadow: inset -50px 0px 50px rgba(255, 255, 255, 1);
    -webkit-box-shadow: inset -50px 0px 50px rgba(255, 255, 255, 1);
    box-shadow: inset -50px 0px 50px rgba(255, 255, 255, 1);
    position: absolute;
}

#cyclist-background > div {
    display: inline-block;
    background-image: url(../img/cyclistbackground2.svg);
    background-size: 50% auto;
    background-repeat: repeat-x;
    position: absolute;
    top: 25%;
    left: 5%;
    width: 200%;
    height: 150%;
    animation: slide 7s linear infinite;
    z-index: -1;
}

.columnanimcontainer {
    position: relative;
}

.columnanimcontainer svg.guide {
    width: 90%;
    margin: 0 auto;
    visibility: hidden;
}

#contact .cls-1 {
    fill: #fff !important;
}

#contact #logo {
    width: 100%;
    height: auto;
}

#contact #logo #arrowstem, 
#contact #logo #arrowhead {
    stroke: var(--primary);
}

#contact #logo .cls-1 {
    fill: none !important;
}

@keyframes walkanim {
	to { background-position: 100% 0;}
 }

 @keyframes slide {
	0% {
	  transform: translate(100%);
	}
	100% {
	  transform: translate(-100%);
	}
}





/* -------------------Card Fip CSS------------------ */


#heroimage.cards,
#heroimage2.cards {
    width: 50%;
    right: 0;
    bottom: 0;
}

.flip-card {
  background-color: transparent;
  width: 20%;
  height: auto;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
  float: left;
}

.break {
    clear: left;
}

.firstrow {
    left: 60%;
    position: relative;
}

.flip-card.wide {
  width: 40%;
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  padding-bottom: 100%;
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card.wide .flip-card-inner {
  padding-bottom: 50%;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card.is-flipped:hover .flip-card-inner {
  transform: rotateY(0deg);
}

.no-animations .flip-card:hover .flip-card-inner {
  transform: rotateY(0deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

.flip-card.wide .flip-card-back {
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
}

/* Style the back side */
.flip-card-back {
  background-color: var(--primary);
  color: var(--textlight);
  transform: rotateY(180deg);
  padding: 15px;
}

.img .flip-card-back {
  padding: 0px;
  background-color: transparent;
}

.flip-card h1 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.25em;
}

.flip-card p {
    font-size: 1em;
    line-height: 1.2;
}

.flip-card .cls-2 {
  stroke: none;
  fill: initial;
}

#heroimage .flip-card .standard {
    width: 100%;
    height: 100%;
    position: relative;
    left: 0;
    padding: 0;
}


/* Wheat Animations */

#wheat #left,
#wheat #centre,
#wheat #right,
#treeleft,
#treecentre,
#treeright {
  transform-box: fill-box;
  transform-origin: bottom center;
}

@keyframes sway {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(3deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}

#wheat #left,
#treeleft {
  animation: sway 10s ease-in-out infinite;
}

#wheat #centre,
#treecentre {
  animation: sway 12s ease-in-out infinite;
  animation-delay: -2s;
}

#wheat #right,
#treeright {
  animation: sway 11s ease-in-out infinite;
  animation-delay: -4s;
}


/* Dots Animations */

#dots path.cls-8 {
  transform-box: fill-box;
  transform-origin: center;
  animation: dotPulse 4s ease-in-out infinite;
}

#dots path.cls-8:nth-child(3n) {
  animation-delay: -1s;
}
#dots path.cls-8:nth-child(3n+1) {
  animation-delay: -2s;
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}


/* Leaves Animations */

#leaves path.cls-9 {
  transform-box: fill-box;
  transform-origin: center;
  animation: dotPulse 4s ease-in-out infinite;
}

#leaves path.cls-9:nth-child(3n) {
  animation-delay: -1s;
}
#leaves path.cls-9:nth-child(3n+1) {
  animation-delay: -2s;
}


/* --- PEOPLE (subtle bobbing) --- */

#person-1,
#person-2,
#person-3 {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: bob 4s ease-in-out infinite;
}

/* Natural stagger */
#person-1 { animation-delay: 0s; }
#person-2 { animation-delay: 0.6s; }
#person-3 { animation-delay: 1.2s; }

@keyframes bob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-1px) rotate(1.2deg);
  }
}


/* --- LEAF (gentle growth/pulse) --- */

#leaf {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: leaf-grow 5s ease-in-out infinite;
}

/* Slight offset so they don't feel mirrored */
#leaf-right {
  animation-delay: 0.5s;
}

@keyframes leaf-grow {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.06) rotate(-1deg);
  }
}


/* --- STEM (optional subtle sway) --- */

#left-stem {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: stem-sway 5s ease-in-out infinite;
}

@keyframes stem-sway {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(0.6deg);
  }
}


/* --- ACCESSIBILITY (good practice) --- */

@media (prefers-reduced-motion: reduce) {
  #person-1,
  #person-2,
  #person-3,
  #leaf-left,
  #leaf {
    animation: none;
  }
}


/* ----BIRD: hop along branch + turn--- */

#birdWrap {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: bird-walk 8s ease-in-out infinite;
  will-change: transform;
}

/* The “walk”: two hops left, turn, two hops right, turn back */
@keyframes bird-walk {
  /* Start perched (facing original direction) */
  0%   { transform: translate(0, 0) scaleX(1) rotate(0deg); }

  /* Hop 1 */
  10%  { transform: translate(-0, 0) scaleX(1) rotate(-2deg); }
  14%  { transform: translate(-20px, -18px) scaleX(1.02) rotate(-4deg); }
  18%  { transform: translate(-40px, 0) scaleX(1) rotate(0deg); }

  /* Hop 2 */
  28%  { transform: translate(-40px, 0) scaleX(1) rotate(-2deg); }
  32%  { transform: translate(-60px, -20px) scaleX(1.03) rotate(-5deg); }
  36%  { transform: translate(-80px, 0) scaleX(1) rotate(0deg); }

  /* Little settle */
  42%  { transform: translate(-80px, 0) scaleX(1) rotate(1deg); }
  46%  { transform: translate(-80px, 0) scaleX(1) rotate(0deg); }

  /* Turn around in place (flip) */
  50%  { transform: translate(-80px, 0) scaleX(-1) rotate(0deg); }

  /* Hop back 1 (now facing the other way) */
  62%  { transform: translate(-80px, 0) scaleX(-1) rotate(2deg); }
  66%  { transform: translate(-60px, -18px) scaleX(-1.02) rotate(4deg); }
  70%  { transform: translate(-40px, 0) scaleX(-1) rotate(0deg); }

  /* Hop back 2 */
  82%  { transform: translate(-40px, 0) scaleX(-1) rotate(2deg); }
  84%  { transform: translate(-20px, -25px) scaleX(0) rotate(4deg); }
  88%  { transform: translate(0, 0) scaleX(1) rotate(0deg); }

 
}


/* -----------------------------
   EYE: blink (on top of movement)
   ----------------------------- */

#eye {
  transform-box: fill-box;
  transform-origin: center center;
  animation: blink 4.8s linear infinite;
}

/* Two quick blinks per cycle feels natural */
@keyframes blink {
  0%, 6%, 100%   { transform: scaleY(1); }
  2%             { transform: scaleY(0.08); }
  4%             { transform: scaleY(1); }

  58%, 64%       { transform: scaleY(1); }
  60%            { transform: scaleY(0.08); }
  62%            { transform: scaleY(1); }
}


/* -----------------------------
   Accessibility: reduce motion
   ----------------------------- */

@media (prefers-reduced-motion: reduce) {
  #birdWrap, #eye { animation: none; }
}


/* ---- Sun Animation --- */


@keyframes pulseRay {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.5; }
}

#ray1, #ray2, #ray3, #ray4, #ray5, #ray6, #ray7 {
  transform-origin: 300px 300px;
  animation: pulseRay 3s ease-in-out infinite;
}

/* stagger slightly */
#ray2 { animation-delay: 0.2s; }
#ray3 { animation-delay: 0.4s; }
#ray4 { animation-delay: 0.6s; }
#ray5 { animation-delay: 0.8s; }
#ray6 { animation-delay: 1s; }
#ray7 { animation-delay: 1.2s; }

#horizontal {
  transform-box: fill-box;          
  transform-origin: left center;    
  transform: scaleX(0);
  animation: revealHorizontal 3.2s cubic-bezier(0.4, 0, 0.2, 1) alternate infinite;
}

@keyframes revealHorizontal {
  to {
    transform: scaleX(1);
  }
}

#vertical {
  transform-box: fill-box;         
  transform-origin: center top;    
  transform: scaleY(0);
  animation: revealVertical 3.2s cubic-bezier(0.4, 0, 0.2, 1) alternate infinite;
  animation-delay: 0.8s;
}

@keyframes revealVertical {
  to {
    transform: scaleY(1);
  }
}


/* ---- Rain ---- */


.rain svg {
    shape-rendering: geometricPrecision; /* better than crispEdges for diagonals */
}


#A, #B, #C {
  transform-box: fill-box;
  transform-origin: center;
}


#A {
  animation: cloudFloat 6s ease-in-out infinite;
}

#B {
  animation: cloudFloat 7s ease-in-out infinite;
  animation-delay: 2s;
}

#C {
  animation: cloudFloat 8s ease-in-out infinite;
  animation-delay: 4s;
}

@keyframes cloudFloat {
  0% {
    transform: translate(0px, 0px);
  }

  50% {
    transform: translate(12px, -8px); /* gentle drift up */
  }

  100% {
    transform: translate(0px, 0px);
  }
}

#A1, #A2, #A3, #A4, #A5, #A6, #A7, #A8,
#B1, #B2, #B3, #B4, #B5, #B6, #B7, #B8,
#C1, #C2, #C3, #C4, #C5, #C6, #C7, #C8, #C9, #C10 {
  transform-box: fill-box;       
  transform-origin: center;
  animation: rainFall 0.8s linear infinite;
}

#A1 { animation-delay: 0s; }
#A2 { animation-delay: 0.1s; }
#A3 { animation-delay: 0.2s; }
#A4 { animation-delay: 0.3s; }
#A5 { animation-delay: 0.4s; }
#A6 { animation-delay: 0.5s; }
#A7 { animation-delay: 0.6s; }
#A8 { animation-delay: 0.7s; }

#B1 { animation-delay: 0.2s; }
#B2 { animation-delay: 0.3s; }
#B3 { animation-delay: 0.4s; }
#B4 { animation-delay: 0.5s; }

#C1 { animation-delay: 0.1s; }
#C2 { animation-delay: 0.2s; }
#C3 { animation-delay: 0.3s; }


#A1, #A3, #A5 { animation-duration: 0.7s; }
#A2, #A4, #A6 { animation-duration: 0.9s; }
#A7, #A8 { animation-duration: 0.8s; }


.cls-20 {
    /*transform: translateZ(0); 
    backface-visibility: hidden;
    filter: blur(0.15px);*/
}

@keyframes rainFall {
  0% {
    transform: translate(0, -10px);
    opacity: 0.25;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translate(-10px, 10px);
    opacity: 0.25;
  }
}


/* ---- Houses ---- */


#greenwindow {
  animation: windowFlicker 7s infinite;
}

#purplewindow {
  animation: windowFlickerAlt 9s infinite;
}

@keyframes windowFlickerAlt {
  0%, 70%, 100% {
    opacity: 0.6;
    fill: #9782b2;
  }

  75%, 90% {
    opacity: 1;
    fill: #c9d23b;
  }
}

#bird1, #bird2 {
  transform-box: fill-box;
  transform-origin: center;
    animation-composition: add;
}

@keyframes bird1Fly {
  0%   { transform: translate(-50px, 0); }
  25%  { transform: translate(-10px, -12px); }
  50%  { transform: translate(40px, -6px); }
  75%  { transform: translate(80px, -14px); }
  100% { transform: translate(140px, 0); }
}

#bird1 {
  animation: 
    bird1Fly 14s linear infinite alternate,
    flap1 1.3s ease-in-out infinite alternate;
}

@keyframes bird3Fly {
  0%   { transform: translate(-20px, 5px); }
  30%  { transform: translate(10px, -8px); }
  60%  { transform: translate(30px, 2px); }
  100% { transform: translate(70px, -10px); }
}

#bird2 {
    animation:
        bird3Fly 9s linear infinite alternate,
        flap2 1.2s ease-in-out infinite alternate;
}

@keyframes flap1 {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.75); }
}

@keyframes flap2 {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.6); }
}


/* ---- Shield ---- */


#leftlion #noseandmouth-3,
#rightlion #noseandmouth-2,
#bottomlion #noseandmouth {
    transform-origin: center center;
    animation: roar 4s infinite ease-in-out;
}

#leftlion #tongue-3,
#rightlion #tongue-2,
#bottomlion #tongue {
    transform-origin: center top;
    animation: tongueRoar 4s infinite ease-in-out;
}

#bottomlion #lefteye,
#bottomlion #righteye,
#leftlion #lefteye-3,
#leftlion #righteye-3,
#rightlion #lefteye-2,
#rightlion #righteye-2 {
    transform-box: fill-box;
    transform-origin: center center;
    animation: lionSquint 4s infinite ease-in-out;
}

#leftlion,
#rightlion,
#bottomlion {
    transform-box: fill-box;
    transform-origin: center center;
    animation: lionBob 4s infinite ease-in-out;
}

@keyframes lionBob {
    0%,100% {
        transform: translateY(0);
    }
    45%,65% {
        transform: translateY(-3px);
    }
}

/* LEFT */
#leftlion,
#leftlion #noseandmouth-3,
#leftlion #tongue-3,
#leftlion #lefteye-3,
#leftlion #righteye-3 {
    animation-delay: 0s;
}

/* RIGHT */
#rightlion,
#rightlion #noseandmouth-2,
#rightlion #tongue-2,
#rightlion #lefteye-2,
#rightlion #righteye-2 {
    animation-delay: -3.33s;
}

/* BOTTOM */
#bottomlion,
#bottomlion #noseandmouth,
#bottomlion #tongue,
#bottomlion #lefteye,
#bottomlion #righteye {
    animation-delay: -6.66s;
}

@keyframes roar {
    0%,100% {
        transform: translateY(0);
    }
    10%,20% {
        transform: translateY(6px);
    }
}

@keyframes tongueRoar {
    0%,100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.02);
    }
}

@keyframes lionSquint {
    0%,100% {
        transform: scaleY(1);
    }

    60%,80% {
        transform: scaleY(0.7);
    }
}


/* ---- Masks ---- */

#lefteye,
#righteye {
    transform-box: fill-box;
    transform-origin: center;
    animation: blink 8s infinite;
}

@keyframes blink {
    0%, 88%, 100% {
    transform: scaleY(1);
    }
    89% {
    transform: scaleY(0.05);
    }
    90% {
    transform: scaleY(1);
    }
    91% {
    transform: scaleY(0.05);
    }
    92% {
    transform: scaleY(1);
    }
}


/* ---- Waves ---- */

#wave1,
#wave3 {
  transform-origin: center;
  transform-box: fill-box;
  animation: driftRight 8s ease-in-out infinite;
}

#wave2,
#wave4 {
  transform-origin: center;
  transform-box: fill-box;
  animation: driftLeft 10s ease-in-out infinite;
}

@keyframes driftRight {
  0%,100% {
    transform: translateX(-8px) scaleX(1.019);
  }
  50% {
    transform: translateX(8px) scaleX(1.019);
  }
}

@keyframes driftLeft {
  0%,100% {
    transform: translateX(8px) scaleX(1.019);
  }
  50% {
    transform: translateX(-8px) scaleX(1.019);
  }
}













@media (max-width: 600px) {

    #heroimage img {
        display: block;
    }

}

@media (max-width:1000px) and (max-height: 650px) {

    #heroimage {
        display: none;
    }

    #title {
        width: 100%;
    }

}


@media (max-width:1000px) and (min-width: 601px) {

    #heroimage img {
        left: 0% !important;
        width: 100% !important;
        padding-left: 0%;
    }

    #heroimage #background img {
        width: 40% !important;
        left: initial !important;
    }

}

@media (max-width: 1000px) {

	#heroimage.cards {
        width: 50% !important;
    }

}


@media (max-width: 1400px) {

	#heroimage.cards {
        width: 40%;
        height: auto;
        bottom: 0;
    }

    #welcome.section-wrap {
        display: block;
        min-height: 100vh;
    }

    #title {
        width: 60%;
    }

}

#appwindow {
	width: 74%;
	display: inline-block;
	position: relative;
	margin-top: 45px;
}

#photomenu {
	width: 23%;
	margin-right: 3%;
	display: inline-block;
	margin-top: 45px;
    border-top: 1px solid var(--primarylight);
    padding-top: 45px;
}

#photomenu ol {
	padding-inline-start: 0;
	list-style: none;
	border-top: 1px solid var(--primarylight);
    margin-top: 30px;
}

#photomenu li {
	border-bottom: 1px solid var(--primarylight);
	margin-top: 20px;
	padding-bottom: 20px;
}

#photomenu ul li {
	border-bottom: none;
	margin-top: 20px;
	padding-bottom: 0;
}

#photomenu ol li a {
	text-decoration: none;
	color: var(--textdark);
	font-weight: 600;
	transition: 0.3s;
}

#photomenu ol li a.current:hover {
	color: var(--secondary);
}

#photomenu ol li a:hover {
	color: var(--secondary);
}

#photomenu ol li a.current {
	cursor: default;
	color: var(--secondary);
	font-weight: 700;
}

#photomenu {
}

#numbers g {
	cursor: pointer;
}

#numbers g:hover .cls-60 {
	fill: var(--secondary);
	transition: 0.3s;
}

.location {
	position: absolute;
	top: 0;
    width: 30%;
    height: auto;
    background-color: var(--primary);
    padding: 20px;
    transform: translateX(100%); /* hidden off screen */
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
    pointer-events: none;
}

.location.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.location h3 {
    color: var(--secondary);
    /*font-size: 1.45em;*/
    margin-top: 25px;
    margin-bottom: 10px;
}

.location h3::after {
    display: none;
}

.location p {
    color: var(--textlight);
}

#photomenu li {
    counter-increment: steps;
}

#photomenu ol li:first-of-type {
   padding-bottom: 15px;
}

#photomenu ol li:first-of-type a {
}

.close-panel {
    background-color: #c9d23b;
    border: none;
    margin: 0;
    padding: 0;
    text-align: inherit;
    font: inherit;
    border-radius: 0;
    appearance: none; 
    cursor: pointer;
    font-weight: 900;
    right: 0;
    top: 0;
    position: absolute;
    color: var(--primary);
    transition: 0.3s;
    height: 30px;
    width: 30px;
    text-align: center;
    transition: 0.3s;
}

.close-panel:hover {
    background-color: var(--secondary);
}

/*
#photomenu ol li:first-child a::before {
	content: "";
	border-radius: 0%;
	-webkit-clip-path: polygon(50% 0%, 100% 43%, 89% 43%, 89% 100%, 11% 100%, 11% 43%, 0% 43%);
    clip-path: polygon(0 37%, 50% 0, 100% 37%, 85% 37%, 84% 85%, 60% 85%, 60% 60%, 40% 60%, 40% 85%, 15% 85%, 15% 37%);
	top: -0.3em;
	position: relative;
}
*/

#photomenu li a::before {
    content: counter(steps);
    margin-right: 0.5rem;
    background: var(--primary);
    color: #ffffff;
    width: 1.75em;
    height: 1.75em;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    line-height: 1.75em;
    font-size: 0.875em;
    transition: 0.3s;
}

#photomenu li a:hover::before {
    background: var(--secondary);
}

#photomenu li a.current::before,
#photomenu li a.hover::before {
    background: var(--secondary);
}

#photomenu li a {
    background-image: none;
}

.slider-button line.divide {
	stroke: #ffffff;
}

#numbers .tab-link.hover .cls-60,
#numbers .tab-link.active .cls-60,
#numbers .tab-link.current .cls-60 { 
	fill: var(--secondary);
	transition: 0.3s;
} 

#photomenu .tab-link.hover { 
	color: var(--secondary);
	transition: 0.3s;
    font-weight: 700;
}

#photomenu .tab-link.hover::after { 
	background-color: var(--secondary);
}

.image-container figure img {
	border-bottom: none;
}

.image-container figure figcaption {
	position: absolute;
	background-color: #00b0bb !important;
	top: 0;
}

.image-container figure:last-child figcaption {
	right: 0;
}

.container{
  --position: 50%;
  position: relative;
  overflow: hidden;
}

.image-container{
  position: relative;
  overflow: hidden;
}

/* reset default figure spacing */
.image-container figure{
  margin: 0;
}

/* AFTER layer defines height */
.figure-after,
.image-container figure:nth-child(2){
  position: relative;
  z-index: 1;
}

.image-container figure:nth-child(2) img{
  display: block;
  width: 100%;
  height: auto;
}

/* BEFORE layer clipped */
.figure-before,
.image-container figure:nth-child(1){
  position: absolute;
  inset: 0;
  width: var(--position);
  overflow: hidden;
  z-index: 2;
}

.image-container figure:nth-child(1) img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* matches original slider feel */
}

.image-container,
.image-container * {
  pointer-events: none;
}

.slider {
  pointer-events: all;
}

.slider {
  z-index: 5;
}

.slider-line {
  z-index: 6;
}

.slider-button {
  z-index: 7;
}

.keyplan {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 30%;
	height: auto;
	z-index: 99;
	/*border-left: 3px solid rgb(204, 239, 241);
	border-top: 3px solid rgb(204, 239, 241);*/
}


@media only screen and (max-width:1000px) {

	#appwindow {
		width: 100%;
		display: block;
		position: relative;
		margin-top: 0px;
	}

	#photomenu {
		width: 100%;
		margin-right: 0%;
		margin-top: 15px;
	}

	#photomenu ol {
		display: flex;
		margin-bottom: 2px;
        border-top: none;
	}

	#photomenu ol li {
		width: 19.9%;
		height: 35px;
		margin-right: 0.5%;
		display: inline-block;
		margin-top: 0px;
		margin-bottom: 0;
		padding-bottom: 0;
		text-align: center;
		border-bottom: none;
	}

	#photomenu li {
	}

	#photomenu ol li:first-of-type {
		padding-bottom: 0px;
	}

	#photomenu ol li:last-of-type {
		margin-right: 0%;
	}

	#photomenu ol li a {
		color: transparent;
		display: block;
		background-color: var(--primary);
		border-radius: 10px 10px 0 0;
		text-align: center;
		position: relative;
		height: 100%;
	}

    #photomenu ol li a::before,
    #photomenu ol li a:hover::before, 
    #photomenu .tab-link.hover::before {
        background-color: transparent !important;
    }

	#photomenu ol li a.current,
	#photomenu ol li a:hover,
	#photomenu .tab-link.hover  {
		background-color: var(--secondary);
	}

    #photomenu ol li a.current {
        color: transparent;
    }

	#photomenu ol li a:hover,
	#photomenu ol li a.current:hover,
	#photomenu .tab-link.hover {
		color: transparent;
	}

	#photomenu li a::before,
	#photomenu li a.current::before {
    	background: none;
		margin-right: auto;
		margin-left: auto;
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 1.5em;
		height: 1.5em;
	}

	#photomenu ol li a.current {
		text-transform: none;
	}
	
	#photomenu li:first-child a::before {
	}

	#photomenu ol li:first-child a::before {
		
	}

	.image-container figure {
        margin-top: 0px;
        margin-bottom: 0px;
    }

	.image-container figure figcaption {
		top: initial;
		bottom: 0;
	}

	.keyplan {
		top: 0;
	}

    .location {
        top: 0;
        bottom: 0;
        width: 100%;
        height: auto;
        background-color: rgba(85, 41, 130, 0.8);
        padding: 20px;
    }

}

@media (min-width: 1001px) {

    .image-container figure {
        margin-top: 0px;
        margin-bottom: 0px;
    }

    #photomenu ul li {
        padding-left: 5px;
        padding-right: 0px;
    }

    #photomenu li {
        position: relative;
        line-height: 1.2;
        padding-left: 32px;
        padding-right: 26px;
    }


    #photomenu li a::before {
        position: absolute;
        left: 0px;
        top: -2px;
    }

    #photomenu li a::after {
        content: "";
        display: grid;
        position: absolute;
        top: 50%;
        right: 0;
        margin-top: -15px;
        -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 20% 100%, 70% 50%, 20% 0%);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 20% 100%, 70% 50%, 20% 0%);
        width: 15px;
        height: 15px;
        background-color: var(--primary);
    }

    #photomenu li a.current::after,
    #photomenu li a.current:hover::after {
       transform: rotate(180deg);
       background-color: var(--secondary);
       animation: none;
    }

    #photomenu li a:hover::after {
        animation: a4 1s infinite alternate;
        background-color: var(--secondary);
    }

}

@-webkit-keyframes a4 {
 0%  {transform: translate(0px,0px) translate(0px)}
  100%{transform: translate(0px,0px) translate(-4px)}
}

@-moz-keyframes a4 {
  0%  {transform: translate(0px,0px) translate(0px)}
  100%{transform: translate(0px,0px) translate(-4px)}
}

@-o-keyframes a4 {
 0%  {transform: translate(0px,0px) translate(0px)}
  100%{transform: translate(0px,0px) translate(-4px)}
}

@keyframes a4 {
  0%  {transform: translate(0px,0px) translate(0px)}
  100%{transform: translate(0px,0px) translate(-4px)}
}

@-webkit-keyframes a5 {
 0%  {transform: translate(0px,0px) translate(0px)}
  100%{transform: translate(0px,0px) translate(-4px)}
}

@-moz-keyframes a5 {
  0%  {transform: translate(0px,0px) translate(0px)}
  100%{transform: translate(0px,0px) translate(-4px)}
}

@-o-keyframes a5 {
 0%  {transform: translate(0px,0px) translate(0px)}
  100%{transform: translate(0px,0px) translate(-4px)}
}

@keyframes a5 {
  0%  {transform: rotate(180deg) translate(0px,0px) translate(0px)}
  100%{transform: rotate(180deg) translate(0px,0px) translate(-4px)}
}

