﻿body {
    background-image: url('../images/kp-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    overflow-x: hidden
}
@media screen and (max-width: 768px){
    body{
        background-image: url('../images/kp-background-mobile.jpg');
    }
}
.appBanner{
    padding: 10px 0;
    background: #222222;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
    animation: appBanner 0.5s ease 2s forwards;
}
.appBanner p{
    color: white;
    margin: 0;
}
@keyframes appBanner{
    from{
        transform: translateY(100%)
    }
    to{
        transform: translateY(0%)
    }
}
.login-page{
    width: 100%;
    min-height: 100vh;
    padding: 100px 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
@media screen and (max-width: 768px) {
    .login-page{
        padding: 50px 0.675em 100px 0.675em;
    }
}
.login-card{
    background: white;
    position: relative;
    padding: 3em;
    max-width: 650px;
    border-radius: 18px;
    transition: transform 0.2s ease;
}
.login-card img{
    max-width: 180px;
}
.login-card h1{
    font-size: 36px;
}
@media screen and (max-width: 768px) {
    .login-card h1{
        font-size: 26px;
    }

}
.login-card h1 ~ p{
    color: #555555;
}
.login-card.helpVisible{
    transform: rotate(-3deg);
}


.login-card .alert ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.login-card .alert{
    color: white;
    border-radius: 12px;
    background: tomato;
    border: 0;
}
.textBtn {
    margin-top: 30px;
    color: white;
    border: 0!important;
    background: transparent!important;
    font-weight: 600;
    text-decoration: underline;
}
.help-card{
    color: white;
    position: absolute;
    padding: 3em;
    width: 100%;
    height: 100%;
    background: #FF9900;
    border-radius: inherit;
    top: 0;
    z-index: -1;
    left: 0;
    transition: transform 0.3s ease;
    transform: rotate(3deg);
}
@media screen and (max-width: 768px){
    .help-card, .login-card{
        padding: 3em 1.2em 1.2em 1.2em;
    }
}
.help-card.helpHidden{
    animation: helpOut 0.5s ease forwards;

}
.contact-methods{
    text-align: center;
}
.contact-methods a{
    font-size: 11px;
    color: black;
    text-decoration: none;
    font-weight: 500;
}
.contact-methods svg{
    height: 40px;
    margin: 0 auto;
}
.help-card.helpVisible{
    animation: helpIn 0.5s ease forwards;
}
@keyframes helpIn{
    0%{
        left: 0%;
        z-index: -1;
    }
    50%{
        left: 300px;
        z-index: 1;
    }
    100%{
        left: 0;
        z-index: 1;
    }
}
@keyframes helpOut{
    0%{
        left: 0%;
        z-index: 1;
    }
    50%{
        left: 300px;
        z-index: -1;
    }
    100%{
        left: 0;
        z-index: -2;
    }
}

.form-floating input{
    border: 1px solid #EEEEEE;
    background: #F5F5F5;
    border-radius: 10px;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #F5F5F5 inset !important;
}
.login-card .btn{
    border-radius: 10px!important;
}
.backBtn{
    position: absolute;
    top: 16px;
    right: 16px;
    border: 0;
    outline: 0;
    background: #333333;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}
.backBtn svg{
    width: 16px;
    height: 16px;
}
.text-divider{
    margin: 20px 0;
    display: block;
    color: #999999;
}
.text-divider:before{
    margin-right: 10px;
}
.text-divider:after{
    margin-left: 10px;
}
.text-divider:before, .text-divider:after{
    content: '-----';
    letter-spacing: -5px;
}
/* Stop login text/label expanding login details*/
.login-details { 
    max-width: 719px;
}
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.navbar-kidspass{ /*background of navbar set to display header image. Image resizes with viewport*/
  position: static; /*Edit this out to make menu sticky on mobile*/
  background-image: url("../images/kidspassheader.jpg");
  background-size: 100% 630px;
  background-color: #ffd225;
  background-repeat: no-repeat;
}
.icon-banner {
    max-width: 4em;
}
.body-content {
    min-height: 100dvh;
}

/*footer*/
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 60px; /* Set the fixed height of the footer here */
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}
.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: '';
}