html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
  color: #044392;
  font-size: 1em;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased; }

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f6f9fc;
  color: rgba(57, 82, 112, 0.85);
  -webkit-tap-highlight-color: transparent; }

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none; }

::selection {
  background: #b3d4fc;
  text-shadow: none; }

/*
 * A better looking default horizontal rule
 */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0; }

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle; }

/*
 * Remove default fieldset styles.
 */
fieldset {
  border: 0;
  margin: 0;
  padding: 0; }

/*
 * Allow only vertical resizing of textareas.
 */
textarea {
  resize: vertical; }

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
*:focus {
  outline: none; }

/* ==========================================================================
   Helper classes
   ========================================================================== */
*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

/*
 * Hide visually and from screen readers
 */
.hidden {
  display: none !important; }

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px; }

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto; }

/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
  visibility: hidden; }

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */ }

.clearfix:after {
  clear: both; }

body {
  font-family: "proxima-nova-soft",sans-serif; }

h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: rgba(31, 45, 61, 0.85); }

h1 {
  font-size: 40px; }

h2 {
  font-size: 28px; }

h3 {
  font-size: 21px; }

p {
  font-family: "proxima-nova-soft",sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding-bottom: 1rem;
  line-height: 24px; }

strong {
  font-weight: 700; }

a, a:visited {
  color: #1768AC;
  text-decoration: none;
  font-weight: bold; }

.no-touch a:hover {
  color: #439ce6; }

.embed-container {
  margin-top: 2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%; }

.embed-container iframe, .embed-container object, .embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

@media (min-width: 960px) {
  h2 {
    font-size: 40px;
    line-height: 40px; } }
.awards {
  background-color: #f6f9fc;
  height: 140px;
  width: 100%;
  border-bottom: 1px solid rgba(208, 215, 221, 0.35); }
  .awards .badge-text {
    text-align: center;
    display: block;
    height: 13px;
    font-size: 16px;
    color: rgba(57, 82, 112, 0.85);
    padding: 20px 8px 0px 8px;
    text-transform: lowercase;
    font-family: "proxima-nova-sc-osf-ext-cond",sans-serif;
    color: #aaa; }
  .awards .badge-container {
    margin: 0 auto;
    max-width: 1140px;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    padding: 14px 8px 16px 8px; }
    .awards .badge-container .badge {
      text-align: center;
      display: block;
      width: 25%; }
      .awards .badge-container .badge a img {
        max-width: 80%;
        max-height: 50px;
        -webkit-filter: opacity(80%) saturate(0%);
        -moz-filter: opacity(80%) saturate(0%);
        filter: opacity(80%) saturate(0%);
        transition: all .2s ease-in-out;
        cursor: pointer; }
      .awards .badge-container .badge a:hover img {
        filter: opacity(100%) saturate(100%);
        -webkit-filter: opacity(100%) saturate(100%);
        -moz-filter: opacity(100%) saturate(100%); }

.green {
  background: url("../assets/img/green-economy.jpg") no-repeat center center;
  background-size: cover;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center; }
  @media (min-width: 600px) {
    .green {
      padding: 2rem 0 2rem 0; } }
  @media (min-width: 600px) {
    .green {
      min-height: 600px;
      padding: 2rem; } }
  @media (min-width: 960px) {
    .green {
      min-height: 900px;
      padding: 4rem 4rem 6rem 2rem; } }
  .green .company-description {
    background: white;
    border-radius: 1px;
    max-width: 676px;
    color: #ffffff;
    padding: 1rem 1rem 1rem 1rem; }
    @media (min-width: 600px) {
      .green .company-description {
        margin: 0.75rem;
        background: white;
        padding: 2rem 5rem 3rem 5rem; } }
    @media (min-width: 960px) {
      .green .company-description {
        text-align: left; } }
    .green .company-description p, .green .company-description ul {
      color: rgba(57, 82, 112, 0.85); }
      @media (min-width: 960px) {
        .green .company-description p, .green .company-description ul {
          font-size: 21px;
          line-height: 32px; } }
    .green .company-description ul {
      list-style-type: disc;
      margin-left: 2rem;
      line-height: 1.5; }
    .green .company-description a {
      color: #3bbf8e; }
    .green .company-description h2 {
      text-align: center; }

.benefits {
  padding: 0rem 2rem 2rem 2rem; }
  .benefits .benefits-block {
    text-align: center; }
    .benefits .benefits-block img {
      width: 60%;
      padding: 1rem 2rem 2rem 2rem; }

@media (min-width: 600px) {
  .benefits {
    display: flex;
    align-items: flex-start;
    justify-content: center; }
    .benefits .benefits-block {
      width: 45%;
      padding: 2rem;
      max-width: 400px; }
      .benefits .benefits-block img {
        width: auto;
        padding: 2rem 0rem 2rem 0rem; } }
.applications {
  background-color: #f6f9fc;
  width: 100%;
  border-bottom: 1px solid rgba(208, 215, 221, 0.35); }
  .applications .applications-container {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    height: 100%;
    flex-wrap: wrap; }
    .applications .applications-container .applications-block {
      text-align: center;
      display: block;
      padding: 1rem;
      background-repeat: no-repeat;
      background-position: center center;
      width: 50%;
      border-top: 1px solid rgba(208, 215, 221, 0.35);
      border-right: 1px solid rgba(208, 215, 221, 0.35); }
      .applications .applications-container .applications-block p {
        font-size: 14px;
        line-height: 21px;
        display: block;
        margin: 0 auto;
        max-width: 400px; }
        @media (min-width: 600px) {
          .applications .applications-container .applications-block p {
            font-size: 16px;
            line-height: 1.5; } }
      .applications .applications-container .applications-block img {
        padding: 1rem 0 1rem 0; }
      .applications .applications-container .applications-block:nth-of-type(2) {
        border-right: 0px solid rgba(208, 215, 221, 0.35); }
      .applications .applications-container .applications-block:nth-of-type(4) {
        border-right: 0px solid rgba(208, 215, 221, 0.35); }

@media (min-width: 960px) {
  .applications .applications-container .applications-block {
    width: 25%; }
    .applications .applications-container .applications-block:nth-of-type(2) {
      border-right: 1px solid rgba(208, 215, 221, 0.35); } }
@media (min-width: 1140px) {
  .applications .applications-container .applications-block {
    padding-bottom: 3rem; } }
.container {
  display: flex; }

.content {
  margin: 0em auto;
  padding: 0 0.75rem 3rem 0.75rem;
  max-width: 700px; }
  .content img {
    margin-top: 1rem;
    margin-bottom: 2rem;
    max-width: 100%;
    display: block; }
  .content ul {
    margin-left: 1.5rem;
    margin-bottom: 2rem; }
    .content ul li {
      color: rgba(57, 82, 112, 0.85);
      line-height: 1.4;
      margin-bottom: 0.5rem;
      list-style-type: disc; }

#menu-home {
  background-color: #ffffff; }

#menu-applications {
  background: #f6f9fc;
  text-align: center;
  border-top: 1px solid rgba(208, 215, 221, 0.35); }
  #menu-applications h2 {
    margin-bottom: 3.5rem; }

#menu-team {
  background-color: #ffffff; }
  #menu-team .members-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around; }
    #menu-team .members-container .members {
      width: 50%;
      flex-shrink: 0;
      text-align: center;
      overflow: hidden; }
      #menu-team .members-container .members a {
        max-width: 100%; }
        #menu-team .members-container .members a img {
          max-width: 100%; }
      #menu-team .members-container .members a.current {
        max-width: 100%; }
        #menu-team .members-container .members a.current img {
          transition: all .2s ease-in-out;
          filter: saturate(100%);
          -webkit-filter: saturate(100%);
          -moz-filter: saturate(100%);
          transform: scale(1.2, 1.2);
          transform-origin: 50% 0%;
          max-width: 100%; }

#week_3, #week_4, #week_5, #week_6 {
  height: auto; }

.reveal {
  padding: 16px;
  text-align: left; }
  .reveal h3 {
    margin-bottom: 0.25rem; }
  .reveal p {
    font-size: 14px;
    line-height: 21px; }

#menu-team .content h2 {
  text-align: center;
  margin-bottom: 0.5rem; }

#menu-news {
  background: #f6f9fc;
  border-top: 1px solid rgba(208, 215, 221, 0.35); }
  #menu-news .content h2 {
    text-align: center;
    margin-bottom: 0.5rem; }

#menu-contact {
  background: #ffffff;
  border-top: 1px solid rgba(208, 215, 221, 0.35); }
  #menu-contact .content {
    text-align: center; }

#menu-invest {
  background: #ffffff;
  border-top: 1px solid rgba(208, 215, 221, 0.35); }
  #menu-invest .content {
    text-align: center; }

#map {
  width: 100%;
  height: 400px; }
  #map p {
    padding-bottom: 0 !important;
    font-size: 14px;
    line-height: 19px; }
  #map .info-window img {
    padding: 0.5rem 0 1rem 0;
    width: 136px; }
  #map a {
    padding-bottom: 0.5rem;
    display: inline-block; }

#menu-applications:before, #menu-team:before, #menu-contact:before, #menu-invest:before, #menu-news:before {
  display: block;
  content: " ";
  margin-top: 0px;
  height: 3.5rem;
  visibility: hidden; }

#menu-applications:after {
  display: block;
  content: " ";
  margin-bottom: 0px;
  visibility: hidden; }

#tapani {
  position: relative; }

@media (min-width: 600px) {
  #menu-team .members-container .members {
    width: 25%;
    flex-shrink: 1; }

  #menu-team:after {
    display: block;
    content: " ";
    margin-bottom: 0px;
    height: 3rem;
    visibility: hidden; }

  #map {
    height: 700px; }
    #map a[href^="http://maps.google.com/maps"] {
      display: none !important; }
    #map a[href^="https://maps.google.com/maps"] {
      display: none !important; }
    #map .gmnoprint a, #map .gmnoprint span, #map .gm-style-cc {
      display: none; } }
@media (min-width: 960px) {
  #menu-contact h2 {
    padding-bottom: 1.5rem; }

  br.mobile {
    display: none; }

  .members-container {
    margin: 0 auto;
    max-width: 1280px; }
    .members-container .members p {
      font-size: 16px;
      line-height: 1.5; } }
#particles-js {
  width: 100%;
  height: 100vh;
  background: url("../assets/img/bg-batteries-plain.jpg") no-repeat bottom center;
  background-size: cover;
  min-height: 320px; }

.landing {
  background-size: 100%;
  background: #0e4372;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  transform-origin: 0;
  height: 100vh;
  min-height: 320px; }
  .landing .landing-text {
    position: absolute;
    top: 28vh;
    width: 80%;
    left: 10%; }
    .landing .landing-text h1 {
      text-align: center;
      font-size: 28px;
      font-family: "museo-sans-display", sans-serif;
      font-weight: 800;
      font-style: normal; }
    .landing .landing-text h2 {
      font-size: 18px;
      text-align: center;
      color: #f6f9fc; }
  .landing h1 {
    color: #fff; }

.watch-video {
  text-align: center;
  position: relative;
  margin-top: 7vh; }
  .watch-video h2 {
    background: url("../assets/img/play-video.svg") no-repeat;
    height: 32px;
    display: inline-block;
    margin: 0 auto;
    padding-left: 40px;
    line-height: 32px; }
    .watch-video h2 a, .watch-video h2 a:hover {
      color: #ffffff; }
  .watch-video .open-video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    cursor: pointer; }

header {
  width: 100%;
  background: rgba(10, 50, 87, 0.85); }
  header nav {
    font-family: "proxima-nova-sc-osf-ext-cond",sans-serif;
    color: #fff;
    height: 44px;
    display: flex;
    flex-direction: row;
    align-items: stretch; }
    header nav a, header nav a:visited {
      color: #fff;
      text-transform: lowercase;
      font-size: 18px;
      flex-grow: 1;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      transition: all 0.1s; }
    header nav a.active {
      border-bottom: 3px solid #3bbf8e;
      color: #3bbf8e; }

.no-touch header nav a:hover {
  color: #06BEE1; }

.headroom {
  will-change: transform;
  transition: transform 200ms linear; }

.headroom--pinned {
  transform: translateY(0%); }

.headroom--unpinned {
  transform: translateY(-100%); }

.header--fixed {
  position: fixed;
  z-index: 10;
  right: 0;
  left: 0;
  top: 0; }

.logo-link {
  background: url("../assets/img/logo-mobile.svg") center center no-repeat;
  background-size: 16px 16px;
  display: block; }
  .logo-link:hover {
    color: #1768AC; }

@media (min-width: 600px) {
  .headroom--unpinned {
    transform: translateY(0%); }

  header nav {
    height: 60px; }
    header nav a {
      font-size: 21px; }

  .logo-link {
    background: url("../assets/img/logo-white.svg") center center no-repeat;
    background-size: 132px 32px;
    min-width: 110px; } }
@media (min-width: 960px) {
  header nav {
    max-width: 1140px;
    margin: 0 auto; }
    header nav .logo-link {
      min-width: 50px; }
    header nav a, header nav a:visited {
      flex-shrink: 1;
      flex: 1; } }
@media screen and (min-height: 460px) and (max-width: 600px) {
  #particles-js {
    background: url("../assets/img/phone-portrait-bg.jpg") no-repeat bottom center;
    background-size: cover; }

  .landing .landing-text {
    top: 15vh; } }
@media screen and (min-height: 460px) and (min-width: 601px) and (max-width: 767px) {
  #particles-js {
    background: url("../assets/img/phone-portrait-bg.jpg") no-repeat bottom center;
    background-size: cover;
    min-height: 600px; }

  .landing {
    min-height: 600px; }
    .landing .landing-text {
      top: 15vh; } }
@media screen and (min-height: 600px) and (min-width: 768px) and (max-width: 1140px) {
  #particles-js {
    background: url("../assets/img/battery-bg.jpg") no-repeat bottom center;
    background-size: cover;
    min-height: 767px; }

  .landing {
    min-height: 767px; }
    .landing .landing-text {
      top: 15vh; } }
@media screen and (min-height: 600px) and (min-width: 1141px) and (max-width: 1439px) {
  #particles-js {
    background: url("../assets/img/battery-bg-large.jpg") no-repeat bottom center;
    background-size: cover;
    min-height: 767px; }

  .landing {
    min-height: 767px; }
    .landing .landing-text {
      top: 15vh; } }
@media screen and (min-width: 960px), (min-height: 800px) {
  #particles-js {
    min-height: 600px; }

  .landing {
    min-height: 600px; }
    .landing .landing-text h1 {
      text-align: center;
      font-size: 48px;
      font-family: "museo-sans-display", sans-serif;
      font-weight: 800;
      font-style: normal; }
    .landing .landing-text h2 {
      font-size: 21px;
      text-align: center;
      color: #f6f9fc; }
    .landing .landing-text h2.videoheading {
      font-size: 28px;
      height: 40px;
      line-height: 40px;
      padding-left: 50px; } }
@media screen and (min-width: 1440px) {
  #particles-js {
    min-height: 900px;
    background: url("../assets/img/battery-bg-large.jpg") no-repeat bottom center;
    background-size: cover;
    height: 100vh; }

  .landing {
    min-height: 900px;
    height: 100vh; }
    .landing .landing-text {
      top: 15vh; }
      .landing .landing-text h1 {
        text-align: center;
        font-size: 60px;
        font-family: "museo-sans-display", sans-serif;
        font-weight: 800;
        font-style: normal; }
      .landing .landing-text h2 {
        font-size: 32px;
        text-align: center;
        color: #f6f9fc; }
      .landing .landing-text h2.videoheading {
        font-size: 40px;
        height: 40px;
        line-height: 40px;
        padding-left: 50px; } }
footer {
  background: #f6f9fc;
  text-align: center;
  font-family: "proxima-nova-sc-osf-ext-cond", sans-serif;
  text-transform: lowercase;
  border-top: 1px solid rgba(208, 215, 221, 0.35); }

footer:before {
  display: block;
  content: " ";
  margin-top: 0px;
  height: 2rem;
  visibility: hidden; }

footer:after {
  display: block;
  content: " ";
  margin-bottom: 0px;
  height: 2rem;
  visibility: hidden; }

html, body {
  -webkit-animation: fadein 0.3s;
  /* Safari, Chrome and Opera > 12.1 */
  -ms-animation: fadein 0.3s;
  /* Internet Explorer */
  animation: fadein 0.3s ease-in; }

@keyframes fadein {
  0% {
    opacity: 0; }
  25% {
    opacity: 0; }
  100% {
    opacity: 1; } }
/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
  0% {
    opacity: 0; }
  25% {
    opacity: 0; }
  100% {
    opacity: 1; } }
/* Internet Explorer */
@-ms-keyframes fadein {
  0% {
    opacity: 0; }
  25% {
    opacity: 0; }
  100% {
    opacity: 1; } }
.news-container {
  display: flex;
  flex-flow: row wrap;
  padding: 8px;
  flex-grow: 1;
  justify-content: center;
  max-width: 2415px;
  margin: 0 auto;
  margin-bottom: 3rem; }

.news-block {
  width: 100%;
  position: relative;
  padding: 8px;
  box-sizing: border-box;
  display: flex;
  flex-flow: row wrap; }
  .news-block .news-content {
    border: 1px solid rgba(208, 215, 221, 0.35);
    background: #ffffff;
    padding: 1rem 1rem 0rem 1rem;
    height: 100%; }
    .news-block .news-content .post-meta {
      /* font-family: "proxima-nova-sc-osf-ext-cond",sans-serif;
      text-transform: lowercase;
      color: $body-text-color;
      */
      font-size: 13px; }
    .news-block .news-content .excerpt {
      height: 180px;
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem; }
      .news-block .news-content .excerpt img {
        max-height: 160px;
        max-width: 100%; }
    .news-block .news-content .click {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 1;
      cursor: pointer; }

.no-touch .news-container .news-block .news-content:hover {
  border: 1px solid #9dcbf2;
  transition: .25s all; }

@media (min-width: 480px) {
  .news-block {
    width: 50%; } }
@media (min-width: 960px) {
  .news-block {
    width: 33.33%;
    flex: 0 1 400px; }

  .filling-empty-space-childs {
    width: 800px;
    height: 0; } }
.landing-news {
  background: #ffffff;
  padding: 16px;
  margin: 0 auto;
  min-height: 100%; }
  .landing-news .link-post-meta {
    font-size: 13px;
    display: block;
    padding-bottom: 0.25rem;
    line-height: 13px; }
  .landing-news p.post-meta {
    text-align: center; }
    @media (min-width: 960px) {
      .landing-news p.post-meta {
        text-align: left; } }
  .landing-news li {
    padding: 0rem 0rem 1rem 0rem; }
  .landing-news .current {
    display: none; }
    .landing-news .current a, .landing-news .current a:hover, .landing-news .current a:active {
      color: rgba(57, 82, 112, 0.85); }
  .landing-news h1 {
    font-size: 28px;
    line-height: 32px;
    text-align: center; }

.landing-news:before {
  display: block;
  content: " ";
  margin-top: 0px;
  height: 3rem;
  visibility: hidden; }

.post {
  background: #ffffff; }

@media (min-width: 600px) {
  .landing-news:before {
    display: block;
    content: " ";
    margin-top: 0px;
    height: 6rem;
    visibility: hidden; }

  .landing-news {
    max-width: 800px;
    padding: 2rem; }
    .landing-news h1 {
      font-size: 40px;
      line-height: 44px;
      text-align: center; }

  p {
    font-size: 18px;
    line-height: 28px; } }
@media (min-width: 1140px) {
  .landing-news {
    display: table;
    width: 1140px;
    max-width: 1140px;
    padding: 0rem 3rem 3rem 3rem; }
    .landing-news .current {
      display: block; }
      .landing-news .current a, .landing-news .current a:hover, .landing-news .current a:visited, .landing-news .current a:active {
        color: rgba(31, 45, 61, 0.85); }
    .landing-news h1 {
      text-align: left; }
    .landing-news .more {
      display: none; }
    .landing-news .subnavi {
      padding-right: 4rem;
      width: 300px;
      position: fixed;
      display: table-cell; }

  .post {
    float: right;
    width: 700px;
    display: table-cell; } }
.YouTubePopUp-Wrap {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  z-index: 9999999999999; }

.YouTubePopUp-animation {
  opacity: 0;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: YouTubePopUp;
  animation-name: YouTubePopUp; }

@-webkit-keyframes YouTubePopUp {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }
@keyframes YouTubePopUp {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }
body.logged-in .YouTubePopUp-Wrap {
  /* For WordPress */
  top: 32px;
  z-index: 99998; }

.YouTubePopUp-Content {
  max-width: 680px;
  display: block;
  margin: 0 auto;
  height: 100%;
  position: relative; }

.YouTubePopUp-Content iframe {
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
  height: 480px !important;
  border: none !important;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0; }

.YouTubePopUp-Hide {
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: YouTubePopUpHide;
  animation-name: YouTubePopUpHide; }

@-webkit-keyframes YouTubePopUpHide {
  0% {
    opacity: 1; }
  100% {
    opacity: 0; } }
@keyframes YouTubePopUpHide {
  0% {
    opacity: 1; }
  100% {
    opacity: 0; } }
.YouTubePopUp-Close {
  position: absolute;
  top: 0;
  cursor: pointer;
  bottom: 528px;
  right: 0px;
  margin: auto 0;
  width: 24px;
  height: 24px;
  background: url(../assets/img/close.png) no-repeat;
  background-size: 24px 24px;
  -webkit-background-size: 24px 24px;
  -moz-background-size: 24px 24px;
  -o-background-size: 24px 24px; }

.YouTubePopUp-Close:hover {
  opacity: 0.5; }

@media all and (max-width: 768px) and (min-width: 10px) {
  .YouTubePopUp-Content {
    max-width: 90%; } }
@media all and (max-width: 600px) and (min-width: 10px) {
  .YouTubePopUp-Content iframe {
    height: 320px !important; }

  .YouTubePopUp-Close {
    bottom: 362px; } }
@media all and (max-width: 480px) and (min-width: 10px) {
  .YouTubePopUp-Content iframe {
    height: 220px !important; }

  .YouTubePopUp-Close {
    bottom: 262px; } }
