

/*
=========================================================
LAYOUT CSS
=========================================================
 * Innehåller styling för webbplatsens layout
 * 
 * Copyright (C) Limepark AB.
 * https://limepark.se/licensvillkor
=========================================================*/


/*
---------------------------------------------------------
HOPPA TILL INNEHÅLL OCH MENY - Visas vid tabbning
--------------------------------------------------------- */

a.lp-skip-to-content,
a.lp-skip-to-menu {
  font-size: 1.6rem;
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

a.lp-skip-to-content:focus,
a.lp-skip-to-menu:focus {
  background: #000;
  color: #fff;
  display: block;
  height: auto;
  left: initial;
  overflow: visible;
  padding: 1rem 0;
  text-align: center;
  width: 100%;
  z-index: 30000;
}

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

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

body {
  background: #00a6e2;
  background-repeat: no-repeat;
}

.lp-wrapper {
  background: #fff;
  border-radius: 2px;
  margin: 0 auto;
  max-width: 1270px;
  position: relative;
}

main {
  overflow: hidden;
}

@media screen and (min-width: 1330px) {
  body {
    padding: 5rem 0 15rem;
  }


  .lp-wrapper:after {
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
    bottom: -20px;
    content: '';
    display: block;
    left: 20px;
    position: absolute;
    right: -20px;
    top: 20px;
    z-index: -1;
  }
}

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

.lp-content .pagecontent {
  margin: 0 0 4rem;
}

/*
---------------------------------------------------------
LÄNKKNAPP
--------------------------------------------------------- */

.sv-font-cta-button a,
a.apply-for-job-link {
  background: #00a6e2;
  border-radius: 2px;
  color: #000;
  display: inline-block;
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  line-height: 150%;
  margin: 10px 0;
  outline: none;
  padding: 10px 30px;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.sv-font-cta-button a:hover,
.sv-font-cta-button a:focus,
a.apply-for-job-link:hover,
a.apply-for-job-link:focus {
  -webkit-box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
  text-decoration: underline;
  -webkit-transition: 0.1s;
  transition: 0.1s;
}

.sv-font-cta-button a:active,
a.sv-font-cta-button:active {
  padding: 12px 30px 8px;
  -webkit-transition: 0.1s;
  transition: 0.1s;
}

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

.lp-header {
  padding: 5rem 0 2rem;
}

.lp-logo-row {
  -webkit-box-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: justify;

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

/* Logotyp */
.lp-logo {
  margin: 0;
}

.lp-logo img {
  display: block;
  height: auto !important;
  max-width: 100% !important; /* för skärumupplösning lägre än logotypens bredd */
  width: 200px !important; /* ändra till halva bildbredden för retinaupplösning */
}

.lp-logo a {
  border-radius: 2px;
  display: inline-block;
  padding: 5px;
}

.lp-logo a:focus {
  background-color: rgba(0, 166, 226, 0.05);
  border: 1px solid rgba(0, 166, 226, 1);
  padding: 4px;
}

/* Logotyp - underwebb text */
.lp-logo .lp-text-logo__link {
  color: #000;
  display: flex;
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: -0.1rem;
  line-height: 1;
  max-width: 40rem;
  text-decoration: none;
}

.lp-footer .lp-logo .lp-text-logo__link {
  color: #fff;
  padding: 0;
}

/* Sökruta */
header .sv-searchform-portlet {
  margin: 0 0 2rem;
}

header .sv-searchform-portlet div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

/* Sökruta - Textfält */
header .sv-searchform-portlet input[type='text'] {
  border: 1px solid #ccc;
  border-radius: 2px 0 0 2px;
  border-right: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 1.4rem;
  margin: 0;
  outline: none;
  padding: 1.2rem 2.2rem;

  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

header .sv-searchform-portlet input[type='text']:hover {
  border-color: rgba(0, 166, 226, 0.5);
}

header .sv-searchform-portlet input[type='text']:focus {
  background-color: rgba(0, 166, 226, 0.05);
  border-color: rgba(0, 166, 226, 1);
}

/* Sökruta - Knapp */
header .sv-searchform-portlet button {
  background: none;
  border: 1px solid #ccc;
  border-left: none;
  border-radius: 0 2px 2px 0;
  color: rgba(0, 166, 226, 1);
  margin: 0;
  outline: none;
  padding: 1.2rem;
}

header .sv-searchform-portlet button:focus {
  background: rgba(0, 166, 226, 1);
  color: #fff;
}

header .sv-searchform-portlet input[type='text']:hover + button {
  border-color: rgba(0, 166, 226, 0.5);
}

header .sv-searchform-portlet input[type='text']:focus + button {
  background-color: rgba(0, 166, 226, 0.05);
  border-color: rgba(0, 166, 226, 1);
}

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

.lp-footer {
  background: #222 url('/images/18.32c4e6fa16736d120e61be8e/1543920475984/swosh_5proc_xl.png') 50% -12rem no-repeat;
  border-radius: 0 0 2px 2px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0 0 0;
  padding: 8rem 0;
}

.lp-footer h2.subheading {
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 0 1rem !important;
}

.lp-footer p.normal {
  color: #fff;
  font-size: 1.4rem;
  margin: 0 0 1rem !important;
}

.lp-footer p.normal a {
  color: #fff;
}

.lp-footer > .sv-fixed-fluid-grid > .sv-row:first-child {
  border-bottom: 1px solid rgba(255,255,255, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 0 8rem;
  padding: 0 5rem 8rem;
}

.lp-footer > .sv-fixed-fluid-grid > .sv-row + .sv-row > .sv-column-12 {
  -webkit-box-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-pack: start;

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

.lp-footer .lp-logo {
  margin-right: 3rem;

  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.lp-footer .sv-text-portlet {
  max-width: 30em;
}

/* För underwebbar */


.lp-footer > .sv-fixed-fluid-grid > .sv-row + .sv-row {
  align-items: center;
  display: flex;
}

.lp-footer > .sv-fixed-fluid-grid > .sv-row + .sv-row > .sv-column-9 {
  align-items: center;
  display: flex;
}

.lp-footer > .sv-fixed-fluid-grid > .sv-row + .sv-row > .sv-column-3 {
  display: flex;

  justify-content: flex-end;
}

.lp-footer .lp-secondary-logo {
  margin-right: 0;
}

.lp-footer .lp-secondary-logo img {
  max-width: 180px !important;
}

/*
---------------------------------------------------------
SEKTIONER
--------------------------------------------------------- */

.lp-lightblue-section {
  background: #e5f6fc;
  /* Tidigare skrevs färgen i RGBA men då klagar tillgänglighetsverktyg så 29/9/2020 byttes färgen ut till hex. rgba(0, 166, 226, 0.1); */
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

/* Fix för sektion inom grid */
.lp-startpage .lp-lightblue-section:after {
  background: #e5f6fc;
  bottom: 0;
  content: '';
  left: -8rem;
  position: absolute;
  right: -8rem;
  top: 0;
  z-index: -1;
}

.lp-lightblue-section h2.subheading {
  margin-bottom: 2rem !important;
}

/*
---------------------------------------------------------
LEDIGA JOBB
--------------------------------------------------------- */

#Ledigajobb + div li.env-list__item:nth-child(odd) {
  background: rgba(0,0,0,0.05);
}

#Ledigajobb + div li.env-list__item span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;

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

#Ledigajobb + div li.env-list__item a {
  display: block;
  margin: 0 2rem 0 0;
  padding: 0.5rem 0 0.5rem 0.5rem;
  text-decoration: none;
}

#Ledigajobb + div li.env-list__item span > span:last-child {
  font-size: 1.4rem;
  margin: 0.5rem 0.5rem 0 0;
  max-width: 10rem;

  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}

/*
---------------------------------------------------------
KONTAKTLISTA
--------------------------------------------------------- */


.lp-related h2.subheading {
  margin: 0 0 1em;
}

ul.lp-related__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 -1.5rem;

  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.lp-related__list li {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  min-width: 270px;
  padding: 0 1.5rem;
}

.lp-related__list li.lp-related__list-item--content {
  margin: 0 0 2rem;
  width: 50%;
}

.lp-related__list li.lp-related__list-item--string {
  margin: 0;
  width: 100%;
}

.lp-related__content-node__image-wrap {
  border-radius: 50%;
  display: block;
  height: 100px;
  margin: 0 0 0.5rem;
  overflow: hidden;
  width: 100px;
}

.lp-related__content-node > * {
  display: block;
}

.lp-related__content-node__department {
  margin: 0 0 0.5rem;
}



/*
---------------------------------------------------------
ÅTERKOPPLINGSMODULEN
--------------------------------------------------------- */


.lp-page-feedback {
  background-color: #e5f6fc;
  /* tidigare skrevs färgen ut med RGBA men tillgänglighetsmässigt är det bättre med HEX. rgba(0,166,226,0.1); */
  margin: 0 0 3rem;
  padding: 1rem 3rem;
}

body .lp-page-feedback .lp-feedback-buttons button,
body .lp-page-feedback .lp-feedback-form-submit {
  background-color: rgba(0,61,124,1);
  border: none;
  color: #fff;
  padding: 0.8rem 1.5rem;
}

body .lp-page-feedback .lp-feedback-buttons button:hover,
body .lp-page-feedback .lp-feedback-buttons button:focus,
body .lp-page-feedback .lp-feedback-form-submit:hover,
body .lp-page-feedback .lp-feedback-form-submit:focus {
  background-color: rgba(0,61,124,1);
  text-decoration: underline;
}

.lp-page-feedback p.lp-feedback-confirmation-text {
  margin: 0;
}
