/*** COLORS ***/
/*** Dark grey: #6d6e71 ***/
/*** Medium grey: #6d6e71 ***/
/*** Light grey: #a7a9ab ***/
/*** Light grey 2: #ddd ***/

/*** NORMALIZING CSS ***/

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    font: 16px/1 sans-serif;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

input::-webkit-input-placeholder {
    color:rgba(255,255,255,0.4)!important;
}
input::-moz-placeholder {
    color:rgba(255,255,255,0.4)!important;
}
input:-ms-input-placeholder {
    color:rgba(255,255,255,0.4)!important;
}
input:-moz-placeholder {
    color:rgba(255,255,255,0.4)!important;
}

textarea:focus, input:focus{
    outline: 0;
}

textarea, input {
    -webkit-appearance: none;
    border-radius: 0;
}
label {
    font-weight: initial;
}
h1,
h2,
h3,
h4,
p,
blockquote,
figure,
ol,
ul {
    font: 16px/1 sans-serif;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 100;
    margin: 0;
    padding: 0;
}
main,
li {
    display: block;
}
h1,
h2,
h3,
h4 {
    font-size: inherit;
}
strong {
    font-weight: bold;
}
a,
button {
    color: inherit;
    -webkit-transition: .3s;
    transition: .3s;
}
a {
    text-decoration: none!important;
}
a:focus, a:hover {
    text-decoration: none!important;
    color: #fff;
    outline: 0;
}
a[href^=tel] {
    text-decoration: none;
    color: inherit;
}
button {
    overflow: visible;
    border: 0;
    font: inherit;
    -webkit-font-smoothing: inherit;
    letter-spacing: inherit;
    background: none;
    cursor: pointer;
}
::-moz-focus-inner {
    padding: 0;
    border: 0;
}
:focus {
    outline: 0;
}
img {
    max-width: 100%;
    height: auto;
    border: 0;
}

/*** SCROLL BAR ***/
::-webkit-scrollbar-track
{
    box-shadow: inset 1px 1px 10px -2px rgba(0,0,0,0.75);
    background-color: #fff;
}
::-webkit-scrollbar
{
    width: 10px;
    height: 10px;
    background-color: #fff;
}
::-webkit-scrollbar-thumb
{
    box-shadow: inset 1px 1px 10px -2px rgba(0,0,0,0.75);
    background-color: #a7a9ab;
}

/*** LOGIN PAGE GENERAL STYLES ***/
body {
    background-color:black;
    background-size: cover!important;
    position: relative;
    overflow: hidden;
    -ms-overflow: hidden;
    height: 100vh;
    width: 100vw;
}
#bg-video {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    background-color: black;
    -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    -webkit-transition: 1s opacity;
    transition: 1s opacity;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
#viewport-container {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    -ms-overflow-x: hidden;
}
.logo-wrapper {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 10rem;
    opacity: 0.5;
    margin: 0.5rem;
}
.logo-wrapper img{
    width: 100%
}
.logo-wrapper a {
    position: relative;
    display: block;
    margin-left: auto;
}
.logo-wrapper .logo-color {
    position:absolute;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0;
}
.login-container {
    position: absolute;
    z-index: 100;
    top:50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 40%;
    padding: 25px;
    margin-bottom: 4rem; /*for android devices*/
    display: none;
}
.core-login {
    color: #fff;
    line-height: 1.1em;
}
.login-title {
    font-size: 200%;
    color: rgba(255,255,255,0.8);
}
.imgLoginLogo {
    width: 75%;
    margin: 0 auto;
}
.imgLoginLogo img {
    max-width: 90%;
    display: block;
    margin: 0 auto;
}
.blur-bg{
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);  /*for Safari only*/
}
.actions input:first-of-type {
    margin-top: 0;
}
.login-pw-options {
    margin: 15px 5px 0 5px;
    font-size:85%;
}
.login-pw-options a:hover {
    color: rgba(40,40,40,1);
    cursor: pointer;
}
#remember-checked {
    display: none;
}
.ra-icon-size {
    font-size: 4rem;
}

/*** LOGIN FOOTER ***/
.privacy{
    margin-top: 10px;
    font-size: 1.2rem;
    text-align: center;
}
.privacy a {
    color: rgba(255,255,255,0.5);
}
.privacy a:hover {
    color: rgba(255,255,255,1);
}
/*** LOGIN BUTTONS ***/
.login-btn {
    display: block;
    margin:0 auto;
    padding: 15px 5px;
    text-align: center;
    background-color: rgba(64,64,64,0.67);
    border: 2px solid rgba(48,48,48,0.67);
    color: rgba(255,255,255,0.8);
    -webkit-transition: 0.5s;
    transition: 0.5s;
    /*box-shadow: 1px 1px 5px rgba(64,64,64,0.7);*/
}
.submit-btn {
    max-width: none;
    margin-top: 15px;
    padding: 10px 5px;
}
.provider-caption{
    font-size: 75%;
    padding:0;
}
#IdentityProvidersList {
    margin: 0;
    padding-left: 15px;
    padding-bottom: 15px;
}
.provider-button {
    display: none;
}
div[data-existing="true"] {
    padding: 15px 15px 0 0;
}
.rakb-btn:hover {
    background-color: rgba(187,35,34,0.8);
    border-color: rgba(187,35,34,1);
}
#Azure:hover {
    background-color: rgba(0,161,241,0.8);
    border-color: rgba(0,161,241,1);
}
.goo-btn:hover {
    background-color: rgba(234,67,53,0.8);
    border-color: rgba(234,67,53,1);
}
#yahoo:hover {
    background-color: rgba(65,0,147,0.8);
    border-color: rgba(65,0,147,1);
}
.win-btn:hover {
    background-color: rgba(255,187,0,0.8);
    border-color: rgba(255,187,0,1);
}
.submit-btn:hover {
    background-color: rgba(0,188,228,0.8);
    border-color: #00bce4;
}
.login-btn:hover{
    color: #fff;
}

/*** RESTYLING BOOTSTRAP COMPONENTS ***/
.login-container>.well:first-of-type{
    background-color: rgba(222,222,222,0.7);
}
.well {
    border:none;
    border-radius: 0;
    background-color: rgba(64,64,64,0.75);
    padding: 10px;
}
.panel {
    border:none;
    border-radius: 0;
    background-color: rgba(64,64,64,0.67);
}
#providersBlock .panel-body {
    padding: 0;
}
.panel-default>.panel-heading {
    color: rgba(255,255,255,0.8);
    background-color: inherit;
}
.panel-heading {
    border: none;
    font-size: 85%;
}
.panel-heading p{
    font-size: 1.2rem;
    font-style: italic;
}
.form-control-group{
    position: relative;
}
.ra-icon-input {
    float: left;
    width: 34px;
    height: 34px;
    line-height: 34px;
    background-color: rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.8);
}
.form-control {
    float: left;
    width: calc(100% - 34px);
    border-radius: 0;
    border: 2px solid rgba(255,255,255,0.5);
    background-color: rgba(255,255,255,0.25);
    color: #fff;
    transition: border-color 0.5s;
}
.form-control:focus {
    border-color: rgba(255,255,255,1);
    background-color: rgba(255,255,255,0.5);
    box-shadow: 0 0 15px rgba(255,255,255,0.75);
}
.alert {
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 0.8em;
    border-radius: 0;
    border-width: 2px;
}
.alert-danger {
    color: white;
    background-color: rgba(210,20,20,0.75);
    border-color: white;
}
.close:focus, .close:hover {
    color: white;
    opacity: 0.7;
}
#err-msg-prov,#err-msg-local {
    display: none;
    word-break: break-word;
}
#err-msg-prov {
    padding-left: 0;
}
