html,
body,
div {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

@viewport {
    width: device-width;
    zoom: 1.0;
}

body {
    /*background-image: url("../images/bg3840x2160.png");*/
    /* background-image: url("../images/gist_earth_r.png"); */
    background-image: url("../images/blues8_r.png");
    /* background-image: url("../images/TranscodedWallpaper.png"); */
    background-color: #333d44;
    /*background-repeat: no-repeat;*/
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: center center;
    /*background-size: cover;*/
    background-size: auto;
    color: #444e55;
    font-family: "Liter", Helvetica, sans-serif;
    font-size: 14pt;
    font-weight: 400;
    line-height: 18pt;
    width: 100%;
}

@media screen and (max-width: 600px),
(orientation: portrait) {
    body {
        /* background-image: url("../images/bg3840x2160rot.png"); */
        background-color: black
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    scroll-margin-top: 80px;
}

h1 {
    font-size: 32pt;
    color: #222222;
    margin-top: 10pt;
    margin-bottom: 10pt;
    line-height: 1em;
    text-align: center;
}

h1 a {
    color: #222222;
}

h2 {
    margin-bottom: 10pt;
    color: #222222;
}

h3 {
    margin-top: 10pt;
    margin-bottom: 16pt;
    color: #222222;
}

h4 {
    font-size: 14pt;
    margin-bottom: 2pt;
    margin-left: 10pt;
}

@media screen and (max-width: 600px),
(orientation: portrait) {
    h1 {
        margin-top: 0pt;
        padding-top: 20pt;
        padding-bottom: 10pt;
        text-align: center;
    }
}

a {
    -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    color: #0071bf;
    text-decoration: none;
}

a:hover {
    color: #629DD1;
}

b,
strong {
    font-weight: bold;
}

hr {
    width: 100%;
    margin: 0 auto;
    height: 0.5px;
    background-color: #222;
}

table {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 600px) {
    table {
        width: 90%;
    }
}

th {
    text-align: left;
}

td {
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* img {

} */
.center {
    text-align: center;
}

/* hover images */
#imagebox {
    width: 100%;
    height: auto;
    overflow: auto;
    margin-top: 2%;
    margin-bottom: 2%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

@media screen and (max-width: 600px),
(orientation: portrait) {
    #imagebox {
        margin-left: 0;
        margin-right: 0;
    }
}

.imagewrapper {
    position: relative;
    margin: 10px;
    /* margin-left: 10px;
  margin-right: 10px; */
    /* width: 45%; */
    flex-basis: 45%;
    overflow: hidden;
}

@media screen and (max-width: 900px) {
    .imagewrapper {
        margin: 5px;
    }
}

@media screen and (max-width: 600px),
(orientation: portrait) {
    .imagewrapper {
        margin: 0;
        flex-basis: 100%;
    }
}

#potdgallery {
    flex-basis: 30%
}

@media screen and (max-width: 600px),
(orientation: portrait) {
    #potdgallery {
        flex-basis: 33.3%
    }
}

.image {
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    opacity: 1;
    transition: .5s ease;
    backface-visibility: visible;
}

.underlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #f8f8f8;
    /* transform: scale(0.5); */
}

#smallunderlay {
    transform: scale(0.7);
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #f8f8f8;
}

.imagewrapper:hover .image {
    opacity: 0.3;
}

.imagewrapper:hover .underlay {
    opacity: 1;
}

.text {
    color: black;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 1
}

/* end */
#mainbox {
    background-color: #f8f8f8;
    padding-top: 50px;
    padding-bottom: 30px;
    margin-top: 10px;
    margin-bottom: 100px;
    /* margin-top:100px;
      margin-bottom:100px; */
    border-radius: 0;
    position: center;
}

@media screen and (min-width: 600px) {
    #mainbox {
        width: 70%;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 100px;
        padding-right: 100px;
    }
}

@media screen and (max-width: 900px) {
    #mainbox {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media screen and (max-width: 600px),
(orientation: portrait) {
    #mainbox {
        width: auto;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
    }
}

.textbox {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}

@media screen and (max-width: 600px),
(orientation: portrait) {
    .textbox {
        padding-left: 25px;
        padding-right: 25px;
    }

    img {
        max-width: 100%;
        text-align: center;
    }
}

.address {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
}

.address li {
    margin: -10px 0;
    color: #333d44;
}

.address li:last-child {
    margin-bottom: 20px;
}

.address li:first-child {
    margin-top: 20px;
}

/*Navigation Bar  */
.nav {
    overflow: hidden;
    font-weight: bold;
    list-style-type: none;
    margin: 0 0;
    text-align: center;
    vertical-align: middle;
    font-size: 16pt;
    padding: 10px 10px;
    background-color: #f8f8f8;
    /* background-color: #eeeeee; */
    width: auto;
    border-color: #AA0000;
    top: 0px;
    position: -webkit-sticky;
    /* Safari */
    position: sticky;
    z-index: 10000
}

.nav ul {
    border-radius: 0;
    margin: 0 0 10px 0;
    padding: 0;
}

.nav li {
    border-radius: 0px;
    display: inline-block;
    margin-left: 1em;
    margin-right: 1em;
    padding-left: 0;
    text-align: center;
}

.nav li a {
    -moz-transition: color 0.2s ease-in-out;
    -webkit-transition: color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out;
    -ms-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
    color: #333d44;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.nav li a:hover {
    color: #eef26d;
}

/*.nav li:first-child {
    margin-left: 0;
}*/

.nav li .button {
    height: 2.25em;
    line-height: 2.25em;
    margin-bottom: 0;
    padding: 0 1em;
    position: relative;
    top: -0.075em;
    vertical-align: middle;
}

/* Add an active class to highlight the current page */
.active {
    background-color: #4CAF50;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.nav .icon {
    display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px),
(orientation: portrait) {
    .nav {
        text-align: left;
        background-color: #111111;
        /* background-image: url("../images/navbar.png"); */
        background-image: url("../images/blues8_r.png");
        /* opacity: 50%; */
        color: #d8d8d8;

        /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
    }

    .nav a.icon {
        position: absolute;
        right: 0;
        top: 0;
        margin: 15px;
        vertical-align: center;
        display: block;
        color: #f8f8f8;
        opacity: 1;
        /* color: #000000 */
    }

    .nav ul {
        margin: 0;
        display: flex;
        align-items: stretch;
        justify-content: space-around;
    }

    .nav ul li {
        margin-left: 0;
        margin-right: 0;
        flex: 0 1 auto;
        /* Default */
    }

    /*.nav ul li:not(:first-child) {
    display: none;
}

.nav ul li:first-child {
    position: left;
}*/

    .nav ul li a {
        /* color: #000000; */
        color: #f8f8f8;
    }
}

@media screen and (min-width: 600px) {
    .nav {
        display: none;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px),
(orientation: portrait) {
    .nav.responsive {
        position: sticky;
    }

    /* .nav.responsive a.icon {
     position: absolute;
     right: 0;
     top: 0;
     margin: 15px;
     vertical-align: center;
     display: block;
     color: #f8f8f8;
 }*/

    .nav.responsive ul {
        display: block;
    }

    .nav.responsive ul li {
        display: inline;
    }

    .nav.responsive ul li a {
        float: none;
        display: block;
        text-align: center;
    }
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

#dp {
    /* border-radius: 8px; */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 30%;
    float: right;
    margin: 2em;
    margin-top: 10px;
}

@media screen and (max-with:1000px) {
    #dp {
        width: 50%;
    }
}

@media screen and (max-width: 600px),
(orientation: portrait) {
    #dp {
        width: 60%;
        float: none;
        position: center;
        margin: 10px;
    }
}

/* Footer */
#footer {
    padding-top: 2em;
    padding-bottom: 1em;
    margin: 0;
}

#footer a {
    color: inherit;
}

#footer .copyright {
    color: #bbb;
    font-size: 0.9em;
    margin: 0;
    padding: 0;
    text-align: center;
}

#footer .copyright li {
    border-left: solid 1px rgba(144, 144, 144, 0.25);
    display: inline-block;
    list-style: none;
    margin-left: 1.5em;
    padding-left: 1.5em;
}

#footer .copyright li:first-child {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
}

#footer .icons a {
    color: #bbb;
}

.topnavhome {
    color: #f8f8f8;
    width: 100%;
    text-align: left;
}

@media screen and (min-width: 600px) {
    .topnavhome {
        visibility: hidden;
        width: 0
    }
}

.topnav {
    background-color: #f8f8f8;
    overflow: hidden;
}

.topnav a {
    float: left;
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.active {
    background-color: #4CAF50;
    color: white;
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 600px),
(orientation: portrait) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px),
(orientation: portrait) {
    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

#date {
    font-weight: bold;
}

@media screen and (max-width: 600px),
(orientation: portrait) {
    ul {
        padding: 3pt;
    }
}

ul.no-bullets {
    list-style-type: none;
    /* Remove bullets */
    /*  padding: 0; /* Remove padding */
    */ margin: 0;
    /* Remove margins */
}

ul.big-spacing li {
    margin: 15pt;
}


details>summary {
    padding: 4px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.oldtalks {
    font-size: 18pt;
}


ul.sub-list li {
    margin: 5pt;
}