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

/* TOC
 * # Header
 * # Page title
 * # Hero
 * # Navigation and sub-navigation
 * # Logo
 * # Shadow on events cards
 * # Remove padding above footer
 * # General




/* # Header */

@media screen and (max-width: 600px) {
.inside-header {
background: white;
	}
.page .entry-title {
		color: #01008A;
		margin-left: 20px;
	}
	.hide-hero-container {
		display: none;
	}
}

@media screen and (min-width: 1024px) {
.inside-header {
background: linear-gradient(
    to right, 
    #ffffff 0%, 
    #ffffff 50%, 
    var(--contrast-2) 50%, 
    var(--contrast-2) 100%
  );
	padding-right: 50px;

	}
	.page .entry-title {
	color: white;
	margin-left: 52%;
	position: relative;
	z-index: 99;
	}
}

@media screen and (min-width: 600px) and (max-width: 1024px) {
	.inside-header {
background: linear-gradient(
    to right, 
    #ffffff 100%, 
    #ffffff 0%, 
    var(--contrast-2) 50%, 
    var(--contrast-2) 100%
  );
	
	}
.site-header .header-image {
    width: 300px!important;		
	}
	.page .entry-title {
		color: #01008A;
			margin-left: 30px;
	}
	.hide-hero-container {
		display: none;
	}
} 

/* # Page title */

@media screen and (max-width: 1024px) {
	
.page .entry-title {
	margin-left: 0!important;
	}
	
	.single-post .entry-title {
		margin-left: 0!important;
	}
}


/* # Hero */

.hero-right-container {
	position: absolute;
	top: 0;
	right: 0;
	width: 50vw;
	min-height: 120vh;
	height: auto;
	box-sizing: border-box;
}


@media screen and (min-width: 768px) {
.image {
	display: inline-block;
	position: relative;
}

.image:before {
	content: '';
	position: absolute;
	width: 60%;
	height: 100%;
	top: 1.5em;
	left: 1.5em;
	border: 2px solid #6F9CEB;
	border-radius: 25px;
}
}

@media screen and (max-width: 768px) {
	.image {
	display: inline-block;
	position: relative;
}
.image:before {
	content: '';
	position: absolute;
	width: 80%;
	height: 100%;
	top: 1.5em;
	left: 1.5em;
	border: 2px solid #6F9CEB;
	border-radius: 25px;

}
}

@media screen and (max-width: 480px) {
	.image {
	display: inline-block;
	position: relative;
}
.image:before {
	content: '';
	position: absolute;
	width: 80%;
	height: 100%;
	top: 1em;
	left: 1em;
	border: 2px solid #6F9CEB;
	border-radius: 25px;

}
}

/* # Navigation and sub-navigation */

@media ( max-width: 768px ) {
	.main-navigation.toggled .main-nav {
	flex-basis: 50%;
}
    .main-navigation {
        background-color: #01008A;
    }
    .main-navigation .main-nav ul li a 
	
	{
	color: #000000;
	}
	
    .main-navigation .menu-toggle {
	color: #ffffff;
    }
    .main-navigation .main-nav ul li > a:hover, 
    .main-navigation .main-nav ul li > a:focus,
    .main-navigation .main-nav ul li.sfHover > a {
	color: #ffffff;
	background-color: #01008A;
    }
}


/* # Logo */
.site-logo {
	margin-bottom: 5px!important;
}


/* # Shadow on events cards */

.has-box-shadow-one {
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.3);
}

.has-box-shadow-one:hover {
    box-shadow: 0px 10px 15px -3px rgba(36,36,35,0.5);
}



/* # Remove padding above footer */ 
		
.one-container #content {
    padding-bottom: 0;
}

/* # General */

.separator-books {
	color: var(--base);
}

.intro-text-on-pages {
	visibility: hidden;
}

.sp-easy-accordion .sp-ea-single .ea-header a {
	font-weight: 400;
	font-family: 
}

.hide-section {
	visibility: hidden;
}




