/* CSS reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: normal;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
  overflow-y: scroll;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* global css */

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  display: flex;
  background: #f7f8f9;
  font: normal normal 14px/24px Roboto, sans-serif;
  color: #000a28;
}

body * {
  box-sizing: border-box;
}

h1 {
  font-size: 32px;
  line-height: 1em;
}

.hide {
  display: none !important;
}

.cas__page {
  display: inline-block;
  margin: auto;
  height: auto;
  width: 394px;
}

/* cas__message - alert/toast messages */

.cas__message {
  padding: 8px;
  display: flex;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 4px;
  margin-bottom: 16px;
}

.cas__message .cas__icon {
  display: inline-block;
  vertical-align: middle;
  width: 24px;
  height: 24px;
}

.cas__message .cas__icon svg {
  width: 24px;
  height: 24px;
}

.cas__message .cas__text {
  padding-left: 8px;
  text-align: left;
}

.cas__message.cas__error {
  background: #faebeb;
  color: #900;
}

.cas__message.cas__error svg {
  fill: #900;
}

.cas__message.cas__success {
  background: #dff2ea;
  color: #006647;
}

.cas__message.cas__success svg {
  fill: #006647;
}

.cas__main {
  display: block;
  background: #fff;
  border: 1px solid #dfe0e5;
  border-radius: 4px;
  margin: auto;
  padding: 8px 0 0;
  text-align: center;
}

.cas__form {
  padding: 0 56px 56px;
}

.cas__content {
  color: #475166;
  font-size: 14px;
  line-height: 20px;
  padding: 0 24px 24px;
}

.cas__next {
  padding: 24px;
  border-top: 1px solid #dfe0e5;
  color: #475166;
  font-size: 14px;
  line-height: 20px;
}

.cas__next.no_border {
  border-top: 0;
}

.cas__next.no_border.no_top {
  border-top: 0;
  padding-top: 0;
}

.cas__logo {
  display: inline-block;
  max-width: 132px;
  padding: 24px;
}

.cas__clientLogo {
  max-width: 180px;
  margin: 32px auto 16px;
}

.cas__title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.125em;
  margin-bottom: 24px;
  margin-right: 18px;
  margin-left: 18px;
}

.cas__logo img,
.cas__clientLogo img {
  width: 100%;
  height: auto;
}

.cas__field {
  text-align: left;
  padding: 8px 0;
}

.cas__field label {
  margin: 0 0 4px 0;
  color: #27324d;
}

.cas__field input {
  box-sizing: border-box;
  border: 1px solid #c2c4cc;
  border-radius: 4px;
  width: 100%;
  font-size: 14px;
  padding: 10px;
}

.cas__field input:focus {
  border: 1px solid #0075c9;
  box-shadow: inset 0 0 0 1px #0075c9;
  outline: none;
}

.cas__action button,
.cas__action input {
  display: block;
  width: 100%;
  background: #0075c9;
  color: #fff;
  border-radius: 4px;
  margin: 16px 0 0;
  padding: 10px 16px;
  height: 40px;
  line-height: 1;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.3s ease 0s, background-color 0.3s ease 0s, box-shadow 0.3s ease 0s;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: none;
  border: none;
}

.cas__action button:hover,
.cas__action input:hover {
  background-color: #0059b2;
}

.cas__action .cas__link {
  display: inline-block;
  padding: 8px 0;
  margin-top: 16px;
}

.cas__cancel input {
  display: block;
  width: 100%;
  background: transparent;
  color: #0075c9;
  margin: 16px 0 0;
  padding: 10px 16px;
  height: 40px;
  line-height: 1;
  font-weight: 500;
  transition: color 0.3s ease 0s;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: none;
  border: none;
}

.cas__cancel input:hover {
  background-color: transparent;
  text-decoration: underline;
  color: #0059b2;
}

.cas__cancel input:focus {
  border: 1px solid #0075c9;
  box-shadow: inset 0 0 0 1px #0075c9;
  outline: none;
}

.cas__link a {
  color: #0075c9;
  font-weight: 500;
  text-decoration: none;
}

.cas__link a:hover,
.cas__link a:focus {
  color: #0059b2;
  text-decoration: underline;
}

.cas__message.cas__error a,
.cas__message.cas__error a:hover,
.cas__message.cas__error a:focus {
  color: #900;
  text-decoration: underline;
}

@media only screen and (max-width: 480px) {

  body {
    background-color: #fff;
  }

  .cas__page {
    margin: 0 auto;
    width: 314px;
  }

  .cas__main {
    border: none;
  }

  .cas__message,
  .cas__form {
    padding-right: 16px;
    padding-left: 16px;
  }

}

@media only screen and (max-width: 360px) {

  .cas__page {
    width: auto;
  }

}

/* standard log in screen */

.cas__field .cas__link a {
  display: block;
  font-size: 12px;
  line-height: 16px;
  margin: 8px 0 0 0;
}

/* reset screen */

.cas__passwordRestrictions {
  font-size: 12px;
  line-height: 16.8px;
  margin-top: 8px;
  color: #475166;
}

.cas__passwordRestrictions li {
  display: flex;
}

.cas__passwordRestrictions .cas__icon {
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 18px;
}

.cas__passwordRestrictions .cas__iconMet {
  fill: #006647;
}

.cas__passwordRestrictions .cas__iconNotMet {
  fill: #900;
}

.cas__passwordRestrictions .cas__text {
  padding: 1px 0 1px 2px;
}

.cas__titleMessage {
  padding: 0 56px 56px;
}

.footer {
  margin: 12px auto;
  text-align: center;
}

.footer a:link,
.footer a:active,
.footer a:visited {
  font-weight: 500;
  color: #0075c9;
  text-decoration: none;
}

.footer a:hover {
  color: #0059b2;
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #333;
  color: white;
  padding: 24px;
  z-index: 11;
  box-sizing: border-box;
}

.cookie-banner-content-wrapper {
  max-width: 1100px;
  margin: auto;
  display: grid;
  display: -ms-grid;
  grid-template-columns: [start] repeat(3, 1fr) [end];
  -ms-grid-columns: 1fr 16px 1fr 16px 1fr;
  -ms-grid-rows: 1fr 16px 1fr;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
}

.cookie-banner-text {
  margin: 0;
  grid-column-start: 1;
  grid-column-end: 4;
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 5;
}

.cookie-banner-privacy-link {
  margin: 0;
  grid-column-start: 1;
  grid-column-end: 3;
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  -ms-grid-row: 3;
  color: white;
  text-decoration: underline;
  display: block;
}

.cookie-banner-dismiss {
  padding: 12px 16px;
  border-radius: 4px;
  background-color: #F8F9FA;
  color: #163C4A;
  border: 1px solid #BBD5DF;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  -ms-grid-column: 5;
  -ms-grid-column-span: 1;
  -ms-grid-row: 3;
}

@media (min-width: 720px) {

  .cookie-banner-content-wrapper {
    grid-column-gap: 32px;
    grid-row-gap: 8px;
    -ms-grid-rows: 1fr 8px 1fr;
    grid-template-columns: [start] repeat(12, 1fr) [end];
    -ms-grid-columns: 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr 16px 1fr;
  }

  .cookie-banner-text {
    grid-column-end: 11;
    -ms-grid-column-span: 19;
  }

  .cookie-banner-privacy-link {
    grid-column-end: 11;
    -ms-grid-column-span: 19;
  }

  .cookie-banner-dismiss {
    grid-column-start: 11;
    grid-column-end: 13;
    grid-row: 1;
    -ms-grid-row: 1;
    -ms-grid-column: 21;
    -ms-grid-column-span: 3;
  }
}

@media (min-width: 1200px) {
  .cookie-banner-dismiss {
    grid-row-end: 3;
    -ms-grid-row-span: 3;
  }
}
