// All events page from ot_widget

.ot-all-events {
  @include flex;
  flex-direction: row;
}

.ot-all-events .events-controls {
  order: 1;
  flex: 1;
}

.ot-all-events .events-results {
  order: 0;
  flex: 1;
}

.ot-all-events .events-controls, .events-results {
  @include flex;
  flex-direction: column;
  margin: 0 1.5em;
}

.ot-all-events .event-search {
  @include flex;
  flex-direction: column;
  margin-bottom: 2em;
}

.ot-all-events h3 {
  font-size: 1.2em;
  font-weight: bold;
}

.ot-all-events .event-search form {
  @include flex;
  flex-direction: column;
}

.ot-all-events .event-search form input, button {
  margin-bottom: 1em;
  line-height: 1.4em;
  font-size: 1.1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 6px 12px;
}

.ot-all-events .event-search form button {
  border: solid 2px $content-a-color;
  color: $content-a-color;
}

.ot-all-events .event-search form button:hover {
  background-color: #d8edf3;
  cursor: pointer;
}

.ot-all-events #event-map {
  height: 400px;
  width: 100%;
  align-self: flex-end;
}

.ot-all-events .event {
  @include flex;
  flex-direction: column;
  border-bottom: solid 2px $otbox-header-background-color;
  border-radius: 4px;
  min-height: 200px;
  padding: 1em;
  justify-content: space-around;
}

.ot-all-events .event-preview {
  @include flex;
  flex-direction: row;
  align-items: center;
}

.ot-all-events .event-preview .event-poster {
  flex: 1;
  @include flex;
  flex-direction: column;
  align-items: center;
}

.ot-all-events .event-preview .event-poster img {
  width: auto;
  max-width: 100%;
  min-width: 40%;
  height: auto;
  margin-right: 4em;
}

.ot-all-events .event-preview .event-summary {
  flex: 2;
  @include flex;
  flex-direction: column;
}

.ot-all-events .event-preview .event-summary > span {
  margin-bottom: 0.5em;
}

.ot-all-events .event-preview .event-name {
  font-size: 1.4em;
  color: #333333;
  font-weight: bold;
}

.ot-all-events .event-preview .event-loc-date {
  font-size: 1.1em;
  color: #4d4d4d;
  font-weight: bold;
}

.ot-all-events .event-preview .event-description {
  color: #4d4d4d;
}

.ot-all-events .event-see {
  align-self: stretch;
  padding: 0.4em 0.8em;
  font-size: 1.1em;
  margin-top: 0.4em;
  @include flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.ot-all-events .event-see:hover {
  text-decoration: none;
  font-weight: bold;
}
