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

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

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

/* Nollar avstånd under gridrader i innehållsytor */
.pagecontent .sv-row {
  margin-bottom: 0;
}

/* Kontaktformulärets bredd (sidansvarig) */
.ui-dialog.dialogWithDropShadow.ui-dialog-buttons,
.ui-dialog.dialogWithDropShadow.ui-dialog-buttons input,
.ui-dialog.dialogWithDropShadow.ui-dialog-buttons textarea {
  max-width: 100% !important;
  width: 95% !important;
}

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

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

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

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

.lp-wrapper {
  border: none;
}

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

.lp-content {
  padding: 10px;
}

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

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

.lp-topmenu-row {
  background: none;
}

.lp-alternative-header {
  margin: 0 -10px;
  padding: 0 10px;
}

.lp-alternative-header a.normal {
  font-size: 20px;
}

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

header {
  padding: 0 10px;
}

header .sv-column-6:first-child {
  align-items: center;
  display: flex !important;
  -ms-flex-align: center;

  justify-content: space-between;
}



.lp-logo img {
  margin: 10px 0;
}

header .sv-searchform-portlet {
  margin: 0 0 10px;
}

.lp-logo-alt img {
  margin: 5px 0 20px !important;
}

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

footer {
  background-size: 1920px auto;
  margin: 0;
  padding: 140px 20px 20px;
}

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

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


/* Knapp för att visa meny */

.lp-skip-to-menu-mobile {
  background: no-repeat #a63822 url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAeBAMAAAC70dEnAAAAD1BMVEUAAAD///////////////+PQt5oAAAABHRSTlMA5kpJG2qUMwAAACZJREFUKM9jMHRBBcIMImgijgwu6ABTBIsuRTQRIQY6glF/Ue4vAJ7DTkxRHHIOAAAAAElFTkSuQmCC');
  background-position: 12px 50%;
  background-size: 17px 15px;
  border: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 17px;
  line-height: 17px;
  margin: 8px 0 20px 20px;
  padding: 15px 12px 12px 37px;
  text-align: left;
  text-decoration: none;
  transition: all 0.4s ease;
}

.lp-skip-to-menu-mobile:link:active {
  background-color: #555;
}

/*
---------------------------------------------------------
VERKTYGSMENY - ALTERNATIV
--------------------------------------------------------- */

.lp-toolsmenu-row {
  background: #fff !important;
  padding: 5px 10px;
}

.lp-toolsmenu-alt {
  text-align: left;
}

.lp-toolsmenu-alt li {
  display: inline-block;
  margin: 0;
}



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

.sv-table-portlet {
  max-width: 100%;
  overflow: auto;
}

.sv-table-portlet th {
  padding: 8px 7px !important;
}

.sv-table-portlet td {
  padding: 5px 7px !important;
}

.sv-table-portlet span {
  font-size: 13px;
}

/*
---------------------------------------------------------
MENYN
--------------------------------------------------------- */

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

.lp-close-button {
  border: none !important;
  display: block;
}

.lp-close-button:before {
  color: #a63822;
  color: #fff;
  content: '\e614';
  display: block;
  font-family: 'Falun-Icons'; /* stylelint-disable-line */
  font-size: 20px;
  right: 27px;
  top: 12px;
  transform: rotate(45deg);
}

.lp-js .lp-menu {
  background: #a63822;
  box-shadow: 0 15px 5px rgba(0,0,0,0.4);
  box-sizing: border-box;
  left: -315px;
  min-height: 100%;
  padding-top: 44px;
  position: absolute;
  top: 0;
  transition: left 0.4s ease;
  width: 300px;
  z-index: 9999;
}


.lp-menu-visible .lp-menu {
  display: block;
}

.lp-menu .lp-level-1 {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.lp-menu .lp-level-1 > li {
  display: block;
  margin-bottom: 1px;
}

.lp-menu .lp-level-1 > li > a {
  padding: 13px 2px 12px 20px;
}

.lp-menu .lp-level-1 > li > button {
  background: #cb663d;
  border-left: 1px solid rgba(255,255,255,0.05);
  display: block;
  height: 45px;
  top: 0;
}

.lp-menu .lp-level-1 > li > button:after {
  color: #fff;
  top: 15px;
}

.lp-menu .lp-level-1 > li > button:hover:after,
.lp-menu .lp-level-1 > li > button:focus:after {
  color: #fff;
}


/*
---------------------------------------------------------
SNABBLÄNKAR STARTSIDA
--------------------------------------------------------- */

ul.lp-shortcuts {
  display: block;
  overflow: auto;
  padding: 10px 0;
}

.lp-shortcuts li,
.lp-shortcuts li + li {
  display: block;
  float: left;
  text-align: left;
  width: 50%;
}

.lp-shortcuts a.normal {
  font-size: 14px;
  padding: 10px 0;
}

.lp-shortcuts a:before {
  font-size: 9px;
  height: 15px;
  margin: 0 6px 0 0;
  padding: 0 3px 5px 5px;
  width: 12px;
}

.lp-shortcut-box {
  margin: 0 0 20px;
}

.lp-feature-menu li {
  width: 135px;
}

.lp-shortcuts-header strong {
  display: block;
  padding: 10px 0;
}

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

.sv-archive-portlet.lp-alert li {
  margin: 10px 10px 0;
}

.sv-archive-portlet.lp-alert li a {
  padding: 10px 10px 10px 70px;
}

.lp-alert .sv-channel-item h1 a:before {
  display: block;
  font-size: 13px;
  line-height: 18px;
}


/*
---------------------------------------------------------
SLIDER
---------------------------------------------------------*/

.lp-image-slider {
  margin: 10px 0 0;
}

.lp-image-slider .sliderText {
  padding: 10px 60px 10px 10px;
  position: static;
}

.lp-image-slider .flex-direction-nav a {
  top: 0;
  z-index: 30;
}

.lp-image-slider a.flex-prev {
  left: 10px;
  top: 10px;
}

.lp-image-slider a.flex-next {
  right: 10px;
  top: 10px;
}

.lp-image-slider h2 {
  font-size: 20px;
}

.lp-image-slider .flex-pauseplay {
  z-index: 9000;
}

.lp-image-slider .flex-pauseplay a {
  height: 44px;
  width: 44px;
}


/*
---------------------------------------------------------
SLIDER FULLBREDD
--------------------------------------------------------- */

.lp-slideshow-slides li > div {
  height: 260px;
}

.lp-slideshow-menu {
  border: none;
  bottom: 8px;
  display: block;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  z-index: 20;
}

.lp-slideshow-menu li {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: inline-block;
  height: 20px;
  margin: 10px 5px 0;
  overflow: hidden;
  text-indent: -999px;
  width: 20px;
}

.lp-hero-text {
  bottom: initial;
  left: 10px;
  padding: 10px 30px 10px 10px;
  right: 10px;
  top: 10px;
}

.lp-hero-text .subheading a {
  font-size: 18px;
  line-height: 120%;
  margin: 0;
}

.lp-hero-text p.preamble {
  display: none;
}

.lp-slideshow-full .flex-pauseplay {
  bottom: 0;
  right: 0;
  top: initial;
}

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

.lp-event-boxes {
  border-radius: 1px;
  box-shadow: 0 0 0 1px #ccc;
}

.lp-event-boxes li {
  border-top: 1px solid #ccc;
  box-shadow: none;
  float: none;
  margin: 0 !important;
  width: 100%;
}

.lp-event-boxes li:first-child {
  border-top: none;
}

.lp-newscontainer.lp-nine {
  height: auto !important;
}

.lp-newscontainer.lp-nine > span {
  display: block;
}

.lp-event-boxes li .lp-newscontainer {
  height: auto;
}

.lp-newscontainer h2.subheading {
  margin: 0;
}

.lp-newsbox-gradient {
  display: none;
}

.lp-newscontainer span.normal,
.lp-newscontainer br,
.lp-newscontainer img {
  display: none;
}


li:nth-child(1) .lp-newscontainer .lp-newscontainer-image,
li:nth-child(2) .lp-newscontainer .lp-newscontainer-image,
li:nth-child(3) .lp-newscontainer .lp-newscontainer-image {
  /*    max-width: 335px; nso170428*/
  /*   max-height: 120px; nso170428*/
}

li:nth-child(1) .lp-newscontainer img,
li:nth-child(2) .lp-newscontainer img,
li:nth-child(3) .lp-newscontainer img {
  display: block;
}

.lp-visit img {
  display: none !important;
}

.lp-startpage-greyrow1 {
  margin: 0 0 20px;
}

.lp-startpage-greyrow1 .sv-script-portlet {
  margin: 0;
}

.lp-startpage-banners {
  margin: 20px 0 0;
}

.lp-events-row .lp-bildpuffar {
  margin: 0;
}

.lp-shortcut-box + .lp-bildpuffar {
  margin: 0;
}

.lp-events-row .lp-startrow-header {
  border: 1px solid #ccc;
  border-radius: 3px 3px 0 0;
  margin: -1px -1px 0 -1px;
}

.lp-events-row .lp-startrow-header .sv-column-9 {
  padding: 5px 10px 0;
}

.lp-events-row .lp-startrow-header:before {
  background: #a63822;
  color: #fff;
  content: '\e604';
  display: block;
  font-family: 'Falun-Icons'; /* stylelint-disable-line */
  font-size: 75px;
  height: 82px;
  line-height: 82px;
  padding: 8px;
  text-align: center;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*
---------------------------------------------------------
PROXYINTEGRATIONER
---------------------------------------------------------*/

.lp-proxy {
  overflow: auto;
}


.lp-proxy th {
  padding: 5px 10px 5px 5px;
}

.lp-proxy td {
  padding: 5px 10px 5px 5px;
}

.lp-proxy td,
.lp-proxy td a {
  font-size: 13px;
}

.lp-proxy .lp-proxy-img > img {
  height: auto;
  max-width: 70px;
}

.lp-proxy-acc-nav .trigger {
  word-wrap: break-word;
}

/*
---------------------------------------------------------
BILDPUFFAR
---------------------------------------------------------*/

.lp-bildpuffar .sv-image-portlet img {
  /* width: auto; */
}

.lp-bildpuffar {
  margin: 0 auto 20px;
  max-width: 355px;
  padding: 1px 0;
}


/*
---------------------------------------------------------
SIDVERKTYG
---------------------------------------------------------*/

.lp-pagetools-print {
  display: none !important;
}

.lp-pagetools a {
  /* padding: 11px 5px 8px; */
  font-size: 12px;
}

.lp-pagetools a:before {
  height: 23px;
  width: 28px;
}

.lp-pagetools a.lp-pagetools-print:before,
.lp-pagetools a.lp-pagetools-share:before,
.lp-pagetools a.lp-pagetools-map:before,
.lp-pagetools a.lp-pagetools-contact:before,
.lp-pagetools a.lp-pagetools-communicate:before,
.lp-pagetools .sv-readspeaker_expandingplayer-portlet > a:before {
  font-size: 16px;
  padding: 5px 0 0;
  text-align: center;
}

.lp-pagetools a.lp-pagetools-share:before {
  /*  content: '\e613';
  padding: 5px 3px 0 0;
  width: 25px;
*/
  background-image: url(https://www.falun.se/images/18.71680ad8166fe74e69e971bf/1542364415645/glyphicons-309-share-alt@3x.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  padding: 5px 3px 0 0;
  width: 25px;
}

/*
---------------------------------------------------------
TILL SIDANS TOPP
--------------------------------------------------------- */

a.lp-page-top {
  background: #f1f1f1;
  display: block;
  margin: 10px 0 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:before {
  background: #fff;
  border-radius: 50%;
  color: #777;
  content: '\e603';
  display: inline-block;
  font-family: 'Falun-Icons'; /* stylelint-disable-line */
  height: 20px;
  margin: 0 10px 0 0;
  padding: 5px;
  text-align: center;
  text-decoration: none;
  width: 20px;
}

a.lp-page-top:before:hover {
  text-decoration: underline;
}

a.lp-page-top:before:hover {
  text-decoration: none;
}

/*
---------------------------------------------------------
PANIKKNAPP
--------------------------------------------------------- */

.lp-panicbutton {
  float: none;
}

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

.lp-facett {
  border: none;
  margin: 0;
  padding: 0;
}

.lp-facett-toggler {
  background: #f5f5f5;
  border-top: 1px solid #ccc;
  cursor: pointer;
  display: block;
  margin: 10px 0 0;
  padding: 10px 40px 10px 10px;
  position: relative;
}

.lp-js .lp-facett-toggler:after {
  color: #ccc;
  content: '\e614';
  font-family: 'Falun-Icons'; /* stylelint-disable-line */
  font-size: 15px;
  position: absolute;
  right: 10px;
  top: 10px;
}

.lp-js .lp-facett-toggler.lp-opened:after {
  content: '\e611';
}

.lp-facett-container {
  background: #f5f5f5 !important;
  display: none;
  float: none !important;
  padding: 1px 10px !important;
}

.lp-facett-container > div {
  background: #f5f5f5 !important;
  float: none !important;
  margin-bottom: 10px !important;
}

/*
---------------------------------------------------------
KAKGODKÄNNANDE
--------------------------------------------------------- */


.lp-cookie-consent form {
  display: block;
  padding: 0;
}

.lp-cookie-consent span.normal {
  display: inline-block;
  font-size: 14px;
}

.lp-cookie-consent a.normal {
  display: inline-block;
  font-size: 14px;
  margin: 10px 10px 0;
}

.lp-cookie-consent button.normal {
  font-size: 14px;
  margin: 10px 10px 0 !important;
  padding: 4px 8px;
  position: static;
}

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

.lp-flex-news li a {
  width: 100%;
}

.lp-flex-news li span.litenxtext:first-child {
  padding: 0;
}

.lp-flex-news li:nth-child(-n+5) span.litenxtext:first-child {
  padding: 3px 6px;
}

.lp-flex-news li {
  margin: 0 10px -1px;
}

.lp-flex-news li:nth-child(-n+4) {
  margin: 0 10px 20px;
}


.lp-flex-news li,
.lp-flex-news li + li {
  max-width: 100%;

  flex: 1 1 100%;
}

.sv-row.lp-quicklinks > .sv-column-3 {
  width: 100% !important;
}

/*

.lp-flex-news li img,
.lp-flex-news li h3 + span:not(.litenxtext),
.lp-flex-news li h3 + span {
  display: none !important;
}
 */

.lp-flex-news li:nth-child(-n+3) img {
  display: block !important;
}

.lp-flex-news li:nth-child(-n+3) h3 + span {
  display: inline !important;
}

.sv-column-8 .lp-flex-news li {
  margin: -1px 10px 0;

  flex: 1 1 100% !important;
}

.sv-column-8 .lp-flex-news li:nth-child(-n+3) {
  margin: 0 10px 20px;
}


/*
---------------------------------------------------------
FLEXBANNERS 2017
--------------------------------------------------------- */

.lp-flex-banners > div {
  width: 100%;
}

/* TEMPORÄR 3-I-RAD LÖSNING */

.lp-flex-banners > div > .sv-column-4 {
  padding: 0 10px 20px;
  width: 100%!important;
}

.lp-flex-banners > div > .sv-column-4:last-child {
  padding: 0 10px 0;
}

/* TEMPORÄR LÖSNING FÖR KOMPETENSNÄTVERKET */

.lp-smartphone-margin .lp-flex-banners > div > .sv-column-4 {
  padding: 0 0 20px;
}

.lp-smartphone-margin .lp-flex-banners > div > .sv-column-4:last-child {
  padding: 0;
}

.lp-smartphone-margin .lp-flex-banners > div > .sv-column-8 {
  width: 100%;
}


/*
---------------------------------------------------------
EVENEMANGSLISTA (CITY BREAK)
--------------------------------------------------------- */

.lp-cb-event-list .lp-cb-event-list__item-wrapper {
  flex-basis: 100%;
  -ms-flex-preferred-size: 100%;
}

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

.lp-search .lp-search-hits {
  flex-wrap: wrap;
}

.lp-search .lp-search-result {
  width: 100%;

  order: 2;
}

.lp-search .lp-search-facets {
  margin-left: 0;
  width: 100%;

  order: 1;
}

main .lp-search .sv-facetedsearch-portlet form {
  width: 100%;
}

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

.lp-hero-layout > .sv-layout > .sv-layout {
  width: 100%;
}

.lp-hero-layout > .sv-layout {
  margin-top: -20px;
  padding: 0 10px;
  width: 100%;
}

/*
---------------------------------------------------------
KNAPPMODUL
---------------------------------------------------------*/

.sv-button-portlet .env-button--primary {
  width: 100%;
}
