// Event's details page from ot_widget

.ot-show-event {
  @include flex;
  flex-direction: column;
}

.ot-show-event header {
  @include flex;
  flex-direction: row;
  padding: 0.5em;
  margin-bottom: 2em;
  align-items: center;
}

.ot-show-event header h2 {
  flex: 1;
}

.ot-show-event .go-back {
  color: $content-a-color;
  font-weight: bold;
}

.ot-show-event .go-back:hover {
  color: darken($content-a-color, 20%);
  text-decoration: none;
}

.ot-show-event .event-content {
  @include flex;
  flex-direction: row;
  margin-bottom: 2em;
  padding: 2em;
}

.ot-show-event .event-content .event-poster {
  flex: 1;
  max-width: 30%;
  margin-right: 5%;
}

.ot-show-event .event-poster img {
  width: auto;
  max-width: 100%;
  min-width: 40%;
  height: auto;
  margin: 1.4em;
}

.ot-show-event .event-summary {
  flex: 1;
  @include flex;
  flex-direction: column;
}

.ot-show-event .event-name {
  font-weight: 800;
}

.ot-show-event .event-dates {
  color: #4d4d4d;
  margin-top: 0.5em;
}

.ot-show-event .event-loc {
  color: #4d4d4d;
  margin-top: 0.5em;
  display: flex;
  flex-direction: row;
}

.ot-show-event .event-description {
  margin-top: 2em;
}

.ot-show-event .event-map-container {
  padding: 3.2em;
}

.ot-show-event #event-map {
  height: 400px;
  width: 100%;
  align-self: center;
}

@media (max-width: 600px) {
  .ot-show-event header {
    flex-direction: column;
    margin: 12px 0;
  }

  .ot-show-event .event-content {
    flex-direction: column;
  }

  .ot-show-event .event-content .event-poster {
    align-self: center;
    margin: 0 0 12px 0;
    max-width: none;
    width: 100%;
    display: flex;
    align-items: center;
  }
}

