@font-face {
  font-family: Brush Script MT;
  src: url(https://cloud.mafaka.com/css/brushsci.ttf);
}

.loadDataMsg {
  font-family: Brush Script MT; 
  font-size: 40px; 
  font-weight: normal; 
  line-height: 40px; 
  text-align: center; 
  text-shadow: 1px 1px 2px #082b34; 
  margin: 4px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:focus {
  text-decoration: none;
}

body {
  margin: 0px;
  padding: 0px;
  background-color: #f6f6f6;
}

.main {
  position: relative;
  top: 60px;
  padding: 20px;
  display: none;

/*  display: -webkit-box;
  display: flex; */


/*  background-color: #f6f6f6; */
  background: rgba(246, 246, 246, 0.5);
  overflow-y: scroll;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  -webkit-box-align: center;
          align-items: center;
  margin: 0px;
  overflow-x: auto;
}

/* Style the video: 100% width and height to cover the entire window */
#myVideo {
  position: relative;
  right: 0px;
  max-height: 100%;
  max-width: 100%;
  height: 100vh;
  width: 100vw;
  left: 50%;
  transform: translate(-50%);
  object-fit: cover;
}

/* Add some content at the bottom of the video/page */
.header {
  position: fixed;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 100%;
  padding: 20px;
  margin: 0px;
 /* height: 80px; */
  min-height: 60px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
  z-index: 100;
  display: none;
}

.login {
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  padding: 20px;
  height: 300px;
  width: 350px;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 8px;
  display: none;
}

.login h2 {
  margin-top: -5px;
  text-align: center;
}

/* Style the button used to pause/play the video */
#myBtn {
  width: 200px;
  font-size: 18px;
  padding: 10px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
}

#myBtn:hover {
  background: #ddd;
  color: black;
}

.layer {
  height:100vh;
  width:100vw;
  z-index: 3;
  overflow: hidden;
}

.createAccLink {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 100px;
  margin: 0px;
  cursor: pointer;
}

.albumName {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0px;
  display: none;
}

.albumName p {
  top: 75%;
  font-size: 16px;
}

p.albumName {
  top: 75%;
  font-size: 16px;
}

.title {
  position: absolute;
  left: 4px;
  width: 200px;
  margin: 0px;
/*  line-height: 40px; */
  line-height: 20px;
  font-size: 24px;
  display: none;
}

.title a {
  text-decoration: none;
  color: white;
}

div.photoset {
  padding: 2px;
  background-color: #ffffff;
  max-width: 800px;
  width: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-direction: row;
  flex-wrap: wrap;
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
}

div.photoset:last-child {
  border-bottom: 10px solid #d8d8d8;
}

video.photo {
  width: 40%;
  max-width: 100%;
}

div.photoset .photo {
  position: relative;
  -webkit-box-flex: 1;
          flex-grow: 1;
  min-width: calc(100% / 4);
  background-size: cover;
  background-position: center;
}

div.photoset .album {
  position: relative;
  -webkit-box-flex: 2;
          flex-grow: 2;
  min-width: calc(100% / 4);
  background-size: cover;
  background-position: center;
}

#main > video.photo + video.photo {
  max-width: 100%;
  flex-grow: 2;
}

video.photo + video.photo {
  width: 100%;
  flex-grow: 2;
}

.ui-logout {
  position: absolute;
  top: 14px;
  right: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.ui-user {
  position: absolute;
  top: 14px;
  right: 52px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.ui-music {
  position: absolute;
  top: 14px;
  right: 96px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.ui-albums {
  position: absolute;
  top: 14px;
  right: 140px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.albumPlaceHolder {
  position: sticky;
  top: 0px;
  width: 800px;
  text-align: center;
  background: rgb(50,50,50);
  border: 1px solid #d8d8d8;
  height: 40px;
  line-height: 40px;
  z-index: 100;
  color: white;
  border: 1px solid rgb(50,50,50);
  border-bottom: 1px solid rgb(25, 25, 25);
  box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
}

.spacer {
  background: #f6f6f6;
  width: 800px;
  height: 20px;
  position: fixed;
  top: 60px;
  z-index: 30;
}

.createAlbum {
  height: 134px;
  max-width: 800px;
  width: 100%;
  margin: 0;
  position: relative;
  background-color: white;
  border: 1px solid #d8d8d8;
  border-bottom: 0px;
  padding: 8px;
}

.gEqualizer {
  width: calc(-45px + (100vw - 800px)/(2));
  height: 240px;
  border: 1px solid #d8d8d8;
/*  border-top: 0px; */
  position: fixed;
  top: 233px;
  right: 20px;
  padding: 10px;
  margin: 20px;
  background: white;
/*  background: rgb(69, 72, 77);
  background: -moz-linear-gradient(top, rgba(69, 72, 77, 1) 0%, rgba(0, 0, 0, 1) 100%);
  background: -webkit-linear-gradient(top, rgba(69, 72, 77, 1) 0%, rgba(0, 0, 0, 1) 100%);
  background: linear-gradient(to bottom, rgba(69, 72, 77, 1) 0%, rgba(0, 0, 0, 1) 100%); */
}

.artistSongInfo {
  position: fixed; 
  top: 193px; 
  right: 20px; 
  width: calc(-45px + (100vw - 600px)/(2)); 
  height: 40px; 
  border: 1px solid rgb(25, 25, 25); 
  border-top: 0px; 
  margin: 20px; 
  padding-left: 8px; 
  background-color: rgb(50, 50, 50); 
  color: white; 
  text-align: center;
}

#artistSongInfo p {
  line-height: 40px;
  vertical-align: middle;
  padding: 0px;
  margin: 0px;
}

#artistSongInfo img {
  width: 100px;
  height: 100px;
}

.totals {
  display: grid;
  align-content: space-evenly;
  grid-template-columns: auto auto auto;
  grid-gap: 10px;
  background-color: white;
  padding: 8px;
  border: 1px solid #d8d8d8;
  border-bottom: 0px;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.mp3Totals {
  display: grid;
  align-content: space-evenly;
  grid-template-columns: auto auto;
  grid-gap: 10px;
  background-color: white;
  padding: 8px;
  border: 1px solid #d8d8d8;
  border-bottom: 0px;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

#load_data {
max-width: 800px;
width: 100%;
}

@media screen and (max-width: 1024px) {
  div.photoset {
    max-width: 600px;
    width: 100%;
  }
  div.photoset .photo {
    min-width: calc(100% / 2);
  }
  .createAlbum {
    min-width: calc(100% / 2);
  }
  #uploadLayer {
    position: sticky;
    min-width:  calc(100% / 2);
    width: 100%;
    max-width: 400px;
    top: 0px;
    margin: 0;
  }
  .fileInfo {
    visibility: hidden;
  }
  #load_data {
    width: 100%;
    max-width: 600px;
    z-index: 10;
  }
  p.photoDate {
    width: unset;
  }
  #shareAlbum {
    position: relative;
    margin: 0;
    right: 0px;
    width: 100%;
    max-width: 400px;
    top: 0px;
  }
  p.albumName {
    top: 83%;
    font-size: 14px;
    width: 100%;
    max-width: 800px;
    text-align: center;
  }
  .albumPlaceHolder {
    top: -1px;
 /*   min-width: 100%; */
    width: 100%;
    max-width: 800px;
  }
  .spacer {
/*    min-width: 100%; */
    width: 600px;
  }
  .gEqualizer {
    position: sticky;
    margin: 0;
    right: 0px;
    max-width: 600px;
    width: 100%;
    top: 0px;
    min-height: 240px;
  }
  .artistSongInfo {
    position: sticky;
    top: 0px;
    right: 0px;
    width: 100%;
    min-height: 40px;
    border: 1px solid rgb(25, 25, 25);
    border-top: 0px;
    margin: 0;
    padding-left: 8px;
    background-color: rgb(50, 50, 50);
    color: white;
    text-align: center;
    max-width: 600px;
  }
}

@media screen and (max-width: 684px) and (min-width: 682px) {
  div.photoset {
    max-width: 100%;
    width: 100%;
  }
  div.photoset .photo {
    min-width: calc(100% / 3);
  }
  .createAlbum {
    min-width: calc(100% / 2);
  }
  #uploadLayer {
    position: sticky;
    min-width:  calc(100% / 2);
    width: 100%;
    max-width: 600px;
    top: 0px;
    margin: 0;
    display: none;
  }
  .fileInfo {
    visibility: hidden;
  }
  #load_data {
    width: 100%;
    max-width: 600px;
    z-index: 10;
  }
  p.photoDate {
    width: unset;
  }
  #shareAlbum {
    position: relative;
    margin: 0;
    right: 0px;
    width: 100%;
    max-width: 400px;
    top: 0px;
    display: none;
  }
  p.albumName {
    top: 83%;
    font-size: 14px;
    width: 100%;
    max-width: 800px;
    text-align: center;
  }
  .albumPlaceHolder {
    top: -1px;
 /*   min-width: 100%; */
    width: 100%;
    max-width: 800px;
  }
  .spacer {
/*    min-width: 100%; */
    width: 600px;
  }
  .gEqualizer {
    position: sticky;
    margin: 0;
    right: 0px;
    max-width: 600px;
    width: 100%;
    top: 0px;
    min-height: 240px;
    display: none;
  }
  .artistSongInfo {
    position: sticky;
    top: 0px;
    right: 0px;
    width: 100%;
    min-height: 40px;
    border: 1px solid rgb(25, 25, 25);
    border-top: 0px;
    margin: 0;
    padding-left: 8px;
    background-color: rgb(50, 50, 50);
    color: white;
    text-align: center;
    max-width: 600px;
    display: none;
  }
  #main { 
    margin: 0px;
    padding: 0px;
  }
  .totals {
    width: 100%;
    max-width: 100%;
  }
  .mp3Totals {
    width: 100%;
    max-width: 100%;
  }
  .createAlbum {
    width: 100%;
    max-width: 100%;
  }
  .albumContainer {
    width: 100%;
    max-width: 100%;
  }
  .mp3AlbumContainer {
    width: 100%;
    max-width: 100%;
  }
  .albumPlaceHolder {
    width: 100%;
    max-width: 100%;
  }
  #load_data {
    width: 100%;
    max-width: 100%;
  }
  #embed_bottom_player.init {
    border: 0px;
    width: 100.5%;
    max-width: 100.5%;
  }
  #embed_bottom_player {
    border: 0px;
    width: 100.5%;
    max-width: 100.5%;
  }
}

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

#albumData {
   width: 100%;
   }

  div.photoset .photo {
/*    min-width: 100%; */
    min-width: calc(100% / 3);
}
	
  .createAlbum {
    min-width: 100%;
  }
  #uploadLayer {
    position: sticky;
    min-width: 100%;
    top: 0px;
    margin: 0;
  }
  .fileInfo {
    visibility: hidden;
  }
  #load_data {
    width: 100%;
    z-index: 10;
  }
  p.photoDate {
    width: unset;
  }
  #shareAlbum {
    position: relative;
    margin: 0;
    right: 0px;
    width: 100%;
    top: 0px;
  }
  p.albumName {
    top: 83%;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }

    .albumPlaceHolder {
    top: -1px;
    min-width: 100%;
    width: 100%;
  }

  .spacer {
    min-width: 100%;
  }

  .gEqualizer {
    position: relative;
    margin: 0;
    right: 0px;
    width: 100%;
    top: 0px;
  }

}

@media (max-width: 1024px) {
  video.photo {
    max-width: 100%;
  }
  #uploadLayer {
    position: sticky;
/*    min-width: 100%; */
    max-width: 600px
    top: 0px;
    margin: 0;
  }
  .fileInfo {
    visibility: hidden;
  }
  #load_data {
    width: 100%;
    max-width: 600px;
    z-index: 10;
  }
  p.photoDate {
    width: unset;
  }
  #shareAlbum {
    position: relative;
    margin: 0;
    right: 0px;
    width: 100%;
    max-width: 800px;
    top: 0px;
  }
  p.albumName {
    top: 85%;
    font-size: 14px;
    width: 100%;
    max-width: 800px;
    text-align: center;
  }

  .createAlbum {
    min-width: calc(100% / 2);
  }

}

div.photoset .photo:after {
  padding-top: 83.33333%;
  display: block;
  content: "";
}
div.photoset .photo:before {
  z-index: 2;
  position: absolute;
  content: "";
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  box-shadow: inset 0 0 0 2px #ffffff;
}

div.photoset .album:after {
  padding-top: 83.33333%;
  display: block;
  content: "";
}
div.photoset .album:before {
  z-index: 2;
  position: absolute;
  content: "";
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  box-shadow: inset 0 0 0 2px #ffffff;
}


video.photo:nth-child(1) {
        max-width: 100%;
}

div.photoset.square .photo:after {
  padding-top: 100%;
}
div.photoset.portrait .photo:after {
  padding-top: 120%;
}

.photoDate {

  padding: 6px;
  margin-left: 4px;
  font-family: arial;
  font-size: 14px;
  background-color: #ffffff;
  width: 800px;
  margin: 0px;
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
}

#main > p:nth-child(4) {
  border-top: 1px solid #d8d8d8;
}


#main .photoDate:nth-child(1) {
 /* border-top: 1px solid #d8d8d8;*/
}

.fileInfo {
  padding: 6px;
  padding-bottom: 0px;
  position: fixed;
  top: 210px;
  right: 40px;
  width: calc(-45px + (100vw - 800px)/(2));
  background-color: white;
  overflow: hidden;
  min-height: 140px;
  display: none;
  border: 1px solid #d8d8d8;
  border-top: 0px;
}

.fileInfo p {
  font-family: arial;
  font-size: 14px;
  margin: 0 0 4px;
}

.uploadLayer {
  position: fixed;
  top: 60px;
  left: 0px;
  display: inline-block;
  margin: 20px;
  width: calc(-40px + (100vw - 800px)/(2));
  min-height: 300px;
  height: max-content;
  max-height: calc(100vh - 100px);
  border: 1px solid #d8d8d8;
  background-color: white;
}

#dropzonewidget {
  position: absolute;
  top: 0px;
  left: 0px;
  background: white;
  display: contents;
  min-height: 300px;
  min-width: calc(-40px + (100vw - 800px)/(2));
}

.shareAlbum {
  height: 134px;
  width: calc(-45px + (100vw - 800px)/(2));;
  margin: 20px;
  position: fixed;
  top: 60px;
  background-color: white;
  border: 1px solid #d8d8d8;
  padding: 8px;
  right: 20px;
}

.tOverlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0));
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: .5s ease;
  padding-top: 0px;
}

.tOverlay p {
  padding: -20px;
  text-align: center;
  color: white;
  line-height: 20px;
  vertical-align: middle;
}

.bottomOverlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.5));
  overflow: hidden;
  width: 100%;
  height:0;
  transition: .5s ease;
}

.bottomOverlay p {
  padding: 6px;
  text-align: center;
  color: white;
  line-height: 30px;
  vertical-align: middle;
}

div.photo:hover .bottomOverlay {
  height: 40px;
}

div.photo:hover .tOverlay {
  height: 40px;
  padding-top: 10px;
}

div.album:hover .bottomOverlay {
  height: 40px;
}

div.album:hover .tOverlay {
  height: 40px;
  padding-top: 10px;
}

.tiles {
  background: transparent;
  border: 0px;
  width: 280px;
  margin: 4% auto 0 auto;
  transform-style: preserve-3d;
  position: relative;
  top: -20px;
}

.tiles::after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.tiles div {
  float: left;
/*  background: linear-gradient(to bottom right, red, yellow); */
  background: linear-gradient(to bottom right, rgb(50,50,50), #337ab7);
  width: 28px;
  height: 28px;
  box-shadow: 0px 00px 10px #000 inset;
}

.favoriteDownload {
  z-index: 501;
  color: white;
}

.favoriteDownload svg {
  -webkit-transform: scale(1);
  transform: scale(1);
/*  -webkit-transition: all .2s;
  transition: all .2s;*/
  cursor: pointer;
  opacity: 1;
  stroke: white;
}

.favoriteDownload svg:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  stroke: #6b9bd2;
  opacity: 1;
}

.favorite {
  z-index: 501;
  color: white;
}

.favoriteSelected {
  z-index: 501;
}

.favorite svg {
  -webkit-transform: scale(1);
  transform: scale(1);
/*  -webkit-transition: all .2s;
  transition: all .2s;*/
  cursor: pointer;
  opacity: 1;
  stroke: white;
}

.favorite svg:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  stroke: #6b9bd2;
  opacity: 1;
}

.favorite svg:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  fill: #6b9bd2;
  opacity: 1;
}

.favoriteSelected svg {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  fill: #6b9bd2;
  opacity: 1;
}


.favoriteDownloadOverlay {
  position: absolute; 
  bottom: 0px; 
  width: 100%; 
  height: 40px; 
  background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,1));
  display: none;
}

.photoset:last-child {
  border-bottom: 10px solid #d8d8d8;
}
