/*  
Theme Name: Grid Focus Public
Theme URI: http://5thirtyone.com/
Description: Grid aligned left
Version: 1.0
Author: Derek Punsalan
Author URI: http://is.derekpunsalan.com/

Notes: Inspired and created for minimalist, content focused blogs 
or websites. Customize, edit, poke, prod, and adapt to your own 
style. Please leave credit where credit is due so that others may
find the source for your site and adapt a suitable version for their
own website.

Template modified by Bill Katz for inclusion in open source
Google App Engine blog software. (April 20, 2008)
- Converted WordPress template to Django template.
- Added variables to draw content from blog software.
Software available at http://www.github.com/DocSavage/bloogle
*/
*{margin:0;padding:0;}
html,body{background:#FFF;color:#333;text-align:center;} 
body{
	font: 1rem 'Segoe UI',helvetica,verdana,sans-serif;
	background: #ccc url(images/background.gif) repeat fixed;
	background-size: 12px 12px;
	min-height: 100vh;
}
h1{font-size:2rem;}
h2{font-size:1.6rem;}
h3{font-size:1.4rem;}
h4{font-size:1.25rem;}
a { color: #185DA0; text-decoration:none; }
a:hover { color: #9EC068;}

#wrapper{ background:#fff;margin:0px auto 0px auto;
text-align:left;width:90%;max-width: 1280px;
padding: 5px;} 
#wrapper pre, #wrapper p { clear: none; }  
th,td{padding:3px 10px 3px 0px;}
input[type = "text"] {
    width: 300px;
    border: 1px solid #999;
    padding: 2px;
}

/* masthead / footer - navigation and categories */

#masthead{
	padding:5px 0; 
	background: url(/default/images/headerbg.jpg) no-repeat;
	background-size: cover;
border-bottom:5px solid white;
aspect-ratio: 12 / 1;
}
#masthead h1 a{text-transform:uppercase;width:400px;margin:12px 0 0 0;}
#masthead h1 a em{font-style:normal;color:#555;}
#masthead * { display: none; }

ul.nav{list-style:none;background:#185DA0;}
.nav li{border-right:1px solid #DDD;float:left;display:block;width:7rem;}
.nav li a{
	font-size:0.9rem;
	outline:none;
	color:#d7ecf6;
	text-decoration:none;
	display:block;
	padding:0.5rem 0 1rem 0.5rem;
	width:6.5rem;
	text-transform:uppercase;
}
.nav li a span{font-size:0.9rem;color:#93a8bc;text-transform:lowercase;}
.nav li a:hover{background:#F1F1FE;color: #185DA0!important}
* html .nav li a:hover{background:#333;width:99px;}
.nav li.skip{border-left:1px solid #DDD;float:right;display:block}
.nav li.skip a{width:100px;}
li.top{border-left:1px solid #DDD;float:right;display:block}
li.top a{width:100px;}
.nav li.skip a:hover, li.top a:hover { background: transparent;color: #333 !important;}
#archives{background:#F1F1FE;}
#archives ul{list-style:none;padding:5px 0 3px 0;}
#archives li{float:left;display:block;width:101px;}
#archives li a{font-weight:bold;color:#185DA0;width:99px;display:block;padding:2px 0 4px 5px;}
#archives li a:hover{color:#286DB0;}
#attribution {padding:10px 0 5px 0;}
#attribution div {float:left;}
#attribution #downloadlinks p {font-size:0.9rem; padding: 0 0 5px 5px;}
#poweredby {float:right;width:120px;height:30px;}

/* main - middle content and columns */
#mid {
	display: flex; 
}
#mid > div {
	padding: 2rem;
	box-sizing: border-box;
}

#mid  > #mainCol{
	width:50%;
}

#mid > #twoCol{
	width:70%;
}

#mid > #midCol{
	width:30%;
}

#mid > #tertCol{
	width:20%;
}

/* style individual sidebars */
#midCol ul a{font-weight:bold;}
#midCol{color:#444;float:left;line-height:1.3em;}
#midCol p{color:#777;}
#searchWrap,
.middle_links{margin-bottom:20px;}
#searchWrap input{vertical-align:middle;}
#searchWrap #s{font-size:1.1em;border:1px solid #BBB;padding:1px 2px;width: calc(100% - 2rem);}
.middle_links h3{margin-bottom:7px;}
#midCol ul{list-style:none;margin:8px 0 4px;}
.middle_links ul li{background:url(images/li.gif) no-repeat 0 3px;color:#7F7F7F;line-height:1.2em;border-top:1px solid #BBB;padding:4px 0 4px 16px;}
.document_links ul li{background:url(images/icons/pdf_link.gif) no-repeat 0 3px;color:#7F7F7F;line-height:1.2em;border-top:1px solid #BBB;padding:4px 0 4px 16px;}
#tertCol p{color:#777;}
#elseWhere{margin:0 0 20px 0;}
#elseWhere h3{margin-bottom:7px;}
ul#imgLinks{list-style:none;margin:7px 0;}
#imgLinks li{color:#7F7F7F;line-height:1.2em;padding:0 0 1px;}
#imgLinks li a img{border:3px solid #EEE;width:208px;color:#333;font-weight:bold;}
#imgLinks li a img.anyheight{border:none;width:214px;color:#333;font-weight:bold;}
#imgLinks li a:hover img{border-color:#DDD;}
#amazon{margin:0 0 0 30px;}

/* wordpress entries styling - main content column */
.postMeta{background:url(images/dot.gif) repeat-x left center;text-transform:uppercase;font-size:0.9rem;text-align:right;margin-bottom:5px;}
.postMeta span.date{background:#FFF;color:#7F7F7F;padding:0 2px 0 4px;}
.postMeta span.comments{background:#FFF url(images/chat_grey.gif) no-repeat right center;padding-right:15px;margin-right:2px;}
.postMeta span.comments a,
.postMeta span.date{color:#555;}
.postMeta span.articlebtn{background:#FFF;}
.postMeta span.articlebtn a{background:#CCC;color:#000;padding:0 6px;margin:0 2px;text-transform:none;}
.postMeta span.articlebtn a:hover{background:#D33;}
.post{margin:0 0 15px 0;}
.post h2{line-height:1.2em;margin-bottom:7px;}
.post h2 a{width:100%;display:block;outline:none;}
.entry h3{margin:1em 0;}
.post .entry{line-height:1.4em;overflow:hidden;}
.post .entry p{margin:1em 0;}
.post .entry a{background:url(images/dot.gif) repeat-x bottom left;font-weight:bold;}
.entry blockquote,cite,code{margin:0.8em 1.3em; display:block;}
.entry ul{margin: 0;list-style:square; padding-left: 15px;}
.entry li a{color:#333;font-weight:bold;background:url(images/dot.gif) repeat-x bottom left;}
.entry ul li{margin:0 10px 7px 7px;}
.entry ol{margin:0 1em 0 3em;}
.entry ol li{margin:0 0 7px 0;}
/*.entry img,.entry a img{border:3px solid #EEE;}*/
.entry a:hover img{border-color:#DFDFDF;}
.entry table tr { padding: 15px 0; }
.entry table tr.alt { background: #eee; }

/* style pagination buttons */
#more_reading { color: #7F7F7F; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 25px; text-align: right; }
#more_reading p, #more_reading img { vertical-align: middle; }
#more_reading a img { border: none; margin:0 0 3px 2px; }

/* tags */
p.tags a {font-weight:normal; margin: 0 0.8em; white-space: nowrap; color: #777777; background: transparent url(images/dot.gif) repeat-x scroll left bottom;}

/* style me some comments and inputs */
.initialHide{display:none;}
#comments{padding:12px 0 0 0;}
#comments h3,
h3#respond{color:#555;margin-bottom:7px;}
#commentslist{list-style:none;margin:5px 0 12px;}
#commentslist li{border:1px solid #BBB;margin-bottom:7px;padding:7px 0;}
#commentslist li a{font-size: 0.8rem;background-image:url(images/dot.gif) repeat-x bottom left;text-transform:none;}
#commentslist li:hover{border-color:#888;}
#commentslist .comment_text li{list-style:normal;background:#FFF;border:none;margin:0 0 0 14px;padding:0;}
#commentslist .comment_text{margin:0 7px;line-height:1.4em;overflow:hidden;}
#commentDialog { background:#FFF url(images/lgrey_diag.gif) repeat top left; }
.comment_text p,
.comment_text ul,
.comment_text ol,
.comment_text blockquote{margin:1em 0;}
.comment_text ul,
.comment_text ol,
.comment_text blockquote{margin:0 1em;}
p.comment_meta .gravatar{vertical-align:top;margin-left:7px;width:32px;height:32px;}
p.comment_meta span.subject{font-weight:bold;text-transform:uppercase;margin:0 0 0 7px;}
p.comment_meta span.user{font-weight:bold;}
p.comment_meta span.date{font-weight:normal;text-align:right;}
p.post_meta{font-size:0.9rem;text-transform:uppercase;text-align:right;margin:0 7px 0 0;}
#commentslist li.author{background:#333;color:#CCC;}
#commentslist li.author a{color:#DDD;}
#commentslist li.author a:hover{color:#FFF;}
#comments_closed{background:#333;color:#ccc;padding:7px 0;margin-top:12px;line-height: 1.5em;}
p.nocomments{margin:0 12px 0 7px;}
p.nocomments a{color:#ddd;font-weight:bold;text-decoration:underline;}
p.nocomments a:hover{color:#FFF;}
ol.pingslist{margin:1.5em 2em;font-size:1rem;}
.pingslist li{color:#7F7F7F;margin:0 0 7px 0;}
.pingslist li a{font-weight:bold;background:url(images/dot.gif) repeat-x bottom left;}

/* Some indentations useful for tree placement of comments */
#comments_wrapper li.indent1{margin-left: 0em;}
#comments_wrapper li.indent2{margin-left: 2em;}
#comments_wrapper li.indent3{margin-left: 4em;}
#comments_wrapper li.indent4{margin-left: 6em;}
#comments_wrapper li.indent5{margin-left: 8em;}
#comments_wrapper li.indent6{margin-left: 10em;}
#comments_wrapper li.indent7{margin-left: 12em;}
#comments_wrapper li.indent8{margin-left: 13em;}
#comments_wrapper li.indent9{margin-left: 14em;}
#comments_wrapper li.indent10{margin-left: 15em;}

#htmlform p{margin:1em 0;}
#htmlform p a{font-weight:bold;background:url(images/dot.gif) repeat-x bottom left;}
#author,
#email,
#subject,
#message{font:1.1em arial,helvetica,verdana,sans-serif;border:1px solid #BBB;padding:2px;}
#message{width:429px;overflow:auto;}
#htmlform p small{font-size:0.8rem;color:#7F7F7F;}
.commentslist code{background:transparent;}

/* footer - text string and links */
#footer p {padding-top: 7px; }
#footer p a{font-weight:bold;color:#333;}
#footer p.attribution {font-size: 0.9rem;}

/* float rules */
.floatleft{float:left;margin:3px 7px 0 0;}
.floatright{float:right;margin:3px 0 0 7px;}
.right{float:right;}
.left{float:left;}
.clear{clear:both;}
.fix:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
.fix{display:inline-block;} 
* html .fix{height:1%;}
.fix{display:block;}
