/* -------------------------------- 
inCMS Framework v1.15.0  - Start
TODO: Transparent bg (rgb(from var(--color) r g b / var(--opacity)))
-------------------------------- */
/* Legacy Reset */
.ym-cbox,.footer,#main,.footerbottom {padding: 0}
.onecol .ym-column,.header_wrap,.footer_wrap,.footerbottom {max-width: 100% !important}
*{box-sizing: border-box;float:none}
.twocols .ym-column, .threecols .ym-column{display:flex; gap: var(--legacy-grid-gap,20px)}
.ym-col2 .ym-cbox,
.ym-col3 .ym-cbox {padding: 0 !important;}
.threecols #main, .twocols #main {padding-top: 20px;}
.ym-col1,
.ym-col2,
.ym-col3 {float: none !important;margin: 0 !important;}
.twocols .ym-col3,
.threecols .ym-col2 {order: -1}
.twocols.right .ym-col3,
.threecols .ym-col3 {order: 2}
.header {float:none}
.ym-column:before,
.ym-column:after,
.ym-cbox:before,
.ym-cbox:after,
.ym-wbox > nav#nav,
#nav:after,
#nav .ym-hlist:after{display: none;}

/* HEADER */
.view-normal .header,
.view-normal .header:has(.header-normal) {
  position: relative;
  z-index: 3;
}
.view-normal header.header.header-sticky,
.view-normal .header:has(.header-sticky) {
  position: sticky;
  top: 0;
  z-index: 99;
}
.view-normal header.header.header-fixed,
.view-normal .header:has(.header-fixed) {
  width:100%;
  position: fixed;
  top: 0;
  z-index: 99;
}


/* Legacy Navigation : New SVG Flags */
.lang-list ul{
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 7px;
}
.lang-list ul li {margin: 0 !important}
.lang-list ul li.active {display: none}

#menulangtop li.flag a,
.lang-list ul li.flag a {
  background-repeat: no-repeat !important;
  background-position: center !important;
  aspect-ratio: 4/3;
  padding: 0.5em 0 !important;
  box-sizing: border-box;
  height:16px;
  background-size:auto;
  display:block;
}
#menulangtop li.flag_text a,
.lang-list ul li.flag_text a {
  background-repeat: no-repeat !important;
  background-position: left center !important;
  display: flex;
  gap: 5px;
  background-size: 0;
  align-items: center;
}
#menulangtop li.flag_text a:before,
.lang-list ul li.flag_text a:before {
  content: '';
  background: inherit;
  background-repeat: no-repeat !important;
  background-position: center !important;
  aspect-ratio: 4 / 3;
  padding: 0.5em 0 !important;
  box-sizing: border-box;
  height: 16px;
  display: block;
  background-size: auto;
}
#menulangbottom li.flag a {
  padding-left: 20px;
  background-position: center;
}
/* Legacy Grid Reset */
.ym-grid{
  column-gap: var(--legacy-grid-gap,20px);
  display: flex;
  flex-direction:column;
}
@media screen and (min-width: 769px){
  .ym-grid{
    flex-direction:row;
  }
}
.ym-grid > div {
  padding: 0;
  flex-grow: 1;
}
/* SmartElement List Fix */
.module-actions-top .toggle:hover > div {
  max-height: 440px;
  overflow-y: auto;
}
/* Subnavigation */
.ym-vlist li a, .ym-vlist li strong, .ym-vlist li span {
  width: 100%;
  padding: calc(var(--container-space)/2) var(--container-space);
}

/* Legacy Space Corrections */
.view-normal #main:has(.ym-col3) {
  padding-top: calc(var(--incms-hero-correction, 0px) + var(--legacy-grid-gap,20px)) !important;
}
.view-normal #main:has(.ym-col3) > * {
  --incms-hero-correction: 0;
}
.view-normal .ym-cbox > .incms-chatbot-section:first-of-type,
.view-normal .ym-cbox > iframe:first-child {
  padding-top: calc(var(--incms-hero-correction, 0px)) !important;
}
/* Colors */
.bg-white {background: white !important;}
.view-edit,
.view-normal{
  --core-incms-text: var(--incms-text);
  --core-incms-background: var(--incms-background);
  --core-incms-primary: var(--incms-primary);
  --core-incms-primary-text: var(--incms-primary-text);
  --core-incms-accent: var(--incms-accent);
  --core-incms-accent-text: var(--incms-accent-text);
}
.view-edit,
.view-normal{
  --incms-secondary: var(--incms-text);
  --incms-secondary-text: var(--incms-background);
}
.view-normal ::selection {
  color: var(--incms-background);
  background: var(--incms-accent);
}
[data-colors="incms"][data-theme="primary"]{
  --incms-background: var(--incms-primary);
  --incms-text: var(--incms-primary-text);
}
[data-colors="incms"][data-theme="secondary"]{
  --incms-background: var(--incms-secondary);
  --incms-text: var(--incms-secondary-text);
}
[data-colors="incms"][data-theme="accent"]{
  --incms-background: var(--incms-accent);
  --incms-text: var(--incms-accent-text);
}

[data-colors="incms"] .ym-hlist ul > li > a {
  color: var(--incms-text);
}
[data-colors="incms"] .ym-hlist ul > li > a.active,
[data-colors="incms"] .ym-hlist ul > li > a:focus,
[data-colors="incms"] .ym-hlist ul > li > a:hover,
[data-colors="incms"] .ym-hlist ul > li > a:active,
[data-colors="incms"] .ym-hlist ul > li > a.active:hover{
  color: var(--incms-primary);
  background: inherit;
}
[data-colors="incms"][data-theme="primary"] .ym-hlist ul > li > a.active,
[data-colors="incms"][data-theme="primary"] .ym-hlist ul > li > a:focus,
[data-colors="incms"][data-theme="primary"] .ym-hlist ul > li > a:hover,
[data-colors="incms"][data-theme="primary"] .ym-hlist ul > li > a:active,
[data-colors="incms"][data-theme="primary"] .ym-hlist ul > li > a.active:hover{
  color: var(--incms-accent);
  background: inherit;
}
/* Blend Mode */
[data-blend-mode="multiply"]{mix-blend-mode: multiply;}
[data-blend-mode="overlay"]{mix-blend-mode: overlay;}
/* Globals */
body {
  background: var(--incms-background);
  touch-action: pan-x pan-y;
  font-family: var(--text-ff, sans-serif);
}
.border-box {
  box-sizing: border-box
}
.h100 {
  height:100%
}
a[name] {
  top: calc(-1 * var(--incms-anchor-correction));
  position: relative;
  display: block
}
hr {
  margin: 0 0 1.618em 0;
  padding: 0 0 1.618em 0;
}
/* Typography */
a,p,h1,h2,h3{
  word-wrap:break-word;
}
p:has(span[style^="font-size"]) {
  line-height: normal;
}
strong, b{
  font-weight: 600;
}
p:last-child {
  margin-bottom: 0;
}
#tinymce * {
  color: inherit;
}
/* Breadcrumbs */
.breadcrumbs-list p{margin:0}

/* Links */
[data-colors="incms"] h1 a,
[data-colors="incms"] h2 a,
[data-colors="incms"] h3 a,
[data-colors="incms"] h4 a,
[data-colors="incms"] h5 a,
[data-colors="incms"] h6 a,
[data-colors="incms"] p a,
[data-colors="incms"] .incms-form p a,
[data-colors="incms"] .incms-form span a,
[data-colors="incms"] .tooltip{
  color: var(--incms-primary);
  background-color: transparent;
  position: relative;
  /*transition: color .3s ease;*/
}
[data-colors="incms"][data-theme="primary"] p a,
[data-colors="incms"][data-theme="primary"] .incms-form a,
[data-colors="incms"][data-theme="primary"] .tooltip{
  color: var(--incms-accent);
}
a:focus-visible,
button:focus-visible {
  outline: 1px dashed var(--incms-text,--text-color) !important;
  outline-offset: 2px;
}
[data-colors] p a {
  background-repeat: no-repeat;
  will-change: background-size;
  transition: background-size .3s var(--ease-in-out);
  text-decoration: none;
  background-size: 0% 100%;
  background-image: linear-gradient(transparent 93%, currentColor 93%);
}

[data-colors] p a:hover {
  background-size: 100% 100%;
}

/* Box Shadow */
.box-shadow-0{box-shadow: none}
.box-shadow-sm{box-shadow: 0 0 2px rgb(0 0 0 / 25%)}
.box-shadow-md{box-shadow: 0 0 5px rgb(0 0 0 / 25%)}
.box-shadow-lg{box-shadow: 0 0 10px rgb(0 0 0 / 35%)}

.box-shadow-sm--bottom{box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1)}
.box-shadow-md--bottom{box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1)}
.box-shadow-lg--bottom{box-shadow: 0 5px 0 rgba(0, 0, 0, 0.1)}


/* Image Shadow */
.img-shadow-none {box-shadow: none}
.img-shadow-sm {box-shadow: 0 0 10px rgb(0 0 0 / 15%)}
.img-shadow-md {box-shadow: 0 0 24px rgb(0 0 0 / 20%)}
.img-shadow-lg {box-shadow: 0 0 48px rgb(0 0 0 / 25%)}

/* Flex Alignment */
.jc-center{justify-content: center}
.jc-between{justify-content: space-between}
.jc-end{justify-content: end}
.ai-center{align-items:center}

/* Flexbox */
.flex-column{flex-direction:column}
.flex-column-reverse{flex-direction:column-reverse}
.flex-row{flex-direction:row}

@media screen and (min-width: 769px){
  .d-jc-between{justify-content: space-between}
  .flex-revert,.flex-reverse{flex-direction: row-reverse}
  .flex-column-reverse-desktop{flex-direction:column-reverse}
}

@media screen and (max-width: 768px){
  .flex-reverse-mobile{
    flex-direction: column-reverse;
  }
  .gap-xl{
    --gap: var(--space-lg)
  }
  .jc-center{
    justify-content: normal;
    align-items:center;
  }
  .ai-center{
    /* align-items:normal; */
    /* justify-content: center; */
  }
  .m-flex-column{
    flex-direction:column;
  }
}

/* Background */
.incms-parallax{
  isolation: isolate;
  background-position: -99999px -99999px;
  clip-path: inset(0 0 0 0);
}
.incms-parallax:before {
  content: '';
  background-image: inherit;
  position: fixed;
  inset: 0;
  /*top: 0;*/
  /*left: 0;*/
  /*height: 100vh;*/
  /*width: 100%;*/
  background-size: inherit;
  background-position: center calc(50% + var(--parallax-distance, 0px));
  z-index: -1;
}
.bg-cover {
  background-size: cover;
}

/* Border */


/* Border Radius */
:root{
  --incms-radius-sm: 5px;
  --incms-radius-md: 10px;
  --incms-radius-lg: 15px;
  --incms-radius-circle: 50em;
}
.border-circle{
  border-radius: var(--incms-radius-circle);
}
/* Pointer Events */
.pointer-none{pointer-events:none}
/* Cursor */
.cursor-pointer{cursor: pointer}
/* Display */
.flex{display:flex}
.block{display:block}
.is-hidden{display:none!important;}
/* Float */
/* Font Family */
/* Font Size */
/* Font Style */
/* Font Weight */
/* Gap */
/* Justify Content */
/* Letter Spacing */

/* Line Height */
/* Mix-Blend-Mode */
/* Object Fit */
.object-cover {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Opacity */
/* Order */
.order-0{order:0}
.order-1{order:1}
.order-2{order:2}
.order-3{order:3}
.order-4{order:4}

/* Overflow */
.of-hidden{overflow:hidden}

/* Position */
.position-relative{
  position: relative;
}
.position-absolute{
  position: absolute;
}
.position-sticky{
  position: sticky;
}

/* Scroll Behavior */
/* SVG */
svg.svg-icon{
  transition: fill .2s,transform .2s,-webkit-transform .2s;
  fill: currentColor;
  width: 1em;
  pointer-events: none;
}
svg.svg-icon.icon-sm {
  width: 1.5em
}
svg.svg-icon.icon-md {
  width: 2em;
}
svg.svg-icon.icon-lg {
  width: 2.5em;
}
/* Text */
ul.sitemap, ul li, ol li {
  margin-bottom: 0.618em;
}
.rich-text {
  font-family: var(--text-ff);
  /* font-size: var(--text-fs); */
  color: var(--incms-text);
  line-height: var(--text-lh);
}
.rich-text p {
  /* font-size: 100%; */
}
.rich-text ul,
.rich-text ol {
  /* font-size: 100%; */
  color: var(--incms-text);
  margin-left: 0.75em;
}
.rich-text li {
  /* font-size: 100%; */
  position:relative;
  /*display: block;*/
}
.rich-text li:before {
  /*content: '';*/
  /*width: 8px;*/
  /*height: 8px;*/
  /*position: absolute;*/
  /*background: var(--incms-primary);*/
  /*border-radius: 50%;*/
  /*top: 7px;*/
  /*left: -18px;*/
}
section header li::marker,
.rich-text ::marker{
  color: currentColor;
  font-size:120%;
  line-height:100%;
}
section header ol li::marker,
.rich-text ol ::marker{
  font-size: inherit;
}
.rich-text li ~ li{
  /*margin-top: .25em;*/
}
.rich-text .incms-form-element {color: #222}
/* Text Align */
.text-center{
  text-align: center;
}
@media screen and (max-width: 768px){
  .m-text-center{
    text-align:center;
  }
  .m-text-left{
    text-align:left;
  }
}
/* Text Decoration */
.text-gradient,
gr{
  background-image: linear-gradient(120deg, var(--incms-primary), var(--incms-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-colors="incms"][data-theme="accent"] text-gradient,
[data-colors="incms"][data-theme="accent"] gr {
  background-image: linear-gradient(120deg, var(--incms-primary), var(--incms-primary));
}
[data-colors="incms"][data-theme="primary"] text-gradient,
[data-colors="incms"][data-theme="primary"] gr {
  background-image: linear-gradient(120deg, var(--incms-accent), var(--incms-accent));
}
/* Text Shadow */
/* Text Transform */
.text-uppercase{
  text-transform: uppercase;
}
.text-balance{
  text-wrap: balance
}
/* Animations */
:root{
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
  --ease-in: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}
.view-normal [data-animate="true"] .fade-in-up,
.view-normal [data-animate="true"] .fade-in-down{
  will-change: transform, opacity;
  opacity: 0;
  transition: all 1s var(--ease-out);
  transition-delay: 0.3s;
  filter: blur(10px);
}
.view-normal [data-animate="true"] .fade-in-up {transform: translateY(100px)}
.view-normal [data-animate="true"] .fade-in-down {transform: translateY(-30px)}

[data-animate="true"] .fade-in-down.animate,
[data-animate="true"] .fade-in-up.animate{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
/* Transform */
/* User Select */
/* Visibility */
/* White Space */
/* Width */
/* Z-Index */
/* Forms */
button[type="submit"] span.fa {
  letter-spacing: -.25em;
}
/* Spacing */
/* Helpers */
.reset{
  background-color: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  line-height: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.text-info {
  display: block;
  background: var(--core-incms-background, var(--incms-background, rgba(0, 0, 0, 0.05)));
  color: var(--core-incms-text, var(--incms-text, #081d27));
  padding: 1.75em 2.25em;
  border-left: 4px solid var(--text-info-border, #000000);
  margin: 1.75em 0 !important;
}

[data-colors="incms"][data-theme="normal"] .text-info {
  border-left-color: var(--core-incms-primary, var(--incms-primary));
  background: rgba(0, 0, 0, 0.05);
  background: rgb(from var(--core-incms-text, var(--incms-text)) r g b / 0.05);
}

[data-colors="incms"][data-theme="classic"] .text-info {
  border-left-color: var(--core-incms-primary, var(--incms-primary));
  background: var(--core-incms-background, var(--incms-background));
}

[data-colors="incms"][data-theme="primary"] .text-info,
[data-colors="incms"][data-theme="secondary"] .text-info,
[data-colors="incms"][data-theme="accent"] .text-info {
  background: rgba(255, 255, 255, 0.85);
  background: rgb(from var(--incms-text) r g b / 0.85);
}

[data-colors="incms"][data-theme="primary"] .text-info {
  border-left-color: var(--core-incms-accent, var(--incms-accent));
}

[data-colors="incms"][data-theme="secondary"] .text-info,
[data-colors="incms"][data-theme="accent"] .text-info {
  border-left-color: var(--core-incms-primary, var(--incms-primary));
}
/* Footer Vertical Menu */
.text-footer-menu{}
ul:has(.text-footer-menu) {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

ul:has(.text-footer-menu) li {
  margin: 0 0 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--incms-text) 10%, transparent);
  padding-bottom: 8px;
}

.text-footer-menu a {
  background-repeat: no-repeat;
  will-change: background-size;
  transition: background-size .3s var(--ease-in-out);
  text-decoration: none;
  background-size: 0% 100%;
  background-image: linear-gradient(transparent 93%, currentColor 93%);
  color: #fff;
}

.text-footer-menu a:hover {
  background-size: 100% 100%;
}

/* Popup Module Fix */
#fancybox-overlay {
  background-color: var(--incms-text) !important;
}

#fancybox-wrap {
  box-sizing: content-box;
}
#fancybox-wrap:has([id*=popup]){
  position: fixed !important;
  max-width: var(--popup-module-width);
  width: calc(100% - 40px) !important;
  height: auto !important;
  top: 50% !important;
  left: 50% !important;
  overflow-y: auto;
  max-height: calc(100% - 40px);
  transform: translate(-50%,-50%);
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#fancybox-wrap:has([id*=popup])::-webkit-scrollbar {
  display: none;
}

#fancybox-wrap #fancybox-content[style*="border-width"]:has([id*=popup] > div:not(.embed-container)) {
  border-width: 25px !important;
}
#fancybox-content {
  width: 100% !important;
  border-radius: var(--incms-radius-sm);
}
.view-edit [data-module="popup"] {
  width: var(--popup-module-width);
  margin: 0 auto;
}
/* IFRAMES */
iframe{
  display:block;
  width:100%;
  border: none;
  box-sizing: content-box;
}
iframe[src*="google.com/maps"]{
  display:block;
  width:100%;
  border: none;
}
@media screen and (min-width: 769px) {
  /* Google Maps iframe fills the column height in an equal-height grid */
  .equal-grid .ym-gbox:has(iframe[src*="google.com/maps"]) {
    height: 100%;
  }
  /* plain embed: the consent wrapper sits in the height chain */
  .equal-grid .ym-gbox > [data-consent]:has(> iframe[src*="google.com/maps"]) {
    display: block;
    height: 100%;
  }
  /* embed inside a FlexBox */
  .equal-grid .ym-gbox > .incms-flexbox:has(> iframe[src*="google.com/maps"]) {
    height: 100%;
  }
  .equal-grid .ym-gbox iframe[src*="google.com/maps"] {
    height: 100%;
    min-height: var(--map-min-height, 320px);
  }
}
/* Layout
.view-normal.threecols #main .linearize-level-1 {display: flex}
.view-normal.threecols #main .linearize-level-1 > div {margin: 0}
.view-normal.threecols #main .linearize-level-1 .ym-col2{order: -1}
.embed-container {border-radius: 10px;}

.margin-bottom-lg{margin-bottom:35px} */

/* -------------------------------- 
_Grid
-------------------------------- */
:root{
  --website-width: 1200px;
  --grid-cols: 12;
  --container-space: 15px;
  --space-xs: 5px;
  --space-sm: 10px;
  --space-md: 15px;
  --space-lg: 20px;
  --space-xl: 40px;
  --space-xl: 40px;
  --section-space-m: calc(var(--section-space) / 1.25);

  --section-space-top: var(--section-space);
  --section-space-bottom: var(--section-space);

  --section-space-xs: calc(var(--section-space) / 4);
  --section-space-sm: calc(var(--section-space) / 2);
  --section-space-md: var(--section-space);
  --section-space-lg: calc(var(--section-space) * 1.5);
  --section-space-xl: calc(var(--section-space) * 2);

}
.incms-container,
.twocols .ym-column,
.threecols .ym-column{
  max-width: var(--website-width);
  padding: 0 var(--container-space);
  /* padding-left: max(var(--container-space), min(4vw, 4rem)); */
  /* padding-right: max(var(--container-space), min(4vw, 4rem)); */
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.twocols #main section .incms-container,
.threecols #main section .incms-container{
  max-width: 100%;
  padding: 0;
}
.twocols .section,
.threecols .section{
  /*padding: 0;*/
  /*margin-bottom: var(--section-space);*/
}
.incms-container-fullwidth,
.incms-container.fullwidth,
.incms-container-fullwidth-content:has([data-animated="false"]) {
  max-width: 100%;
  padding: 0 var(--container-space);
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 769px){
  .incms-container-fullwidth,
  .incms-container.fullwidth,
  .incms-container-fullwidth-content:has([data-animated="false"]) {
    padding: 0 calc(var(--container-space)*2);
  }
  .incms-container, .twocols .ym-column, .threecols .ym-column {
    padding-inline: calc(var(--container-space)*2);
  }
}

.incms-container :is(.incms-container){
  padding: 0;
}
.incms-grid{
  display: flex;
  flex-wrap: wrap;
  --gap: var(--space-md);
  gap: var(--gap);
}
.incms-grid > *{
  width: 100%;
  min-width: 0;
}
.gap-sm{
  --gap: var(--space-sm);
  gap: var(--gap);
}
.gap-md{
  --gap: var(--space-md);
  gap: var(--gap);
}
.gap-lg{
  --gap: var(--space-lg);
  gap: var(--gap);
}
.gap-xl{
  --gap: var(--space-xl);
  gap: var(--gap);
}


.col,
.col-1{--grid-col:1}
.col-2{--grid-col:2}
.col-3{--grid-col:3}
.col-4{--grid-col:4}
.col-5{--grid-col:5}
.col-6,.col-{--grid-col:6}
.col-7{--grid-col:7}
.col-8{--grid-col:8}
.col-9{--grid-col:9}
.col-10{--grid-col:10}
.col-11{--grid-col:11}
.col-12{--grid-col: 12}
@media screen and (min-width: 769px){
  .col,.col-,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12{
    width: calc((100% - (var(--grid-cols) - 1) * var(--gap)) * var(--grid-col) / var(--grid-cols) + (var(--grid-col) - 1) * var(--gap));
    flex: initial;
  }
  .col-auto{flex: 1}
}
/* Padding */
.p-0{
  padding: 0 !important;
}
.pt-0{
  padding-top: 0 !important;
}
.p-sm{
  padding: var(--space-sm);
}
.p-md{
  padding: var(--space-md);
}
.p-lg{
  padding: var(--space-lg);
}
.pr-lg{
  padding-right: var(--space-lg);
}
.px-sm{
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}
.px-md{
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}
.px-lg{
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}
.py-sm{
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}
.py-md{
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}
.py-lg{
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}
/* Margin */
.mx-auto{
  margin-left:auto;
  margin-right:auto;
}
.mt-auto{
  margin-top:auto;
}
.mt-0{
  margin-top: 0 !important;
}
.m-0{
  margin: 0 !important;
}
.m-sm{
  margin: var(--space-sm);
}
.m-md{
  margin: var(--space-md);
}
.m-lg{
  margin: var(--space-lg);
}
.mb-sm{
  margin-bottom: var(--space-sm);
}
.mb-md{
  margin-bottom: var(--space-md);
}
.mb-lg{
  margin-bottom: var(--space-lg);
}
.mr-lg{
  margin-right: var(--space-lg);
}
.mx-sm{
  margin-left: var(--space-sm);
  margin-right: var(--space-sm);
}
.mx-md{
  margin-left: var(--space-md);
  margin-right: var(--space-md);
}
.mx-lg{
  margin-left: var(--space-lg);
  margin-right: var(--space-lg);
}
.my-sm{
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.my-md{
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}
.my-lg{
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

/* -------------------------------- 
_Button Group
-------------------------------- */
.btn-group {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}
header.text-center ~ .btn-group,
.text-center .btn-group{
  justify-content: center;
}
h2:empty + p:empty + .btn-group,
h1:empty + p:empty + .btn-group{
  margin-top:0;
}
.btn-group > div {
  margin: 0;
}
.btn-group > div a,
.btn-group > div button{
  display: block;
}
.btn-group:empty{
  display: none;
}
.incms-btn,
.incms-button-button1,
.incms-button-button2,
.incms-button-button3{
  transition: transform ease 0.2s, box-shadow ease 0.2s;
}
.incms-btn:hover,
.incms-button-button1:hover,
.incms-button-button2:hover,
.incms-button-button3:hover{
  transform: translate(0, -3px);
}
.incms-btn a,
.incms-btn button{
  padding: .75em 1.5em;
  border-radius: var(--incms-radius-sm);
  font-size: 18px;
  text-align: center;
  text-decoration: none;
  border: 0;
}
.incms-btn.incms-btn-outline a,
.incms-btn.incms-btn-outline button{
  background: transparent;
  color: var(--incms-text);
}
.incms-primary-button a,
.incms-primary-button button{
  background-color: var(--incms-primary);
  color: var(--incms-primary-text);
}
.incms-secondary-button a,
.incms-secondary-button button{
  background-color: var(--incms-secondary);
  color: var(--incms-secondary-text);
}
.incms-accent-button a,
.incms-accent-button button{
  background-color: var(--incms-accent);
  color: var(--incms-accent-text);
}
.incms-primary-button.incms-btn-outline a,
.incms-primary-button.incms-btn-outline button{
  box-shadow: inset 0 0 0 2px var(--incms-primary);
}
.incms-secondary-button.incms-btn-outline a,
.incms-secondary-button.incms-btn-outline button{
  box-shadow: inset 0 0 0 2px var(--incms-secondary);
}
.incms-accent-button.incms-btn-outline a,
.incms-accent-button.incms-btn-outline button{
  box-shadow: inset 0 0 0 2px var(--incms-accent);
}
.incms-btn a .fa.fa-left {
  margin-right: 5px;
}
.incms-btn a .fa.fa-right {
  margin-left: 5px;
}

[data-colors="incms"][data-theme="primary"] .incms-primary-button a,
[data-colors="incms"][data-theme="primary"] .incms-primary-button button {
  color: var(--incms-primary);
  color: color-mix(in srgb, var(--incms-primary) 65%, #000000 35%);
  background-color: var(--incms-primary-text);
}
[data-colors="incms"][data-theme="secondary"] .incms-secondary-button a,
[data-colors="incms"][data-theme="secondary"] .incms-secondary-button button {
  color: var(--incms-secondary);
  color: color-mix(in srgb, var(--incms-secondary) 65%, #000000 35%);
  background-color: var(--incms-secondary-text);
}
[data-colors="incms"][data-theme="accent"] .incms-accent-button a,
[data-colors="incms"][data-theme="accent"] .incms-accent-button button {
  color: var(--incms-accent);
  color: color-mix(in srgb, var(--incms-accent) 65%, #000000 35%);
  background-color: var(--incms-accent-text);
}
[data-colors="incms"][data-theme="primary"] .incms-primary-button.incms-btn-outline a,
[data-colors="incms"][data-theme="primary"] .incms-primary-button.incms-btn-outline button {
  box-shadow: inset 0 0 0 2px var(--incms-primary-text);
  background: transparent;
  color: var(--incms-primary-text);
}
[data-colors="incms"][data-theme="secondary"] .incms-secondary-button.incms-btn-outline a,
[data-colors="incms"][data-theme="secondary"] .incms-secondary-button.incms-btn-outline button {
  box-shadow: inset 0 0 0 2px var(--incms-secondary-text);
  background: transparent;
  color: var(--incms-secondary-text);
}
[data-colors="incms"][data-theme="accent"] .incms-accent-button.incms-btn-outline a,
[data-colors="incms"][data-theme="accent"] .incms-accent-button.incms-btn-outline button {
  box-shadow: inset 0 0 0 2px var(--incms-accent-text);
  background: transparent;
  color: var(--incms-accent-text);
}

@media screen and (max-width: 768px) {
  .m-text-center .btn-group{
    justify-content: center;
  }
  .btn-group > div {
    flex: auto;
  }
}
/* -------------------------------- 
_Author
-------------------------------- */
.incms-author {
  display: flex;
  align-items: center;
  gap: var(--legacy-grid-gap);
}
header.text-center + .incms-author {
  justify-content: center;
}
a.incms-author_avatar {
  background:transparent; 
}
.incms-author_avatar img {
  border-radius: 50%;
  width: 4em;
  height: 4em;
}

.incms-author_content p{
  margin: 0;
}
.incms-author_name {
  font-size: 112%; 
  font-weight: 600;
}
.incms-author_label {
  font-size: 100%;
}
/* -------------------------------- 
_Img
-------------------------------- */
/* Aspect Ratio (_Img)*/
[data-ratio="1:1"] .media-wrapper,
.ar-1\:1{aspect-ratio: 1/1;}

[data-ratio="2:1"] .media-wrapper,
.ar-2\:1{aspect-ratio: 2/1;}

[data-ratio="25:10"] .media-wrapper,
.ar-25\:10{aspect-ratio: 25/10;}

[data-ratio="3:1"] .media-wrapper,
.ar-3\:1{aspect-ratio: 3/1;}

[data-ratio="4:3"] .media-wrapper,
.ar-4\:3{aspect-ratio: 4/3;}

[data-ratio="3:4"] .media-wrapper,
.ar-3\:4{aspect-ratio: 3/4;}

[data-ratio="3:2"] .media-wrapper,
.ar-3\:2{aspect-ratio: 3/2;}

[data-ratio="2:3"] .media-wrapper,
.ar-2\:3{aspect-ratio: 2/3;}

[data-ratio="16:9"] .media-wrapper,
.ar-16\:9{aspect-ratio: 16/9;}

[data-ratio="9:16"] .media-wrapper,
.ar-9\:16{aspect-ratio: 9/16;}

figure.media-wrapper img {
  position: relative;
  border-radius: var(--border-radius);
  z-index: 0;
}
[data-decoration-top],[data-decoration-bottom]{
  position: relative;
  overflow: visible;
  isolation: isolate;
  padding: 5.7%;
  padding: min(5.7%, 32px);
}
[data-decoration-top]:before,
[data-decoration-bottom]:after{
  content: '';
  position: absolute;
}
[data-decoration-top="dots"]:before{
  background-image: radial-gradient(var(--incms-accent) 25%, transparent 25%);
  background-size: 15px 15px;
  width: 30%;
  height: 30%;
  right: 0;
  top: 0;
  background-repeat: round;
}
[data-decoration-bottom="dots"]:after{
  background-image: radial-gradient(var(--incms-primary) 25%, transparent 25%);
  background-size: 15px 15px;
  width: 30%;
  height: 30%;
  left: 0;
  bottom: 0;
  background-position: bottom left;
  background-repeat: round;
}

[data-decoration-top="cross-dots"]:before{
  width: 30%;
  height: 30%;
  position: absolute;
  top: 0;
  right: 0;
  background: radial-gradient(var(--incms-accent) 3px, transparent 3px), radial-gradient(var(--incms-accent) 3px, transparent 3px), transparent;
  background-position: -4px 4px, 8px 16px;
  background-size: 24px 24px;
  background-repeat: round;
}
[data-decoration-bottom="cross-dots"]:after{
  width: 24%;
  height: 24%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: radial-gradient(var(--incms-primary) 3px, transparent 3px), radial-gradient(var(--incms-primary) 3px, transparent 3px), transparent;
  background-position: -4px 4px, 8px 16px;
  background-size: 24px 24px;
  background-repeat: round;
}

[data-decoration-top="diagonal-lines"]:before{
  width: 25%;
  height: 25%;
  position: absolute;
  right: 0;
  top: 0;
  background: repeating-linear-gradient(-45deg, var(--incms-accent) 0, var(--incms-accent) 3px, transparent 0, transparent 50%);
  background-size: 24px 24px;
}
[data-decoration-bottom="diagonal-lines"]:after{
  width: 30%;
  height: 30%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: repeating-linear-gradient(-45deg, var(--incms-primary) 0, var(--incms-primary) 3px, transparent 0, transparent 50%);
  background-size: 24px 24px;
}

[data-decoration-top="triangle"]:before {
  width: 29%;
  height: 29%;
  position: absolute;
  right: 0;
  top: 0;
  background: linear-gradient(225deg, var(--incms-accent) 20%, transparent 20%);
  background-size: 18px 18px;
  background-position: top right;
  background-repeat: round;
}
[data-decoration-bottom="triangle"]:after {
  width: 29%;
  height: 29%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--incms-primary) 20%, transparent 20%);
  background-size: 20px 20px;
  background-position: bottom left;
  background-repeat: round;
}

[data-decoration-top="zigzag"]:before{
  width: 29%;
  height: 29%;
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--incms-accent) 25%, rgba(0, 0, 0, 0) 25.1%), linear-gradient(225deg, var(--incms-accent) 25%, rgba(0, 0, 0, 0) 25.1%), linear-gradient(315deg, var(--incms-accent) 25%, rgba(0, 0, 0, 0) 25.1%), linear-gradient(45deg, var(--incms-accent) 25%, rgba(0, 0, 0, 0) 25.1%), transparent;
  background-size: 20px 20px;
  background-position: -10px -10px, -10px -10px, 0 10px, 0 10px;
}
[data-decoration-bottom="zigzag"]:after {
  width: 29%;
  height: 30%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--incms-primary) 25%, rgba(0, 0, 0, 0) 25.1%), linear-gradient(225deg, var(--incms-primary) 25%, rgba(0, 0, 0, 0) 25.1%), linear-gradient(315deg, var(--incms-primary) 25%, rgba(0, 0, 0, 0) 25.1%), linear-gradient(45deg, var(--incms-primary) 25%, rgba(0, 0, 0, 0) 25.1%), transparent;
  background-size: 20px 20px;
  background-position: -10px -10px, -10px -10px, 0 10px, 0 10px;
}

[data-decoration-top="none"]:before,
[data-decoration-bottom="none"]:after{
  display:none;
}
[data-decoration-top="none"] {
  padding-top: 0;
  padding-right: 0;
}
[data-decoration-bottom="none"] {
  padding-bottom: 0;
  padding-left: 0;
}
[data-level="1"][data-decoration-top]:before {z-index: -1}
[data-level="1"][data-decoration-bottom]:after{z-index: -1}
[data-level="2"][data-decoration-top]:before {z-index: -1}
[data-level="2"][data-decoration-bottom]:after{z-index: 1}
[data-level="3"][data-decoration-top]:before {z-index: 1}
[data-level="3"][data-decoration-bottom]:after{z-index: -1}
[data-level="4"][data-decoration-top]:before {z-index: 1}
[data-level="4"][data-decoration-bottom]:after{z-index: 1}

[data-colors="incms"][data-theme="primary"] [data-decoration-bottom] {
  --incms-primary: var(--incms-text);
}
[data-colors="incms"][data-theme="accent"] [data-decoration-top] {
  --incms-accent: var(--incms-text);
}
img[src='']{
  content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 480' xml:space='preserve'%3E%3Cpath fill='%23F2F2F2' d='M0,0v480h800V0H0z M304.6,156.3c0-6.5,5.1-11.6,11.5-11.6h167.5c6.4,0,11.5,5.1,11.5,11.6V267 c-6.2-3.2-13.2-5.1-20.4-5.1c-1.3,0-2.7,0.3-4,0.3c-9.4-29.8-36.3-50.8-67.2-50.8c-24.2,0-46.5,12.9-59.4,34.1 c-1.6-0.3-3.2-0.3-4.8-0.3c-13.2,0-25.3,4.8-34.7,13.2V156.3z M495.4,323.7c0,6.5-5.4,11.6-11.5,11.6H316.1c-6.5,0-11.5-5.1-11-11.8 V285c5.9-14,19.1-23.9,34.7-23.9c2.7,0,5.1,0.3,7.5,0.8l5.9,1.3l2.7-5.4c9.4-18.8,27.7-30.4,47.8-30.4c25.8,0,48.1,19.3,53.2,45.7 l1.6,8.6l8.6-2.4c2.7-0.8,5.4-1.1,7.8-1.1c7.8,0,15,3.2,20.4,8.6V323.7z'/%3E%3C/svg%3E%0A");}
/* -------------------------------- 
_Section
-------------------------------- */

/* Section */
@media screen and (min-width: 769px){
  .section {
    padding-top: var(--section-space-top);
    padding-bottom: var(--section-space-bottom);
  }
  .incms-inner-container {
    padding: var(--section-space-top) var(--section-space) var(--section-space-bottom);
  }
}
@media screen and (max-width: 768px){
  .section {
    --section-space-top-m: calc(var(--section-space-top) / 1.25);
    --section-space-bottom-m: calc(var(--section-space-bottom) / 1.25);
    padding-top: var(--section-space-top-m);
    padding-bottom: var(--section-space-bottom-m);

  }
  .twocols .section,
  .threecols .section{
    margin-bottom: var(--section-space-m);
  }
  .incms-inner-container {
    padding: var(--section-space-top-m) var(--section-space-m) var(--section-space-bottom-m);
  }
}

.bg-transparent,
.bg-transparent:before{
  background-color:transparent !important;
  backdrop-filter:none !important;
}
[data-colors="incms"][data-theme="classic"].section,
[data-colors="incms"].section.bg-05 {
  --opacity: 0.05;
  background-color: rgb(from var(--incms-text) r g b / var(--opacity));
}
[class^="incms-header"][data-colors="incms"][data-theme="classic"]:before {
    opacity: 1;
    --opacity: 0.05;
    background-color: rgb(from var(--incms-text) r g b / var(--opacity));
}
[class^="incms-header"][data-colors="incms"][data-theme="classic"] {
    --opacity: 0.85;
    background-color: rgb(from var(--incms-background) r g b / var(--opacity));
}

[data-colors="incms"].section {
  background-color: var(--incms-background);
  position: relative;
  isolation: isolate;
  z-index: 1;
}
section header {
  margin: 0 auto;
}
section header.text-left {
  margin: 0 auto 0 0;
}
section header + * {
  margin-top: max(
    calc(var(--section-space-top) / 1.5),
    calc(var(--section-space-bottom) / 1.5),
    calc(var(--section-space) / 1.5)
  );
}
section header h1,
section header h2,
section header h3,
section header h4,
section header h5,
section header h6,
.incms-custom-heading :is(h1,h2,h3,h4,h5,h6){
  margin-bottom: 0.618em;
  font-size: var(--title-size);
  color: var(--title-color);
}
section header p,
section header li{
  color: var(--text-color);
  margin-bottom: 0.618em;
}
section[data-colors="incms"] header h1,
section[data-colors="incms"] header h2,
section[data-colors="incms"] header h3,
section[data-colors="incms"] header h4,
section[data-colors="incms"] header p,
section[data-colors="incms"] header li{
  color: var(--incms-text);
}
@media screen and (max-width: 768px) {
  section header h1,
  section header h2,
  section header h3,
  section header h4,
  section header h5,
  section header h6,
  .incms-custom-heading :is(h1,h2,h3,h4,h5,h6){
    --title-size: var(--title-mobile-size);
  }
}
@media screen and (min-width: 769px) {
  section header {
    width: calc(var(--section-header-width) * 1%);
  }
}
/* Section Label */
[data-slabel]:before {
  content: attr(data-slabel);
  color: var(--incms-text);
  margin-bottom: 20px;
  display: inline-block;
  font-size: 85%;
  border: 1px solid rgb(from var(--incms-text) r g b / 0.5);
  border-radius: 2em;
  padding: 4px 15px;
}
[data-colors="custom"] [data-slabel]:before {
  color: var(--text-color);
  border-color: rgb(from var(--text-color) r g b / 0.5);
}
[data-slabel=""]:before {
  display: none;
}
/* Section space */
.spy-xs{
  padding-top: var(--section-space-xs);
  padding-bottom: var(--section-space-xs);
}
.spy-sm{
  padding-top: var(--section-space-sm);
  padding-bottom: var(--section-space-sm);
}

/* -------------------------------- 
_Shapes
-------------------------------- */
:root,
[data-shape*="-"],
.section.section{
  --shape-correction: 120px;
  --hero-shape-size: min(18vw, calc(var(--section-space-bottom-m, var(--section-space-bottom)) * 2));
  --section-shape-size-top: min(18vw, var(--section-space-top-m, var(--section-space-top)));
  --section-shape-size-bottom: min(18vw, var(--section-space-bottom-m, var(--section-space-bottom)));
}
section[data-shape*="-"],
section.incms-custom-section[data-shape*="-"]:has( + section){
  position: relative;
  z-index: 3;
}
section[data-shape*="-"] + section,
section[data-shape*="-"] + section[data-shape*="-"] {
  z-index: 2;
}
section[data-shape*="-"] + section[data-shape*="-"] + section,
section[data-shape*="-"] + section[data-shape*="-"] + section[data-shape*="-"] {
  z-index: 1;
}
section[data-shape*="-"] + section[data-shape*="-"] + section[data-shape*="-"] + section,
section[data-shape*="-"] + section[data-shape*="-"] + section[data-shape*="-"] section[data-shape*="-"]{
  z-index: 0;
}

section[class*="hero"][data-shape*="-"]{
  --shape-size: var(--hero-shape-size);
}
section[class*="hero"][data-shape*="-"] + section,
section.incms-custom-section[data-shape*="-"]{
  --shape-size: calc(var(--section-shape-size-bottom) /2);
  --shape-size-top: calc(var(--section-shape-size-top) /2);
}
section.section[data-shape*="-"] + section{
  padding-top: calc(var(--section-space-top) + var(--shape-correction));
  margin-top: calc(-1 * var(--shape-correction));
}
section[data-shape*="top"],
section[data-shape*="top"] + section[data-shape*="bottom"] {
  padding-top: var(--section-space-top-m, var(--section-space-top)) !important;
  margin-top: 0 !important;
}
section:not([data-shape]):has( + section.section[data-shape*="top"]),
section[data-shape="none"]:has( + section.section[data-shape*="top"]){
  padding-bottom: calc(var(--section-space-bottom) + var(--shape-correction));
  margin-bottom: calc(-1 * var(--shape-correction));
  z-index: 0 !important;
}

/* ✅ Top Tilts */
[data-shape="tilt-tl-right"],
[data-shape="tilt-top-left-right"]{
  clip-path: polygon(0 var(--shape-size-top), 100% 0, 100% 100%, 0 100%);
}
[data-shape="tilt-tr-left"],
[data-shape="tilt-top-right-left"]{
  clip-path: polygon(0 0, 100% var(--shape-size-top), 100% 100%, 0 100%);
}

/* ✅ Bottom Tilts */
[data-shape="tilt-bl-right"],
[data-shape="tilt-bottom-left-right"]{
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - var(--shape-size)));
}
[data-shape="tilt-br-left"],
[data-shape="tilt-bottom-right-left"]{
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--shape-size)), 0 100%);
}

/* ✅ Top and Bottom: Diagonal Tilt */
[data-shape="tilt-diag-top-bottom-1"] {
  clip-path: polygon(0 var(--shape-size-top), 100% 0, 100% calc(100% - var(--shape-size)), 0 100%)
}
[data-shape="tilt-diag-top-bottom-2"] {
  clip-path: polygon(0 0, 100% var(--shape-size-top), 100% 100%, 0 calc(100% - var(--shape-size)));
}

/* ✅ Left Side Tilts */
[data-shape="tilt-bl-top"] {
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--shape-size) 100%);
}
[data-shape="tilt-tl-bottom"] {
  clip-path: polygon(var(--shape-size) 0, 100% 0, 100% 100%, 0 100%);
}
/* ✅ Right Side Tilts */
[data-shape="tilt-br-top"] {
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--shape-size)) 100%, 0 100%);
}
[data-shape="tilt-tr-bottom"] {
  clip-path: polygon(0 0, calc(100% - var(--shape-size)) 0, 100% 100%, 0 100%);
}
/* ✅ Left and Right: Diagonal Tilt */
[data-shape="tilt-diag-lr"] {
  clip-path: polygon(0 0, calc(100% - var(--shape-size)) 0, 100% 100%, var(--shape-size) 100%);
}
[data-shape="tilt-diag-rl"] {
  clip-path: polygon(var(--shape-size) 0, 100% 0, calc(100% - var(--shape-size)) 100%, 0 100%);
}
[data-shape="tilt-diag-lr"], [data-shape="tilt-diag-rl"]{
  padding-left: var(--shape-size);
  padding-right: var(--shape-size);
}


/* ✅ Top: Double Tilt */
[data-shape="tilt-top-double-in"] {
  clip-path: polygon(0 0, 50% var(--shape-size-top), 100% 0, 100% 100%, 50% 100%, 0 100%); /* In */
}
[data-shape="tilt-top-double-out"] {
  clip-path: polygon(0 var(--shape-size-top), 50% 0, 100% var(--shape-size-top), 100% 100%, 50% 100%, 0 100%); /* Out */
}
/* ✅ Bottom: Double Tilt */
[data-shape="tilt-bottom-double-in"] {
  clip-path: polygon(0 0, 50% 0%, 100% 0, 100% 100%, 50% calc(100% - var(--shape-size)), 0 100%); /* In */
}
[data-shape="tilt-bottom-double-out"] {
  clip-path: polygon(0 0, 50% 0, 100% 0, 100% calc(100% - var(--shape-size)), 50% 100%, 0 calc(100% - var(--shape-size))); /* Out */
}
/* ✅ Top and Bottom: Double Tilt */
[data-shape="tilt-top-bottom-in"] {
  clip-path: polygon(0 0, 50% var(--shape-size-top), 100% 0, 100% 100%, 50% calc(100% - var(--shape-size)), 0 100%); /* In */
}
[data-shape="tilt-top-bottom-out"] {
  clip-path: polygon(0 var(--shape-size-top), 50% 0, 100% var(--shape-size-top), 100% calc(100% - var(--shape-size)), 50% 100%, 0 calc(100% - var(--shape-size))); /* Out */
}

/* ✅ Fancy Top and Bottom Tilts */
[data-shape="tilt-fancy-top-bottom"] {
  clip-path: polygon(0 0, 23% var(--shape-size-top), 100% 0, 100% 100%, 77% calc(100% - var(--shape-size)), 0 100%);
}

/* ✅ Bottom: Curve */
[data-shape="curve-top"]{
  --curve-size: max(100%, var(--website-width));
  clip-path: ellipse(var(--curve-size) 100% at bottom);
  mask: linear-gradient(black, black);
}
[data-shape="curve-bottom"]{
  --curve-size: max(100%, var(--website-width));
  clip-path: ellipse(var(--curve-size) 100% at top);
  mask: linear-gradient(black, black);
}
.view-normal .fullheight[data-shape="curve-bottom"] {
  --curve-size: max(120%, var(--website-width));
}

/* ✅ Zig-Zag */
[data-shape="zig-zag-bottom"]{
  mask: conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) 50%/40px 100.3%
}
[data-shape="zig-zag-top"]{
  mask: conic-gradient(from 135deg at top,#0000,#000 1deg 89deg,#0000 90deg) 50%/40px 100.3%
}
[data-shape="zig-zag-top-bottom"]{
  mask: repeating-conic-gradient(from 135deg at 50% 20px,#0000 0,#000 1deg 89deg,#0000 90deg 180deg) 50% -20px/40px
}

/* ✅ Wavy */
[data-shape="wavy-top"]{
  mask: 
    radial-gradient(15.5px at 50% 21.45px,#000 99%,#0000 101%) calc(50% - 26px) 0/52px 100%,
    radial-gradient(15.5px at 50% -8.45px,#0000 99%,#000 101%) 50% 13px/52px 100% repeat-x;
}
[data-shape="wavy-bottom"]{
  mask:
    radial-gradient(15.5px at 50% calc(100% - 21.45px),#000 99%,#0000 101%) calc(50% - 26px) 0/52px 100%,
    radial-gradient(15.5px at 50% calc(100% + 8.45px),#0000 99%,#000 101%) 50% calc(100% - 13px)/52px 100% repeat-x;
}
[data-shape="wavy-top-bottom"]{
  mask: 
    radial-gradient(15.5px at 50% 21.45px,#000 99%,#0000 101%) calc(50% - 26px) 0/52px 51% repeat-x,
    radial-gradient(15.5px at 50% -8.45px,#0000 99%,#000 101%) 50% 13px/52px calc(51% - 13px) repeat-x,
    radial-gradient(15.5px at 50% calc(100% - 21.45px),#000 99%,#0000 101%) calc(50% - 26px) 100%/52px 51% repeat-x,
    radial-gradient(15.5px at 50% calc(100% + 8.45px),#0000 99%,#000 101%) 50% calc(100% - 13px)/52px calc(51% - 13px) repeat-x;
}
/* -------------------------------- 
_Testimonial
-------------------------------- */
.testimonial-item {
  padding-top: calc(var(--section-space)/2.5);
  padding-bottom: calc(var(--section-space)/2.5);
}
.testimonial-item.incms-box-bg {
  padding: calc(var(--section-space)/2.5) calc(var(--section-space)/3);
}
.testimonial-item .testimonial-rating i {
  font-size:18px;
}
.testimonial-item figure img.avatar {
  width: 3em;
  height: 3em;
  border-radius: 50%;
}
.testimonial-item figure img.avatar[src=''] {
  outline: solid 1px var(--incms-primary);
  background: var(--incms-primary);
}
.testimonial-item .inner-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.testimonial-item .testimonial-quote {
  position: relative;
  font-size: calc(var(--text-fs) * .9);
  isolation: isolate;
}
.testimonial-item svg.testimonial-icon {
  position: absolute;
  width: 60px;
  color: var(--incms-text);
  left: 0;
  top: -15px;
  z-index: -1;
  opacity: .2;
}
[data-colors="incms"] .testimonial-item {
  background-color: transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate; 
}
[data-colors="incms"] .testimonial-item.incms-box-bg:before {
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  right:0;
  z-index:-1;
  background-color: var(--incms-text);
  opacity: 0.05;
}
[data-colors="incms"][data-theme="classic"] .testimonial-item.incms-box-bg:before {
  background-color: var(--incms-background);
  opacity: 1;
}
[data-colors="incms"] .testimonial-item .testimonial-quote,
[data-colors="incms"] .testimonial-item .name{
  color: var(--incms-text);
}
.yellow-stars .fa-star-o {
  color: #fbbd03 !important;
}
/* -------------------------------- 
_Click-To-Scroll Button
-------------------------------- */
.incms-scroll-to{
  --scroll-to-width: 25px;
  --scroll-to-height: calc(var(--scroll-to-width) * 1.5);
  -webkit-animation: incms-scroll-to-loaded 1.5s ease;
  animation: incms-scroll-to-loaded 1.5s ease;
  width: var(--scroll-to-width);
  display: block;
  margin: 0;
  background-color: transparent!important;
}
.incms-scroll-to-icon{
  width: var(--scroll-to-width);
  height: var(--scroll-to-height);
  box-shadow: inset 0 0 0 calc(var(--scroll-to-width)/10) var(--incms-scroll-to-color);
  border-radius: 50em;
  cursor: pointer;
  transition: all .25s;
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  text-align: center;
}
.incms-scroll-to-icon:after {
  content: '';
  width: calc(var(--scroll-to-width)/5);
  height: calc(var(--scroll-to-height)/4);
  background: var(--incms-scroll-to-color);
  margin-left: calc(var(--scroll-to-width)/-10);
  top: calc((var(--scroll-to-height)/4));
  border-radius: 50em;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: incms-scroll;
  animation-name: incms-scroll;
  position: absolute;
  transition: background .25s
}
@-webkit-keyframes incms-scroll-to-loaded {
  0%,80% {
    opacity: 0;
    -webkit-transform: translate3d(0,20px,0);
    transform: translate3d(0,20px,0)
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0)
  }
}
@keyframes incms-scroll-to-loaded {
  0%,80% {
    opacity: 0;
    -webkit-transform: translate3d(0,20px,0);
    transform: translate3d(0,20px,0)
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0)
  }
}
@-webkit-keyframes incms-scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0)
  }
  50% {
    opacity: 1;
    -webkit-transform: translateY(3px);
    transform: translateY(3px)
  }
}
@keyframes incms-scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0)
  }
  50% {
    opacity: 1;
    -webkit-transform: translateY(3px);
    transform: translateY(3px)
  }
}
/* -------------------------------- 
_Carousel
-------------------------------- */
.owl-carousel .owl-item.center {
  margin-top: 0;
  margin: 0;
  text-align: left;
}
.owl-carousel, .owl-carousel .owl-item {
  position: relative;
}
.owl-carousel .owl-dots {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: -30px;
}
.owl-carousel button.owl-dot {
  width: 10px;
  height: 10px;
  display: block;
  background-color: var(--testimonial2-dots);
  margin: 0 5px;
  border-radius: 10px;
  opacity: .5;
  transition: all .15s ease;
}
.owl-carousel button.owl-dot.active {
  width: 30px;
  opacity: 1;
}
[data-colors="incms"] .owl-carousel button.owl-dot {
  background-color: var(--incms-text);
}
[data-colors="custom"] .owl-carousel button.owl-dot {
  background-color: var(--carousel-dots);
}

/* -- News Module Fix -- */
.news_item .ym-contain-dt {
  border-top: 1px solid rgb(150 150 150 / 20%);
}
.news-image {
  max-width: var(--blog-img-small);
  aspect-ratio: var(--blog-img-ratio);
  border-radius: var(--blog-img-radius);
  overflow: hidden;
}
.list-view.fullimage .news-image{
  max-width: var(--blog-img-large);
}
#news_items {
  margin: 0;
}
.news_item {
  padding: 0;
}
.news-image img {
  border: none;
  box-shadow: none;
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.news_item.grid-view .ym-contain-dt {
  border-top: none;
}
.news-image a {
  width: 100%;
  height: 100%;
}
.list-view .ym-contain-dt {
  padding-right: 75px;
}
.list-view .news_detail_info {
  position: absolute;
  left: 0;
  top: 25px;
}
.ym-contain-dt {
  position: relative;
  padding-top: 20px !important;
}
.news_item h2 {
  font-size: var(--blog-title-size);
  margin: 0 0 calc(var(--blog-title-size)/1.618);
}
.list-view .ym-contain-dt:after {
  content: '';
  position: absolute;
  right: 0;
  top: calc(50% - 12px);
  background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjIuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAzNy4xIDIzLjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDM3LjEgMjMuNDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOm5vbmU7c3Ryb2tlOiMwMDAwMDA7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik0zNC43LDExLjdIMSIvPgoJPHBhdGggY2xhc3M9InN0MCIgZD0iTTI1LjMsMS40bDEwLjMsMTAuMyIvPgoJPHBhdGggY2xhc3M9InN0MCIgZD0iTTI1LjMsMjJsMTAuMy0xMC4zIi8+CjwvZz4KPC9zdmc+Cg==') no-repeat center center;
  width: 37px;
  height: 23px;
}
.news_item:not(:has(.news.button, .incms-button, .incms-btn)) .news-image a:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}
.news_detail_info p strong {
  font-weight: normal !important;
}
#news_items:has(.grid-view) {
  display: flex;
  gap: var(--legacy-grid-gap, 20px);
  flex-direction: column;
  flex-wrap: wrap;  
}
.news_item.grid-view.ym-g50,
.news_item.grid-view.ym-g33,
.news_item.grid-view.ym-g25{
  width: 100%;
}
ul.pager {
  float: none;
  display: flex;
  justify-content: end;
}
[data-colors="incms"][data-theme="primary"] .news_item .ym-contain-dt h2 a {
  color: inherit!important;
}
@media screen and (max-width: 768px) {
  #news_items {
    display: flex;
    gap: var(--legacy-grid-gap, 20px);
    flex-wrap: wrap;  
  }
  .ym-contain-dt {
    padding-left: 0;
    padding-right: 0;
    padding-top: 20px !important;
  }
  .news_item .ym-contain-dt {
    padding: 0;
  }
  .list-view .ym-contain-dt:after {
    display: none;
  }
  .news-image, .list-view.fullimage .news-image {
    margin-right: 0;
    max-width:100%;
  }
  .list-view .news_detail_info {
    top: 10px;
  }
  .news_item .ym-contain-dt {
    border: none;
  }
  .list-view.news_item{
    width: calc(50% - (var(--legacy-grid-gap, 20px)/2));
  }
}
@media screen and (max-width: 480px) {
  .list-view.news_item{
    width: 100%;
  }
}
@media screen and (min-width: 569px){
  #news_items:has(.grid-view){
    flex-direction:row;
  }
  .news_item.grid-view.ym-g50,
  .news_item.grid-view.ym-g33,
  .news_item.grid-view.ym-g25{
    width: calc(50% - (var(--legacy-grid-gap, 20px)/2));
  }
}
@media screen and (min-width: 769px){
  .list-view .ym-contain-dt:has(.news_detail_info) {
    padding-left: 105px;
  }
  .news_item.grid-view.ym-g25{
    width: calc(25% - (var(--legacy-grid-gap, 20px)*3/4));
  }
  .news_item.grid-view.ym-g33{
    width: calc(33.33% - (var(--legacy-grid-gap, 20px)*2/3));
  }
  .news_item.grid-view.ym-g50{
    width: calc(50% - (var(--legacy-grid-gap, 20px)/2));
  }
}

/* -- News Post -- */
.news_detail h1{
  font-size: var(--post-title-size);
  /*text-wrap: balance;*/
}
.news_detail h1,
.news_detail .news_detail_info{
  text-align: var(--post-title-alignment);
}

.news_detail.incms-container {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}
.news_detail.incms-container:before {
  content: "";
  display: block;
  padding-top: var(--incms-hero-correction);
}
.news_detail .float-left {
  margin-top: 0;
  display: block;
  width: 100%;
  max-width: calc(var(--post-img-width)*1px);
  aspect-ratio: var(--post-img-ratio);
}

.news_detail .ym-contain-dt:after,
.news_detail.incms-container:after{
  content: '';
  display: table;
  clear: both;
}

.news_detail .ym-contain-dt img.bordered {
  box-shadow: none;
  border: none;
  border-radius: var(--post-img-radius);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news_detail .ym-contain-dt a + p:first-letter {
  float: left;
  line-height: 1;
  font-size: 4.4em;
  padding: 0 0.125em 0 0;
  text-transform: uppercase;
}
.news_detail h1,.news_detail p {
  color: var(--incms-text);
}
.news_detail .ym-contain-dt a {
  color: var(--incms-primary);
  background: transparent;
}
.news_detail .float-left{
  margin-right: calc(var(--legacy-grid-gap)*2);
}
#disqus_recommendations {
  margin: 0 -8px;
}
.news_detail ~ .incms-container #disqus_thread,
.news_detail ~ #news_add_comment.incms-container{
  padding-bottom: var(--section-space);
}
.news_detail ~ #news_add_comment.incms-container {
  margin: 0 auto;
}
@media screen and (max-width: 568px) {
  .news_detail .float-left {
    float: none;
    margin-right: 0;
  }
}

/* -- Form Fields -- */
.incms-form .incms-form-field {
  box-shadow: none;
  padding: 10px;
  border-radius: 5px;
}

/* -- Member Auth Login -- */
.incms-form-container:has(form.auth.auth-login.incms-form),
form.auth.auth-profile.incms-form,
form.auth.auth-password.incms-form,
.incms-form-container p:has(.auth-user){
  margin: 0 auto;
  padding: var(--container-space);
  background: rgb(from var(--incms-text) r g b / 0.05);
  border-radius: var(--incms-radius-md);
}
[data-colors="incms"][data-theme="classic"] .incms-form-container:has(form.auth.auth-login.incms-form),
[data-colors="incms"][data-theme="classic"] form.auth.auth-profile.incms-form,
[data-colors="incms"][data-theme="classic"] form.auth.auth-password.incms-form,
[data-colors="incms"][data-theme="classic"] .incms-form-container p:has(.auth-user){
  background: var(--incms-background);
}
[data-colors="custom"] .incms-form-container:has(form.auth.auth-login.incms-form),
[data-colors="custom"] form.auth.auth-profile.incms-form,
[data-colors="custom"] form.auth.auth-password.incms-form,
[data-colors="custom"] .incms-form-container p:has(.auth-user){
  background: rgb(from var(--text-color) r g b / 0.05);
}
.incms-form-container:has(form.auth.auth-login.incms-form) {
  max-width: 512px;
}
.incms-form-container p:has(.auth-user) {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: var(--container-space);
}
.incms-form-container p .auth-user {
  width:100%;
  order: 1;
  margin:0 0 10px;
}
.incms-form-container p .auth-logout {
  order: 3;
  margin-left: auto;
  margin-right: 0;
}
.incms-form-container p .auth-profile {
  order: 2;
  margin:0;
}
.incms-form-container p:has(.auth-backlink,.auth-resetpw,.auth-backtologin) {
  margin-top: var(--container-space);
  margin-bottom: 0;
}
p:has(a.auth-resetpw[style="display: none;"]) {
  margin: 0;
}

/* -- Gallery Module Fix -- */
.ym-grid.gallery {
  gap: 0;
  flex-direction: column;
}
.ym-grid.gallery > .row {
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
  gap: var(--legacy-grid-gap, 20px);
}
.ym-grid.gallery > .row > * {
  padding: 0;
}
.ym-grid.gallery .ym-g33,
.ym-grid.gallery .ym-g25{
  width: calc(50% - (var(--legacy-grid-gap, 20px)/2));
}

.ym-grid .image {
  margin: 0;
}

.gallery .pager {
  display: flex;
  justify-content: center;
}
@media screen and (min-width: 569px){
  .ym-grid.gallery .ym-g25 {
    width: calc(33.33% - (var(--legacy-grid-gap, 20px)*2/3));
  }
}
@media screen and (min-width: 769px){
  .ym-grid.gallery .ym-g33 {
    width: calc(33.33% - (var(--legacy-grid-gap, 20px)*2/3));
  }
  .ym-grid.gallery .ym-g25 {
    width: calc(25% - (var(--legacy-grid-gap, 20px)*3/4));
  }
}

/* Font Awesome 5 Fix */
.fa.fa-phone:before {
  transform: rotate(90deg);
  display: block;
}
/* -------------------------------- 
inCMS Framework v1.15.0   - End
-------------------------------- */
