/* Neve theme customizations for robservatory */

/* ■■■■■ ALL AREAS ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

/* Move the search box over a bit */
.widget_search {
	margin-left: -8px;
}

/* Try to get search box to line up with blog post title block */
.blog-sidebar {
	margin-top:-28px;
}

/* Set spacing between grafs */
p {
	margin-bottom: 15px;
}

/* Modify header spacing */
h4 {
    margin-top: 15px;
    margin-bottom: 5px;
    }


/* Format sidebar widgets */
.nv-sidebar-wrap {
	font-size: 85% !important;
}

/* Format sidebar titles */
.widget-title {
	font-size: 110% !important;
	background-image: url('../myimages/fade_out.png') !important;
    background-repeat: repeat-y;
    background-size: 95% 100%;
    border-radius: 4px;
    margin: -8px -8px 8px;
    padding: 4px 8px;
}

/* Style the site tagline */
.rg_tag {
	color: white;
	font-weight: 500 !important;
}

/* Condense the wide font! */
h1, h2, h3, h4, h5 {
	letter-spacing: -.7px;
}

/* ■■■■■ POST HEADER AREA ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

/* Format post headers */
.entry-title,
.blog-entry-title {
	background-color: #e2e5ea;
	padding: 5px 0px 0px 10px !important;
	border-radius: 10px 10px 0px 0px;
	margin-bottom: 0px !important;
}

/* Format author etc row */
.nv-meta-list {
	background-color:#e2e5ea !important;
	padding-left: 10px;
	border-bottom: 1px solid #ddd;
}

/* Modify the color of the byline/category row */
.nv-meta-list, 
.nv-meta-list a {
	color: #8a8a8a;
	margin-bottom: 5px !important;
}

/* ■■■■■ RELATED TO FULL BLOG VIEWS ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

/* Try to align blog and sidebar top */
.nv-index-posts {
	margin-top: 32px !important;
}

/* Indent body of post summary */
.entry-summary {
	margin-left:10px;
	margin-top: 5px;
}

/* Set spacing between posts */
.type-post {
	margin-bottom: 30px;
}

/* Right side edge line */
@media screen and (min-width: 960px) {
	.nv-index-posts {
		border-right: 1px solid #EAEAEA;
		padding-right: 30px;
	}
	.nv-sidebar-wrap.nv-right {
		padding-left: 35px !important;
	}
}

/* ■■■■■ SINGLE POST FORMATTING ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

/* Try to align blog and sidebar top */
.nv-single-post-wrap {
	margin-top: 32px !important;
}
.single-post-container .entry-header {
	margin-top: 0 !important;
}

/* Trying to get single page fonts to match blog page */
.entry-title {
    font-size: 25px !important;
}

/* Indent for text of single post */
.entry-content {
    margin-left: 10px;
    font-weight: 500;
}

/* Spacing above text on single post page */
.entry-header {
    margin-bottom: 10px !important;
}

.nv-single-post-wrap .nv-tags-list {
	margin-left: 10px;
}

/* Right side edge line */
@media screen and (min-width: 960px) {
	.nv-single-post-wrap {
		border-right: 1px solid #EAEAEA;
		padding-right: 30px;
	}
	.nv-sidebar-wrap.nv-right {
		padding-left: 35px !important;
	}
}

/* ■■■■■ MONOSPACE FORMATTING ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

pre, tt, code {
	color: #BA6007;
	font-size: 0.9rem;
    white-space: pre-wrap;
	line-height: 1.4;
	padding: 0px;
	background: #FFFFFF;
	font-weight: 500 !important;
	font-family: Monaco, monospace;
}

pre.scrollbox {
	border:1px solid #ccc;
	padding: 5px;
	overflow-x: auto;
    white-space: pre;
	word-wrap: normal;
}

blockquote {
	background-color: #FBFBFB;
	border-left: 5px solid #B3B3B3;
	margin: 20px;
	padding: 10px 14px 2px;
	font-size: .92rem;
}

blockquote cite {
	display: block;
	margin-top: 8px;
	text-align: right;
	font-style: normal;
	/*font-size: small;*/
}

/* ■■■■■ TABLE FORMATTING ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

/* Center all columns of a table */
table.cmany th,
table.cmany td {
	text-align:center;
}

/* Center various table columns */
/* Usage: [table class="c1 c3"] to center 1 and 3 */
table.c1 th:first-of-type,
table.c1 td:first-of-type {
	text-align: center;
}

table.c2 th:nth-of-type(2),
table.c2 td:nth-of-type(2) {
	text-align: center;
}

table.c3 th:nth-of-type(3),
table.c3 td:nth-of-type(3) {
	text-align: center;
}

table.c4 th:nth-of-type(4),
table.c4 td:nth-of-type(4) {
	text-align: center;
}

table.c5 th:nth-of-type(5),
table.c5 td:nth-of-type(5) {
	text-align: center;
}

table.c6 th:nth-of-type(6),
table.c6 td:nth-of-type(6) {
	text-align: center;
}

table.c7 th:nth-of-type(7),
table.c7 td:nth-of-type(7) {
	text-align: center;
}

/* For calling out entries in a table, like this:
   https://robservatory.com/11-6-macbook-air-who-needs-a-netbook */
table tr td.winner  {
	color: red;
}

/* General table appearance settings*/
th {
	background-color: #DDD;
	font-weight: bold;
}

/* General table appearance settings*/
th, td {
	border: 1px solid #AAA;
	padding: 8px 10px;
}

/* ■■■■■ MACOS UPDATES FIXED HEADER TABLE ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

.fixed-table-container {
	width: 98%;
    height: 450px;
    border: 1px solid #aaa;
    margin: 10px auto;
    background-color: white;
    /* above is decorative or flexible */
    position: relative; /* could be absolute or relative */
    padding-top: 60px; /* height of header */
}
  
.fixed-table-container-inner {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    font-weight: 500;
}
  
.fixed-table-container .header-background {
    background-color: #DDDDDD;
    height: 60px; /* height of header */
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
}
  
.fixed-table-container table {
    background-color: white;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
  
.fixed-table-container .th-inner {
    position: absolute;
    top: 0;
    line-height: 60px; /* height of header */
    text-align: left;
    border-left: 1px solid #aaa;
    padding-left: 5px;
    margin-left: -6px;
}
  
.fixed-table-container .first .th-inner {
    border-left: none;
    padding-left: 5px;
}
  
.fixed-table-container td {
    border-bottom: 1px solid #aaa;
    padding: 5px;
    text-align: center; /* IE */
    border-left: 1px solid #ddd;
}
  
/* added for left-align column one and fixed row heights */
/* as used in apple arcade deep dive */
.fixed-table-container table.leftside td {
    text-align: left;
}
  
.fixed-table-container table.leftside tbody tr {
    height: 50px;
}

/* added for left-align column one and fixed row heights */
.fixed-table-container td:last-child {
    text-align: left;
}
  
.fixed-table-container th {
    padding: 0 5px;
    text-align: left; /* IE */
    border-top: 0px !important;
}
  
.header-background {
    border-bottom: 1px solid #aaa;
}
  
.major-release {
	background-color: #ffeea1;
    font-weight: bold;
}

/* ■■■■■ IMAGE STYLES ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

/* Bordered white background */
.rg_image {
	background-color: #fff;
	padding: 5px;
	border: 1px solid #ccc;
	height: auto;
}

/* Three alignment options */
.rg_left {
	float: left;
	margin-right: 10px;
}

.rg_right {
	float: right;
	margin-left: 10px;
}

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

/* For zooming images */
.rg_zoom {
	/*cursor: url('https://robservatory.com/siteimages/mag_glass2.png'), all-scroll;*/
	cursor: zoom-in;
}

/* Stack images on the right side as seen here:
   https://robservatory.com/apple-should-go-back-to-the-future-with-the-mac-pro/ */
   .rg_stackright {
	float:right;
	clear:right;
	margin-left: 15px;
	margin-bottom: 10px;
}

/* ■■■■■ CALLOUTS ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

/* For simple text-based "call this out" center  */
.callout {
	color: #fff;
	background-color: #595959;
	font-size: 1.05rem;
	font-weight: 700;
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	margin: 5px 0px 10px 0px;
}

/* Subheading callout */
.subcall {
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
	padding: 2px 5px 2px 5px;
	margin-bottom: 10px;
	/*width: fit-content;*/
	background-color: #eeeeee;
}

/* Callout box indented with outline */
.hilitebox, .tldr {
	border: 2px solid #ccc;
	margin: 5px 2% 0px 2%;
	padding: 10px 10px 0px 10px;
}

/* For standout titles */
.bigtitle {
	font-size: 110%;
	font-weight: bold;
}

/* ■■■■■ STICKY NOTES ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

.rg_sticky {
    font-size: .94rem;
    padding: 10px 14px;
    background-color: #f0f4fb;
    border-left: 4px solid #2f5aae;
    border-radius: 0 4px 4px 0;
    color: #272626;
    margin-bottom: 10px;
}

.rg_sticky p {
	margin: 0px 0px 5px 0px !important;
}

.rg_sticky tt {
	font-size: 1rem;
}

.rg_caution {
    font-size: .94rem;
    padding: 10px 14px;
    background-color: #fdf6e3;
    border-left: 4px solid #c07a00;
    border-radius: 0 4px 4px 0;
    color: #272626;
    margin-bottom: 10px;
}

/* ■■■■■ LINKS ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

.entry-summary a, .nv-content-wrap a, .nv-sidebar-wrap a,
.entry-summary a:visited, .nv-content-wrap a:visited, .nv-sidebar-wrap a:visited {
	text-decoration: none;
	border-bottom: 1px solid #dde;
}

.entry-summary a:hover, .nv-content-wrap a:hover, .nv-sidebar-wrap a:hover {
	text-decoration: none;
	border-bottom: 1px solid var(--nv-primary-accent);
}

/* tag cloud override */

a.tag-cloud-link,
a.tag-cloud-link:visited {
	border-bottom: 1px solid rgba(0, 0, 0, 0) !important;
}

a.tag-cloud-link:hover {
	border-bottom: 1px solid var(--nv-primary-accent) !important;
}

/* ■■■■■ TOOLTIPS ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

article {
	position: relative;	
}

a.tooltip {
	opacity: 1;
	outline:none;
	text-indent: 0em;
	text-align: left;
	/*font-weight: bold;*/
	text-decoration:none;
	border-bottom: none;
	/*background-color: #7F7F7F;
	color: white;
	padding-left:1px;
	padding-right:1px;*/
}

a.tooltip:hover {
	text-decoration:none;
	/*font-weight: normal;*/
	}

a.tooltip span {
    z-index: 10;
    display: none;
    padding: 14px 20px;
	left: 30%;
	right: 30%;
    width: 40%;
    box-shadow: 5px 5px 8px #CCC;
    color:#111;
    border:1px solid #DCA;
    border-radius:4px;
    background:#fffAF0;
    font-size: .85rem;
	font-weight: normal;
    line-height: 1.3;
}

a.tooltip:hover span{
    display:block;
    position:absolute;
}

sup {
	font-size: .85rem;
}

a.tooltip sup, sub {
	vertical-align: baseline;
	position: relative;
	top: -0.4em;
}

a.tooltip sub {
	top: 0.4em;
}

/* ■■■■■ ANIMATED GIF HANDLING ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

.GIFarea {
	position: relative;
	margin-left:auto;
	margin-right:auto;
}

.GIFarea div {
	font-size: smaller;
	font-weight: 700;
	padding: 5px;
	pointer-events: none;
}

.GIFplaying {
	position: absolute;
	top: 7px;
	right: 7px;
	background-color: red;
	color: white;
	visibility: hidden;
	opacity: 0;
	transition: opacity 1s, visibility 1s;
}

.GIFarea .GIFplaying {
	visibility: hidden;
	opacity: 0;
	transition: opacity 1s, visibility 1s;
	transition-delay: 0s;
}

.GIFarea:hover .GIFplaying {
	visibility: visible;
	opacity: 100;
	transition: opacity 1s, visibility 1s;
	transition-delay: .5s;
}

.GIFstopped {
    position: absolute;
	background-color: green;
	color: white;
	top:50%;
	left: 50%;
	transform: translate(-50%, -50%);
	/*width: 80px;
	border-radius: 50%;
	height: 80px;
	line-height: 80px;
	text-align: center;
	box-shadow: 3px 3px 3px #686868;*/
}

/* ■■■■■ FLEXBOX ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

/* flexbox setup for text vertically centered */
/* to the left of an image (as in Apple Arcade series)*/
.flexbox {
	display: flex;
	flex-direction: rows;
	margin-bottom: 15px;
}

.inflexbox {
	margin-top:auto;
	margin-bottom:auto;
}

.leftpad {
	padding-left: 20px;
}

.leftpad a, a:visited{
	border-bottom: 0px;
}

/* ■■■■■ ASSORTED ONE OFFS ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

/* Style the 'to be continued' footer (Tesla aritcle series) */
.rg_continue {
	padding-top: 5px;
	padding-bottom: 5px;
	text-align: center;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	width: 70%;
	border-top: 3px solid #929292;
	border-bottom: 3px solid #929292;
}

/* Limit width of Macworld logo on Macworld writing posts */
.rg_mw {
	max-width: 160px !important;
}

/* For stupid jetpack subscribe form */
#subscribe-email {
	width:200px;
}

/*#subscribe-field-blog_subscription-2 {
	font-size: 105%;
}*/

/* Centered text */
.centerIt {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* Format the edit button I added in index.php */
.post-edit-link {
	background-color:#FCE579;
	font-size:14px;
	font-weight: bold;
	margin-left: 20px;
	margin-bottom: 400px !important;
}

/* Spacing above "read more" tag */
.more-link {
	padding-top: 10px;
	display: inline-block;
}

/* Format Photonic slideshow plug-in */
.photonic-stream {
	margin: 0px 0px 10px 0px !important;
	/*border: 1px solid #ccc !important;*/
	padding-bottom: 10px;
	background-color: #272626;
}

/* ■■■■■ CARBON AD ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

#carbonads span span {
	display: block;
	margin-bottom: 5px;
}

#carbonads a + a::before {
  content: "\A";
  white-space: pre;
}

#carbonads a.carbon-img {
	border: none !important;
}

.howbig {
	font-size: smaller;
}

/* ■■■■■ EXPERIMENTS ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */

/* Shadow below the header? Can't decide if I want it or not... */
/*
.header {
	box-shadow: 0px 7px 11px gray;
}
*/
