﻿html,
body {
  height: 100%;
  background-color: #F7F7F7;
}

.main {
  padding-top: 2em;
}

div .checkbox {
  margin-top: 1rem;
}

nav .brand-logo {
  padding: 0 10px;
}

.right-menu {
  padding: 0 10px;
}

.social-icon {
  /* Hide the text. */
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
  /* Hide actual button */
  border: none;
  background-color: rgba(0, 0, 0, 0);
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: none;
  width: 60px;
  height: 60px;
  margin: 0.5rem;
  /* A deeply obtuse hack to recolour the black SVG backgrounds to our primary colour. CSS fill won't wotk on backgrounds. */
  filter: invert(11%) sepia(10%) saturate(6660%) hue-rotate(199deg) brightness(104%) contrast(103%);
}

.social-icon:focus {
  background-color: rgba(0, 0, 0, 0);
}

button.extIdP {
  background-image: url(../images/logos/xBim_flex.svg);
}

button[value=Google] {
  background-image: url(../images/extId-logos/google.svg);
}

button[value=Facebook] {
  background-image: url(../images/extId-logos/facebook.svg);
}

button[value=Twitter] {
  background-image: url(../images/extId-logos/twitter.svg);
}

button[value=Microsoft] {
  background-image: url(../images/extId-logos/windows.svg);
}

button[value=LinkedIn] {
  background-image: url(../images/extId-logos/linkedin.svg);
}

button[value=isv-ifs] {
  background-image: url(../images/extId-logos/fxn-dev.svg);
}

button[value=fexillon-saas] {
  background-image: url(../images/extId-logos/fxn-saas.svg);
}

button[value=fexillon] {
  background-image: url(../images/extId-logos/fxn-ms.svg);
}

button[value=fexillon-aptitude] {
  background-image: url(../images/extId-logos/fxn-apt.svg);
}

.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: "";
}
dl {
  width: 100%;
  overflow: hidden;
}
dl dt {
  float: left;
  width: 30%;
  margin: 0 0 1em;
  font-weight: 600;
}
dl dd {
  float: left;
  width: calc(70% - 1em);
  margin: 0 0 1em;
}

.section-header {
  font-weight: 500;
  position: relative;
}

.section {
  width: 80%;
  margin: auto;
  padding-bottom: 0;
}

.inline-flex-logo {
  height: 4rem;
}
