/*
=========================================================
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;
}


/*
---------------------------------------------------------
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
--------------------------------------------------------- */

header {
   position: relative;
}

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

header > .sv-image-portlet + div {
  width: 100%;
}

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

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

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

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


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

footer {
   margin: 0;
   padding: 40px 10px 10px;
}

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 {
   position: absolute;
   top: 0;
   padding-top: 44px;
   z-index: 9999;
   width: 300px;
   left: -315px;
   min-height: 100%;
   -webkit-transition: left 0.4s ease;
   transition: left 0.4s ease;
   box-shadow: 0 15px 5px rgba(0, 0, 0, 0.4);
   background: #214676;
}


/* 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 */

header > .sv-html-portlet {
  position: absolute;
  top: 10px;
  right: 0;
}

.lp-skip-to-menu-mobile {
   float: right;
   display: inline-block;
   margin: -10px 0;
   padding: 20px 20px 21px;
  color: #3c71b6;
   font-size: 1.5rem;
   font-weight: bold;
   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 {
   width: 18px;
   margin: 0 8px 0 0;
   font-size: 1.2em;
}


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

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

.lp-close-button .lp-icon {
   fill: #fff;
   font-size: 1.3em;
}

.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 {
   display: block;
   padding: 15px 44px 14px 10px;
   background: #333;
   color: #fff;
}

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

.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-radius: 0;
  font-size: 15px;
  border-bottom: none;
}


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

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

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

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


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

.sv-multilevellink-portlet {
}


/*
---------------------------------------------------------
VERTKTYGSMENY
---------------------------------------------------------*/

.lp-site-tools {
}


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

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

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

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

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

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

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

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

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

/* Nyheter */

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

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

/*
---------------------------------------------------------
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 {
   display: block;
   margin: 10px 0 0;
   padding: 20px 10px 20px;
   background: #214676;
   color: #fff;
   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 {
   margin: 0 10px 0 0;
   -webkit-transform: rotate(-90deg);
   -ms-transform: rotate(-90deg);
   transform: rotate(-90deg);
   font-size: 1.3em;
}


/*
---------------------------------------------------------
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 {
  justify-content: flex-start;
  position: relative;
  box-sizing: border-box;
  padding: 5px 20px;
  right: 0;
  bottom: initial;
  width: 100%;
}

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


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

.lp-pagetools {
  align-items: center;
}

.lp-print-link a,
.lp-page-share-link,
.lp-print-link a.normal,
.lp-page-contact-link {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: 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: .5em;
}

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

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

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

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

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