/* ########################### */
/* ########## global ########## */
/* ########################### */

.sw-editor_container__wrapper {
  width: 100%;
  /* min-height: 80px; */
  box-sizing: border-box;
}

.sw-editor_container__wrapper a {
  color: inherit;
}

/* arrow-up-right-from-square */

/* ########################### */
/* ########## Flow ########## */
/* ########################### */

.sw-flow_container__wrapper {
  max-width: min( var(--sw-width-max-content, 994px), 100ch);
  margin: 0 auto;
  color: var(--sw-html-content-color, "inherit");
}

.sw-flow-container__content {
  /* max-width: 100%; */
  width: 100%;
  min-width: min(
    var(--user-p-min-width, var(--sw-width-max-content, 994px)),
    100%,
    100ch
  );
  max-width: min(
    var(--user-p-max-width, var(--sw-width-max-content, 994px)),
    100%,
    100ch
  );
}

/* .sw-flow-container__content--default  {
      min-width: 400px;
    } */
.sw-flow-container__content p {
  max-width: 100%;
  word-break: initial;
  /* max-width:  min(var(--user-p-max-width, var(--sw-p-max-width, 100%)), 100%); */
}

.sw-flow-container__content p:before {
  content: "";
  width: 20ch;
  display: block;
  overflow: hidden;
  /* For Demonstration */
  /* border: 1px solid green; */
}

.sw-flow-container__figure {
  clear: both;
  shape-outside: margin-box;
  --sw-width-max-content: var(--sw-figure-width);
  max-width: calc(100% - 20ch - 20px);
}

.sw-flow-container__image-frame {
  max-width: fit-content;
  max-height: fit-content;
}

.sw-flow-container__content--image-left {
  clear: right;
}
.sw-flow-container__content--image-right {
  clear: left;
}

.sw-flow-container__figure .sw-styled-image__figcaption p {
  font-size: 0.8em;
}

@media only screen and (max-width: 700px) {
  .sw-flow-container__figure,
  .sw-flow-container__imgedit {
    float: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    clear: both;
    max-width: 100% !important;
  }

  .flow_tiptapWrapper {
    flex-wrap: wrap;
  }
}

@container flowwrapper (max-width: 600px) {
  .sw-flow-container__figure,
  .sw-flow-container__imgedit {
    float: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    clear: both;
    max-width: 100% !important;

    .flow_tiptapWrapper {
      flex-wrap: wrap;
    }
  }
}

/* ########################### */
/* ########## styled-content ########## */
/* ########################### */
.sw-styled-content {
  line-height: 1.4em;
  letter-spacing: 0.02em;
  max-width: var(--sw-styled-content-max-width, 100%);
  width: 100%;
  color: var(--user-text-color, var(--sw-text-color, inherit));
}
.sw-styled-content p {
  color: var(--user-p-color, var(--sw-text-color, inherit));
  min-width: min(var(--user-p-min-width, var(--sw-p-min-width, 80ch)), 200px);
  max-width: min(
    var(--user-p-max-width, var(--sw-width-max-content, 80ch)),
    100%
  );
}

.sw-styled-content p {
  margin: 1em 0;
  max-width: var(--sw-width-max-content, 100%);
}
.sw-styled-content li p {
  margin: 4px 0;
  max-width: var(--sw-width-max-content, 100%);
}

.sw-article a {
  color: var(--article-a-color, inherit);
  text-decoration: revert;
  text-underline-offset: 2px;
}

.sw-styled-content a[target="_blank"]::after {
  background-color: currentColor;
  content: "";
  --data-url: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3l0 82.7c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"/></svg>');
  -webkit-mask: var(--data-url) no-repeat center;
  mask: var(--data-url) no-repeat center;
  box-sizing: content-box;
  /* content:  "\01F855" ; */
  /* background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==)  no-repeat center; */
  /* content: var(--data-url); */
  /* background-color: green; */
  /* background:  url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3l0 82.7c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"/></svg>') no-repeat center; */
  display: inline-block;
  padding: 0 4px;
  width: 0.8em;
  height: 0.8em;
  margin-bottom: -1px;

  /* color: inherit; */
}

.sw-styled-content h1,
.sw-styled-content .h1 {
  padding: var(--heading1-padding, var(--heading-padding, 10px 0 0 0));
  font-size: var(--heading1-font-size, 2em);
  font-weight: var(--heading1-font-weight, 500);
  color: var(--heading1-font-color, var(--heading-font-color, #313131));
  margin: 16px 0;
  text-align: var(--sw-text-align);
}
.sw-styled-content h2,
.sw-styled-content .h2 {
  padding: var(--heading2-padding, var(--heading-padding, 10px 0 0 0));
  font-size: var(--heading2-font-size, 1.4em);
  font-weight: var(--heading2-font-weight, 600);
  color: var(--heading2-font-color, var(--heading-font-color, #313131));
  margin: 16px 0;
  text-align: var(--sw-text-align);
}
.sw-styled-content h3,
.sw-styled-content .h3 {
  padding: var(--heading3-padding, var(--heading-padding, 10px 0 0 0));
  font-size: var(--heading3-font-size, 1.1em);
  font-weight: var(--heading3-font-weight, 700);
  color: var(--heading3-font-color, var(--heading-font-color, #313131));
  margin: 16px 0;
  text-align: var(--sw-text-align);
}
.sw-styled-content h4,
.sw-styled-content .h4 {
  padding: var(--heading4-padding, var(--heading-padding, 10px 0 0 0));
  font-size: var(--heading4-font-size, 1.1em);
  font-weight: var(--heading4-font-weight, 500);
  color: var(--heading4-font-color, var(--heading-font-color, #313131));
  margin: 16px 0;
  text-align: var(--sw-text-align);
}

.sw-flow-container__content--image-left ul {
  padding: 0;
}

.sw-flow-container__content--image-left ul li {
  position: relative;
  left: 2em;
  max-width: calc(100% - 2em);
  padding-right: 1em;
  /* width: fit-content; */
}

.sw-styled-content ul:has(p[style="text-align: center"]) {
  margin: 0 auto;
  width: max-content;
  padding: 0 2em 0 0;
}

.sw-styled-content ul:has(p[style="text-align: center"]) li {
  min-width: -webkit-fill-available;
  min-width: fit-content;
  max-width: 60ch;
}
.sw-styled-content ul:has(p[style="text-align: center"]) li p {
  min-width: 0;
  width: fit-content;
}

/* ########################### */
/* ########## Shapes ########## */
/* ########################### */
.shape--circle {
  --img-border-radius: 50%;
  border-radius: 50%;
}
img.shape--circle {
  object-fit: cover;
  aspect-ratio: 1;
}
/* ########## overstyr important i cms ########## */
/* .article__content img.shape--circle{
  height: revert-layer !important;
  }
   */
.shape--oval {
  --img-border-radius: 50%;
  border-radius: 50%;
}
.shape--rounded {
  --img-border-radius: min(20%, 24px);
  border-radius: min(20%, 24px);
}

/* ########################### */
/* ########## image ########## */
/* ########################### */
.image_container__content {
  min-width: fit-content;
  /* min-width: min(300px, 90vw); */
  /* width: config.imgAttr?.imgSize?.usePercent || "fit-content", */
}

/* ########################### */
/* ########## styled-image ########## */
/* ########################### */
.sw-styled-image__figure {
  width: fit-content;
  margin: 0;
  box-sizing: border-box;
  border-radius: var(--sw-border-radius, 0);
}
.sw-styled-image__figure--float-left {
  padding: 12px 24px 12px 0;
  float: left;
}
.sw-styled-image__figure--float-right {
  padding: 12px 0 12px 24px;
  float: right;
}

.sw-styled-image__figure.sw-styled-image__figure--percent {
  width: var(--sw-figure-width, 100%);
}

.sw-styled-image__figure.editmode {
  max-width: 100%;
}

.sw-styled-image {
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  vertical-align: middle;
}

.sw-styled-image-frame {
  width: fit-content;
}
.sw-styled-image__figure.sw-styled-image__figure--percent
  .sw-styled-image-frame {
  width: var(--sw-figure-width, 100%);
}

.sw-styled-image-frame.shape--circle img {
  --img-border-radius: 50%;
  border-radius: 50%;
}
.sw-styled-image-frame.shape--oval img {
  --img-border-radius: 50%;
  border-radius: 50%;
}
.sw-styled-image-frame.shape--rounded img {
  --img-border-radius: min(19%, 20px);
  border-radius: min(19%, 20px);
}

.sw-styled-image-frame.frame--simpleblack {
  padding: 12px;
  border: 3px solid #000;
  position: relative;
}

.sw-styled-image-frame.frame--simplecolor {
  box-sizing: border-box;
  border: 5px solid var(--custom-image-frame-color, #00000033);
}

/* .sw-styled-image__figcaption{} */

.sw-styled-image__figcaption:not(:empty) {
  box-sizing: border-box;
  padding: 4px 8px 0 8px;
  line-height: 1.4em;
  width: 100%;
  max-width: 100%;
}

.sw-styled-image__figcaption p {
  margin: 0;
  font-size: 1em;
  max-width: 100%;
}

/* content tags */

/* .article__content img.sw-styled-image,
  .article__content img.sw-flow-container__image {
    height: var(--img-height) !important;
  } */

/* ########################### */
/* ########## Tabell ########## */
/* ########################### */

.sw-responsive-table__wrapper {
  font-family: var(
    --sw-responsive-table-font-family,
    "Lato",
    Helvetica,
    Arial,
    sans-serif
  );
  max-width: 100%;
  font-size: var(--sw-responsive-table-wrapper-font-size, 16px);
  line-height: var(--sw-responsive-table-line-height, 1.4);
  margin: var(--sw-responsive-table-margin, 1em 0.5em);
  color: var(--sw-responsive-table-color, #222);
  overflow: auto;
}
.sw-responsive-table__wrapper.tablevariant--sidescroll {
}

.sw-responsive-table__wrapper table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5em;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: var(--sw-responsive-table-font-size, 0.9em);
}

.sw-responsive-table__wrapper thead {
  text-align: var(--sw-responsive-table-thead-text-align, left);
  border-bottom: var(--sw-responsive-table-thead-border-bottom-width, 3px) solid
    var(--sw-responsive-table-thead-border-bottom-color, #ddd);
  color: var(--sw-responsive-table-thead-color, #222);
  /* margin-bottom: var(--sw-responsive-table-thead-margin-bottom, 1em); */
  font-weight: var(--sw-responsive-table-thead-font-weight, bold);
}
.sw-responsive-table__wrapper tbody {
  color: var(--sw-responsive-table-tbody-color, #333);
  font-weight: var(--sw-responsive-table-tbody-font-weight, normal);
}

.sw-responsive-table__wrapper--view table th {
  padding: var(--sw-responsive-table-th-padding, 8px 16px);
}

.sw-responsive-table__wrapper--view .sw-responsive-table__cell {
  /* box-sizing: content-box; */

  min-height: var(--sw-responsive-table-td-min-height, 20px);
  padding: var(--sw-responsive-table-td-padding, 8px 16px);
  text-align: var(--sw-responsive-table-tbody-text-align, left);
  max-width: 400px;
  min-height: 40px;
  box-sizing: border-box;
  vertical-align: baseline;
}

/* .sw-responsive-table__cell--s{min-width: 100px;} */
.sw-responsive-table__cell--m {
  min-width: 100px;
}
.sw-responsive-table__cell--l {
  min-width: 200px;
}
.sw-responsive-table__header-cell--s {
  white-space: nowrap;
}
/* .sw-responsive-table__header-cell--l{min-width: 200px;} */

.sw-responsive-table__wrapper.tablestyle--grid table {
  border: 1px solid #222;
}
.tablestyle--grid .sw-responsive-table__cell,
.tablestyle--grid .sw-responsive-table__header-cell {
  border: var(--sw-responsive-table-td-border-bottom-width, 1px) solid
    var(--sw-responsive-table-td-border-bottom-color, #222);
  /* border: 1px solid black; */
}
.sw-responsive-table__wrapper.tablestyle--grid thead {
  border-bottom: var(--sw-responsive-table-thead-border-bottom-width, 2px) solid
    var(--sw-responsive-table-thead-border-bottom-color, #222);
}

.sw-responsive-table__wrapper table tbody tr {
  border-bottom: var(--sw-responsive-table-tr-border-bottom-width, 1px) solid
    var(--sw-responsive-table-tr-border-bottom-color, #ddd);
}

.sw-responsive-table__wrapper tbody tr:hover {
  background-image: linear-gradient(#bbbbbb20, #bbbbbb20);
}

/* media queries - stψrre skjerm */
@media screen and (min-width: 600px) {
  .sw-responsive-table__wrapper table .highlight {
    background-color: var(
      --sw-responsive-table-tr-background-color--highlight,
      #dcf1f0
    );
    font-weight: var(--sw-responsive-table-tr-font-weight--highlight, bold);
  }

  .sw-responsive-table__wrapper.tablestyle--zebra table tr:nth-child(even) {
    background-color: var(
      --sw-responsive-table-tr-background-color--zebra,
      #f6f6f6
    );
  }

  .sw-responsive-table__wrapper .right {
    text-align: right;
  }

  .sw-responsive-table__wrapper .left {
    text-align: left;
  }

  .sw-responsive-table__wrapper .center {
    text-align: center;
  }
}

/* media queries - mindre skjerm*/
@media screen and (max-width: 600px) {
  /* @media screen and (overflow-block: scroll) { */

  .sw-responsive-table__wrapper.tablestyle--grid table {
    border: none;
  }

  .sw-responsive-table__wrapper.tablevariant--wrap table tbody tr,
  .sw-responsive-table__wrapper.tablevariant--wrap table tbody td {
    display: block;
  }

  .sw-responsive-table__wrapper.tablevariant--wrap table thead,
  .sw-responsive-table__wrapper.tablevariant--wrap .hide-mobile {
    display: none !important;
  }

  .sw-responsive-table__wrapper.tablevariant--wrap table tr {
    border-bottom: none;
    margin: 0 0 1em 0;
  }

  .sw-responsive-table__wrapper.tablestyle--zebra.tablevariant--wrap td,
  .sw-responsive-table__wrapper.tablestyle--simple.tablevariant--wrap td {
    border-bottom: var(--sw-responsive-table-td-border-bottom-width, 1px) solid
      var(--sw-responsive-table-td-border-bottom-color, #ccc);
    text-align: right;
  }

  .sw-responsive-table__wrapper.tablestyle--zebra.tablevariant--wrap
    table
    tr:nth-child(even)
    td {
    background-color: var(
      --sw-responsive-table-tr-background-color--zebra,
      #f6f6f6
    );
  }

  .sw-responsive-table__wrapper.tablevariant--wrap table .highlight td,
  .sw-responsive-table__wrapper.tablevariant--wrap table td.highlight {
    background-color: var(
      --sw-responsive-table-tr-background-color--highlight,
      #dcf1f0
    ) !important;
    font-weight: var(--sw-responsive-table-tr-font-weight--highlight, bold);
  }

  .sw-responsive-table__wrapper.tablevariant--wrap table tr[data-title]:before {
    content: attr(data-title);
    font-weight: bold;
    content: attr(data-title);
    display: block;
    text-align: center;
    margin: 4px;
    /* float: left; */
    margin-right: 0.5em;
    font-size: 0.95em;
  }

  .sw-responsive-table__wrapper.tablevariant--wrap table td[data-title]:before {
    content: attr(data-title);
    font-weight: bold;
    content: attr(data-title);
    display: block;
    float: left;
    margin-right: 1em;
    font-size: 0.95em;
  }
  .sw-responsive-table__wrapper.tablevariant--wrap:not(.tablestyle--grid)
    table
    td:last-child {
    border-bottom: var(
        --sw-responsive-table-border-bottom-width--last-child,
        1px
      )
      solid #ccc;
  }
}

/* // IMAGE show big  */
.sw-album-img__wrapper {
  /* transform: scale(1.1); */
  transition: all 0.5s;
  display: inline-flex;
  flex-direction: column;
}
.sw-album-img__wrapper.canZoom {
  cursor: zoom-in;
}
.canZoom:hover {
  transform: scale(1.05);
  transition: all 0.5s;
  box-shadow: 2px 2px 6px #666666;
  /* cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="20" width="20"  viewBox="0 0 512 512"><!--!Font Awesome Free 6.7.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path  d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM184 296c0 13.3 10.7 24 24 24s24-10.7 24-24l0-64 64 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-64 0 0-64c0-13.3-10.7-24-24-24s-24 10.7-24 24l0 64-64 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l64 0 0 64z"/></svg>'),
    auto; */
}
.sw-album-viewlarge {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #00000090;
}
.sw-album-viewlarge.show,
.sw-album-viewlarge.swshow {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
}
.sw-album-viewlarge__img_wrapper {
  height: 100%;
  width: 100%;
  padding: 10vw;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex-direction: column;
}
.sw-album-viewlarge__img_caption:not(:empty) {
  padding: 16px 32px 24px 32px;
  font-size: 1.2em;
  background-color: #fefefe;
  border-radius: 6px;
  max-width: min(80vw, 700px);
  /* width: 100%; */
}
.sw-album-viewlarge__img_caption p {
  margin: 0;
}

/* ########################### */
/* ########## VIDEO ########## */
/* ########################### */
.html_video_embed_container {
  display: flex;
  align-items: center;
  max-width: 100%;
  min-height: 60px;
}

.video_embed__iframe_wrapper,
.video_embed__iframe_wrapper--regular {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  min-width: min(400px, 100%);
}

.video_embed__iframe_wrapper--regular iframe,
.video_embed__iframe_wrapper--regular video {
  aspect-ratio: 16 / 9;
  width: 100% !important;
  border: none;
}

.video_embed__iframe_wrapper--regular.video_embed__iframe_wrapper--s {
  max-width: min(100%, 600px);
}
.video_embed__iframe_wrapper--regular.video_embed__iframe_wrapper--m {
  max-width: min(100%, 800px);
}
.video_embed__iframe_wrapper--regular.video_embed__iframe_wrapper--l {
  max-width: min(100%, 1000px);
}
.video_embed__iframe_wrapper--regular.video_embed__iframe_wrapper--fw {
  max-width: 100%;
}

.video_embed__iframe_wrapper--portrait {
  width: 50vw;
  max-width: 600px;
}
.video_embed__iframe_wrapper--portrait iframe,
.video_embed__iframe_wrapper--portrait video {
  aspectratio: 9 / 16;
}

.video_embed__iframe_wrapper--portrait.video_embed__iframe_wrapper--s {
  max-width: 400px;
}
.video_embed__iframe_wrapper--portrait.video_embed__iframe_wrapper--m {
}
.video_embed__iframe_wrapper--portrait.video_embed__iframe_wrapper--l {
  max-width: 100%;
}
.video_embed__iframe_wrapper--portrait.video_embed__iframe_wrapper--fw {
  max-width: 100%;
}

/* ########################### */
/* ########## KOLONNER ########## */
/* ########################### */
.columns_container__content {
  max-width: min(var(--sw-width-wide-content), 100%);
  /* max-width:  100%; */
  width: 100%;

  display: flex;
  flex-wrap: wrap;

  justify-items: center;
  align-items: stretch;
  justify-content: stretch;
  column-gap: var(--sw-column-gap);
  row-gap: 16px;
}

.columns_container__column {
  display: flex;
  flex-direction: column;
  justify-content: var(--sw-justify-content);
  flex: 1 1 30%;
  min-width: 250px;
}

/* ########################### */
/* ########## parallax ########## */
/* ########################### */

.parallax_container {
  padding-top: 64px;
  padding-bottom: 64px;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
  border-radius: 6px;

  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #efefef;
  width: 100%;
}
.parallax_container__card {
  /* width: 50vw; */
  max-width: min(var(--sw-width-slim-content), 90%);
  min-height: 150px;
  min-width: 200px;
  padding: 32px;
  background-color: var(
    --user-color-parallax-bg,
    var(--sw-transparent-bg--light, rgba(240, 248, 255, 0.819))
  );
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--sw-font-color, inherit);
  /* background-image: url("https://images.unsplash.com/photo-1532028205213-4c4fa81306d4?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"); */
}

/* ########################### */
/* ########## content wrapper ########## */
/* ########################### */

.rendered_content__wrapper {
  align-self: stretch;
  display: flex;
  width: 100%;
  flex-direction: column;
  box-sizing: border-box;
  padding-left: var(--sw-padding-sides, 0);
  padding-right: var(--sw-padding-sides, 0);
  margin-top: var(--sw-margin-top, 0);
  margin-bottom: var(--sw-margin-bottom, 0);
  align-items: var(--sw-h-align, 0);
}

/* ########################### */
/* ########## image fade  ########## */
/* ########################### */

.sw-album_container .sw_a_fade {
  transition: all 0.3s, opacity 0.7s ease-in;
}

.sw-album_container .sw_a_fadeOut {
  opacity: 0;
}
.sw-album_container .fadeIn {
  opacity: 1;
}

/* ########################### */
/* ########## album ########## */
/* ########################### */
.sw-album__imagecaption:not(:empty) {
  padding: 8px 0;
}
.sw-album__imagecaption p {
  margin: 0;
}

.sw-album-img__wrapper--polaroid {
  display: inline-flex;
  flex-direction: column;
  background: #fff;
  padding: 1em;
  /* margin: 0 0 1.5em; */
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  box-shadow: 2px 2px 4px 0 #ccc;
}

/* ########################### */
/* ########## masonary album ########## */
/* ########################### */

.masonry__wrapper .masonry {
  /* display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 100px;
  gap: 10px;
  grid-auto-flow: column;
  min-height: fit-content; */

  -moz-column-count: auto;
  -webkit-column-count: auto;
  column-count: auto;
  column-width: var(--swc-album-column-width, 250px);
  /* -moz-column-count: 3;
  -webkit-column-count: 3;
  column-count: 3; */
  -webkit-column-gap: 16px;
  -moz-column-gap: 16px;
  column-gap: 16px;
  margin: 1.5em;
  padding: 0;
  /* column-fill: balance-all; */
  orphans: 1;
  widows: 1;
}

.masonry__wrapper .masonry__item {
  display: inline-block;
  margin: 0 0 1.5em;
  width: 100%;
  /* -webkit-transition: 1s ease all; */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.masonry__wrapper .masonry__item:not([class*="sw-album-img__wrapper--"]) {
  background: #fff;
  padding: 1em;
  box-shadow: 2px 2px 4px 0 #ccc;
}

.masonry__wrapper .masonry__item img {
  max-width: 100%;
}
/* 
@media only screen and (max-width: 600px) {
  .masonry__wrapper .masonry,
  .masonry__wrapper .masonry--3,
  .masonry__wrapper .masonry--4 {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
  }
}

@media only screen and (min-width: 600px) {
  .masonry__wrapper .masonry,
  .masonry__wrapper .masonry--3,
  .masonry__wrapper .masonry--4 {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
  }
}
@media only screen and (min-width: 769px) {
  .masonry__wrapper .masonry--3,
  .masonry__wrapper .masonry--4 {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
  }
}
@media only screen and (min-width: 1201px) {
  .masonry__wrapper .masonry--4 {
    -moz-column-count: 4;
    -webkit-column-count: 4;
    column-count: 4;
  }
} */

/* ########################### */
/* ########## grid album ########## */
/* ########################### */

.sw-album__grid_wrapper .sw-album__grid_item img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}
.sw-album__grid_wrapper .sw-album__grid_item.sw-img--cover img {
  max-width: unset;
  max-height: unset;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.sw-album__grid_wrapper .sw-album__grid_item.sw-img--scale-down img {
  /* max-width: unset;
  max-height: unset;
  min-width: 100%;
  min-height: 100%; */
  object-fit: scale-down;
}

.sw-album__grid {
  max-width: 100%;
  width: 100%;
  display: grid;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 16px;
  padding: 1.5em;
  box-sizing: border-box;
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, var(--swc-album-column-width, 250px)), 1fr)
  );
}

.sw-grid-album-img__wrapper {
  background: #efefef;
  background-image: var(--swc-album-bgimg);
  /* background-image: `url(${img.Url}?width=300)`, */
  background-size: 100%;
  border-radius: 6px;
  height: auto;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1;
}
.sw-grid-album-img__wrapper--scale-down {
  aspect-ratio: unset;
  height: 100%;
}

.sw-album__grid_item {
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* flex-direction: column; */
  /* position: relative; */
}

.sw-album__grid .sw-grid-album__imagecaption {
  padding-left: 8px;
  padding-right: 8px;
}

/* ########################### */
/* ########## hr ########## */
/* ########################### */
.sw-line_container__line {
  border-radius: 2px;
  height: var(--sw-height, 3px);
  width: var(--sw-width, 75%);
  max-width: var(--sw-maxwidth, 100%);
  margin-top: var(--sw-margin-topbottom, 16px);
  margin-bottom: var(--sw-margin-topbottom, 16px);
  background-color: var(
    --swc-line-backgroundcolor,
    var(--theme-color, currentcolor)
  );
}

/* ########################### */
/* ########## Header ########## */
/* ########################### */
.sw-header_container__wrapper {
  display: flex;
  box-sizing: border-box;
  width: var(--sw-width, 75%);
  max-width: var(--sw-maxwidth, 100%);
  padding-left: var(--sw-padding-sides, 0);
  padding-right: var(--sw-padding-sides, 0);
  background-color: var(--swc-header-background-color);
  border-radius: var(--swc-header-border-radius);
  justify-content: var(--sw-h-align);
}

.sw-header_container__header {
  box-sizing: border-box;
  width: fit-content;
}
.sw-header_container--underline .sw-header_container__header {
  text-decoration: underline;
  text-decoration-color: var(
    --swc-header-underline-color,
    var(--header-underline-color, currentcolor)
  );
  text-underline-offset: 4px;
}

/* ########################### */
/* ########## Header ########## */
/* ########################### */
.sw-space_container {
  width: 100%;
  height: var(--swc-space-height);
}

/* ########################### */
/* ########## Section ########## */
/* ########################### */
.sw-section_container__content {
  background: var(
    --swc-section-background-color,
    var(--layout-row-background-color-light, whitesmoke)
  );
  color: var(--swc-section-font-color, inherit);
  width: min(var(--swc-section-width), 100%);
  overflow: hidden;
  min-height: 50px;
  border-radius: var(--swc-section-border-radius);
  border-width: var(--swc-section-border-width, 0);
  border-color: var(--swc-section-border-color, var(--theme-color, #404040));
  border-style: solid;
  box-shadow: var(--swc-section-box-shadow);
  padding: 32px;
  box-sizing: border-box;
  display: flex;
  justify-content: var(--swc-section-content-justify-content, space-around);
  flex-direction: var(--swc-section-content-flex-direction, column);
  flex-wrap: var(--swc-section-content-flex-wrap);
}
.sw-section_container__content > div {
  flex: var(--swc-section-content-item-flex, 1);
}

/* .sw-section_container__content .sub_list__content>div{
  flex: 1;
} */

/* ########################### */
/* ########## Card ########## */
/* ########################### */
.sw-card_container__content {
  background: var(
    --swc-card-background-color,
    var(--layout-row-background-color-light, whitesmoke)
  );
  color: var(--swc-card-font-color, inherit);
  width: min(var(--swc-card-width), 100%);
  overflow: hidden;
  min-height: 50px;
  border-radius: var(--swc-card-border-radius);
  border-width: var(--swc-card-border-width, 0);
  border-color: var(--swc-card-border-color, var(--theme-color, #404040));
  border-style: solid;
  box-shadow: var(--swc-card-box-shadow);
}

/* .sw-card_container__content .sw-styled-content, .sw-card_container__content .sw-placeholder-text{
  padding: var(--swc-card-padding, 0 24px);
} */

/* ########################### */
/* ########## Callout ########## */
/* ########################### */

.sw-callout_container p {
  margin: 0;
}
.sw-callout_container a {
  display: block;
}

/* ########################### */
/* ########## Callout  Quote ########## */
/* ########################### */

.callout_quote {
  padding: 16px;
}

.callout_quote blockquote {
  position: relative;
  padding: 0 32px 0 40px;
  min-width: 200px;
  max-width: 500px;
  color: #404040;

  /* background: #f9f9f9; */
  /* border-left: 10px solid #ccc; */
  /* margin: 1.5em 10px; */
  /* padding: 0.5em 10px; */
  quotes: "" "";
  /* quotes: '\x01C" "\x01D" "\x018" "\x019";*/
  /* quotes: "" "";*/
  /* quotes: "" "" "" ""; */
}

.callout_quote blockquote:before {
  font-family: "serif";
  color: #ccc;
  content: open-quote;
  position: absolute;
  left: 0;
  top: -12px;
  font-size: 6em;
  height: 100%;
  /* line-height: 0.1em; */
  /* margin-right: 0.25em; */
  /* vertical-align: -0.4em; */
}

.callout_quote blockquote:after {
  color: #cccccc73;
  font-family: "serif";
  content: close-quote;
  /* position: absolute; */
  /* right: 0; */
  font-size: 20em;
  line-height: 0.1em;
  /* margin-right: 0.25em; */
  /* vertical-align: -0.4em; */
  position: absolute;
  /* height: 100%; */

  right: 0;
  bottom: -50px;
  z-index: -1;
}

.callout_quote blockquote .callout_quote__content {
  padding: 1em 0;
  /* margin: 1em 0; */
  /* text-indent: 16px; */
}
.callout_quote blockquote .callout_quote__content p {
  line-height: 1.5em;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em 0;
  /* margin: 1em 0; */
  /* text-indent: 16px; */
}
.callout_quote blockquote .callout_quote__content p:first-of-type {
  display: inline-block;

  /* line-height: 1.5em; */
  text-indent: 16px;
}

.callout_quote .author {
  display: inline-block;

  width: 100%;
  text-align: right;
  padding-right: 50px;
  box-sizing: border-box;
  color: #808080;
}
.callout_quote .author:before {
  content: "";
  position: relative;
  margin-right: 5px;
}
