/*
=========================================================
SMARTPHONE CSS
=========================================================
 * Innehåller styling för smartphones
 *
 * Copyright (C) Limepark AB. Upprättad 2016.
=========================================================*/

/*
---------------------------------------------------------
FIXAR/FÄRBÄTTRINGAR
---------------------------------------------------------*/

html {
  font-size: 62.5%;
}

/* Anpassar bilder i nyhetslistningen för mobilläge */
.lp-news-listing.sv-archive-portlet li img {
  float: none;
  padding: 0 0 10px 0 !important;
}

/* Dölj utskriftslänk i smartphone */
.lp-print-link {
  display: none !important;
}

/* Fix så autocomplete inte kan bli bredare än tillgänglig yta */

.sv-autocomplete-search-result {
  box-sizing: border-box;
  max-width: 95% !important;
}

ul.sv-autocomplete-search-result .sv-autocomplete-result-item {
  box-sizing: border-box;
  padding: 3px 10px;
}

a.lp-skip-to-menu-smartphone {
  display: block;
}

a.lp-skip-to-menu-desktop {
  display: none;
}

/*
---------------------------------------------------------
GRUNDLAYOUT
--------------------------------------------------------- */

.lp-content,
.lp-secondary-content,
.lp-submenu {
  margin-top: 0;
}

.lp-submenu {
  margin: 0;
}

.lp-content {
  padding: 20px;
}

.lp-secondary-content {
  padding: 0 20px 20px 20px;
}

.lp-smartphone-margin {
  padding: 0 20px;
}

/*
---------------------------------------------------------
FORMATMALLAR
---------------------------------------------------------*/

h1,
.heading {
  font-size: 3.2rem;
}

h2,
.subheading {
  font-size: 2.4rem;
}

.ingress {
  font-size: 1.8rem;
}

p,
.brodtext {
  font-size: 1.5rem;
}

.lp-decoration-faq__toggler h2.subheading {
  font-size: 1.8rem;
}

.lp-pagetools-contact .subheading,
.sv-layout .lp-pagetools-share .subheading,
.sv-layout .lp-pagetools-links .subheading {
  font-size: 1.8rem;
}

.lp-footer h2.subheading {
  font-size: 2rem;
}

.lp-main-boxes a h2.subheading,
.lp-boxes a h2.subheading {
  font-size: 1.8rem;
}

.lp-landing-page p,
.lp-landing-page-white p {
  font-size: 1.5rem;
}

.lp-quickfind-box h2.subheading,
.lp-main-box a {
  box-sizing: border-box;
  min-height: 50px;
  padding: 3px 0 10px;
}

.lp-main-boxes div > .lp-icon {
  height: 20px;
  top: 18px;
  width: 20px;
}

.lp-landing-page-wrapper h1.heading {
  margin: 0 0 20px !important;
  padding: 0 20px;
}

/*
---------------------------------------------------------
INPUTFÄLT
--------------------------------------------------------- */

input[type=text],
input[type=email],
input[type=url],
input[type=tel],
input[type=number],
input[type=password],
textarea,
select,
.sv-defaultFormTheme input[type=text],
.sv-defaultFormTheme input[type=email],
.sv-defaultFormTheme input[type=url],
.sv-defaultFormTheme input[type=tel],
.sv-defaultFormTheme input[type=number],
.sv-defaultFormTheme input[type=password],
.sv-defaultFormTheme textarea,
.sv-defaultFormTheme select {
  padding: 12px;
}


/*
---------------------------------------------------------
KNAPPAR
--------------------------------------------------------- */

button,
input[type='button'],
input[type='submit'],
input[type='reset'],
.sv-defaultFormTheme input[type=button],
.sv-defaultFormTheme input[type=submit],
.sv-defaultFormTheme input[type=reset] {
  padding: 12px 20px;
}


/*
---------------------------------------------------------
SIDHUVUD
--------------------------------------------------------- */

.lp-header {
  position: relative;
}

.lp-logo {
  margin: 15px 0;
}

.lp-site-tools {
  border-bottom: 1px solid #f5f5f5;
  border-top: 1px solid #f5f5f5;
  margin: 10px 0 0;
  width: 100%;

  justify-content: space-around;
}

.lp-site-tools li {
  display: flex;
  margin: 0;
  width: 25%;

  flex: 1 1 1px;
  justify-content: center;
}

.lp-site-tools li + li {
  border-left: 1px solid #f5f5f5;
}

.lp-site-tools li a {
  width: 100%;
}

.lp-header > .sv-jcrmenu-portlet {
  width: 100%;
}

/*
---------------------------------------------------------
SIDFOT
--------------------------------------------------------- */

.lp-footer {
  margin: 0;
  padding: 40px 10px 10px;
}

.lp-footer .sv-column-4 {
  margin: 0 0 50px;
}

/*
---------------------------------------------------------
TOPPMENY
--------------------------------------------------------- */

.lp-topmenu {
  display: none;
}


/*
---------------------------------------------------------
UNDERMENY 1/3 - Standardinställningar
--------------------------------------------------------- */

/* Lägger menyn off canvas */
.lp-js .lp-menu {
  background: #214676;
  box-shadow: 0 15px 5px rgba(0, 0, 0, 0.4);
  left: -315px;
  min-height: 100%;
  padding-top: 44px;
  position: absolute;
  top: 0;
  transition: left 0.4s ease;
  width: 300px;
  z-index: 9999;
}


/* Visar alla huvudsidors menyer */
.lp-menu .lp-level-1 > li {
  display: block;
}

/* Visar alltid pilknappen på första nivån */
.lp-menu .lp-level-1 > li > button {
  display: block;
  height: 51px;
}

.lp-menu .lp-level-1 > li > button svg {
  fill: #fff;
}

/* Direktlänk till mobilmenyn */

.lp-skip-to-menu-mobile {
  align-items: center;
  background-color: transparent;
  border: 0;
  color: #3c71b6;
  cursor: pointer;
  display: flex;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 20px 20px 21px;
  text-align: left;
  text-decoration: none;
}

.lp-skip-to-menu-mobile:active,
.lp-skip-to-menu-mobile:hover,
.lp-skip-to-menu-mobile:focus {
  background-color: #f5f5f5;
}

.lp-skip-to-menu-mobile .lp-icon {
  font-size: 1.2em;
  margin: 0 8px 0 0;
  width: 18px;
}


/* Stängknapp off canvas-meny */
.lp-menu .lp-close-button {
  background-color: rgba(255, 255, 255, 0.1);
  display: block;
  height: 44px !important;
}

.lp-menu .lp-close-button:focus {
  background-color: rgba(255, 255, 255, 0.3);
  display: block;
}

.lp-close-button .lp-icon {
  font-size: 1.3em;

  fill: #fff;
}

.lp-menu {
  border-radius: 0;
}

.lp-menu > ul {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
}

/*
---------------------------------------------------------
UNDERMENY 2/3
--------------------------------------------------------- */

/* Tillbakalänk vid egen startpunkt */

.lp-child-root a.lp-back-link {
  background: #333;
  color: #fff;
  display: block;
  padding: 15px 44px 14px 10px;
}

.lp-child-root a.lp-back-link .lp-icon {
  height: 11px;
  margin: -3px 5px 0 0;
  transform: rotate(180deg);
  vertical-align: middle;
}

.lp-menu.lp-child-root .lp-level-1 > li > button {
  display: none;
}

/* Vanliga menyn */

.lp-menu a {
  font-size: 14px;
}

.lp-level-1 > li > a {
  border-bottom: none;
  border-radius: 0;
  font-size: 15px;
}


/*
---------------------------------------------------------
UNDERMENY 3/3 - Knappar
--------------------------------------------------------- */

.lp-level-1 > li > button {
  background-color: rgba(255, 255, 255, 0.2);
}

.lp-menu button {
  background-color: rgba(60, 113, 182, 0.1);
  width: 44px;
}

.lp-has-children > button .lp-icon {
  fill: #3c71b6;
}

/*
---------------------------------------------------------
STARTSIDA
---------------------------------------------------------*/

.lp-hero {
  display: flex;
  max-width: initial;
  padding: 25% 0 0;
  width: initial;

  justify-content: flex-end;
}

.lp-hero__grid {
  max-width: initial;
  padding: 0;
  width: 100%;
}

.lp-hero__content {
  border-radius: 0;
  margin: 0;
  max-width: initial;
  padding: 15px;
  width: 100%;
}

.lp-hero__content h1.heading {
  font-size: 2.4rem;
  line-height: 140%;
}

.lp-hero__content p {
  font-size: 1.5rem;
  margin: 5px 0 0;
  max-width: initial;
}

.lp-quick-links {
  margin: 30px 10px;
}

.lp-quick-links li {
  margin: 0 0 20px;
  padding: 0 10px;
  width: 50%;
}

.lp-quick-links a {
  box-shadow: 0 1px 4px 0 rgba(0,0,0,0.24);
  padding: 20px 10px;
}

/* Nyheter */

.lp-start-news ul {
  display: block;
  margin: 0 20px 30px;
}

.lp-start-news li {
  margin: 0 0 30px !important;
  width: 100%;
}

/*
---------------------------------------------------------
STARTSIDA - INNEHÅLL FÖR TURISTWEBBEN
---------------------------------------------------------*/

.lp-start-turism {
  margin: 30px 0 0;
  padding: 20px 20px 10px;
}

.lp-start-turism .sv-image-portlet {
  margin: 0 0 20px;
}

/*
---------------------------------------------------------
LÄNK TILL SIDANS TOPP
--------------------------------------------------------- */

a.lp-page-top {
  background: #214676;
  color: #fff;
  display: block;
  margin: 10px 0 0;
  padding: 20px 10px 20px;
  text-align: center;
  text-decoration: none;
}

a.lp-page-top:hover,
a.lp-page-top:active,
a.lp-page-top:focus {
  text-decoration: underline;
}

a.lp-page-top .lp-icon {
  font-size: 1.3em;
  margin: 0 10px 0 0;
  transform: rotate(-90deg);
}


/*
---------------------------------------------------------
VIKTIGT MEDDELANDE
---------------------------------------------------------*/

.sv-archive-portlet.lp-alert li {
  border-radius: 8px;
  margin: 20px;
  overflow: hidden;
  width: auto;
}

.lp-alert-content {
  display: block;
  padding: 15px 20px 13px;
}

.lp-alert .sv-channel-item h1 a {
  border: none;
}

.lp-alert .lp-icon-wrapper {
  bottom: initial;
  box-sizing: border-box;
  padding: 5px 20px;
  position: relative;
  right: 0;
  width: 100%;

  justify-content: flex-start;
}

.lp-alert .lp-icon-wrapper span {
  font-size: 1.7rem;
  margin: 0 0 0 10px;
}


/*
---------------------------------------------------------
SIDVERKTYG
---------------------------------------------------------*/

.lp-pagetools {
  align-items: center;

  flex-wrap: wrap;
}

.lp-print-link a,
.lp-page-share-link,
.lp-print-link a.normal,
.lp-page-contact-link {
  align-items: center;
  display: flex;
  flex-direction: column;

  justify-content: center;
}

.lp-pagetools .lp-icon {
  font-size: 1.1em;
  margin: 0;
}

.sv-multilevellink-portlet a.normal,
.sv-multilevellink-portlet span.normal {
  font-size: 1.2rem;
}

.sv-multilevellink-portlet .lp-icon {
  font-size: 0.5em;
}

.sv-multilevellink-portlet li:first-child:before {
  display: none;
}

/*
---------------------------------------------------------
LÄNKSTIG
--------------------------------------------------------- */

.sv-marketplace-sitevision-breadcrumbs .env-breadcrumb:before {
  content: none;
}

/*
---------------------------------------------------------
LANDNINGSSIDA
--------------------------------------------------------- */

.lp-landing-page {
  max-width: initial;
  width: 100%;
}

.lp-main-boxes,
.lp-boxes {
  margin: 0 3px;
}

.lp-quickfind-box,
.lp-main-box,
.lp-box {
  width: 100%;
}


/*
---------------------------------------------------------
NYHETSMENY och NYHETSARKIV
--------------------------------------------------------- */
.lp-news-archive li {
  border-bottom: 1px solid #d8d8d8;
  display: block;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.lp-news-archive.sv-archive-portlet img {
  margin: 0 auto 1rem;
  max-width: 100% !important;
}

/*
---------------------------------------------------------
SÖK 2024
--------------------------------------------------------- */
.lp-search {
  --lp-spacing: 2rem;
}

.lp-search .sv-facetedsearch-portlet form,
.lp-search-details {
  width: 100%;
}

.lp-search-facets {
  margin-left: 0;
  width: 100%;

  order: 1;
}

.lp-search-result {
  width: 100%;

  order: 2;
}

/*
---------------------------------------------------------
EVENEMANG FRÅN VÄSTSVERIGE
--------------------------------------------------------- */

.lp-vv-events {
  --lp-spacing: 2rem;
}
