/*
 Theme Name:   SENS Research Foundation Theme
 Theme URI:    http://generatepress.com
 Description:  GeneratePress child theme for SRF
 Author:       Thomas Usborne
 Author URI:   http://edge22.com
 Template:     generatepress
 Version:      0.1
 Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, light, white, dark, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, yellow
*/
@media (max-width: 768px) {
	.main-navigation.toggled .main-nav>ul#menu-main {
	    position: absolute;
	    top: 80px;
	    left: 0;
	    right: 0;
	    z-index: 111;
	    background-color: rgba(10,10,10,0.9);
	}
	.main-navigation .main-nav ul li.sfHover > a{
		background-color: rgba(10,10,10,0.9);
	}
	.generate-back-to-top, .generate-back-to-top:visited{
		z-index: 110;
	}
	body.overflow_hide.one-container.page #page{
	    max-height: 52vh;
	}
	#huge-popup-overlay-portfolio {
	    z-index: 9999;
	}
}
@media (max-width: 992px) and (min-width: 769px) {
	body .main-navigation .main-nav ul li a {
	    padding: 0 10px;
	}
}
@media (max-width: 1024px){
	#huge_it_portfolio_popup_list_1 li.pupup-element.active {
	    z-index: 999999;
	}
	.overflow_hide.one-container.page #page{
	    max-height: 55vh;
	}
	.overflow_hide.one-container.page .inside-article, .overflow_hide.page .entry-content, .overflow_hide.one-container.page .inside-article .elementor.elementor-7, .overflow_hide .elementor-inner, .overflow_hide .elementor-section-wrap, .overflow_hide.one-container.page article.page.type-page, .overflow_hide.one-container.page main.site-main, .overflow_hide.one-container.page div#primary, .overflow_hide.one-container.page div#content, .overflow_hide.one-container.page div#page, .overflow_hide.one-container.page, bod.overflow_hide {
	    overflow: hidden;
	}
}

/* 
Auto Glossary styles
Refactored from posts to theme files: 12/2023
*/
#autogloss {
    display:none;
}
#autoglossModal {
    position:fixed;
    width:100vw;
    height:100vh;
    top:0px;
    left:0px;
    z-index:999;
    display:none;
    background-color: #000;
    opacity:0.2;
}
#autoglossTip {
    position:absolute;
    top:0px;
    left:0px;
    background-color:#fff;
    padding:10px;
    z-index:1000;
    border: 2px solid #ccc;
    border-radius:5px;
    display:none;
    max-width:50vw;
}
.autogloss.key {
    border-bottom: 1px dotted black;
    cursor:help;
    background-color: #ddeeff;
}

/*
WP Post Styles
*/
hr.wp-block-separator {
  margin: 1rem 0;
}
