html {
    margin: 0px;
    height: 100%;
}

body {
    margin: 0px;
    height: 100%;
}

a {
    color: #FF0000;
}

.footer {
    grid-area: ft;
    text-align: center;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    padding-left: 5%;
    padding-right: 10%;
    padding-top: 50px;
}

.footer-line {
    background-color: #BF4353;
    height: 10px;
    width: 100%;
    margin: 0 auto;
}

.footer p {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: x-small;
    text-decoration-color: #BF4353;
}

.collage {
    grid-area: collage;
    padding-left: 13px;
    padding-top: 80px
}

.content {
    grid-area: main;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding-left: 5%;
    padding-right: 10%;
    max-width: 1000px;
    min-height: 80%;
}

.content h1 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #B60505;
    size: xx-large;
    font-weight: bold;
}

.content h2 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    font-size: 0.8em;
}

.content p {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: small;
    text-align: center;
}

.content ul {
    text-align: left;
    display: inline-block;
}

.content hr {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 200px;
}

.content table {
    padding-top: 20px;
    padding-bottom: 20px;
    display: table;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}

.content td {
    text-align: left;
}

.sidebar {
    grid-area: sd;
    width: 100px;
    height: 100%;
    overflow: hidden;
}

.sidebar a {
    color: #B60505;
}

.sidebar-part1 {
    background-image: url('images/stolp.png');
    background-repeat: repeat-y;
    height: 14px;
}

.sidebar-part2 {
    background-image: url('images/rund_upp.png');
    background-repeat: no-repeat;
    height: 12px;
}

.sidebar-part3 {
    background-image: url('images/logo3.png');
    background-repeat: no-repeat;
    height: 92px;
}

.sidebar-part4 {
    background-image: url('images/rund_ner.png');
    background-repeat: no-repeat;
    height: 12px;
}

.sidebar-part5 {
    background-color: #B60505;
    height: 143px;
    padding-top: 18px;
    padding-bottom: 18px;
    margin-left: 3px;
    margin-right: 2px;
}

.sidebar-part6 {
    background-color: #E5DBB7;
    height: 143px;
    margin-left: 2px;
    margin-right: 2px;
    text-align: center;
    font-size: 10px;
    text-decoration-line: underline;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
}

.sidebar-menu-first-item {
    padding-top: 13px;
    padding-bottom: 6px;
}

.sidebar-menu-item {
    padding-top: 6px;
    padding-bottom: 6px;
}

.sidebar-menu-last-item {
    padding-top: 6px;
}

.sidebar-part7 {
    background-image: url('images/stolp.png');
    background-repeat: repeat-y;
    height: 100%;
}

.wrapper-index {
    display: grid;
    grid-template-columns: 100px 10% auto;
    grid-auto-rows: minmax(100px, auto);
    grid-template-areas:
        "sd collage main"
        "sd collage ft";
    min-height: 100%;
}

.wrapper {
    display: grid;
    grid-template-columns: 100px 10% auto;
    grid-auto-rows: minmax(100px, auto);
    grid-template-areas:
        "sd main main"
        "sd ft ft";
    min-height: 100%;
}

/* On screens that are 992px or less, hide the collage */
@media screen and (max-width: 700px) {
    .wrapper {
        grid-template-areas:
            "sd main main"
            "sd ft ft";
    }

    .collage {
        display: none;
    }
}

.rubrik-wrapper {
    display: block;
    height: 60px;
    padding: 20px;
    text-align: center;
    white-space: nowrap;
}

.rubrik-left {
    background-image: url('/images/rodleft.png');
    width: 60px;
    height: 60px;
    display: inline-block;
}

.rubrik-text {
    background-color: #BF3352;
    height: 60px;
    display: inline-block;
}

.rubrik-text h1 {
    height: 60px;
    color: #FFFFFF;
    display: table;
    text-transform: uppercase;
    margin-top: 10px;
}

.rubrik-right {
    background-image: url('/images/rodright.png');
    width: 60px;
    height: 60px;
    display: inline-block;
}

/* On screens that are 992px or less, hide the collage */
@media screen and (max-width: 700px) {
    .rubrik-left {
        display: none;
    }

    .rubrik-right {
        display: none;
    }
}

/* Style the Image Used to Trigger the Modal */
.imgmodal .videomodalmodal .audiomodal {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.imgmodal:hover .videomodalmodal:hover .audiomodal:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: small;
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

.gallery {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.galleryTag {
    height: 128px;
    object-fit: cover;
    cursor: pointer;
}

.timmertaget p {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: small;
    text-align: left;
}

.timmertaget-table {
    width: 100%;
    border-collapse: collapse;
}

.timmertaget-table th,
.timmertaget-table td {
    padding: 8px 6px;
    border: 1px solid #ccc;
    text-align: left;
}

.timmertaget-table tbody tr:nth-child(even) {
    background: #f7f7f7;
}

.timmertaget-table tbody tr:nth-child(odd) {
    background: #fff;
}

.timmertaget-table th {
    background: #e0e0e0;
}