// 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 .event-name {
  font-size: 1.8em;
  font-weight: bold;
  flex: 1;
}

.ot-show-event .go-back {
  color: $content-a-color;
  font-weight: bold;
  padding: 0.5em 0.7em;
  border: solid 2px $content-a-color;
  border-radius: 6px;
  margin: auto;
}

.ot-show-event .go-back:hover {
  background-color: #d8edf3;
  text-decoration: none;
}

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

.ot-show-event .event-content .event-poster {
  flex: 1;
}

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

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

.ot-show-event .event-description {
  margin-bottom: 1em;
  padding: 1em 0.5em;
}

.ot-show-event .event-infos {
  border: none;
  width: 94%;
  margin: 0 3%;
  padding-top: 1em;
}

.ot-show-event .event-infos tr {
  background-color: #ffdd99;
}

.ot-show-event .event-infos tr:nth-child(odd) {
  background-color: #ffd480;
}

.ot-show-event .event-content .event-infos td {
  padding: 0.8em 1.6em;
}

.ot-show-event .event-content .event-infos tr td:first-child {
  font-weight: bold;
  color: #2E2D2D;
}

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