/*自訂中文字型*/
h1,h2,h3,h4,h5,h6 {
  font-family:
  "Microsoft YaHei", 
  "Heiti TC",
  "WenQuanYi Zen Hei";
}
textarea {
  resize: vertical; /* user can resize vertically, but width is fixed */
}

.color-title {
  background-color: #77949a;
  color: white;
  font-weight:bold;
}
.color-title > a {
  color: #f7de69;
}

.rootList > button {
  color: white;
}

.color-folder {
  background-color: #f4fdff;
}

.color-item {
  background-color: #fff;
}

a.loadingdisabled {
   pointer-events: none;
   cursor: default;
}


.scrollable-menu {
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
}

.scrollToTop{
  width:50px; 
  height:50px;
  padding:11px; 
  text-align:center; 
  background-color: #f05050;
  font-weight: bold;
  color: #f5f5f5;
  text-decoration: none;
  position:fixed;
  bottom:75px;
  right:30px;
  display:none;
  z-index: 99;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 10px;
  opacity: 0.8;
  font-size:150%;
}
.scrollToTop:hover{
  color: #f5f5f5;
  text-decoration:none;
  opacity: 1;
}

/*Alert*/
.swal-footer{
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.swal-button--leave {
  background-color: #f05050;
}

.swal-button--leave:active {
  background-color: #f21b1b;
}

.swal-button--delete {
  background-color: #f05050;
}

.swal-button--delete:active {
  background-color: #f21b1b;
}

.swal-button--save {
  background-color: #1ab667;
}
.swal-button--save:active {
  background-color: #108d4e;
}

.swal-button--ok {
  background-color: #1ab667;
}
.swal-button--ok:active {
  background-color: #108d4e;
}

/*app小廣告*/
.fixed {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  background-color: #eaf6f9;
  z-index: 3000;
}

.pfixed {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  z-index: 3000;
}

.alert-nobottom {
  margin-bottom: 0px
}
/*playbar音質*/
.eq-list ul{
  max-height: 320px;
  overflow-x: hidden;
  overflow-y: auto; 
  padding: 0;
  display: none !important;
  width: auto;
}

.eq-list.open ul{
  display: block !important;
  bottom: 20px;
  left: 80px;
}

.eq-list li{
  list-style: none;
  position: relative;
}

.playbar-popout {
  position: absolute;
  left: 25px;
  top: 0;
  right: 25px;
  display: block !important;
  line-height: 40px;
}
/*playbar評分*/
.rating {
    unicode-bidi: bidi-override;
    direction: rtl;
}

.rating input {
    position: absolute;
    left: -999999px;
}

.rating label {
    display: inline-block;
    font-size: 0;
}

.rating > label:before {
    position: relative;
    font: 38px/1 FontAwesome;
    display: block;
    content: "\f005";
    color: #ccc;
    background: -webkit-linear-gradient(-45deg, #d9d9d9 0%, #b3b3b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.rating > label:hover:before,
.rating > label:hover ~ label:before,
.rating > label.selected:before,
.rating > label.selected ~ label:before {
    color: #f9d21a;
    background: -webkit-linear-gradient(-45deg, #f4ca06 0%, #fbdc4c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.scontainer {
  position: relative;
  display: inline-block;
}
.star-under {
  color: #ccc;
  vertical-align: top;
}
.star-over {
  color: #f4ca06;
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  overflow: hidden;
}

.star-full {
  color: #f4ca06;
  vertical-align: top;
}
 .nav-xs .nav-primary > ul > li > a i.material-icons {
    font-size: 21px;
  }

/*首頁下方App*/
.same {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  flex-wrap: wrap;
}
.same > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

.blog-post {
  height:95%;
}

.post-item {
  height:100%;
}
.material-icons.md-18 { font-size: 14px; vertical-align: middle; margin-top: -2px;}
.material-icons.md-22 { font-size: 18px; vertical-align: middle;} /* Default */
.material-icons.md-36 { font-size: 36px; vertical-align: middle;}
.material-icons.md-48 { font-size: 48px; vertical-align: middle;}
.material-icons.md-top { font-size: 18px; vertical-align: top; margin-top: 2px;}
/*Toast 訊息*/
/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: rgba(0, 0, 0, 0.87); /* Black background color */
    font-family:'Source Sans Pro';
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 5px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 1; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 87px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */

/* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 87px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 87px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 87px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

#overlay {
    position: fixed; /* Sit on top of the page content */
    display: block; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 5; /* Specify a stack order in case you're using a different order for other elements */
}

.loader {
  position: absolute;
  top: 50%;
  left: 48%;
}

.lineload {
  animation: expand 1s ease-in-out infinite;
  border-radius: 10px;
  display: inline-block;
  transform-origin: center center;
  margin: 0 3px;
  width: 5px;
  height: 25px;
}

.lineload:nth-child(1) {
  background: #27ae60;
}

.lineload:nth-child(2) {
  animation-delay: 180ms;
  background: #f1c40f;
}

.lineload:nth-child(3) {
  animation-delay: 360ms;
  background: #e67e22;
}

.lineload:nth-child(4) {
  animation-delay: 540ms;
  background: #2980b9;
}

@keyframes expand {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(2);
  }
}

.fav-trash, .fav-edit,.favGL-trash, .man-trash {
    text-align: center;
    vertical-align: middle;
    line-height: 42px; 
    position: absolute;
    top:0px;
    right: 0; 
    cursor: pointer; 
    width: 40px; 
    height: 42px; 
    border: 1px solid #ebebeb;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0; 
    border: 1px solid #ebebeb;
    -webkit-border-radius: 3px;
            border-radius: 3px;

}
.fav-trash:hover,.fav-trash:hover, .fav-edit:hover,.favGL-trash:hover, .man-trash:hover { background: #f7f7f7; }

.fav-song {
  padding-top:10px;
  padding-bottom:12px;
  padding-right:50%;
}