/* Open Sans fonts */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Open+Sans:wght@400;700&family=Roboto:wght@400;700&display=swap');

.etp-events-container p {
  margin: 0;
}

.etp-events-container .container {
  max-width: 1300px;
  margin: auto;
}

/* HEADING SECTION */
.etp-events-header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 50px;
}

.etp-events-header h2 {
  font-size: 51px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
  width: 50%;
  line-height: 1;
  font-family: 'Anton';
  padding-bottom: 0;
  color: #172651;
}

/* FILTERS SECTION */
.etp-events-filters {
  display: flex;
  gap: 10px;
  /* flex-wrap: wrap; */
}

/* Month Dropdown */
.etp-events-filters .dropdown {
  position: relative;
  flex: 1;
  width: 50%;
}

.etp-events-filters .dropbtn {
  background-color: #fff;
  position: relative;
  color: #172651;
  padding: 10px 15px;
  padding-right: 45px;
  font-size: 15px;
  font-weight: 600;
  border: solid 1px #dedede;
  border-radius: 11px;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.etp-events-filters .dropbtn::after {
  content: '\f078';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 15px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  transition: all .2s;
}

.etp-events-filters .dropdown.is-active .dropbtn::after {
  transform: translateY(-50%) rotate(180deg);
}

.etp-events-filters .dropdown-content {
  position: absolute;
  top: calc(100% + 5px);
  width: 100%;
  border: 1px solid #D0D0D0;
  background: #FFF;
  box-shadow: 0 2px 5.2px 0 rgba(0, 0, 0, 0.13);
  margin-top: 4px;
  z-index: 100;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.2s;
  border-radius: 0;
  min-width: 200px;
}

.etp-events-filters .dropdown.is-active .dropdown-content {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.etp-events-filters .dropdown-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.etp-events-filters .dropdown-content li {
  display: block;
}

.etp-events-filters .dropdown-content li.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  gap: 8px;
  color: #422512;
  font-family: "Tahoma", sans-serif;
  font-size: 14px;
  line-height: 1.5em;
}

.etp-events-filters .dropdown-content li.separator::before,
.etp-events-filters .dropdown-content li.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #DEDEDE;
}

.etp-events-filters .dropdown-content li.separator span {
  background-color: transparent;
  position: relative;
  display: inline-block;
  line-height: 1;
  padding: 0;
}

.etp-events-filters .dropdown-content a {
  padding: 15px 40px;
  cursor: pointer;
  position: relative;
  color: #422512;
  font-family: "Tahoma", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.01em;
  letter-spacing: -0.32px;
  display: block;
  text-decoration: none;
  transition: all 0.2s;
}

.etp-events-filters .dropdown-content a:hover {
  background: #F5F6F7;
}

.etp-events-filters .dropdown-content a.checked {
  background: #F5F6F7;
}

.etp-events-filters .dropdown-content a.checked::before {
  content: "\f00c";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #172651;
}

.etp-events-filters .dropdown-content a::before {
  content: "";
}

/* Date Picker Wrapper */
.etp-date-picker-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  width: 50%;
}

.etp-date-picker-wrapper label {
  display: none;
}

input[type=text].etp-datepicker {
  background-color: #fff;
  position: relative;
  color: #172651;
  padding: 10px 15px;
  padding-right: 45px;
  font-size: 15px;
  font-weight: 600;
  border: solid 1px #dedede;
  border-radius: 11px;
  cursor: pointer;
  text-align: left;
  height: 100%;
  width: 185px;
}

.etp-datepicker::placeholder {
  color: #000;
  opacity: 1;
}

.etp-datepicker:focus {
  outline: none;
  border-color: #D0D0D0;
}

.etp-calendar-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  font-size: 16px;
  color: #172651;
  pointer-events: none;
}

.etp-clear-btn {
  pointer-events: all;
  cursor: pointer;
  font-size: 18px;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  color: #172651;
  display: none;
  z-index: 1;
}

.etp-datepicker:not(:placeholder-shown)~.etp-calendar-icon {
  display: none;
}

.etp-datepicker:not(:placeholder-shown)~.etp-clear-btn {
  display: block;
}

/* EVENTS GRID */
.etp-events-grid-wrapper {
  min-height: 250px;
  position: relative;
}

.etp-events-grid-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #172651;
}

.etp-events-grid-wrapper.loading .etp-events-grid-loader {
  opacity: 0.6;
  pointer-events: all;
}

/* SELECTED FILTERS */
.selected-filters {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  display: none;
}

.selected-filters p {
  font-size: 16px;
  color: #172651;
  font-weight: 800;
}

.selected-filters ul {
  list-style: none;
  padding: 0 !important;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.selected-filters li {
  display: inline-block;
  background-color: #fff;
  padding: 5px 15px;
  border-radius: 11px;
  font-size: 14px;
  color: #172651;
  font-weight: 700;
  position: relative;
  border: solid 1px #dedede;
}

.selected-filters li i {
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  display: inline-block;
  margin-left: 10px;
}

/* HEADER ROW */
.header_row {
  display: flex;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #D7D7D7;
  border-top: 1px solid #D7D7D7;
  font-weight: 700;
  color: #0E1E48;
  text-transform: none;
  margin-top: 30px;
  margin-bottom: 15px;
  gap: 16px;
}

.header_row .col {
  color: #0E1E48;
}

.header_row .col h3 {
  font-family: "Tahoma Bold", Sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #192751;
  padding: 0;
}

.header_row .mobile-stadium-heading {
  display: none;
}

/* Align header columns with content columns */
.header_row .col_teams {
  width: calc(25% + 0px);
}

.header_row .col_stadium {
  width: calc(25% - 25px);
}

.header_row .col_time {
  width: calc(15% - 30px);
}

.header_row .col_watch {
  width: calc(25% - 16px);
}

.header_row .col_status {
  flex: 1;
  text-align: right;
}

/* EVENT ROW */
.event_row {
  border-radius: 6px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.event_row .col {
  color: #3A5CC8;
}

.event_date p {
  text-transform: uppercase;
  color: #172651;
  font-size: 28px;
  font-weight: 700;
  margin: 25px 0;
  letter-spacing: -1px;
}

.event_content {
  display: flex;
  align-items: center;
  padding: 20px 30px;
  background-color: #F7F7F7;
  border-left: solid 10px #FECD06;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  margin-bottom: 3px;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.event_content:last-child {
  margin-bottom: 0;
}

a.event_content:hover {
  background-color: #efefef;
  cursor: pointer;
}

/* EVENT COLUMNS */
.col_teams {
  width: calc(25% - 16px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.col_teams img {
  max-height: 75px;
  max-width: 75px;
}

.col_teams.no-away-team {
  /* justify-content: center; */
}

.col_teams.no-away-team img {
  max-width: 125px;
}

.col_teams span {
  color: #172651;
  text-align: center;
  font-family: "Anton", sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.col_teams .team-name {
  font-size: 16px;
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
}

.col_stadium {
  width: calc(25% - 16px);
}

.col_time {
  width: calc(15% - 16px);
}

.col_watch {
  width: calc(25% - 16px);
}

.col_status {
  flex: 1;
  text-align: right;
}

.col p {
  color: #172651;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.22em;
  margin: 0;
}

.sold_out{
  color: #172651;
  text-align: center;
  font-family: 'Anton';
  font-style: italic;
  font-size: 30px;
  font-weight: 400;
  line-height: 1em;
  letter-spacing: -0.3px;
  display: block;
}

.buy_tickets{
  display: flex;
  color: #172651;
  text-align: center;
  font-family: 'Anton';
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2em;
  letter-spacing: -0.3px;
  gap: 5px;
  justify-content: center;
  transform: rotate(-10deg);
}

.buy-tickets-text {
  color: #3A5CC8;
  font-weight: 700;
  font-size: 14px;
  font-family: "Tahoma", sans-serif;
}

a.event_content .buy-tickets-text {
  text-decoration: underline;
}

.game-time {
  display: none;
}

/* NO EVENTS MESSAGE */
.no-events {
  font-size: 18px;
  font-family: 'Open Sans';
  line-height: 1.75;
  color: #16264f;
}

/* ALERTS */
.alert {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

/* jQuery UI Datepicker Styles */
.ui-datepicker {
  width: 285px !important;
  padding: 10px !important;
  border-radius: 0 !important;
  border: 1px solid #DEDEDE !important;
  background: #FFF !important;
  box-shadow: 0 57px 43px 0 rgba(0, 0, 0, 0.06), 0 12.732px 9.605px 0 rgba(0, 0, 0, 0.04), 0 3.791px 2.86px 0 rgba(0, 0, 0, 0.02);
  z-index: 99 !important;
}

.ui-datepicker .ui-datepicker-header {
  background: transparent;
  border: none !important;
  color: #333;
  font-weight: bold;
  text-align: center;
  padding: 9px 0 !important;
}

.ui-datepicker-title {
  color: #09090B;
  font-family: "Tahoma", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42em;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  cursor: pointer;
  top: 5px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 6px !important;
  border: 1px solid #E4E4E7;
  background: #FFF;
  right: 0 !important;
  transition: all 200ms linear;
}

.ui-datepicker .ui-datepicker-prev{
  left:0 !important;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
  background: #16274f !important;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  text-indent: 0 !important;
  margin: 0 !important;
  font-family: 'Font Awesome 5 Free' !important;
  font-weight: 900 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 0;
  background-image: none;
  left: 0 !important;
  top: 0 !important;
  line-height: 18px;
}

.ui-datepicker .ui-datepicker-prev span::before {
  content: '\f053';
  font-size: 18px;
}

.ui-datepicker .ui-datepicker-next span::before {
  content: '\f054';
  font-size: 18px;
}

.ui-datepicker .ui-datepicker-prev:hover span,
.ui-datepicker .ui-datepicker-next:hover span {
  color: #fff !important;
}

.ui-datepicker th {
  font-size: 13px;
  font-weight: 600 !important;
  color: #888;
  padding: 6px !important;
  border: none !important;
}

.ui-datepicker td {
  padding: 3px !important;
  background-color: transparent !important;
}

.ui-datepicker td a,
.ui-datepicker td span {
  display: block !important;
  text-align: center !important;
  border-radius: 6px !important;
  background-color: #fff !important;
  padding: 8px !important;
  border: none !important;
  text-decoration: none !important;
  color: #18181B !important;
  font-family: "Tahoma", sans-serif;
  font-size: 14px;
  font-weight: 400 !important;
  line-height: 1.42em;
  transition: all 200ms linear;
}

.ui-datepicker td a:hover {
  background-color: #172651 !important;
  color: #FFF !important;
}

.ui-state-highlight,
.ui-widget-content .ui-state-highlight {
  background-color: #F5F6F7 !important;
  color: #18181B !important;
}

.ui-state-highlight:hover {
  color: #fff !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
  background-color: #3A5CC8 !important;
  color: #fff !important;
}

.ui-datepicker-other-month {
  opacity: 0.4 !important;
}

/* Disabled dates */
.ui-datepicker td a.ui-state-disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* Dates with events */
.ui-datepicker td.has-event a {
  font-weight: 700 !important;
}

/* RESPONSIVE STYLES */
@media(max-width: 1024px) {
  .etp-events-header h2 {
    font-size: 46px;
  }

  .event_content {
    padding: 20px;
  }
}

@media(max-width: 992px) {
  .etp-events-header h2 {
    width: 100%;
  }

  .col_teams {
    /* width: calc(30% - 0px); */
    /* gap: 5px; */
  }

  .col_watch {
    /* width: calc(20% - 0px); */
    /* color: #3A5CC8; */
  }

  .col p {
    font-size: 16px;
  }

  .sold_out {
    font-size: 24px;
  }

  .etp-events-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media(max-width: 767px) {
  .col_time {
    display: none;
  }

  .game-time {
    display: inline-block;
  }

  .etp-events-header h2 {
    font-size: 36px;
    width: 100%;
  }

  .etp-events-header {
    flex-wrap: wrap;
  }

  .col_status_heading {
    display: none;
  }

  .header_row {
    /* justify-content: space-between; */
    padding: 15px 0;
    margin: 25px 0;
  }

  .header_row .col_watch h3 {
    text-align: end;
  }

  .header_row .desktop-stadium-heading {
    display: none;
  }

  .header_row .mobile-stadium-heading {
    display: block;
    text-align: center;
  }

  .event_date p {
    font-size: 18px;
    margin-top: 0px;
    margin-bottom: 5px;
  }

  .col_teams img {
    max-height: 30px;
    max-width: 30px;
  }

  .col_stadium,
  .header_row .col_stadium {
    width: calc(30% - 0px);
    text-align: center;
  }

  .col_teams {
    width: calc(30% - 16px);
    gap: 5px;
  }

  .col_teams span{
    font-size: 16px;
  }

  .col_teams.no-away-team img {
    max-width: 75px;
  }

  .col_watch {
    width: calc(30% - 0px);
    padding: 0 5px;
    text-align: center;
    gap: 5px;
  }

  .col p,
  .header_row .col p {
    font-size: 14px;
  }

  .sold_out {
    font-size: 16px;
  }

  .event_content {
    padding: 19px 15px;
  }

  .event_content::before {
    width: 6px;
    top: 5px;
    bottom: 9px;
  }
}

@media(max-width: 600px) {

  .etp-datepicker {
    min-width: 100%;
    width: 100%;
  }
}

@media(max-width: 500px) {
  .header_row .col h3 {
    font-size: 11px;
  }

  .col p {
    font-size: 11px;
  }

  .sold_out {
    font-size: 14px;
  }

  .etp-events-filters .dropbtn {
    padding: 15px;
  }

  .etp-events-filters {
    width: 100%;
  }

  .etp-datepicker {
    width: 100%;
  }
}
