/* Manage layout and footer positioning */
body{
    height:100vh;
    margin:0;
    display:flex; 
    flex-direction:column;
    font-family: -apple-system-body, Arial, Helvetica, sans-serif;
}


footer{
    margin-top:auto;
    background-color: #fff;
    background-image: url('../images/bg-footer-abstract.png');
    padding-top: 20px;
    padding-bottom: 20px;
}
	
.header-corporate {
    padding: 0 10px 0 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    height: 107px;
    transition: height 0s linear;
    align-items: center
}

.hdr-img-md {
    height: 100px;
    width:auto;
}

.navbar-header {
    width: 100%;
    background-color: #007687;
    line-height: 50px;
	/* background-image: url(../images/bg-title-right-abstract.png); */
	background-repeat: no-repeat;
	background-position: right;
	height: 50px;
	box-shadow: 0 .4rem .4rem rgba(0,0,0,.08);
}

h1, h2, h3 {
    font-weight: 300;
}

@media(min-width: 768px) {
    .header-corporate_ {
        height: 60px;
    }
    .hdr-img-md_ {
        height: 60px;
    }
    #Logo {
        text-align: right;
    }    
}

/* Brand and sub-brand colours */
.bg-qedbluedark, .bg-qteachers, .bg-qparents, .bg-qsuite, .bg-qlearn{
    background-color: #0B2E4C;
}
.bg-qedbluemid{
    background-color: #007687;
}


.bg-office365 {
    background-color: #D53B00;
}
.bg-thelearningplace {
    background-color: #415D00;
}

.bg-qteachers {
    /* optional lead/trail block colour style
    border-bottom: 4px solid #F7941D;
    background: linear-gradient(to right, #0B2E4C 300px, #F7941D 300px, #F7941D);
    */
}

div.bg-qteachers .navbar-brand::first-letter  {
    color: #F7941D;
}
div.bg-qlearn .navbar-brand::first-letter  {
    color: #BB68FF;
}
div.bg-qparents .navbar-brand::first-letter  {
    color: #7DCBE0;
}



/* vertical-line */
.vertical-line {
    width: 1px;
    background-color: gray;
    height: 100%;
    float: right;    
}



/* Form override */
.form-floating > label {
    opacity: 1!important;
}



/* button style */
.btn-qed {
    color: #282828;
    background-color: #EDEFF1;
    border-color: #888888;
}
.btn-qed:hover, .btn-qed:active  {
    color: white;
    background-color: #007687;
    border-color: #00838F;
}

/* some spacing tweaks */

.nav-item-minwidth {
    min-width: 80px;
}
.nav-link-margin {
    margin-top:25px;
}

header .brand-main {
    height:108px;
}
header .brand-sub {
    height:50px;
}

/*
Ensure main content fits in cft
is adjusted for small devices
and footer is hidden for non-web devices
*/
.webbrowser-invalid {
    display:none;
}
/* .main-margins {
    margin-top:10px;
    margin-bottom: 30px;
}
@media only screen and (max-width: 1920px) {
    .main-margins {
        margin-top:80px;
        margin-bottom: 180px;
    }
} */


/* Style and collapse the CUE footer into columns on small devices */
.hidden {
	visibility: hidden;
}
.cuelinks{
        text-align:center;        
    }
    .cuelinks ul li{
        display:inline;
        padding-left:10px;
        padding-right:10px;
    }

    .cuelinks ul li a, .cuelinks ul li a:visited{
        color: #007687;
    }
    .cuelinks ul li a:hover, .cuelinks ul li a:active{
        text-decoration: underline;
    }

    .cuelinks ul li:not(:last-child){
        border-top: none;
        border-right: 1px solid rgba(255, 255, 255, .5);
        border-bottom: none;
        border-left: none;
}

@media only screen and (max-width: 1000px) {
    .cuelinks ul li{
        display:block;
    }
    .cuelinks ul {
        padding-left: 0px;
    }
}

a {
    color: #007687;
}

.doe-graphic-device {
    background: linear-gradient(90deg, #0f2d52 0%, #0f2d52 25%, #ffcf01 25%, #ffcf01 33%, #65cbe6 33%, #65cbe6 59%, #f6861f 59%, #f6861f 72%, #00babe 72%, #00babe 83%, #a6ce39 83%, #a6ce39 100%);
    padding: 5px;
    height: 10px;
    margin-top: -20px;
    margin-bottom: 20px;
}

.form-check-input:checked {
    border-color: #007687;
    background-color: #007687;
}

.form-check-input:focus, .form-control:focus, .btn:focus {
    border-color: #007687;
    box-shadow: 0 0 0 0.25rem rgba(0, 131, 143,.25);
}

/* Password reset form styling updates */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

#corporate-user,
#corporate-user~label,
#student-user,
#student-user~label {
    cursor: pointer;
}

.requirements-list,
.requirement-categories {
  list-style-type: none;
  padding-left: 0;
}

.requirements-list .requirement-categories {
  padding-left: 10px;
}

.requirement-met {
  align-items: center;
  /* Vertically align text and icon */
}

/* Radio alignment */
.corp-user-select,
.school-user-select {
  width: 50%;
  float: left;
  margin-bottom: 15px;
}

@media only screen and (max-width: 499px) {
  .corp-user-select,
  .school-user-select {
    width: initial;
    float: initial;
  }
}

/* First level custom bullet point */
.requirements-list li.top-level-bullet:not(.requirement-met)::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 0.4em;
  height: 0.4em;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8 8"%3E%3Ccircle cx="4" cy="4" r="4" fill="currentColor" /%3E%3C/svg%3E')
    no-repeat center / contain;
  margin-right: 0.5em;
}

/* Second level custom bullet point */
.requirements-list li:not(.requirement-met)::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 0.4em;
  height: 0.4em;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Ccircle cx="8" cy="8" r="7" fill="none" stroke="currentColor" stroke-width="2" /%3E%3C/svg%3E')
    no-repeat center / contain;
  margin-right: 0.5em;
  min-width: 15px;
}

/* Tick svg/icon against requirement bullet */
.requirement-met::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3E%3Cpath d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"%3E%3C/path%3E%3C/svg%3E')
    no-repeat center/contain;
  filter: invert(49%) sepia(73%) saturate(2213%) hue-rotate(77deg)
    brightness(95%) contrast(93%);
  vertical-align: middle;
  min-width: 15px;
}

/* Cross svg/icon against requirement bullet*/
.requirements-list ul:not(.requirement-categories) li.requirement-unmet::before,
.requirements-list li.requirement-unmet.top-level-bullet:not(.requirement-met)::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 1em;
    height: 1em;
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"%3E%3Cpath d="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"%3E%3C/path%3E%3C/svg%3E') no-repeat center / contain;
    filter: invert(29%) sepia(100%) saturate(7500%) hue-rotate(2deg) brightness(95%) contrast(93%);
    margin-right: 0.5em;
}

.warning-placeholder {
    display: none;
    color: #E00000;
    margin-top: 5px;
}

#username.email-detected,
#username.domain-detected,
#username.username-empty,
#username.username-has-prefixed-number,
#password.password-empty,
#newPassword1.password-empty,
#newPassword1.password-unsupported,
#newPassword2.password-empty {
    outline: 1px solid rgb(227, 66, 52);
}

#username.email-detected~#email-warning,
#username.username-has-prefixed-number~#username-number-prefix-warning,
#username.domain-detected~#domain-warning,
#username.username-empty~#username-warning,
#password.password-empty~#current-password-warning,
#newPassword1.password-empty~#new-password-warning,
#newPassword1.password-unsupported~#unsupported-special-char-warning,
#newPassword2.password-empty~#confirm-password-warning {
    display: block;
}

.error-placeholder {
  display: none;
}

#newPassword2.error ~ #password-mismatch {
  display: block;
  color: #E00000;
}

svg.icon-eye {
  float: right;
  cursor: pointer;
  top: -37px;
  right: 15px;
  position: relative;
  display: none;
}

svg.icon-eye.show {
  display: block;
}

.icon-medium {
  width: 22px;
  height: 26px;
}

.icon-checkmark svg {
  filter: invert(49%) sepia(73%) saturate(2213%) hue-rotate(77deg)
    brightness(110%) contrast(93%);
}

.icon-cross svg {
  filter: invert(29%) sepia(100%) saturate(7500%) hue-rotate(2deg)
    brightness(100%) contrast(93%);
}

form input.form-control {
  padding-right: 45px;
}

.btn-qed:hover .loading-indicator,
.btn-qed:active .loading-indicator {
  width: 1.5rem;
  height: 1.5rem;
  border-color: white;
  border-right-color: transparent;
}

.btn-qed .loading-indicator,
.btn-qed .loading-indicator {
  width: 1.5rem;
  height: 1.5rem;
  border-color: #282828;
  border-right-color: transparent;
}

/*Do not display browser password toggle implementation*/
input::-ms-reveal,
input::-ms-clear {
  display: none;
}
