/*======================================
Theme Name: The Party Animals
Theme URI: https://divicake.com/
Description: Custom theme for The Party Animals
Version: 5.0
Author: My Project Solution
Author URI: http://myprojectsolution.net
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */



/**** Modern Tribe styles ****/

.tribe_events_cat-home,
.tribe_events_cat-road,
.tribe_events_cat-challenger {
    height: 100%;
}

img.tribe-events-calendar-month__calendar-event-tooltip-featured-image {
  width: 60px;
  max-height: 60px;
  min-height: 0px;
  margin: 0 auto;
}

.cat_away h3.tribe-events-calendar-month__calendar-event-title span {
  /*margin-top: 60px;*/
  color: #fff !important;
}

.tribe-events-calendar-month__calendar-event-tooltip-featured-image {
  min-height: 80px;
}

.tribe-events .tribe-events-calendar-list__event-title-link {
    color: #ffffff;
}

.cat_home {
    background: #ed1272;
}

.cat_home a {
    color: #ffffff;
}

.cat_road {
    background: #42A0DF;
}

.cat_away {
    background: #000000;
}

.cat_away a {
    color: #ffffff;
}
.cat_road span {
    color: #ed1272;   
}

.cat_challenger {
    background: #7ebe42;
}
.tribe_events_cat-the-party-animals.cat_away {
    background: #000000;
}

h3.tribe-events-calendar-month__day-date.tribe-common-h4 {
    position: absolute;
    z-index: 3;
}


.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date, .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link{
  border: 2px solid #7d7c7c;
  border-radius: 44px;
  padding: 4px 12px;
  line-height: 2.25rem;
}

.cat_away h3, .cat_away span, .tickets .cat_home h3, .cat_home span, .cat_home .tickets,
.cat_home h3, .cat_home span, .tickets  {
    color: #42A0DF !important;
    font-weight: 100;
    font-size: 1.5rem;
    font-family: 'bebas neue';
    line-height: 1.2rem;
}

.join-list a {
    color: #ed1272 !important;
    font-weight: 100;
    font-size: 1.5rem;
    font-family: 'bebas neue';
    line-height: 1.2rem;
}

.cat_road h3, .cat_road span, .tickets .cat_road h3, .cat_road span, .cat_road .tickets,
.cat_challenger h3, .cat_challenger span, .tickets .cat_challenger h3, .cat_challenger span, .cat_challenger .tickets {
    font-weight: 100;
    font-size: 1.5rem;
    font-family: 'bebas neue';
    line-height: 1.2rem;
}

h3.tribe-events-calendar-list__event-title.tribe-common-h6.tribe-common-h4--min-medium {
    font-family: 'bebas neue';
    font-weight: 100;
    line-height: 1.2;
}

.cat_road span,
.cat_road .tickets span {
    color: #ffffff !important;
}

.cat_home h3, .cat_home span, .cat_home .tickets, .cat_home a,
.cat_home .tribe-events-calendar-month__calendar-event-datetime,
.cat_challenger h3, .cat_challenger span, .cat_challenger .tickets, .cat_challenger a,
.cat_challenger .tribe-events-calendar-month__calendar-event-datetime {
  color: #ffffff !important;
}

.tribe-common .tribe-common-anchor-thin:active, .tribe-common .tribe-common-anchor-thin:focus, .tribe-common .tribe-common-anchor-thin:hover {
  border-bottom: 0px;
}

.cat_home .tribe-events-calendar-month__calendar-event-datetime,
.cat_home .tribe-events-calendar-month__calendar-event-datetime,
.cat_away .tribe-events-calendar-month__calendar-event-datetime {
    color: #42A0DF;
    text-align: center;
}


time.tribe-events-calendar-month__day-date-daynum {
    font-size: 1.5rem;
    font-weight: 700;
}

span.tribe-events-calendar-month__header-column-title-desktop.tribe-common-a11y-hidden {
    text-align: center;
    font-size: 1.7rem;
    font-weight: 600;
}

.tribe-events-calendar-month__day--past .tickets,
.tribe-events-calendar-month__day--past .promos {
  display: none;
}

.wol, .results {
    font-weight: 700;
    text-transform: capitalize;
    color: #42A0DF;
}


.cat_road .results {
  color: #ed1272;
}

.news, .video {
    display: inline;
}

.recaps, .results, .cat_road time, .cat-road h3, .cat_road,
.recaps, .results, .cat_home time, .cat-home h3, .cat_home,
.recaps, .results, .cat_challenger time, .cat-challenger h3, .cat_challenger {
    text-align: center !important;
}

.tribe_events_cat-road .tribe-events-calendar-month__calendar-event-details .promos,
.tribe_events_cat-home .tribe-events-calendar-month__calendar-event-details .promos,
.tribe_events_cat-challenger .tribe-events-calendar-month__calendar-event-details .promos{
    text-align: center !important;
    width: 100%
}

.cat_road .tickets a:hover {
  color: #ed1272;
}

.tribe-events-calendar-list__event-header .recaps {
    padding: 15px !important;
  }

.news .ticon, .video .ticon, .tickets .ticon, .wol span {
    font-size: 24px;
    padding: 10px 5px;
    color: #42A0DF;
}

.cat_road .news .ticon, .cat_road .video .ticon, .cat_road .tickets .ticon,
.cat_road .promos, .cat_road .game-type, .cat_road .wol, .cat_road a,
.cat_road-results, .cat_road h3, .cat_road time {
    color: #ffffff !important;
}

.tickets .ticon:before {
    position: relative;
    top: 4px;
}

.promos, .game-type {
  font-style: italic;
  text-align: center;
  color: #42A0DF;
  font-size: .8rem;
}

.cat_away .promos p {
    color: #fff;
}

.tribe-events-calendar-list__event-header .promos {
    text-align: left;
  }

  .tribe-events-calendar-list__event-header .tickets {
      text-align: left;
    }

.legend-challenger, .legend-home, .legend-away, .legend-done, .legend-banana-ball {
    width: 25px;
    height: 25px;
    background: #ed1272;
    display: inline-block;
    border: 2px solid #888888 !important;
}

.legend-away {
  background: #e4e4e4;
}

.legend-home {
  background: #42A0DF;
}

.legend-challenger {
  background: #7ebe42;
}

.legend {
    font-size: 18px;
    font-weight: 600;
    display: flex;
}

.legend-text {
    margin-right: 15px !important;
}

.tribe-events-calendar-list__event-title {
    pointer-events: none;
}

.post-type-archive-tribe_events .tribe-events-tooltip-theme {
  display: none !important;
}

.tribe-events-c-ical.tribe-common-b2.tribe-common-b3--min-medium {
    float: right;
}

.tribe-events-c-ical.tribe-common-b2.tribe-common-b3--min-medium {
    float: right;
}

.tribe-events .tribe-events-calendar-month {
    margin-bottom: 15px !important;
}

.tribe-events .tribe-events-c-ical {
    margin-top: 0px !important;
}

.cat_home .tribe-events .tribe-events-calendar-month__day--past .tribe-events-calendar-month__calendar-event-datetime
{color: #fff}

.tribe-common .tribe-common-h4,
.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date, .tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link {
    color: #7d7c7c;
  }


  .tribe-common a, .tribe-common a:active, .tribe-common a:focus, .tribe-common a:hover, .tribe-common a:visited {
    color: #ffffff;
    outline: 0;
    text-decoration: none;
}
/*** list view ***/


@media only screen and (min-width: 900px) {

  .cat_home h3, .cat_home span, .cat_away h3, .cat_away span, .tickets,
  .cat_banana-ball h3, .cat_banana-ball span {
      text-align: center;
}

.tribe-events-calendar-list__event-header .recaps {
    padding: 0px !important;
  }

  header.tribe-events-calendar-list__event-header {
      min-height: 100px;
  }

  .tribe-events-calendar-list__event-header .promos, .tribe-events-calendar-list__event-header .recaps, .tribe-events-calendar-list__event-header .results,
    .tribe-events-calendar-list__event-header .theme-extra-event-fields {
    text-align: center;
  }

.tribe-events-calendar-list__event-featured-image-wrapper img {
    max-height: 100px;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper {
    width: 15%;
}

.tribe-events-calendar-list__event-datetime-wrapper.tribe-common-b2 {
    margin: 0 25px;
}

.tribe-events-calendar-list__event-header {
  display: flex !important;
}

.tribe-events .tribe-events-calendar-list__event-datetime-wrapper, .tribe-events .tribe-events-calendar-list__event-title {
  margin: 0px 15px !important
}


h3.tribe-events-calendar-list__event-title.tribe-common-h6.tribe-common-h4--min-medium,
.tribe-events-calendar-list__event-featured-image-wrapper,
.tribe-events-calendar-list__event-title,
.tribe-events .tribe-events-calendar-list__event-datetime-wrapper:last-child, .tribe-events .tribe-events-calendar-list__event-title:last-child,
.tribe-events-calendar-list__event-description.tribe-common-b2.tribe-common-a11y-hidden,
.tribe-common--breakpoint-medium.tribe-common .tribe-common-b2 {
    /* float: left; */
    display: flex;
    align-items: center;
}

.tribe-events-calendar-list__event-header .theme-extra-event-fields {
    display: flex;
    align-items: center;
    margin: 0px 15px;
}

.tribe-events-calendar-list__event-header .theme-extra-event-fields .promos,
.tribe-events-calendar-list__event-header .theme-extra-event-fields .recaps {
    margin: 0px 20px;
}

time.tribe-events-calendar-list__event-datetime span {
    font-size: 22px;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-details {
    width: 100%;
}

.tribe-events-calendar-list__event-datetime-wrapper.tribe-common-b2 {
    width: 30%;
}

.tribe-events-calendar-list__event-header .theme-extra-event-fields {
    display: flex;
    justify-content: flex-end;
    width: 45%;
}

.tickets {
    font-size: 1.5rem;
}

.tribe-events-calendar-list__event-title {
    width: 20%;
}


.promos {
    width: 100%;
}
}

.legend-mobile {
    display: none;    
}

/** mobile style for new calendar **/
@media only screen and (max-width: 899px) {
.tribe-events .tribe-events-calendar-list__event-featured-image-wrapper {
    width: 35% !important;
    margin: 0 auto;
}

.tribe-events-calendar-list__event-details.tribe-common-g-col {
    margin: 0 auto;
}

.tribe-events-calendar-list__event-header .promos, .tickets ,
header.tribe-events-calendar-list__event-header,
.tribe-events-calendar-list__event-header .tickets {
    text-align: center;
}

.tribe-common .tribe-common-g-row {
    width: 100%;
}

.tribe-events .tribe-events-calendar-list__event-date-tag {
    width: 9%;
    background: #fff;
    display: none !important;
}

.legend-mobile {
    display: flex;
}

.legend-home, .legend-away, .legend-done, .legend-banana-ball, .legend-challenger {
    width: 100%;
    height: 100px;
    margin-bottom: 15px !important;
}
.legend-text {
    color: #fff;
    text-align: center;
    line-height: 2.2rem;
    padding: 15px 0px !important;
}

.legend-away.legend-text,
.legend-banana-ball.legend-text {
    color: #000;
}

.legend-mobile {
    width: 100%;
}

.legend {
    display: none;
}


.tribe-events-c-ical.tribe-common-b2.tribe-common-b3--min-medium {
    float: none !important;
    margin: 15px !important;
}
}

/* Calendar Key CSS */


.calendar-key-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 0.5rem;
}

.calendar-key-table-header,
.calendar-key-table-row {
    display: contents;
}

.calendar-key-table-header div {
    background-color: #f2f2f2;
    padding: 10px;
    text-align: left;
}

.calendar-key-table-row div {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/* Small screen (max-width: 600px) */
@media only screen and (max-width: 600px) {
    .calendar-key-table {
        grid-template-columns: 1fr;
    }

    .calendar-key-table-header div,
    .calendar-key-table-row div {
        margin-bottom: 0.625rem;
    }

    .calendar-key-table-row div:before {
        content: attr(data-header);
        display: inline-block;
        font-weight: bold;
        margin-right: 10px;
    }

    .calendar-key-table-row div:nth-of-type(1):before { content: "Header 1: "; }
    .calendar-key-table-row div:nth-of-type(2):before { content: "Header 2: "; }
    .calendar-key-table-row div:nth-of-type(3):before { content: "Header 3: "; }
    .calendar-key-table-row div:nth-of-type(4):before { content: "Header 4: "; }
}


.calendar-key-table-header .bananas-road {
    background: #192751;
    font-size: 48px;
    color: #fece07;
    line-height: 44px;
    text-align: center;
    font-weight: 900;
    font-family: 'Bebas Neue';
    padding-top: 10px;
    padding-bottom: 0px;
}

.calendar-key-table-header .bananas-savannah {
    background: #7ebe42;
    font-size: 48px;
    color: #192751;
    line-height: 44px;
    text-align: center;
    font-weight: 900;
    font-family: 'Bebas Neue';
    padding-top: 10px;
    padding-bottom: 0px;
}

.calendar-key-table-header .animals-road {
    background: #000000;
    font-size: 48px;
    color: #ed1272;
    line-height: 44px;
    text-align: center;
    font-weight: 900;
    font-family: 'Bebas Neue';
    padding-top: 10px;
    padding-bottom: 0px;
}

.calendar-key-table-header .animals-savannah {
    background: #ed1272;
    font-size: 48px;
    color: #ffffff;
    line-height: 44px;
    text-align: center;
    font-weight: 900;
    font-family: 'Bebas Neue';
    padding-top: 10px;
    padding-bottom: 0px;
}

.bananas-road p, .bananas-savannah p, .animals-road p, .animals-savannah p{
    font-size: 24px;
}

.tribe-events-calendar-month__events article{
    height: 100%;
}

.has_event{
    border-color: #fff !important;
    border-width: 1px;
}

time.tribe-events-calendar-month__day-date-daynum.cat_away{
    color: #42A0DF !important;
}
