aside-text {
  display: block;    
  width: 40%;
  margin-left: 15px;
  float: right;
  font-style: italic;
  background-color: #f3ffe3;
}
.firstLetter {
background-color: transparent;
color: #C40000;
float: left;
line-height: .75em;
font-size: 60px;
margin-right: 5px;
}

blockquote {
  background:#f9f9f9;
  border-left:10px solid #ccc;
  margin:1.5em 10px;
  padding:.5em 10px;
  quotes:"\201C""\201D""\2018""\2019";
}
blockquote:before {
  color:#A3A3A3;
  content:open-quote;
  font-size:4em;
  line-height:.1em;
  margin-right:.25em;
  vertical-align:-.4em;
}
blockquote:after {
  visibility: hidden;
  content: close-quote;
}

hr {
  font-family: "Times New Roman", Serif; 
  text-align: center; /* horizontal centering */
  line-height: 1px; /* vertical centering */
  height: 1px; /* gap between the lines */
  font-size: 2em; /* choose font size you like */
  border-width: 1px 0; /* top and bottom borders */
  border-style: solid;
  border-color: maroon;
  margin: 20px 10px; /* 20px space above/below, 10px left/right */
  overflow: visible;
}

hr:after {
  content: "\2766" "\2766"; /* section sign */
  color: maroon;
  display: inline; /* for vertical centering and background knockout */
  background-color: transparent; /* same as background color */
  padding: 0 0.5em; /* size of background color knockout */
}

h1 {
    display: block;
    text-align: center;
    font-size: 2em;
    font-family: "Times New Roman, Serif;";
    font-style: italic;
} 

h3 {
    display: block;
    text-align: center;
} 

img[alt="no pic"]{
margin:0 10px 10px 0;
}
img[alt="leftpic"]{
float:left;
margin:0 10px 10px 0;
}
img[alt="rightpic"]{
float:right;
margin:0 0 10px 10px;
}
img[alt="middlepic"]{
    display:block;
    margin-left: auto;
    margin-right: auto;
}
.justify-image{ text-align: justify;}
.justify-image img{display:inline-block;}
.justify-image:after{content:""; display: inline-block; width: 100%; height: 0;}

/* For small devices (e.g. smartphones) */
img {
  max-width: 100%;
  display: inline-block;
}
/* For medium devices (e.g. tablets) */
@media (min-width: 1024px) {
  img {
    max-width: 48%;
  }
}
/* For large devices (e.g. desktops) */
@media (min-width: 512px) {
  img {
    max-width: 31%;
  }
}

.wrapper {
        max-width: 1600px;
        margin: 0 auto;
        font-family: "Times New Roman", Serif; 
        font-size: 18px;
        border: 0 solid black;
        background-color: black;
        border-radius: 0;
        padding:0;
    }


.wrapper {
  display: grid;
  gap: 2px;
  grid-template-columns: 17% auto 17%;
  grid-template-areas: 
   "header header  header"
   "sideL content sideR"
   "footer footer  footer";
}

.main-head {
  grid-area: header;
  background: linear-gradient(#d2b48c, #e4d2ba);
  color:#C40000;
  height: 100px;
}
.content { 
  grid-area: content;
  background: linear-gradient(#e4d2ba, #ffffff);
  padding: 0 50px 0 50px;
}    

.sideL {
  grid-area: sideL;
  background: linear-gradient(#e4d2ba, #ffffff);
  float: left;
}
.sideR {
  grid-area: sideR;
  background: linear-gradient(#e4d2ba, #ffffff);
}
.main-footer {
  grid-area: footer;
}

nav {    
  display: flex;
  text-align: left;
}

  nav ul {
    margin: 0;
    padding:0;
    list-style: none;
  }
  .nav a {
    display:block; 
    background: #000; 
    color:#fff44f; 
    text-decoration: none;
    padding: .8em 1.8em;
    text-transform: uppercase;
    font-size: 85%;letter-spacing: 2px;
    text-shadow: 0 -1px 0 #000;
    position: relative;
  }
  .nav{  
    vertical-align: top; 
    display: inline-block;
    box-shadow: 1px 0 0 1px #000, 0 1px 0 1px #fff, 0 0 6px 3px #fff;
    border-radius:6px;
  }
  .nav li{position: relative;}
  .nav > li { 
     
    border-bottom: 4px #aaa solid; 
    margin-right: 0; 
  } 
  .nav > li > a { 
    margin-bottom:1px;
    box-shadow:inset 0 2em .33em -.5em #000; 
  }
  .nav > li:hover , .nav > li:hover >a{  border-bottom-color:blue;}
  .nav li:hover > a { color:#fff44f; }
  .nav > li:first-child  { border-radius: 4px 0 0 4px;} 
  .nav > li:first-child>a{border-radius: 4px 0 0 0;}
  .nav > li:last-child  { 
    border-radius: 0 0 4px 0; 
    margin-right: 0;
  } 
  .nav > li:last-child >a{border-radius: 0 4px 0 0; }
  .nav li li a { margin-top:1px}
  
  
  
    .nav li a:first-child:nth-last-child(2):before { 
     content:""; 
     position: absolute; 
     height:0; 
     width: 0; 
     border: 5px solid transparent; 
     top: 50% ;
     right:5px;  
   }
   
   
   
   
   
   /* submenu positioning*/
.nav ul {
  position: absolute;
  white-space: nowrap;
  border-bottom: 5px solid  #fff44f;
  z-index: 1;
  left: -99999em;
}
.nav > li:hover > ul {
  left: auto;
  padding-top: 5px  ;
  min-width: 100%;
}
.nav > li li ul {  border-left:1px solid #fff;}


.nav > li li:hover > ul { 
 /* margin-left: 1px */
  left: 100%;
  top: -1px;
}
/* arrow hover styling */
.nav > li > a:first-child:nth-last-child(2):before { 
  border-top-color: #aaa; 
}
.nav > li:hover > a:first-child:nth-last-child(2):before {
  border: 5px solid transparent; 
  border-bottom-color: #fff44f; 
  margin-top:-5px
}
.nav li li > a:first-child:nth-last-child(2):before {  
  border-left-color: #aaa; 
  margin-top: -5px
}
.nav li li:hover > a:first-child:nth-last-child(2):before {
  border: 5px solid transparent; 
  border-right-color: #fff44f;
  right: 10px; 
}

#yellbox{
    display:block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
  .wrapper {
    margin:0 0; 
    font-family: "Times New Roman", Serif; 
    font-size: 18px;   
    grid-template-columns:100%;
    grid-template-areas:
      "nav" 
      "header"
      "content"
      "sideL"
      "sideR"
      "footer";
}
  h1 {
    display: block;
    text-align: center;
    font-size: 1.5em;
    font-family: "Times New Roman, Serif;";
    font-style: italic;
}
.content { 
  grid-area: content;
  background: linear-gradient(#e4d2ba, #faf7f3);
  padding: 0 10px 0 10px;
}    
}
