/* Style the buttons that are used to open and close the accordion panel */
button.accordion {
  color: #202020;
  cursor: pointer;
  padding: 18px 36px 18px 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  background: none;
  font-size: 1rem;
}

.accordian-group {
  border-width: 1px 0px 0px 0px;
  border-style: solid;
  border-color: #C2C2C2;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button.accordion.active,
button.accordion:hover {
  color: #58BC81;
}

/* Style the accordion panel. Note: hidden by default */
div.panel {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion {
  position: relative;
}

.accordion::after {
  content: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6%2010L11.2929%2015.2929C11.6834%2015.6834%2012.3166%2015.6834%2012.7071%2015.2929L18%2010%22%20stroke%3D%22%2358BC81%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  position: absolute;
  right: 10px;
  /* adjust as needed */
  top: 50%;
  transform: translateY(-50%);
}

.accordion.active::after {
  content: url("data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M6%2014L11.2929%208.70711C11.6834%208.31658%2012.3166%208.31658%2012.7071%208.70711L18%2014%22%20stroke%3D%22%2358BC81%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%2F%3E%3C%2Fsvg%3E");
}

@media only screen and (max-width: 767px) {
  button.accordion {
    font-size: 1rem;
  }
}