html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  padding-top: 56px;
  font-family: Inter, Open Sans, sans-serif;
}
body.light-theme {
  background-color: #F9F9F9;
  color: #333333;
}
body.dark-theme {
  background-color: #000000;
  color: #F9F9F9;
}

a:hover, a:active {
  color: #0A8CBC;
}
.navbar {
  background-color: white;
}
.navbar.partner-nav-dark {
  background-color: #222222;
}
.navbar .btn {
  border-radius: 100px;
  -webkit-border-radius: 100px;
}
main {
  padding-top: 2rem;
  min-height: 80vh;
}
#featured-event-details {
  padding: 26px 15px 26px 30px;
  background-color: transparent !important;
  color: white;
  align-self: flex-end;
}
#featured-event-details .date {
  font-weight: 700;
}
#featured-event-details .weekday {
  font-size: 1.1rem;
}
#featured-event-details .location {
  font-size: 1rem;
}
#featured-event-details .time i, #featured-event-details .location i {
  position: relative;
  top: 6px;
  padding-right: 0.4rem;
}
.jumbotron {
  position: relative;
  min-height: 320px;
  box-shadow: 0 .2rem .3rem rgba(0,0,0,.25);
  border-radius: 10px;
}
.jumbotron.single {
  margin-bottom: 2rem;
}
.dark-theme .jumbotron {
  background-color: #000000;
}
#featured-event-details h1 {
  font-size: 26px;
  font-weight: 700;
}
#featured-event-details .btn {
  background-color: transparent !important;
  color: white;
  border-radius: 100px;
  -webkit-border-radius: 100px;
  margin-top: 1rem;
  border: 1px solid white;
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  z-index: 200;
  padding: 0.4rem 1.5rem;
}
#featured-event-details .btn:hover {
  background-color: white !important;
  color: #0A8CBC;
}
.dark-theme #featured-event-details .btn:hover {
  background-color: #0A8CBC;
  color:black;

}
#featured-event-image {
  background-size: cover;
  min-height: 220px;
  display: flex;
  padding: 0;
  border-radius: 10px;
  background-position: center;
}
#event-list {
  border-radius: 10px;
  margin: 0px -15px 4rem -15px;
  box-shadow: 0 0.1rem 0.3rem rgb(0 0 0 / 15%);
  background-color: white;
  border: 1px solid #eee;
}
.dark-theme #event-list {
  background-color: #202020;
  border: 1px solid #202020;

}
#event-list .event {
  display: flex;
  flex-direction: row;
  padding: 1rem 1.5rem;
}
.light-theme #event-list .event:not(:last-child) {
  border-bottom: 1px solid #D8E0E5;
}
.dark-theme #event-list .event:not(:last-child) {
  border-bottom: 1px solid #484848;
}
#event-list .list-title,
#filter-nav-mobile .list-title {
  font-weight: 900;
  font-size: 14pt;
  border-bottom: none;
}
#event-list .event .event-info {
  padding: 0 1rem 0 2rem;
  flex: 0.9 0 30%;
}
#event-list .event .details .date, #event-list .event .details .name {
  display: inline-block;
  max-width: 70%;
}
#event-list .event .event-info .toggle-summary-btn {
  text-decoration: none;
  font-size: 0.8rem;
  color: #0A8CBC;
}
#event-list .event .details .event-info a.toggle-summary-btn .fewer-text {
  display: none;
}
#event-list .event .summary {
  display: none;
  font-size: 12px;
  overflow: hidden;
}
#event-list .event .summary p,
#event-list .event .summary a,
#event-list .event .summary span,
#event-list .event .summary div,
#event-list .event .summary td,
#event-list .event .summary th,
#event-list .event .summary li {
  font-family: Inter, Open Sans, sans-serif !important;
}
#event-list .event .summary div {
  margin-left: 0 !important;
  text-indent: 0 !important;
}
#filter-nav-mobile {
  display: none;
}
#filter-nav {
  padding-bottom: 2rem;
  margin-left: -30px;
  margin-right: -30px;
}
.filter-nav-item-title {
  font-size: 12px;
  padding-bottom: 2px;
}
#event-list .event .date-box {
  font-size: 1.7rem;
  float: left;
  background-color: #232A30;
  margin-right: 0.5rem;
  height: 100%;
  color: white;
  font-weight: 700;
  min-width: 60px;
  text-align: center;
  width: 10%;
  max-height: 100px;
}
#event-list .event .thumbnail {
  height: 125px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  min-width: 125px;
  border-radius: 10px;
  box-shadow: 0 0.1rem 0.3rem rgb(0 0 0 / 15%);
  background-color: white;
}
#event-list .event .thumbnail a {
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 400;
}
#event-list .event .date-box .month, #event-list .event .date-box .day {
  padding: 8px 10px;
}
#event-list .event .date-box .month {
  background-color: #0A8CBC;
  font-size: 1rem;
  font-weight: 600;
}
#event-list .event .name {
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: #333;
}
.dark-theme #event-list .event .name {
  color: #EEEEEE;
}
#event-list .event .date {
  font-size: 0.9rem;
  font-weight: 400;
  color: #232A30;
}
.dark-theme #event-list .event .date {
  color: #c5c5c5;
}
#event-list .date-short  {
  display: none;
}
#event-list .event .location {
  font-size: 0.8rem;
  color: #232A30;
}
.dark-theme #event-list .event .location {
  color: #c5c5c5;
}
#event-list .event .btn {
  padding: 0.4rem 1.5rem;
  color:#0A8CBC;
  border-radius: 100px;
  -webkit-border-radius: 100px;
  border: 1px solid #0A8CBC;
}
#event-list .event .btn:hover, #event-list .event .btn:active {
  background-color: #0A8CBC;
  color: white;
}
.dark-theme #event-list .event .btn:hover, .dark-theme #event-list .event .btn:active {
  background-color: #0A8CBC;
  color: black;
}
.event-info-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  width: 90%
}
.event-info-container .event-cta-button {
  padding: 0 1rem;
}
.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }

.event-info .notice{
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}
.event-info .notice .material-icons {
font-size: 1.3rem;
}
#nav-search button, #mobile-nav-search button {
  border: none !important;
  background-color: #0A8CBC;
  color: white;
  font-size: 12px;
}
#nav-search button i, #mobile-nav-search button i {
  position: relative;
  top: 3px;
  left: 1px;
  font-size: 15px;
}
#nav-search button:active, #mobile-nav-search button:active {
  background-color: #065B7B;
  border: none;
}
#partner-logo-lrg {
  text-align: center;
  margin: 0.2rem auto 2rem;
  padding-bottom: 1rem;
}
#partner-logo-lrg img {
  max-width: 40%;
  max-height: 200px;
}
#filters {
  padding: 1rem 1.5rem;
}
#filters .header {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}
#filters .filter {
  background-color: white;
  color: #232A30;
  padding: 0.5rem 2.4rem 0.5rem 1rem;
  margin: 0 1rem 0 0;
  display: inline-flex;
  border-radius: 8px;
  position: relative;
  font-size: 0.8rem;
  border: 1px #CECECE solid;
}
#filters .filter a {
  color:#232A30;
  font-size: 0.8rem;
  position: absolute;
  right: 9px;
}
#filters .filter a i {
  font-size: 20px;
}
#no-events {
  margin: 3rem auto 6rem;
  text-align: center;
  font-size: 1.5rem;
}
#no-events .graphic {
  margin: 1rem 0;
  font-size: 6rem;
}
.featured-event-details-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
}
#featured-events-buttons {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 100;
  text-align: right;
  height: 2rem;
  padding-top: 10px;
}
#featured-events-buttons a i {
  padding: 0.35rem 0.4rem;
  font-size: 15px;
}
#featured-events-buttons a:link, #featured-events-buttons a:visited {
  color: white;
}
#featured-events-buttons a:hover, #featured-events-buttons a:active {
  color: #0A8CBC;
}
.input-filter {
  width: 100% !important;
  border-radius: 5px !important;
  font-size: 12px;
  border: 2px solid #eee;
  padding: 0.3rem 0.7rem;
  background-color: white;
  -webkit-appearance:none;
}
#daterange {
  background-color: white;
  color: black;
  cursor: pointer;
  width: 100%;
  border-radius: 5px !important;
  -webkit-border-radius: 100px;
  padding: 0.3rem 0.7rem;
  caret-color: transparent;
  font-size: 12px;
}
#daterange .material-icons {
  position: relative;
  top: 0.3rem;
}
#footer {
  padding: 3rem;
  color: #333333;
  background-color: #CECECE;
  font-size: 0.8rem;
  text-align: center;
}
#footer.partner-nav-dark {
  color: #F9F9F9;
  background-color: #222222;
}
#footer a {
  color: #333333;
}
#footer.partner-nav-dark a {
  color: #c5c5c5;
}
#footer a:hover{
  color: #0A8CBC;
  text-decoration: none;
}
#help_content {
	text-align: center;
}
.daterangepicker {
  color: black;
}
.hidden {
	display:none !important;
}

@media all and (max-width:1092px) {
  #featured-event-details {
    line-height: 1.3;
    padding: 20px 22px 20px 22px;
  }
  #featured-event-details h1 {
    font-size: 22px;
  }
  #featured-event-details .weekday .lead {
    font-size: 1.10rem;
  }
  #featured-event-details .location .lead {
    font-size: 1rem;
  }
  #featured-event-details .btn {
    font-size: 1.1rem;
  }
  #partner-logo-lrg {
    padding-top: 2rem;
  }
}
@media all and (max-width:844px) {
  #event-list .event .details .event-info {
    width: 100%;
  }
}

@media all and (max-width:767px) {

  .jumbotron {
    margin-bottom: 1rem;
  }
  #partner-logo-lrg {
    margin: 0;
    padding-top: 0;
  }
  #partner-logo-lrg img {
    display: none;
  }
  #filters {
    padding: 1rem 0.75rem;
  }
  #filter-nav-mobile {
    display: flex;
    justify-content: space-between;
    padding: 5px 15px 0;
  }
  #filter-nav-mobile #toggle-filters:link {
    color: #0A8CBC;
    font-size: 0.9rem;
  }
  #filter-nav-mobile #toggle-filters:hover {
    text-decoration: none;
  }
  #filter-nav {
    display: flex;
    flex-direction: column;
    display: none;
    padding: 0.5rem 0;
    margin-left: -15px;
    margin-right: -15px;
  }
  #filter-nav > div {
    padding-bottom: 0.5rem;
  }
  #event-list {
    background-color: inherit;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }
  .dark-theme #event-list {
    background-color: #000000;
    border:none;
  }
  #event-list .event {
    border-bottom: none;
    margin: 0.75rem 0.75rem;
    border-radius: 10px;
    box-shadow: 0 0.1rem 0.3rem rgb(0 0 0 / 10%);
    padding: 0;
    min-height: 9rem;
    height: auto;
    background-color: white;
  }
   .dark-theme #event-list .event {
    background-color: #202020;
  }
  .dark-theme #event-list .event:not(:last-child),
  .light-theme #event-list .event:not(:last-child) {
    border: none;
  }
  #event-list .event .event-info-container {
    flex-direction: column;
    align-items: baseline;
    padding: 10px 0;
  }
  #event-list .list-title {
    display: none;
  }
  #event-list .event .thumbnail {
    height: auto;
    border: 0;
    border-radius: 10px 0 0 10px;
    box-shadow: none;
  }
  #event-list .event .event-info {
    flex: 0;
  }
  #event-list .event .event-info,
  .event-info-container .event-cta-button {
    margin-bottom: 0.8rem;
  }
  #event-list .event .name {
    font-size: 1rem;
  }
  #event-list .event .date {
    font-size: 0.8rem;
  }
  #event-list .date-long {
   display: none;
  }
  #event-list .date-short {
    display: block;
  }
  .event-info-container .event-cta-button {
    padding: 0 2rem;
  }
  .event-info-container .event-cta-button .btn {
    font-size: 0.8rem;
    padding: 0.3rem 1.2rem;
  }
  .event-info .notice {
    font-size: 0.7rem;
    display: flex;
    align-items: center;
  }
  .event-info .notice .material-icons {
  font-size: 1rem;
  }
  .event-info .summary, .event-info .toggle-summary-btn {
    display: none !important;
    }
}
@media all and (max-width:634px) {
  main.container {
    padding-top: 0;
  }
  #event-list .event .details .event-info .date, #event-list .event .details .event-info .name {
    max-width: 100%;
  }
  #event-list .event .details .btn {
    right: 15px;
  }
}

@media all and (max-width:578px) {

  #featured-event-image {
    border-radius: 0;
  }
  #featured-event-details .lead {
    font-size: 0.9rem;
  }
  #featured-event-details .btn {
    font-size: 1rem;
  }
  #event-list .event .details .event-info {
    padding-left: 1.2rem;
    padding-right: 100px;
  }
  #event-list .event {
    margin: 0.5rem 0.75rem;
    background-color: white;
  }
  .dark-theme #event-list .event {
    background-color: #202020;
  }
  #event-list .list-title {
    background-color: inherit;
    min-height: 50px;
  }
  #event-list .event .event-info, .event-info-container .event-cta-button {
    padding: 0 1rem;
  }
  #event-list .event .thumbnail {
    min-width: 100px;;
  }
  #event-list .event .name {
    font-size: 0.9rem;
  }
  #event-list .event .date, #event-list .event .location {
    font-size: 0.7rem;
  }
}
