h1 { 
   margin-bottom: 0; 
}

.basicDetails {
   max-width: 50em;
}

.basicDetails tr {
   width: 100%;
   border-bottom: 1px solid #eee;
   border-bottom: 1px solid rgba(0, 0, 0, 0.05);
   display: block;
   padding: 0.2em 0.2em 0.2em 1em;
}

.basicDetails tr > * { /* th and td */
   padding: 0 0.5em 0 0;
   line-height: 1.3;
   display: inline-block;
   vertical-align: middle;
}

.basicDetails tr > th {
   text-indent: -1em;
   vertical-align: middle;
}

.basicDetails tr > td > * {
   display: inline-block;
   vertical-align: middle;
}

@media all and (min-width:500px) {
   .basicDetails tr {
      display: table-row;
      padding: 0;
   }

   .basicDetails tr > * {
      display: table-cell;
      padding: 0.2em;
   }

   .basicDetails tr > th {
      vertical-align: top;
      text-indent: 0;
   }
}

.basicDetails tr th:after {
   content: ':';
}

.basicDetails tr td > * {
   display: inline-block;
}

.basicDetails .locDir {
   white-space: nowrap;
}

.basicDetails .locDir > * {
   display: inline-block;
   vertical-align: middle;
}

.note {
   max-width: 70em;
   display: inline-block;
   vertical-align: top;
}

#setTagsForm {
   width: 30em;
}

#setTagsForm label.checkbox {
   display: inline-block;
   width: 12em;
}

@media print {
   /* This cleverly hides the tag selection form. */
   form[method="post"] {
      display: none;
   }
}

.identifier .navigationText span {
   display: none;
}

.navigationText {
   display: inline-block;
   text-align: center;
   margin: 0.1em;
}

.navigationText a {
   display: table-cell !important;
   vertical-align: top;
   padding: 0.2em !important;
}

.navigationText a.prev {
   border-radius: 0.4em 0 0 0.4em;
}

.navigationText a.next {
   border-radius: 0 0.4em 0.4em 0;
}

.navigationText a span {
   display: block;
}

/************ Boxes ************/
#photoClue { 
   display: none; 
}

@media all and (min-width:60em) { 
   .basicDetails, #photoClue { 
      display: inline-block; 
      vertical-align: top;
      padding-right: 1em;
   } 
}

#seriesDetails, #trackerMemberships, #eventsAttendedTable { 
   margin: 0.5em 0; 
   display: inline-block; 
   vertical-align: top; 
   border: 1px solid gray; 
}

#seriesDetails {
   display: table;
}

#seriesDetails th, #seriesDetails td { 
   vertical-align: middle; 
   text-align: center; 
   padding: 0.2em; 
}

#seriesDetails .num { 
   text-align: right; 
}

#seriesDetails .name,
#seriesDetails .yourLogs,
#seriesDetails .fSummary {
   text-align: left;
}

#seriesDetails a {
   font-weight: normal;
}

#eventsAttended .boxName {
   text-align: left;
}

.comment { 
   padding: 0.5em 0; 
}

.comment .author { 
   font-weight: bold; 
}

.comment .message { 
   margin: 1em 0; 
}

.comment.isDeleted .message { 
   text-decoration: line-through; 
}

.comment + .comment { 
   border-top: 1px solid #999; 
   border-top: 1px solid rgba(0,0,0, 0.2); 
}

#boxRatings tr *:first-child { 
   text-align: right; 
}

#boxRatings tr *:nth-child(3) { 
   text-align: center; 
}

/*********************** TRACKERS ***********************/
#posts .post {
   margin: 0 0 1em;
   min-width: 30em;
   max-width: 50em;
}

#posts .post .author {
   font-size: 1.2rem;
   line-height: 1.4;
}

#posts .post .timestamp {
   text-align: right;
}

#findsChart {
   border: 1px solid gray;
   border-width: 0 1px 1px 0;
   overflow: auto;
}

#findsChart * {
   min-width: initial;
   overflow-wrap: initial;
   max-width: initial;
}

#findsChart thead th > div {
   -moz-transform: translate(-3.75em, -4em) rotate(90deg);
   -webkit-transform: translate(-3.75em, -4em) rotate(90deg);
   -ms-transform: translate(-3.75em, -4em) rotate(90deg);
   -o-transform: translate(-3.75em, -4em) rotate(90deg);
   transform: translate(-3.75em, -4em) rotate(90deg);
   width: 2em;
   height: 10em;
   font-weight: normal;
   line-height: 1.2;
}

#findsChart thead th > div > div {
   width: 10em;
   height: 2.75em;
   overflow: hidden;
   text-overflow: ellipsis;
}

#findsChart tbody tr td.num {
   text-align: right;
}

#findsChart th, #findsChart td, #findsChart caption {
   border-left: 1px solid gray;
   border-top: 1px solid gray;
}

#findsChart .owner, #findsChart .found, #findsChart .notFound {
   font-weight: normal;
   text-align: center;
   font-size: 1.5rem;
}

#findsChart .owner {
   color: blue;
   background-color: rgba(0, 0, 255, 0.2);
}

#findsChart .found {
   color: green;
   background-color: rgba(0, 255, 0, 0.2);
}

#findsChart .notFound {
   color: red;
}

/*********************** EVENTS *************************/
#eventPhoto {
   display: none;
}

@media all and (min-width:800px) {
   #eventPhoto { 
      display: inline-block; 
      vertical-align: top;
   }
}

#postEntries {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(30em, 1fr));
   grid-template-rows: masonry;

   margin: 1em 0;
}

.postEntry {
   background: rgba(0,0,0, 0.1) none;
   border: 1px solid rgba(0,0,0, 0.2);
   padding: 0.5em 1em;
}

.postAuthor {
   font-weight: bold;
}

/*********************** BLOGS **************************/
#subscriptionCode {
   max-width: 40em;
}

/*********************** TRIPS **************************/
#map, #mainCities {
   display:inline-block;
   vertical-align:top;
   max-width:100%;
}