/*
 Theme Name:   EFPC Theme
 Description:  Twenty Sixteen Child Theme
 Author:       Kevin Halsall
 Author URI:   http://www.unicursalpath.co.uk/
 Template:     twentysixteen
 Version:      1.2.0
*/

.site-header {
padding-bottom: 0.875em;
padding-top: 0.875em;
}

.site-header-main {
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
}
	
.site-branding { margin-top: 0.2em; }
	
.custom-logo { max-width: 120px; }

.wp-custom-logo .site-title { margin-top: 0.2em; }

.site-branding .site-title a:link, .site-branding .site-title a:visited { color: #04317D; }
.site-branding .site-title a:hover, .site-branding .site-title a:focus, .site-branding .site-title a:active { color: #04317D; }

.site-description { line-height: 1.2; }

.entry-title { color: #04317D; }
.entry-title a:link, .entry-title a:visited { color: #04317D; }
.entry-title a:hover, .entry-title a:focus, .entry-title a:active { color: #04317D; }

#text-2 .textwidget a img { display: inherit; }

.widget_search { 
border-top: none;
padding-top: 0;
}

.site-footer .site-info span { white-space: nowrap; }

.wpcf7-form-control-wrap { max-width: 90%; }
.wpcf7-text { max-width: 500px; }

@media screen and (min-width: 30.625em) { /* 490px */
.site-branding { max-width: 80%; }

.custom-logo-link { 
float: left; 
margin-right: 2em;
}
}


@media screen and (min-width: 44.375em) { /* 710px */
.site-header { 
padding-bottom: 1.3125em;
padding-top: 1.3125em; 
}

.site-branding { margin-top: 0.875em }

.custom-logo { max-width: 210px; }

.site-title {
font-size: 1.8rem;
line-height: 1.2; 
}

.entry-content ul { margin-left: 1.25em; }
}


@media screen and (min-width: 56.875em) { /* 910px */
.site-branding { 
width: 100%; 
max-width: 100%; 
margin-bottom: 0; 
}

.site-title { font-size: 2.6rem; }

.wp-custom-logo .site-title { margin-top: 0.5em; }

.site-header-menu {
width: 100%;
padding: 0 0 .5em 0;
background-image: url(bg-nav.png);
background-size: 100% 100%;
}
.main-navigation .primary-menu { background-color: #1a1a1a; } /* only for IE really */

.main-navigation { margin: 0 1em; padding: 0.4em 0; }
.main-navigation a, .main-navigation a:link, .main-navigation a:visited { color: #f7f7f7; }
.main-navigation a:hover, .main-navigation a:focus, .main-navigation a:active  { color: #47d6fa !important; }
}


@media screen and (min-width: 61.5625em) { /* 985px */
.custom-logo-link { margin-right: 3em; }

.header-image { max-width: 80%; }

}


/* Style for Full Width page template - kev */
.content-area-full-width { width: 100%; }

@media screen and (min-width: 44.375em) { /* 710px */
	.content-area-full-width .entry-content { margin-right: 7.6923%; }
}

@media screen and (min-width: 56.875em) { /* 910px */
	.content-area-full-width .entry-content { margin-right: 0; }
}

/* Display Posts plugin - Grid style - kev */
.display-posts-listing.grid {
	display: grid;
	grid-gap: 3rem;
}

.display-posts-listing.grid .title {
	display: block;
	box-shadow: none;
	margin: 1rem 0;
	font-weight: 700;
}

.display-posts-listing.grid img { 
	display: block; 
	max-width: 100%; 
	height: auto; 
}

.display-posts-listing.image-top .listing-item { margin-bottom: 1rem; }

.display-posts-listing.image-top .listing-item .excerpt-dash { display: none; }

@media (min-width: 680px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media (min-width: 1024px) {
	.display-posts-listing.grid {
		grid-template-columns: repeat( 3, 1fr );
	}
}