﻿@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --primary: #ED7422;
  --primary-dark: #c9631d;
  --secondary: #345DAE;
  --secondary-dark: #2c4f94;
  --font-family-sans-serif: 'Lato', sans-serif;
  --font-family-heading: 'Nunito', sans-serif;
  --app-color-links: var(--primary);
  --app-color-footer: #000;
  --app-color-footer-content: #808080;
}

/* Layout */
body {
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: var(--font-family-sans-serif);
  color: #222222;
}

main {
  background: radial-gradient(circle at 50% 100%, #ccc8 27%, #fffd 70%, #fff5);
  position: relative;
}

@media only screen and (max-width: 600px) {
  #ProgrammeLogo {
    height: 160px;
  }

  body {
    background-position: 40% center;
  }

  main {
    width: 100%;
    background: radial-gradient(circle at 50% 100%, #cccd 27%, #fffc 70%);
  }
}

.form-control, .btn {
  height: 45px;
}

a, a:hover {
  color: var(--app-color-links);
}

#ProgrammeLogo {
  background-image: url('./images/programme-logo.svg');
  height: 140px;
  width: 100%;
  margin: 40px auto 20px auto;
  min-height: 140px;
}

label.control-label {
  font-family: var(--font-family-heading);
  font-weight: 600;
}

  label.control-label[for='Password'] {
    display: none;
  }

.link-group {
  margin-top: 0px !important;
  text-align: left;
}

#IdentityLinks {
  font-size: .9em;
}

.btn {
  /*color: #fff;*/
}

.btn-primary {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-local-login {
    display: none;
}

.inline-local-login {
    display: inline;
}

.btn-outline-light {
  color: black;
  background: #eee;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  color: black;
  background-color: var(--secondary);
  border-color: var(--secondary);
}

  .btn-secondary:hover,
  .btn-secondary:focus,
  .btn-secondary:active {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
  }

#ExternalAuth {
  border-bottom: 1px solid var(--secondary);
}

#IdentityContent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 80%;
  padding-inline: 3rem;
}

@media only screen and (max-width: 600px) {
  #IdentityContent {
    padding-inline: 1.5rem;
  }
}

#IdentityLinks li:last-child {
  border-bottom: 1px solid var(--secondary);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Translates the SVG colour to white */
.footer-logo img {
  filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(150deg) brightness(107%) contrast(101%);
}
