/*
Theme Name: Iler Campbell
Theme URI: http://ilercampbell.com
Description: based on Kubrick theme by Michael Heilemann - http://binarybonsai.com/.  Significant revisions by Fraser Page.
Version: 2.0
Author: Andrew Hladkyj 
Author URI: http://www.supercapacity.com/


	Kubrick v1.5
	 http://binarybonsai.com/kubrick/

	This theme was designed and built by Michael Heilemann,
	whose blog you will find at http://binarybonsai.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/
*{outline:none}

/* Begin Typography & Colors */

::selection {
	background: #212121; /* change selection color*/
	color: white;
	}
::-moz-selection {
	background: #212121;
	color: white;
}
body {
	font-size: 19px;
	font-family: Lato, Arial, Verdana, 'Lucida Grande', Sans-Serif;
	background: #ffffff;
	color: #212121;
	text-align: center;
	}
	
	header{
	position:relative;
	height:160px;
	overflow:hidden;
}

a.more-link, a.more-link:visited{
	color: #212121 !important;
	font-weight: bold;
	text-align: right;
	text-decoration: none;
	border-bottom:none !important;
	display: block;
    margin-top: 1em;
}
a.more-link:hover, a.more-link:active, a.more-link:focus{
	color: #BE0911 !important;
	text-decoration:none;
	border-bottom:none;	
}
a.more-link:after {
    content: "";
    width: 0.6em;
    height: 0.6em;
    border-top: 2px solid;
    border-right: 2px solid;
    display: inline-block;
    transform: rotate(45deg);
    transform-origin: 25% 0%;
    margin-left: 0.5em;
}
	
.right{
	text-align:right;
	}

/*Main Nav links current page style*/
body#blog a#blognav, body#blog a#blognav .navdot,body#contactus a#contactusnav, body#contactus a#contactusnav .navdot{font-weight:bold;}
#page {
	background-color: white;
	text-align: left;
	}

#shadow
{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.3);
	z-index: 10;
}


header{
	position:relative;
	height: 157px;
	overflow:hidden;
	background-color: #DDFFFF;
}
#logo-ic{
	background-image: url('/images/logo-ic-transparent.png');
	background-repeat: no-repeat;
	background-size: 100%;
	width: 268px;
	height: 265px;
	position: absolute;
	top:-8px;
	left:39px;
	z-index: 200;
}
#logo-bg{
	height:157px;
	width: 278px;
	background-color:#be0911;
	position:relative;
	z-index:1;
} 

 
#logo{
	position:absolute;
	top:0;
	left:0;
	height:174px;
	width:278px;
}
#topimg, #bioimg{
	height: 157px;
	position:absolute;
	right:0;
	top:0;
	background-color:#deffff;
	width: 484px;
	overflow: hidden;
	}
#topimg img, #bioimg img{position: absolute;right: 0; height: 100%;}

/*@media only screen and (max-width: 600px){*/
	#logo-bg{
		/* width: 27%;*/
		/* padding-bottom: 27%; */
		height: 0;
		width: 90px;
		height: 90px;
	}
	#logo-ic{
		top:0;
		left:0;
		width: 90px;
		background-size:85%;
		background-position: 80% 50%;
		height: 90px;
	}
/*}*/
#content {
	font-size: 19px;
	line-height:24px;
	margin-top:12px;
}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.5;
	margin-top: 2em;
	}

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

.thread-alt {
	background-color: #f8f8f8;
}
.thread-even {
	background-color: white;
}
.depth-1 {
border: 0px solid #ddd;
}

.even, .alt {

	border-left: 0px solid #ddd;
}

#footer {
	background: white;
/* 	background: #e7e7e7 url('images/kubrickfooter.jpg') no-repeat top; */
	border: none;
	}

small {
	font-size: 16px;
	line-height: 1.5em;
	font-style: italic;
	margin-bottom: 2em;
	}

	
h1, h2, h3 {
	font-family: Arial, Verdana, 'Lucida Grande', Sans-Serif;
	color: #212121;
	}

h1 {
	font-size: 4em;
	text-align: center;
	color: #212121;

	}

#headerimg .description {
	font-size: 1.2em;
	text-align: left;
	}

h2 {
	font-size: 1.5em;
	}

h2.pagetitle {	
	margin-top: 30px;	
	font-size: 24px;	
	text-align: left;	
	border-bottom: 1px solid #CCC;
	padding-bottom:25px;	
	margin-bottom:15px;
    margin-left: 30px;
    margin-right: 30px;
}

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	font-family: Lato, Arial,Helvetica,sans-serif;
	font-size: 14px;
	font-weight: bold;
	line-height: 22px;
	margin-bottom:10px;
	border-bottom: 1px solid #CCC;
	border-width: 1px 0;
	}
#sidebar h2 a,
#sidebar h2{color: #353535;}


h3 {
	font-size: 1.3em;
	}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
	text-decoration: none;
	color: white;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #212121;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}



.sticky {
	background: #f7f7f7;
	padding: 0 10px 10px;
	}
.sticky h2 {
	padding-top: 10px;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 0px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}



small, .nocomments, .postmetadata, blockquote, strike {
	color: #212121;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}
	
#sidebar a {color: #353535;font-weight: bold;margin-bottom: 0em;display: block;border-bottom: none;}
#sidebar a img{margin-right: 5px;}
a{
	color: #BD0A10;
	}
h2 a:hover, h3 a:hover, #sidebar h2 a:hover {
	text-decoration: none;
	}

a:hover {
	color: #212121;
	}
a:visited {
	color: #6A1371;
}
	
/*Reverse link -- blue, then red on hover*/
small a{
	color:#212121;
	}
small a:hover, #sidebar a:hover {
	color:#BD0A10
	}



#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}

.footnotes {
  font-size: 90%;
  line-height: 1.5em;
  padding: 10px 0 10px 0;
}

.footnotes .footnotedivider {
  width: 150px;
  border-bottom: 1px solid #ccc;
}

.footnotes li {
  margin: 0 0 5px 0;
}

sup.footnote a {
  text-decoration: none;
  font-size: 90%;
}

sup.footnote {
  line-height: 0em;
}

.footnotereverse a {
  padding: 0 0 0 5px;
  text-decoration: none;
}

/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0 0 20px 0;
	padding: 0;
	}

#page {
	background-color: white;
	margin: 00px auto;
/* 	padding: 0; */
	padding-left: 0px;
/* 	width: 790px; */
	width: 772px;
	border-top: none;
	}

#header {
	background-color: #fff;
	margin: 0 0 0 0px;
	padding: 0;
	width: 772px;
	}



.narrowcolumn , .widecolumn {
	float: right;
	padding: 0;
	margin-right: 30px;
	width: 465px;
	z-index: 1;
	border: none;
	}

#sidebar-post{
	position:relative;
	font-size: 11px;
	font-weight: bold;
	float: left;
	margin-left: 45px;
	margin-top: 100px;
	width: 190px;
	display: block;
}


.post {
	margin: 0 0 100px;
	text-align: left;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
	font-size: 12px;
}

.postmetadata a:link, .sharing a:link{
	color:#212121;
}

.postmetadata a:hover, .sharing a:hover{
	color:#BD0A10;
}
.postmetadata a:visited, .sharing a:visited{
	color:#6a1371;
}

.clear {
	clear: both;
}

#footer {
	padding: 0;
	margin: 0 auto;
	width: 772px;
	clear: both;
	}

#footer p {
	margin: 0;
	padding: 0;
	text-align: left;
	font-size: 12px;
	}
/* End Structure */



/*	Begin Headers */
h1 {
	padding-top: 70px;
	margin: 0;
	}

h2 {
	margin: 43px 0 10px;
	font-family: 'Libre Baskerville', Georgia,"Times New Roman",Times,serif;
	font-weight: normal;
	padding-bottom: 0;
	font-size: 40px;
	line-height: 1.2;
	}

.entry h2{
	padding: 0;
	margin: 30px 0 0;
	font-size:1.5em;
}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}
.entry h3{
    font-size: 1.3em;
    margin: 1em 0;
}
	
h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
	
h4 {
	font-size:1.1em;
}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
  height: auto;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */

/* Embeds */
iframe {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

span.embed-youtube {
  padding-bottom: 56.5%;
  position: relative;
  margin-bottom: 2em;
}

/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
/* 	padding-left: 10px; */
	padding-left: 0px;
	text-indent: 0px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li{
	list-style-type:disc;
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol , .similar-posts ul{
	margin: 0;	outline: none;
	padding: 0;
	}

#sidebar ul li, .similar-posts ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 36px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	font-family: lato;
	font-size: 14px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 0;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 0;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 12px 0 0;
	padding: 0;
	}
#sidebar ul #signup-categories ul li {margin: 6px 0 0;}

.list-lower-alpha li{
	list-style-type: lower-alpha;
}
/* End Entry Lists */


 
/* Begin Form Elements */
.mc-field-group{margin-bottom:12px}
.mc-field-group label{line-height: 1.5;}
#mc_embed_signup input.mce_inline_error {
    border-color: #BD0A10 !important;
}
#mc_embed_signup div.mce_inline_error {
    background-color: #BD0A10 !important;
}
#mce-error-response {
    margin: 20px 0 !important;
    background-color: #BD0A10 !important;
    padding: 5px !important;
    border-radius: 3px !important;
    color: #212121 !important;
    color: #fff !important;
}
#mce-error-response a,
#mce-error-response a:hover{
    color: #fff !important;
    display:block !important;
    margin-top:3px !important;
}

input[type="text"], input[type="email"], #searchform #s {
	padding: 1px 2px;
	}
textarea, input[type="text"], input[type="email"], #searchform #s, #sidebar select {
	width: 100%;
	}
textarea::selection, 
textarea::-moz-selection, 
input[type="email"]::selection,
input[type="email"]::-moz-selection,
input[type="text"]::selection, 
input[type="text"]::-moz-selection, 
#searchform #s::selection, 
#searchform #s::-moz-selection, 
select::selection,
select::-moz-selection{
	background:#212121;
	color:white;
}

input[type="text"], 
input[type="email"], 
#searchform #s,
input[type="submit"], 
#searchsubmit,
select {
	height: 25px;
	box-sizing:border-box;
}
	
input[type="checkbox"], 
textarea, 
input[type="text"], 
input[type="email"], 
#searchform #s, 
select {
	border: 1px solid #CCC;
	color: #212121;
	box-shadow: inset 0px 1px 3px 0px #CCC;
	-moz-box-shadow: inset 0px 1px 3px 0px #CCC;
	-webkit-box-shadow: inset 0px 1px 3px 0px #CCC;
	background-color: #fff;
	font-family: lato;
}

#searchform{
	position:relative;
}
#searchform #s {
	width:127px;
	margin-bottom:9px;
}

input[type="checkbox"]:focus, textarea:focus, input[type="text"]:focus, #searchform #s:focus {outline:none;}




input[type="submit"], #searchsubmit {
    color: #fff;
    padding: 2px 8px;
    margin: 0;
    border: 1px solid #838383;
    background-color: #838383;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    font-weight: bold;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	}
input[type="submit"]:hover, #searchsubmit:hover {
	background-color: #636363;
	}
input[type="submit"]:active, #searchsubmit:active {
	background-color: #404040;
}
#searchsubmit{
	position: absolute;
	right: 0px;
	top: 0px;
	border-left:0;
	font-family: lato;
}
.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:left;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
.default-text.active{color: #a0a0a0;}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	position:absolute;
	margin-left: 30px;
	margin-top: 45px;
	width: 187px;
	background-color: #f8f8f8;
	z-index: 2;
	display: block;
	color: #353535;
	font: 14px Lato, Arial, Verdana, 'Lucida Grande', Sans-Serif;
	font-weight: 400;
	word-wrap: break-word;
	padding:15px;
	}
	
#sidebar form {
	margin: 0;
	}
#sidebar .timesince{
	font-weight:normal;
	font-style:italic;
	font-size:11px;
	display:block;
}
	
#recent-posts a, #wppp-2 a{
	display:block;
	font-style:normal;
	font-size:12px;
	}
#recent-posts li, #wppp-2 li{
	font-style:italic;
	font-size:11px;
	}
#recent-posts .date, #wppp-2 .date{
	display:block;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 0;
	padding-left: 30px;
	background-image: url(https://www.ilercampbell.com/blog/imgs/bq.png); 
   	background-position: top left; 
	background-repeat: no-repeat;
	}
blockquote p:last-child{	background-image: url(https://www.ilercampbell.com/blog/imgs/bq-end.png);    	background-position: bottom right; 	background-repeat: no-repeat;	}
blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}
	
.screen-reader-text {
	display:none;
}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 0;
	}
	
.tags a:hover {
color: #FFF;
background-color: #BD0A10;
}
.tags a {
text-transform: uppercase;
background-color: #353535;
color: #FFF !important;
border-bottom: none !important;
text-decoration: none;
padding: 0 3px;
display: inline-block;
line-height: 16px;
}
/* End Various Tags & Classes*/

/*Next-previous links on single posts*/
.next-prev-container{
	width: 100%;
	padding: 0 30px;
	margin: 60px 0 90px;
	border-spacing: 0;
}
@media only screen and (max-width: 400px){
	.next-prev-container{
		padding-left:15px;
		padding-right: 15px;
	}
}

.single .next-prev-container{
	padding: 0 20px 0 5px;
}

.next-prev-container tbody{vertical-align:top}
.next-prev-container a{
    color:#212121;
	display:block;
    border-bottom: none !important;
	}
 
.previous-post{
    text-align: left;
    padding-right:10px;
 }
.next-post{
    padding-left:10px;
    margin-left:0;
	}
.next-prev-arrow {
    width: 0.6em;
    height: 0.6em;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    display: block;
    transform: rotate(45deg) translateY(-75%);
    position: absolute;
    color: transparent;
    right: 0;
    top: 50%;
 }
 .next-prev-container a:hover .next-prev-arrow{
    border-top: 2px solid #BD0A10;
    border-right: 2px solid #BD0A10;
 }
.next-arrow{

 }
.prev-arrow{
    transform: rotate(-135deg) translateY(91%);
    right: auto;
    left: 0;
 }

.next-prev-post{
    display:block;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 13px;
    color: #353535;
    margin-bottom:4px	
	}
.previous-post .next-prev-post{
	margin-left: 20px;
}
.next-post .next-prev-post{
	margin-right: 6px;
}

.prev-link-title, .next-link-title{
	font-weight:bold;
	display: inline-block;
	}
.single .prev-link-title, .single .next-link-title{
	font-size: 17px;
}
.prev-link-title {margin-left:20px}
.next-link-title{margin-right: 6px;}
.next-prev-td{width:50%;padding:5px;text-align: right;position: relative;}

.next-prev-td a:hover, 
.next-prev-td a:hover .next-prev-post{
    color:#BD0A10;
	}  


@media (max-width:499px){

	.single .next-prev-td{
		display: block;
		width: 100%;
		text-align: left;
	}
	.single .prev-td{
		margin-bottom: 25px;
	}
	.single .next-post{
		padding-left: 20px;
	}
	
	.single .next-arrow{
		right: 10px;
	 }
	.single .next-link-title {
		margin-right: 10px;
	}
}

/*Similar posts*/
.similar-posts{
	display:table;	width:477px;
	margin-right:-17px;
	}
.similar-posts a{
	font-size: 17px;
	font-weight:bold;
	text-decoration: none;
	display: block;
	margin:6px 0;
	color:#212121;
	border-bottom:none !important;
}
.similar-posts a:hover{
	color:#BD0A10;
}
.similar-posts h2{
	margin-top:10px;
	margin-right:17px;
}
.similar-posts li{
    display:inline-block;
	vertical-align:top;
    width: 141px;
    margin-right: 15px;}
.sim-author, .sim-date{
	display:block;
	font-style:italic;
	}
#disqus_thread {
border-top: 1px solid #CCC;
margin-top: 10px;
} 

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 0px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding: 4px;
	margin: 10px;
	margin-bottom: 30px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	width: 100% !important;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
	height: auto;
	width: 100%;
}

.wp-caption p.wp-caption-text {
	font-size: 14px;
	line-height: 20px;
	font-style: italic;
	padding: 6px 10px 20px;
	margin: 0;
}
/* End captions */

/*Start Jetpack Slideshow*/
.slideshow-window {
    background-color: #f8f8f8 !important;
	border-radius:0 !important;
	border:none !important;
	margin-top: 20px !important;
	margin-bottom: 70px !important;
	overflow: visible !important;
}
.slideshow-window:after {
    content: "";
    background: #f8f8f8;
    position: absolute;
    width:  100%;
    height: 10px;
    left: 0;
    bottom: -10px;
}
.slideshow-slide-caption {
    text-shadow: none !important;
    color: #000 !important;
    background: #f8f8f8 !important;
    font-size:0.7em !important;
	height: auto !important;
	bottom: -5px !important;
}
.slideshow-slide-caption:empty {
    display: none;
}
.slideshow-controls{
	bottom: -60px !important;
    background: #f8f8f8;
    opacity: 1 !important;
    padding-bottom: 5px;
    padding-top: 5px;
}
/*End Jetpack Slideshow*/
#nav{/* border-bottom: 1px solid #DDD; */margin: 0 30px;/* text-align: center; */position:relative;} 

.navstyle{padding:0;margin: 0;display: flex;align-items: stretch;flex-wrap: wrap;}

.navstyle a:link {color: #212121;text-decoration: none;border-bottom:none;font-size: 19px;}
@media screen and (max-width:940px){
	.navstyle a:link{ font-size: 17px}
}
@media screen and (max-width:440px){
	.navstyle a:link{ font-size: 15px}
}
.navstyle a:visited {
color: #212121;
text-decoration: none;	
border-bottom:none;	
}

.navstyle a:active {
color: #be0911;
text-decoration: none;	
border-bottom:none;	
}

.navstyle a:hover {
color: #be0911;
text-decoration: none;	
border-bottom:none;	
}
.navbox {
	list-style: none;
	display:inline-block;
	padding-right:25px;
	flex: auto 1 1;
	max-width: 9em;
	text-align: center;
	line-height: 1.5;
	margin: 1em 0;
} 

h2 a:link, h2 a:visited {
	border-bottom:none;
}

a:link, a:visited {
    color: #212121;
	text-decoration: none;	
	border-bottom: 1px solid #bbb;
}
a:hover{
    color: #212121;
	text-decoration:none;
	border-bottom: 1px solid #888;
}
a:active{
    color: #212121;
	text-decoration:none;
	border-bottom: 1px solid #888;
}
div.sharedaddy h3.sd-title:before{
	border-top:none !important;
}



/*---------------------------------
--------- Mobile Styles -----------
---------- and tweaks -------------
----------------------------------*/

#page {
    max-width: 1100px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}
#header{
    width:auto;
}
#content{
	float:none;
	margin-left: 300px;
	width:auto;
}
@media screen and (max-width: 990px){
	#content{
		margin-left: 260px;
	}
}
.post,
.widecolumn .post{
	margin-left:30px;
	margin-right: 30px;
}
@media only screen and (max-width: 865px){

}
@media only screen and (max-width: 400px){
	.post,
	.widecolumn .post{
		margin-left:15px;
		margin-right: 15px;
	}
}

#footer{
	width:auto;
}

.similar-posts {
	width:auto;
	margin: 30px;
	padding-top: 10px;
	line-height: 1.3em;
}
.similar-posts ul{
	margin-right: -6%;
	box-sizing: border-box;
}
.similar-posts li{
	width: 32%;
	padding-right: 3%;
	margin-right: 0;
	box-sizing: border-box;
}


@media only screen and (min-width: 866px){
	.navbox:last-child{
		padding-right:0;
	}
}

@media only screen and (max-width: 865px){
	.navbox {
		list-style: none;
		float:left;
		padding: 7px 10px;
		margin: 3px 3px;
		border: 1px solid #ddd;
	}
	.navstyle:before,
	.navstyle:after{
		content:"";
		display:table;
		clear: both;
	}
	.navstyle {
		padding: 0;
		padding-bottom:15px;
		margin: 0 -11px;
		/* border-bottom: 1px solid #DDD; */
		/* align-items: center; */
	}
	#nav {
		padding: 12px 12px 0;
		margin: 0 21px;
		text-align: left;
		position: relative;
		border-bottom:none;
	}

	#sidebar {
		display: table-footer-group;
		background: none;
		position: relative;
	}
	#sidebar ul{
		margin: 30px;
		background: #f8f8f8;
		padding: 15px;
	}

	#content {
		display: table-header-group;
		box-sizing: border-box;
	}
    #searchform #s {
		width: 100%;
		margin-bottom: 9px;
	}

	#footer{
		width:auto;
		margin:32px;
		border-top:1px solid #ddd;
		margin-top:25px
	}
	#footer div div{
		float: none !important;
		padding: 0!important;
	}
	#footer br{
		display:none;
	}
	#footer p{
		margin:1em 0 3em;
		padding:0 !important;
	}
}
@media only screen and (max-width: 400px){
	#nav {
		margin: 0 10px;
	}
}

@media screen and (max-width:920px) and (min-width:765px){
	.similar-posts li{
		width: 49%;
	}
}
@media screen and (max-width:600px){
	.similar-posts li{
		width: 49%;
	}
}
@media screen and (max-width:425px){
	.similar-posts li{
		width: 100%;
	}
}
@media screen and (max-width:400px){
	#sidebar ul{
		margin-left: 15px;
		margin-right: 15px;
	}
}

@media
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 

	#topimg, #bioimg{
		height: 120px;
		width: 242px;
	}

	#topimg img, #bioimg img {
		height:120px;
		width: auto;
	}

	header{
		height:120px
	}
}

#footer {
    border-top:1px solid #ddd;
    margin: 0 30px;
    padding: 30px 0 10px;
    font-size: 1rem;
}
@media screen and (max-width:400px){
	#footer{
		margin-left: 15px;
		margin-right: 15px;
	}
}

#footer img {
    width: 240px;
    margin-bottom: 30px;
    max-width: 100%;
    display: block;
}

#footer .footer-text:after {
    content: "|";
}
#footer .footer-text:last-child:after{
    content: "";
}

@media (max-width:600px){
    #footer .footer-text {
        display: block;
        line-height: 1.6;
    }
    #footer .footer-text:after {
        content: "";
    }
}
.post-featured-image{
	padding: 32px 30px 0;
	
}.post-featured-image img{
	width:100%;
	height: auto;
}
.grecaptcha-badge { 
    visibility: hidden;
}

ol.tight-list,
ul.tight-list{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
	grid-gap: 0 2rem;
}
ol.tight-list li,
ul.tight-list li{
	margin: 0 !important;
}