@import url(https://fonts.googleapis.com/css?family=Bitter:400,400italic,700);

* {
  font-family: 'Bitter', serif;
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  background: url("/background.jpg") #2A2A2A;
  color: #a3a3a5;
}

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

#container {
  width: 960px;
  margin: 0px auto;
  position: relative;
}

#header {
  margin: 20px auto;
}

#header h1 a {
  width: 204px;
  height: 204px;
  background: url("/logo.png");
  line-height: 1300px;
  overflow: hidden;
  margin: 0px auto;
  display: block;
}

#header h2 {
  position: absolute;
  top: 90px;
  left: 620px;
  font-style: italic;
  font-size: 18px;
  text-transform: lowercase;
  color: white;
  width: 300px;
}

#header ul {
  list-style: none;
  position: absolute;
  top: 90px;
  right: 620px;
  text-align: right;
  font-size: 18px;
  font-weight: bold;
  color: #a3a3a5;
}
#header li {
  display: inline;
}
#header li:after {
  content: '  | ';
}
#header li:last-child:after {
  content: '';
}
#header li a {
  color: #a3a3a5;
}
#header li a:hover {
  color: #d3d3d5;
}
#footer {
  padding: 30px;
  font-size: 10px;
  clear:both;
  text-align: center;
  color: #666;
  font-style: italic;
  
}
#footer a {
  color: #aaa;
}

#mininav {
  color: #555;
  font-size: 10px;
  margin-right: 10px;
  text-align: right;
}

#mininav a {
  color: #888;
}
#mininav a.selected {
  color: #ccc;
}
#gallery {
  margin-top: 0px;
  margin-bottom: 20px;
}
.galleryitem {
  box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.4);
  display: inline-block;
  margin: 10px 6px 9px 10px;
  position: relative;
  width: 300px;
  height: 162px;
}
.galleryitem a img {
  width: 300px;
  height: 162px;
  border: 0px;
}
.galleryitem .data {
  width: 300px;
  height: 162px;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAALUlEQVR4Xu3OQQEAMAgAoXP9O1ltMfxAAqbaDr2OCQgICAgICAgICAgICAgIfBnWAP8VfbGFAAAAAElFTkSuQmCC);
  /*
  background: black;
  opacity: 0.8;
  */
  position: absolute;
  top:0px;
  left: 0px;
  padding: 20px;
  display: block;
  opacity: 0.0;
  font-size: 25px;
  overflow: hidden;
  transition: 0.3s;
}
.galleryitem:hover .data {
  opacity: 1.0;
}
.galleryitem .data .name {
  color: #cf612c;
  font-weight: bold;
  display: block;
  line-height: 31px;
  margin-bottom: 2px;
}

#morelink {
  text-align: center;
  background: black;
  clear: both;
  margin: 20px 10px;
  height: 80px;
}

#morelink a {
  display: block;
  background: black;
  font-size: 25px;
  font-weight: bold;
  width: 100%;
  text-align: center;
  padding: 20px;
  height: 80px;
}
#morelink a:hover {
  background: #222;
}
#morelink img {
  margin: 35px 20px 20px;
}
#showcase {
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAI0lEQVR4Xu3MsQ0AAAiEQHTv3904g52BgvIKCId69wEQEBAYPwoAnaV1gk8AAAAASUVORK5CYII=);
  width: 960px;
}
#showcase #slider {
  position: relative;
  width: 960px;
  overflow: hidden;
  background: black;
  line-height: 0px;
}
#showcase #infobox {
  width: 900px;
  display: table;
  padding: 10px 30px;
}
#showcase #infobox #authors {
  display: table-cell;
  font-size: 20px;
  width: 330px;
  border-right: 1px solid #888;
  margin-right: 20px;
  vertical-align: top;
  padding-right: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 230px;  
}
#showcase #infobox #name {
  color: white;
  display: block;
  font-weight: bold;
}
#showcase #infobox #group {
  font-style: italic;
}
#showcase #infobox #download {
  display: block;
  font-weight: bold;
  margin-top: 20px;
}
#showcase #infobox #download a {
  background: 0px 8px no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAPCAYAAADQ4S5JAAAAmklEQVR4Xt3RsQrCMBSFYSuZfA/BoVPBzUkoCILv0PcQEfGF2ikdxEcodHfQQXBycohS4j8kUC5c7OyBbzjDGW6SNEU6EpmI7tDFYiDzEn2FOpYxBuWfBgYJZtCywC2Uq6F4TFEqg21wQh5vqHCElgfW8P0bdrDKIIOTR3tscBGDJe7aK30wxzv0Pc6/nvUZRhaHof/QxiPl4At9JBxsH53v+wAAAABJRU5ErkJggg==);
  color: #CF612C;
  padding-left: 20px;
}
#showcase #blurbs {
  display: table-cell;
  padding: 10px 30px;
  vertical-align: top;
}
#showcase #blurb {
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 14px;
  font-style: italic;
  text-align: justify;
}
#showcase #blurb b {
  font-style: normal;
}
#showcase #blurbauthor, #showcase #blurbauthor a {
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 10px;
  margin-top: 10px;
  text-align: right;
}

#slider #slidePrevious, #slider #slideNext {
  /*display: none;*/
  width: 64px;
  height: 64px;
  position: absolute;
  top: 240px;
  z-index: 20;
  opacity: 0.0;
  transition: 0.2s;
}
#slider:hover #slidePrevious, #slider:hover #slideNext {
  display: inline;
  opacity: 1.0;
}
#slidePrevious {
  left: 0px;
  background: url("arrow_previous_white.png");
}
#slideNext {
  right: 0px;
  background: url("arrow_next_white.png");
}

#links {
  display: table-cell;
  width: 100px;
  padding: 10px 0px;
  text-align: right;
}
#links ul {
  list-style: none;
}
#links li {
  display: inline;
}
#links li a {
  display: inline-block;
  width: 45px;
  height: 45px;
  overflow: hidden;
  line-height: 200px;
  background:url(icon_external.png) no-repeat;
}
#links li a.link_youtube { background:url(icon_youtube.png) no-repeat; }
#links li a.link_vimeo { background:url(icon_vimeo.png) no-repeat; }

#about {
    margin: 0 auto;
    width: 700px;
}

#about p {
    font-size: 24px;
    line-height: 150%;
    margin-top: 32px;
    text-align: justify;
}

a, .clickable {
  cursor: pointer;
  cursor: hand;
} 

#adminlink {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 16px;
  bottom: 32px;
  font-size: 24px;
  height: 32px;
  position: fixed;
  right: 32px;
  text-align: center;
  width: 32px;
  z-index: 20;
}
#adminlink a {
  color: #888;
}
#admin {
  font-size: 24px;
}

#admin .clickable {
  color: white;
  font-weight: bold;
} 

#admin input, #admin textarea {
  display: block;
  font-size: 32px;
  border: 1px solid #a3a3a5;
  background: #444;
  color: white;
  padding: 10px;
  margin: 20px 0px;
}
#admin input[type="submit"] {
  font-size: 16px;
  display: inline;
  padding: 3px;
}
#admin input[type="submit"]:disabled {
  color: #555;
}
#admin #addnew {
  font-size: 16px;
}
#admin #searchresults {
  padding: 30px;
}
#admin #edit {
  font-size: 16px;
}
#admin #editprods {
  padding: 30px;
}
#admin #editprods li {
  color: #A3A3A5;
  font-weight: normal;
}
#admin #editprods li span {
  color: white;
  font-weight: bold;
}
#admin #blurb {
  width: 940px;
  height: 320px;
  resize: vertical;
}
#admin #screenshotdrop {
  border: 1px dotted #a3a3a5;
  padding: 20px;
  width: 940px;
}
#admin #screenshotdrop .image {
  display: inline-block;
  position: relative;
  margin: 10px;
}
#admin #screenshotdrop .image img {
  width: 100px;
  height: auto;
}
#admin #screenshotdrop .image.uploading img {
  outline: 1px solid rgba(255,255,0,0.5);
}
#admin #screenshotdrop .image.uploading.finished img {
  outline: 1px solid rgba(0,255,0,0.5);
}

#admin #screenshotdrop .image .delete {
  display: none;
  position: absolute;
  top: 0px;
  right: 0px;
  background: red;
  color: white;
  padding: 3px;
  font-family: "Lucida Console", monospaced;
  font-size: 12px;
  margin: 5px;
}

#admin #screenshotdrop .image:hover .delete {
  display: block;
}

#admin #loader {
    padding: 50px;
    text-align: center;
}

#admin #menu {
    padding: 30px;
    text-align: center;
}

#admin #success {
    position: fixed;
    width: 600px;
    height: 50px;
    text-align: center;
    opacity: 0;
    top: 20vh;
    background: black;
    padding: 10px;
    margin: 0 auto;
    left: calc(50vw - 300px);
}

@media screen and (max-device-width: 1000px)
{
  #container {
    width: 100%;
  }
  #showcase, #showcase #slider, #showcase #infobox {
    width: 100%;
  }
  #showcase #infobox {
    padding: 10px;
  }
  #showcase #infobox #authors,
  #showcase #blurbs,
  #showcase #links {
    display: block;
    width: calc(100% - 20px);
  }
  #showcase #infobox #authors {
    border: 0px;
  }
  #showcase #blurbs {
    padding: 0px;
  }
  #showcase #slider img {
    max-width: 100%;
  }
  #morelink a {
    width: 100%;
  }
  #about {
    width: 100%;
    padding: 10px;
  }
}

@media screen and (max-device-width: 800px)
{
  #container {
    width: 100%;
  }
  #header h2, #header ul {
    position: static;
    text-align: center;
    width: auto;    
  }
}