/*
kopiert fra snla-css
*/
.ba { border-style: solid; border-width: 1px; }
.bt { border-top-style: solid; border-top-width: 1px; }
.bb { border-bottom-style: solid; border-bottom-width: 1px; }
.bn { border-style: none; border-width: 0; }
.b--white { border-color: #fff; }
.br-100 { border-radius: 100%; }
.bw2 { border-width: .25rem; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.absolute--fill { top: 0; right: 0; bottom: 0; left: 0; }
.dn { display: none; }
.db { display: block; }
.dib { display: inline-block; }
.flex { display: -ms-flexbox; display: flex; }
.flex-auto { -ms-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; /* 1 */ min-height: 0; /* 1 */ }
.flex-column { -ms-flex-direction: column; flex-direction: column; }
.flex-wrap { -ms-flex-wrap: wrap; flex-wrap: wrap; }
.flex-grow { flex-grow: 1; }
.fw5 { font-weight: 500; }
.h2 { height: 2rem; }
.h-100 { height: 100%; }
.list { list-style-type: none; }
.w-100 { width: 100%; }
.static { position: static; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.white { color: #fff; }
.snlablue { color: #00048b; }
.bg-black-50 { background-color: rgba( 0, 0, 0, .5 ); }
.bg-light-gray { background-color: #eee; }
.bg-white { background-color: #fff; }
.bg-transparent { background-color: transparent; }
.pa0 { padding: 0; }
.pa2 { padding: .5rem; }
.pa3 { padding: 1rem; }
.pb0 { padding-bottom: 0; }
.pb3 { padding-bottom: 1rem; }
.pb5 { padding-bottom: 4rem; }
.pb6 { padding-bottom: 8rem; }
.pt0 { padding-top: 0; }
.pt3 { padding-top: .5rem; }
.ph2 { padding-left: .5rem; padding-right: .5rem; }
.ph3 { padding-left: 1rem; padding-right: 1rem; }
.ph4 { padding-left: 2rem; padding-right: 2rem; }
.ma0 { margin: 0; }
.ma2 { margin: .5rem; }
.ma3 { margin: 1rem; }
.ml1 { margin-left: .25rem; }
.ml3 { margin-left: 1rem; }
.mr3 { margin-right: 1rem; }
.mb0 { margin-bottom: 0; }
.mb2 { margin-bottom: .5rem; }
.mb3 { margin-bottom: 1rem; }
.mb4 { margin-bottom: 2rem; }
.mt2 { margin-top: .5rem; }
.mt4 { margin-top: 2rem; }
.nl2 { margin-left: -.5rem; }
.nr2 { margin-right: -.5rem; }
.underline { text-decoration: underline; }
.no-underline { text-decoration: none; }
.tl { text-align: left; }
.tc { text-align: center; }
.ttu { text-transform: uppercase; }
.f1 { font-size: 3rem; }
.f3 { font-size: 1.5rem; }
.f4 { font-size: 1.25rem; }
.f5 { font-size: 1rem; }
.f6 { font-size: .875rem; }
.center { margin-right: auto; margin-left: auto; }
.v-mid { vertical-align: middle; }
.z-999 { z-index: 999; }
body, ul, li, p, h1, h2, h3, h4, dl, dt, dd, fieldset {
    margin: 0;
    padding: 0;
}
* {
    box-sizing: border-box;
}
[type=reset], [type=submit], button, html [type=button] {
    -webkit-appearance: button;
}
button, input, optgroup, select, textarea {
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}
img {
    max-width: 100%;
    height: auto;
    border-style: none;
}
body {
    color: #5a5555;
    font: 1rem 'Effra', Helvetica, sans-serif;
    line-height: 1.2;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    background-color: #f9f7f5;
}
.input {
    display: inline-block;
    width: 100%;
    height: 46px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 1rem;
    background-color: #fff;
    border-radius: 0;
    transition: all .2s ease;
    border: 1px solid #b4bdc7;
}

.devheader {
    height: 1.5em;
    line-height: 1.5em;
    color: #F8F5F3;
    background-color: #004B8D;
    text-align: center;
    top: 0;
    position: absolute;
    z-index: 1;
    width: 50%;
    left: 50%;
    margin-left: -25%;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

/* ---------------------------------- */
/* BASIC */
/* ---------------------------------- */

:root {
    --white: #fff;
    --black: #000;
    --font: #5a5555;
    --primary: #e20221;
    --secondary: #23145f;
    --b--light-gray: #ebebeb;
    --bg-light-gray: #eee;
    --bg-light-blue: #f6fffe;
    --green: #467211; /* for kamera versjon */
    --error-fg: #ba2121;
}

.b--black {
    border-color: var(--black);
}

.bg-green {
    background-color: var(--green);
}

.secondary {
    color: var(--secondary);
}

html,
body {
    height: 100vh;
}

.w-max-240 {
    max-width: 240px;
}

.w-max-450 {
    max-width: 450px;
}

.w-max-700 {
    max-width: 700px;
}

.w-min-240 {
    min-width: 240px;
}

.w-min-450 {
    min-width: 450px;
}

.w-70 {
    width: 70%;
}

.w-90 {
    width: 90%;
}

.mh {
    margin: 0 auto;
}

.mt3 {
    margin-top: 1rem;
}

.mt3-halv {
    margin-top: 1.5rem;
}

.mt5 {
    margin-top: 4rem;
}

.mb3-halv {
    margin-bottom: 1.5rem;
}

.mb5 {
    margin-bottom: 4rem;
}

.pa4 {
    padding: 2rem;
}

.pt4 {
    padding-top: 2rem;
}

.pt4-halv {
    padding-top: 3rem;
}

/* for Ny bruker form */
.pt5 {
    padding-top: 3.6rem;
}

/* not integer */
.pb2 {
    padding-bottom: 0.5rem;
}

.pb4 {
    padding-bottom: 2rem;
}

.pl3 {
    padding-left: 1rem;
}

.pr3 {
    padding-right: 1rem;
}

.ba2 {
    border-style: solid;
    border-width: 2px;
}

.brt3 {
    border-right: 2px solid var(--b--light-gray);
}

.br-pill {
    border-radius: 9999px;
}

.outline {
    outline: 2px dotted var(--black);
}

.f2 {
    font-size: 1.75rem;
}

.f-small {
    font-size: 11px;
}

.fw6 {
    font-weight: 600;
}

.fr {
    float: right;
    _display: inline;
}

.stretch {
    align-items: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.z-9999 {
    z-index: 9999;
}

.overflow-x-auto {
    overflow-x: auto;
}

input[type='text']:focus,
input[type='submit']:focus,
input[type='tel']:focus,
input[type='button']:focus,
input[type='email']:focus,
input[type='password']:focus {
    outline: none;
}

.right-icon {
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 2rem;
}

.left-icon {
    background-repeat: no-repeat;
    background-position: left 10px center;
    background-size: 24px;
    padding-left: 2.2rem;
}

.center-icon {
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px;
}

.button-arrow-red {
    background-image: url("../images/svg/button-arrow-red.d23357ce5ab4.svg");
}

.icon-search-navigation {
    background-image: url("../images/svg/icon-search-navigation.f3b54d2e4799.svg");
}

/* usersearch.php, with .icon-right */
.arrow-down-white {
    background-image: url("../images/svg/arrow-down-white.a8fda83aff71.svg");
}

/* _inc_nybrukere.php --> left */
.footer-arrow {
    background-image: url("../images/svg/footer-arrow.699dcb6e1a82.svg");
}

/* sidebar.php --> right, _inc_nybrukere.php --> left */

.menu {
    background-image: url("../images/svg/menu.1b399ca30d64.svg");
}

/* header.php */

/* Override snla-css */
body {
    background-color: var(--white);
}

#container {
    height: 100vh;
}

main {
    /* Fills rest of window that's not occupied by header */
    min-height: calc(100% - 70px);
    position: relative;
    overflow: hidden;
}

#content {
    overflow: auto;
}

a {
    text-decoration: none;
    color: var(--font);
}

.b--light-gray {
    border-color: var(--b--light-gray);
}

.b--secondary {
    border-color: var(--secondary);
}

.pb0 {
    padding-bottom: 0;
}

/* #search: can not working from snla-css, need write again, use together with pa4 */

.bg-primary {
    background-color: var(--primary);
}

.bg-secondary {
    background-color: var(--secondary);
}

.bg-light-gray {
    background-color: var(--bg-light-gray);
}

.bg-white {
    background-color: var(--white);
}

#version {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 2px;
    font-size: 12px;
    z-index: 1;
    background: white;
}

/* ---------------------------------- */
/* HEADER */
/* ---------------------------------- */

header {
    height: 70px;
    background-color: var(--primary);
}

#header-logo {
    height: 36px;
}

#h113-logo {
    height: 36px;
}

#menuToggle {
    display: block;
    position: absolute;
    top: 19px;
    right: 19px;

    z-index: 1;

    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a {
    text-decoration: none;
    color: #232323;

    transition: color 0.3s ease;
}

#menuToggle a:hover {
    color: var(--primary);
}


#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;

    cursor: pointer;

    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */

    -webkit-touch-callout: none;
}

#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: #fff;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
                background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
                opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

/*
 * Turns the hamburger menu into a crossmark.
 */
#menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
}

#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}

#menu {
    position: absolute;
    opacity: 0;
    width: 300px;
    margin: -100px 0 0 -200px;
    padding: 1em;
    padding-top: 125px;

    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */

    transform-origin: 0% 0%;
    transform: translate(100%, 0);

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#menu li {
    padding: 10px 0;
    font-size: 22px;
}

#menuToggle input:checked ~ ul {
    transform: none;
    opacity: 1;
}

@keyframes slidein {
    from {
        margin-left: 100%;
        width: 100%;
    }

    to {
        margin-left: 0%;
        width: 100%;
    }
}

.mobil-menu-open {
    min-width: 272px;
    max-width: 272px;
    border-left: 2px solid var(--b--light-gray);
    float: right;
}

.mobil-menu-open-header {
    height: 70px;
}

/* --------------------------------- */
/* Loading buttons                   */
/* --------------------------------- */

.loading-button * {
    transition: opacity 0.3s ease-in;
}

.loading-button .loader {
    position: absolute;
    fill: transparent;
    top: calc(50% - 0.75rem);
    left: calc(50% - 0.75rem);
    width: 1.5rem;
    height: 1.5rem;
    animation: rotating 1.5s linear infinite;
    display: none;
    opacity: 0;
}

.loading-button.loading span {
    color: transparent;
    opacity: 0;
}

.loading-button.loading .loader {
    fill: transparent;
    display: block;
    opacity: 1;
}

@-webkit-keyframes rotating {
    0% {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1turn);
    }
}

@keyframes rotating {
    0% {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1turn);
    }
}


/* ---------------------------------- */
/* Notification Panel */
/* ---------------------------------- */

#notification-bell > label {
    display: block;
    position: relative;
    cursor: pointer;
}

#notification-bell > label img {
    height: 36px;
    width: 36px;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
}

#notification-bell > input {
    display: none;
}

@keyframes shake {
    0%, 50%, 100% { transform: rotateZ(0); }
    5%, 15%, 25%, 35%, 45% { transform: rotateZ(-10deg); }
    10%, 20%, 30%, 40% { transform: rotateZ(10deg); }
}

#notification-bell.unread img.unread {
    display: inline-block;
    animation: shake 2s ease-in-out infinite;
}

#notification-bell.unread img.read {
    display: none;
}

#notification-bell:not(.unread) img.unread {
    display: none;
}

#notification-bell:not(.unread) img.read {
    display: block;
}

#notification-panel {
    position: absolute;
    top: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    right: -550px;
    background: var(--bg-light-blue);
    height: 100%;
    width: 500px;
    border-left: 1px solid var(--b--light-gray);
    box-shadow: 0 30px 40px rgba(0,0,0,.5);
    -webkit-transition: right 0.5s ease-in-out, padding 0.5s ease-in-out;
    -moz-transition: right 0.5s ease-in-out, padding 0.5s ease-in-out;
    -o-transition: right 0.5s ease-in-out, padding 0.5s ease-in-out;
    transition: right 0.5s ease-in-out, padding 0.5s ease-in-out;
}
#notification-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem;
    -webkit-transition: opacity 0.5s ease-out 0.5s;
    -moz-transition: opacity 0.5s ease-out 0.5s;
    -o-transition: opacity 0.5s ease-out 0.5s;
    transition: opacity 0.5s ease-out 0.5s;
}

#close-notification-button {
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
}

#notification-container {
    overflow-y: auto;
}

/* width */
#notification-container::-webkit-scrollbar {
    width: 10px;
}

/* Track */
#notification-container::-webkit-scrollbar-track {
    background: var(--bg-light-gray);
    border-radius: 5px;
}

/* Handle */
#notification-container::-webkit-scrollbar-thumb {
    background: var(--font);
    border-radius: 5px;
}

.notification {
    border-bottom: 1px solid grey;
    padding: 2rem 0;
    position: relative;
}

.notification:last-child {
    margin-bottom: 10rem;
}

.notification-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 0.5rem;
    position: relative;
}

.notification-date {
    position: absolute;
    font-size: 0.8em;
    right: 0;
    margin-right: 10px;
}

.notification-icon {
    width: 2rem;
}

.notification-header > h3 {
    margin-left: 0.5rem;
}

.unread-notification::after {
    position: absolute;
    right: 1rem;
    top:-20px;
    content: 'Ny!';
    background-color: var(--green);
    color: white;
    padding: 0.25rem;
}

.notification-content {
    margin-top: 0.5rem;
    padding-left: 3rem;
}

.notification-warning {
    background: #f6c1c1;
}


/* ---------------------------------- */
/* Logg inn page */
/* ---------------------------------- */

#logginn-page {
    width: 300px;
}

#logginn-btn, #submit-btn {
    position: relative;
    margin-top: 0.5rem;
    padding: 0.6rem 2.5rem;
}

/* ---------------------------------- */
/* nav#sidebar-nav */
/* ---------------------------------- */

.active {
    color: var(--primary);
}

#sidebar-nav {
    background-color: var(--bg-light-blue);
    min-height: 100%;
}

/* for testing */

#sidebar-nav ul li a:hover,
#sidebar-nav ul li a:active {
    color: var(--primary);
}

ul.collapse li {
    /* choose more children */
    margin-top: 0.8rem;
    font-size: 11px;
}

/* start with padding for the arrow to show */
#sidebar-nav li a {
    padding-left: 1.2rem;
}

.sidebar-active {
    color: var(--primary);
    background-image: url("../images/svg/button-arrow-red.d23357ce5ab4.svg");
    background-repeat: no-repeat;
    background-size: 16px;
}

.line {
    width: 210px;
    border-bottom: 1px solid var(--b--light-gray);
}

.sidebar-mainmenu .sidebar-submenu {
    display: none;
}

.sidebar-mainmenu.active .sidebar-submenu,
.sidebar-mainmenu:hover .sidebar-submenu {
    display: block;
}

/* ---------------------------------- */
/* #search */
/* ---------------------------------- */

.content-top {
    height: auto;
}

#content-top-search-input {
    padding-left: 1rem;
    padding-right: 2.5rem;
}

#content-top-search-btn {
    background: 0 0;
    border: none;
    height: 24px;
    line-height: 24px;
    right: 0;
}

.content-top-nav {
    /* absolute, bottom used for hide line when hover */
    height: 46px;
    bottom: -1px;
}

.content-top-nav li {
    list-style: none;
    display: inline-block;
}

.content-top-nav li a {
    display: block;
    height: 46px;
    line-height: 46px;
    padding: 0 8px;
    /* font-weight: 600; */
    /* border-top: 3px solid transparent; */ /* still have moving effect!!! */
    /* border-right: 1px solid transparent; */
    /* border-bottom: 1px solid transparent; */
    /* border-left: 1px solid transparent; */
}

.content-top-nav-active {
    color: var(--secondary);
    background: var(--white);
    border-top: 3px solid var(--primary);
    border-right: 1px solid var(--b--light-gray);
    border-bottom: 1px solid var(--white);
    border-left: 1px solid var(--b--light-gray);
}

.content-top-nav li a:hover {
    color: var(--secondary);
    cursor: pointer;
}

/* ---------------------------------- */
/* Details */
/* ---------------------------------- */

#table_user_list, #table_admin_list {
    padding-bottom: 10em;
}

/* Button */
.details-btn {
    padding: 8px 12px;
}

.delete-button {
    display: block;
    position: relative;
    background-color: var(--primary);
    border: 0;
    width: 70px;
    height: 30px;
    line-height: 30px;
    margin: auto;
    color: #fff;
    overflow: hidden;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.310, -0.105, 0.430, 1.400);
}

.delete-button:hover > span {
    left: -72%;
    opacity: 0;
}

.delete-button:hover > .icon {
    width: 100%;
    font-size: 36px;
}

.delete-button > span, .icon {
    display: block;
    height: 100%;
    text-align: center;
    position: absolute;
    top: 0;
}

.delete-button > span {
    width: 72%;
    font-size: 12px;
    left: 0;
    transition: all 0.25s cubic-bezier(0.310, -0.105, 0.430, 1.400);
}

.delete-button > .icon {
    font-style: normal;
    font-size: 20px;
    vertical-align: middle;
    width: 28%;
    right: 0;
    transition: all 0.25s cubic-bezier(0.310, -0.105, 0.430, 1.400), height 0.25s ease;
}

/* table */
thead {
    text-align: left;
}

th,
td {
    border-bottom: 1px solid var(--b--light-gray);
    line-height: 2.9rem;
}

/* Brukere */

.brukere-table th:nth-child(n + 5):nth-child(-n + 9),
.brukere-table td:nth-child(n + 5):nth-child(-n + 9) {
    text-align: center;
}

.brukere-table a {
    color: var(--primary);
}

/* Grupper */
.grupper-nav li {
    list-style: none;
    display: inline-block;
    height: 24px;
    line-height: 24px;
    padding: 0 20px;
}

.grupper-nav-active {
    border-bottom: 3px solid var(--primary);
}

.grupper-nav li:hover {
    font-weight: 600;
}

.grupper-table {
    border: 1px solid #ebebeb;
    border-collapse: collapse;
}

.grupper-table th:nth-child(1),
.grupper-table td:nth-child(1),
.grupper-table th:nth-child(3),
.grupper-table td:nth-child(3) {
    text-align: center;
}

/* Presentasjoner */
.last-opp-pre-form {
    width: 550px;
    height: auto;
    background: var(--white);
    border: 1px solid var(--b--light-gray);
    box-shadow: 1px 1px 2px var(--bg-light-gray);
    top: 50px;
    left: 200px;
}

.upload-area {
    height: 200px;
    margin: auto;
    text-align: center;
}

.drag-drop {
    font-size: 12px;
}

.file-input {
    color: transparent; /* To hide no file choosen */
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.presentasjoner-table th:nth-child(3),
.presentasjoner-table td:nth-child(3) {
    text-align: center;
}

/* ---------------------------------- */
/* Tables */
/* ---------------------------------- */

.sortable {
    cursor: pointer;
}

.sort-asc::after {
    content: "\25bc";
    font-size: 0.7em;
    padding-left: 3px;
    line-height: 0.7em;
}

.sort-desc::after {
    content: "\25b2";
    font-size: 0.7em;
    padding-left: 3px;
    line-height: 0.7em;
}


/* ---------------------------------- */
/* Forms */
/* ---------------------------------- */

.textarea {
    min-height: 80px;
    resize: vertical;
}

.ctrlHolder {
    max-width: 500px;
}

/* ---------------------------------- */
/* Responsive */
/* ---------------------------------- */

/* Small phones: from 0 to 480px */

@media only screen and (max-width: 767px) {
    #sidebar-nav,
    .logg-inn,
    #notification-panel {
        display: none;
    }

    table {
        max-width: 800px;
        white-space: nowrap;
        border-collapse: collapse;
    }

    .brukere-table th:nth-child(n + 1):nth-child(-n + 7),
    .brukere-table td:nth-child(n + 1):nth-child(-n + 7),
    .presentasjoner-table th:nth-child(n + 1):nth-child(-n + 2),
    .presentasjoner-table td:nth-child(n + 1):nth-child(-n + 2) {
        padding-right: 1.5rem;
    }
}

@media only screen and (max-width: 1023px) {
    .content-top-title {
        margin-bottom: 1rem;
    }
}

@media only screen and (min-width: 768px) {
    #header-logo-white {
        margin: 0 auto;
    }

    #mobil-menu,
    #content-top-search-a {
        display: none;
    }

    #menuToggle {
        display: none;
    }

    .logg-inn {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .content-top-search-form-div {
        display: block;
    }

    #sidebar-nav {
        max-width: 240px;
        min-width: 240px;
        padding: 3rem 1rem 1rem;
        border-right: 2px solid var(--b--light-gray);
    }

    .content-title {
        padding: 3.6rem 2rem 0 2rem;
    }

    .content-title h1 {
        font-size: 1.75rem;
        font-weight: 600;
    }

    .content-details {
        padding: 1rem 2rem;
    }

    .content-details table {
        padding-left: 1rem;
    }
}

@media only screen and (min-width: 1024px) {
    .content-top {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .content-top-area {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .content-top-area h1,
    .content-form h1 {
        font-size: 1.75rem;
        font-weight: 600;
    }

    .content-top-search-form-div {
        margin-bottom: 0;
    }

    #content-top-search-input {
        min-width: 450px;
        max-width: 450px;
    }

    .content-top-nav li a {
        padding: 0 1rem;
    }

    .content-form {
        padding: 3.6rem 2rem 2rem;
    }

    .content-form-div {
        padding-bottom: 2rem;
    }

    .content-form-info p {
        font-size: 1.25rem;
    }

    .mobil-file {
        display: none;
    }

    #add-presentasjoner-btn {
        display: block;
    }

    .content-top-form-div {
        display: flex;
        justify-content: flex-start;
    }

    .content-top-form-div div:nth-child(-n + 2) {
        margin-right: 0.5rem;
    }
}

.asteriskField {
    display: none;
}

/* Django messages framework styling, using mui-like styling */
.messages li {
    margin: 1em;
    display: block;
    padding: 1em;
    border-radius: 4px;
}

.messages li + li {
    margin-top: 1em;
}

.messages li.success {
    background-color: rgb(237, 247, 237);
    color: rgb(30, 70, 32);
}

.messages li.info {
    background-color: rgb(229, 246, 253);
    color: rgb(1, 67, 97);
}

.messages li.warning {
    background-color: rgb(255, 244, 229);
    color: rgb(102, 60, 0);
}

.messages li.error {
    background-color: rgb(253, 237, 237);
    color: rgb(95, 33, 32);
}

body.errorpage {
    text-align: center;
}

.errorpage .content {
    margin-top: 10rem;
}
.errorpage h1 {
    font-size: 10rem;
    color: var(--primary);
}
.errorpage p {
    font-size: 2rem;
    max-width: 1000px;
    margin: auto auto 2em;
}
.errorpage a {
    font-size: 2rem;
    text-decoration: underline;
    color: var(--secondary);
}

ul.errorlist {
    margin: 0 0 4px;
    padding: 0;
    color: var(--error-fg);
    background: var(--body-bg);
}

/* Autocomplete text input slightly smaller for more compact input fields without line-breaking */
.MuiAutocomplete-inputRoot .MuiAutocomplete-input {
    min-width: 15px !important;
}
