/* ============================================= 
   EVENTS styles
   ============================================= */

.adm-event__container {
  --content--width: 750px;
  --filter--grap: 1rem;
}


/*********************************************************************
  Filter
*********************************************************************/



.adm-event__filter-group {
  margin-bottom: 1rem;
}

.adm-event__filter-group>* {
  display: block;
}

.adm-event__filter-group label {
  color: #333333;
}

.adm-event__filter-group-text {
  padding: 0.25rem 0;
}

.adm-event__filter-cbx-group input[type='checkbox'] {
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

.adm-event__filter-cbx-group input[type='checkbox']+label {
  display: block;
  font-size: 0.8rem;
  position: relative;
  padding: 5px 5px 5px 30px;
}

.adm-event__filter-cbx-group input[type='checkbox']+label::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 5px;
  left: 0;
  height: 25px;
  width: 25px;
  margin-right: 10px;
  background-color: #fff;
  border-radius: 4px;
  border: 2px solid #999999;
}

.adm-event__filter-cbx-group input[type='checkbox']:checked+label::before {
  background-color: #000000;
  border-color: #000000;
}

.adm-event__filter-cbx-group input[type='checkbox']:checked+label::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 5px;
  border-left: 3px solid #ffba00;
  border-bottom: 3px solid #ffba00;
  height: 6px;
  width: 13px;
  transform: rotate(-45deg);
}

.adm-event__filter-cbx-group .filter-cbx-label:focus::before,
.adm-event__filter-cbx-group .filter-cbx-label:hover::before {
  background: #ffba00;
  border-color: #333333;
}

.adm-event__filter-cbx-group input[type='checkbox']:checked+label:focus::before,
.adm-event__filter-cbx-group input[type='checkbox']:checked+label:hover::before {
  background-color: #ffba00;
}

.adm-event__filter-cbx-group input[type='checkbox']:checked+label:focus::after,
.adm-event__filter-cbx-group input[type='checkbox']:checked+label:hover::after {
  border-color: #000000;
}

.adm-event__filter-group .adm-event__filter-select-input select {
  border: 1px solid #333333;
}

/*   2/17/2025 - commenting out to test if in use. Doesn't seem to be. 

  .filters button {
    text-decoration: none;
    background: #ffba00;
    color: #000;
    padding: 0.7em 1em 0.7em 1em;
    border-radius: 40px;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 700;
    transition: all .3s ease-in-out;
    border: 1px solid transparent;
    margin: 0.5em 0 0 0;
    display: inline-block;
    font-family: "Roboto", san-serif;
  }
  .filters button:hover, .filters button:focus {
    background: #000;
    color: #ffba00;
  } */


.adm-event__filter {
  background: #000000;
  color: #ffffff;
  /* max-width: 750px; */
  /* width: 100%; */
  text-align: right;
  margin: 0 auto;
  padding: 1rem;
}

.adm-event__filter .adm-event__filter-button {
  padding: 0.5em 0.5em 0.5em 0.75em;
  border-radius: 3em;
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  text-transform: uppercase;
  flex-direction: row;
  display: inline-block;
  justify-content: center;
  cursor: pointer;
  background: #FFBA00 !important;
  border: 2px solid #FFBA00;
  text-align: center;
  max-width: 300px;
}

.adm-event__filter .adm-event__filter-button:focus,
.adm-event__filter .adm-event__filter-button:hover,
.adm-event__filter .adm-event__filter-button.hover {
  background: #000000 !important;
  border: 2px solid #FFBA00;
  color: #FFBA00 !important;
  outline: 2px solid #FFBA00;
  ;
}

.adm-event__filter .adm-event__filter-button.adm-event__filter-button-secondary {
  background: #ffffff !important;
}

.adm-event__filter .adm-event__filter-button.adm-event__filter-button-secondary:focus,
.adm-event__filter .adm-event__filter-button.adm-event__filter-button-secondary:hover,
.adm-event__filter .adm-event__filter-button.adm-event__filter-button-secondary.hover {
  background: #000000 !important;
  color: #FFBA00 !important;
}

.adm-event__filter .adm-event__filter-button.adm-event__filter-button-dropdown {
  white-space: nowrap;
}

.adm-event__filter .adm-event__filter-button.adm-event__filter-button-dropdown::after {
  display: inline-block;
  font-family: FontAwesome;
  font-size: 0.8rem;
  content: "\f078";
  font-size: 1rem;
  margin-left: 10px;
  text-align: center;
  width: 1.5rem;
}

.adm-event__filter .adm-event__filter-button.adm-event__filter-button-dropdown[aria-expanded="true"] {
  background: #000000 !important;
  color: #FFBA00 !important;
}

.adm-event__filter .adm-event__filter-button.adm-event__filter-button-dropdown[aria-expanded="true"]::after {
  font-family: FontAwesome;
  font-size: 0.8rem;
  font-weight: 400;
  content: '\0058';
  text-align: center;
  padding-top: 0.25rem;
  width: 1.5rem;
}

.adm-event__filter .adm-event__filter-dropdown {
  background: #ffffff;
  border: solid 1px #999999;
  box-shadow: 0px 0px 5px #333333;
  display: none;
  flex-direction: column;
  position: absolute;
  text-align: left;
  width: 100%;
  height: calc(100% - 4px);
  z-index: 200000;
}

.adm-event__filter .adm-event__filter-dropdown.adm-event__filter-dropdown-active {
  display: flex !important;
  position: fixed;
}

.adm-event__filter-dropdown .adm-event__filter-group {
  margin: 1rem 0;
}

.adm-event__filter-dropdown .adm-event__filter-buttons {
  display: flex;
  margin-top: 2rem;
  justify-content: space-between;
}

.adm-event__filter-select-label {
  padding: 0.25rem 0;
}

.adm-event__filter-select-input {
  position: relative;
}

.adm-event__filter-select-input::before {
  background: #FFB300;
  border-bottom: 1px solid #333333;
  border-right: 1px solid #333333;
  border-top: 1px solid #333333;
  content: '\f078';
  color: #000000;
  cursor: pointer;
  ;
  font-family: 'Font Awesome 5 Free';
  font-weight: bold;
  height: 100%;
  padding: 5px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100;
}

.adm-event__filter-select-input:hover::before {
  /* content: '\f077'; */
}

.adm-event__filter-select-input select {
  border: none;
  padding: 0.5rem 0.25rem;
  width: 100%;
}

.adm-event__filter-dropdown-header {
  flex: 0 0 auto;
  position: relative;
  min-height: 75px;
  padding: 1rem;
}

.adm-event__filter-dropdown-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.adm-event__filter-dropdown-header .adm-event__filter-dropdown-header-close {
  background: transparent;
  border: none;
  display: block;
  font-style: normal;
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
}

.adm-event__filter-dropdown-header .adm-event__filter-dropdown-header-close::before {
  display: inline-block;
  font-family: 'Font Awesome 5 Free';
  font-size: 0.8rem;
  font-weight: 400;
  content: '\0058';
  padding: 0.5rem;
}

.adm-event__filter-dropdown-header .adm-event__filter-dropdown-header-close span {
  position: absolute;
  height: 1px;
  width: 1px;
  clip: rect(1px 1px 1px 1px);
  overflow: hidden;
}

.adm-event__filter-dropdown-body {
  flex: 1 1 auto;
  padding: 0 1rem;
  overflow-y: scroll;
}

.adm-event__filter-dropdown-footer {
  flex: 0 0 auto;
  padding: 0.25rem 1rem !important;
}

.adm-event__filter .adm-event__filter-dropdown-footer button[type="submit"] {
  order: 2;
}

.adm-event__filter .adm-event__filter-dropdown-footer button[type="reset"] {
  order: 1;
}

/* html.adm-event__filter-dropdown-open, */
html.adm-event__filter-dropdown-open body {
  overflow: hidden;
  /* height: 100%; */
  min-height: 0;
}

@media (min-width: 768px) {

  .adm-event__filter-toggle {
    display: none !important;
  }

  .adm-event__filter .adm-event__filter-dropdown {
    align-items: stretch;
    background: #000000;
    border: none;
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    position: unset;
  }

  .adm-event__filter-dropdown-header {
    display: none;
  }

  .adm-event__filter-dropdown-body {
    display: flex;
    flex: 0 1 100%;
    flex-direction: row;
    gap: var(--filter--grap);
    overflow: hidden;
  }

  .adm-event__filter-dropdown-body>* {
    align-self: center;
    flex: 0 1 100%;
  }

  .adm-event__filter-dropdown-footer {
    flex: 0 0 auto;
  }

  .adm-event__filter-dropdown .adm-event__filter-buttons {
    gap: var(--filter--grap);
    margin-top: 0;
    /* justify-content: center; */
  }

  .adm-event__filter-dropdown .adm-event__filter-buttons>* {}

  html.adm-event__filter-dropdown-open,
  html.adm-event__filter-dropdown-open body {
    overflow: auto;
    height: auto;
  }

  .adm-event__filter-group {
    margin-bottom: 0;
    margin: 0 !important;
  }

  .adm-event__filter-group>* {
    width: auto;
  }

  .adm-event__filter-group label {

    display: none;
  }

  .adm-event__filter .adm-event__filter-button.adm-event__filter-button-secondary {
    background: #000000 !important;
    color: #FFBA00 !important;
  }
}

/*********************************************************************
  Status
*********************************************************************/

.adm-event__status {
  margin: 2rem auto 0 auto;
  max-width: 750px;
  text-align: center;
}

p.adm-event__status-count {
  max-width: var(--content--width);
  width: 100%;
  font-weight: 700;
  margin: 0.5rem auto 0 auto;
  padding: 0.5rem 0;
}


/*********************************************************************
  Event list/item
*********************************************************************/

.adm-event__list {
  margin: 0 auto;
  /* max-width: 750px; */
  width: 100%
}

.adm-event__list h2 {
  font-weight: 700;
  margin-top: 4rem;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 750px;
}

.adm-event__list h2:first-of-type {
  margin-top: 1rem;
}

.adm-event__item {
  width: 100%;
  margin: 0 auto 1.5rem auto;
  max-width: 750px;
  padding: 0;
  background: #fff;
  border: 4px solid #000000;
  box-shadow: 1px 1px 5px rgb(0 0 0 / 15%);
  padding-bottom: 0.5rem;
  position: relative;
}

.adm-event__item--virtual {
  /* border-color: #555555; */
}

.adm-event__item--virtual .adm-event__item-header {
  /* background-color: #555555; */
}

.adm-event__item-header {
  align-items: center;
  padding: 0.5rem 1.5rem 0.75rem 1.5rem;
  background: black;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  line-height: 1.4;
}

.adm-event__item-header-icon {
  display: none;
  /* width: 100%; */
}

.adm-event__item-header-icon img {
  /* height: auto; */
  object-fit: contain;
  width: 2rem;
}

.adm-event__item-header h3 {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2em;
  margin-bottom: 0.35rem;
  padding-top: 0;
}

.adm-event__item-header h3 span {
  color: var(--cwf-color--gold);
  display: block;
  font-weight: 900;
  text-transform: uppercase;
}

.adm-event__item-header p {
  margin-bottom: 0;
  padding: 0;
}

.adm-event__item dl {
  padding: 1rem 1.5rem 0 1.5rem;
}

.adm-event__item dl dd:first-of-type {
  margin-bottom: 1.4rem;
}

.adm-event__item dl dt {
  position: relative;
  font-size: 1rem;
  text-transform: uppercase;
}

/* .adm-event__item dl dt:before {
    content: "";
    width: 20px;
    height: 12px;
    background: #ffba00;
    display: inline-block;
    position: absolute;
    top: 7px;
    left: 0;
    -webkit-transform: translateX(-27px);
    transform: translateX(-27px);
    -webkit-clip-path: polygon(0 0,100% 0,60.1217926254% 100%,0 100%);
    clip-path: polygon(0 0,100% 0,60.1217926254% 100%,0 100%);
  } */
.adm-event__item .event-link {
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.adm-event__item a.btn {
  text-decoration: none;
  background: #ffba00;
  color: #000;
  padding: 0.25em 0.75em 0.25em 0.75em;
  border-radius: 40px;
  text-transform: uppercase;
  font-size: 1em;
  transition: all 0.3s ease-in-out;
  border: 1px solid transparent;
  margin: 0;
  display: inline-block;
  font-family: "Roboto", san-serif;
  cursor: pointer;
  width: calc(100% - 2rem);
}

.adm-event__item a.btn:focus,
.adm-event__item a.btn:hover {
  background: #000;
  border: 1px solid #ffba00;
  outline: 2px solid #ffba00;
  color: #fff;
}

@media(min-width: 768px) {

  .adm-event__item {
    display: grid;
    grid-template-columns: 100px auto;
  }


  .adm-event__item-header {
    /* padding-left: 5.5rem; */
    flex-direction: row;
    gap: 1.5rem;
    grid-column-start: span 2;
  }

  .adm-event__item-header h3 {
    flex: 0 1 100%;
  }

  .adm-event__item-header-icon {
    display: block;
    padding: 0 0.5rem;
  }

  .adm-event__item-header-icon img {
    width: 4rem;
  }

  .adm-event__item dl {
    display: flex;
    flex-wrap: wrap;
    grid-column-start: 2;
    grid-row-start: 2;
    margin-bottom: 0.25rem;
  }

  .adm-event__item dl dt {
    display: block;
    flex: 0 0 20%;
    padding-right: 1rem;
    text-align: right;
  }

  .adm-event__item dl dd {
    display: block;
    flex: 0 0 80%;
  }

  .adm-event__item dl dd:first-of-type {
    margin-bottom: 0.5rem;
  }

  .adm-event__item .event-link {
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    grid-column-start: 1;
    grid-row-start: 2;
    padding: 1rem;
    /* width: 7rem; */
  }

  .adm-event__item a.btn {
    width: unset;
  }
}

/*********************************************************************
  Event date group
*********************************************************************/

.adm-event__group {
  padding-bottom: 1rem;
  padding-top: 1rem;
}


.adm-event__group:nth-child(odd) {
  /* background: rgba(255, 179, 0, .2); */
}

.adm-event__group>h2 {
  text-align: center;
}

@media (min-width: 768px) {

  .adm-event__group>h2 {
    text-align: left;
  }

}