﻿/* jdwhiting-w3.css, modified from W3.CSS 4.12 November 2018 by Jan Egil and Borge Refsnes */


html,body {
  background-color:#3f51b5;
  font-family:'Alegreya';
  font-size:28px;
  line-height:1.5;
}

html{overflow-x:hidden}


img {
  max-width: 100%;
}

img + br + em {
  font-style: normal;
  display: inherit;
  text-align: center;
  font-size: 75%;
}

video {
  max-width: 100%;
  height: auto;
}

#panorama {
    max-width: 100%;
    height: 400px;
}

mark {
  color:white;
  background-color:hotpink;
}

pre code {
  color: #3f51b5;
  background-color:hotpink;
  border: 1px solid white;
  display: block;
  padding: 20px;
  overflow-x: auto;
}

/*
p,ul,ol,blockquote{
  max-width: 800px;
  margin: 1.5em auto;
}
*/

h1{font-size:42px}h2{font-size:36px}h3{font-size:30px}h4{font-size:24px}h5{font-size:18px}h6{font-size:16px}

h1,h2,h3,h4,h5,h6{font-family:'IBM Plex Mono',courier,monospace;font-weight:400;margin:10px 0}.w3-wide{letter-spacing:4px}

hr {
    margin-top: 40px;
    border-top: 2px dashed;
    padding-bottom: 40px;
}

/*
a:link {
  text-decoration:none;
  background-color:#00bcd4;
}
a:hover {
  color:#3f51b5;
}
a:active {
  background-color:lightgrey;
}
a:visited {
  color:lightgrey;
}
*/

a:hover {
  color:#00bcd4;
}
.nowrap {
    white-space: nowrap;
}

.jdw-monospace {font-family:'IBM Plex Mono',courier,monospace
}

a.jdw-link::before {
  content: "<< "
}

a.jdw-link::after {
  content: " >>"
}

a.jdw-link:link {
    font-family:'IBM Plex Mono',courier,monospace;
    text-decoration:none;
    padding-left: 6px;
    padding-right: 6px;
    background-color:#00bcd4;
}
a.jdw-link:visited {
    font-family:'IBM Plex Mono',courier,monospace;
    background-color:#00bcd4;
}
a.jdw-link:hover {
    font-family:'IBM Plex Mono',courier,monospace;
    text-decoration:none;
    color:#3f51b5;
    background-color:#00bcd4;
}
a.jdw-link:active {
    font-family:'IBM Plex Mono',courier,monospace;
    text-decoration:none;
    color:#3f51b5;
    background-color:lightgrey;
}


a.jdw-pagination::before {
  content: "[ "
}

a.jdw-pagination::after {
  content: " ]"
}

a.jdw-pagination:link {
    font-family:'IBM Plex Mono',courier,monospace;
    text-decoration:none;
    padding-left: 6px;
    padding-right: 6px;
    background-color:#00bcd4;
}
a.jdw-pagination:visited {
    font-family:'IBM Plex Mono',courier,monospace;
    background-color:#00bcd4;
}
a.jdw-pagination:hover {
    font-family:'IBM Plex Mono',courier,monospace;
    text-decoration:none;
    color:#3f51b5;
    background-color:#00bcd4;
}
a.jdw-pagination:active {
    font-family:'IBM Plex Mono',courier,monospace;
    text-decoration:none;
    color:#3f51b5;
    background-color:lightgrey;
}

.jdw-pagination-current {
    font-family:'IBM Plex Mono',courier,monospace;
    text-decoration:none;
    color:#3f51b5;
    background-color:lightgrey;
}

.jdw-pagination-current::before {
  content: "[ "
}

.jdw-pagination-current::after {
  content: " ]"
}

div.jdw-gallery {
  line-height: 0;

  -webkit-column-count: 3;
  -webkit-column-gap:   0px;
  -moz-column-count:    3;
  -moz-column-gap:      0px;
  column-count:         3;
  column-gap:           0px;
}

span.jdw-together {
  display: inline-block;
}

div.jdw-gallery img {
  width: 100% !important;
  height: auto !important;
  border: 5px solid #3f51b5;
}

div.jdw-gallery video {
  max-width: 100% !important;
  height: auto !important;
  border: 5px solid #3f51b5;
}

@media (max-width: 1000px) {
  div.jdw-gallery {
  -moz-column-count:    3;
  -webkit-column-count: 3;
  column-count:         3;
  }
}
@media (max-width: 800px) {
  div.jdw-gallery {
  -moz-column-count:    2;
  -webkit-column-count: 2;
  column-count:         2;
  }
}
@media (max-width: 400px) {
  div.jdw-gallery {
    -moz-column-count:    1;
    -webkit-column-count: 1;
    column-count:         1;
    }
}

div.jdw-covergallery {
    line-height: 0;

      -webkit-column-count: auto;
      -webkit-column-width: 125px;
      -webkit-column-gap:   0px;
      -moz-column-count:    auto;
      -moz-column-width:    125px;
      -moz-column-gap:      0px;
      column-count:         auto;
      column-width:         125px;
      column-gap:           0px;
    }

div.jdw-covergallery img {
      width: 100% !important;
      height: auto !important;
      border: 4px solid #3f51b5;
    }

div.jdw-5colgallery {
    line-height:  0;

    column-count: 5;
    column-width: 125px;
    column-gap:   0px;
      }

div.jdw-5colgallery img {
      width:  100%;
      height:auto;
      border: 4px solid #3f51b5
      }


      #webmentions {
          margin: 0;
          position: relative;
          z-index: 100;
          line-height: 1.2em;
      }

      #webmentions .comments {
          max-height: 20em;
          overflow-x: hidden;
          overflow-y: scroll;
          font-size: 80%;
      }

      #webmentions h2 {
          font-size: medium;
          margin: 0;
          padding: 2px;
          background: #ccc;
      }

      #webmentions .reacts img {
          margin: 3px -1ex 1px 0;
      }

      #webmentions ul {
          list-style-type: none;
          margin: 0;
          padding: 4px;
      }

      #webmentions li {
          text-indent: -1em;
          padding-left: 1em;
      }

      #webmentions a.reaction {
          position: relative;
          text-decoration: none;
          text-shadow: 0px 0px 3px white;
          margin-right: 0;
          letter-spacing: -1ex;
          margin-right: 1ex;
      }

      #webmentions a.reaction img {
          max-height: 1.3em;
          margin-right: -1ex;
          border-radius: 25%;
      }

      #webmentions a.reaction sub {
          font-size: 50%;
      }

      #webmentions .comments li {
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
      }

      #webmentions .comments li .text {
          color: #555;
          font-style: italic;
          text-decoration: none;
      }

      #webmentions .comments li .name {
          color: #111;
      }
