:root
{
  /* background colors */

  --banner_font_color: #6B4226; 
  --red_highlight: #882121;

  --hrl_hdr_bg: #4a3c2a;
  --hrl_hdr_txt: #eee;
  --hrl_even_bg: #7c7469;
  --hrl_odd_bg: #796852;
  --hrl_txt: #eee;
  --hrl_hover_bg: #606060;
  --hrl_hover_txt: #fff;
}

html
{
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Sans-Serif;
  font-size: 12pt;
  background: lightgray;  /*#1D2124;*/
}

body
{
  height: auto;
  min-height: 100%;
  min-width: 320px;
  margin: 0;
  padding: 0 0 12px 0;
  background: linear-gradient(burlywood, beige);
  font-family: 'Muli', sans-serif;
}

input,
textarea,
select
{
  font-family: inherit;
  font-size: inherit;
}

html,
body,
div,
textarea,
form,
a,
input
{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

li
{
  margin-bottom: .6em;
}

.img_shadow
{
  -webkit-box-shadow: 4px 4px 9px 0px rgba(85,85,85,1);
  box-shadow: 4px 4px 9px 0px rgba(85,85,85,1);
}

.caption_1, .caption_2, .caption_3
{
  display: block;
  position: relative;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 1em;
}

.caption_1 { font-size: 1.4em; }
.caption_2 { font-size: 1.2em; }
.caption_3 { font-weight: bold; }

.p_caption
{
  letter-spacing: 1px;
  font-weight: bold;
}

#page
{
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 1000px;
  min-width: 320px;
  height: auto;
  margin: 0px auto 20px auto;
  padding: 6px 20px;
}

div#banner
{
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
}

div#banner > div.bookend
{
  flex: 0 1 100px;
}

div#banner_text
{
  width: 100%;
  margin-bottom: 12px;
  font-family: 'Merienda', cursive;
  font-size: 2.5em;
  letter-spacing: 2px;
  text-align: center;
  color: var(--banner_font_color);
  text-shadow: 8px 8px rgba(0, 0, 0, .1);
}

div#page div#society_caption
{
  width: 100%;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 4px;
}

div#page div#session_user
{
  width: 100%;
  font-size: .8em;
  text-align: center;
}

@media screen and (max-width: 800px) and (min-width: 751px)
{
  div#banner_text { font-size: 2.3em; }
}

@media screen and (max-width: 750px) and (min-width: 701px)
{
  div#banner_text { font-size: 2.1em; }
}

@media screen and (max-width: 700px) and (min-width: 651px)
{
  div#banner_text { font-size: 1.9em; }
}

@media screen and (max-width: 650px) and (min-width: 601px)
{
  div#banner_text { font-size: 1.7em; }
}

@media screen and (max-width: 600px) and (min-width: 551px)
{
  div#banner_text { font-size: 1.5em; }
}

@media screen and (max-width: 550px) and (min-width: 501px)
{
  div#banner_text { font-size: 1.5em; }
}

@media screen and (max-width: 500px) and (min-width: 451px)
{
  div#banner_text { font-size: 1.3em; }
}

@media screen and (max-width: 450px) and (min-width: 401px)
{
  div#banner_text { font-size: 1.3em; }
}

@media screen and (max-width: 400px)  and (min-width: 351px)
{
  div#banner_text { font-size: 1.3em; }
}

@media screen and (max-width: 350px)
{
  div#banner_text { font-size: 1.3em; }
}

div#terms_of_use
{
  border:1px dotted gray;
  border-radius:6px;
  background:rgba(150,150,150,.05);
}

div.text_page
{
  display: block;
  position: relative;
  width: 98%;
  max-width: 600px;
  margin: 2em auto;
  padding: 1em;
  text-align: left;
}

div.text_box
{
  display: block;
  position: relative;
  width: 98%;
  max-width: 400px;
  margin: 1.5em auto;
  padding: 1em;
  text-align: center;
  font-size: 1.3em;
  border: 1px dotted gray;
  border-radius: 8px;
  background: rgba(100, 100, 100, .2);
  -webkit-box-shadow: 6px 6px 25px -14px rgba(122,113,89,1);
  box-shadow: 6px 6px 25px -14px rgba(122,113,89, .8);
}

img.page_image
{
  display: block;
  margin: 0 auto 20px auto;
  width: 100%;
  max-width: 300px;
  border: 1px dotted #222222;
  border-radius: 8px;
  -webkit-box-shadow: 4px 4px 9px 0px rgba(85,85,85,1);
  box-shadow: 4px 4px 9px 0px rgba(85,85,85,1);
}

.footnote
{
  font-size: .8em;
}

.box_shadow_subtile
{
  -webkit-box-shadow: 6px 6px 25px -14px rgba(122,113,89,1);
  box-shadow: 6px 6px 25px -14px rgba(122,113,89,1);
}
.box_shadow
{
  -webkit-box-shadow: 4px 4px 9px 0px rgba(85,85,85,1);
  box-shadow: 4px 4px 9px 0px rgba(85,85,85,1);
}

a#back_icon
{
  display: block;
  position: absolute;
  width: 24px;
  height: 24px;
  top: 4px;
  left: 4px;
  cursor: pointer;
  border-style: none;
  z-index: 10;
}

a#back_icon img
{
  width: 100%;
}

img#help_icon
{
  display: block;
  margin: 0px auto;
  width: 20px;
  cursor: pointer;
}

div#society_splash
{
  width: 80%;
  max-width: 400px;
  margin: 12px auto;
  padding: 20px;
}

div#society_splash img
{
  display: block;
  width: 100%;
}

div#society_splash div#ss_caption
{
  width: 100%;
  margin-bottom: 12px;
  text-align: center;
  font-size: 1.4em;
}

div#society_splash div#ss_image_caption
{
  width: 100%;
  margin-top: 12px;
  text-align: center;
  font-size: 1.2em;
}

div#super_admin_items
{
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
}

@media screen and (max-width: 800px) and (min-width: 699px)
{
  div#page { padding: 0 18px; }
}

@media screen and (max-width: 700px) and (min-width: 599px)
{
  div#page { padding: 0 16px; }
}

@media screen and (max-width: 600px) and (min-width: 499px)
{
  div#page { padding: 0 14px; }
}

@media screen and (max-width: 500px) and (min-width: 399px)
{
  div#page { padding: 0 12px; }
}

@media screen and (max-width: 400px)
{
  div#page { padding: 0 10px; }
}
