/* Main CSS for 
   philately.dyerhouse.com */

/* --- main sections --- */

body {
  font-family: 'Patua One', Palatino;
  font-size: 16px;
  line-height: 1.4em;
  color: #666;
}
main, div.main {
  float: left;
  max-width: 980px;
  margin-bottom: -50px;
  padding-left: 5% !important;
  padding-right: 5% !important;
  background: #fff;
}
div#page {
  background: #343131;
}
nav.relbar {
  display: none;
}
.wy-nav-content {
  max-width: 1024px;
  padding: 0 !important;
}
.wy-nav-side {
  width: 260px;
}
.wy-side-nav-search {
  width: 260px;
  text-align_: center;
  background-color: #343131;
}
.wy-side-scroll {
  width: 280px;
}
section,
div.body {
  max-width: unset;
  margin: 1em 0;
  padding-left: 0;
  padding-right: 0;
}
.md:ml-fluid {
   margin-left: 0;
}
div.toctree-wrapper.compound {
  display: none;
}
.wy-menu-vertical li.toctree-l3 button.toctree-expand {
  color: indianred;
}
.wy-menu-vertical li.toctree-l3.current>a, 
.wy-menu-vertical li.toctree-l3.current li.toctree-l4>a {
  background-color: transparent;
  color: indianred;
}

/* --- containers --- */

.list-albums {
  float: left;
  width: 100%;
  margin: 0;
  margin-left: 20px;
}
.nav-section {
  display: block;
  float: right;
  clear: right;
  width: 30%;
}
.nav-section p {
  text-align: left;
  font-size: .8em;
}
.navigation-links,
.navigation-links-top {
  display: block;
  float: right;
  margin-top: 6px;
}
.navigation-links-top {
  margin-top: -10px;
}
.navigation-links p,
.navigation-links-top p {
  margin: 0;
  font-style: italic;
  font-size: .8em;
}
.navigation-links p {
  text-align: right;
}
.navigation-links-top {
  clear: right;
  width: 100%;
  padding-left: 10px;
}
.navigation-links-simple {
  clear: left;
  padding-right: 10px;
}
.navigation-links-top p,
.navigation-links-top .rubric,
.navigation-links-simple p {
  font-size: .8em;
  text-align: left;
  font-style: normal;
}
.related-pages.container {
  display: block;
  float: right;
  width: 100%;
  padding-left: 10px;
}
.related-pages.container p.rubric {
  font-size: .8em !important;
  margin: 4px 0 0 0;
}
.related-pages p {
  margin-top: 0;
  line-height: 1.1em;
}
.sub-items {
  float: left;
  width: 100%;
  margin: 0 0 1em 2em;
}


/* --- headings --- */

main h1, h1, .rst-content h1 {
  margin: 0;
  font-size: 1.8em !important;
  line-height: 2em;
}
h1#top {
  margin-top: 10px;
}
h1 + p {
  margin-bottom: 0;
}
h2, main h2  {
  margin: 0;
  font-size: 1.4em;
  border-bottom: 2px #3d3528 solid;
}
h2 + p {
  margin-top: 0;
}
h3 {
  margin: 10px 0 0 0 !important;
  font-size: 1.2em !important;
}
div.priority-page{
  display: block;
  width: 100%;
  margin: 0;
  background-color: #3A3B3C;
}
div.priority-page p {
  margin: 0;
  padding-left: 20px;
  font-size: .9em;
  font-weight: 900;
  font-variant: small-caps;
  color: whitesmoke;
  text-align: center;
}
#titlebar #site-name {
  font-size: 1.4em !important;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: #1874CD;  /* dodgerblue3 */;
  line-height: 1.4em;
}
#titlebar #site-sub-heading {
  font-size: .8em;
  font-weight: 400;
  letter-spacing: 1.8px;
  color: #666666;  /* gray40 */
}
main .rubric, .rubric, main h4 {
  margin: 10px 0 4px 0;
  padding: 0;
  font-size: 1.4em;
  font-weight: 500;
  color: #333333;  /* gray20 */
}
div#left_margin {
  display: block;
  float: left;
  width: 260px;
  padding-top: 20px;
  background: #343131;
  color: #9b9b9b;
}
.left_mgn_heading {
  margin: 20px;
}
h4.left_margin {
  margin-left: 20px;
  margin-bottom: 10px;
}
.left_mgn_search {
  margin: 20px;
}
#left_mgn_search .wy-side-nav-search {
  width: 210px;
}
form.left_mgn_search_form {
  width: 230px;
}
.search_term {
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px solid #666;
}
.left_mgn_search_box {
  float: left;
  width: 200px;
  margin: 20px;
  line-height: .8em;
}
div#left_margin ul.level_1 {
  display: block;
  float: left;
  width: 300px;
  list-style-type: none;
  background: whitesmoke;
}
div#left_margin ul.level_2 {
  display: block;
  float: left;
  width: 300px;
  list-style-type: none;
  line-height: 1.4em;
  background: #e3e3e3;
}
div#left_margin li.level_1 {
  font-size: 1em;
  font-weight: 900;
  line-height: 2em;
}
div#left_margin li.level_2 {
  font-size: .9em;
  font-weight: 500;
  line-height: 2em;
}
div#left_margin ul.level_1 li.level_1 {
  padding-left: 23px !important;
}
div#left_margin ul.level_2 li.level_2 {
  padding-left: 35px !important;
}
.search_text {
  width: 200px;
  padding: 6px 12px;
  border-radius: 50px;
}
input[type=button], input[type=submit] {
  margin: 4px 2px;
  padding: 6px 10px;
  color: white;
  text-decoration: none;
  background-color: steelblue;
  border-radius: 50px;
  cursor: pointer;
}
input[type=text].search_specific {
  margin: 4px 0 8px 6px;
  padding-left: 6px;
  padding-bottom: 0;
  border: 1px solid #666;
}
.sub-items .rubric {
  margin: 1em 0 4px 0;
  padding: 0;
  font-size: 1.2em;
  font-weight: 500;
  color: #333333;  /* gray20 */
}
.section .rubric {
  font-size: 1.2em !important;
}
.rst-content p.rubric {
  margin: 8px 0;
  line-height: 1.6em;
}
.rubric + p {
  margin: 0;
}
footer.copyright {
  width: 100%;
  padding-top: 20px;
  font-size: 16px;
  border-top: 1px dotted #333;
}

/* --- lists --- */

ul {
  margin-top: 0;
  list-style-type: none;
}
li {
  list-style-type: none;
  color: #708090;  /* slategrey */
}
ol {
  list-style-type: decimal;
}
ol li {
  list-style-type: decimal;
  color: #708090;  /* slategrey */
}
.navigation-links-top ul.simple,
.navigation-links-top ul.simple li {
  margin-left: 0;
  list-style-type: none;
}


/* --- links --- */

a, a:active, a:visited {
  color: #3091d1 !important;
}
a.internal,
a.external {
  font-variant: small-caps;
  color: slateblue;
  border-bottom: none;
}
a.external {
  color: #e28743;
}
div#left_margin a, 
div#left_margin a:active, 
div#left_margin a:visited,
.wy-menu-vertical li.current a {
  color: #333 !important;
}
div#left_margin a:hover,
.wy-menu-vertical li.current a:hover {
  color: indianred !important;
}

/* --- special text --- */

div.sphinxsidebar li.toctree-l3.current.current-page a {
  color: #CD5C5C; /* indianred */
}
p {
  margin: .5em 0;
}
sup {
  font-size: 10px;
}
strong {
  color: #e28743; /* reddish brown */
  font-weight: 700;
}
cite {
  font-style: italic;
  font-weight: 500;
}
code {
  background-color: transparent;
}
code.literal {
  padding: 0;
  color: #03DAC5; /* cornflowerblue */
}
span.guilabel {
  font-weight: 900;
  letter-spacing: 2px;
  color: #EC7063; /* a light red */
}
em, em.dfn {
  font-style: normal;
  font-size: .8em;
}
span.pre,
:not(pre)>code, kbd {
  background: unset !important;
  border: none !important;
}
.highlighted,
.rst-content .highlighted {
  color: #e28743 !important; /* reddish brown */
  font-weight: 700;
  background: transparent;
  box-shadow: none;
}
.menuselection,
.guilabel {
  padding: 0 !important;
  color: indianred;
  font-weight: 700 !important;
  font-size: 1em !important;
  background: transparent !important;
  border: none !important;
}
.menuselection::after {
  content: " «";
}
div.admonition {
  display: unset;
  width: auto;
  background: none !important;
}
.admonition-title {
  width: 35%;
}
div.admonition.attention {
  width_: 100%;
}
div.admonition.note {
  border-top: none;
  border-right: none;
  border-bottom: none;
}
div.admonition.excerpt p.admonition-title {
  color: #f0b37e;
  font-weight: 900;
  background: none !important;
  border-bottom: 2px #f0b37e solid;
}
div.admonition.excerpt p {
  margin-left: 40px;
  font-size: .9em;
}
.rubric + p.stats {
  display: block;
  width: 100%;
  margin: 0;
  margin-bottom: 10px;
  line-height: 1.6em;
  font-size: .8em;
  text-align: left;
  text-transform: lowercase;
  letter-spacing: 2px;
  color: #B3B6B7;
  border-top: 2px #B3B6B7 solid;
}
section#what-s-new p.rubric {
  margin-bottom: 2px;
}

/* --- images --- */
.image-box {
  float: right;
  clear: right;
  z-index: 100;
  width: 30%;
  margin: 0 0 10px 20px;
  padding: 0;
}
.image-frame {
  float: right;
  clear: right;
  margin: 0;
  padding: 0;
}
.image-frame img {
  padding: 5px;
  background-color: #778899;
  border: 1px #ffffff solid;
}
figure {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.album-page-image.container {
  padding-right: 20px;
  border-bottom: 1px #ffffff dotted;
}
.album-page-image {
  float: right;
}
.album-page-image.half {
  width: 50%;
}
.album-page-image.medium {
  width: 30%;
}
.album-page-image.small {
  width: 25%;
}
.album-page-image.little {
  width: 20%;
  max-width: 250px;
}
.album-page-image img {
  margin: 0 0 0 14px;
  width: 100%;
  border: 2px #3d3528 solid;
}
.album-page-image.no-border img {
  border-style: none;
}
.album-page-image.frame-border img {
  border-style: groove;
}
.stamp-page-details {
  width: 100%;
}
.stamp-page-stats {
  float: left;
  width: 50%;
}
.stamp-page-image {
  float: right;
  width: 50%;
}
.stamp-page-image img {
  float: right;
  margin: 0 14px 0 0;
  width: 300px;
  max-width: 100%;
  border: 2px #3d3528 solid;
}
.close-up,
.close-up img,
.primer, .primer img {
  display: none;
}
figcaption {
  float: right;
  clear: right;
  width: 100%;
  margin-bottom: 6px;
  text-align: center;
  font-size: .8em;
}

/* close-up album pages */
div.stamp-album-page-frame {
  display: block;
  width: 100%;
  min-width: 800px;
  clear: both;
  margin: 0 auto 20px auto;
  padding: 6px;
  background-color: #a3a3a3;
  border: 2px #666 ridge;
}
div.stamp-album-page {
  min-width_: 1018px;
  margin: 0 auto;
  padding: 24px;
  background-color: #f5f5f5;
  border: 2px #666 ridge;
}
div.stamp-album-closeups {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
div.stamp-box {
  display: block;
  float: left;
  margin: 0 10px 10px 10px;
}

div.stamp-box.small {
  width: 140px;
}
div.stamp-box.standard {
  width: 145px;
}
div.stamp-box.note-card {
  width: 150px;
}
div.stamp-box.vertical {
  width: 165px;
}
div.stamp-box.book-cover {
  width: 175px;
}
div.stamp-box.tv-box-side {
  width: 190px;
}
div.stamp-box.cinder-block {
  width: 200px;
}
div.stamp-box.horizontal {
  width: 220px;
}
div.stamp-box.tv-box {
  width: 245px;
}
div.stamp-box.fortune {
  width: 240px;
}
div.stamp-box.double {
  width: 280px;
}
div.stamp-box.souvenir {
  width: 500px;
}
div.stamp-box.triple {
  width: 640px;
}
div.stamp-box.cover {
  width: 500px;
}
div.stamp {
  display: block;
  float: left;
  margin: 0;
  padding: 0;
}
div.stamp-box div.stamp img {
  display: block;
  float: left;
  width: 100%;
  margin: 0;
}

div.stamp-album-closeups div.stamp img.gray {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

div.apc_series_heading {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 20px 0 10px 0;
}
div.stamp-caption {
  margin: 0;
  padding: 0;
}
div.stamp-caption p {
  font-size: .8em !important;
  font-weight: 800;
  text-align: center;
  color: #333;
}

div.apc_series_heading .stamp-caption {
  font-size: 1em;
  font-variant: small-caps;
}
div.stamp-details {
  margin: 0;
  padding: 0;
  line-height: 1.2em;
  font-size: .7em;
  text-align: center;
  color: #333;
}
.notice, .banner {
  background: indianred;
  color: #f1f1f1; 
  font-size: .8em;
  font-variant: small-caps;
  letter-spacing: 1.2px;
  text-align: center;
}

/* --- separators --- */
.separator {
  width: 100%;
  text-align: center;
}
.clear {
  float: left;
  width: 100%;
  clear: both;
}


/* --- footnotes --- */

.footnote-reference.brackets {
  font-size: 8px;
}
dl.footnote.brackets {
  margin: 0;
  font-size: 10px;
}
dl.footnote.brackets dd {
  margin: 0;
}
dl.footnote.brackets dd p {
  margin: 0;
  margin-bottom: 4px;
}
.page-inventory {
  margin-top: .5rem;
}
.page-inventory p {
  margin: 0;
  text-transform: lowercase;
  font-size: .7rem;
  color: #A9A9A9;  /* dark grey */
}
.page-inventory p:first-child {
  font-weight: 600;
}

/* --- search --- */
.search_block {
  float: right;
  margin-left: 10px;
  padding-left: 20px;
  border-left: 1px solid #666;
}
h1.search_heading {
  margin-top: 2em;
}
h2.search_heading {
  margin-top: 1em;
  margin-bottom: 1em;
}
input {
  color: #666;
}
form#searchbox, #search-input {
 display: none;
}
button, input {
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
}
label input.collection {
  margin-left: 6px;
}


/* algolia search */

.ais-SearchBox { margin: 1em 0; }
.ais-Pagination { margin-top: 1em }
