/* b14cc containers */
.b14cc {
  position: fixed;
  z-index: 50;
  width: 100vw;
  left: 0;
  bottom: 0;
  padding: 30px;
  box-sizing: border-box;
  background-color: #ececec;
  border-top: 1px solid #d8d8d8;
  transform: translateY(100%);
  transition: transform 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940), opacity 100ms cubic-bezier(0.250, 0.460, 0.450, 0.940); /* easeOutQuad */
  pointer-events: none;
}

.b14cc.b14cc--hide {
  display: none;
}

.b14cc.b14cc--show {
  transform: translateY(0%);
  pointer-events: all;
}

.b14cc-description {
  margin-bottom: 1.5em;
}

.b14cc-description {
  width: 60%;
  float: left;
}

.b14cc-description__more {
  display: none;
}

.b14cc-description__more.is-open {
  display: block;
}

.b14cc-description__more--trigger--open {
  display: none;
}

.b14cc-description__more--trigger.is-open .b14cc-description__more--trigger--open {
  display: block;
}

.b14cc-description__more--trigger.is-open .b14cc-description__more--trigger--closed {
  display: none;
}

.b14cc-content {
  width: 100%;
  float: left;
}

.b14cc-groups {
  display: flex;
  margin-bottom: 20px;
}

.b14cc-actions {
  width: 100%;
  float: left;
}

.b14cc-actions > * {
  display: inline-block;
  margin-right: 8px;
}

.b14cc-actions > *:last-child {
  margin-right: 0;
}

.b14cc-group {
  margin-right: 40px;
  width: 33%;
  max-width: 260px;
}

.b14cc-group__content {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 8px;
  padding-bottom: 8px;
  padding-right: 30px;
  border-bottom: 1px solid #e0dddd;
}

.b14cc-group__open {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
}

.b14cc-group__open::after {
  content: '';
  background-image: url('../images/arrow_down.svg');
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  background-size: contain;
  background-repeat: no-repeat;
}

.b14cc-group.is-open .b14cc-group__open::after {
  background-image: url('../images/arrow_up.svg');
}

.b14cc-group__items {
  width: 100%;
  box-sizing: border-box;
  display: none;
}

.b14cc-group.is-open .b14cc-group__items {
  display: block;
}

.b14cc-item {
  margin-bottom: 8px;
}

.b14cc-item:last-child {
  margin-bottom: 0;
}

/* b14cc element styles */
h3,
p {
  margin-top: 0;
}

input[type=button] {
  /* reset */
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  /* style */
  cursor: pointer;
  color: #fff;
  background-color: #a2a2a2;
  padding: 10px 24px;
  transition: background-color 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940), color 500ms cubic-bezier(0.250, 0.460, 0.450, 0.940);
}

.form-checkbox {
  position: absolute;
  opacity: 0;
}

.form-checkbox + label {
  display: inline-block;
  position: relative;
  padding: 0 0 0 30px;
  font-size: 16px;
  line-height: 1.2;
}

.form-checkbox + label::before {
  background-color: #fff;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #ececec;
  width: 16px;
  height: 16px;
  content: '';
}

.form-checkbox + label::after {
  display: block;
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  content: '';
  background-image: url('../images/checkbox.svg');
  background-size: contain;
  opacity: 0;
}

.form-checkbox:checked + label::after {
  opacity: 1;
}

.form-checkbox:disabled + label::before,
.form-checkbox:disabled + label::after {
  -webkit-filter: blur(1px); /* Ch 23+, Saf 6.0+, BB 10.0+ */
  filter: blur(1px);
}

.b14cc-item__description {
  padding-left: 30px;
}

.b14cc-group__description {
  margin-bottom: 8px;
}

.description {
  font-size: 0.75em;
}

@media only screen and (max-width: 540px) {

  .b14cc-description {
    width: 100%;
  }

  .b14cc-groups {
    flex-wrap: wrap;
  }

  .b14cc-group {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
    max-width: none;
  }

  .b14cc-group__items {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .b14cc-actions > * {
    margin-bottom: 10px;
  }

  .b14cc-actions > *:last-child {
    margin-bottom: 0;
  }
}