/*	
Theme Name: Kantor 2025
Description: Theme for Andrew's Home
Author: Andrew Kantor
Author URI: http://www.kantor.com
Version: v2.0
*/

@font-face {
    font-family: 'courier_primebold';
    src: url('/fonts/courierprime-bold-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'courier_primebold_italic';
    src: url('/fonts/courierprime-bolditalic-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'courier_primeitalic';
    src: url('/fonts/courierprime-italic-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'courier_primeregular';
    src: url('/fonts/courierprime-regular-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 15px;
	text-align: left;
	height: 100%;
	background: #e0e0e0;
	background: url("art/farm-background.jpg") top center fixed; 
	background-size: cover;
	}

body {
	font-family: Merriweather, Georgia, Times New Roman, Times, serif;
	font-size: 1.2rem;
	font-weight: 400;
	margin: 0 auto;
	background-color: rgba(255, 255, 255, .80);
	max-width: 1200px;
	height: auto;
	color: #0c0c0c;
	border-radius: 0 50px 0 0;
}

/* apply a natural box layout model to all elements */
*, *:before, *:after {
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

/* ----- COLORS ----------------------- */
:root {
	--akblue: #0B2265; 
	--akorange: #ff5819;
	--akgray: #515151;
	--akdarkblue: darkblue;
}
/* USE:	color: var(--akblue); */


/* STRUCTURE ------------------------------------------------------ */

#top {
	display: grid;
	grid-template-columns: 65% 35%;
	column-gap: 30px;
	justify-content: stretch;
	justify-items: stretch;
	align-items: start;
	grid-template-areas:
		"logo quote";
	padding: 0;
	margin: 0 auto 25px auto;
}

	#logo {
		grid-area: logo;
		padding: 12px 30px 2px 30px;
	}

	#quote  {
		grid-area: quote;
		float: right;
		margin: 24px 2em 0 0;
		text-align: right;
		font-size: 1.1em;
		font-family: Merriweather, "Droid Serif", Georgia, Times New Roman, Times, serif;
		line-height: 1.2;
	}

#home, #archive, #post, #single, #search, #page {
	display: grid;
	grid-template-columns: 100%;
	column-gap: 0;
	justify-content: stretch;
	justify-items: stretch;
	align-items: start;
	grid-template-areas:
		"hometop"		
    	"content"
		"footer";
	padding: 0 0 0 0;
	margin: 0 auto;
}

#hometop {
	width: 100%;
	padding: 10px 20% 10px 30px;
	margin: 0 0 10px 0;
}

#content {
	display: grid;
	grid-template-columns: 65% 35%;
	justify-content: stretch;
	justify-items: stretch;
	align-items: start;
	grid-template-areas:
		"mainbar sidebar";
	padding: 0 0 0 0;
	margin: 2em auto 0 auto;
}

#mainbar {
	grid-area: mainbar;
	padding: 0 30px;
}

#sidebar {
	grid-area: sidebar;
	padding: 0 30px 30px 30px;
	margin: 0 30px 0 0;
	height: 100%;
	border-radius: 20px 0 0 0;
	background-color: rgba(255, 255, 255, .80);
	/* background-image: linear-gradient(to right bottom, rgba(255, 255, 255, .80), rgba(255, 255, 255, 0) 50% ); */
}

#footer {
	grid-area: footer;
	padding: 10px 0;
	background-color: rgba(255, 255, 255, .20);
	text-align: center; margin: 0 auto;
}

/* HOME PAGE FORMATTING -------------------------------------------------------- */
/* HOME PAGE BOXES ------------------------- */

.toppost {
	clear:both;
	margin: 1.25em 1% 36px 0;
	padding: 10px 12px;
	border: 2px solid #1e3364;
	border-radius: 10px;
	background-color: #eee;
	text-align: left;
}
	 
.homepost2 {
	clear:both;
	margin: 4px 1% 24px 0;
	padding: 10px 12px 0 12px;
	border: 1px solid #ccc;
	border-radius: 10px;
	text-align: left;
}

.homepost3 {
	clear:both;
	margin: 4px 1% 2px 0;
	padding: 10px 12px 10px 0;
	text-align: left;
	min-height: 100px;
}

.homepost3 p {
		font-size: .85rem;
}

#photo {
	float: left;
	margin: 0 1% 0 1%;
	padding: 5px;
}

.simplebox, .homepagebox, .listbox, .box {
	display: inline-block; 
	padding: 15px;
    margin-bottom: 20px; 
    border: 1px solid #999999;
	background-color: #fafafa;
    width: 100%;
	border-radius: 0 10px 10px 10px;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}

h2.boxtitle {
	font-size: 1.55rem !important;
	font-weight: normal !important;
	text-transform: uppercase;
	margin: 1em 0 9px 0 !important;
	text-shadow: 0;
	letter-spacing: 0 !important;
}


/* 
.listbox p:nth-child(odd) {
    background-color: #eeeeee;
}
*/

/* GENERAL FORMATTING -------------------------------------------- */

p, td {
     font-family: Merriweather, Georgia, Times New Roman, Times, serif;
     font-size: calc(12px + .275vw);
     line-height: 1.6;
     text-align: left !important;
     margin :0 0 12px 0;
     font-weight: normal;
	 letter-spacing: 0;
}

#sidebar p {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 1.0rem; 
	color: #333;
	line-height: 1.35;
	margin-bottom: 9px;
}

div.cora, div.andrew { margin: 24px 5% 36px 5%; }

div.andrew { 
  border-left: 3px solid rgba(0, 0, 0, 0.1);
  padding-left: 1em;
}

div.cora p, div.cora li {
  font-family: 'courier_primeregular', 'Courier New', Courier, monospace;
  font-size: 1.25rem;
}

div.andrew p {
  font-family: 'courier_primeitalic', 'Courier New', Courier, monospace;
  font-size: 1.25rem;
}

#sidebar .rss-date {font-size: 11px;}

.listbox p {
	padding: 4px 8px;
	margin: 6px 0;
}

.box p {
	padding: 4px 8px;
	margin: 6px 0;
}

td {
     vertical-align: top;
	text-align: left;
	padding: 10px;
}

h1, h2, h3 {
     font-family: 'Special Elite', 'Open Sans Condensed', "Open Sans", "Noto Sans", Tahoma, Arial, sans-serif;
     font-weight: normal;
}

h1 /* section title or header*/  {
     font-size: 1.5rem;
     color: white;
     text-align: left;
     background-color: #000;
     margin: 0 0 1em 0;
	 padding: 7px 0 3px 10px;
	 border-radius: 10px 10px 10px 0;
	 box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}

.toppost h1, .homepost2 h1, .homepost3 h1 {     
	font-size: .8rem;
    color: white;
    text-align: left;
    background-color: #cdcdcd;
    margin: 0 0 1em 0;
	padding: 7px 0 3px 10px;
	border-radius: 0;
	box-shadow: none;
	}

#sidebar h1 {
     text-align:left;
	 margin: 20px 6px 8px 0;
}

#sidebar h1:first-of-type { margin-top: 20px; }

h2 {
     	font-size: 3.0rem;
		font-weight: bold;
     	line-height: 1.05;
     	background-color: transparent;
     	text-align: left;
		letter-spacing: -1px;
     	margin: 1.5em 0 .1em 0; 
}

.entry h2 { font-size: calc(18px + 1.2vw); }

#single h2 {margin-top: 0; font-size: calc(24px + 1.5vw);}

.toppost h2 { margin-top: 0; }

.homepost2 h2 {     
	font-size: 2rem; 
	margin-top: 0; 
	}

.homepost3 h2 { 
	font-size: 1.2rem !important;
	margin: 0 0 6px 0;
 }

#sidebar h2 {
     text-align:left;
     font-size: 2.4rem;
     line-height: .95;
     margin: 0 0 6px 0 !important;
	 border: 0 !important;
}

h3, h4, h5 /* subheds */  {
	margin: 1.3em 0 .5em 0;
	text-align: left;
}

h3 {
    font-size: 2rem;
	letter-spacing: -.5px;
	line-height: 1.20;
     }

#home h3 {
    font-size: 2rem;
     margin-top: 2em;
	 margin-bottom: 6px;
}

#single h3 {
	text-align: left;
	font-size: 1.35rem;
	margin-top: 1.25em;
	border-top: 2px solid #fcfcfc;
}

#single h3:first-of-type {border:none;}

#page h3 {
	text-align: left;
	font-size: 1.8rem;
}

#sidebar h3 {
     font-size: 1.43rem;
	 font-weight:bold;
     padding: 4px 0 0 0;
     margin: 1.5em 0 12px 0;
}

#everything h3 { font-size: 1.75rem; margin: 12px 0 0 0; }

h4 {text-align: left;
    font-size: 1.1rem;
	color: #666;
	text-transform: uppercase;
    letter-spacing: -0.02em;
}

h4:before { content: "\0025B8";}

#sidebar h4 {
     text-align:left;
     padding: 0 8px 0 0;
     margin: 0 0 0 15px;
}

h5, small, aside { 
	display: block; 
	font-weight: normal; 
	font-size: .7rem; 
	font-style: italic; 
	text-align:left; 
	color: black; 
	line-height: 1.35; 
	margin: 2.0em 0 3em 0 !important;
}

h6, .tldr {	
	font-weight: normal; 
	font-size: .9rem; 
	text-align: left;
	line-height: 1.25;
	margin: 1em 0 2.5em 0 !important;
	padding: 3px 10px 3px 4px;
	background: #dcdcdc;
	border: 1px solid #dcdcdc;
	border-radius: 5px 5px 5px 0;
}

img {
    max-width: 100%; 
	height: auto;
}

.flexslider .slides img {max-width: 400px;}

figure {margin: 0;}

ul, ol {
     margin: 0 0 1em 16px;
     text-align: left;
}

ul { list-style-type: square; }

#sidebar ul {margin-left:0; padding-left: 0;}

li {
     font-family:  Merriweather, Georgia, Times New Roman, Times, serif;
     font-weight: normal;
     font-size: 0.95rem;
	 line-height: 1.4;
     margin: 0 10% 6px 0;
     padding: 0;
     text-align: left;
}

#sidebar li {
     font-family:  Arial, Helvetica, Helv, sans-serif;
	 font-size: .95rem;
     list-style-type: none;
	 margin: 0 0 6px 0;
	 }

blockquote, .excerpt {
     font-size: 95%;
     line-height: 1.05;
     margin: 10px 10% 10px 0;
     padding-left: 10px;
     border-left: 6px solid Silver;
	font-style: italic; 
}

pre, code {
     font-family: 'Courier New', Courier, monospace;
     font-size: .8rem;
     line-height: 1.05;
     padding-left: 0;
     margin: 6px 0 6px 0;
     text-align: left;
     border: none;
     width: 90%;
}

#page pre, code {
     width: 100%;
}

.dek {
     font-family: Lora, Georgia, Times New Roman, Times, TmsRmn, serif;
     font-size: 1.2rem;
     line-height: 1.4;
     font-style: italic;
     font-weight: normal;
	 margin: .75em 10% 2em 0; 
}

.copyright, .caption, .wp-caption-text, .legal {
     font-family: Calibri, Verdana, Tahoma, Arial, sans-serif;
     font-size: .8em;
     font-style: italic;
     text-align: center !important;
     margin: 3px auto 2em auto;
}

.smaller {font-size: 82.5%;}

figcaption {
     font-family: Calibri, Verdana, Tahoma, Arial, sans-serif;
     font-size: .8em;
     font-style: italic;
     text-align: center !important;
     margin: 3px auto 2em auto;
}

.date {
     font-family: Calibri, Verdana, Tahoma, Arial, sans-serif;
     font-size: .75em;
     font-style: italic;
     margin-bottom: 18px;
}

#single .date {
     font-family: Calibri, Verdana, Tahoma, Arial, sans-serif;
     font-size: .9rem;
     font-style: italic;
	 color: black;
     text-align: left;
     margin-bottom: 2em;
	 margin-top: 6px;
}

.jump {
	text-align: left;
	border-top: 2px solid #01529c; 
	border-bottom: 2px solid #01529c; 
	margin-bottom: 24px;
	padding: 6px 0px; 
	font-weight: bold;
	font-size: 1rem;
}


/* SIDEBAR FORMATTING ---------------------------------------------- */

#sidebar #true p:nth-child(odd) {
    font-weight:bold;
}

/* 
#sidebar h5 {
     padding: 0 8px 0 0;
     margin: 12px 0 0 0;
     font-variant: small-caps;
}

*/

.rss-date:before { content: " (";}
.rss-date:after { content: ")";}

#sidebar small {
     text-align:left;
     margin: 6px 0 2px 0;
}

.sidebox {
	padding: 12px;
	margin: 6px 0 12px 0;
	border-radius: 0 0 30px 0;
     -moz-border-radius: 0 0 30px 0;
     -webkit-border-radius: 0 0 0 30px 0;
     -o-border-radius: 0 0 30px 0;
     background: linear-gradient(to top left, #cccccc, #ececec 50%) no-repeat;
}

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

.intouch img {
     float: left; 
}

#sidebar a:link {
     text-decoration: none;
}

#sidebar a:active {
     color: FFA640;
}

#sidebar a:hover     {
     color: #c00;
     text-decoration: none;
}

/* ARCHIVE PAGE STUFF ----------------------------------------------  */

#archive .entry {
	margin-bottom: 24px;
}

#archive #dek {
	font-family: Calibri, Verdana, Tahoma, Arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1.4;
    font-style: italic;
    font-weight: normal;
	margin: .75em 10% 3em 5%;
	padding: 10px 10px 2px 10px;
	background-color: #cccccc;
	border-radius: 8px;
}

#archive #dek p {
	font-family: Calibri, Verdana, Tahoma, Arial, sans-serif;
}


/* SINGLE ITEM STUFF ----------------------------------------------  */
#single .entry {
    margin: 4px 0 9px;
    padding: 2px 4px;
}


/* PAGE STUFF -------------------------------------------------------- */
#page #dek {
	font-size: 1.2rem;
    line-height: 1.2;
    margin-left: 10%;
    margin-right:10%;
    margin-bottom: 18px;
}

#page .date {
     font-family: Calibri, Verdana, Tahoma, Arial, sans-serif;
     font-size: .9rem;
     font-style: italic;
     text-align: left;
     margin-bottom: 20px;
}

#page #toc {
	float: left; 
	vertical-align: top; 
	width: 50%;
}

#page #toc .date {
	font-size: .85rem;
	font-style: italic;
	margin: 0 0 3px 0;
}

#page #toc h4 {
	margin: 12px 0 3px 0; 
}

#page #toc h4:first-of-class {
	margin: 0 0 3px 0; 
}


/* -- FLEXBOXES OF THINGS ------------------------------------------- */
.thinglist {
    display: flex;
    flex-wrap: wrap; /* creates multiple rows */
    align-content: flex-start;
    justify-content: center;
    }

.thing {
    flex: 0 1 200px;
    padding: 8px;
    margin: 5px auto; 
/* width: 250px; */
    border: 1px solid #ececec; border-radius:5px; box-shadow: 1px 3px 5px 0  #dcdcdc;
    text-align: center !important;
	}

.thing .name {
    font-family: 'Roboto Slab', 'Nunito Sans', Arial, sans-serif; font-weight:bold;
    margin:6px auto 2px auto;
	text-align: center;
    }

.thing p {text-align: center;}

.thing img {
    box-shadow:5px;
    text-align: center;
	}

.thing h3 {margin-top:4px;}

/* GENERAL -------------------------------------------------------- */
a:link {
     color: var(--akblue);
     background-color: transparent;
     text-decoration: none;
}

a:active {
     color: var(--akblue);
     background-color: transparent;
     text-decoration: none;
}

a:visited {
     color: var(--akblue);
     background-color: transparent;
     text-decoration: none;
}

a:hover     {
     color: var(--akorange) !important;
     text-decoration: none;
     background-color: transparent;
}

sup {vertical-align: top; font-size: 0.6em;}

.red {color:#b62025;}
.blue {color: #1e3364;}
.green {color: #538135;}

.footnote {font-size: .8rem; font-weight: normal; font-style: italic; line-height: 1.2; margin-top:2rem !important;}
.center {text-align:center !important; margin: 12px auto 12px auto;}
.image {text-align:center; margin-top:24px; margin-bottom:12px; max-width:100%;}
.spaced {margin-top: 24px; margin-bottom: 24px;}
.narrow {margin-left: 25% !important; margin-right:25% !important;}
.lined {border:1px solid #cdcdcd; padding: 5px;}

.alignleft { padding: 4px 8px 4px 0; }
.alignright { float: right !important; margin: 4px 0 4px 8px; }


/* ----- MEDIA QUERIES ----- */
@media all and (max-width: 799px) {

	html {font-size: 14px; background: none !important;}
	.hideme {display: none;}
	#sidebar {margin-left: 0;margin-right: 0;}

	#top {
	grid-template-columns: 1fr;
	grid-template-areas:
		"logo"
		"quote";
	padding: 0 20px 0 0;
	margin: 0 auto 20px auto;
	}

#intro h2, #intro p {}

#home{
	grid-template-areas:
		"hometop"
    	"mainbar"
		"sidebar"
		"footer" !important;
}

#content {
  justify-content: stretch;
  justify-items: stretch;
  align-items: start;
  grid-template-areas:
	"mainbar mainbar"
	"sidebar sidebar";
  padding: 0 0 0 0;
  margin: 0 auto;
}

#archive, #post, #single, #search, #page {
	grid-template-areas:
		"top"
    	"mainbar"
		"sidebar"
		"footer";
	}

#home, #archive, #post, #single, #search, #page {
	grid-template-columns: 1fr !important;
	margin: 0 auto 0 auto;
	padding: 0 0 20px 0 !important;
	}

#intro, #mainbar, #sidebar {padding-left:7px; padding-right: 7px;}
	#home img {text-align: center; margin: 0 auto; max-width:100%;}
/*	#homeleft, #homeright { flex-basis: 100%; } */

} /* -- END MEDIA --*/