/*
Theme Name:HTML5 Boilerplate
Theme URI:http://samtonline.co.uk
Description:An HTML5 Boilerplate WP Theme
Author:Sam T
Author URI:http://samtonline.co.uk
Version:1
*/

@import url("css/boilerplate.css");
@import url("css/bootstrap.css");

@font-face {
    font-family: 'dinregular';
    src: url('css/fonts/dinengschrift-webfont.eot');
    src: url('css/fonts/dinengschrift-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/dinengschrift-webfont.woff') format('woff'),
         url('css/fonts/dinengschrift-webfont.ttf') format('truetype'),
         url('css/fonts/dinengschrift-webfont.svg#dinschriftregular') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'dinmedium';
    src: url('css/fonts/dinmittelschrift-webfont.eot');
    src: url('css/fonts/dinmittelschrift-webfont.eot?#iefix') format('embedded-opentype'),
         url('css/fonts/dinmittelschrift-webfont.woff') format('woff'),
         url('css/fonts/dinmittelschrift-webfont.ttf') format('truetype'),
         url('css/fonts/dinmittelschrift-webfont.svg#dinschriftregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

/* custom styles */
.cb { clear: both; }
.cl { clear: left; }
.cr { clear: right; }
body {
    color: #333;
    border-top: #dd2738 1px solid;
    font-size: 1.6em;
}
.width {
    width: 940px;
    margin: 0 auto;
}
header {
}
#logo {
    float: left;
    margin: 14px 0 5px 0;
}
header nav {
    float: none;
    margin: 0;
    clear: both;
}
header nav ul {
    padding: 0;
    margin: 0;
}
header nav li {
    float: left;
    margin: 0 5px;
    position: relative;
}
header nav a:hover, header nav li.current_page_item a {
    color: #dd2738;
}
header nav  a {
    text-decoration: none;
    color: #656565;
    font-size: 0.9em;
    padding: 15px 15px;
    display: block;
}
header nav ul li:hover ul {
    display: block;
}
header nav ul ul {
	display: none;
	position: absolute;
	width: 170px;
	left: 0px;
    top: 49px;
    background: #fff;
	z-index: 999;
    -webkit-border-bottom-right-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-bottomright: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    border-bottom:  1px solid #e6e6e6;
    border-left:  1px solid #e6e6e6;
    border-right:  1px solid #e6e6e6;
    padding: 0;
    margin: 0;
}
header nav ul ul a {
	text-transform: none;
	font-size: 14px;
	z-index: 9999;
	position: relative;
    padding: 10px 20px;
}
header nav ul ul li {
    border-top: 1px solid #e6e6e6;
    margin: 0;
    display: block;
    float: none;
}
header nav ul a:visited {
	color: #656565;
}
header nav ul ul a:hover {
	color: #dd2738;
}
header nav ul ul a {
    font-size: 0.75em;

}


.contact-details {
    float: right;
    color: #dd2738;
    margin-top: 30px;
}
.contact-details p {
    font-family: 'dinmedium';
    margin: 0;
    font-size: 1.3em;
    line-height: 1.2;
    letter-spacing: 1px;
    text-align: right;
    font-size: 1.5em;
}
.contact-details a {
    font-family: Arial, sans-serif;
    color: #333;
    text-decoration: none;
    font-size: 0.8em;
}
.strapline {
    float: left;
    margin: 35px 0 0 45px;
}
.strapline p {
    color: #333333;
    text-transform: uppercase;
    font-family: 'dinmedium';
    font-size: 1.3em;
    margin: 0;
    letter-spacing: 2px;
}

article ul {
    font-size: 0.9em;
    color: #575959;
}

/*
 * slider
 */
#homepage-slider {
    overflow: hidden;
    background: #fff;
    position: relative;
    clear: both;
    height: 330px;
}
#slides {
    height: 300px;
}
#slides span {
    display: block;
    width: 1200px;
    height: 300px;
    background-position: center top;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -600px;
}
#slides-nav {
    position: absolute;
    top: 310px;
    left: 50%;
    z-index: 999;
}
#slides-nav span {
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 7px;
    -moz-border-radius: 7px;
    background: #d7d7d7;
    float: left;
    margin: 0 4px;
    text-indent: -9999px;
    cursor: pointer;
}
#slides-nav span.cycle-pager-active {
    background: #dd2738;

}

#slide-left, #slide-right {
    position: absolute;
    top: 127px;
    width: 39px;
    height: 45px;
    cursor: pointer;
    z-index: 9999;
}
#slide-left {
    left: 0;
    background: url('img/slide-left.png') no-repeat left top;
}
#slide-right {
    right: 0;
    background: url('img/slide-right.png') no-repeat left top;
}

/*
 * home content
 */
section {
    width: 560px;
    float: left;
    margin-bottom: 20px;
}
.page-template-page-fullwidth-php section,
section.fullwidth {
    width: 100%;
}
aside {
    width: 320px;
    float: right;
}
h1 {
    font-family: 'dinmedium';
    background: url('img/bg-redline.gif') no-repeat left 18px;
    padding-left: 60px;
    text-transform: uppercase;
    font-weight: normal;
}
h2 {
    font-family: 'dinmedium';
    background: url('img/bg-redline.gif') no-repeat left 14px;
    padding-left: 60px;
    text-transform: uppercase;
}
h3 {
    font-family: 'dinmedium';
    font-weight: normal;
    font-size: 1.6em;
    background: url('img/bg-redline.gif') no-repeat left 13px;
    padding-left: 60px;
    text-transform: uppercase;
}
aside h2 {
    font-size: 1em;
    background: url('img/bg-redline.gif') no-repeat left 8px;
    margin-top: 25px;
}
section p, aside p {
    font-size: 0.9em;
    color: #575959;
}
.which-grant h2 {
    padding-bottom: 1em;
    border-bottom: 1px solid #e6e6e6;
}
.which-grant p {
    margin: 2em 0;
}
ul.tick-left, ul.tick-right, .which-grant ul {
    list-style: none;
    margin: 0 0 0px 0;
    padding: 0;
}
ul.tick-left li, ul.tick-right li, .which-grant ul li{
    border-bottom: 1px solid #e6e6e6;
    padding: 9px 0;
    font-size: 0.8em;
    color: #595959;
}
ul.tick-left li {
    background: url('img/bg-tick.gif') no-repeat left center;
    padding-left: 20px;
}
ul.tick-right li, .which-grant ul li {
    background: url('img/bg-tick.gif') no-repeat right center;
    border: none;
    width: 95%;
    text-transform: uppercase;
    font-weight: bold;
}
ul.tick-right, .which-grant ul {
    border-top: 1px solid #dd9ca3;
    width: 100%;
    padding-top: 10px;
}
.testimonial {
    color: #dd2738;
    text-align: center;
    font-family: 'dinregular';
    margin: 25px 0;
}
.testimonial strong {
    font-family: 'dinmedium';
    font-size: 1.2em;
}
a.red, .which-grant a {
    color: #e43f52;
    font-weight: bold;
    text-decoration: none;
}
p.small-logo {
    background: url('img/small-logo.gif') no-repeat right center;
    font-weight: bold;
    color: #555;
    padding: 15px 100px 10px 0;
    border-top: 1px solid #e6e6e6;
    width: 390px;
}

/*
 * internals
 */
.page-template-default section {
    width: 630px;
}
section.lower {
    width: 615px;
}
aside.left {
    float: left;
    width: 230px;
    margin-right: 80px;
}
.internal-masthead {
    background-position: center;
    background-repeat: no-repeat;
    height: 250px;
    overflow: hidden;
    clear: both;
}
aside.left h3 {
    font-family: 'dinmedium';
}
aside.left ul {
    margin: 15px 0;
    list-style: none;
    padding: 0;
}
aside.left li {
    list-style: none;
 	border-top: 1px #e6e6e6 solid;
    padding: 5px 10px;
}
aside.left li a {
    color: #575959;
    text-decoration: none;
    font-size: 0.9em;
}
.page-template-default ul {
    color: #575959;
    font-size: 0.9em;
}

/*
 * our people
 */
.page-template-page-our-people-php section {
    width: 940px;
}
.page-template-page-our-people-php .team-leaders article {
    overflow: hidden;
    margin: 25px 0;
}
.page-template-page-our-people-php .team-leaders img {
    float: left;
    margin: 0 25px 50px 0;
}
.page-template-page-our-people-php .team-leaders h2 {
    background: none;
    padding: 0;
    font-size: 1.1em;
    margin: 0;
}
.page-template-page-our-people-php .team-leaders h2 strong {
    color: #828282;
    font-weight: normal;
}
.page-template-page-our-people-php .team-leaders p {
    font-size: 0.8em;
}
a.email {
    display: block;
    background: #e03446;
    float: left;
    padding: 9px 20px 7px 20px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'dinmedium';
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-image: linear-gradient(bottom, rgb(221,40,58) 9%, rgb(229,68,87) 55%);
    background-image: -o-linear-gradient(bottom, rgb(221,40,58) 9%, rgb(229,68,87) 55%);
    background-image: -moz-linear-gradient(bottom, rgb(221,40,58) 9%, rgb(229,68,87) 55%);
    background-image: -webkit-linear-gradient(bottom, rgb(221,40,58) 9%, rgb(229,68,87) 55%);
    background-image: -ms-linear-gradient(bottom, rgb(221,40,58) 9%, rgb(229,68,87) 55%);

    background-image: -webkit-gradient(
        linear,
        left bottom,
        left top,
        color-stop(0.09, rgb(221,40,58)),
        color-stop(0.55, rgb(229,68,87))
    );
}
.team-leaders img {
    border-radius: 5px;
    -moz-border-radius: 5px;
}
/*
 *
 * knowledge base
 *
 */
.item-title {
    display: block;
    background: #dd2738;
    padding: 1em;
    margin: 0;
}
.item-title a {
    color: #fff;
}
.knowledge-list {
    padding: 2em 0;
}
.knowledge-list .row {
    margin-bottom: 2em;
}
.read-more {
    display: block;
    background: #eee;
    padding: 1em;
    color: #333;
    text-align: center;
    font-size: 0.9em;
}
.item p {
    padding: 1em;
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
    margin: 0;
}
.faqs .panel-heading {
    background: #dd2738;
}
.faqs .panel-title a {
    display: block;
    position: relative;
    color: #fff;
    padding-right: 1em;
}
.faqs .panel-title span {
    transition: 0.5s all ease-in-out;
    display: block;
    position: absolute;
    top: 3px;
    right: 3px;
    width: 11px;
    height: 11px;
    background: url(../../img/plus-minus.png) no-repeat 0 0;


}
.faqs {
    margin: 2em 0;
}

/*
 * forms
 */
/* forms */
form p {
    position: relative;
    margin: 5px 0;
    overflow: hidden;
}
footer form p.half {
    width: 130px;
    float: left;
}
footer form p.half input {
    width: 110px;
}
.wpcf7 label {
	float: left;
	width: 160px;
	padding: 6px;
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	color: #6c6c6c;
	z-index:2;
	cursor:text;
	font-size: 12px;
}
.wpcf7 label.error {
position: absolute;
	color: red !important;
	right:0;
	left: auto!important;
	width: auto!important;
}
input {
	margin-bottom: 5px;
	border: 1px #e6e6e6 solid;
	padding: 4px;
	color: #6c6c6c;
    width: 300px;
    border-radius: 3px;
    -moz-border-radius: 3px;
}
label.sleep{ display:none; }
.wpcf7-response-output {
    margin: 0 0 10px 0 !important;
    border: 2px solid red !important;
}
textarea {
  	border: 1px #e6e6e6 solid;
    width: 300px;
	padding: 4px;
}
input[type='submit'] {
    background: #e44053;
    border: none;
    border-radius: 3px;
    -moz-border-radius: 3px;
    color: #fff;
    font-family: 'dinmedium';
    padding: 10px 10px 8px 10px;
    font-size: 1em;
    text-transform: uppercase;
    float: left;
    width: auto;
}
/*
 * footer
 */
footer {
    clear: both;
    background: #dd2738;
    color: #fff;
    overflow: hidden;
}
footer p {
    font-size: 0.8em;
    color: #fff;
    margin: 20px 0;
}
/* belated BP styles */
.ir{background-color:transparent;border:0;overflow:hidden;*text-indent:-9999px}
.ir:before{content:"";display:block;width:0;height:100%}
.hidden{display:none!important;visibility:hidden}
.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}
.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}
.invisible{visibility:hidden}
.clearfix:before,.clearfix:after{content:" ";display:table}
.clearfix:after{clear:both}
.clearfix{*zoom:1}
@media print{*{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}
a,a:visited{text-decoration:underline}
a[href]:after{content:" (" attr(href) ")"}
abbr[title]:after{content:" (" attr(title) ")"}
.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}
pre,blockquote{border:1px solid #999;page-break-inside:avoid}
thead{display:table-header-group}
tr,img{page-break-inside:avoid}
img{max-width:100%!important}
@page{margin:.5cm}
p,h2,h3{orphans:3;widows:3}
h2,h3{page-break-after:avoid}
}
