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

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

html {
  font-size: 7pt !important;
}

body,
body * {
  font-family: inherit !important;
  padding-top: 0 !important;
}

/* Sidmarginal vid utskrift - se rad 22 i base.css */

/* Sajtspecifika fixar */

.lp-header {
  box-shadow: initial;
  position: static !important;
}

.lp-header-content {
  display: table !important;
  margin: 0 0 40px !important;
  width: 100% !important;
}

.lp-header-content > .sv-script-portlet {
  display: table-cell !important;
  vertical-align: middle;
}

.lp-logo {
  display: block !important;
  height: 50px !important;
  width: 50px !important;
}

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

.lp-site-header {
  font-size: 2.7rem !important;
  margin-left: 16px !important;
  margin-top: 10px;
  text-align: left;
}

.sv-column-8 .pagecontent .sv-text-portlet {
  max-width: initial;
}

.lp-sidebar {
  display: none;
}

/*
---------------------------------------------------------
DEKORATIONER
---------------------------------------------------------*/

.sv-decoration-hogerflodande-bild {
  float: none;
  position: initial;
}

.sv-decoration-faktaruta {
  border: 1px solid #f9f4e4;
  margin: 30px 0 !important;
  padding: 20px 20px 5px !important;
}

blockquote.sv-blockquote {
  border-left: 4px solid #d19700 !important;
  margin: 20px 0 !important;
  padding: 0 0 0 20px;
}

blockquote.sv-blockquote:before,
.sv-blockquote-edit:before {
  display: none;
}

.lp-castle-boxes > div {
  box-shadow: initial;
  display: block !important;
}

.lp-castle-boxes > *:first-child,
.lp-castle-boxes > *:first-child div {
  display: block !important;
  font-family: 'open sans', sans-serif !important;
  font-size: 9pt !important;
}

.sv-column-8 .pagecontent .lp-crown-headline .lp-icon {
  font-size: 2.1em;
}


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


/*
---------------------------------------------------------
ÖPPETTIDER
--------------------------------------------------------- */

.lp-hours-yearview .lp-hours {
  display: block !important;
}

.lp-hours-list {
  display: block !important;
}

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

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

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

/*
---------------------------------------------------------
SIDBRYT
--------------------------------------------------------- */

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

/*
---------------------------------------------------------
FONTSTORLEKAR
--------------------------------------------------------- */

h1,
.lp-site-header {
  font-family: 'playfair display', georgia, serif !important;
}

h2 {
  font-family: 'playfair display', georgia, serif !important;
}

.preamble,
.normal {
  font-family: 'open sans', arial, helvetica, sans-serif !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;
}


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

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

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