/*-- -------------------------- -->
<---          Banner            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #banner-1400 {
    padding: var(--sectionPadding);
    /* 190px - 268px */
    /* padding-top: clamp(11.875rem, 25vw, 16.75rem); */
    padding-top: clamp(8.875rem, 22vw, 12.75rem);
    padding-bottom: 6.25rem;
    /* clips the line from causing overflow issues for going off screen */
    overflow: hidden;
    position: relative;
    z-index: 1;
    width: 100%;
  }
  #banner-1400 .cs-container {
    text-align: center;
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    /* 8px - 12px */
    gap: clamp(0.5rem, 1vw, 0.75rem);
  }
  #banner-1400 .cs-int-title {
    /* 39px - 61px */
    font-size: clamp(1.4rem, 6.5vw, 3.8125rem);
    font-weight: 900;
    line-height: 1.2em;
    text-align: inherit;
    margin: 0;
    color: var(--bodyTextColorWhite);
    position: relative;
  }
  #banner-1400 .cs-breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #banner-1400 .cs-link {
    font-size: clamp(0.75rem, 2vw, 1.2rem);
    line-height: 1.2em;
    text-decoration: none;
    color: var(--bodyTextColorWhite);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #banner-1400 .cs-link:last-of-type::after {
    display: none;
  }
  #banner-1400 .cs-link:after {
    /* chevron */
    content: "";
    width: 0.4375rem;
    height: 0.75rem;
    margin: 0 1rem;
    background: url("https://csimg.nyc3.cdn.digitaloceanspaces.com/Icons/white-chev.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: block;
  }
  #banner-1400 .cs-link.cs-active {
    /* color: var(--primary); */
    color: var(--darkmodeTopper);
  }
  #banner-1400 .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #banner-1400 .cs-background:before {
    /* gradient overlay */
    content: "";
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.4;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #banner-1400 .cs-background:after {
    /* gradient overlay */
    content: "";
    width: 100%;
    height: 40%;
    background: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(#000000),
      to(rgba(0, 0, 0, 0))
    );
    background: -o-linear-gradient(top, #000000 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to bottom, #000000 0%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 2;
  }
  #banner-1400 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Makes img tag act as a background image */
    object-fit: cover;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #banner-1400 .cs-background:before {
    width: 50%;
    height: 100%;
    background: -webkit-gradient(
      linear,
      left top,
      right top,
      from(#000000),
      to(rgba(0, 0, 0, 0))
    );
    background: -o-linear-gradient(left, #000000 0%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to right, #000000 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 1;
  }
}

/*-- -------------------------- -->
<---        Content Page        -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #content-page-1944 {
    padding: var(--sectionPadding);
    padding-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #content-page-1944 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
    position: relative;
  }
  #content-page-1944 .cs-content {
    text-align: left;
    width: 100%;
    max-width: 47.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #content-page-1944 .cs-title {
    font-size: var(--headerFontSize);
    font-weight: 900;
    line-height: 1.2em;
    text-align: inherit;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    position: relative;
  }
  #content-page-1944 h2,
  #content-page-1944 h3,
  #content-page-1944 h4,
  #content-page-1944 h5,
  #content-page-1944 h6 {
    font-weight: 700;
    text-align: inherit;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
  }
  #content-page-1944 h2 {
    font-size: 2rem;
    margin-top: 2rem;
  }
  #content-page-1944 h3 {
    font-size: 1.5rem;
    color: var(--primary);
  }
  #content-page-1944 h4,
  #content-page-1944 h5,
  #content-page-1944 h6 {
    font-size: 1.25rem;
  }
  #content-page-1944 .cs-button-solid {
    margin-bottom: 2rem;
  }
  #content-page-1944 p {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    margin: 0 0 1rem 0;
    color: var(--bodyTextColor);
  }
  #content-page-1944 p:last-of-type {
    margin-bottom: 2rem;
  }
  #content-page-1944 p a {
    font-size: inherit;
    line-height: inherit;
    text-decoration: underline;
    color: var(--primary);
    filter: brightness(120%);
  }
  #content-page-1944 ol {
    margin: 0 0 2rem 0;
    padding-left: 1.5rem;
    color: var(--headerColor);
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  #content-page-1944 ol li {
    font-size: 1rem;
    line-height: 1.5em;
  }
  #content-page-1944 ol li strong {
    color: var(--headerColor);
  }
  #content-page-1944 ol li p:last-of-type {
    margin: 0;
  }
  #content-page-1944 ul {
    margin: 0 0 2rem 0;
    padding-left: 1.5rem;
    color: var(--bodyTextColor);
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  #content-page-1944 ul li {
    list-style: none;
    line-height: 1.5em;
    font-size: 1rem;
    color: inherit;
    position: relative;
  }
  #content-page-1944 ul li strong {
    color: var(--headerColor);
  }
  #content-page-1944 ul li:before {
    /* custom list bullet */
    content: "";
    width: 3px;
    height: 3px;
    background: currentColor;
    opacity: 1;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 0.625rem;
    left: -0.75rem;
  }

  #content-page-1944 .cs-image-group {
    font-size: min(2.29vw, 1rem);
    width: 29.875em;
    height: 47.75em;
    display: none;
    order: -1;
    position: relative;
    z-index: 2;
  }
  #content-page-1944 .cs-picture {
    width: 29.4375em;
    height: 42.5625em;
    box-sizing: border-box;
    /* background-color: #dab692; */
    overflow: hidden;
    /* border: 8px solid #02060b; */
    border-radius: 2rem;
    position: absolute;
    right: 0;
    z-index: -1;
  }
  #content-page-1944 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.7s;
  }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #content-page-1944 .cs-container {
    flex-direction: row;
    align-items: flex-start;
  }
  #content-page-1944 .cs-image-group {
    font-size: min(1.2vw, 1rem);
    display: block;
    flex: none;
  }
  #content-page-1944 .selfie-image-group {
    display: none;
  }
  #content-page-1944 #hosting-top-exception {
    width: 22.4375;
    height: 37.5625em;
  }
  #content-page-1944 #hosting-less-height {
    width: 25.4375;
    height: 37.5625em;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #content-page-1944 {
    background-color: rgba(0, 0, 0, 0.2);
  }
  body.dark-mode #content-page-1944 .cs-title,
  body.dark-mode #content-page-1944 .cs-text,
  body.dark-mode #content-page-1944 h1,
  body.dark-mode #content-page-1944 h2,
  body.dark-mode #content-page-1944 h3,
  body.dark-mode #content-page-1944 h4,
  body.dark-mode #content-page-1944 h5,
  body.dark-mode #content-page-1944 h6 li,
  body.dark-mode #content-page-1944 p {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #content-page-1944 li strong,
  body.dark-mode #content-page-1944 p strong {
    color: #fff;
  }
  body.dark-mode #content-page-1944 p,
  body.dark-mode #content-page-1944 li {
    color: #ebebeb;
  }
  body.dark-mode #content-page-1944 .cs-picture {
    border-color: var(--accent);
  }
  body.dark-mode #content-page-1944 h3 {
    color: var(--darkmodeTopper);
  }
  body.dark-mode #content-page-1944 .cs-topper {
    color: var(--darkmodeTopper);
  }
}

/*-- -------------------------- -->
  <---    Content Page Reverse    -->
  <--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #content-page-1944 .cs-content-reverse {
    padding-top: 2.25rem;
  }
  #content-page-1944 .cs-content-reverse .cs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #content-page-1944 .cs-content-reverse .cs-image-group {
    font-size: min(1.8vw, 0.9rem);
    width: 47.8125em;
    height: 30.5em;
    display: block;
    position: relative;
    z-index: 1;
  }
  #content-page-1944 .cs-content-reverse .cs-picture {
    width: 48em;
    height: 21.25em;
    height: 100%;
    box-sizing: border-box;
    /* background-color: #dab692; */
    overflow: hidden;
    /* border: 0.5em solid #dab692; */
    border-radius: 20rem;
    position: absolute;
    z-index: -1;
  }
  #content-page-1944 .cs-content-reverse .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.7s;
  }
  #content-page-1944 .cs-content-reverse .cs-graphic {
    height: auto;
    position: absolute;
  }
  #content-page-1944 .cs-content-reverse .cs-dots {
    width: 8.5625em;
    height: auto;
    top: -2em;
    left: 2em;
  }
  #content-page-1944 .cs-content-reverse .cs-brown {
    width: 12.6875em;
    height: auto;
    top: 0;
    right: 0;
    z-index: -3;
  }
  #content-page-1944 .cs-content-reverse .cs-peach-right {
    width: 4.1875em;
    height: auto;
    top: -1.1875em;
    right: 8.3125em;
  }
  #content-page-1944 .cs-content-reverse .cs-leaf-right {
    width: 17.6875em;
    height: auto;
    bottom: -0.875em;
    left: 2em;
  }
}
/* Large Desktop 1300px */
@media only screen and (min-width: 81.25rem) {
  #content-page-1944 .cs-content-reverse .cs-container {
    flex-direction: row;
    align-items: flex-start;
  }
  #content-page-1944 .cs-content-reverse .cs-image-group {
    width: 39em;
    height: 33.125em;
    margin-top: 4rem;
    order: 2;
  }
  #content-page-1944 .cs-content-reverse #hosting-exception {
    margin-top: 1.7rem;
  }
  #content-page-1944 .cs-content-reverse .cs-picture {
    width: 34em;
  }
  #content-page-1944 .cs-content-reverse .cs-dots {
    top: -1em;
  }
  #content-page-1944 .cs-content-reverse #less-padding {
    margin-top: 0;
  }
}

/* Mobilbilder för tjänstesidor */

.cs-hidden-image {
  display: none;
  text-align: center; /* Centers image if needed */
}

@media (max-width: 600px) {
  .cs-hidden-image {
    display: block;
    margin-top: 1rem;
    margin-bottom: 2rem;
  }

  .cs-hidden-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 5%;
  }
}

/*-- -------------------------- -->
<---            CTA             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #cta-1072 {
    padding: var(--sectionPadding);
    background-color: var(--primary);
    position: relative;
    z-index: 1;
  }
  #cta-1072 .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #cta-1072 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #cta-1072 .cs-flex {
    max-width: 39.375rem;
  }

  #cta-1072 .cs-title {
    margin: 0;

    color: var(--bodyTextColorWhite);
  }
  #cta-1072 .cs-button-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  #cta-1072 .cs-button-solid {
    font-size: 1rem;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #fff;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    display: inline-block;
    position: relative;
    z-index: 1;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
  }
  #cta-1072 .cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #ffffff;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #cta-1072 .cs-button-solid:hover {
    color: black;
  }
  #cta-1072 .cs-button-solid:hover:before {
    width: 100%;
  }
  #cta-1072 .cs-button-transparent {
    font-size: 1rem;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #fff;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: transparent;
    display: inline-block;
    position: relative;
    z-index: 1;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    transition: color 0.3s;
  }
  #cta-1072 .cs-button-transparent:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #fff;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #cta-1072 .cs-button-transparent:after {
    /* border */
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: transparent;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    border: 1px solid #fff;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
    pointer-events: none;
  }
  #cta-1072 .cs-button-transparent:hover {
    color: black;
  }
  #cta-1072 .cs-button-transparent:hover:before {
    width: 100%;
  }
  #cta-1072 .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #cta-1072 .cs-background:before {
    /* background color overlay */
    content: "";
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    background: #1a1a1a;
    opacity: 0.5;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #cta-1072 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* Makes img tag act as a background image */
    object-fit: cover;
  }
}

/* VIDEO BANNER CODE */
/* Make background VIDEO behave like the old background IMG */
#cta-1072 .cs-background {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0; /* shorthand for top/left/right/bottom:0 */
  z-index: -1;
  display: block;
}

/* Apply the same "cover" rules to video */
#cta-1072 .cs-background video,
#cta-1072 video.cs-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay should still sit above the media */
#cta-1072 .cs-background:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #1a1a1a;
  opacity: 0.5;
  z-index: 1;
}
