a#votemo-widget-button {
    cursor: pointer;
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 999997;
    line-height: 0;
    height: 60px;
    background-repeat: no-repeat;
}

a#votemo-widget-button.language-blank {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 72px 0 16px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility:    hidden;
    -ms-backface-visibility:     hidden;
}

a#votemo-widget-button.votemo-widget-open.language-est {
    background-image: url('/dist/widget/open_text_est.svg');
    width: 165px;
}
a#votemo-widget-button.votemo-widget-open.language-eng {
    background-image: url('/dist/widget/open_text_eng.svg');
    width: 165px;
}
a#votemo-widget-button.votemo-widget-open.language-lva {
    background-image: url('/dist/widget/open_text_lva.svg');
    width: 165px;
}
a#votemo-widget-button.votemo-widget-open.language-njp {
    background-image: url('/dist/widget/open_text_njp-dark.svg');
    width: 165px;
}
a#votemo-widget-button.votemo-widget-open.language-dfs {
    background-image: url('/dist/widget/open_text_danfoss_new.svg');
    width: 165px;
}
a#votemo-widget-button.votemo-widget-open.language-r2 {
    background-image: url('/dist/widget/open_text_r2_v2.svg');
    width: 165px;
}
a#votemo-widget-button.votemo-widget-open.language-poff {
  background-image: url('/dist/widget/open-poff-text.svg');
  width: 165px;
}
a#votemo-widget-button.votemo-widget-open.language-blank {
    background-image: url('/dist/widget/open_text_blank.svg');
    width: 165px;
}

a#votemo-widget-button.votemo-widget-close {
    background-image: url('/dist/widget/close.svg');
    width: 60px;
}
a#votemo-widget-button.language-njp {
    background-image: url('/dist/widget/close-njp-dark.svg');
}
a#votemo-widget-button.language-dfs {
    background-image: url('/dist/widget/close-danfoss.svg');
}
a#votemo-widget-button.language-r2 {
    background-image: url('/dist/widget/close-r2.svg');
}
a#votemo-widget-button.language-poff {
  background-image: url('/dist/widget/close-poff.svg');
}

/* in mobile view there's different close button */
a#votemo-widget-button-mobile-close {
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: fixed;
    display: none;
    z-index: 999999;
    background-image: url('/dist/widget/close.svg');
    left: 0;
    bottom: 0;
}

a#votemo-widget-button-mobile-close.close-language-blank {
    background-image: url('/dist/widget/close.svg');
}

a#votemo-widget-button-mobile-close.close-language-dfs {
    background-image: url('/dist/widget/close-danfoss.svg');
}

a#votemo-widget-button-mobile-close.close-language-r2 {
    background-image: url('/dist/widget/close-r2.svg');
}

a#votemo-widget-button-mobile-close.close-language-njp {
    background-image: url('/dist/widget/close-njp-dark.svg');
}

div#votemo-widget-iframe-wrapper {
    z-index: 999998;
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
    position: fixed;
    display: none;
    background-color: white;
    background-image: url('/dist/widget/open.svg');
    background-size: 30%;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

div#votemo-widget-iframe-wrapper.language-njp {
    background-image: url('/dist/widget/open-njp-dark.svg');
}
div#votemo-widget-iframe-wrapper.language-dfs {
    background-image: url('/dist/widget/open-danfoss.svg');
}
div#votemo-widget-iframe-wrapper.language-r2 {
    background-image: url('/dist/widget/open-r2_v2.svg');
}
div#votemo-widget-iframe-wrapper.language-poff {
  background-image: url('/dist/widget/open-poff.svg');
}

div#votemo-widget-iframe-wrapper.loaded {
    border: 3px solid red;
}

div#votemo-widget-iframe-wrapper.desktop {
    bottom: 80px;
    left: 10px;
    overflow: hidden;
}
div#votemo-widget-iframe-wrapper.mobile {
    bottom: 0px;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

iframe#votemo-widget-iframe {
    border-width: 0;
    z-index: 999998;
    width: 100%;
    height: 100%;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes heartBeat {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  14% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  28% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  42% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  70% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes heartBeat {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  14% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  28% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  42% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  70% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.heartBeat {
  -webkit-animation-name: heartBeat;
  animation-name: heartBeat;
  -webkit-animation-duration: 1.3s;
  animation-duration: 1.3s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.fadeAnimation {
    -webkit-animation-duration: 300ms;
    animation-duration: 300ms;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeOutDown {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }
}

.fadeOutDown {
  -webkit-animation-name: fadeOutDown;
  animation-name: fadeOutDown;
}
