@import 'normalize.css';

* {
    box-sizing: border-box;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    background: #220000 url(../assets/background.jpg) no-repeat center top fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    font-family: helvetica, arial, sans-serif;
    font-weight: 300;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blur {
    position: relative;
    background-color: white;
}

.blur::before {
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    display: block;
    position: absolute;
    content: ' ';
    -webkit-filter: url('#blur');
    filter: url('#blur');
    -webkit-filter: blur(12px);
    filter: blur(12px);
    background-size: cover;
    background: #220000 url(../assets/background.jpg) no-repeat center top fixed;
    opacity: 0.45;
    margin-left: -1em;
    margin-top: -1em;
}

.login-form {
    color: white;
    position: relative;
    width: 400px;
    max-width: calc(100% - 1.4em);
    height: auto;
    border-radius: 5px;
    mix-blend-mode: normal;
    isolation: isolate;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

.login-form .login-form-child {
    z-index: -1;
    position: relative;
    padding: 1em;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 0 50px 5px rgba(0, 0, 0, 0.3), 0 0 5px -1px white;
}

@media all and (-ms-high-contrast:none) {
    .blur:before { 
        background: rgba(255,255,255,0.8) !important;
        z-index: 1 !important;
     } /* IE11 */
}

.login-form-child .content {
    position: relative;
    display: block;
    padding: 0;
    margin: 0 auto;
    height: auto;
    width: 100%;
    text-align: center;
}

.login-form-child .content #header {
    padding-top: 17px;
    padding-bottom: 17px;
}

.login-form .content #header #logo {
    position: relative;
    z-index: 1000;
    padding: 0;
    max-width: 100%;
    max-height: 66px;
    height: auto;
    width: auto;
    vertical-align: middle;
    outline: none;
    border: none;
    text-align: center;
}

.login-form .content #form-message {
    margin: 1em 0;
    text-align: center;
    font-size: 0.8em;
    font-weight: normal;
    color: #d00;
    display: block;
}

.login-form .content #welcome-message {
    margin: 1em 0;
    font-size: 1em;
    font-weight: normal;
    color: rgb(27, 86, 115);
    display: block;
}

.login-form .content #welcome-message > * {
    padding: 0.2em 0;
    text-align: center;
}

.login-form .content #welcome-message a {
    color: rgb(27, 86, 115);
    text-decoration: none;
    font-weight: bold;
}
.login-form .content #welcome-message a:hover {
  color: #424242;
}

.login-form .content #welcome-message .link {
    padding-bottom: 1.2em;
}
.login-form .content #welcome-message .link i {
    color: #d2232a;
    padding-right: 5px;
}

.login-form #company {
    position: relative;
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
    bottom: -10px;
    font-size: 0.8em;
    color: #ccc;
    text-align: center;
}

.login-form #company .content {
    border-radius: 10px;
    background-color: rgba(115, 115, 115, 0.7);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
    text-shadow: 0 0 2px black;
    display: inline-block;
    padding: 10px 15px;
    color: white;
}

#form {
    padding: 10px 12px;
    width: 240px;
    max-width: 100%;
    margin: 0 auto;
    display: inline-block;
}

input[type=text],
input[type=password] {
    border-radius: 4px;
    padding: 5px;
    font-size: 0.75em;
}

.form-control {
    display: block;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.56);
    background: white;
    background: rgb(228, 228, 228);
    padding: 4px 8px;
    width: 100%;
    height: 26px;
}

input:focus {
    border: 1px solid orange;
    box-shadow: 0 0 4px orange;
    outline: none;
}
button:focus {
    outline: none;
}

button,
input {
    display: inline-block;
    vertical-align: middle;
    height: 26px;
    border: none;
    border: 1px solid rgba(0, 0, 0, 0.56);
    padding: 2px 11px;
    color: #555;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-family: inherit;
    font-size: 0.8em;
    text-decoration: none;
    -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, box-shadow 0.1s ease, color 0.1s ease, background 0.1s ease;
    transition: opacity 0.1s ease, background-color 0.1s ease, box-shadow 0.1s ease, color 0.1s ease, background 0.1s ease;
    font-weight: bold;
    background-color: rgba(236, 236, 236, 0.29);
}

button {
    cursor: pointer;
}
button:hover {
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
}

button i {
    padding-right: 5px;
}

#form .email-remainder {
    font-size: 0.8em;
    line-height: 26px;
    display: none;
}

#form .email-remainder a {
    text-decoration: none;
    color: #220000;
}
#form .email-remainder a:hover {
  color: #424242;
}

.error-input {
  border: 1px solid red;
}

@media (max-width: 479px) {
    #form {
        padding: 10px 0px;
    }
}
