* {
    box-sizing: border-box;
}

body {
    font-family: Helvetica;
    /*background: #eee; Tagetik */
    -webkit-font-smoothing: antialiased;
}

hgroup {
    text-align: center;
    margin-top: 4em;
}

h1, h3 {
    font-weight: 300;
    font-size: 38px;
}

h1 {
    color: #367bb1;
}

h3 {
    color: #636363;
    font-size: 16px;
    margin-top: 1.8em;
}

a {
    color: #367bb1;
    text-decoration: none;
}

form {
    width: 340px;
    margin: 3em auto 1.5em auto;
    padding: 2.5em 2em 2em 2em;
    /*background: #fafafa; Tagetik */
    border: 1px solid #ebebeb;
    /*box-shadow: rgba(0,0,0,0.14902) 0px 1px 1px 0px,rgba(0,0,0,0.09804) 0px 1px 2px 0px; Tagetik */
}

.group {
    position: relative;
    margin-bottom: 45px;
}

input {
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    -webkit-appearance: none;
    display: block;
    /*background: #fafafa; Tagetik */
    color: #636363;
    width: 100%;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #999;
    padding-left: 37px;
}

input:focus {
    outline: none;
}

/* Label */

label {
    color: #BBB;
    font-size: 16px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.failed {
    color: #888;
    font-size: 13px;
    letter-spacing: .4px;
    position: relative;
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    letter-spacing: 1px;
    background: transparent;
    border: 0;
    /*border-bottom: 2px solid #3160B6; Tagetik */
    /*border: 1px solid #367bb1; */
    color: #ef1414;
    cursor: pointer;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;

}

/* active */

input:focus ~ label, input.used ~ label {
    top: -20px;
    -webkit-transform: scale(.75);
    transform: scale(.75);
    left: -2px;
    /* font-size: 14px; */
    color: #367bb1;
}

/* Underline */

.bar {
    position: relative;
    display: block;
    width: 100%;
}

.bar:before, .bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 0px;
    position: absolute;
    background: #367bb1;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.bar:before {
    left: 50%;
}

.bar:after {
    right: 50%;
}

/* active */

input:focus ~ .bar:before, input:focus ~ .bar:after {
    width: 50%;
}

/* Highlight */

.highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 21%;
    left: 0;
    pointer-events: none;
    opacity: 0.2;
}

/* active */

input:focus ~ .highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/* Animations */

@-webkit-keyframes inputHighlighter {
    from {
        background: #367bb1;
    }
    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #367bb1;
    }
    to {
        width: 0;
        background: transparent;
    }
}

/* Button */
/*
.button_loading {
    position: relative;
    display: inline-block;
    padding: 18px 24px;
    margin: .3em 0 1em 0;
    width: 100%;
    vertical-align: middle;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    letter-spacing: 1px;
    background: transparent;
    border: 0;
    color: #373737;
    cursor: pointer;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
}
*/

/* Spinner style */
.spinnerSignIn {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid #ccc;
    border-top: 3px solid #367bb1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.button {
    position: relative;
    display: inline-block;
    padding: 18px 24px;
    margin: .3em 0 1em 0;
    width: 100%;
    vertical-align: middle;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    letter-spacing: 1px;
    background: transparent;
    border: 0;
    /*border-bottom: 2px solid #3160B6; Tagetik */
    border: 1px solid #367bb1;
    color: #367bb1;
    cursor: pointer;
    -webkit-transition: all 0.15s ease;
    transition: all 0.15s ease;
}

.button:focus {
    outline: 0;
}

/* Button modifiers */

.buttonBlue {
}

.buttonBlue:hover, .buttonBlue:focus, buttonBlue:active {
    background: #367bb1;
    color: #FFF;
}

/* Ripples container */

.ripples {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
}

/* Ripples circle */

.ripplesCircle {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
}

.ripples.is-active .ripplesCircle {
    -webkit-animation: ripples .4s ease-in;
    animation: ripples .4s ease-in;
}

/* Ripples animation */

@-webkit-keyframes ripples {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        width: 200%;
        padding-bottom: 200%;
        opacity: 0;
    }
}

@keyframes ripples {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        width: 200%;
        padding-bottom: 200%;
        opacity: 0;
    }
}

footer {
    text-align: center;
    margin-top: 40px;
}

footer p {
    color: #888;
    font-size: 13px;
    letter-spacing: .4px;
}

footer a {
    color: #367bb1;
    text-decoration: none;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

footer a:hover {
    color: #666;
    text-decoration: underline;
}

footer img {
    width: 270px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

footer img:hover {
    opacity: .83;
}

footer img:focus, footer a:focus {
    outline: none;
}