@import url(event_finder.css);

h2.section-title {
  font-size: 3.5rem;
  text-transform: none;
}

h2.section-title:before,
h2.section-title .bracketed:after {
  content: none;
}

label[for="zip_input"] span {
  display: inline;
}

label[for="zip_input"] span + span {
  display: none;
}

#other-searches label {
  display: block;
  float: left;
}

#other-searches label[for="secondary"] {
  display: none;
  width: 262px;
}

#other-searches label[for="state-select"] {
  display: none;
  width: 400px;
}

#other-searches label[for="state-select"] .select2 {
  width: 400px;
}

.search-submit-container {
  clear: both;
}

.search-submit-container:before {
  content: " ";
  display: block;
  height: 24px;
}


#other-searches[data-search=participant] label[for="secondary"],
#other-searches[data-search=state] label[for="state-select"] {
  display: block;
}

#other-searches[data-search=state] label[for="primary"] {
  display: none;
}

#other-searches label[for="searchtype"] {
  margin-right:28px;
  width: 280px;
}

#other-searches label[for="primary"] {
  width: 554px;
}

#other-searches[data-search=participant] label[for="primary"] {
  margin-right: 28px;
  width: 262px;
}

#other-searches input,
#other-searches select {
  width: 100%;
}

.see-all {
  display: none;
}

.select2-container .select2-selection--single {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  height: 64px;
  user-select: none;
  -webkit-user-select: none;
}

.select2-container--classic .select2-selection--single .select2-selection__rendered {
  color: #702bb0;
  line-height: 64px;
}

.select2-container--classic .select2-selection--single .select2-selection__rendered {
  color: #702bb0;
  line-height: 28px;
}

.select2-container--classic .select2-selection--single .select2-selection__arrow {
  background-color: #fff;
  border-left: 1px solid #702bb0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #c5acdd transparent transparent transparent;
  border-width: 18px 9px 0 9px;
  margin-left: -9px;
  margin-top: -8px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  border: 1px solid #c5acdd;
  height: 26px;
  margin-top: -13px;
  position: absolute;
  right: 30px;
  top: 50%;
  width: 26px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #702bb0;
  line-height: 64px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  font-size: 2.2rem;
  font-weight: 600;
  padding-left: 30px;
}

.select2-container--default .select2-selection--single {
  border: 1px solid #702bb0;
  border-radius: 0px;
}

#other-searches input {
  border: 1px solid #702bb0;
  color: #702bb0;
  font-size: 2.2rem;
  font-weight: 600;
  height: 64px;
  line-height: 64px;
  outline: none;
  padding: 10px 20px;
  vertical-align: middle;
}

#other-searches input#primary::-ms-clear {
  display: none;
}

.select2-search__field {
  display: none;
}

#other-searches label {
  color: #595959;
  font-size: 2rem;
  font-weight: normal;
}

#search-results {
  margin-top: 126px;
}

a.view-more {
  border-top: 1px solid #702bb0;
  color: #702bb0;
  display: none;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 0.2rem;
  margin: 2px auto 38px auto;
  padding-top: 1.3rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  width: 33rem;
}

.more-to-view a.view-more {
  display: block;
}

a.view-more:hover {
  border-top: 1px solid #320050;
  color: #320050;
}

#search-form.error input {
  outline: 3px solid rgba(255,0,0,.25);
}

.event-info-row > div {
  margin-bottom: 3em;
}

.event-info-row > div:nth-child(4n) {
  border-right: 1px solid #b5babe;
}

#found-events .event-info a {
  display: block;
  opacity: 1;
  transition: transform 1s, opacity 1.2s;
  transform: scale(1,1);
}

#found-events .event-info.new a {
  opacity: .25;
  transform: scale(0,0);
}

.results {
  text-align: center;
}

.results .event-to-join {
  border-top: 1px solid #d4d4d4;
  color: #702bb0;
  display: block;
  font-size: 2rem;
  height: 84px;
  line-height: 74px;
  vertical-align: middle;
  width: 100%;
}

.results .event-to-join:hover {
  background: #f8f8f8;
}

.results .event-to-join.selected {
  background: #702bb0;
  color: white;
}

#returning-events {
  text-align: center;
}

#returning-events h1 {
  font-size: 6rem;
  font-weight: bold;
}

#returning-events #query p {
  font-size: 2.7rem;
  font-weight: 600;
  margin: 35px auto 12px auto;
  text-align: center;
  width: 570px;
}

#returning-events .btn {
  width: 532px;
}

.shaded {
  background: #f8f8f8;
  margin: 90px auto 100px auto;
  padding: 25px 0;
  text-align: center;
  width: 694px;
}

#main a.previous {
  color: #702bb0;
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
  position: relative;
  text-decoration: underline;
}

#prev-container {
  margin-bottom: 115px;
  text-align: center;
}

#main a.previous:before {
  border-bottom: 7px solid transparent;
  border-right: 16px solid #702bb0;
  border-top: 7px solid transparent;
  content: " ";
  display: block;
  height: 0;
  left: -22px;
  margin-top: -7px;
  position: absolute;
  top: 50%;
  width: 0;
}

#social_share {
  display: none;
}

.no-search-results span.no-search-results-msg {
  display: block;
}

span.no-search-results-msg {
  background-color: #fafbfb;
  border: 1.5px solid #702BB0;
  color: #702BB0;
  font-weight: 600;
  display: none;
  padding: 15px 0px 15px 0px;
  margin: -20px auto 10px auto;
  text-align: center;
  width: 50%;
}

/* media queries */
@media only screen and (max-width: 767px) {
  #page_content .section-title span.bracketed {
    font-size: 1em;
  }

  #other-searches .container {
    padding: 0;
    width: 274px;
  }

  #other-searches label[for="searchtype"] {
    margin-right: 0;
    width: 100%;
  }

  #other-searches .select2,
  #other-searches input,
  #other-searches a.btn {
    margin-bottom: 20px;
    width: 100%;
  }

  #other-searches a.btn {
    height: 5.3rem;
  }

  #other-searches label[for="primary"] {
    width: 100%;
  }

  #other-searches[data-search=participant] label[for="primary"] {
    margin-right: 0;
    width: 100%;
  }

  #other-searches label[for="secondary"] {
    width: 100%;
  }

  #other-searches label {
    float: none;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .event-info-row > div:nth-child(4) {
    border-right: none;
  }

  #returning-events h1 {
    font-size: 3rem;
    font-weight: bold;
  }

  #returning-events #query p {
    font-size: 1.8rem;
    margin: 35px auto 12px auto;
    width: 274px;
  }

  #returning-events .btn {
    width: 274px;
  }

  .shaded {
    background: white;
    margin: 20px auto;
    width: 100%;
  }

  .results .event-to-join {
    font-size: 1.8rem;
  }

  #other-searches label[for="state-select"] .select2 {
    max-width: 272px;
    width: 100%;
  }

  .event-info-row > div:nth-child(4n) {
    border-right: none;
  }

  #other-searches label[for="state-select"],
  .more-to-view a.view-more {
    width: 100%;
  }
}
