﻿html, body {
    font-family: "Roboto", sans-serif;
    /*font-family: "Verdana", sans-serif;*/
    /*font-size: 14px;*/
    font-size: 18px;
    background-color: #F8F8F8;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.clickable:hover {
    background-color: rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.blazored-modal-header {
    margin-bottom: 0;
    padding-bottom: 0;
}

.transparent-button-border {
    border: 1px solid;
    border-radius: 6px;
    padding: 5px;
    margin-left: 20px;
}

/*  ----------------------------------------------------------    Enkäter  ------------------------ */
.enkatfalt {
    margin-top: 10px;
    margin-bottom: 10px;
}

.enkatfalt-vertikal {
    /*background-color: antiquewhite;*/
}

.enkatfalt-horisontel {
    /*background-color: aqua;*/
}

.enkatcol-rubrik {
    margin-top: 20px;
    margin-bottom: 13px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.enkatcol-info-bold {
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

.enkatcol-info-italic {
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
    font-style: italic;
}

.enkatcol-ledtext {
    padding-top: 3px;
    padding-right: 10px;
}

.enkatfalt-horisontel {
}

.enkatcol-ledtext {
}

.enkatcol-help {
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
}

.enkatcol-varde {
    padding-top: 3px;
}

.enkatformat {
    display: block;
    font-size: 12px;
}

.obligatorisk:after {
    content: " *";
    color: red;
    white-space: nowrap;
}

.width-100 {
    width: 100%;
}

/*MUDBLAZOR*/
.mud-paper {
    background: #F8F8F8;
}

.mud-input {
    background: white;
}

.mud-button {
    text-transform: none;
    width: max-content;
}

.mud-checkbox > .mud-icon-button {
    margin-left: -10px;
    place-self: start;
    padding: 8px;
}

.mud-radio > .mud-icon-button {
    padding: 8px;
    align-self: self-start;
}

.mud-radio-group {
    margin-right: 14px;
}


.mud-grid-spacing-xs-3 > .mud-grid-item {
    padding: 2px;
    margin-left: 0px !important;
    width: 3rem;
}

.mud-alert-position {
    align-items: center;
}

.alertFelText {
    margin-top: 5px;
    width: fit-content;
}

.mudCardFlexRow {
    display: flex;
    flex-direction: row;
}

.mudCardFlexColumn {
    display: flex;
    flex-direction: column;
}

.mudInputField {
    width: 200px;
    min-width: 100px;
}

.mudInputFieldLarge {
    width: 400px;
    min-width: 100px;
}

.inputMinMax {
    padding: 4px;
    width: auto;
    font-size: 12px;
}

.center {
    display: flex;
    justify-content: center;
    text-align: center;
}

.rubrik {
    border-bottom: solid;
    font-size: 24px;
    text-align: center;
    margin-bottom: 2rem;
}

.underRubrik {
    font-size: 16px;
    margin-bottom: 1rem;
}

.fontItalic {
    font-style: italic;
}

.fontBold {
    font-weight: bold;
}

.capitalize {
    text-transform: capitalize;
}

.margin {
    margin-bottom: 1rem;
}

@media screen and (max-width: 720px) {
    .margin {
        margin: 0;
    }

    .mud-container {
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 540px) {
    .mud-typography-body1, .mudCardFlexRow, .mudText {
        display: block;
    }

    .mudInputField, .mudInputFieldLarge, .mud-grid-item > .mud-paper {
        width: 100%;
    }

    .alertFelText {
        padding-top: 0px;
        padding-bottom: 0px;
        font-size: 16px;
    }

    .margin {
        margin: 0;
        margin-bottom: 1.5rem;
    }

    .rubrik {
        font-size: 24px;
        margin-bottom: 2rem;
    }

    .mud-container {
        margin-top: 1rem;
    }

    .mud-icon-size-medium {
        font-size: 25px;
    }

    .mud-grid-spacing-xs-3 > .mud-grid-item {
        padding: 0px;
    }

    .mud-input-numeric-spin {
        display: none !important;
    }

    .mud-popover-anchor-top-left {
        top: 30% !important;
    }
}
