
html { 
 /* font: normal normal 14px/30px 'Roboto Slab', sans-serif;*/
/*font: normal normal 15px/28px 'Raleway', Arial;*/
font: normal normal 14px/28px 'montserrat' !important;
  color: #1a1a1a;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

/* Blue #09336F */
/* Green #81BC00 */


body {
font: normal normal 16px/28px 'montserrat' !important;
font-weight:normal;
background:#ffffff;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


@font-face {

    font-family:'montserrat';
    src: url('../fonts/Montserrat-Medium.ttf');
    font-weight: normal;
    font-style: normal;
}

.btn-logo {
    background-color: #09336F;
	padding:30px 0px;
	margin:10px auto;
	text-align:center;
}

.btn-logo span.white {
font-family:'montserrat';
color:#ffffff;
font-weight:normal;
font-size:30px;
padding-right:5px;

}

.btn-logo span.yellow {
font-family:'montserrat';
color:#09336F;
font-weight:normal;
font-size:30px;

}

#wrapper {
    width:100%;
	max-width: 1170px ; 
	padding: 0 0 0 0;
	margin:0 0 0 0;
	margin: auto ;
	text-align: left ;
}

/* Call to action */

.btn-contact {
    color: #ffffff;
    background-color: #03643B;
	width:150px;
	height:55px;
	padding:10px;
	margin:10px auto;
	text-align:center;
}

.btn-contact a {color:#ffffff;}
.btn-contact a:hover {color:#81BC00;}


a.CTA-phone {
    position: relative;
    border: 1px solid #CDB56D;
    float: right;
    margin: 0px 10px 20px 15px;
    font-weight: normal;
    text-align: center;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    background-color: #03643B;
    white-space: nowrap;
    padding: 15px 15px;
    font-size: 1em;
    line-height: 1.42857143;
    color: #ffffff;
}


a.CTA-phone:hover {color:#81BC00;}

a.button-blue {
    position: relative;
    float: right;
    margin: 0px 0px 1px 15px;
    font-weight: normal;
    text-align: center;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    background-color: #03643B;
    white-space: nowrap;
    padding: 10px;
    font-size: 1em;
    line-height: 1.42857143;
    color: #ffffff;
	width:100%;
}

.buttons-side {margin:30px 0 0 0;}

a.CTA-phone:hover {color:#81BC00;}




/* End Call to action */

/* Side Buttons */

.buttons .button-blue:first-child, .products .productRow:first-child {
    border-top: none;
}
.buttons .button-blue {
    border-top: 1px solid #fff;
}
.buttons .button-blue {
    overflow: hidden;
    padding: 10px 20px;
}
.buttons-xs .button-blue, .buttons-sm .button-blue {
    display: block;
    width: 100%;
}

h3.buttons-blue {
    font-size: 22px;
    font-weight: 300;
	color:#ffffff;
}

.button-blue .fa {
    font-size: 40px;
}

/* Portfolio - Financial Links - Calc Buttons */

.button-links {
font-size:1.2em;
width:180px;
max-width:100%;
color: #fff !important;
text-transform: none;
text-decoration: none;
background: #03643B;
padding: 20px 10px;
margin:10px 0 0 20px;
border-radius: 10px;
display: inline-block;
border: none;
transition: all 0.4s ease 0s;
-webkit-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
-moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
box-shadow: 5px 40px -10px rgba(0,0,0,0.57);
}

.button-links:hover {

letter-spacing: 1px;
background: #white;
color:blue;
transition: all 0.4s ease 0s;
}

.button-links a {

text-align:center;
color:#ffffff;
clear:both;
width:100%;
}

.button-text {padding:0 0 0 20px;}

/* End Buttons */
#sidenav {
    clear:both;
    position:relative;   
	float:right;
    width:25%;
    margin: 45px 0px 20px 0;
	padding:0 0px 0 30px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#sidenav h3 {font-size:40px;}



#sidenav li:hover>a, #sidenav li>a:hover { color:#81BC00;}



/* End Side Button */

.check-my-file {
float:left;
padding:0 45px 0 25px;
}

h1 {
font-size: 1.8em;
  color:#03643B;
font-weight:normal;
}

.about h1 {color:#03643B; }

h2 {
font-size:1.6em;
  color:#03643B;
line-height: 1.1em;
font-weight:normal;
}

h3 {
 font-size:1.3em;
color:#03643B;

font-weight:normal;
}

h3.small {font-size: 1.3em !important; color:#03643B !important;}

.calculator h3, .financial h3, .newsletters h3 { font-size:1.5em; margin:5px 0 0 0;}

h4 {
 /* font-size: 1.875em;*/
 font-size:1.2em;
 /* line-height: 1.1em;*/
}

h5 {
  font-size: 1.1em;
  line-height: 1.1em;
color:#03643B;
  color:#03643B;
font-weight:normal;


}

h6 {
  font-size: 1.125em;
  line-height: 1.1em;
color:#03643B;
  color:#03643B;

}

h2,
h3,
h4,
h5,
h6 {
  
    margin-top: 10px;
    margin-bottom: 10px;
}

h1 { margin-top: 10px;
    margin-bottom: 20px; }


p { 
  margin: 0;
  /*font: normal normal 14px/30px 'Roboto Slab', sans-serif;*/
}

p, ol, dl, blockquote, hr, ul {
    line-height: 1.5em;
    margin-top: 10px;
    margin-bottom: 5px;
    }

hr {border-color:#03643B !important;}

p.title {
 
 font-family: roboto-light-webfont,sans-serif;
	font-size: 18px;
 color:#b5b5b5;
 text-align:left;
 }

a {
	color: #03643B; 
color: #03643B; 
	text-decoration:none;
 
	}

a.grey {
	color: #03643B; 
	text-decoration:none;
	}

a.yellow {
	color: #03643B; 
	text-decoration:none;
	}


a:hover {color: #81BC00; }

span.heading {color:#000000;}

span.address {color: #03643B; font-size:65%;}

span {color: #03643B;}


#top_images {
position:relative;
width:100%;
max-width:1170px;
margin:0 auto;
height:120px;
}

/* Mobile icons */

.smart-icons {
height:75px;
width:100%;
display:none;

}

.phone-icon 
{
float: none;
display: block;
text-align: center !important;
width:62px;
height:62px;
margin:5px auto 0 auto !important;
}


.email-icon
{
float: right;
display: block;
text-align: center !important;
width:64px;
height:62px;
margin:5px 10px 0 0;


}

.smart-icons .col-1-of-3 {width:33.3% !important;}


#right_area {
  position:relative;
  float:right;
  margin:0px 10px 0 0;
  height:50px;
  width:100%;
}

p.strapline {
	float: right;
	width: 100%;
	margin: 20px 0px 0 0px ;
	color:#03643B;
	font-size:22px;
	text-align:right;
}
p.strapline2 {
	float: right;
	width: 380px;
	margin: 5px 0px 0 -100px ;
color:#03643B;
	font-size:22px;
	text-align:right;
}
#right_area a {
    float: right;
	width: 100%;
	margin: 0px 0px 0 0px ;
	color:#03643B;
	font-size:19px;
	text-align:right;
	text-decoration:none;
}

#right_area a:hover {
  text-decoration: underline;
  color:#c2c2c2;
}


/* Services */

.services {
    position: relative;
    clear:both;
	position: relative;
	width:100%;
	max-width:1170px;
    margin:35px auto 0px auto;
	height:150px;


    	}


.sub-title {
    position:relative;
	max-width:800px;
	margin:10px auto 20px auto;
	clear:both;
		}

.sub-title p {
    font-family: roboto-light-webfont,sans-serif;
	font-size: 18px;
    text-align:center;
	color:#0E3D4D;;
}

.image-left .fa {padding:15px;}
.image-left a {color:#ffffff;}
.image-left a:hover {color:#ded9d4;}
.services h2 {
text-align:center;
font-size:1.8em;
margin:25px 0 20px 0;
}

.services h3 {
text-align:center;
font-size:1.2em;
margin:20px 0 25px 0px;
}


.about-part-one h3 {
text-align:center;
color:#03643B;
}
.services p {
text-align:center; 
padding:0 0 15px 0;
}

.service-left {
padding:0; 

}


.services h2 {
color:#03643B;
text-align:center;
padding:0; 

}

.services p {
text-align:center;
font-size:1.2em;
font-weight:500;
color:#03643B;
}


/* Font Awesome */

.fa-1x {
    font-size: 1.4em !important;
}

#services i.fa {line-height:53px;}


.image-left {
    position: relative;
    margin: 0 auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    text-align: center;
    background: #03643B;
    color: #ffffff;
    font-size: 35px;
}

.fa {
    display: inline-block;
    font: normal normal normal 18px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.fa-Linkedin:before {
    content: "\f0e1";
}

.fa-Facebook:before {
    content: "\f09a";
}

.fa-Twitter:before {
    content: "\f099";
}



.fa-phone:before {
    content: "\f095";
}

.fa-signal:before {
    content: "\f012";
}

.fa-bicycle:before {
    content: "\f206";
}

.fa-pie-chart:before {
    content: "\f200";
}

.fa-umbrella:before {
    content: "\f0e9";
}

.fa-line-chart:before {
    content: "\f201";
}

.fa-home:before {
    content: "\f015";
}

.fa-bank:before {
    content: "\f19c";
}
.fa-baby-carriage:before {
    content: "\f77d";
}
.fa-heartbeat:before {
    content: "\f21e";
}


/* Additional Font Sizes */
.fa-social {
    font-size: 1.5em !important;
}

/* End Services / Font Awesome */

a.boxes {
	color: #03643B; 
	text-decoration:none;
	}


.feed-container .header {
    background-color: #03643B !important;
}

img {
max-width: 100%;
padding:0;
}

table { width: 100%; }

ul > li { position: relative; }

ul > li:first-child { margin-left: 0; }

ul > li:last-child { margin-right: 0;} 


/* Header Items */

.logo {
    position:relative;
	float:left;
    padding: 0px;
    clear:both;
    margin: 30px 0 0 10px;
    
}

.logo img {
/*max-width:350px;*/
margin: 0 auto;
display:block;


}

.strap1 {
	color:#00000;
	margin:-15px 0 15px 0;
    font-weight:normal;
    font-size:15px;
    text-align:left;
	font-family:
}

.strap2 {
    color:#909090;
	margin:-15px 0 15px 0;
    font-weight:normal;
    font-size:15px;
    text-align:left;
    font-family:
}

.yorkshire-logo {
float:left;
margin-top:-20px;
padding:0 15px 0 15px;
max-width:50px;
}

.title {
    text-align:center;
    display:block;
    width:100%;
    clear:both;
}

.strap {
    color:#909090;
	color:#03643B;
	margin:-15px 0 15px 0;
    font-style:italic;
    font-weight:normal;
    font-size:15px;
    text-align:center;
}

.num {
    font-size:40px;
    color:#b987b9;
    font-weight:bold;
    text-align:center;
    font-style: italic;
    display:block;
    width:400px;
    text-align:center;
    margin:0 auto;
    margin-top:-30px;
    margin-bottom:30px;
    display:none;
}


#header_wrapper {	background-color: #ebebeb; border-bottom:1px #4e2877 solid;border-top:4px #4e2877 solid;} /* White logo */

form.contact_form input[type=submit] {
   
    background-color:#03643B!important;
    
}

.logo_small {
width:50%;
float:left;
display:none;
}

#social_media {
width:18%;
max-width:177px;
float:left;
padding:0 10% 0 0;
margin:20px 0 0 0;
}

#login_area {
width:16%;
max-width:153px;
padding:0 0 0 0;
float:left;
}


#header_outer {
   clear:both;
   position:relative;
   width:100%;
   margin: 0 0 0 0;
   padding:0;
   background:#257a9a;
opacity: 0.7;
   height:40px;
border: solid #257a9a;
border-width: 0 0 2px 0;
}

#header_wrap {
   position:relative;
   max-width:960px;
   margin: auto ;
   height:40px;
}

p.phone {
color:#ffffff;
padding:8px 0 0 25px; /* left padding for icon */  
margin:0 0 0 0;
font-size:1em;
float:left; 
text-align:left;
font-weight:normal;
background: url('../images/phone.png') 0 8px no-repeat;
}

a.regulatory-header {
float:left; 
text-align:left;
padding:8px 0 0 5px;
margin:0 0 0 0;
color:#ffffff;}


a.social-icon {
float:right; 
text-align:left;
padding:8px 0 0 5px;
margin:0 0 0 0;}


a.email {
color:#ffffff;
float:right; 
text-align:left;
padding:8px 10px 0 15px;
margin:0 0 0 0;
font-size:1em;
font-weight:normal;
text-decoration:none;}

a.email:hover {color:#257a9a; font-weight:normal;
	}


/* Font Awesome */

.fa {
    display: inline-block;
    font: normal normal normal 10px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
	
	}

.fa-Linkedin:before {
    content: "\f0e1";
}

.fa-Facebook:before {
    content: "\f09a";
}

.fa-Google:before {
    content: "\f0d5";
}

.fa-Twitter:before {
    content: "\f099";
}



.fa-phone:before {
    content: "\f095";
}

*:before, *:after {
    box-sizing: border-box;
}


.icon-box > .fa  {
    float: right;
margin-top:20px;
    margin-right: 10px;
	padding-right:10px;
	
}



.icon-box a {
color:#ffffff;
margin-right: 10px;
padding-right:10px;
	}

.icon-box a:hover {color:#257a9a;} 

.fa-2x {
    font-size: 1.3em !important;
}


.icon-box {
    width: 20px;
    display: inline-block;
    padding-right: 0px;
    margin: 8px 5px 15px 10px;
    text-align: right;
    color: #ffffff;
	float:right;

}

.first-icon {margin-right:15px;}


/* End of Font Awesome */




.testimonials p {
    background: #f1f1f1;
    padding: 10px;
    margin-top: 20px;
}

.content-image {
    float: right;
    width: auto;
    margin: 0px 0 15px 25px;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 3px;
}

.content-box {
    min-height: 20px;
    padding: 19px;
    margin:20px 0 20px 0;
    background-color: #03643B;
    border: 1px solid #e3e3e3;
    border-radius: 0px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
	color:#ffffff;
}


.content-box p, .content-box a {
color:#ffffff;
text-align:center;}

.content-box h2 { 
color:#ffffff !important;
text-align:center !important;
}

/* https://css-tricks.com/seamless-responsive-photo-grid/ */

#photos {
  /* Prevent vertical gaps */
  line-height: 0;
 /* -webkit-column-count: 5;
  column-count:        5;
  -moz-column-count:    5;*/

-webkit-column-count: 4;
  column-count:        4;
  -moz-column-count:    4;
  -webkit-column-gap:   2px;
  -moz-column-gap:      2px;
  column-gap:           2px;  
}

#photos img {
  /* Just in case there are inline attributes */
  width: 100% !important;
  height: auto !important;
}

@media (max-width: 1200px) {
  #photos {
  -moz-column-count:    4;
  -webkit-column-count: 4;
  column-count:         4;
  }
}
@media (max-width: 1000px) {
  #photos {
  -moz-column-count:    3;
  -webkit-column-count: 3;
  column-count:         3;
  }
}
@media (max-width: 800px) {
  #photos {
  -moz-column-count:    2;
  -webkit-column-count: 2;
  column-count:         2;
  }
}
@media (max-width: 400px) {
  #photos {
  -moz-column-count:    1;
  -webkit-column-count: 1;
  column-count:         1;
  }
}

/* Responsive photo Grid */


#photos li {
    list-style: none;
    margin-top: 5px;
}

#photos li.popup-gallery {
    opacity: 1;
    transition: 0.5s;
    cursor: pointer;
}

#photos {
    margin: 0px;
    padding: 0px;
}

#photos img {
    width: 100% !important;
    height: auto !important;
}


.lightbox {
    position:fixed;
    z-index:999;
    margin:0 auto;
    left:0;
    right:0;
    display:none;
    top:20px;
}

.lightbox img {
    width:100%;
    top:0;
    bottom:0;
    position:absolute;
}

.bg {
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    position:fixed;
    left:0;
    right:0;
    z-index:998;
    display:none;
	
}
  
/* Menu */ 

/*style the main menu*/

.nav-bar {
width:100%;
height:50px;
background-color:#03643B;
margin:10px 0 0 0;
}


 .myMenu {
    margin: 15px auto 0 auto;
    padding: 0;
    z-index: 500;
   
}

ul.myMenu {
	clear: both ;
	margin: 0 auto;
	padding: 0 0 0 10px;
	list-style-type: none ;
	color: #ffffff;
	height: 42px ;
	width:1170px;
	
}

   
.myMenu li {
	list-style:none;
	float:left;
	font-size:1em;
	font-weight:normal;
	z-index:500 !important;
    
}


.myMenu li a:link, .myMenu li a:visited {
	display:block;
	text-decoration:none;
/*    background-color:#ffffff; */
	padding: 1em 1.8em 0em 0em;
	margin:0;
	color:#ffffff;
	font-weight:500;
	
	z-index:500 !important;
}

.myMenu li a:hover {
	color:#ffffff;
	z-index:500 !important;
	
}


/*style the sub menu*/
.myMenu li ul {
	position:absolute;
	visibility:hidden;
	/*border-top:1px solid #fff;*/
	margin:0 0 0 0;
	padding:0;
	z-index:500 !important;
}

.myMenu li ul li {
	display:inline;
	float:none;
	z-index:500 !important;
    font-size:1em;
	font-weight:bold;
	z-index:500 !important;
    border:none;
}


.myMenu li ul {margin-top:-2px;}

.myMenu li ul li a:link, .myMenu li ul li a:visited {
   background-color:#03643B;
   color:#ffffff;
	width:138px;
	width:230px;
	border:none;
    border-bottom: 1px solid #CCCCCC ;
    z-index:500 !important;
    padding: 0.2em 1.5em 0.5em 1.5em;
	z-index:500 !important;
	font-weight:normal;
	font-size:0.9em;
	z-index:500 !important;
	
}

.myMenu li ul li a {background-color:#ffffff;}	

.myMenu li ul li a:hover {
    background-color:#03643B;	
    color:#c2c2c2;
	text-decoration:none;
	z-index:500 !important;
	opacity:0.9;
}

/* Third Level & beyond */
.myMenu > li > ul li > ul{   
    display:none;
}

.myMenu > li > ul li:hover > ul{
    display:block;
    position:absolute;
    left:100%;
    /* top:0;*/
	margin-top:-34px;
	margin-left:0px;
    width:auto;
}


.myMenu > li > ul > li ul > li{
   display:block;
   white-space:nowrap;
   font-size:0.95em;
}
.myMenu  > li > ul > li ul > li a:link, .myMenu  > li > ul > li ul > li a:visited {


background-color:#f5f5f5;
color:#03643B;
}

.myMenu  > li > ul > li ul > li a:hover {
background-color:#03643B;	
color:#ffffff;
}

/* End Menu */

#banner {  
position:relative;
margin:2px 0 0 0;
padding:0;
height:471px;
width:100%;
background-size:cover;
}

.mobile-banner {display:none;}


/* Slideshow */

#slideshow_main {
    /*float: left;*/
    width: 100%;
    margin: 0 auto;
    padding: 0 0 5px;
    z-index: 10;
    position: relative;
}

#slideshow {
    display: block;
    margin: 0 auto 0;
    width: 100%;
    color: #fff;
    position: relative;
}

#slideshow_inner {
    float: left;
    margin: 0 auto 0;
    width: 100%;
    color: #fff;
    position: relative;
}

#prev {
    position: absolute;
    left: 0;
    bottom:130px;
    height: 50px;
    width: 35px;
    z-index: 999;
    cursor: pointer;
    background: rgba(33,33,33,0.7);
	z-index:500;
}

#next {
    position: absolute;
    right: 0;
    bottom:130px;
    height: 50px;
    width: 35px;
    z-index: 999;
    cursor: pointer;
    background: rgba(33,33,33,0.7);
}

.pics {
    float: left;
    margin: 0;
    padding: 0;
    z-index: 1;
    width: 100%;
	height:100%; /* Fix initial slideshow that doesn't load */
}

.slider_text {
    display: block;
    position: absolute;
    bottom: 84px;
    background: rgba(3, 100, 59, 0.5); /* grey */
    width: 100%;
    z-index: 99999;
	height:136px;
}

h2.slide-title1  {
    float: left;
    width: 100%;
    color: #03643B;
	color:#03643B;
    text-align: center;
    padding: 10px 0;
    margin: 10px 0 10px;
    font-size: 2.5em;
    line-height: 1.1em;
    font-weight: normal;
    /*	font-family: 'Raleway', Arial;*/
}

h2.slide-title1 a {
color:#03643B; 
color:#ffffff;
text-decoration:none;
text-align:center !important;
/*font-family: 'Raleway', Arial;*/
}

.slide-text2 {
    float: left;
    width: 100%;
    color: #ffffff;
    /*font-family: Arial, Helvetica;*/
    padding: 0;
    margin: 0 0 10px;
    text-align: center;
    font-size: 1.2em;
    line-height: 1.4em;
}

.slider {
    float: left;
    width: 100%;
    padding: 0 0;
    position: relative;
    background: url() no-repeat top transparent;
}

#slideshow p {
    margin: 0 0 10px;
}

.slide_image { background-size: cover;}

#prev {background: url("../images/arrow-left.png") no-repeat center center;  z-index:100;}
#next {background: url("../images/arrow-right.png") no-repeat center center; z-index:100;}
/*@media only all and (min-width: 1900px) {*/
/*#slideshow_main {
    height: 550px;
    overflow: hidden;
}*/


/*.slider, .pics {
    height: 550px;
}*/

.slider img {
    position: relative;
    right: 0;
    display: block;
    margin: 0 auto;
    width: 100%;
}

/*.slider_text {
    bottom: 90px;
    
}

/*}*/



.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

user agent stylesheet
i, cite, em, var, address, dfn {
    font-style: italic;
}

.fa-navicon:before, .fa-reorder:before, .fa-bars:before {
    content: "\f0c9";
}


#alternative_menu
{
        width: 200px;
		position:relative;
		height:30px;
		background-color:#ffffff;
		border:1px solid #03643B;
		color:#666666;
		margin:10px 0 10px 10px;
        display:none;
		padding:0 0 0px 10px;
		font-weight:normal;
		font-size:1.2em;
}



/* ----     back to top     ---- */
#back-to-top {
  position: fixed;
  padding: 10px 14px;
  right: 30px;
  bottom: 30px;
  display: none;
  color: #fff;
  background: #1e2e42;
}

#back-to-top:hover { background: #162232; }

/*   Overlay, buttons used with bootstrap.min.css create service boxes */
.overlay {
  position:relative;
  display: block;
  overflow:hidden;
}

.overlay img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid #03643B; 
  


}

.overlay:hover .overlay-content {
  opacity: 1;
  visibility: visible;
  -webkit-transform: scale(1);
     -moz-transform: scale(1); 
      -ms-transform: scale(1);
       -o-transform: scale(1);
          transform: scale(1);
}

.overlay:hover .overlay-shadow {
  visibility: visible;
  opacity: 1;
}

.overlay-shadow {
  position:absolute;
  top:0;
  left:0;
  bottom:0;
  right:0;
  opacity:0;
  background:rgba(3, 100, 59, 0.8);
  -webkit-transition:all .3s ease-in-out;
     -moz-transition:all .3s ease-in-out;
      -ms-transition:all .3s ease-in-out;
       -o-transition:all .3s ease-in-out;
          transition:all .3s ease-in-out;
  -webkit-transform: scale(1);
     -moz-transform: scale(1);
      -ms-transform: scale(1);
       -o-transform: scale(1);
          transform: scale(1);
}

.overlay-content {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  visibility: hidden;
  opacity: 0;
  -webkit-transform: scale(0.2);
     -moz-transform: scale(0.2);
      -ms-transform: scale(0.2);
       -o-transform: scale(0.2);
          transform: scale(0.2);
  -webkit-transition: all 0.3s ease 0s;
     -moz-transition: all 0.3s ease 0s;
      -ms-transition: all 0.3s ease 0s;
       -o-transition: all 0.3s ease 0s;
          transition: all 0.3s ease 0s;
}

.overlay-content .button { 
  color: #fff;
  border-color: #fff;
}

.overlay-content .button:hover { 
  color: #fefdfb; 
  background: #fff;
}


/*    Buttons  */
button {
  padding: 0;
  line-height: 30px;
  background: transparent;
  border-radius: 0;
  outline: none;
  border: none;
  -webkit-transition: all 300ms ease-in-out; 
     -moz-transition: all 300ms ease-in-out; 
      -ms-transition: all 300ms ease-in-out; 
       -o-transition: all 300ms ease-in-out; 
          transition: all 300ms ease-in-out;
}

button:hover {
  -webkit-transition: all 300ms ease-in-out; 
     -moz-transition: all 300ms ease-in-out; 
      -ms-transition: all 300ms ease-in-out; 
       -o-transition: all 300ms ease-in-out; 
          transition: all 300ms ease-in-out;
}

.btn {
  padding: 5px 5px;
  border-radius: 0;
  font-weight: normal;
/*  font-family: 'roboto slab', sans-serif;*/
  vertical-align: inherit;
  -webkit-transition: all .3s ease-in-out;
     -moz-transition: all .3s ease-in-out;
      -ms-transition: all .3s ease-in-out;
       -o-transition: all .3s ease-in-out;
          transition: all .3s ease-in-out;
}

.btn:hover {
  -webkit-transition: all .3s ease-in-out;
     -moz-transition: all .3s ease-in-out;
      -ms-transition: all .3s ease-in-out;
       -o-transition: all .3s ease-in-out;
          transition: all .3s ease-in-out;
}

.btn.dark { 
  color: #1e2e42;
  border: 2px solid #1e2e42;
}

.btn.dark:hover {
  color: #fff;
  background: #03643B;
}

.btn.light {
  color: #fff;
  border: 2px solid #fff;
}

.btn.light:hover {
  color: #666666;
  background: #fff;
}

.btn-success {
    color: #fff;
    background-color: #03643B !important;
    border-color: #03643B !important;;
}
  
.about { 
position:relative;
margin:20px auto 5px auto;
padding:0 0 0px 0;
width:100%;
max-width:1170px;
text-align:left;

}

.about-intro { 
margin:0 0 15px 0;

}

.about-left {
width:66.6%;
box-sizing: border-box;
padding:10px;
}

.about-right {
padding:30px 0px 10px 50px;
width: 33.33%;
box-sizing: border-box;
}


.about-part-one {
    height: auto;
	overflow:hidden;
    -webkit-box-shadow: inset 0px 7px 9px -9px rgba(0,0,0,0.7);
    -moz-box-shadow: inset 0px 7px 9px -9px rgba(0,0,0,0.7);
    box-shadow: inset 0px 7px 9px -9px rgba(0,0,0,0.7);
    background: #f7f5f4;

    width: 100%;
    box-sizing: border-box;
	padding:20px 0px 20px 0;
	margin:0;

 background: url('../images/row-houses.png') 0 0 no-repeat;
 background-position: center; 
	
}

.about-part-one .col {
    padding:0 3px;
    box-sizing: border-box;
}

.about-part-one .col-1-of-4 {
    width:25%;
}




.about-part-one a:hover {
color:#000000 !important;
}

.about-part-two {
    height: auto;
	overflow:hidden;
    -webkit-box-shadow: inset 0px 7px 9px -9px rgba(0,0,0,0.7);
    -moz-box-shadow: inset 0px 7px 9px -9px rgba(0,0,0,0.7);
    box-shadow: inset 0px 7px 9px -9px rgba(0,0,0,0.7);
    background: #fefdfb;
    width: 100%;
	padding: 10px 0 0 0;
	
    box-sizing: border-box;
	
}

.about-part-two-right {
    width: 33%;
    float: left;
    padding: 15px 0px 10px 0;
    margin:20px 0 0 0;
    /*height: 300px;*/
    display: block;
    box-sizing: border-box;
}

.about-part-two-right img {
    border: 3px solid #03643B;
}

.about-part-two-left {
    width: 66%;
    float: left;
    padding: 20px 20px 10px 0;
	
   /* height: 300px;*/
    display: block;
    box-sizing: border-box;
}


.about-part-two-left h2 {
color:#03643B; 
}

.my-services-text {
    padding: 0 0px 0px 10px;
    margin: 0 0 0 0;
}
.my-services-text h2 {
color:#03643B;
}




#footer
{
        position:relative;
        clear:both;
		width:100%;
		height:auto;
		background:#03643B;
		margin: 0 auto;
		padding:10px 0 0px 0;
		z-index:500;
}

#contact-details
{
        position:relative;
        clear:both;
		width:100%;
		height:auto;
		overflow:hidden;
		margin: 0 auto 0px 0;
		padding:10px 0 10px 0;
		z-index:500;
        background-color:#03643B;

		
}

#contact-details p, #contact-details a
{ 
color:#ffffff;
}


#regulatory
{
        position:relative;
        clear:both;
		width:100%;
  /*      max-width:960px; */
		height:auto;
		overflow:hidden;
        
 box-shadow: inset 0px 7px 9px -9px rgba(0,0,0,0.7);
    background: #f7f5f4;
		margin: 0 auto 0px 0;
		padding:10px 0 10px 0;
		z-index:500;
		
}

#regulatory p {font-size:85%; text-align:center; }
#regulatory a {text-align:center;}
#regulatory a:hover {color:#c2c2c2;}
#footer .wrapper
{
        /*line-height:25px;*/
        margin: 0 auto;
        padding-top:0.1em;
		width:100%;
        max-width:1170px;
        font-size:1.2em;
}

#footer .wrapper .column a
{
text-decoration:none;
color:#ffffff;
}

#footer .wrapper .column a:hover
{
        color: #f2f2f2;
}

#footer .wrapper .column
{
        /*font-family: 'Open Sans', sans-serif;*/
        color:#03643B;
        float:left;
        
}


#footer .wrapper .narrow
{
        
		width:33.3%;
		text-align:center;
        
}


#footer .wrapper .wide
{
        
		width:34%;
        
}
#footer ul {padding-left:10px !important;}

#footer .wrapper .last {margin-right:0;}
#footer .column h2 {font-size:1.1em;color:#ffffff; text-shadow:none; text-decoration:none; /*font-family:georgia,serif;*/font-weight:normal;}
#footer .column h3 {font-size:0.9em !important;color:#ffffff; text-shadow:none; text-decoration:none; font-weight:normal;z-index:100;margin:0;}
#footer .column h3 a {color:ffffff !important;} 
#footer .column h3 a:hover {color:#c2c2c2 !important;} 
#footer .column h3 a.black {color:#000000 !important;} 
#footer .column h3 a.black:hover {color:#03643B !important;} 

#footer .column ul li{margin:0 0 0 0;} 
#footer .column p {font-size:1.4em; color:#ffffff; margin:0;}


 #footer_text

{
        position:relative;
        height:20px;
      /*  font-family: 'Open Sans', sans-serif; */
        color:#ffffff;
		max-width:1170px;
		width:100%;
		margin:0 auto;
        background:#333333;
        background:#0d57a4;
        text-align:center;
		font-size:0.9em;
		
	}

#footer_text p

{
        color: #c2c2c2;
		font-size:0.9em;
        width:50%;
		margin:0 auto;
		padding: 0 0 1em 0;

		
	}


.clear {
	clear: both ;
	height: 0 ;
	overflow: hidden ;
}

#content, #content-wider {
		float:left;
		/*width:75%;*/
		width:100%;
		margin: 20px 0px 20px 0px;
		text-align:left;
        color: #616161;
        z-index:20;
        box-sizing: border-box;
       -moz-box-sizing: border-box;
}

.make-me-larger {width:100% !important;}


 #content_home {
        float:left; 
		width:100%;
		max-width:960px;
		margin: 0;
		text-align:left;
        color: #616161;
        z-index:20;
}

.content-image {
    float: right;
    width: auto;
    margin: 0px 0 15px 25px;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 3px;
}

/* #content_home  p {
		width:70%;
		max-width:700px;
}*/

/*#content ul {
	list-style-type: disc;
	color: #03643B;
}

#content ul li span {
	color: #4e2877;
	text-align: left;
}*/

#content ul {
  list-style: none;
}

#content ul li::before {
  content: "\2022";
  color: #03643B;
  font-weight: bold;
  font-size:1.5em;
  display: inline-block; 
  width: 1em;
  margin-left: -1em;
}

#crumbs {
        float:left; 
		width:70%;
		margin: 0 !important;
		padding:0 !important;
		margin-right:3% !important;
		text-align:left;
        color: #616161;
        z-index:20;
box-sizing: border-box;
 -moz-box-sizing: border-box;
background:#ffffff;
height:2.4em;
		
}

#breadcrumbs ul {padding-left: 0 !important;}

#crumbs {margin-top:15px !important}

#crumbs li a:hover, #crumbs li a:focus {
color:#152950 !important; 
}

.clear {
	clear: both ;
	height: 0 ;
	overflow: hidden ;
}



#spacer {
position:relative;
margin:0 0 20px 0;
width:958px;
height:2px;
background:none;
}

#sidenav {
    clear:both;
    position:relative;   
	float:right;
    width:25%;
    margin: 45px 0px 20px 0;
	padding:0 0px 0 30px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#sidenav h3 {font-size:20px;}



#sidenav li:hover>a, #sidenav li>a:hover { color:#a8bbc9;}


/* Responsive CSS */
iPhone < 5:
@media screen and (device-aspect-ratio: 2/3) {}

iPhone 5:
@media screen and (device-aspect-ratio: 40/71) {}

iPhone 6:
@media screen and (device-aspect-ratio: 667/375) {}

iPhone 6 Plus:
@media screen and (device-aspect-ratio: 16/9) {}

iPad:
@media screen and (device-aspect-ratio: 3/4) {}



/* Responsive CSS */
/*.pics, .slider {height:500px;}*/
.pics, .slider {height:auto;}

@media (max-width: 1930px) { 
/*.pics, .slider {height:381px;}*/
}


@media (max-width: 1435px) { 
.pics, .slider {height:auto;}
}

@media (max-width: 1270px) { 
#wrapper-boxes {margin-left:50px;}

#menuToggle, .smart-icons, .phone-icon, .email-icon {display:block;}
.finance-logo, #right_area {display:none;}

.myMenu, .nav-bar {display:none;}

#sidenav {
width:100%;
dislay:block;
clear:both;
padding:10px;
margin:20px 0 20px 0;
}

#content  {
width:100%;
dislay:block;
clear:both;
}

.logo img {
display:block;
clear:both;
margin:0 auto;
float:none;
}

.logo {
    position:relative;
    display:block;
	clear:both;
	float:none;
	margin:20px auto 0px auto;
}

#top_images .col-1-of-2 {width:100%;}

}

@media (max-width: 1170px) { 
#wrapper-boxes {margin-left:0px;}



.nav-bar {
display:none;
}

}





/* Responsive CSS */
@media (max-width: 960px)  
{


.about-part-two-right, .about-part-two-left {
width:100%;}


.about-part-one {
    box-shadow: none !important;
    padding: 0;
    
}

    
form.contact_form {max-width: 100% !important;}
 
.about-left {
width:100%;
padding-left:10px;
}

.about-right {
padding-left:0px;
width: 100%;
}


.service-left {
padding:0; 
}

.services h2 {
padding:0; 
}

#contact-details {
padding: 10px 0 10px 15px;
    
}

#footer .wrapper .narrow
{
        
text-align:left;
        
}


}

@media (max-width: 915px)  
{
html {overflow-x: scroll;}

#wrapper, #top_images_hr,  #content_main  {
	width:98%;
	padding: 0 1% 0 1%;
}

#content, #content_home {
        margin: 5px 0 5px 0;
}


}


@media (max-width: 833px) 
{


#content, #content_home {
        float:left; 
		width:97%;
		max-width:790px;
        margin: 5px 0 5px 0;
}


/* Fix boxes on Home page - 16th july 2020 DSC */
.about-part-one .col-1-of-4 {

width:50%;
margin:0;
padding:5px;
}

.contact-coloumn {width:100%;}

}

 @media (max-width: 765px) {

#slider-container {display:none;}


#contact-us-container   {display:none; }

.slider_text {display:none;}

.mobile-banner {display:block;}


#footer .wrapper .column.fourth {
	   margin-top:2em;
}

.logo {
position: block;
float: none;
margin:0px auto 0 auto;
}

.yorkshire-logo {
float:none;
clear:both;
display:block;
margin:0 auto;
}

.check-my-file {
float:none;
padding:0;
display:block;
margin:10px auto;
}

#footer_wrapper {height:400px;}

 }


@media screen and (max-width: 720px) {

 

#footer .wrapper .column {width:50% !important;}

}

@media (max-width: 560px)  {

.content-image {display:block; clear:both; position:relative; padding:15px; float:none;}

#footer .wrapper .column {width:100% !important;}

.about-part-one-left, .about-part-one-right   {
    width: 100% !important;
    float: left;
    padding-right: 0px;
}

.about-part-two-left, .about-part-two-right   {
    width: 100% !important;
    float: left;
    padding-right: 0px;
}

.logo {
    width: 100%;
    padding: 20px 0px;
}

.about-part-one h3 {
font-size:1.4em;
text-align:center;

}


/* Fix boxes on Home page - 16th july 2020 DSC */
.about-part-one .col-1-of-4 {

width:100%;
margin:0;
padding:5px;
}

.button-text {display:none;}

.button-links {
float:none;
margin:0 auto;
width:100%;

}


} 