/*
Theme Name: CellarWeb 2021 Danny
Theme URI: https://cellarweb.com
Author: Rick Hellewell / CellarWeb.com
Author URI: https://cellarweb.com
Description: A theme with a very clean and simple design for blog-heavy content. No intensive graphics, but responsive for all screens. Uses the CKEditor 4 (included) for comment box. Nothing fancy here, just plain old content in a clean visual clook. Uses standard WP core features and templates with minimal tweaking. Best for text-based blogs that might include a lively discussion area. Sidebar support.
Copyright:  Copyright (c) 2021, Rick Hellewell / CellarWeb.com
Version: 1.18
Requires at least: 5.0
Tested up to: 5.8
Requires PHP: 5.6

License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: CW_Danny
Tags: blog grid two-columns right-sidebar custom-header custom-logo custom-menu theme-options
*/

/* Template files based on https://websitesetup.org/wordpress-theme-development/
*/
/* Google fonts via import (prior to version 1.11) */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Roboto&display=swap');  */

/* Google fonts via import with 400/700/normal/italic variations (version 1.12 +) */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Imported from additional CSS; needs to be merged */

/* Note that CKEditor CSS is in the ckeditor/ckeditor folder */

body {
	font-family: 'Open+Sans', 'Roboto', 'Lato', sans-serif;
	line-height: 1.3em;
	font-size: 1.1em;
	font-weight: 300;
	overflow-wrap: anywhere !important;   /* force break unbreakable strings */
}

a {
	color: #0070ff;
}

a:visited {
	color: gray;
	text-decoration: underline;
}

a:hover {
	color: purple;
}

/* added - for horizontal menu */
/* MENU AREA */
.menu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
}

.menu li {
	display: inline;
	padding: 5px 20px 5px 20px;
}

.menu a {
	text-decoration: none;
	color: #0070ff;
}

.menu a:hover {
	color: purple;
}

/* end added horizontal */
/* Imported from additional CSS - end */



textarea {
	margin: 0;
	border: 1px solid black;
	padding: 8px;
	width: 90%;
}

h5 {
	font-size: 80%;
	font-weight: normal;
	margin: 0;
}

p {
	line-height: 1.2em;
	padding-bottom: .2em;
	overflow-wrap: anywhere !important;   /* force break unbreakable strings */
}
* > q, p > q {        /* adjust for when when people manually put a q in a paragraph */
	line-height: 160%;
	border-left: none;
	padding-left: 0;
	margin-left: 0;
	border-left:none;	/* overrides the left blue bar for inline 'q' quotes */
}
.font_buttons_standalone {
	background-color: none;
}

.font_buttons {
  /*	background-color: cyan;  */
	background-color: rgb(0, 113, 133);
	color: white;
}

/* MENU AREA */

/* TEXT coloring */
.text_red {
	color: red;
}

/* TEXT coloring end */

/* HEADER area start */
header {
	width: 85%;
}

.site-header {
	width: 90%;
	border-bottom: 2px solid
	background-color: cyan;
	margin-left: 10%;
}

.header_image {
	/* resizes header image keeping ratio */
	width: 98%;
	height: auto;
}

.header_site_info {
	/* for site info under header */
	text-align: center;
}

/* HEADER area end */


.site-title {
	font-size: 2rem;
  		 font-weight:700;
	margin-bottom: .25rem;
	line-height: 1;
	text-align: center;
}

.site-title a {
	text-decoration: none;
	color: black;
}

.site-description {
	margin-top: 0;
	color: #8e8e8e;
	text-align: center;
}
.page-title {
	font-size: 140%;
	font-weight: 400;
	text-indent: 30px;
}
.menu {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin-right: 2%;
	margin-bottom: 5px;
}

.menu ul {
	list-style: none;
	padding: 0;
}

.menu ul li a {
	text-decoration: none;
	color: #696969;
}

.menu ul li a:hover {
	text-decoration: underline;
	color: #000;
}

/* POST TITLE area start */
.entry-header {
	background-color:#AFEEEE;
	border: 1px solid #fff;
	-webkit-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	   -moz-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	        box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	border: 1px solid lightgray;
	width: 100%;
	padding-top: 0;
	margin-top: 5px;
	padding-bottom:5px;
	margin-bottom: 30px;
}
.entry-title {
	margin: 12px auto;
	line-height: normal;
	padding-left: 10px;
}

.entry-title a, .entry-title a:visited {
	color: black;
	font-weight:400;
	text-decoration: none;
	margin-top: 0;
	margin-left: 8px;
	margin-bottom: 5px;
}
/*
.entry-title a:visited {
	color: red;
}*/

.search_results_heading {
	padding: 10px 5px;
	background-color: #b9f1b9;
	border: 1px solid #fff;
	-webkit-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	   -moz-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	        box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	border: 1px solid lightgray;
	width: 100%;
	margin-top: 5px;
	margin-bottom: 30px;
	text-align: center;
	font-weight: normal;
	margin-left: 10%;
}

/* POST TITLE area end */

/* POST META start */
.meta {
	margin-left: 20px;
	font-size: 90%;
}
.meta-nav {
	color:red;
	text-decoration: none;
}

/*
.meta-nav b, .meta-nav strong{
	text-decoration:none;
}
*/
.avatar {
	color: #d6d6d6;
	margin-right: 20px;
	border: 1px solid #fff;
	-webkit-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	   -moz-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	        box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	z-index: 10;
	height: 48px;
	width: 48px;
	float: inline-start;    /* allows text to wrap around avatar */
}

/* POST META end */

/* general styles */
.site-content {
	width: 60%;
	float: left;
	margin-left: 10%;
	margin-right: 20px;
	border-right: 1px solid black;
	padding-right: 2%;
	padding-right: 2%;
}

article {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.widgettitle {
	border-top: 2px solid;
	border-bottom: 1px solid #ccc;
	padding: .25rem 0;
	font-size: 1.25rem;
}

.widget {
	list-style: none;
	margin-top: 2em;
	font-size: 14px
	margin-bottom: 3rem;
}

.wp-calendar-table a {
	/* links in the calendar widget   */
	color: darkgreen;
	background-color: lightgray;
	padding: 2px 3px;
}

label {
	display: contents;
}

sarcasm {        /* version 1.17 */
	color:#990033;
}

/* COMMENTS area */
.comment-list {
	list-style: none;
}

/* COMMENTS end */

.commentlist {
	list-style: none;
	padding-left: 0;
}

.comment-meta {
	padding-left: 6%;
	padding-left: 30px;
}

span#email-notes {
	margin-left: 4%;
}

.recentcomments {
	text-indent:10px !important;
}

.recentcomments a {
	color:#0070ff;
}
.recentcomments a:visited {
	color:darkgray;
}
.comment-author-link {
	color:black;
}
/* for the Better Recent Comments plugin, to put date inline, rather than on separate line */
.recent-comments-list .comment-excerpt+.comment-date, .recent-comments-list .comment-post+.comment-date, comment-date {
	display: inline !important;
}
.comment-wrap {
	text-indent: 10px !important;
	line-height: 1.2em !important;
}
/* COMMENT FORM CSS
    partially from https://www.wpbeginner.com/wp-themes/how-to-style-wordpress-comment-form/
*/
.comment-body {
	border-bottom: 1px solid grey;
	margin-bottom: 20px;
}

.comment-meta.commentmetadata a {
	color: green;
	text-decoration: none;
	font-weight: normal;
	font-size: 80%;
	margin-left: 5%;
}

.comment-meta.commentmetadata a:visited {
	color: #8dd4eb;
}

#respond {
	background: #fbfbfb;
	padding: 3px 0 3px 3px;
	margin: 5px 1px 22px 0;
	padding: 8px 15px;
	background-color: lightcyan;
	border: 1px solid lightgray;
	-webkit-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	   -moz-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	        box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
}

/* Highlight active form field */

#respond input[type=text], textarea {
	-webkit-transition: all .30s ease-in-out;
	   -moz-transition: all .30s ease-in-out;
	    -ms-transition: all .30s ease-in-out;
	     -o-transition: all .30s ease-in-out;
	outline: none;
	padding: 3px 0 3px 3px;
	margin: 5px 1px 3px 0;
	border: 1px solid #ddd;
}

#respond input[type=text]:focus, input[type=email]:focus, input[type=url]:focus, textarea:focus {
	box-shadow: 0 0 5px rgba(81, 203, 238, 1);
	margin: 5px 1px 3px 0;
	border: 2px solid rgba(81, 203, 238, 1);
}













#comment
#submit {
	background:    -moz-linear-gradient(top, #44c767 5%, #5cbf2a 100%);
	background: -webkit-linear-gradient(top, #44c767 5%, #5cbf2a 100%);
	background:      -o-linear-gradient(top, #44c767 5%, #5cbf2a 100%);
	background:     -ms-linear-gradient(top, #44c767 5%, #5cbf2a 100%);
	background:         linear-gradient(to bottom, #44c767 5%, #5cbf2a 100%);
	background-color: #44c767;
	   -moz-border-radius: 28px;
	-webkit-border-radius: 28px;
	        border-radius: 28px;
	border: 1px solid #18ab29;
	display: inline-block;
	cursor: pointer;
	color: #fff;
	font-family: Arial;
	font-size: 17px;
	padding: 16px 31px;
	text-decoration: none;
	text-shadow: 0 1px 0 #2f6627;
}

#submit:hover {
	background: -webkit-gradient(linear, left top, left bottom, color-stop(.05, #5cbf2a), color-stop(1, #44c767));
	background:    -moz-linear-gradient(top, #5cbf2a 5%, #44c767 100%);
	background: -webkit-linear-gradient(top, #5cbf2a 5%, #44c767 100%);
	background:      -o-linear-gradient(top, #5cbf2a 5%, #44c767 100%);
	background:     -ms-linear-gradient(top, #5cbf2a 5%, #44c767 100%);
	background:         linear-gradient(to bottom, #5cbf2a 5%, #44c767 100%);
	background-color: #5cbf2a;
}

#submit:active {
	position: relative;
	top: 1px;
}



.required {
	color: red;
}













.form-submit

.comment-policy {
	background-color: lightcyan;
	padding: 5px 15px;
	text-align: center;
	border: 1px solid #fff;
	-webkit-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	   -moz-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	        box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
}

.comments-title {
	font-weight:400;
	font-size:120%;
	line-height: initial;
	background-color: lightcyan;
	padding: 5px 15px;
	border: 1px solid #fff;
	-webkit-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	   -moz-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	        box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
}

.comment-policy {
	font-size:85%;
}


.comment_box {
	vertical-align: baseline;
}

#submit {
	font-size: 110%;
	background-color: #b9f1b9;
	-webkit-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	   -moz-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	        box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	border-radius: 8px;
	padding: 2px 10px;
}

/* COMMENT FORM CSS END */



/* SIDEBAR area */
.sidebar {
	/*    background-color:lightcyan;   */
	padding-left: 10px;
}

.sidebar-container {
	width: 25%;
	float: right;
	list-style: none;
	margin-top: 2em;
	padding-left: 1em;
	font-size: 80%;
	margin-left: 3px;
}

.sidebar-inner {
	/*   background-color:#FFDEAD;   */
}

.widget-area {
	padding-right: 2em;
}

aside {
	background-color: #b9f1b9;
}

.widget-title {
	background-color: #b9f1b9;
	text-align: center;
	border: 1px solid #fff;
	-webkit-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	   -moz-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	        box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
}

/* SIDEBAR area end */

/* COMMENT WIDGET fixes */
.wp-block-latest-comments__comment-excerpt {
	/* hides comment excerpt */
	display: none;
	width: 0;
	height: 0;
}

.avatar.avatar-48.photo.wp-block-latest-comments__comment-avatar {
	/* hides comment avatar */
	display: none;
	width: 0;
	height: 0;
}

.widget_recent_comments #recentcomments {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

/* COMMENT WIDGET fixes end */

/* CALENDAR (classic) WIDGET fixes */
#wp-calendar {
	width: 90%;
}

.wp-calendar-table caption {
	background-color: lightcyan;
	font-size: 110%;
	 font-weight:700;
}

/* CALENDAR (classic) widget fixes end */

/* IMAGES / GALLERY start */
.attachment-thumbnail.size-thumbnail {
	border: 1px solid #fff;
	-webkit-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	   -moz-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	        box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
}

/* IMAGES / GALLERY end */

/* NEXT/PREV box */
.navigation.post-navigation {
	border: 1px solid #fff;
	-webkit-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	   -moz-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	        box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	margin-top: 2%;
	margin-bottom: 2%;
	padding: 8px 15px;
	padding-bottom: 8px;
	background-color: #b9f1b9;
	padding-bottom: 10px;
}

.navigation.post-navigation a {
	color: black;
	font-weight: lighter;
}

.nav-links {
	margin: 8px;
/*	-webkit-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	   -moz-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	        box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	background-color: #b9f1b9;*/
	padding: 0;
}

.nav-links a {
	color: black;
}

.next_prev {
	border: 1px solid black;
	padding: 1% 1%;
	margin: 3% 0;
	-webkit-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	   -moz-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	        box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	background-color:#AFEEEE;
}

.next_prev h4 {
	margin-top: 0;
	margin-bottom: 1%;
}

.next_prev a {
	color: #0070ff;
}
.next_prev a:visited {
	color:gray;
	}
.next_prev_line_p {     /* line of text in the next/prev links (inside a p tag) */
}


/* FOOTER area */
footer {
	font-size: 80%;
	text-align: center;
	margin: 3% auto;
	padding: 10px 0 10px 0;
	background: #afeeee;
	clear: both;
	-webkit-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	   -moz-box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	        box-shadow: 4px 4px 4px 0 rgba(128,123,128,1);
	width: 90%;
}

/* BLOCKQUOTE */
blockquote, q {
	background-color: lightcyan;
	margin: 20px 0 30px 25px;
	border-left: 5px solid;
	border-color: #2ea3f2;
	padding-top: 8px;
	padding-bottom: 5px;
	padding-left: 20px;
	quotes: none;
	line-height:inherit;
}

b, strong {
	 font-weight:700;
}

blockquote strong, blockquote b {
	 font-weight:700;
}

blockquote em, blockquote i {
	font-style: italic;
}

/* BLOCKQUOTE END */

/* TINYMCE */
.ed_button {
	margin-right: 8px;
	padding: 0 10px;
}

/* TINYMCE end */



/* RESPONSIVE MODS - start */
@media screen and (max-width: 1200px) {
	body, p {
		overflow-wrap: anywhere !important;   /* force break unbreakable strings */
	}

	#pagewrap, .customize-support {
		width: 100%;
	}

	.comments-title {
		font-size: 95%;
	}

	.sidebar-container {
		float: left;
		width: 90%;
	}
}

@media screen and (max-width: 980px) {
	body, p {
		overflow-wrap: anywhere !important;   /* force break unbreakable strings */
	}

	.site-header {
		width: 90%;
		margin: 10px auto;
	}

	#pagewrap, .customize-support {
		width: 95%;
	}

	#content, .site-content {
		width: 80%;
		padding: 3% 4%;
	}

	.sidebar-container {
		float: left;
		width: 90%;
	}

	.sidebar {
		width: 30%;
	}

	.sidebar .widget {
		padding: 8% 7%;
		margin-bottom: 10px;
	}

	.site-content {
		width: 90%;
		float: left;
		margin-left: 2%;
		margin-right: 2%;
		padding: 0;
	}

	.comments-area {
		margin-right: 0;
		padding-right: 0;
		width: 100%;
	}

	.comments-title {
		font-size: 95%;
	}

	.comment-list {
		list-style: none;
		padding-left: 0;
		padding-right: 0;
	}

	article {
		margin-top: 0;
	}
}

@media (pointer: coarse) {
	/* increase tap area on mobile screens */
	* {
		padding-bottom: .8em;
	}

	a {
		padding-bottom: .8em;
	}
}
