@charset "UTF-8";
/* CSS Document */

/********************************/
/* Structural styles            */
/********************************/

.Page {
	max-width: 1000px;
	margin: 0 auto;
}

/* Top of the Page */
.Header {
	width: 100%;
	background-color: #ffffff;
	text-align: center;
}

.HeaderFlex {
    display: flex;
    flex-direction: column;
	justify-content: center;
    align-items: center;
    }
    
.masthead {
    color: black;
    text-align: center;
    }
    
 .title {
    background-color: #ffffff;
    width: 90%;
    }
 .search {
    background-color: #ffffff;
    display: none;
    color: green;
    margin-top: 1cm;
    text-align: left;
    width: 20%;
    }

.logo {
    background-color: #ffffff;
    width: 20%;
    color: green;
    display: none;
    }

@media (min-width: 640px) {
.HeaderFlex {
    flex-direction: row;
    width: 100%;
    background-color: #ffffff;
    align-items: center;
    }
.title {
    background-color: #ffffff;
    width: 70%;
    }
.search {
    background-color: #ffffff;
    width: 20%;
    color: darkslategrey;
    display: inline;
        text-align: left;

    }
.logo {
    background-color: #ffffff;
    width: 20%;
    color: green;
    display: inline;
    }
 }

.masthead {
    font-family: "Palatino Linotype", "Book Antiqua", "Palatino", "serif";
    font-size: 56px;
    background-color: #ffffff;
    color: darkslateblue;
    text-align: center;
    line-height: 36px; 
    margin: 38px 1px 10px 1px;
}
.strapline {
	font-family: "Palatino Linotype", "Book Antiqua", "Palatino", "serif";
	font-size: 36px;
	font-style: italic;
    text-align: center;
    color: darkslateblue;
    margin: 0px 1px 10px 1px;
    }
    
/**********************************/
/* Menus: first the hamburger and */
/* then the horizontal menu bar   */
/**********************************/
   
/* The 'hamburger menu' for narrow screens */
#menuToggle
{
  display: block;
  position: fixed;
  top: 0;
  padding: 5px;
  background-color: white;
  /* border: 2px solid #4CAF50;*/
  width: 100%;
  
  z-index: 1;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: white;
  
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: white;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: darkslateblue; /* hamburger */
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: darkslateblue; /* X */
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * And the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  position: absolute;
  width: 300px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  
  background: darkslateblue;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li 
{
  padding: 10px 0;
  font-size: medium;
  color: white;
}


/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
      transform: none;
}
/* end of narrow-screen 'hamburger menu' */

.minibar {
    /* for narrow screens, hide the right-justified mini-menu bar */
    display: none;
}

.navbar {
    /* for narrow screens, hide the horizontal menu bar */
    display: none;
}

@media (min-width: 640px) {

    nav {
        /* for wide screens, hide the 'hamburger menu' */
        display: none;
        }

    #menu {
        /* for wide screens, hide the 'hamburger menu' */
        display: none;
        }
        
    .minibar {
        /* for wide screens, this is the right-justified mini-menu bar -- NOT USED??? */
        overflow: hidden;
        background-color: white;
        display: flex;
        flex-direction: row;
        }

    .navbar {
        /* for wide screens, this is the menu bar */
        overflow: hidden;
        background-color: darkslateblue;
        display: flex;
        flex-direction: row;
        }

    .navbar a {
        float: left;
        font-size: 16px;
        color: white;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        }

    .dropdown {
        overflow: hidden;
        display: flex;
        flex-direction: column;
        }

    .dropdown .dropbtn {
        font-size: 16px;  
        border: none;
        outline: none;
        color: white;
        padding: 14px 16px;
        background-color: inherit;
        font-family: inherit;
        margin: 0;
        }

    .navbar a:hover, .dropdown:hover .dropbtn {
        background-color: darkslategrey;
        color: white;
        }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: darkslateblue;
        color: darkslategrey;
        /* min-width: 160px; */
        width: auto;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        }

    .dropdown-content a {
        color: white;
        padding: 12px 16px;
        text-decoration: none;
        text-align: left;
        }

    .dropdown-content a:hover {
        background-color: darkslategrey;
        }

    .dropdown:hover .dropdown-content {
        display: flex;
        flex-direction: column
      }
}      

/* Middle of the Page: Main content */
.Main {
/*	width: 95%; */
	margin: 10px; 
	padding: 10px;
}
 
/* Bottom of Page */
.white {
    background-color: white;
    color: white;
    margin: 0; 
    padding: 0;
}

.Footer {
	width: 100%;
    background-color: darkslateblue;
    padding: 5px 5px 5px 5px; 
    align-items: center;
    justify-content: center;
            color: white;

    }

.final {
    width: 90%;
    text-decoration: None;
    font-size: smaller;
            color: white;

    text-align: center;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.caption {
    text-align: center;
    }
    
.gridlist {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.gridlistitem {
    display: inline;
    width: 170px;
    margin: 10px;

}

	.wrapper {
	/* max-width: 900px; */
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	grid-auto-rows: minmax(100px, auto);
	gap: 10px;
	background-color: #fff;
	color: #444;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: large;
    text-align: center;
      }

      .box {
	background-color: #fff;
	border: 5px solid #fff;
	color: #666666;
	border-radius: 5px;
	padding: 20px;
	font: 100%/1.3;
      }
