/*
 Theme Name:   Twenty Sixteen Child
 Theme URI:    http:/arnoldy.us/trtdev/wp-content/themes/twenty-sixteen-child/
 Description:  Twenty Sixteen Child Theme
 Author:       Don Arnoldy
 Author URI:   http://example.com
 Template:     twentysixteen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         Custom style for TRT
 Text Domain:  twenty-sixteen-child
*/

/* General Elements--clean up */

:root {
  --dark-red: #660033;
}


	* {margin:0;
		padding:0;
		font: 1rem/1.5em josefin-sans, sans-serif;
		font-weight:normal;
		font-style:normal;
		color:#000;
	}

	p {margin:0;
		padding:0
	}

	a {color:var(--dark-red);
		text-decoration:none;
		font-weight:bold;
		border-bottom:1px solid var(--dark-red);
	}

	a:visited {color:var(--dark-red);
		text-decoration:none;
		font-weight:bold;
	}

	a:hover {color:#deccb5;
		border-bottom:none;
	}

	input.submit {padding:.25rem .5rem;
		background-color:var(--dark-red);
		margin-top:.5rem;
		border-radius:.25em;
		color:#fefee1;
	}

	input.submit:hover {background-color:#deccb5;
		color:#fff;
	}

	label {font-size:.8rem;
		font-weight:bold;
		color:#666;
	}

	dd {margin-bottom:1rem;
	}

	body {background: #fefee1 url("https://tastingroomtourist.com/wp-content/uploads/2022/06/bkg_glasses.gif") no-repeat fixed;
		background-position: 0 8rem;
	}


/* Header Elements */

	#masthead {width:100%;
		height:auto;
		margin:0;
		padding:0;
		background-color:#deccb5;
		border-bottom:2px solid #000;
		position:fixed;
		top:0;
		z-index:999;
	}

	#masthead.site-header-bar {top:32px;
	}

	.site-title {margin:.5rem;
		padding:0;
		font-size: 4px !important;
		line-height:4px;
		height: 2.5rem;
		color:#deccb5;
		background-image:url(https://tastingroomtourist.com/wp-content/uploads/2022/08/TRT_Logo.png);
		background-repeat:no-repeat;
		background-size: contain;
	}

	#logIn {position: absolute;
		top: 0rem;
		right: 1rem;
	}

	.header-button {padding:.125rem .25rem;
		font-size: .75rem;
		text-align:center;
		background-color:#fefee1;
		border:1px solid var(--dark-red);
		border-radius: .25rem;
		display:block;
		margin-bottom: .125rem;
	}

	.header-button:hover {background-color:#fff;
	}

	#greeting {
		display:block;
		margin-bottom: .125rem;
	}

	/* Menu bar */
		.site-header-menu {
			display: block;
			margin: 0;
		}

		#menu-toggle{display:none;
		}

		#site-header-menu {background-color:none;
			margin:0;
			padding:0;
		}

		.main-navigation .primary-menu {
			border-bottom: none;
		}

		.main-navigation li {
			border-top: none;
			position: static;
		}

		.main-navigation a {
			color: inherit;
			display: inherit;
			line-height: inherit;
			outline-offset: inherit;
			padding: inherit;
		}

		#site-navigation {background-color:none;
			margin:0;
			padding:0;
		}

		.menu-main-container {background-color:none;
			margin:0;
			padding:0;
		}

		#menu-site-navigation {background-color:var(--dark-red);
			margin:0;
			padding:0;
			height:1.5rem;
		}

		.menu-item,
		.menu-item-type-post_type,
		.menu-item-object-page,
		.current-menu-item page_item  {background-color:none;
			margin:0;
			padding:0;
			display:inline;
		}

		.menu-item a {background-color:none;
			margin:0;
			padding:.35rem 1rem;
			font-size:.8rem;
			line-height:.8rem;
			color:#fefee1;
			border-right:1px solid #a97f71;
			border-bottom:none;
		}

		.menu-item a:hover {color:#fff;
		}


/* Content area--between header and footer--contains primary and secondary (sidebar) areas */

	#page {margin:0;
		padding:0;
		max-width:62rem;
		float:right;
		background-color:transparent;
	}

	div.site-inner {margin:0;
		padding:0;
	}

	#content {margin:0;
		padding:0;
		display:table-row;
	}		

/* Left-hand area */

	/* Undo stuff from parent style */
	div.content-area {float:none;
		width:100%;
		margin-right:0;
	}
	.entry-title {
		font-family: inherit;
		font-size: inherit;
		font-weight: inherit;
		line-height: inherit;
		margin-bottom: inherit;
	}
	.site-main > article {margin-bottom: inherit;
		position: static;
	}
	.entry-header,
	.entry-summary,
	.entry-content,
	.entry-footer,
	.page-content {
		margin-right: 0;
		margin-left: 0;
	}

	/* Start adding my style */
	#primary {margin:0;
		padding:0;
		padding-top:7.5rem;
		padding-bottom:2.5rem;
		padding-right:1em;
		padding-left:2em;
		width:36em;
		border-right: 1px solid #deccb5;
		display:table-cell;
		vertical-align:top;
		max-width:36em;
	}

	.site-main > article {margin-bottom:0 !important;
	}

	#primary h1 {font-size:2em;
		font-weight:bold;
		font-style:normal;
		color:var(--dark-red);
		margin-left:0;
		line-height:1.1em;
		margin-bottom:1em;
	}

	#primary h2 {font-size:2em;
		font-weight:normal;
		font-style:italic;
		color:var(--dark-red);
		margin-left:0;
		margin-top:0rem;
		line-height:2rem;
		margin-bottom:1rem;
	}

	#primary h2:first-child {margin-top:1rem;
		}

	/* Front-page content */

	#Intro {
	}

	.bump {color:var(--dark-red);
		font-size:700%;
		line-height:.8em;
		float:left;
		position:relative;
		left:-.08em;
		bottom:-.04em;
	}

	.first_phrase {font-weight:bold;
		text-transform:uppercase;
		font-size:75%;
		margin-left:-.5em;
	}

	p.indent {text-indent:1em;
	}

	#show_more, #show_less {font-size: .8em;
	}

	#more_intro {display:none;
	}


	#settings {margin:0;
		padding:0;
		list-style-type:none;
	}

	#settings li {margin:0;
		padding:0;
		padding-bottom:.33em;
	}

	/* Front-page widget content */

		ul.wpbdp-listings-widget-list,
		#recentcomments {list-style-type:square;
		}

		li.recentcomments,
		ul.wpbdp-listings-widget-list li {list-style-type:square !important;
			margin:0;
			margin-bottom:.33rem;
			padding:0 !important;
		}

		li.recentcomments a,
		a.listing-title {border-bottom:none;
			font-size:1.4rem;
		}

		h2.widget-title {
		}
		.comment-author-link {
		}

	/* Search form */
		#wpbdp-search-form{
			padding-left:0 !important;
		}
		#wpbdmsearchform{
			padding:0 !important;
			text-align:left !important;
		}
		#wpbdp-search-form .wpbdp-search-filter>.wpbdp-search-field-label{
			text-align:right;
			width:7rem !important;
		}
		.wpbdp-inner-checkbox label,
		.wpbdp-search-field-label label {font-size:1rem;
		}
		#wpbdp-search-form .wpbdp-search-filter>div.field{
			width:28rem !important;
			margin-left:7rem !important;
			padding-left:.5rem !important;
		}
		.wpbdp-form-field-type-checkbox .wpbdp-search-field-label {visibility:hidden;
		}

/* Stuff to sort and organize */

div.wpbdp-listings-list div.wpbdp-listing-excerpt:nth-child(6)::before {content:url(https://tastingroomtourist.com/wp-content/uploads/2023/07/signupad.png);
	display:block;
	text-align:center;
	max-width:24rem;
	min-width:320px;
	padding-top:.5rem;
	padding-bottom:.5rem;
}


#ad_space {margin-top:1rem;
}

#hours p {text-align:left;
}

td.day {font-size:.8rem !important;
	line-height:1.5rem !important;
	font-weight:bold;
	color:var(--dark-red);
	margin:0;
	padding:0 !important;
	width:3em;
	text-align:right !important;
}

td.times	{
	font-size:1rem !important;
	margin:0 !important;
	padding:0 !important;
	padding-left:.5em !important;
	text-align:left !important;
	width:100% !important;
}
.season {float:left;
	font-style:italic;
}

.listing_info a {color:var(--dark-red) !important;
		text-decoration:none;
		font-weight:bold;
		border-bottom:1px solid var(--dark-red) !important;
}


div.wpbdp-listing h2 {font-size:2rem;
	font-weight:bold;
	font-style:normal;
	color:var(--dark-red);
	margin-left:0;
	margin-top:1em;
	line-height:2em;
	margin-bottom:0em;
}

h2 a {font: inherit;
	color:inherit;
}

h2.listing_title a {font: inherit;
	color:inherit;
}

.ava {font-weight:bold;
	font-style:normal;
	color:#336600;
	white-space: nowrap;
}

p.ava {font-size:.9rem;
	margin-top:.25em;
	position:relative;
	top:-2rem;
}

.ava:before, .state:before {content:'(';
}

.ava:after, .state:after {content:')';
}

h2 .ava {color:#a97f71;
}

h2.Closed {color:#999 !important;
	text-indent:-1em;
}

h2.Closed::before {content:"\2613" ;
	width:1em;
	color:#f00;
}

h2.Private {color:#824039 !important;
	text-indent:-1em;
}

h2.Private::before {content:"\26A0" ;
	font-weight:normal;
	width:1em;
}

div.entry-content {width:100%
}

.comments-title, .comment-reply-title, #reply-title {padding-top:0;
	font-family:inherit;
	font-weight:normal;
	border-top:none;
}

	.comment-list + .comment-respond,
	.comment-navigation + .comment-respond {
		padding-top: 0;
	}

.comment-list article,
.comment-list .pingback,
.comment-list .trackback {
	border-top: 1px solid #deccb5;
	padding: .5em 0;
}

.comment-metadata {
	margin-bottom: 1rem;
}

.comment-reply-link {
	border: 1px solid #d1d1d1;
	border-radius: .25rem;
	color: var(--dark-red);
	display: inline-block;
	font-family: inherit;
	font-size: 0.8125rem;
	line-height: 1;
	margin-top: 0;
	padding: .25rem .5rem;
}

.comment-reply-link:hover,
.comment-reply-link:focus {
	border-color: currentColor;
	color: #a97f71;
	outline: 0;
}

.comment-form {
	padding-top: 0;
}

.comment-form-comment label {display:block;
}

p.listing {margin:0;
	padding:0;
	width:100%;
	max-width:24rem;
	float:left;
}

#wpbdp-main-box {display:none;
}



#map_panel {margin:0;
	padding:.5rem;
	background-color:#a97f71;
	border:1px solid #000;
	box-shadow: 2px 4px 4px rgba(0, 0, 0, .5);
	width:100%;
	max-width:36rem;
	max-height:80%;
	position: fixed;
    	bottom: 3rem;
	left: 1rem;
	z-index:900;
	visibility: hidden;
}

#map_panel h4 {margin:0;
	padding:0;
	color:#fefee1;
	text-align:center;
	font-weight:bold;
	margin-bottom:.25rem;
}

#close_box {text-align:right;
	font-size:.8rem;
}

div.with-directions {display:block;
	max-width: none !important;
	height:250px !important;
	clear:both;
}

div.wpbdp-map-directions-config {display:block;
	float:none;
	clear:both;
	width:100%;
	margin:0;
	padding:0;
	border:none;
	background-color:transparent;
}

.directions-from, .directions-travel-mode  {width:60%;
	display:table-cell;
	font-size:1rem;
}

label.section {font-size:.8rem;
	font-weight:bold;
	color:var(--dark-red);
}

p.warning {color:#f00;
  font-weight:bold;
  margin-top: .5rem;
  margin-bottom: .5rem;
}

div.vital_statistics {background-color:#deccb5;
	padding:1em;
	padding-top:.25em;
	width:15em;
	float: right;
	margin-left: 1rem;
	margin-bottom:.5rem;
}

div.vital_statistics a {color:var(--dark-red);
  text-decoration:none;
  font-weight:bold;
  border:none;
}

div.vital_statistics a:visited {color:var(--dark-red);

  text-decoration:none;

  font-weight:bold;

}

div.vital_statistics h3{margin:0;

  color:#fff;

  font-weight:bold;

  font-size:1.4em;

  text-align:left;

  border-bottom: 1px solid var(--dark-red);

}

div.vital_statistics a{color:var(--dark-red);

  font-weight:bold;

  text-decoration:none;

}

span.vt_info {display:block;

  margin-top:.5em;

}

div.other_info {

}

div.other_info h3 {margin:0;

  color:var(--dark-red);

  font-weight:bold;

  font-size:1.4em;

  text-align:left;

  margin-top:.67em;

  clear:none;

}

div.other_info h3:first-child {margin-top:0;

}

div.other_info ul {list-style-type:none;

}

div.other_info a {
    color: var(--dark-red);
    border-bottom: 1px solid var(--dark-red);
}


span.yes {color:#000;
	
	font-weight:bold;

}

span.yes::before {content:"\2713";

  color:#360;

  margin-right:.25em;

}

span.no {color:#999;

}

span.no::before {content:"\2717";

  color:#c00;

  margin-right:.25em;

}

.social-fields {display:none;

	margin:0;

	padding:0;

}

.listing-actions {margin:0;

	margin-bottom:0 !important;

  padding: 0;

  padding-top:3px;

  border-bottom: 0;

}

.edit-listing, .delete-listing {margin:0;

  padding:0;

  font-size: .8rem;

  background-color:var(--dark-red);

}

.entry-footer {margin-top:.5rem;

	text-align:right;

}

.listing_address {display:inline-block;

}

.listing_info {display:inline-block;

	text-align:right;

	float:right;

}

footer.entry-footer {
}


/* Right-hand area  (sidebar) */

	#secondary {margin:0;
		padding:0;
		width:18em;
		min-width:15rem;
		padding-top:7.5rem;
		padding-bottom:2.5rem;
		padding-left:1rem;
		padding-right:2rem;
		padding-bottom:2.5rem;
		display:table-cell;
		float:none;
	}

	#secondary section {margin:0;
		padding:0;
		border:none;
		padding-bottom:.5em;
		border-bottom:1px solid #5a0000;
		margin-bottom:1em;
	}

	#secondary h2 {font-size:1.4rem;
		font-weight:bold;
		color:#000;
		margin-bottom:.5rem;
		margin-top:1rem;
	}

	#secondary h2:first-child {margin-top:0;
	}

	.label {font-size:80%;
		font-weight:bold;
		color:#666666;
	}

	.widget .widget-title {
		font-family: inherit;
		font-size: inherit;
		font-size: inherit;
		letter-spacing: inherit;
		line-height: inherit;
		margin: inherit;
		text-transform: inherit;
	}

/* Footer area */

	#colophon {margin:0;
		padding:0;
		background-color:var(--dark-red);
		border-top: 1px solid #000;
		width:100%;
		height:1.5rem;
		position:fixed;
		bottom:0;
		z-index:999;
	}

	.site-info {margin:.375rem 1.5rem;
		padding:0;
		color:#a97f71;
		font-size:.75rem;
		line-height:.75rem;
	}

	.copyright {margin:0;
		padding:0;
		color:#a97f71;
		font-size:.75rem;
		line-height:.75rem;
	}



/* Resize Elements */

@media screen and (max-width: 51rem) {

	body {background-image:none;
	}

	div.vital_statistics {width:40%;
		min-width:12rem;
	}

	#page {float:none;
	}

	/* Search form */
		#wpbdp-search-form .wpbdp-search-filter>.wpbdp-search-field-label{
			text-align:left;
			float:none;
		}
		.wpbdp-inner-checkbox label,
		.wpbdp-search-field-label label {
		}
		#wpbdp-search-form .wpbdp-search-filter>div.field{
			width:90% !important;
			margin-left:0 !important;
		}
		.wpbdp-form-field-type-checkbox .wpbdp-search-field-label {visibility:visible;
			display:none !important;
		}
}

@media screen and (max-width: 47rem) {

	#primary {width:100%;
	}

	div.vital_statistics {float:none;
		margin-left:0;
		width:90%;
		min-width:12rem;
	}

	#comment {width:90%;
	}

}

@media screen and (max-width: 40rem) {

	#map_panel {width:90%;
		max-width:32rem;
		max-height:50%;
	}

	div.with-directions {max-width: 32rem;
	}

}

@media screen and (min-width: 44.375em) {
	.entry-header,
	.post-thumbnail,
	.entry-content,
	.entry-summary,
	.entry-footer,
	.comments-area,
	.image-navigation,
	.post-navigation,
	.page-header,
	.page-content,
	.content-bottom-widgets {
		margin-right: 0;
	}
}

@media screen and (max-width: 38rem) {

	#content {display:block;
	}

	#primary {width:100%;
		padding-left:1rem;
		padding-right:1rem;
		padding-bottom: 0;
		display:block;
	}

	#secondary {width:100%;
		padding-left:1rem;
		padding-right:1rem;
		padding-top: 0;
		display:block;
	}

	div.vital_statistics {width:80%;
	}

	#map_panel {width:90%;
		max-width:32rem;
		max-height:50%;
	}

	div.with-directions {max-width: 32rem;
	}
}

@media screen and (max-width: 32rem) {

	#map_panel {box-shadow: none;
		position: static;
		visibility: visible;
		width:90%;
		max-height:none;
	}

	#show_map,
	#hide_map {display:none;
	}

	.wpbdp-map {width:90%;
	}
}

@media screen and (max-width: 21rem) {

	.listing_address {display:block;
	}

	.listing_info {display:block;
		text-align:left;
		float:none;
	}
}



/* Adjust header for admin toolbar */

@media screen and ( max-width: 782px ) {
	#masthead.site-header-bar {top:46px;
	}

}

@media screen and ( max-width: 600px ) {

	#masthead.site-header,
	#masthead.site-header-bar {position:static;
	}

	.site-title {display:block;
		width:100%;
		padding-left:1rem;
		vertical-align:center;
		margin-bottom:0rem;
	}

	#logIn {position: static;
		display:block;
		text-align:left;
		vertical-align:center;
		padding-left:1rem;
		padding-bottom:.5rem;
	}
	
	.header-button, #greeting {
		display:inline;
	}
	
	.comment-excerpt {
		display:none;
	}	

	#primary {padding-top:1rem;
	}

	/* Make the footer scroll while we're at it */
	#colophon {position:static;
	}
}

@media print {
	* {margin:0;
		padding:0;
		font: 10pt/1.2em josefin-sans, sans-serif;
		font-weight:normal;
		font-style:normal;
		color:#000;
	}
	body {background: none;
	}
	#masthead {width:100%;
		height:auto;
		margin:0;
		padding:0;
		background-color:none;
		border-bottom:none;
		position:static;
	}
	.site-title {margin:0;
		padding:0;
		font: .8em italiana, sans-serif;
		font-weight:bold;
		line-height:2rem;
		color:#000;
		border-bottom: .5pt solid #000;
	}

	#logIn {display:none;
	}
	.site-header-menu {display: none;
	}
	#page {max-width:100%;
		float:none;
		margin:0;
		margin-top:.5em;
	}
	#content {display:block;
		margin:0;
	}
	#primary {display:block;
		border:none;
		margin:0;
		padding:0;
		max-width:100%;
	}
	#secondary {display:none;
	}
	#colophon {display:none;
	}
	a {text-decoration:none;
		border:none;
		font-style:italic;
		font-weight:normal;
	}
	a[title="Winery Website"] {display:none;
	}
	a[rel="tag"] {color:#666 !important;
		border:none !important;
		text-decoration:none !important;
	}
	#map_panel {box-shadow: none;
		position: static;
		visibility: visible;
		width:90%;
		max-height:none;
		border:none;
		background-color:transparent;
	}
	#show_map,
	#hide_map {display:none;
	}
	.wpbdp-map {width:90%;
	}
	div.wpbdp-map-directions-config {display:none;
	}
	span.no {text-decoration:strike;
	}
	#ad_space {display:none;
	}
}

	body:not(.search-results) article:not(.type-page) .entry-content {
		float: right;
		width: 100%;
	}
