/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
   
body {
  /* background-color: ; /* "#E6E3FF", "#C5C5C5"); */
  background-image: url('../images/bg_diamond.png'), linear-gradient(to right, #E6E3FF, #e0ebff);
	background-position: top;
  font-size: 18px;
  font-family: "Mona Sans", Helvetica, Arial, sans-serif;
  margin: 0;
}


p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

p.note {
  color: #6e6e6e;
  font-style: italic;
  font-size: 0.8em;
}

p.answer {
  padding-bottom: 20px;
}

li.spaced_list_a {
  padding-left: 20px;
  padding-bottom: 20px;
}

hr {
  border: solid #c7b591;
  border-width: 2px 0 0 0;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

div.section {
  margin: 0;
  padding-bottom: 20px;
}

.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .small {
    max-width: 60%;
    height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

a:hover { 
  background-color: #fff6e6;
}

h1, h2, h3, h4, h5 {
  font-family: Tahoma, Geneva, sans-serif;
  color: #4b3c78;
}

div.arrows {
  display: flex;
  padding: 20px 0;
}

button.last {
  align-content: flex-start;
}

button.next {
  align-content: flex-end;
}

div.grid_list_2c {
  margin: 0;
  border: 2px inset;
  padding: 10px 0 10px 10px;
  background-color: #e9e9f0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  /* border: 2px solid red; */
}

div.grid_list_3c {
  margin: 0;
  border: 2px inset;
  padding: 10px 0 10px 10px;
  background-color: #e9e9f0;
  display: grid;
  grid-template-columns: 4fr 6fr 3fr;
  /* border: 2px solid red; */
}

div.grid_element {
  margin-top: 0;
  padding: 0 10px;
  /* border: 2px solid green; */
}

div.grid_element > ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  margin-bottom: 5px;
}

div.grid_element > ol {
  margin: 0;
  padding-left: 20px;
  margin-bottom: 5px;
}

div.grid_list_3c > div.grid_element > ul > li {
  font-size: 1em;
  padding-bottom: 10px;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 750px;
	background-color: #f5f5f5;
  color: #151515; 
  outline-color: #a9a9a9;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
}

#content {
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/
#header {
  background-color: #695094;
  padding: 0 5%;
  border-color: #a9a9a9;
  border-style: ridge;
  border-width: 0 0 4px 0;
  display: flex;
}
#header div.links {
  padding: 0;
  margin: 0;
  align-content: center;
  flex: 3 1 400px;
  /* border: 2px solid red; */
}

#header div.title {
  align-content: center;
  flex: 1 1 200px;
  text-align: right;
  color: #b6a0db;
  padding-right:5px;
  /* border: 2px solid blue; */
}
#header div.title_m {
  align-content: center;
  flex: 3 0 auto;
  text-align: right;
  color: #b6a0db;
  padding-right:5px;
}

/* Dropdown menu */

#header div.dropdown {
  position:relative;
  display: inline-block;
}

#header button.header_dropdown {
  color: gray;
  width: 40px;
  height: 40px;
  margin: 0.5em;
  z-index: 1;
}

#header div.dropdown:hover div.dropdown_menu { display: block; }

#header div.dropdown_menu {
  display: none;
  position: absolute;
  float:left;
  min-width: 100px;
  background-color: #d0d0d0;
}

#header a.dropdown {
  display: block;
  padding: 12px;
}

#header img.final {
  align-content: flex-end;
  width: 40px;
  height: 40px;
}
#header img {
  margin-top: auto;
  margin-bottom: auto;
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin: 0.2em 1em 0.2em 0;
  text-transform: lowercase;
}
#leader li.last {
  margin-right: 0;
}
#header li a {
  color: white;
  text-shadow: none;
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover {
  text-shadow: 0px 0px 5px black;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}

/* GALLERY STYLE */
#gallery_div {
  border: ridge 8px lightgray;
  background-color: #130f24;
}

#gallery_img {
  height: 500px;
  display: flex;
  max-height: 500px;
  margin: auto;
  object-fit: contain;
}

#gallery_filename {
  margin: auto;
  color: gray;
  font-style: italic;
}