﻿@font-face {
  font-family: "Tele-GroteskNor";
  src: url("../fonts/Tele-GroteskNor.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---Hide input numeric type arrows---*/
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}
/* ------------------------------------*/

html, body, .app-container {
  height: 100%;
}

body {
  margin: 0;
}

.welcome-page, .grants, .page-header {
  margin: 65px;
  font-family: "Rubik";
}

header {
  position: absolute;
  right: 0px;
  left: 0px;
  z-index: 1;
}

main {
  position: absolute;
  top: 46px;
  bottom: 0px;
  width: 100%;
  height: auto;
}

.app-container header .header {
  height: 46px;
  background-color: rgb(226,0,116);
  color: rgb(255,255,255);
}

.telekom-logo {
  position: absolute;
  left: 40px;
  top: 9px;
}

.telekom-logo svg {
  height: 29px;
  width: 59.01px;
  fill: rgb(255,255,255);
}

.app-title {
  font-family: "Tele-GroteskNor";
  text-align: center;
  padding-top: 10px;
  font-size: 22px;
  letter-spacing: 0.2px;
  line-height: 25px;
  text-align: center;
}

header .user {
  position: absolute;
  top: 0px;
  right: 40px;
  font-family: "Tele-GroteskNor";
  text-align: center;
  padding-top: 10px;
  font-size: 22px;
  letter-spacing: 0.2px;
  line-height: 25px;
}

header .user a {
  color: rgb(255,255,255);
  text-decoration: none;
  margin: 10px;
}

header .user a.logout {
  color: rgb(255,255,255);
  text-decoration: underline;
}

.login-container {
  height: 100%;
  color: rgb(45,48,80);
}

.tv-image {
  width: calc(100% - 380px);
  height: 100%;
  position: relative;
}

.tv-image img {
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

@media only screen and (max-width: 767px) {
  img {
    display: none;
  }
}

@media only screen and (max-height: 512px) {
  img {
    display: none;
  }
}

.login {
  position: absolute;
  right: 0px;
  top: 0px;
  height: 100%;
  width: 380px;
  box-shadow: 0 0 0 1px rgba(56,56,56, 0.08), 0 7px 15px 1px rgba(56,56,56, 0.25);
  border-radius: 2px;
  padding: 40px;
  box-sizing: border-box;
}

.button-container {
  margin-top: 10px;
}

.login .info {
  font-family: "Tele-GroteskNor";
  font-size: 24px;
  letter-spacing: 0.3px;
  line-height: 28px;
  margin-bottom: 29px;
}

.login .info-small {
    font-family: "Tele-GroteskNor";
    font-size: 12px;
    letter-spacing: 0.3px;
}

.login .alert {
  font-family: "Rubik";
  font-size: 14px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid rgb(202,203,211);
  border-radius: 4px;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
}

.login .form-group {
  font-family: "Rubik";
  position: relative;
  margin-right: 20px;
  margin-bottom: 20px;
  width: 268px;
  display: inline-block;
}

.login .form-group input {
  font-family: inherit;
  display: block;
  outline: none;
  width: 100%;
  height: 35px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 13px;
  letter-spacing: .4px;
  border: 1px solid rgb(202,203,211);
  background: rgba(45,48,80,0.08);
  color: rgb(45,48,80);
  margin-top: 20px;
  text-overflow: ellipsis;
  border-radius: 2px;
  transition: border-color .3s linear, background-color .3s linear;
}

::placeholder {
  font-weight: 300;
  color: rgba(45,48,80,0.36);
}

.login .form-group input:focus {
  border-color: rgba(45,48,80,0.36);
}

.login .form-group input:focus {
  background: rgba(226,0,116,0.1);
  border-color: rgb(226,0,116);
}

.login .form-group label {
  color: rgba(45,48,80,0.42);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.4px;
  line-height: 12px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  letter-spacing: .4px;
  cursor: text;
  padding-left: 2px;
}


.login .btn-primary,
.login .btn-tertiary {
    border: none;
    outline: none;
    text-transform: uppercase;
    display: inline-flex;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.2px;
    line-height: normal;
    border-radius: 2px;
    font-weight: 400;
    padding: 10px 20px;
    font-size: 13px;
    height: 35px;
    vertical-align: middle;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    background-color: rgb(226,0,116);
    color: rgb(255,255,255);
    box-shadow: 0 -1px 0 0 rgba(0,0,0,0.15) inset;
}

.login .btn-primary .title,
.login .btn-tertiary .title {
    vertical-align: middle;
    position: relative;
    margin-right: auto;
    margin-left: auto;
}

.login .btn-primary:hover, .login .btn-primary:focus {
    background-color: rgb(201,0,104);
}

.login .btn-primary:active {
    background-color: rgb(45,48,80);
    box-shadow: inset 0 2px 0 0 rgba(0,0,0,0.15);
}

.login .btn-tertiary {
    background-color: rgb(255,255,255);
    color: rgba(45,48,80, 0.54);
    box-shadow: none;
}

.login .btn-tertiary:active {
    background-color: rgba(45,48,80, 0.13);
}

.login .btn-tertiary:hover, .login .btn-tertiary:focus {
    background-color: rgba(45,48,80, 0.08);
}

.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: '';
}

.qrcode-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qrcode-container .manual-entry-key {
  text-align: center;
  font-weight: bold;
  color: rgb(226, 0, 116);
  padding-bottom: 10px;
}

.qrcode-container .qrcode {
  padding-bottom: 10px;
}

.qrcode-container .qrcode img {
  width: 200px;
  border-radius: 15px;
  border: 2px dashed rgb(226, 0, 116);
}