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

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

/* 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 {
   -webkit-box-sizing: border-box;
           box-sizing: border-box;
   max-width: 95% !important;
}

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


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

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

.lp-content.sv-column-8 {
   padding-right: 20px;
}

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

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

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

.lp-section-grey {
   padding: 40px 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;
   margin-bottom: 20px;
}


.lp-link-button a {
    font-size: 1em;
    line-height: 1.5em;
    color: #222 !important;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 12px 20px;
    border: 1px solid #024B8D;
    border-radius: 8px;
    display: inline-block;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

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

header {
   padding: 0 10px;
}

.lp-logo {
   margin: 12px 25px 16px 0;
   float: left;
   position: relative;
   z-index: 2;
}

.lp-toolsmenu {
   width: 100%;
}

.lp-toolsmenu ul {
   text-align: center;
   height: 65px;
}

.lp-toolsmenu li > a {
   padding: 11px 8px 14px;
   font-size: 10px;
}

 
.lp-toolsmenu li:last-child > a {
  border-right: 1px solid #1a619f;
}

/*#lp-tool-translate,
.lp-js #lp-tool-listen {
   display: none;
}*/



/*
---------------------------------------------------------
SÖKRUTA SIDHUVUD 
--------------------------------------------------------- */

header .sv-searchform-portlet input[type="text"] {
   padding: 12px 3%;
}


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

footer {
   margin: 0;
   padding: 40px 20px 60px;
}

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

.lp-footer-extra-menu {
  margin: 0;
}

.lp-footer-extra-menu li {
  display: block;
}


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

.lp-topmenu {
   display: none;
}


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

/* Visar alla huvudsidors menyer */
.lp-js .lp-menu {
   position: absolute;
   top: 0;
   padding-top: 50px;
   z-index: 9999;
   width: 300px;
   left: -315px;
   min-height: 100%;
   -webkit-transition: left .4s ease;
   transition: left .4s ease;
   -webkit-box-shadow: 0 0 15px 5px rgba(0, 0, 0, .4);
           box-shadow: 0 0 15px 5px rgba(0, 0, 0, .4);
   background: #15436d;
}

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

.lp-js .lp-menu .lp-close-button {
    display: block;
    background-color: transparent;
    color: #fff;
    top: 5px;
}

.lp-js .lp-menu .lp-close-button .icon {
    width: 25px;
    height: 25px;
    fill: #fff;
}

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

/* Direktlänk till mobilmenyn */
.lp-skip-to-menu-mobile {
   position: absolute;
   display: inline-block;
   right: 0;
   height: 77px;
   -webkit-box-sizing: border-box;
           box-sizing: border-box;
   padding: 39px 25px 10px 25px;
   background: no-repeat 50% 20px url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAdBAMAAAAjjJM6AAAAD1BMVEUAAAAyzPcyzPcyzPcyzPd/t5tbAAAABHRSTlMA5kpJG2qUMwAAACFJREFUKM9jMHTBAoQZRLAJO+ISVsQmLMQwzMBoUNE1TAB9uEMks5tLhwAAAABJRU5ErkJggg==');
   background-size: 22px 14px;
   border-left: 1px solid rgba(255, 255, 255, 0.2);
   color: #fff;
   font-size: 14px;
   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: #004b8d;
}

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

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

.lp-level-1 > li > a {
   font-size: 15px;
   border-top: 1px solid rgba(255,255,255,0.1);
}

.lp-level-2 > li > a {
   padding-left: 30px;
}

.lp-level-3 > li > a {
   padding-left: 50px;
}

.lp-level-4 > li > a {
   padding-left: 70px;
}

.lp-level-5 > li > a {
   padding-left: 90px;
}

.lp-level-6 > li > a {
   padding-left: 110px;
}

.lp-level-7 > li > a {
   padding-left: 130px;
}

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

.lp-menu button { 
   width: 44px;
}

.lp-level-1 > .lp-has-children > button svg {
    fill: #fff;
}

.lp-level-1 > .lp-open.lp-has-children > button svg {
    fill: #fff;
}


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

.sv-archive-portlet.lp-alert li,
.sv-archive-portlet.lp-driftmeddelande li {
   margin: 10px !important;
}


/* Ikon */
.lp-alert .lp-alert-icon,
.lp-driftmeddelande .lp-drift-icon {
  width: 47px;
}

.lp-alert .sv-channel-item svg,
.lp-driftmeddelande .sv-channel-item svg {
  font-size: 22px;
}

/* Rubrik */
.lp-alert .sv-channel-item h1,
.lp-driftmeddelande .sv-channel-item h1 {
  padding: 14px 12px 7px;
}

.lp-alert .sv-channel-item h1 a,
.lp-driftmeddelande .sv-channel-item h1 a {
  font-size: 14px;
}


/* Stäng-knapp*/
.lp-alert__close {
  height: 50px;
  width: 50px;
}


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

/* Slider */

.lp-hero-text {
   left: 20px;
   right: 20px;
   top: initial;
   bottom: 65px;
   width: auto;
   margin: 0;
}

.lp-slideshow-menu {
   position: absolute;
   width: auto;
   right: 20px;
   left: 20px;
   top: initial;
   bottom: 20px;
   margin: 0;
   background: none;
   text-align: center;
}

.lp-slideshow-menu li {
   overflow: hidden;
   display: inline-block;
   width: 20px;
   height: 20px;
   margin: 0 4px;
   border-radius: 50%;
   text-indent: -999px;
   background: rgba(255, 255, 255, 0.6);
}

.lp-slideshow-menu li + li {
    border-top: none;
}



/* Mest sökta */

.lp-start-popular-links {
   margin: 0 0 20px;
}

.lp-start-popular-links-content {
    margin: -50px auto 60px;
}

.lp-start-popular-links li:first-child::after {
   display: none;
}

.lp-start-popular-links li {
   display: block;
   padding: 0;
}

.lp-start-popular-links li:first-child {
   padding: 10px 15px;
   border-radius: 5px 5px 0 0;
}

.lp-start-popular-links li:last-child {
   border-radius: 0 0 5px 5px;
}


.lp-start-popular-links li:nth-child(2) a {
   padding-top: 15px;
}

.lp-start-popular-links li:last-child a {
   padding-bottom: 15px;
}

.lp-start-popular-links a.normal {
   padding: 10px 15px;
   border-right: none;
   text-align: left;
}

/* Snabblänkar */


.lp-quick-links {
   margin: 0 10px;
   text-align: center;
   vertical-align: top;
   display: block;
}

.lp-quick-links li:nth-child(4n-7) {
   margin: 0 10px 20px 10px;
   clear: initial;
}

.lp-quick-links li {
   overflow: hidden;
   width: 120px;
   margin: 0 10px 20px 10px;
   display: inline-table;
   float: none;
}

.lp-quick-links a {
   height: 120px;
}

/* Nyheter */

.lp-start-news {
    margin: 0 20px;
}

.lp-start-news .sv-archive-portlet {
    max-width: 300px;
    margin: 0 auto;
}

.lp-start-news li:nth-child(3n+1) {
    margin: 0 0 60px;
}
.lp-start-news li {
    width: auto;
    margin: 0 0 60px;
    float: none;
}


/*
---------------------------------------------------------
SÖK
--------------------------------------------------------- */

.lp-hits-meta {
   white-space: normal;
}

.lp-facet-field-list {
   margin: 10px 0 0;
}

/*
---------------------------------------------------------
EVENEMANG
--------------------------------------------------------- */

.lp-event-startdate span,
.lp-event-enddate span {
   padding: 3px 7px !important;
}

.lp-event-detail-wrapper {
    float: none;
    margin: 0 0 20px 0;
}


/*
---------------------------------------------------------
BRÖDSMULOR / FLERNIVÅLÄNK
--------------------------------------------------------- */

.sv-multilevellink-portlet {
  margin: 20px 20px 0;
}


/*
---------------------------------------------------------
KONTAKT I SIDVERKTYG
--------------------------------------------------------- */

.lp-remotetoggle-contact > div {
    display: block;
    padding: 0 !important;
    border: none !important;
}

.lp-remotetoggle-contact > div:last-child {
    margin: 30px 0 0;
}

.lp-byline > div {
   float: none;
   padding-left: 0;
   margin-left: 0;
}


/*
---------------------------------------------------------
RELATERAD INFO
--------------------------------------------------------- */

.lp-links {
   padding: 10px;
}

.lp-links a {
   padding: 15px 10px 15px 45px;
}

.lp-links li svg {
    position: absolute;
    left: 10px;
}

.lp-links li .lp-related-meta {
   display: none;
}

dropdown sv-entry-menu {
   right: 100px !important;
   
}


/*
---------------------------------------------------------
TABELLER I FAQ
--------------------------------------------------------- */

.lp-faq table.sv-standard th,
.lp-faq table.sv-standard td {
    display: block;
    margin: 0 -10px;
    padding: 10px;
}

.lp-faq table.sv-standard td:empty,
.lp-faq table.sv-standard th:empty {
   display: none;
   background: #f00;
}

.lp-faq table.sv-standard .sv-dummy-br {
   display: none;
}

/*
------------------------------------------------------
Emmabodafestivalen festivalsida mobilanpassning
------------------------------------------------------*/


#efmaps {
   display: none;
}

#svid10_10d283f15d25cd7d723cc94 {
   display: none;
}


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

.lp-startpage-hero {
  -webkit-clip-path: none;
          clip-path: none;
}

.lp-startpage-hero > .sv-layout {
  -webkit-clip-path: none;
          clip-path: none;
  height: auto;
  background-image: none !important;
}

.lp-startpage-hero > .sv-layout > .sv-layout {
  margin-bottom: 0;
}


/* Undantag IE som inte stödjer clip*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE10+ */
  .lp-startpage-hero > .sv-layout {
    height: auto;
  }
}

@supports (-ms-ime-align:auto) {
  /* Microsoft Edge Browser 12+ (All) */
  .lp-startpage-hero > .sv-layout {
    height: auto;
  }
}

/* Innehåll Viktigt meddelande*/
.lp-startpage-hero-alert {
  margin-top: 10px;
}

.lp-startpage-hero-alert .sv-column-12 > .sv-layout {
  margin: 0 !important;
}

.lp-startpage-hero-alert .sv-column-12 .sv-archive-portlet {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

/* Innehåll Bakgrundsplatta */
.lp-startpage-hero-content {
   padding: 30px 20px;
}

.lp-startpage-hero-content .sv-row {
   margin-bottom: 0;
}

.lp-startpage-hero-content .sv-row .sv-column-3 {
   margin-bottom: 20px;
}

.lp-startpage-hero-content h2 {
  margin-bottom: 0 !important;
}


/* Besökscenter */
.lp-startpage-hero-content .sv-column-3 > .sv-layout {
   padding: 30px;
   margin-top: 40px;
   margin-left: -20px;
   margin-right: -20px;
   margin-bottom: -70px;
}

/*
---------------------------------------------------------
STARTSIDA - SNABBLÄNKAR
--------------------------------------------------------- */

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

/* Undantag IE som inte stödjer clip*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE10+ */
  .lp-quick-links-new {
    margin: 40px 10px;
  }
}

@supports (-ms-ime-align:auto) {
  /* Microsoft Edge Browser 12+ (All) */
  .lp-quick-links-new {
    margin: 40px 10px;
  }
}

.lp-quick-links-new li {
  width: 100%;
  margin-bottom: 20px;
  text-align: left;
}

.lp-quick-links-new a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.lp-quick-links-new .lp-icon-bg {
  margin: 0 20px 0 0;
  height: 50px;
  width: 50px;
}

.lp-quick-links-new .lp-icon {
  font-size: 24px;
}



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

.lp-start-boxes > .pagecontent > .sv-layout,
.lp-start-boxes > .pagecontent > .sv-layout:nth-child(4n+2),
.lp-start-boxes > .pagecontent > .sv-layout:nth-child(5n) {
  width: 100%;
}

.lp-start-boxes > .pagecontent > .sv-layout > .sv-layout {
  min-height: 100px;
  padding: 30px;
}

.lp-start-boxes > .pagecontent > .sv-layout> .sv-layout > .sv-layout {
  position: static;
  background: rgba(34,34,34,0.9);
}


/* Undantag i redigeringsläge*/
.lp-start-boxes > .pagecontent.sv-editable-layout > .sv-layout:nth-child(4n+2),
.lp-start-boxes > .pagecontent.sv-editable-layout > .sv-layout:nth-child(5n),
.lp-start-boxes > .pagecontent.sv-editable-layout > .sv-layout:nth-child(4n+1),
.lp-start-boxes > .pagecontent.sv-editable-layout > .sv-layout:nth-child(4n) {
  width: 100%;
}


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

.lp-start-events {
  margin: 40px 20px 0;
}

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


.lp-news-list-with-img li > div {
  display: block;
}

.lp-news-list-with-img img {
  margin-right: 0;
  margin-bottom: 10px;
}

/* Undantag nyheter på startsidan */
.lp-start-page .lp-news-list-with-img {
  margin: 40px 20px 0;
}

.lp-startpage-hero-content p.normal {
   display: none;
}

/* Externa webbplatser */
.lp-js .lp-tool-websites-wrapper > div {
   margin: 0 5px;
   display: block;
   padding: 0;
}