/*
=========================================================
SMARTPHONE CSS
=========================================================
 * Innehåller styling för smartphones
 * 
 * Copyright (C) 2015 Limepark AB
=========================================================*/

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


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

.lp-wrapper {
   margin: 0; 
   max-width: auto;
}

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

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

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

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


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

input[type="text"],
input[type="password"],
input[type="date"],
textarea {
  width: 94%;
  padding: 12px 3%;
}

select {
  width: 100%;
  padding: 12px 1% 12px 3%;
}


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

button,
input[type="submit"],
input[type="button"] {
  padding: 12px 20px;
}


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

header {
   padding: 10px 0 0;
}

.lp-logo {
   margin: 0 0 10px 10px;
   float: left;
}
          
.lp-logo img {
   width: 120px !important; /* ändra till halva bildbredden för retinaupplösning */
}


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

header .sv-searchform-portlet {
   margin: 10px;
   clear: both;
}

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


/*
---------------------------------------------------------
READSPEAKER/LYSSNA SIDHUVUD
--------------------------------------------------------- */

.sv-readspeaker_expandingplayer-portlet {
  margin: 0 10px;
}


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

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


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

#topmenu {
   display: none;
}


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

.lp-menu {
  display: none;
}

/* 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 {
  display: block;
  padding: 14px 22px 14px 10px;
  background: no-repeat 95% 50% #333 url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAeBAMAAAC70dEnAAAAD1BMVEUAAAD///////////////+PQt5oAAAABHRSTlMA5kpJG2qUMwAAACZJREFUKM9jMHRBBcIMImgijgwu6ABTBIsuRTQRIQY6glF/Ue4vAJ7DTkxRHHIOAAAAAElFTkSuQmCC');
  background-position: right 20px top 50%;
  background-size: 17px 15px;
  color: #fff;
  font-family: "lucida sans unicode", sans-serif;
  font-size: 16px;
  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: #555;
}


/*
---------------------------------------------------------
UNDERMENY 2/2 - Knappar
--------------------------------------------------------- */

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

.lp-level-1 > .lp-has-children > button {
   background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWBAMAAAA2mnEIAAAAElBMVEUAAAD///////////////////8+Uq06AAAABXRSTlMAUECAcBJ6baQAAAAoSURBVBjTYwAB1dBAEEUTthIQuIYGgyiGUAQgii0IBKahwSCK1u4EAOKFHq/sfe9IAAAAAElFTkSuQmCC');
}

.lp-level-1 > .lp-open.lp-has-children > button {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWAQMAAAD+ev54AAAABlBMVEUAAAD///+l2Z/dAAAAAXRSTlMAQObYZgAAABFJREFUCNdjIAT+//+DgYkAAK0hDuMKbm1kAAAAAElFTkSuQmCC');
}

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

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

.lp-toolsmenu li {
   margin: 0;
}

/*
---------------------------------------------------------
FLERNIVÅLÄNK
--------------------------------------------------------- */

.sv-multilevellink-portlet {
   display: none;
}

/*
---------------------------------------------------------
TABELLER
--------------------------------------------------------- */



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

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


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

.flex-control-nav {
   display: none;
}

.imgSliderInnerDiv {
   top: 175px;
   left: 20px;
   width: auto;
}

.imgSliderSpan {
   font-size: 26px;
   line-height: 28px;
}



/*
---------------------------------------------------------
STARTSIDAN - POPULÄRT JUST NU
--------------------------------------------------------- */

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

.lp-link-cloud li {
  width: 100%;
  float: none;
}

.lp-link-cloud a {
  padding: 15px 10px;
}

.lp-link-cloud li:nth-child(1) a,
.lp-link-cloud li:nth-child(2) a {
  border-top: none
}


/*
---------------------------------------------------------
STARTSIDAN - OM TANUM
--------------------------------------------------------- */

.lp-start-about {
  margin: 0 10px;
}


/*
---------------------------------------------------------
STARTSIDAN - STORA NYHETER
--------------------------------------------------------- */

.lp-start-news-big.sv-archive-portlet img {
   width: 100% !important;
   margin: 0 0 10px;
}

.lp-start-news-big li {
   margin: 0 0 20px;
   padding: 0;
   border: none;
}


/*
---------------------------------------------------------
STARTSIDAN - NYHETSLISTNING
--------------------------------------------------------- */

.lp-start-news li,
.lp-start-news li:nth-child(2n+1) {
   width: 100%;
   float: none;
}


