﻿.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: "";
}
body.login-page {
  background-color: #333;
  background: var(--login-bg);
  color: var(--login-bg-contrast, #e8e9ea);
}
body.login-page input {
  background-color: var(--light);
}
body.login-page .brand {
  padding: 3rem 2rem;
}
body.login-page .brand img {
  max-width: 75%;
}
@media (min-width: 768px) {
  body.login-page .brand img {
    max-width: 90%;
  }
}
@media (min-width: 1200px) {
  body.login-page .brand img {
    max-width: 75%;
    max-width: min(75%, 650px);
  }
}
body.login-page .login-form {
  padding: 0 2rem;
}
@media (min-width: 768px) {
  body.login-page .brand {
    padding-top: 1.5rem;
  }
  body.login-page .body-content {
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }
  body.login-page .body-content > div {
    margin: auto 0;
    padding: 2rem;
  }
}
body.login-page h2, body.login-page h3 {
  color: #90c0d9;
}
body.login-page h3 {
  font-size: 1.3125rem;
}

.btn-login {
  width: 100%;
}

.btn-external-login {
  padding: 0;
  overflow: hidden;
  height: 2.75em;
  font-weight: 600;
  width: 100%;
  text-align: left;
  background-color: #fff;
  border-color: #d2d4d5;
  color: #394049;
  margin: 0.5em 0;
}
.btn-external-login * {
  vertical-align: middle;
}
.btn-external-login:hover {
  color: #394049;
  background: #e6eaee;
}
.btn-external-login i {
  padding: 0 0.75em;
  display: inline-flex;
  height: 100%;
  align-items: center;
  margin-right: 0.75em;
}
.btn-external-login img {
  width: 1.125em;
  height: 1.125em;
}
.btn-external-login.btn-google {
  background-color: #4285F4;
  border-color: #4285F4;
  color: #fff;
}
.btn-external-login.btn-google:hover {
  color: #fff;
  background: #72a4f7;
  border-color: #72a4f7;
}
.btn-external-login.btn-google i {
  background-color: #fff;
}
.external-providers .divider {
  text-align: center;
  color: #555;
  position: relative;
  margin: 0.5rem 0 1.5rem 0;
}
.external-providers .divider::before {
  content: "";
  background-color: #444;
  height: 1px;
  width: calc(50% - 1em);
  top: 50%;
  left: 0;
  position: absolute;
}
.external-providers .divider::after {
  content: "";
  background-color: #444;
  height: 1px;
  width: calc(50% - 1em);
  top: 50%;
  right: 0;
  position: absolute;
}

.validation-summary-valid {
  display: none;
}

.validation-summary-errors ul {
  padding-left: 0;
  list-style-position: inside;
  margin-bottom: 0;
}
.validation-summary-errors li {
  margin-left: 0.5em;
}
.validation-summary-errors li:only-child {
  list-style: none;
  margin-left: 0;
}

.drop-zone {
  padding: 1em;
  border: 3px dashed #c0c9cf;
  background-color: #f9fafc;
}
.drop-zone.drag-over {
  border-color: #a0b0cc;
  background-color: #d0e0ff;
}

#userMenuToggle {
  display: flex;
  align-items: center;
}

header .profile-image-container {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  vertical-align: middle;
  margin: 0 5px 0 10px;
  overflow: hidden;
  background-image: url("/images/profile-image-placeholder.png");
}
header .profile-image-container img, header .profile-image-container object {
  width: 100%;
  height: 100%;
  background-color: var(--navbar-bg);
}

.profile-image-upload {
  width: 256px;
  height: 256px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image-upload .img, .profile-image-upload img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--body-bg);
}

.k-grid td, .k-grid th {
  padding: 0.5em 0.75em;
}
