/*
-------------------------------------------
style.css
-------------------------------------------

	Styling av sommariskeppsbron.se
  Skapad av: Webbfröken AB
  Webbplats: https://webbfroken.se

------------------------------------------- */


/*
-------------------------------------------
Variabler
------------------------------------------- */

:root {

  /* Färger*/
  --yellow: #f9b333;
  --yellow-darker: #d37811;
  --blue-darkest: #092a35;
  --blue: #2f628b;
  --blue-heaven: #2983bb;
  --blue-water: #90bcce;
  --blue-logo: #cde7ec;

  /* Storlekar */
  --grid-size: 1440px;
  
}


/*
-------------------------------------------
Generellt
------------------------------------------- */

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--yellow);
  color: var(--blue-darkest);
  background-image: url('/images/18.4da3cff01874b5a045d61438/1682341766611/main-top-right.png');
  background-repeat: no-repeat;
  background-position: top right; 
  font-size: 1.9rem;
}

body > .sv-layout {
  background-image: url('/images/18.4da3cff01874b5a045d61437/1682341766531/main-top-left.png');
  background-repeat: no-repeat;
  background-position: top left;
}

.normal a:hover {
  text-decoration: none;
}

.env-button {
  font-weight: bold;
  padding: 2.2rem 3rem;
  border-radius: 20px;
  transition: background-color 0.3s ease;
}

.env-button--primary.env-button--ghost {
  color: #fff;
}

.pagecontent > .sv-portlet {
  margin-bottom: 2em;
}


/* Specialare i desktop */
@media (max-width: 1920px) {
  body {
    background-size: 44%;
  }
  body > .sv-layout {
    background-size: 24%;
  }
}

@media (max-width: 1820px) {
  body {
    background-size: 40%;
  }
  body > .sv-layout {
    background-size: 20%;
  }
}

@media (max-width: 1720px) {
  body > .sv-layout {
    background: none;
  }
  body {
    background-size: 60%;
  }
}


/* Mobil & Läsplatta */
@media (max-width: 1024px) {  
  body > .sv-layout {
    background: none;
  }
}


/* Mobil */
@media (max-width: 800px) {
  body,  
  body > .sv-layout {
    background:none;
  }
  h1.heading {
    font-size: 4rem;
  }
  h2.subheading {
    font-size: 2.8rem;
  }
  h3.subheading3,
  .sv-font-ingress {
    font-size: 2rem;
  }
  .normal {
    font-size: 1.7rem;
  }
}


/*
-------------------------------------------
Layout
------------------------------------------- */

/* Content */
.wf-content {
  padding: 12rem 2rem;
}

.wf-content-page {
  padding: 24rem 2rem 12rem;
}


/* Mobil & Läsplatta */
@media (max-width: 1024px) {    
  .wf-content {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .wf-content-page {
    padding: 12rem 2rem 6rem;
  }
}


/* Mobil */
@media (max-width: 800px) {
  .wf-content-page {
    padding-top: 12rem;
    padding-bottom: 3rem;
  }
}


/*
-------------------------------------------
Hoppa till innehåll
------------------------------------------- */

.wf-skip-to-content {
  background-color: var(--env-element-secondary-background-color);
  border: 2px solid var(--env-element-secondary-font-color);
  color: var(--env-element-secondary-font-color);
  border-radius: var(--env-button-border-radius);
  font-size: var(--env-font-size-medium);
  font-weight: bold;
  padding: 1rem 2rem;
  text-decoration: none;
  position: absolute;
  top: -50px;
  left: 10px;
  z-index: 9999;
}

.wf-skip-to-content:focus {
  top: 10px;
}



/*
-------------------------------------------
Sidhuvud
------------------------------------------- */

header .sv-column-6 {
  position: relative;
}
     
header .sv-marketplace-sitevision-mobile-menu {
  position: absolute;
  top: 6rem;
  right: 0;
}

/* Logo */
header .sv-row > .sv-column-6:first-child .sv-image-portlet {
  position: absolute;
  z-index: 1;
}

header .sv-row > .sv-column-6:first-child img {
  display: block;
  background-color: var(--blue-logo);
  padding: 6rem 1rem 1rem;
  max-width: 112px !important;
}

.sv-template-startsida header .sv-row > .sv-column-6:first-child .sv-image-portlet {
  display: none;
}


/* Mobilmeny */
header .sv-marketplace-sitevision-mobile-menu dialog {
  width: clamp(400px, 33vw, 600px);
  top: 0;
  right: 0;
  left: initial;
  bottom: initial;
  padding: 0;
  background-color: var(--env-ui-color-brand) !important;
  box-shadow:0 0 50px rgba(0,0,0,0.5);
}

header .sv-marketplace-sitevision-mobile-menu dialog > div {
  padding: 3rem
}
     
header .sv-marketplace-sitevision-mobile-menu dialog::backdrop {
  background: rgba(0,0,0,0.5) !important;
}

header .sv-marketplace-sitevision-mobile-menu dialog > div > button {
  height: auto !important;
  width: 100% !important;
  display: flex !important;
  box-sizing: border-box !important;
  align-items:center;
  justify-content:center;
  gap:2rem;
  overflow: visible !important;
  padding: 2rem !important;
  position: static !important;
  border:2px solid var(--env-ui-color-brand-contrast) !important;;
  color:var(--env-ui-color-brand-contrast) !important;
  border-radius:0;
}

header .sv-marketplace-sitevision-mobile-menu dialog button:hover {
  color: var(--env-ui-color-brand-70-contrast) !important;
  background-color: var(--env-ui-color-brand-70) !important;
}

header .sv-marketplace-sitevision-mobile-menu dialog button:before{
  display:none;
}

header .sv-marketplace-sitevision-mobile-menu dialog button svg.env-icon {
  position:relative;
  top:unset !important;
  left:unset !important;
  margin: 0 !important;
}

header .sv-marketplace-sitevision-mobile-menu dialog > div > ul {
  margin-top:3rem;
}

header .sv-marketplace-sitevision-mobile-menu dialog ul li {
  margin-bottom:0;
}

header .sv-marketplace-sitevision-mobile-menu dialog ul li a {
  color: var(--env-ui-color-brand-contrast) !important;
  padding: 1rem 3rem;
  border-bottom:2px solid var(--env-ui-color-brand-75);
}

header .sv-marketplace-sitevision-mobile-menu dialog ul li a:hover {
  color: var(--env-ui-color-brand-70-contrast) !important;
  background-color: var(--env-ui-color-brand-70) !important;
}



/* Mobil & Läsplatta */
@media (max-width: 1440px) {  
  header .sv-row>.sv-column-6:first-child .sv-image-portlet {
    left: 2rem;
  }
}

/* Mobil & Läsplatta */
@media (max-width: 1024px) {  
  header .sv-row > .sv-column-6:first-child img {
    max-width: 90px !important;
    padding: 0 1.4rem;
  }
}

/* Mobil */
@media (max-width: 800px) {  
  header .sv-row>.sv-column-6:first-child .sv-image-portlet {
    left: 0;
  }

  header .sv-marketplace-sitevision-mobile-menu {
    top: 2rem;
    right: 2rem;
  }

  header .sv-marketplace-sitevision-mobile-menu > div > nav > .env-button {
    padding: 2rem 5.2rem 2rem 1.8rem;
    font-size: 1.6rem;
  }
}


/*
-------------------------------------------
Sidfot
------------------------------------------- */

footer {
  padding: 18rem 2rem;
  background-color: var(--blue);
}

footer .normal,
footer .normal a {
    color: #fff;
    font-weight: bold;
    font-size: 2.2rem;
}

/* Logotyp */
footer .sv-image-portlet img {
  display: block;
  height: auto !important;
  margin-top: -6rem;
  margin-bottom: 6rem;
  max-height: 100%;
  max-width: 100%;
  width: 260px !important;
}

/* Sociala medier */
footer .sv-html-portlet {
  margin: -4rem 0 6rem;
}

footer .sv-html-portlet a {
  text-decoration: none;
}

footer .sv-html-portlet a svg {
  fill: #fff;
  height: 46px;
  width: 46px;
}

footer .sv-html-portlet a:hover svg,
footer .sv-html-portlet a:focus svg {
  fill: var(--yellow);
}


/* Mobil */
@media (max-width: 800px) {  
  footer {
    padding-top: 6rem;
    padding-bottom: 6rem;
    text-align: center;
  }
  footer .sv-image-portlet img {
    margin: 0 auto 6rem;  
    width: 180px !important;
  }
  footer .normal,
  footer .normal a {
    font-size: 1.9rem;
  }
}


/*
-------------------------------------------
Cookiebanner
------------------------------------------- */

.sv-cookie-consent-modal footer {
  background-color: #fff;;
}

.sv-cookie-consent-modal .env-button--primary.env-button--ghost {
  color: var(--blue-darkest);
}

.sv-cookie-consent-modal h2 {
  font-weight: bold;
}


/*
-------------------------------------------
Punktlista
------------------------------------------- */

ul li {
  margin-bottom: 0.75em;
}

ul li {
  margin-bottom: 0.75em;
}


/*
-------------------------------------------
Definitionslista
------------------------------------------- */

dl {
    display: flex;
    flex-flow: row wrap;
    font-weight: bold;
}

dt,
dd {
    padding: .5rem 0;
}

dt {
    flex-basis: 25%;
}

dd {
    flex-basis: 70%;
    flex-grow: 1;
    margin: 0;
}


/*
-------------------------------------------
Hero - Start
------------------------------------------- */

.wf-hero {
  height: 70vh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  justify-content: center;
  flex-direction: column;
  padding: 24rem 2rem 3rem;
  min-height: 780px;
}

.wf-hero .sv-image-portlet {
  margin-bottom: 6rem;
  max-width: 600px;
}

.wf-hero .sv-font-ingress {
  font-size: 3.2rem;
  font-weight: 800;
  margin: 0 !important;
  max-width: 940px;
  text-align: center;
}

     
/* Ny hero */
.wf-content.wf-content-page {
  padding: 0; /* Temp*/
  height: 100vh;  
  min-height: 960px;
}

.wf-content.wf-content-page > .sv-layout {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.wf-content.wf-content-page > .sv-layout > .sv-image-portlet {
  margin: 20rem auto 0;
  width: clamp(220px, 28vw, 330px);
}

.wf-content.wf-content-page > .sv-layout > .sv-layout {  
  background: rgba(9,42,53,0.6);
  padding-top: clamp(3rem, 6vw, 6rem);
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: clamp(3rem, 6vw, 16rem);
  position: relative;
}

.wf-content.wf-content-page > .sv-layout > .sv-layout:before {
  background: linear-gradient(0deg,rgba(9,42,53,.6) 0,rgba(9,42,53,.6) 2%,rgba(9,42,53,.2) 50%, rgba(9,42,53,0) 100%); 
  position: absolute;
  height: 100px;
  width: 100%;
  content: "";
  display: block;
  transform: translateY(-100%);
  top: 0;
  left: -2rem;
  padding: 0 2rem 0 0;
}

.wf-content.wf-content-page .sv-font-ingress {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 .6em !important;
  max-width: 940px;
}

.wf-content.wf-content-page .env-button {
  padding: clamp(1.4rem, 2vw, 3rem) clamp(2rem, 3vw, 4rem);
  font-size: clamp(1.9rem, 2vw, 2.2rem);
  color: #fff;
  border-color: var(--env-background-color);
  border-width: 4px;
  background-color: rgba(9,42,53,0);
  transition: background-color 0.3s ease;
}
     
.wf-content.wf-content-page .env-button:hover {
   background-color: rgba(9,42,53,.6);
}


.wf-content.wf-content-page .env-button:after {
  background-image: url("/images/18.4408d4b618e9de649b159f42/1713449173630/icon-scroll.svg");
  background-repeat: no-repeat;
  content: '';
  display: block;
  height: 36px;
  width: 18px;
  margin-left: 1.5rem;
}


/* Specialare i desktop */
@media (max-width: 1440px) {
  .wf-hero .sv-image-portlet {
    text-align: center;
  }
  .wf-hero .sv-image-portlet img {
    width: 80%;
  }
  .wf-hero {
    height: 70vh;
    min-height: 620px;
  }

  /* Ny hero */
  .wf-content .wf-content-page {
    min-height: 850px;
  }
  .wf-content.wf-content-page > .sv-layout {
    background-size: 40%;
  }
}


/* Mobil & Läsplatta */
@media (max-width: 1024px) {
  .wf-hero {
    padding-top: 12rem;
    padding-bottom: 0;
    height: initial;
    min-height: initial;
  }
  .wf-hero .sv-image-portlet img {
    width: 70%;
  }
  .wf-hero .sv-font-ingress {
    font-size: 2.6rem;
  }

  /* Ny hero */
  .wf-content.wf-content-page {
    min-height: initial;
  }
}


/* Mobil */
@media (max-width: 800px) {
  .wf-hero .sv-image-portlet img {
    width: 100%;
  }
  .wf-hero .sv-font-ingress {
    font-size: 2rem;
  }
  .wf-hero {
    padding-top: 6rem;
  }

  /* Ny hero */
  .wf-content.wf-content-page {
    height: 85vh;
  }
  .wf-content.wf-content-page > .sv-layout {
    background-image: none;
  }
  .wf-content.wf-content-page > .sv-layout > .sv-image-portlet {
    margin-top: 9rem;
  }
  .wf-content.wf-content-page .env-button:after {
    height: 28px;
    width: 14px;
  }
}


/*
-------------------------------------------
Evenemangslistning
------------------------------------------- */

.wf-events-bg {
  background-image: url('/images/18.1aa8a7af1874b64bf8a613fd/1682359744442/event-bg.png');
  background-repeat: repeat-y;
  background-position: top center;
}

.wf-events {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.6rem;
  list-style: none;
  margin: clamp(.5em, 4vw, 2em) 0 0;
  padding: 0;
}

.wf-events li {
  position: relative;
  margin-bottom: 0;
  overflow: hidden;
}

.wf-events-item-wrapper {
  height: 415px;
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column-reverse;
  transition: all .3s cubic-bezier(0.25,0.45,0.45,0.95);
}

.wf-events-item-info-wrapper {
  background: rgba(9,42,53,0.6);
  padding: 0 clamp(2rem,5vw,5rem) clamp(2rem,5vw,5rem);
}

.wf-events-item-info-wrapper:before {
  content:'';
  display:block;
  margin:0 calc(clamp(2rem,5vw,5rem) * -1);
  background: linear-gradient(0deg,rgba(9,42,53,.6) 0, rgba(9,42,53,0) 100%);
  height: clamp(30px, 10vw, 100px);
  width: 100%;
  transform:translateY(-100%);
  position: absolute;
}
     
.wf-events-item-wrapper .eventCancelled {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 0.5em;
  display: inline-block;
  background-color: #fff;
  padding: .15em .5em;
  color: var(--env-border-danger-color);
}

.wf-events-item-heading {
  margin: 0 0 .4em;
}

.wf-events-item-heading a {
  color: #fff;
  font-size: clamp(3rem, 5vw, 5rem);
  text-decoration: none;
  line-height: 1.1;
  display: inline-block;
}

.wf-events-item-heading h3 a:hover {
  text-decoration: underline;
}

.wf-events-item-meta span {
  color: #fff;
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 1.2;
}


/* Hover */
.wf-events li:hover {
  cursor: pointer;
}

.wf-events li:hover .wf-events-item-wrapper {
  transform: scale(1.03);
}

.wf-events li:hover .wf-events-item-info-wrapper {
  background: linear-gradient(0deg,rgba(9,42,53,.9) 0, rgba(9,42,53,0.7) 100%);
}

.wf-events li:hover .wf-events-item-info-wrapper:before {
  background: linear-gradient(0deg,rgba(9,42,53,.7) 0, rgba(9,42,53,0) 100%);
}


/* Om bild saknas */
.wf-events-item-wrapper.noImg {
  background-color: var(--blue-heaven);
}

.wf-events-item-wrapper.noImg .wf-events-item-info-wrapper,
.wf-events-item-wrapper.noImg .wf-events-item-info-wrapper:before {
  background: transparent;
}

.wf-events li:hover .wf-events-item-wrapper.noImg:before {
  background: linear-gradient(0deg,rgba(9,42,53,.6) 0, rgba(9,42,53,0) 100%);
}



/* Specialare i desktop */
@media (max-width: 1440px) {
  .wf-events-item-heading h3 a {
    font-size: 5rem;
  }
}


/* Mobil & Läsplatta */
@media (max-width: 1024px) {  
  .wf-events-item-wrapper {
    height: 295px;
  }
  .wf-events-item-info-wrapper {
    display: block;
  }
  .wf-events-item-heading,
  .wf-events-item-meta {
    width: 100%;
  }
  .wf-events-item-meta {
    border-left: none;
  }
  .wf-events-item-heading h3 a {
    font-size: 4rem;
  }
}


/* Mobil */
@media (max-width: 800px) {
  .wf-events {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
  .wf-events-item-wrapper {
    height: 220px;
  }
}


/*
-------------------------------------------
Evenemangslistning för arkiverade
------------------------------------------- */

.wf-archived-events {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
  margin: clamp(.5em, 4vw, 2em) 0 0;
  padding: 0;
}

.wf-archived-events li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.8rem;
  align-items: center;
  margin: 0;
  padding: .5em;
}

.wf-archived-events li:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.25);
}

.wf-archived-events li img {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.wf-archived-events li > div {
  display: grid;
  grid-template-columns: 1fr 180px 180px 180px;
}

.wf-archived-events li .subheading3 {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.2;
}

.wf-archived-events li .sv-font-liten-text {
  display: inline-block;
  margin-top: .25em;
}


/* Mobil & Läsplatta */
@media (max-width: 1024px) {
  .wf-archived-events li > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0 .5em;
  }

  .wf-archived-events li .subheading3 {
    width: 100%;
  }
  
}

/* Mobil */
@media (max-width: 800px) {
  .wf-archived-events li {
    grid-template-columns: 100px 1fr;
  }
  
  .wf-archived-events li img {
    max-width: 100px;
  }
}


/*
-------------------------------------------
Evenemang - Hero
------------------------------------------- */

.wf-event-hero {
  height: 60vh;
  background-size: cover;
  min-height: 640px;
}

.wf-event-hero-flowers-left,
.wf-event-hero-flowers-right {
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
}

.wf-event-hero-flowers-left {
  background-image: url('/images/18.4da3cff01874b5a045d61437/1682341766531/main-top-left.png');
  background-repeat: no-repeat;
  background-position: top left;
}

.wf-event-hero-flowers-right {
  background-image: url('/images/18.4da3cff01874b5a045d61438/1682341766611/main-top-right.png');
  background-repeat: no-repeat;
  background-position: top right; 
}


/* Specialare i desktop */
@media (max-width: 1920px) {
  .wf-event-hero-flowers-right {
    background-size: 44%;
  }
  .wf-event-hero-flowers-left {
    background-size: 24%;
  }
}

@media (max-width: 1820px) {
  .wf-event-hero-flowers-right {
    background-size: 40%;
  }
  .wf-event-hero-flowers-left {
    background-size: 20%;
  }
}

@media (max-width: 1720px) {
  .wf-event-hero-flowers-left {
    background: none;
  }
  .wf-event-hero-flowers-right {
    background-size: 60%;
  }
}

@media (max-width: 1440px) {
  .wf-event-hero {
    min-height: initial;
  }
}


/* Mobil & Läsplatta */
@media (max-width: 1024px) {  
  .wf-event-hero-flowers-left {
    background: none;
  }
}


/* Mobil */
@media (max-width: 800px) {
  .wf-event-hero {
    height: 30vh;
  }
  .wf-event-hero-flowers-left {
    background:none;
  }
  .wf-event-hero-flowers-right {
    background-size: 60%;
  }
}


/*
-------------------------------------------
Evenemang: Meddelande när det har passerat
------------------------------------------- */

.wf-event-has-passed {
  max-width: var(--grid-size);
  width: 98%;
  margin: -8rem auto 4rem;
  padding: 2rem 4rem;
  box-sizing: border-box;
  background-color: var(--blue-logo);
}

/* Mobil & Läsplatta */
@media (max-width: 1024px) {    
  .wf-event-has-passed {
    width: unset;
    margin: -6rem -2rem 2rem;
    padding: 2rem;
  }
}


/*
-------------------------------------------
Evenemang: Meta
------------------------------------------- */

.wf-event-meta {
  background-color: rgba(255,255,255,0.3);
  padding: 4rem;
}

.wf-event-meta h2 {
  margin: 0;
  font-size: 3.2rem;
}

.wf-event-meta strong {
  font-weight: bold;
}

.wf-event-meta .env-button {
  color: #fff;
  text-decoration: none;
  margin-top: 2rem;
}


/* Specialare */
.wf-event-meta-bottom {
  background-color: transparent;
  padding: 0;
}


/* Specialare i desktop */
@media (max-width: 1440px) {  
  .wf-event-meta dl {
    display: block;
  }
  .wf-event-meta dt {
    padding: 0;
    font-weight: bold;
  }
  .wf-event-meta dd {
    padding: 0 0 1rem;
  }
}


/* Mobil */
@media (max-width: 800px) {
  .wf-event-meta {
    padding: 2rem;
  }
  .wf-event-meta-bottom {
    display: none;
  }
}


/*
-------------------------------------------
Flernivålänk
------------------------------------------- */

.sv-multilevellink-portlet ul {
  display: flex !important;
  align-items: center;
  margin: 0 0 1em;
  gap: .25em;
}

.sv-multilevellink-portlet li:first-child a {
  display: flex;
  align-items: center;
  gap: .25em;
}

.sv-multilevellink-portlet li:first-child a:before {
  content: '';
  background-image: url('/images/18.1a919e4187db69ce015c961/1684667812407/icon-home.png');
  background-size: 20px 20px;
  background-repeat: no-repeat;
  height: 20px;
  width: 20px;
  display: block;
  margin-top: -.1em;
}

.sv-multilevellink-portlet li {
  margin: 0;
}


/*
-------------------------------------------
Dekoration - Sektion blå
------------------------------------------- */

.sv-decoration-sektion-bla {
  background-color: var(--blue-water);
  background-image: url('/images/18.4da3cff01874b5a045d52494/1682070030519/blommor-v-190.png');
  background-repeat: no-repeat;
  background-position: top left;
}

.sv-decoration-sektion-bla > .sv-layout {
  background-image: url('/images/18.4da3cff01874b5a045d52493/1682070030124/blommor-h-190.png');
  background-repeat: no-repeat;  
  background-position: top right;
  padding: 12rem 2rem;
}

.sv-decoration-sektion-bla .subheading {
  font-size: 5rem;
  font-weight: 800;
  max-width: 740px;
}

.sv-decoration-sektion-bla .sv-font-ingress {
  font-size: 3.2rem;
}


/* Specialare i desktop */
@media (max-width: 1720px) {
  .sv-decoration-sektion-bla {
    background-image: none;
  }
}


/* Mobil */
@media (max-width: 800px) {
  .sv-decoration-sektion-bla > .sv-layout {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .sv-decoration-sektion-bla .sv-text-portlet {
    display: none;
  }
  .sv-decoration-sektion-bla .env-flex--row {
    justify-content: center;
  }
}

