/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  font-family: arial, sans-serif;
  color: #585;
  font-size: 2vh;
  margin: 0; 
  padding: 0; 
  height: 100vh; 
}
body { padding: 0; margin: 0; position: relative; top: 0; left: 0; height: 100%;  background: url('/backgrounds/meridian.jpg'); background-size: auto;  background-repeat: no-repeat; overflow: hidden; }

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}



.header { position: relative; top: 0;  height:50px; border-bottom:1px solid black; text-align:center; font-size:2em; background-color:#303; color: gold;padding-top:5px;}
.body { height:100%; overflow: auto; background: url('/img/Meridian-1.jpg');  background-repeat: no-repeat;  background-size: 98% 98%; }
.footer {position: absolute; bottom: 0; width:100%;  border-top:1px solid black; background-color: #303; color: gold; text-align: center; font-size: 1em;  }

.layout {
  width: 100%;

  display: flex;
  gap: 16px;
  flex-wrap: wrap;

  justify-content: center;
  align-items: center;

}
#sortable li { float: left; border:2px solid #808; padding:5px; margin:7px; margin-left:15px;  color:#b3b469; min-width: 90px; height: 100px; border-radius:20px; text-align:center; background: #202; display: table; background-color: #a4508b; background-image: linear-gradient(180deg, #808 0%, #101 74%);  font-weight:bold; }
.sortable li { float: left; border:2px solid #808; padding:5px; margin:7px; margin-left:15px;  color:#b3b469; min-width: 90px; height: 100px; border-radius:20px; text-align:center; background: #202; display: table; background-color: #a4508b; background-image: linear-gradient(180deg, #808 0%, #101 74%);  font-weight:bold; }
#sortable li p { font-size: 2em; }
.sortable li p { font-size: 2em; }
#sortable { list-style-type: none; margin: 0; padding: 0; }
.sortable { list-style-type: none; margin: 0; padding: 0; }

.sortable2 li { float: left; border:2px solid #808; padding:5px; margin:7px; margin-left:15px;  color:#b3b469; min-width: 90px; height: 50px; border-radius:20px; text-align:center; background: #202; display: table; background-color: #a4508b; background-image: linear-gradient(180deg, #808 0%, #101 74%);  font-weight:bold; }




  /* For presentation only, no need to copy the code below */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}
.popup { margin: 0 auto; display: none;   background: #303; border:2px solid #444;   box-shadow: 5px 5px 55px #303;   border-radius:10px;  padding: 0px 5px 20px 5px; color: cyan; background-color: #a4508b; background-image: linear-gradient(180deg, #505 5%, #202 74%); overflow: hidden; position: absolute; top: 30px; left: 15%; max-height:90vh; font-size:2vh;}
.popupSmall { margin: 0 auto; display: none;   background: #303; width:500px;  border:2px solid #444;   box-shadow: 5px 5px 55px #303;   border-radius:10px;  padding: 0px 5px 20px 5px; color: cyan; background-color: #a4508b; background-image: linear-gradient(180deg, #505 5%, #202 74%); overflow: auto; position: absolute; top: 30px; left: 15%; min-height: 60%; max-height:80%; }


.close { position: absolute; right: 10px; top: 0; color: #b3b469; font-size: 18px; border: none; background: none;  display:block; }
.close::after { clear:both; }
.close:hover, .close2:focus { color: #b3b469; cursor: pointer; }
.title { border: 1px solid rgba(5,0,5,.3); background: rgba(0,5,0,.5); padding:5px; color: #ff0022; }

.ui-tabs { background: transparent; border: none; color: cyan; padding: 0; margin: 0;} 
.ui-tabs-tab { background: transparent; border: none; color: cyan; padding: 0; margin: 0; } 
.ui-state-default { background: transparent; border: none; }
a.ui-tabs { background: transparent; }
ul.ui-tabs { background: transparent; border:none; }
li.ui-tabs { background: transparent; border: none; }
div.ui-tabs { background: transparent; border: none; }
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { background: transparent; border:none; } 
.ui-state-active a, .ui-state-active a:link { color: #c0c; background-color: #404;}

.smimg { max-height: 20px; }
.scroll { overflow: auto; height: 50vh; } 
.mainTab { background: red; padding:0; margin: 0; max-height:90vh; border: none; display: table; }
.mainTab > ul { background: blue; padding:0; margin: 0; border: none; }
.mainTab > div div { padding:0; margin: 0; border: none; }
.mainTab > div { padding:0; margin: 0; border: none; }
.subTab { background: purple; padding: 0; margin: 0; height: 90%; overflow: hidden; } 
.subTab > ul { background: purple; padding: 0; margin: 0; } 
.ui-resizable { border: none; } 
.ui-resizable-handle { border: none; padding: 0; margin: 0;}
.ui-widget-content { border: none; }
.ui-widget-header { border: none; }

.popNoMove { position: relative; max-width:400px; border:5px solid #550055; margin: 15px auto;  background: rgba(25,00,25,.9);padding:0 15px 15px 15px; color: #cc00ff;}
label.popNoMove { display: block; } 
.popNoMove label { display: block; } 
.popNoMove input[type="text"] { display: block; margin-bottom: 15px; width: 95%;  } 
.popNoMove input[type="password"] { display: block; margin-bottom: 15px; width: 95%; } 
.popNoMove input[type="checkbox"] { margin-bottom: 15px;  } 
.popNoMove button { width: 150px; } 


.login div { margin: 15px auto; } 
.login button { width: 150px; } 
.automargin { margin: auto; text-align: center; } 
button[disabled] { color: #1c1c1c; } 
button[disabled]:hover { color: black; background-color: red;  } 
.stayloggedin { font-size: 10px; } 
.container {     display: flex;     align-items: center;     justify-content: center; }
.tabs > ul { background: transparent; color: white; } 
