/*
Theme Name: Pepper Template 1
Author: Pepper Creative
Author URI: https://www.peppercreative.co.uk/
Description: Pepper Template 1 - REQUIRES Advanced Custom Fields
Version: 0.1
*/

/* Easy Clearfix */
.cf:after,
.container:after,
.container-fluid:after,
.input-group:after,
ul:after,
#sidebar:after,
.page:after,
.section:after,
.post-item:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.cf,
.container,
.container-fluid,
.input-group,
ul,
#sidebar,
.page,
.section,
.post-item {
    display: inline-block;
}

/* Hides from IE-mac */
* html .cf,
* html .container,
* html .container-fluid,
* html .input-group,
* html ul,
* html .sidebar,
* html .page,
* html .section,
* html .post-item {
    height: 1%;
}

.cf,
.container,
.container-fluid,
.input-group,
ul,
#sidebar,
.page,
.section,
.post-item {
    display: block;
}

/*
 *
 * Sticky Footer
 * Credit: http://css-tricks.com/snippets/css/sticky-footer/
 *
 *
*/
* {
    margin: 0;
}

html, body {
    height: 100%;
}

#wrapper {
    min-height: 100%;
    /* equal to footer height */
    margin-bottom: -540px;
}

#wrapper:after {
    content: "";
    display: block;
}

#footer, #wrapper:after {
    /* .wrapper must be the same height as footer */
    height: 540px;
}

/* helpers */
.mobile,
#mobile-navigation,
.mobile-nav-bar,
.tablet {
    display: none;
}

.no-mobile {
    display: block;
}

.img-responsive {
    display: block;
    width: 100% \9;
    max-width: 100%;
    height: auto;
}

div.align-center {
    margin: 0 auto;
}

.text-align-center {
    text-align: center;
}

.text-align-left {
    text-align: left;
}

.text-align-right {
    text-align: right;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-lowercase {
    text-transform: lowercase;
}

.text-capitalize {
    text-transform: capitalize;
}

/* Editor Helpers */
.align-left {
    float: left;
}

.align-right {
    float: right;
}

.aligncenter,
.align-center {
    margin: 0 auto;
    text-align: center;
}

.aligncenter {
    width: 100%;
    margin: 0 auto;
}

/* Placeholder styles */
::-webkit-input-placeholder {
    color: #52656f;
    opacity: 0.5;
}

:-moz-placeholder { /* Firefox 18- */
    color: #52656f;
    opacity: 0.5;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #52656f;
    opacity: 0.5;
}

:-ms-input-placeholder {
    color: #52656f;
    opacity: 0.5;
}

/* Google Map */
.acf-map {
    height: 300px;
    margin-bottom: 1.8rem;
}

/* box model */
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

/* Layout */
html {
    font-size: 62.5%;
}

body {
    font-family: "montserratlight", Arial, Helvetica, sans-serif;
    font-size: 1.4rem;
    line-height: 2.4rem;
    color: #000000;
}

.container {
    width: 954px;
    position: relative;
    margin: 0 auto;
}

.container-fluid {
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.container-small {
    float: left;
    width: 580px;
    position: relative;
    margin: 0 auto;
}

#wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

#site-cover {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 4900;
    top: 0;
    width: 100%;
    height: 100%;
}

#scroll-top {
    font-family: "montserratlight", Arial, Helvetica, sans-serif;
    display: none;
    position: fixed;
    background-color: rgba(99, 170, 36, 0.80);
    top: 89%;
    right: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin-right: 0.3rem;
    z-index: 4900;
    text-align: center;
}

#scroll-top:after {
    font-family: "montserratlight", Arial, Helvetica, sans-serif;
    color: #FFF;
    content: "TOP";
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* Anchor Links */
a {
    text-decoration: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

#home-content h1,
h1 {
    font-family: "montserratbold", Arial, Helvetica, sans-serif;
    font-size: 3.8rem;
    line-height: 4.8rem;
    text-transform: uppercase;
}

#home-content h2,
h2 {
    font-family: "montserratregular", Arial, Helvetica, sans-serif;
    font-size: 2.8rem;
    line-height: 3.8rem;
    text-transform: uppercase;
}

h2 {
    line-height: 3.8rem;
}

.the-post h1,
.the-post h2,
.the-post h3,
.the-post h4,
.the-post h5,
.the-post h6 {
    font-family: "montserratregular", Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.the-post h3,
.the-post h4,
.the-post h5,
.the-post h6 {
    text-transform: none;
}

.the-post h2 {
    font-size: 1.8rem;
    line-height: 2.4rem;
    margin-bottom: 2.3rem;
}

.the-post h3 {
    font-size: 1.4rem;
    line-height: 2.2rem;
    margin-bottom: 0;
}

.the-post h3 + p,
.the-post h4 + p,
.the-post h5 + p,
.the-post h6 + p {
    margin-top: 0;
}

.the-post h4 {
    font-size: 1.4rem;
    line-height: 2.2rem;
    margin-bottom: 0;
}

.the-post h5 {
    font-size: 1.4rem;
    line-height: 2.2rem;
    margin-bottom: 0;
}

.the-post h6 {
    font-size: 1.4rem;
    line-height: 2.2rem;
    margin-bottom: 0;
}

.the-post h1:first-child,
.the-post h2:first-child,
.the-post h3:first-child,
.the-post h4:first-child,
.the-post h5:first-child,
.the-post h6:first-child {
    margin-top: 0;
}

#home-content h1 {
    margin-top: 3rem;
}

/* Paragraphs */
.the-post p {
    margin: 1.8rem 0;
}

.the-post p:first-child {
    margin-top: 0;
}

/* Lists */
.list-inline-center {
    list-style: none;
    padding: 0;
    text-align: center;
}

.list-inline-center li {
    display: inline-block;
}

.list-inline {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0;
}

.list-inline li {
    display: inline-block;
}

.list-inline.pipe-delimited li:after {
    content: "|";
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0 0.5rem;
}

.list-inline.pipe-delimited li:last-child:after {
    content: "";
    margin: 0;
    padding: 0;
}

.list-unstyled,
.list-unstyled ul {
    padding: 0;
}

.list-unstyled li {
    list-style: none;
}

.the-post ul,
.the-post ol {
    padding-left: 1.4rem;
    list-style-position: outside;
    margin: 1.4em 0;
}

/* Blockquote */
.the-post blockquote {
    padding: 0 2.429rem;
    margin: 2.429rem 0;
}

.the-post blockquote p {
    font-size: 1.286rem;
    line-height: 2rem;
    text-transform: uppercase;
}

/* Buttons */
input[type="button"],
.btn {
    font-family: "montserratlight", Arial, Helvetica, sans-serif;
    display: inline-block;
    padding: 0.9rem 4.771rem 0.9rem 1.171rem;
    position: relative;
    text-align: left;
    border: none;
}

.btn:after {
    position: absolute;
    right: 1.171rem;
    display: inline-block;
    font-family: "FontAwesome";
    content: "\f054";
}

input[type="button"] {
    padding-right: 1.171rem;
}

/* Forms */
input,
textarea {
    border: 1px solid #CCC;
    padding: 0.8rem 0.5rem;
    resize: vertical;
}

/* Tables */
.the-post table {
    margin-bottom: 1.8rem;
}

.the-post table tr td {
    padding: 0.5rem 1rem;
}

/* Header */
#header {
    padding: 2.5rem 0 0.5rem 0;
}

#header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 auto;
    background-color: #FFF;
    z-index: 1000;
    backface-visibility: hidden;

}

#header .site-logo {
    float: left;
}

#header .site-logo img {
    width: 246px;
}

#header .toolbar.desktop {
    display: block;
}

#header .toolbar {
    float: right;
    margin-bottom: 2rem;
}

#header .toolbar .social-icon {
}

#header .toolbar .social-icon a {
    color: #d3011b;
    font-size: 2.2rem;
}

#header .toolbar .social-icon ul li {
    vertical-align: middle;
    margin: 0 1rem 0 0;
}

#header .toolbar .social-icon ul li:last-child {
    margin: 0;
}

#header .toolbar .social-icon ul li img {
    width: 22px;
    height: 22px;
}

/* Navigation */
#navigation {
    clear: both;
}

#navigation ul {
    text-align: right;
}

#navigation ul li {
    position: relative;
    margin-right: 1.686rem;
}

#navigation ul li a {
    font-family: "montserratregular", Arial, Helvetica, sans-serif;
    display: block;
    text-align: center;
    font-size: 1.2rem;
    width: 100%;
    text-transform: uppercase;
}

#navigation ul li a:hover {
    -moz-transition: color .2s ease-out, background 1s ease-in;
    -webkit-transition: color .2s ease-out, background 1s ease-in;
    transition: color .2s ease-out, background 1s ease-in;
}

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

#navigation .menu-main-menu-container {
    display: table;
    height: 45px;
}

#navigation .menu-main-menu-container #header-nav-bar {
    display: table-cell;
    vertical-align: middle;
}

#navigation ul li.menu-item-has-children a {
    padding-bottom: 2.429rem;
}

/* Sub Navigation */
#navigation .sub-menu-wrap {
    display: none;
    position: absolute;
    z-index: 1000;
    margin-left: -115px;
    left: 50%;
    width: 230px;
    padding: 1.429rem 0;
}

#navigation .sub-menu-wrap ul {
    padding: 0;
}

#navigation .sub-menu-wrap ul li {
    display: block;
    margin-right: 0;
}

#navigation ul li.menu-item-has-children ul li a,
#navigation .sub-menu-wrap ul li a {
    font-family: "montserratlight", Arial, Helvetica, sans-serif;
    margin-right: 1.786rem;
    padding: 0 0 1.071rem 0;

}

/* Footer */
.footer-top {
    background: url('assets/images/footer-top-img.png') no-repeat left bottom transparent;
    background-size: cover;
    height: 240px;
}

.footer-top.partner-footer {
    background: none;
}

#footer {
    padding: 2.143rem 0;
    text-transform: uppercase;
    font-size: 1.1rem;
}

#footer .social-icon {
    margin-right: 2rem;
}

#footer .social-icon a {
    font-size: 2.2rem;
}

#footer .social-icon ul li {
    vertical-align: middle;
    margin: 0 1rem 0 0;
}

#footer .social-icon ul li:last-child {
    margin: 0;
}

#footer .social-icon ul li img {
    width: 22px;
    height: 22px;
}

#footer .credit {
    margin-top: 4.2rem;
    font-size: 1rem;
}

#footer .column-title {
    font-family: "montserratbold", Arial, Helvetica, sans-serif;
}

#footer .footer-small {
    margin-top: 2.2rem;
    font-size: 1.1rem;
    line-height: 1.4rem;
    text-transform: none;
}

#footer .accreditation {
    float: right;
}

#footer .accreditation ul {
    display: flex;
    align-items: center;
    text-align: right;
}

#footer .accreditation ul li {
    margin-right: 10px;
    margin-bottom: 15px;
}

#footer .accreditation ul li:last-child {
    margin-right: 0;
}

#footer .social-icon,
#footer .credit-text {
    float: left;
}

#footer .credit-text {
    padding-top: 0.2rem;
}

#footer .review-footer {
    clear: both;
    float: right;
}

/* Banner */
.banner-wrapper,
.banner-wrapper .banner,
.banner-wrapper .slide,
.banner-wrapper .slide .image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner-wrapper.home,
.banner-wrapper.home .banner,
.banner-wrapper.home .slide,
.banner-wrapper.home .slide .image {
    width: 100%;
    height: 501px;
    overflow: hidden;
}

.banner-wrapper .slide .image,
.banner-wrapper.home .slide .image {
    background-repeat: no-repeat;
    background-size: cover;
}

.banner-wrapper {
    margin-bottom: 3.571rem;
}

.banner-wrapper.generic {
    margin-bottom: 3.571rem;
}

.banner-wrapper a {
    color: #FFF;
}

.banner-wrapper .slide {
    position: relative;
}

.banner-wrapper .slide .banner-caption {
    position: absolute;
    z-index: 10;
    top: 18rem;
    left: 0;
    padding-left: 4rem;
}

.banner-wrapper .slide .banner-caption h2 {
    font-family: "montserratextra_bold", Arial, Helvetica, sans-serif;
    letter-spacing: 0.1rem;
    font-size: 4rem;
    line-height: 4.8rem;
    margin-bottom: 3.5rem;
}

.banner-wrapper .slide .banner-caption .banner-body {
    font-family: "montserratlight", Arial, Helvetica, sans-serif;
    font-size: 1.286rem;
    width: 62%;
    margin: 0 0 3.5rem 0;
}

.banner-wrapper .pager {
    position: absolute;
    bottom: 3rem;
    z-index: 110;
    width: 100%;
    text-align: center;
    left: 0;
    right: 0;
}

.banner-wrapper .pager i {
    cursor: pointer;
    display: inline-block;
    font-size: 1.4rem;
    font-family: "FontAwesome";
    margin-right: 0.5rem;
}

.banner-wrapper .pager i:last-child {
    margin-right: 0;
}

.banner-wrapper .pager i:before {
    content: "\f10c";
    color: #FFF;
}

.banner-wrapper .pager i.cycle-pager-active:before {
    content: "\f111";
}

.banner-wrapper .slide .banner-overlay {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Homepage Specific */
#features-document {
    margin-bottom: 0.6rem;
}

#features-4 {
    padding: 5.429rem 0;
}

/* Post Specific */
.post-list .post-item {
    float: left;
    width: 33.3333%;
    
    

/*	ADDED BY MARTIN ON 15 MARCH 2019 TO OVER SPACING ISSUES ON LATEST NEWS PAGE */
    height: 291px;
    overflow: hidden;
    margin-bottom: 40px;
}

.post-list .post-item .post-image,
.post-list .post-item .post-image img {
    margin: 0 auto;
}

.post-list .post-item .post-image {
    padding: 0 2rem 2rem 2rem;
}

.post-list .post-item .post-list-title h2 {
    line-height: 2rem;
    margin-bottom: 1.3rem;
    text-transform: uppercase;
    font-size: 1.8rem;
}

.post-list .post-item .the-post a.read-more {
    display: block;
    font-size: 1rem;
    margin-top: 0.8rem;
}

/* Block list */
.page.single-post,
.post-list.block-list {
    margin-bottom: 80px;
}

.post-list.block-list .post-item {
    position: relative;
    margin-bottom: 4.286rem;
    padding-bottom: 3.286rem;
    width: 100%;
    height: auto;
    border-bottom: 3px solid #d4011b;
}

.post-list.block-list .post-item:last-child {
    border-bottom: none;
}

.post-list.block-list .post-item .post-list-title h2 {
    line-height: 3.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-size: 2.5rem;
}

.post-list.block-list .post-item .the-post .read-more-wrapper {
    margin-top: 20px;
}

.post-list.block-list .post-item .the-post a.read-more {
    display: inline-block;
    font-size: 1.4rem;
    margin-top: 0.8rem;
}

.pagination {
    clear: both;
}

/* Gallery Specific */
.gallery-list .gallery-item {
    position: relative;
    float: left;
    width: 31.993%;
    height: 190px;
    margin-right: 1.2rem;
    margin-bottom: 1.2rem;

    background: no-repeat center center;
    background-size: cover;

}

.gallery-list .gallery-item:nth-child(3n) {
    margin-right: 0;
}

.gallery-list .gallery-item a {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 12;
}

.gallery-list .gallery-item .mask {
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.gallery-list .gallery-item:hover .mask {
    display: none;
}

.gallery-list .gallery-item .title {
    color: #FFF;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2rem;
    text-shadow: 4px 4px 2px rgba(0, 0, 0, 1);
}

.gallery-list .gallery-item .title .fa {
    font-size: 2.8rem;
}

/* Main Styles */
#home-content {
    margin-bottom: 7.5rem;
}

#home-content .social-widget-wrapper > div {
    margin: 0 auto;
}

#home-content .btn {
    margin-top: 2rem;
}

.the-post.secondary-content {
    margin: 6rem;
}

#features-2 {
    position: relative;
    z-index: 1;
}

#features-2.generic {
    margin-top: 4rem;
}

.page-strap h1 {
    font-family: "montserratbold", Arial, Helvetica, sans-serif;
    font-size: 3.8rem;
    margin-top: 0;
}

.page-strap .link a {
    display: inline-block;
    font-family: "montserratbold", Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 1.8rem 0;
    float: right;
}

.the-post p.intro-text {
    font-family: "montserratlight", Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    line-height: 2.8rem;
}

.the-post hr {
    border-left: none;
    border-right: none;
    border-bottom: none;
}

#swipebox-overlay {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

.video-container {
    position: relative;
    height: 0;
    overflow: hidden;
}

/* 16x9 Aspect Ratio */
.video-container {
    padding-bottom: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Equity Calculator */
.calc-wrapper {
    max-width: 710px;
    margin: 0 auto;
}

.social-widget-wrapper {
    padding: 2.2rem 0;
}

@media screen and (max-width: 740px) {
    .calc-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }
}

/* Tables */
.the-post .team-table {
    width: 100%;
    border: none !important;
    margin: 2rem 0;
}

.the-post .team-table tr td {
    vertical-align: top;
    padding: 0;
    border: none !important;
}

.the-post .team-table tr td img {
    margin: 0;
    padding: 0;
}

.the-post .team-table tr td .wp-caption {
    float: left;
    width: 100% !important;
}

.the-post .team-table tr td p {
    padding: 1rem 1.5rem;
}

.the-post .team-table tr td .wp-caption p {
    margin: 0.5rem 0 0 0;
    text-align: left;
}

@media screen and (max-width: 767px) {
    .the-post .team-table {
        width: 100% !important;
    }

    .the-post .team-table tr td {
        display: inline-block;
        width: 100% !important;
    }

    .the-post .team-table tr td p {
        padding: 1rem 0;
    }
}



a.text-icon {
	font-size: 1.8rem !important;
    font-family: "montserratbold", Arial, Helvetica, sans-serif;
}

a.text-icon .fa {
	display: none;
}

.right_image {
	float: left;
	margin: 0 40px 40px 0px;
}

.float_right {
	float: right;
	margin: 0 0 40px 40px;
}

.responsive_table h3 {
	margin: 40px 0 20px 0 !important;
	border-bottom: 1px solid #d4011b;
}
.responsive_table td {
	vertical-align: top;
}


.ourThoughts {
	font-size: 30px !important;
	cursor: pointer;
	margin-left: 15px;
	margin-top: -10px;
	color: rgba(212,1,27,0.6);
}

.showTip .ourThoughts {
	color: rgba(212,1,27,1);

}


/*tipped element. should be inline-block or block*/
.qtip {
  display: inline-block;
  position: relative;
  cursor: pointer;
  color: #3bb4e5;
  box-sizing: border-box;
  font-style: normal;
  transition:all .25s ease-in-out;
  z-index: 500;
}
.qtip:hover {color:#069;}
/*the tip*/
.qtip:before {
  content: attr(data-tip);
  font-size: 14px;
  position: absolute;
  background: rgba(10, 20, 30, 0.85);
  color: #fff;
  line-height: 1.2em;
  padding: 0.5em;
  font-style: normal;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  min-width: 120px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease-in-out;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  font-family: sans-serif;
  letter-spacing: 0;
  font-weight: 600
}
.qtip:after {
  width: 0;
  height: 0;
  border-style: solid;
  content: '';
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease-in-out
}

.qtipHover.qtip:hover:before, 
.qtipHover.qtip:hover:after {
  visibility: visible;
  opacity: 1
}



.showTip.qtip:before,
.showTip.qtip:after {
  visibility: visible;
  opacity: 1
}
/*top*/
.qtip.tip-top:before {
  top: 0;
  left: 50%;
  transform: translate(-50%, calc(-100% - 8px));
  box-sizing: border-box;
  border-radius: 3px;
}
.qtip.tip-top:after {
  border-width: 8px 8px 0 8px;
  border-color: rgba(10, 20, 30, 0.85) transparent transparent transparent;
  top: -8px;
  left: 50%;
  transform: translate(-50%, 0);
}
/*bottom*/
.qtip.tip-bottom:before {
  bottom: -10px;
  left: 50%;
  transform: translate(-50%, calc(100% + 8px));
  box-sizing: border-box;
  border-radius: 3px;
}
.qtip.tip-bottom:after {
  border-width: 0 8px 8px 8px;
  border-color: transparent transparent rgba(10, 20, 30, 0.85) transparent;
  bottom: -18px;
  left: 50%;
  transform: translate(-50%, 0);
}
/*left*/
.qtip.tip-left:before {
  left: 0;
  top: 50%;
  transform: translate(calc(-100% - 8px), -50%);
  box-sizing: border-box;
  border-radius: 3px;
}
.qtip.tip-left:after {
  border-width: 8px 0 8px 8px;
  border-color: transparent transparent transparent rgba(10, 20, 30, 0.85);
  left: -8px;
  top: 50%;
  transform: translate(0, -50%);
}
/*right*/
.qtip.tip-right:before {
  right: -20px;
  top: calc(50% - 10px);
  transform: translate(calc(100% + 8px), -50%);
  box-sizing: border-box;
  border-radius: 3px;
  margin-left: 40px !important
}
.qtip.tip-right:after {
  border-width: 8px 8px 8px 0;
  border-color: transparent rgba(10, 20, 30, 0.85) transparent transparent;
  right: -28px;
  top: calc(50% - 10px);
  transform: translate(0, -50%);
}


#appointment_booker {
	position: fixed;
	top: 0;
	bottom: 0;
	right: -340px;
	background-color: #ebebeb;
	width: 320px;
	z-index: 5000;
	padding: 20px;
	-webkit-box-shadow: -5px 0px 7px -6px rgba(0,0,0,0.75);
	-moz-box-shadow: -5px 0px 7px -6px rgba(0,0,0,0.75);
	box-shadow: -5px 0px 7px -6px rgba(0,0,0,0.75);
	overflow-y: scroll;
}

#appointment_booker .booker-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

#appointment_booker .booker-title a {
    margin-left: auto;
    font-size: 22px;
    color: #000;
}

#appointment_booker h3 {
}

#appointment_booker h4 {
	margin: 20px 0 10px 0;
}

#appointment_booker button {
	border: none;
	background-color: #d4011b;
	color: #ffffff;
	border-radius: 6px;
	margin: 20px 0;
	font-size: 14px;
	padding: 8px 16px;
}

#appointment_booker input {
	margin: 0 0 10px 0;
	width: 260px;
}

#appointment_feedback ul {
	margin: 0;
	padding: 0;
	font-size: 12px;
	color: #d4011b;
	list-style-type: none;
}

#appointment_feedback ul li {
	border-bottom: 1px solid #d4011b;
	padding: 10px 0;
}

.appointment_button { 
	width: auto !important;
}

#appointment_booker .nf-field-container {
	margin-bottom: 0 !important;
}

#appointment_booker select {
	margin: 0 0 10px 0;
	width: 260px;
	border: 1px solid #ccc;
	padding: 0.8rem 0.5rem;
	resize: vertical;
	line-height: normal;
	height: auto;
	font: inherit;
}

#hidden_feedback_container {
	display: none;

}

#borrow_feedback {
	background-color: rgba(208,0,17,1);
	padding: 20px 40px;
	display: inline-block;
	text-align: center;
	color: #ffffff;
}

#borrow_feedback .highlight_feedback {
	font-size: 20px;
	display: block;
}

.field_pound {
	font-size: 20px;
	color: #d4011b;
	padding-right: 15px;
}


input[type=radio][name=purchase_type] {
	margin-right: 15px;
	margin-bottom: 10px;
}


.stamp_duty_summary, .stamp_duty_results {
	border-collapse: collapse;
	width: 100%;
	border: 1px solid rgba(208,0,17,1);
}

.stamp_duty_results thead td {
	background-color: rgba(208,0,17,1);
	color: #ffffff;
	text-transform: uppercase;
	font-size: 12px;
}

.stamp_duty_results tbody tr td {
	border-right: 1px solid rgba(208,0,17,1);
}

.stamp_duty_results tbody tr td:last-child {
	border-right-width: 0;
}

.stamp_duty_results tbody tr:nth-child(even) td {
	background-color: rgba(208,0,17,0.1);
}


.stamp_duty_summary tr td {
	border: 1px solid rgba(208,0,17,1);
	padding: 10px;
}

.stamp_duty_summary tr td:first-child {
	text-transform: uppercase;
	font-size: 14px;
	width: 200px;
}

.stamp_duty_summary tr td:last-child {
	font-size: 20px;
}

#partner_sidebar ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#partner_sidebar ul li a {
	height: 50px;
	display: block;
	padding: 12px 0 0 60px;
	background-position: center left;
	background-size: 45px 45px;
	background-repeat: no-repeat;
	font-size: 12px;
	text-transform: uppercase;
	color: #d4011b;
	border-bottom: 1px solid #d4011b;
	line-height: 14px;
}


.sidebar_call_to_action {
	background-color: #d4011b;
	position: relative;
	height: 120px;
	margin-bottom: 40px;
}


.sidebar_call_to_action.topMargin {
	margin-top: 60px;

}


.sidebar_call_to_action .scta_call {
	font-size: 14px;
	text-align: center;
	padding-top: 12px;
}

.sidebar_call_to_action .scta_call span {
	font-size: 18px;
	display: block;
}


.sidebar_call_to_action .scta_email {
	background-color: #d4011b;
	display: inline;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 50%;
	font-size: 10px;
	text-transform: uppercase;
	text-align: center;
	border-right: 1px solid #ffffff;
	border-top: 2px solid #ffffff;
}

.sidebar_call_to_action .scta_book {
	background-color: #d4011b;
	display: inline;
	position: absolute;
	right: 0;
	width: 50%;
	bottom: 0;
	font-size: 10px;
	text-transform: uppercase;
	text-align: center;
	border-left: 1px solid #ffffff;
	border-top: 2px solid #ffffff;
}

.sidebar_call_to_action, .sidebar_call_to_action a {
	color: #ffffff !important;
}

.sidebar_call_to_action a {
	padding: 8px 0;
	display: block;

}

.sidebar_call_to_action a:hover {
	background-color: rgba( 255, 255, 255, 0.4 );
}




#appointment_booker_popup {
	position: absolute;
	top: -500px;
	z-index: 5000;
	color: #ffffff;
	text-align: center;
	width: 120px;
}

@media screen and (max-width: 740px) {
	#appointment_booker_popup {
		display: none;
	}
}

#appointment_popup_content {
	font-size: 14px;
	background: rgba(10,20,30,0.85);
	color: #ffffff;
	line-height: 1.2em;
	padding: 0.5em;
	font-style: normal;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	min-width: 120px;
	text-align: center;
	transition: all .3s ease-in-out;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
	font-family: sans-serif;
	letter-spacing: 0;
	font-weight: 600;

	border-radius: 4px;

	cursor: pointer;
	position: relative;
}
#appointment_popup_content:before {
bottom: -10px;
left: 50%;
transform: translate(-50%, calc(100% + 8px));
box-sizing: border-box;
border-radius: 3px;
content: attr(data-tip);
font-size: 14px;
position: absolute;
background: rgba(10, 20, 30, 0.85);
color: #fff;
line-height: 1.2em;
padding: 0.5em;
font-style: normal;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
min-width: 120px;
text-align: center;
opacity: 0;
visibility: hidden;
transition: all .3s ease-in-out;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
font-family: sans-serif;
letter-spacing: 0;
font-weight: 600;
}
#appointment_popup_content:after {
width: 0;
height: 0;
border-style: solid;
content: '';
position: absolute;
transition: all .3s ease-in-out;
border-width: 0 8px 8px 8px;
border-color: transparent transparent rgba(10, 20, 30, 0.85) transparent;
top: -8px;
left: 50%;
transform: translate(-50%, 0);
}




/*	debt calculator - added by martin 25 march 2019 */

#debt_calculator {
	width: 100%;
	border-collapse: collapse;
}

#debt_calculator td {
	padding: 0;
}

#debt_calculator tr.header_row td {
	padding: 20px 0;
}

#debt_calculator tr.header_row td label {
	margin-right: 30px;
	font-weight: bold;
}

#new_debt_form #save_new_debt, 
#new_debt_form #cancel_new_debt, 
#debt_calculator #print_debt_report,
#debt_calculator #reset_button, 
#debt_calculator #add_debt {
	float: right;
	background-color: #cb0e0e;
	border: 0;
	color: #ffffff;
	padding: 8px 16px;
	margin-left: 30px;
}

#new_debt_form #save_new_debt {
	float: none;
	margin-left: 0;
}

#new_debt_form {
	padding: 20px;
	display: inline-block;
	position: absolute;
	z-index: 1999;
	background-color: #ffffff;
	-webkit-box-shadow: -1px 7px 13px -7px rgba(0,0,0,0.75);
	-moz-box-shadow: -1px 7px 13px -7px rgba(0,0,0,0.75);
	box-shadow: -1px 7px 13px -7px rgba(0,0,0,0.75);
	right: 0;
	top: 80px;
	display: none;
}

#new_debt_mask {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(0,0,0,0.5);
	z-index: 1998;
	display: none;
}

#debt_calculator tr.col_heading td {
	background-color: #196299;
	color: #ffffff;
	font-size: 10px;
	padding: 10px 10px;
}

#debt_calculator td.right {
	text-align: right;
}

#debt_calculator tr.col_data td {
	border: 1px solid #ccc;
	padding: 10px 10px;
}

#debt_calculator tr.col_data td:first-child {
	font-weight: bold;
}

#debt_calculator tr.col_data:nth-child(even) {
	background-color: rgba(0,0,0,0.01);
}

#debt_calculator tr.footer_row td {
	border: 1px solid #ccc;
	font-weight: bold;
	padding: 20px 10px;
}

#disclaimer_container {
	font-size: smaller;
	margin-top: 30px;
}





@media print {
	
	#header.sticky {
		position: relative !important;
	}
	
	#livechat-compact-container, #livechat-eye-catcher, #livechat-full, #lc_invite_layer, #lc_overlay_layer, #appointment_booker_popup, 
	#navigation, #banner, .toolbar, #sidebar, #scroll-top {
	display: none !important;
	}

	h1 {
	font-size: 20px !important;
	}

	#form_table,  #result_table, #payment_table {
	width: 190mm !important;
	}

	#form_table input[type="text"] {
	width: 100px !important;
	}

	#form_table label,  #result_table label {
	width: 100px !important;
	}

	#form_table tbody tr:not(.received_data) th:first-child, 
	#result_table tbody tr:not(.received_data) th:first-child {
	width: 140px !important;
	}

	#form_table .field_symbol {
	font-size: 16px !important;
	}


}

.partner_disclaimer {
	background-color: rgba( 0, 0, 0, 0.1 );
	padding: 20px;
	border-top: 4px solid #d4011b;
	font-size: 10px;
}

.partner_disclaimer p {
	margin: 0 !important;
}

/* Added 07042020 */
.banner-wrapper.generic,
.banner-wrapper {
    margin-bottom: 0;
}
.appointment-fullwidth {
    position: relative;
    z-index: 101;
    margin-bottom: 3.571rem;
}

.appointment-fullwidth a {
    background-color: #ebebeb;
    font-family: "montserratlight", Arial, Helvetica, sans-serif;
    display: block;
    font-size: 1.8rem;
    color: #d4011b;
    text-transform: uppercase;
    text-align: center;
    padding: 2rem 1.667rem;
}