/*
 Theme Name:   RuwenzoriFoundation
 Description:  Hello-Elementor Child Theme
 Author:       Steve Russell Studios
 Template:     hello-elementor
 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:  hello-elementor-child
*/

 

.navigation {clear:both;}
body:not(.elementor-editor-active) .elementor-widget-menu-anchor {
   position: relative;
   z-index: -1;
 }
 body:not(.elementor-editor-active) .elementor-menu-anchor:before {
   content: "";
   display: block;
   height: 117px; // fixed header height
   margin: -117px 0 0; // negative fixed header height
   visibility: hidden;
   pointer-events: none;
 }
@media (max-width: 650px) {
	body:not(.elementor-editor-active) .elementor-menu-anchor:before {
	   height: 75px; // fixed header height
	   margin: -75px 0 0; // negative fixed header height
	}
}
@media (max-width: 500px) {
	body:not(.elementor-editor-active) .elementor-menu-anchor:before {
	   height: 45px; // fixed header height
	   margin: -45px 0 0; // negative fixed header height
	}
}
/**
 * Smooth scrolling on the whole document
 */
html {
	scroll-behavior: smooth;
}
 /*
  * Header Styling
  *-----------------------*/
#wpfront-scroll-top-container{
z-index:1000;
}
#site-header {
	position:fixed;
	top: 0;
    width: 100%;
	z-index: 1000;

}

#content {
	padding-top:136px;
}
.site-header:not(.header-stacked) .header-inner .site-branding {max-width:70%;}
	.entry-title {max-width:1600px!important; }
@media (max-width: 576px) {
	  .site-header .header-inner:not(.header-stacked) .site-branding
	{
		max-width: 70%;
	  }
	#content {
	padding-top:80px;
}
}
/*********************************
style mobile fixed header
*********************************/

 header.fixed{
		background:#fff;
		color:#252525;			
}
	header {-webkit-transition: background-color 0.2s ease-out;
	-moz-transition: background-color 0.2s ease-out;
	-o-transition: background-color 0.2s ease-out;
	transition: background-color 0.2s ease-out;
}
.page-id-2 header #mega-menu-wrap-my-custom-menu .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-label, .page-id-2 header #mega-menu-wrap-my-custom-menu .mega-menu-toggle .mega-toggle-block-1::after {color:#fff!important;}
@media (min-width: 1240px) {
	
.page-id-2 header #mega-menu-wrap-my-custom-menu #mega-menu-my-custom-menu > li.mega-menu-item > a.mega-menu-link{
	color:#fff;
	
}
	.page-id-2 header #mega-menu-wrap-my-custom-menu #mega-menu-my-custom-menu li#mega-menu-item-54 > a.mega-menu-link {
		border-color:#fff;
	}
	#mega-menu-wrap-my-custom-menu #mega-menu-my-custom-menu li#mega-menu-item-54 > a.mega-menu-link {line-height:36px;}
.page-id-2 header.fixed #mega-menu-wrap-my-custom-menu #mega-menu-my-custom-menu > li.mega-menu-item > a.mega-menu-link{
	color:#252525;
	border-color: #252525!important;
}
}
/*********************************
Footer Styling
*********************************/
.site-social a, .site-social img {vertical-align:bottom;}
.footer-block {font-size:12px;display:inline-block;max-width:25%;vertical-align: bottom;}
.footer-credits {font-size:10px;clear:both;display:block;}
@media (max-width: 650px) {
	.footer-block {max-width:unset!important;}
}
.footer-links {font-size:12px;}
 /*
  * Contact Form
  *-----------------------*/
input, textarea {border-radius:0px!important; }
label {line-height:1.5;}
 /*
  * Pages Titles Mobile
  *-----------------------*/
@media (max-width: 575px) {
	
	.page-header .entry-title {
		padding-inline-start: 0px;
	}
}

 /*
  * Fonts
  *-----------------------*/
@font-face {
    font-family: 'montserratthin_italic';
    src: url('montserrat-italic-variablefont_wght-webfont.woff2') format('woff2'),
         url('montserrat-italic-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;

}
@font-face {
    font-family: 'montserratthin';
    src: url('montserrat-variablefont_wght-webfont.woff2') format('woff2'),
         url('montserrat-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
body, a, h1, h2, h3, h4, h5, h6 {font-family: 'Montserrat', sans-serif;    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;}


 /*
  * Show More Buttons
  *-----------------------*/
.gallery {
		transition: all 0.5s ease;
}

.read-more  {
    overflow: hidden;
	max-height:0px;
	-webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: grid-template-rows 0.5s ease-out;
}
.read-less {
-webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: grid-template-rows 0.5s ease-out;
	}
button.read-more-button .active {content:"Show Less";}
button.read-more-button {content:"Show More";}
.more-wildlife {
	display: grid;
  	grid-template-rows: 0fr;
  	transition: grid-template-rows 1s ease-out;
}
.more-wildlife.read-less {
	grid-template-rows: 1fr!important;
	transition: grid-template-rows 1s ease-out;
	
}
.more-inner {
  overflow: hidden;
	min-height:0;
  transition: visibility 1s;
  visibility: hidden;
}
.read-less .more-inner{visibility:visible;}
 /*
  * Custom Post Types
  *-----------------------*/

body:not([class*="elementor-page-"]) .site-main {max-width:1620px;padding:10px;}
/* Main Archives */
.post-type-archive .page-content, .blog .page-content,  .tax-wildlife-category .page-content , .collection, .more-inner {
	display: flex;flex-wrap:wrap;
}
/* Mobile Queries */
.archive article.post, .tax-collection article.post, .blog article.post, .wildlife-cat, .collection article.post, .more-wildlife article.post{
	flex-basis: 25%;
	padding: 10px;
}
@media (max-width: 1024px) {
	.archive article.post, .tax-collection article.post, .blog article.post, .wildlife-cat, .collection article.post, .more-wildlife article.post {
		flex-basis: 49%;
	}
}
@media (max-width: 610px) {
	.archive article.post, .tax-collection article.post, .blog article.post, .wildlife-cat, .collection article.post, .more-wildlife article.post {
		flex-basis: 100%;
	}
}


.archive article.post .entry-title, .cat-title {text-align:center;}
.archive .site-main .page-content {padding:10px 0px;}
.cat-title {font-weight:400!important; text-decoration:none;}
.collection a:link, .collection a:visited, .collection a:active, .collection a:hover {text-decoration:none;}

/*
 * Gallery Settings
 *-----------------------*/
.featured {margin:auto;display:block;}
.gallery-thumb {display:inline-block;padding: 10px;}
.pswp__button--share {display:none!important;}
.image-above-container .slide {background-color:unset;}
.gallery-thumb:hover img {
	-webkit-transform: scale(1.02);
	transform: scale(1.02);
	z-index:901;
}
.gallery-thumb {max-width:24.5%;}
@media screen and (max-width:450px) {
	.gallery-thumb {max-width:49%!important;padding-right:0px!important;}
	
}
.rgg-container {max-width:40%;}
.slick-prev, .slick-next {display:none!important;}

 .readmoretoggle .elementor-tab-title a:after { content: "Show more"; display: block; padding-top: -20px; }
.readmoretoggle  .elementor-active a:after { content: "Show less"; } 

/* button styling below */
.readmoretoggle .elementor-tab-title a{
display:inline-block;
padding:0.4em 1.6em;
margin:0.14em 0 ;
border:0.16em solid rgba(0,0,0,0);
border-radius:0;
font-weight:300;
color:rgba(255,255,255,0.9); /* button text color */
text-align:center;
background-color: rgba(0,0,0,.71); /* button color */
transition: all 0.34s ease;
}
/* hover button styling */
.readmoretoggle .elementor-tab-title a:hover{
color:rgba(255,255,255,1); /* change color of text when hovering */
transform: scale(1.03); /* delete to remove the zoom in effect */
}



.page-id-3744 .dgwt-jg-gallery {height:1250px!important;}