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;
}

@media all and (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
  top: 4px;
}
.nav-scroller .nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.nav-underline .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}
.nav-underline .nav-link:hover {
  color: white;
  background-color: #343a40;
}
.nav-underline .active {
  font-weight: 500;
  color: #343a40;
}
.navbar .btn {
  border-radius: 100px;
  -webkit-border-radius: 100px;
}
.text-white-50 { color: rgba(255, 255, 255, .5); }

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;
}
.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;
}
#calendar-wrapper {
  padding-right: 0;
  padding-left: 2rem;
  margin-bottom: 2rem;
}
#calendar-wrapper .header, .filter-box-wrapper .header {
  background-color: #232A30;
  color: white;
  font-weight: 400;
  font-size: 0.9rem;
  padding: 0.4rem 0.1rem;
  text-align: center;
}
#calendar {
  height: 475px;
}
#calendar .fc-toolbar-title {
  font-size: 1rem;
}
#calendar .fc-button.fc-button-primary {
  background-color: white;
  background: transparent;
  border: none;
  color: white;
  font-size: 0.8rem;
}
#calendar .fc-col-header-cell .fc-col-header-cell-cushion {
  color: #232A30;
  text-align: center;
  font-size: 0.9rem;
}
#calendar .fc-daygrid-day:hover {
  color: white;
  background-color: #232A30;
  cursor: pointer;
}
#calendar .fc-daygrid-body .fc-scrollgrid-sync-table tr {
  height: 44px;
}
#calendar .fc-daygrid-day:hover a {
  color: white;
  text-decoration: none;
}
#calendar .fc-daygrid-day-number {
  color: #232A30;
  width: 100%;
  text-align: center;
  cursor: pointer;
}
#calendar .fc-header-toolbar {
  margin-bottom: 0;
  background-color: #5F6B75;
  color: white;
  text-transform: uppercase;
}
#calendar .fc-view-harness {
  background-color: #D9E0E6;
}
#calendar .fc-daygrid-day.fc-day-today {
  background-color: #0A8CBC;
  color: white;
}
#calendar .fc-daygrid-day.fc-day-today a {
  color: white;
}
.navbar .btn-outline-success {
  color: #0A8CBC;
  border-color: #0A8CBC;
}
.navbar .btn-outline-success:hover, .navbar .btn-outline-success:active {
  color: white;
  background-color: #0A8CBC;
}
#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;
}
.filter-box-wrapper {
  padding-left: 2rem;
}
.filter-box-content {
  background-color: #D9E0E6;
  padding: 1.5rem;
  color: white;
  margin-bottom: 2rem;
}
.filter-box-content .submit input  {
  background-color: #0A8CBC;
  color: white;
  border-radius: 10rem;
  -webkit-border-radius: 10rem;
  margin-bottom: 0.4rem;
  padding: 0.3rem 2rem;
  float: right;
  border:none;
  margin-top: 1rem;
}
#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;
}
#extra-rail {
  padding-right: 0;
}
#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;
}
#search-input, #mobile-search-input {
  /* margin-right: 0.5rem; */
  /* min-width: 200px; */
}
#typeTopicSelectNav, .menu-item {
  /* display: none;
  font-size: 0.875rem;
  color: #6c757d;
  border: none;
  padding: 0.8rem;
  margin: 0 auto; */
}
#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;
}
#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;
}
#search-bar-container{
  padding-left: 0;
}
#organization-container{
  padding-right: 0;
}
#mobile-filter-nav{
  display: flex;
  flex-direction: row;
}
#mobile-search-bar {
  display: none;
  background-color: #0A8CBC;
  border-bottom: 0;
}
#mobile-search-bar #mobile-search-input {
  border: none;
  width: 100%;
}
#help_content {
	text-align: center;
}
.daterangepicker{
  color: black;
}

@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;
  }
  #typeTopicNav .nav-link {
    display: none;
  }
  /* #typeTopicSelectNav, #partnerLinkSelectNav {
    display: inline;
    width: 90%;
    -webkit-appearance: none;
    background-color: white;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAJCAYAAAA/33wPAAAAvklEQVQoFY2QMQqEMBBFv7ERa/EMXkGw11K8QbDXzuN4BHv7QO6ifUgj7v4UAdlVM8Uwf+b9YZJISnlqrfEUZVlinucnBGKaJgghbiHOyLyFKIoCbdvecpyReYvo/Ma2bajrGtbaC58kCdZ1RZ7nl/4/4d5EsO/7nzl7IUtodBexMMagaRrs+06JLMvcNWmaOv2W/C/TMAyD58dxROgSmvxFFMdxoOs6lliWBXEcuzokXRbRoJRyvqqqQvye+QDMDz1D6yuj9wAAAABJRU5ErkJggg==);
    background-position : right center;
    background-repeat: no-repeat;
    padding-right: 1.5em;
  } */
  #typeTopicNav .input.select {
    width: 100%;
  }
  #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;
  }
  #filter-nav #search-bar-container, #filter-nav #organization-container{
    padding: 0 15px;
  }
  #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;
    height: 140px;
    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;
  }
  #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 .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;
    }
  #mobile-search-bar {
    display: block;
  }
  #extra-rail, .filter-box-wrapper, #calendar-wrapper {
    padding-left: 0;
  }
}
@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 {
    min-height: 10rem;
    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;
  }
}