﻿/* ALL COLORS FOR ALL COMPONENTS ARE DEFINED HERE */
:root {
  --active-color: #5f3362;
  --warning-color: #c1272d;
  --running-color: #00b4e2;
  --error-color: #ffa42a;
  --complete-color: #1a3358;
  --enqueued-color: #85278f;
  --button-background: #c6d9e7;
  --button-background-primary: #84bbd4;
  --button-background-primary-hover: #007ba5;
  --button-background-hover: #84bbd4;
  --button-background-active: #0d407c;
  --button-background-warning: #c1272d;
  --button-background-warning-hover: #e22f0d;
  --button-background-warning-active: #992813;
  --button-text: #1a3358;
  --button-text-active: #ffffff;
  --button-text-warning: #ffffff;
  --checkbox-background: #ffffff;
  --checkbox-background-checked: #1a3358;
  --checkbox-border: #1a3358;
  --checkbox-checkmark: #ffffff;
  --radiobutton-background: #ffffff;
  --radiobutton-background-selected: #1a3358;
  --radiobutton-border: #1a3358;
  --radiobutton-selected: #1a3358;
  --link-text: #0d407c;
  --link-text-hover: #007ba5;
  --title-color: #1a3358;
  --text-color: #1a3358;
  --icon-color: #0d407c;
  --border-color: #e1e9ee;
  --blue-1: #eaf2f7;
  --blue-2: #e1e9ee;
  --blue-3: #c6d9e7;
  --blue-4: #84bbd4;
  --blue-5: #007ba5;
  --blue-6: #0d407c;
  --blue-7: #1a3358;
  --lavender: #e4cfe6;
  --magenta: #a10068;
  --purple: #85278f;
  --dark-purple: #531b5e;
  --pop-up-background: #ffffff;
  --feedback-neutral: #84bbd4;
  --feedback-success: #008257;
  --feedback-warning: #ffa42a;
  --feedback-error: #c1272d;
}

* {
  font-family: "DM Sans", sans-serif;
  color: var(--text-color);
  font-weight: 300;
  font-size: 13px;
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  --header-height: 85px;
  --nav-width: 350px;
  background: white;
  -ms-overflow-style: scrollbar;
  overflow-y: auto;
  height: 100vh;
}

header {
  height: var(--header-height);
  width: 100%;
  display: flex;
  background: white;
}

.login-panel {
  display: flex;
  margin-left: auto;
  flex-wrap: wrap;
  width: 638px;
}

@media (min-width: 1200px) {
  .login-panel {
    width: 738px;
  }
}

.header7 {
  font-weight: 300;
  font-size: 13px;
  line-height: 13px;
}

.forgotPassword {
  width: 250px;
  margin: auto;
  text-align: center;
}

.forgotPassword {
  color: var(--link-text);
  font-weight: 700;
  font-size: 15px;
  line-height: 13px;
}

a {
  text-decoration: none;
  padding: 0;
  margin: 0;
}

a,
.link {
  font-size: 13px;
  font-weight: 700;
  color: var(--link-text);
  cursor: pointer;
}

.frontpage-image {
  background: url(../login_image.png) no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 55vh;
  position: relative;
}

.frontpage-image img {
  width: 200px;
  left: calc(50% - 100px);
  top: calc(50% - 100px);
  position: relative;
}

.frontpage-container a {
  margin-left: 15px;
  margin-right: 15px;
  color: white;
}

.frontpage-image div {
  background-color: rgba(30, 20, 30, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.header-content {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  border-bottom: 2px solid #f0f0f0;
  --header-content-height: calc(var(--header-height) - 2px);
}

@media (max-width: 768px) {
  .header-content {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .logo img {
    height: 100%;
  }
}

@media (min-width: 768px) {
  .logo,
  .logoBootstrapOverride {
    flex: 0 0 auto;
    min-height: 45px;
    border-bottom: 2px solid #f0f0f0;
    margin-left: 15px;
    padding: 10px;
  }
}

@media (min-width: 840px) {
  .logo,
  .logoBootstrapOverride {
    flex: 0 0 auto;
    min-height: 55px;
    background-size: cover;
    background-position-y: center;
    margin-left: 0;
  }
}

.frontpage-container .header4 {
  color: white;
}

.frontpage-info {
  height: 40px;
  background-color: var(--dark-purple);
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
}

h4,
label,
.header4 {
  font-size: 14px;
  font-weight: 500;
}

.frontpage-container .login-footer {
  bottom: 0;
  width: 100%;
  align-content: center;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 140px;
}

.frontpage-container .login-footer .contact {
  bottom: 0;
  width: 100%;
  height: 40px;
  background-color: var(--blue-7);
  position: absolute;
}

.frontpage-container .login-footer div {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
}

.frontpage-container .login-footer .contact span {
  color: white;
}

.frontpage-container span {
  margin-left: 10px;
  margin-right: 10px;
}

#loginButton {
  page-break-before: always;
}

.login-panel form {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  margin-right: 10px;
  margin-top: 10px;
}

.login-input {
  display: flex;
}

.forgotPassword:hover {
  color: var(--link-text-hover);
}

a:hover,
a:focus {
  text-decoration: none;
}

.invalidLogin * {
  font-size: 15px;
  color: red;
  margin-left: 18px;
  font-weight: bold;
}

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

.invalidLogin {
  font-size: 15px;
  color: red;
  margin-left: 18px;
  font-weight: bold;
  position: absolute;
  right: 264px;
  top: 50px;
}

.validation-summary-errors ul {
  list-style: none;
  margin-bottom: 0;
}

.inputLoginBackground {
  height: 30px;
  border-bottom: solid 2px rgb(180, 180, 180);
  margin-left: 10px;
  text-align: center;
  font-size: 18px;
  padding: 3px 10px;
}

.login-panel button {
  margin: 0 10px;
  height: 27px;
  width: 85px;
  border: none;
  background: var(--purple);
  font-size: 14px;
  color: white;
}

.login-panel > a {
  text-align: right;
  width: 100%;
  margin-top: 50px;
  margin-right: 115px;
}

@media (min-width: 768px) {
  .login-panel > a {
    margin-right: 35px;
  }
}

@media (min-width: 840px) {
  .login-panel > a {
    margin-right: 115px;
  }
}

.login-panel input[type="email"]:-webkit-autofill,
.login-panel input[type="password"]:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset;
}

@media (max-width: 1000px) {
  .login-panel input[type="email"],
  .login-panel input[type="password"] {
    min-width: 150px;
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .login-panel input[type="email"],
  .login-panel input[type="password"] {
    min-width: 200px;
    width: 200px;
    font-size: 14px;
  }
}

@media (max-width: 540px) {
  .login-panel > a {
    position: absolute;
    left: 92px;
    top: 42px;
    width: 200px;
  }
}

@media (max-width: 540px) {
  header {
    height: 120px;
  }
}

input {
  height: 26px;
  border-radius: 1pt;
  border: 1px solid var(--blue-7);
}

.login-panel input[type="email"],
.login-panel input[type="password"] {
  height: 30px;
  color: black;
  border: none;
  border-bottom: solid 2px rgb(180, 180, 180);
  font-size: 14px;
  outline: none;
}

@media (max-width: 540px) {
  .login-panel form {
    display: block;
    left: 0;
  }
}

@media (max-width: 540px) {
  .login-panel form * {
    margin-bottom: 4px;
  }
}

@media (max-width: 540px) {
  .login-panel input[type="email"],
  .login-panel input[type="password"] {
    min-width: 250px;
    width: 250px;
    font-size: 14px;
  }
}

.page-consent {
  float: none;
}

a.dropdown-toggle.text-right:focus,
a.dropdown-toggle.text-right:hover {
  background-color: #ffffff;
}

.page-consent .consent-buttons.bottom {
  text-align: center;
}

.consent-form input {
  height: 13px;
}

.navbar-header {
  position: relative;
  top: -4px;
}
.navbar-brand > .icon-banner {
  position: relative;
  top: -2px;
  display: inline;
  height: 60px;
}
.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: "";
}
.navbar-nav {
  justify-content: flex-end;
}

.navbar-nav > li > .dropdown-menu {
  position: relative;
}

#login-provider-selection {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  flex-direction: column;
}

#login-provider-selection > * {
  margin-top: 20px;
}
