body {
  font-family: sans-serif;
}

.photobox {
  display: inline-block;
  position: relative;
  width: 100px;
  height: 100px;
  /*-moz-box-shadow: gray 10px 10px 10px;*/
  margin: 10px;
  overflow: hidden;
  border: 3px solid #CCCCCC;
}

#photobox-add {
  border: 2px groove white;
  -moz-border-radius: 5px;
  background-color: #EEE;
  text-align: center;
  cursor: pointer;
}

.photobox:hover {
  /*-moz-box-shadow: black 10px 10px 10px;*/
  border-color: black;
}

.photobox > * {
  position: absolute;
}

.photobox > img {
  position: absolute;
  margin: auto;
  top: 0; bottom: 0;
  left: 0; right: 0;
  max-width: 100px;
  max-height: 100px;
}

.photobox > .addimg {
  width: 50%;
  margin: auto;
  position: static;
  margin-top: 20px;
}

.photobox > .addtxt {
  font-size: 10pt;
  color: black;
  position: static;
}

.photobox > .filename {
  font-size: 14px;
  color: #333;
  left: 5px;
  bottom: 5px;
  white-space: pre;
}

.photobox > .remove {
  width: 15px;
  height: 15px;
  display: none;
  right: 0;
  bottom: 0;
  background-color: black;
  -moz-border-radius: 5px;
  cursor: pointer;
  color: white;
  font-weight: bold;
  font-size: 120%;
  padding: 5px;
  opacity: 0.6;
  transparent: true;
  padding: 0 0 4px 4px;
}

.photobox:hover > .remove {
  display: block;
}

#photobox-template {
  display: none;
}

#dragpanel {
  width: 200px;
  text-align: center;
  margin: auto;
  background-color: #ffffff;
}

#dragpanel > div > div {
  border: 4px dashed #BBBBBB;
  -moz-border-radius: 1.5em;
  padding: 1.5em 3em;
  text-align: center;
  margin-top: 5em;
  cursor: pointer;
}

#dragpanel > div > div > div {
  font-size: large;
  color: #BBBBBB;
  width: 6em;
  margin-top: 1em;
  margin-left: auto;
  margin-right: auto;
}
