#main a, #main a:link {
    text-decoration: none;
    outline: 0;
}

body.front.logged-in, body.logged-in {
  padding-top: 65px !important;
}
body.front #header-top, body #header-top {
  display: none;
}
body.front #header, body #header {
  background-color: rgba(255,255,255,0) !important;
  color: rgb(255,255,255);
  min-height: 65px;
  margin-top: 0 !important;
  top: 0;
  left: 0;
  z-index: 400;
  -webkit-transition: .65s linear;
  -moz-transition: .65s linear;
  -o-transition: .65s linear;
  transition: .65s linear;
  width: 100%;
  padding: 0;
}
  body.front #header.noheader, body #header.noheader {
    background-color: rgba(255,255,255,1) !important;
  }
  body.front #header.header, body #header.header {
    background-color: rgba(255,255,255,0) !important;
  }
body.front.logged-in #header, body.logged-in #header {
  top: 65px;
}
body.front .addthis-smartlayers {display:none;}

body.front #logo, body #logo {
  position:absolute;
  width: 268px;
  height: 46px;
  margin-left: 0;
  margin-top: 10px;
  background-image: url(../img/logo-edd-2019.png);
  background-image: url(../img/logo-edd-2020-full-nd.svg), none;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  opacity: 0;
  -webkit-transition: opacity .5s linear;
  -moz-transition: opacity .5s linear;
  -o-transition: opacity .5s linear;
  transition: opacity .5s linear;
}
  body.front #logo.noheader, body #logo.noheader, body #header.noheader #logo {
    opacity: 1;
  }
  body.front #logo.header, body #logo.header {
    opacity: 0;
  }
#top-social-links {
  display: inline-block;
  position: absolute;
  vertical-align: top;
  margin: 18px;
  right: 100px;
  top: 0;
}

#profile-logo { width: 55px; height: 55px; }
#profile-logo.logged-out span { margin-top: 15px; }
#profile-logo.logged-out a {
  text-transform: uppercase;
  -webkit-border-radius: 50px;
  border-radius: 50px;
  display: inline-block;
  padding: 8px 10px;
  margin: 0 10px;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  background-color: rgba(48,48,48,1);
  color: #fff;
  border: 0;
  font-family: "OpenSans-Bold", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-image: url(../img/edd2019-account-button-picto.svg), none;
  background-repeat: no-repeat;
  background-size: contain;
  height: 35px;
  width: 80px;
}
body.front #navigation, body #navigation {
  float: none;
  margin: 22px 0 0 0;
  width: 100%;
  text-align: center;
}
  body.front #navigation ul.menu, body #navigation ul.menu {
    text-align: center;
  }
  body.front #navigation ul li, body.front #navigation ul.sf-menu li, body #navigation ul li, body #navigation ul.sf-menu li {
    float: none;
    position: relative;
    list-style: none;
    display: inline-block;
  }
    body.front #navigation ul li a, #navigation ul.sf-menu li a, body #navigation ul li a {
      text-transform: uppercase;
      -webkit-border-radius: 0;
      border-radius: 0;
      display: inline-block;
      padding: 0;
      margin: 0 10px;
      -webkit-transition: 0.5s;
      -moz-transition: 0.5s;
      -o-transition: 0.5s;
      transition: 0.5s;
      background-color: rgba(226,73,73,0);
      border: 1px solid rgba(226,73,73,0);
    }
body.front #header.noheader #navigation ul li a, body.front #header.noheader #navigation ul.sf-menu li a, body #header.noheader #navigation ul li a, body #header.noheader #navigation ul.sf-menu li a {
  color: #000;
}
body.front #header.noheader #navigation ul li.active-trail a, body.front #header.noheader #navigation ul.sf-menu li.active-trail a, body #header.noheader #navigation ul li.active-trail a, body #header.noheader #navigation ul.sf-menu li.active-trail a {
  color: rgba(24,186,168,1);
}

body.front #header.header #navigation ul li a, body.front #header.header #navigation ul.sf-menu li a, body #header.header #navigation ul li a, body #header.header #navigation ul.sf-menu li a {
  color: #fff;
}
body.front #header #navigation ul li a:hover, body.front #header #navigation ul.sf-menu li a:hover, body #header #navigation ul li a:hover, body #header #navigation ul.sf-menu li a:hover {
  color: rgba(24,186,168,1);
}

.responsive-menus.responsified span.toggler {
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-bottom: 8px;
}
.responsive-menus.responsified .responsive-menus-simple {
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  box-shadow: none !important;
}
  .responsive-menus.responsified .responsive-menus-simple li a:hover {
    background-color: rgba(24,186,168,1);
  }

  #profile-logo.logged-out a:hover {
    background-color: rgba(24,186,168,1);
    border: 0;
  }



/* Slider - Red "D" Background
* --------------------------------------- */
body.front #block-views-home-slider-block-1 .flex-direction-nav a::before, body.front #block-views-home-slider-block .flex-direction-nav a::before {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 rgb(255, 255, 255);
}
  body.front #block-views-home-slider-block-1 .flex-control-nav.flex-control-paging, body.front #block-views-home-slider-block .flex-control-nav.flex-control-paging {
    display: none;
  }
body.front .slider-teaser {
  position: absolute;
  bottom: 40px;
  top: 40px;
  left: 0;
  width: 100%;
}
body.front .slider-teaser .inner {
  width: 100%;
  margin: 0 auto;
}
body.front .slider-teaser-body {
  padding: 30px;
  background-color: rgba(0,0,0,0);
  width: 40%;
  height: 540px;
  text-align: left;
  background-image: url(../img/banner-datazone-bkg.svg), none;
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 50px;
}
body.front .slider-teaser h3 {
  color: #fff;
  font-size: 40px;
  line-height: 40px;
  font-family: "FoundersGrotesk-Medium", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  padding: 0 60px 0 0;
}
body.front .slider-button a {
  -webkit-border-radius: 50px;
  border-radius: 50px;
  background-color: rgba(255,255,255,1);
  color: #000;
  display: inline-block;
  padding: 16px 30px 10px 30px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1em;
  line-height: 1em;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  font-family: "FoundersGrotesk-Bold", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
  body.front .slider-button a:link, body.front .slider-button a:visited {
    text-decoration: none !important;
    background-color: rgba(255,255,255,1);
    color: #000;
  }
  body.front .slider-button a:hover {
    background-color: #fff;
    color: rgba(24,186,168,1)
  }

/* Slider - Variante white "D" Background
* --------------------------------------- */
body.front #slide-119 .slider-teaser-body, body.front #slide-170 .slider-teaser-body {
  background-image: url(../img/banner-datazone-white-bkg.svg), none;
  opacity: 0.9;
}
body.front #slide-119 .slider-teaser h3, body.front #slide-170 .slider-teaser-body h3 {
  color: #000;
}
body.front #slide-119 .slider-button a, body.front #slide-170 .slider-button a {
  background-color: rgba(24,186,168,1);
  color: #fff;
}
  body.front #slide-119 .slider-button a:link, body.front #slide-119 .slider-button a:visited, body.front #slide-170 .slider-button a:link, body.front #slide-170 .slider-button a:visited {
    background-color: rgba(24,186,168,1);
    color: #fff;
  }
  body.front #slide-119 .slider-button a:hover, body.front #slide-170 .slider-button a:hover {
    color: rgba(0,0,0,1)
  }




  /* Centered texts in each section
	* --------------------------------------- */
  .section {
    text-align: center;
    overflow: hidden;
  }

  #video-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.55);
    z-index: 10;
  }

  #section0 video#myVideo {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    right: 0;
    opacity: 1;
    filter: grayscale(0);
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: black; /* in case the video doesn't fit the whole page*/
    background-position: center center;
    background-size: contain;
    object-fit: cover; /*cover video background */
    max-width: 100% !important;
    height: inherit !important;
  }
  /* ie edge only gets the following rule */
  @supports (object-fit: cover) and (-ms-ime-align:auto) {
    #section0 video#myVideo {
      top: 50%;
      left: 50%;
      height: auto !important;
      width: auto !important;
      min-width: 100%;
      min-height: 100%;
      transform: translate(-50%, -50%);
      object-fit: cover;
      max-width: inherit !important;
    }
  }
  /* ie 8, 9 and 10 */
  @media screen\0 {
    #section0 video#myVideo {
      top: 50%;
      left: 50%;
      height: auto;
      width: auto;
      min-width: 100%;
      min-height: 100%;
      transform: translate(-50%, -50%);
      object-fit: cover;
      max-width: inherit !important;
      height: auto !important;
      -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    }
  }

#header-facts {
  position: absolute;
  z-index: 20;
  width: 100%;
  left: 0;
  bottom: 0;
}

body.logged-in #header-facts {
  bottom: 7%;
}

#header-facts-list {
  color: #fff;
  display: flex;
  justify-content: flex-start;
  align-content: flex-end;
  flex-wrap: wrap;
}

  #header-facts-list .header-facts-item {
    text-align: left;
    padding: 30px;
    margin-top: 80px;
  }

#header-facts-list .header-facts-item:first-child {
  padding-left: 0;
  margin-top:0;
}

#header-facts-list .header-facts-item:last-child {
  padding-right: 0;
}

#header-facts-list .header-facts-item.tagline {
  font-size: 40px;
  line-height: 40px;
  font-family: "FoundersGrotesk-Medium", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#header-facts-EC-logo {
  background-image: url(../img/logo-ec-2019.svg), none;
  background-repeat: no-repeat;
  background-size: contain;
  width: 226px;
  height: 80px;
}

#header-facts-list .header-facts-item .numbers {
  font-size: 50px;
  line-height: 50px;
  font-family: "FoundersGrotesk-Bold", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#header-facts-list .header-facts-item .legend {
  font-size: 18px;
  line-height: 10px;
  font-family: "FoundersGrotesk-Medium", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

  /* Layer with position absolute in order to have it over the video
	* --------------------------------------- */
  #section0 .layer {
    position: absolute;
    z-index: 20;
    width: 100%;
    left: 0;
    top: 26%;
    /*
		* 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);
  }
  /*solves problem with overflowing video in Mac with Chrome */
  #section0 {
    overflow: hidden;
  }

  #header-logo img {
    opacity: 1;
    filter: grayscale(0);
    width: 28%;
  }

#header-logo h2 {
  color: #fff;
  text-transform: uppercase;
  font-family: "FoundersGrotesk-Medium", "Helvetica Neue", Helvetica, Arial, "sans-serif";
  font-size: 1.2em;
  font-weight: 100;
  line-height: 1.1em;
  margin-top: 10px;
}

#header-logo h1 {
  color: #fff;
  font-family: "FoundersGrotesk-Medium", "Helvetica Neue", Helvetica, Arial, "sans-serif";
  margin-top: 1em;
}

  /* Hiding video controls
	* See: https://css-tricks.com/custom-controls-in-html5-video-full-screen/
	* --------------------------------------- */
  video::-webkit-media-controls {
    display: none !important;
  }



  /* Responsive breakpoints
* --------------------------------------- */
/* max width: 1439px  */
@media only screen and (max-width: 1439px) {
  body.front #navigation {
    width: 644px;
  }
  #header-facts-list .header-facts-item.tagline {
    font-size: 30px;
    line-height: 30px;
  }
  #header-facts-list .header-facts-item .numbers {
    font-size: 40px;
    line-height: 40px;
  }
  #header-facts-list .header-facts-item .legend {
    font-size: 14px;
    line-height: 8px;
  }
  body.front .slider-teaser-body {
    margin-top: 65px;
    height: 510px;
  }
  body.front .slider-teaser h3 {
    padding: 0 50px 0 0;
  }
}
/* max width: 1199px  */
@media only screen and (max-width: 1199px) {
  header-logo img {width: 50%;}
  #header-logo h2 {font-size:80%;}
  body.front #header.header, body #header.header, body.front #header, body #header, body.front #header.noheader, body #header.noheader {background-color: #333333 !important;}
  body.front #header, body #header {min-height: 50px;}
  #header.noheader #logo { left: 0; top: 9px; margin-top: 0; width: 71px; height: 30px; background-image: url(../img/edd-log-2019-mobile-white.svg), none; }
  body.front #logo.header, body #logo.header, body.front #logo, body #logo { position: absolute; left: 0; top: 9px; margin-top: 0; width: 71px; height: 30px; background-image:none;}
  #profile-logo {width: 45px; height: 45px; top: 5px; z-index: 999;}
  #profile-logo.logged-out a {margin:0;}
  #top-social-links {margin: 10px;}
  #profile-logo.logged-out span {margin-top: 4px;}
  body.front #header.noheader #top-social-links a.social-twitter, #header.noheader #top-social-links a.social-twitter {background-position: -2px 0;}
  body.front #header.noheader #top-social-links a.social-fb, #header.noheader #top-social-links a.social-fb {background-position: -32px 0;}
  body.front #header.noheader #top-social-links a.social-youtube, #header.noheader #top-social-links a.social-youtube { background-position: -61px 0;}
  body.front #header.noheader #top-social-links a.social-ig, #header.noheader #top-social-links a.social-ig {background-position: -90px 0;}

  body.front .slider-teaser {bottom: 30px; top: 30px; }
  body.front .slider-teaser-body {width: 34%; height: 350px; margin-top: 58px; }
  body.front .slider-teaser h3 {font-size: 30px; line-height: 30px; padding: 0 30px 0 0;}
  body.front #navigation {width: 404px;}
  #header-facts-list .header-facts-item.tagline { font-size: 20px; line-height: 20px;}
  #header-facts-EC-logo {width: 180px; height: 60px; }
  #header-facts-list .header-facts-item {margin-top: 60px;}
  #header-facts-list .header-facts-item .numbers { font-size: 30px; line-height: 30px;}
  #header-facts-list .header-facts-item .legend {font-size: 10px; line-height: 6px;}
}

/* max width: 959px  */
@media only screen and (max-width: 959px) {
  #header-facts-list .header-facts-item.tagline {width: 100%; padding-bottom: 16px;}
  #header-facts-list .header-facts-item {padding:0 50px 50px 0; margin-top: 0;}
  body.front .slider-teaser .inner {width: 88%;}
  body.front .slider-teaser {bottom:15px; top:15px;} 
  body.front .slider-teaser-body {width: 32%; height: 240px; padding: 15px;}
  body.front .slider-teaser h3 {font-size: 24px; line-height: 24px; padding: 0 10px 0 0;}
  body.front #navigation {width: 240px;}
}

/* Mobile/Browser */
/* max width: 768px  */
@media only screen and (max-width: 768px) {
  #header-facts-list .header-facts-item {
    display:none
  }
  #header-facts-list .header-facts-item.tagline {
    width: 100%;
    display:inline-block;
    text-align:center;
    padding:0 0 50px 0;
  }
  #header-facts-EC-logo {
    margin: 0 auto;
  }
  body .front .slider-teaser .inner {
    width: 100%;
  }
  body.front .slider-wrapper .slider-media-picture, body.front .slider-wrapper .slider-media-video {
    position: relative;
    height: auto;
  }
  body.front .slider-wrapper .slider-media-video img, body.front .slider-wrapper .slider-media-picture img {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
  }
  #block-views-home-slider-block.block ul.slides, #block-views-home-slider-block-1.block ul.slides {
    height: auto;
  }
  body.front .slider-teaser {
    position: relative;
    bottom: 0;
    left: 0;
    background-color: rgba(24,186,168,1);
    top: -10px;
    padding-bottom: 20px;
  }
  body.front .slider-teaser-body, body.front #slide-119 .slider-teaser-body {
    width: auto;
    text-align: center;
    background-color: rgba(24,186,168,1);
    width: 100%;
    height: auto;
    background-image: none;
    margin-top: 0;
  }
  body.front .slider-teaser h3, body.front #slide-119 .slider-teaser h3 {
    font-size: 1.8em;
    line-height: 1.1em;
    color: #fff;
    padding: 0;
  }
  body.front #slide-119 .slider-button a {
    background-color: rgba(255,255,255,1);
    color: #000;
  }
  body.front #slide-119 .slider-button a:link, body.front #slide-119 .slider-button a:visited {
    background-color: rgba(255,255,255,1);
    color: #000;
  }
  body.front #slide-119 .slider-button a:hover {
    color: rgba(24,186,168,1);
  }
  body.front #navigation {
    width: 100%;
  }
  body.front.logged-in #header, body.logged-in #header {
    top: 85px;
  }
  body.front #logo.noheader, body #logo.noheader, body #header.noheader #logo {
    position: absolute;
    left: 0;
    top: 9px;
    margin-top: 0;
    width: 71px;
    height: 30px;
    background-image: url(../img/edd-log-2019-mobile-white.svg), none;
    z-index: 9999;
  }

  #top-social-links { display:none;
  }
  #profile-logo {
    width: 45px;
    height: 45px;
    top: 5px;
    z-index: 999;
  }

  #profile-logo.logged-out span {
    margin-top: 0;
  }

/* Mobile */
/* max width: 480px  */
@media only screen and (max-width: 480px) {
  #header-logo img {
    width: 60%;
  }
  #header-logo h2 {
    font-size: 80%;
  }
}
