﻿:root {
    --alternate-color: rgba(0,0,0,.05);
}


html, body, form {
    height: 100% !important;
}

table caption, fieldset legend {
    /*display: none;*/
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.show-fieldset-legend legend {
    /*display: inherit;*/
    position: initial;
    left: initial;
    top: initial;
    width: initial;
    height: initial;
    overflow: initial;
    font-size: unset;
}

.readers-only, .wcag-hidden {
    clip-path: inset(100%);
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

a:not(.btn):not(.mdi) {
    text-decoration:underline !important;
}
#sidebar a {
    text-decoration: none !important;
}
.logout-warning {
    font-size:1rem;
    font-weight:normal;
    display:inline-block;
    background-color: yellow;
    padding: 4px;
    border-radius: 1em;
    margin-top:-1rem;
}
input + label {
    margin-left: 0.3rem;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus,
input:not([type = "radio"]):focus,
select:focus,
button:focus,
.css-checkbox input:focus ~ label,
a:focus {
    outline: 0 !important;
    border: 2px solid black !important;
    border-radius: 3.5px;
    box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.5) !important;
}
/*input[type="radio"]:focus {
    box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.5) !important;
}*/
/*box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(128, 128, 128, 0.8) inset !important;*/
/*box-shadow: 0 1px 1px rgba(0, 0, 0, 0.5) inset, 0 5px 8px rgba(128, 128, 128, 0.8) !important;*/
.wrapper {
    /*width: 100%;
    height: 100%;*/
    min-width: 300px;
    max-width: 1200px;
    align-items: unset;
    /*min-height: 100%*/
}

.page-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /*min-height: 100vh;*/
}

.page-main {
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
    align-content: flex-start;
}

#content {
    margin-left: 10px;
    padding: 0 0 0 0;
    padding-left: 0px;
    flex-grow: 1;
}

.content-wider {
    max-width: 1280px;
}


.content-wide {
    max-width: 1024px;
}

.content-medium {
    max-width: 800px;
}

.content-narrow {
    max-width: 640px;
}

.content-narrower {
    max-width: 480px;
}
.accordionHeader {

}
.thumb-red {
    color: rgba(205,92,92,0.7);
}
.thumb-green {
    color: rgba(143,188,143,0.7);
}
    .marker {
    display: block;
    width: 1rem;
    height: 1rem;
    border-radius: 50% 50%;
}

    .marker.marker-block {
        width: 30px;
        height: 30px;
        border-radius: 10% 10%;
        margin-left: auto;
    }


marker-container {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
}

.marker-long {
    /*border-radius: 0% 20% 20% 0%;*/
    width: 0.7rem;
    margin-left: auto;
    height: 98%;
    margin-top: 2px;
    margin-bottom: 2px;
}

    .marker.marker-red, .marker-long.marker-red {
        /*background-color: #cd5c5c;*/
        background-color: rgba(205,92,92,0.7);
    }

    .marker.marker-green, .marker-long.marker-green {
        /*background-color: #8fbc8f;*/
        background-color: rgba(143,188,143,0.7);
    }

.post-div {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    text-align: center;
    background-color: rgba(20,20,20,0.75);
    z-index: 50000;
}

    .post-div .post-info-bg {
        position: fixed;
        background-image: url('../bilder/loading.svg');
        background-position: center center;
        background-repeat: no-repeat;
        width: 20vh;
        height: 20vh;
        top: calc(50% - 10vh);
        left: calc(50% - 10vh);
        /*transform: translate(-50%, -50%);*/
        animation: post-info-spin infinite 3s linear;
    }

    .post-div .post-info {
        width: 30vh;
        height: 30vh;
        display: inline-block;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

        .post-div .post-info::after {
            /*width: max-content;*/
            /*border: 1px solid black;*/
            padding: 0.5rem 1rem;
            border-radius: 0.4rem;
            content: attr(data-content);
            color: #000;
            background-color: rgba(245, 127, 14, 0.3);
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 1.5rem;
            font-weight: 500;
        }


@keyframes post-info-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.validationsummary ul {
    list-style: none;
    list-style-type: none;
    padding: 0;
}

.row-no-padding, .row-no-padding > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


.top-content {
    padding: 0.5rem;
    height: 90px;
}

    .top-content .sidebarCollapse {
        margin: 0;
        padding: 0;
    }

    .top-content #sideBarButtonContainer {
        padding-left: 0;
        margin: 0 1rem 0 0;
    }
    /*.   .top-content .user-info {
    }*/
    .top-content .user-icons {
        font-size: 1.5em;
    }

        .top-content .user-icons a {
            color: #000;
            font-size: 1em;
        }

    .top-content .top-image {
        width: 100%;
        min-width: 100px;
        max-width: 145px;
    }

    .top-content .user-info-container {
        min-width: 135px;
        position:relative;
    }
/*.top-content .user-info div[class="row"] {
        float: left !important;
    }*/
.dev-border {
    border: 1px solid red;
}

.dev-border-green {
    border: 1px solid green;
}

.multi-control {
    position: relative;
    display: inline-block;
}

    .multi-control + span {
        position: absolute;
        right: 1.5em;
        top: 12%;
    }

html {
    font-size: 14px;
    font-family: Verdana,Arial, Helvetica, sans-serif;
}

h1, .h1 {
    font-size: 2rem;
}

h2, .h2 {
    font-size: 1.5rem;
}

h3, .h3 {
    font-size: 1.25rem;
}



.login {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .login .message {
        margin: 1em 0;
    }

    .login .col-2 {
        margin-right: 1em;
    }

    .login .row + .row {
        margin-top: 0.7em;
    }

.space-top .row {
    margin-top: 1em;
}

.tipsy-link {
    background: url('../bilder/tipsy_icon.png') no-repeat bottom right;
    display: inline-block;
    height: 24px;
    line-height: 24px;
    padding-right: 24px;
    text-decoration: none;
}

.link-row {
    cursor: pointer !important;
}

    .link-row:hover td {
        background-color: rgba(221, 221, 221, 0.4);
    }


.centerHorVer {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.btndisabled {
    pointer-events: none;
    color: #888888;
    opacity: 0.5 !important;
}

.btn220px {
    width: 220px;
}

.input-warning {
    border: 1px solid #ff0000;
}

.statistik-table {
    border-collapse: collapse;
}

.statistik-header td {
    font-weight: bold;
}

.statistik-footer td {
    border-bottom: 1px solid #000000;
    border-top: 1px solid #000000;
}

.total-sum {
    font-weight: bold;
}

.square {
    display: block;
    height: 16px;
    width: 16px;
}

.blue {
    background-color: #000dff;
}

.well {
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
    margin-bottom: 20px;
    min-height: 20px;
    padding: 19px;
}

.well-sm {
    border-radius: 3px;
    padding: 9px;
}

.modalBackground {
    background-color: Gray;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.modalPopup {
    background-color: #ffffff;
    border: 3px solid Gray;
    border-radius: 0px 0px 15px 0px;
    padding: 10px;
    width: 350px;
}

.knappLista .knapp {
    width: 100%;
    display: block;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.choose-role h3 {
    text-align: center;
}

.pwd {
    padding: 2px 5px 2px 5px;
    border-radius: 5px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    box-shadow: 2px 2px 5px 0px #333333;
    -moz-box-shadow: 2px 2px 5px 0px #333333;
    -webkit-box-shadow: 2px 2px 5px 0px #333333;
    font-size: 12px;
    font-family: Verdana;
}

.pwd1 {
    background-color: #FF4646;
}

.pwd2 {
    background-color: #FF8484;
}

.pwd3 {
    background-color: #FFFFC1;
}

.pwd4 {
    background-color: #AEFFBA;
}

.pwd5 {
    background-color: #00ff00;
}

.pwd6 {
    background-color: #00aa00;
}

.aktkort-arrow::before {
    content: url('../bilder/i-lank_svart.gif');
    margin-right: 0.7em;
}

.aktkort-arrow-red::before {
    content: url('../bilder/roed_pil.gif');
    margin-right: 0.7em;
}

.aktkort-arrow-green::before {
    content: url('../bilder/groen_pil.gif');
    margin-right: 0.7em;
}

.chk.chk-label label {
    padding-left: 0.5em;
}

.time-register-partisipants {
    display: grid;
    grid-template-columns: 5fr 2fr 2fr 2fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: 'name num present leader extra remove misc sub';
    padding: 0.7em;
}

    .time-register-partisipants + div {
    }

    .time-register-partisipants .name {
        grid-area: name;
    }

    .time-register-partisipants .num {
        grid-area: num;
    }

    .time-register-partisipants .present {
        grid-area: present;
    }

    .time-register-partisipants .leader {
        grid-area: leader;
    }

    .time-register-partisipants .extra {
        grid-area: extra;
    }

    .time-register-partisipants .remove {
        grid-area: remove;
    }

    .time-register-partisipants .misc {
        grid-area: misc;
    }

    .time-register-partisipants .sub {
        grid-area: sub;
    }



@media print {
    .no-print, .no-print * {
        display: none !important;
    }
}

.sort-by {
    padding-right: 18px;
    position: relative;
}

a.sort-by:before,
a.sort-by:after {
    border: 8px solid transparent;
    content: "";
    display: block;
    height: 0;
    right: 0px;
    top: 50%;
    position: absolute;
    width: 0;
}

a.sort-by:before {
    border-bottom-color: #666;
    margin-top: -18px;
}

a.sort-by.sort-by-asc:before {
    border-bottom-color: #5eacff !important;
}

a.sort-by:after {
    border-top-color: #666;
    margin-top: 1px;
}

a.sort-by.sort-by-desc:after {
    border-top-color: #5eacff !important;
}

.bidrag .infoPlate {
    background-color: #eeeeee;
    border-top: solid 1px black;
    border-bottom: solid 1px black;
}

.bidrag .questions div.even {
    background-color: #cccccc;
}

    .bidrag .questions div.even div {
        border-top: solid 1px black;
    }

.bidrag .clear-right {
    display: inline;
}

    .bidrag .clear-right::after {
        content: '\a';
        white-space: pre;
    }

.bidrag fieldset label {
    margin-left: 0.5rem;
}

/*.bidrag fieldset legend {
    display: none;
}
.bidrag table caption{
    display: none;
}*/
.css-checkbox {
    position:relative;
}

.css-checkbox > label {
    display: inline-block;
    height: 30px;
    width: 30px;
    cursor: pointer;
    font-size: 22px;
    background-image: url(../bilder/chk.png);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.css-checkbox.chk-delete > label {
    background-image: url(../bilder/chk_borttag.png) !important;
}

.css-checkbox.chk-leader > label {
    background-image: url(../bilder/chk_ledare.png) !important;
}

    .css-checkbox input[type=checkbox]:focus ~ label {
        outline: 0 !important;
        border: 2px solid black !important;
        border-radius: 3.5px;
        box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.5) !important;
    }
    .css-checkbox input[type=checkbox]:checked:focus ~ label {
        background-position: -2px -32px;
    }
    .css-checkbox input {
    /*display: none;*/
    opacity: 0;
    position:absolute;
}

    .css-checkbox input[type=checkbox]:checked ~ label {
        background-position: 0 -30px;
    }

.wcag-focus-visible {
    position:absolute;
    margin-left: -2000px;
}

    .wcag-focus-visible:focus {
        margin-left: 0;
    }

.newline-left::before {
    content: "\A";
    display:block;
}
.newline-left {
    display:block;
}
.alternate-divs > div:nth-child(even) {
    background-color: var(--alternate-color)
}

.alternate-color {
    background-color: var(--alternate-color)
}

@media only screen and (max-width: 575px) {
    .time-register-partisipants {
        grid-template-columns: 3fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        grid-template-areas: 'name extra misc sub' 'num leader remove present';
    }

        .time-register-partisipants .present {
            text-align: right !important;
        }
}

/*@media only screen and (max-width: 576px) {
    .top-content .user-icons a {
        color: #000;
        font-size: 1em;
    }

    .top-content .user-info div[class="row"] {
        /*float: none !important;
}*/

/*.top-content .user-text {
        

    }*/

/*.top-content .user-icons {*/
/*display: inline-block;
        white-space:nowrap;*/
/*margin-left:2em;*/
/*}*/

/*.top-content .user-info div {*/
/*display: inline-block;*/
/*}
}*/
