﻿body {
    font-family: Inter, "Inter-fallback", sans-serif;
    line-height: 1.5;
}

main {
    min-width: 270px;
}

h1 {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    margin-bottom: 1.125rem;
}

h1.h1-border:after {
    content: "";
    display: block;
    margin: 0;
    width: 3rem;
    padding-top: .35rem;
    border-bottom: .25rem solid #cf0072;
}

.lead {
    font-weight: 300;
    padding-top: 2rem;
}

.startpage {
    background-color: #e2f0fd;
    color: #212324;
    margin-left: calc(var(--bs-gutter-x) * -.5);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    --bs-gutter-x: 1.5rem;
}

.ts-link-row {
    background-color: #0054ad;
    color: #fff;
    margin-left: calc(var(--bs-gutter-x) * -.5);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    --bs-gutter-x: 1.5rem;
}

#nav-transport {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

#logotype a {
    padding: 1.5rem;
    background: #fff;
    height: 100%;
    margin-left: -1.5rem;
}

#logotype a img {
    display: block;
    height: 30px;
    width: 131px;
}

svg {
    width: 175px;
    height: 40px;
    display: block; 
}

.startpage-mainheader {
    margin-bottom: 1rem !important;
    color: #212324 !important;
    font-size: 1.5rem;
}


/*.startpage-mainheader {
    margin-bottom: 2rem;
    
}*/

.startpage-content {
    background: #fff;
    color: #212324;
    margin: 2rem 0;
    margin-left: calc(var(--bs-gutter-x) * -.5);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    --bs-gutter-x: 1.5rem;
}

.lead p:last-child {
    margin-bottom: 3rem;
}

.search {
    border: 2px solid #d6d4d4;
    font-size: 1rem;
    position: relative;
}

.search:focus {
    box-shadow: none;
    border-color: #757779;
}

.search-button {
    padding: .75rem 1.5rem;
    position: absolute;
    top: 1px;
    right: 1px;
    height: 58px;
    width: 80px;
    background: #0054ad;
    border-radius: 0 .25rem .25rem 0;
}

.search-button:hover {
    background-color: #004094;
}

.btn-primary {
    background-color: #0054ad;
    border-color: transparent;
}

.ts-button {
    display: inline-block;
    text-align: center;
}

.ts-label {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1rem;
    color: #212324;
    line-height: 1.5;
}

#search-result-page {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

#search-result-page .col{
    min-width: 160px;
}

/*FOOTER*/
.ts-footer-header-row {
    background-color: #212324;
    padding-top: 2.5rem;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    font-size: .875rem;
    color: #000;
    margin-left: calc(var(--bs-gutter-x) * -.5);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    --bs-gutter-x: 1.5rem;
}

.ts-footer-link-row {
    background-color: #424446;
    font-size: .875rem;
    color: #fff !important;
    margin-left: calc(var(--bs-gutter-x) * -.5);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    --bs-gutter-x: 1.5rem;
}

.ts-footer-row {
    background-color: #616365;
    height: .5rem;
    font-size: .875rem;
    color: #fff;
    margin-left: calc(var(--bs-gutter-x) * -.5);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    --bs-gutter-x: 1.5rem;
}

.footer-social-logo {
    height: 1.9rem;
    width: 1.9rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

li:hover .footer-social-logo {
    background-color: #cf0072;
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.ts-footer-logo {
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.ts-footer-logo a {
    padding-bottom: 1.5rem;
    border-bottom: .25rem solid #cf0072;
    display: block;
    width: 33.3333%;
}

.ts-footer-logo a img {
    height: auto;
    width: 100%;
}

.footer-text {
    color: #fff;
    margin-top: 1.4rem;
    text-decoration: none;
}

.fa-footer {
    position: relative;
    top: 1rem;
    display: inline-block;
}

.spacing-header-ikon-text {
    font-size : .875rem;
    margin-top: 1.1rem;
}

.channels {
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
    margin-left: -5px;
    display: inline-block;
}

.channels li {
    display: inline-block;
    margin-left: -20px;
    zoom: 1;
}

.channels a {
    margin-left: 25px;
}

.mvcfooterfix .channels a {
    margin-right: 1rem;
    text-decoration: none !important;
}

.mvcfooterfix .channels a span {
    color: #fff;
    font-size: 1rem;
    margin-left: 0 !important;
}

.mvcfooterfix .channels a span:hover {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 4px !important;
}

.mvcfooterfix {
    color: #fff;
    margin-top: 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Inter, "Inter-fallback", sans-serif;
}


h2 {
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: .5rem;
    margin-top: 3rem;
}

#footer, .footerfixer {
    margin-bottom: 30px;
    font-size: .875rem;
}

#footer a, .footerfixer a {
    text-decoration: underline;
}

.mvcfooterfix .channels a i {
    margin-right: .25rem;
}

#footer-toolbar {
    padding-bottom: .5rem;
    padding-top: .5rem;
}

#footer-toolbar a {
    display: block;
    padding: .1em 1em;
    text-decoration: none;
}

#footer-toolbar a:hover {
    background-color: #212324;
    color: #fff;
    text-decoration: none;
}

#footer-toolbar a .fa-footer {
    margin-bottom: 0;
}

#footer-toolbar .channels {
    margin-bottom: 0;
}

#footer-toolbar .channels i {
    font-size: 1.5rem;
}

.linklist-footer {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.linklist-footer a {
    font-size: 1rem;
    color: #fff;
}

.linklist-footer a:not(:first-child) {
    margin-left: .75rem;
}

.fa-rounded {
    display: inline-block;
    border-radius: 60px;
    padding: .5em .6em;
    color: #fff;
}

.fa-footer {
    margin-bottom: .75rem;
    color: #fff;
}

.startpage-content .container-content {
    max-width: 520px;
    min-height: 255px;
}

/*SPINNER*/
.ts-spinner-container {
    position: absolute;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 1 !important;
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: .95s linear infinite spinner-border;
}

.ts-spinner {
    height: 53px;
    width: 53px;
    color: #005bbb;
    position: relative;
    left: 45%;
}

:host, :root {
    --fa-style-family-classic: "Font Awesome 6 Pro";
    --fa-font-regular: normal 400 1em / 1 "Font Awesome 6 Pro";
}

:root {
    --bs-breakpoint-xs: 0;
    --bs-breakpoint-sm: 576px;
    --bs-breakpoint-md: 768px;
    --bs-breakpoint-lg: 992px;
    --bs-breakpoint-xl: 1200px;
    --bs-breakpoint-xxl: 1400px;
}
/*MEDIA QUERY*/
@media (min-width: 576px) {
    .px-sm-4 {
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }
}


@media screen and (max-width: 576px) {
    .ts-footer-header-row {
        padding-top: 0;
    }
}

p {
    line-height: 1.5;
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 1.25rem;
}

@media screen and (max-width: 576px) {
    p {
        font-size: 1.125rem;
        line-height: 1.625rem;
    }
}

@media (min-width: 768px) {
    .startpage-content .container-content {
        min-height: 350px;
    }
}

@media screen and (min-width: 768px) {
    .startpage-mainheader {
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }
}

@media screen and (min-width: 768px) {
    .startpage-mainheader {
        font-size: 2.5rem 40px !important;
        margin-bottom: 3rem;
    }
}

@media screen and (min-width: 768px) {
    #logotype-header {
        width: 183px;
        height: 2.5rem;
    }
}

@media screen and (min-width: 768px) {
    #logotype-header {
        width: 33.3333%;
        position: static;
        top: inherit;
        background: inherit;
        z-index: 0;
    }
}

@media screen and (min-width: 768px) {
    #logotype-header {
        width: 183px;
        height: 2.5rem;
    }
}

@media screen and (min-width: 768px) {
    #logotype-header {
        width: 33.3333%;
        position: static;
        top: inherit;
        background: inherit;
        z-index: 0;
    }
}

@media screen and (max-width: 768px) {
    .lead p, .lead p:last-child {
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 768px) {
    p {
        font-size: .938rem !important;
    }
}

@media screen and (max-width: 768px) {
    .startpage-mainheader {
        font-size: 1.75rem;
        line-height: 1.285 !important;
        font-weight: 600 !important;
        margin-bottom: 1.125rem;
        overflow-wrap: break-word;
        word-break: break-word;
        hyphens: auto;
    }
}

@media screen and (max-width: 767px) {
    #logotype a {
        padding: 1rem 1.5rem;
    }
}
@media screen and (max-width: 768px) {
    #footer-toolbar a .footer-text {
        margin-bottom: 0;
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    .menu-header {
        padding: 0;
    }
}

@media (max-width: 991px) {
    #logotype {
        display: flex;
    }
}

@media screen and (min-width: 992px) {
    #logotype a img {
        height: 40px;
        width: 175px;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1320px;
    }
}

#search-button .spinner-border {
    width: 1rem;
    height: 1rem;
    vertical-align: middle; /* Centrerar den på textlinjen */
    border-width: 0.15em; /* Gör strecken lite tunnare så den ser nättare ut */
    margin-top: -3px; /* Justerar finliret så den inte trycker ner botten */
}

#footer-toolbar a .footer-text {
    white-space: nowrap;
}

#footer a, .footerfixer a {
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .ts-footer-logo a {
        width: 33.3333%;
    }
}

@media (max-width: 991px) {
    .ts-footer-logo a {
        width: 50%;
    }
}

@media screen and (max-width: 576px) {
    .footer-text {
        margin-top: 0;
    }
}

@media screen and (max-width: 768px) {
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
        font-weight: 600;
    }
}

@media screen and (min-width: 768px) {
    .startpage-mainheader {
        font-size: 2.5rem !important;
        margin-bottom: 3rem;
    }
}

@media screen and (max-width: 576px) {
    #footer-toolbar a {
        padding: 1rem;
    }
}

@media screen and (max-width: 768px) {
    #footer-toolbar a {
        padding: 1.5rem 1rem;
    }
}

@media screen and (max-width: 768px) {
    #footer-toolbar a .fa-footer {
        top: auto;
    }
}

@media screen and (max-width: 768px) {
    .ts-footer-logo a {
        width: 33.3333%;
    }
}

@media screen and (max-width: 576px) {
    .linklist-footer {
        margin-top: .5rem;
    }
}

@media screen and (max-width: 576px) {
    #footer-toolbar a {
        padding: 1rem;
    }
}