/*
 Theme Name:   Twenty Twenty Child for USNVC
 Theme URI:    https://esa.org/USNVC/
 Description:  USNVC Twenty Twenty Five Child Theme 
 Author:       Gordon Potter
 Author URI:   https://gordon.technology
 Template:     twentytwentyfive
 Version:      0.1.38
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:          Blog, One Column, Custom Background, Custom Colours, Custom Logo, custom-menu, Editor Style, Featured Images, Footer Widgets, Full Width Template, rtl-language-support, Sticky Post, Theme Options, threaded-comments, translation-ready, Block Editor Patterns, Block Editor Styles, Wide Blocks, Accessibility Ready
 Text Domain:  twentytwentyfive
*/




/*
 * 
 * W3 Edits
 * 
 * */
.w3-container{padding:0 !important;}


body{
	color:#282828;
}

.hentry{}
.has-post-thumbnail .hentry{}

/*Nav area*/


.entry-content, footer{font-family: 'Martel', serif;}

.widget_text p, .widget_text ol, .widget_text ul, .widget_text dl, .widget_text dt, .widget-content .rssSummary{font-family: 'Martel', serif;}


h4{}

.sidebar h4, .sidebar h5, .sidebar h6{
	margin:6px 0px;
}

.radius{border-radius:6px !important;}



i, em, b, strong{
	text-shadow:1px 1px 2px #ccc;
	font-weight:normal;
}


button, .button, .faux-button, .wp-block-button__link, .wp-block-file .wp-block-file__button, input[type="button"], input[type="reset"], input[type="submit"], .bg-accent, .bg-accent-hover:hover, .bg-accent-hover:focus, :root .has-accent-background-color, .comment-reply-link{
	
	border-bottom:0px !important;
	/*border-style:dotted !important;*/
}

cite, figcaption, .wp-caption-text, .post-meta, .entry-content .wp-block-categories li, .wp-block-embed figcaption, .wp-block-image figcaption, .pagination .dots{
	/*color:#647570 !important;*/
}

figure.wp-block-image{margin:0 !impoortant;}

:root :where(.is-layout-flow) > *{
	margin-block-start:0rem;
}

.wp-block-navigation__responsive-container, .wp-block-navigation__submenu-container /*ul.wp-block-navigation__container, .wp-block-navigation__responsive-container-content*/{
	padding:6px 6px 6px 8px;
	    left: 0;
    top: 100%;
    margin-top: 2px;
    border-top: 0;
}

span.wp-block-navigation-item__label{

}

:where(.wp-site-blocks *:focus){
	outline-width:0px !important;
	
}

.wp-block-navigation__submenu-container{
	margin:10px 0px 8px !important;
	padding-bottom:12px !important;
}

.wp-block-navigation__submenu-container{
	padding-left:15px;
	min-width:240px;
}

div.wp-block-cover{
	min-height:210px !important;
}

/*a.wp-block-navigation-item__content*/ a.wp-block-navigation-submenu__toggle{
	padding-left:15px;
}

.wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle{
	padding-left:.85em;
}


.sticky{  
position: sticky !important;
position: -webkit-sticky;
padding-bottom:12px;
}

.entry-content a:active{
	text-decoration:underline;
}




.entry-content ul li{
	padding-left:1em;
	list-style-position:inside;
	list-style-type:none;
}



.entry-content ul li:before{
	content:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/09/list-item.gif");
	padding-right:1rem
}

.padding-top{
	padding-top:32px !important;
}

blockquote{
	border-color:#000666;
}




h6, .heading-size-6{
	text-transform:none !important;	
}



.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide){
	max-width:72rem !important;
}


.bg-image{background-size:cover !important;
}

.is-layout-flow{
	margin-block-start:0 !important;
}


.salamander{
	background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/salamander-lg.png");
	background-repeat:no-repeat;
	background-position:right top;
}

.butterfly{
	background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/butterfly-lg.png");
	background-repeat:no-repeat;
	background-position:right top;
}

.caterpillar{
		background-image:url("	https://www.esa.org/montreal2022/wp-content/uploads/2021/08/slither-lg.png");
	background-repeat:no-repeat;
	background-position:right top;
}

.claw{
		background-image:url("	https://www.esa.org/montreal2022/wp-content/uploads/2021/08/claw-lg.png");
	background-repeat:no-repeat;
	background-position:right top;
}

.padding-left{
	padding-left:16px !important;
}

.sub-menu li a{
	color:#000;
}

#top-alert-horizontal h2{
	display:none;
}
#top-alert-horizontal{
	text-align:center;
	background-color:#fff;
}
#top-alert-horizontal h3{
	margin:0;
}

#top-alert-horizontal 
ul#menu-language-switcher a{
	padding:.5em 1em;;
	margin-top:0;
font-family: 'Martel', serif;
	color:#fff !important;
}

#top-alert-horizontal 
ul#menu-language-switcher{
	text-align:right;
}

#top-alert-horizontal 
ul#menu-language-switcher li{
	display:inline;
	border:2px solid #fff;
	padding:6px 0px;
}

/*https://www.esa.org/montreal2022/wp-content/uploads/2021/08/footer-bg-01.jpg*/
.am-linear-gradient{
	background:linear-gradient(to right, #ffbb00, #ff5500, #ff0000) !important;
	background:-moz-linear-gradient(to right, #ffbb00, #ff5500, #ff0000);
	background:-webkit-linear-gradient(to right, #ffbb00, #ff5500, #ff0000);
	background:-o-linear-gradient(to right, #ffbb00, #ff5500, #ff0000);
}


.site-logo{
	/*background-image:radial-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.4), rgba(255,255,255,0.1));
border-radius:75%;
	padding:4px 9px 18px 9px;
	border:1px solid rgba(0,0,0,0.1);*/
}
.site-logo:active{
	/*border:1px solid #fff;*/
}


figure/*.featured-media div.featured-media-inner .section-inner*/
figcaption.wp-caption-text {
	display:none;
}

figcaption, .wp-block-image figcaption{color:#6d6d6d; text-align:center;}

body:not(.singular) main > article:first-of-type{
	padding:0 auto !important;
}

footer.header-footer-group .section-inner{
/*	background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/footer-trans-alt-01.png") !important;
	background-repeat:no-repeat !important;
	background-position:bottom center !important;*/
	/*background-size:cover;*/
	/*height:68px;	*/
}

.footer-nav-widgets-wrapper{
	margin-top:32px;
	opacity:0.97;
	filter:alpha(opacity=97%);
	/*filter:opacity(alpha=80);*/
}



.singular .entry-header{
	padding:0em;
}

#site-header{
	
}
/*Important catch-all for header links!*/
#site-header .site-description, .primary-menu a, .primary-menu span.icon{
}

ul.sub-menu li.menu-item a{
	color:#000;
}
ul.sub-menu{
	background-color:rgba(255,255,255,0.8);
}

.entry-content figure.wp-block-gallery ul.blocks-gallery-grid li.blocks-gallery-item:before{
	content:none;
	padding:0 !important;
}

.header-inner .toggle-wrapper, .nav-toggle .toggle-inner, .header-toggles .toggle, .header-inner svg{
	color:#fff;
}
#site-content{
/*	background-color:rgba(255,255,255,0.98);*/
	margin-bottom:100vh;
}

.entry-content{
	color:#000;
	padding-bottom:128px;
}
.post-inner{
	/*
	background:linear-gradient(217deg, rgba(100, 117, 112, .8), rgba(93, 68, 68, .8)
 70.71%),
		linear-gradient(127deg, rgba(140, 124, 115, .8), rgba(108, 128, 108, .8)
 70.71%),
    linear-gradient(336deg, rgba(100, 117, 112, 0.8), rgba(255, 85, 0, 0.8)
 70.71%);
*/
	
background:linear-gradient(to top, rgba(255,255,255, 0.95), rgba(255,255,255), rgba(255,255,255, 0.95));
/*		background-color:rgba(255,255,255,0.98);*/
	color:#000;
	max-width:1200px;
	margin-left:auto;
	margin-right:auto;
	width:100%;
}

strong, b{
	font-weight:700 !important;
}

.to-the-content{
	height:6rem;
}

.to-the-content-wrapper{
	background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/cropped-sun-site-icon_trans-1.png");
	background-size:64px;
		background-repeat:no-repeat;
	background-position:center;
}
.to-the-content-wrapper svg{
	display:none;
}



/*
.to-the-content svg{
	border:1px solid #000; border-radius:100%; background-color:#ccc;
height:44px; width:44px; padding:8px;
}*/

.entry-content{

/*	background-color:rgba(255,255,255,.97);*/
margin-bottom:10vw;
}


.cover-header + .post-inner{
	padding-top:0;
}



.entry-content p{
	padding-left:2px
}



.error404-content{
	background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/squirrel.jpg");
	min-height:460px;
	background-repeat:no-repeat;
	background-position:unset;
	margin-bottom:64px;
}
.error404-content .intro-text{
	margin-top:360px;
	color:#000;
}

.error404-content p{
	background-color:rgba(255,255,255,0.8);
	padding:.5rem 1rem;
	
}
 
figure.wp-block-table table.calendar tr{
	height:220px;
}

.post-inner{
	padding-top:0;
	margin-top:0;
}


aside.sidebar{
	/*background-color:rgba(255,255,255,0.98);*/
	/*color:purple !important;*/
	padding-left:6px;
	padding-top:15px;
	
}

table.calendar{}
/*
ul.primary-menu.reset-list-style
{
}
ul.primary-menu.reset-list-style li a{
	transform:rotate(-12deg);
	border:1px solid #fff;
}
ul.primary-menu.reset-list-style ul.sub-menu li a{
}
*/

.modal-menu > li > a, .modal-menu > li > .ancestor-wrapper > a{
	font-weight:500 !important;
}

.footer-widgets-outer-wrapper{
	border-color:#ffbb00 !important;
}



/*  Gravity forms alterations */
.ginput_product_price_wrapper input{
	font-size:2.5rem !important;
	font-family:'Arial', sans-serif;
	padding-left:16px !important;
}
.ginput_product_price_wrapper span{
	font-size:2.5rem !important;
	font-family:'Arial', sans-serif;
	padding-left:2px !important;
}


#field_1_3{
	background:linear-gradient(#fff, #f1f1f1);
	border-bottom-right-radius:36px;
	padding-left:16px;
}

.gfield{
font-size:2.5rem;
	font-weight:500;
font-family:"Segoe UI", 'Arial', sans-serif;
}

.gfield .gfield_label{
	font-weight:300 !important;
	font-size:2.0rem !important;
	padding-top:.5em !important;
}
label.gfield_label:first-child{
	padding-top:0px !important;
}

.gform_body #field_1_4 h2:first-child/*, #gform_confirmation_message_1 .gform_confirmation_message_1 .gform_confirmation_message div.w3-padding h2*/
{
padding-top:0px !important;
	margin-top:0px !important;
}

/* END  Gravity forms alterations */


/* Search results */
body.search.search-results hr.post-separator {
	visibility:hidden;
	padding:205px 0px;
}
body.search.search-results:not(.singular) main > article:first-of-type{
	padding:0;
}



#site-footer{
	/*padding-top:236px;*/
}

.footer-credits{
	align-self:flex-end;
}
#site-footer a.to-the-top{
  position:fixed;
	bottom:1px;
	right:1px;
	border-radius:80%;
	border:2px solid #ffbb00;
	padding:10px;
	font-size:1.8rem;
	color:#f1f1f1;
	margin-bottom:1px;
	margin-right:1px;
	font-family:'Arial', sans-serif;
	font-weight:bold;
	font-variant:small-caps;
	/*animation-direction*/
}

#site-footer .to-the-top{
	animation-name:to-the-top;
	animation-duration:1s;
	animation-delay:1s;
}

@keyframes to-the-top{
	0%{bottom:1px; right:1px;}
	25%{bottom:4px; right:1px;}
	50%{bottom:8px; right:1px;}
	75%{bottom:4px; right:1px;}
	100%{bottom:1px; right:1px;} 	
}


#site-footer .to-the-top:hover{
	/*background-color:#ccc;*/
	box-shadow:1px 1px 8px #000;
	color:#000;
	animation-duration:1s;
	animation-name:to-the-top;
}

#site-footer a.to-the-top:active{
	border:3px solid #ff0000;
}

#site-footer .section-inner{
	flex-flow:column !important;
}


@media only screen and (min-width:700px){
	.singular .entry-header{
		padding:0em;
	}	

	.entry-content h1, h1, h1.entry-title, h1.archive-title{

	font-size:3.6em;
	font-variant:all-small-caps;
	font-variant-caps:all-small-caps;

}

	
	/*.entry-content .wp-block-columns h1, .entry-content .wp-block-columns h2, .entry-content .wp-block-columns h3, .entry-content .wp-block-columns h4, .entry-content .wp-block-columns h5, .entry-content .wp-block-columns h6{
		margin:0;
	}*/
}



@media only screen and (max-width:375px){
	.bg-image{
		background-size:contain !important;
		background-position:center;
	}
	.entry-content ul li{
		padding-left:0.2em;
	}

}

@media only screen and (max-width:782px){
/*	
body.custom-background{
		background-size:contain !important; /*260px*/
	/*	background-position:center !important;
	}
	*/
	
	
	/*.entry-content{
		border:0px !important;
	}*/
	cite, figcaption, .wp-caption-text, .post-meta, .entry-content .wp-block-categories li, .wp-block-embed figcaption, .wp-block-image figcaption, .pagination .dots{
		text-align:left !important;
	}
	
.entry-content h2, h2.wp-block-heading{
font-size:1.35rem;

}

.entry-content h3, .heading-size-3 h3, h3{
	font-weight:normal;
	margin:0rem;
	}

	.entry-content h4, .heading-size-4 h4{
		font-size:1em;
	}	
	
.salamander{
	background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/salamander.png");
	background-repeat:no-repeat;
	background-position:right bottom;
}

.butterfly{
	background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/butterfly-01.png");
	background-repeat:no-repeat;
	background-position:right bottom;
}

.caterpillar{
		background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/slither-01.png");
	background-repeat:no-repeat;
	background-position:right bottom;
}

	.claw{
			background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/claw-print-01.png");
	background-repeat:no-repeat;
	background-position:right bottom;
	}
}
