

html {
  box-sizing: border-box;
}


html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: auto;
   scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #474136;
  font-family: georgia, serif;
  height: 100%;
}

a,
a:visited {
  color: #0058a2;
  outline: none;
  text-decoration: none;
}

.mainDisplay {
          height:100vh;
          overflow-y: scroll;
          margin-left: 11em;
          justify-content: space-between;
        }

.entriesSection {
    width: 100%;
}

        


body a.photopop {
  float: left;
  margin: 1em 0.75em;
}

/* clear prior settings for the external link image: */

/*a:visited {color: #60537f;}*/

a:hover {
  color: #b05d14;
  text-decoration: none;
}

/*.hilight, .highlight {background-color: #ff0 !important;}*/

/* home grown search  styles */

.images {
  margin-left: 1em;
}

#stats {
  color: #8d8982;
  /*font-size: 1.2em;*/
  /*font-family: \'georgia\', serif;*/
  /*font-style: italic;*/
  display: inline-block;
  padding: 1em;
  vertical-align: bottom;
}

h1.title {
  color: #4b3916;
  margin: 36px 0 12px;
  font: 3.25vw 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.13;
}


#subtitle {
  top: 0.1em;
    position: relative;
    left: 0.05em;
  display: block;
  color: #555555a1;
  
  font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}



#logo {
  display: block;
  margin: 0;
  /*top: -1em;  */
  position: relative;
  margin-bottom: 1em;
  height: 93px;
  text-shadow: 0px 0px 1px #4b391766;
}

#logo img {
  /*display: block;*/
  /*width: 395px;*/
  position: relative;
  /*top: 19px;*/
  z-index: 99999;
  left: 4px;
  float: left;
  margin-right: 10px;
}

#hi {
  display: inline-block;
  /*width: 475px;*/
  float: left;
  font-family: 'EB Garamond', serif;
  font-size: 25px;
  line-height: 0.85em;
  letter-spacing: 0.3pt;
}

#jeremy {
  font-size: 17px;
  font-style: italic;
  letter-spacing: inherit;
  padding-left: 0.3em;
  color: #4b391778;
  text-shadow: none;
}

#logo,
#logo:hover {
  color: #4b3917;
  text-decoration: none;
}


@media screen and (max-width: 900px) {
  h1.title {
    font-size: 28px;
  }
  
  #hi {
    font-size: 25px;
  }
  
  #jeremy {
    font-size: 15px;
  }

  #subtitle {
    display: none;
  }
}


@media screen and (min-width: 1100px) {
  h1.title {
    font-size: 36px;
  }
}

h1.title div.date {
  display: block;
  color: #786746;
  font-size: 50%;
  font-weight: normal;
}

/*// used for displaying count of eras for cur cat in side navigator*/

.hoverera {
  visibility: hidden;
  margin: 0 0 0 0.5em;
  display: inline-block;
  width: 1em;
  color: #777;
}



.flex-item.frontend.entry.full div.body {
  margin: 2em 2em 1em 1em;
  color: #474136;
  /*font-family: georgia, serif;*/
    font-family: 'EB Garamond', serif;
  font-kerning: normal;
  font-size: 149%;
  line-height: 131%;
  /*font-weight: 800;*/
}

/* end home grown search  styles */

img {
  border: 0;
}

ul,
ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}

#toc ul,
#toc ul li {
  list-style: circle outside;
  padding: 0;
  margin: 0;
}

ul {
  list-style: circle outside;
  padding-left: 20px;
  font-size: 90%;
}

ul ul {
  font-size: 100%;
}

/*ul li {list-style: circle outside; padding: 0; margin: 0 0 3px; background: none;}*/

form {
  margin: 0;
  padding: 0;
}

input,
select {
  font-size: 100%;
  font-family: georgia, serif;
  color: #343434;
  border: 1px solid #cac5bb;
}

/*table {border: 0; border-collapse: collapse; border-spacing: 0; border: 1px solid #e4e0d8; border-width: 1px 0; margin-bottom: 16px;}*/

/*table td {vertical-align: top; padding: 2px 8px; text-align: right;}*/

/*th {border-bottom: 3px double #e4e0d8; color: #4b3916; padding: 2px 8px;}*/

#about #content p,
.entrybody p {

  margin: 2em 2em 1em 1em;
  /*line-height: 2em;*/
  /*text-indent: 5em;*/
  /*text-align: justify;*/
  font-kerning: normal;
}

.search img {
  width: 200px;
}

h1 {
  color: #4b3916;
  margin: 36px 0 12px;
  font-size: 270%;
  line-height: 1;
}

/*h1 span {display: block; color: #786746; font-size: 70%;}*/

h2 {
  margin: 20px 0 8px;
  font-size: 150%/120%;
}

/*h2 span {display: block; font-size: 80%;}*/

h3 {
  margin: 20px 0 4px;
  font-size: 120%/120%;
}

hr {
  border: 1px solid #cac5bb;
  border-width: 1px 0 0;
  width: 20%;
  margin: 16px 0;
  height: 1px;
}

.clear {
  clear: both;
}

#nav {
  background: #f4f2ed;
  border: 1px solid #e4e0d8;
  border-width: 1px 0;
  padding: 5px 22px 0 14px;
  /*margin: -40px 0 12px;*/
  position: relative;
}

#nav .main {
  font-weight: bold;
  font-size: 100%;
}

#navNew {
  background: #f4f2ed;
  border: 1px solid #e4e0d8;
  border-width: 1px 0;
  padding: 5px 22px 0 14px;
  /*margin: -40px 0 12px;*/
  position: relative;
}


.fullmenu ul,
.fullmenu ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.fullmenu ul li {
  float: right;
  clear: right;
  margin-top: -5px;
  position: relative;
}

.fullmenu ul li a {
  display: block;
  margin-bottom: 5px;
  border: 1px solid #f4f2ed;
  border-width: 1px 1px 0;
  -webkit-border-radius: 6px 6px 0 0;
  -moz-border-radius: 6px 6px 0 0;
  border-radius: 6px 6px 0 0;
}

.fullmenu ul li.main {
  float: left;
  margin-top: 0;
}

.fullmenu li.main a {
  color: #4b3916;
  float: left;
  padding: 6px 8px 6px;
  margin: 0 4px 0 0;
  position: relative;
}

.fullmenu li.main a:hover,
.fullmenu li.main:hover a {
  background: #fff;
  text-decoration: none;
  color: #b05d14;
  border-color: #e4e0d8;
}

#slimnavi {
  z-index: 1;
  /*height: 3em;*/
}
#slimdiv {
    background-color: #ddd;
    border-bottom: 1px solid #aaa;
}

#era_slider {
    position: relative;
    display: inline-block;
    width: 70%;
    min-width: 300px;
    margin: 1em 1em 0em 1em;
}

#top_menu {
  /*background-color: #4d4334;*/
  /*color:white;*/
  /*height: 3em;*/
  /*font-size:90%;*/
  /*padding: 0.5em 1em;*/
  border-radius: 0.25em;
}

.map {
  max-width: 90vw;
}

/*#nav #n-back {position: absolute; top: -28px; right: 0;}*/

.back {
  z-index: 10001;

}

#content {
  min-height: 70vh;
  position: relative;
  overflow: visible;
  line-height: 1.5;
  margin-bottom: 8px;
  font-size: 1.3em;
}

#narrative #content {
  top: 0em;
}

#search #content {
  top: -2em;
}

#about #content,
#narrative #content {
  padding-left: 1em;
}

#content a {
  text-decoration: underline;
}

* html #content {
  height: 500px;
  overflow: visible;
}

#map_canvas {
  height: 60vh;
  width: 95%;
  border: 1px solid #e4e0d8
}

#map_canvas.detail {
  height: 25vh;
}


/* footnotes */

#entries {
  padding-left: 240px;
  position: relative;
}

#entries h3 {
  border-bottom: 1px solid #e4e0d8;
  text-align: right;
}

.entry {
  clear: both;
}

.entrybody {
  clear: both;
}

.entrybody .imgwrap {
  width: 202px;
  padding: 4px;
  background: #f4f2ed;
  border: 1px solid #e4e0d8;
  font-size: 80%;
  color: #8d8982;
  text-decoration: none !important;
  float: left;
  margin: 0 12px 4px -230px;
  position: relative;
  clear: left;
  line-height: 1.3;
}

.entrybody .imgwrap a {
  color: #8d8982;
}

.entrybody .photopop {
  text-decoration: none !important;
}

.entrybody .photopop:hover {
  text-decoration: underline !important;
}

.entrybody img {
  width: 200px;
  height: auto;
  border: 1px solid #e4e0d8;
  float: none !important;
}

#overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  background: #000;
  background: rgba(0, 0, 0, .80) url(/assets/loader.gif) center center no-repeat;
  display: none;
}

#overlay div {
  padding: 16px;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9001;
  background: #fff;
  overflow: visible;
  border-radius: 12px;
  display: none;
}

#closeoverlay {
  display: block;
  width: 19px;
  height: 19px;
  background: url(//img/ic-circlex.png) 0 -38px no-repeat;
  position: absolute;
  top: -8px;
  right: -8px;
  cursor: pointer;
  z-index: 9002;
}

#closeoverlay:hover {
  background-position: 0 -19px;
}

/* mac os x lion scrollbar fix */

#theme h1 {
  font-size: 180%;
}

#theme h1 span {
  font-size: 70%;
  margin-top: 1em;
}

#theme #entries {
  padding: 0;
  margin-left: 220px
}

#theme #entries h3 {
  clear: left;
}

#theme #entries .entry {
  width: 20%;
  height: 320px;
  background: #f4f2ed;
  float: left;
  clear: none;
  margin: 0 10px 10px 0;
  padding: 0 10px 10px;
  line-height: 1.3;
  overflow: hidden;
  text-decoration: none;
  border: 2px solid #f4f2ed;
  font-size: 0.9em;
  border-radius: 1em;
}

/*#theme #entries.featured {*/

/*    min-height: 60vh;*/

/*}*/

/*#theme #entries.featured .entry  {*/

/*  width: auto;*/

/*  height: auto;*/

/*}*/

#theme #entries .entry:hover {
  background: #fff;
}

#theme #entries .entry div {
  width: 100%;
  max-height: 180px;
  overflow: hidden;
  margin: 0 auto 10px;
  padding: 0;
  background: #e4e0d8;
  border: 1px solid #e4e0d8;
}

/*#theme #entries.featured .entry div {*/

/*    max-height: none;*/

/*}*/

#theme #entries .entry img {
  width: 100%;
  border: 0;
  display: block;
  margin: 0;
  border-radius: 0.5em;

}

#theme #entries .entry span {
  font-size: 80%;
  color: #8c877f;
  display: block;
  background: #e4e0d8;
  padding: 4px 10px;
  margin: 0 -10px 10px;
  /* height: 30px; */
  /* line-height: 1.1; */
  font-family: sans-serif;
  text-align: center;
}

.prev {
  float: left;
}

.next {
  float: right;
}

.smaller {
  font-size: 85%;
  margin: -8px 0 12px;
  color: #8c877f;
}

.smaller a {
  color: #8c877f;
  white-space: nowrap;
}

.smaller a:visited {
  color: #b3aea6;
}

.smaller a:hover {
  color: #b05d14;
}

.smaller img {
  vertical-align: middle;
  margin: 0 2px;
}

/* publications styles */

.thumb .photopop,
.large .photopop {
  text-align: center;
  display: inline;
}

* html .large {
  margin-right: -50px;
}

.large {
  float: right;
  clear: both;
  width: 195px;
  border-radius: 1em;
  padding-left: 2em;
  margin-right: 1em;
  text-align: center;
  line-height: 1.2;
  font-size: 85%;
  color: #8c877f;

}

.wide {
  width: 429px;
  margin: 16px auto;
  line-height: 1.3;
  font-size: 85%;
  color: #8c877f;
}

.caption {
  text-align: left;
}

.caption img {
  margin: 12px 0 0 !important;
}

img.large {
  width: auto;
}

.publication {
  padding-left: 140px;
  overflow: auto;
  clear: both;
}

* html .thumb {
  margin-top: 0;
}

* html div.thumb {
  margin-left: -70px;
}

* html .thumb img {
  margin: 12px 0 0;
}

/*.thumb {float: left; margin: 8px 0 12px -140px; width: 128px; text-align: center;  line-height: 1.2; font-size: 85%; color: #8c877f;}*/

.large img,
.thumb img,
.wide img {
  display: block;
  margin: 12px auto 6px;
  border: 1px solid #f4f2ed;
  border-radius: 1em;
}

.l img {
  margin: 12px 0 6px;
}

#topbar {
  top: 0px;
  margin: 0 auto;
  position: fixed;
  z-index: 4;
  width: 100%;
  /* background: white; */
  padding: 0em 0em 1em 0em;
  /* border: 1px solid blue; */
  /* margin-bottom: -0.8em; */
  background-image: linear-gradient(rgba(255, 255, 255, 1) 0%, rgba(255, 255, 254, 1) 90%, rgba(255, 255, 255, 0) 100%);
}

#toc {
  background-color: #eef;
  /*z-index:9999  ; */
  border-radius: 1em;
  padding: 2em;
  display: none;
  width: 19em;
  /*position: sticky;*/
  top: 180px;
  font-family: sans-serif;
  font-size: 1.5em;
  /*flex: none;*/
}

#main #toc li {
  margin: 0;
}

#main #toc a {
  text-decoration: none;
}

#main #toc li.current {
  font-weight: bold;
}

/* tnav
#tnav {position: absolute; top: 0; right: 0; width: 340px;}
#tnav li {display: inline;}
#tnav #search-text {width: 250px;}
#tnav input {float: left;}
#tnav #search a {float: right; font-size: 90%; margin: 2px 76px 0 0;}
#tnav #search .submit {color: #fff; background: #6d5e40; border: none; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; font-weight: bold; text-transform: uppercase; font-size: 70%; padding: 6px 10px; margin-left: .4em}
#tnav #search .submit:hover {cursor: pointer; color: #fff; background: #cc6205;}
*/
#footer {
	position: fixed;
	bottom: 0em;
	height: 3em;
	color: #aaa;
	padding: 1em 1em 0.5em 1em;
	font-size: 80%;
	/* width: 960px; */
	background-image: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 254, 1) 20%, rgba(255, 255, 255, 1) 100%);
	z-index: 999;
	/* margin: 0 0 0.2em; */
	width: 100%;
	/* vertical-align: middle; */
}

.footer_text {
  position: absolute;

  right: 2em;
}

/*#theme #footer {margin-left: 220px}*/

.button {
  float: left;
  background: #f4f2ed;
  border: 1px solid #ddd9d0;
  padding: 5px 10px;
  margin: 1em 1em 1em 0;
  text-decoration: none !important;
  color: #0058a2 !important;
  font-weight: bold;
}

.button:hover {
  background: #fff;
  color: #b05d14 !important;
}

.tools {
  clear: both;
  background: #f4f2ed;
  border: 1px solid #ddd9d0;
  padding: 5px;
  margin: 0 0 3em;
}

.tools p {
  margin: 0;
}



.jeremyLicense {
  font-size: 0.80em;
  color: #555;
  font-style: italic;
}

figure {
  text-align: left;
  margin: 1em 0em;
}
  
#chart_div {
  height: 80vh;
}

.cancel {
    color: indianred;
    border-radius: 50%;
    margin: 0em 0.5em 0em 1em;
    width: 1.5em;
    display: inline-block;
    border: 2px solid #999;
    text-align: center;
    vertical-align: middle;
    height: 1.5em;
    box-sizing: border-box;
}

.cancel::before {
  content: "✖";
}
.overlay {
  display: none;
  position: absolute;
  top: 0px;
  background: #352f2fb5;
  width: 100%;
  height: 100%;
  z-index: 10000;
  /*transition: background 250ms ease-in-out;*/
  overflow: hidden;
}

#detailViewModule {
    display: none;
    /* padding: 2em 2em 2em 2em; */
    z-index: 10001;
    margin: 2em auto;
    position: absolute;
    top: 0px;
    left: 2em;
    right: 2em;
    bottom: 0px;
    /* height: 95%; */
    overflow-y: scroll;
    border-radius: 1em;
    background: white;
}

#detailViewWindowBar {
border-bottom: 1px solid black;
    background: #d0d0d0;
    height: 2em;
    text-align: right;
    padding-right: 1em;
    position: sticky;
    top: 0px;
    z-index: 10002;
}

#closeDetailWindow:hover {
  cursor: pointer;
}

#detailViewWindow {
  border: 2px solid black;
  box-shadow: 1px 1px 5px black/* offset-x | offset-y | blur-radius | color */;
  /*padding: 1em;*/
}

#detailViewContent {
  margin: 1em;
}

.adminEntries {
      top: 2em;
    position: relative;

}

.adminPDFs {
      top: 2em;
    position: relative;
    width: 100%;

}

/*.google-visualization-atl .annotationsContainer .date {*/

/*  font-size: 1.3em;*/

/*}*/

body {
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 90%;
  font-family: 'Montserrat', sans-serif;
  height: 100%;
  width: 100vw;
}

.clear {
  clear: both;
}

.required {
  font-weight: bold;
}

img {
  border: 0;
}

.body img {
  float: left;
  margin-right: 1em;
}

img.offsite {
  float: none;
  margin: auto;
      opacity: 50%;
      vertical-align: super;
}

.newcaption {
  /*font-size: 125%;*/
  /*padding-top: 1em;*/
  margin-bottom: 1em;
  text-align: left;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;

}

.magnifying_glass {
  cursor: zoom-in;
  /*top: -1.9em;*/
  float: right;
  /*position: relative;*/
}

.error {
  color: darkred;
}

#fbstate {
  float: right;
}

/*start of flex example */

/*
  https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox
  
  helpful: shows live results: https://yoksel.github.io/flex-cheatsheet/
*/

.wrapper,
#wrapper {

  display: grid;
  grid-gap: 1em;
  grid-auto-columns: fit-content(20%) 1fr;
  grid-template-areas: "topness topness" "sidebar  content" "footer footer";
  align-items: start;
  justify-content: center;
  align-content: start;
  /*position: relative;*/
  /*width: 98vw;*/
  height: auto;
  /*top: 19em;*/
}

.imgwrapper {

  display: grid;
  grid-gap: 1em;
  grid-auto-columns: fit-content(20%) 1fr;
  grid-template-areas: "content  content" "footer footer";
  align-items: start;
  justify-content: center;
  align-content: start;
  position: relative;
  width: 98vw;
  height: auto;
  /*top: 19em;*/
}


@media only screen and (max-width: 812px) {
  .wrapper, .imgwrapper {
    grid-auto-columns: 1fr;
    grid-template-areas: "sidebar " "content" "footer";

  }
  
}

div.topness {
  grid-area: topness;
}

div.left {
  grid-area: sidebar;
  /*grid-column: 1;*/
  min-width: 250px;
}

div.right {
  grid-area: content;
  /*grid-column: 2;*/
}

div#footer {
  grid-area: footer;
}

.wrapper>*,
.editwrapper>*,
  {
  padding: 1em;
  list-style: none;
}


.editwrapper {
  display: grid;
  padding: 1em;
  grid-template-columns: 5fr 3fr;
  grid-template-areas: "header header" "left  right " "footer footer ";
  /* height: 90vh; */
  grid-auto-flow: dense;
  grid-gap: 10px;
  grid-auto-rows: minmax(100px, auto);
  /*flex-flow: row wrap;*/
  /*border: 10px solid blue;*/
}

.grid-header {

  grid-area: header;
}

.header {
  background: white;
  /*position: sticky;*/
  /* vzm-temp */
  top: 0px;
  z-index: 9999;
  border-bottom: 3px solid darkgray;
  width: 100%;
}

.footer {
  /*padding: 10px;*/
  /*flex: 3 1 auto;*/
  grid-area: content;
  /*max-width: 75%;*/
  list-style: none;

  margin: 0em 0em 0em 1em;
  /*min-width: 300px;*/
}


.title h2 {
  color: #555;

  font-style: italic;
  margin: 2em 0em 1em 1em;
  padding: 0;
  font-size: 91%;
  clear: both;
}

@media all and (min-width: 800px) {
  .left.admin {
    flex: 1 1 auto;
    max-width: 250px;
  }
  /*.left    { flex: 3 1 0;     max-width: 35em;}*/
  .left {
    /*flex: 1 1 auto;*/
    grid-area: left;
    max-width: 250px;
  }
}


@media all and (min-width: 600px) {

  #content {
    flex: 7 1;
    max-width: 60em;
  }

  .right.admin {

    /*flex: 1 1;*/
    grid-area: right;

  }

  .right {

    display: flex;
    /*flex: 4 1 auto;*/
    /*grid-area: right;*/
    max-width: 900px;
    /* position: relative; */
    /* right: 1em; */
    margin: 0 2em;

  }
} 


.toc {
  border: 1px solid lightslategrey;
    width: 233px;
    background-color: #eee;
    padding: 0em 1em;
    border-radius: 0.5em;
    position: fixed;
    margin: 2em;
    height: 60%;
    overflow-y: scroll;
}

@media all and (max-width: 600px) {

  
  .toc {
    position: relative;
  }

}

.heading {
  grid-area: content;
flex: 1 1 auto;
width: 100%;
text-align: center;
margin: 1em auto 5em;
padding: 0em 2em;
}

/*// end of new*/

.debugmessages {
  display: none;
}

.search_form2 {
right: 1em;
    top: 1.5em;
    position: absolute;
    /*z-index: 999;*/
    width: 25em;
    display: block;
}

.flex-container.nav {
  background-color: LIGHTBLUE;
  display: flex;
  visibility: hidden;
  position: sticky;
  top: 10em;
  height: 70vh;
  overflow-y: scroll;
}

.flex-container {
  display: flex;
  width: 100%;
  flex-flow: row wrap;
  justify-content: left;
  margin: 0;
  padding: 0;
  list-style: none;
}

.messages {
  grid-area: messages;
}

.grid-container {
  display: grid;

  width: 100%;
  /*height: 100%;*/
  /*flex: 1 0 auto;*/
  /*flex-flow: row wrap;*/
  /*align-items: flex-start;*/
  /* stretches vertically when commented out */
  align-content: flex-start;
  /*justify-content: left;*/
  justify-items: stretch;
  /*border: 1em solid orange;*/
  /*padding: 1em;*/
  margin: 0em;
  padding: 0em;
  /*margin: 1em;*/
  list-style: none;
  /*border: 3px solid purple;*/
  /*background-color: yellow;*/
}

.grid-container.info {
  background-color: aliceblue;
}

.grid-container.info {
  grid-template-areas: "a a a a";
}

.grid-container.dialog {
  grid-template-columns: 2fr 1fr;
  grid-template-areas: "left right" "footer footer";
}


.grid-container.dates {
  background-color: beige;
}

.grid-container.coordinates {
  background-color: mistyrose;
}

.grid-container.keywords {
  background-color: bisque;
}

.grid-container.Categories {
  background-color: lavender;
}

.grid-container.Images {
  background-color: gainsboro;
}

.grid-container.content {
  background-color: lightblue;
}

.grid-container.Upload {
  background-color: #a3a3cf;
}


.grid-container.Preview {
  background-color: lavender;
}

.grid-container.Description {
  background-color: lightsteelblue;
}

.grid-container.Metadata {
  background-color: lightgrey;
}

.grid-container.Attribution {
  background-color: #e4e0d8;
}

.grid-container.Pages {
  background-color: lightblue;
}


dialog {
  width: 500px;
}

dialog::backdrop {
  background: repeating-linear-gradient( 45deg,
  rgba(0, 0, 0, 0.2),
  rgba(0, 0, 0, 0.2) 1px,
  rgba(0, 0, 0, 0.3) 1px,
  rgba(0, 0, 0, 0.3) 20px);
}


dialog#dialog_sharedCategoryList {
    width: 1200px;
}

.grid-item.image {
  max-width: auto;
}

.editright .grid-item.image {
  max-width: 200px;
}

.xownlist .grid-item.image {
    max-width: 400px;
    /*border: 2px solid #aaff;*/
    background-color: #eeff;
    margin: 1em auto;
    border-top: 10px solid #aafe;
    /*border-radius: 0em 0em 1em 1em;*/
}

.xownlist .grid-item.image:hover {
  border-color: black;
  background-color: #eee;
}


.xownlist .grid-item.image:active {
  border-color: orange;
  background-color: #ffa5003b;
}

ol.ui-sortable li {  
  counter-increment: images;
 
}

ol.ui-sortable li:hover {
  cursor: grabbing;
}

ol.ui-sortable li:before {
  content: counter(images) ". ";
}

ol.ui-sortable {
  list-style: none;
  counter-reset: images;
}

.editfooter {
    /* padding: 10px; */
    /* flex: 3 1 auto; */
    grid-area: footer;
    /* max-width: 75%; */
    list-style: none;
    margin: 0em 0em 0em 0em;
    /* min-width: 300px; */
}

.category {
  display: flex;
  clear: both;
  background-color: #eee;
  padding: 1em;
  flex-flow: row wrap;
}

.grid-container.category {
  display: flex;
  clear: both;
  background-color: #eee;
  padding: 1em;
  flex-flow: column wrap;
  height: 80vh;
  overflow-x: scroll;
  align-items: flex-start;
  align-content: flex-start;
}


.grid-item {
  /*// start new*/
  /*background-color: white;*/
  padding: 0.5em;

  /*flex: 1 1 auto;*/
  height: auto;
  margin: 0.25em 0.5em 0.25em 0;
  /*border: 1px solid #ddf;*/
  /*border-radius: 0.5em;*/
  /*width:100%;*/
  color: black;
  text-align: left;
}


.flex-item {
  /*// start new*/
  /*background-color: white;*/
  /*padding: 0.5em;*/
  /*flex: 1 1 auto;*/
  height: auto;
  margin: 0.25em 0.5em 0.25em 0;
  /*border: 1px solid #ddf;*/
  /*border-radius: 0.5em;*/
  /*width:100%;*/
  color: black;
  text-align: left;
  position: relative;
}

.flex-item .hideborder {
  border: none;
}

.flex-item.title {
  width: 100%;
}

.flex-item.cats {
  flex: 2 1 0;
  max-width: 30em;
}

.flex-item.eras {
  flex: 1 1 0;
  max-width: 10em;
}

div.recent {
  /*margin: 1em 2em 1em 1em;*/
  /*background-color: #eef;*/
  /*border-radius: 1em;*/
  /*padding: 1em 1em;*/
}

div.recent h2 {
  border-bottom: 1px solid #555;
}

div.recententry {
  margin: 1em 0em;
  clear: both;
  overflow-y: hidden;
}

.flex-container.frontend.search .flex-item.img {
  flex: 1 1 0;
  max-width: 200px;
}

.flex-container.frontend.search .flex-item.text {
  flex: 3 1 0;
}


.flex-item.frontend.entry.thumbnail {
  /* flex: flex-grow, flex-shrink and flex-basis */
  /*flex: 1 1 auto;*/
  /*height:300px;*/
  max-width: 170px;
  background-color: #efefef;
  /*border: none;*/
  padding: 0em;
  /*margin: 1em 1em 0 0;*/
  min-width: 7em;
  border: 1px solid lightgrey;
  border-radius: 0.5em;
  /*z-index: 2;*/
  position: relative;
  overflow: hidden;
}

.flex-item.frontend.entry.thumbnail.expanded {
  max-width: 100%;
  max-height: 60vh;
  overflow-y: scroll;

    transition: all 1.5s ease-in-out;
}

.flex-item.frontend.entry.thumbnail.recent {
  /* flex: flex-grow, flex-shrink and flex-basis */
  margin: 1em 0;
  max-width: 170px;
  background-color: #eee;
  border-radius: 1em;
  padding: 0em;
  min-width: 7em;
  border: none;
  z-index: 2;
}

.flex-item.frontend.entry.thumbnail:hover,
.flex-item.frontend.entry.thumbnail:focus {
  color: black;
  border: 1px solid deepskyblue;
  background-color: #eeedff;
  text-shadow: 0 0 .65px #333, 0 0 .65px #333;
  /*color: #555;*/
}


.flex-item.frontend.entry.thumbnail.expanded:hover,
.flex-item.frontend.entry.thumbnail.expanded:focus {
  text-shadow: none;
}

.flex-item.frontend.entry.thumbnail.recent:hover,
.flex-item.frontend.entry.thumbnail.recent:focus {
  color: black;
  background-color: #bbb;
  border: none;
  margin: none;
}

.flex-item.frontend.entry.thumbnail .categories {
 
 background: lightgrey;
padding: 0.5em;
font-size: 86%;
bottom: 0;
position: absolute;
min-height: 2em;
width:100%;
display: none;
}



.flex-item.frontend.entry.thumbnail .date {
  background-color: black;
  /* padding: 0.25em 1em 0.25em 0.25em; */
  text-align: center;
  border-radius: 0.5em 0.5em 0 0;
  /*border-bottom: 1px solid grey;*/
  z-index: 2;
  position: relative;
  text-shadow: 0px 0px 4px black;
  color: white;
  /* display: inline-block; */
  font-size: 80%;
  font-weight: normal;
  text-shadow: none;
}

.flex-item.frontend.entry.thumbnail:hover .date,
.flex-item.frontend.entry.thumbnail:focus .date {
  /*font-weight: normal;*/
  background-color: #2343b3;
}


.flex-item.frontend.entry.thumbnail.js-entry-expander .link {
  display: block;
  margin: 1em auto;
  padding: 0.5em;
  text-align: center;

}

.flex-item.frontend.entry.thumbnail.recent .link {
  font-size: 0.9em;
  text-align: left;
  margin: 0em;
  padding: 0em;
}

.flex-item.frontend.entry.thumbnail.js-entry-expander .img {

  display: block;
  /*min-width: 10em;*/
  max-width: 170px;
  border-bottom: 1px solid grey;
  position: relative;
  z-index: 1;
  transition: 0.3s ease-in-out;

  /*min-height: 10em;*/
  /*margin: 0 auto;*/
  /*border-radius: 0.5em;*/
}

.flex-item.frontend.entry.thumbnail.js-entry-expander:hover .img,
.flex-item.frontend.entry.thumbnail.js-entry-expander:focus .img 
{
  transform: scale(1.10);
  transition: 0.3s ease-in-out;
}


.flex-item.frontend.entry.thumbnail.recent .img {
  max-width: 70px;
  border-bottom: 1px solid grey;
  float: left;
  margin-right: 1em;
}



.flex-item.frontend.entry.full .images,
.first_image {
  display: flex;
  flex-flow: row wrap;
  padding: 1em;
}

.images.expanded .image {
  max-width: 200px;
}

.first_image {
  float: left;
  width: 50%;
}

.flex-item.image {
  text-align: center;
  /* border: 1px solid grey; */
  /* border-radius: 1em; */
  margin: 1em 1em;
  /*overflow: hidden;*/
  /*max-width: 200px;*/
}
.footer .flex-item.image {
  margin: 0;
  
}
.flex-item.image.full {
  margin: 1em auto;
}

.first_image .flex-item.image img.creativecommons,
.flex-item.image img.creativecommons {
  width: 80px;
  min-width: 80px;
  float: left;
  border-radius: 0;
  vertical-align: middle;
  margin-right: 3px;
}


.first_image .flex-item.image {

  text-align: left;
}

.thumb .newcaption {
  /*top: -2em;*/
  position: relative;
  line-height: 1.5em;
  font-size: 1.0em;
}

.source {
  /*line-height: 1.2em;*/
  font-size: 0.6em;
  text-align: right;
  margin-top: 1em;
}

.newcaption p {
  margin: 1em 0em;
  /*font-style: italic;*/
  font-size: 0.8em;
}

.flex-item.image.thumb,
.flex-item.image.thumb img {
  max-width: 200px;
}

a.flex-item:hover,
a.flex-item:focus {
  text-decoration: none;
  border: 1px solid blue;
}

.flex-item.image img {
  border-radius: 1em;
  width: 90vw;
  text-align: center;
}

.flex-item.image .pdf img {
  border-radius: 1em;
  margin: auto auto;
  width: 128px;
  /*width: 90vw;*/
  text-align: center;
}

.flex-item.image img.full 
{
    max-width: 100%;
    height: auto;
    width: auto; 
}

.first_image .flex-item.image img {

  max-width: 100%;
  min-width: 200px;

}


.first_image .flex-item.image .pdf img {

  max-width: 200px;
  min-width: 200px;

}


.fthumb {
  min-width: 100px;
  min-height: 100px;

}

.footer .flex-item {
  width: 100%;
}

.footer .flex-item.search {
  max-width: 170px;
  width: 170px;
  overflow: hidden;
   /*margin: 0; */
  padding: 0; 
  background-color: #eee;
  border: 1px solid lightgrey;
  border-radius: 0.5em;
}

.footer .flex-item.search .text {
  margin: 0.5em 0.5em;
}

.search_match {
  
    margin-top: 1em;

}

.footer .flex-item.search img {
  max-width: 170px;
}

.flex-item.frontend.entry.full {
  max-width: 80vw;
}

/*.flex-item.entry_sharedCategoryList_ */

.flex-item.checkbox {
  width: auto;
  max-width: 20em;
  padding: 0;
  margin: 0.25em 1em 0 0;
  text-indent: -1.8em;
  line-height: 1.6em;
}

a.dimmed {
  color: #aaa;
}

.category .flex-item {
  /* border-style: solid; */
  /* border-width: 1px; */
  /* border-color: #0058a2; */
  /* border-radius: 0.5em; */
  /* text-align: center; */
  /* font-size: 1.0em; */
  padding: 0em 0.5em;
  /* width: auto; */
  width: 33%;
}


.category .flex-item:hover,
.category .flex-item:focus {
  cursor: pointer;
  background-color: #0058a2;
}

.category .flex-item a {
  padding: 0.5em;
  display: block;
}

.category .flex-item:hover a,
.category .flex-item:focus a 
{
  color: white;
}


.flex-item.rightBorder {
  /*border-right: 1px solid gray;*/
  /*padding-right: 1em;*/
}


button,
.button {
  padding: 0.5em 0.5em;
  font-size: 1.5em;
  border-radius: 0.5em;
  border: 2px solid lightblue;
  color: #77f;
  margin: 0em 1em;
}



button.micro {
  margin: 0.2em;
  color: black;
  
  font-size: 0.95em;
  padding: 0.2em 0.5em;
}


#alphaOrder, #cat_all {
  font-size: 16.2px;
  padding: 0.75em 1em;
  margin: 0.5em 1em;
  color: #13a;
  background: #BDD2FF;
  border-radius: 0px;
  position: relative;
}

button.micro.active {
  color: white;
  background-color: black;
}

#adminMenu {
    border-bottom: 1px solid darkred;
   background: #fee;
}

#categoryBrowser {
  display: none;
  opacity: 0;
  background-color:#fff;
  touch-action: auto;
  padding: 0.5em;
  border-radius: 0em 0em 0.5em 0.5em;
  /*overflow-x: scroll;*/
  width: 100%;   
  /*max-width: 100%;*/
  border-style: solid;
  border-color: darkgrey;
  border-width: 0 1px 1px 1px;
  box-shadow: 2px 2px 12px lightblue;
  
  grid-auto-flow: column ;
  /*grid-auto-columns: minmax(300px,20%);*/
  grid-template-rows: repeat(auto-fill,minmax(20px,max-content)); 
  grid-gap: 0.0rem 0.1rem;
  grid-template-columns: repeat(auto-fit,250px); /*minmax(250px, 25vw) );*/
  
   /*height:90vh;*/
  overflow-y: scroll;

}

#categoryBrowser button {
  margin: 0;
  border: none;
  text-align: left;
  color: #0058a2;
  font-family: "Montserrat", sans-serif;
  border-radius: 0;
  /*max-width: 300px;*/
}

#categoryBrowser button:nth-child(odd)
{
  background-color: #eef;
}

#categoryBrowser button:nth-child(even)
{
  background-color: white;
}

#sectionBrowser {
  display: none;
  opacity: 0;
  background-color:#ddf;
  border-bottom: 1px solid darkgrey;
}

#sectionCatList {
  background-color:#eee;
}

.timelineSlider {
  display: block;
  width: 7em;
  height: 75vh;
  padding: 0;
  float: left;
  margin-left: 1em;
  margin-top: 2em;
  min-height: 500px;
  /*background-color:#eee;*/
}


.js-menuClosed::after {
  content: "\2193"; /* down arrow */
}


#categoryBrowser button.micro.active {
  color: white;
  background: black;
}

button.micro.section.active {
  border: 2px solid black;
    color: black;
  background: white;
}



button.fb {
  font-size: 0.8em;
  margin: 0em 0.5em;
  padding: 0.3em 0.5em;
  background-color: #33599c;
  color: white;
}

table.eraNav tr:nth-child(odd),
table.catNav tr:nth-child(odd),
table.adminEntries tr:nth-child(odd),
.odd {
  background-color: #eef;
}

table.adminPDFs tr:nth-child(odd),
.odd {
  background-color: #eef;
}

.even,
.odd {
  padding: 1em;
}

.current {
  font-weight: bold;
}

button.delete {
  background: none;
  border: none;
  margin: 0;
  padding: 0.1em 0.5em;
}

.date button.delete {
  font-size: 0.8em;
}

img.thumbnail {
  max-width: 200px;
  background-color: white;
}

/*a  img.thumbnail:hover {*/

/*  cursor: zoom-in;*/

/*}*/



.img-overlay-wrap {
  position: relative;
  display: inline-block;
  /* <= shrinks container to image size */
  transition: transform 250ms ease-in-out;
  overflow: hidden;
}

.img-overlay-wrap img {
  /* <= optional, for responsiveness */
  display: block;
  max-width: 100%;
  height: auto;
}


.img-overlay-wrap.pdf {
  /* <= optional, for responsiveness */
  display: block;
  /*max-width: 150px;*/
  height: 200px;
    min-width: 250px;
  border: 1px solid grey;
 
}


.img-overlay-wrap svg {
  position: absolute;
  bottom: 0;
  right: 0;
}

.img-overlay-wrap:hover,
.img-overlay-wrap:focus {
  transform: scale( 1.05);
  cursor: zoom-in;
}

button:hover,
button:focus {
  background-color: #aaa;
}

progress {
  width: 100%;
  max-width: 500px;
  margin-bottom: 2em;
  display: none;
}

li.flex-item.field.title textarea {
  width: 100%;
}

li.flex-item.image {
  max-width: 30%;
}

li.flex-item.field.title,
li.flex-item.field.body {
  flex-basis: 100%;
}

li.flex-item.submit {
  border: none;
  padding: 1em 0;
  text-align: right;
  margin: 0;
}

/*.image .flex-item {*/

/*  width: 33%;*/

/*}*/

input[readonly] {
  border: none;
}

h1 {
  font-size: 160%;
  /*color: #999;*/
}

/*h1 span {font-size: 60%; font-weight: normal;}*/

h2 {
  color: #555;
  font-size: 140%;
}

h2.category {
  font-family: 'Montserrat', sans-serif;
}

h3 {
  color: #555;
  font-size: 120%;
  font-weight: bold;
}


label>h3 {
  font-weight: normal;
}


p {
  margin: 0 0 1em;
}

table {
  border: 0;
  border-spacing: 0;
  border-collapse: collapse;
}

th {
  text-align: left;
  vertical-align: bottom;
}

td {
  padding: 0 0 0.5em;
  vertical-align: top;
}

td table {
  margin: 1em 0 0;
}

td table td {
  width: 50%;
  padding-right: 10px;
}

hr {
  border: 1px solid #aaa;
  border-width: 1px 0 0;
  margin: 10px 0;
}

form {
  margin: 0em;
  padding: 0;
}

legend {
  font-weight: bold;
  color: #555;
  font-size: 140%;
  margin: 0;
  padding: 0;
}

/*label {display: block;}*/

select,
input,
textarea,
#tinymce {
  font-size: 110%;
  font-family: arial, sans-serif;
}

input[type="text"],input[type="search"] {
  padding: 0.5em 0.5em;
  border-radius: 0.5em;
  width: 100%;
  /*width: -webkit-fill-available;*/
}

select {
  height: 2.5em;
  margin-left: 0.5em;
}

.note {
  color: #777;
  font-weight: normal;
  font-size: 90%;
}

.radioinput {
  display: block;
}

.radioset label {

  margin-right: 8px;
}

input[type=radio] {
  margin-right: 1em;
}

.radioset .column {
  width: 32%;
  float: left;
  border-left: 1px solid #ddd;
  padding-left: 5px;
}

.radioset .column div {
  overflow: auto;
  margin-bottom: 6px;
}

.radioset .column input {
  float: left;
  margin-top: 1px;
}

.radioset .column label {
  float: left;
  margin-left: 3px;
  width: 80%;
  text-indent: -.6em;
  padding-left: .6em;
}

table .button {
  width: auto;
}

.button {
  text-align: center;
  margin: 8px 0;
  padding: 8px;
  background: #ccc;
}

/*textarea {width: 100%; height: 340px;}*/

.big {
  font-size: 150%;
}

/*iframe {width: 220px; height: 285px; z-index: 0;}*/

.entrybody {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  line-height: 1.3;
}

.entrybody.index {
  width: 400px !important;
}


#include {
  margin: 0;
  padding: 0;
  background-color: #eee;
}

#include form {
  width: 200px;
  margin: 0;
  padding: 0;
}

/*#include h2, h3 {color: #555; font-size: 100%; margin: 0 0 4px;}*/

#include .info,
#include div.err {
  width: 150px;
  margin-bottom: 10px;
}

#include .radioset label {
  width: 20px;
}

#include .radioset label,
#include .radioset input {
  float: left;
}

/*.info {width: 688px; padding: 8px 8px 8px 40px; margin: 0 0 30px; border: 1px solid #cbc37f; background: #f8f5db url(../img/ic-info.gif) 8px no-repeat; clear: both;}*/

.err {
  background-color: #f8dbdb;
}

div.err {
  width: 688px;
  padding: 8px 8px 8px 40px;
  margin: 0 0 30px;
  border: 1px solid #cb7f7f;
  background: #f8dbdb url(//img/ic-error.gif) 8px no-repeat;
  clear: both;
}

.err ul {
  margin: 0;
  padding: 0;
}

#navNew .fullmenu {
  /*  width: 100%;*/
  /*  height: 3em;*/
  /*font-size: 18px;*/
  /*  font-weight: 700;*/
  /*  margin-left: 5em;*/
    height: 3em;
    float: right;
    /*width: 100%; */
    /* height: 3em; */
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
        top: 1em;
    positioN: relative;
    /* margin-left: 5em; */
    
}

#nav {
  /*width: 960px; */
  /*border: none;1px dotted #bbb; */
  /*padding: 1em; */
  /*background-color: #eee;*/
  /*height: 8.5em;*/
  font-size: 125%;
}

.fullmenu h3 {
  display: inline;
  font-size: 100%;
}

.fullmenu ul {
  margin: 0 20px 0 0;
  padding: 0;
  list-style: none;
  display: inline;
}

.fullmenu ul li {
  display: inline;
  padding: 0 4px 0 6px;
}

.fullmenu ul li.first {
  border-left: 0;
}

.fullmenu ul.right {
  position: absolute;
  right: 0em;
}

.keywords {
  font-size: 95%;
}

.keywords strong {
  color: #666;
}
.date {
  font-size: 125%;
}

input[type="file"] {
  padding: 1em;
}

#map_list ul {
  font-size: 110%;
}


/*https://isabelcastillo.com/error-info-messages-css*/

/*@import url('//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');*/

/* for admin messages */

.isa_info, .isa_success, .isa_warning, .isa_error {
margin: 10px 0px;
padding:12px;
 
}
.isa_info {
    color: #00529B;
    background-color: #BDE5F8;
}
.isa_success {
    color: #4F8A10;
    background-color: #DFF2BF;
}
.isa_warning {
    color: #9F6000;
    background-color: #FEEFB3;
}
.isa_error {
    color: #D8000C;
    background-color: #FFD2D2;
}
.isa_info i, .isa_success i, .isa_warning i, .isa_error i {
    margin:10px 22px;
    font-size:2em;
    vertical-align:middle;
}

.map {
  border: 1px solid black;
  background-color: #eee;
  min-height: 230px;
  max-height: 230px;
  display: inline-flex;
}

.map.detail {
  min-width: 640px;
  max-width: 640px;
  /*float: left;*/
}

.map.overview {
  min-width: 230px;
  max-width: 230px;
}

.map.remote {
  border: 2px solid red;
}

