div, span, img {
  transition: all 0.2s;
}

.no-transition {
  -moz-transition: none;
  -webkit-transition: none;
  -o-transition: color 0 ease-in;
  transition: none;
}

.hoverable {
  cursor: pointer;
}

#ui-blocker {
  z-index: 1000;
}

#header {
  z-index: 100;
}

#wrapper-popup-outer {
  z-index: 90;
}

#content-header {
  z-index: 80;
}

html, body {
  margin: 0;
  padding: 0;
  font-size: 28px;
  background-color: #eeeeee;
  color: #878787;
  font-family: 'din-w05-light';
  position: relative;
}

html {
  width: 100vw;
}

body {
  width: 100%;
  overflow-x: hidden;
}

a span, a:link span, a:active span, a:hover span, a:visited span {
  text-decoration: none;
  color: #878787;
}

.outer-wrapper {
  background-color: transparent;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
}

.wrapper {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

body[data-login="startup"] .hidden-at-startup {
  display: none;
}

/*
++++++++++++++++++++++ menu
*/
#menu .menuele#menu-headspace {
  height: 89px;
}

#menu {
  width: 375px;
  position: fixed;
  top: 0px;
  font-size: 0;
  overflow-x: hidden;
}

#menu .menuele {
  position: relative;
  width: 100%;
  height: 90px;
  border-bottom: 1px solid #eaeaea;
  background-color: #fff;
  display: inline-block;
}

#menu .menuele span.menutext {
  font-size: 23px;
  display: inline;
  position: absolute;
  left: 0px;
  top: 28px;
  width: 100%;
  height: 36px;
}

#menu .menuele span.menuselected {
  /* display: none; */
  position: absolute;
  right: 21px;
  width: 40px;
  top: 0px;
  font-size: 40px;
  color: #EAEAEA;
}

#menu .menuele.isselected {
  background-color: #eaeaea;
}

#menu .menuele[data-current="spinner"] span.menuselected {
  display: none;
}

#menu .menuele.isselected span.menuselected, #menu .menuele:hover span.menuselected {
  /* display: block; */
  color: #878787;
}

#menu .menuele .menuicon {
  position: absolute;
  left: 35px;
  /* top: 3px; */
  font-size: 36px;
}

#menu .menuele .menuitemheadline {
  position: absolute;
  left: 90px;
}

#menu .menuele.clickable:hover {
  background-color: #eaeaea;
}

#menu .menuele.clickable {
  cursor: pointer;
}

#menu #menudevices {
  display: none;
}

body.hasdevices #menu #menudevices {
  display: block;
}

#menu #menuvolume .menutext.volume-slider-sense {
  cursor: pointer;
}

body[data-current-device="none"] #menu .menuele.clickable.enabled-with-current-device {
  pointer-events: none;
}

body[data-current-device="none"] #menu .menuele.enabled-with-current-device span {
  color: #efefef;
  pointer-events: none;
}

body[data-current-device="none"] #menu .menuele.enabled-with-current-device #volume-slider span {
  background-color: #efefef;
}

#menu .menuele .current-spinner {
  display: none;
}

#menu .menuele[data-current="spinner"] img.current-spinner {
  display: block;
}

img.current-spinner {
  width: 36px;
  height: 36px;
  position: absolute;
  right: 24px;
  top: 0px;
  animation: continous-rotation 8s infinite linear;
}

@keyframes continous-rotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

#content .current-spinner {
  right: 4px;
  top: 0px;
  display: none;
}

#content .contentele[data-current="spinner"] img.current-spinner {
  display: block;
}

#content .contentele .cancel-manual-mode {
  display: none;
}

/* , #content .contentele[data-current="spinner"] .cancel-manual-mode */
#content .contentele[data-mode="manual"] .cancel-manual-mode {
  display: block;
}

#content .contentele[data-current="spinner"] .icon-icon-play {
  display: none;
}

#content .contentele[data-list="playlists"][data-current="spinner"] .icon-cancel {
  display: block;
}

/*
++++++++++++++++++++++ content
*/
#content {
  width: 100%;
  padding-top: 90px;
  padding-bottom: 170px;
  /* margin-left: 375px; */
}

#content[data-has-sub-header="true"] {
  padding-top: 180px;
}

#header #content-header {
  position: absolute;
  left: 375px;
  top: 90px;
  right: 0;
  /* margin-left: 360px;
    width: 100%; */
  height: 90px;
  display: flex;
  /* display: none; */
  background-color: #eaeaea;
  margin-right: 100%;
  overflow: hidden;
}

#header #content-header input {
  padding: 0 6px;
  font-size: 26px;
  flex: 1;
  max-width: 45%;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px dotted #efefef;
  background-color: #fff;
  color: #878787;
  height: 40px;
  margin: 24px auto;
}

#header[data-has-header="true"] #content-header {
  /* display: flex; */
  margin-right: 0;
}

#content-header {
  /* margin-left: 375px;
  background-color: #878787;
  height: 90px; */
}

#content .contentele {
  background-color: #F4F4F4;
  border-bottom: 1px solid #eaeaea;
  height: 90px;
  margin-left: 375px;
}

.item {
  position: relative;
  overflow: hidden;
}

#content .item.clickable {
  cursor: pointer;
}

#content .item.clickable:hover {
  background-color: #eaeaea;
}

/* #content .contentele:hover, , #content .contentele:hover .linebuttons*/
#content .contentele[data-is-active="true"] {
  background-color: #ffffff;
  color: #878787;
}

.item span.meta {
  font-family: 'din-w05-light';
  display: block;
  padding-left: 35px;
  white-space: nowrap;
}

.item span.artist {
  font-size: 19px;
  padding-top: 10px;
  font-weight: bold;
}

.item span.player.artist {
  padding-top: 17px;
}

.item span.title {
  font-size: 17px;
  position: relative;
}

.item span.starttime {
  font-size: 12px;
  position: relative;
  margin-top: 4px;
  color: #999999;
}

.linebuttons {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 100px;
  display: flex;
  flex-direction: row-reverse;
  height: inherit;
  background-color: inherit;
  padding-right: 24px;
}

.linebuttons.linebuttons-w3 {
  width: 140px;
}

.linebuttons span {
  flex: 1;
  cursor: pointer;
  /* margin-top: 28px; */
  text-align: right;
}

#content .linebuttons span:hover {
  color: #575757;
}

/* right-icon slightly bigger */
#content .linebuttons .lb .icon-icon-right, #login-header .icon-icon-left {
  font-size: 40px;
}

#login-header .icon-icon-left {
  position: absolute;
  left: 30px;
  margin-top: 6px;
}

.linebuttons .lb {
  position: absolute;
  top: 26px;
}

.linebuttons .lb.lb0 {
  right: 20px;
}

.linebuttons .lb.lb1 {
  right: 70px;
}

.linebuttons .lb.lb2 {
  right: 114px;
}

/* .list-bottom-spacer {
  height: 111px;
} */
.linebuttons span {
  display: block;
  transition-property: transform;
  transition-duration: 1s;
  /* padding-top: 18px;
  padding-left: 18px; */
  /* animation-name: rotatinger;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear; */
  /* transform-origin: 50%; */
}

.linebuttons span.active-rot[data-active="true"] {
  animation-name: rotatinger;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

@keyframes rotatinger {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(359deg);
  }
}

#footer .linebuttons span:hover {
  color: #FFFFFF;
}

#footer .item {
  color: #fff;
}

.list-bottom-spacer {
  height: 170px;
}

/*
++++++++++++++++++++++ heaader
*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  height: 90px;
  width: 100vw;
}

#header #header-inner {
  margin: 0 auto;
  max-width: 800px;
  background-color: white;
  height: 90px;
  position: relative;
  border-bottom: 1px solid #cccccc;
}

#mdlogo {
  position: absolute;
  right: 30px;
  top: 30px;
}

#mdlogo img {
  height: 30px;
}

#header img#loading {
  width: 30px;
  margin-left: 6px;
  margin-top: 30px;
  transform: rotate(90deg);
}

#header-sub {
  display: none;
  position: fixed;
  top: 50px;
  left: 0;
  width: 100vw;
}

#header-sub-headline {
  position: relative;
  background-color: #EAEAEA;
  width: 100vw;
  height: 57px;
}

#header-sub-headline span {
  position: absolute;
  top: 16px;
}

#header-sub-headline span.icon {
  left: 6px;
}

#header-sub-headline span.sub-headline {
  left: 50px;
  top: 8px;
}

/*
++++++++++++++++++++++ footer
*/
#footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
}

#footer #footer-inner {
  position: relative;
  margin: 0 auto;
  max-width: 800px;
  background-color: #4A4A4A;
  height: 120px;
}

body.hasdevices #footer #footer-inner {
  height: 170px;
}

#footer #footer-inner #footer-sub-device {
  background-color: #575757;
  color: #fff;
  width: 100%;
  height: 50px;
  font-size: 15px;
  position: absolute;
  bottom: 0;
  display: none;
  /* display: flex; */
  align-items: center;
  cursor: pointer;
}

body.hasdevices #footer #footer-inner #footer-sub-device {
  display: flex;
}

#footer-sub-device div {
  margin: auto;
}

#button-stream-play {
  position: absolute;
  right: 10px;
  bottom: -20px;
  background-color: #777777;
  border-radius: 50%;
  width: 47px;
  height: 47px;
  display: none;
  padding: 0;
}

#button-stream-play div#button-stream-play-inner {
  position: relative;
}

#button-stream-play div span {
  position: relative;
  color: #cacaca;
}

#button-stream-play-inner {
  position: absolute;
  left: 1px;
  top: 9px;
}

#button-stream-play-inner.spinning div#button-stream-play-icon {
  -webkit-animation: rotatespinner 1s steps(12, end) infinite;
  animation: rotatespinner 1s steps(12, end) infinite;
}

@keyframes rotatespinner {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

[class^="icon-"], [class*=" icon-"] {
  font-size: 36px;
}

#playbackbar {
  height: 16px;
  width: 100%;
  position: absolute;
  left: 0;
  top: 86px;
}

#playbackbar-inner {
  position: relative;
  height: 10px;
  background-color: #575757;
  margin: 0 35px;
}

#playbackbar-inner-passedby {
  position: absolute;
  height: 10px;
  left: 0;
  top: 0;
  width: 0;
  background-color: #878787;
}

#playbackbar-handle {
  position: absolute;
  left: 0;
  top: -2px;
  height: 14px;
  width: 14px;
  background-color: #cacaca;
}

#volume-slider {
  height: 16px;
  width: 100%;
  position: absolute;
  left: 0;
  top: 11px;
  display: block;
}

#volume-slider-inner {
  position: relative;
  height: 10px;
  background-color: #878787;
  margin-left: 90px;
  margin-right: 30px;
  display: block;
}

#volume-handle {
  position: absolute;
  left: 0;
  top: -2px;
  height: 14px;
  width: 14px;
  background-color: #aaa;
  display: block;
}

/*
++++++++++++++++++++++ login
*/
#wrapper-login {
  height: 100%;
  width: 100%;
  /* background-color: #ffffff; */
}

#wrapper-login #login-wrapper-inner {
  height: 100%;
  width: 100%;
  margin: 0 auto;
  /* background-color: #ffffff; */
}

/* #wrapper-login #login {
  padding-top: 91px;
  margin-left: 0px;
  width: 100%;
} */
#login-wrapper-inner-trans {
  padding-top: 91px;
  margin-left: 0px;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
}

#forgot-line-rememeber-checkbox[data-is-on="false"] {
  color: #ffffff;
}

body[data-after-login="loggedin"] #outer-wrapper-login {
  display: none;
}

body[data-login="loggedin"] #wrapper-login #login-wrapper-inner #login-wrapper-inner-trans {
  margin-left: -100vw;
}

#wrapper-login #login input {
  padding-top: 0px;
}

#login-inner {
  margin-top: 160px;
}

#login-header {
  height: 71px;
  background-color: #eaeaea;
  width: 100%;
  font-size: 30px;
  text-align: center;
  padding-top: 20px
}

#password-reset-form {
  display: none;
}

#login-header-icon-back {
  display: none;
}

#login-deco {
  position: fixed;
  bottom: 0;
  top: 600px;
  display: flex;
  width: 100vw;
  max-width: 800px;
}

#login-deco .deco-color {
  flex: 1;
  height: 100%;
}

#login-deco #deco0 {
  background-color: #5B650A;
}

#login-deco #deco1 {
  background-color: #1C5B8D;
}

#login-deco #deco2 {
  background-color: #642C53;
}

#login-deco #deco3 {
  background-color: #704E2E;
}

.login-form {
  margin: 0 auto;
  width: 80%;
  max-width: 458px;
  padding-top: 16px;
}

#login-disclaimer {
  font-size: 12px;
}

.login-error {
  font-size: 12px;
  color: red;
  display: none;
}

input, label {
  display: block;
  font-size: 30px;
  color: #878787;
  font-family: 'din-w05-light';
}

label {
  font-size: 17px;
}

.login-form input {
  margin-top: 6px;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #CCCCCC;
  padding: 4px 8px;
}

::placeholder {
  color: #dddddd;
}

.login-form label {
  margin-top: 16px;
}

.button {
  font-size: 20px;
  background-color: #878787;
  color: #ffffff;
  text-align: center;
  width: 150px;
  padding: 10px 10px;
  margin: 24px auto;
  cursor: pointer;
}

#popup-frame .button {
  background-color: #ffffff;
  color: #878787;
  margin: 16px auto;
}

.login-form #forgot-line {
  font-size: 17px;
  margin-top: 22px;
  display: flex;
}

#forgot-line-rememeber-legend {
  padding-top: 6px;
}

.login-form #forgot-line span.menuicon {
  font-size: 36px;
  cursor: pointer;
  border: 1px solid #878787;
  width: 36px;
  height: 36px;
  max-width: 36px;
  display: inline-block;
  margin-right: 10px;
  flex: 1;
}

.login-form #forgot-line-forgot {
  text-align: right;
  cursor: pointer;
  text-decoration: underline;
  flex: 1;
  padding-top: 6px;
}

#wrapper-popup-outer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  /* width: 100vw;
  height: 100%; */
  margin: 0;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.0);
  z-index: 120;
}

#popup-frame {
  max-width: 500px;
  margin: 0 auto;
  background-color: #878787;
  margin-top: -190px;
  padding: 16px;
  color: #fff;
  font-family: 'din-w05-medium';
}

#wrapper-popup-outer[data-open="open"] {
  display: block;
}

#wrapper-popup-outer[data-fade="in"] {
  background-color: rgba(255, 255, 255, 0.5);
}

#wrapper-popup-outer[data-fade="in"] #popup-frame {
  margin-top: 196px;
}

#popup-header {
  position: relative;
  display: block;
  font-size: 19px;
}

#popup-content {
  position: relative;
  display: block;
  font-size: 17px;
  font-family: 'din-w05-light';
}

#popup-footer {
  position: relative;
  display: flex;
}

#ui-blocker {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

div, span {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

/*
########################################    SMALL SCREENS   ################################################
########################################    SMALL SCREENS   ################################################
########################################    SMALL SCREENS   ################################################
########################################    SMALL SCREENS   ################################################
########################################    SMALL SCREENS   ################################################
*/
@media all and (max-width: 800px) {
  body {
    background-color: #ffffff;
  }

  .wrapper {
    max-width: 100%;
    margin: 0;
    width: 100vw;
  }

  #header, #header #header-inner {
    height: 50px;
  }

  #mdlogo {
    right: 16px;
    top: 2px;
  }

  #mdlogo img {
    height: 17px;
  }

  #header-sub {
    display: block;
  }

  #header img#loading {
    width: 20px;
    margin-left: 6px;
    margin-top: 14px;
  }

  #header-sub-headline span.sub-headline {
    font-size: 21px;
    top: 15px;
  }

  [class^="icon-"], [class*=" icon-"] {
    font-size: 30px;
  }

  #menu {
    position: fixed;
    top: 0;
    left: 0;
    margin-left: -100%;
    height: 100%;
    background-color: #fff;
    width: 100%;
  }

  #menu .menuele {
    position: relative;
    height: 57px;
    width: 100%;
  }

  #menu .menuele .menuicon {
    left: 15px;
    font-size: 30px;
    width: 30px;
  }

  #menu .menuele span.menutext {
    top: 14px;
    width: 100%;
    height: 36px;
    font-size: 18px;
  }

  #menu .menuele span.menuitemheadline {
    left: 60px;
  }

  #menu .menuele#menu-headspace {
    height: 50px;
  }

  #menu .menuele span.menuselected {
    top: 0px;
    font-size: 36px;
    right: 9px;
  }

  img.current-spinner {
    display: none;
    width: 28px;
    height: 28px;
    right: 14px;
    top: 1px;
  }

  #content {
    margin-left: 0;
    padding-top: 107px;
    padding-bottom: 111px;
  }

  #content[data-has-sub-header="true"] {
    padding-top: 164px;
  }

  #header #content-header {
    position: absolute;
    left: 0;
    top: 107px;
    right: 0;
    height: 57px;
  }

  body[data-menu-is-open="true"] #header #content-header {
    margin-left: 100%;
  }

  #header #content-header input {
    height: 36px;
    margin: 9px auto;
    /* background-color: #EAEAEA;
    color: #878787; */
  }

  #content .contentele {
    margin-left: 0;
    height: 57px;
    overflow-x: hidden;
  }

  .item {
    padding-left: 0;
  }

  .item span.meta {
    padding-left: 16px;
    white-space: nowrap;
  }

  .item span.artist {
    font-size: 15px;
    padding-top: 0px;
    font-weight: bold;
  }

  .item span.title {
    font-size: 13px;
    position: relative;
  }

  .item span.starttime {
    font-size: 10px;
    position: relative;
    margin-top: 3px;
  } 

  .linebuttons {
    position: absolute;
    width: 86px;
    display: flex;
  }

  .linebuttons span {
    /* margin-top: 16px; */
    font-size: 30px;
    /* display: block; */
  }

  .linebuttons .lb {
    top: 16px;
  }

  /* right-icon slightly bigger */
  #content .linebuttons .lb .icon-icon-right {
    font-size: 36px;
    margin-top: -5px;
  }

  #login-header .icon-icon-left {
    font-size: 36px;
    left: 6px;
  }

  #footer #footer-inner {
    height: 81px;
  }

  /* #footer #footer-inner span {
      padding-top: 4px;
  } */
  body.hasdevices #footer #footer-inner {
    height: 111px;
  }

  #footer #footer-inner #footer-sub-device {
    font-size: 13px;
    height: 30px;
  }

  #playbackbar {
    top: 61px;
  }

  #playbackbar-inner {
    margin: 0 16px;
  }

  #login-wrapper-inner-trans {
    padding-top: 50px;
  }

  #login-header {
    height: 45px;
    font-size: 21px;
    padding-top: 0px;
  }

  #login-header-headline {
    display: inline-block;
    margin-top: 8px;
  }

  #wrapper-login #login {
    padding-top: 0;
  }

  #login-deco {
    top: 500px;
  }

  .login-form {
    padding-top: 8px;
  }

  #wrapper-popup-outer[data-fade="in"] #popup-frame {
    margin-top: 50px;
  }
}

body[data-login="loggedin"] .visible-loggedin {
  display: block;
}

body[data-login="notloggedin"] .visible-not-loggedin {
  display: block;
}

body[data-login="loggedin"] .visible-not-loggedin {
  display: none;
}

body[data-login="notloggedin"] .visible-loggedin {
  display: none;
}

/*
++++++++++++++++++++++ ANIMATIONS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/