﻿html {
  height: 100%;
}

body {
    height: 100%;
    /* background-image: url("../world-1-blur.jpg"); */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: rgb(17, 17, 17);
    background-color: white;
    overflow-x: hidden;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: rgb(17, 17, 17);
        color: white;
    }
}


select {
  color: #333;
}


/* .navbar-header {
  position: relative;
  top: -4px;
}
.navbar-brand > .icon-banner {
  position: relative;
  top: -2px;
  display: inline;
} */

.language-select {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.site-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.site-logo img {
    /* height: 100px; */
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    /* box-shadow: 0px 0 8px rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.3); */
}

.header-logo {
  padding-top: 50px;
}

.page-title h1 {
    text-align: center;
    margin-bottom: 24px;
}

.login-page .panel {
    background-color: transparent;
    border: none;
    border-radius: 4px;
    box-shadow: none;
}

.AzureAD-Logo {
  margin-right: 10px;
}

.divider {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 20px 0;
}

.divider::before, .divider::after {
  content: " ";
  display: block;
  border-top: 1px solid gray;
  flex: 1;
}

.divider strong {
  margin: 0 10px;
}

.text-center {
  text-align: center;
}

.full-width-button {
  width: 100%;
}

.alert-danger {
  background-color: white;
  color: red;
  border-color: red;
}

.info-message {
    color: #4F8A10;
    background-color: #DFF2BF;
    border-color: #4F8A10;
}

.icon {
  position: relative;
  top: -10px;
}
.logged-out iframe {
  display: none;
  width: 0;
  height: 0;
}
.page-consent .client-logo {
  float: left;
}
.page-consent .client-logo img {
  width: 80px;
  height: 80px;
}
.page-consent .consent-buttons {
  margin-top: 25px;
}
.page-consent .consent-form .consent-scopecheck {
  display: inline-block;
  margin-right: 5px;
}
.page-consent .consent-form .consent-description {
  margin-left: 25px;
}
.page-consent .consent-form .consent-description label {
  font-weight: normal;
}
.page-consent .consent-form .consent-remember {
  padding-left: 16px;
}
.grants .page-header {
  margin-bottom: 10px;
}
.grants .grant {
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid lightgray;
}
.grants .grant img {
  width: 100px;
  height: 100px;
}
.grants .grant .clientname {
  font-size: 140%;
  font-weight: bold;
}
.grants .grant .granttype {
  font-size: 120%;
  font-weight: bold;
}
.grants .grant .created {
  font-size: 120%;
  font-weight: bold;
}
.grants .grant .expires {
  font-size: 120%;
  font-weight: bold;
}
.grants .grant li {
  list-style-type: none;
  display: inline;
}
.grants .grant li:after {
  content: ', ';
}
.grants .grant li:last-child:after {
  content: '';
}

.external-login-btn {
    padding:0.2rem;
    margin: 1rem;
}
.AzureAD-Logo {
    height: 18px;
    margin-right: 8px;
    width: 18px;
    position: relative;
    top: -1px;
    margin-right: 8px;
    /* padding: 1px;*/
}
.password-container {
    position: relative;
}
.show-login-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
.show-password {
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
}

.show-password-confirm {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.eye-icon {
    height: 1.2em;
    width: auto;
}

.eye-icon-confirm {
    height: 1.2em;
    width: auto;
}

.password-meter-wrap {
    margin-top: 1px;
    height: 10px;
    background-color: gray;
    margin-left: auto;
    margin-right: auto;
    width: 99%;
}

.password-meter-bar {
    width: 0;
    height: 100%;
    transition: width 400ms ease-in;
}

.password-meter-bar.level0 {
    width: 20%;
    background-color: darkred;
}
.password-meter-bar.level1 {
    width: 40%;
    background-color: orangered;
}
.password-meter-bar.level2 {
    width: 60%;
    background-color: orange;
}
.password-meter-bar.level3 {
    width: 80%;
    background-color: yellowgreen;
}

.password-meter-bar.level4 {
    width: 100%;
    background-color: green;
}
@media (min-width: 768px) and (max-device-width: 991px) {
    .col-md-6 {
        margin: auto;
    }
}