/*
	Theme Name: EHL
	Theme URI: ...
	Description: Custom theme.
	Author: Jem Turner
	Author URI: https://jemturner.co.uk
	Version: 1.1
*/

/* RESETS */
* { margin: 0; padding: 0; }
*, *:before, *:after { box-sizing: border-box; }

/* FONTS */
/* lato-regular - latin */
@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: local(''),
	url('assets/fonts/lato-v17-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
	url('assets/fonts/lato-v17-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* lato-700 - latin */
@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: local(''),
	url('assets/fonts/lato-v17-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
	url('assets/fonts/lato-v17-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* lato-900 - latin */
@font-face {
	font-family: 'Lato';
	font-style: normal;
	font-weight: 900;
	font-display: swap;
	src: local(''),
	url('assets/fonts/lato-v17-latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
	url('assets/fonts/lato-v17-latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* ELEMENTS */
html { font-size:  62.5%; }
body {
	background: #6d6a65;
	color: #e5e5e5;
	font: 1.6rem/1.6 Lato, Arial, Tahoma, sans-serif;
}

a { text-decoration: none; }

img {
	border: 0;
	height: auto;
	max-width: 100%;
}

b, strong { font-weight: 700; }

fieldset { border: 0 none; }

label {
	display: block;
	font-weight: 700;
	margin-bottom: 5px;
}

input,
select,
textarea {
	font: inherit;
	padding: 5px;
	width: 100%;
}
input[type=checkbox],
input[type=submit] { width: auto; }

h1, h2, h3, h4, h5, h6 {
	font-weight: 900;
	line-height: 1.2;
	margin-bottom: 10px;
}
	h1 {
		font-size: 2.6rem;
		font-weight: 700;
	}
	h2 { font-size: 2rem; }
	h3 { font-size: 1.8rem; }

p, ul, ol, table, blockquote, dl { margin-bottom: 25px; }

ul, ol, dl { margin-left: 2em; }

nav ul {
	line-height: 1;
	list-style: none;
	margin: 0 0;
}
nav li {
	display: inline-block;
	width: auto;
}
nav a {
	display: block;
}

nav li ul {
	position: absolute;
	background: orange;
	width: auto;
	left: -999em;
}
nav li ul ul {
	margin: -1em 0 0 10em;
}

nav li:hover ul ul,
nav li.sfhover ul ul {
	left: -999em;
}

nav li:hover ul,
nav li li:hover ul,
nav li.sfhover ul,
nav li li.sfhover ul {
	left: auto;
}

/* MAIN STRUCTURE */
#body_wrap {
	height: 100%;
	overflow: hidden;
	width: 100%;
}
.alignwide > div,
.alignfull > div,
.wrap {
	margin: 0 auto;
	max-width: 1000px;
}

.site-header,
.site-content,
.site-footer { display: block; } /* old IE support */

.site-header {
	padding: 40px 0 20px;
}
	.site-header a,
	.site-footer a {
		color: #e5e5e5;
	}

	.site-header .wrap {
		align-items: center;
		display: flex;
	}
		.site-header .title { width: 50%; }
			.site-header .site-title {
				line-height: 32px;
				margin: 0;
			}
				.site-header .site-title a {
					font-size: 2.6rem;
					font-weight: 900;
					text-transform: uppercase;
				}
		.site-header .main-menu {
			text-align: right;
			width: 50%;
		}
			.main-menu li { padding: 10px; }
			.main-menu li:last-of-type { padding-right: 0; }

				.main-menu a {
					font-size: 2rem;
					font-weight: 900;
				}


.site-content { }
	.site-content .wrap {
		background: #fff;
		border-bottom: 80px solid #a09a93;
		color: #444;
	}
		.site-content a:link,
		.site-content a:visited {
			color: #7f571c;
		}

		.entry-header {
			background-color: #a09a93;
			color: #fff;
		}
		.blog .entry-header {
			background-color: transparent;
			color: #444;
		}
		.single .entry-header {
			margin: -30px -30px 30px -30px;
			padding: 30px;
		}

		.blog .post { padding-bottom: 0; }
		.blog .post::after {
			border-bottom: 1px solid #a09a93;
			content: " ";
			display: block;
			height: 1px;
			margin: 0 auto;
			padding-top: 30px;
			width: 50%;
		}
			.blog .post:last-of-type::after { display: none; }

		div.comments {
			margin: 30px 0 0;
		}
			.commentlist {
				list-style: none;
				margin: 0 0 30px;
			}
				.commentlist li {
					background-color: rgba( 0, 0, 0, 0.08 );
					clear: both;
					padding: 15px;
					margin-bottom: 10px;
				}
					.commentlist li .comment-author {
						float: left;
						font-size: 1.8rem;
						margin-bottom: 10px;
						width: 50%;
					}
						.commentlist li .comment-author img {
							border-radius: 100%;
							margin-right: 5px;
							vertical-align: middle;
						}
						.commentlist li .comment-author cite { font-style: normal; }

					.commentlist li .comment-meta {
						float: right;
						font-size: 1.3rem;
						margin-bottom: 10px;
						text-align: right;
						width: 50%;
					}

					.commentlist li p { clear: both; }
					.commentlist li .reply {
						font-size: 1.3rem;
						text-align: right;
					}

			.comments .navigation {
				display: none;
			}

.site-footer {
	font-size: 1.3rem;
	padding: 20px 0 40px;
	text-align: center;
}

/* GUTENBERG */
.wp-block-columns { margin-bottom: 0; }

.wp-block-quote {
	color: #666;
	font-style: italic;
}

.wp-block-image { margin-bottom: 0; }

.wp-block-separator {
	background: transparent;
	border: 0 none;
	border-bottom: 5px solid #a09a93;
}
.wp-block-separator.is-style-wide {
	border-bottom-width: 4px;
}

/* WIDGET CLASSES */
.sidebar .widget { margin-bottom: 30px; }


/* MISC CLASSES */
.has-padding { padding: 30px; }

.alignleft {
	float: left;
	margin: 0 1.5em 1.5em 0;
}
.alignright {
	float: right;
	margin: 0 0 1.5em 1.5em;
}
.aligncenter {
	display: block;
	margin: 0 auto 1.5em;
}

.textcenter,
.center { text-align: center; }

.textright { text-align: right; }

.cf:before,
.cf:after {
	content: " ";
	display: table;
}
.cf:after { clear: both; }
.cf { *zoom: 1; }


/* RESPONSIVEY STUFF */
@media only screen and (max-width : 990px) {
	
	.wrap {
		max-width: 100%;
	}
	
}

@media only screen and (max-width : 768px) {

	.site-header .wrap {
		flex-direction: column;
	}
	.site-header .title,
	.site-header .main-menu {
		text-align: center;
		width: 100%;
	}

}

@media only screen and (max-width : 640px) {

	
}

@media only screen and (max-width : 480px) {

	.site-header .main-menu a {
		font-size: 1.6rem;
	}
}

@media only screen and (max-width: 380px) {

}