/**
 * @file
 * Views Vanilla JacaScript Accordion.
 *
 * Filename:     vvja.css
 * Website:      https://www.flashwebcenter.com
 * Developer:    Alaa Haddad https://www.alaahaddad.com.
 */
.vvj-accordion .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.vvja-hidden {
  display: none!important;
}

.vvj-accordion,
.vvj-accordion * {
  box-sizing: border-box;
}

.vvj-accordion,
.vvj-accordion .view-content {
  width: 100%;
  min-width: 100%;
  display: block !important;
}

.vvja {
  overflow: hidden;
}

.vvja .vvja-pane {
  transition: max-height var(--transition-speed), padding var(--transition-speed);
}

/* Basic layout for accordion items and their panes */
.vvja .vvja-inner {
  display: grid;
  width: 100%;
}

.vvja .vvja-item {
  display: grid;
  width: 100%;
}

/* Style for accordion buttons */
.vvja .vvja-button {
  display: flex;
  width: 100%;
  flex-grow: 1;
  white-space: initial;
  cursor: pointer;
  z-index: 1;
  text-align: left;
  margin: 0;
  font-weight: normal;
  height: auto;
}

/* Accordion pane styles to manage open/close */
.vvja .opened .vvja-pane {
  max-height: none;
}

.vvja .closed .vvja-pane {
  max-height: 0;
  padding: 0;
  overflow: hidden;
}

/* Style for toggle indicators */
.vvja .single-toggle svg,
.vvja .group-toggle svg {
  width: 2rem;
  height: 2rem;
}

.single-toggle,
.single-toggle span,
.global-toggle .group-toggle,
.global-toggle .group-toggle span {
  display: flex;
  align-items: start;
  justify-content: center;
}

.vvja .vvja-button > .single-toggle {
  margin-left: auto;
  padding-left: 12px;
}

.vvja .global-toggle {
  justify-content: end;
  align-items: center;
  display: flex;
  flex-grow: 1;
}

.global-toggle .b-minus,
.global-toggle .b-plus,
.single-toggle .b-plus,
.single-toggle .b-minus {
  opacity: 1;
  width: auto;
  transform: scale(1.1);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: auto;
}

.global-toggle .b-minus.hidden,
.global-toggle .b-plus.hidden,
.single-toggle .b-minus.hidden,
.single-toggle .b-plus.hidden {
  opacity: 0;
  width: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

/* For exapnded cards */
.vvja.max-w .vvja-inner {
  grid-template-columns: repeat(auto-fill, minmax(calc(var(--box-width) * 1px), 1fr));
}

.vvja.global-toggle-on.max-w .vvja-inner >:first-child {
  grid-column: 1 / -1;
}

.vvja.max-w .vvja-item {
  display: block;
}

@media (max-width:35.99875rem) {
  .vvja.max-w .vvja-inner {
    grid-template-columns: 1fr;
  }

}

/* Animate Accordion */
.a-fade {
  animation: opac 0.8s ease-out;
}

@keyframes opac {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }

}

.a-top {
  position: relative;
  animation: animatetop 0.6s ease-out;
}

@keyframes animatetop {
  from {
    top: -100px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }

}

.a-left {
  position: relative;
  animation: animateleft 0.6s ease-out;
}

@keyframes animateleft {
  from {
    left: -100px;
    opacity: 0;
  }

  to {
    left: 0;
    opacity: 1;
  }

}

.a-right {
  position: relative;
  animation: animateright 0.6s ease-out;
}

@keyframes animateright {
  from {
    right: -100px;
    opacity: 0;
  }

  to {
    right: 0;
    opacity: 1;
  }

}

.a-bottom {
  position: relative;
  animation: animatebottom 0.6s ease-out;
}

@keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }

  to {
    bottom: 0;
    opacity: 1;
  }

}

.a-zoom {
  animation: animatezoom 0.6s ease-out;
}

@keyframes animatezoom {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1.05);
  }

}
