html {
  font-size: 62.5%;
}

body {
  background-color: #fff;

  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

/* Fast textstorlek vid rotation i iPhone */
body {
  -webkit-text-size-adjust: 100%;
}

/* Ta bort understruket från pseudoelement i länkar */
a:before,
a:after {
  text-decoration: underline;
}

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


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


/*
---------------------------------------------------------
SKIPLINKS
--------------------------------------------------------- */

.lp-skip-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lp-skip-links li a {
  background: #000;
  color: #fff;
  display: block;
  font-size: 1.6rem;
  height: 1px;
  overflow: hidden;
  position: absolute;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  width: 1px;
}

.lp-skip-links li a:focus {
  height: auto;
  overflow: visible;
  padding: 1rem 0;
  text-align: center;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  width: 100%;
  z-index: 30000;
}

.lp-skip-links li a.lp-skip-to-menu-smartphone {
  display: none;
}

/*
---------------------------------------------------------
HEADER
--------------------------------------------------------- */

.lp-header > .lp-content {
  -webkit-box-align: center;
  align-items: center;
  display: -webkit-box;
  display: flex;

  -webkit-box-pack: justify;
  justify-content: space-between;
}

header > .env-bg-color--brand {
  padding-top: 0.5rem;
}

.lp-header {
  background-color: #f0f0f0;
}

.lp-header-stripe {
  -webkit-box-align: center;
  align-items: center;
  display: -webkit-box;
  display: flex;
  padding: 0.5rem 0;

  -webkit-box-pack: justify;
  flex-wrap: wrap;
  justify-content: space-between;
}


.lp-header-stripe p.small {
  margin: 0 2rem 0 0 !important;
}

.lp-header-stripe .lp-translate {
  -webkit-box-align: center;
  align-items: center;
  display: -webkit-box;
  display: flex;
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.2rem 0.8rem 0.3rem 0.5rem;
}

.lp-header-stripe .lp-translate:hover,
.lp-header-stripe .lp-translate:focus {
  text-decoration: underline;
}

.lp-header-stripe .lp-translate svg {
  margin-right: 0.4rem;
}

.lp-logo {
  display: block;
  margin: 1rem 0;
  text-decoration: none;
}

.lp-logo * {
  display: block;
}


.lp-logo-wrap {
  position: relative;
}

.lp-logo__message--warning {
  background: #b40909;
  border-radius: 5px;
  color: #fff;
  display: block;
  font-size: 1.4rem;
  left: 50%;
  margin: 0;
  padding: 5px;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.lp-topmenu {
  display: -webkit-box;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;

  -webkit-box-pack: end;
  justify-content: flex-end;
}

.lp-topmenu li {
  margin: 0 0.8rem;
}

.lp-topmenu li:first-child {
  margin-left: 0;
}

.lp-topmenu li:last-child {
  margin-right: 0;
}

.lp-topmenu a {
  border-radius: 4px;
  color: #000;
  display: inline-block;
  line-height: 1;
  margin: 1rem 0;
  padding: 1rem;
  text-decoration: none;
}

.lp-topmenu a:hover,
.lp-topmenu a:focus {
  text-decoration: underline;
}

.lp-topmenu a.lp-topmenu__link--active {
  background-color: #000;
  color: #fff;
}

/*
---------------------------------------------------------
LAYOUT
--------------------------------------------------------- */

main {
  margin: 4rem auto 6rem;
  max-width: 670px;
  width: 97%;
}

.lp-content {
  margin: 0 auto;
  max-width: 940px;
  width: 97%;
}



/*
---------------------------------------------------------
FOOTER
--------------------------------------------------------- */

footer {
  border-top: 1px solid #e7e7e7;
  padding: 4rem 0 6rem;
}

footer h1.heading {
  font-size: 2rem;
}

footer .lp-content {
  display: -webkit-box;
  display: flex;

  -webkit-box-pack: justify;
  justify-content: space-between;
}

footer .lp-content > div {
  box-sizing: border-box;
  padding-right: 3rem;
  width: 50%;
}

footer h2 {
  font-size: 1.4em;
}

/* 

footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

footer ul a {
  -webkit-box-align: center;
  align-items: center;
  display: -webkit-box;
  display: flex;
}

footer ul a:before {
  border-color: transparent transparent transparent #555;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  content: '';
  display: inline-block;
  height: 0;
  margin-right: 0.8rem;
  width: 0;
}

footer li br {
  display: none;
}

*/

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

.sv-archive-portlet {
  margin: 3rem 0;
}

.sv-archive-portlet br {
  display: none;
}

.sv-archive-portlet li {
  -webkit-box-align: center;
  align-items: center;
  border-top: 1px solid #e7e7e7;
  display: -webkit-box;
  display: flex;
  padding: 1.3rem 0;
  width: 100%;

  -webkit-box-pack: justify;
  justify-content: space-between;
}

.sv-archive-portlet li:last-child {
  border-bottom: 1px solid #e7e7e7;
}

.sv-archive-portlet a.normal {
  display: inline-block;
  padding-right: 1rem;
}

.sv-archive-portlet .sv-clear-both {
  display: none;
}

/* Skapa artikel-länk */

a.sv-create-article-entry {
  background: #000;
  border-radius: 4px;
  box-sizing: border-box;
  color: #fff;
  margin: 3rem 0 0;
  padding: 1rem;
  text-align: center;
  text-decoration: none;
}

a.sv-create-article-entry:hover,
a.sv-create-article-entry:focus {
  color: #fff;
  text-decoration: underline;
}

/*
---------------------------------------------------------
BYLINE
--------------------------------------------------------- */

.lp-byline {
  border-top: 1px solid #e7e7e7;
  margin-top: 4rem;
  padding-top: 1rem;
}


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

.sv-text-portlet table {
  margin: 0 0 3rem;
}

.sv-text-portlet caption {
  font-size: 3rem;
  font-weight: bold;
  margin: 0 0 0.5rem;
}

.sv-text-portlet th {
  border-bottom: 1px solid #e7e7e7;
  padding: 0.5rem 0.5rem 0.5rem 0;
}

.sv-text-portlet tbody td {
  border-bottom: 1px solid #e7e7e7;
  padding: 0.5rem 0.5rem 0.5rem 0;
}


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

/* Formulär */

.lp-search {
  display: -webkit-box;
  display: flex;
}

.lp-search .env-form-input,
.lp-search .env-button--primary {
  border-color: #767676;
  padding: 0.7rem 1rem;
}

.lp-search :focus {
  border-color: #000;
  box-shadow: none !important;
}

/* Träfflista */

.sv-search-result {
  margin-top: 3rem !important;
}

.sv-search-result li {
  border-top: 1px solid #e7e7e7;
  padding: 2rem 0 !important;
}

.sv-search-result h2 {
  margin: 0;
}

.sv-search-result a.subheading3 {
  text-decoration: underline;
}


/*
---------------------------------------------------------
VIKTIGT RUTA
--------------------------------------------------------- */

.lp-alert-box {
  background-color: #b40909;
  border-radius: 4px;
  border-top: 1px solid #e6e6e6;
  margin-bottom: 4rem;
  padding: 2rem;
}

.lp-alert-box h2,
.lp-alert-box h3,
.lp-alert-box p.normal,
.lp-alert-box p.normal a {
  color: #fff;
}

.lp-alert-box h2,
.lp-alert-box h3 {
  font-size: 1.4em;
}

.lp-alert-box .env-button {
  background-color: #fff;
  color: #000;
}

.lp-alert-box .env-button:active,
.lp-alert-box .env-button:hover {
  text-decoration: underline;
}

/*
---------------------------------------------------------
FIXAR FÖR TRANSLATE
--------------------------------------------------------- */

body > iframe + div .sv-text-portlet-content *,
body > iframe + div .sv-text-portlet-cloned-content * {
  white-space: initial !important;
}

body > iframe + div footer span.notranslate + a {
  display: none;
}


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

.lp-crisis-banner__alert {
  background-color: #b40909 !important;
  border: none !important;
  color: #fff !important;
  font-size: 2rem !important;
  font-weight: normal !important;
  padding: 0.3em !important;
}

/*
---------------------------------------------------------
FOCUS
--------------------------------------------------------- */

:focus {
  box-shadow: 0 0 0 4px #000 !important;
  outline: 0;
}
