body,form,figure{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}.ce_gallery>ul,.content-gallery>ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery>ul li,.content-gallery>ul li{float:left}.ce_gallery>ul li.col_first,.content-gallery>ul li.col_first{clear:left}.float_left,.media--left>figure{float:left}.float_right,.media--right>figure{float:right}.block{overflow:hidden}.media{display:flow-root}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.custom{display:block}#container:after,.custom:after{content:"";display:table;clear:both}
@media (max-width:767px){#wrapper{margin:0;width:auto}#container{padding-left:0;padding-right:0}#main,#left,#right{float:none;width:auto}#left{right:0;margin-left:0}#right{margin-right:0}}img{max-width:100%;height:auto}.audio_container audio{max-width:100%}.video_container video{max-width:100%;height:auto}.aspect,.responsive{position:relative;height:0}.aspect iframe,.responsive iframe{position:absolute;top:0;left:0;width:100%;height:100%}.aspect--16\:9,.responsive.ratio-169{padding-bottom:56.25%}.aspect--16\:10,.responsive.ratio-1610{padding-bottom:62.5%}.aspect--21\:9,.responsive.ratio-219{padding-bottom:42.8571%}.aspect--4\:3,.responsive.ratio-43{padding-bottom:75%}.aspect--3\:2,.responsive.ratio-32{padding-bottom:66.6666%}.aspect--9\:16,.responsive.ratio-916{padding-bottom:177.7777%}.aspect--1\:1,.responsive.ratio-11{padding-bottom:100%}
/* Tabler Icon Picker – Nothacker Backend */

.tabler-icon-picker-field {
  width: 100%;
}

.tabler-icon-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.tabler-icon-picker__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  background: #f8fbf7;
  color: #153b1a;
  font-size: 22px;
  border: 1px solid #f0e5c8;
}

.tabler-icon-picker__input {
  flex: 1 1 160px;
  min-width: 0;
}

.tabler-icon-picker__trigger {
  flex: 0 0 auto;
  white-space: nowrap;
  margin: 0;
  padding: 6px 14px;
  height: auto;
  min-height: 36px;
  border-radius: 10px;
  cursor: pointer;
}

/* RSCE-Listen: volle Breite unter dem Label */
.widget .tabler-icon-picker-field,
.rsce_field .tabler-icon-picker-field {
  max-width: 100%;
}

.tabler-icon-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
}

.tabler-icon-picker-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 9, 0.55);
}

.tabler-icon-picker-modal__dialog {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(20, 15, 9, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tabler-icon-picker-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #ece3d4;
  background: #f5f2e8;
}

.tabler-icon-picker-modal__header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #401f0a;
}

.tabler-icon-picker-modal__close {
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #7a6f60;
}

.tabler-icon-picker-modal__search {
  padding: 12px 20px;
  border-bottom: 1px solid #ece3d4;
  background: #fff;
}

.tabler-icon-picker-modal__search .tl_text {
  width: 100%;
}

.tabler-icon-picker-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 8px;
  padding: 16px 20px;
  overflow: auto;
  min-height: 200px;
  max-height: min(60vh, 560px);
}

.tabler-icon-picker-modal__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid #ece3d4;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  line-height: 1.25;
  color: #4a4034;
  min-height: 88px;
}

.tabler-icon-picker-modal__item:hover,
.tabler-icon-picker-modal__item:focus {
  border-color: #153b1a;
  background: #f8f4eb;
  outline: none;
}

.tabler-icon-picker-modal__item i {
  font-size: 24px;
  color: #153b1a;
}

.tabler-icon-picker-modal__item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.tabler-icon-picker-modal__hint {
  margin: 0;
  padding: 0 20px 16px;
  font-size: 12px;
  color: #7a6f60;
}

/* RSCE-Listen: letztes Feld nicht am Kartenrand kleben */
.rsce_list_item {
  padding-bottom: 32px !important;
}

.rsce_list_item > .widget:last-child,
.rsce_list_item > fieldset.widget:last-child {
  margin-bottom: 20px !important;
  padding-bottom: 14px !important;
}

.rsce_list_item > .widget.widget-checkbox:last-child,
.rsce_list_item > .widget:has(.tl_checkbox_single_container):last-child {
  margin-bottom: 24px !important;
  padding-bottom: 18px !important;
}

.rsce_list_item > .widget:last-child .tl_help {
  display: block;
  margin-bottom: 10px !important;
  padding-bottom: 4px;
}

/* Nothacker – Hintergrundfarbe mit Vorschau */

.nh-bg-select {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

.nh-bg-select__swatch {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  background-color: transparent;
  background-image: none;
}

.nh-bg-select__swatch--empty {
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #ddd 25%, transparent 25%),
    linear-gradient(-45deg, #ddd 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #ddd 75%),
    linear-gradient(-45deg, transparent 75%, #ddd 75%);
  background-size: 10px 10px;
  background-position: 0 0, 0 5px, 5px -5px, -5px 0;
}

.nh-bg-select__field {
  flex: 1 1 auto;
  min-width: 0;
}

.nh-bg-select__field .tl_select_wrapper,
.nh-bg-select__field .choices,
.nh-bg-select__field select {
  width: 100%;
  max-width: 100%;
}

