﻿html {
    height: 100%;
    /* stretch background gradient */
}

body {
    background-color: #e5e5e5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: larger;
    color: #000000;
}

.company-body-WswNetz {
    background-color: #3794C8;
    background: -webkit-linear-gradient(top left, #FFFFFF, #3794C8);
    background: -moz-linear-gradient(top left, #FFFFFF, #3794C8);
    background: linear-gradient(to bottom right, #FFFFFF, #3794C8);
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.company-body-WswEuW,
.company-body-WAW {
    font-family: 'Source Sans Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #0b1b2e;
}

.logo {
    width: 240px;
    padding-bottom: 0.6em;
}

.company-body-WswEuW * .logo,
.company-body-WAW * .logo {
    width: 140px;
}

.startpage-logo {
    padding: 1.6em;
    width: 180px;
}

h1 {
    font-size: 15pt;
}

    h1.zp {
        text-transform: uppercase;
        font-size: 12pt;
    }

h2 {
    font-size: 14pt;
}

.vertical-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-right: 2em;
}

.main {
    text-align: center;
}

.main-container {
    text-align: left;
    background-color: white;
    padding: 2.5em;
    padding-bottom: 1.2em;
    width: 50%;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 480px) {
    .main-container {
        width: 100%;
    }

    body {
        background: white;
    }

    .logo {
        width: 140px;
    }
}

.footer-placeholder {
    height: 0rem;
    min-height: 0rem;
    visibility: hidden;
}

.footer {
    padding: 2em;
    color: #000000;
    text-align: center;
}

.footer-WswNetz {
    color: #FFFFFF !important;
}

.footer .spacer {
    padding-left: 0.4em;
    padding-right: 0.4em;
}

    .footer .spacer::before {
        content: "|";
        white-space: pre;
    }

.footer a {
    color: #000000;
    font-size: 13pt;
    font-weight: normal;
    text-decoration: none;
}

.footer-WswNetz a {
    color: #FFFFFF !important;
}

@media (max-width: 480px) {
    .footer {
        width: 100%;
        padding: 0em;
        padding-top: 1em;
        padding-bottom: 1em;
        background-color: #000000;
        text-align: center;
        position: fixed;
        left: 0px;
        bottom: 0px;
    }

        .footer a {
            color: #FFFFFF !important;
        }

    .footer-placeholder {
        height: 7rem;
        min-height: 7rem;
        visibility: visible;
    }

    .footer .spacer {
        padding: 0em;
    }

        .footer .spacer::before {
            content: "\A";
            white-space: pre;
        }
}

.meter-image-layer {
    background-color: rgba(255,255,255,0.5);
    width: 100%;
    height: 100%;
    position: fixed;
    bottom: 0em;
    left: 0em;
}

.meter-image-container {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.meter-image {
    position: fixed;
    top: 0%;
    left: 0%;
    right: 0%;
    max-height: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 30px;
}

.blur {
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='3');
    -webkit-filter: url(#blur-filter);
    filter: url(#blur-filter);
    -webkit-filter: blur(3px);
    filter: blur(3px);
}


.message {
    background-color: rgb(16, 126, 188);
    opacity: 0.95;
    padding: 1em;
    position: fixed;
    bottom: 40%;
    left: 30%;
    right: 30%;
    min-height: 5.5em;
}

@media (max-width: 1200px) {
    .message {
        left: 5%;
        right: 5%;
        bottom: 20%;
    }
}

.message-overlay {
    background-color: white;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    bottom: 0em;
    left: 0em;
}

.message .msg-close {
    cursor: pointer;
    width: 5em;
    position: absolute;
    top: 0em;
    right: 0em;
    z-index: -1;
    background: transparent;
}

.message .message-text,
.message .message-text a {
    color: white;
    font-size: 14pt;
    font-weight: bold;
    width: 90%;
}

@media (max-width: 480px) {
    .message .message-text {
        width: 70%;
    }
}

.flex-container {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
}

.grid-cell {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    width: 15em;
}

    .grid-cell input {
        width: 80%;
    }

        .grid-cell button,
        .grid-cell input[type=button] {
            width: 97%;
        }

@media (max-width: 610px) {
    .grid-cell button,
    .grid-cell input[type=button] {
        width: 90%;
    }
}

.grid-1 input {
    padding-right: 0.2em !important;
    min-width: 4em;
}

.combined-input {
    padding-right: 0em !important;
}

.flex-break {
    flex-basis: 100% !important;
    height: 0 !important;
}

.single-row {
    height: auto;
    box-sizing: border-box;
    width: 100%;
}

@media (max-width: 1190px) {
    .single-row {
        padding-bottom: 1em;
    }
}

.col {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    /*
    width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    */
}

.col-header {
    padding-bottom: 0.5em;
    margin: 0.4em;
    font-weight: bold;
}

.w10 {
    width: 10%;
}

.w12 {
    width: 12%;
}

.w20 {
    width: 20%;
}

.w25 {
    width: 25%;
}

.w28 {
    width: 28%;
}

.w30 {
    width: 30%;
}

.w33 {
    width: 33%;
}

.w50 {
    width: 50%;
}

.w75 {
    width: 75%;
}

.w80 {
    width: 80%;
}

.w90 {
    width: 90%;
}

.w100 {
    width: 100%;
}

.w120 {
    width: 120%;
}

.left {
    text-align: left;
    justify-content: flex-start;
}

.right {
    text-align: right;
    justify-content: flex-end;
}

.center {
    text-align: center;
    justify-content: space-around;
    align-content: space-around;
    margin-left: auto;
    margin-right: auto;
}

.underline {
    text-decoration: underline !important;
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}

.pl0-4 {
    padding-left: 0.4em;
}

.pt0-4 {
    padding-top: 0.4em;
}

.pt1 {
    padding-top: 1em;
}

.pt2 {
    padding-top: 2em;
}

hr {
    color: black;
    width: 98%;
    height: 0px;
    border-style: solid;
    border-width: 1px;
    border-color: black;
}

.highlight-text {
    color: rgb(4,120,185);
}

.company-body-WswEuW * .highlight-text,
.company-body-WAW * .highlight-text {
    color: #6996dc;
}



button,
input {
    min-width: 8em;
    padding: 0.9em;
    margin: 0.4em;
    font-size: 14pt;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    input[type=text],
    input[type=email] {
        padding: 1em;
        border-style: none;
        background-color: rgb(240, 240, 240);
    }

        input[type=text].readonly,
        input[type=email].readonly {
            padding: 1em;
            border-style: none;
            background-color: rgb(240, 240, 240);
            color: rgb(4,120,185);
            cursor: default;
        }

.company-body-WswEuW * input[type=text].readonly,
.company-body-WswEuW * input[type=email].readonly,
.company-body-WAW * input[type=text].readonly,
.company-body-WAW * input[type=email].readonly {
    background-color: #ecedee;
    color: #6996dc;
}

input[type=text]:focus.readonly,
input[type=email]:focus.readonly {
    border-style: none;
}

button,
input[type=button] {
    border-style: solid;
    background-color: white;
    cursor: pointer;
}

    button,
    input[type=button]:hover {
        background-color: rgb(240, 240, 240);
    }

    button.dominant,
    input[type=button].dominant,
    input[type=submit].dominant {
        border-style: none;
        background-color: rgb(4,120,185);
        color: white;
        font-weight: bold;
    }

.company-body-WswEuW * button.dominant,
.company-body-WswEuW * input[type=button].dominant,
.company-body-WswEuW * input[type=submit].dominant,
.company-body-WAW * button.dominant,
.company-body-WAW * input[type=button].dominant,
.company-body-WAW * input[type=submit].dominant {
    background-color: #265a9b;
}

button.dominant:hover,
input[type=button].dominant:hover,
input[type=button].submit:hover {
    background-color: #3794C8;
}

.company-body-WswEuW * button.dominant:hover,
.company-body-WswEuW * input[type=button].dominant:hover,
.company-body-WswEuW * input[type=button].submit:hover,
.company-body-WAW * button.dominant:hover,
.company-body-WAW * input[type=button].dominant:hover,
.company-body-WAW * input[type=button].submit:hover {
    background-color: #366aab;
}

button,
input[type=submit] {
    border-style: solid;
    cursor: pointer;
}



.button-wide {
    min-width: 14.5em;
}

.file-upload-grid-cell {
    flex-grow: unset;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload .custom-file-upload {
    height: 1.15rem;
    margin: 0.4em;
    display: inline-block;
    background-color: rgb(240, 240, 240);
    border: 1px solid rgb(240, 240, 240);
    padding: 1em;
    cursor: pointer;
    margin-left: -0.5em;
}

.file-upload img {
    margin-top: -0.4em;
}

.pointer {
    cursor: pointer;
}

.underline {
    text-decoration: underline;
}

.icon {
    height: 1.6em;
}

.icon-text {
    font-size: 12pt;
    padding-left: 1em;
}

.smaller-text {
    font-size: 9pt;
}

.small-text {
    font-size: 11pt;
}

.large {
    font-size: 16pt;
    font-weight: bold;
}

.black-text-color {
    color: black !important;
}

.red-text-color {
    color: red !important;
}

.disabled {
    opacity: 0.4;
}

.hidden {
    visibility: hidden;
}

form .left-adjustment {
    padding-left: 0.4em;
}

.validation-message {
    color: red;
    font-weight: bold;
}

.last-meter-value {
    font-size: 12pt;
    font-weight: bold;
    padding-bottom: 1.2em;
}

.format-hint {
    font-size: 10pt;
    font-weight: normal;
    font-style: italic;
}

.oversize-col-header {
    overflow: visible;
    position: relative;
    bottom: 1.45em;
    left: 3em;
    /*right: -5em;*/
    padding-left: 0.8em;
    width: 10em;
}

.oversize-col {
    overflow: visible !important;
    display: grid !important;
}

.margin-left {
    margin: 0.4em;
}

.checkbox-label {
    cursor: pointer;
}

.checkbox-round-col {
    width: 3em;
    padding-right: 0.8em;
}

.checkbox-round {
    width: 1em;
    min-width: 1em;
    max-width: 1em;
    height: 1em;
    min-height: 1em;
    max-height: 1em;
    background-color: white;
    border-radius: 50%;
    vertical-align: middle;
    border: 2px solid #000;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
}

    .checkbox-round:checked {
        background-color: rgb(4,120,185);
    }

.company-body-WswEuW * checkbox-round:checked,
.company-body-WAW * checkbox-round:checked {
    background-color: #265a9b;
}

.col-header {
    visibility: hidden;
    display: none;
}

.mobile-col-header {
    visibility: visible;
    display: block;
    height: 1em;
    max-height: 1em;
    overflow: hidden;
    font-weight: bold;
}

.first-row {
    visibility: visible;
    display: block;
}

.k-maskedtextbox > input {
    width: unset !important;
}

.k-maskedtextbox {
    width: 100%;
}

.meter-reading-mandatory {
    /* todo */
    /*background-color: greenyellow !important;*/
}

.meter-reading-optional {
    /* todo */
    /*background-color: darkred !important;*/
}

.black,
.black * {
    color: black !important;
}

/* mobile */
@media (max-width: 1000px) {
    .col-header {
        visibility: hidden;
        display: none;
    }

    .mobile-col-header {
        visibility: visible;
        display: block;
    }

    body {
        font-size: small;
    }

    h1 {
        font-size: 13pt;
    }

        h1.zp {
            text-transform: uppercase;
            font-size: 11pt;
        }

    h2 {
        font-size: 12pt;
    }

    .col-header {
        font-size: 10pt;
    }

    .message .message-text,
    .message .message-text a {
        font-size: 10pt;
    }

    button,
    input {
        font-size: 10pt;
    }

    .file-upload .custom-file-upload {
        height: 0.9rem;
    }

    .icon-text {
        font-size: 10pt;
    }

    .smaller-text {
        font-size: 9pt;
    }

    .small-text {
        font-size: 10pt;
    }

    .large {
        font-size: 12pt;
    }

    .footer a {
        font-size: 11pt;
    }

    .format-hint {
        font-size: 8pt;
    }
}
