* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    min-height: 600px;
    background-color: #400; /* Plain black background */
    background-image: url('../img/mindFingerBG.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}

/*colors*/

footer, header{
background-color: #700;
}

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

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

a:hover img {
border-radius: 0;
}

/* accessibility features - includes alternative colors */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: #fff;
    color: #000;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

@media (max-width: 600px) {
    main {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}
/* end accessibility features */

h1 {
font-size: 1.4rem;
font-weight: normal;
}

h2 {
font-size: 1.2em;
font-weight: bold;
}

sup {
font-size: 0.6rem
}

header {
    padding: 1rem;
    text-align: center;
    border-bottom: 5px solid #55d400;
}

main {
    flex: 1 0 auto;
    max-width: 1000px;
    min-height: 400px;
    margin: 0 auto;
}

footer {
    text-align: center;
    padding: 1rem;
    flex-shrink: 0;
    border-top: 5px solid #55d400;
}

.container	{
    text-align: center;
    height: 100%;
    max-width: 96% !important;
    min-height: 500px;
    padding: 2%;
    margin: auto;
    line-height: 1.5em;
}

#search-widget
        {
    position: fixed;
    top: 5px;
    right: 5px;
}

.header {
    width: 100%;
    clear: both;
    margin: 1em 0;
}

.header h3 {
    text-align: center;
    padding: 10px;
    font-size: 1.5em;
}

.content-section	{
	padding: 10px 0 0;
}

.img-box	{
	width: 100%;
	text-align: center;
}

.img-box	img {
	max-width: 100%;
	text-align: center;
}

.disclaimer {
  font-size: 0.8em;
  font-weight: bold;
}

.text-left{
  text-align: left;
}

.figure {
  font-style: italic;
  font-size: 0.9em;
}

.addendum-about {
  font-size: 0.8em;
  color: #999;
  text-align: center;
}

.r3cg img	{
	margin: auto;
  max-width: 280px;
  border-radius: 20px;
}

.r3cg {
    display:block;
    max-width: 980px;
    text-align: center;
}

.r3cg p {
  max-width: 400px;
}


/* columns */
.r3cg > * {
    padding:1rem;
}

/*r3cg links*/

.hort-menu .r3cg a	{
  color: #fff;
	font-weight: bold;
	text-decoration: none;
	background-color: #118833;
	display: block;
	width: 96%;
	padding: 2%;
}

.hort-menu .r3cg a:hover	{
  background-color: #33cc55;
	text-decoration: underline;
}

.hort-menu a:hover	img {
  box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border: 10px solid #cc6633;
}

/* tablet breakpoint */
@media (min-width:940px) {
    h2 {
      text-align: left;
    }

    .r3cg {
        display: grid;
        grid-auto-rows: 1fr;
        grid-template-columns: 1fr 1fr 1fr;
        text-align: center;
    }
    
    .r3cg p {
      text-align: left;
    }

}
    
    /* 4 column responsive grid menu*/

.menu .r4cg a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    background-color: #118833;
    display: block;
    width: 96%;
    padding: 2%;
}

.menu .r4cg a:hover {
  background-color: #33cc55;
	text-decoration: underline;
}

.r4cg > * {
    padding: 10px;
}

/* tablet breakpoint */
@media (min-width: 850px) {
    .r4cg {
        display: grid;
        grid-auto-rows: 1fr;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    
    .menu .r4cg a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    background-color: #118833;
    display: block;
    width: 96%;
    padding: 10px;
}

.menu .r4cg a:hover {
  background-color: #33cc55;
	text-decoration: underline;
}

}

