

.frm {
max-width: 450px;

}
body {
  color: var(--fontcol);
  background: var(--bgcol);
  background-image: none;
  font-family: var(--fontfam);
  background-image: var(--bggrad);
}

.shadedarea {
  background-color: var(--altbgcol);
  background-position: center;
  color: var(--altfontcol);
  border-radius: 0px;
  border: 3px solid var(--altbordercol);
  box-shadow:var(--altshadow);

}
.shadedarea2{
  background-color: rgba(255,255,255,0.5);
  color: var(--altfontcol);
  border-radius: 0px;
  border: 3px solid var(--altbordercol);
  box-shadow:var(--altshadow);

}
.whitetext {

  color: white;
}
.mega{

  font-size: 3.5rem;
}

.winshield {

  padding-bottom: 50px;
  border-radius: 20px 20px 20px 20px;

  z-index: 5;
  position: fixed;
}

.fill {
  background-image: var(--bgimage);
  background-size: var(--bgsize);
    background-attachment: var(--bgattach);
    background-repeat: var(--bgrep) ;
      background-position: left;
      overflow-x: hidden;

  background-repeat: no-repeat;
}
.upper {

  text-transform: uppercase;
}
.yellowtext {

  color: #f4d994;

}
.blackshadow {

text-shadow: 0px 2px black, 2px 0px black, -1px 0px black, 0px -1px black;


}

input[type="submit"],
input[type="reset"]  {

  background-color: var(--buttoncol);
  color: var(--buttonfont);
  border-radius: 0px;
  border: 3px solid var(--buttonbordercol);
  cursor: pointer;
  font-family: var(--fontfam);
    box-shadow:var(--buttonshadow);
    font-weight: 900;
}

.PopoverHL {
position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
z-index: 5;
} 

.linkbox {

position: absolute;
  height: 200px;
  width: 95%;
  z-index: 99;
  margin-left: auto;
  margin-right: auto;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 500px;
}


.throwbutton  {
background-color: var(--buttoncol);
  color: var(--buttonfont);
  border-radius: 0px;
  border: 3px solid var(--buttonbordercol);
  cursor: pointer;
  font-family: var(--fontfam);
  box-shadow: var(--buttonshadow);
  font-weight: 900;
  padding: 15px 15px;
  width: 100%;
  text-align: center;
  font-size: 2.5rem;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}
.stall1 {
opacity: 1;
animation: delayshow 5s linear 1;

}

.stall2 {
opacity: 1;
animation: delayshow 8s linear 1;

}

.logoarea {
  width:95%;
  max-width: 550px;
margin-left: auto;
margin-right: auto;
position: relative;
min-height: 190px;
}

.logoimg {
  position: relative !IMPORTANT;
  margin-left: auto;
  margin-right: auto;
  width: 30%;
  max-width: 500px;
  display: block;
  max-height: unset !important;
  padding-right: 0px !important;

}
.checkarea2 {

  text-align: left;
}


.logo {
    width: 30%;
    max-width: 600px;
    height: auto;
    display: block;

    margin-right: 0;
    padding-top: 10px;
    z-index: 0;
    content: var(--logo);
    position: absolute;
  top: 0;
  right: 0;

}

.logo2 {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;

    margin-left: 0;
    z-index: 0;
    content: var(--logo2);
    position: relative;
  height: 100%;
  margin-left: -7vw;

}


.footerimg {
    max-width: 450px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 0;
    content: var(--footer);
    
display: inline-block;


}
.leftbotimg {
    max-width: 33%;
    height: auto;
    display: block;
    margin-left: 0;
    z-index: 0;
    content: var(--footer1);
display: inline-block;
float: left;
  object-fit: contain;
  object-position: bottom;
}
.rightbotimg {
    max-width: 33%;
    height: auto;
    display: block;
    margin-right: 0 ;
    z-index: 0;
    content: var(--footer2);
    
display: inline-block;
float: right;
  object-fit: contain;
  object-position: bottom;
}

.pagefooterimg {
    max-width: 450px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 0;
    content: var(--pagefooter);
    margin-top: -1px;
    width:90%;
}
.formfooter {

height:fit-content;
display: flex;
}
.footerimgarea {
width: 100vw;
}

.pagefooter {

  background-color: var(--footerbgcol);
  
  color: var(--footerfontcol);
height:auto;

}
.footercontainer {

  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}


.btn {
  background-color: var(--buttoncol);
  color: var(--buttonfont);
  border: 1px solid var(--buttonbordercol);
  cursor: pointer;
}

.link {
  color: var(--linkcol);
  text-decoration: none;
}

.shadedarea {
margin-top: 0px !important;
margin-bottom: 30px;
}


/* present anim*/


.present {
  height: 200px;
  left: 0;
  margin: 0 auto;
  perspective: 600px;
  position: relative;
  right: 0;
/*   top: 50%;
  transform: translateY(-50%); */
  margin-top: 90px;
  margin-bottom: 80px;
  width: 200px;
}

.name {
  font-size: 2em;
  font-weight: 100;
  position: absolute;
  text-align: center;
  top: 44%;
  transform: translate3d(0, -50%, 0) rotateY(0) rotateX(0);
  transition: transform 2.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  width: 100%;
}

.instruction {
  bottom: -70px;
  left: 0;
  opacity: 1;
  position: absolute;
  text-align: center;
  transition: opacity 0.5s;
  width: 100%;
  color: var(--footerfontcol);
}

.rotate-container {
  -webkit-animation: present-rotate 30s infinite linear;
          animation: present-rotate 30s infinite linear;
  height: 100%;
  transform: rotateY(170deg);
  transform-style: preserve-3d;
}

@-webkit-keyframes present-rotate {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes present-rotate {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(360deg);
  }
}
.bottom,
.front,
.left,
.back,
.right {
  background-color: #51348d;
  border: 2px solid rgba(0, 0, 0, 0.6);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
}

.bottom {
  transform: translateY(50%) rotateX(90deg);
}

.front,
.left,
.back,
.right {
  transition: transform 0.5s;
  transform-origin: bottom;
  transform-style: preserve-3d;
}

.front:after,
.left:after,
.back:after,
.right:after,
.lid-top:after,
.lid-front:after,
.lid-left:after,
.lid-back:after,
.lid-right:after {
  background: linear-gradient(45deg, #d4af37 5%, #debc5b 10%, #e7c97c 30%, #efd69d 50%, #e7c97c 70%, #debc5b 80%, #d4af37 95%);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  content: "";
  height: 100%;
  left: calc(50% - 10px);
  position: absolute;
  transform: translateZ(0.1px);
  width: 20px;
}

.lid-top:before {
  background: linear-gradient(45deg, #d4af37 5%, #debc5b 10%, #e7c97c 30%, #efd69d 50%, #e7c97c 70%, #debc5b 80%, #d4af37 95%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  content: "";
  height: 20px;
  left: 0;
  position: absolute;
  top: calc(50% - 10px);
  transform: translateZ(0.1px);
  width: 100%;
}

.left {
  transform: translateX(-50%) rotateY(-90deg);
}

.back {
  transform: translateZ(-100px) rotateY(180deg) rotateX(0);
}

.right {
  transform: translateX(50%) rotateY(90deg);
}

.front {
  transform: translateZ(100px);
}

.lid {
  -webkit-animation: lid-animation 3.5s 1s infinite;
          animation: lid-animation 3.5s 1s infinite;
  transform: translate3d(0, 0, 0);
  transform-style: preserve-3d;
  transition: transform 0.5s;
}

@-webkit-keyframes lid-animation {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0);
  }
  5% {
    transform: translate3d(0, -10px, -5px) rotateX(5deg);
  }
  10% {
    transform: translate3d(0, -10px, 5px) rotateX(-5deg);
  }
  15% {
    transform: translate3d(0, -10px, -5px) rotateX(5deg);
  }
  20% {
    transform: translate3d(0, -10px, 5px) rotateX(-5deg);
  }
  25% {
    transform: translate3d(0, -10px, -5px) rotateX(5deg);
  }
  30% {
    transform: translate3d(0, 0, 0) rotateX(0);
  }
}

@keyframes lid-animation {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0);
  }
  5% {
    transform: translate3d(0, -10px, -5px) rotateX(5deg);
  }
  10% {
    transform: translate3d(0, -10px, 5px) rotateX(-5deg);
  }
  15% {
    transform: translate3d(0, -10px, -5px) rotateX(5deg);
  }
  20% {
    transform: translate3d(0, -10px, 5px) rotateX(-5deg);
  }
  25% {
    transform: translate3d(0, -10px, -5px) rotateX(5deg);
  }
  30% {
    transform: translate3d(0, 0, 0) rotateX(0);
  }
}
.lid-top,
.lid-left,
.lid-back,
.lid-right,
.lid-front {
  background-color: #51348d;
  border: 4px solid rgba(0, 0, 0, 0.4);
  left: -5px;
  opacity: 1;
  position: absolute;
  top: 0;
  width: 210px;
  box-shadow: 0px 0px 20px rgba(0,0,0,0.5);
}

.lid-top {
  height: 210px;
  top: -5px;
  transform: translateY(-50%) rotateX(90deg);
  transform-style: preserve-3d;
}

.lid-left,
.lid-back,
.lid-right,
.lid-front {
  height: 40px;
  top: -5px;
  transform-style: preserve-3d;
}

.lid-left {
  transform: translateX(-50%) rotateY(-90deg);
}

.lid-back {
  transform: translateZ(-105px) rotateY(180deg);
}

.lid-right {
  transform: translateX(50%) rotateY(90deg);
}

.lid-front {
  transform: translateZ(105px);
}

.present:hover .lid {
  -webkit-animation: none;
          animation: none;
  transform: translate3d(0, -40px, -10px) rotateX(10deg);
}

.present.open .name {
  transform: translate3d(0, -50%, 10px) rotateY(1080deg) rotateX(10deg);
}
.present.open .instruction {
  opacity: 0;
}
.present.open .left {
  transform: translateX(-50%) rotateY(-90deg) rotateX(-90deg);
}
.present.open .back {
  transform: translateZ(-100px) rotateY(180deg) rotateX(-90deg);
}
.present.open .right {
  transform: translateX(50%) rotateY(90deg) rotateX(-90deg);
}
.present.open .front {
  transform: translateZ(100px) rotateX(-90deg);
}
.present.open .lid {
  -webkit-animation: none;
          animation: none;
  transform: translate3d(0, -120px, -120px) rotateX(50deg);
}
/*present anim*/
/* scratchcard*/

img{border:0;vertical-align:middle;}
.hide{
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 1s, opacity 1s linear;
  }
#title{font-size:18px;text-align:center;}
.box, .content{width:400px;height:360px;}
.box img{max-width:400px;max-height: 360px;}
.box{position:relative;overflow:hidden;margin:0 auto;}
.content{position: relative;overflow:hidden;text-align:center;background:rgba(0, 0, 0, 0.0);}
.mask{position:absolute;top:0;left:0;width:400px;height:360px;cursor: pointer;background-attachment: fixed;}
/*end scratchcard*/

/*spnner*/

.popover2{
  pointer-events: none;
    display: flex;
  justify-content: center;
  align-items: center;
  opacity:0;
  width: 100%;
  height: 100dvh;
  position: absolute;
  top: 0 ;
background-color: rgba(0,0,0, 0.6);
  
animation: fade 3s linear;


}

@keyframes fade{
    0% { 
      opacity:1;
      transform:scale(1); 
    } 

        90% { 
  opacity:1;
      transform:scale(1); 

    } 
    100% { 
  opacity:0;
      transform:scale(0); 
    } 

}



.spinner {
      width: 50%;
    max-width: 300px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 0;
    content: var(--spinner);
animation: spin 1s ease-in-out infinite;

}

@-moz-keyframes spin { 
    100% { -moz-transform: rotate(720deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(720deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(720deg); 
        transform:rotate(720deg); 
    } 
}

/*end spinner*/
.hidden {

  opacity: 0;
}

.win20 {

      background-position: top;
}
.winbull {

      background-position: center;

}
.win19 {


      background-position: bottom;
      background-position-x: 35%;
}
.Detailsbox {
  width:100% !important;
  max-width: 380px;

}
.checkarea2 {
  width:100% !important;
  max-width: 380px;

}

.closewindow {
border-radius: 20px;
  width: 95vw;
  height:95vw;
  min-width: 375px;
  min-height: 375px;
    max-width: 425px;
  max-height: 425px;
  overflow: hidden;
  background-color: #030c1e;
border:3px #fdf9f9 solid;
position: absolute;
box-shadow: 0px 0px 30px #07afe5;
  background-image: url("/images/board.png");
  background-size: 300% auto;
    background-repeat: var(--bgrep) ;
top: 190px;
    left: 0%;
opacity:0;
animation: delayshow2 10s linear  1;
  z-index: 2;
}

@keyframes delayshow  {
    0% { 
      
      opacity:0;


    }
        90.0% {
      opacity:0;
    }
            100% {
      opacity:1;
    }
  }

  
@keyframes delayshow2  {
    0% { 
      opacity:0;

  background-size: 100% auto; 

    }
    21% {
      opacity:0;
    }
        21.01% {
      opacity:1;

  background-size: 100% auto; 
    }
    25.5% {

      opacity:1;
    
  background-size: 300% auto; 
    }

           60.00% {
      opacity:1;
      
  background-size: 300% auto; 

    }
               60.01% {
      opacity:1;
      
  background-size: 300% auto; 
    }

              75% {
      opacity:0;
      
  background-size: 300% auto; 
    }
  
            100% {
      opacity:0;
      
  background-size: 300% auto; 
    }
  }


.ballouter {

position: absolute;
top: 84%;
  width: 20vh;
  height: 20vh;
      left: calc(100% - 40px);

  
}

.throw {

  opacity: 0;
  animation: throwBall2 4s ;
}

@keyframes FFlyball2 {
    0% { 

transform: translatex(0px) translatey(0px) ;
    } 

        10% { 
transform: translatex( 20px) translatey(20px) ;
    } 

    55% {

transform: translatex( -47vw)  translatey(-30vh) ;
    }

    
    100% { 

transform: translatex(-100vw)translatey( -10vh)  ;
    } 

}


@keyframes throwBall2 {
   0% {
    opacity:1;
      left: calc(100% - 40px);
      
    transform: translateY(0px);
    animation-timing-function: ease-out;
  }

  5% {
    
    opacity:1;

         left: calc(100% );
      transform: translateY(20px);

    animation-timing-function: ease-out;
  }
     10% {
    opacity:1;
      left: calc(100% - 40px);
      transform: translateY(0px);
    animation-timing-function: ease-out;
  }
      15% {
    opacity:1;
      left: calc(100%);
      transform: translateY(20px);
    animation-timing-function: ease-out;
  }

  65% {
    
    opacity:1;
    transform: translateY(-50vh);
    animation-timing-function: ease-in;
  }
  100% {
    
    opacity:1;
    left: -15vw;
    transform: translateY(-40vh);
    animation-timing-function: linear;
    
  }

}



.ballinner {
width: 100%;
height: 100%;

}

.shr {
animation: shrinkspin 3000ms linear 800ms 1 ;
}



 .ball {
width: 100%;
height: 100%;
transform: rotate(70deg); 

   scale: 2.5; 
 }

.player {
      display: flex;
    justify-content: center;
    align-items: center;
position: relative;
top: 74%;
  left: 0%;
  width: 50%;
  height: 16%;
 animation: moveplayer 3.2s linear 1 ;

}





.runplayer {


width: auto;
  height: 100%;
    position: absolute;
  
}
.hidehim {
opacity:0;
 animation: hideplayer 5s linear  ;

}



@keyframes hideplayer{
    0% { 

opacity:1;
    } 
99.9% {
  opacity:1;
}
100% {
  opacity: 0;
}
}


.lhand {


  position: absolute;
top: 35%;
  left: -25%;
  z-index: 4;

    animation: landball 1s linear 1;

    transform-origin: bottom right;
  transform: rotate(0deg) ;
animation: lhandcatch 2s ease-in 2700ms 1

}
.rhand {
  position: absolute;
top: 35%;
  left: -25%;
  z-index: 6;
  
 transform: translate(0px , 0px) ;
animation: rhandcatch 2s ease-in 2700ms 1

}

.closeball {
  position: absolute;
bottom: 50%;
  left: 50%;
  z-index: 5;
  width: 188px;
  transform: translate(0px , 0px);

}

.ballcatch {

  transform: translate(0px , 0px);
  opacity:0;
    animation: landball 5s linear 2200ms 1;
}
.ballmiss {
  transform: translate(-500px , -200px) scale(2) ;

    animation: missball 1.5s linear 2200ms 1;
}


.canvas {
height: 100dvh;
width: 100%;
z-index: 2;
position: absolute;
top:0;
overflow: hidden;

}


@keyframes landball{

    0% { 
  opacity:1;
  transform: translate(500px, -300px) scale(2) ;
    } 

    
    10% { 

  transform:  translate(0px , 0px) scale(1) ;
    } 
    
100% {

  opacity:1;
  transform:  translate(0px , 0px) scale(1) ;

}

}


@keyframes missball{
    0% { 

  transform: translate(500px, -300px) scale(2) ;
    } 

    
    50% { 

  transform:  translate(0px , 0px) scale(1) ;
    } 
    
100% {

animation-timing-function: linear;
transform-origin: bottom left;
transform:   translate(500px , 250px) rotate(180deg) scale(2) ;

}

}

@keyframes lhandcatch{
 0% { 

  transform: rotate(-5deg) ;
    } 

    
    50% { 

  transform: rotate(0deg) ;
    } 

60% {
animation-timing-function: ease-in-out;
transform: translate(0px , -10px) 

}
70% {

animation-timing-function: ease-in-out;
transform: translate(0px , 10px) 

}

80% {

animation-timing-function: ease-in-out;
transform: translate(0px , -10px) 

}
85% {

animation-timing-function: ease-in-out;
transform: translate(0px , 0px) 

}


}
@keyframes rhandcatch{
    0% { 

transform: translate(10px , 40px) ;
    } 

    
    50% { 

 transform: translate(0px , 0px) ;
    } 

60% {
animation-timing-function: ease-in-out;
transform: translate(0px , -10px) 

}
70% {

animation-timing-function: ease-in-out;
transform: translate(0px , 10px) 

}

80% {

animation-timing-function: ease-in-out;
transform: translate(0px , -10px) 

}
85% {

animation-timing-function: ease-in-out;
transform: translate(0px , 0px) 

}
}



@keyframes moveplayer{
    0% { 

transform: translatex(-90%) scale(1.9) translatey(10vh) ;
    } 

    
    100% { 

transform: translatex(0%) scale(1) translatey(0px) ;
    } 

}




@keyframes shrinkspin{
 0% { 

  transform: rotate(0deg) ;

 

    } 
100% {

  transform: rotate(-40deg) ;
   scale: 0.001; 

}
}


.bounceplayer {

opacity: 1;
  animation: bounce 9s linear 1;
}
.missplayer {

opacity: 1;
  animation: shr 10s linear 2000ms 1 ;
}

@keyframes shr {
0% {opacity: 0;
  transform: scale(1.2)  ;
     } 

           65.9% { 
opacity: 0;
  transform: scale(1.2)  ;

     } 
      66% { 
opacity: 1;
  transform: scale(1)  ;

     } 
     
      100% { 
opacity: 1;
  transform: scale(1)  ;



     } 
}


@keyframes bounce {
0% {opacity: 0;
  transform: rotate(0deg) translateY(0px)  ;
     } 
     65.9% {opacity: 0;
  transform: rotate(0deg) translateY(0px)  ;
     } 
 
  66% { 
  
opacity: 1;
  transform: rotate(0deg) translateY(0px)  ;
     } 

69.3% { 
animation-timing-function: ease-out;
  transform: rotate(0deg) translateY(-20px) ;
     } 
 72.6% { 

animation-timing-function: ease-in;
  transform: rotate(0deg) translateY(0px) ;
     } 
      75.9% { 

animation-timing-function: ease-out;
  transform: rotate(0deg) translateY(-20px) ;
     } 
      79.2% { 

animation-timing-function: ease-in;
  transform:rotate(-0deg)   translateY(0px) ;
     } 
      82.5% { 

animation-timing-function: ease-out;
  transform: rotate(0deg) translateY(-20px) ;
     } 
      85.8% { 

animation-timing-function: ease-in;
  transform: rotate(-0deg) translateY(-0px) ;
     } 
      89.1% { 

animation-timing-function: ease-out;
  transform: rotate(0deg) translateY(-20px) ;
     } 
      92.4% { 

animation-timing-function: ease-in;
  transform: rotate(0deg) translateY(0px) ;
     } 
      95.7% { 

animation-timing-function: ease-out;
  transform: rotate(0deg) translateY(-20px) ;
     } 
      100% { 

animation-timing-function: ease-in;
  transform: rotate(0deg) translateY(0px) ;
  opacity: 1;
     } 
}


@media screen and (min-width: 750px) {

/*   .closewindow {
  bottom: 5%;
  left: 25%;
  transform: translate(-50%, 0%);
} */

}

@media screen and (max-width: 750px) {

.logo2 {

  margin-left: -20vw;
}
}



/*countdown*/
.nums {

font-size: 200%;

  color: #fee614;
  padding: 2px 0px;
  margin: 2px;
        
      }
.titles {
  width: 17%;
  font-size: 10px;
  color:#fee614;
}
      .score{
  width: fit-content;
  margin-left: auto;
  margin-right: auto;}
    
    ul {
      overflow: hidden;
      white-space: nowrap;
      padding: 0;
      margin-bottom: 0;

    }
    li {
display: inline-block;
  font-size: 0.9rem;
  list-style-type: none;
  padding: 0px 4px;
  font-weight: 400;
  margin: 0px 8px;

    }

    
    li span {
      display: inline-block;
      font-size: 1.5rem;
    }


/*countdown*/

/* ===== Terms modal window ===== */
.center {
  text-align: center;
}

.modal-window {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  color: #ffffff;
}

.modal-window:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal-window>div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0.5em;
  padding-top: 20px;
  background-color: var(--altbgcol);
  border: #ffffff 5px solid;
  border-radius: 15px;
  height: 95%;
  width: 90%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
}

/* fill the modal box vertically instead of the fixed height from site.css */
.modal-window .termsx {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
}

.modal-close {
  color: #fff;
  line-height: 18px;
  font-size: 120%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 12px;
  width: 40px;
  text-decoration: none;
  display: flow-root;
}

.modal-close:hover {
  color: grey;
}

/* tables converted from the Word source (weekly draw periods) */
.modal-window .faqtable {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 0.9em;
}

.modal-window .faqtable th,
.modal-window .faqtable td {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
}

/* Links inside the modal body. Content links generated from the Word source
   carry no class, so without this they fall back to the browser default
   (#0000EE, and purple once visited) - roughly 2:1 against this campaign's
   modal ground, effectively unreadable. Uses the campaign's own --linkcol;
   the underline is what marks them as links, since the surrounding body
   text is already the same colour. */
.modal-window .termsx a,
.modal-window .termsx a:visited {
  color: var(--linkcol, #ffffff);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-window .termsx a:hover,
.modal-window .termsx a:focus-visible {
  color: var(--linkcol, #ffffff);
  text-decoration-thickness: 2px;
}

.modal-window .termsx a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
