.submissionFrame {
  border-top: solid 1px grey;
  border-bottom: solid 1px grey;
  margin: 15px 0;
  padding: 15px 0;
}

.submissionFrame hr {
  margin: 48px 0 12px 0;
}

.shout {
  font-weight: bold;
  font-size: 1.2em;
}

.editFormField {
  border-spacing: 10px;
  margin-bottom: 40px;
}

.editFormValue {
  position: relative;
}

.editFormValue p {
  margin-top: 40px;
}

.editFormValue input[type='file'] {
  position: absolute;
  left: 0px;
  bottom: -40px;
}

.imageDisplayArea {
  width: 294px;
  height: 194px;
  position: absolute;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  top: -1px;
  left: -1px;
  border: solid 1px grey;
}

.editFormValue.empty .imageDisplayArea {
  background-color: ivory;
}

.editFormValue.empty .dropZone {
  border: 2px dashed #ccc;
}

.editFormValue.empty .dropZone p {
  display: unset;
}

div.submissionRow img.closeButton {
  z-index: 2;
  position: absolute;
  width: 20px;
  left: 598px;
  top: -10px;
  cursor: pointer;
  display: inherit;
}

.editFormValue.empty img.closeButton {
  display: none;
}

div.submissionRow .dropZone p {
  display: none;
  margin-top: 60px;
  position: absolute;
  left: 0;
  text-align: center;
  width: 100%;
  color: silver;
}

div.submissionRow .dropZone {
  border: 2px solid transparent;
  text-align: center;
  padding: 20px;
  cursor: pointer;
  height: 150px;
  width: 250px;
  z-index: 1;
  position: relative;
}

.dropZone:hover {
  background: rgba(160,198,232,.4);
  border: 2px dashed #ccc;
}

.dropZone.dragOver {
  background: rgb(160,198,232);
}

.dropZone p {
  margin: 0;
}

h4.fastestEscapeTitle {
  margin: 10px 0;
}

div.submissionRow {
  position: relative;
}

div.submissionRow.fastestEscape {
  display: table-row;
}

div.submissionRow.bestAnecdote {
  height: 230px;
}

div.fastestEscapeDetails {
  display: table-cell;
  vertical-align: top;
  width: 50%;
}

div.fastestEscapePhoto {
  display: table-cell;
  width: 350px;
  height: 200px;
  margin-top: 20px;
}

div.timeTakenFrame {
  width: 100px;
  display: inline-block;
}

div.bestAnecdoteDetail {
  height: 30px;
  border-spacing: 0px 10px;
  margin: 0 10px;
}

div.bestAnecdoteDetail {
  height: 200px;
  border-spacing: 0px 10px;
  margin: 0 10px;
}

div.fastestEscapeDetailLabel {
  display: table-cell;
  width: 110px;
}

div.fastestEscapeDetailValue {
  display: table-cell;
}

div.bestAnecdoteDetailValue {
  width: 596px;
  border: solid 1px grey;
}

input.timeTaken {
  width: 150px;
  padding: 4px;
  margin: 0;
}

input.timeTaken.mins, input.timeTaken.secs, input.timeTaken.total {
  width: 30px;
}

div.saveButtonFrame {
  position: absolute;
  right: 50px;
  bottom: -30px;
}

div.saveButtonFrame input {
  width: 100px;
}

div.submittedByFrame {
  margin-top: 25px;
}

input[type='button']:not([disabled]) {
  cursor: pointer;
}

div.confirmationFrame {
  display: none;
  position: absolute;
  left: 5px;
  top: 33px;
}

@media (min-width: 640px) {
  div.submissionRow.bestPhoto .imageDisplayArea {
    width: 544px;
    height: 344px;
  }

  div.submissionRow.bestPhoto img.closeButton {
    left: 545px;
    top: 0;
  }

  div.submissionRow.bestPhoto .dropZone p {
    margin-top: 135px;
    font-size: 2em;
  }

  div.submissionRow.bestPhoto .dropZone {
    height: 300px;
    width: 500px;
  }

  div.submissionRow.bestPhoto div.confirmationFrame {
    display: none;
    position: absolute;
    left: 12px;
    top: 22px;
  }
}

@media (max-width: 640px) {
  div.submissionRow .imageDisplayArea {
    width: 272px;
    height: 172px;
  }

  div.submissionRow .dropZone {
    height: 128px;
    width: 228px;
  }

  div.submissionRow img.closeButton {
    left: 267px;
    top: 0;
  }

  div.submissionRow .dropZone p {
    margin-top: 60px;
    font-size: 1em;
  }

  div.submissionRow.fastestEscape {
    display: flex;
    flex-direction: column;
  }

  div.submissionRow.fastestEscape img.closeButton {
    left: 280px;
    top: -20px;
  }

  div.submissionRow.bestAnecdote img.closeButton {
    left: 95%;
    top: -20px;
  }

  div.fastestEscapePhoto {
    order: 1;
    width: 100%;
    margin-bottom: 20px;
  }

  div.fastestEscapeDetails {
    order: 0;
    width: 100%;
  }

  div.bestAnecdoteDetailValue {
    width: 95%;
    border: solid 1px grey;
  }
}
