/*
 Theme Name:   Twenty Twenty Child Montreal
 Theme URI:    https://esa.org/montreal2020/wp-content/themes/twentytwentychild-2022/
 Description:  Montreal Meeting Twenty Twenty Child Theme 
 Author:       Gordon Potter
 Author URI:   https://gordon.technology
 Template:     twentytwenty
 Version:      0.1.65
 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:  twentytwentychild-2022
*/




/*complementing COLORS (color blind ready):
muave: #8c7c73
light green: #6C806C
muted plumb: #5D4444
blue green: #647570 
black: #282828

Primary
red: #ff0000
gold: #ffbb00
yellow: #ff5500

*/

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


body{
	color:#282828;
}

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

/*Nav area*/
.header-titles{
	max-width:260px;
}

.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;}

h1, h2, h3, h5, h6{
	font-weight:normal;
	font-family:"Segoe UI",Arial,sans-serif;
}
h4{}

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

.entry-content .wp-block-columns h5, .entry-content .wp-block-columns h6{
	margin:0 !important;
}


.entry-content h2{
	font-weight:300;
	color:#5D4444;
}

h2, .entry-content h2{
	font-size:2em;
	margin:6rem auto 1.75rem;

}
.entry-content h2:first-child {
	padding-top:16px;
}


.widget-content h2{
	letter-spacing:-.05em;
}

.entry-content h3, h3{
	font-size:1.4em;
	font-weight:normal;
	line-height:1.3em;
	color:#8c7c73;
	margin:6rem auto .75rem;

}

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

.entry-content h4, h4{
	font-size:1.25em;
	color:#6C806C;
}

i, em{
	text-shadow:1px 1px 2px #ccc;
}

.entry-content h5, h5{
	font-size:1.1em;
}

.entry-content h6, h6{
	color:#647570;
}

.entry-content .wp-block-columns h2, .entry-content .wp-block-columns h3{
		margin:0rem;
	}


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-radius:6px;
/*	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;
}

.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;
}



/*.entry-content h2::first-child{
	font-size:3em; 
	background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/h1-bg.gif");
	background-repeat:no-repeat;
background-size:100%; text-align:center;}*/


.bg-image{background-size:cover !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{
	background-color:#000 !important;
	background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/black-paper.png") !important;
	filter:alpha(opacity=0.9);
	opacity:0.9;
}
/*Important catch-all for header links!*/
#site-header .site-description, .primary-menu a, .primary-menu span.icon{
	color:#fff;
}

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:1600px;
	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{
	border-top:32px solid rgb(86, 64, 64);

/*	background-color:rgba(255,255,255,.97);*/
margin-bottom:10vw;
position:relative;
padding:5% 0;
}


.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;
}

figure.wp-block-table table.calendar tr td{
	background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/sun-site-icon_trans.png");
	background-size:64px;
	background-repeat:no-repeat;
	background-position:top right;
}
/*
.bg-image{
	background-size:cover !important;
	background-position:center;
}
*/
.wp-block-spacer{margin-top:36px; border-top:2px solid #fff;}


.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:5%;
	border-top:32px solid rgb(86, 64, 64);
	
}

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{
	background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/header-bg.png");
	background-repeat:no-repeat;
	background-position:bottom;
	background-size:contain;
	padding:1rem 0rem 0rem;
	min-height:10rem;
	line-height:3.4rem;
	letter-spacing:0.03em;
	word-spacing:0.2em;
	font-weight:300;
	font-size:1.6em;
	font-variant:all-small-caps;
	font-variant-caps:all-small-caps;
	text-align:center;
	color:#f1f1f1;
		
	width:100%;
}

	
	/*.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;
	}

	.entry-content h1, h1{
			padding:2rem 0rem 2.5rem !important;
			background-color: rgba(0,104,55,1.0);
	}
	.entry-content h3{
		padding:1em 0em 0em 1em;
		
	}
}

@media only screen and (max-width:782px){
	
body.custom-background{
		background-size:contain !important; /*260px*/
		background-position:center !important;
	}
	
.entry-content h1, h1{
	/*background-image:url("https://www.esa.org/montreal2022/wp-content/uploads/2021/08/header-bg.png");*/
	/*background-color: #6C806C;*/
	background-repeat:no-repeat;
	background-position:bottom;
	background-size:contain;
	padding:1rem 0rem 3rem;
	min-height:8rem;
	font-weight:300;
	line-height:1.2em;
	text-align:center;
	color:#f1f1f1;
	width:100%;
}
	
	
	/*.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{
	line-height:1.175em;
	font-weight:normal;
	color:#5D4444;
}

.entry-content h3, .heading-size-3 h3, h3{
	font-size:1.2em;
	font-weight:normal;
	color:#8c7c73;
	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;
	}
}
