.header-wrap *, .header-wrap :before, .header-wrap :after {
  box-sizing:border-box;
}

/* On mobile, default values are correct, so we only add css on tablet and desktop */
div#late-login-widget{
  position: absolute;
  margin-right: 4px; /* Bootstrap fix. Previously was 15px */
}

div#late-login-widget strong{
  font-weight: normal;
  font-family:"Ciutadella-Medium", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (max-width: 980px) {
  div#late-login-widget{
     margin-right: 5px;
  }
}

@media (max-width: 767px) {
  #late-login-widget{
    position: relative;
    right: initial;
    width: 100%;
    overflow-x:hidden;
  }
}

.ql-login-widget-container{
  margin-left: inherit;
  margin-right: inherit;
  border-bottom: none;
  border-top: #ee0000 8px solid;
  background-color:#F4F5F6;
  position: absolute;
  right: -4px;
  box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.2);
  width: 335px;
  z-index: 1;
}

@media (min-width:768px) {
  .llw-loggedin .ql-login-widget-container {
     left: 0;
     right: unset;
     width: 270px;
     transform: translateX(-100%);
  }
}

@media (max-width: 767px){
    .llw-loggedin .ql-login-widget-container {
      transform: translateX(0%) !important;
      width: auto;
      right: 0px;
    }
}

@media (max-width: 767px){
  .ql-login-widget-container{
    margin-left: -4px;
    margin-right: -4px;
    border-bottom: #ee0000 4px solid;
    border-top: none;
    position: relative;
    width: auto;
    box-shadow: none;
    right: 0px;
  }
}

.ql-login-widget-title{
  padding: 12px 16px 12px 16px;
  font-family:"Ciutadella-Medium", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  font-size: 16px;
}

/* Original QF css. Modifications have comments */

.ql-login-grey-bg{
  margin:1rem 0;
  background-color:#F4F5F6;
  width:100%;
  overflow:hidden
}

.ql-login-transparent-bg{
  margin:1rem 0;
  background-color:transparent;
  width:100%;
  overflow:hidden
}

.ql-login-black-bg{
  color:#fff!important;
  margin:1rem 0;
  background-color: #323232;
  width:100%;
  overflow:hidden
}

.ql-login-widget{
  color:#222;
  padding:0;
  margin:0;
  font-family:"Ciutadella-Regular", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight:normal;
  font-style:normal;
  line-height:1.5;
  position:relative;
  cursor:auto
}

.ql-login-row{
  width:100%;
  margin:0 auto;
  max-width:62.5rem
}

.ql-login-row .ql-login-row{
  width:auto;
  margin:0 -.9375rem;
  max-width:none
}

.ql-login-column{
  position:relative;
  padding-left:.9375rem;
  padding-right:.9375rem;
  float:left;
  width:100%
}

@media only screen and (min-width:48em){
  .ql-login-4{
    width:33.3333333333%
  }
}

@media only screen and (min-width:60em){
  .ql-login-offset-5{
    margin-left:41.6666666667%!important
  }
}

@media only screen and (min-width:60em){
  .ql-login-7{
    width:58.3333333333%
  }
}

@media only screen and (min-width:48em){
  .ql-login-5{
    width:41.6666666667%
  }
}

.ql-login-12{
  width:100%
}

/* max-width added to fit the wanted size (and it is only used for the PIN row) */
.ql-login-2{
  width:16.6666666667%;
  max-width: 28px
}

/* max-width added to fit the wanted size (and it is only used for the PIN row) */
.ql-login-10{
  width:83.3333333333%;
  max-width: 136px;
}

.ql-login-link{
  color:#E30000;
  text-decoration:none;
  font-size:14px
}

.ql-login-link:hover{
  text-decoration:underline
}

.ql-login-black-bg .ql-login-link{
  color:#fff
}

.ql-login-widget>.ql-login-row>.ql-login-column{
  margin-top:16px;
  margin-bottom:16px
}

.ql-login-widget .ql-login-row .small{
  font-size:80%
}

.ql-login-submit-button{
  cursor:pointer;
  background-color:#e00;
  border-radius:4px;
  font-size:14px;
  line-height:24px;
  letter-spacing:1.5px;
  color:#fff;
  font-weight:normal;
  height:48px;
  width:100%;
  text-align:center;
  border:none;
  transition:background-color .2s
}

.ql-login-submit-button:hover{
  background-color:#cd0000
}

.ql-login-submit-button:active{
  background-color:#870000
}

.ql-login-input,body div.wrapper div#main .LSLLoginForm-container form input{
  width:100%;
  height:48px;
  font-size:16px!important;
  color:#323232;
  line-height:25.5px;
  padding:10.5px 14px 12px!important;
  border:2px solid #dadada!important;
  border-radius:0
}

.ql-login-input::-ms-clear,body div.wrapper div#main .LSLLoginForm-container form input::-ms-clear{
  display:none
}

.ql-login-input:focus,body div.wrapper div#main .LSLLoginForm-container form input:focus{
  outline:none;
  border-color:#90e2df!important
}

.ql-login-input--validation-error{
  outline:none;
  border-color:#ed710b
}

.ql-login-widget__label, .widget-form__label{
  font-size:14px;
  margin-bottom:0px;
}

/* Breakpoint added to fit the size of the PIN box in zepplin. */
.ql-login-pin-row{
  max-width:166px;
}

@media (max-width: 767px) {
  .ql-login-pin-row{
    max-width: none;
  }
}

.ql-login-error{
  padding:15px;
  background:#fcebcd;
  color:#222!important
}

.ql-login-success{
  padding:15px;
  background:#bff4f2;
  color:#222!important
}

.ql-login-exclamation-icon{
  float:left
}

.ql-login-tick-icon{
  float:left;
  margin-top:5px
}

.ql-login-error-text,.ql-login-success-text{
  margin-left:30px
}

.ql-login-aem-links a{
  color:#323232;
  text-decoration:none;
  cursor:pointer
}

.ql-login-aem-links a:hover{
  text-decoration:underline
}

.ql-login-widget ul{
  list-style:none;
  padding:0;
  margin:0
}

.ql-login-widget li{
  margin:0 0 5px;
  list-style:none
}

.ql-login-widget li a:focus{
  outline:5px auto -webkit-focus-ring-color
}

.ql-login-member-details{
  text-align:center;
  color:#fff;
  font-weight:normal;
  padding:20px;
  margin-top:0!important
}

.ql-login-background-bronze{
  background:#eb0b19
}

.ql-login-background-silver{
  background-color:#b3b2b8
}

.ql-login-background-gold{
  background-color:#c0b07f
}

.ql-login-background-platinum{
  background-color:#535459
}

.ql-login-background-platinum-one{
  background-color:#e2e2df
}

.ql-login-background-chairmans-lounge{
  background-color:#343434
}

.ql-login-logout-button{
  cursor:pointer;
  background-color:#f4f5f6;
  border-radius:4px;
  font-size:14px;
  line-height:24px;
  letter-spacing:1.5px;
  color:#e00;
  font-weight:normal;
  font-family:"Ciutadella-Medium", "Helvetica Neue", Helvetica, Arial, sans-serif;
  height:48px;
  width:100%;
  text-align:center;
  border:1px solid #e3000b;
  transition:background-color .2s;
  margin-bottom:20px
}

.ql-login-logout-button:hover{
  color:#fff;
  background-color:#cd0000;
  border:2px solid #cd0000
}

.ql-login-logout-button:active{
  color:#fff;
  border:2px solid #870000;
  background-color:#870000
}

.ql-login-points-count{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}

.ql-login-no-margin{
  margin:0!important
}

.ql-login-triangle__outer{
  border-bottom:10px solid #fcebcd;
  border-left:10px solid transparent;
  border-right:10px solid transparent;
  left:50%;
  position:absolute;
  top:1px;
  left:20px
}

.ql-login-triangle__inner{
  border-bottom:8px solid #fcebcd;
  border-left:8px solid transparent;
  border-right:8px solid transparent;
  left:50%;
  position:absolute;
  top:4px;
  left:20px
}

.ql-login-border-orange{
  border:2px solid #ed710b
}

.ql-login-required{
  background-color:#fcebcd;
  border:.5px solid hsla(0,0%,59%,0);
  font-size:14px;
  color:#323232;
  padding:10px 13px
}

.ql-login-required-container{
  padding-top:20px;
  position:relative
}

.ql-login-footnote svg{
  margin-left:5px
}

.ql-login-error-heading{
  font-size:16px;
  font-family:"Ciutadella-Medium", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight:normal;
}

.ql-login-error-sub-heading{
  font-size:14px
}

.checkbox-icon{
  display:inline-block;
  margin-right:8.5px;
  position:absolute
}

.checkbox-icon__box{
  margin-bottom:-7px
}

.checkbox-icon__box:active,
.checkbox-icon__box:focus{
  outline:none
}

.checkbox-icon__tick{
  left:0;
  position:absolute;
  top:0
}

.checkbox-icon__tick:active,
.checkbox-icon__tick:focus{
  outline:none
}

.checkbox-icon__box-border{
  stroke:#dadada
}

.checkbox-icon__box-border--focused{
  stroke:#90e2df
}

.ql-login-checkbox-container{
  min-height:48px;
  padding:11px 15px 11px 0
}

.ql-login-checkbox-label{
  font-size:14px;
  position:relative
}

.ql-login-checkbox-label-text{
  background-repeat:no-repeat;
  background-size:24px 24px;
  display:inline-block;
  font-size:14px;
  height:24px;
  margin-top:2px;
  padding-left:35px
}

.ql-login-checkbox{
  height:10px;
  position:absolute;
  width:10px;
  left: -9000px;
}

.ql-login-checkbox:focus{
  outline:none
}

.ql-login-checkbox-wrapper{
  margin:0 0 1em
}

.ql-login-lightbox-open{
  overflow:hidden
}

.ql-login-lightbox{
  display:none;
  overflow:hidden;
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index:1050;
  -webkit-overflow-scrolling:touch;
  outline:0
}

.ql-login-lightbox.fade .ql-login-lightbox-dialog{
  -webkit-transform:translateY(-25%);
  transform:translateY(-25%);
  -webkit-transition:-webkit-transform .3s ease-out;
  transition:transform .3s ease-out
}

.ql-login-lightbox.in .ql-login-lightbox-dialog{
  -webkit-transform:translate(0);
  transform:translate(0)
}

.ql-login-lightbox-open .ql-login-lightbox{
  overflow-x:hidden;
  overflow-y:auto
}

.ql-login-lightbox-dialog{
  position:relative;
  width:auto;
  margin:10px
}

.ql-login-lightbox button.close{
  padding:0;
  cursor:pointer;
  background:transparent;
  border:0;
  -webkit-appearance:none
}

.ql-login-lightbox .close{
  float:right;
  font-size:21px;
  font-weight:normal;
  font-family:"Ciutadella-Medium", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height:1;
  color:#000;
  text-shadow:0 1px 0 #fff;
  opacity:.2;
  filter:alpha(opacity=20)
}

.ql-login-lightbox .close:focus,
.ql-login-lightbox .close:hover{
  color:#000;
  text-decoration:none;
  cursor:pointer;
  opacity:.5;
  filter:alpha(opacity=50)
}

.ql-login-lightbox-content{
  position:relative;
  background-color:#f4f5f6;
  border:1px solid #999;
  border:1px solid rgba(0,0,0,.2);
  border-radius:6px;
  box-shadow:0 3px 9px rgba(0,0,0,.5);
  background-clip:padding-box;
  outline:0
}

.ql-login-lightbox-backdrop{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index:1040;
  background-color:#000
}

.ql-login-lightbox-backdrop.fade{
  opacity:0;
  filter:alpha(opacity=0)
}

.ql-login-lightbox-backdrop.in{
  opacity:.5;
  filter:alpha(opacity=50)
}

.ql-login-lightbox .modal-header{
  padding:10px 15px 0
}

.ql-login-lightbox .modal-header .close{
  margin-top:-2px
}

.ql-login-lightbox .modal-title{
  margin:0;
  line-height:1.42857143
}

.ql-login-lightbox .modal-body{
  position:relative;
  padding:0 15px
}

.ql-login-lightbox .modal-footer{
  padding:15px;
  text-align:right;
  border-top:1px solid #e5e5e5
}

.ql-login-lightbox .modal-footer .btn+.btn{
  margin-left:5px;
  margin-bottom:0
}

.ql-login-lightbox .modal-footer .btn-group .btn+.btn{
  margin-left:-1px
}

.ql-login-lightbox .modal-footer .btn-block+.btn-block{
  margin-left:0
}

.ql-login-lightbox-scrollbar-measure{
  position:absolute;
  top:-9999px;
  width:50px;
  height:50px;
  overflow:scroll
}

@media (min-width:768px){
  .ql-login-lightbox-dialog{
    width:600px;
    margin:30px auto
  }
  .ql-login-lightbox-content{
    box-shadow:0 5px 15px rgba(0,0,0,.5)
  }
  .ql-login-lightbox-sm{
    width:300px
  }
}

@media (min-width:992px){
  .ql-login-lightbox-lg{
    width:900px
  }
}

.ql-login-lightbox .modal-footer:after,
.ql-login-lightbox .modal-footer:before,
.ql-login-lightbox .modal-header:after,
.ql-login-lightbox .modal-header:before{
  content:" ";
  display:table
}

.ql-login-lightbox .modal-footer:after,
.ql-login-lightbox .modal-header:after{
  clear:both
}

/* End of QF css */

.ql-login-widget-footer{
  height: 0px;
  margin-right: 0;
  margin-left: 0;
}

@media (max-width: 767px) {
  .ql-login-widget-footer{
    margin-left: -4px;
    margin-right: -4px;
    height: 80px;
    background-color: #F4F5F6;
  }
}