    
    /*CUSTOM FONTS*/
    @font-face {
  font-family: Ubuntu;
  src: url(../fonts/Ubuntu-Regular.ttf); /*REPLACE WITH SYMLINK ON LIVE SITE, maybe?*/
  font-display: swap;    
}
            @font-face {
  font-family: wingding;
  src: url(../fonts/wingding.ttf);
  font-display: swap;    
}
   @font-face {
  font-family: Cookie;
  src: url(../fonts/Cookie-Regular.ttf);
     font-display: swap;
    }
    /*END CUSTOM FONTS*/
html { scrollbar-color: #FDA1FF #5d005f40;}
    body {
  background-image:url(../images/TeethOS311.PNG);
   background-position: 50% -50%; 
  background-repeat: no-repeat;
    background-color:#7334A3;
    text-align:center;
      font-family: 'Ubuntu', serif, sans-serif;
      overflow:hidden;}
    p {
      position: relative;
      color:#5fc1f5;
     z-index:0;
      
    }
 
    a {
      position: relative;
      color:#ccc;
      z-index:3;
      text-decoration: none;
    }
    h1, h2, h3, h4, h5 {
      position: relative;
      color:#5fc1f5;
      text-shadow: 1px 0 0 #572c78, 0 -1px 0 #572c78, 0 1px 0 #572c78, -1px 0 0 #572c78 !important;
      z-index:3;
    }
    .p-margin{
    position: relative;
    margin-left: 10%; 
    margin-right: 10%;
    z-index:3;
    }
    div {
      padding-top:5px;
      padding-bottom:5px;
      margin:auto;
      width:95%;
    background-color: transparent;  
   /* border: double;
    border-color: #7334A3; */   /*DEBUG BORDERS*/
      z-index:-1;
      scrollbar-color: #FDA1FF #5d005f40;
    }
      

      
    hr {
   border-color: #FDA1FF;
    border-style: inset;
    border-width: 1px;
      } 
      
      iframe {
    border-color: #7334A3;
    border-width: 2px;
   scrollbar-color: #FDA1FF #5d005f40;
      }
      .table {
    background-color: #823fb5;  
        
        
    }
    
        .page-container {
      padding-top:5px;
      padding-bottom:5px;
      margin:auto;
      width:95%;
    background-color: transparent;  
    border: none;
    /*background-image:url(images/vaporTile.png);*/
      z-index:3;
          scrollbar-color: #FDA1FF #5d005f40;
    }
    
    img {
    background-color:#8b47bf;
    border: double;
    border-color: #7334A3; 
    font-size:12px;
    }
    
    /*LOGO TEXT*/
    .logo {
      font-family: 'Cookie', serif, sans-serif; 
      font-size: 120px;
      position: absolute;
      top: -10px;
      left: 70px;
      text-decoration: none;
     
    }
    
    .autotable {
     padding-top:inherit;
     padding-bottom:inherit;
     overflow-x:auto;
     border:none;
      
    }
      div {scrollbar-color: #FDA1FF #5d005f40;}
    /*Some Table Styling*/
 th, td {
   color:white;
  border:3px double #222;
  outline-color:#7334A3;
   border-color: #7334A3;
   background-color:#8b47bf;
   font-size:24px;
   margin-left: auto;
  margin-right: auto;
    transition: all 0.2s;
}
    /*DEBUGGING OUTLINES*/
   /* th:hover,td:hover {
    outline-color:#8b47bf;
   border-color: #8b47bf;
   background-color:#7334A3;
    }*/
    table {
    margin-left: auto;
    margin-right: auto;
    z-index:3;
    }
.overlay {
    position: relative;
  
    margin: 15px;
    text-align: center;
    transition: all 0.2s;
}
    .overlay:hover {
    color:yellow;
      
    }
    
    .overlay:active {
    color:#7334A3;
    }
    /*end of table styling*/
    
    .autoimgsize img {
    max-width: 100%;
    height: auto;
    width: auto;
    }
    
    .tableimg {
    border-style: none;
    margin-bottom:-6px;
    }

 /*END HIDE ITEMS*/           
  .jazzbanner
    {
  background-image: url("images/grid.png");
  background-repeat: round no-repeat;
  min-width:90%;
  max-width: 100%;
  height: 4.2vh;
  border:none;
   
    }
      
    /*HIDE WHEN SCREEN TOO SMALL*/
@media (max-width:1275px) {
  h1#hideitems {
    display: none;
    
  }
  a#hideitems {
    display: none;
    
  }
  div#hideitems {
  display: none;
  }
  div#itemshow {
  
  display:flex;
  }
      } 
    
    
      }
    
    
    /*======================================= COPY OVER TO LIVE SITE HERE AND BELOW =================================================================================*/
.open-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

/* The popup form - hidden by default */
.form-popup {
  display:none;
  position: absolute;
  top:10%;
  left:25%;
  margin:auto;
  border:7px double #572c78; /* Internal Line of outline*/
  z-index: 1000;
  height:85%;
  width:50%;
  background-color:#ac79d2;
   opacity: initial;
 overflow-y:auto;
  min-width:450px;
}

   .form-popup p {
        text-shadow: 1px 0 0 #111, 0 -1px 0 #111, 0 1px 0 #111, -1px 0 0 #111;
        font-size:16px;
     font-weight:bold;
     
   }
  
.h2popup {
    position: relative;
    top: -21px;
    font-family: monospace, serif, sans-serif;
    color: white;
    font-weight: bold;
    font-size: 16px;
    background-color: #FDA1FF;
    width: 100%;
    height: 22px;
    border-bottom: 1px #572c78 solid;
   opacity: initial;
  user-select: none;
}
  
 .h2popup2 { /*fixes 'top' on some sub-windows */
    position: relative;
    top: -22px;
    font-family: monospace, serif, sans-serif;
    color: white;
    font-weight: bold;
    font-size: 16px;
    background-color: #FDA1FF;
    width: 100%;
    height: 22px;
    border-bottom: 1px #572c78 solid;
   opacity: initial;
   user-select: none;
}     
      
  .h2popup-body {
    position: relative;
    top: -32px;
    font-family: monospace, serif, sans-serif;
    color: white;
    font-weight: bold;
    font-size: 16px;
    background-color: #FDA1FF;
    width: 100%;
    height: 22px;
    border-bottom: 1px #572c78 solid;
   opacity: initial;
}
    .minimise {
    position: relative;
    margin-right: 0;
    top: -19px;
    width: 18px;
    height: 8px;
    border: 2px outset;
    background-color: lightgray;
    z-index: 3;
	}
	
	.minimise:active {
    position: relative;
    margin-right: 0;
    top: -19px;
    width: 18px;
    height: 8px;
    border: 2px inset;
    background-color: #999999;
    z-index: 3;
}
.handle {
    position: absolute;
    margin-left: 0;
    top: 0px;
    width: 22px;
    height: 12px;
    border: none;
    border-right: 1px solid #572c78;
    background-color: #dede;
    z-index: 3;
}
   .handle-dash {
    position: relative;
    color: white;
    font-size: 34px;
    top: -17px;
	user-select: none;
}
    .suppopup {
      position:relative;
      color:black;
      font-size:20px;
      top:-8px;
      text-shadow:none;
	  user-select: none;
    }
/* Add styles to the form container */
.form-container {
  max-width: 100%;
  padding: 10px;
  background-color: white;
  
}


/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}
    
.cusbutton {
    display: inline-block;
    border-radius: 3px;
    background-color: #7334A3;
    border: outset;
    color: #5fc1f5;
    text-align: center;
    font-size: 18px;
    width: 100px;
    cursor: pointer;
    margin: 5px;
    font-family: monospace;
    border-color: #8b47bf;
  z-index:1002;
   opacity: initial;
  user-select: none;
}
    /*.cusbutton:hover {
      color:#7334A3;
      background-color:#5fc1f5;
      border-color: #8b47bf;
    }*/
.cusbutton:active {
    border: inset;
    background-color: #5f2d86;
    border-color: #8b47bf;
   opacity: initial;
}

    
	.form-window {
  display:inline;
  position: fixed;
  top:5%;
  left:5%;
  margin:auto;
  border:7px double #572c78; /* Internal Line of outline*/
  z-index: 1000;
  height:85%;
  width:90%;
  background-color:#ac79d2;
   opacity: initial;
 overflow-y:auto;
  scrollbar-color: #FDA1FF #5d005f40;
}
   .form-window p {
        text-shadow: 1px 0 0 #111, 0 -1px 0 #111, 0 1px 0 #111, -1px 0 0 #111;
        font-size:16px;
     font-weight:bold;
   }
	
	
.divsticky {
    position: sticky;
    top: 0px;
	left: 0px;
    padding-top: 3px;
    padding-bottom: 0px;
    margin: auto;
    width: 100%;
    background-color: transparent;
    border: none;
    border-color: #7334A3;
    z-index: 1;
  scrollbar-color: #FDA1FF #5d005f40;
	}

	table.desktoptable {
	width:100%;
    user-select: none;
	}
	
	table.desktoptable td {
	background-color:transparent;
	/*DEBUG BORDERS*/
	border-style:none;
	border-width:1px;
	/*END OF DEBUG BORDERS*/
	height:65px;
	
	max-height:65px;
	width:65px;
	
	max-width:65px;
	}
	table.desktoptable img {
	border:none;
	width:auto;
	height:auto;
	background-color:transparent;
	margin:0px;
	}
	
	table.desktoptable div {
	border:none;
	}
	
	table.desktoptable p {
	font-family: monospace;
	font-size:12px;
	text-shadow:none;
	color:black;
	top:-6px;
	margin:0px;
	}

	
	.program {
	display:none;
	position:absolute;
	top:90%;
	left:5%;
	z-index:1;
	border:none;
	background-color:transparent;
	max-width:65px;
	max-height:65px;
	}
	.program img {
	position:relative;
	top:0px;
	left:0px;
	border:none;
	background-color:transparent;
	}
	.program p {
	color:white;
	font-size:12px;
	font-family: monospace;
	position:relative;
	top:-15px;
	}
      
      
   .h2white {
    position: relative;
    font-family: monospace, serif, sans-serif;
    color: white;
    font-weight: bold;
    font-size: 16px;
    user-select: none;
    text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}   
      /*CLOCK*/
    #clock {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    margin: 15px auto;
    background-color: white;
    border: 10px solid #333;
      top:-24px;
  }
  .hand {
    position: absolute;
    width: 2px;
    height: 50%;
    background-color: #333;
    top: 50%;
    left: 50%;
    transform-origin: bottom;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  
  }
  #hourHand {
    background-color: #111;
    z-index: 3;
    height: 35%;
    border:none;
    width:5px;
  }
  #minuteHand {
    background-color: #111;
    z-index: 2;
    height: 40%;
    border:none;
    width:4px;
  }
  #secondHand {
    background-color: darkred;
    z-index: 1;
    height: 43.5%;
    border:none;
  }
  #clock p {
    text-align: center;
    margin-top: 110%;
    font-size: 18px;
    font-family: monospace;
    color:black;
    text-shadow:none;
    user-select: none;
  }
      /*END OF CLOCK*/    
      
      .cusnav {
        background-color:#ac79d2;
    position: relative;
    top: -35px;
    border: none;
    border-bottom: solid;
    border-bottom-color: #572c78;
    border-bottom-width: 1px;
    text-align: left;
    height: 22px;
}

.cusnav a {padding-left: 6px;padding-right:2%;padding-bottom:3px;font-family: monospace, serif, sans-serif;font-weight:bold;color:#5fc1f5;text-shadow: 1px 0 0 #7334A3, 0 -1px 0 #7334A3, 0 1px 0 #7334A3, -1px 0 0 #7334A3;}
      
      .cusnav:active a {color:white; background-color:#7334A3;}

/* ========================================================================== */
/* RESPONSIVE + FIREFOX / CHROMIUM COMPATIBILITY                              */
/* Built around the original layout; original windows and desktop stay intact. */
/* ========================================================================== */

:root {
  --minimum-page-width: 320px;
  --minimum-window-width: 280px;
  --desktop-icon-size: 32px;
}

html {
  width: 100%;
  min-width: var(--minimum-page-width);
  min-height: 100%;
  overflow-x: auto;
  overflow-y: auto;
}

body {
  width: 100%;
  min-width: var(--minimum-page-width);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background-position: center center;
  background-size: auto;
  background-attachment: fixed;
  overflow-x: visible;
  overflow-y: auto;
}

img {
  max-width: 100%;
  height: auto;
}

.page-container,
.form-container,
.divsticky,
.autotable {
  min-width: 0;
  max-width: 100%;
}

.autotable {
  overflow-x: visible;
  overflow-y: visible;
}

/* -------------------------------------------------------------------------- */
/* WINDOWS                                                                    */
/* -------------------------------------------------------------------------- */

.form-popup,
.form-window {
  box-sizing: border-box;
}

.form-popup {
  position: fixed;
  top: 10%;
  left: 50%;
  width: min(50%, calc(100vw - 2rem));
  min-width: var(--minimum-window-width);
  max-width: calc(100vw - 2rem);
  height: auto;
  max-height: 85vh;
  max-height: 85dvh;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(-50%);
}

.form-window {
  top: 5%;
  left: 5%;
  width: 90%;
  min-width: var(--minimum-window-width);
  max-width: 90%;
  height: 85%;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

.h2popup,
.h2popup2,
.h2popup-body {
  box-sizing: content-box;
  max-width: 100%;
  overflow: visible;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.minimise,
.minimise:active,
.handle,
.cusbutton,
.cusbutton:active {
  box-sizing: content-box;
}

.form-popup p,
.form-window p,
.form-container,
.form-container p,
.form-container a,
.form-container span,
.form-container label {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* -------------------------------------------------------------------------- */
/* FAKE DESKTOP                                                               */
/* -------------------------------------------------------------------------- */

table.desktoptable {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  table-layout: fixed;
  user-select: none;
}

table.desktoptable td {
  width: auto;
  min-width: 0;
  max-width: none;
  height: auto;
  min-height: 65px;
  max-height: none;
  padding: 2px;
  overflow: visible;
  vertical-align: top;
}

table.desktoptable img,
.program img {
  display: block;
  width: auto;
  max-width: var(--desktop-icon-size);
  height: auto;
  max-height: var(--desktop-icon-size);
  margin-inline: auto;
  object-fit: contain;
}

table.desktoptable p,
.program p {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-inline: auto;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-overflow: clip;
  overflow: visible;
}

table.desktoptable p {
  position: relative;
  top: -6px;
}

/* -------------------------------------------------------------------------- */
/* CLOCK CONTENT                                                              */
/* -------------------------------------------------------------------------- */

#clock {
  width: min(200px, calc(100% - 30px));
  max-width: 200px;
  height: auto;
  aspect-ratio: 1;
  box-sizing: border-box;
}

#clock p {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* -------------------------------------------------------------------------- */
/* NAVIGATION AND SMALL SCREENS                                                */
/* -------------------------------------------------------------------------- */

.cusnav {
  min-height: 22px;
  height: auto;
  overflow: visible;
  white-space: normal;
}

@media (max-width: 640px) {
  .form-popup {
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
  }

  .form-window {
    left: 0.5rem;
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
  }

  table.desktoptable td {
    padding-inline: 1px;
  }
}

@media (max-width: 320px) {
  body {
    background-attachment: scroll;
  }

  .form-popup,
  .form-window {
    position: absolute;
    width: calc(var(--minimum-page-width) - 1rem);
    min-width: var(--minimum-window-width);
    max-width: none;
  }

  .form-popup {
    left: calc(var(--minimum-page-width) / 2);
  }

  .form-window {
    left: 0.5rem;
  }
}
