/* CSS Document */


:root {
    margin: 0;
    padding: 0;
    --primary: #512d82;
    --secondary: #80bdb8;
    --secondarylight: rgba(204, 244, 5, 0.1);
    --background: #f5f9ff;
    --textdark: #1d1d1d;
    --textlight: #FFFFFF;
    --primarylight: #C4C5CE;
    --shadow: #464646;
    --heading-fonts: Arial,Helvetica Neue,Helvetica,sans-serif;
    --body-fonts: Arial,Helvetica Neue,Helvetica,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;
}






/* --------------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(--secondary);
}

h1 span {
    color: var(--textlight);
}


h1 strong {
    color: var(--secondary);
}

h2 {
    color: var(--textdark);
    font-weight: 700;

}

#welcome h2 {
    color: var(--textlight);
    font-weight: 400;
}

.section-wrap:nth-child(3n) h2 {
   /* color: var(--secondary);*/
}

h3.sentence {
    font-weight: 500;
}

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;
}


@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.75em !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.375em !important;
        line-height: 1.0666666666666667em;
        margin-bottom: 25px;
    }

    #welcome h2 {
        margin-bottom: 30px !important;
    }

    #welcome h3 {
        font-size: 1em !important;
    }

    h3 {
        font-size: 1.375em !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.75em;
        line-height: 1.0666666666666667em;
        margin-bottom: 25px;
    }

    #title h1 {
        font-size: 6.5em;
        line-height: 0.9;
    }

    #title h1 span {
        font-size: 0.3125em;
        margin-bottom: 25px;
    }

    #title h2 {
        font-size: 1.625em;
    }

    h3 {
        margin-bottom: 20px;
        font-size: 1.75em;
        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.875em;
        line-height: 1.0666666666666667em;
        margin-bottom: 45px;
    }

    #title h1 {
        font-size: 7.25em;
        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.875em;
        line-height: 1.2;
    }

    #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: 7.25em;
    }

    #title h2 {
        font-size: 1.75em;
    }

}
/*
@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: 1000px) {
    
    .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: 1001px) {

    #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: 1001px) 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: 1001px) {

    #menu-icon {
		right: var(--sectionpadding) !important;
    }
}

@media (max-width: 1000px) {
	
    #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;
    }

    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: 1001px) {

	#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));
    will-change: transform;

}

#heroimage2 img {
    transform: translateY(var(--translateYA));
    will-change: transform;

}

svg#Grid,
#heroimage img,
#heroimage2 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;
}

#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;
}

.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(--textlight);
    transition: 0.3s;
    display: inline-block;
    margin: 0 auto;
}

.scrollbox p {
    color: var(--textlight) !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;
    }

}


@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: 1000px) {

	.headerlogo a,
	.headerlogo a img {
		width: 137px;
    	height: 30px;
	}
	
}


/*-----Logo Size Desktop Width-----*/


@media (min-width: 1001px) {

	.headerlogo a,
	.headerlogo a img {
    	width: 183px;
    	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(--primary);
    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 {
    transform: translateY(var(--translateY));
    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;
}

.section-content h2 {
    width: 100%;
    margin-bottom: 0
}

.section-content h2::after {
    display: block;
    content: "";
    height: 3px;
    max-width: 120px;
    background-color: var(--secondary);
    margin: 35px 0;
}

.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.following {
        padding-top: 0px;
    }

    .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-content {
        padding-top: 160px;
        padding-bottom: 160px;
    }

    .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;
    }

}

@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;
	}
}

.sticky {
    position: sticky;
    top: 150px;
}

.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%; */
    }
}

#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 {
        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: 270px;
}

#title img {
    margin-bottom: 45px;
}

#title h1 {
    display: inline-block;
    margin-bottom: 30px;
} 

#title h1 span {
    display: block;
    font-weight: normal;
}

#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;
}  

.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(--secondary);
    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);
}

.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: 30px;
	margin-bottom: 45px;
	list-style: none;
	padding: 0;
	position: relative;
}

#about ul.timeline {
	margin-bottom: 75px;
}

ul.timeline::before {
	content: "";
	display: block;
	height: 100%;
    height: calc(100% + 90px);
    margin-top: -30px;
	width: 6px;
	padding: 0;
	position: absolute;
	left: 50%;
  	transform: translateX(-50%);
}

ul.timeline li {
	width: 50%;
    width: calc(50% - 3px);
	font-size: 16px;
    position: relative;
    line-height: 1.3;
    margin-bottom: 30px;
    margin-left: 0px;
    padding: 20px 40px;
    border-radius: 50px 0 0 50px;
}

ul.timeline li:last-child {
    margin-bottom: 0px;
}

ul.timeline li:nth-child(2n) {
    margin-left: auto;
	margin-right: 0;
    border-radius: 0 50px 50px 0;
}

ul.timeline li:before {
	border-width: 6px; 
	border-style: solid;
	border-radius: 50%;
	content: "\E807";
	display: block;
	width: 60px;
	height: 60px;
	margin-top: -5px;
	line-height: 24px;
	position: absolute;
	left: -46px;
	text-align: center;
    font-family: mkicons;
    font-size: 49px;
    line-height: 48px;
    z-index: 11;
}

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;*/
}

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: 20px;
		margin-bottom: 35px;
        font-size: 14px;
		margin-left: 10px;
    }
	
	ul.timeline::before {
		left: 0;
  		transform: translateX(0);
	}
	
	ul.timeline li {
		width: 99%;
    	margin-left: 6px;
        border-radius: 0 50px 50px 0;
        padding: 20px 90px 20px 20px;
        margin-bottom: 20px;
	}
	
	ul.timeline li:nth-child(2n) {
    	margin-left: 6px;
		margin-right: auto;
	}
	
	ul.timeline li:before {
    	left: initial;
        right: 17px;
	}

    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 {
		left: 100%;
        transform: translateX(-50%);
	}
	ul.timeline li.current:nth-child(odd)::after {
		border-left-width: 10px;
		border-left-style: solid;
		border-right: none;
	}
	ul.timeline li:before {
    	right: 100%;
        transform: translateX(50%);
        left: initial
	}
    ul.timeline li:nth-child(odd)::after {
        border-left-color: #160F3E;
    }
}

@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%);
	}
}