/*
  Base styling, not theme
*/

:root
{
 
  /* background colors */

  --bgc_green: #d2deca; /* #b3bdac; */
  --bgc_blue: #cadbdc;
  --bgc_gray: #acb3bd;
  --bgc_pale: #ecebe9; /*#e8e6e2;*/
  --bgc_brown: #bdb7ac;
  --bgc_dark_brown: #b2af9e;
  --bgc_yellow: #feffe5;
  --bgc_pink: #ffecec;
  
  --option_grp: #f6eee1;  
  --list_header: #476161;
  --list_odd_row: #aeb4b4;
  --list_even_row: #8c9898;
  
  --panel_blue: #6a8ca9;
  --panel_green: #8f9187;
  --panel_gray: #858a91;
  --panel_brown: #bdb7ac;
  --dialog_alert: #841B2D;
}

html
{
  margin: 0;
  padding: 0;
  font-family: Sans-Serif;
  font-size: 12pt;
}

body
{
  margin: 0;
  padding: 0;
}

div#page
{
  display: flex;
  position: relative;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
  min-width: 300px;
  margin: 0px auto 20px auto;
  padding: 4px;
  overflow: hidden;
}

div#main_box
{
  align-self: stretch;
  display: block;
  position: relative;
  width: 100%;
  min-height: 450px;
  text-align: left;
  overflow: hidden;
}

*
{
  font-family: inherit;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

p
{
  margin-top: 0;
  margin-bottom: 1em;
  line-height: 1.3;
}

a
{
  outline: 0;
	color: black;
  cursor: pointer;
}

input[type="text"],
textarea,
select,
a:focus
{
  outline: none;
}

h1, h2, h3, h4
{
  display: block;
  margin: 0;
  font-weight: normal;
}

h1
{
  font-size: 1.6em;
  letter-spacing: .07em;
  margin-bottom: .6em;
}

h2
{
  font-size: 1.4em;
  letter-spacing: .06em;
  margin-bottom: .5em;
}

h3
{
  font-size: 1.2em;
  letter-spacing: .04em;
  margin-bottom: .4em;
}

h4
{
  font-size: 1.1em;
  letter-spacing: .02em;
  margin-bottom: .3em;
}


hr
{
  margin-top: 20px;
  margin-bottom: 20px;
}

/* ------ */

ul, ol
{
  display: flex;
  flex-direction: column;
  margin: 0 0 1em 1.5em;
  padding: 0;
}

li
{
  margin: 0 1.5em .5em 1.5em;
}

/* ------ */

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

.box_shadow,
.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);
}

/* shadow on all four sides */
.back_shadow
{
  -webkit-box-shadow: 0px 0px 8px 2px rgba(50, 50, 50, 0.5);
  box-shadow:         0px 0px 8px 2px rgba(50, 50, 50, 0.5);
}

div.email_to
{
  white-space: nowrap;
  text-decoration: underline;
  cursor: pointer;
}

div.clickable      /* show div content similar to a (anchor)*/
{
  cursor: pointer;
  text-decoration: underline;
}

/* defaults */

div#page_prolog
{
  width: 100%;
}

div.v_spacer
{
  height: 50px;
}

div.content_not_found
{
  font-size: 1.2em;
  color:  #722828 ;
  text-align: center;
  letter-spacing: 1px;
  margin: 30px 0
}
/* Login icon on banner & footer*/
a.log_in_icon 
{
  display: flex;
}

a.log_in_icon > img
{
  width: 18px;
  height: 18px;
  cursor: pointer;
}

div#banner > a.log_in_icon
{
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 10;
}

div#footer > a.log_in_icon
{
 justify-content: center;
}

@media screen and ( max-width: 799px )
{
  div#banner > a.log_in_icon
  {
    /* Should be coordinated with flyout menu */
    display: none;
  }
}
