/* body level  */

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    background: url("../../images/logo/background.svg") center top #fff;
    background-size: cover;
    overflow-x: hidden;
}

#preload {
    height: 1px;
    width: 1px;
    overflow: hidden;
}


/* top menu  */

#hamburger {
    height: 30px;
    width: 30px;
    position: fixed;
    right: 50px;
    top: 30px;
    background: url("../../images/core/hamburger/hamburger.png") no-repeat;
    cursor: pointer;
}

#hamburger.open {
    background-image: url("../../images/core/hamburger/close.png");
}

#topMenu {
    display: none;
    width: 250px;
    height: auto;
    background-color: #f6f6f6;
    position: fixed;
    right: 50px;
    top: 54px;
    z-index: 101;
    box-shadow: 0px 8px 6px rgba(28, 27, 27, 0.3);
}

#menu-items {
    padding: 0;
    margin: 0;
}

#topMenu a {
    color: #fff;
    text-decoration: none;
}

#topMenu li {
    color: #fff;
    font-family: FuturaLT-Book;
    list-style: none;
    font-size: 20px;
    padding: 7px 13px;
    border-bottom: 1px #fff solid;
    border-top: 1px #fff solid;
    background-color: #2b4e84;
}

#topMenu li:hover, #topMenu li:focus {
    background-color: #009A44;
}


/* journey level  */

#journey {
    max-width: 890px;
    margin: auto;
    background-color: #f6f6f6;
    box-shadow: 0 0 15px 5px rgba(28, 27, 27, 0.3);
    margin-top: 155px;
    overflow: hidden;
    padding-bottom: 50px;
    /*margin-bottom: 15px; border-top:10px solid #006EB7; border-bottom:10px solid #006EB7;*/
}


/* header */

#header {
    width: 100%;
    padding: 1px 0;
    transition: all 0.3s;
    z-index: 5;
    background-color: #0a8ac4;
    z-index:100;
}

#header h1 {
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 3.438em;
    color: #fff;
    text-align: center;
}

.fixed #header {
    height: 65px;
    position: fixed;
    left: 0px;
    top: 70px;
    box-shadow: 0px 8px 6px rgba(28, 27, 27, 0.3);
    
}

.fixed #header h1 {
    font-size: 2.5em;
    margin-top: 16px;
}


/* legend */

#legend {
    width: 100%;
    min-height: 1px;
    background-color: #F2F2F2;
}

.fixed #legend {
    margin-top: 160px;
}

#legend #icons {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-align: center;
    margin: auto;
    width: 80%;
    flex-wrap: wrap;
    padding-left: 0 !important;
}

#icons li {
    width: 72px;
    height: 51px;
    font-family: "proxima-nova", FuturaLT-Book;
    list-style-type: none;
    padding-top: 60px;
    margin-top: 15px;
    background-image: url(../../images/core/legend_icons/video.svg);
    background-size: 80%;
    background-position: center top;
    background-repeat: no-repeat;
}

#icons .single {
    padding-top: 65px;
}

#icons li.c2r {
    background-image: url(../../images/core/legend_icons/c2r.svg);
}

#icons li.interactive {
    background-image: url(../../images/core/legend_icons/activity.svg);
}

#icons li.task {
    background-image: url(../../images/core/legend_icons/task.svg);
}

#icons li.podcast {
    background-image: url(../../images/core/legend_icons/podcast.svg);
}

#icons li.reading {
    background-image: url("../../images/core/activity_icons/reading_legend.svg");
}


/*node level */

.node {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0px;
    background-repeat: no-repeat !important;
    background-size: 99px;
    background-position: center top;
    height: auto;
    position: relative;
    margin-left: -100%;
    margin-top: 0px;
}

.node::after {
    height: 219px;
    width: 181px;
    content: "";
    position: absolute;
    top: -70px;
    margin-left: 357px !important;
    background: url(../../images/nodeIcons/start.svg) no-repeat center;
}

.line {
    content: "";
    position: relative;
    left: 50%;
    border-left: 3px solid #005eb8;
    height: 100%;
    margin-top: 160px;
    border-top: 0;
}

.continue {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #fff;
    margin-left: -16px;
    border: #006EB7 3px solid;
    margin-top: 45px;
}

.nodeTitle {
    width: 250px;
    padding: 5px 30px;
    text-align: center;
    margin-bottom: 20px;
}

.nodeTitle h2 {
    font-family: "Poppins", sans-serif;
    color: #000;
    font-size: 35px;
    font-weight: 600 !important;
    letter-spacing: -.02em;
    line-height: 1.25;
    font-style: normal;
    text-rendering: optimizeLegibility;
}


/*begin and end*/

#overview {
    background-image: url(../../images/nodeIcons/start.svg);
}

#summary {
    height: 450px;
}

#overview .nodeTitle {
    background: #005eb8;
    background-color: #005eb8;
}

#overviewVid {
    margin-top: 20px;
}


/*cycling through the four colours*/
/*
.line {
    border-left-color: #0a8ac4;
}

.continue {
    border-color: #0a8ac4;
}

.nodeTitle {}

.nodeTitle h2 {
    color: #000;
}

.nodeTitle h2 span {
    color: #0a8ac4;
}

.node .activity .status {
    background-color: #0a8ac4;
}

.node .activity a {
    color: #00ad51;
}

.line:nth-child(4n) {
    border-left-color: #f05e62;
}

.line:nth-child(4n) .node:before {
    background-color: #f05e62;
}

.line:nth-child(4n) .nodeTitle {}

.line:nth-child(4n) .nodeTitle h2 {
    color: #000;
}

.line:nth-child(4n) .nodeTitle h2 span {
    color: #f05e62;
}

.line:nth-child(4n) .continue {
    border-color: #f05e62;
}

.line:nth-child(4n) .status {
    background-color: #f05e62;
}

.line:nth-child(4n) .node .activity a {
    color: #f05e62 !important;
}

.line:nth-child(4n+1) {
    border-left-color: #00ad51;
}

.line:nth-child(4n+1) .node:before {
    background-color: #00ad51;
}

.line:nth-child(4n+1) .nodeTitle {}

.line:nth-child(4n+1) .nodeTitle h2 span {
    color: #00ad51;
}

.line:nth-child(4n+1) .continue {
    border-color: #00ad51;
}

.line:nth-child(4n+1) .status {
    background-color: #00ad51;
}

.line:nth-child(4n+1) .node .activity a {
    color: #00ad51 !important;
}

.line:nth-child(4n+2) {
    border-left-color: #ff5040;
}

.line:nth-child(4n+2) .node:before {
    background-color: #ff5040;
}

.line:nth-child(4n+2) .nodeTitle {}

.line:nth-child(4n+2) .nodeTitle h2 span {
    color: #ff5040;
}

.line:nth-child(4n+2) .continue {
    border-color: #ff5040;
}

.line:nth-child(4n+2) .status {
    background-color: #ff5040;
}

.line:nth-child(4n+2) .node .activity a {
    color: #ff5040 !important;
}
*/

/* iframe and iframe content */

#contentWindow {
    display: none;
}

.node #contentWindow,
#topMenu #contentWindow {
    width: 100%;
    height: 80%;
    display: none;
    z-index: 100;
}

.node #content,
#topMenu #content {
    width: 100%;
    height: 95%;
}

.node .lightbox-wrapper,
#topMenu .lightbox-wrapper {
    width: 80vw;
    height: 100%;
}

.node .lightbox-content,
#topMenu .lightbox-content {
    width: 80vw;
    height: 95%;
}

.video .lightbox-content {
    height: 100%;
}

#frame,
#content {
    border-color: transparent !important;
}

#content {/*max-width:1382px; max-height:780px;*/}

.lightbox-video-player {
    border: 0 !important;
}

#node0 #act1 .lightbox-btn-close,
#node0 #act2 .lightbox-btn-close,
#node0 #act3 .lightbox-btn-close,
#node0 #act4 .lightbox-btn-close {
    right: -.8em !important;
}

.lightbox-container {
    z-index: 100;
    padding: 1em;
}

.lightbox-video-wrapper {
    /*padding-bottom: 55%;*/
}


/*activity level*/

.activity {
    background-repeat: no-repeat;
    background-position: 70% 15%;
    background-size: 15%;
    height: 100px;
    width: 300px;
    margin-top: 50px;
}

.activity h3, .activity a {
    height:0px; width:0px;
}

.activity .status {
    pointer-events:none;
}

.activity:nth-child(2n+1)::before {
    left: 115px;
}

.activity::after {
    content: "";
    position: absolute;
    display: block;
    height: 42px;
    width: 42px;
    left: 326px;
    top: 23px;
    background-repeat: no-repeat;
}

.activity:nth-child(2n+1)::after {
    left: 134px;
}

.activity.last {
    margin-bottom: 50px;
}

.activity .status {
    height: 20px;
    width: 20px;
    border: #fff 3px solid;
    position: absolute;
    left: 47%;
    top: 32%;
}


/*left*/

.activity h3 {
    display: inline-block;
    position: relative;
    max-width: 220px;
    cursor:default;
}

.activity h3::before {
    background: #d2ebf2;
    content: '';
    position: absolute;
    left: 6px;
    top: -6px;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.activity h3 button {
    display: block;
    position: relative;
    font-family: "Poppins", sans-serif;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #000;
    text-transform: uppercase;
    transition: opacity .25s;
    text-align: center;
    padding: 16px 25px;
    z-index: 2;
    background-color: transparent;
    box-sizing: border-box;
    cursor: pointer;
}

.activity a {
    text-decoration: none;
}


/*left*/

.activity:nth-child(odd) h3 {
    left: 38%;
    text-align: left;
}

.activity:nth-child(odd) h3::before {
    background-color: #ffe550;
}

.activity.wide:nth-child(even) h3 {
    margin-left: -92px;
}

.activity.wide h3 {
    width: 60%;
}

.video::after {
    background-image: url("../../images/core/activity_icons/video.svg");
}

.interactive::after {
    background-image: url(../../images/core/activity_icons/activity.svg) !important;
    height: 50px;
    width: 50px;
    left: 331px;
    top: 19px;
}

.interactive:nth-child(2n+1)::after {
    left: 135px;
}

.reflect {}

.task::after {
    background-image: url(../../images/core/activity_icons/task.svg) !important;
    height: 50px;
    width: 50px;
    left: 328px;
    top: 19px;
}

.task:nth-child(2n+1)::after {
    left: 135px;
}

.c2r::after {
    background-image: url(../../images/core/activity_icons/c2r.svg) !important;
}

.f2f {
    background-image: url(../../images/core/legend_icons/f2f.svg) !important;
}

.node .f2f {
    background-image: none !important;
}

.node .f2f::after {
    background-image: url(../../images/core/activity_icons/f2f_activity.svg) !important;
    height: 50px;
    width: 50px;
    left: 323px;
    top: 23px;
}

.podcast::after {
    background-image: url(../../images/core/activity_icons/podcast.svg) !important;
    height: 50px;
    width: 50px;
    left: 325px;
    top: 20px;
}

.podcast:nth-child(2n+1)::after {
    left: 133px;
}

.reading::after {
    background-image: url(../../images/core/activity_icons/reading.svg) !important;
    height: 50px;
    width: 50px;
    left: 322px;
    top: 23px;
}

.reading:nth-child(2n+1)::after {
    left: 130px;
}

.activity.inprogress::before {
    background-color: #f7d9aa;
}

.activity.completed::before {
    background-color: #a6cba6;
}

.activity.completed .status::after {
    content: "";
    display: inline-block;
    background-image: url("../../images/core/status/status_completed.svg") !important;
    width: 45px;
    height: 45px;
    position: absolute;
    left: 51px;
    top: -14px;
}

.activity:nth-child(odd).completed .status::after {
    left: -88px;
}

.activity.inprogress .status::after {
    content: "";
    display: inline-block;
    background-image: url("../../images/core/status/status_inprogress.svg") !important;
    width: 45px;
    height: 45px;
    position: absolute;
    left: 51px;
    top: -14px;
}

.activity:nth-child(odd).inprogress .status::after {
    left: -88px;
}


/*topic descriptions */

.activity {
    position: relative;
    display: inline-block;
}

.activity .detailtext {
    visibility: hidden;
    background-color: #fff;
    box-shadow: 8px 8px #F2F2F2;
    color: #3F464F;
    font-family: "Poppins", sans-serif;
    font-style: italic;
    text-align: left;
    border-radius: 6px;
    padding: 15px;
    /* Position the tooltip */
    position: absolute;
    width: 300px;
    top: 15%;
    left: 15%;
    margin-left: -200px;
    /* Use half of the width (120/2 = 60), to center the tooltip */
    z-index: 99 !important;
    cursor: default;
}

.activity:nth-child(even) .detailtext {
    margin-left: 41%;
    top: 15%;
    /* Use half of the width (120/2 = 60), to center the tooltip */
}

.activity.double .detailtext {
    top: 80%;
}

.nodeTitle .detailtext {
    visibility: hidden;
    background-color: #fff;
    box-shadow: 8px 8px #F2F2F2;
    color: #3F464F;
    font-family: FuturaLT-Book;
    font-style: italic;
    text-align: center;
    border-radius: 6px;
    padding: 15px;
    z-index: 100;
    /* Position the tooltip */
    position: absolute;
    width: 250px;
    margin-top: -17px;
    left: 50%;
    margin-left: -294px;
    /* Use half of the width (120/2 = 60), to center the tooltip */
}

.activity a:hover .detailtext, .activity a:focus-within .detailtext,
.nodeTitle:hover .detailtext, .nodeTitle:focus-within .detailtext {
    visibility: visible;
}


/* Continue button */

#continue {
    background-color: #a2007d;
    border-radius: 15px;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%);
    height: 200px;
    width: min(500px, 75%);
    padding: 50px;
    font-family: "Interstate", sans-serif;
    font-weight: bold;
    font-size: 26px;
    color: #fff;
    display: none;
    transition: border 0.4s ease-in-out, display 0.4s ease-in-out, color 0.4s ease-in-out, background-color 0.4s ease-in-out;
    box-shadow: 6px 6px 10px rgba(28, 27, 27, 0.3);
}

#continue a {
    color: #fff;
    text-decoration: none;
    margin: auto;
    font-family:"Interstate", sans-serif;
    text-transform: capitalize;
    font-size: 20px;
    padding: 0.8em 2em;
    border-radius: 5px;
    text-align: center;
    background-color: #e2178f;
    height: 20px;
    width: 120px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    bottom: 60px;
    right: 60px;

}

#continue a:hover, #continue a:focus {

    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.3);
}


/* footer */

#topLine,
#footer {
    width: 100%;
    position: absolute;
    left: 0px;
    background-color: #f6f6f6;
    margin-top: 60px;
    box-shadow: 0px 8px 6px rgba(28, 27, 27, 0.3);
    background-repeat: no-repeat;
}

#footer {
    height: 90px;
}

#footer #powered {
    background-image: url("../../images/core/clearlogo/nobox-reversed-powered.png");
    background-size: contain;
}

#topLine {
    min-height: 90px;
    top: 0px;
    margin-bottom: 60px;
    margin-top: 0px;
    justify-content: center;
    display: flex;
    flex-direction: row;
    position: fixed;
    transition: all 0.04s;
    z-index: 100;
}

.fixed #topLine {
    min-height: 70px;
    box-shadow: none;
}

#topLine img {
    height: 65px;
    margin: auto 24px;
}

#topLine h1 {
    font-family: FuturaLT-Bold;
    font-weight: bold;
    font-size: 3em;
    color: #fff;
    text-shadow: 2px 2px rgba(68, 68, 65, 0.8);
    text-align: center;
}

#goTime {
    width:100%;
    height:100%;
    position: absolute;
    z-index:1;
    left:0px;
    top:0px;
    background-color:rgba(0,0,0,0.94);
    pointer-events: none;
}

#go {
    position: absolute;
    width:20rem;
    height:20rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius:50%;
    background-color: var(--primary-3);
    pointer-events: none;

}

#go:hover {
    background-color:var(--primary-6);
    pointer-events: none;
}

#go:hover span {
    color:var(--primary-3);
    pointer-events: none;
}


#go span {
    font-size:12rem;
    color:var(--primary-6);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

