/* Hero ytan */
@media(min-width: 1140px){
  .ingress {
   margin-bottom: 5.5rem!important;
} }

@media(min-width: 1024px) {
  .cms-hero img {
   position: absolute;
} }

@media(max-width: 767px) {
  .cms-hero img {
   margin-bottom: 1rem;
} }

.cms-hero img {
   max-height: unset !important;
   max-width: unset !important;
}


/* Nya Inspirationsmodulen*/
.cms-inspiration-module {
    background-color: #E9F6FD;
    margin-top: 4rem;
    margin-bottom: 4rem;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
    @media (min-width: 768px) {
        margin-bottom: 4.5rem;
        padding-top: 3.5rem;
        padding-bottom: 4rem;
    }
    @media(max-width: 468px) {
        h2 {
            max-width: 68%;
        }
    }
    @media (max-width: 919px) and (min-width: 768px) {
        h2, p.normal {
            max-width: 80%;
        }
    }
    h3 {
        margin-top: 2rem;
    }
    .sv-image-portlet {
        position: relative;
    } 
    img {
        position: absolute;
        top: -47px;
        @media (min-width: 1024px) {
            right: -420px;
        }
        @media (max-width: 1023px) and (min-width: 920px) {
            right: -354px;
        }
        @media (max-width: 919px) and (min-width: 820px) { 
            right: -256px;
        }
        @media (max-width: 819px) and (min-width: 768px) { 
            right: -215px;
        }
        @media (max-width: 767px) {
            max-width: 150px !important;
            top: -108px;
            right: 0;
            margin-bottom: 0;
        }
        @media (max-width: 375px) {
            right: -19px;
        }
    }
    .video-container {
        margin-top: 3rem;
    }
    .sv-column-7 .af-video-module {
        margin-bottom: 0;
    }
    .sv-video-module-2 + .sv-video-module-2 {
        margin-bottom: 3rem;
    }
}
// Särskild regel om inspirationsmodulen förekommer i bottenytan i mallen Artikelsida
.cms-article-template .cms-content-bottom .cms-inspiration-module .sv-grid-af-huvudgrid {
  padding-top: 0;
  padding-bottom: 0;
  .sv-row:first-of-type {
    margin-bottom: 0;
  }
}