/*
Theme Name: Visible Difference Support Hub
Theme URI: http://www.neilrobertleonard.co.uk
Author: Neil Robert Leonard
Author URI: http://www.neilrobertleonard.co.uk
Description: New Wave WordPress theme
Version: 1
License: Commercial
License URI: license.txt
Tags: journal, white, black, sidebar …
*/


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Styles start here */

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
} 

html {
	height: 100%;
	width: 100%;
	background: white;
}

body {
  	height: 100%;
  	max-width: 1800px;
	background: white;
	overflow:auto;
}

body {
    background-color: white;
    margin: 0px auto;
    font-family: "Open Sans", Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: black;
}

main, #footer-content, #primary-sidebar {
	max-width: 1000px;
	margin: 20px auto;
	padding: 0 20px;
}

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

/* Article */

article {
	padding: 10px 0px;
	margin: 10px 0px;
	clear: both;
	border-bottom: 5px solid #025a69;
	display: block;
	width: 100%;
}

article.article-preview {
	width: 100%;
	float: left;
	display: inline-block;
	overflow: hidden;
}

article h2 {
	margin: 20px 0 0 0;
	clear: both;
	display: block;
	overflow: hidden;
	float: none;
	height: auto;
}

.article-preview-text {
	display: inline-block;
	float: left;
	width: 48%;
	padding-right: 2%;
}

.article-preview-image {
	float: right;
	width: 50%;
	margin: 1.5rem 0px 0px 0px;
	display: inline-block;
}

.article-preview-image img {
	width: 100%;
}

/* End Article */ 

/* Header & Footer */

header, footer {
	max-width: 100%;
	padding: 0px;
	display: block;
	clear: both;
	background-color: red /* #00d084 */;
}

header {
	display: block;
	max-width: 1800px;
	object-fit: contain;
	object-position: bottom left;
	margin: auto;
}

.site-header {
	padding: 20px;
	background-size: cover;
    background-position: bottom center;
    height: 160px;
}

.header-widgets {
	max-width:200px;
	float:right;
	display: block;
	position: absolute;
	top: 50px;
	right: 10px;
	text-align: center;
	z-index: 0;
}

#header-widget-1, #header-widget-2, #header-widget-3 {
	padding: 5px 0;
	margin: 5px auto;
	border-bottom: 1px solid white;
}

.wp-block-search__button {
	font-weight: 600;
	background-color: #025a69;
	color: white;
	border: 0px !important;
}

.wp-block-search__input {
	border: 0px !important;
}

#copyright {
	width: 100%;
	padding: 20px 0px;
	display: block;
	clear: both;
	text-align: center;
}

#copyright a, #copyright h5 {
	color: white;
}

#my-logo {
	width: 300px;
	clear: both;
	position: absolute;
	left: 0;
	padding: 20px 20px 10px 10px;
}

#my-logo img {
	position: relative;
	width: 100%;
}

footer .icon {
	width: 50px !important;
	display: inline-block;
	height: 50px;
}

footer li.jetpack-social-widget-item {
	width: 50px !important;
	display: inline-block;
	height: 50px;
	float: left;
	background: white; 
	margin: 5px;
	border-radius: 3px;
	opacity: 0.7;
}

/* Close Header & Footer */

/* Widgets */

#footer-widgets {
	max-width: 960px;
	margin: 20px auto;
}

#footer-widget {
	width: 25%;
	margin: 4%;
	float: left;
	display: inline-block;
}

footer ol, footer ul {
	list-style-type: none;
	padding: 0px;
	margin: 0;
}

.article-loop {
	border-bottom: 3px solid #025a69;
	width: 100%;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

/* Navigation */

nav {
	display: inline-block;
	clear: both;
	overflow: auto;
    width: 100%;
}

nav {
	width: 100%;
	text-align: left;
	display: block;
	background-color: whitesmoke;
	margin: auto;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

nav ul {
	display: inline;
	list-style: none;
}

nav ul li {
	float: left;
	list-style: none;
	margin-right: 15px;
	font-weight: 600;
}

#menu-toggle {
	display: none;
}

/* Typography */

p, li, ul {
	font-size: 1rem;
	margin: 20px 0;
	font-weight: 400;
	line-height: 1.7;
}

#footer-widget p, footer li {
	font-size: 0.8rem;
	margin: 20px 0;
	font-weight: 400;
	line-height: 1.5;
	color: white !important;
}

#footer-widget a:link, #footer-widget a:visited {
	font-size: 0.9rem;
	margin: 20px 0;
	font-weight: 400;
	line-height: 1.4;
	color: white !important;
}

#footer-widget img {
	box-sizing: border-box;
	max-width: 90%;
	display: block;
	margin: 20px 0px;
	padding: 5%;
	background-color: rgba(255,255,255,0.5);
}

h1 {
	font-family: "PT Sans", sans-serif;	
	font-size: 2rem;
	line-height: 1.4;
	font-weight: 600;
	color: #025a69;
}

h2 {
	font-family: "PT Sans", sans-serif;	
	font-size: 1.6rem;
	line-height: 1.4;
	font-weight: 600;
	color: #025a69;
}

footer h2  {
	font-family: "PT Sans", sans-serif;	
	color: white;
	border-bottom: 1px solid white;
	text-align: left;
}

h3 {
	font-family: "PT Sans", sans-serif;	
	font-weight: 600;
	line-height: 1.4;
	color: #025a69;
	font-size: 1.4rem;		
}

#jp-relatedposts, h3.jp-relatedposts-headline {
	margin: 0 !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	color: #025a69 !important;
	font-size: 1.4rem !important;
}

footer h3 {
	color: white;
	font-family: "PT Sans", sans-serif;	
	border-bottom: 1px solid white;
	text-align: left;
}

#copyright h3 {
	color: white;
	font-weight: 400;
	border-bottom: 0px solid white;
	text-align: center;
}

h4 {
	font-size: 1.2rem;	
}

h5 {
	font-size: 1rem;			
}

h6 {
	font-size: 0.8rem;
}

em {
	font-style: italic;
}

strong {
	font-weight: 700;
}

blockquote, q {
	quotes:'‘' '’';
	font-size: 2.2rem;
	font-style: italic;
	font-family: "Merriweather", serif;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
}

.wp-block-pullquote {
	padding: 20px !important;
	margin: 10px !important;
}

blockquote p {
	font-weight: 400;
	font-style: italic;
	font-size: 1.2rem;
	color: #025a69  !important;
}

cite {
	color: #102A40;
	font-weight: 700;
	font-style: normal;
	color: #025a69  !important;
	font-size: 1.2rem;
	font-style: italic;
	font-family: "Merriweather", serif;
}
.wp-element-caption {
	font-size: 0.8rem !important;
}

.wp-block-file a {
	color: black;
	font-size: 1rem !important;
}

.wp-block-file__button {
	color: white !important;
	padding: 5px 10px;
}

/* Lists */

li {
	margin-left: 20px;	
	color: #102A40;
}

ul {
	list-style-type: disc;
	margin-bottom: 10px;
}

ol {
	list-style-type: disc;
	margin-bottom: 10px;
}

.categories {
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.categories p {
	margin: 0px;
	font-size: 0.8rem;
	font-weight: 400;
}

.tags {
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.tags p {
	margin: 0px;
	font-size: 0.8rem;
	font-weight: 400;
}

/* Links */

a:link, a:visited {
	color: #025a69;
}

a:hover, a:active {
	text-decoration: underline;
	color: #ACD4A9;
}


/* More-Previous */

.more-previous {
	width: 100%;
	display:block;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.more-previous h6 {
	font-size: 1rem;
	font-weight: 600;
	padding:5px;
	margin: 5px 0;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.float-left a {
	float: left;
	border: 5px solid #025a69;
	padding:5px;
	margin: 15px 0;
	color: #025a69;
}

.float-right a {
	float: right;
	border: 5px solid #025a69;
	padding:5px;
	margin: 15px 0;
	color: #025a69;
}

#to-top {
	position: fixed;
	bottom: 45px;
	right: 20px;
	color: black;
	text-align: center;
}

#to-top h6 a {
    width: 60px;
    height: 60px;
    display: flex;
    border-radius: 50%;
    justify-content: center;
    align-items: center; 
	font-size: 32px;
	background-color: #ACD4A9;
	color: black;
	text-decoration: none;
}

.wp-block-media-text.white-png img  {
	padding: 20px !important;
	background: #cdcdcd !important;
}

summary::marker {
	font-size: 1rem;
	margin-bottom: 20px;
	color: #025a69;
}

summary#text {
	font-size: 1rem;
	margin-bottom: 20px;
	color: #025a69;
}

#icons {
	display: none;
}

#searchform {
	width: 100%;
}

#searchsubmit {
	padding: 10px;
	font-size: 1rem;
}

#s {
	padding: 10px;
}

#google_translate_element {
	background: rgba(255, 255, 255, 0.75);
	padding: 5px;
}

/* Menu */

@media (max-width: 768px) {

nav ul li {
	float: none;
	margin: auto;
	list-style: none;
	margin-right: 0;
	clear: both;
}
	
/* Hamburger container */
.hamburger-menu {
    position: relative;
    width: 100%;
    z-index: 9999;
}

/* Hide checkbox */
#menu-toggle {
    display: none;
}

/* Hamburger button */
.hamburger-icon {
    display: block;
    width: 35px;
    padding: 8px;
    margin-left: auto;
    cursor: pointer;
}

/* Hamburger lines */
.hamburger-icon span {
    display: block;
    height: 3px;
    margin: 6px 0;
    background: #222;
    border-radius: 3px;
    transition: 0.3s;
}

/* Menu */
.mobile-menu {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

.mobile-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-menu a {
    display: block;
    padding: 15px 20px;
    color: #222;
    text-decoration: none;
}

.mobile-menu a:hover {
    background: #f5f5f5;
    color: #0073aa;
}

/* Open menu */
#menu-toggle:checked ~ .mobile-menu {
    display: block;
}

/* Animate hamburger into X */
#menu-toggle:checked + .hamburger-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#menu-toggle:checked + .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + .hamburger-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

}

/* media query */

@media screen and (max-width: 750px) {
   	#footer-widgets, #footer-widget-1, #footer-widget-2, #footer-widget-3, #footer-widget, .sidebar, .content-area {
        	width: 90%;
			margin: 0 5%;
			float: none;
			display: block;
			padding: 20px 0px;
    }
	#my-logo {
			width: 250px;
	}
	article {
			margin: 10px 0;
	}
	nav#pojo-a11y-toolbar {
			background-color: transparent !important;
			width: 0px;
			text-align: left;
	}
	.article-preview {
			position: relative;
			display: f3block;
			overflow: visible;
	}

	.article-preview-text {
			display: block;
			float: none;
			width: 90%;
			padding-right: 2%;
	}
	.article-preview-image {
			float: none;
			background: #efefef;
			width: 90%;
			margin: 20px 0px 0px 0px;
			padding: 5px;
			position: relative;
			overflow: hidden;
			object-fit: cover;
			object-position: center center;
			display: block;
	}
}