
@mixin font-size {
  font-size: font-size(caption);
  font-weight: font-weight(bold);
}
.accordionItem {
  transition: height 0.3s ease-in-out 0s;
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
  background: #fff;
  margin: 1.2rem!important;
  border-radius: .2rem;
  width: calc(100% - 24px);
}

.accordionItem { 
  > .header {
    width: 100%;
    font-size: font-size(caption);
    font-weight: font-weight(bold);
    padding: 1rem 1.2rem;
    position: relative;
    display: flex;
    justify-content: space-between;

    .AccordianIcon {
      float:right;
      transform: rotate(0deg);
      transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
    }

    &.active {
      .AccordianIcon {
        transform: rotate(180deg);
        transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
      }
    }
  }
  > .body {
    padding: 1rem;
    opacity: 1;
    overflow-y: hidden;
    overflow-x: auto;
    transition: all 0.2s;
  }
  > .bodyCollapsed {
    height: 0;
    opacity: 0;
    transition: all 0.2s;
  }
}

.accordionItem label {
  margin-bottom: 0
}