/* https://codepen.io/redesigned/pen/wvoEvqG */
/* # The Rotating Marker # */
.newaccordion summary::-webkit-details-marker { display: none; }
/**.newaccordion summary::before {
  font-family: "Hiragino Mincho ProN", "Open Sans", sans-serif;
  content: "▶";
  position: absolute;
  top: 1rem;
  left: 0.8rem;
  transform: rotate(0);
  transform-origin: center;
  transition: 0.2s transform ease;
}**/
.newaccordion summary::before {
	font-family: FontAwesome;
  font-size: 1rem;
  /**color: #97A822;**/
  color: #389bd7;
  content: "\f0d7";
  margin-right: 0.625rem;
  transform: rotate(0deg);
  transition: all 0.2s ease-in-out;
  float: right;
}

details.newaccordion[open] > summary:before {
  transform: rotate(180deg);
  transition: 0.45s transform ease;
}

/* # The Sliding Summary # */
details.newaccordion { overflow: hidden; }
details.newaccordion summary {
  position: relative;
  z-index: 10;
}
@keyframes details-show {
  from {
    /**margin-bottom: -80%;**/
    opacity: 0;
    transform: translateY(-100%);
  }
}
details.newaccordion > *:not(summary) {
  /**animation: details-show 500ms ease-in-out;**/
  animation-name: details-show;
  animation-delay: 0s;
  animation-duration: 500ms;
  animation-timing-function: ease-in-out;
  animation-fill-mode: backwards;
  
  position: relative;
  z-index: 1;
  /**transition: all 0.3s ease-in-out;**/
  transition: all 0s ease-in-out,visibility 0s;
  color: transparent;
  overflow: hidden;
}
details.newaccordion[open] > *:not(summary) { color: inherit; }

/* # Style 2 # */
details.style2 summary::before {
  content: "×";
  color: #FFF;
  font-size: 2rem;
  line-height: 1rem;
  transform: rotate(-45deg);
  top: 1.2rem;
  left: 0.5rem;
}
details[open].style2 > summary:before {
  transform: rotate(90deg);
  color: #F00 !important;
  transition: color ease 2s, transform ease 1s;
}

/* # Style 3 # */
details.style3 summary::before {
  content: "›";
  font-size: 2.5rem;
  line-height: 1rem;
  top: 1.3rem;
  left: 0rem;
  margin: -0.5rem -0.5rem 0 0.5rem;
  transform-origin: bottom center;
  transition: margin linear 0.05s;
}
details.style3:hover > summary:before {
  color: #FFF;
}
details[open].style3 > summary:before {
  left: 0rem;
  color: #CCC;
  transform: rotate(90deg);
  margin-left: 0.4rem;
  transition: color ease 2s, transform ease 1s, margin ease 1s;
}
@supports (-webkit-touch-callout: none) {
  details.style3 summary::before { top: 1.6rem; }
  details[open].style3 > summary:before { top: 1.3rem; transition: all 0.8s; }
}

/* # Style 4 # */
details.style4 summary {
  padding-right: 2.2rem;
  padding-left: 1rem;
}
details.style4 summary::before {
  content: "×";
  color: #FFF;
  font-size: 2rem;
  line-height: 1rem;
  transform: rotate(-45deg);
  top: 1.2rem;
  left: unset;
  right: 0.6rem;
}
details[open].style4 > summary:before {
  transform: rotate(90deg);
  color: #F00 !important;
  transition: color ease 2s, transform ease 1s;
}


/* # General Styles # */
details.newaccordion {
  /*max-width: 700px;*/
  box-sizing: border-box;
  /**margin-top: 5px;**/
  background: white;
}
.newaccordion summary {
  /**border: 4px solid transparent;**/
  border-top: 1px solid #e6e6e6;
  /**border-bottom: none;
  font-family: "Apex New Web","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 1.125em;**/
  outline: none;
  /**padding: 1rem;**/
  display: block;
  background: #fff;
  color: black;
  /**padding-right: 2.2rem; **/
  position: relative;
  cursor: pointer;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 26px;
  padding: 20px;
  text-decoration: none;
  font-family: "Apex New", sans-serif;
}
details.newaccordion[open] summary,
summary:hover {
  color: #389bd7;
  background: #e0fcff;
}
details.newaccordion[open] summary {
	border-bottom:none;
	
}
.newaccordion summary:hover strong,
details.newaccordion [open] summary strong,
.newaccordion summary:hover::before,
details.newaccordion[open] summary::before {
  /**color: #0a0a0a;
  background: #f4f8db;**/
  color: #389bd7;
  background: #e0fcff;
  /**background: white;**/
}
.newaccordion .content {
  padding: 10px;
  border-top: 1px solid #e6e6e6;
  /**border-top: none;**/
  color: #0a0a0a;
  /**background: #f4f8db;**/
  background: white;
  /**font-family: "Apex New Web","Helvetica Neue",Helvetica,Arial,sans-serif;**/
}
details:last-child,.newaccordion:last-of-type {
  border-bottom: 1px solid #e6e6e6;	
}
