/*
Theme Name: David Lebovitz
Description: Custom theme for David Lebovitz
Version: 3.0
Author: Stephen Merriman
Author URI: http://www.cre8d-design.com
Update URI: false
*/

img,legend{border:0}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body,figure{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:bolder;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}hr{box-sizing:content-box}code,kbd,pre,samp{font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}select{text-transform:none}button{overflow:visible}button,input,select,textarea{max-width:100%}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default;opacity:.5}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input[type=checkbox],input[type=radio]{box-sizing:border-box;margin-right:.4375em;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #d1d1d1;margin:0 0 1.75em;padding:.875em}fieldset>:last-child{margin-bottom:0}legend{padding:0}textarea{overflow:auto;vertical-align:top}

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

pre,code {font-family:Menlo,Consolas,monaco,monospace;}

h1, h2, h3, h4, h5, h6,
.archive-link,
.spotlight ol>li:before,
.navigation,
.postfooter .postsec .catstags,
.subscribebox form label, #respond form p label, #fullwrap .gform_wrapper .gfield_label {font-family:"STIX Two Text",serif;text-transform:lowercase;}

.newsletter-promo .np-overlay h2, .subscribebox h2 {font-family:inherit;text-transform:inherit;}

/***** GENERAL STYLING *****/

.screen-reader-text {border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
.skip-to-content:focus {clip:auto !important;clip-path:none;margin:0;height:auto;width:auto;top:5px;left:5px;display:block;font-size:13px;line-height:18px;padding:15px 20px;background:#6c7c66;color:#fff;z-index:10000;transition:none;text-transform:uppercase;letter-spacing:0.1em;font-weight:500;}

body,html {min-width:320px;}

img, .wp-caption {max-width:100%;height:auto;}

.clearfix:before, .clearfix:after {content:" ";display:table;}
.clearfix:after {clear:both;}
.clearfix {*zoom:1;}

.container {display:block;width:1060px;max-width:100%;margin:0 auto;padding:0 40px;min-width:320px;box-sizing:border-box;}

@media screen and (max-width:1023px) {
	.container {padding:0 20px;}
}
@media screen and (max-width:339px) {
	.container {padding:0 10px;}
}

body {font-size:16px;line-height:1.5555555555;color:#131313;background:#fff;word-wrap:break-word;overflow-x:hidden;}

div.wp-block-image {margin:0 !important;}

.has-drop-cap:not(:focus)::first-letter {font-size:5.2em;font-weight:normal;margin-top:0.12em;}

.alignleft, .wp-block-image .alignleft {float:left;margin:5px 20px 1em 0;max-width:calc(50% - 20px);}
.alignright, .wp-block-image .alignright {float:right;margin:5px 0 1em 20px;max-width:calc(50% - 20px);}
.aligncenter, .wp-block-image .aligncenter {margin:40px auto;}

img.alignnone {margin:40px 0;display:block;}
img.aligncenter {display:block;}

.wp-caption img, .wp-block-image img {vertical-align:bottom;}
.wp-caption .wp-caption-text, 
.wp-block-image figcaption,
.wp-block-embed figcaption,
.wp-block-table figcaption,
.blocks-gallery-caption {margin:10px 0 0 0;font-size:14px;line-height:20px;color:inherit;}

.blocks-gallery-caption {margin-top:20px;}

@media screen and (max-width:479px) {
	.alignleft, .wp-block-image .alignleft,
	.alignright, .wp-block-image .alignright {float:none;display:block;max-width:100%;margin:40px auto;}
}

span.fragment {display:inline-block;}

a {transition:color 0.3s, background 0.3s;color:inherit;font-weight:bold;text-decoration:none;color:#008D00;}
a:hover, a:active {color:#007900;}

a strong {font-weight:inherit;}

a img {transition:opacity 0.3s;vertical-align:bottom;}
a:hover img {opacity:0.75;}

p, address {margin-top:0;margin-bottom:1em;}

ul, ol {margin:1em 0;padding:0 0 0 1.6em;}
ul ul, ul ol, ol ul, ol ol {margin-top:8px;margin-bottom:0;}
li {margin:0 0 8px 0;padding:0 0 0 0.3125em;}

ul.spaced li {margin-bottom:1em;}

h1 {font-size:32px;line-height:38px;font-weight:500;margin:60px 0 30px 0;}
h2 {font-size:28px;line-height:34px;font-weight:500;margin:40px 0 25px 0;}
h2.large {font-size:32px;line-height:38px;}
h3 {font-size:24px;line-height:30px;font-weight:500;margin:40px 0 25px 0;}

@media screen and (max-width:767px) {
	h1 {font-size:28px;line-height:34px;}
	h2 {font-size:24px;line-height:30px;}
	h2.large {font-size:28px;line-height:34px;}
	h3 {font-size:20px;line-height:26px;}
}

.newsletter-promo,
.imagegrid,
.spotlight,
.booksgrid {margin-top:60px;margin-bottom:60px;}

@media screen and (max-width:767px) {
	.newsletter-promo,
	.imagegrid,
	.spotlight,
	.booksgrid {margin-top:40px;margin-bottom:40px;}
}

.wp-block-image,
hr, hr.wp-block-separator,
.wp-block-archives,
.wp-block-categories,
.wp-block-code,
.wp-block-columns,
.wp-block-cover,
.wp-block-embed,
.wp-block-gallery,
.wp-block-group,
.wp-block-latest-comments,
.wp-block-latest-posts,
.wp-block-media-text,
.wp-block-preformatted,
.wp-block-pullquote,
.wp-block-quote,
.wp-block-separator,
.wp-block-table,
.wp-block-verse,
.wp-block-video {margin-top:40px;margin-bottom:40px;}

.gridheading + * {margin-top:0 !important;}
h2 + .imagegrid {margin-top:0;}

.btnswrap {margin:25px 0;}
.btnswrap-a {display:flex;justify-content:center;margin-left:-20px;margin-bottom:-20px !important;flex-wrap:wrap;justify-content:center;}
.btnswrap a.btn {margin-left:20px;margin-bottom:20px !important;}

a.btn {background:#00B300;color:#fff;font-size:15px;line-height:20px;padding:10px 20px;text-decoration:none;border-radius:20px;text-align:center;display:inline-block;transition:background 0.3s;font-weight:bold;}
a.btn:hover {background:#008D00;}
a.btn:focus {outline:auto;}

a.btn.loading {position:relative;color:transparent;transition:none;}
a.btn.loading:before {content:"Loading...";color:#fff;position:absolute;top:0;left:0;width:100%;box-sizing:border-box;padding:10px 20px;}

/***** HEADER ******/

#wpadminbar {z-index:100005;}
body.menuopen #wpadminbar, body.searchopen #wpadminbar {z-index:100;}

#header {height:162px;}

#header-a {background:#fff;}
#header-b {padding:60px 0;position:relative;}

body.fixedheader #header-a {position:fixed;top:0;left:0;width:100%;z-index:10000;-webkit-animation:scrollheader 0.3s;animation:scrollheader 0.3s;box-sizing:border-box;box-shadow:0 0 20px rgba(0,0,0,.1);background:#fff;}

body.fixedheader #header-b {padding:20px 0;}

body.admin-bar.fixedheader #header-a {top:32px;}
@media screen and (max-width:782px) {
	body.admin-bar.fixedheader #header-a {top:46px;}
}
@media screen and (max-width:600px) {
	body.admin-bar.fixedheader #header-a {top:0;}
}

@-webkit-keyframes scrollheader {
	0% {
		-webkit-transform: translateY(-100%);
		        transform: translateY(-100%)
	}
	to {
		-webkit-transform: translateY(0);
		        transform: translateY(0)
	}
}
@keyframes scrollheader {
	0% {
		-webkit-transform: translateY(-100%);
		        transform: translateY(-100%)
	}
	to {
		-webkit-transform: translateY(0);
		        transform: translateY(0)
	}
}

.jumpwrap {position:relative;}
.jumplink, .gform_anchor {display:block;position:absolute !important;top:-80px;}
body.admin-bar .jumplink, body.admin-bar .gform_anchor {top:-112px;}

@media screen and (max-width:782px) {
	body.admin-bar .jumplink, body.admin-bar .gform_anchor {top:-126px;}
}
@media screen and (max-width:600px) {
	body.admin-bar .jumplink, body.admin-bar .gform_anchor {top:-80px;}
}

#logo {width:310px;margin:-2px auto -2px auto;position:relative;line-height:1;font-weight:normal;z-index:2;}

body.fixedheader #logo {width:229px;}

#logo a {display:block;padding:0;}
#logo img {display:block;width:100%;opacity:1;transform:translateY(-10%);}
	
#menuwrap {font-size:15px;line-height:22px;text-transform:lowercase;}

#menuwrap a {display:block;text-decoration:none;padding:10px 0;color:inherit;font-weight:bold;}
#menuwrap a:hover {color:#008D00;}

#menuwrap ul.toplevel {margin:0;padding:0;list-style:none;}
#menuwrap ul.toplevel>li {margin:0;padding:0;}

#menuwrap ul.toplevel>li>.submenu {display:none;}
#menuwrap ul.toplevel>li>.submenu>ul {margin:0;padding:0;list-style:none;}
#menuwrap ul.toplevel>li>.submenu>ul>li {margin:0;padding:0;}
#menuwrap ul.toplevel>li>.submenu>ul>li>ul {margin:0;padding:0;list-style:none;}
#menuwrap ul.toplevel>li>.submenu>ul>li>ul>li {margin:0;padding:0;}
#menuwrap ul.toplevel>li>.submenu>ul>li>a {font-weight:normal;}

#menuwrap ul.toplevel>li.search {margin:0 15px;}

button.closebtn {background:transparent;border:none;border-radius:0;margin:0;padding:0;max-width:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:60px;width:40px;transition:background-color 0.3s;position:relative;z-index:10;display:block;}
button.closebtn>span.icon {width:20px;display:block;position:absolute;top:50%;left:50%;margin-left:-10px;height:2px;margin-top:-1px;font-size:0;}
button.closebtn>span.icon:before, button.closebtn>span.icon:after {position:absolute;left:0;width:100%;height:100%;background:#131313;content:'';transition:background-color 0.3s, -webkit-transform 0.3s;transition:transform 0.3s, background-color 0.3s;transition:transform 0.3s, background-color 0.3s, -webkit-transform 0.3s;}
button.closebtn>span.icon:before {-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}
button.closebtn>span.icon:after {-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg);}
button.closebtn:hover>span.icon:before, button.closebtn:hover>span.icon:after {background:#008D00;}

button.closemenu {display:none;}

#toggles {display:none;}

#searchwrap {background:#fff;position:fixed;top:0;left:0;width:100%;-webkit-transform:translateY(-100%);transform:translateY(-100%);z-index:10000;float:none;display:block;margin:0;transition:transform 0.3s;padding:0;}
body.searchopen #searchwrap {transform:translateY(0);z-index:90000;box-shadow:0 0 20px rgba(0,0,0,.1);margin-left:0;}

body.fixedheader #searchwrap {margin-left:0;}

body.resizing #searchwrap {-webkit-transition:none;transition:none;}

#searchwrap h2 {font-size:24px;line-height:32px;text-align:center;margin:0 0 20px 0;display:block;}
#searchwrap .closebtn {display:block;top:7px;right:8px;position:absolute;}

#searchwrap-a {padding:20px;}	

.search-in-content {margin:30px 0;}

.searchform {background:#f7f7f6;position:relative;box-sizing:border-box;margin:0 auto;max-width:100%;color:#131313;border:1px solid #cbcbcb;width:460px;border-radius:3px;}
.searchform .input {margin-right:46px;}
.searchform .input input {border:none;background:none;margin:0;padding:7px 0 7px 15px;width:100%;box-sizing:border-box;border-radius:3px 0 0 3px;font-size:16px;line-height:24px;}
.searchform button[type="submit"] {margin:0;padding:0;border:none;background:none;width:40px;height:38px;position:absolute;top:0;right:0;transition:color 0.3s;font-size:16px;border-radius:0 3px 3px 0;}
.searchform button[type="submit"] .cicon {display:block;margin:0 auto;}
.searchform button[type="submit"]:hover {color:#008D00;}

.searchbar {background:#131313;padding:40px 0;color:#fff;}
.searchbar-a {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;margin-left:-20px;margin-bottom:-20px !important;}
.searchbar h2 {margin:0 0 20px 20px;font-size:24px;line-height:32px;text-transform:lowercase;position:relative;top:-0.125em;}
.searchbar .searchform {margin:0 0 0 20px;margin-bottom:20px !important;background:#fff;}

@media screen and (max-width:767px) {
	.searchbar {padding:20px 0;}
	.searchbar h2 {margin-bottom:10px;margin-top:-5px !important;}
}

button.togglesearch {font-size:16px;border:none;border-radius:0;margin:0 -10px;padding:0;line-height:40px;max-width:none;display:inline-block;vertical-align:top;position:relative;transition:color 0.3s;background:none;}
button.togglesearch:hover {color:#008D00;}
button.togglesearch .cicon {padding:0 10px;height:40px;vertical-align:top;}		

button.togglemenu {display:block;background:transparent;border:none;border-radius:0;margin:0 -10px;padding:0;max-width:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:40px;width:40px;transition:background-color 0.3s;position:relative;}
button.togglemenu>span.icon {width:20px;display:block;position:absolute;top:50%;left:50%;margin-left:-10px;height:2px;margin-top:-1px;background:#131313;font-size:0;transition:background-color 0.3s;}
button.togglemenu>span.icon:before, button.togglemenu>span.icon:after {position:absolute;left:0;width:100%;height:100%;background:#131313;content:'';transition:background-color 0.3s, -webkit-transform 0.3s;transition:transform 0.3s, background-color 0.3s;transition:transform 0.3s, background-color 0.3s, -webkit-transform 0.3s;}
button.togglemenu>span.icon:before {-webkit-transform:translateY(-300%);-ms-transform:translateY(-300%);transform:translateY(-300%)}
button.togglemenu>span.icon:after {-webkit-transform:translateY(300%);-ms-transform:translateY(300%);transform:translateY(300%)}
button.togglemenu:hover>span.icon, button.togglemenu:hover>span.icon:before, button.togglemenu:hover>span.icon:after {background:#008D00;}

@media screen and (min-width:1060px) {				
	#menuleft {position:absolute;top:60px;left:0;}
	#menuright {position:absolute;top:60px;right:0;}
	
	body.fixedheader #menuleft, body.fixedheader #menuright {top:15px;}
		
	#menuoverlay {display:none;}
		
	#menuwrap ul.toplevel {margin-left:-15px;margin-right:-15px;}
	
	#menuwrap ul.toplevel>li {display:inline-block;vertical-align:top;text-align:left;}
	
	#menuwrap ul.toplevel>li>a,
	#menuwrap ul.toplevel>li>.linkwrap>a {padding-left:15px;padding-right:15px;}
				
	#menuwrap ul.toplevel>li.menu-item-has-children>.linkwrap {position:relative;}
			
	#menuwrap ul.toplevel>li.menu-item-has-children {position:relative;}
	
	#menuwrap ul.toplevel>li>.submenu>ul>li>a {padding:10px 0;}	
		
	#menuwrap ul.toplevel>li.menu-item-has-children>.linkwrap>.dropdown-toggle {position:absolute;top:50%;right:15px;border:none;border-radius:0;margin:-8px 0 0 0;padding:0;background:none;}
	#menuwrap ul.toplevel>li.menu-item-has-children>.linkwrap>a {padding-right:30px;}
	#menuwrap ul.toplevel>li.menu-item-has-children>.linkwrap>.dropdown-toggle .cicon {font-size:14px;height:18px;display:inline-block;vertical-align:top;transition:color 0.3s;}
		
	#menuwrap ul.toplevel>li>.submenu {display:block !important;visibility:hidden;opacity:0;position:absolute;top:40px;padding-top:4px;left:-1px;z-index:10000;min-width:100%;min-width:calc(100% + 2px);transition:opacity 0.3s,visibility 0.3s;}
	#menuwrap ul.toplevel>li>.submenu>ul {white-space:nowrap;background:#fff;box-shadow:0 6px 20px rgba(0,0,0,.1);overflow:hidden;padding:9px 20px;border-radius:3px;}
	body.resizing #menuwrap ul.toplevel>li>.submenu {transition:none;}
	
	#menuwrap ul.toplevel>li.active>.submenu, #menuwrap ul.toplevel>li.accopen>.submenu {visibility:visible;opacity:1;}
	#menuwrap ul.toplevel>li.fourcol>.submenu>ul {column-count:4;column-gap:40px;}
	#menuwrap ul.toplevel>li.threecols>.submenu>ul {column-count:3;column-gap:30px;}
	#menuwrap ul.toplevel>li.twocols>.submenu>ul {column-count:2;column-gap:30px;}
}

@media screen and (max-width:1059px) {	
	#toggles {display:block;}
	#toggles ul {margin:0;padding:0;list-style:none;}
	#toggles ul li {margin:0;padding:0;}
	
	#toggles li.search {position:absolute;top:50%;transform:translateY(-50%);right:0;}
	#toggles li.menu {position:absolute;top:50%;transform:translateY(-50%);left:0;}	
	
	body.menuopen #header-a {z-index:10006 !important;}
	#menuwrap {position:fixed;top:0;left:-320px;width:320px;height:100%;z-index:10012;overflow-y:auto;transition:left 0.5s, visibility 0.5s;box-sizing:border-box;padding:20px 20px 0 20px;background:#fff;visibility:hidden;}
		
	body.menuopen {overflow:hidden;}
	body.menuopen #menuwrap {left:0;visibility:visible;}
	body.menuopen #menuoverlay {width:100%;height:100%;background:rgba(0,0,0,0.3);position:fixed;top:0;left:0;z-index:10011;}
		
	button.closemenu {margin:-20px -13px 0 auto;display:block;}
	button.closemenu>span.icon:before, button.closemenu>span.icon:after {background:#131313;}
	button.closemenu:hover>span.icon:before, button.closemenu:hover>span.icon:after {background:#008D00;}
	
	#menuright {padding-bottom:20px;}
	
	#menuwrap ul.toplevel>li>a {padding:9px 0;}
	
	#menuwrap a {padding:9px 0;}
				
	#menuwrap ul.toplevel>li.search {display:none;}
	
	#menuwrap li.menu-item-has-children>.linkwrap {position:relative;}
	
	#menuwrap li.menu-item-has-children>.linkwrap>.dropdown-toggle {display:block;position:absolute;top:0;right:-15px;width:40px;height:40px;border:none;border-radius:0;margin:0;padding:0;background:none;transition:color 0.3s;text-align:center;}
	#menuwrap li.menu-item-has-children>.linkwrap>.dropdown-toggle:hover {color:#008D00;}
	
	#menuwrap li.menu-item-has-children>.linkwrap>.dropdown-toggle .cicon {-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);transition:transform 0.3s;height:40px;vertical-align:top;font-size:16px;}
	#menuwrap li.menu-item-has-children.open>.linkwrap>.dropdown-toggle .cicon {-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}
	#menuwrap li.menu-item-has-children>.linkwrap {padding-right:33px;}
	
	#menuwrap li.menu-item-has-children>.submenu {left:auto !important;}
	#menuwrap li.menu-item-has-children>.submenu>ul {margin-left:20px;}
	#menuwrap li.menu-item-has-children>.submenu>ul>li>ul {margin-left:20px;}	
	
	#menuwrap ul.toplevel>li.megamenu>.submenu>ul>li>ul {display:none;}	
}

@media screen and (max-width:767px) {	
	#header-b {padding:20px 0;}
	#logo {width:229px;}
	#header {height:70px;}
}

blockquote>:first-child {margin-top:0;}
blockquote>:first-child>:first-child {margin-top:0;}
blockquote>:last-child {margin-bottom:0;}
blockquote>:last-child>:last-child {margin-bottom:0;}

.wp-block-gallery ul {margin-bottom:-30px !important;flex-grow:1;}
.wp-block-gallery li, .gallery .gallery-item {padding:0;margin-bottom:30px !important;}

.blocks-gallery-grid .blocks-gallery-image,
.blocks-gallery-grid .blocks-gallery-item,
.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item,
.gallery .gallery-item {
	margin:0 30px 30px 0;
	width:calc(50% - 15px);
}

@media screen and (max-width:767px) {
	.wp-block-gallery ul {margin-bottom:-15px !important;}
	.wp-block-gallery li, .gallery .gallery-item {padding:0;margin-bottom:15px !important;}

	.blocks-gallery-grid .blocks-gallery-image,
	.blocks-gallery-grid .blocks-gallery-item,
	.wp-block-gallery .blocks-gallery-image,
	.wp-block-gallery .blocks-gallery-item,
	.gallery .gallery-item {
		margin:0 15px 15px 0;
		width:calc(50% - 7.5px);
	}
}

@media (min-width:600px) {
	.blocks-gallery-grid.columns-3 .blocks-gallery-image,
	.blocks-gallery-grid.columns-3 .blocks-gallery-item,
	.wp-block-gallery.columns-3 .blocks-gallery-image,
	.wp-block-gallery.columns-3 .blocks-gallery-item,
	.gallery-columns-3 .gallery-item {
		width:calc(33.33333% - 20px);
		margin-right:30px;
	}
	.blocks-gallery-grid.columns-4 .blocks-gallery-image,
	.blocks-gallery-grid.columns-4 .blocks-gallery-item,
	.wp-block-gallery.columns-4 .blocks-gallery-image,
	.wp-block-gallery.columns-4 .blocks-gallery-item,
	.gallery-columns-4 .gallery-item {
		 width:calc(25% - 22.5px);
		 margin-right:30px;
	}
	.blocks-gallery-grid.columns-5 .blocks-gallery-image,
	.blocks-gallery-grid.columns-5 .blocks-gallery-item,
	.wp-block-gallery.columns-5 .blocks-gallery-image,
	.wp-block-gallery.columns-5 .blocks-gallery-item,
	.gallery-columns-5 .gallery-item {	
		width:calc(20% - 24px);
		margin-right:30px;
	}
	.blocks-gallery-grid.columns-6 .blocks-gallery-image,
	.blocks-gallery-grid.columns-6 .blocks-gallery-item,
	.wp-block-gallery.columns-6 .blocks-gallery-image,
	.wp-block-gallery.columns-6 .blocks-gallery-item,
	.gallery-columns-6 .gallery-item {	
		width:calc(16.66667% - 25px);
		margin-right:30px;
	}
	.blocks-gallery-grid.columns-7 .blocks-gallery-image,
	.blocks-gallery-grid.columns-7 .blocks-gallery-item,
	.wp-block-gallery.columns-7 .blocks-gallery-image,
	.wp-block-gallery.columns-7 .blocks-gallery-item,
	.gallery-columns-7 .gallery-item {	
		width:calc(14.28571% - 25.71429px);
		margin-right:30px;
	}
	.blocks-gallery-grid.columns-8 .blocks-gallery-image,
	.blocks-gallery-grid.columns-8 .blocks-gallery-item,
	.wp-block-gallery.columns-8 .blocks-gallery-image,
	.wp-block-gallery.columns-8 .blocks-gallery-item,
	.gallery-columns-8 .gallery-item {	
		width:calc(12.5% - 26.25px);
		margin-right:30px;
	}
}

.blocks-gallery-grid .blocks-gallery-image:last-child,
.blocks-gallery-grid .blocks-gallery-item:last-child,
.wp-block-gallery .blocks-gallery-image:last-child,
.wp-block-gallery .blocks-gallery-item:last-child {margin-right:0;}

.wp-block-gallery.numbers ul {counter-reset:gallery-numbers;}
.wp-block-gallery.numbers ul>li {counter-increment:gallery-numbers;position:relative;}
.wp-block-gallery.numbers ul>li:before {content:counter(gallery-numbers);position:absolute;top:10px;left:10px;width:32px;height:32px;display:block;border-radius:50%;background:#fff;text-align:center;font-size:16px;line-height:32px;font-weight:bold;z-index:1;}

@media screen and (max-width:767px) {
	.wp-block-gallery.numbers ul>li:before {font-size:14px;width:28px;height:28px;line-height:28px;}
}
.has-small-font-size, .has-normal-font-size, .has-regular-font-size, .has-medium-font-size, .has-large-font-size, .has-huge-font-size, .has-larger-font-size {font-size:inherit;}

iframe.instagram-media, twitter-widget {margin-left:auto !important;margin-right:auto !important;margin-bottom:0 !important;}

blockquote, .wp-block-quote {margin-left:auto;margin-right:auto;background:#f5f5f5;padding:10px;margin:30px 0;}
blockquote cite, .wp-block-quote cite, .wp-block-pullquote cite {color:inherit;font-size:14px;line-height:18px;display:block;margin:15px 0 0 0;}

/*** BODY STYLES ***/

.bodysection {padding:60px 0;}
#body>.bodysection-white:first-child {padding-top:0;}

@media screen and (max-width:767px) {
	.bodysection {padding:40px 0;}
	#body>.bodysection-white:first-child {padding-top:20px;}
}

.narrow {width:720px;max-width:100%;margin-left:auto;margin-right:auto;}

.wp-block-media-text {grid-gap:40px;margin-left:auto;margin-right:auto;max-width:100%;}

.wp-block-media-text:not(.is-style-custom) {grid-template-columns:1fr 1fr !important;}

.wp-block-media-text .wp-block-media-text__media {padding:0;align-self:flex-start;}
.wp-block-media-text .wp-block-media-text__content {padding:0;}
.wp-block-media-text .wp-block-media-text__content>:first-child {margin-top:0;}
.wp-block-media-text .wp-block-media-text__content>:first-child>:first-child {margin-top:0;}
.wp-block-media-text .wp-block-media-text__content>:last-child {margin-bottom:0;}
.wp-block-media-text .wp-block-media-text__content>:last-child>:last-child {margin-bottom:0;}

.wp-block-media-text h1,
.wp-block-media-text h2 {text-align:left;}
.wp-block-media-text .btnswrap-a {justify-content:flex-start;}

@media screen and (max-width:1023px) {
	.wp-block-media-text {grid-gap:40px;}
}
@media screen and (max-width:767px) {
	.wp-block-media-text.is-stacked-on-mobile {display:block;}
	.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media {display:block;width:520px;max-width:100%;margin:0 auto 40px auto;padding-right:0;padding-left:0;}
	.wp-block-media-text>figure>img, .wp-block-media-text>figure>video {width:auto;max-width:100%;}	
	
	.wp-block-media-text.is-stacked-on-mobile h1,
	.wp-block-media-text.is-stacked-on-mobile h2 {text-align:center;}
	.wp-block-media-text.is-stacked-on-mobile .btnswrap-a {justify-content:center;}	
}

#main {float:left;display:inline;width:100%;margin-right:-340px;}
#main-a {margin-right:340px;max-width:640px;}
#sidebar {float:right;display:inline;width:300px;}


@media screen and (max-width:1023px) {
	#main {float:none;display:block;width:640px;max-width:100%;margin:0 auto;}
	#main-a {margin-right:0;}
	#sidebar {float:none;display:block;margin:40px auto 0 auto;padding:0;}
}

/** GRAVITY FORMS **/

#fullwrap .custom-gform-wrap, #fullwrap .gform_confirmation_wrapper {margin-top:30px;margin-bottom:30px;}

#fullwrap .custom-gform-wrap {position:relative;}

#fullwrap .gform_wrapper .gfield_label {font-size:16px;line-height:22px;font-weight:normal;vertical-align:top;display:block;margin-bottom:8px;}

#fullwrap .gform_wrapper input[type=color],
#fullwrap .gform_wrapper input[type=date],
#fullwrap .gform_wrapper input[type=datetime-local],
#fullwrap .gform_wrapper input[type=datetime],
#fullwrap .gform_wrapper input[type=email],
#fullwrap .gform_wrapper input[type=month],
#fullwrap .gform_wrapper input[type=number],
#fullwrap .gform_wrapper input[type=password],
#fullwrap .gform_wrapper input[type=search],
#fullwrap .gform_wrapper input[type=tel],
#fullwrap .gform_wrapper input[type=text],
#fullwrap .gform_wrapper input[type=time],
#fullwrap .gform_wrapper input[type=url],
#fullwrap .gform_wrapper input[type=week],
#fullwrap .gform_wrapper select,
#fullwrap .gform_wrapper textarea,
#fullwrap .gform_wrapper .gform_fileupload_multifile .gform_drop_area {
	border:1px solid #ccc;background:#fff;border-radius:3px;padding:8px 15px;font-size:16px;line-height:24px;
}

#fullwrap .gform_wrapper input[type="file"] {font-size:16px;line-height:24px;}

#fullwrap .gform_wrapper .gfield textarea.small {height:112px;}
#fullwrap .gform_wrapper .gfield textarea.medium {height:160px;}
#fullwrap .gform_wrapper .gfield textarea.large {height:208px;}

#fullwrap .gform_wrapper select.gfield_select, #fullwrap .gform_wrapper .ginput_complex select, #fullwrap .gform_wrapper .gfield_time_ampm select, #fullwrap .gform_wrapper .ginput_container_date select {
	-moz-appearance:none;-webkit-appearance:none;appearance: none;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3Cpath fill='%23131313' d='M119.5 326.9L3.5 209.1c-4.7-4.7-4.7-12.3 0-17l7.1-7.1c4.7-4.7 12.3-4.7 17 0L128 287.3l100.4-102.2c4.7-4.7 12.3-4.7 17 0l7.1 7.1c4.7 4.7 4.7 12.3 0 17L136.5 327c-4.7 4.6-12.3 4.6-17-.1z'/%3E%3C/svg%3E"),linear-gradient(to bottom, #fff 0%,#fff 100%);background-repeat: no-repeat, repeat;background-position: right 15px top 50%, 0 0;background-size: .625em auto, 100%;padding-right:40px;
}

#fullwrap .gform_wrapper select.gfield_select::-ms-expand, #fullwrap .gform_wrapper .ginput_complex select::-ms-expand, #fullwrap .gform_wrapper .gfield_time_ampm select::-ms-expand, #fullwrap .gform_wrapper .ginput_container_date select::-ms-expand {
	display: none;	
}

#fullwrap .gform_wrapper select.gfield_select[multiple], #fullwrap .gform_wrapper .ginput_complex select[multiple] {background-image:none;padding-right:20px;}

#fullwrap .gform_wrapper .ginput_container_time {min-width:94px;}

#ui-datepicker-div {z-index:99999 !important;}

#fullwrap .gform_wrapper .description, #fullwrap .gform_wrapper .gfield_description, #fullwrap .gform_wrapper .gsection_description, #fullwrap .gform_wrapper .instruction, #fullwrap .gform_wrapper .ginput_complex label, #fullwrap .gform_wrapper .gform_fileupload_rules {font-size:13px;line-height:18px;padding-top:10px;}

@media screen and (min-width:641px) {
	#fullwrap .gform_wrapper .ginput_container_address span:not(.ginput_full):not(:last-of-type):not(:nth-last-of-type(2)), 
	#fullwrap .gform_wrapper .ginput_full:not(:last-of-type) {margin-bottom:12px;}
}
@media screen and (max-width:640px) {
	#fullwrap .gform_wrapper .ginput_complex span {margin-bottom:12px;}
	#fullwrap .gform_wrapper .ginput_complex span:last-of-type {margin-bottom:0;}
	
}

#fullwrap .gform_wrapper .field_description_above .description, #fullwrap .gform_wrapper .field_description_above .gfield_description, #fullwrap .gform_wrapper .gfield_description_above .gsection_description, #fullwrap .gform_wrapper .gfield_description_above .instruction {padding-top:0;padding-bottom:10px;}

#fullwrap .gform_wrapper .gform_fields {grid-row-gap:20px;}

#fullwrap .gform_wrapper .gfield_checkbox label, #fullwrap .gform_wrapper .gfield_radio label, #fullwrap .gform_wrapper .ginput_container_consent label {vertical-align:top;font-size:16px;line-height:24px;margin:0;max-width:none;display:block;overflow:hidden;position:relative;padding-left:36px;font-weight:normal;}

#fullwrap .gform_wrapper .gfield_checkbox .gchoice, #fullwrap .gform_wrapper .gfield_radio .gchoice {margin-bottom:10px;}

#fullwrap .gform_wrapper .gfield_checkbox .gchoice:last-child, #fullwrap .gform_wrapper .gfield_radio .gchoice:last-child {margin-bottom:0;}

#fullwrap .gform_wrapper .gfield_radio input[type="radio"] {display:none;}
#fullwrap .gform_wrapper .gfield_radio label:before {content:"";display:block;position:absolute;top:0;left:0;width:22px;height:22px;background:#fff;border-radius:50%;border:1px solid #131313;}
#fullwrap .gform_wrapper .gfield_radio input[type="radio"]:checked + label:after {content:"";display:block;position:absolute;top:8px;left:8px;width:8px;height:8px;border-radius:50%;background:#131313;}

#fullwrap .gform_wrapper .gfield_checkbox input[type="checkbox"], #fullwrap .gform_wrapper .ginput_container_consent input[type="checkbox"] {display:none;}
#fullwrap .gform_wrapper .gfield_checkbox label:before, #fullwrap .gform_wrapper .ginput_container_consent label:before {content:"";display:block;position:absolute;top:0;left:0;width:22px;height:22px;background:#fff;border:1px solid #131313;border-radius:4px;}
#fullwrap .gform_wrapper .gfield_checkbox input[type="checkbox"]:checked + label:after, #fullwrap .gform_wrapper .ginput_container_consent input[type="checkbox"]:checked + label:after {content:"";display:block;position:absolute;top:3px;left:3px;width:18px;height:18px;background-size:100%;background-repeat:no-repeat;background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23131313' d='M27.241 5.217l-16.44 16.44-6.041-6.041c-0.293-0.293-0.768-0.293-1.061 0l-1.768 1.768c-0.293 0.293-0.293 0.768 0 1.061l8.339 8.339c0.293 0.293 0.768 0.293 1.061 0l18.738-18.738c0.293-0.293 0.293-0.768 0-1.061l-1.768-1.768c-0.293-0.293-0.768-0.293-1.061 0z'%3E%3C/path%3E%3C/svg%3E%0A");}

#fullwrap .gform_wrapper .gfield_checkbox input[value="gf_other_choice"] + label + br,
#fullwrap .gform_wrapper .gfield_radio input[value="gf_other_choice"] + label + br {display:none;}

#fullwrap .gform_wrapper .gfield_checkbox button, #fullwrap .gform_wrapper .gfield_radio button {margin-top:5px;font-size:16px;}
#fullwrap .gform_wrapper .gfield_checkbox input[type="text"], #fullwrap .gform_wrapper .gfield_radio input[type="text"] {margin-top:15px;width:100%;}

#fullwrap .gform_wrapper select.gfield_select, #fullwrap .gform_wrapper .ginput_complex select, #fullwrap .gform_wrapper .gfield_time_ampm select {height:40px;}

#fullwrap .gform_wrapper .hour_minute_colon {align-self:center;}

#fullwrap .gform_wrapper select[multiple] {height:auto;}
#fullwrap .gform_wrapper select option {padding:2px;}

#fullwrap .gform_wrapper .gform_button, #fullwrap .gform_wrapper .gform_page_footer .button {background:#008d00;color:#fff !important;border:none;border-radius:20px;font-size:15px;line-height:24px;padding:8px 20px;font-weight:bold;overflow:visible;cursor:pointer;-webkit-appearance:none;margin:0;transition:color 0.3s, background 0.3s;width:auto;}

#fullwrap .gform_wrapper .gform_button:hover, #fullwrap .gform_wrapper .gform_page_footer .button:hover {background:#007900;}

#fullwrap .gform_wrapper .gform_footer, #fullwrap .gform_wrapper .gform_page_footer {margin-top:20px;padding-top:0;padding-bottom:0;}

#fullwrap .gform_wrapper .ginput_container_checkbox + .gfield_description, #fullwrap .gform_wrapper .ginput_container_radio + .gfield_description, #fullwrap .gform_wrapper .ginput_container_consent + .gfield_description {margin-top:10px;}

#fullwrap .gform_wrapper .ginput_container_consent + .gfield_description {border:none;max-height:none;overflow-y:visible;padding:0;}

#fullwrap .gform_wrapper .gfield_required {font-size:inherit;padding-left:3px;}
#fullwrap .gform_wrapper .gfield_required .gfield_required_text {font-style:normal;text-transform:none;letter-spacing:0;}

#fullwrap #gf_form_focus {outline:none;}

#fullwrap .gform_wrapper .gfield_required,
#fullwrap .gform_wrapper .gfield_error .gfield_label,
#fullwrap .gform_wrapper div.validation_error,
#fullwrap .gform_wrapper ol.validation_list,
#fullwrap .gform_wrapper .validation_message,
#fullwrap .gform_wrapper .gf_submission_limit_message,
#fullwrap .gform_wrapper .gfield.gfield_error div.ginput_complex.ginput_container label, 
#fullwrap .gform_wrapper .gfield.gfield_error .gfield_checkbox, 
#fullwrap .gform_wrapper .gfield.gfield_error ul.gfield_radio,
#fullwrap .gform_wrapper .gform_validation_errors > h2 {color:#CD0000;}

#fullwrap .gform_wrapper .gfield.gfield_error input[type="text"],
#fullwrap .gform_wrapper .gfield.gfield_error input[type="url"],
#fullwrap .gform_wrapper .gfield.gfield_error input[type="email"],
#fullwrap .gform_wrapper .gfield.gfield_error input[type="tel"], 
#fullwrap .gform_wrapper .gfield.gfield_error input[type="number"], 
#fullwrap .gform_wrapper .gfield.gfield_error input[type="password"], 
#fullwrap .gform_wrapper .gfield.gfield_error textarea,
#fullwrap .gform_wrapper .gfield.gfield_error select.gfield_select {border-color:#CD0000;}

#fullwrap .gform_wrapper .gfield_validation_message, #fullwrap .gform_wrapper .validation_message {border:none;padding:0;background:none;font-size:13px;line-height:18px;margin-top:10px;}

#fullwrap .gform_wrapper .gform_validation_errors {border:none;border-radius:0;box-shadow:none;background:none;margin:0 0 20px 0;padding:0;}
#fullwrap .gform_wrapper .gform_validation_errors .gform-icon {display:none;}
#fullwrap .gform_wrapper .gform_validation_errors h2 {font-size:inherit;line-height:inherit;font-weight:normal;margin:0 0 15px 0;text-align:left;font-family:inherit;}
#fullwrap .gform_wrapper .gform_validation_errors>h2.hide_summary {margin:0;}
#fullwrap .gform_wrapper .gform_validation_errors>ol {padding-left:1.6em;}
#fullwrap .gform_wrapper .gform_validation_errors>ol li {font-size:inherit;color:inherit;margin-bottom:4px;}
#fullwrap .gform_wrapper .gform_validation_errors>ol a {font-size:inherit;color:inherit;font-weight:inherit;}

#fullwrap .gform_wrapper .gsection {padding:0;border:none;}

#fullwrap .gform_wrapper .gform_title {font-size:28px;line-height:36px;margin:0 0 30px 0;font-weight:bold;text-align:center;}
#fullwrap .gform_wrapper .gsection_title {font-size:24px;line-height:32px;font-weight:bold;margin:20px 0 0 0;}
	
#fullwrap .gform_wrapper .gform_description {display:block;margin-bottom:30px;}

/****** MARGINS ******/

#fullwrap .notop>:first-child {margin-top:0;}
#fullwrap .notop>:first-child>:first-child {margin-top:0;}
#fullwrap .notop>:first-child>:first-child>:first-child {margin-top:0;}
#fullwrap .notop>:first-child>:first-child>:first-child>:first-child {margin-top:0;}
#fullwrap .notop>:first-child>:first-child>:first-child>:first-child>:first-child {margin-top:0;}
#fullwrap .notop>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child {margin-top:0;}
#fullwrap .notop>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child {margin-top:0;}
#fullwrap .notop>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child {margin-top:0;}
#fullwrap .notop>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child {margin-top:0;}
#fullwrap .notop>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child {margin-top:0;}
#fullwrap .notop>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child>:first-child {margin-top:0;}

#fullwrap .nobot>:last-child {margin-bottom:0;}
#fullwrap .nobot>:last-child>:last-child {margin-bottom:0;}
#fullwrap .nobot>:last-child>:last-child>:last-child {margin-bottom:0;}
#fullwrap .nobot>:last-child>:last-child>:last-child>:last-child {margin-bottom:0;}
#fullwrap .nobot>:last-child>:last-child>:last-child>:last-child>:last-child {margin-bottom:0;}
#fullwrap .nobot>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child {margin-bottom:0;}
#fullwrap .nobot>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child {margin-bottom:0;}
#fullwrap .nobot>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child {margin-bottom:0;}
#fullwrap .nobot>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child {margin-bottom:0;}
#fullwrap .nobot>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child {margin-bottom:0;}
#fullwrap .nobot>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child>:last-child {margin-bottom:0;}

.cicon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  overflow:visible !important;
}

.icon-angle-right {
  width: 0.375em;
}
.icon-angle-left {
  width: 0.375em;
}

.icon-heart {
  width: 1.111328125em;
}

.icon-twitter {
  width: 1.1669921875em;
}

.icon-tips {
  width: 0.7724609375em;
}

.icon-shopping-cart {
  width: 1.125em;
}

.icon-pinterest {
  width: 0.7998046875em;
}

.icon-instagram-black {
  width: 0.947265625em;
}

.icon-facebook {
  width: 0.5498046875em;
}

.icon-comments {
  width: 1.1669921875em;
}

.icon-browse-all {
  width: 1.138671875em;
}

.icon-award {
  width: 0.8330078125em;
}

.icon-angle-down {
  width: 0.625em;
}

.icon-tiktok {
  width: 0.9287109375em;
}

.icon-youtube {
  width: 1.5em;
}

.icon-comment {
  width: 1.142578125em;
}

.icon-bars {
  width: 0.875em;
}

.icon-angle-down-solid {
  width: 0.625em;
}

.icon-search {
  width: 0.93359375em;
}
.icon-plus {width:0.75em;}

.icon-play {
  width: 0.875em;
}

.icon-heart {
  width: 1.099609375em;
}

.icon-carousel-left {
  width: 0.5556640625em;
}

.icon-carousel-right {
  width: 0.5556640625em;
}

.icon-cursive-arrow {
  width: 0.9375em;
}



.socialicons {font-size:20px;line-height:1;text-align:center;margin:30px 0;}

.socialicons ul {margin:0 0 0 -20px;margin-bottom:-10px !important;padding:0;list-style:none;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;}
.socialicons ul li {margin:0 0 0 20px;margin-bottom:10px !important;padding:0;}
.socialicons ul li a {display:block;margin:0 -10px;padding:0 !important;text-decoration:none !important;font-weight:inherit;color:inherit;background:none;}
.socialicons ul li a .cicon {padding:0 10px;display:block;}

.socialicons ul li:hover a[href*="facebook.com"] {color:#3a5997 !important;}
.socialicons ul li:hover a[href*="pinterest.com"] {color:#CB2027 !important;}
.socialicons ul li:hover a[href*="twitter.com"] {color:#1DA1F2 !important;}
.socialicons ul li:hover a[href*="instagram.com"] {color:#833AB4 !important;}
.socialicons ul li:hover a[href*="youtube.com"] {color:#FF0000 !important;}
.socialicons ul li:hover a[href*="flickr.com"] {color:#ff0084 !important;}
.socialicons ul li:hover a[href*="bloglovin.com"] {color:#3FBEF4 !important;}

.heading-social {margin:60px 0 25px 0;}
.heading-social-a {display:flex;justify-content:space-between;flex-wrap:wrap;margin-bottom:-5px !important;}
.heading-social .socialicons {margin:0;margin-bottom:5px !important;padding:9px 0;}
.heading-social h2 {margin:0;margin-bottom:5px !important;;}

@media screen and (max-width:479px) {
	.heading-social-a {display:block;margin-bottom:0 !important;text-align:center;}	
	.heading-social .socialicons {margin-bottom:0 !important;}
}

.newsletter-promo {position:relative;}

.newsletter-promo .np-image-a {height:0;position:relative;padding-bottom:48.979591836734693877551020408163%;}
.newsletter-promo .np-image img {display:block;position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;}
.newsletter-promo .np-overlay {position:absolute;bottom:0;left:0;width:100%;text-align:center;color:#fff;padding:80px 20px;box-sizing:border-box;}
.newsletter-promo .np-overlay h2 {font-size:24px;line-height:30px;font-weight:bold;margin:0 0 20px 0;text-shadow: 0 0 30px #8C5019;}

@media screen and (max-width:767px) {
	.newsletter-promo .np-overlay h2 {font-size:20px;line-height:26px;}
	.newsletter-promo .np-overlay {padding:30px 20px;}
	
	.newsletter-promo .np-image-a {height:360px;padding-bottom:0;}
}

.gridheading {display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;margin:60px 0 25px 0;}
.gridheading>h2:last-child {margin-left:auto;margin-right:auto;}
.gridheading h2.latest:before {content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:#33A952;vertical-align:middle;margin-right:10px;}
.gridheading h2 {margin:0;}
.gridheading .archive-link {margin-left:auto;}

.spotlight .archive-link {text-align:right;}

@media screen and (max-width:767px) {
	.gridheading {margin-top:40px;}
}

.archive-link {font-size:18px;line-height:26px;}
.archive-link a {color:inherit;text-decoration:none;}
.archive-link a:hover, .archive-link a:active {color:#008D00;}
.archive-link .cicon {font-size:14px;height:26px;vertical-align:top;margin-left:8px;}

.imagegrid {margin-left:auto;margin-right:auto;max-width:100%;}

.imagegrid>ul {margin:0 0 0 -20px;margin-bottom:-20px !important;padding:0;list-style:none;display:flex;flex-wrap:wrap;}
.imagegrid>ul>li {margin:0;margin-bottom:20px !important;padding:0;}
.imagegrid>ul>li>.li-a {margin-left:20px;position:relative;flex-grow:1;}

.imagegrid>ul>li>.li-a>a {display:block;color:inherit;text-decoration:none;font-weight:inherit;}

.imagegrid4>ul>li {width:25%;}
.imagegrid-main3>ul>li {width:33.333333333333333%;}
.catgrid>ul>li {width:16.666666666666666%;}
.booksgrid>ul>li {width:16.666666666666666%;}
.imagegrid-side1>ul>li {width:100%;}

.imagegrid .gridimage {margin-bottom:10px;}
.imagegrid .gridimage .gridimage-a {position:relative;height:0;padding-bottom:133.3333333333%;}

.imagegrid .gridimage img {display:block;position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;}

.imagegrid .gridtitle {font-size:16px;line-height:24px;overflow:hidden;text-overflow:ellipsis;font-weight:bold;transition:color 0.3s;text-align:center;}
.imagegrid a:hover .gridtitle {color:#008D00;}

.imagegrid-side1 .gridtitle {font-size:14px;line-height:20px;}
.imagegrid-side1 .gridimage {margin-bottom:5px;}

.catgrid {width:976px;max-width:100%;margin-left:auto;margin-right:auto;}}
.catgrid .gridimage {margin-bottom:25px;}
.catgrid .gridimage .gridimage-a {padding-bottom:100%;}
.catgrid .gridimage img {border-radius:50%;}
.catgrid .gridtitle {font-size:13px;line-height:18px;text-transform:uppercase;}

@media screen and (max-width:1023px) {
	.imagegrid-side1>ul>li {width:50%;}
}

@media screen and (max-width:767px) {
	.imagegrid>ul>li {width:50%;}
	.imagegrid4, .catgrid {width:480px;}	
	
	.relatedposts .imagegrid-main3>ul>li:nth-child(3) {display:none;}
}

.spotlight .spotlight-a {margin-left:-40px;display:flex;}
.spotlight .sp-text {width:33.333333333333333%;}
.spotlight .sp-image {width:66.666666666666666%;}
.spotlight .sp-col-a {margin-left:40px;}
.spotlight .sp-image-a {position:relative;height:0;padding-bottom:66.666666666666666%;}
.spotlight .sp-image img {display:block;position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;}
.spotlight ol {list-style:none;padding-left:0;-style:none;counter-reset:ol-spotlight;margin:0;padding:0;}
.spotlight ol li {counter-increment:ol-spotlight;margin:0 0 20px 0;padding:0 0 0 40px;position:relative;font-size:18px;line-height:24px;}
.spotlight ol li:before {content:counter(ol-spotlight);position:absolute;top:0;left:0;font-size:24px;line-height:28px;font-weight:bold;}
.spotlight ol li a {color:inherit;}
.spotlight ol li a:hover, .spotlight ol li a:active {color:#008D00;}

@media screen and (max-width:767px) {
	.spotlight .spotlight-a {margin-left:0;display:block;}
	.spotlight .sp-col-a {margin-left:0;}
	.spotlight .sp-text {width:auto;}
	.spotlight .sp-image {width:auto;margin-top:40px;}
	.spotlight h2 {text-align:center;}
}

.booksgrid ul {margin:0 0 -2.0408163265306122448979591836735% 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;}
.booksgrid ul li {margin:0 0 2.0408163265306122448979591836735% 2.0408163265306122448979591836735%;padding:0;}
.booksgrid ul li:first-child {margin-left:0;}
.booksgrid ul li a img {display:block;width:100%;}

@media screen and (max-width:767px) {
	.booksgrid ul li:nth-child(3n+1) {margin-left:0;}
}

#ctabar {background:#00B300;color:#fff;padding:12px 0;text-align:center;font-weight:bold;font-size:15px;}
#ctabar a {background:#008d00;border-radius:18px;line-height:22px;padding:7px 20px;color:#fff;display:inline-block;margin-left:15px;margin-bottom:10px !important;}
#ctabar a:hover, #ctabar a:active {background:#007900;}
#ctabar .ctatext {display:inline-block;margin-bottom:10px !important;}
#ctabar p {margin-bottom:-10px !important;}

#footer {padding:60px 0;font-size:14px;line-height:18px;}
#footer ul {margin:0 0 0 -35px;margin-bottom:-10px !important;padding:0;list-style:none;display:flex;flex-wrap:wrap;}
#footer ul li {margin:0 0 0 35px;padding:0;margin-bottom:10px !important;}
#footer ul li a {display:block;color:inherit;font-weight:inherit;}
#footer ul li a:hover, #footer ul li a:active {text-decoration:underline;}

@media screen and (max-width:767px) {
	#footer {padding:30px 0;}
}

.pageheader {margin:0 0 30px 0;}
.pageheader .pagetitle {margin:0;}
.pageheader-wide {text-align:center;}

.postarchive .postitem {border-top:1px solid #ccc;padding-top:40px;margin:40px 0;}

.postheader {margin-bottom:30px;}
.postheader .title {margin-bottom:0;}
.postheader .title a {font-weight:inherit;color:inherit;text-decoration:none;}
.postheader .title a:hover, .postitem .postheader .title a:active {color:#008D00;}
.postheader .postmeta {font-size:14px;color:#333;}
.postheader .postmeta a {color:inherit;font-weight:inherit;}
.postheader .postmeta a:hover, .post .postmeta a:active {color:#008D00;}

ul.ingredient_list {margin:0 0 1.6em 0;padding:0;list-style:none;}
ul.ingredient_list li {margin:0;padding:0;}
.fineprint {font-size:10px;}

iframe {max-width:100%;}

hr, hr.wp-block-separator {width:60%;height:3px;background:#1b6f1b;color:#1b6f1b;border:none;margin:40px auto;}

.features {width:630px;max-width:100%;margin:30px auto;text-align:center;}
.features ul {margin:0 0 0 -25px;margin-bottom:-5px !important;padding:0;list-style:none;display:flex;flex-wrap:wrap;}
.features ul li {margin:0;margin-bottom:5px !important;padding:0;width:131px;max-width:33.333333333333333%;}
.features ul li .li-a {margin-left:25px;}
.features ul li .li-a span {display:block;margin:0 auto;}
.features ul li img {display:block;}

@media screen and (min-width:480px) {
	.excerpt {font-size:16px;}
}

.excerpt .postheader {margin-bottom:25px;}
.excerpt .image-holder {float:left;display:inline;width:200px;height:0;padding-bottom:300px;}
.excerpt .excerpt-a {padding-left:200px;position:relative;}
.excerpt .excerpt-b {padding-left:40px;}
.excerpt .featimage {position:absolute;top:0;left:0;width:200px;}

@media screen and (max-width:1023px) and (min-width:768px), screen and (max-width:660px) and (min-width:480px) {
	.excerpt .image-holder {width:31.25%;padding-bottom:46.875%;}
	.excerpt .excerpt-a {padding-left:31.25%;}
	.excerpt .excerpt-b {padding-left:20px;}
	.excerpt .featimage {width:31.25%;}
}

@media screen and (max-width:479px) {	
	.excerpt .image-holder {display:none;}
	.excerpt .excerpt-a {padding-left:0;}
	.excerpt .excerpt-b {padding-left:0;}
	.excerpt .featimage {position:static;top:auto;left:auto;width:auto;text-align:center;margin-bottom:20px;}	
	.excerpt .featimage img {width:100%;}	
}

.navigation {margin:40px 0;font-size:20px;line-height:20px;}

.navsingle {margin-bottom:20px;font-size:16px;line-height:22px;}
.navcomments {font-size:16px;line-height:22px;}
.navigation a {font-weight:inherit;}
.navigation .navleft {float:left;display:inline;width:48%;}
.navigation .navright {float:right;display:inline;width:48%;text-align:right;}

.postfooter .postsecgroup {padding-top:40px;border-top:1px solid #ccc;margin-top:40px;}
.postfooter .postsec {margin-top:40px;}
.postfooter .postsecgroup .postsec:first-child {margin-top:0;}
.postfooter .postsecgroup .listcomments {margin-top:0;}

.postfooter .postsec .catstags p {margin:0 0 0 -15px;display:flex;flex-wrap:wrap;}
.postfooter .postsec .catstags a {font-weight:normal;margin-left:15px;vertical-align:top;font-size:16px;}
.postfooter .postsec .catstags span.label {text-transform:lowercase;font-size:16px;margin-left:15px;}

ul.commentlist {margin:0;padding:0;list-style:none;font-size:16px;}
ul.commentlist li.comment-li {margin:0 0 25px 0;padding:0;}
ul.commentlist li.comment-li>ul {margin:25px 0 0 20px;padding:0;list-style:none;}

ul.commentlist li #respond {margin:30px 0;}
ul.commentlist li li #respond {margin-left:-20px;}
ul.commentlist li li li #respond {margin-left:-40px;}
ul.commentlist li li li li #respond {margin-left:-60px;}
ul.commentlist li li li li li #respond {margin-left:-80px;}

@media screen and (max-width:619px) {
	ul.commentlist li.comment-li li.comment-li>ul {margin-left:0;}
	ul.commentlist li li li #respond {margin-left:-20px !important;}
}

.comdiv {border-bottom:1px solid #ccc;padding-bottom:25px;}

.comdiv .commeta {font-size:14px;line-height:20px;margin-bottom:10px;color:#999;}

.comdiv .commeta ul {display:flex;flex-wrap:wrap;margin:0 0 0 -20px;margin-bottom:-5px !important;padding:0;list-style:none;align-items:center;}
.comdiv .commeta ul li {margin:0 0 0 20px;margin-bottom:5px !important;padding:0;}
.comdiv .commeta a {text-decoration:none;color:inherit;font-weight:inherit;}
.comdiv .commeta a:hover {text-decoration:underline;}

.comdiv .comactions {font-size:14px;line-height:20px;margin-top:10px;}
.comdiv .comactions ul {display:flex;flex-wrap:wrap;margin:0 0 0 -20px;margin-bottom:-5px !important;padding:0;list-style:none;align-items:center;}
.comdiv .comactions ul li {margin:0 0 0 20px;margin-bottom:5px !important;padding:0;}
.comdiv .comactions a {font-weight:inherit;}
		
.comdiv.bydavid .comdavid {float:left;display:inline;margin-right:15px;}
.comdiv.bydavid .comdavid img {display:block;}
.comdiv.bydavid .comright {overflow:hidden;}

#respond .comment-reply-title small {font-size:12px;display:block;}

#respond .comment-form input[type="text"],
#respond .comment-form input[type="email"],
#respond .comment-form input[type="url"],
#respond .comment-form textarea {border:1px solid #ccc;background:#fff;border-radius:3px;box-sizing:border-box;width:100%;padding:8px 15px;font-size:16px;line-height:24px;}

#respond .comment-form .form-submit {margin-bottom:0;}

#respond .comment-form input[type="submit"] {background:#008d00;color:#fff;transition:background 0.3s;margin:0;padding:8px 20px;border:none;display:block;font-size:15px;line-height:24px;border-radius:20px;font-weight:bold;}
#respond .comment-form input[type="submit"]:hover {background:#007900;}

#respond .comment-form label {display:block;margin:0 0 8px 0;font-size:16px;line-height:22px;}
#respond .comment-form label .required {display:none;}

#respond .comment-form p {margin-bottom:20px;}

#respond .comment-form .comment-form-cookies-consent input[type="checkbox"], #respond .comment-form .comment-subscription-form input[type="checkbox"] {display:none;}
#respond .comment-form .comment-form-cookies-consent input[type="checkbox"] + label, #respond .comment-form .comment-subscription-form input[type="checkbox"] + label {position:relative;display:block !important;padding-left:34px;margin:0;letter-spacing:0;font-size:16px;line-height:24px;font-weight:normal;}

#respond .comment-form .comment-form-cookies-consent input[type="checkbox"] + label:before, #respond .comment-form .comment-subscription-form input[type="checkbox"] + label:before {content:"";display:block;position:absolute;top:1px;left:0;width:22px;height:22px;background:#fff;border:1px solid #2E292A;border-radius:0;box-sizing:border-box;}
#respond .comment-form .comment-form-cookies-consent input[type="checkbox"]:checked + label:after, #respond .comment-form .comment-subscription-form input[type="checkbox"]:checked + label:after {content:"";display:block;position:absolute;top:4px;left:3px;width:16px;height:16px;background-size:100%;background-repeat:no-repeat;background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%23131313' d='M27.241 5.217l-16.44 16.44-6.041-6.041c-0.293-0.293-0.768-0.293-1.061 0l-1.768 1.768c-0.293 0.293-0.293 0.768 0 1.061l8.339 8.339c0.293 0.293 0.768 0.293 1.061 0l18.738-18.738c0.293-0.293 0.293-0.768 0-1.061l-1.768-1.768c-0.293-0.293-0.768-0.293-1.061 0z'%3E%3C/path%3E%3C/svg%3E%0A");}

ul.commentlist li #respond {margin-left:0;margin-top:40px;}
ul.commentlist li li #respond {margin-left:-20px;}
ul.commentlist li li li #respond {margin-left:-40px;}
ul.commentlist li li li li #respond {margin-left:-60px;}

.subscribebox-posts {background:#00B300;padding:10px;text-align:center;}
.subscribebox-posts h2 {font-size:15px !important;line-height:22px !important;font-weight:bold;margin:0 0 10px 0 !important;color:#fff;}

.subscribebox iframe {display:block;}

.subscribeform .inputs {display:flex;min-width:0;justify-content:center;margin-left:-10px;margin-bottom:-10px!important;}
.subscribeform .inputs .input {min-width:0;margin-left:10px;margin-bottom:10px !important;}
.subscribeform .inputs .input-submit {flex-shrink:0;}

.subscribeform input[type="email"] {display:block;margin:0;box-sizing:border-box;background:#fff;border:1px solid #CBCBCB;padding:8px 15px;font-size:16px;line-height:24px;min-width:0;border-radius:3px;width:320px;box-sizing:border-box;border:none;}
.subscribeform input[type="submit"] {background:#008d00;border-radius:20px;padding:8px 20px;color:#fff;transition:background 0.3s;margin:0;border:none;display:block;box-sizing:border-box;font-size:15px;line-height:24px;font-weight:bold;}
.subscribeform input[type="submit"]:hover {background:#007900;}

.subscribebox-incontent {width:300px;margin:30px auto;max-width:100%;}

#sidebar .section {margin-bottom:20px;font-size:14px;}
#sidebar .section h2.sectitle {font-size:22px;line-height:28px;margin:0 0 10px 0;}

#sidebar .widget_categories ul {margin:0;padding:0;list-style:none;}
#sidebar .widget_categories ul li {margin:0 0 5px 0;padding:0;line-height:18px;}
#sidebar .widget_categories ul ul {margin:5px 0 0 20px;}

#sidebar .sidecolumns .sidecolumn1 {float:left;display:inline;width:120px;}
#sidebar .sidecolumns .sidecolumn2 {float:right;display:inline;width:160px;}

@media screen and (max-width:1023px) {			
	#sidebar .sidecolumns .sidecolumn1, #sidebar .sidecolumns .sidecolumn2 {float:none;display:block;width:auto;}
}

.book {text-align:center;max-width:100%;margin-bottom:10px;}
.book .cover {margin-bottom:10px;}
.book .cover img {display:block;margin:0 auto;}
.book .cover .sw-pinit {margin:0 auto;}

#sidebar .books {margin-left:-10px;}
#sidebar .books .books-a {margin-bottom:-10px;display:flex;flex-wrap:wrap;}
#sidebar .books .book {width:50%;}
#sidebar .books .book .book-a {margin-left:10px;}
#sidebar .books .book .buy a {display:block;}
#sidebar .books .book:nth-child(3) img {height:193px;object-fit:cover;}

.content .book {margin:40px 0;}
.content .book:first-child {margin-top:0;}

.mobilead {display:none;margin-left:auto;margin-right:auto;}
.desktopad {margin-left:auto;margin-right:auto;}

/*amazon fix */
body>iframe, body>img {position:absolute;}

.buy-popup ul {margin:0;padding:0 40px;list-style:none;}
.buy-popup ul li {margin:15px 0;padding:0;text-align:center;}
.buy-popup ul li a {display:block;}
.buy-popup ul li a img {vertical-align:bottom;}

/* old post fixes */

.content div[align="center"] {margin-bottom:1.6em;}
.content .multiimages {display:block;text-align:center;font-size:0;margin-left:-10px;}
.content .multiimages .mi {display:-moz-inline-box;display:inline-block;*display:inline;zoom:1;vertical-align:top;max-width:50%;font-size:14px;margin-bottom:10px;}
.content .multiimages .mi img {margin-bottom:0;}
.content .multiimages .mi .mi-a {margin-left:10px;display:block;}
.content .multiimages br {display:none;}

#colorbox, #cboxOverlay, #cboxWrapper {z-index:999999;}

#main .book {margin:30px 0;}
#main .book .cover {width:220px;max-width:100%;margin-left:auto;margin-right:auto;}

.newbookgrid ul {margin:0 0 0 -30px;padding:0;list-style:none;display:flex;flex-wrap:wrap;row-gap:30px;}
.newbookgrid ul li {margin:0;padding:0;width:33.3333333333%;}
.newbookgrid ul li .li-a {position:relative;height:0;padding-bottom:100%;margin-left:30px;}
.newbookgrid ul li img {display:block;position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain;}

@media screen and (max-width:767px) {
  .newbookgrid ul {margin-left:-20px;}
  .newbookgrid ul li {width:50%;}
  .newbookgrid ul li .li-a {margin-left:20px;}
}