/*
	
	owensoft.net/v4 : 2024
	based on 2023
	13-Jan-24 2:32 PM

	*/

	.sidebar h2::before {
	  content: "";
	  display: inline-block;
	  height: 1px;
	  position: relative;
	  vertical-align: middle;
	  width: 20%;
	  left: -15px;
	  background-image: url(/v4/image/br.png);
	}

	.sidebar h2::after {
	  background-image: url(/v4/image/br.png);
	  content: "";
	  display: inline-block;
	  height: 1px;
	  position: relative;
	  vertical-align: middle;
	  width: 20%;
	  right: -15px;
	}

/* THEME */
	
	@media screen and (prefers-color-scheme: light) {
	  body {
		bord1er-top:5px solid blue;
		background-color: Canvas;
		color: CanvasText;
		color-scheme: light dark;
	  }
	  h3 a {
  		color: CanvasText;
	  }
	}

	@media screen and (prefers-color-scheme: dark) {
	  body {
		bo1rder-top:5px solid red;
		background-color: Canvas;
		color: CanvasText;
		color-scheme: light dark;
	  }
	  h3, h3 a {
  		color: #0B60B0;
	  }
	}
	
	.sidebar h2 {
		text-align:center;
	}

	.menu {
		text-align:center;
	}

	.menu a:link { 
		border-width:0;
	}

	.pbread { 
		padding: 3px;
	}

/* START */

	body, .airlock , form, .site {
		margin:0;	padding:0;	
	}

	html {
		font-family:monospace, -apple-system,BlinkMacSystemFont,"Segoe UI",
		Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
	}

/* WEBSITE */

	.menu h1, .content h1, .sidebar h1, .footer h1 { 
		 display:none; 
	}

	.airlock {
		margin:auto;
		padding-left:1%;
		padding-right:1%;
	}

	.footer  {
		margin-top:15px;
		text-align:center;
		clear:both;
		padding:2em;
	}

	.content {
		min-height:512px;
	}

/* MASTHEAD */

	.subpage .header, .item .header  {
		height:64px;
		display:none;
	}

	.header div {
		height:100%;
		background-image: url(/v4/image/masthead/2024/2024_01_13_header.png);
		background-position:center center;
		background-repeat:repeat-x;
	}


/* BLOG POSTS AND POST LISTS */

	.post {
		margin-top:40px; /* can't be added at the bottom because of the comment box */
		padding-top:15px;
	}

	.post, .item_body {
		clear:both;

		padding-right:2%;
		padding-bottom:10px;
	}

	.item_body h3 {
		border-width:0;
	}

	.post h3 a {
		text-decoration:none;
		border-width:0;
		c1olor:inherit;
	}

	.post p, .item_body p {
		p1adding-left:2%;
	}

	.post h3, .post h4, .post .info, .post .byl, .item_body .info, .item_body .byl  { /* indent everything */
		pad1ding-left:4%;
	}


/* OTHERS */

	.give {
		font-weight:bold;
	}

	.cate {
		font-weight:bold;
		border-radius:5px;
		display:inline-block;
		text-transform:uppercase;
	}

	.clink, .gclink, .rlink {
		text-decoration:none;
	}

	.clink , .gclink , .rlink {
		background-image: url(/v4/image/heart2.png);
		background-repeat:no-repeat;
		background-position:left center;
		padding-left:18px;
		font-weight:bold;
	}

	.info, .byl {	}

/* comment info */

	.com_info {
		width:90%;
		clear:left;
		margin-left:40px;
		line-height: 0.92rem;
		padding:10px;
	}

	.com_info, .com_info a { 	c1olor:#0A2647;  }

	.com_info p { padding:0; margin:0;  }

	.ajax1_box { display:inline; }

/* PAGENAV */

	.pagenav {
		margin-top:60px;
		margin-bottom:60px;
		padding:15px;
		clear:both;		
	}

	.pagenav .this-page, .pagenav .n, .pagenav .next, .pagenav .prev, .pagenav .end {	
		padding:5px 7px 5px 7px; 	
		margin-right:5px;		
		text-align:center;
		text-decoration:underline;	
		border-width:0;
	}
	.pagenav .n {
		border-width:0;
	}

	.pagenav .this-page {	
		border:2px solid CanvasText;
	}

	.pagenav .next, .pagenav .prev { 
	}

	.pagenav span {
		font-weight:bold;		
	}

	.pagenav .n:hover {
		background-col1or:yellow;	
	}

	.pagenav .break {
	}

/* ICONS */

	.icon {
		float:left;
		clear:none;
		width:3em; 	height:3em;
		margin:3px;
		margin-right:10px;

		background-image:url(/v4/image/noicon.jpg);
		background-position:center center;
		background-repeat:no-repeat;

		padding:1px;
		border:1px #f5f5f5 solid;
		border-radius:5px;
	}

/* SIDEBAR */

	.sidebar {
		text-align:left;
		f1ont-size:75%;
	}

	.sidebar p {
		margin:4px;
		margin-right:0;
	}

	.sidebar .icon { display:none; }

	.sidebar h2 {

	}

	.sidebar .sb_div {
		min-width:19%;
		float:left;
		padding-left:5px;
		margin-left:5px;
	}

	.sidebar ul, .sidebar li  {	list-style-type: none;	padding:0;	margin:0; }

	.sidebar a:link {
		border-width:0;
	}

/* MENU */

	.menu {
		TEXT-TRANSFORM:UPPERCASE;
		padding:12px;
		padding-right:25px;
	}

	.menu br {	display:none; }

	.menu a {
		c1olor:gray;
		text-decoration:none;
		padding:5px;
	}

	.menu ul, .menu li  {	list-style-type: none;	padding: 0 0 0 0;	margin: 0 0 0 0; }

	.menu li {
		display:inline;
		margin:0;
		margin-left:5px;
	}

/* lists */

	.list br {
		clear:none;
	}

	.list {
		margin:10px;
		padding:10px;
	}

	.list .list_item {
		width:46%;
		display: inline-block;
		margin:0;
		padding:5px;
		padding-bottom:15px;
		vertical-align:top;	
	}

	.list .list_item h3 {
		margin:0;
		padding:0;
	}

	.list .list_item h3 a {
		border-width:0;
	}

/* stuff */

	.error {	
		c1olor:#FC345C;
		border-c1olor:#FC345C;
	}

	.important {
		text-align:center;
		max-width:80%;
		padding:10px;
		margin-top:10px;
		margin-left:auto;
		margin-right:auto;
		background-col1or: yellow;
		box-shadow: 0 2px 5px rgba(0,0,0,.15);
		border-radius: 4px;
		clear:both;
	}

	.cl, .clear {
		clear:both;
	}

	.h {
		line-height: 1.5em;
		float:right;
		width:60%;
		text-align:right;
		margin:5px;
		c1olor:#254B62;
		padding:15px;

	}

	.h em {
		background-col1or:#E8F79A;
		padding:2px;
	}

	pre {	
		white-space: pre-wrap;       /* css-3 */
		background-col1or:#FFF;
		border-top:#E3E3E3 1px solid;
		padding:5px;
		line-height:1.3em;
		background-col1or:#ecf3fc;	
		font-family:tahoma;
	}

	code, code p, code br { 
		font-weight:bold;
	}


	blockquote, q {
		margin-left:auto;
		margin-right:auto;
		width:95%;
	}

	blockquote, q, blockquote a, q a, blockquote p, q p {
		c1olor:#F60C86;
	}


/* COMMMENTS */

	.comments {
		line-height: 1.2rem;
	}

	.comments .c, .comments .cu, .comments .cr  {
		clear:both;
		list-style:none;
		margin:0; padding:0;
		margin-right:5%;	
	}

	.c .icon {	width:16px; height:16px; }

	.comments .cr {		
		margin-left:5%;	
	}

/* VIDEO PLAYER */

	.youtube_wrapper, .youtube_wrapper img, .youtube_playbutton {
		width:430px;
		height: 300px;

		max-width:100%;
		max-height:100%;
	}

	.youtube_wrapper {
		position: relative;
		cursor: pointer;
	}

	.youtube_playbutton {
		position: absolute;
		width:430px;
		background: rgba(0, 0, 0, 0) url(/v4/image/playbutton.png) center center no-repeat;
		top: 0;
	}


/* navigation */

	#nav-entry{ z-index:1000;  font-weight:bold; }

	#nav-entry a{
		display:block; padding:15px 20px; width:155px;
		c1olor:#F5F5F5;
		text-transform:uppercase;
		opacity:.08;
		transition:all 0.3s ease-in-out
	}

	#nav-entry a.newer{
		position:fixed;left:0;top:45%;margin-left:-185px;padding-right:40px;text-align:left;
		background:#111 url(/v4/image/arrow_left.gif) no-repeat right center;	
		border-top-right-radius:3px;
		border-bottom-right-radius:3px
	}

	#nav-entry a.older{
		position:fixed;right:0;top:45%;margin-right:-185px;padding-left:40px;
		text-align:right;
		background:#111 url(/v4/image/arrow_right.gif) no-repeat left center;
		border-top-left-radius:3px;
		border-bottom-left-radius:3px;
	}

	#nav-entry a:hover{ margin:0; opacity:1; }


/* small screens and phones */

	@media screen  and (max-width: 700px) {
		.list .list_item {
			width:auto;
			display: block;
		}
		.sidebar .sb_div {
			width:40%;
			display: block;
		}
		.menu li {
			display:inline-block; 
		}	
		blockquote, q {
		}
		.h {
			line-height: 1.3em;
		}
		.menu a {
			padding:1px;
		}	
		.header2 {
			display:none;
		}
	}

/* super large screens */
	@media screen  and (min-width: 1200px) {
		.airlock {
			margin-left:auto;
			margin-right:auto;
			max-width:1550px;
		}

		.content {
			margin-left:1%;
			width:77%;
			float:left;
		}
		.subpage .content {
			width:auto;
			fl1oat:auto;
			margin-right:1%;
		}
		
		.subpage .header2 {
			display:none;
		}

		.sidebar .sb_div {
			width:100%;
		}
		#g1 p {
			width:48%;
			float:left;
			display:block;
			#shortmenu
		}

		.sidebar  {
			width:240px;
			float:right;
		}
		.subpage .sidebar {
			float:left;
			width:100%;
		}
		.subpage .sidebar .sb_div {
			width:240px;
		}
		
		.pagenav {
			f1ont-size:125%;
		}

		.header2 div {
			float:right;
			width:240px;
			height:240px;
			
			background-image: url(/v4/image/masthead/2024/2024_01_13_logo.png);
			background-position:center center;
			background-repeat:no-repeat;
			clear:none;
		}

	}

/* testing 
	div {
		border:1px solid #46C2CB;
	}
*/
