/* Style the buttons that are used to open and close the accordion panel */
.accordion-legal {
  color: #e9622e;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  margin-bottom: 30px;
}
#my-title {
  padding: 10px;
  background-color: #e3e3e3;
}
#my-title h5 {
  padding-right: 50px;
  margin: 10px 0;
  position: relative;
}

#my-title h5:before, #my-title h5:after {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 2px;
  right: 18px;
  background-color: #e9622e;
  top: 50%;
  margin-top: -1px;
}
#my-title h5:before {
  transform: rotate(90deg);
  transition: transform .2s linear .2s;
}
#my-title h5:after {
  transform: rotate(180deg);
  transition: transform .4s linear;
}

.accordion-legal.active #my-title h5:before,
.accordion-legal.active #my-title h5:after {
  transform: rotate(0deg);
}

/* 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-legal.active, button.accordion-legal:hover {
  background-color: #004463;
}
/* Style the accordion panel. Note: hidden by default */
div.panel-1 {
  padding: 20px 18px 0;
  background-color: #f1f1f1;
  display: none;
  width: 100%;
}
/* The "show" class is added to the accordion panel when the user clicks on one of the buttons. This will show the panel content */
div.panel-1.show {
  display: block;
  background-color: #f1f1f1;
}
