/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

//Sticker header me head room
.site-header {
	z-index: 99999 !important;
    position: fixed !important;
    top: 0;
    right: 0;
    left: 0;
}

#masthead.headroom--not-top.slideUp {
    background-color: white !important;
	transform: translateY(-100%);
	webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

#masthead.headroom--not-top.slideDown {
    background-color: white !important;
	transform: translateY(0%);
	webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}


.home #masthead.headroom--top {
    background-color: transparent !important;
}

#masthead.headroom--top {
   transform: translateY(0%);
	webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}


.home .headroom--top #primary-menu {
	background-color:#ffd166;
	webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}


.home .headroom--not-top #primary-menu {
	background-color:#ffffff;
	webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
}

.home .headroom--top .main-navigation .main-nav ul li[class*="current-menu-"] > a {
    color: #ffffff;
	webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

.home .headroom--top .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a{
	  color: #ffffff !important;
}


.home .headroom--top .main-navigation .main-nav a:hover {
	  color: #ffffff !important;
}

 #masthead {
    position: fixed !important;
    right: 0;
    left: 0;
	 z-index: 99999 !important;
}

@media only screen and (min-width: 769px) {
.headroom--top #primary-menu > li.current-menu-item > .fl-has-submenu-container > a, .headroom--top #primary-menu > li.current-menu-item > a, .headroom--top #primary-menu > li > a:hover,.headroom--top #primary-menu > li > .fl-has-submenu-container.focus > a,.headroom--top #primary-menu > li > .fl-has-submenu-container > a:hover {
    color: #ffffff !important;
}
	.fl-menu #primary-menu {
    background-color: transparent !important;
}
	#masthead.headroom--top #primary-menu >li > .fl-has-submenu-container:hover > a {
		color: white !important;
	}
	#masthead.headroom--top .fl-menu .fl-toggle-arrows .fl-has-submenu-container:hover > .fl-menu-toggle:before, #masthead.headroom--top .fl-menu .fl-toggle-arrows li.current-menu-item >.fl-has-submenu-container > .fl-menu-toggle:before {
		border-color: white !important;
	}
	#masthead.headroom--top .headroom--top #primary-menu > li > .fl-has-submenu-container > span.fl-menu-toggle:hover {
    color: white !important;
}
}


.fl-menu-mobile-toggle {
	color: #ffd166 !important;
     background-color: #ffffff; 
}


.custom-post-article {
	margin-top:7rem;
}

.site-main .wp-block-group__inner-container {
    padding: 10px;
}
.widget-area .widget {
    padding: 10px 40px;
}

p {
    margin-bottom: 1em;
}

.privacy-policy .site-content .content-area {
	margin-top: 40px !important; }

.main-navigation, .main-navigation ul ul {
    background-color: #ffffff;
}

.inside-header {
    padding: 5px 40px;
}

.featured-image {
	display:none;
}

.city-button .fl-button {
background-color: var(--accent) !important;
}

.city-button a.fl-button, .city-button a.fl-button:visited {
	padding: 24px !important;
}

@media only screen and (min-width: 768px) {

.download-sidebar {
position: sticky; 
position: -webkit-sticky; 
top: 0; 
}
}