/*

====================================================
    Global Styles
====================================================

*/
html {
  width: 100%;
  background: rgb(240, 249, 255);
  font: sans-serif;
  overflow-y: scroll;
}

body {
  margin: auto !important;
  max-width: 80rem;
  width: 100%;
  background: #fff;
  font-family: "Manrope", sans-serif;
}

header {
  margin: 0 auto 2rem;
}

a {
  text-decoration: none;
  color: #000;
}

li {
  list-style-type: none;
}

blockquote {
  border-left: 0.5rem solid #d3d3d3;
  padding: 1rem 2rem;
  background: #ebebeb;
  margin-bottom: 2rem;
}

/*

====================================================
    Menu Styles
====================================================

*/
.menu-main-navigation-container {
  margin: 1rem 0;
  background: rgb(214, 214, 214);
}

#menu-main-navigation {
  list-style-type: none;
  display: flex;
  color: #000;
  font-family: "Manrope", serif;
  padding: 0;
  margin: auto;
  justify-content: space-between;
  align-items: center;
  max-width: 90%;
  flex-wrap: wrap;
}

.menu-footer-navigation-container {
  clear: both;
  width: 100%;
  margin: 1rem;
  display: flex;
}

.menu-item-object-custom, .menu-item-type-post_type_archive {
  margin: 15px 0 0;
  padding: 20px 20px 30px;
}
.menu-item-object-custom a, .menu-item-type-post_type_archive a {
  padding-bottom: 5px;
}
.menu-item-object-custom a:hover, .menu-item-type-post_type_archive a:hover {
  color: #14639b;
}
.menu-item-object-custom.current-menu-item, .menu-item-type-post_type_archive.current-menu-item {
  background-color: #fff;
  border-radius: 15px 15px 0 0;
}
.menu-item-object-custom.current-menu-item a, .menu-item-type-post_type_archive.current-menu-item a {
  color: #000;
}

#menu .current-page-ancestor > a {
  background-color: #fff;
  border-radius: 15px 15px 0 0;
}
#menu .current-page-ancestor > a a {
  color: #000;
}

#menu-footer-navigation li a {
  padding-bottom: 5px;
  color: #fff;
}
#menu-footer-navigation li a:hover {
  font-weight: 600;
}

ul#menu-footer-navigation {
  text-align: right;
}

.menu-help-menu-container {
  width: 100%;
}

ul#menu-help-menu {
  justify-content: center;
  display: flex;
  -moz-column-gap: 3rem;
       column-gap: 3rem;
  margin: auto;
  padding: 2rem;
}
ul#menu-help-menu a {
  padding: 1rem;
  border-radius: 15px;
  background-color: #d8e3e9;
}

ul#menu-help-menu li a:hover {
  background-color: #89b3d1;
  transition: ease-in-out 0.3s;
}

/* Search Bar */
.is-menu.default form {
  max-width: 10rem;
}

li.astm-search-menu.is-menu.default.menu-item {
  margin: 5px 15px !important;
}

/*

====================================================
    Post info Styles
====================================================

*/
.post-edit-link:hover {
  font-weight: 600;
}

ul.with-disc li {
  list-style-type: disc;
}

/*

====================================================
    Sidebar Styles
====================================================

*/
#sidebar {
  max-width: 305px;
}
#sidebar .widget_search {
  padding: 1rem;
}

.main-sidebar li.cat-item-1 {
  display: none;
}

.main-sidebar ul {
  padding: 0;
  margin: 1.5rem 0;
}

.main-sidebar li {
  padding: 1rem 0 1rem 1.5rem;
}
.main-sidebar li a:hover {
  font-weight: 600;
}

/*

====================================================
    Flex Styles
====================================================

*/
.main-flex-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  justify-items: flex-start;
  align-items: flex-start;
  align-content: flex-start;
}

/*

====================================================
    Post Styles
====================================================

*/
.info-block {
  background-image: url("https://fading.dungeonsanddragons.website/wp-content/uploads/2022/08/aged-paper.jpeg");
  background-position: center;
}

.post-roll-recap-thumb article {
  text-align: center;
}

.post-roll-recap-thumb a {
  justify-content: center;
}

.post-roll-recap article p, .post-roll-single article p, .location-detail p {
  margin: 2rem 0;
}

.post-roll-single article a {
  color: #14639b;
}
.post-roll-single article a:hover {
  color: #0a4670;
  text-decoration: underline;
}
.post-roll-single article div.bonus-detail {
  margin-left: 20px;
}
.post-roll-single article div.bonus-detail p {
  margin: 1.5rem 0 2.5rem;
}

.post-roll-search {
  display: grid;
  grid-template-columns: repeat(3, 240px [col-start]);
  grid-template-rows: 80px repeat(4, 200px [col-start]);
  justify-content: space-evenly;
  gap: 30px 10px;
}
.post-roll-search h1 {
  grid-column-start: 1;
  grid-column-end: 4;
}

aside.info-block hr {
  border: 1px solid #786d5b;
  margin: 2rem 0;
}

.feature-container {
  flex-direction: row;
}

/* Featured Images */
.feature-img-location {
  max-height: 500px;
  overflow: hidden;
}
.feature-img-location img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

img.attachment-large.size-large.wp-post-image {
  max-width: 25rem;
  height: auto;
  margin: auto;
  display: block;
}

img.attachment-large.default-featured-img {
  max-width: 25rem;
  height: auto;
  margin: auto;
  display: block;
}

.location-detail img.aligncenter {
  margin: auto;
  display: flex;
}

main a {
  color: #008ee1;
}
main a:hover {
  text-decoration: underline;
}

hr.bonus_separator {
  margin: 2rem 0;
}

/*

====================================================
    Tumbnail Styles
====================================================

*/
.thumb-block {
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.1);
  margin: 0 1.5rem 3.5rem;
  overflow: hidden;
  flex-basis: 200px;
}
.thumb-block a {
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.recap-block {
  background-color: white;
  margin: 0 1.5rem 2rem;
}

.thumbnail-img {
  overflow: hidden;
  max-height: 13em;
}

/*

====================================================
    Other Styles
====================================================

*/
article.help-intro a {
  color: blueviolet;
}

img.home-hero {
  margin: -48px 0 -53px;
}

/*

====================================================
    CMS Styles
====================================================

*/
.item-other-field ul {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  grid-gap: 0;
  justify-items: center;
  align-items: center;
  border: #000;
}
.grid-container div {
  padding: 10px 0;
  width: 100%;
  text-align: center;
}
.grid-container .grid-color {
  background-color: #a9d4f4;
  color: rgb(0, 0, 0);
}