body
{
  font-family: Avenir, Arial, Helvetica, Sans-Serif;
}

/* This used to work for parent element of button divs */

/* But it is not enough now, below dont hide play button parent div */

*::-webkit-media-controls-panel {
  display: none!important;
  -webkit-appearance: none;
}

/* Old shadow dom for play button */

*::--webkit-media-controls-play-button {
  display: none!important;
  -webkit-appearance: none;
}

/* New shadow dom for play button */

/* This one works */

*::-webkit-media-controls-start-playback-button {
  display: none!important;
  -webkit-appearance: none;
}

  /* Style for our header texts
  * --------------------------------------- */
  h1 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding: 0;
  }

  h2 {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
    color: #fff;
    margin: 0;
    padding: 0;
  }


  h3 {
    font-size: 2em;
    color: #fff;
    margin:0;
    padding:0;
  }

  p
  {
    font-family: Arial, Helvetica, Sans-Serif;
    font-size: 13px;
    line-height: 18px;
    color: #FFF;
  }

  .start_button
  {
    display: inline-block;
    min-width: 120px;
    cursor: pointer;
    overflow: hidden;
    outline: none;
    padding: 10px 25px;
    color: white;
    text-align: center;
    text-decoration: none;
    font-family: Arial, Helvetica, Sans-Serif;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-width: 1px;
    border-style: solid;
    border-color: #FFF;
    border-radius: 10px;
    background-color: Transparent;
    background-repeat: no-repeat;
  }

  .audio_button
  {
    display: inline-block;
    cursor: pointer;
    overflow: hidden;
    outline: none;
    color: white;
    text-align: center;
    border-style: none;
    background-color: Transparent;
    background-repeat: no-repeat;
  }

  .audio_image {
    width: 50px
  }

  .audio_duration {
	  font-size:10px;
	  display:block;
	  margin-left: 3px;
	  text-align: center;
  }

  #fp-nav {
	  opacity:0.7;
  }

  /* nav buttons margin */
  #fp-nav.right {
    right: 0px;
  }

  /* Changed from centered texts in each section to left
  * --------------------------------------- */
  .section {
    text-align: left;
  }

  /* Fixed header and footer.
  * --------------------------------------- */
  #header, #footer{
    position:fixed;
    height: 50px;
    display:block;
    width: 100%;
    background: #222;
    z-index:9;
    text-align:center;
    color: #f2f2f2;
    padding: 0 0 0 0;
  }

  #header{
    top:0px;
  }
  #footer{
    bottom:0px;
  }


  #section0 #topVideo {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    right:0;
    width: 100%;
    height: 100%;
    background-size: 50% 50%;
    background-color: black; /* in case the video doesn't fit the whole page*/
    background-image: /* our video */;
    background-position: center center;
    background-size: contain;
    object-fit: fill; /*cover video background */
    z-index: 3;
   }

  #section0 .topContainer{
    position: relative;
    width: 100%;
    height: 400px;
    z-index: 4;
    left: 0;
    padding-top: 10%;

    /*
    * Preventing flicker on some browsers
    * See http://stackoverflow.com/a/36671466/1081396  or issue #183
    */
    -webkit-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  #section0 .topContainer p {
    margin: 10px 0 0 0;
    padding: 0 25% 0 25%;
  }

  #section0 .topContainer h1 {
    padding: 0 15% 0 15%;
  }

  #section0 .topLogo {
    width: 700px;
  }

  /*solves problem with overflowing video in Mac with Chrome */
  #section0 {
    text-align: center;
    overflow: hidden;
  }


#section1 #section1Video {
  position: absolute;
  right: 0;
  bottom: 0;
  top:0;
  right:0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-color: black; /* in case the video doesn't fit the whole page*/
  background-image: /* our video */;
  background-position: center center;
  background-size: contain;
  object-fit: cover; /*cover video background */
  z-index:3;
}


  #section2 #section2Video {
    position: absolute;
    right: 0;
    bottom: 0;
    top:0;
    right:0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: black; /* in case the video doesn't fit the whole page*/
    background-image: /* our video */;
    background-position: center center;
    background-size: contain;
    object-fit: cover; /*cover video background */
    z-index:3;
  }


  #section4 #section4Video {
    position: absolute;
    right: 0;
    bottom: 0;
    top:0;
    right:0;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: black; /* in case the video doesn't fit the whole page*/
    background-image: /* our video */;
    background-position: center center;
    background-size: contain;
    object-fit: cover; /*cover video background */
    z-index:3;
}

#section5 {
  background-image: url('../images/03_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section6 {
  background-image: url('../images/04_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section8 #section8Video {
  position: absolute;
  right: 0;
  bottom: 0;
  top:0;
  right:0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-color: black; /* in case the video doesn't fit the whole page*/
  background-image: /* our video */;
  background-position: center center;
  background-size: contain;
  object-fit: cover; /*cover video background */
  z-index:3;
}

#section9 {
  background-image: url('../images/08_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section10 {
  background-image: url('../images/09_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section12 {
  background-image: url('../images/10_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section17 {
  background-image: url('../images/15_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section18 {
  background-image: url('../images/16_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section20 #section20Video {
  position: absolute;
  right: 0;
  bottom: 0;
  top:0;
  right:0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-color: black; /* in case the video doesn't fit the whole page*/
  background-image: /* our video */;
  background-position: center center;
  background-size: contain;
  object-fit: cover; /*cover video background */
  z-index:3;
}

#section21 {
  background-image: url('../images/18_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section25 #section25Video {
  position: absolute;
  right: 0;
  bottom: 0;
  top:0;
  right:0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-color: black; /* in case the video doesn't fit the whole page*/
  background-image: /* our video */;
  background-position: center center;
  background-size: contain;
  object-fit: cover; /*cover video background */
  z-index:3;
}

#section27 #section27Video {
  position: absolute;
  right: 0;
  bottom: 0;
  top:0;
  right:0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-color: black; /* in case the video doesn't fit the whole page*/
  background-image: /* our video */;
  background-position: center center;
  background-size: contain;
  object-fit: cover; /*cover video background */
  z-index:3;
}

#section29 #section29Video {
  position: absolute;
  right: 0;
  bottom: 0;
  top:0;
  right:0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-color: black; /* in case the video doesn't fit the whole page*/
  background-image: /* our video */;
  background-position: center center;
  background-size: contain;
  object-fit: cover; /*cover video background */
  z-index:3;
}

#section30 {
  background-image: url('../images/26_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section31 {
  background-image: url('../images/27_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section32 #section32Video {
  position: absolute;
  right: 0;
  bottom: 0;
  top:0;
  right:0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-color: black; /* in case the video doesn't fit the whole page*/
  background-image: /* our video */;
  background-position: center center;
  background-size: contain;
  object-fit: cover; /*cover video background */
  z-index:3;
}

#section34 {
  background-image: url('../images/30_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section35 {
  background-image: url('../images/31_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section37 #section37Video {
  position: absolute;
  right: 0;
  bottom: 0;
  top:0;
  right:0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-color: black; /* in case the video doesn't fit the whole page*/
  background-image: /* our video */;
  background-position: center center;
  background-size: contain;
  object-fit: cover; /*cover video background */
  z-index:3;
}


#section38 {
  background-image: url('../images/34_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section39 {
  background-image: url('../images/35_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#section41 {
  background-image: url('../images/37_full.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

  .containerFullImage
  {
    text-align: center;
  }

  .containerFullImage h1
  {
    padding: 0 6% 0 6%;
  }

  .containerFullImage h2
  {
    padding: 20px 6% 0 6%;
  }

  .containerFullImage p
  {
    padding: 15px 6% 0 6%;
  }

  .containerFullVideo {
    z-index: 4;
    /*
    * Preventing flicker on some browsers
    * See http://stackoverflow.com/a/36671466/1081396  or issue #183
    */
    -webkit-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    text-align: center;
  }

  .containerFullVideo h1
  {
    padding: 0 6% 0 6%;
  }

  .containerFullVideo h2
  {
    padding: 20px 6% 0 6%;
  }

  .containerFullVideo p
  {
    padding: 15px 6% 0 6%;
  }

  .flex-container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-wrap: wrap-reverse;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    padding: 50px 0;
  }

  .flex-item1 {
    height: 60%;
    width: 86%;
    text-align: center;
  }

  .flex-item1 h1, .flex-item1 p {
    padding: 5px 0 5px 0;
  }

  .flex-item1 .audio_button {
    margin-right: auto;
    margin-left: auto;
  }

  .flex-item2 {
    height: 37%;
    width: 100%;
    background-position: center;
    background-size: cover;
  }

  #section3 .flex-item2 {
    background-image: url('../images/05_liten.jpg');
  }

  #section7 .flex-item2 {
    background-image: url('../images/06_liten.jpg');
  }

  #section13 .flex-item2 {
    background-image: url('../images/11_liten.jpg');
  }

  #section14 .flex-item2 {
    background-image: url('../images/12_liten.jpg');
  }

  #section15 .flex-item2 {
    background-image: url('../images/13_liten.jpg');
  }

  #section16 .flex-item2 {
    background-image: url('../images/14_liten.jpg');
  }

  #section22 .flex-item2 {
    background-image: url('../images/19_liten.jpg');
  }

  #section23 .flex-item2 {
    background-image: url('../images/20_liten.jpg');
  }

  #section24 .flex-item2 {
    background-image: url('../images/21_liten.jpg');
  }

  #section26 .flex-item2 {
    background-image: url('../images/23_liten.jpg');
  }

  #section33 .flex-item2 {
    background-image: url('../images/29_liten.jpg');
  }

  #section36 .flex-item2 {
    background-image: url('../images/32_liten.jpg');
  }

  #section40 .flex-item2 {
    background-image: url('../images/36_liten.jpg');
  }

  /* Hiding video controls
  * See: https://css-tricks.com/custom-controls-in-html5-video-full-screen/
  * --------------------------------------- */
  video::-webkit-media-controls {
    display:none !important;
  }

    /* Overwriting styles for the navigation dots (to place it where we want)
  * --------------------------------------- */
  .fp-slidesNav.bottom{
    bottom: 25px;
  }

    /* Overwriting styles for control arrows for slides
  * --------------------------------------- */
  .controlArrow.prev {
    left: 50px;
  }
  .controlArrow.next{
    right: 50px;
  }


  /*Adding background for the slides
  * --------------------------------------- */

/*
  #section0{
    background-image: url(video/langarna01.gif);
    padding: 6% 0 0 0;
  }
*/

/* Navigation dots */

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
    background: #FFF;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
}

#fp-nav ul li a.active span,
.fp-slidesNav ul li a.active span,
#fp-nav ul li:hover a.active span,
.fp-slidesNav ul li:hover a.active span {
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    background: transparent;
    box-sizing: border-box;
    border: 1px solid #FFF;
}


/* header menu */

#header .menu-button-container{
  padding: 10px 10px 6px 10px;
  text-align: left;
  display: block;
  width:100%;
  box-sizing: border-box;
  text-align: center;
}

#header .menu-button-container a{
  color: #fff;
  font-size: 20px;
}
#header .menu-button-container .hamburger {
  display: inline-block;
  margin-left: 8px;
  margin-top: 4px;
  vertical-align: middle;
  float: right;
  outline: none;
}

#header .menu-button-container .hamburger.hidden {
  float: right;
  visibility: hidden;
  padding: 0;
}

#header .menu-button-container .hamburger span {
  width: 30px;
  height: 4px;
  background-color: #fff;
  display: block;
  margin-bottom: 4px;
}


.mobile-navigation-box {
  display:inline-block;
}

.mobile-navigation-box  a{
  text-decoration:none;
}

.mobile-navigation-box  span{
  display:block;
}

.mobile-navigation-box  span:last-child{
  font-size:12px;
}

#header .logo-image-wrapper{
  position: relative;
  display: none;
  z-index: 1001;
}

#header .logo-image-wrapper a{
  position:absolute;
  left: 20px;
  height: 25px;
  top: 13px;
  color: #fff;
}


#header .open-menu {
   border: none;
   background: inherit;
}

#header .page-title {
  position: absolute;
  left: 20px;
  top: 13px;
}

.menu-navigation {
  display: none;
  list-style-type: none;
  margin: 15px 0 0 0;
  padding: 0;
  position: relative;
}

.menu-navigation .only-mobile {
    display: block;
}

.menu-navigation li{
  display: block;
}

.menu-navigation .sub-navigation li a,
.menu-navigation li a,
.menu-navigation li button {
  padding: 10px 20px;
  display: block;
  font-size: 15px;
  color: #9d9d9d;
  transition: background-color 0.2s ease;
  border: none;
  border-bottom: 4px solid transparent;
  white-space: nowrap;
  text-align: left;
  background-color: #222;
}

.menu-navigation li button {
  outline: none;
  width: 100%;
  margin: 0;
}

.menu-navigation .sub-navigation li a {
  padding: 10px 0 10px 30px;
  font-size: 15px;
}

.menu-navigation .sub-navigation li.active a {
  color: #333;
}

.menu-navigation li a:hover,
.menu-navigation li a.active {
  text-decoration: none;
  background-color: #000;
}

.arrow-down{
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid white;
  display: inline-block;
  margin-left: 10px;
  margin-bottom: 2px;
}

.menu-navigation .sub-navigation {
  display: none;
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.menu-navigation .sub-navigation li {
  display: block;
  width: 100%;
}

@media (max-width: 570px) {
.flex-item1  p {
    font-size: 11px;
    line-height: 16px;
  }
}

  .topp-p {
    padding: 5px 0 5px 0;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    line-height: 17px;
  }

@media (max-width: 900px) {
  .menu-navigation {
    float: right;
  }
}


@media (min-width: 570px) {

  #header .menu-button-container {
    display: none;
  }

  #header .logo-image-wrapper{
    display: block;
  }

  .menu-navigation {
    display: block;
    margin: 0;
  }


  .menu-navigation .sub-navigation {
    background-color: #222;
  }

  .menu-navigation li {
    display: inline-block;
  }

  .menu-navigation li a{
    padding: 16px 20px 12px 20px;
    display: block;
    text-align: center;
    font-size: 15px;
  }

  .menu-navigation .sub-navigation {
    position: absolute;
    width: 150px;
    padding: 0px;
    margin: 3px 0 0 0;
    display: none;
    text-align: center;
    font-size: 15px;
  }

  .menu-navigation .sub-navigation li a {
    padding: 10px 20px;
  }

  .menu-navigation .only-mobile {
    display: none;
  }



  h1 {
    font-size: 70px;
  }

  h2 {
    font-size: 25px;
  }


  h3 {
    font-size: 2em;
  }

  p
  {
    font-size: 14px;
    line-height: 18px;
  }

  .containerFullImage h1
  {
    padding: 0 15% 0 15%;
  }

  .containerFullImage h2
  {
    padding: 20px 20% 0 20%;
  }

  .containerFullImage p
  {
    padding: 20px 20% 0 20%;
  }

  .containerFullVideo h1
  {
    padding: 0 15% 0 15%;
  }

  .containerFullVideo h2
  {
    padding: 20px 20% 0 20%;
  }

  .containerFullVideo p
  {
    padding: 20px 20% 0 20%;
  }

  #fp-nav.right {
    right: 17px;
  }

}

.next_chapter_area {
	background-color:#FFF;
	margin: 0;
	padding: 15px 30px;
	text-align: center;
}

.next_chapter_text {
	color:#545454;
	font-size:24px;
	text-transform:initial;
}

.more_material {
	background-color:#EDEDED;
	padding: 30px;
	text-align:center;
}

.more_material_item {
	display:inline;
	list-style:none;
}

.more_material_item:after {
	margin:0 0 0 5px;
	color:#58585A;
	content:"|";
}

.more_material_item:last-child:after {
	content:"";
}

.more_material_title {
	color:#7D7D7F;
	font-size:16px;
	margin:0 0 5px;
	text-transform:uppercase;
}

.more_material_link {
	color:#58585A;
}

.publisher_area {
  position:absolute;
  bottom:0;
  text-align:center;
  width: 100%;
}

.publisher_area_text {
	font-size:10px;
	text-transform:uppercase;
	color:#808080;
}

@media (min-width: 900px) {
   .flex-container {
    padding: 10% 0 0 0;
  }

  .flex-item1 {
    max-width: 50vw;
    padding: 0 20px 0 0;
    text-align: left;
  }

  .flex-item1 .audio_button {
    position: relative;
    right: calc(-50% - 25px);
    left: calc(50% - 25px);
    padding-top: 5%;
    padding-bottom: 5%;
    padding-left: 0;
    padding-right: 0;
  }

  .flex-item1 h1 {
    font-size: calc(100vw / 20);
  }

  .topp-p {
    padding: 5px 0 5px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    line-height: 18px;
  }

  .flex-item2 {
    width: 600px;
    height: 40vw;
    max-width: 40vw;
    max-height: 600px;
    position: relative;
  }
}


@media (max-width: 300px) {
  #header .menu-button-container .hamburger.hidden{
    display: none;
  }

  #section0 .topLogo {
    width: 500px;
    margin-top: 100px;
  }
}
