:root
{
  /* background colors */

  --bgc_green: #b3bdac;
  --bgc_blue: #cadbdc;
  --bgc_gray: #acb3bd;
  --bgc_brown: #bdb7ac;
  --bgc_yellow: #feffe5;
  --bgc_pink: #ffecec;
  --hilite_red: #a52a2a;
}

*
{
  /* this causes padding and borders to be inside the width and height of the element */
  box-sizing: border-box;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

html
{
  background: black;
  /*font-family: 'Work Sans', sans-serif;*/
  font-family: 'Maven Pro', sans-serif;
  font-size: 12pt;
}

body
{
  margin: 0px;
  background: #f4f3f2;
}

/* these elements don't inherit these by default */
textarea, input, select, button
{
  font-family: inherit;
  font-size: inherit;
}

div#page
{
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}

#content
{
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  position: relative;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 12px;
  padding: 0 12px;
  z-index: 0;
  border: 1px none red;
}

#content_left
{
  flex:  1 1 70%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  padding: 0 12px;
  margin-bottom: 20px;
  overflow: auto;
}

#content_right
{
  flex: 0 1 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

div#copyright
{
  margin: 40px auto 20px auto;
  text-align: center;
  letter-spacing: 1px;
}

#copyright a
{
  text-decoration: none;
  cursor: default;
}

#copyright a:link    { color: #FFE135; }
#copyright a:hover   { color: #FFE135; }
#copyright a:active  { color: #FFE135; }
#copyright a:visited { color: #FFE135; }

.panel_1
{
  display: block;
  position: relative;
  width: 100%;
  max-width: 650px;
  margin: 0px auto 12px auto;
  line-height: 1.5em;
  padding: 20px;
  border: 2px solid black;
  border-radius: 8px;
  background: #E3DAC9;
  -webkit-box-shadow: 8px 12px 6px -6px rgba(99, 99, 99, .80);
	box-shadow: 8px 12px 6px -6px rgba(99, 99, 99, .80);
}

div.panel_1 div.panel_caption
{
  width: 100%;
  text-align: center;
  font-size: 1.4em;
  letter-spacing: 1px;
}

.panel_1 p
{
  margin-top: 0;
  margin-bottom: 1.2em;
}

.content_border_box
{
  margin-bottom: 30px;
  padding: 18px;
  border: 1px solid black;
  border-radius: 8px;
  background: #eeeeee;
}


div.page_caption
{
  display: block;
  position: relative;
  width: 100%;
  margin-bottom: 1em;
  text-align: center;
  letter-spacing: 1px;
  font-size: 1.4em;
}

div.dialog_caption
{
  display: block;
  position: relative;
  width: 100%;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 1px;
  font-size: 1.2em;
}

.caption_14pt, .caption_24pt
{
  display: block;
  position: relative;
  text-align: center;
  letter-spacing: 1px;
  line-height: 125%;
  margin-bottom: .80em;
}

.caption_14pt { font-size: 1.1em; }
.caption_24pt { font-size: 1.6em; }

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

.form_msg
{
  display: flex;
  width: 100%;
  justify-content: center !important;;
  color: #841B2D;
  font-variant: small-caps;
  font-size: 1.2em;
}

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

input.styled_button
{
  width: 150px;
  min-width: 70px;
  max-width: initial;
  margin: 12px;
  padding: 6px 12px;
  background: var(--bgc_green);
  letter-spacing: 1px;
  font-size: 1.2em;
  cursor: pointer;
  border-style: none;
  border-top: 1px dotted gray;
  border-bottom: 1px dotted gray;
  border-radius: 6px;
  -webkit-box-shadow: 2px 2px 4px 0px rgba(99,99,99,.3);
  box-shadow: 2px 2px 4px 0px rgba(99,99,99,.3);
}

input.styled_button:hover
{
  -webkit-box-shadow: none;
  box-shadow: none;
}

input.styled_button:disabled:hover
{
  background-color: transparent;
  color: lightgray;
}


input.styled_button:hover,
input.styled_button_lrg:hover
{
  -webkit-box-shadow: none;
  box-shadow: none;
}

input.styled_button_lrg
{
  font-size: 1.1em;
  padding: 4px 20px;
}

.input_caption
{
  margin-bottom: 4px;
}

/* media query */

@media screen and (max-width: 600px)
{
  html { font-size: 90%; }
  #content { padding: 0 2px; }
}

