.smhi-page-main {
    background-color: var(--color-horizon-10);
}


/*      Sektion       */

.smhi-section--nav-container.smhi-component--darkmode,
.smhi-section--frontpage.smhi-component--darkmode {
    background-color: var(--color-sky-100);
}

.smhi-section--nav-container.smhi-component--darkmode .smhi-section-heading h1,
.smhi-section--nav-container.smhi-component--darkmode .smhi-section-heading,
.smhi-section--frontpage.smhi-component--darkmode .smhi-section-heading h1,
.smhi-section--frontpage.smhi-component--darkmode .smhi-section-heading {
    border: 0;
    color: var(--colorSunlight30);
    margin-bottom: 0 !important;
}

/*      HERO med bakgrundsbild        */
.smhi-section--frontpage.smhi-section--bg-img.smhi-component--darkmode:before {
    /*background-color: rgba(0, 69, 145, 0.75);*/
    background: linear-gradient(90deg, #004591 0%, rgba(0, 69, 145, 0.75) 100%);
    z-index: 9;
}

.smhi-section--frontpage.smhi-section--bg-img.smhi-component--darkmode:after {
    content: none;
}

/*      Faktapaket [ämne]       */

.smhi-section--more-info h3:not(.smhi-card__heading) {
    margin: 2rem 0 .25rem;
}

.smhi-section--more-info .sv-predefinedsearch-portlet ol {
    margin: 0;
}

.smhi-section--more-info .sv-predefinedsearch-portlet li {
    padding: .25rem 0 !important;
    padding-top: .25rem;
    padding-bottom: .25rem;
}

/*      Faktapaket-text på mallen sida och paket    */

.smhi-kb-tag {
    color: var(--colorCloud80);
    margin-top: 0;
    margin-bottom: -1.25rem !important;
}

/*      Sök      */

.smhi-kb-search {
    margin-bottom: 1.5rem;
}

.smhi-kb-search--startpage {
    margin-top: .25rem;
}

.smhi-kb-search-page label,
.smhi-kb-search label {
    display: inline-block;
    font-weight: 700;
    color: var(--colorZenith);
}

.smhi-kb-search-page label,
.smhi-kb-search:not(.smhi-kb-search--startpage) label {
    margin-bottom: .5rem;
}

.smhi-kb-search--startpage label {
    color: var(--colorZenith) !important;
    margin-bottom: 1.5rem;
}

.smhi-kb-search-page label span,
.smhi-kb-search label span {
    color: var(--colorSunlight30);
    margin-right: .5rem;
}

/*      Specifikt mallen sida       */

.sv-relatedServices ul .smhi-service-item,
.sv-relatedServices ul {
    margin-top: 0;
}


/*      Desktop     */

@media screen and (min-width: 64.0625rem) {

    /*      Hero på ämnessida       */

    .sv-template-amne .pagecontent>div.smhi-component--darkmode.smhi-section--frontpage.smhi-section--bg-img {
        padding: 12rem 4rem;
    }

    .smhi-kb-search:not(.smhi-kb-search--startpage) {
        margin: 4rem 2rem 2.75rem 4rem;
        max-width: 32rem;
    }

    .smhi-section--more-info .sv-predefinedsearch-portlet ol {
        margin: 0 0 2rem;
    }
}

/*      Tablet  */
@media screen and (max-width: 64rem) and (min-width: 48rem) {

    /*      Hero på ämnessida       */

    .sv-template-amne .pagecontent>div.smhi-component--darkmode.smhi-section--frontpage.smhi-section--bg-img {
        padding: 8rem 4rem;
    }

    .smhi-kb-search:not(.smhi-kb-search--startpage) {
        margin: 3rem 2rem 1.5rem;
        max-width: 32rem;
    }

    .smhi-section--more-info .sv-predefinedsearch-portlet ol {
        margin: 0 0 1.5rem;
    }
}

/*      Mobile  */
@media screen and (max-width: 47.9375rem) {

    .sv-template-amne .pagecontent>div.smhi-component--darkmode.smhi-section--frontpage.smhi-section--bg-img {
        padding: 4rem 1rem;
    }

    .smhi-kb-search:not(.smhi-kb-search--startpage) {
        margin: 2rem 1rem;
    }

    .smhi-kb-search label span {
        display: block;
    }


    .smhi-section--more-info .sv-predefinedsearch-portlet ol {
        margin: 0 0 1.5rem;
    }
}