.accordion > input {
  display: none;
}

.accordion > label {
  position: relative;
  display: block;
  border: 1px solid #ccc;
  cursor: pointer;
  font-size:16px;
  font-weight: bold;
  padding: .5em 1em .5em 1.5em;
   border-radius: 5px;        /* CSS3Ä */
    -webkit-border-radius: 5px;    /* Safari,Google Chromep */
    -moz-border-radius: 5px;   /* Firefoxp */

}
.accordion > label::after {
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  content: '';
  width: 8px;
  height: 8px;
  margin-top: -7px;
  border-top: 1px solid #888;
  border-right: 1px solid #888;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}
.accordion > label::before {
  position: absolute;
  top: .5em;
  left: .5em;
  content: '';
  width: 6px;
  height: -webkit-calc(100% - 1em);
  height: calc(100% - 1em);
  background-color: #ffa050;
  border-radius: 4px;
}

.accordion > div {
  display: none;
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height .2s ease-in-out;
}
.accordion > input:checked + label::after {
  margin-top: -3px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.accordion > input:checked + label + div {
  display: block;
  height: 100%;
}

.accordion > a div {
  position: relative;
  display: block;
  border: 1px solid #ccc;
  cursor: pointer;
  font-size:16px;
  font-weight: bold;
  padding: .5em 1em .5em 1.5em;
   border-radius: 5px;        /* CSS3Ä */
    -webkit-border-radius: 5px;    /* Safari,Google Chromep */
    -moz-border-radius: 5px;   /* Firefoxp */
}
.accordion > a div::after {
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  content: '';
  width: 8px;
  height: 8px;
  margin-top: -7px;
  border-top: 1px solid #888;
  border-right: 1px solid #888;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.accordion > a div::before {
  position: absolute;
  top: .5em;
  left: .5em;
  content: '';
  width: 6px;
  height: -webkit-calc(100% - 1em);
  height: calc(100% - 1em);
  background-color: #3498db;
  border-radius: 4px;
}


.acc > input {
  display: none;
}

.acc > label {
    position: relative;
    padding: .5em .5em .5em 2em;
    font-size:16px;
    z-index: 0;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 5px;        /* CSS3Ä */
    -webkit-border-radius: 5px;    /* Safari,Google Chromep */
    -moz-border-radius: 5px;   /* Firefoxp */
}

.acc > label::after {
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  content: '';
  width: 8px;
  height: 8px;
  margin-top: -7px;
  border-top: 1px solid #888;
  border-right: 1px solid #888;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.acc > label::before {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    z-index: -1;
    width: 100%;
    height: 50%;
    background-color: #eee;
}

.acc > label span::before {
  position: absolute;
  margin-top: -8px;
  top: 50%;
  left: 9px;
  z-index: 1;
  content: '';
  width: 0;
  height: 0;
  border-radius: 50%;        /* CSS3Ä */
  -webkit-border-radius: 50%;    /* Safari,Google Chromep */
  -moz-border-radius: 50%;   /* Firefoxp */
  background: red;
  border: 8px solid transparent;
}
.acc > label span::after {
  position: absolute;
  margin-top: -5px;
  top: 50%;
  left: 14px;
  z-index: 1;
  content: '';
  width: 0;
  height: 0;
  border: 5px solid transparent;        /*top right bottom š§¾» */
  border-left: 8px solid #fff;
}

.acc > div {
  display: none;
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height .2s ease-in-out;
}
.acc > input:checked + label::after {
  margin-top: -3px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.acc > input:checked + label + div {
  display: block;
  height: 100%;
}

.acc > a div {
  position: relative;
  display: block;
  border: 1px solid #ccc;
  cursor: pointer;
  font-size:16px;
  font-weight: bold;
  padding: .5em 1em .5em 1.5em;
   border-radius: 5px;        /* CSS3Ä */
    -webkit-border-radius: 5px;    /* Safari,Google Chromep */
    -moz-border-radius: 5px;   /* Firefoxp */
}
.acc > a div::after {
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  content: '';
  width: 8px;
  height: 8px;
  margin-top: -7px;
  border-top: 1px solid #888;
  border-right: 1px solid #888;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.acc > a div::before {
  position: absolute;
  top: .5em;
  left: .5em;
  content: '';
  width: 6px;
  height: -webkit-calc(100% - 1em);
  height: calc(100% - 1em);
  background-color: #3498db;
  border-radius: 4px;
}
