﻿* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    background-image: url('/custom/resources/background.png');
    background-size: cover;
    font: 12px/1.3 Arial, Helvetica, sans-serif;
}

::-moz-selection, ::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

a, b, span {
    display: inline-block;
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
}

.login-form {
    width: 320px;
    margin: 40px;
    padding: 20px 20px 0 20px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;
    border: thin solid #e0e0e0;
    border-radius: 6px;
    background-color: #ffffff99;
    backdrop-filter: blur(4px);
}

@media screen and (max-width:330px) {
    .login-form {
        min-width: unset;
        width: calc(100vw - 10px);
    }
}

.login-form .message {
    margin: 20px 0;
    padding: 13px 15px;
}

.login-form-body {
    padding-top: 20px;
}

.login-form-ftr {
    margin: 0px -20px 0;
    padding: 11px;
    border-radius: 0 0 6px 6px;
    text-align: center;
    //background-color: #ededed;
}

.login-form .logo {
    display: block;
    margin: 0 auto 0 10px;
    max-width: 100%;
}

.login-form .logo > img {
    max-width: 100%;
}

.password-link {
    float: right;
}

.form-input {
    margin: 0;
    outline: 0;
    -webkit-appearance: none;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, .75);
    border: 1px solid #d3d3d3;
    border-radius: 4px;
    box-shadow: 0 0 0 0 transparent inset;
    transition: color .3s ease, border-color .3s ease;
}

.form-input:focus {
    border: 1px solid #2185d0;
    background-color: rgba(255, 255, 150, 0.6);
}

.form-field {
    margin-bottom: 10px;
}

.form-field label {
    display: block;
    margin-bottom: 3px;
    font-weight: bold;
    color: #444;
}

.form-field .form-input {
    width: 100%;
}

.form-btns {
    text-align: right;
}

.social-btns {
}

.social-btns .divider {
    display: flex;
    justify-content: center;
    margin: 1em 0;
    position: relative;
}

.social-btns .divider::before {
    content: " ";
    height: 1px;
    position: absolute;
    left: 0;
    top: 50%;
    background: #aaa;
    width: 100%;
}

.social-btns .divider span {
    /*
        border: 1px solid #aaa;
        border-radius: 50%;
    */
    width: 2em;
    height: 2em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #fdfdfd;
    z-index: 1;
    color: #444;
    border-radius: 50%;
    border: 1px solid #aaa;
}

.social-btns .icon {
    margin-right: 3px;
}

.input-validation-error {
    background: rgba(70, 153, 200, 0);
    border-color: #d24a43;
    color: red;
    text-shadow: 0px 0px 8px white;
}

.input-validation-error:focus {
    border-color: #d24a43;
}

.field-validation-error {
    margin: 5px 0;
    padding: 4px 2px;
    color: red;
    text-shadow: 0px 0px 8px white;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 50px rgba(255, 255, 150, 0.6) inset;
    /*-webkit-text-fill-color: #dcdcdc;*/
}

.message {
    margin: 25px 10px;
    max-width: 960px;
    padding: 20px;
    background-color: rgba(255, 255, 255, .9);
    border: 1px solid #777;
    border-radius: 4px;
}

.message.message--success {
    color: #108512;
    background-color: rgba(252, 255, 245, 0.95);
    border-color: #a3c293;
}

.message.message--danger {
    color: #9f3a38;
    background-color: #fff6f6;
    border-color: #e0b4b4;
}

.message.message--warning {
    color: #b58105;
    background-color: #fff8db;
    border-color: #e8c166;
}

.message.message--info {
    color: #276f86;
    background-color: #f8ffff;
    border-color: #78b4c7;
}

.message.registered-need-confirmation > h2 {
    margin-top: 0;
}

.message.registered-need-confirmation > p {
    margin-top: 1em;
}

.message-heading {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1;
}

.message p {
    margin: 0;
}

.message a {
    color: inherit;
}

.message-list {
    margin: 0;
    padding-left: 15px;
}

.login-link, .message a.login-link {
    color: #2185d0;
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}

footer {
    width: 100%;
    padding: 4px;
    background: white;
    text-align: center;
}

.icon {
    width: 24px;
    height: 24px;
    font-size: 0;
    border: none;
}

.social-btns .button {
    position: relative;
    color: white;
    margin-bottom: 5px;
    cursor: pointer;
}

.social-btns .button:active, .social-btns .button:focus {
    color: white;
}

.social-btns .button:hover {
    color: white;
    opacity: .8;
}

.social-btns .button::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 3em;
    height: calc(100% - 4px);
    background: white;
    content: " ";
    margin: 2px;
    border-radius: 2px;
    background-repeat: no-repeat;
    background-position: .5em 50%;
}

.button.twitter {
    background-color: rgb(0, 156, 231) !important;
}

.button.twitter::before {
    background-image: url('/res/social/Twitter.png') !important;
}

.button.facebook::before {
    background-image: url('/res/social/Facebook.png') !important;
}

.button.facebook {
    background-color: #4267b2 !important;
}

.button.google::before {
    background-image: url('/res/social/Google.png') !important;
}

.button.google {
    background-color: rgb(64, 129, 236) !important;
}

.button.linkedin::before {
    background-image: url('/res/social/LinkedIn.png') !important;
}

.button.linkedin {
    background-color: rgb(0, 118, 176) !important;
}

.icon.logo {
    text-align: center;
}

.button {
    width: 100%;
    cursor: pointer;
    display: inline-flex;
    flex-flow: row nowrap;
    justify-content: center;
    margin: 0;
    padding: 14px 18px;
    min-height: 1em;
    outline: none;
    border: none;
    vertical-align: baseline;
    background: #e0e1e2 none;
    color: rgba(0, 0, 0, 0.6);
    font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-weight: bold;
    line-height: 1em;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0px 0px 0px 1px transparent inset, 0px 0em 0px 0px rgba(34, 36, 38, 0.15) inset;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: opacity 0.1s ease, background-color 0.1s ease, color 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
    transition: opacity 0.1s ease, background-color 0.1s ease, color 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
    will-change: '';
    -webkit-tap-highlight-color: transparent;
}

.button:hover {
    background-color: #cacbcd;
    background-image: none;
    box-shadow: 0px 0px 0px 1px transparent inset, 0px 0em 0px 0px rgba(34, 36, 38, 0.15) inset;
    color: rgba(0, 0, 0, 0.8);
}

.button:focus {
    background-color: #cacbcd;
    color: rgba(0, 0, 0, 0.8);
    background-image: '' !important;
    box-shadow: '' !important;
}

.button:active {
    background-color: #babbbc;
    background-image: '';
    color: rgba(0, 0, 0, 0.9);
    box-shadow: 0px 0px 0px 1px transparent inset, none;
}

.button:disabled,
.disabled.button,
.disabled.button:hover {
    cursor: default;
    opacity: 0.45 !important;
    background-image: none !important;
    box-shadow: none !important;
    pointer-events: none;
}

.button.button--link {
    background-color: transparent;
    color: #000;
    font-style: italic;
}

.button.button--link:hover {
    text-decoration: underline;
}

.button.button--primary {
    background-color: #2185d0;
    color: #fff;
    background-image: none;
}

.button.button--primary {
    box-shadow: 0 0 0 0 rgba(34,36,38,.15) inset;
}

.button.button--primary:hover {
    background-color: #1678c2;
    color: #fff;
}

.button.button--primary:focus {
    background-color: #0d71bb;
    color: #fff;
}

.button.button--primary:active {
    background-color: #1a69a4;
    color: #fff;
}

.inline-block {
    display: inline-block;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1;
}

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
