html, body {
    font-family: "Lato";
    font-weight: 400;
    font-size: 100%;
    color: #333;
    height: 100%;
    margin: 0;
}

html {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), /* Tint overlay */
        url('https://aadcdn.msauthimages.net/81d6b03a-l4rxaudfccovbvmypkf9dlgf4yy1jjxdsz5zkk5ydmu/logintenantbranding/0/illustration?ts=638890994381607997') 
        no-repeat center center fixed;
    background-size: cover;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat";
    font-weight: 700;
}

h2 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.25em;
}

#shs-login-message h4 {
    font-weight: 600;
}

header #shs-login-instruction {
    margin-top: 0;
    margin-bottom: 0;
}

:has(#shs-login-instruction) h2 {
    margin-bottom: 0;
}

input:focus, textarea:focus {
    outline: none;
}

.w3-button, .w3-input {
    border-radius: 2px;
}


.shs-foot-text {
    font-family:  "Century Schoolbook L";
    font-variant: small-caps;
    font-weight: normal;
    color: #fff;
    margin: 8px 15px 6px;
    font-size: 125%;
}

.shs-foot-chase {
    font-family:  "Century Schoolbook L";
    font-weight: normal;
    color: #444;
    margin: 0 10px 0 0;
    font-size: 13px;
    padding-bottom: 16px;
    display: none;

}

#shs-foot .w3-button {
    padding: 8px 16px;
}

#shs-foot .w3-button > * {
    vertical-align: middle;
}

#shs-foot .w3-buttons {
    margin-top: 2px;
    margin-right: 6px;
    font-size: 16px;
}

#shs-title-link > img {


    width: 32px;
    
    vertical-align: text-bottom;
    display: inline-block; 
    margin-right: 8px;
    display: none;
}

#shs-login-container {
    display: table;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    overflow: auto;
    padding: 40px 0 30px;
    /*margin-bottom: -30px;*/
}

#shs-login {
    display: table-cell;
    vertical-align: middle;  
    padding: 0.01em;          
}

#shs-login > * {
    margin: auto auto;
    
    width: 100%;
    height: auto;
    background: #f8f8f8;
    
    position: relative;            
}

@supports (filter: blur(15px)) {
    #shs-login > * {
        /*background: rgba(255,255,255,0.75);*/
    }
}

#shs-login > *:before {
    background: url('//assets.sbhs.net.au/img/login/bg.jpg')  no-repeat center center fixed;
    background-size: cover;
    content: ' ';
    z-index: -1;

    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
}

#shs-login > * {
    border-radius: 3px;
    padding: 20px;

    background: rgb(228, 228, 228);
}


.shs-field > label {
    font-weight: 300;
}

.shs-field > .bar {
    display: block;
    position: relative;
    padding-bottom: 1px;
}

.shs-field > .bar:before, .shs-field > .bar:after {
    content: '';
    height:2px;
    width:0;
    bottom:1px;
    position:absolute;
    background:#2196F3;
    transition:0.2s ease all;
}


.bar:before {
    left:50%;
    }
    .bar:after {
    right:50%; 
    }

.shs-field > input:focus ~ .bar:before,
.shs-field > input:focus ~ .bar:after {
    width: 50%;
}

.shs-field label {
    display: block;
}

#btn-portal {
    display: block;
    margin: auto;
    padding-left: 30px;
    padding-right: 30px;
}

#btn-portal svg {
    vertical-align: text-bottom;
}

#btn-portal:hover svg path {
    fill: #333;
}

.shs-or {
    text-align: center;
    font-weight: bold;
}

.ribbon {
    position: absolute;
    right: -1px;
    top: -1px;
    
    overflow: hidden;
    width: 160px;
    height: 160px;
    text-align: right;
}

.ribbon span {
    font-size: 10px;
    font-weight: normal;
    color: #FFF;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    width: 280px;
    display: block;
    background: #79A70A;
    background: linear-gradient(#2989d8 0%, #1e5799 100%);
    position: absolute;
    top: 40px;
    right: -82px;
    font-size: medium;
    line-height: 40px;
}

.ribbon span a {
    text-decoration: none;
    padding: 10px 30px;
}

@media screen and (min-width: 525px) {
    #shs-login > div:first-child {
        width: 525px;
    }

}

@media screen and (max-width: 525px) {
    html, body {
        font-size: 90%;
    }

    #shs-login > div:first-child {
        padding: 10px 5px;
    }

    .shs-foot-text {
        margin-top: 10px;
    }
    
}


input.error {
    padding-bottom: 7px;
    border-bottom: 2px solid red;
}

input.error ~ .bar {
    visibility: hidden;
}

input:-ms-input-placeholder {
    color: #999 !important;
  }