/**
Theme Name: Astra Child Theme
Author: Bright Bridge Studios
Author URI: https://brightbridge.net
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. That is why Bright Bridge Studios has chosen Astra to be its parent theme of choice. 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jon-philip-roth
Template: astra
*/




/* typography */

body {
text-rendering: geometricPrecision;
}

.has-text-align-center {text-align:center}

/* header */
#masthead { z-index:99; }

/* paragraph links */
p a, p a:hover {text-decoration:underline}

body.ast-theme-transparent-header #primary .wp-block-heading {
	color:#FFF;
}

body.single-post p a:hover { color:#2477B3; }

/* content containers */
.ast-right-sidebar #primary, .ast-right-sidebar #secondary {
	z-index:1; 
	position:relative;
	border:none !important; }


/* sidebar */
.ast-right-sidebar #secondary .sidebar-main aside {
	background:rgba(233,241,245,.9);
	-moz-border-radius:10px;
	border-radius:10px;
	overflow:hidden;
	padding:12px 12px 18px 12px;
}

.ast-right-sidebar #secondary {
	padding-top:35px;
}


.ast-right-sidebar #secondary p, .ast-excerpt-container p {
	font-size:14px;
	line-height:1.4em;
}

.ast-right-sidebar #secondary h1, 
.ast-right-sidebar #secondary h2,
.ast-right-sidebar #secondary h3,
.ast-right-sidebar #secondary h4,
.ast-right-sidebar #secondary h5,
.ast-right-sidebar #secondary h6,
.ast-right-sidebar #secondary p {
	margin:0 !important;
	padding-bottom:10px;
}

/* about the book sidebar block */
#block-5 {text-align:center}
#block-5 figure { text-align:center }
#block-5 .wp-block-image img { width:300px; }

/* about brian sidebar block */
#block-4 {
	-webkit-box-shadow: 0px 0px 0px 1px rgba(233,241,245,.4);
  -moz-box-shadow: 0px 0px 0px 1px rgba(233,241,245,.4);
  box-shadow: 0px 0px 0px 1px rgba(233,241,245,.4) 
}

#block-4 img { 
	margin:-12px -12px 0px -12px; max-width:115%; 
}
.ast-right-sidebar #secondary #block-4 p {margin:15px 0 -20px 0 !important; }

/* latest posts sidebar block */
#block-6 { text-align:center; }

#block-6 li a {font-size:15px; text-decoration:underline; font-weight:500}

/* hide latest posts sidebar block on home page */
body.home #block-6 {display:none;}

body.archive #secondary p a {color:#113344}
body.archive #secondary p a:hover { color:#2477B3; }

/* Insta Feed */


#secondary .wp-block-social-links li, #secondary .wp-block-social-links li:last-child { margin:10px 0; }

#secondary .wp-block-social-links li a {
    display: inline-block;
}
#secondary .wp-block-social-links li a svg {
	color:#134074;
	fill:#134074;
	 width:40; height:40
}

#secondary .wp-block-social-links li a:hover svg, #secondary .wp-block-social-links li a:active svg, #secondary .wp-block-social-links li a:focus svg {
	color:#2477B3;
	fill:#2477B3;
}

.ast-right-sidebar #secondary #block-11 h5 { padding:15px 0 0 0; }

#instagram-gallery-feed-0 { margin-block-start:0px; }




/* blog pagination */
.ast-pagination .prev.page-numbers, .ast-pagination .next.page-numbers,.ast-pagination .page-numbers {
 background-color:#113344;color:#FFF;
}
.ast-pagination .page-numbers:hover,.ast-pagination .page-numbers:active,.ast-pagination .page-numbers:focus,
.ast-pagination .prev.page-numbers:hover, .ast-pagination .next.page-numbers:hover,
.ast-pagination .prev.page-numbers:active, .ast-pagination .next.page-numbers:active,
.ast-pagination .prev.page-numbers:focus, .ast-pagination .next.page-numbers:focus {
 background-color:#113344;color:#FFF; -moz-opacity:.8; opacity:.8;
}

/* --- Header Styles --- */

.site-title a {
    font-weight:800;
    width: 240px;
	line-height:.9em;
	display:block;
	text-align:center;
	text-transform:uppercase;
}

.ast-site-identity a:hover, .ast-site-identity a:active, .ast-site-identity a:focus  {
	opacity:.8;
	-moz-opacity:.8
}


/* prominent first post on home page in elementor premium addons blog */
.home .premium-blog-post-outer-container:first-of-type { width:100% !important; }


/* back to top button */
#ast-scroll-top .ast-icon.icon-arrow svg {
	margin-top:11px
}


body.ast-theme-transparent-header .site-title a {
	text-shadow:1px 1px 4px rgba(0,0,0,0.1);
}

/* search icon on transparent header */
 .ast-icon.icon-search svg { 
	fill:#2477b3;
}

/* search icon on transparent header */
 body.ast-theme-transparent-header .ast-icon.icon-search svg { 
	fill:#A9D6E5;
}


/* main menu current menu item on transparent header */
body.ast-theme-transparent-header #primary-site-navigation-desktop li.current-menu-item a {
	color:#A9D6E5;
} 

/* styles for transparent header main menu */
body.ast-theme-transparent-header #primary-site-navigation-desktop li a, body.ast-theme-transparent-header #footer-menu li a {
	text-shadow:1px 1px 4px rgba(0,0,0,0.3);
}

/* --- SIngle Blog Post Styles --- */
body.single-post .entry-content { max-width:800px; margin:20px auto; }
body.single-post .entry-header { text-align:center; }
body.single-post .elementor-667 .elementor-element.elementor-element-e8b799c { padding-top:100px; }
.featured-image-caption {
    font-size: 14px;
    color: #777;
    text-align: center;
    margin-top: 5px;
}

/* featured image */
.ast-single-post-featured-section { max-width:300px; margin:0 auto;}
.ast-single-post-featured-section img {width:100%;height:auto}
.single nav.post-navigation { max-width:800px; margin:0 auto;}
/* title for tags on single post */
.ast-terms-link:before { content:'Tags: '}

/* --- Archive Pages --- */

/* blog archive grid */
body.ast-theme-transparent-header #content { padding-top:180px;}  
body.archive .ast-blog-layout-4-grid { padding:10px 30px; }
body.archive .ast-blog-layout-4-grid .ast-article-post {padding:10px;}
.wp-block-latest-posts.columns-2 li { background:#FFF; -moz-border-radius:10px; border-radius:10px; overflow:hidden}
.ast-blog-layout-4-grid .ast-article-post { margin-bottom:0;}

/* tags and categories within grid/list */

.ast-taxonomy-container { padding-top:15px; font-size:13px; line-height:1.4em }
.ast-taxonomy-container a { text-decoration:underline }
.tags-links:before {content:'Tags: ';}
.premium-blog-wrap .fa-tags:before { content:'Tags: '; font-size:14px; font-weight:600; font-family:Helvetica, sans-serif}
.premium-blog-wrap .fa-fw { width:auto; }
.premium-blog-wrap .premium-blog-post-tags-container a:hover,.premium-blog-wrap .premium-blog-post-tags-container a:active,.premium-blog-wrap .premium-blog-post-tags-container a:focus {
	color:#2477b3
}

/* primary container */
#content { 
	width:100%; 
	max-width:100%;
}

body.archive #main .ast-row { 
	margin-right:-10px; margin-left:-10px;
}

/* set content max width for archives and pages with transparent header */
body.archive #primary, body.ast-theme-transparent-header .site .site-content #primary {
	max-width:1200px;
	margin:0 auto;
	z-index:1;
}

.ast-plain-container.ast-no-sidebar #primary {
	margin-top:0;
	margin-bottom:0;
}

/* blog archives featured images */
.post-thumb-img-content a {
	display:block;
	height:180px; 
	overflow:hidden;
	position:relative;
}

.ast-article-post .post-thumb-img-content img, .ast-article-post:hover .post-thumb-img-content img {
    aspect-ratio: inherit;
	position: absolute;
	top: 50%;
	-ms-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	transform: translateY(-50%);
}

.ast-article-post .post-thumb-img-content a {
	transition:filter .5s;
}

/* hover brightness effect */
 .ast-article-post .post-thumb-img-content a:hover {
 	filter:brightness(1.2);
}

/* blog archive grid content area */
.ast-plain-container .ast-blog-layout-4-grid .ast-article-inner {
	background:rgba(255,255,255,.9); */
    -moz-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.6);
	-webkit-box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.6);
	box-shadow: 0px 0px 0px 1px rgba(255, 255, 255, 0.6)
}

/* mobile navigation */
.ast-mobile-header-content .ast-search-menu-icon.slide-search { 
	margin:20px;
}
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link {color:#134074}

.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-item > .menu-link:hover {color:#2477B3}

/* Header search */

.ast-header-search .slide-search .search-form {
	border:1px solid #2477B3;
}
#ast-mobile-header .ast-search-menu-icon.slide-search input.search-field {width:100%}

.ast-header-search .slide-search .search-form:focus,
.ast-header-search .slide-search .search-form:active  {
	border:1px solid #A9D6E5;
}

.full-page-background, .full-page-overlay {
    height: 100vh;
    width: 100%;
    background-size: cover;
    position: fixed;
	top:0;
	z-index:-1;
}

.full-page-overlay { z-index:0; }

.site-footer, .site-header { z-index:1; }

/* archive page titles */
.ast-archive-description .ast-archive-title { color:#FFF; text-align:left; text-shadow:1px 1px 4px rgba(0,0,0,0.3); }

.ast-blog-featured-section { margin-bottom:15px;}

/* archive category description */
body.archive .ast-archive-description {
    color: #FFF;
    text-align: left;
    border-radius: 10px;
    margin:0;
	margin:30px 0 0 0;
	padding:0;
	border-bottom:none; 
	max-width:500px; 
}

body.archive .ast-archive-description p {color:#FFF; background: rgba(0,0,0,0.6); padding:15px;}

/* custom background photo caption */
.custom-caption {
    color: #202240;
    text-align: left;
    border-radius: 10px;
    margin:0;
	margin:0 -5px 20px -5px;
	background: rgba(255,255,255,.9);
	padding:20px;
	border-bottom:none;
}
.archive .custom-caption { margin:15px 0 20px; }

.custom-caption p, .custom-caption li {
	font-size:15px;
}

.custom-caption p, .custom-caption li, .custom-caption h1, .custom-caption h2, .custom-caption h3, .custom-caption h4,.custom-caption h5,.custom-caption h6, .custom-caption a  { margin:0; padding:0 0 10px 0}
  
/* -- Now What page -- */

/* hide subscribe form in footer */
body.page-id-888 .elementor-element-65f659d { display:none !important  }

/*  Brevo subscribe form */
body.ast-theme-transparent-header #subscribe-title h4 { color:#FFF;}

#sib-container {background:none !important;width:400px; max-width:100%; text-align:center !important}
#sib-container div { margin:0 auto}
#sib-container #EMAIL {width:400px; max-width:100%;}

/* static sign up form on Now What page */
.sign-up-form .wpforms-field {clear:none !important; width:32%;margin-right:1%; display:inline-block !important }
.sign-up-form .wpforms-field-container {clear:none !important; width:80%; display:inline-block !important}
.sign-up-form .wpforms-submit-container { clear:none !important; width:15%; display:inline-block !important  }
.sign-up-form button.wpforms-submit { background:#DBB531 !important; color:#FFF !important; font-weight:700; }
.sign-up-form button.wpforms-submit:hover,.sign-up-form button.wpforms-submit:active { color:#DBB531 !important; background:#FFF !important; -moz-opacity:1; opacity:1; }

button:hover, button:active, button:focus { -moz-opacity:.8; opacity:.8; }


body.page-id-888 div.wpforms-container-full .wpforms-confirmation-container-full {background-color:transparent !important; border:2px solid #FFF !important; margin-top:50px !important;}

/* modal sign up form on Now What page */
.premium-modal-box-modal-body .sign-up-form .wpforms-field {clear:none !important; width:100%; margin-right:0; margin-bottom:10px; display:block !important }
.premium-modal-box-modal-body .sign-up-form .wpforms-field-container {clear:both !important; width:100%; display:block !important}
.premium-modal-box-modal-body .sign-up-form .wpforms-submit-container { clear:both !important; width:100%; display:block !important  }
.elementor-1046 .elementor-element.elementor-element-8352264.elementor-element {
width:100%;
	max-width:auto;
	margin-bottom:20px;
}
.elementor-element.elementor-element-8352264 .wpforms-container .wpforms-field {padding:0;}
.elementor-element.elementor-element-8352264 .button {display:block; width:100%;}

/* buttons */
.button-now-what, .now-what-contact .button-now-what { font-weight:700; color:#FFF; background-color:#4a6848 !important; -moz-border-radius:7px;border-radius:7px;padding:10px 20px; display:inline-block;}

.button-now-what:hover,.button-now-what:active,.button-now-what:focus { color:#4a6848;background-color:#FFF;} 

/* archive and home footer */
body.ast-theme-transparent-header #footer-1 #footer-menu a,
body.ast-theme-transparent-header #footer-1 #footer-menu a, 
body.ast-theme-transparent-header #footer-1 #footer-menu p,
body.ast-theme-transparent-header #footer-1 #footer-menu p a,
body.ast-theme-transparent-header #footer-1 .elementor-widget-copyright span { color:#FFF; }

body.ast-theme-transparent-header #footer-1 #footer-menu a:hover, 
body.ast-theme-transparent-header #footer-1 #footer-menu a:active, 
body.ast-theme-transparent-header #footer-1 #footer-menu p a:hover,
body.ast-theme-transparent-header #footer-1 #footer-menu p a:active { color:#F0F5FA; }


/*
body.archive #search-field {width:70%;}*/
body.archive #search-field::placeholder {
  color: #4a6848;
}

body.archive .page-content>p {color:#FFF; padding:20px 0 0 0;}


/* Block Editor Photo Gallery */

/* captions */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { position:relative; background:none !important; overflow:visible; max-height:auto !important; color:#113344; text-shadow:none !important}


@media (min-width:545px) and (max-width:921px) {
/* first post on home page more prominent */
.home .premium-blog-post-outer-container:first-of-type .premium-blog-thumb-effect-wrapper, .home .premium-blog-thumbnail-container img {height:320px !important;}

}




@media (min-width:650px) and (max-width:921px) {
	
    .ast-blog-layout-4-grid .ast-article-post {
		width:50%;
	}
}




@media (min-width: 922px) {
/* first post on home page more prominent */
	.home .premium-blog-post-outer-container:first-of-type .premium-blog-thumb-effect-wrapper, .home .premium-blog-thumbnail-container img {
		height:340px !important;
	}

}



@media screen and (max-width:921px) {
.ast-page-builder-template .site .site-content #primary {padding-top:180px;}
	
.elementor-element.elementor-element-8352264 .button { width:auto;}
	
	body.archive #main .ast-row { 
	margin-right:-17px; margin-left:-17px;
}
	
/* container on archives */

	.ast-right-sidebar #primary { padding-right:30px;padding-left:30px; width:auto }
	.ast-right-sidebar #secondary { padding-left:20px;padding-right:20px; width:auto }
	
.custom-caption {
	margin:40px -17px;
}
	
.archive .custom-caption { margin:25px 0 40px; }
	
}


@media screen and (min-width:922px) and (max-width:1188px){
	.post-thumb-img-content a {height:140px}
}


@media screen and (min-width:922px) {
	
/* archive thumbs */
	.ast-article-post.remove-featured-img-padding .blog-layout-4 .post-content .ast-blog-featured-section:first-child .post-thumb-img-content { margin-top:-2.07em }

/* container on archives */
	.ast-right-sidebar #primary { width:75%; padding-right:40px;padding-left:40px; }
	.ast-right-sidebar #secondary { width:25%; padding-left:0;padding-right:40px; }
	
	
}




@media screen and (max-width:544px) {
	
	.ast-page-builder-template .site .site-content #primary {
		padding-top:0px;
	}
	
    .site-title a {
		width:200px;
	}
	
	.ast-archive-description .ast-archive-title { margin-left:-8px }
}




