
.incms-custom-section {
  position:relative;
  isolation: isolate;
  background-color: var(--custom-section-bg-color);
  --section-space-m: calc(var(--section-space) / 1.25);
  background-size: cover;
}
.incms-custom-section table tr > * {
  padding: 4px 0;
}
.incms-custom-section *:last-child:not(hr),
.incms-custom-section :has(> :last-child:is(.incms-desktop-hidden, .incms-mobile-hidden)) > :nth-last-child(2){
  margin-bottom: 0;
}

.incms-custom-section .incms-container.custom-width{
  max-width: var(--custom-width);
}
.section-overlap{
  margin-top: calc(var(--section-overlap) * -1)
}
.incms-custom-section h1,
.incms-custom-section h2,
.incms-custom-section h3,
.incms-custom-section h4,
.incms-custom-section h5,
.incms-custom-section h6,
.incms-form .incms-form-title{
  color: var(--headings-color);
}

[data-colors="custom"].incms-custom-section .incms-form .checkbox.terms-field label,
[data-colors="custom"].incms-custom-section .incms-form .incms-form-item-label,
[data-colors="custom"].incms-custom-section p,
[data-colors="custom"].incms-custom-section li {
  color: var(--text-color);
}

[data-colors="custom"].incms-custom-section .news_item h2 a,
[data-colors="custom"].incms-custom-section p a,
[data-colors="custom"].incms-custom-section .incms-form p a,
[data-colors="custom"].incms-custom-section .incms-form span a,
[data-colors="custom"] .tooltip {
  color: var(--link-color);
}

[data-colors="incms"].incms-custom-section h1,
[data-colors="incms"].incms-custom-section h2,
[data-colors="incms"].incms-custom-section h3,
[data-colors="incms"].incms-custom-section h4,
[data-colors="incms"].incms-custom-section h5,
[data-colors="incms"].incms-custom-section h6,
[data-colors="incms"].incms-custom-section p,
[data-colors="incms"].incms-custom-section li,
[data-colors="incms"].incms-custom-section .incms-form .checkbox.terms-field label,
[data-colors="incms"].incms-custom-section .incms-form .incms-form-item-label {
  color: var(--incms-text);
}
[data-colors="incms"].incms-custom-section :is(h1,h2,h3,h4,h5,h6) {
  color: var(--theme-heading, var(--incms-text));
}

@media screen and (min-width: 769px){
  .onecol #main .ym-cbox > .incms-custom-section:first-child{
    padding-top: calc(var(--incms-hero-correction, 0px) + var(--section-space-top)) !important;
  }
}
@media screen and (max-width: 768px){
  .onecol #main .ym-cbox > .incms-custom-section:first-child{
    padding-top: calc(var(--incms-hero-correction, 0px) + var(--section-space-top-m)) !important;
  }
}

.incms-custom-section.custom-height{
  display: flex;
  align-items: center;
  min-height: var(--custom-height);
}
.incms-custom-section.fullheight{
  display: flex;
  align-items: center;
}
.incms-custom-section.fullheight {
  min-height: 100svh;
}
.incms-section-overlay,
.incms-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}
.incms-custom-section[style*="--section-space-bottom: 0px;"] .incms-container .ym-grid:last-child .media-single-image:last-child figure > img {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.incms-parallax.parallax-animation {
  background-size: cover;
  background-position: center calc(50% + var(--parallax-distance, 0px));
}
.incms-parallax.parallax-animation:before {
  display: none;
}

video.incms-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.incms-custom-section ul.pager {
  --pager-size:      2.25em;
  --pager-gap:       0.375em;
  --pager-radius:    var(--incms-radius-sm, 5px);
  --pager-ink:       var(--incms-text);
  --pager-accent:    var(--incms-primary);
  --pager-on-accent: var(--incms-primary-text);
  --pager-line:      rgba(0, 0, 0, 0.2);
  --pager-line:      rgb(from var(--pager-ink) r g b / 0.25);
  --pager-muted:     rgba(0, 0, 0, 0.5);
  --pager-muted:     rgb(from var(--pager-ink) r g b / 0.55);
  --pager-fill:      rgba(0, 0, 0, 0.06);
  --pager-fill:      rgb(from var(--pager-ink) r g b / 0.07);
}

[data-colors="custom"].incms-custom-section ul.pager {
  --pager-ink:       var(--text-color);
  --pager-accent:    var(--link-color);
  --pager-on-accent: var(--custom-section-bg-color, #fff);
}


[data-colors="incms"][data-theme="primary"].incms-custom-section ul.pager,
[data-colors="incms"][data-theme="secondary"].incms-custom-section ul.pager,
[data-colors="incms"][data-theme="accent"].incms-custom-section ul.pager {
  --pager-accent:    var(--incms-text);
  --pager-on-accent: var(--incms-background);
}

.incms-custom-section ul.pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--pager-gap);
  float: none;
  margin: 0;
  margin-left: 0;
  padding: 20px 0 0;
  list-style: none;
}

.incms-custom-section ul.pager li {
  display: block;
  float: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.incms-custom-section ul.pager li.page.placeholder,
.incms-custom-section ul.pager li a,
.incms-custom-section ul.pager li.current {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  float: none;
  width: var(--pager-size);
  height: var(--pager-size);
  padding: 0;
  line-height: 1;
  text-decoration: none;
  border: 1px solid var(--pager-line);
  border-left-width: 1px;
  border-radius: var(--pager-radius);
  color: var(--pager-ink);
  background-color: transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.incms-custom-section ul.pager li.page.placeholder {
    display: flex;
}


.incms-custom-section ul.pager li a:hover,
.incms-custom-section ul.pager li a:focus {
  color: var(--pager-on-accent);
  background-color: var(--pager-accent);
  border-color: var(--pager-accent);
  text-decoration: none;
}

.incms-custom-section ul.pager li.active a,
.incms-custom-section ul.pager li.active a:hover,
.incms-custom-section ul.pager li.active a:focus {
  color: var(--pager-on-accent);
  background-color: var(--pager-accent);
  border-color: var(--pager-accent);
  cursor: default;
}

.incms-custom-section ul.pager li.current {
  color: var(--pager-muted);
  background-color: var(--pager-fill);
  cursor: default;
}

.incms-custom-section ul.pager li.disabled a {
  color: var(--pager-muted);
  opacity: 0.6;
  pointer-events: none;
}

.incms-custom-section {
	--custom-height: 700px;
}
.incms-custom-section-bg-img {
	background-position-x: center;
	background-position-y: center;
}


