html, body {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: #404f62;
    background: #0d6fa8;
}

::-webkit-scrollbar {
    background: transparent;
    width: 0.5rem;
    height: 100px;
}

::-webkit-scrollbar-thumb {
    background-color: #FFFFFF;
    border-radius: 1rem;
}

button {
    font: inherit;
}

p {
    margin: 0 0 0.5em 0;
}

h1 {
    font-size: 2em;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
}

h2 {
    font-size: 1.4em;
    font-weight: 400;
    font-family: 'Lato', sans-serif;
}

h3 {
    font-size: 1em;
    font-weight: bold;
    text-decoration: underline;
    font-family: 'Lato', sans-serif;
}

h3.normal {
    font-weight: 400;
    text-decoration: none;
}

.disposition-aligner {
    height: 100%;
    width: 0.1%;
    min-width: 1px;
    vertical-align: middle;
    display: inline-block;
}

.disposition-content {
    width: 99%;
    /* max-height: 65vh; */
    position: relative;
    box-sizing: border-box;
    vertical-align: middle;
    display: inline-block;
}

body:not(.logged) .logged-only {
    display: none;
}

#app {
    width: 100%;
    height: 100%;
}

.menu-ui {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
}

#gui-menu {
    height: 100%;
    width: 0px;
    margin-left: 20px;
    margin-top: 20px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    transition: height 0.4s ease;
    user-select: none;
}

body.loaded #gui-menu {
    width: 430px;
    height: 55px;
    direction: rtl;
}

body.loaded[data-lang="en"] #gui-menu {
    width: 280px;
}

body.loaded #gui-menu.opened {
    height: 100%;
    overflow-y: hidden;
}

body.loaded #gui-menu.opened {
    overflow-y: auto;
    padding-left: 5px;
}

#gui-menu li a,
#gui-menu li a:hover,
#gui-menu li a:active,
#gui-menu li a:focus {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 1.25em;
}

#gui-menu h1,
#gui-menu h2 {
    margin: 0;
}

#gui-menu .content {
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-self: center;
}

body.loaded #gui-menu.opened .content {
    opacity: 1;
}

#gui-menu .menu-wrapper {
    position: relative;
    /* width: 350px; */
    height: 100%;
    direction: ltr;
}

#gui-menu .menu-header {
    padding: 15px 15px 0px 0;
}

#gui-menu .menu-header .logo {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    background-image: url('../img/plus.png');
    background-size: 40px 40px;
}

#gui-menu.opened .menu-header .logo {
    background-image: url('../img/minus.png');
}

#gui-menu .menu-header a.title,
#gui-menu .menu-header a:hover.title,
#gui-menu .menu-header a:active.title,
#gui-menu .menu-header a:focus.title {
    font-size: 1.5em;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    color: #FFFFFF;
    display: block;
}

#gui-menu ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

#gui-menu .main-level-container {
    position: absolute;
    padding-top: 5px;
    overflow-y: hidden;
}

#gui-menu .vertical-line {
    position: absolute;
    top: 0px;
    left: 20px;
    width: 1px;
    height: calc(100% - 20px);
    background-color: #FFFFFF;
    content: "";
}

#gui-menu .horizontal-line {
    display: none;
}

#gui-menu .main-level .bubble_container {
    float: left;
    display: flex;
    width: 40px;
    height: 40px;
    margin-right: 10px;

    text-align: center;
    flex-direction: column;
    justify-content: space-around;
    align-content: center;
}

#gui-menu .main-level .bubble_container .bubble {
    width: 16px;
    height: 16px;
    display: flex;
    align-self: center;
    flex-direction: row;
    justify-content: center;
    align-content: center;

    border-radius: 50%;
    transform: scale(1);
    background-color: #FFFFFF;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

#gui-menu .main-level .disabled .bubble_container .bubble {
    pointer-events: none;
    background-color: #BBB;
}

#gui-menu .main-level .disabled a {
    pointer-events: none;
    color: #BBB;
}

#gui-menu ul .bubble_container>.bubble>.bubble,
#gui-menu ul .bubble_container>.bubble>.bubble>.bubble {
    display: none;
}

#gui-menu ul>li.active .bubble_container>.bubble>.bubble,
#gui-menu ul>li.active .bubble_container>.bubble>.bubble>.bubble {
    display: flex;
}

/* First level menu item */
#gui-menu li.active > a .content {
    font-size: 1.4em;
    color: rgb(156, 229, 255);
}

#gui-menu li.active > a > .bubble_container .bubble {
    width: 40px;
    height: 40px;
    background-color: rgba(156, 229, 255, 0.35);
}

#gui-menu li.active > a > .bubble_container>.bubble>.bubble {
    width: 30px;
    height: 30px;
    background-color: rgba(136, 218, 248, 0.5);
}

#gui-menu li.active > a > .bubble_container>.bubble>.bubble>.bubble {
    width: 27.5px;
    height: 27.5px;
    background-color: rgba(136, 218, 248, 1);
}
/* End first level menu item */

/* Second level menu item */
#gui-menu .sub-level > li.active > a .content {
    font-size: 1.25em;
    color: rgba(136, 218, 248, 1);
    /* color: #1464ad; */
}

#gui-menu .sub-level > li > a > .bubble_container > .bubble {
    width: 12px;
    height: 12px;
}

#gui-menu .sub-level > li.active > a > .bubble_container .bubble {
    background-color: rgba(136, 218, 248, 1);
    width: 30px;
    height: 30px;
}

#gui-menu .sub-level > li.active > a > .bubble_container>.bubble>.bubble {
    background-color: rgba(136, 218, 248, 1);
    width: 27.5px;
    height: 27.5px;
}

#gui-menu .sub-level > li.active > a > .bubble_container>.bubble>.bubble>.bubble {
    display: none;
}
/* End second level menu item */

/* Third level menu item */
#gui-menu .sub-level > li > .sub-level > li.active > a .content {
    font-size: 1em;
    /* color: #2134D2; */
    color: rgba(136, 218, 248, 1);
}

#gui-menu .sub-level > li > .sub-level > li > a > .bubble_container .bubble {
    width: 9px;
    height: 9px;
}

#gui-menu .sub-level > li > .sub-level > li.active > a > .bubble_container .bubble {
    background-color: rgba(136, 218, 248, 1);
    width: 24px;
    height: 24px;
}

#gui-menu .sub-level > li > .sub-level > li.active > a > .bubble_container>.bubble>.bubble {
    display: none;
}

#gui-menu .sub-level > li > .sub-level > li.active > a > .bubble_container>.bubble>.bubble>.bubble {
    display: none;
}
/* End third level menu item */


/*#gui-menu li.active.last-active + li:not(.active) > a .bubble_container .bubble {
    width: 27.5px;
    height: 27.5px;
}

#gui-menu li.active.last-active + li:not(.active) + li:not(.active) > a .bubble_container .bubble {
    width: 20px;
    height: 20px;
}*/

/* Third level menu */
/*#gui-menu .sub-level > li > .sub-level > li.active.last-active + li:not(.active) > a .bubble_container .bubble {
    width: 22px;
    height: 22px;
}*/
/* End third level menu */

#gui-menu li #menu_lock_icon {
    background-image: url("../img/lock-pm.png");
    height: 1em;
    width: 0.75em;
    background-size: 0.75em 1em;
    margin-right: 10px;
    display: flex;
    align-self: center;
}

#gui-menu li.active #menu_lock_icon {
    background-image: url("../img/lock-pm-active.png");
}

#gui-menu ul>li > a:hover .bubble {
    transform: scale(1.3);
}

#gui-menu ul>li.active > a:hover .bubble {
    transform: scale(1);
}

#gui-menu ul.sub-level > li {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 4px;
    padding-right: 10px;
}

#gui-menu ul.sub-level .content {
    font-weight: 300;
    font-size: 0.85em;
}

#gui-menu ul.sub-level > li > ul.sub-level .content {
    font-size: 0.75em;
}
/* End menu */

/* Footer */
footer {
    position: fixed;
    z-index: 10000;
    bottom: 14px;
    left: 25px;
    right: 65px;
    color: #FFFFFF;
    font-weight: 300;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

footer > .logos {
    display: flex;
    flex-direction: row;
    align-content: stretch;
}

footer > .logos > img {
    height: 50px;
    align-self: center;
}

footer > .logos > img#logo-az {
    position: relative;
    bottom: 10px;
}

footer > .logos > .separator {
    background-color: #FFFFFF;
    width: 3px;
    margin-left: 20px;
    margin-right: 20px;
}

footer > #footer-menu {
    display: flex;
    flex-direction: column;
    align-self: center;
    text-align: center;
    z-index: 2000;    
}

footer > #footer-menu > div {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

footer > #footer-menu > .links > a {
    margin-left: 7px;
    margin-right: 7px;
    color: #FFFFFF;
}

footer > #footer-menu > .disclaimer {
    margin-top: 15px;
    font-size: 1.5em;
    font-weight: lighter;
}

.footer-logo {
    background-image: url(../img/logos.png);
    background-repeat: no-repeat;
}

footer #logo-imfinzi {
    width: 170px;
    height: 59px;
}

footer #logo-az {
    background-position-x: -170px;
    width: 200px;
    height: 56px;
}
  
@media (max-width: 800px) {
    #home-menu {
        border: solid 3px #FFFFFF;
        padding: 25px;
    }

    #home-menu > .instructions > h2 {
        font-size: 1em;
    }

    #home-menu .instruction-scroll-bt-container {
        display: none;
    }

    footer {
        flex-direction: column;
        align-items: center;
        left: 0;
        right: 0;
    }

    footer > .logos {
        margin-bottom: 20px;
    }

    footer #logo-imfinzi {
        width: 84px;
        height: 30px;
        background-size: 184px 30px;
    }

    footer #logo-az {
        width: 100px;
        height: 28px;
        background-size: 184px 30px;
        background-position-x: -84px;
    }

    footer > #footer-menu > .links > a {
        font-size: 0.7em;
    }

    footer .disclaimer {
        display: none;
    }

}
/* End Footer */

.waiting-page {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0);
    text-align: center;
    z-index: 500;
    background-size: 100% 100%;
    transition: opacity 0.6s, background-color 0.6s;
    opacity: 1;
}

.waiting-page.movie-text-content {
    transition: opacity 0s;
}

body > .landing-page {
    background-size: cover;
    background-image: url('../data/s01/SD/s010000.jpg');
}

body > .landing-page .background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    background-size: 100% 100%;
    z-index: 0;
}

.landing {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.waiting-page.loaded {
    opacity: 0;
}

body .landing-page.waiting-page.loaded {
    opacity: 1;
}

body.started > .landing-page.waiting-page {
    opacity: 0;
}

.waiting-page .disposition-content {
    padding-left: 10px;
    padding-right: 10px;
}

.waiting-page .inner {
    position: relative;
    width: 100%;
    max-width: 75vw;
    height: 100%;
    margin: auto;
    z-index: 10;
}

.waiting-page.video-container {
    transform: scale(1.2);
    opacity: 0;
    transition: transform 0.4s, opacity 0.4s;
    pointer-events: none;
    display: none;
}

.waiting-page.video-container.in {
    transform: scale(1);
    opacity: 1;
    pointer-events: inherit;
}

body.home .waiting-page.video-container {
  display: block;
}

.waiting-page.video-container .inner {
    max-width: 1380px;
}

.waiting-page h1 {
    margin-bottom: 30px;
}

.waiting-page button {
    border: none;
    background: none;
    font-size: 1em;
    margin: 5px auto;
    cursor: pointer;
    display: block;
}

.waiting-page button.press-to-start {
    background-color: #0a9a97;
    padding: 10px 20px;
    color: white;
    border-radius: 5px;
}

.waiting-page button:hover.press-to-start {
    background-color: rgb(48, 147, 139);
}

.waiting-page video {
    max-width: 100%;
    max-height: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
}

.waiting-page.video-container .disposition-content {
    position: relative;
    padding-left: 50px;
    padding-right: 50px;
}

.waiting-page button.close-button {
    position: absolute;
    top: -5px;
    right: 5px;
    width: 35px;
    height: 35px;
    margin: 0;
    padding: 0;
    /* background-image: url(../img/close.png); */
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% auto;
}

.waiting-page button:hover.close-button {
    background-position: 0 -35px;
}

.waiting-page .scroll-to-start img {
    width: 50px;
    padding-bottom: 10px;
}

.waiting-page button span {
    text-transform: uppercase;
    display: inline-block;
}

.waiting-page .play img {
    width: 25px;
    vertical-align: middle;
    display: inline-block;
}

.waiting-page .play span {
    vertical-align: middle;
    text-transform: inherit;
}

.waiting-page .loader-container {
    margin-top: 40px;
    margin-bottom: 40px;
}

@media (max-height: 900px) and (min-width: 800px) {
    body.loaded #gui-menu.opened {
        height: calc(100% - 160px);
    }
}

.ie .loader-container {
    display: none;
}

.ie.loading .loader-container {
    display: block;
}

.loader-container {
    max-width: 144px;
    width: 100%;
    height: 144px;
    margin: auto;
    background-image: url("../img/loader.png");
}

.button-next-container {
    padding-top: 20px;
}

.button-next-container a {
    color: white;
    background: rgba(10, 154, 151, 1);
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
}

.button-next-container a:hover, .button-next-container a:active {
    color: rgba(10, 154, 151, 1);
    background: white;
}

.waiting-page .close-button.close-waiting {
    position: fixed;
    top: 10px;
    right: 10px;
}

.button-next-container, .waiting-page .close-button.close-waiting {
    display: none;
}

.ie .button-next-container, .ie .waiting-page .close-button.close-waiting {
    display: block;
}

.ie.loading .button-next-container, .ie.loading .waiting-page .close-button.close-waiting {
    display: none;
}

#app-body.is-mobile .not-mobile {
    display: none;
}

#app-body .only-mobile {
    display: none;
}

#app-body.is-mobile .only-mobile {
    display: block;
}
