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


/* Här startar lokala Ystad ändringar */

/* Formatterar Inloggad som på Meny-raden (måste vara sista objektet i listan på menyn) */
.sp-navbar div div:nth-child(3) ul li:last-child span{
    font-size: 14px !important;
    position: absolute;
    top: 10px;
    right: 40px;
}

/* Lägger till röd stjärna för obl. fält */
.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-summary-Dropdown div{font-size: 1rem;}  /* gör texten lika stor för dropdown i summeringen */
.sp-summary-component div{font-size: 1rem;}
.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 h3 {margin-top: 10px; margin-bottom: 5px;}
.sp-summary h4,h5 {margin-top: 20px;}
.sp-summary hr{display: none;}
.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;} /*Skugga på summering för inskickat ärende*/
.rodtext {color: red;}
.obs {background-color:#fff8c4; margin: 1% 0; padding-top: 3%; font-size: 0.9rem;} 
.ok {background-color:#e9ffd9; margin: 2% 0; padding-top: 3%;} 
.krav {background-color:#e3f7fc; margin: 3% 0; padding-top: 3%;} 
.varning {background-color:#ffecec; margin: 3% 0; padding-top: 3%;} 

.bild404 i {padding:30% 0; text-align: center;} /* Placering av FA i 404-vyn */

.rader {
    border: 1px solid rgb(204, 204, 204); 
    background-color: #f7f7f7; padding: 3%;
    }
  /* 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; }

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

/*göra hamburgermeny vit */
.section-menu-icon {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;
}

 /* Här slutar lokala Ystad ändringar */

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

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

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

a:hover {
    text-decoration: none;
}

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

.footer-section:first-child {
    text-align: left !important;
    background-color: #eeeeee;
}
.footer-section:last-child {
    background-color: rgb(49, 83, 147);
    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;
}
.sp-categories-card {
border: 2px solid rgb(221, 221, 221);
}

.sp-categories-card-heading {
    color: 	#808080;
    font-size: 19px;
}
.sp-categories-card-text {
    color: #808080;
    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;
}

/* Ystads mobilanpassade ändringar */
@media screen and (max-width: 767px) {
    .sp-summary h1 {
        min-width: 100%;
    }
    h4.heading{color: gray;}
}

/* @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;
  }
} */