@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    height: 100%;
}

tr.audit-header-row {
    background-color: #DDDDDD;
}

tr.audit-insert {
    background-color: #DDFFDD;
}

tr.audit-delete {
    background-color: #FFDDDD;
}

tr.audit-update {
    background-color: #DDDDFF;
}

span.audit-val-old-changed {
    background-color: #FFDDDD;
    font-style: italic;
}

span.audit-val-new-changed {
    background-color: #DDFFDD;
    font-weight: bold;
}

span.incident_from_name {
    background-color: #E8E8E8;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #D0D0D0;
    border-right-width: 1px;
    border-right-color: #D0D0D0;
    border-right-style: solid;
}

.logview-line-odd, .logview-line-even {
    font-family: monospace;
    margin-top: 4px;
    margin-bottom: 0px;
    text-indent: -4em;
    padding-left: 4em;
}

.logview-line-odd, .logview-explanation-odd {
    background-color: #FFFFFF;
}

.logview-line-even, .logview-explanation-even {
    background-color: #EEEEEE;
}

.logview-explanation-even, .logview-explanation-odd {
    display: none;
    margin-top: 0px;
    margin-bottom: 0px;
}

.logview-explanation-list {
    position: relative;
    left: 48px;
    top: -16px;
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
    margin-right: 64px;
}
.logview-explained-time {
    color: #000088;
}

.archive_query {
    margin-left: 10px;
    margin-right: 10px;
    background-color: #EEEEFF;
}

.archive_q_data {
    color: #330000;
    background-color: #FFFFEE;
}

.archive_q_expr_logop {
    font-weight: bold;
    font-style: italic;
}

.archive_selected_folder {
    padding: 2px;
    border-style: outset;
    border-color: #e7e7e7;
    border-width: 2px;
    background-color: #F0F0FF;
}

div.message-body-preview {
    font-family: monospace;
    white-space: pre;
}

.regex1 {
    background-color: #80FFFF;
    color: #600000;
    margin-left: 1px;
    margin-right: 1px;
}
.regex2 {
    background-color: #FFFF80;
    color: #006000;
    margin-left: 1px;
    margin-right: 1px;
}
.msg-mime-headers {
    background-color: #E0E0E0;
}

.smtp-server-indicator, .smtp-server-logline {
    background-color: #FFDDDD;
}

.smtp-client-indicator, .smtp-client-logline {
    background-color: #DDDDFF;
}

.smtp-error-indicator, .smtp-error-logline {
    background-color: #FFFFC0;
    font-weight: bold;
}

.login-wrapper {
    width: 100%;
    margin: auto;
    height: 100vh;
}

.image-wrapper {
    background-color: #0082c9;
    background-image: url('login_image.png');
    width: 40%;
    height: 100%;
    background-size: contain;
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    background-position: center center;
}

.image-wrapper img {
    justify-self: flex-end;
}

.image-wrapper .btn {
    border: 2px solid;
    border-radius: 20rem;
    padding: 10px 20px;
    font-weight: bold;
    margin-top: 10px;
    display: inline-block;
}

.form-signin {
    width: 60%;
    padding: 15px;
    margin: auto;
}

.form-signin .form-wrapper {
    width: 400px;
    max-width: 400px;
}

.form-signin #logo {
    width: 200px;
    margin-bottom: 30px;
}

.form-signin .alert span {
    font-size: 0.8rem;
}

.user_field {
    margin-bottom: -1px;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.password_field {
    border-radius: 0px !important;
    margin-bottom: -1px;
}

.language_field {
    border-top-right-radius: 0 !important;
    border-top-left-radius: 0 !important;
}

.form-signin input, .form-signin select {
    outline: none !important;
    box-shadow: none !important;
    font-size: 0.85rem;    
}

.form-signin .checkbox label {
    color: #6f7380;
    line-height: 1.6;
    position: relative;
}

.form-signin .checkbox input {
    margin-right: 5px;
}

.form-signin input[type="submit"] {
    border-width: 1px;
    font-weight: 600;
    -webkit-box-shadow: 0 2px 1px rgb(111 115 128 / 30%);
    box-shadow: 0 2px 1px rgb(111 115 128 / 30%);
    -webkit-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
    outline: 0;
    padding: 0.75rem 1.25rem;
    font-size: 1.15rem;
    border-radius: 2rem;
    margin-top: 50px !important;
}

.btn-secondary {
    background-color: #0082c9 !important;
    border: none !important;
}

.forgot-password {
    color: #0082c9;
    width: 100%;
    display: flex;
    justify-content: center;
    text-decoration: none;
    margin-top: 10px;
}

.forgot-password:hover {
    color: #00314b;
    text-decoration: none;    
}

@media (max-width: 768px) {
    body {
        background-color: #0082c9 !important;
    }

    .image-wrapper {
        display: none !important;
    }

    .form-signin {
        width: 100%;
        padding: 15px 20px;
    }

    .form-signin .form-wrapper {
        width: 100% !important;
    }

    .form-signin .checkbox label {
        color: #fff !important;
    }

    .btn-secondary {
        background: transparent !important;
        border: 1px solid #fff !important;
    }

    .forgot-password {
        color: #fff !important;
    }
}