/*
Theme Name: JMG Custom Theme
Author: Jeremy M. Gernand
Author URI: https://jeremygernand.com
Description: A simple static theme designed to mimic the pages on jeremygernand.com
Version: 1.0
License: All Rights Reserved.
Text Domain: jmg-custom-theme
Tags: one-column, custom-colors, custom-menu
*/


body {
    background-color:#F2F2F2; 
    min-height: 100%; 
    height: 100%; 
    font-family:Roboto; 
    font-size: 16px; 
    margin-left: 15%; 
    margin-right: 15%; 
    margin-top: 45px; 
    margin-bottom: 0;
}

nameblock {
    position: float; /* was absolute */
    top: 10px;
    left: 15%;
    text-align: left;
    font-family: 'Roboto Slab', serif;		
    font-size: 24px;
    color: #1E407C;
    font-weight: bold;
}

addressblock {
    position: float; /* was originally absolute */
    margin-top: 15px; /*  was 45px  */
    /* added, then removed padding */
    left: 15%;
    text-align: left;
    font-family: 'Roboto';
    font-size: 13px;
    color: #1E407C;
}

.single-line {
    white-space: nowrap;        /* Prevents wrapping to new lines */
    text-wrap-mode: nowrap;     /* newer CSS according to Mozilla
    overflow: hidden;           /* Hides overflowed content */
    text-overflow: ellipsis;    /* Shows ellipsis at the end */
    max-width: 100%;
}

.posts {
    background-color:#F2F2F2; 
    min-height: 100%; 
    height: 100%; 
    font-family:Roboto; 
    font-size: 16px; 
    margin-left: 15%; 
    margin-right: 15%; 
    margin-top: 45px; 
    margin-bottom: 0;
}

.posts img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Optional: Center the image */
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 75%;
}

.center img {
    max-width: 75%;
    height: auto;
    display: block;
    margin: 0 auto; /* Optional: Center the image */
}

.topnav {
    background-color: #c2c2c2;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    margin-top: 10px; /* just added this to fix wrap spacing */
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
    scrollbar-width: thin; /* For Firefox */
}

.topnav::-webkit-scrollbar {
    display: none;
}

.topnav a:link {
    display: inline-block;
    float: none;
    color: #1E407C;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:visited {
    display: inline-block;
    float: none;
    color: #1E407C;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
      background-color: #1E407C;
      font-weight: normal;
      color: #f2f2f2;
}

.topnav a.active {
      background-color: #1E407C;
      color: white;
}

.notbold {
    font-weight:normal;
}

a:link {
    text-decoration: none;
    color: #1E407C;
  }

a:visited {
    text-decoration: none;
    color: #2f65c4;
}

a:hover {
    text-decoration: none;
    font-weight: 900;
    color: #1E407C;
  }

a:active {
    text-decoration: none;
    color: #1E407C;
}

h1{
    color:#1E407C
}

h2{
    color:#1E407C
}

h3{
    color:#1E407C
}

h4{
    color:#1E407C
}
