/**
 * @package     mod_sismosemaillayouthelper  v1.0.0
 *
 * @link        https://simplysmart-it.de
 * @copyright   (C) 2025, SimplySmart-IT - Martina Scholz <https://simplysmart-it.de>. All rights reserved.
 */

code[class*=language-],
pre[class*=language-] {
  max-height: 75vh;
}
code[class*=language-] .token.tag,
pre[class*=language-] .token.tag {
  padding: 0;
}
[slot=code] .sismos-toolbar {
  margin: 1.5rem 0 .25rem;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 1rem;
}
[slot=config] {
  --sismos-lh-config-bg:#fff;
  background-color: var(--sismos-lh-config-bg);
}
[slot=config] .fieldset {
  border: 2.5px solid #ccc;
  margin-bottom: 1.5rem;
  width: 100%;
  padding: 0 2vw 1.15vw;
}
[slot=config] .fieldset legend {
  float: left;
  width: auto;
  padding: 0 1rem;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: .35rem;
  background: var(--sismos-lh-config-bg);
  position: relative;
  bottom: .5rem;
}
[slot=config] .fieldset legend::after {
  content: "";
  display: block;
  clear: both;
}
[slot=config] .fieldset legend + div:not([class*=input-group]) {
  padding-top: 1.5rem;
}
[slot=config] .input-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  -moz-column-gap: 2rem;
  column-gap: 2rem;
}
@media (width >= 460px) {
  [slot=config] .input-group .control-group {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
  }
}
@media (width >= 768px) {
  [slot=config] .input-group {
    grid-template-columns: 1fr 1fr 1fr;
  }
  [slot=config] .input-group .input-group {
    display: revert;
  }
}
@media (width >= 1200px) {
  [slot=config] .input-group {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
[slot=config] .control-group.flex {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: end;
}
[slot=config] .form-control[type=color] {
  width: revert;
  padding: revert;
}
[slot=config] input[type=checkbox] {
  height: 0;
  width: 0;
  visibility: hidden;
}
[slot=config] input[type=checkbox] + label {
  cursor: pointer;
  text-indent: -9999px;
  width: 50px;
  height: 25px;
  background: grey;
  display: block;
  border-radius: 25px;
  position: relative;
}
[slot=config] input[type=checkbox] + label::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1.25px;
  width: 22.5px;
  height: 22.5px;
  background: #fff;
  border-radius: 22.5px;
  transition: .3s;
}
[slot=config] input[type=checkbox] + label :active::after {
  width: 130px;
}
[slot=config] input[type=checkbox]:checked + label {
  background: #5eb32d;
}
[slot=config] input[type=checkbox]:checked + label::after {
  left: calc(100% - 1.25px);
  transform: translateX(-100%);
}
