/********************************************
******* Tradeshow Calendar Container ********
*********************************************/

.tradeshow-calendar-container {
  max-width: 1260px;
  padding: 15px;
  box-sizing: border-box;
  overflow: auto;
  margin: 0 auto;
}

.tradeshow-calendar-container h2 {
  margin: 0 auto 1em auto;
  text-transform: uppercase;
  text-align: center;
  font-size: 46px;
  line-height: 1.25em;
}

.tradeshow-calendar-container h2 span {
  color: #d9333b;
}

.tradeshow-calendar-wrapper {
  display: flex;
}

.tradeshow-calendar-navigation {
  display: block;
  min-width: 300px;
  margin-right: 30px;
}

.tradeshow-calendar-list-events {
  display: block;
}

/********************************************
****** Tradeshow Calendar Search Block ******
*********************************************/

.tradeshow-calendar-search-text {
  margin: 0 auto 50px auto;
  width: 70%;
  display: flex;
  align-items: center;
}

.tradeshow-calendar-search p {
  text-align: center;
}

.tradeshow-calendar-search-text input {
  line-height: 50px;
  height: 50px;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  text-indent: 10px;
  border: 1px solid #cccccc;
  min-width: 50%;
  width: calc(100% - 240px);
  font-size: 16px;
}

.tradeshow-calendar-search-text button[type="button"] {
  background: #000000;
  border: 1px solid #000000;
  color: #ffffff;
  line-height: 52px;
  height: 52px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  width: 100px;
  margin-right: 20px;
  font-size: 16px;
}

.tradeshow-calendar-search-text .reset {
  background: #e13437;
  border: 1px solid #e13437;
  color: #ffffff;
  border-radius: 25px;
  width: 80px;
  text-align: center;
  display: inline-table;
  text-decoration: none;
  font-size: 12px;
  height: 52px;
  font-weight: bold;
  line-height: 52px;
}

.tradeshow-calendar-search-results {
  margin: 0 auto;
  width: 70%;
  padding: 5px 0 0 20px;
  font-size: 13px;
  font-weight: bold;
}

/********************************************
******** Tradeshow Calendar Filters *********
*********************************************/

.tradeshow-calendar-select-container {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.75);
  margin-bottom: 30px;
}

.tradeshow-calendar-select {
  display: block;
  background: #ffffff;
  padding: 10px;
}

.tradeshow-calendar-select:last-of-type {
  padding-bottom: 20px;
}

.tradeshow-calendar-select label {
  display: block;
  padding-bottom: 5px;
}

.tradeshow-calendar-select select {
  display: block;
  width: 100%;
  height: 30px;
  border-radius: 7px;
  padding: 5px;
}

.tradeshow-calendar-list {
  list-style: none;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.75);
}

.tradeshow-calendar-list li {
  border-bottom: 1px solid #c5c5c5;
}

.tradeshow-calendar-list li:last-of-type {
  border-bottom: none;
}

.tradeshow-calendar-list li a {
  padding: 0.5em 1em;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  background: #000000;
  color: #ffffff;
  min-height: 1.5em;
  line-height: 1.5em;
  display: flex;
  align-items: center;
  transition: background 0.2s linear;
}

.tradeshow-calendar-list li a:hover,
.tradeshow-calendar-list li a.active {
  background: #d9333b !important;
}

/********************************************
******* Tradeshow Calendar List Item ********
*********************************************/

.trade-show-calendar-item {
  width: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  position: relative;
  color: #000;
  box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.75);
  padding: 15px;
  margin: 0 0 30px 0;
  border-radius: 10px;
  background: #ffffff;
  box-sizing: border-box;
}

.trade-show-calendar-item h5 {
  line-height: 1.3;
  font-weight: 400;
  margin: 0 0 0.5em 0; 
}

.trade-show-calendar-item h5 span {
  font-weight: 600;
  color: #d9333b;
}

.trade-show-calendar-item em {
  display: flex;
  flex-direction: row;
  padding-bottom: 0.625em;
}

.trade-show-calendar-item em strong.date {
  font-weight: 600;
  font-style: italic;
  font-size: 12px;
  margin-left: auto;
}

.trade-show-calendar-item em span.venue {
  font-style: italic;
  font-size: 12px;
}

.trade-show-calendar-item p {
  font-size: 16px;
  margin-bottom: 0.5em;
}

.trade-show-calendar-item .highlight {
  border-bottom: 2px dotted red;
}

/* pagination */
#pagination {
  padding: 40px 0 40px 0;
  text-align: center;
}

#pagination a {
  padding: 5px 7px;
  margin: 0 2px 10px 0;
  border: 1px solid #111111;
  text-decoration: none;
  color: #111111;
  display: inline-block;
}

#pagination a.active {
  font-weight: bold;
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

#pagination span {
  padding: 5px 10px;
  margin: 0 2px;
}
