﻿span.Separator {
    color: Gray;
    padding-left: 4px;
    padding-right: 4px;
}

span.ListFilterSeparator {
    color: Gray;
    padding-left: 4px;
    padding-right: 4px;
}

span.SmallWarning {
    color: #E61400;
    font-size: 0.8em;
}

div.Warning {
    color: #E61400;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1em;
}

span.Warning {
    color: #E61400;
    font-size: 1em;
}

div.LargeWarning {
    color: #E61400;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2em;
}

span.LargeWarning {
    color: #E61400;
    font-size: 1.2em;
}

.Rounded {
    padding-top: 2.5em;
    padding-bottom: 2.5em;
    padding-left: 2.5em;
    padding-right: 2.5em;
    border: 2px solid #339933;
    border-radius: 0.6em;
    -moz-border-radius: 0.6em;
    max-width: 700px;
}


/* Form */
div.FormRow {
    clear: both;
    min-height: 2.8em;
}

div.FormCheckboxRow {
    clear: both;
    padding-left: 0px;
    padding-top: 2em;
}

div.FormRow + div.FormCheckboxRow {
    padding-top: 4em;
}

div.FormConfirmRow {
    clear: both;
    padding-top: 2em;
    padding-left: 0px;
}

div.FormResultRow {
    padding-left: 0%;
    clear: both;
}

div.NoValidation div.FormLabel {
    float: left;
    width: 240px;
    padding: 0px;
    padding-right: 30px;
}

div.FormLabel {
    float: left;
    width: 240px;
    padding-right: 30px;
    padding-top: 1.8em;
    line-height: 1em;
}

div.FormLabelIndended {
    float: left;
    width: 240px;
    padding-right: 10px;
    padding-top: 1.8em;
    line-height: 1em;
    margin-left: 20px;
}

div.FormInput {
    float: left;
    width: 240px;
}

div.FormInputBig {
    float: left;
    min-width: 240px;
    width: 400px;
}

    div.FormInputBig textarea {
        margin-top: 4px;
        width: 290px;
        background-color: white;
        border: solid 1px #e0e0e0;
    }

div.FormValidation {
    font-size: 0.8em;
    color: #E51400;
    padding-top: 0px;
    height: 1.8em;
    white-space: nowrap;
    overflow: visible;
}

    div.FormValidation * {
        color: #E51400;
        font-size: inherit;
        white-space: nowrap;
    }

.FormInput .FormInputBox {
    width: 290px;
    height: 34px;
    background-color: white;
    border: solid 1px #e0e0e0;
}

span.FormValidationErrorMessage {
    color: #E51400;
    font-size: 1em;
}

/* Page Menu */
a.MenuLink {
    line-height: 1.8em;
    font-size: 1em;
}

a.MenuSubLink {
    line-height: 1.8em;
    font-size: 0.9em;
    padding-left: 10px;
}

a.DisabledMenuSubLink, a.DisabledMenuSubLink:hover {
    line-height: 1.8em;
    font-size: 0.9em;
    padding-left: 10px;
    color: #A6A6A6 !important;
}

a.DisabledMenuLink, a.DisabledMenuLink:hover {
    line-height: 1.8em;
    font-size: 1em;
    color: #A6A6A6 !important;
}

a.CurrentMenuLink {
    line-height: 1.8em;
    font-size: 1em;
    text-decoration: underline !important;
}

a.CurrentMenuSubLink {
    line-height: 1.8em;
    font-size: 0.9em;
    padding-left: 10px;
    text-decoration: underline !important;
}

/* Dela upp sidan i två kolumner */
div.LeftColumn {
    float: left;
    width: 25%;
    min-width: 200px;
}

div.RightColumn {
    float: left;
    width: 75%;
    min-width: 300px;
}

div.PageTitle {
    min-height: 100px;
    padding-bottom: 20px;
}

span.NewFeatureHeader {
    color: Green;
    font-size: 0.8em;
}

span.AttentionHeader {
    color: Red;
    font-size: 0.8em;
}

.defaultTextActive {
    color: #BABABA !important;
    font-style: italic;
}

table.Clean {
    margin: 0px;
    padding: 0px;
    border: none !important;
    width: 100%;
}

    table.Clean td {
        padding: 0px;
        border: none !important;
    }

        /* Value grid*/

        table.Clean td.col1 {
            width: 25%;
            vertical-align: top;
            padding-top: 10px !important;
            font-weight: 600;
            line-height: 1.4em;
        }

        table.Clean td.col2 {
            width: 25%;
            text-align: left;
            padding-right: 30px !important;
            vertical-align: top;
            padding-top: 10px !important;
        }

        table.Clean td.col3 {
            width: 25%;
            padding-left: 30px !important;
            vertical-align: top;
            padding-top: 10px !important;
            font-weight: 600;
            line-height: 1.4em;
        }

        table.Clean td.col4 {
            text-align: left;
            vertical-align: top;
            padding-top: 10px !important;
        }

.DetailsTable {
    width: 100%;
}

    .DetailsTable > tr > td,
    .DetailsTable > tbody > tr > td {
        padding-right: 20px;
        vertical-align: top;
        padding-top: 5px;
        padding-bottom: 5px;
    }

        .DetailsTable > tr > td:first-child,
        .DetailsTable > tbody > tr > td:first-child {
            min-width: 320px;
            max-width: 320px;
            width: 320px;
            font-weight: bold;
            font-size: 0.9em;
            padding-top: 7px;
        }

/*table.DetailsTable td {
        vertical-align: top;
        padding-right: 40px;
        padding-bottom: 0.2em;
    }

    table.DetailsTable tr td:first-child {
        font-weight: 400;
        font-size: 0.8em;
        text-transform: uppercase;
        min-width: 320px;
        max-width: 320px;
        width: 320px;
        padding-top: 0.3em;
    }

    table.DetailsTable tr td:first-letter {
        text-transform: capitalize;
    }

    table.DetailsTable tr td {
    }

    table.DetailsTable tr:hover td {
        background-color: #DCE5F4;
    }*/

div.PageWarning {
    padding: 20px;
    margin-top: 8px;
    text-align: center;
    margin-bottom: 10px;
    padding: 16px;
    background-color: #E51400;
    border: 1px solid #A20025;
    color: white;
}

    div.PageWarning * {
        color: white;
    }

div.SoftPageWarning {
    padding: 20px;
    margin-top: 8px;
    text-align: center;
    margin-bottom: 10px;
    padding: 16px;
    background-color: #F0A30A;
    border: 1px solid #E3C800;
    color: white;
}

    div.SoftPageWarning * {
        color: white;
    }

span.InvertedWarning, div.InvertedWarning {
    padding: 20px;
    margin-top: 8px;
    text-align: center;
    margin-bottom: 10px;
    padding: 16px;
    background-color: #60A917;
    border: 1px solid #008A00;
    color: white;
}

    div.InvertedWarning * {
        color: white;
    }

/* Questionnaire*/

div.QuestionnaireAnswerPanel input[type="text"].QuestionnaireInput,
div.QuestionnaireAnswerPanel textarea.QuestionnaireInput {
    width: 800px;
}

div.QuestionnaireAnswerPanel input[type="checkbox"] + label {
    padding-right: 30px;
}

div.QuestionnaireAnswerPanel input[type="radio"] + label {
    padding-right: 30px;
}

table.DataTable {
    width: 100%;
    border-bottom: 1px solid #bbb99d;
    border-collapse: collapse;
}

    table.DataTable th {
        text-align: left;
        padding-left: 8px;
        border: none;
        border-bottom: 1px solid #bbb99d;
        font-size: smaller;
        font-weight: normal;
    }

    table.DataTable td {
        text-align: left;
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 4px;
        padding-bottom: 3px;
        border: none;
    }

        table.DataTable td.WithBorder {
            border-left-color: #bbb99d;
            border-right-color: #bbb99d;
            border-left-style: solid;
            border-right-style: solid;
            border-left-width: 1px;
            border-right-width: 1px;
        }

div.PrintOnly {
    display: none;
}

div.ValidationSummary {
    padding-top: 1em;
    clear: both;
    color: red !important;
}

span.ValidationSummaryHeader {
    color: #f00;
    font-weight: bold;
}

div.ValidationSummary ul li {
    list-style: square;
    color: Red !important;
}

.termsModal {
    position: absolute;
    top: 10%;
    left: 50%;
    width: 90vw;
    height: 90vh;
    transform: translate(-50%, -10%);
    background: white;
    z-index: 100;
    background-color: white;
    border: 1px solid black;
}

.termsModalInner {
    position:relative;
    width: 100%;
    height: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0,0,0,0.5); /*dim the background*/
}

.textBoxHolder {
    height: 85%;
    overflow-y: scroll;
    outline-width: 0;
    margin-top: 1em;
    padding-left: 2em;
}

.close {
    right: 0px;
    position: fixed;
    margin-right: 1em;
    padding: 1em;
    opacity: 0.4;
    color: lightblue;
    font-weight: 900;
    cursor: pointer;
}

    .close:hover {
        opacity: 1;
    }

.acceptButton {
    text-align: center;
    padding: 1em;
    bottom: 1em;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

input[type="submit"]:disabled {
    opacity: 0.4;
    cursor: auto;
}
