/*
Theme Name: NHS2
Theme URI: http://www.webuseful.co.uk/wordpress-websites.php
Author: Webuseful Solutions Ltd
Author URI: http://www.webuseful.co.uk/wordpress-websites.php
Description: Bespoke theme for Nutritional Health Solutions

Contents : 
+Bootstrap Overrides
+Theme Styles
+Menu Styles
+Home Page Styles
+Sidebar styles
*/

/* +Boostrap Overrides */

.container { max-width : 980px; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {font-weight : bold;}

/* +Theme Styles */

#padder { padding : 0; } /* provides padding when only the main content is shown */

@media (max-width: 768px) {
	#padder {padding : 0 10px; }
}

body {
	background-color: #fff;
	color: #333;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 14px;
}

#content-wrapper { 
   padding : 30px 0;
   min-height : 400px;
}

img {
	border-radius: 4px;
	height: auto;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: underline;
}

a:hover {
	color : #333;
	text-decoration: underline;
}

h1 {
	font-size: 36px;
}

h2 {
	color : #4f81bd;
	font-size: 24px;
}

h3 {
	color : #2a9e59;
	font-size: 20px;
}

hr {
	border-color: #DDD;
}

header {
	background-color : #fff; /* 4f81bd */
	border-top: 8px solid #2a9e59;	
	color: #4f81bd;
	width: 100%;
/*	padding : 15px 0 0 0; */
}


header a, header a:hover, header a:active, header a:visited, header a:link {
	color: #4f81bd;
	text-decoration:none;
}

#blue-bar {
	height : 30px;
	background-color: #4f81bd;
   border-top: 4px solid #2a9e59;
   border-bottom: 4px solid #2a9e59;
}


#tagline {
	font-size : 22px;
	line-height : 22px;
	font-weight : bold;
/*	letter-spacing: -1px; */
	color : #2a9e59;
}

#site-logo {
	display : block;
	height : auto;
	width : 40%;
	margin : 0 30%;
	max-width : 180px;
}

#site-title {
	font-size: 40px;
	margin-top : 10px;
	margin-bottom : 10px;
}

#header-1-widgets {
	padding-top : 20px;
}

@media (max-width : 768px)  { 
#site-title {
	font-size: 40px;
	line-height : 1.2;
}

#tagline {
	font-size : 14px;
}
}

/*
#top-panel { padding : 20px 0; }
*/

h2.section-title {
	color: #27ae60;
	margin: 24px 0;
}
/*

#sidebar-ul {
	list-style:none;
	padding : none;
	margin : 69px 0 20px 0;
}

#sidebar-ul li {
   list-style: none;
   border: 4px solid #f1eff0;
	border-radius: 6px;
	margin: 10px 0;
	padding: 10px;  
   background-color : #fff;
}
*/
/* clearfix CSS */
/*
#sidebar-ul li { *zoom: 1;
}

#sidebar-ul li :before,
#sidebar-ul li :after {
	display: table;
	content: "";
	line-height: 0;
}

#sidebar-ul li :after { clear: both; }

*/
/*

#sidebar-ul ul {
	margin : 0 0 0 20px;
	padding : 0 0 0 10px;
}

#sidebar-ul ul li {
	list-style:circle;
	border : none;
	padding : 0 0 10px 0;
}
*/



footer {
	background-color : #4f81bd;
	padding: 16px 0;
	border-top :  solid 4px #2a9e59;
	border-bottom: solid 4px #2a9e59;
   font-size : 12px;
   color : #fff
}

.icon-65 {
   height : 65px;
   width : 65px;
   margin : 0 10px 10px;
   float : left;
   vertical-align: top;
}

.testi-sig, .testiSig { 
font-style:italic;
text-align : right;
}

.testiBox {
	border: solid 4px #89cbff;
	border-radius: 6px;
	margin: 2%;
	padding : 4%;
	background-color : #fff;
}

h2.widgettitle {
	margin-top : 0;
}

img.bordered {
	border-radius : 5px;
	border: 1px solid #2a9e59;
}

/*
#wpgmza_map {
  border: 4px solid #f1eff0;
	border-radius: 6px;
	margin: 10px 0;
	padding: 10px;  
}
*/
/* +Menu Styles */
nav { 
	width : 100%;
	min-height : 30px;
	padding: 12px 0 6px;
	background-color : #4f81bd;
	border-top: 4px solid #2a9e59;
	border-bottom: 4px solid #2a9e59;
 }

 nav select { color : #1e5799; } /*For the drop-down */
.menu { }

#menu-main { display : inline-block;} /*so that text-align : center applies */
#menu-main,
#menu-main ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#menu-main ul {
	position: absolute;
	top: auto;
	display: none;
	width : auto;
	z-index : 100; /*Needed to make the menu appear on top of <input> fields and other content*/
}


#menu-main ul ul {
	margin-top : 0px;
	margin-left: -1px;
	left: 100%;
	top: 0px;
}

#menu-main li { 
	margin : 0px 16px;
	float: left; 
}

#menu-main li li {
	margin-left: 0px;
/*	margin-top: -1px; */
	float: none;
	position: relative;
}


#menu-main ul,
#menu-main li:hover ul ul,
#menu-main li:hover ul ul ul { display: none; }

#menu-main li:hover ul,
#menu-main ul li:hover ul,
#menu-main ul ul li:hover ul { display: block; }

/* For ios devices */
#menu-main li:active ul ul,
#menu-main li:active ul ul ul { display: none; }

#menu-main li:active ul,
#menu-main ul li:active ul,
#menu-main ul ul li:active ul { display: block; }

/* For Android devices */
#menu-main li.pseudo-active ul ul,
#menu-main li.pseudo-active ul ul ul { display: none; }

#menu-main li.pseudo-active ul,
#menu-main ul li.pseudo-active ul,
#menu-main ul ul li.pseudo-active ul { display: block; }

/* IE Hacks */

#menu-main li li {
	float: left;
	clear: both;
}
/*
#menu-main li li a { height: 1%; }
*/
/* Styling the basic appearance of the menu elements */

#menu-main a {
   display: block;
   padding: 0;
   text-decoration: none;
   color: #fff;
   background-color:transparent;
	
	border-radius: 5px;
	font-weight: normal;
	padding: 2px 6px;
	transition: background-color 0.25s linear 0s;
}

#menu-main li {}

#menu-main li a {
   color : #fff;
   text-decoration:none;
   font-size:15px;
   line-height : 22px;
   font-weight:bold;
   padding:6px;
	text-align : left;
}

#menu-main li.current_page_item {
}

/* #menu-main li:hover { background-color: #4b0649; } */
#menu-main li a:hover, #menu-main li.current_page_item a { 
	background: #1e5799;
	background: -moz-linear-gradient(top, #1e5799 0%, #073468 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e5799), color-stop(100%,#073468));
	background: -webkit-linear-gradient(top, #1e5799 0%,#073468 100%);
	background: -o-linear-gradient(top, #1e5799 0%,#073468 100%);
	background: -ms-linear-gradient(top, #1e5799 0%,#073468 100%);
	background: linear-gradient(to bottom, #1e5799 0%,#073468 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#073468',GradientType=0 );
}

#menu-main li li {
   /* Set the width of the menu elements at second level. Leaving first level flexible. */
   width: 200px;
   background-color: #4f81bd; /*NEEDED TO STOP IE7 "FALLING THRU THE GAP"*/
	border-top : 2px solid #ffffff;
	padding : 5px;
}


#menu-main li li a {
	padding : 10px 0 10px 15px;
}

#menu-main li li a:hover { /*color : #0763a4;
   text-decoration:none; */ }
	
#menu-main li li ul { border-left : 1px solid #fff;}

/* Styles for the reseponsive drop-down */
nav select {
  display: none;
  
}

@media (max-width: 960px) {
 
 #menu-main { display: none; }
  nav select { display: inline-block; margin : 10px 0 0 10px;}
}

/* +Home Page Styles */
.homePageBox {
	border: solid 4px #f1eff0;
	border-radius: 6px;
	margin: 2%;
	padding: 4%;
	text-align:center;
}

.videoBox {
   border: solid 4px #f1eff0;
	border-radius: 6px;
	margin: 6%;
	padding: 2%;
}

.videoBox h3 { text-align : center;}

.homePageBox img {
	margin: 15px auto;
	display : block;
	max-height : 125px;
	
}

.homePageBox h3 {text-align:center;}
.homePageBox p { padding : 0; margin : 0;}

.homePageBox p.homePageSnippet {
	text-align : left;
	font-size : 12px;
	height : 36px;
	line-height : 18px;
	overflow : hidden;
	text-overflow:ellipsis;
}

.homePageButton {
	background-color: #ff773d;
	border-radius: 4px;
	color: #FFF;
	text-decoration : none;
	display: inline-block;
	margin-top : 10px;
	font-size: 15px;
	font-weight: normal;
	line-height: 1.4;
	padding: 10px 15px;
	text-align: center;
	transition: border 0.25s linear 0s, color 0.25s linear 0s, background-color 0.25s linear 0s, box-shadow 0.25s linear 0s;
	-webkit-box-shadow: 0px 4px 0px 0px rgba(255, 90, 20, 1);
	-moz-box-shadow:    0px 4px 0px 0px rgba(255, 90, 20, 1);
	box-shadow:         0px 4px 0px 0px rgba(255, 90, 20, 1);
}

.homePageButton:hover {
	color: #FFF;
	text-decoration : none;
	background-color: #ff5a14;
	-webkit-box-shadow: 0px 4px 0px 0px rgba(255, 76, 0, 1);
	-moz-box-shadow:    0px 4px 0px 0px rgba(255, 76, 0, 1);
	box-shadow:         0px 4px 0px 0px rgba(255, 76, 0, 1);
}

/*Get rid of space below the awebber form */

.af-footer .bodyText { display:none;}


/* +Sidebar styles */
#sidebar {
}

@media (max-width: 768px) {
	#sidebar { margin-top : 20px; padding-top : 20px;}
}

#sidebar aside {
	background-color : #f8f8f8;
	margin : 0 0 10px 0;
	padding : 15px;
	border-radius : 5px;
	border: 2px solid #2a9e59;
}

#sidebar ul {
	margin-left : 0em;
	padding-left : 1.5em;
}

#sidebar h3 { margin-top : 5px;}
