.rader {
    border: 1px solid rgb(204, 204, 204);
    background-color: #f7f7f7; padding: 2%;
    }


#root {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#root > section {
    flex: 1
}

.hideInPortal{
    display: none;
}

.påLinje div .sp-radio div div {
    float: left;
    /* background-color: yellow; */
}

.sp-navbar div div:nth-child(3) ul li:last-child span{
    font-size: 10px !important;
    position: absolute;
    top: 0;
    right: 40px;
}

.sp-sub-label {
    text-align: left !important;
}

/*
.sp-dropdown .sp-required label:after {
  content: '*';
    color: red;
  position: relative;
  left:5px;
  
  display: inline-block;
}
.sp-required label:first-child:after {
  content: '*';
    color: red;
  position: relative;
  left:5px;
  
  display: inline-block;
}
*/

.sp-date .sp-required legend::after {
     content: "";
    visibility: visible;
    background: rgb(218, 57, 74);
    width: 8px;
    height: 8px;
    margin-left: 6px;
    display: inline-block;
    border-radius: 50%;
    position: relative;
    top: -1px;
}

.sp-input .sp-required label::after {
    content: "";
    visibility: visible;
    background: rgb(218, 57, 74);
    width: 8px;
    height: 8px;
    margin-left: 6px;
    display: inline-block;
    border-radius: 50%;
    position: relative;
    top: -1px;
}

.sp-required label:first-child::after {
    content: "";
    visibility: visible;
    background: rgb(218, 57, 74);
    width: 8px;
    height: 8px;
    margin-left: 6px;
    display: inline-block;
    border-radius: 50%;
    position: relative;
    top: -1px;
}



.ejQnLw {
    padding-top: 0px !important;
}

.kpEkFU {
    padding-top: 0px !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal !important;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 30px;
}

a:hover {
    text-decoration: none;
}

.footer-section:first-child {
    text-align: left !important;
    background-color: #eeeeee;
}
.footer-section:last-child {
    background-color: #037BC8;
    color: #F5F5F5;
}

.footer-section:last-child h3 {
    margin: 16px 0;
    text-transform: uppercase;
    font-size: 16px;
}

.footer-section:last-child p {
    font-size: 13px;
    margin: 0;
}

.footer-section > .container {
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-section:first-child > .container > div {
    width: 100%;
    /* flex: 1; */
}
.footer-section > .container > div:not(:last-child) {
    margin-bottom: 15px;
}
.footer-section p {
    margin-bottom: 0;
}

body {
    font-family: "Open sans";
    overflow-y: scroll;
    max-width: 100vw;
    overflow-x: hidden;
}


.sp-navbar-desktop {
    font-weight: bold;
    font-size:14px;
    display:flex;
    align-items:flex-end;
    padding-bottom:8px;
}

.sp-search-wrapper > .container > div {
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .sp-search-wrapper > .container > div {
        margin: 0 auto;
        width: 690px;
    }

    .footer-section > .container {
        display: flex;
        justify-content: space-between;
    }

    .footer-section > .container > div {
        margin-bottom: 0 !important;
        flex: 1;
    }

    .footer-section > .container > div:not(:last-child) {
        margin-bottom: 0;
        margin-right: 30px;
    }
}

.footer-section a {
    color: inherit;
}

.nav-text {
    font-size: 25px !important;
    font-weight: normal !important;
}

nav img {
    height: 65px !important;
}

.section-menu-icon {
    color: white;
}

.sp-navbar-mobile h4 {
    color: #787878;
}

.sp-categories-card-heading {
    color: #037BC8;
    font-size: 19px;
}
.sp-categories-card-text {
    color: #037BC8;
    font-size: 14px !important;
}

.sp-categories-card:hover {
   background-color: #eee;
   box-shadow: 0 0 90px rgba(33, 33, 33, 2);
   -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
     transform: scale(1.05);
}

.service-row {
    margin-top: 30px;
}

section {
    padding-top:0px !important;
}

/* @media screen and (max-width: 767px) {
  nav div ul{
      display: flex !important;
      flex-flow: column!important;
      list-style: none!important;
      padding-right: 2rem!important;
  }
  nav div {
      margin-left: 1rem !important;
  }
} */

/* Här startar lokala Ystad ändringar */
/* .sp-summary-Dropdown div{font-size: 1rem;}  gör texten lika stor för dropdown i summeringen */

.sp-summary-component div{font-size: 1rem;} /* Fix för samma textstorek i summeringen*/
.sp-form-summary {padding: 10%; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); margin-bottom: 20px;} /*Skuggning på summering av inskickat ärende*/

.obs {background-color:#fff8c4; margin: 3% 0; padding: 3%; font-size: 0.9rem;}
.obs_alt {background-color:#fff8c4; margin: 3% 0; padding: 3%;}
.ok {background-color:#e9ffd9; margin: 2% 0; padding: 3%;} 
.krav {background-color:#e3f7fc; margin: 3% 0; padding: 3%;} 
.varning {background-color:#ffecec; margin: 3% 0; padding: 3%;} 

.inforam {border: 3px solid #037bc8; padding: 3% 8%;}

.eleginfo {
    border: 1px dashed rgb(204, 204, 204);
    background-color: #f7f7f7; padding: 2% 4% 0% 4%;
    }

.rader {
    border: 1px solid rgb(204, 204, 204);
    background-color: #f7f7f7; padding: 2%;
    }
    .sp-summary h1{margin-top: 5%; width: 50%; background-color: #333; color: white; padding: 1%;}
    .sp-summary hr{display: none;}

/* cafe zäta-css */
.InputTable thead{background-color: rgb(49, 83, 151);}
.InputTable button{background-color: rgb(49, 83, 151); color: white;}
.sp-summary thead{background-color:rgb(150, 150, 150);}
.kundvagn{position: absolute; top: 100px; right: 0; }

.sp-summary h1 { margin-top: 5%;
    margin-bottom: 3%;
    width: 50%;
    background-color: #999;
    color: white;
    padding: 1%;
    border-radius: 5px;
    text-align: center;}

.sp-summary h4,h5 {margin-top: 20px;}

.sp-summary hr{display: none;}

.knapp
{
    color: white;
    overflow: hidden;
    font-size: 1.2em;
    font-weight: bold;
    width: fit-content;
    padding: 10px 30px;
    background-color: rgb(64, 78, 103);
    border-radius: 4px;
    transition: all 250ms ease 0s;
    min-height: 50px;
    margin-bottom: 12px;
    border: 2px solid rgb(0, 102, 153) !important;
}

.panik button {position: fixed; bottom: 10%; right:5%; background-color: red; color: white;}

/* Checkbox som byter färg från röd till grön när man bockar i den. Klassen läggs direkt på komponenten.
Rutan blir grön efter att endast ett alternativ kryssats i. */
.myOK {
  background-color: rgba(239, 236, 229, 0.345) !important;
  border: 1px solid #C1C0C0 !important;
  border-radius: 0.2rem !important;
  margin-top: 5px !important;
  padding: 15px 30px 0px 15px !important;
}
 
.myOK:has(.is-checked) {
  border-color: #00ed00 !important;
  background-color: rgba(239, 236, 229, 0.345) !important;
}
 
.myOK:not(:has(.is-checked)) {
  border-color: #ed0000 !important;
  background-color: #ffe0e0 !important;
}

/* Minskar padding i navigationsbaren på formulärsidorna. */
.section-indicator-text li {
    height: 25px !important;
    padding: 10px 15px !important;
}

.section-indicator-text li div {
    height: 17.9px !important;
    width: 18px !important;
    right: -8.9px !important;
}

.section-indicator-text li:not(:first-child) {
    padding-left: 30px !important;
}

.felrapport button {
    background-color: white;
    border-radius: 0;
    border: none !important;
    padding: 5px 40px;
    font-size: 1rem !important;
    min-height: 30px;
}
.felrapport button:hover {
    color: rgba(255,240,217,0.97) !important;
    background-color: white;
    text-decoration: underline;
}
.felrapport button:before {
  margin-right: 10px;
  content: "\f4af";
  font-family: FontAwesome;
  font-size: 1.0em;
  color: #a2c8e3;
  font-weight: 100;
  float: left;
}
.cookie-bar {
    background-color: rgba(255,240,217,0.97) !important;
    padding: 20px;
}

.popup
{
    position: fixed;
    inset: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    z-index: 9999;
}
.popup-cell
{
    max-width: 600px;
    background-color: #cce9f6 !important;
    padding: 30px;
    border-radius: 5px;
}
.popup-cell button:hover {
    background-color: hsl(0, 0%, 47%);
}
.popup-cell button:last-child
{
    position: absolute !important;
    top: 0;
    right: 0;
    background-color: unset !important;
    border-radius: 5px;
    padding: 13px;
    min-height: 16px;
    border: unset !important;
}
.popup-cell button:last-child>div
{
    color: #404e67 !important;
    font-size: 1.5rem !important;
}
.popup-cell button:last-child>div:hover
{
    color: #c71d1d !important;
}
@media (max-width: 768px) {
    .popup-cell {
        max-width: 100vw;
        padding: 15px;
    }
}
/* Här slutar lokala ändringar */