
body {
	font-family: Arial,sans-serif;
	font-size: 90%;
	color: #333333;
	line-height: 1.166;	
	margin: 0px;
	padding: 0px;
	/* min-width: 1000px; */
}

header {
  position: fixed;
  height: 130px;
  top: 0;
  border-bottom: 1px solid #E2EAEF;
  width: 100%;
  background-color: white;
  background-color: #DDD;
}

a {
	color: #006699;
	text-decoration: none;
}

a:link {
	color: #006699;
	text-decoration: none;
}

a:visited {
	color: #006699;
	text-decoration: none;
}

a:hover {
	color: #006699;
	text-decoration: underline;
}

.brown_1 {
	color: #663300;
}

.header_logo {
  /* border: 1px solid black; */
  padding: 10px;
  border-bottom: 1px solid #E2EAEF;
  height: 65px;
  width: 100%;
  background-image: url(../images/banner-left.jpg);
  background-color: #FFF;
  background-repeat: no-repeat;
  background-position: top right;
}

/* limit input and textarea widths for small screen */
/* input:not(#search_for), */
input:not(type="search"),
input:not(type="checkbox") {
  width: 114em;
}
textarea {
  width: 114em;
}
/* limit input and textarea widths for small screen */

/* BUTTON */

/* https://css-tricks.com/overriding-default-button-styles/ */
button:not(#search_button) {
  display: inline-block;
  border: none;
  border-style: solid;
  border-width: 1px;
  border-color: #999;
  border-radius: 5px;
  /*padding: 1rem 2rem;*/
  padding: 0.5rem 1rem;
  margin: 0;
  text-decoration: none;
  /* background: #0069ed;
  color: #ffffff; */
  background: #f3f6f8;
  color: #000;
  font-family: sans-serif;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  /* transition: background 250ms ease-in-out, 
      transform 150ms ease; */
  transition: background 125ms ease-in-out, 
  transform 150ms ease;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* button:hover,
button:focus { */
button:not(#search_button):hover,
button:not(#search_button):focus {
  /*background: #0053ba;*/
  background: #d3d6d8;
}

/* button:focus { */
button:not(#search_button):focus {
  /*outline: 1px solid #fff;
  outline-offset: -4px;*/
  outline: 2px solid #006699;
}

/* button:active { */
button:not(#search_button):active {
  transform: scale(0.95);
}

.policy {
font-size: 90%;
}

.terms {
font-size: 90%;
}

/* https://ghinda.net/article/mimic-native-focus-css/ */
.unreal-focus {
  outline-width: 2px;
  outline-style: solid;
  outline-color: Highlight;
}

/* WebKit gets its native focus styles.
*/
@media (-webkit-min-device-pixel-ratio:0) {
  .unreal-focus {
    outline-color: -webkit-focus-ring-color;
    outline-style: auto;
  }
}
/* end BUTTON */

#search_form {
position: absolute;
top: 82px;
right: 0px;
font-size: 1.1em;
}

#search_form button {
position: relative;
left: -7px;
font-size: 1.0em;
}

#main-menu legend {
  color: white;
  color: wheat;
  color: black;
}

#main {
  padding: 10px;
  margin-top: 135px;
}

#news {
  border-top: 2px solid thistle;
}

#news h3 {
  padding: 7px;
  margin: 0;
  background-color: lightgrey;
}

#news p,
#news span {
  padding: 0 5px;
}

/* header text with outline */
/* https://css-tricks.com/adding-stroke-to-web-text/ */
@supports (-webkit-text-stroke: 1px black) {
  .logo {
    -webkit-text-stroke: 1px black;
    -webkit-text-fill-color: rgb(35, 156, 23);
  }
}

/* this will fall back to rgb(35, 156, 23) if stroke is not supported */
.logo {
  color: rgb(35, 156, 23);
  -webkit-text-fill-color: rgb(35, 156, 23); /* Will override color (regardless of order) */
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}

h1 {
	font-family: Verdana,Arial,sans-serif;
	font-size: 130%;
	color: #334d55;
	margin: 0px;
	padding: 0px;
}

h2 {
	font-family: Arial,sans-serif;
	font-size: 120%;
	color: #334d55;
	margin: 0px;
	padding: 0px;
}

h3 {
	font-family: Arial,sans-serif;
	font-size: 110%;
	color: #334d55;
	margin: 0px;
	padding: 0px;
}

h4 {
	font-family: Arial,sans-serif;
	font-size: 100%;
	color: #334d55;
	margin: 0px;
	padding: 0px;
}

#news p {
  word-wrap: break-word; /* my addition */
}

/*#footer {*/
footer {
  clear: both;
  text-align: center;
  padding: 1em;
  border-bottom: 1px solid #E2EAEF;
  border-top: 1px solid #E2EAEF;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  background-color: #f3f6f8;
  background-color: #eee;
  width: 100%;
}

.hide-on-no-script {
display:none;
}

.align_text_to_center {
text-align: center;
}

.counter {
/* display: inline; */
/* border: 1px black; */
font-weight: bold;
}

.grouping {
padding-left: 0px;
padding-top: 15px;
border: none;
}

.user_form fieldset {
padding-left: 0px;
padding-top: 15px;
border: none;
}

.user_form h3,
.user_form label,
.user_form label h3 {
font-weight: normal;
}

.user_form legend,
.user_form legend h2 {
font-weight: normal;
font-size: 120%;
}

/* begin Marc Caron code */

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

/* Button styling */
.menu-toggle {
  display: inline-block;
  padding: .75em 15px;
  padding: .45em .45em;
  line-height: 1em;
  font-size: 1em;
  font-size: 1.6em;
  color: #333;
  /* my adds */
  position: absolute;
  top: 70px;      
  left: 5px;
}

.menu-toggle:hover,
.menu-toggle:focus {
  color: #c00;
}

/*
 Default styles + Mobile first
 Offscreen menu style
*/
.main-menu {
  position: absolute;
  display: none;
  left: -200px;
  top: 0;
  height: 100%;
	overflow-y: scroll;
	overflow-x: visible;
	transition: left 0.3s ease,
				      box-shadow 0.3s ease;
	z-index: 999;
}

.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 2.5em 0 0;
  /* Hide shadow w/ -8px while 'closed' */
  -webkit-box-shadow: -8px 0 8px rgba(0,0,0,.5);
     -moz-box-shadow: -8px 0 8px rgba(0,0,0,.5);
          box-shadow: -8px 0 8px rgba(0,0,0,.5);
  min-height: 100%;
  width: 200px;
  background: #1a1a1a;
  background-color: #FFE3AA;
}

.main-menu a {
  display: block;
  padding: .75em 15px;
  line-height: 1em;
  font-size: 1em;
  color: #fff;
  color: #006699;
  text-decoration: none;
  border-bottom: 1px solid #383838;
}

.main-menu li:first-child a {
  border-top: 1px solid #383838;
}

.main-menu a:hover,
.main-menu a:focus {
  background: #333;
  background: #FFF5CC;
  text-decoration: underline;
}

.main-menu .menu-close {
  position: absolute;
  right: 0;
  top: 0;
}

/*
 On small devices, allow it to toggle...
*/
/*
 :target for non-JavaScript
 [aria-expanded] will be used if/when JavaScript is added to improve interaction, though it's completely optional.
*/
.main-menu:target,
.main-menu[aria-expanded="true"] {
  display: block;
  left: 0;
  outline: none;
  /* -moz-box-shadow: 3px 0 12px rgba(0,0,0,.25);
  -webkit-box-shadow: 3px 0 12px rgba(0,0,0,.25);
  box-shadow: 3px 0 12px rgba(0,0,0,.25); */
  /* -moz-box-shadow: 3px 0 12px rgb(255,227,170,.25);
  -webkit-box-shadow: 3px 0 12px rgb(255,227,170,.25);
  box-shadow: 3px 0 12px rgb(255,227,170,.25); */
}

.main-menu:target .menu-close,
.main-menu[aria-expanded="true"] .menu-close {
  z-index: 1001;
}

.main-menu:target ul,
.main-menu[aria-expanded="true"] ul {
  position: relative;
  z-index: 1000;
}

/* 
 We could us `.main-menu:target:after`, but
 it wouldn't be clickable.
*/
.main-menu:target + .backdrop,
.main-menu[aria-expanded="true"] + .backdrop{
  position: absolute;
  display: block;  
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 998;
  background: #000;
  background: rgba(0,0,0,.85);
  background: rgba(0,0,0,.70);
  /* background: rgb(255,227,170,.55); */
  cursor: default;
}

@supports (position: fixed) {
  .main-menu,
  .main-menu:target + .backdrop,
  .main-menu[aria-expanded="true"] + .backdrop{
    position: fixed;
  }
}

/*
 Demo purposes only
*/
*,
*:before,
*:after {
  box-sizing: border-box;
}

header {
  padding: 20px;
  padding: 0; /* my change */
  display: flex;
  align-items: baseline;
}

article {
  padding: 30px;
  max-width: 55em;
  font-size: 16px;
  line-height: 1.5em;
}

article h2 {
  font-weight: 500;
  font-size: 28px;
}

.logo {
  margin: 0 30px 0 10px;
  margin: 5px 30px 0 10px; /* my change */
  font-size: 1.25em;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
/* end Marc Caron code */

/* below from: https://dev.to/proticm/styling-html-checkboxes-is-super-easy-302o */
.checkbox_label {
  display: inline-flex;
  cursor: pointer;
  position: relative;
}

.checkbox_label > span {
  color: #34495E;
  padding: 0.5rem 0.25rem;
}

.checkbox_label > input {
  height: 25px;
  width: 25px;
  height: 1.6rem; /* my addition */
  width: 1.6rem; /* my addition */
  /* -ms-appearance: none; */ /* IE - my addition */
  -webkit-appearance: none; /* Safari and Chrome */
  -moz-appearance: none; /* FireFox */
  -o-appearance: none; /* Opera */
  appearance: none;
  border: 1px solid #34495E;
  border-radius: 4px;
  outline: none;
  transition-duration: 0.3s;
  transition-duration: 0.15s; /* my addition */
  background-color: #41B883;
  background-color: transparent; /* my addition */
  cursor: pointer;
}

.checkbox_label > input:checked {
  border: 1px solid #41B883;
  background-color: #34495E;
  border: 1px solid #34495E; /* my addition */
  background-color: red; /* my addition */
}

.checkbox_label > input:checked + span::before {
  content: '\2713'; /* a check */
  font-size: 1.5rem;
  display: block;
  text-align: center;
  color: #41B883;
  color: white; /* my addition */
  position: absolute;
  left: 0.7rem;
  top: 0.2rem;
  left: 0.5rem; /* my addition */
  top: 0.2rem; /* my addition */
  left: 0.25rem; /* my addition */
  top: 0.0rem; /* my addition */
}

.checkbox_label > input:active {
  border: 2px solid #34495E;
}
/* above from: https://dev.to/proticm/styling-html-checkboxes-is-super-easy-302o */

/*
 Bob's Larger screen styling
*/
@media (min-width: 768px) {

  .header_logo {
    background-image: url(../images/banner.jpg);
  }

  .container {
    height: 100%;
  }

  #main {
    padding: 10px;
    border-top: 1px solid #E2EAEF;
    float: left;
    width: 75%;
    /* added below on 1/12/2020 */
    /* border-top: 1px solid; */ /* troubleshooting */
    min-height: 300px; /* my addition to Mr. Simpson's */
    max-height: 700px; /* my addition to Mr. Simpson's; should be the same as #news */
    overflow-x: auto; /* my addition to original */
    overflow-y: auto;
  }

  #news {
    margin-top: 135px;
    padding: 5px;
    border-top: 1px solid #E2EAEF;
    border-left: 1px solid #E2EAEF;
    background-color: #f3f6f8;
    float: right;
    width: 25%;
    /* added below on 1/12/2020 */
    min-height: 300px; /* my addition to original */
    max-height: 700px; /* should be the same as #main */
    overflow-x: auto;
    overflow-y: auto;
    }
}
