/*
 Theme Name:   Spacious Child
 Template:     spacious
 Description:  Spacious Child Theme
 Author:       Alfons Schmid - NotebooksApp
 Author URI:   https://notebooksapp.com
 Version:      3.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  Spacious-child
*/


/*--------------------------------------------------------------
## Gutenberg Media & Text Block Fallback for IE11
https://github.com/WordPress/gutenberg/issues/11577
ASJ 20190215
--------------------------------------------------------------*/
.wp-block-media-text:after {
	display: table;
	content: "";
	clear: both;
}
.wp-block-media-text figure {
	float: left;
	width: 40%;
}
.wp-block-media-text .wp-block-media-text__content {
	float: right;
	width: 40%;
}
.wp-block-media-text.has-media-on-the-right figure {
	float: right;
}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
	float: left;
	padding-left: 0px; /* override 8% padding */
	padding-right: 4%;;
}
@supports (display: grid) {
	.wp-block-media-text figure {
		float: none;
		width: inherit;
	}
	.wp-block-media-text .wp-block-media-text__content {
		float: none;
		width: inherit;
	}
	.wp-block-media-text.has-media-on-the-right figure {
		float: none;
	}
	.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
		float: none;
	}
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
* {
	-webkit-font-smoothing: subpixel-antialiased;
}

html {
	font: 16px/160%;
	font-weight: 300;
}

ul li, ol li {
	padding-top: 0.25em;
}

table, .wp-block-table {
    margin-top:    .5em;
    margin-bottom: .5em;
    font-size: 0.9em;
    text-align: start;
    word-wrap: break-word;
    border-collapse: collapse;
}


th, td,
.wp-block-table th, .wp-block-table td {
   padding: 0.25em 0.5em;
   border: 1px solid rgb(216, 216, 216);
}

caption, th, td,
.wp-block-table th, .wp-block-table td  {
	text-align: left;
}


.wp-block-table tr {
	border-bottom: 1pt solid rgba(200, 200, 200, .1);
}


.wp-block-table thead, .wp-block-table th {
	border-top: 1px solid rgba(200, 200, 200, .72);
	border-bottom: 1px solid rgba(200, 200, 200, .72);
}


.headline {
	font-size: 1.5em;
	line-height: 1.5em;
	text-align: center;
}

.subheadline {
	font-size: 1.3em;
	line-height: 1.3em;
	text-align: center;
}


a:focus {
	outline: thin dotted;
}

/* =GENERICONS
----------------------------------------------- */
/* ASJ: 20190710. commented out to avoid error 404
@font-face {
	font-family: 'Genericons';
	src: url('font/genericons-regular-webfont.eot');
	src: url('font/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'),
		url('font/genericons-regular-webfont.woff') format('woff'),
		url('font/genericons-regular-webfont.ttf') format('truetype'),
		url('font/genericons-regular-webfont.svg#genericonsregular') format('svg');
	font-weight: normal;
	font-style: normal;
}*/

/* =GLOBAL
----------------------------------------------- */
body,
button,
input,
select,
textarea {
	color: #666666;
	line-height: 20px;
	word-wrap: break-word;
}

select {
	font-size: 13px;
}

body {
	background: #eaeaea;
	color: #111;
	line-height: 1.5em;
}


h1, h2, h3, h4, h5, h6  { margin: 0; font-weight: normal; padding-bottom: .5em; }
h1  {font-size: 1.86em; line-height: 1.2em;}
h2  {font-size: 1.64em; line-height: 1.2em; margin-top: 1.75em; padding-bottom: 2px; font-weight: 400; 	border-bottom: 1px solid rgba(200, 200, 200, .5); overflow: hidden;}
h3  {font-size: 1.42em; line-height: 1.2em; margin-top: 1.5em; font-weight: 400; padding-bottom: .25em;}
h4  {font-size: 1.1em; line-height: 1.1em;  padding-top: 0em; font-weight: 600;}
h5  {font-size: 1.0em; line-height: 1.1em; 	font-weight: 600; }
h6  {font-size: 1.0em;} 

/* tag line on first page */
h2.tagline { 
	line-height: 1.4em; 
	border-bottom: 0px solid rgba(200, 200, 200, .5);
}

h2:first-of-type {
/*	padding-top: 0em;  */
}

h2.gb-profile-name, h2.ab-profile-name {
	padding-top: 0em; 
	border-bottom: 0px solid rgba(200, 200, 200, .5);
	font-weight: 300;
}

/* adjust top margins for headings at the very end */

/* doc sections iOS / macOS */
h5 {
	/*color: #268bd2;*/
	font-size: 1em;
/*	border-bottom: .5pt dotted #268bd2; */
	font-style: italic; 
	line-height: 1em;
/*	margin-top: 2em; */
	margin-bottom: .25em;
}

hr, hr.thin {
	border-color: #EAEAEA;
	border-style: solid none none;
	border-width: 1px 0 0;
	height: 0;
	margin: 30px 0;
}

/* =TEXT ELEMENTS
----------------------------------------------- */
p {
	margin-top: 15px;
	margin-bottom: 15px;
	/*font-size: 16px;*/
}

h3 + p {
	margin-top: 0;
	font-size: 100%
}

h4 + p, h5 + p {
	margin-top: 0;
	font-size: 100%
}

strong {
	font-weight: 500;
}
cite, em, i {
	font-style: italic;
}
pre {
	background-color: #fff;
	margin-bottom: 20px;
	overflow: auto;
	padding: 20px;
	border: 0.5px solid #EAEAEA;
}

.wp-block-code {
	border: 0.5px solid rgba(200, 200, 200, .3);
	border-radius: 2px;
}

pre, code, kbd, var, samp, tt {
	font-family:"Courier 10 Pitch",Courier,monospace;
	font-size: 14px;
	line-height: 19px;
	white-space: pre-wrap;
}

/*-- Code - box with gray background */
code {
	font-size: 0.91em;
	background-color: rgba(228, 228, 228, .3);
	border: 0.5px solid rgba(200, 200, 200, .3);
	overflow: auto;
	padding: 1px 4px;	/*-- inline code gets a gray background with padding */
	border-radius: 2px;
}

/*-- but not when embedded in pre */
pre code {
	background-color: transparent;
	border: none;
	padding: 0px;
}

/*---- Definition Lists ----*/

dl {
	border-top:  1pt solid #bbb;
	padding-top: 0.5em;
	border-bottom: 1pt solid #bbb;
	margin-top: 2em;
	margin-bottom: 1.5em;
	padding-left:   1.5em;
	padding-right:  1.5em
	overflow: auto;
}

dt {
	font-weight: bold;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	letter-spacing: normal;
	text-transform: none;
}

dd {
	margin-bottom: 0.5em;
}

dd+dt {
	border-top:  1pt solid #ddd;
	padding-top: 0.5em;
	overflow: auto;
}

dd+dd {
	border-top: 1px solid #ddd;
	padding-top: 0.5em;
	overflow: auto;
}


/* =SUPERCRIPT AND SUBSCRIPT
----------------------------------------------- */
sup, sub {
	font-size: 10px;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}

dl {
	font-size: 15px;
}
dt {
/*	color: #02aaff; */
}
dd {
	margin-left: 2em;
}

ul,
ol {
	list-style: none;
}
ol {
	list-style: decimal;
}

li {
/*	margin-top:4px; */
	margin-bottom:0px;
	line-height: inherit;
}


/* =BLOCKQUOTE
----------------------------------------------- */
.wp-block-quote,
blockquote {
	font-style: italic;
	font-weight: 300;
	font-size: .9em;
	padding: 1em;
	border: 1px solid #EAEAEA;
	border-left: 1px solid #02aaff;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	width: 97%;
	overflow: hidden;
}

/* avoid margin at end of quote  */
.wp-block-quote p, 
blockquote p {
	margin: 0;
	padding: 0;
}

blockquote em, blockquote i, blockquote cite {
	font-style: normal;
}
blockquote cite {
	color: #666666;
	font: 1em "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.spacious-button,
input[type="reset"],
input[type="button"],
input[type="submit"],
button {
   color: #FFFFFF;
	display:inline-block;
   margin-bottom: 30px;
   padding: 5px 25px;
   -moz-appearance: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	cursor: pointer;
	background-color: #02aaff;
	border: 0px;
   -webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
   font-size: 16px;
}
.previous a, .next a {
   padding: 2px 1‚5px;
   border: 1px solid #DADADA;
   font-size: 0.8em;
   background: #EAEAEA;
}
.previous a:hover,
.next a:hover {
	color: #02aaff;
}


/* =LINKS
----------------------------------------------- */
a {
	color: #066eaf; /*#02aaff;*/
	-webkit-text-decoration: underline rgba(50, 50, 50, .3);
	text-decoration: underline rgba(50, 50, 50, .3);
}

a:focus, a:active, a:hover {
	-webkit-text-decoration: underline rgba(50, 50, 50, .6);
	text-decoration: underline rgba(50, 50, 50, .6);
	outline: none;
}

h1 > a, h2:not(.gb-profile-name, .ab-profile-name) > a, h3 > a, h4 > a, h5 > a, h6 > a { /* no decoration of links in headings, only small line on hover */
	color: inherit;
	-webkit-text-decoration: none;
	text-decoration: none;
	text-decoration-thickness: 0px;
}

/* =IMAGES
----------------------------------------------- */

/* =CLEARFIX
----------------------------------------------- */

/* =ALIGNMENT
----------------------------------------------- */

/*****************************************************************/
/*****************************************************************/

/* =BODY
----------------------------------------------- */
body {
	padding-top: 30px;
	padding-bottom: 30px;
}

/* =HEADER
----------------------------------------------- */
#masthead {
}

/* The banner at the top... */
#header-meta {
	background-color: #0393e3;
	border-bottom: 1px solid #0393e3;
	color: #eee;
	font-weight: 500;
	line-height: 2em;
	text-align: center;
}
/* ... and its text */
.small-info-text {
	float: none;
}

#header-text-nav-container {
	border-bottom: 1px solid #EAEAEA;
}
#header-text-nav-wrap {
	padding-top: 15px;
	padding-bottom: 15px;
}
#header-left-section {
	float: left;
	margin-right: 25px;
}
#header-logo-image {
	float: left;
	padding: 0 20px 0 0;
	max-width: 100%;
}
#header-logo-image img {
	margin-bottom: 0px;
}
#header-text {
	float: left;
	padding: 10px 20px 0 0;
}
#site-title a {
	color: #444444;
	font-size: 36px;
}
h1#site-title {
	padding-bottom: 5px;
}
#site-title a:hover {
	color: #02aaff;
}
#site-description {
	line-height: 24px;
	font-size: 16px;
	padding-bottom: 0;
	color: #666666;
}
#header-right-section {
	float: right;
}
#header-right-sidebar {
	overflow: hidden;
}
#header-right-section .widget {
	text-align: right;
	padding-top: 10px;
}
#header-right-section .widget h3 {
	padding-bottom: 5px;
}

.header-image {
	margin-bottom: 0;
	border-bottom: 1px solid #EAEAEA;
	width: 100%;
}

/* =SEARCH WIDGET
----------------------------------------------- */
#masthead .search-wrap input.s {
	width: 130px;
}
.search-wrap button {
	border-radius: 0;
	line-height: 32px;
	margin-bottom: 0;
	margin-left: -6px;
	padding: 0;
	vertical-align: bottom;
}
.search-icon:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 18px/1 'Genericons';
	content: '\f400';
	vertical-align: middle;
	padding: 0 7px;
}


/* =NAVIGATION
----------------------------------------------- */
nav li > ul,
nav li > ol {
	margin: 0;
	list-style: none;
}
.main-navigation {
	float: right;
	padding-top: 5px;
}
.main-navigation li {
	float: left;
	position: relative;
	padding: 0 0 0 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.main-navigation ul li a {
	font-size: 15px;
	line-height: 32px;
}
.main-navigation li.default-menu,
li.default-menu {
	display: none;
}
.main-navigation a {
	color: #222222;
	display: block;
	float: left;
	padding: 16px 0 0;
	height: 30px;
	text-decoration: none;

}
.main-navigation a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor a,
.main-navigation ul li.current-menu-ancestor a,
.main-navigation ul li.current_page_item a,
.main-navigation ul li:hover > a {
	color: #02aaff;
}

.main-navigation .buynowbutton {
	color: #02aaff;
}


/* =DROP DOWN
----------------------------------------------- */
.main-navigation ul li ul,
.main-navigation ul li:hover ul ul,
.main-navigation ul ul li:hover ul ul,
.main-navigation ul ul ul li:hover ul ul,
.main-navigation ul ul ul ul li:hover ul ul {
	display:none;
	z-index: 9999;
}
.main-navigation ul li:hover ul,
.main-navigation ul ul li:hover ul,
.main-navigation ul ul ul li:hover ul,
.main-navigation ul ul ul ul li:hover ul,
.main-navigation ul ul ul ul ul li:hover ul {
	display:block;
}
.main-navigation ul li ul {
	position: absolute;
	background: none repeat scroll 0 0 rgba(255, 255, 255, 0.8);
	border-top: 1px solid #02aaff;
	top: 45px;
	left: 25px;
	width: 150px;
}
.main-navigation ul li ul li {
	float: none;
	border-bottom: 1px solid #EAEAEA;
	padding: 0;
}
.main-navigation ul li ul li a,
.main-navigation ul li.current-menu-item ul li a,
.main-navigation ul li ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor ul li a,
.main-navigation ul li.current-menu-ancestor ul li a,
.main-navigation ul li.current_page_item ul li a {
	float: none;
	line-height: 21px;
	font-size: 13px;
	font-weight: normal;
	height: 100%;
	padding: 6px 10px;
	color: #666666;
}
.main-navigation ul li ul li a:hover, .main-navigation ul li ul li:hover > a, .main-navigation ul li.current-menu-item ul li a:hover {
	background: none repeat scroll 0 0 rgba(255, 255, 255, 1);
	color: #02aaff;
}
.main-navigation ul li ul li ul {
	left: 150px;
	top: -1px;
}
.main-navigation select {
	display: none;
}

/* =SMALL MENU
----------------------------------------------- */
.site-header .menu-toggle {
	padding: 5px 22px;
	margin: 0;
	text-align: right;
}
.site-header .menu-toggle:hover {
	background: transparent;
}
.site-header .menu-toggle:before {
  content: '\2261';
  margin-right: 10px;
}

.site-header .menu-toggle {
	background-color: transparent;
	color: #000;
}

.main-small-navigation {
	float: none;
	padding-top: 0;
	background-color: transparent;
	margin-top: 5px;
}
.main-small-navigation ul {
  margin: 0;
  list-style: none;
}
.main-small-navigation a {
  display: block;
  color: #222;
  padding: 5px 22px;
  text-decoration: none;
}

.main-small-navigation li {
	background: transparent;
	padding-bottom: 0em;
	border-top: .5pt;
	border-top-style: solid;
}

.main-small-navigation a { color: #222; }
.main-small-navigation li { border-top-color: #EAEAEA; }

.main-small-navigation li:hover {
	background: transparent;
}

.main-small-navigation ul,
.main-small-navigation ul > .current-menu-item {
	background: transparent;
	text-align: right;
}

.main-small-navigation ul > .current_page_item {
	font-weight: bold;
}


/* =SECONDARY MENUS
----------------------------------------------- */
.small-menu li {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.small-menu li.default-menu,
li.default-menu {
	display: none;
}
.small-menu a {
	font-size: 10px;
}
.small-menu a:hover,
.small-menu ul li.current-menu-item a,
.small-menu ul li.current_page_ancestor a,
.small-menu ul li.current-menu-ancestor a,
.small-menu ul li.current_page_item a,
.small-menu ul li:hover > a {
	color: #02aaff;
}

/* =FEATURED SLIDER
----------------------------------------------- */
#featured-slider .entry-content {
	padding-top: 5px;
}

#featured-slider .slider-read-more-button {
	background-color: #02aaff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* =SLIDER CONTROLLERS
----------------------------------------------- */
#controllers a:hover, #controllers a.active {
	background-color: #02aaff;
	color: #02aaff;
}

/* =PAGE HEADER TITLE
----------------------------------------------- */
.header-post-title-class {
	font-size: 1.5em;
	text-align: center;
	font-weight: 300;
}

/* =BREADCRUMB NAVXT PLUGIN SUPPORT
----------------------------------------------- */
.breadcrumb a:hover {
	color: #02aaff;
}

/* =CONTENT
----------------------------------------------- */
.widget_service_block a.more-link:hover, .widget_featured_single_post a.read-more:hover {
	text-decoration: underline;
}
.widget-title a {
	color: #444444;
	text-decoration: none;
}
.tg-one-half .widget-title a:hover,
.tg-one-third .widget-title a:hover,
.tg-one-fourth .widget-title a:hover {
	color: #02aaff;
}

.widget_featured_single_post .widget-title,
.widget_featured_single_post p,
.widget_featured_single_post .service-image {
	text-align: left;
}

.widget_featured_post .meta {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* =META
----------------------------------------------- */

/* =NAVIGATION
----------------------------------------------- */

/* =PAGINATION
----------------------------------------------- */
.pagination span {
	background-color: #02aaff;
}
.pagination a span:hover {
	color: #02aaff;
	border-color: #02aaff;
}

/* =TESTIMONIAL WIDGET
----------------------------------------------- */
.widget_testimonial .testimonial-icon:before {
	color: #02aaff;
}
.widget_testimonial .testimonial-post {
	border-color: #02aaff #EAEAEA #EAEAEA #EAEAEA;
}

.widget_testimonial .testimonial-author {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* =CALL TO ACTION WIDGET
----------------------------------------------- */
.call-to-action-content-wrapper {
	border-color: #EAEAEA #EAEAEA #EAEAEA #02aaff;
}
.call-to-action-button {
	background-color: #02aaff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* =MEDIA
----------------------------------------------- */
.wp-caption {
	border: 0px;
	margin-bottom: 1.5rem;
	max-width: 100%;
}

/* =WORDPRESS GALLERY SUPPORT
----------------------------------------------- */
.gallery {
	margin: 0 auto 2em;
}
.gallery .gallery-item {
	float: left;
	display: block;
	background: #fff;
	margin: 10px 1.5% 20px;
	text-align: center;
}
.gallery .gallery-item:hover { }
.gallery .gallery-icon {
	text-align: center;
	padding: 0;
	margin: 0;
	overflow: hidden;
	line-height: 0;
}
.gallery-columns-1 .gallery-item { float: none; text-align: center; width:100%; margin: 10px 0 20px; }
.gallery-columns-2 .gallery-item { width:47%; }
.gallery-columns-3 .gallery-item { width:30%; }
.gallery-columns-4 .gallery-item { width:22%; }
.gallery-columns-5 .gallery-item { width:17%; }
.gallery-columns-6 .gallery-item { width:13.6%; }
.gallery-columns-7 .gallery-item { width:12.25%; margin:10px 1% 10px; }
.gallery-columns-8 .gallery-item { width:10.5%; margin:10px 1% 10px; }
.gallery-columns-9 .gallery-item { width:9.11%; margin:10px 1% 10px; }
.gallery dl a {
	display: block;
}
.gallery dl a img {
	height: auto;
	margin: 0 auto;
}
.gallery .gallery-caption {
	font-size: 14px;
	line-height: 1.2em;
	margin: 10px 0 0;
}
.gallery br+br { display:none; }

/* =COMMENTS
----------------------------------------------- */
#comments h2.comments-title {
	margin-bottom: 10px;
}
.comments-area .comment-edit-link, .comments-area .comment-permalink, .comments-area .comment-date-time, .comments-area .comment-author-link {
	font-size: 0.8em;
}
#content .comments-area article header cite a:hover,
#content .comments-area a.comment-edit-link:hover,
#content .comments-area a.comment-permalink:hover {
	color: #02aaff;
}
.comments-area .comment-author-link a:hover {
	color: #02aaff;
}
.comments-area .comment-author-link span {
	background-color: #02aaff;
}
.comments-area article header .comment-author-link:before,
.comments-area article header .comment-edit-link:before,
.comments-area article header .comment-permalink:before,
.comments-area article header .comment-date-time:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 12px/1 'Genericons';
	vertical-align: middle;
}
.comment .comment-reply-link:hover {
	color: #02aaff;
}
.screen-reader-text { display: none; }
.nav-previous,
.nav-next {
   margin-bottom: 15px;
}
.nav-previous a,
.nav-next a {
   color: #666666;
   padding: 5px 25px;
	cursor: pointer;
   border: 1px solid #EAEAEA;
   font-size: 16px;
	text-decoration: none;
}
.nav-previous a:hover,
.nav-next a:hover {
	color: #02aaff;
	text-decoration: none;
}

/* =COMMENT FORM
----------------------------------------------- */
#respond h3#reply-title #cancel-comment-reply-link {
	margin-left: 10px;
	margin-left: 1rem;
	font-weight: normal;
	font-size: 16px;
	font-size: 1.6rem;
}

/* =WIDGETS
----------------------------------------------- */
#secondary h3.widget-title {
	font-size: 18px;
	line-height: 28px;
	padding-bottom: 15px;
	color: #000;
}

/* =CALENDAR WIDGET
----------------------------------------------- */
#wp-calendar #today {
	color: #02aaff;
}
.widget-title span {
	border-bottom: 1px solid #02aaff;
	padding-bottom: 5px;
}

/* =FOOTER WIDGET AREA
----------------------------------------------- */
.footer-widgets-area a:hover {
	color: #02aaff !important;
}

#colophon, #colophon p {
	font-size: 12px;
	line-height: 14px;
	text-align: center;
}

/* =FOOTER SOCKET AREA
----------------------------------------------- */
.footer-socket-wrapper .copyright a:hover {
	color: #02aaff;
}

/* =SCROLL UP
----------------------------------------------- */
a#scroll-up {
	background-color: #02aaff;
	text-decoration: none;
}

/* =READ MORE LINK
----------------------------------------------- */
.read-more, .more-link {
	font-size: 14px;
	color: #02aaff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* =PRIMARY AND SECONDARY CONTENT AREA
----------------------------------------------- */
#primary {
	float: left;
	width: 71.5763547%;
}
#secondary {
	float: right;
	width: 24.4827586%;
}
.wide-978 #primary, .narrow-978 #primary {
	width: 65.5763547%;
}
.wide-978 #secondary, .narrow-978 #secondary {
	width: 30.4827586%;
}

/* =POST CONTENT
----------------------------------------------- */
#content .post, #content .page, #content .faqconc {
	padding-bottom: 10px;
}
.post .entry-title, .page .entry-title, .faqconc  .entry-title {
	font-size: 1.5em;	/* make that h2 */
	line-height: 1.3em;
	font-weight: 300;
}
.post .entry-title a, .page .entry-title a, .faqconc .entry-title a {
/*	color: #02aaff;*/
	text-decoration: none;
}
.post .entry-title a:hover, .page .entry-title a:hover, .faqconc .entry-title a:hover {
	color: #066eaf;
	text-decoration: none;
}
.entry-content ul {
	list-style: disc;
}
.post .entry-meta, .page .entry-meta, .faqconc .entry-meta {
	border: 0px solid #EAEAEA;
	border-bottom: 1px solid #EAEAEA;
	font-size: 10px;
	color: #666666;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin: 0 0 20px;
}
.post .entry-meta .by-author, .page .entry-meta .by-author, .faqconc .entry-meta .by-author,
.post .entry-meta .date, .page .entry-meta .date, .faqconc .entry-meta .date,
.post .entry-meta .category, .page .entry-meta .category, .faqconc .entry-meta .category,
.post .entry-meta .comments, .page .entry-meta .comments, .faqconc .entry-meta .comments,
.post .entry-meta .edit-link {
	padding: 0px 10px;
	padding-left: 0px;
}
.post .entry-meta .read-more-link {
	padding: 5px 5px;
	background-color: #02aaff;
	float: right;
	border-right: none;
}
.post .entry-meta a, .type-page .entry-meta a {
	color: #666666;
	text-decoration: none;
}
.post .entry-meta a:hover, .type-page .entry-meta a:hover {
	color: #02aaff;
}
.post .entry-meta .by-author:before,
.post .entry-meta .date:before, .page .entry-meta .date:before, .faqconc .entry-meta .date:before,
.post .entry-meta .category:before, .page .entry-meta .category:before, .faqconc .entry-meta .category:before,
.post .entry-meta .comments:before,
.post .entry-meta .edit-link:before, .faqconc .entry-meta .edit-link:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 14px/1 'Genericons';
	vertical-align: middle;
}
.post .entry-meta .by-author:before { content: '\f304'; }
.post .entry-meta .date:before, .page .entry-meta .date:before, .faqconc .entry-meta .date:before { content: '\f307'; }
.post .entry-meta .category:before, .page .entry-meta .category:before, .faqconc .entry-meta .category:before { content: '\f301'; }
.post .entry-meta .comments:before { content: '\f300'; }
.post .entry-meta .edit-link:before, .post .entry-meta .edit-link:before { 	content: '\f411'; }
.single #content .tags {
	margin: 30px 0;
}
.single #content .tags a {
	text-decoration: none;
}
.single #content .tags a:hover {
	color: #02aaff;
	text-decoration: none;
}

/*-- override bottom margins for headings  */
:has(+ h2) {
	margin-bottom: 2.5rem;
}

:has(+ h3) {
	margin-bottom: 2.5rem;
}

:has(+ h4) {
	margin-bottom: 2rem;
}

:has(+ h5) {
	margin-bottom: 2rem;
}

h1:has(+ h2), h3:has(+ h4), h4:has(+ h5), h5:has(+ h6) {
	margin-bottom: 1.5rem;
}

h2:has(+ h3) {
	margin-bottom: .5rem;
}

:has(+ ol) {
	margin-bottom: .75em;
}

/* =RESPONSIVE STRUCTURE
----------------------------------------------- */
@media screen and (max-width: 1308px) {
	#page {
		width: 97%;
	}
	.wide-1218 #page, .wide-978 #page {
		width: 100%;
	}
	.inner-wrap {
		width: 94%;
	}
}

@media screen and (max-width: 1078px) {
	body {
		padding: 15px 0;
	}
}

@media screen and (max-width: 768px) {
	#primary, #secondary {
		float: none;
		width: 100%;
		margin: 0;
	}
	#header-left-section {
		float: none;
		max-width: 100%;
		margin-right: 0px;
	}
	#header-logo-image {
		float: none;
		text-align: center;
		margin-bottom: 0px;
		padding-right: 0;
	}
	#header-text {
		float: none;
		text-align: center;
		padding: 0;
		margin-bottom: 0px;
	}
	#site-description {
		padding-bottom: 5px;
	}
	#header-right-section {
		float: none;
		max-width: 100%;
	}
	#header-right-section .widget {
		padding: 0 0 10px 0;
		float: none;
		text-align: center;
	}
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}
	.alignright {
		clear: both;
		float: none;
		width: 80%;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}

}
@media screen and (max-width: 767px) {
	.tg-one-half, .tg-one-third, .tg-one-fourth {
		float: none;
		width: 100%;
		margin: 0;
	}
	#primary, #secondary {
		float: none;
		width: 100%;
		margin: 0;
	}
   .widget_service_block .tg-one-third {
	  float: none;
	  width: 100%;
	  margin: 0;
   }

   /* on small devices, hide first H1 in content, which duplicates the title */
   h1.wp-block-heading:first-of-type {
		display:none;
   }

   /* With first H1 hidden, move content up a bit */
   #main {
		padding-top: 20px;
   }
}

@media screen and (max-width: 600px) {
	#NBBanner { display:none; }  /* do not show NB banner on smaller screens! */
}

/* print like small screen - append #secondary at bottom */
@media print {
	#primary, #secondary {
		float: none;
		width: 100%;
		margin: 0;
	}

   h1.wp-block-heading:first-of-type {
		display:none; /* first H1 in content duplicates the title */
   }

   #main {
		padding-top: 20px;
   }
}

/* --------------------------*/

/* Navigation menu in a box like sidebar */
.box-menu {
	font-size: 0.9em;
	border-radius: 0px;
	padding: 0.5em 0.5em !important;	/* inset from box' borders */
	line-height: 1.5em;
 
/* 	background-color: rgba(238, 238, 238, 1); */
/* 	border: 1pt solid rgba(204, 204, 204, .5) !important; */
/* 	box-shadow: inset 0 0 4px rgba(150, 150, 150, 0.3); */

}

.box-menu ul {
/*	padding-left: 0.5em;
	text-indent: 0em;
	margin-left: 0em; */
}

.box-menu li {
	list-style-type: none;
	margin-left: .5em;
	text-indent: 0em;
	padding: 0.15em 0 !important;
/*   	border-bottom: 2px !important; */
}

.box-menu a {
	text-decoration: none;
}

/* the current page should be marked somehow */
.box-menu .current_page_item > a {
	color: #000000;
	text-decoration: none;
}

/* add this to make sure all active left menu items get painted black */
.box-menu .current-menu-item > a {
	color: #000000;
	text-decoration: none;
}

/*.box-menu .menu-item-has-children ul li a {
	color: #000000;
	text-decoration: none;
} */


.hidden {
	display: none;
}


/* --- Table of Contents --- */

.TOC li { 
	list-style-type: none; 
}

.TOC ul {
	padding-left: 0em; /*-- left align first level*/
}

/* --- Sidebar --- */

.sidebar {
	font-size: .9em;
	line-height: 1.4em;
	font-style: italic;
	text-align: justify;
	-webkit-hyphens: auto;
	page-break-inside: avoid;
	opacity: .8;

	float: right;
	width: 40%;
	margin: 1em 0em 1em 2em;
	padding: 1em;
	
	background-color: #268bd205; 
	border : .5px solid #aaaaaabb;
	border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
	overflow: hidden;  /*-- this ensures that div does not overlap image */
 }

.sidebar > p { /*-- this is what Markdown converter creates */
	margin-top: 0rem;
	margin-bottom: 0rem;
}


/*-- move sidebar to the center on small screens */
@media screen and (max-width: 630px) {
	.sidebar {
		float: none;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
}

/*-- on larger screens, reduce sidebar's width */
@media screen and (min-width: 1000px) {
	.sidebar {
	}
}

/* --- Callouts --- */
.box,
.hint,
.info,
.note,
.attention,
.alert {
	font-size: .95em;
	line-height: 1.4em;
	text-align: left;
	text-indent: -1em;	/*-- keep text left aligned, with left space for the icon */
	margin: 2em 0em 2em 0em;
	padding: 1.2em;
	padding-left: 3em;
	background-color: rgba(238, 238, 238, 0.1);
	border: 0.5px solid #aaaaaa50;
	overflow: hidden;  /*-- box does not overlap sidebar */
	border-radius: 2px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /*-- subtle shadow for depth */
}

.hint:before,
.info:before,
.note:before,
.attention:before,
.alert:before {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-right: -2px;
	vertical-align: -.125em;
	padding-top: 0px;
}

/*-- make sure that text starts on same line as icon */
/*-- Discount's >%% notation creates <div class="note"><p> */
div.hint > p,
div.info > p,
div.note > p,
div.attention > p
div.alert > p {
	 display: inline;
}

/*-- correct alignment for lists */
.hint ul, .hint ol,
.info ul, .info ol,
.note ul, .note ol,
.attention ul, .attention ol,
.alert ul, .alert ol {
	margin-left: .175em; /* in this box, move lists to left margin */
    margin-bottom: 0.7em;
    padding-left: 1em;
    text-indent: 0em;
}

.hint 				{ background-color: #268bd205;}
.hint:before		{ content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2a7 7 0 0 1 7 7c0 2.7-1.4 4.9-3.5 6.2V18a1 1 0 0 1-1 1h-5a1 1 0 0 1-1-1v-2.8C6.4 13.9 5 11.7 5 9a7 7 0 0 1 7-7z' fill='%23fef9e8' stroke='%23f6e19d' stroke-width='1.5'></path><rect x='9' y='19' width='6' height='2' fill='%23bbb'></rect><rect x='9' y='21' width='6' height='1' fill='%23aaa'></rect></svg>");
}

.info { background-color: #268bd210; }
.info:before		{ content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23268bd2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'></circle><line x1='12' y1='16' x2='12' y2='12'></line><line x1='12' y1='8' x2='12' y2='8'></line></svg>");
}

.note 				{ background-color: #7b53d710; }
.note:before		{ content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b53d7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'></circle><line x1='12' y1='7' x2='12' y2='13'></line><line x1='12' y1='17' x2='12' y2='17'></line></svg>");
}

.attention 			{ background-color: #ff930010; }
.attention:before	{ content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M569.5 440C588 472 564.8 512 527.9 512H48.1c-36.9 0-60-40.1-41.6-72L246.4 24c18.5-32 64.7-32 83.2 0l239.9 416zM288 354c-25.4 0-46 20.6-46 46s20.6 46 46 46 46-20.6 46-46-20.6-46-46-46zm-43.7-165.3l7.4 136c.3 6.4 5.6 11.3 12 11.3h48.5c6.4 0 11.6-5 12-11.3l7.4-136c.4-6.9-5.1-12.7-12-12.7h-63.4c-6.9 0-12.4 5.8-12 12.7z' fill='%23ff9300'/></svg>");
						vertical-align: 0em;
}

.alert 				{ background-color: #be353610; }
.alert:before		{ content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path d='M569.5 440C588 472 564.8 512 527.9 512H48.1c-36.9 0-60-40.1-41.6-72L246.4 24c18.5-32 64.7-32 83.2 0l239.9 416zM288 354c-25.4 0-46 20.6-46 46s20.6 46 46 46 46-20.6 46-46-20.6-46-46-46zm-43.7-165.3l7.4 136c.3 6.4 5.6 11.3 12 11.3h48.5c6.4 0 11.6-5 12-11.3l7.4-136c.4-6.9-5.1-12.7-12-12.7h-63.4c-6.9 0-12.4 5.8-12 12.7z' fill='%23be3536'/></svg>");
						vertical-align: 0em;
}


.box {
	padding: 1.2em;
	text-indent: 0em;
}

.box-blue { /* based on .box, so always use like "box box-blue" */
	border-radius: 4px;
	border: 1px solid #02aaff80;
}

.box-blue-bold { /* based on .box, so always use like "box box-blue" */
	border-radius: 4px;
	border: 3px solid #02aaff80;
}

.box-announce { /* based on .box, so always use like "box box-blue" */
	border-radius: 4px;
	margin: 2em 20% 2em 20%;
	border: 2px solid #02aaff80;
}

/*-- adjust left margin for lists in TOC in sidebar */
.sidebar > .TOC > ul, .sidebar > .TOC > ol {
	margin-left: 0em;
}

.sidebar.TOC, .box.TOC,
div.sidebar > .TOC, div.sidebar > .TOC > #TOC,
div.box > .TOC, div.box > .TOC > #TOC {  /*-- include #TOC in sidebar in formatted document */
	padding-top: .5em;
	padding-left: 1rem;
	padding-right: .5rem;
	padding-bottom: 1em;
	margin-top: 1em;
	margin-bottom: 1em;
	text-align: initial;
	font-style: normal;
}

.sidebar.TOC a, .box.TOC a {
	text-decoration: none;
}

/* Feature sections */
.featurebox {
    background-color: #f0f4f8bb;
    border: .5px solid #e1e5e8;
    padding: 20px 20px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	overflow: hidden;
    margin-bottom: 1em;
	page-break-inside: avoid;
    padding-left: 2.3em;
}

.featurebox p {
   font-size: 1em; /* Regular text size */
}

.featurebox p:last-child {
	margin-bottom: 0px;
}

.featurebox ul, .featurebox ol {
	margin-left: .175em; /* in this box, move lists to left margin */
    margin-bottom: 0.7em;
    padding-left: 1em;
}

.featurebox ul:last-child, .featurebox ol:last-child {
    margin-bottom: 0em;
}

.featurebox h5:before {
	font-size: .9em;
	color: #268bd2; /*-- Solarized Blue */;
	font-style: normal;
	font-weight: 800;
	vertical-align: top;
	content: "〉";
	margin-right: .3em;
    margin-left: -1.3em;
}

@media (prefers-color-scheme: dark)  {
	.featurebox {
		background-color: #f0f4f810; /* Light background for the entire section */
		border: .5px solid #e1e5e850; /* Light border to define the section */
    }
}

/* ------------------------- */
/*     Dark Mode Support     */
/* ------------------------- */
@media (prefers-color-scheme: dark) {
	
	body {
		--nb-main-bg-color:				rgb(47, 49, 48);
		--nb-main-color:				rgb(239, 233, 224);
		--nb-main-border-color:			rgb(64, 66, 67);
		--nb-page-bg-color:				rgb(36, 37, 37);
		--nb-page-box-shadow:			rgba(84, 88, 88, 0.3) 0px 2px 6px;
		--nb-box-bg-color:				rgb(39, 41, 40);
		--nb-block-bg-color:			rgb(42, 44, 44);
		--nb-label-color:				rgb(169, 160, 147);
		--nb-heading-color:				rgb(229, 223, 203);
		--nb-mainmenu-color:			rgb(209, 203, 193);
	}
	
	body {
		background-color: var(--nb-main-bg-color);
		color: var(--nb-main-color);
		border-color: var(--nb-main-border-color);
	}
	
	/* The main page*/
	#page {
		background-color: var(--nb-page-bg-color);
		box-shadow: var(--nb-page-box-shadow);
	}
	
	/* headings */
	h1, h2, h3, h4, h5, h6 {
		color: var(--nb-heading-color);
	}
	
	h5 {
	/*	color: rgb(83, 154, 203); */
		border-bottom-color: rgb(46, 104, 144);
	}

	/* head menu */
	
	/* start page - info boxes */
	.wp-block-atomic-blocks-ab-profile-box, .wp-block-genesis-blocks-gb-profile-box,
	.wp-block-atomic-blocks-ab-testimonial,	.wp-block-genesis-blocks-gb-testimonial,
	.ab-block-pricing-table-inside {
		background-color: var(--nb-block-bg-color) !important;
	}
	
	.ab-profile-name,	.gb-profile-name,
	.ab-profile-title,	.gb-profile-title,
	.ab-profile-text, 	.gb-profile-text,
	.wp-block-atomic-blocks-ab-testimonial, .wp-block-genesis-blocks-gb-testimonial,
	.ab-testimonial-name, .gb-testimonial-name
	{
		color: #C4BDB4 !important;
	}
	
	.wp-block-table.is-style-stripes tbody tr:nth-child(2n+1) {
		background-color: var(--nb-block-bg-color);
	}
	
	/* post title in summary */
	.post .entry-title a,
	.page
	.entry-title a {
		color: rgb(189, 181, 170);
	}
	
	.post .entry-meta,
	.page .entry-meta,
	.faqconc .entry-meta {
		border-color: var(--nb-main-border-color);
		color: var(--nb-label-color);
	}
	
	.post .entry-meta a,
	.type-page .entry-meta a {
		color: var(--nb-label-color);
	}
	
	.wp-block-table.is-style-stripes {
		background-color: transparent;
		border-bottom-color: rgb(62, 65, 65);
	}
	
	hr, hr.thin, post .entry-meta, .page .entry-meta, .faqconc .entry-meta,
	.footer-socket-wrapper, .wp-block-separator, .wp-block-table td, .wp-block-table th {
		border-color: var(--nb-main-border-color);
	}
	
	/* top menu color */
	.main-navigation a,
	#secondary h3.widget-title {
		color: var(--nb-mainmenu-color);
	}
	
	.site-header .menu-toggle {
		background-color: transparent;
		color: var(--nb-mainmenu-color);
	}
	
	.main-small-navigation a { color: #d0c9c0; }
	.main-small-navigation li { border-top-color: #353535; }
	
	/* divider below header */
	#header-text-nav-container,  .header-post-title-container {
		border-bottom-color: var(--nb-main-border-color);
	}
	/* links */
	a {
		color: rgb(100, 181, 228);
		text-decoration-color: rgba(199, 193, 182, 0.3);
	}
	
	/* images a little darker */
	img {
		opacity: 0.95;
	}
	
	dd + dd {
		border-top-color: var(--nb-main-border-color);
	}
	dl {
		border-top-color: rgb(76, 80, 80);
		border-bottom-color: rgb(76, 80, 80);
	}
	
	dd + dt {
		border-top-color: var(--nb-main-border-color);
	}
	
	.previous a, .next a {
		color: var(--nb-label-color);
		border-color: rgb(68, 71, 71);
		background-color: rgb(47, 49, 48);
	}
	
	/* date in post footer */
	.post .entry-meta,
	.page .entry-meta,
	.faqconc .entry-meta {
		color: var(--nb-label-color);
	}
	
	.footer-socket-wrapper {
		background-color: var(--nb-box-bg-color);
	}
	
	/* faq concertina */
	.faq_q {
		background-color: var(--nb-block-bg-color);
		color: rgb(229, 224, 216);
	}
	
	.faq_a {
		background-color: rgb(36, 37, 37);
		color: var(--nb-label-color);
	}
	
	#comments {
		background-color: rgb(36, 37, 37);
	}
	.comment-content {
		background-color: var(--nb-box-bg-color);
	}
	
	blockquote,
	pre,
	.box,
	.box-blue,
	.box-blue-bold,
	.box-announcement,
	.wp-block-quote,
	.comment-content,
	.faq_item {
		border-color: var(--nb-main-border-color);
	}
	
	code {
		background-color: rgba(228, 228, 228, .12);
	}
	
	.wp-block-separator {
		background-color: var(--nb-main-border-color);
	}
	
	.wp-block-quote,
	blockquote {
		border-left-color: rgb(24, 119, 165);
	}
	
	.box, pre {
		background-color: var(--nb-box-bg-color);
	}
	
	/* add this to make sure all active left menu items get painted black */
	.box-menu .current_page_item > a,
	.box-menu .current-menu-item > a {
		color: rgb(229, 224, 216);
	}
	
	/* underline for menus */
	#secondary .widget ul li, #colophon .widget ul li {
		border-bottom-color: var(--nb-main-border-color);
	}
	
	/* contact form */
	input[type="text"], input[type="email"], input[type="password"], input[type="url"], textarea {
		border-color: var(--nb-main-border-color);
		background-color: var(--nb-box-bg-color);
		color: #aaa;
	}
}
