body::before {
    background-size: cover;
    background-attachment: fixed;
    content: '';
    will-change: transform;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    position: fixed;
}

.container {
  padding-top: 70px;
}

#right-card, #left-card {
  min-height: 420px;
  height: 420px;
}

.card-content {
  height: 340px;
}

@media (max-width: 512px)  and (-webkit-min-device-pixel-ratio: 1.5),
       (max-width: 512px)  and (min-resolution: 1.5dppx),
       (max-width: 1024px) and (-webkit-max-device-pixel-ratio: 1.5),
       (max-width: 1024px) and (max-resolution: 1.5dppx) {
  body::before {
  /*  background-image: url('../images/background.png'); */
  }
}
@media (min-width: 513px)  and (max-width: 1024px) and (-webkit-min-device-pixel-ratio: 1.5),
       (min-width: 513px)  and (max-width: 1024px) and (min-resolution: 1.5dppx),
       (min-width: 1025px) and (max-width: 2048px) and (-webkit-max-device-pixel-ratio: 1.5),
       (min-width: 1025px) and (max-width: 2048px) and (max-resolution: 1.5dppx)  {
  body::before {
  /*  background-image: url('../images/background.png'); */
  }
}
@media (min-width: 1025px) and (-webkit-min-device-pixel-ratio: 1.5),
       (min-width: 1025px) and (min-resolution: 1.5dppx),
       (min-width: 2049px) and (-webkit-max-device-pixel-ratio: 1.5),
       (min-width: 2049px) and (max-resolution: 1.5dppx) {
  body::before {
  /*  background-image: url('../images/background.png'); */
  }
}
body .demo-blog {
  font-family: 'Roboto', 'Helvetica', sans-serif;
}


/* Fixes for IE 10 */
.mdl-grid {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

#bg-img {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width:100%;
  z-index: -100 !important;
}

.server-btn {
  margin-right:16px;
  margin-top:16px
}

#musicplayer {
  display: none;
  top: 0;
  right: 100000;
}

video {
  position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}

*.unselectable {
   -moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
   user-select: none;
}

html {
  cursor: context-menu;
}

.cycle {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -4 !important;
  width: 100%;
  height: 100%;
}

.cycle img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.cycle > div {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
}

#type-message {
  -webkit-appearance:none !important;
  position: absolute;
  bottom: 12px;
  margin-left: 20px;
  width: 80%;
  height: 24px;
  outline: none;
  appearance: none !important;
  box-shadow: none;
  padding: 4px;
  font-family: Roboto;
  color: black;
  border-radius: 4px;
  background-color: white;
  border: 1px solid white;
}

#type-message::-webkit-input-placeholder {
  color: grey
}

#type-message::-moz-placeholder {
  color: grey
}

#type-message:-moz-placeholder {
  color: grey
}

#type-message:-ms-placeholder {
  color: grey
}

.chat {
  overflow-y: scroll;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb {
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}
