/* Grundinställningar */
* {
    font-family: 'Calibri', sans-serif;
}

html {
    height: 100%;
}

/* Siduppbyggnad */
.header {
    background-color: #ffffff;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
}

.dashboard-container {
    max-width: 90%;
    margin: 10px auto;
    margin-top: 215px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer {
    padding: 20px;
    width: 100%;
    z-index: 100;
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    position: relative;
    margin-top: 30px;
    font-size: 0.9rem;
}

/* Rubriker */
h1 {
    display: block;
    font-size: 2em;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
  }

h2 {
    display: block;
    font-size: 1.5em;
    margin-top: 0.83em;
    margin-bottom: 0.83em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

h3 {
    display: block;
    font-size: 1.17em;
    font-weight: bold;
}

h4 {
    display: block;
    font-size: 1em;
    margin-top: 1.33em;
    margin-bottom: 1.33em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

h5 {
    display: block;
    font-size: .83em;
    margin-top: 1.67em;
    margin-bottom: 1.67em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

h6 {
    display: block;
    font-size: .67em;
    margin-top: 2.33em;
    margin-bottom: 2.33em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

/* Knappar, grafik exkl. huvudmenyn */
button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

button:hover {
    background-color: #0056b3;
}

/* Navigation */
nav {
    background-color: #333333;
    color: white;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 100px;
}

nav a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
}

nav a:hover,
nav a.active {
    background-color: #007bff;
    border-radius: 5px;
}

/* Allmän stil för menyn */
.menu a {
    text-decoration: none;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    margin: 5px;
}

.menu a:hover {
    background-color: #45a049;
}

/* Specific pages */
/* Active links */

.link-list {
    background-color: #ffffff;
    color: #000000;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.link-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.link-table th, .link-table td {
    padding: 5px 5px;
    text-align: left;
    border: 1px solid #ddd;
}

.link-table th {
    background-color: #333333;
    color: white;
    font-weight: bold;
}

.link-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.link-table tr:hover {
    background-color: #f1f1f1;
}

.link-table a {
    color: #007bff;
    text-decoration: none;
}

.link-table a:hover {
    text-decoration: underline;
}

/* Forms */
input, select, textarea {
    width: 100%;
    padding: 10px;
    margin: 12px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}