html,
body {
  height: 100%;
  overflow: hidden 
  font-size: 100%;
}

:root {
  /* Workbench-ish neutrals and blues (approx). */
  --wb-blue-screen: #0b5fb8;
  --wb-titlebar-blue: #7fb3ff;
  --wb-panel: #cfcfcf;
  --wb-panel-2: #dedede;
  --wb-shadow: #4f4f4f;
  --wb-highlight: #ffffff;
  --wb-ink: #111;

  --wb-blue: #1a3d8f;
  --wb-blue-dark: #0d2c74;
  --wb-blue-ink: #f2f6ff;

  --wb-focus: #000;
  --primary: #000000;
  --secondary: #bbbbbb;
  --accent: #eeeeee;
  --shadow: 8px 8px 0px var(--primary);
}

strong {
    
  color: FireBrick;    

}

mildstrong {
    
  color: #026C3D;  
  ;
}

superstrong {
    
  color: DarkRed;   
  text-decoration: underline
  ;
}

superhead {
    
  color: Red;   
  text-weight: 800;
  font-size: 1.6rem;
}

body {
  margin: 0;
  background: var(--wb-blue-screen);
  color: var(--wb-ink);
  font-family: "Press Start 2P", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  
  image-rendering: pixelated;
  cursor:
    url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%3E%3Cg%20shape-rendering='crispEdges'%3E%3Cpath%20d='M2%200%20L2%2024%20L8%2018%20L12%2030%20L16%2028%20L12%2016%20L22%2016%20Z'%20fill='%23c20d0d'%20stroke='%23000'%20stroke-width='2'%20stroke-linejoin='miter'%20stroke-linecap='butt'/%3E%3C/g%3E%3C/svg%3E")
      2 0,
    default;
}


form {
		margin: 0 0 2em 0;
		padding-right: 3%;
		padding-left: 3%;
}


.input-group {
  margin-bottom: 10px;
  position: relative;
  font-size: 0.9rem;
}

.spacer {
  margin-top: 4vmin;    
}

.flags {
    
    width: 2vmin; 
    border: 1px solid black; 
    margin-bottom: 0.1vmax;
}

input {
  width: 20vmax;
  padding: 12px 15px;
  border: 2px solid black;
  background-color: #fCf1f2;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
}

input:focus {
  box-shadow: 4px 4px 0px var(--primary);
}

select {
  width: 20vmax;
  padding: 12px 15px;
  border: 2px solid black;
  background-color: #fCf1f2;
  font-size: 0.7rem;
  outline: none;
  transition: all 0.3s;
}

select:focus {
  box-shadow: 4px 4px 0px var(--primary);
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: darkred;
  font-size: 0.8rem;
}

input[type=submit] {
  width: 10vmax;
  padding: 8px;
  background-color: var(--accent);
  color: var(--primary);
  border: 2px solid var(--primary);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 5px;
  transition: all 0.3s;
}

input[type=button] {
  width: 10vmax;
  padding: 8px;
  background-color: var(--accent);
  color: var(--primary);
  border: 2px solid var(--primary);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 5px;
  transition: all 0.3s;
}

a.act {
  color: hotpink;
  background-color: yellow;
  font-weight: bold;
}



input[type=button]:hover {
  box-shadow: 4px 4px 0px var(--primary);
  transform: translate(-2px, -2px);
}


.checkbox-container {
    display: flex;         
    align-items: center;            
  }

#content-desktop {display: block;}
#content-mobile {display: none;}
#content-mobile-small {display: none;}

.wb {
  height: 100vmin;
  display: flex;
  flex-direction: column;
  /* Zoom-in feel: scale whole UI (fonts + icons). */
  zoom: 1.25;
  overflow: hidden;
}

@supports not (zoom: 1) {
  .wb {
    transform: scale(1.25);
    transform-origin: top left;
    width: 80%;
  }
}

ul {
    
	list-style-position: inside;
	width: 50vmax;
	max-width: 50vmax
	background: transparent;
	
	padding: 0;
	margin: 0;
	border-radius: 0.1rem;
	color: #000000;
	list-style-type: none;
}

li::before {
  content: ">";

  border-radius: 1ch;
  padding-inline: 1ch;
  margin-inline-end: 1ch;
  list-style-type: none;
}

.wb-menubar {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  background: var(--wb-blue-screen);
  border-bottom: 2px solid rgba(0, 0, 0, 0.35);
}

.wb-screenbar {
  width: 100%;
  height: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
  background: #f6f6f6;
  border: 2px solid #000;
  box-shadow: inset 1px 1px 0 #fff;
}

.wb-menubar__title {
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 6px;
  border: 2px solid transparent;
}

.wb-menubar__center {
  flex: 1;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 6px;
}

.wb-menubar__right {
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  padding: 0 6px;
}

.wb-menubar__gadgets {
  margin-left: auto;
  display: flex;
  gap: 6px;
  padding-right: 2px;
}

.wb-desktop {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
#  justify-content: space-between;
  padding: 1vmax 3vmin 3vmin;
  min-height: 0;
  width: 100%;
  max-width: 100%;;
  height: 100vmin;
  max-height: 100vmax;
  flex-wrap: wrap;
  
  
}

.wb-windows {
  display: flex;
  flex: 0 1 auto;
  position: relative;
  min-width: 0;
  width: 80%;
  max-width: 80%;
  min-height: 0;
  max-height: 50%;
  flex-wrap: wrap;
  flex-grow: 1;


}

.wb-windows2 {
  display: flex;
  position: relative;
  min-width: 0;
  width: 80%;
  max-width: 80%;
  min-height: 0;
  flex-wrap: wrap;
  height: 16vmin;
  max-height: 16vmin;
  align-items: center;
  align-self: first baseline;
  
}

#.wb_gap {
#  position: relative;    
#  padding-top: 5vh;
#  flex: 1;
#
#}
.wb-righticons {
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 2vmin;
  text-align: center;
}

.wb-gadget {
  width: 22px;
  height: 16px;
  background: #f6f6f6;
  border: 2px solid #000;
  box-shadow: inset 1px 1px 0 #fff;
}

.wb-gadget--overlap {
  position: relative;
  background: #f6f6f6;
}

.wb-gadget--overlap::before,
.wb-gadget--overlap::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 9px;
  box-shadow: none;
}

.wb-gadget--overlap::before {
  /* Outline rectangle (top-left). */
  left: 1px;
  top: 1px;
  background: transparent;
  border: 2px solid #000;
}

.wb-gadget--overlap::after {
  /* Filled rectangle (bottom-right), overlapping the outline. */
  left: 5px;
  top: 5px;
  background: #0b0b0b;
  border: 2px solid #000;
}

.wb-window {
  position: absolute;
  background: var(--wb-panel-2);
  border: 2px solid #000;
  box-shadow:
    2px 2px 0 #000,
    inset 2px 2px 0 #fff,
    inset -2px -2px 0 rgba(0, 0, 0, 0.25);
}

.wb-window--large {
  flex-basis: fit-content;
  width: 85%;
  height: 92%;
  max-height: 92%;
  max-width: 100%; 
  min-width: 0;
#  flex-shrink: 1;
  min-height: 0;
 flex-grow: 1;
 overflow: visible;

}

.wb-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}

.wb-modal.is-open {
  display: block;
}

.wb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.wb-window--modal {
  position: absolute;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, calc(100vw - 140px));
  height: min(60vmin, calc(100vh - 170px));
}

.wb-window__close {
  margin-left: 10px;
  width: 22px;
  height: 18px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  background: #f6f6f6;
  border: 2px solid #000;
  box-shadow: inset 1px 1px 0 #fff;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.wb-window__close:active {
  transform: translateY(1px);
}

.wb-window__content--modal {
  padding: 12px;
  overflow: auto;
}

.wb-rules {
  font-weight: 700;
  letter-spacing: 0.05px;
  line-height: 1.35;
}

.wb-rules p {
  margin: 0 0 10px;
}

.wb-rules p:last-child {
  margin-bottom: 0;
}

.wb-window--small {
  top: 280px;
  left: 60px;
  width: 240px;
  height: 250px;
}

.wb-window__titlebar {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
  background: var(--wb-titlebar-blue);
  border-bottom: 2px solid #000;
  box-shadow: inset 1px 1px 0 #fff;
}

.wb-window__gadget {
  width: 14px;
  height: 14px;
  background: #f6f6f6;
  border: 2px solid #000;
  box-shadow: inset 1px 1px 0 #fff;
}

.wb-window__title {
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 1px 6px;
  background: #f6f6f6;
  border: 2px solid #000;
}

.xb-window__title {
  font-weight: 400;
  letter-spacing: 0.3x;
  padding: 1px 6px;
  color: white;
  font-size: 13px;
  
}

.wb-window__gadgets {
  margin-left: auto;
  display: flex;
  gap: 6px;
  padding-right: 2px;
}

.wb-window__content {
  height: 85%;
  background: #f8f8f8;
  border-top: 2px solid rgba(0, 0, 0, 0.15);
  box-shadow: inset 1px 1px 0 #fff;
  padding: 14px;
  overflow: auto;
}

.wb-window a {
  color: var(--wb-blue-dark);
  text-decoration: underline;
}

.wb-window a:focus-visible {
  outline: 3px solid var(--wb-focus);
  outline-offset: 2px;
}

.wb-window__text {
  max-width: 62ch;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.wb-window__tab {
    
  padding-left: 20px;   

}
.wb-window__text p {
  margin: 0 0 10px;
}

.wb-window__text p:last-child {
  margin-bottom: 0;
}

.wb-photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 0 12px;
  border: 2px solid #000;
  box-shadow: inset 1px 1px 0 #fff, 2px 2px 0 #000;
  image-rendering: auto;
}

.wb-photo--accomodation {
  width: 30%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #000;
  box-shadow:
    inset 1px 1px 0 #ffffff,
    4px 4px 0 rgba(0, 0, 0, 0.85),
    8px 8px 0 rgba(0, 0, 0, 0.25);
}

.wb-accomodation {
  max-width: 60ch;
  margin: 0 auto;
}

.wb-accomodation .wb-photo--accomodation {
  margin-top: 2px;
  margin-bottom: 14px;
}

.wb-accomodation p {
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.45;
}

.wb-window__content--grid {
  display: grid;
  grid-template-columns: 1fr, 2fr;
  grid-template-rows: 1fr;
  gap: 4px;
  padding: 12px;
}

.wb-grid {
  height: 34px;
  border: 2px solid #000;
  box-shadow: inset 1px 1px 0 #fff;
  background: rgba(11, 95, 184, 0.12);
}

.wb-window__status {
  height: 2vh;
  padding: 2px 6px;
  background: var(--wb-panel);
  border-top: 2px solid #000;
  box-shadow: inset 1px 1px 0 #fff;
  flex-shrink: 1;
}

.wb-scrollbar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2));
  border: 2px solid #000;
  box-shadow: inset 1px 1px 0 #fff;
}

.wb-window__icons {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.wb-file {
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #000;
}

.wb-file__icon {
  width: 72px;
  height: 84px;
  background: url("./assets/drawer.png") center / contain no-repeat;
  border: 2px solid transparent;
  box-shadow: none;
  position: relative;
}

.wb-file__icon::before {
  content: none;
}

.wb-file__label {
  font-weight: 700;
  background: transparent;
  border: 2px solid transparent;
  padding: 1px 4px;
  text-align: center;
}

.wb-file:focus-visible .wb-file__label,
.wb-file:active .wb-file__label {
  background: var(--wb-blue);
  color: var(--wb-blue-ink);
  border-color: #000;
}

.wb-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 200px;
  text-decoration: none;
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.55);
}

.wb-icon__disk {
  width: 74px;
  height: 82px;
  position: relative;
  background: url("./assets/diskicon.png") center / contain no-repeat;
  border: 2px solid transparent;
  box-shadow: none;
  border-radius: 2px;
}

.wb-icon__disk--clock {
  background-image: url("./assets/clock_icon.png");
}

.wb-icon__disk::before {
  content: none;
}

.wb-icon__disk::after {
  content: none;
}

.wb-icon__label {
  max-width: 200px;
  padding: 2px 6px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.15;
  background: transparent;
  border: 2px solid transparent;
}

.wb-icon:focus-visible {
  outline: 3px solid var(--wb-focus);
  outline-offset: 3px;
}

.wb-icon:active .wb-icon__label,
.wb-icon:focus-visible .wb-icon__label {
  background: #ffffff;
  color: #000000;
  border-color: #000;
  text-shadow: none;
}

.wb-icon:active .wb-icon__disk {
  transform: translateY(1px);
}


table.registry {
   
  font-size: 1rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 75vmax;
  min-width:75vmax;
  max-width: 75vmax;
  color: blue;
  background-color: black;
}

th.registry {
    
  font-size: 0.9rem;
  color: white;
  background-color: black;

}

td.registry {
    
  font-size: 0.8rem;
  word-wrap: break-word;
  

}

table.regsml {
   
  font-size: 1rem;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  width: 25vmax;
  min-width:25vmax;
  max-width: 25vmax;
  color: blue;
  background-color: transparent;
}

th.regsml {
    
  font-size: 0.9rem;
  color: white;

}

td.regsml {
    
  font-size: 0.8rem;
  word-wrap: break-word;
  

}

table.schedule {
   
  font-size: 0.8rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 47vmax;
  min-width: 47vmax;
  max-width: 47vmax;
}

td, tr {
    

  font-size: 0.7rem;
  font-weight: 100;
  color: #444;
  padding: 0.2vmax;
  width: 14vmin;
  max-width: 14vmin;
  min-height: 2vmin;
  height: 2vmin;
  background-color: #ddd;
}

th {
   
  max-width: 7vmin;
  width: 7vmin;
  
}
    
}

@media screen and (max-width: 1300px) {

  #content-desktop {display: none;}
  #content-mobile {display: block;}
  
  body {
    font-size: 80%;
    overflow: auto;
 
  }

}
@media screen and (max-width: 960px) {
    
  #content-desktop {display: none;}
  #content-mobile {display: block;}

  html {
    font-size: 80%;  
  }
  body {
    
    overflow: auto;
 
  }
  
.wb {
  height: 100vmax;
 
}
  
 # .wb { height: 540px;}
  .wb-desktop {
    flex-direction: column;
  }
  

  .wb-righticons {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-direction: row;
    align-self: center;
    padding: 0;
    

  }
  
  
table.registry {
   
  font-size: 0.6rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 95vmax;
  min-width:95vmax;
  max-width: 95vmax;
  color: blue;
  background-color: black;
}

th.registry {
    
  font-size: 0.4rem;
  color: white;
  background-color: black;

}

td.registry {
    
  font-size: 0.3rem;
  word-wrap: break-word;


}

.wb-windows {
  
  
  width: 96vmin;
  max-width: 96vmin;
  min-width: 0;
  
  
}

.wb-windows2 {
  
  height: 16vmax;
  max-height: 16vmax;
  width: 95vmin;
  max-width: 95vmin;
  min-width: 0;
  
  
}

table.schedule {
   
  font-size: 0.6rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 90vmin;
  min-width: 90vmin;
  max-width: 90vmin;
}

td, tr {
    

  font-size: 0.6rem;
  font-weight: 100;
  color: #444;
  padding: 0.1vmax;
  width: 12vmin;
  max-width: 12vmin;
  min-height: 2vmax
  height: 2vmax;
  background-color: #ddd;
}

th {
   
  max-width: 6vmin;
  width: 6vmin;
  
}



.wb-window--large {
  flex-basis: fill-content;
  width: max-content;
  height: 92%;
  max-height: 98%;
  width: 98%;
  max-width: 100%; 
  min-width: 0;
#  flex-shrink: 1;
  min-height: 0;
 flex-grow: 1;
 overflow: auto;

}

#  .wb-window--large, .wb-window--small {
#    position: relative;
#    top: auto;
#    left: auto;
#    width: max-content;
#    height: max-content;
#    max-width: 95vmin; 
#    min-width: 0;
#    flex-shrink: 1;
#  }
  
  
  .wb-window--small {
    height: 220px;
  }
  
  .wb-window__content {
  height: 80%;
  background: #f8f8f8;
  border-top: 2px solid rgba(0, 0, 0, 0.15);
  box-shadow: inset 1px 1px 0 #fff;
  padding: 8px;
  overflow: auto;
  }
  
  .wb-icon {
    width: 80px;
    gap: 7px;
  }
  
  .wb-icon__disk {
  width: 34px;
  height: 46px;
    background: url("./assets/diskicon.png") center / contain no-repeat;
  border: 1px solid transparent;
  box-shadow: none;
  border-radius: 1px;
  
  .xb-window__title {
  font-weight: 400;
  letter-spacing: 0.2x;
  padding: 1px 2px;
  color: white;
  font-size: 10px;

}
}

@media screen and (max-width: 600px) {
    
  body {
    font-size: 65%;
    overflow: auto;
  }

  #content-desktop {display: none;}
  #content-mobile {display: block;}
  
  .wb {
    zoom: 1;
  }


  input[type=button] {
  width: 15vmax;
  }
  
  .wb-menubar {
    height: auto;
    padding: 6px 8px;
  }

  .wb-screenbar {
    height: auto;
    flex-wrap: wrap;
    row-gap: 6px;
    padding: 6px;

  }

  .wb-window__titlebar {
  font-size: 5px;
  }

  .wb-window__content {
  height: 80%;
  background: #f8f8f8;
  border-top: 2px solid rgba(0, 0, 0, 0.15);
  box-shadow: inset 1px 1px 0 #fff;
  padding: 8px;
  overflow: auto;
  }
  .wb-menubar__title,
  .wb-menubar__right {
    padding: 0 4px;
  }

  .wb-menubar__center {
    order: 3;
    flex: 1 0 100%;
    text-align: left;
    padding: 0 4px;
  }

  .wb-menubar__gadgets {
    order: 2;
  }

  .wb-desktop {
    padding: 8px 8px 8px;
    gap: 2px;
 #   max-height: 30vmax;
  }

#  .wb-window--large {
#   height: max-content
#   width: max-content;
#   max-width: 95vmin; 
#   min-width: 0;
#   flex-shrink: 1; 
#  }

  .wb-window__content {
    padding: 10px;
  }

  .wb-righticons {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-direction: row;
    padding: 0;
    align-self: center;
   
  }

  .wb-icon {
    width: 55px;
    gap: 1px;
  }

  .wb-icon__disk {
  width: 38px;
  height: 48px;
    background: url("./assets/diskicon.png") center / contain no-repeat;
  border: 1px solid transparent;
  box-shadow: none;
  border-radius: 1px;
  }


  .wb-icon__label {
    max-width: 110px;
  }

  .wb-window--modal {
    top: 58px;
    width: calc(100vw - 24px);
    height: calc(100vh - 92px);
  }

  .wb-photo--accomodation {
    width: 70%;
  }
  
  .xb-window__title {
  font-weight: 400;
  letter-spacing: 0.1x;
  padding: 1px 2px;
  color: white;
  font-size: 9px;
  
}
}


