/*
Theme Name: BlueGray
Theme URI: https://www.guido.site/themes
Version: 7.9
Requires PHP: 7.0
Requires at least: 5.2
Tested up to: 6.7
Author: Guido
Author URI: https://www.guido.site
Description: BlueGray is a lightweight and mobile friendly WordPress theme. A post and page template with or without sidebar is included, as well as multiple widget areas. For theme settings go to the Customizer in your dashboard.
Tags: one-column, two-columns, right-sidebar, custom-background, custom-header, custom-menu, featured-images, footer-widgets, post-formats, sticky-post, blog, editor-style, microformats, translation-ready
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: bluegray

This theme, like WordPress, is licensed under the GPL.
*/

/* RESET STYLESHEET */
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-family:inherit;
	font-size:100%;
	font-style:inherit;
	font-weight:inherit;
	vertical-align:baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, 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;
}

/* HTML */
html {-webkit-text-size-adjust:100%;}

/* BODY */
body {background:#eee; color:#333; font-family:Verdana, Arial, sans-serif; font-size:16px; line-height:1.5; text-align:left; word-wrap:break-word;}

/* CONTAINER */

/* CLEARINGS */
#header-first:after, #header-second:after, #homepage-widgets:after, #main-content:after, .post-content:after, .page-content:after, .post-nav:after, .comment:after, .comment-nav:after, #footer-widgets:after {content:''; display:block; height:0; clear:both;}

/* HEADINGS */
h1 {clear:both; margin:0 0 10px; font-size:2.2em; line-height:1.25;}
h2 {clear:both; margin:0 0 10px; font-size:1.75em; line-height:1.25;}
h3 {clear:both; margin:0 0 10px; font-size:1.45em; line-height:1.5;}
h4 {clear:both; margin:0 0 10px; font-size:1.2em; line-height:1.5;}
h5 {clear:both; margin:0 0 10px; font-size:1em; line-height:2;}
h6 {clear:both; margin:0 0 10px; font-size:0.8em; line-height:2;}

/* LINKS AND HTML TAGS */
a {text-decoration:none; color:#00aaff;}
a:hover {text-decoration:underline;}

strong, b {font-weight:bold;}
small {font-size:0.8em;}
big {font-size:1.2em;}
sub {vertical-align:sub; font-size:0.9em;}
sup {vertical-align:super; font-size:0.9em;}
ins, mark {font-weight:bold; background:none; text-decoration:none; color:#00aaff;}
cite, em, abbr, acronym {font-style:italic;}
code, kbd, samp, var {font-family:monospace, monospace;}
pre {font-family:monospace, monospace; white-space:pre-wrap;}
blockquote, q {margin:0 0 10px; padding:0 0 0 20px; display:block; font-size:1.2em; font-style:italic; border-left:2px solid #00aaff;}
address {margin:0 0 10px; font-style:italic;}
p {margin:0 0 10px;}
hr {height:1px; background:#ddd; border:0; margin:15px 0;}

/* ALIGNMENTS */
.alignright {float:right; display:inline; margin-left:1em;}
.alignleft {float:left; display:inline; margin-right:1em;}
.aligncenter {clear:both; display:block; margin-left:auto; margin-right:auto;}

/* TABLE AND LISTS */
table {margin:0 0 10px; border-collapse:collapse;}
table, th, td {border:1px solid #ddd; padding:5px 10px;}
table th {font-weight:bold;}

ul {list-style:square; margin:0 0 10px;}
ol {list-style:decimal; margin:0 0 10px;}
li {margin:0 0 0 20px;}
li > ul, li > ol {margin:0;}
dl {margin:0 0 10px;}
dt {font-weight:bold;}
dd {margin:0 0 0 20px;}

/* INPUTS */
input, select, textarea {-webkit-appearance:none; -moz-appearance:none; border:1px solid #ddd; border-radius:0; padding:5px; background:none; color:#333; font-size:inherit; font-weight:normal; font-family:inherit;}
input[type="submit"], input[type="reset"], input[type="button"], button {cursor:pointer; border:0; padding:5px; background:#00aaff; color:#fff;}
input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, button:hover {background:#333;}
input[type="checkbox"] {-webkit-appearance:checkbox; -moz-appearance:checkbox;}
input[type="radio"] {-webkit-appearance:radio; -moz-appearance:radio;}
select {-webkit-appearance:menulist; -moz-appearance:menulist; max-width:100%; background:#fff; color:#333;}
button {font-size:inherit; font-weight:normal; font-family:inherit;}

/* INPUTS ON DARK BACKGROUND */
#footer input, #footer textarea {border:1px solid #ddd; color:#ddd;}
#footer select {border:1px solid #ddd;} 
#footer input[type="submit"], #footer input[type="reset"], #footer input[type="button"], #footer button {border:0; background:#ddd; color:#333;}
#footer input[type="submit"]:hover, #footer input[type="reset"]:hover, #footer input[type="button"]:hover, #footer button:hover {background:#fff; color:#333;}

/* TEXT FOR SCREEN READERS */
.screen-reader-text {position:absolute; overflow:hidden; height:1px; width:1px; margin:-1px; padding:0; clip:rect(1px, 1px, 1px, 1px); clip-path:inset(50%); word-wrap:normal;}

/* SKIP TO CONTENT LINK */
.skip-link {top:0; left:0;}
.skip-link:focus {display:block; height:auto; width:auto; top:5px; left:5px; padding:10px; clip:auto; clip-path:none; background:#f8f8f8; color:#21759b; text-decoration:none; z-index:100000;}

/* HEADER FIRST */
#header-first {max-width:1160px; margin:0 auto; padding:20px;}

/* HEADER FIRST LOGO */
.logo {text-align:center;}
.site-title-tagline {clear:both;}
.site-title {margin:0;}
.site-title a:hover {text-decoration:none; color:#333;}
.site-tagline {font-size:1.45em;}

/* HEADER SECOND */
#header-second {clear:both; text-align:center;}

/* HEADER SECOND MENU */
.nav-head-container {background:#333;}
.nav-head {max-width:1160px; margin:0 auto; padding:0 20px;}
.nav-head ul {margin:0; padding:0; z-index:999; list-style:none;}
.nav-head ul li {display:inline-block; position:relative; margin:0 10px; padding:0;}
.nav-head ul li a {display:block; padding:10px 0; background:none; color:#ddd; text-decoration:none;}
.nav-head ul li a:hover {text-decoration:underline;}
.nav-head .current-menu-item > a, .nav-head .current-menu-parent > a {text-decoration:underline;}

/* HEADER SECOND SUBMENU */
.nav-head ul ul {height:0; width:12em; position:absolute; top:100%; background:#00aaff; text-align:left; overflow:hidden; visibility:hidden;}
.nav-head ul ul ul {top:0; left:100%;}
.nav-head ul ul li {display:block; margin:0;}
.nav-head ul ul a {padding:5px 10px; color:#fff;}
.nav-head ul li:hover > ul {height:auto; overflow:visible; visibility:visible;}
.nav-head ul li:focus-within > ul {height:auto; overflow:visible; visibility:visible;}

/* HEADER SECOND MOBILE MENU */
.mobile-nav-container {display:none;}
.mobile-nav-toggle {display:none;}
.mobile-nav {display:none;}

/* HEADER SECOND HEADER IMAGE */
.header-img {width:100%; height:auto; display:block;}

/* MAIN CONTENT CONTAINER */
#main {clear:both; max-width:1160px; margin:0 auto; padding:20px 20px 0;}

/* HOMEPAGE CONTENT */
#homepage-content {padding:0 0 20px;}

/* HOMEPAGE WIDGET AREA */
#homepage-widgets {border-bottom:1px solid #ddd;}
.home-left {width:32%; min-height:20px; float:left;}
.home-middle {width:32%; min-height:20px; float:left; margin:0 2%;}
.home-right {width:32%; min-height:20px; float:left;}

/* MAIN CONTENT AREA */
#main-content {clear:both;}

/* PAGE AND POST CONTENT AREA */
#content {width:68%; float:left; padding:0 0 20px;}
#content-full {padding:0 0 20px;}

/* PAGE */
.page-title {margin:0 0 20px;}
.page-content {padding:0 0 10px;}
.blog-page-text {padding:0 0 20px;}
.archive-description {padding:0 0 10px; font-style:italic;}
.pagelink {clear:both; padding:10px 0;}

/* POST */
.post-list {margin:0 0 20px; border-bottom:1px solid #ddd;}
.post-single {padding:0 0 10px;}
.post-title {margin:0 0 20px;}
.post-title a:hover {text-decoration:none; color:#333;}
.post-content {padding:0 0 20px;}
.sticky-title {margin:0 0 10px; font-weight:bold; font-style:italic;}
.post-meta {clear:both; margin:0 0 20px; padding:5px 10px; border:1px solid #ddd;}

/* READ MORE */
.more {clear:both; padding:0 0 20px; text-align:right;}
a.read-more {display:inline-block; padding:5px; background:#00aaff; color:#fff; text-decoration:none;}
a.read-more:hover {background:#333; text-decoration:none;}

/* POST FORMATS */
.format-aside .post-meta, .format-image .post-meta, .format-video .post-meta, .format-gallery .post-meta, .format-audio .post-meta {font-style:italic;}

/* POST NAV */
.post-nav {clear:both;}
.nav-prev {float:left; padding:5px 0;}
.nav-next {float:right; padding:5px 0;}

/* EDIT LINK */
.edit-link {clear:both; padding:20px 0; font-weight:bold; font-style:italic;}

/* IMAGE AND VIDEO */
embed, iframe, object, video {max-width:100%;}
img {max-width:100%; height:auto;}

img.alignright {float:right; margin:0.4em 0 0.4em 1em;}
img.alignleft {float:left; margin:0.4em 1em 0.4em 0;}
img.aligncenter {clear:both; display:block; margin:0.4em auto 0.4em auto;}

.list-image, .single-image {float:left; margin:0.4em 1em 0.4em 0;}

.wp-caption {max-width:100%;}
.wp-caption-text {text-align:center;}

.gallery-item {margin:0 0 10px !important;}
.gallery img {border:0 !important;}
.gallery-caption {margin:0 !important;}

/* SEARCH FORM */
.search-form {padding:10px 0;}

/* COMMENTS */
#comments {padding:0 0 10px;}
.comment-list, .comment-list .children {list-style:none; margin:0; padding:0;}
.comment-list li {margin:0; padding:0;}
.comment-list > li {margin:0 0 20px; padding:15px; background:#f8f8f8; border:1px solid #ddd;}
.comment-list .children > li {margin:15px 0 0 15px; padding:15px 0 0; border-top: 1px solid #ddd;}
.comment-content {padding:10px 0;}
.comment-metadata .edit-link {clear:none; padding:0 0 0 10px; display:inline-block;}
.comments-title, .no-comments {margin:0 0 10px; font-size:1.45em;}
.comment-author .avatar {margin:0 10px 0 0; border-radius:5px;}
.comment-metadata {padding:5px 0 0;}
.bypostauthor > .comment-body .comment-content {font-style:italic;}
.comment-awaiting-moderation {font-style:italic;}

/* COMMENTS RESPOND */
#respond {padding:10px 0;}
.comment-reply-title {margin:0 0 10px; font-size:1.45em;}
#cancel-comment-reply-link {padding:0 0 0 10px;}
.comment-notes {padding:5px 0; font-size:0.8em;}
.comment-form label {display:block;}
.comment-form textarea {width:90%;}
.comment-form-cookies-consent label {display:inline-block;}

/* COMMENTS NAV */
.comment-nav {clear:both;}
.comment-prev {float:left; padding:10px 0;}
.comment-next {float:right; padding:10px 0;}

/* SIDEBAR */
#sidebar {width:30%; float:right;}

/* WIDGETS */
.widget {margin:0 0 20px; padding:15px 20px; background:#f8f8f8; border:1px solid #ddd;}
.widget-title {margin:0 0 10px; padding:0 0 5px; color:#00aaff; border-bottom:2px solid #00aaff;}

/* FOOTER */
#footer {clear:both; background:#333; color:#ddd;}
#footer a {color:#ddd;}
.site-info {clear:both; max-width:1160px; margin:0 auto; padding:20px; text-align:center;}

/* FOOTER WIDGET AREA */
#footer-widgets {max-width:1160px; margin:0 auto; padding:20px;}
.footer-left {width:32%; min-height:20px; float:left;}
.footer-middle {width:32%; min-height:20px; float:left; margin:0 2%;}
.footer-right {width:32%; min-height:20px; float:left;}
#footer .widget {padding:0; background:none; border:0;}
#footer .widget-title {padding:0; color:#ddd; border:0;}

/* MOBILE */
@media screen and (max-width:767px) {
	/* BODY */
	body.custom-background {background-image:none !important;}

	/* HEADER SECOND MENU */
	.nav-head-container {display:none;}
	.nav-head {display:none;}

	/* HEADER SECOND MOBILE MENU */
	.mobile-nav-container {display:block; clear:both; padding:0 20px 30px; text-align:left;}
	.mobile-nav-toggle {display:block; margin:0 auto; padding:10px 15px;}
	.mobile-nav {padding:10px 20px; background:#f8f8f8; border-bottom:1px solid #ddd;}
	.mobile-nav .subnav-toggle {position:absolute; float:right; display:block; top:0; right:0; padding:5px 10px;}
	.mobile-nav ul {list-style:none; margin:0; padding:0;}
	.mobile-nav ul li {position:relative; margin:0; padding:0;}
	.mobile-nav ul li a {display:block; margin:0 0 10px; padding:0 0 10px; border-bottom:2px dotted #ddd; line-height:2; text-decoration:none;}
	.mobile-nav .sub-menu li {margin:0 0 0 20px;}

	/* HEADER SECOND HEADER IMAGE */
	.header-img {min-height:150px; object-fit:cover; padding:0 0 40px;}

	/* MAIN CONTENT CONTAINER */
	#main {padding:0 20px;} 

	/* HOMEPAGE WIDGET AREA */
	#homepage-widgets {margin:0 0 20px; padding:0 0 20px;}
	.home-left, .home-middle, .home-right {width:100%; min-height:0; clear:both; margin:0;}

	/* PAGE AND POST CONTENT AREA */
	#content, #content-full {width:100%; padding:0 0 30px;}

	/* IMAGES */
	.list-image, .single-image {max-width:50%;}

	/* SIDEBAR */
	#sidebar {width:100%; clear:both; float:left; padding:0 0 20px;}

	/* FOOTER WIDGET AREA */
	.footer-left, .footer-middle, .footer-right {width:100%; min-height:0; clear:both; margin:0;}
}