/*
  Theme Name: 
  Description: 
  Version: 1
  Author: Simon Jacks
  Author URI: http://
  Tags: 
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
  box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-font-smoothing:antialiased;
  font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
  font-size:62.5%;
}
body {
  font:300 14px/1.4 '', Helvetica, Arial, sans-serif;
  color:#444;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
  max-width:100%;
  vertical-align:bottom;
}
a {
  color:#444;
  text-decoration:none;
}
a:hover {
  color:#444;
}
a:focus {
  outline:0;
}
a:hover,
a:active {
  outline:0;
}
input:focus {
  outline:0;
  border:1px solid #04A4CC;
}
hr {
  border:none;
  border-bottom:1px solid #ccc;
  margin:20px 0;
}
.blue {
  color:#01427a;
}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.wrapper {
  width:1024px;
  margin:0 auto;
  position:relative;
}

.sidebar {
  
}

.footer {
  
}

/*------------------------------------*\
    HEADER
\*------------------------------------*/
.nav ul li {
  display:inline-block;
  margin:0 30px 0 0;
}

.header {
  margin:0 0 20px 0;
  border-bottom:1px solid #ccc;
}
.header_contact {
  width:400px;
  float:right;
  text-align:right;
  margin:15px 0 0 0;
}
.slider_container {
  height:402px;
  padding:20px;
  width:1024px;
  background:#ebebeb;
}
.slider {
  width:644px;
  float:right;
  margin-left:20px;
}
.slider_text h1 {
  text-transform:uppercase;
  font-size:36px;
}
.slider_text2 h1 {
  text-transform:uppercase;
  font-size:30px;
}
.slider_text {
  padding:0px 0 0 0;
}
.slider_text2 {
  padding:0px 0 0 0;
}
.search-input {
  border:1px solid #ccc;
  outline:none;
  height:35px;
  width:175px;
  padding:0 0 0 7px;
}
/*------------------------------------*\
      HOMEPAGE
\*------------------------------------*/
.home_block {
  width:290px;
  height:177px;
  display:block;
  float:left;
}
.hb1 {
  background:url(img/home_1.jpg) no-repeat;
  margin:10px 19px 10px 38px;
}
.hb2 {
  background:url(img/home_2.jpg) no-repeat;
  margin:10px 20px; 
}
.hb3 {
  background:url(img/home_3.jpg) no-repeat;
  margin:10px 18px 10px 19px;
}
.ht1 {
  margin:0 19px 0 38px;
}
.ht2 {
  margin:0 20px;
}
.ht3 {
  margin:0 18px 0 19px;
}
.home_title {
  width:290px;
  text-align:center;
  float:left;
}
.home_title h2, .home_contact_title h2, .home_test_title h2 {
  padding:0;
  margin:0;
  color:#01427a;  
  text-transform:uppercase;
}
.home_contact_title {
  margin:0 20px 0 0;
  width:657px;
  float:left;
  text-align:center;
}
.home_test_title {
  width:290px;
  margin:0 18px 0 19px;
  float:left;
  text-align:center;
}
.home_contact {
  margin:10px 20px 0 0;
  width:657px;
  float:left;
  background:#ebebeb;
  padding:20px 0 20px 20px;
}
.home_test {
  width:290px;
  min-height:240px;
  margin:10px 18px 0 19px;
  float:left;
  background:#01427a;
}
.home_test p {
  background:url(img/quote.jpg) no-repeat top left;
  color:#fff;
  font-size:18px;
  padding:45px 10px 0 25px;
  margin:10px;
  font-weight:500;
}
.services_bottom {
  width:290px;
  min-height:240px;
  margin:10px 18px 0 0;
  float:right;
  background:#ebebeb;
  text-align:center;
  padding:22px;
}
.services_bottom img {
  max-width:70px;
}
.services_bottom p {
  font-weight:bold;
}
.home_contact input {
  width:190px;
  margin-right:15px;
  border:none;
  padding:4px;
  height:30px;
  outline:none;
}
.home_contact textarea {
  width:610px;
  border:none;
  padding:4px;
  height:100px;
  outline:none;
  margin:10px 0;
  resize:none;
}
.home_contact input[type="submit"] {
  background:#01427a;
  color:#fff;
}

.testimonial_block {
  width:315px;
  margin:10px 0 10px 20px;
  height:179px;
  display:block;
  float:left;
  padding:5px 30px;
  color:#fff;
  font-weight:bold;
  font-size:18px;
}
.tb1 {
  background:url(img/test_bg1.jpg) no-repeat;
} 
.tb2 {
  background:url(img/test_bg2.jpg) no-repeat;
}
.tb3 {
  background:url(img/test_bg3.jpg) no-repeat;
} 
/*------------------------------------*\
  MEET THE TEAM
\*------------------------------------*/

.team_image {
  width:316px;
  float:left;
  margin:0 15px 0 0;
  
}

.team_image img {
    max-height: 193px;
}

.team_content {
  margin:0 0 0 0;
}
.team_content p {
  font-size:13px; 
}
.team_content h2, .team_content h4 {
  display:inline-block;
}
.read_btn {
  display:block;
  width:100px;
  float:right;
  height:30px;
  text-align:center;
  color:#fff;
  background:#01427a;
  padding:5px 0 0 0;
  font-weight:bold;
}
.read_btn:hover {
  color:#fff;
  opacity:0.8;
}
.download_btn {
  display:block;
  width:100px;
  height:30px;
  text-align:center;
  color:#fff;
  background:#01427a;
  padding:5px 0 0 0;
  font-weight:bold;
  margin:0 auto;
}
.download_btn:hover {
  color:#fff;
  opacity:0.8;
}
/*------------------------------------*\
  FOOTER
\*------------------------------------*/
.map_btn {
  display:block;
  height:149px;
  width:149px;
  background-image: url("http://ejsfp.co.uk/wp-content/themes/Wp/img/EJS map icon.png");
  background-repeat: no-repeat;
      background-size: contain;
    background-position: center;
}
.map_btn:hover {
  opacity:0.6;
}
.footer_1 {
  width:200px;
  float:left;
  margin:10px 0 0 40px;
}
.footer_2 {
  width:300px;
  float:left;
}
.footer_3 {
  width:300px;
  float:left;
  margin:10px 0 0 150px;
}
.foot_shift1 {
  position:absolute;
  margin:20px 0 0 80px;
}
.foot_shift2 {
  position:absolute;
  margin:12px 0 0 80px;
} 
.copyright {
  text-align:center;
}
.footer_bottom {
  width:100%;
  padding:20px 0;
  background:#333333;
  color:#fff;
}
.footer_bottom a {
  color:#fff;
} 
/*------------------------------------*\
  TYPOGRAPHY
\*------------------------------------*/

@font-face {
  font-family:'Font-Name';
  src:url('fonts/font-name.eot');
  src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
    url('fonts/font-name.woff') format('woff'),
    url('fonts/font-name.ttf') format('truetype'),
    url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
     only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
  background:#04A4CC;
  color:#FFF;
  text-shadow:none;
}
::-webkit-selection {
  background:#04A4CC;
  color:#FFF;
  text-shadow:none;
}
::-moz-selection {
  background:#04A4CC;
  color:#FFF;
  text-shadow:none;
}
   
/*------------------------------------*\
    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;
}
.aligncenter {
  display:block;
  margin:5px auto 5px auto;
}
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;
}
.wp-caption {
  background:#FFF;
  border:1px solid #F0F0F0;
  max-width:96%;
  padding:5px 3px 10px;
  text-align:center;
}
.wp-caption.alignnone {
  margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin:5px 20px 20px 0;
}
.wp-caption.alignright {
  margin:5px 0 20px 20px;
}
.wp-caption img {
  border:0 none;
  height:auto;
  margin:0;
  max-width:98.5%;
  padding:0;
  width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
  font-size:11px;
  line-height:17px;
  margin:0;
  padding:0 4px 5px;
}
.sticky {
  
}
.bypostauthor {
  
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@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:0.5cm;
  }
  p,
  h2,
  h3 {
    orphans:3;
    widows:3;
  }
  h2,
  h3 {
    page-break-after:avoid;
  }
}

.nf-field input, .nf-field textarea {
    padding:  4px;
}

.nf-field input[type="button"] {
    background: #01427a;
    color: #fff;
    border: none;
    padding: 10px 40px;
    transition: all 0.5s;
}

.nf-field input[type="button"]:hover,
.nf-field input[type="button"]:active {
    background: hsl(208, 100%, 39%)
}

.nf-field-container {
    margin-bottom: 5px;
}

.nf-form-cont {
    margin-right: 20px;
}