﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body, app {
    height: 100%;
    padding: 0;
    margin: 0;
}

.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;
}

body {
    font-family: Helvetica, Arial
}

.folders {
    background-color: #ddd;
    list-style-type: none;
    padding: 0.5rem;
    margin: 0;
    font-size: 0px;
    min-height: 100%;
}

    .folders li:hover {
        background-color: #ccc;
    }

    .folders li {
        font-size: 16px;
        font-weight: bold;
        padding: 0.5em 1.5em;
        cursor: pointer;
        color: #444;
        text-shadow: #f7f7f7 0 1px 1px;
        border-radius: 4px;
    }

.mails {
    width: 100%;
    table-layout: fixed;
    border-spacing: 0;
    position: relative;
    border-collapse: collapse;
}

    .mails thead {
        font-weight: bold;
        color: #444;
        text-shadow: #f7f7f7 0 1px 1px;
    }

    .mails tbody tr:hover {
        cursor: pointer;
        background-color: #68c !important;
        color: White;
    }

    .mails th, .mails td {
        text-align: left;
        padding: 0.4em 0.3em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mails th {
        padding: 0.4em 0 0.3em 0.7em;
        position: sticky;
        top: 0;
        background-color: #bbb;
    }

        .mails th:nth-child(1), .mails td:nth-child(1) {
            width: 20%;
        }

        .mails th:nth-child(2), .mails td:nth-child(2) {
            width: 15%;
        }

        .mails th:nth-child(3), .mails td:nth-child(3) {
            width: 45%;
        }

        .mails th:nth-child(4), .mails td:nth-child(4) {
            width: 15%;
        }

        .mails th:last-child {
            border-right: none
        }

    .mails tr:nth-child(even) {
        background-color: #EEE;
    }

.viewMail .mailInfo {
    background-color: #dae0e8;
    padding: 1em 1em 0.5em 1.25em;
    border-radius: 1em;
}

    .viewMail .mailInfo h1 {
        margin-top: 0.2em;
        font-size: 130%;
    }

    .viewMail .mailInfo label {
        color: #777;
        font-weight: bold;
        min-width: 2.75em;
        text-align: right;
        display: inline-block;
    }

.viewMail .message {
    margin-top: 1rem;
}

.viewMail {
    padding: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}