/* ******************************************* */
/* CSS file for test site.  MJL.  24/12/2024 */
/* ******************************************* */

@import url('../fonts/weblysleekui/weblysleekui.css');

* {
  box-sizing: border-box;
  line-height: 1.3;
}

body {
  font: normal 1.2em WeblySleekUILight, arial, sans-serif;
  background-color: darkgray;
  color: black;
}

.page-wrapper {                     /* Outer wrapper defining maximum page width */
  max-width: 1196px;
  margin: auto;
  background-color: white;
  border-top: solid green;
}

.header-wrapper {                   /* Wrapper for the page header: image and navigation */
  background-color: white;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  border-bottom: solid green;
}

.content-wrapper {                  /* Wrapper for main body of the page */
  padding-left: 24px;
  padding-right: 24px;
  background-color: white;
}

.footer-wrapper {                   /* Wrapper for the page footer */
  margin-left: auto;
  margin-right: auto;
  background-color: #E0DFDA;
  font-size: 100%;
  color: green;
  text-align: center;
  border-top: thin solid green;
  border-bottom: thin solid green;
  height: 40px;
}

.speech-wrapper {
  margin-left: 20%;
  margin-right: 20%;
}

.block-wrapper {                    /* Wrapper for block with shaded background */
  background-color: #E0DFDA;
}

.block-wrapper h4 {
  line-height: 0;
  padding-bottom: 12px;
  padding-top: 12px;
}
.block-wrapper h4, .block-wrapper p, .block-wrapper ul,.block-wrapper li {
  margin-left: 24px;
}

.block-wrapper img {
  margin-top: 0px;
  margin-bottom: 0px;
}

.top-left {                         /* Top left text superimposed over header image*/
  position: absolute;
  top: 0px;
  left: 24px;
}

.top-right {                        /* Top right text */
  position: absolute;
  top: 0px;
  right: 24px;
  font-size: 100%;
}

.bottom-left {                      /* Bottom left text */
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.pagename-box {                     /* Opaque box behind page name */
  border-radius: 25px;
  background:  black;
  background-position: left top;
  opacity: 0.6;
  padding: 10px;
  width: 340px;
  height: 60px;
}

.pagename-text {                    /* Locates page name within page-name box */
  position: absolute;
  color: white;
  top: 4px;
  font-size: 180%;
  opacity: 1;
}

.note {                             /* Note section */
  display: block;
  margin: 32px 10% 32px 10%;
  width: 75%;
  font-style: italic;
}

.highlight {                        /* Highlight box with shadow */
  display: block;
  border-radius: 15px;
  background-color: #E0DFDA;
  border: 3px solid green;
  margin: 32px 10% 32px 10%;
  box-shadow: 8px 8px 5px #CCCCCC;
  padding: 10px;
  width: 80%;
}

div.gallery {                       /* Set up gallery for images or articles */
}

div.gallery:hover {
  background-color: lightgray;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 5px;
  text-align: center;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.accordion {                        /* Set up accordion */
  font-size: 120%;
  line-height: 1;
  color: green;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

.accordion:after {
  content: '\02795';                /* Unicode "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796";                 /* Unicode "minus" sign (-) */
}

.active, .accordion:hover {
  background-color: #E0DFDA;
}

.panel {                          /* Accordion panel. Hidden by default */
  padding: 0 18px;
  background-color: white;
  display: none;
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  margin-bottom: 0px;
}

button {
  background-color: black;
  color: white;
  font-size: 110%;
  text-align: center;
  padding: 4px 10px;
  border-radius: 12px;
}

button:hover {
  color: black; 
  background-color: white;
}

.mask {  
  -webkit-mask-image: linear-gradient(to bottom, transparent 5%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 5%, black 100%);
}

.top-right a { font-size: 120%;}
.top-left  a { font-size: 240%; font-weight: bold; line-height: 1;}
.top-left  p { font-size: 100%; line-height: .8; }

h1, h2, h3, h4, h5 {
  color: green;
  font-weight: bold;
  line-height: 1.6;
  margin: 6px 0px 6px 0px;
}

h1 { font-size: 240%; }
h2 { font-size: 200%; }
h3 { font-size: 160%; }
h4 { font-size: 120%; }
h5 { font-size: 100%; }
p { font-size: 100%; }
br { margin: 0px 0px 0px 0px; }
a { color: green; text-decoration: none; font-weight: bold;}
a:hover { text-decoration: underline; }
ul, ol { margin: 0px 0px 00px 0px; }
li { margin: 0px 0px 8px 0px;}
/* button { background-color: white; } */

.left { text-align: left; }
.right { text-align: right; }
.center { text-align: center; font-size: 120%; margin: 0px; }

/* ******************************************* */
/* Responsive definitions for smaller screens  */
/* ******************************************* */

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 80%;
  }
}

@media all and (max-width:800px) {
	.top-right {
		position: absolute;
    top: 0px;
		left: 66%;
    font-size: 80%;
    line-height: 1;
    margin-right: 0px;
	}
  
  body {
    font: normal .8em WeblySleekUILight, arial, sans-serif;
  } 
  
  .pagename-box {                     /* Opaque box behind page name */
    padding: 10px;
    width: 160px;
    height: 32px;
  }

  .pagename-text {                    /* Locates page name within page-name box */
    top: 4px;
    font-size: 120%;   
  }
}