@charset "UTF-8";

.rich-text .tabs {
  overflow: hidden;
  margin: 20px 0px;
}

.rich-text .tab {
  width: 100%;
  overflow: hidden;
  border-top: 2px solid #ddd;
  padding-top: 10px;
}

.rich-text .tab-label {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 18px;
  padding: 10px 0px;
  font-weight: bold;
  cursor: pointer;
  /* Icon */
}

.rich-text .tab-label::after {
  content: "\276F";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}

.rich-text .tab-content {
  max-height: 0;
  height: 0;
  font-size: 16px;
  color: #2c3e50;
  background: white;
  transition: all 0.35s;
}

.rich-text .tab-content p {
  font-size: 16px;
}

.rich-text .tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #2c3e50;
  cursor: pointer;
}

.rich-text .tab-close:hover {
  background: #1a252f;
}

.rich-text .tab input[type=radio],
.rich-text .tab input[type=checkbox] {
  display: none;
}

.rich-text input:checked + .tab-label::after {
  transform: rotate(90deg);
}

.rich-text input:checked ~ .tab-content {
  max-height: 1000vh;
  height: auto;
}

