body  {
    background-color: #FFFFFF;
    color:#666666;
    font-family: Verdana;
    background-image: linear-gradient(to bottom, #eeeeee, #ffffff);
    background-attachment: fixed;
    margin: 0;
}

main    {
    padding: 0;
    display: block;
    background-color: #FFFFFF;
    grid-row: 3/8;
    grid-column: 2/8;
}

p   {
    padding: 10px;
}

table   {
    margin: 0 auto;
    border: none;
    width: 100%;
    border-collapse: collapse;
}

td,th   {
    padding: 10px 5px;
    border: none;
    color: black;
    font-family: "Header";
}

td  {
    text-align: left;
}
td a {
    text-decoration: none;
    color: black;
}

.text:hover   {
    text-align: left;
    text-decoration: underline;
}

*{box-sizing: border-box;}
            
header  {
    background-color: #ffd0d7;
    color: black;
    font-size: 30px;
    grid-row: 1/2;
    grid-column: 2/8;
}

header h1 {
    vertical-align: middle;
    line-height: 200%;
    text-align: center;
    height: 100px;
    margin: 0;
    font-family:"Title";
}

header a {
    color: #191919;
    text-decoration: none;
}

@font-face {
  font-family: "Header";
  src: url("Fonts/Metropolis-Regular.otf")
}

@font-face {
  font-family: "Title";
  src: url("Fonts/GiddyupStd.otf")
}

nav {
    position: sticky;
    top: 0;
    grid-area: 2/2/3/8;
    background-color: #BAE0BA;
}

nav a   {
    text-decoration: none;
    color: black;
    padding: 1rem 1rem;
    display: block;
    text-align: left;
    font-family: "Header";
    font-size: 1.5rem;
}

nav a p {
    padding: 0;
    margin: 0;
}

nav a:hover {
    text-decoration: underline;
}

nav ul  {
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-flow: row nowrap;
    vertical-align: middle;
}

nav ul li   {
    width: 100%;
}



.icon   {
    max-width: 20px;
    max-height: 50px;
}

h1  {
    color: black;
    text-align: center;
    font-family: "Header";
}

h2  {
    color: #424242;
    font-family: "Header";
    background-color: #ffd0d7;
    margin: 0;
    padding: 12px 10px;
    color: black;
    text-align: center;
}

h3  {
     padding: 12px 25px;
}

footer {
    font-size: .9em;
    text-align: left;
    padding: 1em;
    background-color: #FFFFE5;
    grid-area: 8/2/9/8;
}

#wrapper{
   display:grid;
    grid-auto-rows: minmax(0,auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
}

#pinkbar {
    background-color: #ffd0d7;
    grid-row: 1/2;
    grid-column: 1/9;
}

#optionsbar    {
    background-color: #BAE0BA;
    grid-area: 2/1/3/9;
    
}

#headerbar  {
    background-color: #ffd0d7;
    grid-area: 3/1/4/9;
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.texts {
  color: black;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@media only screen and (min-width: 992px)  {
    
#wrapper  {  grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 200px)) minmax(0px, 1fr);}
    
}

@media only screen and (max-width: 992px)  {
    
#wrapper  {  grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, 128px)) minmax(0px, 1fr);}
    
}

@media only screen and (max-width: 768px)   {

#wrapper  {  grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0, auto)) minmax(0px, 1fr);}
      nav {
        grid-row: 2/3 ;
        grid-column: 1/8;
    }
    nav a p {
        display: none;
    }
    nav a img   {
        max-height:50px;
        max-width:50px;
    }
    .flex-container img {
        max-height: 100px;
        max-width: 100px;
    }
    .flex-container2 img {
        max-height: 100px;
        max-width: 100px;
    }
}

.column {
    float: left;
    width: 50%;
    padding: 10px;
    height: auto;  
}
.column p   {
    display: block;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

form    {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 200px 1fr;
    grid-gap: 0.75rem;
    width: 100%;
    padding: 10px;
}
input   {
    font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border: none;
}
input:focus {
    outline: none;
    background-color: #f0f0f0;
}
label   {
    padding: 10px;
    text-align: right;
}
textarea   {
    font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border: none;
}
text-area:focus  {
    outline: none;
    background-color: #f0f0f0;
}
#Submit {
    width: 10rem;
    grid-column: 2/3;
    background-color: #BAE0BA;
}

.address h2     {
   background-color: #FFFFFF;
}

@import url(https://fonts.googleapis.com/css?family=Open+Sans);

.search {
  width: 100%;
  position: relative;
  display: flex;
}
.searchTerm {
  width: 100%;
  border: 2px solid black;
  border-right: none;
  padding: 5px 10px;
  height: 50px;
  border-radius: 5px 0 0 5px;
  outline: none;
  color: #9DBFAF;
}
.searchTerm:focus{
  color: black;
}
.searchButton {
  width: 40px;
  height: 50px;
  border: 1px solid #ffd0d7;
  background: #ffd0d7;
  text-align: center;
  color: #fff;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-size: 20px;
}

.article-body {
    line-height: 1.8em;
    font-size: 15px;
}

.miniature {
    width: auto; /* width of container */
    height: 500px; /* height of container */
    object-fit: cover;
    object-position: 20% 45%; /* try 20px 10px */ 
    border: 5px solid #FFFFE5;
}
.jewelry {
    width: auto; /* width of container */
    height: 500px; /* height of container */
    object-fit: cover;
    object-position: 20% 60%; /* try 20px 10px */ 
    border: 5px solid #FFFFE5;
}

.signup {
    display:flex;
    float: left;
    grid-row: 1/3;
}

#typing {
    grid-row: 3/5;
    grid-column: 3/8;
    float: right;
}

.textcol {
    float: left;
    width: 80%;
    padding: 10px;
    height: auto;  
}
.textcol p   {
    display: block;
}
.imgcol {
    float: left;
    width: 20%;
    padding: 10px;
    height: auto;  
}
.imgcol img {
    height: 200px;
    width: 200px;
}