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

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

html {
  font-size: 62.5%;
}

/* Anpassar bilder i nyhetslistningen för mobilläge */
.lp-news-listing.sv-archive-portlet li img {
  float: none;
  padding: 0 0 10px 0 !important;
}

/* Dölj utskriftslänk i smartphone */
.lp-print-link {
  display: none !important;
}

/* Fix så autocomplete inte kan bli bredare än tillgänglig yta */

.sv-autocomplete-search-result {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 95% !important;
}

ul.sv-autocomplete-search-result .sv-autocomplete-result-item {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 3px 10px;
}

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

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

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

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

.lp-content {
  padding: 20px;
}

.lp-secondary-content {
  padding: 0 20px 20px 20px;
}

.lp-smartphone-margin {
  padding: 0 20px;
}

.lp-byline {
  -webkit-box-align: start;
  align-items: flex-start;
  -ms-flex-align: start;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.lp-byline .sv-script-portlet + .sv-script-portlet {
  margin-left: initial;
}

.lp-byline .sv-script-portlet {
  margin-left: 0;
}

.lp-page-share-link,
.lp-print-link a.normal,
.lp-page-contact-link,
.lp-byline .sv-readspeaker_expandingplayer-portlet .normal {
  padding: 14px 14px 0 0;
}

.sv-image-portlet p.sv-portlet-image-caption {
  background: #222;
  margin: 0;
  max-width: initial;
  position: static;
}

.lp-contact,
.lp-links {
  background: #fdf2f6;
  margin: 20px 0 0;
  padding: 20px;
}

/*
---------------------------------------------------------
FONTER
--------------------------------------------------------- */

h1.heading {
  font-size: 2.8rem;
}

h2.subheading {
  font-size: 2.2rem;
}

h3.subsubheading {
  font-size: 1.8rem;
}

.preamble {
  font-size: 1.8rem;
}

.normal {
  font-size: 1.6rem;
}

/*
---------------------------------------------------------
INPUTFÄLT
--------------------------------------------------------- */

input[type=text],
input[type=email],
input[type=url],
input[type=tel],
input[type=number],
input[type=password],
textarea,
select,
.sv-defaultFormTheme input[type=text],
.sv-defaultFormTheme input[type=email],
.sv-defaultFormTheme input[type=url],
.sv-defaultFormTheme input[type=tel],
.sv-defaultFormTheme input[type=number],
.sv-defaultFormTheme input[type=password],
.sv-defaultFormTheme textarea,
.sv-defaultFormTheme select {
  padding: 12px;
}


/*
---------------------------------------------------------
KNAPPAR
--------------------------------------------------------- */




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

header {
  border-width: 3px;
  position: relative;
}

.lp-logo a {
  padding: 18px 20px 15px 20px !important;
}

header .lp-logo a:after {
  left: -5px;
  top: 0;
}

.lp-site-tools {
  border-bottom: 1px solid #e7e7e9;
  border-top: 1px solid #e7e7e9;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  padding: 0;
}

.lp-site-tools li {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 33.3%;
  flex: 1 1 33.3%;
}

.lp-site-tools li > a {
  -webkit-box-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-align: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 10px 10px;
  position: relative;
}

.lp-site-tools li + li > a:after {
  border-left: 1px solid #e7e7e9;
  content: '';
  display: block;
  height: 20px;
  left: 0;
  position: absolute;
  top: 10px;
}

.lp-site-tools li + li a {
  border-left: none !important;
}

.lp-site-tools .lp-icon {
  display: none;
  margin: 0 0 10px;
}

header .sv-searchform2-portlet {
  margin: 1rem auto 1rem;
}

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

footer {
  margin: 0;
  padding: 50px 20px 20px;
}

footer h2.subheading {
  font-size: 2rem;
  font-weight: bold;
  margin: 30px 0 0 !important;
}

footer .sv-row + .sv-row {
  padding: 20px 0 0;
}

footer .sv-row .sv-column-12 .sv-jcrmenu-portlet + .sv-jcrmenu-portlet {
  border-top: 1px solid #e7e7e9;
  margin: 20px 0 0;
  padding: 20px 0 0;
}

footer .sv-row .sv-column-12 .sv-jcrmenu-portlet + .sv-jcrmenu-portlet li {
  margin: 0 15px 0 0;
}

footer .sv-column-3 + .sv-column-3 {
  display: none !important;
}

/*
---------------------------------------------------------
TOPPMENY
--------------------------------------------------------- */

.lp-topmenu {
  display: none;
}


/*
---------------------------------------------------------
UNDERMENY 1/3 - Standardinställningar
--------------------------------------------------------- */

/* Lägger menyn off canvas */
.lp-js .lp-menu {
  background: #333;
  border-top: 3px solid #000;
  -webkit-box-shadow: 0 0 40px 0 rgba(0,0,0,0.4);
  box-shadow: 0 0 40px 0 rgba(0,0,0,0.4);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  left: -315px;
  min-height: 100%;
  padding-top: 44px;
  position: absolute;
  top: 0;
  -webkit-transition: left 0.4s ease;
  transition: left 0.4s ease;
  width: 300px;
  z-index: 9999;
}

.lp-menu {
  max-width: none;
}

/* Visar alla huvudsidors menyer */
.lp-menu .lp-level-1 > li {
  display: block;
}

.lp-level-1 > li > a {
  display: block;
}

/* Visar alltid pilknappen på första nivån */
.lp-menu .lp-level-1 > li > button {
  display: block;
}

/* Direktlänk till mobilmenyn */
.lp-skip-to-menu-mobile {
  -webkit-box-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-align: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  float: right;
  font-size: 1.2rem;
  margin: -10px 0;
  padding: 15px;
  text-decoration: none;
  text-transform: uppercase;
}

.lp-skip-to-menu-mobile .lp-icon {
  font-size: 2em;
  margin: 0;
}


/* Stängknapp off canvas-meny */
.lp-menu .lp-close-button {
  background-color: rgba(255, 255, 255, 0.1);
  display: block;
  height: 44px;
}



.lp-close-button .lp-icon {
  font-size: 1.2em;
}

/*
---------------------------------------------------------
UNDERMENY 2/3
--------------------------------------------------------- */

.lp-menu a {
  background: #222;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.lp-menu a:hover {
  color: #222;
}

.lp-menu .lp-current > a:hover,
.lp-menu .lp-current > a:focus {
  color: #fff;
}


/* Tillbakalänk vid egen startpunkt */

.lp-child-root a.lp-back-link {
  background: #333;
  color: #fff;
  display: block;
  padding: 15px 44px 14px 10px;
}

.lp-child-root a.lp-back-link .lp-icon {
  height: 11px;
  margin: -3px 5px 0 0;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  vertical-align: middle;
}

.lp-menu.lp-child-root .lp-level-1 > li > button {
  display: none;
}

/* Vanliga menyn */

body .lp-level-1 > li > a {
  border-top: 1px dashed #555;
  font-weight: bold;
}

.lp-level-2 > li > a {
  border: none;
  font-weight: normal;
  padding-left: 40px;
}

.lp-level-2 > li:last-child > a {
  border-bottom: none;
}

.lp-level-3 > li > a {
  padding-left: 60px;
}

.lp-level-4 > li > a {
  padding-left: 80px;
}

.lp-level-5 > li > a {
  padding-left: 100px;
}
/*
---------------------------------------------------------
UNDERMENY 3/3 - Knappar
--------------------------------------------------------- */

.lp-menu button {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 44px;
}



/*
---------------------------------------------------------
MENY LANDNINGSSIDA
---------------------------------------------------------*/

.lp-landingpage-menu {
  display: block;
  margin: 1rem 0.5rem 3rem;
}

.lp-landingpage-menu li {
  margin: 0 0 2rem;
  width: 100%;
}

.lp-landingpage-menu li div {
  padding: 1.4rem 2rem 2rem;
}



/*
---------------------------------------------------------
STARTSIDA
---------------------------------------------------------*/

/* SNABBLÄNKSMENY */

.lp-quick-links.lp-bigred-buttons {
  margin: 20px 10px 10px;
}

.lp-quick-links.lp-bigred-buttons li {
  margin: 0;
  max-width: 50%;
  min-width: initial;
  padding: 10px;
}

.lp-quick-links.lp-bigred-buttons a {
  height: 140px;
}

/* RÖD RUTA */

.lp-event-square {
  border: 5px solid #e1001a;
  border-left: 0;
  margin: 30px 20px 30px;
}

.lp-event-square:before {
  display: none;
}

.sv-related-portlet .lp-btn-link-list {
  margin: 30px 10px 0;
}


/*
---------------------------------------------------------
LÄNK TILL SIDANS TOPP
--------------------------------------------------------- */

a.lp-page-top {
  background: #eee;
  display: block;
  margin: 0;
  padding: 20px 10px 20px;
  text-align: center;
  text-decoration: none;
}

a.lp-page-top:hover,
a.lp-page-top:active,
a.lp-page-top:focus {
  background-color: #ddd;
  text-decoration: underline;
}

a.lp-page-top .lp-icon {
  margin: 0 8px 0 0;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}


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

.sv-archive-portlet.lp-alert li {
  margin: 20px 20px 0;
  width: auto;
}

/*
---------------------------------------------------------
EVENEMANGSLISTNINGSSIDA
---------------------------------------------------------*/

.lp-events-search-form {
  -ms-flex-order: 1;
  margin: 0;

  -webkit-box-flex: 1;
  -webkit-box-ordinal-group: 2;
  -ms-flex: 1 1 100%;
  flex: 1 1 100%;
  order: 1;
}

.lp-events-search-form + p {
  -ms-flex-order: 1;
  margin: 10px 0 20px;

  -webkit-box-ordinal-group: 2;
  order: 1;
}

.lp-events-list {
  -ms-flex-order: 3;
  padding: 0;

  -webkit-box-flex: 1;
  -webkit-box-ordinal-group: 4;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  order: 3;
}

.lp-events-list.lp-on-eventpage {
  margin: 120px 0 90px;
  padding: 0 20px;
}

body .lp-events-assortment {
  margin: 110px 0 90px;
  padding: 0 20px;
}

.lp-events-filter {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -ms-flex-order: 2;
  margin: 30px 0;
  padding: 20px;
  width: 100%;

  -webkit-box-flex: 1;
  -webkit-box-ordinal-group: 3;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  order: 2;
}

/* Listning */

.lp-events-list li {
  padding: 20px 0;
}

.lp-event-image {
  min-width: initial;
  width: 100%;
}

.lp-event-image img {
  max-width: 100%;
}

.lp-eventdate-label {
  left: 20px;
  top: 0;
}

/*
---------------------------------------------------------
HERO
---------------------------------------------------------*/

.lp-hero {
  -webkit-box-align: end;
  align-items: flex-end;
  -ms-flex-align: end;
  height: 300px;
}

.lp-hero__content {
  margin-bottom: 40px;
  margin-left: 42px;
}

.lp-hero__content:after {
  border-width: 5px;
  bottom: -20px;
  left: -20px;
  top: -20px;
}

.lp-hero__headline {
  font-size: 3.5rem;
  line-height: 130%;
  margin: 0 0 5px;
}

.lp-hero__text {
  font-size: 2rem;
}


/*
---------------------------------------------------------
SÖKFILTER
---------------------------------------------------------*/
.lp-js .lp-events-filter {
  display: none;
}

.lp-events-filter-mobile-wrapper {
  margin: 30px 0;
  width: 100%;
}

.lp-events-filter-mobile-wrapper > button,
.lp-events-filter-mobile-wrapper > button:focus,
.lp-events-filter-mobile-wrapper > button:hover,
.lp-events-filter-mobile-wrapper > button:active {
  background-color: #fdf2f6;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #333;
  display: block;
  outline: none;
  padding: 10px 20px;
  position: relative;
  text-align: left;
  text-transform: none;
  width: 100%;
}

.lp-events-filter-mobile-wrapper > button > svg {
  font-size: 2.0rem;
  margin-top: -1rem;
  opacity: 0;
  position: absolute;
  right: 20px;
  top: 50%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.lp-events-filter-mobile-wrapper > button > .lp-menu-unfold {
  opacity: 1;
}

.lp-events-filter-mobile-wrapper > button > .lp-menu-close {
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

.lp-events-filter-mobile-wrapper > button[aria-expanded=true] > .lp-menu-unfold {
  opacity: 0;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.lp-events-filter-mobile-wrapper > button[aria-expanded=true] > .lp-menu-close {
  opacity: 1;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
}

.lp-events-filter-mobile-wrapper > .lp-events-filter {
  margin: 0;
}


/* Evenemang knappar */

.lp-event-square .lp-bigred-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: -20px;
  position: static;

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

.lp-event-square .lp-bigred-buttons li {
  margin: 0 20px 20px 0;

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

.lp-event-square .lp-bigred-buttons a,
.lp-event-square .lp-bigred-buttons div {
  -webkit-box-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  height: auto;
  padding: 10px 15px;
  text-align: left;
  width: auto;
}

.lp-event-square .lp-bigred-buttons .lp-icon {
  font-size: 1.5em;
  margin: 0 10px 0 0;
}


/*
---------------------------------------------------------
FACET FILTERS
---------------------------------------------------------*/

.lp-js .lp-filters {
  display: none;
}

.lp-js .lp-filters:before {
  border-top: 1px solid #c4c5c5;
  content: '';
  display: block;
  left: 20px;
  position: absolute;
  right: 20px;
  top: 0;
}

.lp-js .lp-filters-mobile-toggler {
  display: block;
}

body .sv-layout .lp-filters {
  max-width: none;
  padding: 30px 20px;
  position: relative;
  width: 100%;
}

body .lp-filters.sv-search-facets {
  padding-top: 0;
}


/*
---------------------------------------------------------
PROGRAMMES
--------------------------------------------------------- */

body .lp-search-content {
  display: block;
}

body .sv-search-result {
  margin-right: 0;
}


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

table.sv-table-type-staplas th {
  display: block;
}

table.sv-table-type-staplas td {
  border-top: none;
  display: block;
}

/*
---------------------------------------------------------
ROSA INNEHÅLL
---------------------------------------------------------*/

.lp-startpage .lp-pink-content {
  margin: 20px 0 0;
  padding: 20px;
}

.lp-image-banners {
  display: block;
  margin: 0;
}

.lp-image-banners .sv-image-portlet {
  margin: 0;
}

.lp-image-banners h2.subheading {
  margin: 15px 0 5px !important;
}

.lp-image-banners > div {
  min-width: 0;
  padding: 0 0 30px;
  width: auto;
}

.lp-pink-content:before {
  background: #fdf2f6;
  bottom: 20px;
  content: '';
  display: block;
  left: auto;
  position: absolute;
  right: auto;
  top: 20px;
  z-index: -1;
}


/*
---------------------------------------------------------
EVENEMANG
---------------------------------------------------------*/

.lp-event-grid .lp-event-square {
  margin-top: -50px;
}

.lp-event-grid .lp-event-square h1.heading {
  margin-top: 30px;
}

body .lp-event-square .lp-bigred-buttons {
  position: static;
}


/*
---------------------------------------------------------
SOUNDCLOUD
---------------------------------------------------------*/

.lp-soundcloud .lp-soundcloud__controls {
  padding: 1rem 0 0;
  position: static;
}

.lp-soundcloud .lp-soundcloud__title a {
  line-height: 1.4;
  white-space: normal;
}


/*
---------------------------------------------------------
SMÅFIXAR
---------------------------------------------------------*/

/* Personer */

.lp-vcard {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.lp-page-contacts .lp-vcard-metadata,
.lp-vcard-metadata {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

.lp-page-contacts .lp-vcard-photo,
.lp-vcard-photo {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

.lp-page-contacts .lp-vcard-photo-placeholder,
.lp-vcard-photo-placeholder {
  height: 80px;
  margin: 0 0 20px 0 ;
  max-width: 100%;
  max-width: calc(100% - 20px);
  width: 80px;
}



.lp-vcard-tel {
  display: block;
  margin-left: 0;
}

.lp-vcard-tel:before {
  display: none;
}

.lp-share-page a {
  height: 44px;
  width: 44px;
}

.lp-share-page .lp-icon {
  font-size: 1em;
}

.lp-share-container .lp-share-close {
  font-size: 3rem;
  right: 10px;
  top: 10px;
}

.lp-share-preamble {
  font-size: 1.6rem;
  line-height: 2.0rem;
}

/* Blockcitat */

body blockquote.sv-blockquote p,
body blockquote.sv-blockquote-edit p {
  font-size: 2rem;
}

/*
---------------------------------------------------------
STARTSIDA
---------------------------------------------------------*/

.lp-startpage .lp-event-square {
  margin: 30px 20px 40px 0;
}

.lp-startpage .lp-event-square > .lp-content {
  padding: 40px 20px 20px;
}


.lp-startpage .pagecontent .sv-image-portlet {
  margin: 0;
}

/*
---------------------------------------------------------
TEMASIDA
---------------------------------------------------------*/


.lp-theme-content-wrapper {
  z-index: 0;
}

.lp-theme-content {
  margin: 0;
  padding: 40px 20px;
}

.lp-theme-content .sv-related-portlet .lp-btn-link-list {
  padding: 30px 0 0;
}

.lp-theme-content:before {
  display: none;
}

body .lp-theme-content .sv-related-portlet .lp-btn-link-list {
  margin: 0 -10px;
}

.lp-btn-link-list .lp-btn {
  font-size: 1.4rem;
  min-height: initial;
  padding: 8px 15px;
}

.lp-pink-content {
  margin: 0;
  padding: 50px 20px 20px;
  width: 100%;
}

.lp-theme-page-buttons.lp-bigred-buttons {
  background: #222;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  padding: 0 0 0 20px;

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

.lp-theme-page-buttons.lp-bigred-buttons li {
  display: block;
  margin: 0 20px 20px 0;
}

.lp-theme-page-buttons.lp-bigred-buttons a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: auto;
  padding: 10px 20px;
  width: 100%;
}

.lp-theme-page-buttons.lp-bigred-buttons .lp-icon {
  font-size: 2em;
  margin: 0 10px 0 0;
}

/**
 * Hero
 */
body .lp-hero {
  overflow-x: hidden;
}

.lp-hero-wrapper {
  overflow-x: initial !important;
}

.sv-searchform2-result-container {
  left: 10px !important;
  right: 10px !important;
  width: auto !important;
}

.sv-searchform2-facet-column0,
.sv-searchform2-facet-column1 {
  float: none !important;
  width: 100% !important;
}
