body {
	background: var(--background); 
	color: var(--foreground);
	font-family: sans-serif;
	margin: 0;
	height: 100vh;
	overflow: hidden;
}

hr {
	border: 0px;
  border-top: 2px solid #bbb;
  margin:10px;
}

.Slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;  
  background: var(--slider-background);
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.Slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%; 
  background: var(--slider-handle);
  cursor: pointer;
  
  box-shadow: 0px 2px 4px var(--shadow-color);
}

.Slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--slider-handle);
  cursor: pointer;
}

.Control, .Button, input[type=file]::file-selector-button {
	padding: var(--control-padding);
	border-radius: var(--control-border-radius);
	border: 0px;
	margin: 3px;
	font-size: var(--control-font-size);
	background: var(--control-background);
	box-shadow: 0px 2px 4px var(--shadow-color);
  display: inline-block;
  text-decoration: auto;
  color: var(--foreground);
}

input[type=file]{
	font-size: 16px;
}

.Control:hover, .Button:hover{
	background-color: var(--hover-color);
}

.Checkbox {
	border: 8px solid white;
  width: 1.0em;
  height: 1.0em;
  display: inline-block;
  padding: 0;
}

.Checkbox[checked]{
	background: blue;
}

.Button {
	cursor: pointer;
	display: inline-block;
	user-select: none; 
}

.Button:active{
	box-shadow: 0px 1px 2px var(--shadow-color);
	background: var(--active-color);
}

.PopupBack{
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--popup-back-bg-color);
  width: 100%;
  height: 100%;
  z-index: 11;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.PopupFrame{
  margin: 0 auto;
  border-radius: var(--form-border-radius);
  border: var(--form-edge-width) solid var(--form-edge-color);
  background-color: #bfd5f1;
  box-shadow: 0em 0.15em 0.4em #00000044;

  max-height: 100%;
  overflow: auto;
  color: var(--foreground);  
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;

}

.PopupContent {
  background: var(--background);
  padding: 10px;
}

.PopupControls {
  padding: 10px;
}

.ContextBack {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 11;
  box-sizing: border-box;
}

.ContextMenu {
  background-color: white;
  border-radius: var(--form-border-radius);
  position: absolute;
  filter: drop-shadow(0px 3px 5px var(--faint-shadow-color));
  padding: 10px 0;
  border: var(--form-edge-width) solid var(--form-edge-color);
}

.ContextMenuItem{
  margin: 0.25em 0em;
  padding: 0.5em 2.0em;
  cursor: pointer;
  user-select: none;
  font-size: var(--normal-font-size);
}

.ContextMenuItem:hover {
  background-color: var(--hover-color);
  color: var(--foreground);
}

.ContentHolder {	
  position: absolute;
  right: 0;
  top: 0;
  left: var(--bottom-menu-width);
  bottom: 0;
}

@media screen and (max-width: 700px) {
  .ContentHolder {
    right: 0;
    top: 0;
    left: 0;
    bottom: var(--bottom-menu-width);
  }
}

.Content {
	padding:  8px 8px var(--bottom-menu-width) 8px;
	width: 100%;
}

.MessageField {
  /*min-height: 1.1em;*/
  padding: 5px;
}



.HomeView{
  width: 100%;
  height:100%;
  padding-top: var(--bottom-menu-width);
}

.HomeBody {
  position: absolute;
  top: 3em;
  bottom: 0;
  width:100%;
  overflow-y: auto;
}



.MusicContent {
  position: absolute;
  top: 3em;
  width: 100%;
  bottom:  var(--bottom-menu-width);
  background: linear-gradient(0deg, #8aa8d6 0%, #bbceeb 100%)
}

.LeftMusicPane {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 17.5em;
  width: 50%
}

.RightMusicPane {
  position: absolute;
  right:0;
  top:0;
  bottom: 17.5em;
  width: 50%
}
.MusicListContainer {
    position: absolute;
    background: #0048a733;
    border: 2px solid #7e9dd25e;
    border-radius: 10px;
    color: white;
    overflow: hidden;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;

}

@media screen and (max-width: 700px) {
  .RightMusicPane {
    width: 100%;
    left: 0;
  }
  .LeftMusicPane {
    width: 100%;
    right: 0;
    bottom : 0;
  }
  .MusicListContainer {
    background: none;
    backdrop-filter: blur(14px) brightness(84%) saturate(1.5);


  }
}

.MusicListHeader {
  background: blue;
  padding: 0 10px;
  background: #346ccb4a;
  height: 3.5em;
}

.MusicListHeaderCaption {
  font-size: 1.17em;
  font-weight: bold;
  margin: 15px;
  float: left;

}

.MusicList{
    overflow-y: auto;
  height: calc(100% - 55px);
}

.MusicListItem {
  padding: 13px;
  border-bottom: 2px solid #2222aa25;
  cursor: pointer;
}

.CurrentMusicPane{
  background: #3a5488;
  height: 5em;
  bottom: 3em;
  width: 100%;
  position: absolute;
}

.CurrentMusicCover {
  height: 4.3em;
  margin: 0.3em;
}

.CurrentMusicInfo {
  position: absolute;
  left: 5em;
  right: 0;
  color: white;
  padding: 0.6em;
  top: 0;
  white-space: nowrap;
}

.Analyzer {
  height: 150px;
  position: absolute;
  bottom: 8em;
  width: 100%;
}

.ControlContainer{
	position: absolute;
	bottom:0px;
}

.Header{
  position: absolute;
  top: 0px;
  background: var(--menu-background);
  width: 100%;
  color: white;
  height: 3em;
  text-align: center;
}

.Footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: var(--menu-background);
  color: white;
  height:  var(--bottom-menu-width);
  text-align: center;
}

.MessageList {
	position: absolute;
	overflow-y: auto;
	top: var(--bottom-menu-width);
	bottom: var(--bottom-menu-width);
	width: 100%;
}

.MessageBlock{
	position: relative;
	cursor: pointer;
	padding-left: 80px;
	margin-bottom: 8px;
  min-height: 30px;
}

.Avatar{
	position: absolute;
  left: 10px;
  top: 10px;
  width: 50px;
}

.MessageUserName{
	color: black;
  font-weight: bold;
  margin-right:30px;
}

.SearchResultList {
  min-width: 273px;
  min-height: 250px;
  padding: 0;
  max-height: 450px;
  overflow: auto;
}

.SearchListItem {
	padding: 10px;
  border-bottom: 2px solid #00000022;
  cursor: pointer;
}

.SearchListItem[selected]{
	background: var(--header-background);
  color: white;
}

.DateTime	{
	font-size: 12px;
	float: right;
}

.Icon{
  height: 2.2em;
  vertical-align: middle;
  margin: 10px;
  user-select: none;
  user-drag: none;
}

.BigIcon {
  height: 3.5em;
  vertical-align: middle;
  margin: 10px;
  user-select: none;
  user-drag: none;
}

.IconButton {
  cursor: pointer;
	user-select: none; 
  user-drag: none;
  
}

.HeaderIcon {
  height: 2.2em;
  vertical-align: middle;
  margin: 10px;
  user-select: none;
  float: right;
}

.Selected {
	opacity: 1.0;
}


.Menu {
  height: 100% ;
  position: absolute;
  bottom: 0;
  width: var(--bottom-menu-width);
  text-align: center;
  background: var(--header-background);;
}

@media screen and (max-width: 700px) {
  .Menu {
    height: var(--bottom-menu-width);
    bottom: 0;
    width: 100% ;
  }
}

.MusicSlideContainer{
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 10px;
  left: 0;
}

.SliderColor {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: #fff;
  outline: none;
  opacity: 0.7;
  transition: opacity .15s ease-in-out;
}

.SliderColor::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
   border-radius: 12px;
  background: #04AA6D;
  cursor: pointer;
}

.FadeIn {
  animation: fadeIn ease 0.3s;
}

.FadeOut {
  animation: fadeOut ease 0.3s;
}

.ZoomIn {
	animation: zoomIn ease 0.3s;
}

.SlideIn {

}

.SlideOut {

}

@media screen and (max-width: 700px) {


  .SlideIn {
    animation: slideIn ease 0.4s;
  }

  .SlideOut {
    animation: slideOut ease 0.4s;
    left: -510px;
  }
}

@keyframes slideIn {
  0% {
    left: -510px;
  }
  100% {
    left: 5px;
  }
}

@keyframes slideOut {
  0% {
    left: 5px;
  }
  100% {
    left: -510px;
  }
}


@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes zoomIn {
  0% {
   	opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1.0);
  }
}


