.container {
  display: grid; 
  grid-template-columns: 0.8fr 3fr 1fr; 
  grid-template-rows: 80px 40px 1fr 35px; 
  font-family: Tahoma, Verdana, sans-serif;
  gap: 0px 0px; 
  grid-template-areas: 
    "header header header"
    "navbar navbar navbar"
    "menu main syl"
    "footer footer footer"; 
}

p { font-size: 16px; line-height: 24px; margin-top: 5px; margin-bottom: 5px; }

h2 {
  display: block;
  font-size: 1.5em;
  margin-top: 0.83em;
  margin-bottom: 0.83em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

h4 {
  display: block;
  font-size: 1.2em;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

.header { 
  grid-area: header; 
  background-size: cover;
  background-position: center;
  background-image: url("../images/DaSimage1.jpg");
  text-align: center;
  color: #22dd22;
}

.navbar { 
  grid-area: navbar; 
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  text-align: left;
  background: #4682b4;
}

/* Style the navigation bar links */
.navbar a {
  color: white;
  padding: 14px 20px;
  text-decoration: none;
  text-align: left;
}

.navbar a:hover {
  background-color: #ccddff;
  color: black;
}

.menu { 
  grid-area: menu; 
  background-color: #ddeeee;
  align-content: left;
  white-space: nowrap;
}

.main { 
  grid-area: main;
  background-color: white;
  padding: 10px;
  overflow-y: auto;
}

.syl { 
  grid-area: syl; 
  background-color: #ddeeee;
  padding: 10px;
  overflow-y: visible;
}

.sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 10px;
}

.footer { 
  grid-area: footer; 
  padding-top:10px;
  text-align: center;
  font-size: 20px;
  background: #4682b4;
  width: 100%;
  height: 50px;
}


/* Modifying how the links appear in the left hand menu column */
a.main:link, a.main:visited {
    background-color: #4682b4;
    color: #F8ECE0;
    padding: 4px 5px;
    text-align: left;
    text-decoration: none;
	border-left: 12px solid #191970;
	border-right: 2px solid #191970;
    display: inline-block;
}

a.main:hover, a.main:active {
    background-color: #ccddff;
	color: black;
}

a.unit:link, a.unit:visited {
    background-color: #22aaee;
    color: white;
    padding: 4px 5px;
    text-align: center;
    text-decoration: none;
	border-left: 12px solid #ddeeee;
	border-right: 2px solid #ddeeee;
    display: inline-block;
}

a.unit:hover, a.unit:active {
    background-color:#33ccff;
	color: black;
}

.footer a:link, a:visited {
  color: #ffffff;
  background-color: #4682b4;
  text-decoration: none;
}

.footer a:hover, a:active {
    background-color: #87ceeb;
    display: inline-block;
}

p.cred {
	color:red;
}

p.cgreen {
	color:green;
}

/* Ensuring text entered in forms sits on the right hand side of the box */
input { text-align: right; }

/* Modifying how buttons appear on the page */
:root{
	--strFontFace:       'Open Sans', sans-serif;
	--strTextColor:      #191970;
	--strTitleColor:     #000000;

	--strFuncLightColor: #ffffff;
	--strFuncShadeColor: #7f7f7f;
	--strLinkColor:      #ffffFF;
	--strVLinkColor:     #ffffff;
	
	--strNavBarColor:    #000000;
	--strNavLightColor:  #7f7f7f;
	--strNavShadeColor:  #000000;
	--strNavTextColor:   #ffffff;
	
	--strPageBGColor:    #FFFFFF;
	--strExBGColor:      #FFFFFF;
}

.FuncButton {
	border-style: solid;
	border-radius: 0.5em;
	padding: 0.5em;
	min-width: 3em;

	border-left-color: var(--strFuncLightColor);
	border-top-color: var(--strFuncLightColor);
	border-right-color: var(--strFuncShadeColor);
	border-bottom-color: var(--strFuncShadeColor);
	color: var(--strTextColor);
	background-color: var(--strExBGColor);

	border-width: 1pt;
	cursor: pointer;	
	box-shadow: 0.2em 0.3em 0.2em var(--strFuncShadeColor);
}

.FuncButton:active {
	box-shadow: none;
}

.FuncButton:hover{
	color: var(--strExBGColor);
	background-color: var(--strTextColor);
}

.responsive-img {
  max-width: 100%;
  height: auto; 
}

.enlarge-img:hover  {
  -webkit-transform: scale(3,3);
}

ul {
  list-style-type: none;
  line-height: 130%;
}


/* Table settings. */
.motion {
        font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
        border-collapse: collapse;
        width: 75%;
}

        .motion td, .motion th {
        border: 1px solid #ddd;
        padding: 8px;
}

        .motion tr:nth-child(even){background-color: #f2f2f2;}

        .motion tr:hover {background-color: #ddd;}

        .motion th {
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: left;
        background-color: #4682b4;
        color: white;
		font-size : 20px;
}
