html {
  overflow-y: scroll; }
  html .filter-opened body.search-results-page .site-header {
    margin-bottom: 100px; }
  html body.search-results-page {
    position: relative;
    padding-bottom: 100px;
    min-height: 100vh; }
    html body.search-results-page .site-header .navbar ul li.primary_li {
      margin-top: 0px; }
    html body.search-results-page .site-footer {
      position: absolute;
      bottom: 0; }
      html body.search-results-page .site-footer .footer-right-part .block:first-child {
        margin-top: -5px;
        margin-bottom: 10px; }
    html body.search-results-page .site-header {
      float: none;
      width: 100%;
      margin-bottom: 30px;
      -webkit-transition: 0.3s;
      -o-transition: 0.3s;
      transition: 0.3s; }
    html body.search-results-page #float-header {
      float: none;
      position: fixed;
      width: 100%;
      background: #1c1c1e;
      top: 0; }
      html body.search-results-page #float-header .filter_wrapper {
        padding-right: 740px; }
        html body.search-results-page #float-header .filter_wrapper .inner-wrapper {
          width: 740px; }
        html body.search-results-page #float-header .filter_wrapper #submit_filter_button_wrapper {
          display: none; }
      html body.search-results-page #float-header .main-menu-wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        padding: 1px 24px 0 30px;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between; }
        html body.search-results-page #float-header .main-menu-wrapper .site-logo {
          display: inline-block;
          margin-top: 12px; }
          html body.search-results-page #float-header .main-menu-wrapper .site-logo img {
            height: 30px; }
        html body.search-results-page #float-header .main-menu-wrapper .main-menu {
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -webkit-box-align: center;
          -ms-flex-align: center;
          align-items: center;
          margin-top: -3px; }
          html body.search-results-page #float-header .main-menu-wrapper .main-menu .mobile-search-icon-wrapper {
            margin-top: 3px; }
            html body.search-results-page #float-header .main-menu-wrapper .main-menu .mobile-search-icon-wrapper > div {
              display: inline-block; }
            html body.search-results-page #float-header .main-menu-wrapper .main-menu .mobile-search-icon-wrapper .mobile-search-icon {
              border-radius: 3px;
              border: 1px solid #ffa16f;
              padding: 0px;
              font-size: 20px;
              color: white;
              font-weight: 600;
              width: 33px;
              height: 33px;
              text-align: center;
              cursor: pointer; }
              html body.search-results-page #float-header .main-menu-wrapper .main-menu .mobile-search-icon-wrapper .mobile-search-icon .search-icon {
                margin-top: 5px; }
            html body.search-results-page #float-header .main-menu-wrapper .main-menu .mobile-search-icon-wrapper .search-close-button {
              border-radius: 3px;
              border: 1px solid #ffa16f;
              padding: 2px 0 0 0;
              font-size: 20px;
              color: white;
              font-weight: 600;
              width: 33px;
              height: 33px;
              text-align: center;
              cursor: pointer;
              display: none;
              line-height: 25px; }
            html body.search-results-page #float-header .main-menu-wrapper .main-menu .mobile-search-icon-wrapper .search-close-text {
              cursor: pointer;
              display: none; }
      html body.search-results-page #float-header .sticky-filter {
        position: static;
        height: 0;
        overflow: hidden;
        display: block;
        -webkit-transition: 0.3s;
        -o-transition: 0.3s;
        transition: 0.3s;
        -webkit-box-shadow: 0px 0px 20px #000;
        box-shadow: 0px 0px 20px #000;
        background: #494B52;
        visibility: visible;
        opacity: 1; }
      html body.search-results-page #float-header .expanded-search-bar .sticky-filter {
        display: block !important; }
    html body.search-results-page .carousel-section {
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center; }
      html body.search-results-page .carousel-section .events-carousel {
        display: block;
        width: 310px; }
        html body.search-results-page .carousel-section .events-carousel .owl-image {
          -o-object-fit: contain;
          object-fit: contain;
          height: 100%;
          width: 100%;
          max-width: 100%;
          max-height: 100%; }
  html.filter-opened body.search-results-page .site-header {
    margin-bottom: 150px; }
  html.filter-opened body.search-results-page .sticky-filter {
    height: 72px !important; }
  html.filter-opened body.search-results-page #float-header {
    float: none;
    position: fixed;
    width: 100%;
    background: #1c1c1e;
    top: 0; }
    html.filter-opened body.search-results-page #float-header .main-menu-wrapper .main-menu .mobile-search-icon-wrapper .mobile-search-icon {
      display: none; }
    html.filter-opened body.search-results-page #float-header .main-menu-wrapper .main-menu .mobile-search-icon-wrapper .search-close-button {
      display: block; }

#filtered_listing_links > button,
#historical_filtered_listing_links > button {
	margin: 0 5px 5px 0; }

#search_results {
  min-height: 55vh;
  margin-top: 50px; }
  #search_results #main_wrapper {
    min-height: 500px;
    margin-bottom: 235px; }
  #search_results #search_logo {
    margin-right: 10px;
    opacity: .2;
    margin-top: 7px; }
  #search_results #searched_text:not(:empty) {
    position: relative;
    overflow: hidden;
    padding: 0 7px; }
    #search_results #searched_text:not(:empty):before {
      content: "\f10d";
      position: absolute;
      left: -5px;
      top: 3px;
      font-family: "Font Awesome 5 Free", sans-serif;
      font-weight: 900;
      font-size: 10px; }
    #search_results #searched_text:not(:empty):after {
      content: "\f10e";
      position: absolute;
      right: -5px;
      top: 3px;
      font-family: "Font Awesome 5 Free", sans-serif;
      font-weight: 900;
      font-size: 10px; }
  	#search_results #tabs_wrapper {
    	padding: 0 10px; }
	#search_results .tabs_wrapper .page-content {
		line-height: 2;
		margin-top: 20px;
		font-size: 13px;
	}
	#search_results .tabs_wrapper .page-content h1,  #search_results .page-content h2, #search_results .page-content h3, #search_results .page-content h4, #search_results .page-content h5, #search_results .page-content h6 {
		margin-top: 1em;
	}
	#search_results .tabs_wrapper .page-content p {
		line-height: 2.2em;
	}
    #search_results #tabs_wrapper #backToHome {
      color: #0fd;
      font-size: 20px;
      margin-bottom: 10px;
      display: inline-block; }
      #search_results #tabs_wrapper #backToHome i {
        color: white;
        margin-right: 5px; }
    #search_results #tabs_wrapper .tab-count span:last-child {
      display: none; }
    #search_results #tabs_wrapper #results_info_wrapper {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center; }
      #search_results #tabs_wrapper #results_info_wrapper #results_info_label {
        color: #c5d5e7;
        min-width: 145px; }
        #search_results #tabs_wrapper #results_info_wrapper #results_info_label .search-loader {
          color: white;
          margin-left: 5px;
          opacity: 0; }
      #search_results #tabs_wrapper #results_info_wrapper #results_info_attributes {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: calc(100% - 190px); }
        #search_results #tabs_wrapper #results_info_wrapper #results_info_attributes #searched_text {
          font-size: 2vw;
          max-width: 100%;
          -o-text-overflow: ellipsis;
          text-overflow: ellipsis;
          white-space: nowrap;
          overflow: hidden; }
        #search_results #tabs_wrapper #results_info_wrapper #results_info_attributes #results_count {
          display: none; }
    #search_results #tabs_wrapper #tabs_box {
      padding: 0; }
    #search_results #tabs_wrapper #tabs_container {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      justify-content: space-between;
      -webkit-box-align: stretch;
      -ms-flex-align: stretch;
      align-items: stretch;
      width: 100%;
      margin-top: 30px;
      position: relative;
      background: rgba(60, 63, 70, 0.3);
      border-radius: 16px;
      padding: 6px;
      gap: 6px; }
      #search_results #tabs_wrapper #tabs_container:after {
        display: none; }
      #search_results #tabs_wrapper #tabs_container .tab-wrapper {
        text-align: center;
        cursor: pointer;
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        padding: 14px 16px;
        border-radius: 12px;
        background: transparent;
        border: none;
        color: #9ca3af;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px; }
        #search_results #tabs_wrapper #tabs_container .tab-wrapper:hover {
          background: rgba(255, 255, 255, 0.05);
          color: #e5e7eb; }
        #search_results #tabs_wrapper #tabs_container .tab-wrapper[data-type="this_week"] {
          min-width: 60px; }
        #search_results #tabs_wrapper #tabs_container .tab-wrapper:after {
          display: none; }
        #search_results #tabs_wrapper #tabs_container .tab-wrapper.active {
          background: linear-gradient(135deg, rgba(255, 175, 77, 0.15) 0%, rgba(255, 76, 103, 0.15) 100%);
          border: 1px solid rgba(255, 175, 77, 0.3);
          color: #fff; }
        #search_results #tabs_wrapper #tabs_container .tab-wrapper.active .tab-label {
          font-weight: 600;
          color: #fff; }
        #search_results #tabs_wrapper #tabs_container .tab-wrapper.active .tab-count {
          color: #ffaf4d; }
        #search_results #tabs_wrapper #tabs_container .tab-wrapper .tab-label {
          font-size: 14px;
          font-weight: 500;
          line-height: 1.3; }
        #search_results #tabs_wrapper #tabs_container .tab-wrapper .tab-count {
          font-size: 12px;
          color: #6b7280;
          font-weight: 600; }
  #search_results #loader_wrapper {
    width: 60%;
    margin: 20px auto 0 auto;
    opacity: 0; }

#results_wrapper{
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: table;}

#results_wrapper .carousel-section {
  height: 100%;
  transition: opacity 0.15s ease-in-out;}

/* Fix for event card stacking when switching views */
#results_wrapper .carousel-section .events-carousel {
  height: auto !important;
  min-height: 0;}

#results_wrapper .carousel-section .events-carousel .event-wrapper {
  display: block;}

#results_wrapper .carousel-section .events-carousel .event-box {
  display: flex;
  flex-direction: column;
  height: auto !important;}

#results_wrapper .carousel-section .events-carousel .event-box .tf-listing-img {
  flex-shrink: 0;
  height: 290px;}

#results_wrapper .carousel-section .events-carousel .event-box .tf-listing-info {
  flex: 1 1 auto;
  height: auto !important;}

#results_wrapper .empty-message {
  font-size: 18px;
  display: table-cell;
  vertical-align: middle;
  align-self: center;}

.horizontal_loader {
  width: 0;
  height: 3px;
  display: block;
  background: #ffaf4d;
  background: -webkit-gradient(linear, left top, right top, from(#ffaf4d), to(#ff4c67));
  background: -webkit-linear-gradient(left, #ffaf4d 0%, #ff4c67 100%);
  background: -o-linear-gradient(left, #ffaf4d 0%, #ff4c67 100%);
  background: linear-gradient(to right, #ffaf4d 0%, #ff4c67 100%);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  margin: 0 auto;
  -webkit-animation: horizontal_loader 2s infinite;
  animation: horizontal_loader 2s infinite; }

@-webkit-keyframes horizontal_loader {
  0% {
    width: 0; }
  50% {
    width: 100%; }
  100% {
    width: 0; } }

@keyframes horizontal_loader {
  0% {
    width: 0; }
  50% {
    width: 100%; }
  100% {
    width: 0; } }

.pagination ul > .disabled > span,
.pagination ul > .disabled > a,
.pagination ul > .disabled > a:hover {
	cursor: default;
	pointer-events: none;
}

@media only screen and (min-width: 1350px) {
  .filter_wrapper {
    width: 1350px;
    margin: 0 auto;
    position: relative;
    left: -20px; } }

@media only screen and (max-width: 1310px) {
  #search_results #tabs_wrapper #results_info_attributes #searched_text {
    max-width: 300px; } }

@media only screen and (max-width: 1090px) {
  .search-results-page .cont {
    width: 95%; }
  #search_results #tabs_wrapper #results_info_attributes #searched_text {
    max-width: 200px;
    font-size: 1em; }
  #search_results #tabs_wrapper #results_info_attributes #results_count {
    margin-top: 0; } }

@media only screen and (max-width: 1000px) {
  html body.search-results-page #float-header .main-menu-wrapper {
    padding-bottom: 8px; }
    html body.search-results-page #float-header .main-menu-wrapper .main-menu {
      margin-top: 8px; }
  html body.search-results-page #float-header .filter_wrapper {
    padding-right: 0; }
  .site-header #menu-icon {
    display: block;
    margin-left: 15px;
    cursor: pointer;
    font-size: 21px;
    margin-top: 8px; }
  .site-header .navbar {
    position: absolute;
    right: -260px;
    z-index: 100;
    top: 58px;
    width: 250px;
    -webkit-transition: right 0.3s;
    -o-transition: right 0.3s;
    transition: right 0.3s; }
    .site-header .navbar .menu {
      max-height: calc(100vh - 50px);
      overflow: auto;
      background: #0e0e0e;
      padding: 5px 15px; }
      .site-header .navbar .menu li {
        float: none !important;
        display: block;
        padding: 5px !important;
        border-bottom: 1px dashed #676767;
        text-align: center;
        cursor: pointer; }
        .site-header .navbar .menu li.primary_li {
          padding: 0px !important; }
          .site-header .navbar .menu li.primary_li a {
            padding: 15px !important;
            border-radius: 0;
            margin: -1px -15px; }
        .site-header .navbar .menu li:hover {
          background: rgba(0, 0, 0, 0.5); }
        .site-header .navbar .menu li:last-child {
          border-bottom: none; }
  html.filter-opened body.search-results-page .sticky-filter {
    height: 200px !important; }
  html.filter-opened body.search-results-page .site-header {
    margin-bottom: 250px; }
  html body.search-results-page #float-header .sticky-filter .search_box_wrapper {
    height: 70px;
    border-bottom: 1px solid #ccc; }
  html body.search-results-page #float-header .sticky-filter .filter_wrapper {
    height: 100%; }
    html body.search-results-page #float-header .sticky-filter .filter_wrapper .inner-wrapper {
      width: 100%;
      top: 0px;
      text-align: left;
      padding: 0;
      max-width: 620px;
      position: relative;
      display: block;
      margin: 0 auto; }
      html body.search-results-page #float-header .sticky-filter .filter_wrapper .inner-wrapper label.advanced {
        display: block; }
      html body.search-results-page #float-header .sticky-filter .filter_wrapper .inner-wrapper #selectboxes_wrapper {
        display: block; }
        html body.search-results-page #float-header .sticky-filter .filter_wrapper .inner-wrapper #selectboxes_wrapper > .select2-container {
          width: 48% !important;
          margin: 0; }
          html body.search-results-page #float-header .sticky-filter .filter_wrapper .inner-wrapper #selectboxes_wrapper > .select2-container:last-child {
            float: right; }
      html body.search-results-page #float-header .sticky-filter .filter_wrapper .inner-wrapper #switchbox_wrapper {
        display: block;
        position: absolute;
        top: 0;
        right: 0; }
  html.menu-opened .site-header .navbar {
    right: 16px; } }

@media only screen and (max-width: 850px) {
  html body.search-results-page #float-header .sticky-filter .filter_wrapper .clear_input {
    font-size: 21px;
    top: 21px; }
  html body.search-results-page #float-header .sticky-filter .filter_wrapper .main-searchbox {
    font-size: 1em; }
    html body.search-results-page #float-header .sticky-filter .filter_wrapper .main-searchbox::-webkit-input-placeholder {
      font-size: 1em; }
    html body.search-results-page #float-header .sticky-filter .filter_wrapper .main-searchbox:-ms-input-placeholder {
      font-size: 1em; }
    html body.search-results-page #float-header .sticky-filter .filter_wrapper .main-searchbox::-ms-input-placeholder {
      font-size: 1em; }
    html body.search-results-page #float-header .sticky-filter .filter_wrapper .main-searchbox::placeholder {
      font-size: 1em; }
  #search_results #tabs_wrapper {
    display: block; }
    #search_results #tabs_wrapper #results_info_attributes #searched_text {
      font-size: 2em; }
    #search_results #tabs_wrapper #tabs_container {
      margin: 25px auto 0 auto; }
  #search_results .empty-message {
    font-size: 14px; } }

@media screen and (max-width: 813px) and (orientation: landscape) {
  .carousel-section .events-carousel {
    max-width: unset !important;
    width: auto !important; } }

@media only screen and (max-width: 750px) {
  #search_results #tabs_wrapper #tabs_box {
    padding: 0; } }

.mobile-only {
	display: none;
}

@media (max-width: 767px) {
	.mobile-only {
		display: block;
	}
	.desktop-only {
		display: none;
	}
}

@media only screen and (max-width: 655px) {
  html.filter-opened body.search-results-page .sticky-filter {
    height: 250px !important; }
  html.filter-opened body.search-results-page .site-header {
    margin-bottom: 300px; }
  html body.search-results-page #float-header .sticky-filter .filter_wrapper .inner-wrapper {
    padding: 0 16px; }
    html body.search-results-page #float-header .sticky-filter .filter_wrapper .inner-wrapper #selectboxes_wrapper > .select2-container {
      width: 100% !important;
      display: block; }
      html body.search-results-page #float-header .sticky-filter .filter_wrapper .inner-wrapper #selectboxes_wrapper > .select2-container:last-child {
        float: none;
        margin-top: 16px; }
    html body.search-results-page #float-header .sticky-filter .filter_wrapper .inner-wrapper #switchbox_wrapper {
      right: 16px; }
  html body.search-results-page .carousel-section .events-carousel {
    width: 100%;
    max-width: 400px; }
    html body.search-results-page .carousel-section .events-carousel .event-box {
      width: 100%; }
  #search_results #tabs_wrapper {
    display: block; }
    #search_results #tabs_wrapper #results_info_wrapper {
      display: block; }
      #search_results #tabs_wrapper #results_info_wrapper #search_logo {
        display: inline-block;
        margin-top: 0; }
        #search_results #tabs_wrapper #results_info_wrapper #search_logo .search-icon {
          margin-bottom: -4px; }
      #search_results #tabs_wrapper #results_info_wrapper #results_info_label {
        display: inline-block; }
      #search_results #tabs_wrapper #results_info_wrapper #results_info_attributes {
        margin-left: 32px;
        margin-top: 8px;
        width: calc(100% - 35px); }
        #search_results #tabs_wrapper #results_info_wrapper #results_info_attributes #searched_text {
          font-size: 1em; }
    #search_results #tabs_wrapper #tabs_container {
      padding: 4px;
      gap: 4px; }
    #search_results #tabs_wrapper #tabs_container .tab-wrapper {
      padding: 10px 8px; }
    #search_results #tabs_wrapper #tabs_container .tab-wrapper .tab-label {
      font-size: 12px; }
    #search_results #tabs_wrapper #tabs_container .tab-wrapper .tab-label span {
      display: none; }
    #search_results #tabs_wrapper #tabs_container .tab-count span:last-child {
      display: none; } }

@media only screen and (max-width: 480px) {
  html.filter-opened {
    overflow: hidden; }
    html.filter-opened body.search-results-page {
      overflow: hidden; }
      html.filter-opened body.search-results-page .site-header {
        margin-bottom: 340px; }
      html.filter-opened body.search-results-page #float-header .sticky-filter {
        height: 325px !important; }
        html.filter-opened body.search-results-page #float-header .sticky-filter:after {
          display: block;
          content: "";
          height: 100vh;
          width: 100%;
          background: #000;
          position: absolute;
          z-index: 10;
          opacity: 0.9; }
  html body.search-results-page #float-header .sticky-filter .filter_wrapper .clear_input {
    top: 6px;
    left: 15px; }
  html body.search-results-page #float-header .sticky-filter .filter_wrapper .search_box_wrapper {
    height: 40px;
    border-bottom: 1px solid #ccc;
    padding-left: 32px; }
  html body.search-results-page #float-header .sticky-filter .filter_wrapper #submit_filter_button_wrapper {
    display: block; }
    html body.search-results-page #float-header .sticky-filter .filter_wrapper #submit_filter_button_wrapper .search-btn {
      margin: 0 auto !important; }
  html body.search-results-page #float-header .sticky-filter .filter_wrapper .inner-wrapper #switchbox_wrapper {
    position: static;
    margin-left: 3px;
    margin-top: 30px !important;
    margin-bottom: 25px !important; }
  html body.search-results-page #float-header .sticky-filter .filter_wrapper .inner-wrapper .label.advanced {
    font-size: 14px;
    margin-top: 11px !important;
    margin-bottom: 0px; }
  html.menu-opened .site-header .navbar {
    width: 100%;
    padding: 50px 10vw 0 10vw;
    right: 0;
    top: 8px; } }

@media only screen and (max-width: 350px) {
  #search_results #tabs_wrapper {
    display: block; }
    #search_results #tabs_wrapper #tabs_container {
      font-size: 11px;
      flex-wrap: wrap; }
      #search_results #tabs_wrapper #tabs_container .tab-wrapper {
        flex: 1 1 45%;
        min-width: 0;
        padding: 10px 6px; }
      #search_results #tabs_wrapper #tabs_container .tab-wrapper .tab-label {
        font-size: 11px; } }

		.pagination {
  height: 40px;
  margin: 20px 0;
}
.pagination ul {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */

  *zoom: 1;
  margin-left: 0;
  margin-bottom: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.pagination ul > li {
  display: inline;
}
.pagination ul > li > a,
.pagination ul > li > span {
  float: left;
  padding: 0 14px;
  line-height: 38px;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-left-width: 0;
}
.pagination ul > li > a:hover,
.pagination ul > .active > a,
.pagination ul > .active > span {
  background-color: #f5f5f5;
}
.pagination ul > .active > a,
.pagination ul > .active > span {
  color: #999999;
  cursor: default;
}
.pagination ul > .disabled > span,
.pagination ul > .disabled > a,
.pagination ul > .disabled > a:hover {
  color: #999999;
  background-color: transparent;
  cursor: default;
}
.pagination ul > li:first-child > a,
.pagination ul > li:first-child > span {
  border-left-width: 1px;
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}
.pagination ul > li:last-child > a,
.pagination ul > li:last-child > span {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}
.pagination-centered {
  text-align: center;
}
.pagination-right {
  text-align: right;
}



.pagination {
	height: 40px;
	margin: 20px 0;
  }
  .pagination ul {
	display: inline-block;
	*display: inline;
	/* IE7 inline-block hack */

	*zoom: 1;
	margin-left: 0;
	margin-bottom: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  .pagination ul > li {
	display: inline;
  }
  .pagination ul > li > a,
  .pagination ul > li > span {
	float: left;
	padding: 0 14px;
	line-height: 38px;
	text-decoration: none;
	background-color: #ffffff;
	border: 1px solid #dddddd;
	border-left-width: 0;
  }
  .pagination ul > li > a:hover,
  .pagination ul > .active > a,
  .pagination ul > .active > span {
	background-color: #f5f5f5;
  }
  .pagination ul > .active > a,
  .pagination ul > .active > span {
	color: #999999;
	cursor: default;
  }
  .pagination ul > .disabled > span,
  .pagination ul > .disabled > a,
  .pagination ul > .disabled > a:hover {
	color: #999999;
	background-color: transparent;
	cursor: default;
  }
  .pagination ul > li:first-child > a,
  .pagination ul > li:first-child > span {
	border-left-width: 1px;
	-webkit-border-radius: 3px 0 0 3px;
	-moz-border-radius: 3px 0 0 3px;
	border-radius: 3px 0 0 3px;
  }
  .pagination ul > li:last-child > a,
  .pagination ul > li:last-child > span {
	-webkit-border-radius: 0 3px 3px 0;
	-moz-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 3px 0;
  }
  .pagination-centered {
	text-align: center;
  }
  .pagination-right {
	text-align: right;
  }

/* ==========================================================================
   Calendar View Styles
   ========================================================================== */

/* View Toggle - positioned at top left */
.view-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  margin-top: 20px;
  padding: 4px;
  background: rgba(60, 63, 70, 0.5);
  border-radius: 12px;
  width: fit-content;
  margin-left: 0;
  margin-right: auto;
}

/* Hide tabs container when calendar view is active */
#search_results.calendar-view-active #tabs_container {
  display: none !important;
}

.view-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: #9ca3af;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-toggle-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.view-toggle-btn.active {
  background: linear-gradient(135deg, #ffaf4d 0%, #ff4c67 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 76, 103, 0.3);
}

.view-toggle-btn svg {
  flex-shrink: 0;
}

/* Calendar Container */
.calendar-wrapper {
  width: 100%;
  display: flex;
  gap: 24px;
  min-height: 600px;
}

.calendar-container {
  flex: 1;
  background: linear-gradient(145deg, #1e1e22 0%, #2a2a30 100%);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Calendar Header */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  min-width: 220px;
  text-align: center;
  margin: 0;
  letter-spacing: 0.5px;
}

.calendar-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.25s ease;
}

.calendar-nav-btn:hover {
  background: rgba(255, 175, 77, 0.15);
  border-color: rgba(255, 175, 77, 0.3);
  color: #ffaf4d;
  transform: scale(1.05);
}

.calendar-today-btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(255, 175, 77, 0.15) 0%, rgba(255, 76, 103, 0.15) 100%);
  border: 1px solid rgba(255, 175, 77, 0.3);
  border-radius: 10px;
  color: #ffaf4d;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-left: 12px;
}

.calendar-today-btn:hover {
  background: linear-gradient(135deg, rgba(255, 175, 77, 0.25) 0%, rgba(255, 76, 103, 0.25) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 175, 77, 0.2);
}

/* Calendar Weekdays */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.calendar-weekday {
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Calendar Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  position: relative;
  min-height: 90px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
}

.calendar-day:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.calendar-day.other-month {
  opacity: 0.3;
}

.calendar-day.today {
  background: rgba(255, 175, 77, 0.1);
  border-color: rgba(255, 175, 77, 0.3);
}

.calendar-day.today .calendar-day-number {
  background: linear-gradient(135deg, #ffaf4d 0%, #ff4c67 100%);
  color: #fff;
  font-weight: 700;
}

.calendar-day.selected {
  background: rgba(255, 76, 103, 0.15);
  border-color: #ff4c67;
  box-shadow: 0 0 20px rgba(255, 76, 103, 0.2);
}

.calendar-day.has-events {
  cursor: pointer;
}

.calendar-day-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 500;
  color: #e5e7eb;
  border-radius: 8px;
  margin-bottom: 6px;
}

/* Event Indicators */
.calendar-day-events {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  flex: 1;
  justify-content: flex-end;
}

/* Stacked Image Preview */
.calendar-image-stack {
  position: relative;
  width: 100%;
  height: 36px;
  display: flex;
  justify-content: center;
  perspective: 500px;
}

.calendar-stack-image {
  position: absolute;
  width: 40px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
}

.calendar-stack-image:nth-child(1) {
  z-index: 3;
  transform: translateX(0) rotate(0deg);
}

.calendar-stack-image:nth-child(2) {
  z-index: 2;
  transform: translateX(-8px) rotate(-6deg);
}

.calendar-stack-image:nth-child(3) {
  z-index: 1;
  transform: translateX(8px) rotate(6deg);
}

.calendar-stack-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

/* Hover effect on image stack */
.calendar-day.has-events:hover .calendar-stack-image {
  border-color: rgba(255, 175, 77, 0.5);
}

.calendar-day.has-events:hover .calendar-stack-image:nth-child(1) {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.calendar-day.has-events:hover .calendar-stack-image:nth-child(2) {
  transform: translateX(-12px) rotate(-8deg) translateY(-2px);
}

.calendar-day.has-events:hover .calendar-stack-image:nth-child(3) {
  transform: translateX(12px) rotate(8deg) translateY(-2px);
}

.calendar-day.has-events:hover .calendar-stack-image img {
  filter: brightness(1);
}

/* Selected state */
.calendar-day.selected .calendar-stack-image {
  border-color: rgba(255, 76, 103, 0.6);
}

/* Event intensity glow effects on images */
.calendar-day.events-many .calendar-stack-image,
.calendar-day.events-busy .calendar-stack-image {
  box-shadow: 0 2px 12px rgba(255, 76, 103, 0.3);
}

.calendar-day.events-busy .calendar-stack-image:nth-child(1) {
  border-color: rgba(255, 76, 103, 0.4);
}

.calendar-event-count {
  font-size: 11px;
  font-weight: 700;
  color: #ffaf4d;
  min-width: 20px;
  text-align: center;
  padding: 2px 6px;
  background: rgba(255, 175, 77, 0.15);
  border-radius: 10px;
  transition: all 0.25s ease;
}

.calendar-day.events-many .calendar-event-count {
  color: #ff4c67;
  background: rgba(255, 76, 103, 0.15);
}

.calendar-day.events-busy .calendar-event-count {
  color: #fff;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.4);
}

/* Hover effect on days with events */
.calendar-day.has-events:hover .calendar-event-count {
  transform: scale(1.1);
}

.calendar-day.has-events:hover .calendar-event-bar {
  height: 6px;
}

/* Event Panel */
.calendar-event-panel {
  width: 380px;
  background: linear-gradient(145deg, #1e1e22 0%, #2a2a30 100%);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: none;
  flex-direction: column;
  max-height: 700px;
  overflow: hidden;
}

.calendar-event-panel.active {
  display: flex;
}

.calendar-event-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.calendar-panel-title {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.calendar-event-badge {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ffaf4d 0%, #ff4c67 100%);
  padding: 4px 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.calendar-panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 10px;
  color: #9ca3af;
  cursor: pointer;
  transition: all 0.25s ease;
}

.calendar-panel-close:hover {
  background: rgba(255, 76, 103, 0.2);
  color: #ff4c67;
}

.calendar-event-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

/* Calendar Event Card */
.calendar-event-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  margin-bottom: 12px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}

.calendar-event-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 175, 77, 0.3);
  transform: translateX(4px);
}

.calendar-event-card:last-child {
  margin-bottom: 0;
}

.calendar-event-image {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
}

.calendar-event-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calendar-event-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-event-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #ffaf4d;
  margin-bottom: 4px;
  font-weight: 500;
}

.calendar-event-time svg {
  flex-shrink: 0;
}

.calendar-event-venue {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #9ca3af;
}

.calendar-event-venue svg {
  flex-shrink: 0;
}

.calendar-no-events {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
}

.calendar-no-events-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  color: #4b5563;
}

.calendar-no-events p {
  font-size: 14px;
  margin: 0;
}

/* Calendar Loading State */
.calendar-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.calendar-loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 175, 77, 0.2);
  border-top-color: #ffaf4d;
  border-radius: 50%;
  animation: calendar-spin 1s linear infinite;
}

@keyframes calendar-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Styles */
@media only screen and (max-width: 1200px) {
  .calendar-wrapper {
    flex-direction: column;
  }

  .calendar-event-panel {
    width: 100%;
    max-height: 400px;
  }

  .calendar-event-panel.active {
    display: flex;
  }
}

@media only screen and (max-width: 900px) {
  .calendar-container {
    padding: 16px;
  }

  .calendar-day {
    min-height: 80px;
    padding: 6px;
  }

  .calendar-day-number {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  /* Medium size image stack for tablets */
  .calendar-image-stack {
    height: 32px;
  }

  .calendar-stack-image {
    width: 36px;
    height: 28px;
    border-radius: 5px;
  }

  .calendar-stack-image:nth-child(2) {
    transform: translateX(-7px) rotate(-5deg);
  }

  .calendar-stack-image:nth-child(3) {
    transform: translateX(7px) rotate(5deg);
  }

  .calendar-title {
    font-size: 18px;
    min-width: 160px;
  }

  .view-toggle-label {
    display: none;
  }

  .view-toggle-btn {
    padding: 10px 14px;
  }
}

@media only screen and (max-width: 655px) {
  .view-toggle {
    margin-top: 16px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    justify-content: center;
  }

  .view-toggle-btn {
    flex: 1;
    justify-content: center;
    padding: 12px;
  }

  .view-toggle-label {
    display: inline;
    font-size: 13px;
  }

  .calendar-day {
    min-height: 70px;
    padding: 4px;
  }

  .calendar-day-number {
    width: 24px;
    height: 24px;
    font-size: 11px;
    margin-bottom: 2px;
  }

  /* Smaller image stack on mobile */
  .calendar-image-stack {
    height: 28px;
  }

  .calendar-stack-image {
    width: 32px;
    height: 26px;
    border-radius: 4px;
    border-width: 1px;
  }

  .calendar-stack-image:nth-child(2) {
    transform: translateX(-6px) rotate(-5deg);
  }

  .calendar-stack-image:nth-child(3) {
    transform: translateX(6px) rotate(5deg);
  }

  .calendar-event-count {
    font-size: 10px;
    padding: 2px 5px;
    min-width: 18px;
  }

  .calendar-day.has-events .calendar-day-number {
    background: linear-gradient(135deg, rgba(255, 175, 77, 0.2) 0%, rgba(255, 76, 103, 0.2) 100%);
  }

  .calendar-day.events-many .calendar-day-number,
  .calendar-day.events-busy .calendar-day-number {
    background: linear-gradient(135deg, rgba(255, 76, 103, 0.25) 0%, rgba(225, 29, 72, 0.25) 100%);
  }

  .calendar-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .calendar-title {
    order: 1;
    width: 100%;
    margin-bottom: 8px;
  }

  .calendar-nav-btn {
    width: 40px;
    height: 40px;
  }

  .calendar-today-btn {
    margin-left: auto;
    padding: 8px 16px;
    font-size: 13px;
  }

  .calendar-weekday {
    padding: 8px 4px;
    font-size: 10px;
  }

  .calendar-event-card {
    padding: 12px;
  }

  .calendar-event-image {
    width: 60px;
    height: 60px;
  }

  .calendar-event-title {
    font-size: 13px;
  }
}

/* Smooth animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.calendar-wrapper {
  animation: fadeIn 0.4s ease-out;
}

.calendar-event-card {
  animation: fadeIn 0.3s ease-out backwards;
}

.calendar-event-card:nth-child(1) { animation-delay: 0.05s; }
.calendar-event-card:nth-child(2) { animation-delay: 0.1s; }
.calendar-event-card:nth-child(3) { animation-delay: 0.15s; }
.calendar-event-card:nth-child(4) { animation-delay: 0.2s; }
.calendar-event-card:nth-child(5) { animation-delay: 0.25s; }

/* Custom Scrollbar for Event Panel */
.calendar-event-list::-webkit-scrollbar {
  width: 6px;
}

.calendar-event-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 3px;
}

.calendar-event-list::-webkit-scrollbar-thumb {
  background: rgba(255, 175, 77, 0.3);
  border-radius: 3px;
}

.calendar-event-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 175, 77, 0.5);
}
