html, body {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    background-color: white;
    font-family: Liberation Sans,Helvetica,Arial,sans-serif;
}

h1, h2, h3, h4 {
    font-family: Liberation Sans,Helvetica,Arial,sans-serif;
}

h1 {
    font-size: 2.8em;
    text-align: center;
}

h2 {
    max-width: 560px;
    margin: auto;
    margin-bottom: 50px;
    padding-top: 75px;
    padding-left: 50px;
    font-size: 2.2em;
    color: black;
}

h2:before{
    content: '';
    position: absolute;
    left: 0;
    top: 125px;
    display: block;
    width: 100%;
    border-bottom: 5px #BA002C solid;
}

h3 {
    color: #BA002C;
    text-align: center;
    font-size: 1.8em;
}

h4 {
    max-width: 560px;
    margin: auto;
    text-align: left;
    /* padding-left: 50px; */   
    padding-bottom: 5px;
    font-size: 1em;
    line-height: 1.5em;
    position: relative;
}

h4:before {
    content: '►';
    line-height: 1.5em;
    position: absolute;
    top: -1px;
    left: -25px; 
    color: #BA002C;
}

a.anker {
    position: absolute;
    top: 0;
    font-size: 0.5em; 
    color: black;
    display: none;
}
a.anker:hover {
    color: #BA002C;
}

main {
    height: auto;
    width: 100%;
    padding-bottom: 50px;
    background-color: white;
}

section {
    position: relative;
    height: auto;
    display: block;
    width: 100%;
}

section p {
    max-width: 560px; /* typical 72 characters */
    line-height: 1.5em;
    margin: auto;
    padding-top: 0;
    padding-right: 1em;
    padding-left: 1em;
    padding-bottom: 1em;
}

section:first-child h2 {
    margin-top: 75px;
}

ul.list {
    list-style: none;
    clear: both;
    margin: auto;
}

ul.list li {
    width: 200px;
    float: left;
    text-align: center;
}

ul.list li a {
    width: 100%;
}

p a,
ul.list li a {
    text-decoration: underline;
    color: black;
}

p a:hover,
ul.list li a:hover {
    color: #BA002C;
}

/* ****************************
            Team grid
   **************************** */

.team_grid {
    position: relative;
    margin: auto;
    display: grid; 
    grid-gap: 10px;
    grid-template-columns: repeat(2, 150px);
    grid-template-rows: auto;

    width: 300px;
}

.team_grid > h3 {
    grid-column: span 2;
}

.team_grid img {
    width: 300px;
    height: 300px;
    border-radius: 150px;
}

.team_image {
    position: relative;
    grid-column: span 2;
    width: 300px;
    height: 300px;
}

.team_image > span {
    position: absolute;
    top: 135px;
    font-size: 30px;
    width: 100%;
    text-align: center;
}

@media screen and (min-width: 660px) { /* 620px + 20px(Margin) *  2  */
    .team_grid {
        grid-template-columns: repeat(4, 150px);
        grid-column-gap: 6px;

        width: 618px; /* 150px * 4 + 6px * 3 */
    }

    .team_grid > h3 {
        grid-column: span 4;
    }

    .team_image {
        margin-left: 3px;
        margin-right: 3px;
    }
}

@media screen and (min-width: 1030px) and (max-width: 1400px) {
    .team_grid {
        grid-gap: 0px;
        grid-column-gap: 18px;
        grid-template-columns: repeat(6, 150px);

        width: 990px; /* 150px * 6 + 18px * 5 */
    }

    .team_grid > h3 {
        grid-column: span 6;
    }

    .team_grid .team_image:nth-child(2),
    .team_grid .team_image:nth-child(7),
    .team_grid .team_image:nth-child(13) {
        grid-column: 2 / span 2;
    }

    .team_image {
        margin-left: 9px;
        margin-right: 9px;
    }
}

@media screen and (min-width: 1400px) {
    .team_grid {
        grid-gap: 0px;
        grid-column-gap: 18px;
        grid-template-columns: repeat(8, 150px);

        width: 1326px; /* 150px * 8 + 18px * 7 */
    }

    .team_grid .team_image:nth-child(2),
    .team_grid .team_image:nth-child(9) {
        grid-column: 2 / span 2;
    }

    .team_grid .team_image:nth-child(13) {
        grid-column: 3 / span 2;
    }

    .team_grid > h3 {
        grid-column: span 8;
    }

    .team_image {
        margin-left: 9px;
        margin-right: 9px;
    }
}

/* ****************************
      Screen reader / Speach
   **************************** */

@media speech {
    .hidden_for_sceen_reader {
        display: none;
    }

    a.anker {
        display: none;
    }
}


/* ****************************
            Navigation
   **************************** */

nav {
    position: absolute;
    display: block;
    top: 450px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background-color: white;
    z-index: 999;
    font-family: Verdana,Helvetica,Arial,sans-serif;
    overflow-x: auto;
}

nav ul {
    margin: 0;
    padding: 0;
    border: 0;
    background-color: white;
    border-bottom: .1em transparent solid;
    display: block;
    width: 100%;
    min-width: 60em;
    list-style: none;
    clear: both;
    height: 3.2em;
}

nav ul li {
    float: left;
    display: block;
    width: 10em;
    text-align: center;
    margin: 0;
    padding: 0;
    border: 0;
}

nav ul li:first-child {
    margin-left: 6em;
}

nav a {
    padding-top: 1em;
    display: block;
    height: 2em;
    font-size: 1em;
    color: black;
    padding-right: 1.5em;
    padding-left: 1.5em;
    border-bottom: .3em transparent solid;
}


@media screen and (max-width: 10em) {
    nav a {
        font-size: 0.5em;
    }
}

nav a:hover {
    background-color: lightgray;
}

nav a:hover, nav a.current {
    border-color: #BA002C;
}

nav.sticky {
    position: fixed;
    top: 0;
}

nav.sticky > ul {
    border-bottom-color: black;
}

nav.sticky:before {
    content: url('img/LogoVrTouch.svg');
    position: absolute;
    top: 1em;
    left: 2.5em;
    width: 3em;
    height: auto;
}

button {
    height: 50px;
    width: 200px;
    color: black;
    background-color: white;
    border-radius: 4px;
    border: 2px #BA002C solid;
    transition: all 0.5s ease-in-out;
}

button:hover {
    cursor: pointer;
    color: white;
    background-color: black;
}

.button_raster {
    display: grid;
    grid-template-columns: 1fr;
    width: auto;
    grid-gap: 1em;
    margin: auto;
}

@media screen and (min-width: 30em) {
    .button_raster {
        grid-template-columns: 1fr 1fr;
    }
}

 
.button {
    display: inline-block;
    width: 100%;
    height: 3em;
    border: .1em solid lightgray;
    background-color: white;
    position: relative;

    border-radius: 3px;
    line-height: 3em;
    vertical-align: middle;
    text-align: center;

    margin: 0;
    padding: 0;
}
.button, 
.button a {
    text-decoration: none;
    color: black;
}

.button:hover {
    border-color: #BA002C;
}

a.button:hover,
.button a:hover {
    background-color: #BA002C;
    color: white;
}

* span.info {
    display: none;
    position: absolute;
    z-index: 5;
    top: 3.25em;
    left: -0.1em;

    width: 100%;
    min-width: 8em;
    max-width: 20em;

    font-size: 0.9em;
    line-height: 1.3em;
    border: .1em solid white;
    border-radius: 3px;
    color: black;
    background-color: white;

    padding-top: .5em;
    padding-bottom: .5em;

    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
       -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
            box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
}

* span.info:before {
    content: '';
    position: absolute;
    top: -1.4em;
    left: -0.75em;
    margin-left: 50%;

    border: .75em solid transparent;
    border-bottom-color: white; 
}

*:hover > span.info {
    display: block;
}

.button.with_spheres {
    display: grid;
    grid-template-columns: 1fr 3.2em;
    grid-column-gap: .1em;
    background-color: lightgray;
}

.button.with_spheres:hover,
.button.with_spheres a:hover {
    background-color: #BA002C;
}

.button.with_spheres a {
    background-color: white;
    border-radius: 3px;
}

.button.with_spheres a.file_sphere {
    position: relative;
}

.button.with_spheres a.file_sphere > span.info {
    width: 8em;
    left: 50%;
    margin-left: -4em;
}

.small_caps {
    font-variant:small-caps;
}

#header {
    background-color: white;
}

#footer {
    height: 70px;
}


#accessability {
    position: fixed;
    height: 55px;
    border-top: 2px black solid;
    width: 100%;
    background-color: white;
    bottom: 0;
    overflow-x: auto;
}

#accessability a {
    padding-top: 15px;
    display: block;
    height: 35px;
    color: black;
    border-top: 5px transparent solid;
    text-decoration: none;
    cursor: pointer;
}
#accessability a:hover {
    background-color: lightgray;
}

#accessability a:hover, 
#accessability a.current {
    border-color: #BA002C;
}

#accessability li span {
    position: absolute;
    top: 5px;
    width: 160px;
}
#accessability li #lang a{
    width: 40%;
    float: left;
}

.slider {
    -webkit-appearance: none;
    width: 80%;
    height: 15px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.75;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin-top: 25px;
}

.slider:hover {
    opacity: 1;
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #BA002C;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #BA002C;
    cursor: pointer;
}

video {
    width: 100%; 
    /* border: .2em solid lightgray; */
}