html {
    font-size: 16px;
    height: 100%;
    position: relative;
    min-height: 100%;
}

h1.song-title, h1.news-title {
    padding-bottom: 6px;
    border-bottom: 1px solid #777;
    margin-bottom: 14px;
    text-shadow: none;
    color: #a55832
}

h1.news-title {
    margin-bottom: 4px
}

    h1 .song-title a, h1.news-title a {
        text-decoration: none;
        color: inherit;
    }

        h1.song-title a:hover, h1.news-title a:hover {
            color: #e96f32
        }
    

    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    }

body {
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
}

.tsd-page-container {
    position: relative;
    /*display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;*/
    margin-top: 4rem
}

.song-image {
    margin-bottom: 1em
}

.tsd-content {
    /*width: 500px;*/
    /*overflow: hidden;*/
    /*background-color: rgba(1, 1, 1, 0.5);*/
    color: #333;
    padding: 6px
}

    .tsd-content ul li {
        list-style: none;
    }

    .tsd-content ul.poem-list li a {
        font-family: "Roboto Condensed", sans-serif;
        text-decoration: none;
        color: black;
    }

    .tsd-content .song-paper {
        background-color: antiquewhite;
        padding: 2rem;
        width: 100%;
        min-width: 360px;
        margin: 0 auto;
        opacity: 1;
        min-height: 90vh;
        border-radius: 4px;
    }

@media (min-width: 700px) {
    .tsd-content .song-paper {
        width: 700px;
    }
    .tsd-footer-container {
        width: 700px;
        margin: 0 auto;
    }
}

        .tsd-content .song-paper h1 {
            text-decoration: none;
            font-family: "Roboto Condensed", sans-serif;
            font-optical-sizing: auto;
            font-size: 2rem
        }

.tsd-content .song-paper pre {
    font-size: 1rem;
    /* font-family: Arial, sans-serif;*/
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    color: black;
    white-space: pre-wrap;
}

    .tsd-content .song-paper pre img {
        float: left;
        padding: 0 1rem 1rem 0;
    }

    .tsd-content .song-paper pre a {
        color: #ad1111;
        text-decoration: none;
    }

    .tsd-content .song-paper .details {
        font-size: small;
        font-family: Arial, sans-serif;
        color: #333;
        border-top: 1px dotted #333;
        padding-top: 6px;
        margin-bottom: 32px
    }

        .tsd-content .song-paper .details a {
            color: #ad1111;
            text-decoration: none;
        }

        .footer .next-previous-links {
            display: flex;
            justify-content: space-between;
            -webkit-align-items: center;
            align-items: center;
            padding: 1rem
        }

.footer .previous-icon, .footer .next-icon {
    display: block;
}

.footer svg {
    vertical-align: text-top;
    color: #ad1111
}

.footer .next-previous-links a {
    color: #aba8a1;
    text-decoration: none;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 500;
}

        .bg-home {
            background-image: url(/media/sd2.jpg);
        }

.icon-align {
    display: flex;
    align-items: center;
    gap: 6px
}

    .bg-poems {
        background-image: url(/media/bosch.jpeg);
    }

.container-fluid .tsd-brand {
    color: #aba8a1;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 500;
    font-size: 2rem;
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.front-page .container-fluid .tsd-brand {
    color: #ad1111;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.tsd-container {
    padding: 1rem;
}

.tsd-img {
    width: 300px;
    height: 300px;
    /*background: white url(/media/WallPicture.png) no-repeat;*/
    background-size: contain
}

.tsd-navbar-links .nav-item .nav-link {
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
}

.tsd-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tsd-log-in {
    width: 500px
}

.admin-page {
    /*background-color: black;
    color: white*/
}

    .admin-page nav {
        /*background-color: #444;
        color: white;*/
    }

    .admin-layout {
        margin: 4rem 10% 0 10%
    }

.admin-layout .row {
    display: block;
}

        .admin-layout h1 {
            font-size: 1rem
        }

        .admin-layout .row .col-md-4 {
            width: 100%
        }

    .admin-layout .list-table {
        table-layout: auto;
        width: 100%;
        border-bottom-color: #333
    }

    .admin-layout .list-table td div.text-contain {
        height: 100px;
        overflow: auto;
        max-width: 500px
    }

    .admin-layout .list-table td:nth-child(1) {
        font-weight: 500;
    }

    .admin-layout .control-label {
        margin-top: 0.5rem;
        font-weight: 600
    }

.front-page {
    box-sizing: border-box;
    height: 100%;
    padding: 0;
    margin: 0;
}

.front-page .wrapper {
    box-sizing: border-box;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

    .front-page .tsd-footer {
        background-color: rgba(0, 0, 0, 0.5);
        color: white;
        padding: 20px;
        flex-grow: 0;
        flex-shrink: 0;
    }

.front-page .link-container {
    width: 300px;
    /*margin: auto;*/
    /*background: red;*/
    padding-left: 20px;
    overflow: hidden;
    /*box-shadow: 0 0 25px #000;
    margin-top: 30px;
    border: 1px solid #444;*/
    text-align: left;
}

    .front-page .link-container .slide-right {
        animation: 2s slide-right;
    }

        .front-page .tsd-footer ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .front-page .tsd-page-container {
            flex-grow: 1;
        }

    .front-page .navbar .show {
        background-color: white
    }

.front-page .navbar, .front-page .navbar .nav-link {
    border: none
}

    .front-page .front-page-links {
        
    }

    .front-page .front-page-links ul li a {
        font-size: 3rem;
        text-decoration: none;
        font-family: "Roboto Condensed", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
    }

@keyframes slide-right {
    from {
        margin-left: -100%;
    }

    to {
        margin-left: 0%;
    }
}

.tsd-content .accordion {
    width: 100%;
}

.accordion .accordion-item .accordion-button, .accordion .accordion-item .accordion-body {
    padding: 8px
}

    .accordion .accordion-item .accordion-body ul {
        margin-bottom: 0;
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .accordion .accordion-item .accordion-body ul li a {
            text-decoration: none;
            color: white;
            padding: 4px 4px 4px 6px;
            display: block
        }

        .accordion .accordion-item .accordion-body ul li a:hover {
            background-color: #9b410d;
        }

.video-container iframe {
    width: 100%; /* Ensures the video takes the full width of its container */
    height: 100%; /* Ensures the height scales accordingly */
    aspect-ratio: 16 / 9; /* Sets the aspect ratio (16:9 is standard for HD video) */
}


.goodtech {
    background: url(/Portfolio/goodtech_svart.png) no-repeat top right;
}

.phones {
    background: url(/Portfolio/logo_3store.gif) no-repeat top right;
}

.ft {
    background: url(/Portfolio/Ads/ft_logo.png) no-repeat top right;
}

.glow {
    background: url(/Portfolio/thumbs/glow_logo.png) no-repeat top right;
}

.eiger {
    background: url(/Portfolio/thumbs/eiger_logo_2016.png) no-repeat top right;
}

.provac {
    background: url(/Portfolio/provac.png) no-repeat top right;
}

.step {
    background: url(/Portfolio/shell_logo.png) no-repeat top right;
}

.tatung {
    background: url(/Portfolio/tatung_logo.png) no-repeat top right;
}

/*Feed CSS*/

.song-paper .feed-list {
    padding-left: 0
}

.feed-list iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

.feed-logo {
    display: flex;
    -webkit-align-items: inherit;
    align-items: inherit;
    justify-content: center;
    margin-bottom: 1rem
}

.feed-meta {
    font-size: smaller;
    color: #333;
}

    .feed-meta > div {
        display: inline-block;
    }

    .feed-meta span {
        font-weight: 600
    }

.feed-media {
    padding-top: 0;
}

.unstyled-button {
    /* Option 1: Modern & fast reset */
    all: unset;
    /* Option 2: Full explicit reset for ultimate browser safety */
    background: transparent;
    color: inherit;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
    text-align: inherit;
    appearance: none;
}

    /* CRITICAL FOR ACCESSIBILITY: Visible style when navigating via keyboard */
    .unstyled-button:focus-visible {
        outline: 2px solid #0066cc;
        outline-offset: 2px;
    }

audio {
    width: 300px;
    border-radius: 10px;
    background-color: #f1f3f4;
    filter: sepia(20%) saturate(70%) grayscale(1) contrast(90%) invert(85%); /* Inverts chrome's default styling */
}

.show-hide-news-descr a {
    color: #9b410d;
    font-size: smaller
}

.news-link a {
    text-decoration: none;
    color: #9b410d;
}

.list-table input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 4px;
    background-color: red;
    border-color: red;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

    .list-table input[type="checkbox"]:checked {
        background-color: #2fbd0c;
        border-color: #2fbd0c;
    }

.maintenance {
    color: #ad1111;
    font-weight: 500;
    text-transform: uppercase;
}