﻿/*
Theme Name: Foot Hold For Health
Theme URI: http://www.footholdforhealth.co.uk
Description: A theme by <a href="http://www.hedleyenterprises.co.uk">hedley enterprises</a>.
Version: 1
Author: hedley enterprises
Author URI: http://www.hedleyenterprises.co.uk

*/
body {
	margin: 0;
	padding: 0;
	font-size: 12pt;
	font-family: Arial, Helvetica, sans-serif;
	color: #333333;
}
.container {
	width: 1200px;
	margin: auto;
}
.padall {
	padding: 10px 20px 20px 20px;
}
.pad {
	padding: 0px 20px 20px 20px;
}
.ptb {
	margin: 10px 0 60px 0;
	font-weight: bold;
}
.fl {
	float:left;
}
.fr {
	float:right;
}
.title {
	margin-top: 150px;
}
.title h1, .title h2 {
	font-size: 55pt;
	font-weight: normal;
	font-style: normal;
}
.dp {
	display: none;
}
.c {
	clear:both;
}
img {
	border-style: none;
}
.down {
	margin-top:50px;
}
.d {
	margin-bottom: 20px;
}
.logoinner {
	width: 600px;
	margin: auto;
}
.logo {
	width: 400px;
	margin: auto;
}
.logo img {
	width: 100%;
}
.absol {
	position: relative;
}
.center {
	text-align:center;
}
.header, .headerinner {
	background-image: url(images/background/purple.jpg);
	color: #FFFFFF;
	padding-top: 50px;
	padding-bottom: 50px;
}
/* .header {
	height:100vh;
} */
.headerinner {
	height:30vh;
}
.headerinner img {
	width: 20%;
	height: auto;
}
.text, .textinner {
	font-family: Georgia, "Times New Roman", Times, serif;
	z-index: 999999;
	position: absolute;
}
.text {
	margin-top: 200px;
	text-align: left;
}
.textinner {
	margin-top: 50px;
	left: 120px;
}
.wide {
	padding-left: 541px;
}
h1 {
	font-size: 35pt;
	font-weight: normal;
}
h2 {
	font-weight: normal;
	font-style: italic;
	font-size: 25pt;
}
ul#nav {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
#nav li {
	float: left;
}
#nav li a {
	padding: 20px;
	margin-right: 20px;
	margin-left: 20px;
}
.navigation {
	width: 100%;
	margin: auto;
	text-align: center;
}
.half {
	width:44%;
}
.right {
	text-align: right;
}
p, td {
	line-height:1.9em;
}
.footer {
	text-align:center;
	color: #fff;
	background-image: url(images/background/purple.jpg);
	padding:10px 0 10px 0;
}
.footer a {
	color: #fff;
	text-decoration: none;
}
.footer a:hover {
	text-decoration: underline;
}
.footer img {
	width:100px;
	height:auto;
}
.navigation a {
	padding: 10px;
	color: #FFFFFF;
	text-decoration: none;
	border: thin solid #FFFFFF;
	margin-left: 10px;
	margin-right: 10px;
	display: block;
	width: 29%;
	float: left;
}
.navigation a:hover {
	background-color: #FFFFFF;
	color: #333333;
}

.leftcol {
	width: 65%;
}
.rightcol {
	width: 25%;
}
/* Blog */

.blog {
  width:32%;
  margin-right: 15px;
	transition: all 0.5s ease-in-out;
	opacity: 0;
}
.display {
	opacity: 1;
}
.blog h3, .news h2 {
  color: #f58220;
  font-size: 14pt;
  margin: 5px 0;
}
.blog p {
  margin: 0 0 10px 0;
}

/* News */
.grid {
	display: flex;
	flex-wrap: wrap;
}
.news {
	width: 48%;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #dfdfdf;
	margin-bottom: 40px;
	padding-bottom: 20px;
	overflow: hidden;
	max-height: 500px;
	flex-grow: 1;
	margin-right: 5px;
}
.newspic {
	width:100%;
}
.newspic img {
	width:100%;
	height:auto;
	border-radius: 5px;
}
.newstext {
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 40px;
	background-color: rgba(0,0,0,0.7);
	padding: 0 10px;
	color: #fff;
}
.newstext:hover {
	background-color: #f58220;
}
.newstext h2 a {
	color: #fff;
	text-decoration: none;
	display: block;
}
.date {
	font-size: 8pt;
	padding-bottom: 10px;
}
.newstext, .recentmenu li a {
	transition: all 0.5s ease-in-out;
}
.recent {
	background-color: #717372;
	border-radius: 5px;
	padding: 10px;
	color: #fff;
	margin-bottom: 20px;
}
.recent h2 {
	font-size: 15pt;
}
ul.recentmenu {
	margin: 0;
	padding:0;
	list-style: none;
}
.recentmenu li a {
	display: block;
	padding: 10px;
	color: #000;
	text-decoration: none;
	background-color: #fff;
}
.recentmenu li a:hover, .current {
	background-color: #f58220;
}



/*

	Author:			hedleyenterprises.co.uk - let your website stand out...
	Description:	CSS Stylesheet for mobile devices


*/

@media screen and (max-width: 1100px) {

.container {
	width:95%;
}
.text {
	font-family: Georgia, "Times New Roman", Times, serif;
	margin-top: 200px;
	z-index: 999999;
	position: absolute;
	left: 10px;
}

}

@media screen and (max-width: 980px) {

.text, .textinner {
	margin-top: 10px;
	z-index: 999999;
	left: 10px;
	position: relative;
	text-align: center;
}
.title {
	margin-top: 10px;
	float: left;
	display: none;
}
.title h1, .title h2 {
	font-size: 35pt;
}
.dp {
	display: block;
}
.wide {
	padding-left: 0;
}
.logo, .logoinner {
	width:48%;
}
.logo img, .logoinner img {
	width:100%;
	height:auto;
}
.navigation a {
	width: 26%;
}
.half {
	width:100%;
	float:left;
}
.blog {
	width: 100%;
	margin-bottom: 20px;
	border-bottom: solid thin #000;
	padding-bottom:20px;
}
.blog img {
	width:28%;
	float:right;
}
.blog h3, .blog p, .readmore {
	float:left;
	clear: left;
}
.blog h3 {
	margin-top: 30px;
}
}

@media screen and (max-width: 580px) {

.text, .textinner {
	margin-top: 0;
	left: 0;
}
.header, .headerinner {
	background-color: #0066FF;
	color: #FFFFFF;
	padding-top: 10px;
	padding-bottom: 50px;
	height:480px;
}
h1 {
	font-size: 25pt;
}
h2 {
	font-size: 20pt;
}
.navigation a {
	width: 88%;
}
.footer img {
	width:28%;
	height:auto;
}
}
