﻿* {
    box-sizing: border-box;
}

body {
    font-family: Arial;
    -webkit-font-smoothing: antialiased;
}

hgroup {
    text-align: center;
    margin-top: 4em;
}

h2 {
    padding-bottom: 1em;
    font-size: 32px;
}

h1, h3 {
    font-weight: 300;
}

h1 {
    color: #636363;
}

    h1.login-title {
        text-align: left;
        padding-top: 0.7em;
    }
    h1.login-title.sfsp {
        color: #e1261c;
        font-style: italic;
        font-family: 'Arial Narrow', Arial, sans-serif;
        font-weight: 700;
        padding-top: 0;
    }

@media only screen and (min-width: 992px) {
    h1.login-title {
        text-align: left;
    }
}

h3 {
    color: #4a89dc;
}

.login-page form, .login-page .peer-box {
    max-width: 380px;
    margin: 2em auto;
    padding: 2em;
    background: rgb(223, 224, 224);
    color: rgb(58, 59, 68) !important;
    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;
}

.width {
    width: 500px !important;
}

.login-page .peer-box {
    background-color: white;
    border: none;
    box-shadow: none;
}

    .login-page .peer-box:not(:last-child) {
        border-bottom: 1px solid #ebebeb;
    }

.login-page .group {
    position: relative;
    margin-bottom: 45px;
}

.login-page input {
    font-size: 18px;
    padding: 10px 10px 10px 0px;
    -webkit-appearance: none;
    display: block;
    background: rgb(223, 224, 224);
    width: 100%;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #757575;
}

select[multiple] {
    width: 320px;
}

input:focus {
    outline: none;
}


/* Label */
a, a:hover, .forgot, .forgot:hover {
    color: #B71234;
    font-weight: bold;
    font-size: small;
}

    .forgot, .forgot:hover {
        margin-top: 1em;
        display: block;
    }

label {
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    pointer-events: none;
    /*left: 5px;*/
    top: 10px;
    transition: all 0.2s ease;
}

.label2 {
    top: -25px !important;
    font-size: 14px !important;
}

.labelcontent {
    top: 0px !important;
    font-size: 18px !important;
    /*padding-left: 5px;*/
}

.required:after {
    color: red;
    content: '*';
}


/* active */

input:focus ~ label, input.used ~ label {
    top: -20px;
    /*transform: scale(.80);*/
    /*left: -2px;*/
    font-size: 14px;
}


/* Underline */

.bar {
    position: relative;
    display: block;
    width: 100%;
}

    .bar:before, .bar:after {
        content: '';
        height: 2px;
        width: 0;
        bottom: 1px;
        position: absolute;
        background: #000;
        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: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}


/* active */

input:focus ~ .highlight {
    animation: inputHighlighter 0.3s ease;
}


/* Animations */

@keyframes inputHighlighter {
    from {
        background: #4a89dc;
    }

    to {
        width: 0;
        background: transparent;
    }
}


/* Button */

.button, .button:hover, .button:focus {
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    margin: .3em 0 1em 0;
    width: 100%;
    vertical-align: middle;
    color: #fff;
    font-size: 20px;
    line-height: 40px;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    letter-spacing: 1px;
    background: transparent;
    border: 0;
    border-bottom: 2px solid #B73034;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

    .button.small {
        padding: 2px 4px;
        margin: .3em 0 1em 0;
    }

    .button:focus {
        outline: 0;
    }


/* Button modifiers */
.buttonRed, .buttonRed:hover, .buttonRed:focus {
    background: #B71234;
    text-shadow: 1px 1px 0 rgba(183, 48, 52, .5);
}

    .buttonRed:hover {
        background: #B71234;
    }

.buttonBlue {
    background: #4a89dc;
    text-shadow: 1px 1px 0 rgba(39, 110, 204, .5);
}

    .buttonBlue:hover {
        background: #357bd8;
    }


/* Ripples container */

.ripples {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
}


/* Ripples circle */
.alert {
    border-radius: 0;
}

.ripplesCircle {
    position: absolute;
    top: 50%;
    left: 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 {
    animation: ripples .4s ease-in;
}


/* Ripples animation */

@keyframes ripples {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        width: 200%;
        padding-bottom: 200%;
        opacity: 0;
    }
}

footer {
    text-align: center;
}

    footer p {
        color: #888;
        font-size: 13px;
        letter-spacing: .4px;
    }

    footer a {
        color: #4a89dc;
        text-decoration: none;
        transition: all .2s ease;
    }

        footer a:hover {
            color: #666;
            text-decoration: underline;
        }

    footer img {
        width: 80px;
        transition: all .2s ease;
    }

        footer img:hover {
            opacity: .83;
        }

        footer img:focus, footer a:focus {
            outline: none;
        }

form hr {
    border-top: 2px solid #CACACA;
}

.navbar-default {
    background-color: #fff;
    border: 0;
}

.navbar-brand {
    height: auto;
    margin: 0;
    padding-left: 2em;
}
.navbar-brand.sfsp {
    padding-top: 0.2em;
}

.navbar-header {
    width: 100%;
}

@media only screen and (min-width: 992px) {
    .row.vdivide [class*='col-']:not(:last-child):after {
        background: #e0e0e0;
        width: 1px;
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        min-height: 70px;
    }
}

.pbutton {
    margin: 0 auto;
    width: 49%;
    display: inline-block;
}

    .pbutton a {
        font-weight: normal;
    }


.successmessage {
    color: rgb(122, 184, 0);
    margin-bottom: 20px;
}

input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    display: inline;
    width: auto;
}

.list-group {
    margin-left: 25px !important;
}

.list-group-item {
    background-color: rgb(223, 224, 224);
    padding: 0px;
}

.checkboxLabel {
    pointer-events: visible;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    font-size: 14px !important;
    font-weight: normal !important;
    margin-left: 5px;
}

@media only screen and (max-width: 433px) {
    h1.login-title.sfsp {
        padding-left: 1em;
        font-size: 14pt;
        padding-top: 0.1em;
    }

    .navbar-brand.sfsp {
        /*padding-top: 1.9em;*/
    }

        .navbar-brand.sfsp > img.icon-banner {
            height: 14px;
        }
}
