/*
=========================================================
PRINT CSS
=========================================================
 * Innehåller styling för utskrift
 * 
 * Copyright (C) 2014 Limepark AB
=========================================================*/

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

body, body * {
	font-family: "Open sans", arial, sans-serif !important;
}

@page {
	margin: 2cm 3cm;
}

/* Fixar bug att push inte nollställts i utskrift */
[class*="sv-push"] {
   left: 0 !important;
}

.lp-logo img {
   width: 220px !important; /* ändra till halva bildbredden om logotyp för retinaskärm används */
   margin: 0 0 1cm;
}

/*
---------------------------------------------------------
DÖLJ / VISA VID UTSKRIFT
--------------------------------------------------------- */

body .lp-show-on-print, 
body .lp-show-on-print div {
   display: block !important; 
}

body .lp-hide-on-print {
  display: none !important; 
}

.lp-show-child-on-print > div {
  display: block !important;
}



.lp-toolbar {
	display: none !important;
}

.lp-collapsable-content {
	display: block !important;
	padding: 0;
}

.lp-close-collapsable-content {
	display: none !important;
}

p, li {
	page-break-inside: avoid !important;
}

.lp-contact ul,
.lp-links ul {
	padding: 0;
}

.lp-links a[href^="http://"]:after {
	content: " (" attr(href) ")";
	font-size: 90%;
}

.lp-links {
	margin-bottom: 1cm;
}

.sv-decoration-Faktaruta {
	padding: 0;
}

.lp-print-footer {
	margin-top: 2cm;
	display: block !important;
	text-align: center;
	border-top: 1px solid #ccc;
	padding-top: 0.5cm;
}

.lp-print-footer > span:first-child {
	display: block;
	margin-bottom: 0.2cm;
}

.lp-print-footer > span span {
	margin-left: 0.5cm;
}


h1 {
	font-size: 20pt !important;
}

h2 {
	font-size: 16pt !important;
}

h3 {
	font-size: 13pt !important;
}

.preamble, caption { font-size: 10.5pt !important; }
.normal, li, .relateratxinnehall, .brodtextxutanxavstand, th, td, td p { font-size: 9pt !important; }
.litenxtext { font-size: 8pt !important; }

.sv-image-portlet .sv-portlet-image-caption { font-size: 7pt !important; }

table {
	border-collapse: collapse !important;
	border-spacing: 0 !important;
}

/* Fix av utskriftsbugg i Chrome 53 */
thead {
   display: table-row-group;
}


td,th {
	border: 1px solid #e8e8e8;
}

.pagecontent .sv-portlet {
	margin-bottom: 0.4cm;
}