﻿@font-face {
    font-family: 'Swedensans';
    src: url('SwedenSansRegular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'Swedensans', Arial, sans-serif;
    background-color: #f8f9fa;
    color: #212529;
    line-height: 1.6;
}

header {
    background-color: #002b49; /* mörkblå från AIDA */
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

    nav a {
        color: white;
        text-decoration: none;
        font-weight: bold;
        padding: 0.5rem 1.25rem;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

        nav a:hover {
            background-color: #fecb00; /* gul highlight */
            color: #002b49;
        }

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

h1 {
    text-align: center;
    color: #002b49;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    color: #444;
}

.form-section {
    border: 2px solid #d1dbe5;
    border-radius: 10px;
    padding: 2rem;
    background-color: #fdfdfd;
    position: relative;
}

    .form-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 6px;
        width: 100%;
        background-color: #fecb00; /* gul accent som toppremsa */
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

    .form-group label {
        margin-bottom: 0.5rem;
        font-weight: bold;
        color: #002b49;
    }

    .form-group input {
        padding: 0.75rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 1rem;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .form-group input:focus {
            border-color: #fecb00;
            box-shadow: 0 0 0 3px rgba(254, 203, 0, 0.25);
            outline: none;
        }

.form-columns {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.form-column {
    flex: 1;
    min-width: 300px;
}

/* Valfri knappstil */
button {
    background-color: #fecb00;
    color: #002b49;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

    button:hover {
        background-color: #e6b800;
    }





/* Ta bort indrag från själva listan */
#content-list, #event-list-area, #article-list-area, #pod-area, #newsletter-area, .block-list, .content-list {
    list-style: none;
    padding: 0;
    margin: 5px 0px;
}

/* Justera padding/marginal på varje block */
.content-item {
    margin: 1.5rem 0; /* Endast vertikalt */
    padding: 1.5rem;
    border-left: 8px solid #fecb00;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s;
}

.content-item {
 }

.content-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.content-heading h2 {
    margin: 0;
    font-size: 1.25rem;
    color: #002b49;
}

.content-item-type {
    color: #666;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.type-EventPage {
    border-left: 8px solid #fecb00;
}

.type-ArticlePage {
    border-left: 8px solid #007e99;
}

.type-Pod {
    border-left: 8px solid #f8f9fa;
}

.type-Newsletter {
    border-left: 8px solid #f8f9fa;
}

.toggle-button {
    background-color: #002b49;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .toggle-button:hover {
        background-color: #005c8c;
    }

.content-body {
    margin-top: 1rem;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #002b49;
}

.styled-select {
    width: 200px;
    padding: 0.6rem;
    font-size: 1rem;
    color: #002b49;
    background-color: #f1f6fa;
    border: 2px solid #d1dbe5;
    border-radius: 6px;
    appearance: none; /* Tar bort standardpil i vissa webbläsare */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='5' viewBox='0 0 10 5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23002b49' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 10px 5px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

    .styled-select:focus {
        outline: none;
        border-color: #fecb00;
        box-shadow: 0 0 0 3px rgba(254, 203, 0, 0.3);
    }

/*.form-row {
    display: flex;
    gap: 2rem;*/ /* justera mellanrum mellan selects */
    /*flex-wrap: wrap;
}

    .form-row .form-group {
        flex: 1;
        min-width: 200px;
    }*/




.form-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

/* Checkboxgrupp bredvid selects */
.checkbox-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Bas för varje checkbox */
.checkbox-wrapper {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
    font-size: 1rem;
    color: #002b49;
}

    /* Dölj standardruta */
    .checkbox-wrapper input[type="checkbox"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

/* Anpassad kryssruta */
.custom-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #f1f6fa;
    border: 2px solid #d1dbe5;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

/* När det är kryssat */
.checkbox-wrapper input:checked ~ .custom-checkbox {
    background-color: #002b49;
    border-color: #002b49;
}

    /* Visa bocken */
    .checkbox-wrapper input:checked ~ .custom-checkbox::after {
        content: "";
        position: absolute;
        left: 5px;
        top: 1px;
        width: 6px;
        height: 12px;
        border: solid #fecb00;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }



/*.process-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}*/

.step {
    flex: 1;
    min-width: 150px;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .step h3 {
        margin-bottom: 0.5rem;
    }

.status-indicator {
    padding: 0.5rem;
    border-radius: 6px;
    font-weight: bold;
    color: white;
}

.not-started .status-indicator {
    background-color: #aaa;
}

.in-progress .status-indicator {
    background-color: #f0ad4e;
}

.completed .status-indicator {
    background-color: #5cb85c;
}

.hide {
    display: none;
}

.dimmed {
    opacity: 0.7;
}