﻿

html {
    height: 100%;
    margin: 0px;
    padding: 0px;
}

body {
    height: 100%;
    margin: 0;
}

form {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.login-page {
    background-color: #f4f6f9;
}

.login-box, .register-box {
    width: 360px;
    margin: 7% auto;
}

.login-logo, .register-logo {
    font-size: 35px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 300;
}

    .login-logo a, .register-logo a {
        color: #444;
    }

.login-box-body, .register-box-body {
    background: #fff;
    padding: 20px;
    border-top: 0;
    color: #666;
    /*box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);*/
    box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px;
}

.login-box-msg, .register-box-msg {
    margin: 0;
    text-align: center;
    padding: 0 20px 20px 20px;
}

.form-horizontal .form-group {
    margin-right: 5px;
    margin-left: 5px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-horizontal .form-group:before {
    display: table;
    content: " ";
}

.form-horizontal .form-control {
    color: #343a40 !important;
}

.form-control {
    height: 32px;
    border-radius: 0 !important;
    box-shadow: none;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff !important;
    background-image: none;
    border: 1px solid #9da3a6;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
}

.form-horizontal .has-feedback .form-control-feedback {
    right: 15px;
}

.form-control-feedback.fa {
    line-height: 45px;
}

.login-box-body .form-control-feedback, .register-box-body .form-control-feedback {
    color: #777;
}

.form-control-feedback {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
}

.has-feedback {
    position: relative;
}

.input-validation-error {
    border-color: red !important;
    background-size: 20px;
    background-repeat: no-repeat;
    padding-right: 25px !important;
    background-position: right .6em top 50%;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.checkbox label, .radio label {
    min-height: 20px;
    padding-left: 7px;
    margin-bottom: 0;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

.checkbox, .radio {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.btn.btn-flat {
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-width: 1px;
}

p {
    font-size: 14px;
}

.btn--primary {
    background-color: #04449e;
    border: 1px solid #04449e;
    color: #fff;
}

    .btn--primary:hover {
        color: #fff;
        background-color: #0052cc;
        border-color: #0052cc;
    }


textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
    box-shadow: none;
    outline: 0 none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

.login-logo a:hover {
    text-decoration: none !important;
}


.btn-help {
    border: 1px solid #dfdfdf;
    background: #fff;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 2px 10px;
    margin: 0;
    color: #1a73e8;
    font-size: 12px;
    font-weight: 500;
}
.btn-help:hover {
    background: #e8f0fe;
    text-decoration: none;
}

b, strong {
    font-weight: 600;
}

.login-box-footer {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    width: 360px;
    text-align: center;
    -webkit-box-align: center;
    align-items: center;
    color: rgb(107, 119, 140);
    margin: 25px auto 24px;
    border-radius: 3px;
}

    .login-box-footer ul > li + li::before {
        content: "•";
        margin: 0px 5px;
    }

@media (max-width: 768px) {
    .login-box, .register-box {
        width: 90%;
        margin-top: 20px;
    }
}

.c-field {
    position: relative;
}

    .c-field .form-control {
        z-index: 2;
        width: 100%;
        height: 45px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 2px !important;
        padding-top: 20px !important;
        background-color: #fff;
        text-indent: 10px;
        -webkit-box-shadow: inset 0 1px 2px 0 rgb(0 0 0 / 15%);
        box-shadow: inset 0 1px 2px 0 rgb(0 0 0 / 15%);
    }


.c-field__label {
    position: absolute;
    top: 50%;
    left: 10px;
    margin: 0;
    color: #104775;
    opacity: .75;
    font-size: 0.9rem;
    font-weight: normal;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transition: all 150ms ease-in;
    -o-transition: all 150ms ease-in;
    transition: all 150ms ease-in;
    pointer-events: none;
}

.c-field .form-control:not(:placeholder-shown) + .c-field__label {
    opacity: 1;
    -webkit-transform: translate(0, -90%) scale(.85);
    -ms-transform: translate(0, -90%) scale(.85);
    transform: translate(0, -90%) scale(.85);
}

.c-field .form-control:not(:placeholder-shown) ~ .c-field__label {
    opacity: 1;
    color: #3498db;
    -webkit-transform: translate(0,-90%) scale(.85);
    -ms-transform: translate(0,-90%) scale(.85);
    transform: translate(0,-90%) scale(.85)
}

input:-webkit-autofill ~ .c-field__label {
    transform: translate(0,-150%) scale(.85);
    opacity: 1;
    color: #3498db
}


.c-field .form-control:focus {
    outline: none !important;
    border: solid 2px #3498db;
    -webkit-box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.25)
}

.c-field__label.placeholder-min {
    opacity: 1;
    -webkit-transform: translate(0, -90%) scale(.85);
    -ms-transform: translate(0, -90%) scale(.85);
    transform: translate(0, -90%) scale(.85)
}

.c-field .form-control:focus + .c-field__label {
    color: #3498db;
    -webkit-transform: translate(0, -90%) scale(.85);
    -ms-transform: translate(0, -90%) scale(.85);
    transform: translate(0, -90%) scale(.85);
    -webkit-transition: all 150ms ease-in;
    -o-transition: all 150ms ease-in;
    transition: all 150ms ease-in
}


.c-field select {
    text-indent: 5px !important;
}

    .c-field select .c-field__label {
        left: 5px !important;
    }

.c-field.text-area .c-field__label {
    top: 15% !important;
}