/*
=========================================================
BASE CSS
=========================================================
 * Innehåller grundläggande styling och förbättringar för
 * webbplatsen
 *
 * Copyright (C) Limepark AB. Upprättad 2016.
=========================================================*/


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

html {
   font-size: 62.5%;
}

html, html a {
   text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}

/* Marginal vid utskrift - validerar ej om den ligger i print.css */
@page {
	margin: 2cm 2cm;
}

/* Fast textstorlek vid rotation i iPhone */
body {
   -webkit-text-size-adjust: 100%;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

/* För att lösa att proxymodulerna skriver över styling... */
body {
	margin: 0;
	padding: 0px!important;
	background-color: transparent!important;
	text-align: inherit!important;
	font: 1.4rem "open sans",arial,helvetica,sans-serif!important;
}

/* Göm innehåll, men visas för skärmläsare */
.lp-user-hidden {
   position: absolute;
   left: -10000px;
   top: auto;
   width: 1px;
   height: 1px;
   overflow: hidden;
}

/* Fix av IE-bugg med understrukna pseudoelement */

a:before,
a:after {
   text-decoration: underline;
}

a:before,
a:after {
   text-decoration: none;
}

/** Ikoner **/
.lp-icon {
   /* Allows sizing by changing the icon's font-size */
   width: 1em;
   height: 1em;
   /* Nice visual alignment for icons alongside text */
   vertical-align: -0.15em;
   /* Default path fill = value of the color property */
   fill: currentColor;
   /* Paths and strokes that overflow the viewBox can show in IE.
     If you use normalize.css, it already sets this. */
   overflow: hidden;
}

/* Fix för att bilder ska skalas i nyhetsmoduler */
.sv-responsive .sv-archive-portlet img {
   width: auto !important;
   height: auto !important;
   max-width: 100% !important;
}

/* Modulavstånd i innehållsytor (ej textmoduler) */
.pagecontent > .sv-portlet {
   margin-bottom: 10px;
}

/* Ändrar rubriker i nyhetsmodul till blockelement */
.sv-archive-portlet h2.subheading a span {
   display: block;
}

/* Fix för att spalterna ska ta plats även vid tom */
div[class*='sv-column-'] {
   min-height: 1px;
}

/* Responsiva iframes etc */
iframe,
object,
embed {
   border: medium none;
   max-width: 100%;
   overflow: hidden;
}

.pagecontent,
.lp-content {
   clear: both;
}

.lp-content .pagecontent {
  clear: none;
}

.lp-single-box {
   max-width: 500px;
   margin: 100px auto 0;
   padding: 20px;
   box-shadow: 0 0 20px 0 #eee;
   border: 1px solid #eee;
}

/* Grid i dokumentationen */

.lp-grid-example .sv-text-portlet {
   margin: 0 0 20px;
   padding: 20px 5px 5px;
   background: #eee;
}

.lp-grid-example .sv-text-portlet .normal {
   color: #777;
   font-size: 1.2rem;
}