/*
 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:      1.0
*/

/*--------------------------------------------------------------
## Body basics
--------------------------------------------------------------*/

body {
	overflow-x:hidden;
}
@media screen and (max-width: 900px) {
	.slide-opened body {
		overflow:hidden;
	}
}


/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

.inside-header.grid-container {
	max-width:1400px;
}

.inside-navigation.grid-container {
	max-width:100%;
}
@media (max-width: 768px) {
    .slideout-navigation.do-overlay .slideout-exit {
        position: absolute !important; 
        color:#111;
    }
    #generate-slideout-menu .slideout-menu li  {
    	text-align:left !important;
    }
}

/*--------------------------------------------------------------
## Page tweaks
--------------------------------------------------------------*/

h1.entry-title {
	padding-top:40px;
}
.wp-block-cover {
	margin-bottom:60px;
}

/*--------------------------------------------------------------
## Block tweaks
--------------------------------------------------------------*/

p.has-medium-font-size {
	font-weight:500;
	margin-bottom:20px;
}
a, a:hover {
	transition: all 300ms;
}

/*--------------------------------------------------------------
## Other tweaks from customizer
--------------------------------------------------------------*/

.wp-block-cover {
	margin-bottom:60px;
}
a {
text-underline-offset: 0.2rem;
}
strong {
	font-weight:600;
}
.home .gb-grid-column > .gb-container {
	max-width:360px;
	margin-left:auto;
	margin-right:auto;
}
.date-location {
	margin-top:15px;
	font-style:italic;
}

.single-event .featured-image {
	margin-top:30px !important;
}
