/*
Theme Name: Service Provider Directory
Theme URI:
Description: Theme used for the DSS Service Provider Directory
Version: 1
Author: Vicky Miller, Chris Lamb
Tags:
*/
/***********************************/
/******* Basic Wilcard Reset *******/
/**** Eric Meyer's is too agro *****/
/***********************************/

* {
	margin: 0;
	padding: 0;
}
@viewport{width:device-width}
@-ms-viewport {width: device-width;} /* For IE 10 Snap Mode */

/***********************************/
/*********** Core styles ***********/
/***********************************/
body {
	background: #E6E7E7 repeat-x;
	color: #2C2A29;
	font: 85% Arial, Helvetica, sans-serif;
	margin: 0 50px;
	padding: 0;
	text-align: center;
}
h1 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 2.15em;
	margin: 0 100px .5em 0;
}
h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.8em;
    margin: .75em 0 .5em 0;
}
h3 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.6em;
    margin: .75em 0 .5em 0;
}
h4 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.5em;
    margin: .5em 0;
}
h5 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.4em;
    margin: .5em 0;
}
h6 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.3em ;
    margin: .5em 0;
}
p {
	line-height: 1.6em;
	padding: .6em 0;
}
a {
	color: #921D2E;
}
a:hover,
a:focus {
	color: #BF1D2E;
	text-decoration: none;
}
a:visited {
	color: #6E1622;
}
a img {
	border: none;
}
h2 a,
h3 a {
	color: #921D2E;
	text-decoration: none;
}
h2 a:hover,
h2 a:focus,
h3 a:hover,
h3 a:focus {
	text-decoration: underline;
}
ul, ol {
	line-height: 1.6em;
	margin-left: 20px;
}
table {
	border-collapse: collapse;
	font-size: .95em;
	margin-bottom: 15px;
}
caption {
	background-color: #24596E;
	border-top: 1px solid #AAA;
	font-size: 1.1em;
	padding: 6px;
	text-align: left;
	color: #ddd;
}
thead th {
	background-color: #24596E;
	font-size: 1.1em;
	color: #EEE;
}
tfoot {
	font-size: .9em;
}
#content tfoot td {
	background-color: #FFF;
	padding: 8px;
}
th {
	font-weight: bold;
	padding: 6px;
	text-align: left;
}
td {
	background-color: #F8F8F8;
	border-bottom: 1px solid #CCC;
	border-right: 1px dotted #DDD;
	padding: 6px;
	transition: background-color .5s;
}
.zebra td {
	background-color: #FCFCFC;
}
tr:hover td {
	background-color: #F2FBFC;
	transition: background-color .5s;
}
hr {
	background-color: #CCC;
	border: none;
	color: #CCC;
	height: 1px;
	margin-bottom: 10px;
}
dl {
	line-height: 1.4em;
}
dt {
	font-size: 1.1em;
	padding: .5em 0 .2em 0;
}
dd {
	margin-bottom: .5em;
}
abbr {
	border-bottom: 1px dotted #666;
}
blockquote {
	padding: 0 20px;
}
time {
	color: #444;
}
article,
aside,
figcaption,
figure,
footer,
header,
nav,
time,
section  {
	display: block;
}
/***********************************/
/*********** Page Layout ***********/
/***********************************/
#wrapper {
	background-color: #FFF;
	border-radius: 4px;
	margin: 0 auto;
	text-align: left;
	width: 980px;
}
#wrapper > header {
	background: url(images/header_bkg.png) no-repeat scroll right bottom #FFF;
	height: 220px
}
#wrapper > header span {
	color: #24596E;
	display: block;
	font-family: Georgia,"Times New Roman",Times,serif;
	font-size: 3.2em;
	margin-top: 45px;
	margin-left: 20px;
	text-transform: none;
}
#wrapper > header a {
	text-decoration: none;
}
#wrapper > header a:hover {
	text-decoration: underline;
	color: #24596e;
}
#wrapper > header {
	border-bottom: #C3E189 solid 20px;
}
/***********************************/
/********* Banner & Search *********/
/***********************************/
header {
	height: 176px;
	background: #FFF url(images/header.png) right bottom no-repeat;
}
header img {
	max-width: 98%;
}
/***********************************/
/************ Main Nav *************/
/***********************************/
#mainnav {
	background-color: #fff;
	position: relative;
	display: block;
	width: 25%;
}
/***********************************/
/*********** Content Area **********/
/***********************************/
#content {
	clear: both;
	margin: 20px 30px;
	position: relative;
}
/* crumbs */
#crumbs {
	font-size: .85em;
	margin: 5px;
}
#crumbs a {
	color: #222;
}
#crumbs a:hover,
#crumbs a:focus {
	color: #005D85;
}
.home h2.about {
	font-size: 1.2em;
	font-weight: normal;
	margin-bottom: 0;
}
.home h2.about a {
	background: #44626E url(images/info-icon.png) 5px center no-repeat;
	border-radius: 2px;
	color: #FFF;
	display: inline-block;
	padding: 8px 12px 8px 38px;
	transition: background-color .5s;
}
.home h2.about a:hover,
.home h2.about a:focus {
	background-color: #1F4C5E;
}
.home article {
	background-color: #EFF2F4;
	padding: 4px 10px;
}
/***********************************/
/*********** Pagination ************/
/***********************************/
.pager-wrap {
	width: 100%;
}
.pager-wrap ul.pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	list-style-type: none;
	margin: 0 0 20px 0;
  padding: 0;
	text-align: center;
}
.pager-wrap ul.pager li {
	border: 1px solid #bcbec0;
	margin: 2px -1px 2px 0;
}
.pager-wrap ul.pager .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  color: #202020;
}
.pager-wrap ul.pager .page-numbers.current {
  font-weight: 700;
}
.pager-wrap ul.pager a {
  color: #202020;
	text-decoration: none;
}
.pager-wrap ul.pager a:hover,
.pager-wrap ul.pager a:focus {
  background-color: #f6f6f6;
  color: #000;
  text-decoration: underline;
}
/***********************************/
/************* Forms **************/
/***********************************/
#content form {
	border-bottom: 1px solid #D0D0D0;
	margin: 20px 0;
	padding: 0 0 20px 0;
}
#content form label {
	display: inline-block;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.1em;
	font-style: normal;
	padding-right: 15px;
	padding: 2px;
	width: 140px;
}
#content form fieldset {
	border: none;
	border-top: 1px solid #D0D0D0;
	width: 98%;
}
#content form legend {
	display: block;
	font-size: 1.2em;
	font-weight: bold;
	padding: 2px 6px;
}
#content select,
#content input,
#content .button,
#content textarea {
	background-color: #FBFBFB;
	border: 1px solid #BBB;
	color: #222;
	padding: 3px;
}
#content select,
#content textarea,
#content input[type="text"],
#content input[type="email"] {
	min-width: 200px;
}
#content input[type="submit"],
#content .button,
#content input[type="reset"] {
	background-color: #afd656;
	border: none;
	border-bottom: 2px solid #9cbe4f;
	border-radius: 3px;
	color: #000;
	cursor: pointer;
	padding: 6px 22px;
	transition: all 1s;
	width: auto;
	text-decoration:none;
}
#content input[type="submit"]:hover,
#content input[type="submit"]:focus,
#content .button:hover,
#content .button:focus,
#content input[type="reset"]:hover,
#content input[type="reset"]:focus {
	background-color: #AFD656;
	background-color: #CBF174;
	border: none;
	border-bottom: 2px solid #90B43D;
	border-radius: 3px;
	color: #000;
	transition: all 1s;
	text-decoration: underline;
}
#content input#postcode {
	min-width: 80px;
	width: 80px;
}
select#ppp {
	min-width: 60px;
	width: 60px;
}
/***********************************/
/************* Footer **************/
/***********************************/
#footer {
	background-color: #24596E;
	clear: both;
	color: #DDD;
	padding: 20px;
}
#footer ul {
	list-style-type: none;
	margin: 0;
}
#footer li {
	display: inline-block;
	padding: 0 5px;
}
#footer a {
	color: #FFF;
	text-decoration: none;
}
#footer a:hover,
#footer a:focus {
	color: #AFD6E6;
	text-decoration: underline;
}
#footer p {
	float: right;
	margin: 0;
}
/***********************************/
/*********** Clearfixing ***********/
/***********************************/
.clearfix:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	line-height: 0;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
}
html[xmlns] .clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}
/***********************************/
/********* Various Classes *********/
/***********************************/
.working {
	background: url(images/loading.gif) right center no-repeat;
	padding-left: 20px;
}
.intro {
	font-weight: bold;
}
.bold {
	font-weight: bold;
}
.nomargin {
	margin: 0;
}
.italic {
	font-style: italic
}
.hidden {
	display: none;
}
.clear {
	clear: both;
}
.left,
.alignleft,
.align-left {
  float: left;
  padding: 10px 20px 20px 0;
}
.right,
.alignright,
.align-right {
  float: right;
  padding: 10px 0 20px 20px;
}
.center,
.centre,
.aligncenter ,
.align-center{
	text-align: center;
}
.wp-caption-text {
	color: #333;
	font-size: .9em;
	line-height: 1.4em;
	margin: 0 0 .5em 0;
}
.nobullet {
	list-style-type: none;
}
.nobr {
	white-space: nowrap;
}
.small,
small {
	font-size: .85em;
}
.screen-reader-text,
.offleft {
	position: absolute;
	left: -9999em !important;
}
.offleft a {
	background-color:#FFF;
}
.offleft a:focus {
	left: 9999em;
	position: absolute;
}
.loop-post {
	padding: 0 10px 5px 10px;
}
.loop-post p {
	margin-top: .2em;
}
.zebra {
	background-color: #F3F3F3;
}
.required {
	color: #990000;
}
