/* Import font file */
@font-face {
    font-family: 'ALT Rin Mikaru Khadijah';
    src: url('../font/RINMIKARU.eot');
    src: url('../font/RINMIKARU.eot?#iefix') format('embedded-opentype'),
        url('../font/RINMIKARU.woff2') format('woff2'),
        url('../font/RINMIKARU.woff') format('woff'),
        url('../font/RINMIKARU.svg#ALT_RINMIKARU-Regular') format('svg');
    font-weight: 700;
    font-style: bold;
    font-display: swap;
}

/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
/*img,*/ picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
#root, #__next {
  isolation: isolate;
}

/* End CSS Reset */

/* HTML */
body {font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI Variable', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;}
h1,h2,h3,h4,h5,h6,h7,h8 {
  /* font-family: Arial, "Liberation Sans", Helvetica, sans-serif; */
  font-family: "Times New Roman", "Times Roman", "Tms Rmn", Times, "Free Serif", serif;
  font-weight: normal;
}
a { color: #5E530A; } a:visited { color: #5E530A; }
a:focus { color: #D6AD33; }

img {
  max-width: 100%;
  height: auto;
}

/* Padding settings */
.pd-8px {padding: 8px;}
.pd-12px {padding: 12px;}
.pd-16px {padding: 16px;}
.pd-20px {padding: 20px;}
.pd-24px {padding: 24px;}
.pd-28px {padding: 28px;}
.pd-32px {padding: 32px;}

/* Margin settings */
.mn-8px {margin: 8px;}
.mn-12px {margin: 12px;}

/* Auto LR margin with max-width */
.mn-lr-900px {
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}
.mn-lr-1024px {
  margin-left: auto;
  margin-right: auto;
  max-width: 1024px;
}
.mn-lr-1280px {
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
}

/* Navbar */
#NavbarTop.backcolor {
  background-color: white;
}
ul.navbar {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
} ul.navbar > li {display: inline; float: right} ul.navbar > li.flleft { float: left; }
ul.navbar > li > a {
  display: block;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
} ul.navbar > li.title > a:hover {
  color: #D6AD33;
  background-color: white;
} ul.navbar > li > a:hover, .dropnavt:hover .dropnavtbtn {
  color: #2E2B05;
  background-color: #FFF11B;
} ul.navbar li.iconedmenu {
  display: none;
}
.dropnavt {
  overflow: hidden;
} .dropnavt .dropnavtbtn {
  border: none;
  outline: none;
  color: #5E530A;
  padding: 14px 20px;
  background-color: white;
  font-family: inherit;
  margin: 0;
} .dropnavt-content {
  display: none;
  list-style-type: none;
  position: absolute;
  background-color: white;
  min-width: 120px;
  z-index: 1;
  margin: 0px;
  padding: 0px;
} .dropnavt-content a {
  float: none;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  color: #5E530A;
} .dropnavt-content a:hover {
  color: #2E2B05;
  background-color: #FFF11B;
} .dropnavt:hover .dropnavt-content {
  display: block;
}

/* Customize */
.background-set {
  background-image: url("/__set/img/back/__T-and-O.jpg");
  background-image: url("/__set/img/back/20250128114156.png");
  background-size: cover;
  background-position: top left;
  min-height: 100%;
  min-height: 100vh;
}
.nav-logo {
  vertical-align: text-bottom;
  margin-top: -3px;
  margin-bottom: 0px;
  width: 16pt;
  height: auto;
}
.fixed-btl {
  position: fixed;
  bottom: 0;
  right: 0;
  width: auto;
  max-width: 400px;
  padding: 4px 8px;
  background: white;
}
div#MainContent p {
  margin-block-start: 1em;
  margin-block-end: 1em;
}
.small-fnt {
  font-size: 9pt;
}

#SourceBackImage {
  z-index: -1
}

/* Dark but contrast? */
html[data-tscheme="dark"] {
  color: antiquewhite;
  background-color: #333;
}
html[data-tscheme="dark"] a { color: #FFE870; } html[data-tscheme="dark"] a:visited { color: #FFE870; }
html[data-tscheme="dark"] a:focus { color: #FFFCC2; }

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
  html {
    color: antiquewhite;
    background-color: #333;
  }
  a { color: #FFE870; } a:visited { color: #FFE870; }
  a:focus { color: #FFFCC2; }
  
  #NavbarTop.backcolor {
    background-color: #333;
  }
  ul.navbar > li.title > a:hover {
    color: aquamarine;
    background-color: #333;
  } ul.navbar > li > a:hover, .dropnavt:hover .dropnavtbtn {
    color: #111;
    background-color: #FFFCC2;
  }
  .dropnavt .dropnavtbtn {
    background-color: #333;
    color: #FFE870;
  }

  .fixed-btl {
    background-color: #333;
  }
}

/* Responsive? Just Viewport */
@media screen and (max-width: 600px) {
  ul.navbar li:not(:first-child), .dropnavt .dropnavtbtn {display: none;}
  ul.navbar li.iconedmenu {
    float: right;
    display: block;
  }
  ul.navbar.responsive {
    position: absolute;
    min-height: 100vh;
    min-width: 100vw;
    background-color: white;
  }
  ul.navbar.responsive .iconedmenu {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.navbar.responsive li {
    float: none;
    display: block;
    text-align: left;
  }
  ul.navbar.responsive li a {
    text-align: left;
  }
  ul.navbar.responsive .dropnavt { float: none; }
  ul.navbar.responsive .dropnavt-content { position: relative; }
  ul.navbar.responsive .dropnavt .dropnavtbtn {
    display: block;
    width: 100%;
    text-align: left;
  } 
}

@media screen and (max-width: 600px) and (prefers-color-scheme: dark) {
  ul.navbar.responsive {
    background-color: #333;
  }
}