/* Core Stuff */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-size: 1.25rem; line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #363636; background: #eee;
}

#body {
		background: #fff;
}

#content-main p, #content-main ul {
	font-family: -apple-system-ui-serif, ui-serif, 'Georgia', serif;
}

#content-main a {
	text-decoration: underline;
}

#content-main img {
	display: block; margin-left: auto; margin-right: auto;
}

img {
	max-width: 100%;
}

/* my general stuff */

.do-not-show-this {
	visibility: hidden;
}

/* my header stuff */

.header-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
}

.wrapper-top-nav ul, .wrapper-second-nav ul {
	padding: 0;
}

.site-name {
	display: flex;
	font-size: 2rem;
	font-weight: bold;
	align-items: center;
	justify-content: center;
}

.top-nav {
	display: flex;
	justify-content: right;
	align-content: center;
}

/* end my header stuff */

/* my post info stuff */

h1 { 
  font-size: 2.5rem;
  margin: 0 0 .75rem 0; 
  line-height: 3rem;
}

h2.post-headline {
	font-size: 1.5rem;
	margin: .25rem 0 .75 0;
	line-height: 2rem;
	color: #868686;
}

.post-info {
	display: flex; 
	align-items: center;
	font-size: .8rem;
	text-transform: uppercase;
	padding: 0;
	line-height: 1.4;
	color: #868686;
	padding: .5rem 0 1.5rem 0;
	border-bottom: solid 1px #eee;
}

.avatar-wrapper {
	padding-right: 1rem;
}

.avatar {
	vertical-align: middle; 
	width: 53px; 
	height: 53px; 
	border-radius: 50%; 
	border: solid 3px #ff8246;
}

/* end my post info stuff */


h1,
h2,
h3,
h4,
h5,
h6 {
    color: #454B4D;
}

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

a:hover {
    color: #175E91;
}

button:hover {
	color: #175E91;
}

pre {
    background: #F0F0F0;
    margin: 1rem 0;
    border-radius: 2px;
}

blockquote {
    border-left: 10px solid #eee;
    margin: 0;
    padding: 0 2rem;
}

/* Utility Classes */
.wrapper {
    margin: 0 auto;
    max-width: 800px;
}

.padding {
    padding: 3rem 1rem;
}

.left {
    float: left;
}

.right {
    float: right
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* Content Styling */
.header .padding {
    padding: 1rem 0;
}

.header {
    background-color: #1F8DD6;
    color: #eee;
}

.header a {
    color: #fff;
}

.header .logo {
    font-size: 1.7rem;
    text-transform: uppercase;
}

.footer {
    background-color: #eee;
    font-size: 1rem;
    overflow: hidden;
}

/* Menu Settings */
.main-nav ul {
    text-align: center;
    letter-spacing: -1em;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    display: inline-block;
    letter-spacing: normal;
}

.main-nav ul li a {
    position: relative;
    display: block;
    line-height: 45px;
    color: #fff;
    padding: 0 20px;
    white-space: nowrap;
}

.main-nav > ul > li > a {
    border-radius: 2px;
}

/*Active dropdown nav item */
.main-nav ul li:hover > a {
    background-color: #175E91;
}

.top-nav ul li:hover > a {
    background-color: #175E91;
}

/* Selected Dropdown nav item */
.main-nav ul li.selected > a {
    background-color: #fff;
    color: #175E91;
}

/* Dropdown CSS */
.main-nav ul li {position: relative;}

.main-nav ul li ul {
    position: absolute;
    background-color: #1F8DD6;
    min-width: 100%;
    text-align: left;
    z-index: 999;

    display: none;
}
.main-nav ul li ul li {
    display: block;
}

/* Dropdown CSS */
.main-nav ul li ul ul {
    left: 100%;
    top: 0;
}

/* Active on Hover */
.main-nav li:hover > ul {
    display: block;
}

/* Child Indicator */
.main-nav .has-children > a {
    padding-right: 30px;
}
.main-nav .has-children > a:after {
    font-family: FontAwesome;
    content: '\f107';
    position: absolute;
    display: inline-block;
    right: 8px;
    top: 0;
}

.main-nav .has-children .has-children > a:after {
    content: '\f105';
}

/* More of my stuff */

.pure-button {
	font-size: 1rem;
}

.wrapper-top-nav > ul > li > a, .pure-button {
	border-radius: .25rem;
}

.wrapper-top-nav {margin: 5px;}

.wrapper-top-nav ul, .wrapper-second-nav ul { 
	display: flex; 
	justify-content: right; 
 }
 
.wrapper-top-nav li, .wrapper-second-nav li { padding: 5px; list-style-type: none; }

.wrapper-top-nav a {
	font-size: 1rem;
    background: #1669a1;
    line-height: 16px;
    padding: 10px;
    display: inline-block;
    text-decoration: none;
    color: white;
}

/* Selected Dropdown nav item  */
.wrapper-top-nav ul li.selected > a {
    background-color: #fff;
    color: #175E91;
}



.wrapper-second-nav {
	display: flex;
	justify-content: center;
	align-content: center;
	background-color: #fff;
	padding: 0;
	font-size: 1rem;
	border-bottom: solid 1px #eee;
}

.wrapper-second-nav ul {
	margin: 0;
}

.main-nav {
	display: flex;
	align-content: center;
}

.wrapper-second-nav a {
	color: #363636;

}

.wrapper-second-nav li {
	padding: .5rem 1.5rem .3rem 1.5rem;
}

.wrapper-second-nav li.selected {
	border-bottom: solid .2rem #1F8DD6;
}

.wrapper-second-nav li.selected a {
	color: #1F8DD6;
}

/* Home and archive post list pages */

#post-list {
	display: inline;
}

#post-list {
	margin-top: 0;
	padding-left: 0;
}

#post-list ul, #post-list li {
	list-style: none;
}

.container-blog-home {
	display: flex; 
	flex-flow: row wrap;
}

.container-li-post-recent.archive-most-recent {
	border-top: solid 0;
	margin-top: 0;
}

.post-latest {
	flex: 0 0 100%;
	border-bottom: solid 1px #eee;	
	margin: 0;
	padding: 0 0 1rem 0;
}

.post-latest img {
	max-width: 100%;
	
}

.post-latest h2 {
	margin: 0 0 0 0;
	text-align: center;
}

h2.latest-post-item-title {
	font-size: 1.5rem;
	margin-bottom: 0;
	text-align: left;
}

.posts-recent {

	flex: 0 0 100%;
	flex-flow: row wrap;
}

.posts-recent h2 {
	margin: 0;
}

.container-li-post-recent {
	display: flex;
	margin: 1rem 0 0 0;
	padding: .75rem 0 0 0;
	border-top: solid 1px #eee;
}

.container-li-post-recent.most-recent {
	margin: .5rem 0 0 0;
}

.post-recent-info {
	flex: 0 0 80%;

}

.post-recent-thumb {
	flex: 0 0 20%;
	display: flex;
	justify-content: flex-end;
	object-fit: scale-down;

}

.post-recent-thumb img {
	border: solid 4px #868686;
	width: 8rem;
	height: 8rem;
}

.posts-recent li {
	padding: 0;
}

.post-item-title {
	font-size: 1.25rem;
	margin-bottom: 0;
}

.post-item-headline {
	font-size: 1rem;
	line-height: 1.375rem;
}

.latest-post-item-headline {
	line-height: 1.5rem;
}

.post-item-date {
	font-size: .75rem;
	color: #868686; /* rgb(134, 135, 135) */
}

.more-posts {
	margin: 2rem 0 1rem 0;
}

/* comments */

.comments-section {
	font-size: 1.125rem;
	border-top: solid 1px #eee;
	line-height: 1.6rem;
	margin-top: 1.4rem;
}

.comments-section h3 {
	font-size: 1.5rem;
}

.comments-section h4 {
	color: #868686;
	font-size: 1.25rem;
	margin-bottom: .75rem;
}

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

.comment-date {
	color: #868686;
	font-size: .75rem;
	padding-left: .5rem;
}

.comment-text {
	margin-bottom: 1rem;
}

.form-input-wrapper, .form-textarea-wrapper {
	margin-bottom: .5rem;
}

.form-label, input, textarea {
	font-size: 1rem;
}

input { height: 2.25rem; width: 100%; max-width: 16rem;
		border: solid 1px #eee;
		border-radius: .25rem;
		padding: 0 .5rem; }

textarea { width: 100%; height: 5rem;
			border: solid 1px #eee;
			border-radius: .25rem;
			padding: .25rem .5rem; }

.notices {
	padding: 2rem;
}

.notices a {
	text-decoration: underline;
}

.comments-section button {
		margin-bottom: .5rem;
	
}

/* bottom menu */

.bottom-nav ul {
	font-size: 0px;
}

.bottom-nav li {
	font-size: 1rem;
}

.bottom-nav ul, .bottom-nav li {
    display: inline-block;
    letter-spacing: normal;
}

.bottom-nav ul {
    padding: 0;
}

.bottom-nav li {
	padding: 0 1rem;
	border-left: solid 1px #868686;
}

.bottom-nav li:first-child {
	border-left: none;
}


/* media queries */

@media screen and (max-width: 799px) {
	.header-wrapper {
    	grid-template-columns: 0fr 6fr 4fr;
	}

	.site-name { 
		justify-content: left;
		padding-left: 2rem;
		line-height: 2rem;
	}

	.wrapper-top-nav {
  		padding-right: 1rem;
	}
  
	.post-recent-thumb img {
		width: 6rem;
		height: 6rem;
	}
}

@media screen and (max-width: 629px) {
.bottom-nav li {
	padding: 0 1rem;
	border-left: none;
}

@media screen and (max-width: 539px) {
	
	.site-name { 
	padding-left: 1rem;
  	}
  
  	.wrapper-top-nav {
  	padding-right: .25rem;
  	}
	
	.post-recent-thumb img {
		width: 4rem;
		height: 4rem;
	}
}

@media screen and (max-width: 499px) {
  .header-wrapper {
    grid-template-columns: 1fr;
  }
  
  .header .header-wrapper {
  	    padding-top: 1.25rem;
  }
  
  .top-nav {

	padding: 0 0 0 .5rem;
	justify-content: left;
}
  
  .wrapper-top-nav {
  	padding: 0;
  	justify-content: left;
  }
  
  ul { margin: 0; }
}

@media screen and (max-width: 353px) {
	.post-recent-thumb img {
		width: 3rem;
		height: 3rem;
	}
}

@media screen and (max-width: 279px) {
	.post-recent-thumb img {
		width: 2rem;
		height: 2rem;
	}
}

@media screen and (max-width: 199px) {
	.post-recent-info {
		flex: 0 0 100%;
	}
	.post-recent-thumb {
		visibility: hidden;
	.post-recent-thumb img {
		visibility: hidden;
	}
}