/*
Theme Name: JPR Roofing Ltd Northampton
Theme URI: http://jprroofing.co.uk
Author: Stefan George
Author URI: http://digitalnow.co.uk
Description: The custom portfolio theme for JPR Roofing Ltd Northampton. Designed by Digital NOW (http://digitalnow.co.uk)
License: For use on http://jprroofing.co.uk only.
Version: 1.0
*/

body {
  background: url(../img/pics/bg1.jpg) no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

html, body {
	margin: 0;
	padding: 0;
	font-family: 'Open Sans', sans-serif;
	-webkit-text-size-adjust: none;
	font-size:1em;
}

h1, h2, h3, h4, h5, h6 {
    display: inline;
}

h1 {
	font-size:1.5em;
	line-height: 150%;
	color:#FFFFFF;
}

h2 {
	font-size:1.3em;
	line-height: 130%;
	color:#0a2375;
}

h3 {
	font-size:1.3em;
}

h4 {
	font-size:1.2em;
}

h5 {
	font-family: 'Oswald', sans-serif;
	font-size:3em;
}

h6 {font-size:0.8em;
}

h7 {
	font-family: 'Oswald', sans-serif;
	font-size:2.3em;
	color:#0a2375;
}

a:link {
	color:#000;
}

a:hover {
	color:#0a2375 !important;
}

a:visited {
	color:#000;
}

p {
	font-size:1.1em;
}

hr{
	margin-bottom: 2em;
}

.fa-check-square-o {
color: red;
font-size: 16px;
}


/* =============================================================================
   Columns
   ========================================================================== */

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
  float: left;
  padding-top:2em;
  background-color:#FFFFFF;
}
.col-12 {
  width: 100%;
}
.col-11 {
  width: 91.66666666666666%;
}
.col-10 {
  width: 83.33333333333334%;
}
.col-9 {
  width: 75%;
}
.col-8 {
  width: 66.66666666666666%;
}
.col-7 {
  width: 58.333333333333336%;
}
.col-6 {
  width: 50%;
}
.col-5 {
  width: 41.66666666666667%;
}
.col-4 {
  width: 33.33333333333333%;
}
.col-3 {
  width: 25%;
}
.col-2 {
  width: 16.666666666666664%;
}
.col-1 {
  width: 8.333333333333332%;
}
@media handheld, only screen and (max-width: 767px) {
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
		width: 100%;
		min-width: 0;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0px; 
		padding-right: 0px; 
	}

}

/*----------------------------------
	Grid
----------------------------------*/

.grid {
	width: 100%;
	max-width: 1140px;
	min-width: 748px; /* when using padded grid on ipad in portrait mode, width should be viewport-width - padding = (768 - 20) = 748. actually, it should be even smaller to allow for padding of grid containing element */
	margin: 0 auto;
	overflow: hidden;
	background-color:#FFF;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	filter: progid:DXImageTransform.Microsoft.Shadow(Color=#cccccc, Strength=4, Direction=0),
     progid:DXImageTransform.Microsoft.Shadow(Color=#cccccc, Strength=4, Direction=90),
     progid:DXImageTransform.Microsoft.Shadow(Color=#cccccc, Strength=4, Direction=180),
     progid:DXImageTransform.Microsoft.Shadow(Color=#cccccc, Strength=4, Direction=270);	
}

.grid:after {
	content: "";
	display: table;
	clear: both;
}

.grid-pad {
	padding-top: 20px;
	padding-left: 20px; /* grid-space to left */
	padding-right: 0; /* grid-space to right: (grid-space-left - column-space) e.g. 20px-20px=0 */
}


@media handheld, only screen and (max-width: 767px) {
	.grid {
		width: 100%;
		min-width: 0;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0px; /* grid-space to left */
		padding-right: 10px; /* grid-space to right: (grid-space-left - column-space) e.g. 20px-10px=10px */
	}

}

/* =============================================================================
   Header
   ========================================================================== */

.topline{
	height: 10px;
	width:100%;
	background-color:#0a2375;
	float: left;
	
}
.topline-mobile{
	display:none;
}
#container-header {
	height: 100px;
	width: 96%;
	margin: auto;
	margin-bottom: 13px;
	padding: 20px;	
}
.container-header-logo {
	width: 350px;
	float: left;
}

@media handheld, only screen and (max-width: 767px) {
.container-header-logo {
	width:100%;
}
.container-header-logo img{
	display: block;
	margin: auto;
}
}

.container-header-info {
	width: 380px;
	float: right;
	padding-top:15px;
	text-align: right;
}
   
/* =============================================================================
   Navigation
   ========================================================================== */
   
.nav-bar{
    padding: 0 0 0 15px;
    margin: 0;
	list-style: none;
	float: left;
	width: 100%;
    height: 43px;
    position: relative; 
    z-index: 9;
	border: 1px solid #092673;
    border-bottom: 0; 
    background-color: #000; 
    background-image: url(../images/fallback-gradient.jpg); 
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#092673), to(#061336));
    background-image: -webkit-linear-gradient(top, #092673, #061336); 
    background-image: -moz-linear-gradient(top, #092673, #061336);
    background-image: -ms-linear-gradient(top, #092673, #061336);
    background-image: -o-linear-gradient(top, #092673, #061336);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 3px 3px #cecece;
}

ul.nav-bar li  {
	font-size:0.9em;
	text-align:center;
	color:#FFF;
	float: left;
	margin-right: 5px;
	padding: 11px 20px 0 20px;
	color:#FFFFFF;
}
ul.nav-bar li a  {
	text-decoration: none;
	color:#FFFFFF;
}
ul.nav-bar li:hover {
	background: #FFF url(../img/nav-bar/nav-hover.jpg) repeat-x top;
	height: 33px;
	cursor: pointer;
	color:#000;
}

@media handheld, only screen and (max-width: 880px) {
	
.nav-bar{

}

ul.nav-bar li  {
	font-size:0.8em;
	padding: 11px 10px 0 10px;
	}
ul.nav-bar li:hover {
}
}
   
/* =============================================================================
   Page Content
   ========================================================================== */

.banner-1 {
	background-image:url(../img/banners/banner-01.jpg);
	width: 100%;
	height: 300px;
	margin:auto;
	background-position: center;
	background-attachment: relative;	
	float:left;
}

.banner-2 {
	background-image: url(../img/banners/banner-02.jpg);
	width: 100%;
	height: 300px;
	margin:auto;
	background-position: center;
	background-attachment: relative;	
	float:left;
}

.banner-3 {
	background-image: url(../img/banners/banner-03.jpg);
	width: 100%;
	height: 300px;
	margin:auto;
	background-position: center;
	background-attachment: relative;	
	float:left;
}

.banner-4 {
	background-image: url(../img/banners/banner-04.jpg);
	width: 100%;
	height: 300px;
	margin:auto;
	background-position: center;
	background-attachment: relative;	
	float:left;
}

.banner-5 {
	background-image: url(../img/banners/banner-05.jpg);
	width: 100%;
	height: 300px;
	margin:auto;
	background-position: center;
	background-attachment: relative;	
	float:left;
}

.page-title{
	float:left;
	padding:1em 2em;
	margin-bottom: 2em;
	background-color:#092673;
	width:100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.IntroTxt {
	margin-bottom:2em;
}

.block{
	padding: 0 2em;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;	
}

.block img{
	width: 100%;
	height:auto;
}

.home-block{
	padding: 2em 2em 2em 10%;
	margin: 2em 0em;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	background-image: url(../img/banners/banner-why-choose.jpg);
	background-color:#DDDDDD;
}

.seo-block{
	margin: 1em 0em;
	font-size:0.9em;
}

.seo-block a{
	text-decoration:none;
}

.testimonials{
	margin: 0 0 2em 0;
	padding:1em;
	font-size:1.1em;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	background-color: #E7E7E7;
}

.testimonialsBxLft{
	margin: 0 1em 0 2em;
	padding:1em;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	background-color: #E7E7E7;	
}

@media handheld, only screen and (max-width: 767px) {
	.testimonialsBxLft{
	margin: 0 2em;
}
}

.testimonialsBxRgt{
	margin: 0 2em 0 1em;
	padding:1em;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	background-color: #E7E7E7;	
}

@media handheld, only screen and (max-width: 767px) {
	.testimonialsBxRgt{
	margin: 0 2em;
}
}

.contact-block{
	margin: 2em 0 0 0;
	padding:6% 2%;
	width:96%;
	background-image: url(../img/banners/sky.jpg);
	background-size: cover;
	background-position: center;
	text-align:center;
	color:#FFFFFF;
}

#contact-map {
width: 100%;
line-height: 18px;
margin-right: auto;
margin-left: auto;
clear: both;
height: 400px;
}


/* =============================================================================
   Instagram
   ========================================================================== */

#instafeed {
	width: 100%;
}

#instafeed a img{
	width:22%;
	margin-bottom:3%;
	margin-right:3%;
}

#instafeed a > li:last-child {
margin-right: 0;
}


/* =============================================================================
   Footer
   ========================================================================== */

#footer {
	overflow:auto;
	line-height:110%;
	font-size:0.8em;
	float:left;
	width:100%;
}

.container-footer {
	background-color: #2C2C2C; 
	padding: 3%;
	overflow:hidden;
}

ul.footer-call-to-action {
	margin: 0px 0 0 0;
	padding: 0px;
	list-style: none;
	float: left;
    text-align: center;
    width: 100%;
}
ul.footer-call-to-action li  {
	color: #FFF;
	font-size: 1em;
}

ul.footer-call-to-action li a  {
	color:#FFF;
	text-decoration: none;
}

#footer-information {
	overflow:auto;
	width: 24%;
	padding-left:1%;
	text-align:left;
	float: left;
	color: #FFF;
	padding-top: 20px;
	line-height:140%;
}

ul.footer-menu {
	margin: 0px 0 0 0;
	padding: 0px;
	list-style: none;
	float: left;
}
ul.footer-menu li  {
	color: #FFF;
	font-size: 1em;
}

ul.footer-menu li a  {
	color:#FFF;
	text-decoration: none;
}

ul.footer-menu li:hover a{
	color: #b69143 !important;
}

ul.footer-social {
	margin: 0px 0 0 0;
	padding: 0px;
	list-style:none;
	float: left;
	width: 200px;
}
ul.footer-social li  {
	float: left;
	margin-right: 5px;
}

ul.footer-social li:hover {
	opacity: 0.8;
}

.footer-area {
	height: 170px;
	width: 44%;
	padding-left:4%;
	float: left;
	color: #FFF;
	padding-top: 20px;
	line-height:140%;
}

.footer-cards {
	width:100%;
	float:left;
	margin-top:40px;
}

.footer-cards img {
   display:block;
   margin:auto;
}

.footer-cards img {
   display:block;
   margin:auto;
}

.container-footer-copyright {
	background-color: #000;
	padding: 0 3%;
	overflow:hidden;
	color: #fff;
	border-top: #999 1px solid
}

#footer-copyright {
	height: 20px;
	width: 400px;
	text-align:left;
	float: left;
	margin-top: 20px;
}

#footer-digitalnow {
	height: 65px;
	width: auto;
	margin-right: 10px;
	margin-top:20px;
	text-align:right;
	float: right;
}

#footer-digitalnow a{
	text-decoration:none;
	color: #FFF;
}

#footer-digitalnow-logo {
	height: 50px;
	width: 65px;
	margin: auto;
	margin-top:10px;
	text-align:right;
	float: right;
}

#footer-digitalnow-media {
	display:none;
	
}


.back-to-top {
    position: fixed;
    bottom: 1em;
    right: 1em;
    text-decoration: none;
    color: #000000;
    background-color: rgba(135, 135, 135, 0.80);
    font-size: 1.5em;
    padding: 0.5em;
    display: none;
}

.back-to-top:hover {    
    background-color: #b08a30;
	color:#FFFFFF;
}

/*----------------------------------
	Content Media Queries
----------------------------------*/

@media handheld, only screen and (max-width: 940px) {
#footer {
	font-size:0.7em;
}
}

@media handheld, only screen and (max-width: 767px) {

h3 {
	font-size:1.4em;
}

#container {
	width: 100%;
}

#container-header {
	width: 100%;
	height:100px;
	padding: 30px 1% 5px 1%;
}

.topline-mobile{
	display: inline-block;
	height: 10px;
	width:100%;
	background-color:#0a2375;
}

.container-header-info {
	display:none;
}

.container-header-phone {
	display:none;
}
.container-header-phone-text {
	display:none;
}
.container-header-phone-img1 {
	display:none;
}
.container-header-phone-img2 {
	display:none;
}

.nav-bar{
	display:none;
}

#container-nav-bar{
	display:none;
}
			
#banner-container {
	width:100%;
}

#map-wrapper {
	display:none;
}

.address {
	display: inline;
	width:100%;
}

.enquires {
	display: inline-block;
	width:94%;
	padding:2% 3% 6% 3%;
}


.form-container {
	text-align:justify;
}

.footer-cards img {
   display:block;
   margin:0px;
}
	
#footer {
	overflow:auto;
	text-align:justify;
	width:100%;
	font-size:0.8em;
}

#footer-information{
	width:100%;
	overflow:auto;
}

.footer-area {
	height: 170px;
	width: 100%;
	padding: 1% 0 2% 0;
}

.container-footer-copyright {
	height: 110px;
}

#footer-copyright {
	width:60%;
	padding-left:1%;
	margin-bottom: 5%;
}

#footer-digitalnow {
	display: none;
}	

#footer-digitalnow-logo {
	display:none;
}

#footer-digitalnow-media {
	display: inline;
	float:left;
	margin:2% 0 2% 1%;
	width:60%;
}

#footer-digitalnow-media a {
	text-decoration:none;
	color:#FFF;
}

.back-to-top {
	display: none;
}
	
}

@media handheld, only screen and (max-width: 499px) {

.container-header-logo {
	width:100%;
}
.container-header-logo img{
display: block;
margin: auto;
}

}






/*----------------------------------
	Slider
----------------------------------*/


#full-width-slider {
  width: 100%;
  color: #000;
}
.coloredBlock {
  padding: 12px;
  background: rgba(255,0,0,0.6);
  color: #FFF;
   width: 200px;
   left: 20%;
   top: 5%;
}
.infoBlock {
  position: absolute;
  top: 30px;
  right: 30px;
  left: auto;
  max-width: 25%;
  padding-bottom: 0;
  background: #FFF;
  background: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  padding: 20px;
}
.infoBlockLeftBlack {
  color: #FFF;
  background: #000;
  background: rgba(0,0,0,0.75);
  left: 30px;
  right: auto;
}
.infoBlock h4 {
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 3px;
}
.infoBlock p {
  font-size: 14px;
  margin: 4px 0 0;
}
.infoBlock a {
  color: #FFF;
  text-decoration: underline;
}
.photosBy {
  position: absolute;
  line-height: 24px;
  font-size: 12px;
  background: #FFF;
  color: #000;
  padding: 0px 10px;
  position: absolute;
  left: 12px;
  bottom: 12px;
  top: auto;
  border-radius: 2px;
  z-index: 25; 
} 
.photosBy a {
  color: #000;
}
.fullWidth {
  max-width: 1400px;
  margin: 0 auto 24px;
}

@media screen and (min-width:960px) and (min-height:660px) {
  .heroSlider .rsOverflow,
  .royalSlider.heroSlider {
      height: 300px !important;
  }
}

@media screen and (min-width:960px) and (min-height:1000px) {
    .heroSlider .rsOverflow,
    .royalSlider.heroSlider {
        height: 300px !important;
    }
}
@media screen and (min-width: 0px) and (max-width: 800px) {
  .royalSlider.heroSlider,
  .royalSlider.heroSlider .rsOverflow {
    height: 300px !important;
  }
  .infoBlock {
    padding: 10px;
    height: auto;
    max-height: 100%;
    min-width: 40%;
    left: 5px;
    top: 5px;
    right: auto;
    font-size: 12px;
  }
  .infoBlock h3 {
     font-size: 14px;
     line-height: 17px;
  }
}