﻿body {
    font-family: Bahnschrift,ui-sans-serif,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;
    height: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
}

#logoImage {
    max-width:300px;
}

.img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
}

.content {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin-bottom: 10px !important;
}

.loginContainer {
    margin: 0;
    position: relative;
}

#narrative, #narrative h2 {
    text-align: center;
    font-weight: 100;
    margin-bottom: 10px;
}

#divSelfReg, #divAppLink {
    text-align: center;
    margin-top: 5px;
    font-weight: 100;
}

#frmLogin {
    margin-block-end: 5px;
}

.login-wrap {
    position: relative;
}

.login-control {
    height: 50px;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: lightgrey 1px 2px 5px;
    border-radius: 25px;
    border: 1px solid transparent;
    background: rgba(238, 247, 252, 0.8);
    color: black;
    transition: 0.3s
}

.login-control:hover, .login-control:focus {    
    background: rgba(179, 221, 255, 0.35);
    border: 1px solid #337ab7;
    box-shadow: 0 0 0px;
}

.login-control-fail {
    height: 50px;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: lightgrey 1px 2px 5px;
    border-radius: 25px;
    border: 1px solid rgba(194, 44, 61, 1);
    background: rgba(238, 152, 161, 0.5);
    color: black;
    transition: 0.6s
}

.login-control-fail:hover, .login-control-fail:focus {
    background: rgba(179, 221, 255, 0.35);
    border: 1px solid #337ab7;
    box-shadow: 0 0 0px;
}

.login-control::-webkit-input-placeholder {
    /*Chrome/Opera/Safari*/
    font-weight:100;
}

.login-control::-moz-placeholder {
     /*Firefox 19+*/ 
    font-weight:100;
}

.login-control:-ms-input-placeholder {
     /*IE 10+*/ 
    font-weight:100;
}

.login-control:-moz-placeholder {
     /*Firefox 18-*/ 
    font-weight:100;
}

.login-control-fail::-webkit-input-placeholder {
    /*Chrome/Opera/Safari*/
    font-weight: 100;
    color: #555555;
}

.login-control-fail::-moz-placeholder {
    /*Firefox 19+*/
    font-weight: 100;
}

.login-control-fail:-ms-input-placeholder {
    /*IE 10+*/
    font-weight: 100;
}

.login-control-fail:-moz-placeholder {
    /*Firefox 18-*/
    font-weight: 100;
}

.submit-control {
    padding-left: 20px;
    padding-right: 20px;
    border: 1px solid transparent;
    border-radius: 25px;
    box-shadow: rgba(83, 176, 245, 1) 1px 2px 5px;
    background-position: -1px;
    background-size: 101%;
    background-image: linear-gradient(to right, #1e66ae, #59c1e8);
    color: white;
    transition: 0.2s;
}

.submit-control:hover {
    background-image: linear-gradient(to right, rgba(27, 58, 106, 1), rgba(27, 58, 106, 1));
    color: rgba(255, 255, 255, 0.9) !important;
}

.submit-control:focus {
    background-image: linear-gradient(to right, rgba(27, 58, 106, 1), rgba(27, 58, 106, 1));
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: rgba(83, 176, 245, 1) 1px 2px 5px;
    outline: none;
    outline-offset: 0px;
}

.centred {
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important;
}

#msExpander {
    background-color: #2f2f2f;
    border-radius: 25px;
    cursor: pointer;
}

#azureLogin {
    margin-top: 25px;
}

.inline-block {
    display: inline-block;
}

#btnLogin {
    border-radius: 25px;
}

#divOntrackLogin, #divB2cLogin {
    margin-top: 10px;
}

#separator {
    color: black;
    opacity: 0.5;
    padding-top: 1.5em;
    padding-bottom: 10px;
}

#separator h5 {
    font-weight: 100;
}

#divLoginfailed {
    background-color: rgba(226, 97, 97, 0.8);
    border-radius: 25px;
    color: white;
    vertical-align: middle;
}

@media (max-width: 340px) {

    #msExpander {
        background-color:transparent;
    }
}

@media (max-width: 396px) {

    #logoImage {
        max-width: 100%;
    }
}

@media (max-width: 991.5px) {    

    .img {
        padding: 0;
    }

}

@media (max-width: 1200px) {

    .img {
        background-position: center !important;
    }
}

@media (min-width: 991.5px) {

    #extraConfigs {
        padding-top: 4.5em;
    }
}

@media (max-height: 625px) {

    #logo {
        margin-top: 10px;
    }

    .content {
        justify-content: normal;
    }
}

#browserWarning {
    background-color: #d9edf7;
    border: 1px solid #bce8f1;
    padding: 10px;
    display: none;
}

#webConfigWarning {
    background-color: #df4759;
    color: white;
    border: 1px solid #bce8f1;
    padding: 10px;
    display: flex;
}

#browserWarning i {
    margin-top: 2px;
    color: #3a87ad;
}

#webConfigWarning i {
    margin-top: 2px;
    color: white;
}

#warningText, #warningText2 {
    margin-left: 10px;
}

#txtResetPassword, #btnApplyNow {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 25px;
}

#txtResetPassword:hover, #btnApplyNow:hover,
#btnApplyNow:focus, #btnApplyNow:focus{
    cursor: pointer;
    background-color: rgba(232, 245, 254, 1);
    border-radius: 25px;
    transition: 0.2s;
}

#txtResetEmail {
    margin-top: 15px;
}

#logo {
    position:relative;
    text-align: center;
    margin-bottom: 10px;
}

.cc-revoke, .cc-window {
    font-size: 12px;
}

.cc-theme-classic .cc-btn {
    border-radius: 25px;
}

.cc-floating.cc-theme-classic {
    border-radius: 15px;
    text-align: center;
}

.cc-revoke, .cc-window {
    font-family: Bahnschrift,ui-sans-serif,Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;
    font-weight: 200;
}

#toast-container > div.toast-warning {
    border-radius: 10px !important;
    padding-left: 10px !important;
    width: 400px !important;
    background-image: none !important;
}

.toast-warning {
    background-color: rgba(238, 247, 252, 0.95) !important;
}

.toast-warning div.toast-message, .toast-warning div.toast-title {
    color: rgb(51, 51, 51);    
}

.toast-message {
    font-weight: 100;
    margin-top: 5px;
}

#toast-container > div.toast-error {
    border-radius: 10px !important;
    padding-bottom: 5px !important;
    width: 400px !important;
}

.toast-error {
    background-color: rgba(217, 88, 103, 0.97) !important;
}

#toast-container > div.toast-success {
    border-radius: 10px !important;
    padding-bottom: 15px !important;
    width: 400px !important;
}

@media (max-width: 768px) {
    #toast-container > div.toast-error, #toast-container > div.toast-warning, #toast-container > div.toast-success {
        width: 250px !important;
    }

}

#btnModalClose {
    border-radius: 10px;
    background-color: #f0f0f0;
    transition: 0.2s;
}

#btnModalClose:hover {
    background-color: #e6e6e6;
}


#btnResetPassword {
    border-radius: 10px;
    transition: 0.2s;
}

.modal-content {
    border-radius: 15px;
}

.modal-header {
    padding-top: 0px;
    padding-bottom: 0px;
}

.modal-body {
    text-align: center;
    font-size: 12px;
}

.modal-body > .login-control {
    border-radius: 10px;
}

.modal-body > p {
    margin-top: 12px;
    margin-bottom: 20px;
}

#divPowered {
    color: black;
    opacity: 0.5;
}

#divPowered > p {
    font-weight: 100;
    margin: 0;
}