html, body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 200;
    color: #666;
    background: #fff;
}

test {
    font-size: 1px;
}



/*
	-------------------------------------------
		TYPOGRAPHY
	-------------------------------------------
*/

@font-face {
        font-family: "TradeGothic LT Bold";
        src: url('https://centralhost.dominionlending.ca/fonts/Trade Gothic/Trade-Gothic-LT-Bold.eot');
        src: url('https://centralhost.dominionlending.ca/fonts/Trade Gothic/Trade-Gothic-LT-Bold.eot?#iefix') format('embedded-opentype'),
        url('https://centralhost.dominionlending.ca/fonts/Trade Gothic/Trade-Gothic-LT-Bold.svg#TradeGothic LT Bold') format('svg'),
        url('https://centralhost.dominionlending.ca/fonts/Trade Gothic/Trade-Gothic-LT-Bold.woff') format('woff'),
        url('https://centralhost.dominionlending.ca/fonts/Trade Gothic/Trade-Gothic-LT-Bold.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
}

@font-face {
        font-family: "TradeGothic LT";
        src: url('https://centralhost.dominionlending.ca/fonts/Trade Gothic/Trade-Gothic-LT.eot');
        src: url('https://centralhost.dominionlending.ca/fonts/Trade Gothic/Trade-Gothic-LT.eot?#iefix') format('embedded-opentype'),
        url('https://centralhost.dominionlending.ca/fonts/Trade Gothic/Trade-Gothic-LT.svg#TradeGothic LT') format('svg'),
        url('https://centralhost.dominionlending.ca/fonts/Trade Gothic/Trade-Gothic-LT.woff') format('woff'),
        url('https://centralhost.dominionlending.ca/fonts/Trade Gothic/Trade-Gothic-LT.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
}

@font-face{ 
	font-family: 'Vibe';
	src: url('https://centralhost.dominionlending.ca/fonts/Vide/vibebold.eot');
	src: url('https://centralhost.dominionlending.ca/fonts/Vide/vibebold.eot?#iefix') format('embedded-opentype'),
	     url('https://centralhost.dominionlending.ca/fonts/Vide/vibebold.woff') format('woff'),
	     url('https://centralhost.dominionlending.ca/fonts/Vide/vibebold.ttf') format('truetype'),
	     url('https://centralhost.dominionlending.ca/fonts/Vide/vibebold.svg#webfont') format('svg');
}

@font-face{ 
	font-family: 'VibeMed';
	src: url('https://centralhost.dominionlending.ca/fonts/Vide/vibemedium-webfont.eot');
	src: url('https://centralhost.dominionlending.ca/fonts/Vide/vibemedium-webfont.eot?#iefix') format('embedded-opentype'),
	     url('https://centralhost.dominionlending.ca/fonts/Vide/vibemedium-webfont.woff') format('woff'),
	     url('https://centralhost.dominionlending.ca/fonts/Vide/vibemedium-webfont.ttf') format('truetype'),
	     url('https://centralhost.dominionlending.ca/fonts/Vide/vibemedium-webfont.svg#webfont') format('svg');
}

h1, h2, h3, h4, h5, h6 {
	font-family: "TradeGothic LT", sans-serif;
	margin: 0 0 15px;
	color: #3a6f8f;
	font-size: 1.7em;
}

h2, h3 {
	font-size: 1.5em;
}

h1 {
    font-family: "TradeGothic LT";		
	color:#3a6f8f;
	text-transform:uppercase;
	font-size:18px;
	font-weight:bold;
}

h2 {
    font-family: "TradeGothic LT";
    color: #3a6f8f;
    font-weight: 100;
    line-height: 1.4em;
}

h3 {
    color: #3a6f8f;
    font-weight: 100;
    line-height: 1.4em;
}

h4 {
	font-size: 1.1em;
	line-height: 1.3em;
}


/** TEXT ***********************************/
p, ul, ol {
	margin: 0 0 20px;
	line-height: 1.3em;
}

p {
    font-size:16px;
	margin-bottom:20px;
	line-height:1.4em;
	font-weight: 500;
}

p.smallText{ font-size:11px; margin-top:5px}
p.smallText.right{ text-align:right}


.lead {
	font-size: 24px;
}


/** LISTS **********************************/
ul, ol {
	margin: 20px 0;
	padding: 0 0 0 20px;
}

li {
	margin: 15px 0;	
    font-weight: 500;
}

ul.disc { list-style: disc outside; }
ol.letter { list-style-type: lower-latin; }
ol.number { list-style-type: decimal; }
ol.roman { list-style-type: lower-roman; }



/** LINKS *********************************/
a {
    color:#3a6f8f;
}

a:focus,
a:active {
    text-decoration: none!important
}

a:hover {
	-webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
}


/** HIGHLIGHT *******************************/
::-moz-selection { 
	color: #fff;  
	background: #ef4135; 
}

::selection {
	color: #fff; 
	background: #ef4135;
}


/**********************************************************************************************************************************************************************************************/










/*
	-------------------------------------------
		STRUCTURE
	-------------------------------------------
*/


/** CONTAINER *****************************/
#main {
	margin: 214px 0 0;
}

body.index #main {
	margin: 0;
}

.main-copy {
	padding: 80px 15px;
}

.parallax {
	background-color: #ececec;
	background-repeat: no-repeat;
	background-position: top;
	background-attachment: fixed;
	background-size: cover;
	position: relative;
	overflow: hidden;
}

.section {
	margin: 0 0 50px;
}

section {
	padding: 75px 0; 
}

.right {
	text-align: right;
}

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.whiteBox{ 
	background:#fff; 
	padding:0
}

.container.white{ 
	background:#fff
}

.red {
	color:#ef4135;
}

.page-body {
	margin-top: 20px;
	margin-bottom: 50px;
}
.page-content p {
	font-size: 18px;
	line-height: 1.4;
}

.page-content ul {
	margin-left:10px
}

.page-content ul li{ 
	list-style:square; 
	padding: 10px 0; 
	font-size:18px; 
}

.page-content h3 {
	font-family: "TradeGothic LT";
	text-transform: uppercase;
	font-size: 23px;
	font-weight: 200;
	padding: 20px 0;
	border-bottom: solid 5px #f6f8fa;
	color: #3a6f8f;
}

.page-content h4 {
	font-family: "TradeGothic LT";
	color: #3a6f8f;
	font-size: 17px;
	font-weight: bold;
}

.col-md-3.grey{ 
	margin-top:15px; 
	background:#f6f8fa; 
	padding:20px
}


/** BANNERS *******************************/
.banner {
	background-color: #ececec;
    padding: 113px 0;
    text-align: center;
	background-repeat: no-repeat;
	background-position: top;
	background-attachment: fixed;
	background-size: cover;
	position: relative;
	overflow: hidden;
}

.banner::before {
	width: 100%;
	height: 100vh;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(73,79,79, 0.7);
}

.banner h1 {
	color: #fff;
	text-transform: uppercase;
	font-size: 40px;
	position: relative;
	z-index: 999;
    text-shadow: 2px 2px 8px #3a3a3a;
}

.about-us-banner {
	background-image: url('../banners/about-banner.jpg');
}

.why-mortgage-centre-banner {
	background-image: url('../banners/why-mortgage-banner.jpg');
}

.join-our-team-banner {
	background-image: url('../banners/why-mortgage-banner.jpg');
}

.about-mortgage-types-banner {
	background-image: url('../banners/mortgage-types-banner.jpg');
}

.buying-property-banner {
	background-image: url('../banners/buying-home-banner.jpg');
}

.first-time-buyer-banner {
	background-image: url('../banners/first-time-buyer-banner.jpg');
}

.repeat-buyer-banner {
	background-image: url('../banners/experienced-buyer-banner.jpg');
}

.vacation-banner {
	background-image: url('../banners/vacation-home-banner.jpg');
}

.investment-properties-banner {
	background-image: url('../banners/investment-properties-banner.jpg');
}

.commercial-properties-banner, .commercial-mortgages-banner {
	background-image: url('../banners/commercial-banner.jpg');
}

.new-construction-financing-banner {
	background-image: url('../banners/new-property-banner.jpg');
}

.multi-residential-properties-banner {
	background-image: url('../banners/multi-property-banner.jpg');
}

.refinance-banner {
	background-image: url('../banners/refinance-banner.jpg');
}

.home-improvement-banner {
	background-image: url('../banners/home-renovations-banner.jpg');
}

.debt-consolidation-banner {
	background-image: url('../banners/debt-consolidation-banner.jpg');
}

.release-of-equity-banner {
	background-image: url('../banners/equity-banner.jpg');
}

.lines-of-credit-banner {
	background-image: url('../banners/line-of-credit-banner.jpg');
}

.portability-to-new-property-banner {
	background-image: url('../banners/new-property-banner.jpg');
}

.other-mortgages-banner {
	background-image: url('../banners/other-mortgages-banner.jpg');
}

.credit-issues-banner {
	background-image: url('../banners/credit-issues-banner.jpg');
}

.income-issues-banner {
	background-image: url('../banners/income-issues-banner.jpg');
}

.second-mortgages-banner {
	background-image: url('../banners/second-mortgage-banner.jpg');
}

.private-mortgages-banner {
	background-image: url('../banners/private-mortgage-banner.jpg');
}

.renew-banner {
	background-image: url('../banners/renew-banner.jpg');
}

.shopping-the-best-mortgage-banner {
	background-image: url('../banners/shopping-banner.jpg');
}

.transferring-another-lender-banner {
	background-image: url('../banners/transfer-banner.jpg');
}

.negotiating-with-your-current-lender-banner {
	background-image: url('../banners/negotiation-banner.jpg');
}

.early-renewal-banner {
	background-image: url('../banners/early-renewal-banner.jpg');
}

.increase-amount-borrowed-banner {
	background-image: url('../banners/increase-banner.jpg');
}

.mortgage-calculator-banner {
	background-image: url('../banners/rates-banner.jpg');
}

.mortgage-glossary-banner {
	background-image: url('../banners/glossary-banner.jpg');
}

.builder-faq-banner {
	background-image: url('../banners/builder-banner.jpg');
}

.home-buying-faq-banner {
	background-image: url('../banners/home-buying-banner.jpg');
}

.benefits-of-a-mortgage-broker-banner {
	background-image: url('../banners/advantage-banner.jpg');
}

.current-best-rates-banner {
	background-image: url('../banners/rates-banner.jpg');
}

.profile-banner {
	background-image: url('../banners/profile-banner.jpg');
}

.commercial-leasing-banner {
	background-image: url('../banners/commercial-banner.jpg');
}

.blog-banner {
	background-image: url('../banners/resources-banner.jpg');
}

.testimonials-banner {
	background-image: url('../banners/testimonials-banner.jpg');
}

.resources-banner {
	background-image: url('../banners/why-mortgage-banner.jpg');
}

.lenders-and-associations-banner {
	background-image: url('../banners/lenders-banner.jpg');
}

.link-to-this-site-banner {
	background-image: url('../banners/why-mortgage-banner.jpg');
}

.chip-banner {
	background-image: url('../banners/chip-banner.jpg');
}

.contact-us-banner {
	background-image: url('../banners/contact-banner.jpg');
}

.misc-banner {
	background-image: url('../banners/misc-banner.jpg');
}


/** IMAGES ********************************/
.image {
	width: 100%;
	height: 100%;
	background-color: #efefef;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}


/** VIDEOS ********************************/
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    padding-top: 25px;
    height: 0;
    margin-bottom: 20px
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-panel {
	margin: 0 0 15px;
	width: 515px;
	height: 315px;
	background: #000;
}

.embed-holder {
	background-color: #000000;
    height: 519px;
    width: 100%;
}


/** REQUEST PANEL ************************/
.request-panel {
	position: relative;
    background-color: #fefefe;
	color: #fff;
	padding: 15px 18px;
	font-size: 12px;
	font-weight: 400;
}

.request-panel p {
	font-size: 14px;
	font-weight: 400;
}

.request-panel .input-text, .request-panel .input-select{
	width: 100%;
	border-radius: 5px;
	border: 1px solid #e1e0e0;
	padding: 15px 10px 15px;
	margin: 0 0 16px 0;
	color: #3F3F3F;
	font-weight: 600;
	background: #fff;
}

.request-panel .input-select{
	height: 45px;
}

.request-foot {
	margin: 20px 0;
	display: inline-block;
	color: #666;
	font-weight: 500;
}

#request-panel input[type=text], #request-panel select {
    font-size: 16px;
}

.has-error input,
.has-error select {
	border: 2px solid #ef4136 !important;
}

.middle-name {
	display: none;
}

/** SIDEBAR ******************************/
.sidebar {
	border:solid 1px #ececec;
	border-radius: 5px;
	padding: 30px;
}

.sidebar h2 {
	font-size: 18px;
	margin-bottom: 5px;
}

.sidebar h3 {
	font-family: "TradeGothic LT";
	text-transform: uppercase;
	color: #666;
	font-size: 12px;
	font-weight: 200;
}

.sidebar p {
	margin-bottom: 6px;
}

.sidebar b.position {
	display: block;
	margin-bottom: 15px;
}

.sidebar .office {
	margin-top: 30px;
}

/**********************************************************************************************************************************************************************************************/





/*
	-------------------------------------------
		HEADER
	-------------------------------------------
*/
header {
	width: 100%;
	top: 0;
	position: fixed;
	z-index: 9990;
	border-top: solid 5px #ef4135;
	background-color: #fff;
}

.custom-banner-background {
	width: 100%;
	height: auto;
	background-image: url(../img/waves.svg);
    border-bottom: 1px solid #e7e7e7;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.custom-banner {
	width: 100%;
    max-width: 1140px;
    height: auto;
}

#logo, body.custaheader .affix #logo { 
	background:url(../img/MCC_logo.svg) 0; 
	width:360px; 
	height:75px; 
	float: left;
	margin-top: 25px;
	background-size: contain; 
	background-repeat: no-repeat;
}

.leftHeader{ width:330px; text-align:center; margin:0}
.leftHeader p, body.custaheader .affix .leftHeader p { color:#666; clear:both; font-size:14px; padding: 0 0 0 65px; display:block; margin-bottom: 20px;}

.brokerInfo{ width:80%; float:left; color:#fff; margin-top: 14px;}

.brokerInfo p, body.custaheader .affix .brokerInfo p { line-height:1.4; margin:0; padding:0; clear:both; font-size:14px; color:#666;}

.brokerInfo p.name, body.custaheader .affix .brokerInfo p.name {  font-weight:500; font-size:18px; margin: 0; color:#3a6f8f}

.brokerInfo p.position{ color:#666; font-weight:600}

.brokerInfo a{ color:#3a6f8f}

#contacts {
	margin-top: 12px;
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}

#contacts .brokerInfo p {text-align: right;}

.profilePic, body.custaheader .affix .profilePic  { 
	float:right; 
	width: 95px; 
	overflow:hidden; 
	margin-top: 20px;
    height: 95px;
    border-radius: 50%;
    background-size: 100% !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    box-shadow: inset 0 0 0 6px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.1);
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
}

.profilePic:hover {
	box-shadow: inset 0 0 0 0px rgba(255,255,255,0.3);
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    -ms-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

.brokerInfo p, #logo, .leftHeader p, header { 
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;	
}

.affix, .affix-top {
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

header.affix .navbar{
	margin: 2px 0 0 !important;
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
header.affix #contacts{
	margin-top: 0px;
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

body.custaheader .affix-top, body.custaheader .affix, body.custaheader header {
    position: relative !important;
}

header.affix #logo {
	width: 260px;
	height: 65px;
	margin: 5px 0 0;
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

header.affix .leftHeader p {
	padding: 0;
	margin-bottom: 0;
	font-size: 12px;
}

header.affix .brokerInfo p {
	font-size: 11px;
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

header.affix .profilePic {
	width: 85px;
    height: 85px;
	margin-top: 10px;
	box-shadow: inset 0 0 0 4px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.1);
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

header.affix .navbar-nav>li>a {
    padding: 15px 8px;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.header {
    display: block
}

.header,
.container.header-info {
    background: #fff
}

.headerCircle {
    background: url(../img/lightCircle.png) no-repeat right 0
}


/** NAVIGATION ***************************/
.main-nav {
	width: 80%;
}

.side-nav {
	width: 20%;
}

.main-nav, .side-nav {
	float: left;
}

.navigation {
    background: url(../img/lightCircle.png) no-repeat right -280px #ef4135
}

header nav {
    background: none
}

.header-top a, .header-top a:hover, .header-top a:focus {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

.header-top .dd-link {
	opacity: .75;
	filter: alpha(75);
}

.header-top .dd-link:hover, .header-top .dd-link:focus, .header-top .dd-link:hover>.caret, .header-top .dd-link:focus>.caret {
	opacity: 1;
	filter: alpha(100);
}

.header-top .caret {
	border-top: 4px solid #fff;
	opacity: .75;
	filter: alpha(75);
}

.yamm-content .col-md-4{ 
	min-width:200px
}

.nav .caret {
	display:none
}

.navbar {
	margin: 20px 0 0 0;
	border: none;
	top: 0;
	padding:0;
	min-height:0!important;
	-webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.navbar-nav {
	margin: 0 0 0 -15px;
}

.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
	border-color: #fff;
}

.nav>li>a {
	font-weight:300;
	color:#fff;
	text-transform:uppercase;
	border-radius:0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	
}

.dropdown-menu li{
	margin: 0;
    list-style-type: none;
}

.dropdown-menu ul {
	margin: 0;
}

.dropdown-menu li a{ 
	font-weight:100; 
	color:#3a6f8f;  
	padding:7px 10px;  
	display:block; 
	line-height:1.2
}

.dropdown-menu li a:hover{ 
	color:#fff; 
	text-decoration:none; 
	background:#ef4136
}

.span2.unstyled { padding:0}

.navbar-inverse {
	background: #3a6f8f;
	border-color: none;
	border-radius:0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}

.navbar-inverse .navbar-nav>li>a:focus, 
.navbar-inverse .navbar-nav>.open>a, 
.navbar-inverse .navbar-nav>.open>a:hover, 
.navbar-inverse .navbar-nav>.open>a:focus {
	background:#2d5770;
	color:#509ac6; transition: all 0.6s;
}

.navbar-inverse .navbar-nav>li>a:hover, 
.navbar-inverse .navbar-nav>.active>a, 
.navbar-inverse .navbar-nav>.active>a:hover, 
.navbar-inverse .navbar-nav>.active>a:focus {
	background:#326180;
	color:#fff; transition: all 0.6s;
}

.nav .open>a, 
.nav .open>a:hover, 
.nav .open>a:focus {
	background-color: #f6f8fa;
	border: none;
	color:#f6f8fa; transition: all 0.6s;
}

.navbar-inverse .navbar-nav>li>a {
	color: #fff;
	font-size: 16px;
	font-weight: 500; 
	letter-spacing: 1px;
	transition: all 0.6s;
}

.navbar-inverse .navbar-nav>li>a:hover{ 
	background:#2d5770;
	color:#509ac6
}

.navbar-inverse .navbar-brand {
	color: #fff;
}

.navbar-collapse {
	padding-right: 0;
}

.navbar>.container .navbar-brand {
	margin-left: 0;
}

.navbar-brand {
	float: left;
	padding: 5px 0 0 0;
	font-size: 16px;
	line-height: 0;
}

.dropdown-menu {
	background: rgba(255,255,255, 0.85);
	border:none!important;
	border-radius: 0;
}

.dropdown-menu ul.columns{ 
	width:180px; 
	float:left
}

.dropdown-lang {
	padding-left: 6px;	
	text-align: left;
}

.navbar-nav.nav-justified {
    display:table;
}

.navbar-nav.nav-justified > li{
    float:none;
    width:auto;
}

nav ul{ 
	padding-left:0; 
	margin:0
}


/** MOBILE NAVIGATION ********************/
.navbar-toggle, .navbar-inverse .navbar-toggle {
	border: #fff 1px solid;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius:0;
}

.navbar-toggle:hover, .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
	background-color: #aa2e26; 
	border: solid 1px #fff
}

.navbar-toggle .icon-bar {
	background: #fff;
}

.agent-ul {
	padding: 0;
	margin: 0;
	display:block;
}

.agent-ul li {
	list-style-type: none;
}

.agent-ul a {
	text-transform: uppercase;
	font-weight: 500;
	padding: 7px 0;
	margin: 4px 0;
	display: block;
	border-bottom: 1px dashed #D3D3D3;
}
.agent-info-pop { 
	position:absolute; 
	top:-2px; 
	left:10px
}

.agent-info-pop .btn {
	margin: 10px 5px;
	line-height: 1.6em;
}

.agent-mail, .agent-phone {
	margin-top: 4px;
}

.agent-mail {
	font-weight: bold;
}

.agent-icon {
	color: #fff;
	display: inline-block;
	text-align: center;
	border: solid 1px #fff;
	padding: 5px;
	font-size: 13px;
}

.office-info {
	float: right;
	font-size: 11px;
}

.popover {
	max-width: none;
	z-index: 999999;
}

/**********************************************************************************************************************************************************************************************/




/*
	-------------------------------------------
		BUTTONS
	-------------------------------------------
*/

.red-pill {
	background: #ef4135;
	color: #fff;
	font-weight: 500;
	padding: 12px 35px;
	font-size: 18px;
	float: left;
	border: none;
	text-transform: uppercase;
	border-radius:25px
}

.red-pill:hover, .red-pill:focus {
	background: #b73129;
	color: #ffcac7;
	text-decoration: none;
}

.request-a-call .red-pill {
    padding: 15px;
	margin-bottom: 15px;
}

.btn-blue {
	padding: 10px;
	color: #FFF;
	font-family: Vibe, Tahoma, sans-serif;
	font-size: 1.4em;
	background: #013599;
	border: none;
}

.btn-lg {
    border: #fff 1px solid;
    background: transparent;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    padding: 2px 10px
}

.btn-lg:focus,
.btn-lg:hover {
    border: solid 1px #fff
}

.mini-pill {
	font-size: 18px;
	font-weight: 400;
	padding: 9px 16px;
}

/**********************************************************************************************************************************************************************************************/



/*
	-------------------------------------------
		FORMS
	-------------------------------------------
*/

.contact-form input, .contact-form select, .contact-form textarea {
	color: #555 !important;
    height: 50px;
    padding: 12px;
	box-shadow: none;
    background-color: #f6f8fa;
    border: 1px solid #ececec;
}

#recaptcha_widget_div {
	margin-top: 15px;
}

.contact-form .recaptchatable input {
	height: auto;
}

.contact-form textarea {
	height: 200px;	
}

.contact-form input[type=submit] {
	background: #ef4135;
	color: #fff !important;
	border: none;
	padding: 15px 40px;
	margin-top: 30px;
}

input[placeholder] {
	font-weight: 400;
	color: #aaa;
}
input::-webkit-input-placeholder {
	font-weight: 400;
	color: #aaa;
}
input::-moz-placeholder {
	font-weight: 400;
	color: #aaa;
}
input:-moz-placeholder {   /* Older versions of Firefox */
	font-weight: 400;
	color: #aaa;
}
input:-ms-input-placeholder { 
	font-weight: 400;
	color: #aaa;
}
textarea {
	resize: vertical;
}

#message {
	margin: 0 0 20px;
	padding: 10px;
}

#message div {
	padding: 5px;
	background: #FFF;
}

#message.error {
	background: #F99;
    border: 1px solid #F00;
    color: #F00;
}

#message h4 {
	margin: 0 0 10px;
	color: inherit;
	font-family: Helvetical, Arial, sans-serif;
	font-weight: bold;
}

.best-day {
	background: #fff url(../img/calendar.png) no-repeat 95% 15px;
}

.ui-datepicker {
	font-size: 12px!important;
}

/**********************************************************************************************************************************************************************************************/








/*
	-------------------------------------------
		HOMEPAGE
	-------------------------------------------
*/


/** STRUCTURE *****************************/
.index #main {
	margin-top: 0;
}

.fullname {
	font-weight: 500;
	font-size: 34px;
}

.agent-info {
	padding-top: 10px;
	color: #3a6f8f;
	font-weight: 500;
	font-size: 14px;
}
.agent-mail, .agent-phone {
	margin-top: 4px;
}
.agent-mail {
	font-weight: bold;
}
.agent-icon {
	color: #fff;
	background: #3a6f8f;
	display: inline-block;
	text-align: center;
	border-radius: 22px 16px 22px 16px;
	padding: 5px 6px;
	font-size: 13px;
}
.office-info {
	float: right;
	font-size: 11px;
}

/** SLIDER *******************************/
.home-slider {
	margin-top: 183px; 
	height: 65vh;
}

.custaheaderhero, .custaheadermain {
	margin-top: 480px !important;
}

body.custaheader .custaheaderhero, body.custaheader .custaheadermain {
    margin-top: 0 !important;
}

.home-payoff {
	font-family: "TradeGothic LT", sans-serif;
	font-weight: normal;
	color: #3a6f8f;
	width: 55%;
	
}
.home-payoff-right {
	width: 100%;
}

.home-text h3 {
	text-transform: capitalize;
	font-size: 21px;
	font-weight:100;
	background: #3b6d8d;
	color:#fff; 
	padding:5px 0 5px 20px
}
.home-text p {
	text-align: justify;
}

.slider-content .red-pill {
	padding: 15px 30px;
	font-size: 22px;
}

.slider-h1 {
	font-family: 'TradeGothic LT', sans-serif;
	font-weight: bold;
	color: #3a6f8f;
	text-transform:uppercase
}

.tab-pane {
	background-size: cover !important;
}

.tab-welcome {
	background-image: url('../slider/apply-now-slide.jpg');
	background-repeat: no-repeat;
	background-position:  top right;
}
.tab-calc {
	background-image: url('../slider/calculators-slide.jpg');  
	background-repeat: no-repeat;
	background-size: 40%;
	background-position: center right;
}
.tab-apply {
	background-image: url('../slider/process-slide.jpg');  
	background-position: center right;
	background-repeat: no-repeat;
	background-size: 40%;
}
.home-slider-content .tab-rate {
	padding-top: 0;
}

.nav-tabs {
	border-bottom: none;
}

.nav-slider {
	float:right; 
	position: absolute; 
	top: 50%; 
	right: 0; 
	z-index: 10; 
	transform: translateY(-50%);
}

.nav-slider li{ 
	width:100%; 
	display:block;
	float:right;
	margin-bottom:2px; 
	margin: 5px 0
}

.nav-slider a {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    display: block;
    clear: both;
    border: solid 1px #fff;
    position: relative
}

.nav-slider>li>a {
    text-align: left;
}

.nav-slider>li>a:before {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    content: '';
    background: transparent;
    left: 2px;
    top: 2px;
    transition: all 0.6s
}

.nav-slider>li>a:hover:before,
.nav-slider>li>a:focus:before,
.nav-slider>li.active>a:before {
    background: #fff!important;
    transition: all 0.6s
}

.nav-tabs>li>a {
    margin-right: 0;
    line-height: 1.4;
    border: none;
    border-radius: 0;
    background: #3a6f8f;
    ;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    color: #000;
    cursor: default!important;
    background: #3a6f8f;
    border: solid 3px #3a6f8f;
}

.nav-tabs>li {
    margin-bottom: 0;
}

.home-slider-content {
    background: #f6f8fa;
    height: 100%;
    position: relative;
}

.home-slider-content .tab-content {
    height: 100%;
    position: relative;
    overflow: hidden;
    width: 100%;
    float: left;
    padding: 0;
}

.home-slider-content .tab-pane {
    height: 100%;
    position: relative
}

.home-slider-content .tab-pane:before {
    background: rgba(73, 79, 79, 0.4);
    content: '';
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute
}

.slider-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    left: 10%
}

.slider-content .home-payoff {
    font-size: 36px;
    color: #fff;
    text-shadow: 2px 5px 5px rgba(0, 0, 0, 0.3)
}

.request-a-call {
	position: relative;
	padding: 15px 0; 
	background-color: #fefefe;
	border-bottom: 1px solid #e7e7e7;
}

.request-a-call::before {
	content: "";
	position: absolute;
	opacity: 0.5;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: url(../img/waves.svg) no-repeat center 60%; 
	background-size: cover;
}

.request-a-call .request-panel { 
	background:transparent; 
	padding: 20px 0 0 0 
}

.request-a-call .red-pill { 
	width:100%; 
	font-size: 15px
}

.request-a-call .small-print { 
	clear:both; 
	display: inline-block; 
	margin-top: 15px; 
	line-height: 1.4;
	color: #666;
}



.introduction { padding:50px 0; 
	text-align: center; 
	background-image: url(../img/home_content.jpg); 
	background-size: cover; 
	background-position: top center; 
	position: relative; 
	border-top: 1px solid #e7e7e7; 
	border-bottom: 1px solid #e7e7e7;
}

.introduction:before, .news:before { 
	position:absolute; 
	content: ''; 
	top:0; bottom: 0; 
	left: 0; 
	right: 0; 
	background: rgba(245,247,249,0.75); 
	z-index: 0
}

.introduction .container, .news .container { 
	position:relative; 
	z-index: 3
}

.mortgage-types .col-md-4 {
	margin-top: 20px;
}

.mortgage-types .cta {
	background-color: #fafafa;
	position: relative;
	overflow: hidden;
}

.mortgage-types .image {
	width: 100%;
	height: 100%;
	top: 0;
	position: absolute;
	background: #ececec;
	background-size: cover;
	background-repeat: no-repeat;
	margin-left: 30px;
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
	-webkit-transition: .7s ease-in-out;
	transition: .7s ease-in-out;
}

.mortgage-types .cta:hover .image {
	margin-left: 0;
}

.mortgage-types .cta:hover .cta-content  {
	opacity: 0;
	-webkit-transition: .7s opacity;
	transition: .7s opacity;
}

.mortgage-types .cta::before {
    background: rgba(73,79,79,0.4);
    content: '';
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
	z-index: 1;
	-webkit-transition: .7s background;
	transition: .7s background;
}

.mortgage-types .cta:hover::before {
	background: rgba(43,84,110,0.75);
	-webkit-transition: .7s background;
	transition: .7s background;
}

.buying-property .image {
	background-image: url(../img/buying-property-home.jpg);
}

.refinance .image {
	background-image: url(../img/refinance-home.jpg);
}

.renew .image {
	background-image: url(../img/renew-home.jpg);
}

.chip .image {
	background-image: url(../img/chip-home.jpg);
}

.other .image {
	background-image: url(../img/other-mortgages-home.jpg);
}

.cta-content {
	position: absolute;
	left: 15px;
	right: 15px;
	bottom: 0;
	z-index: 3;
	-webkit-transition: .7s opacity;
	transition: .7s opacity;
	opacity: 1;
}

.cta-content h3 {
	font-size: 18px;
	margin-bottom: 2px;
	color: #fff;
}

.cta-content p {
	font-size: 14px;
	color: #fff;
}

.mortgage-types .col-md-4:nth-child(odd) .cta {
	height: 515px;
	margin-top: 15px;
}

.mortgage-types .col-md-4:nth-child(even) .cta {
	height: 250px;
	margin-top: 15px;
}



.news {
	position: relative;
	border-top: 1px solid #e7e7e7; 
	border-bottom: 1px solid #e7e7e7;
	background-image: url(../img/news-background.jpg); 
	background-size: cover; 
	background-position: bottom center;
}

.featured-news {
	margin-top: 50px;
	border: 1px solid #ececec;
    box-shadow: 2px 2px 30px #c9c9c9;
}

.featured-news .col-md-4 {
	padding: 0;
}

.news-image {
	width: 100%;
	height: 100%;
	background: black;
}

.news-copy {
    border-top: solid 5px #ef4135;
	padding: 30px;
	background-color: #fff;
}

.news .btn-more {
	margin-top: 50px;
	display: inline-block;
}

.news .red-pill {
	float: none;
    margin: 0 auto;
    display: table;	
}


.consultation {
	position: relative;
	background: url(../img/waves.svg) no-repeat bottom; 
	background-size: cover; 
}





.map {
	background-color: #fff;
	border: 1px solid #ececec;
	height: 460px;
}





#social {
	padding-bottom: 20px;
}

#social .left, #social .right,
#home-bottom #about-panel-home, #home-bottom #request-panel-home {
	width: 470px;
}

#social h3, #about-panel-home h3, #request-panel-home h3 {
	color: #FFCC4E;
	border-bottom: 1px solid #DDD;
	font-size: 1.4em;
}


.social .col-md-8 {
	padding-right: 0;
}

.social a > div {
	width: 45px;
	height: 45px;
	padding: 15px !important;
	float: right;
	text-align: center;
	margin-right: 9px;
	border-radius: 50px;
	color: #fff;
	background-color: #ef4135;
}

.social a:first-child > div {
	margin-right: 0;
}

.social a > div:hover {
	background-color: #b73129;
	color: #ffcac7;
	transition: all 0.6s;
}

.social h4 {
	margin-top: 15px;
	float: left;
}

.social a:first-child > div {
	margin-right: 0;
}

body.index .rates {
	background-position: center right;	
}








.calculators-home {
	border: 1px solid #e7e7e7;
	background-color: #fff;
	box-shadow: 2px 2px 30px #eaeaea;
	position: relative;
	display: inline-block;
}


.col-md-12 .calculators-home {
	display: flow-root;
}

.col-md-12 .calculators-home .col-sm-4 {
	padding: 0px;
    border: 1px solid #e7e7e7;
}

.col-md-12 .calculators-home .icon {
	height: 170px;
	width: 75%;
	margin-left: 30px;
}

.calculators-home::before {
	content: "";
    position: absolute;
    opacity: 0.6;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../img/waves.svg) no-repeat;
    background-size: 550%;
	background-position: 21% 90%;
}

.calculators-home .col-md-6 {
	border: 1px solid #e7e7e7;
	padding: 0;
}

.calculators-home .col-md-6:hover::before, .calculators-home .col-sm-4:hover::before {
	content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(58, 111, 148, 1);
	background-position: left;
	transition: all 0.6s;
}

.calculators-home a {
	width: 100%;
	height: 100%;
	text-align: center;
	position: relative;
	padding: 0 15px;
	display: block;
	transition: all 0.6s;
}

.calculators-home a:hover h5 {
	color: #fff;
	text-decoration: none;
	transition: all 0.6s;
}

.calculators-home h5 {
	font-size: 15px;
}

.icon {
	width: 100%;
	height: 125px;
	background-size: 55%;
	background-position: center;
	background-repeat: no-repeat;
}


.icon.mortgage-loan {
	background-image: url(../img/Mortgage_Loan_Calculator_blue.svg);
}

.icon.rent-vs-buy {
	background-image: url(../img/Rent_vs_Buy_blue.svg);
}

.icon.mortgage-payoff {
	background-image: url(../img/Mortgage_Payoff_blue.svg);
}

.icon.mortgage-qualifier {
	background-image: url(../img/Mortgage_Qualifier_blue.svg);
}

.icon.amortization-calculator {
	background-image: url(../img/Amortization_Calculator_blue.svg);
}

.icon.interest-savings {
	background-image: url(../img/Refinance_Interest_Savings_blue.svg);
}

.calculators-home a:hover .icon.mortgage-loan {
	background-image: url(../img/Mortgage_Loan_Calculator.svg);
}

.calculators-home a:hover .icon.rent-vs-buy {
	background-image: url(../img/Rent_vs_Buy.svg);
}

.calculators-home a:hover .icon.mortgage-payoff {
	background-image: url(../img/Mortgage_Payoff.svg);
}

.calculators-home a:hover .icon.mortgage-qualifier {
	background-image: url(../img/Mortgage_Qualifier.svg);
}

.calculators-home .col-md-6:hover .icon.amortization-calculator, .calculators-home .col-sm-4:hover .icon.amortization-calculator  {
	background-image: url(../img/Amortization_Calculator.svg);
}

.calculators-home .col-md-6:hover .icon.interest-savings, .calculators-home .col-sm-4:hover .icon.interest-savings {
	background-image: url(../img/Refinance_Interest_Savings.svg);
}









.home-form input, .home-form textarea, .home-form select {
	color: #555 !important;
    height: 50px;
    padding: 12px;
    box-shadow: none;
	background-color: #fff;
	border: 1px solid #ececec;
}

.home-form input[type=submit] {
	background-color: #ef4135;
    color: #fff !important;
    border: none;
    padding: 15px 40px;
}

.home-form textarea {
	height: 200px;
}








/** NEWSLETTER *****************************/
.newsletter-bar {
	width: 100%;
	height: auto;
	padding: 30px;
	background-color: #3a6f8f;
}

.newsletter-bar h3 {
	color: #fff;
	font-size: 18px;
	margin-top: 10px;
}

.newsletter-bar input {
	width: 100%;
    border-radius: 5px;
	color: #555;
    height: 50px;
    padding: 12px;
    box-shadow: none;
	border: 1px solid #ececec;
}

.newsletter-bar .newsletter-btn {
	background-color: #315e79;
	color: #fff;
	border-color: #315e79;
	font-weight: bold;
    text-transform: uppercase;
}

.newsletter-bar .newsletter-btn:hover {
	background-color: #294e64;
	-webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;	
}


body.lenders-and-associations h2.clear30 {clear: both;}
ul.lenders, ul.lendersSecond { width:100%; padding-left:0; list-style: none;}

ul.lenders li{ border: solid 1px #d1d1d1; float:left; width:48.5%; height:240px; margin-bottom:15px; text-align:center; line-height:240px; margin-left:0; list-style: none; overflow: hidden}
ul.lenders li:nth-of-type(even) { float:right}
ul.lendersSecond li{ border: solid 1px #d1d1d1; float:left; width:32%; margin-right:1%; height:140px; margin-bottom:15px; text-align:center; line-height:140px; margin-left:0; list-style: none;}
ul.lendersSecond li.right{ margin-right:0; float:right}
ul.lenders li.right{ float:right}
ul.lenders li img, ul.lendersSecond li img{ width:100%!important; height: 100%; vertical-align:middle;}
#right-col h2{ width:100%; clear:both; margin-top:30px}





/** CHARITY *********************************/
section.charity {
	padding-top: 0;
}

.charity-bar {
	margin: 0 30px;
	padding: 30px;
	background-color: #ef4135;
	position: relative;
    border: 1px solid #b73129;
}

.charity-bar::before {
	content: "";
    position: absolute;
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../img/waves-red.svg) no-repeat center 75%;
    background-size: cover;
}

.charity-bar .col-sm-9, .charity-btn {
	display: flex;
    justify-content: center;
    flex-direction: column;
}

.charity-bar h3 {
	margin: 0;
	color: #fff;
	margin-top: 10px;
}

.charity-btn {
	width: 100%;
	height: 50px;
	margin: 10px 0;
	padding: 10px;
	background-color: #b73129;
	border: 1px solid #b73129;
	border-radius: 5px;
	text-transform: uppercase;
	color: #fff;
	text-align: center;
	font-size: 18px;
}

.charity-btn:hover, .charity-btn:focus {
	background: #962620;
	color: #ffcac7;
	text-decoration: none;
	-webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
}

/**********************************************************************************************************************************************************************************************/




/*
	-------------------------------------------
		BENEFITS
	-------------------------------------------
*/
.benefits-image {
	background-image: url('../img/benefits.jpg');
}


/**********************************************************************************************************************************************************************************************/







/*
	-------------------------------------------
		RATES
	-------------------------------------------
*/

/** STRUCTURE ****************************/
.rates-table {
	margin-top: 60px;
	margin-bottom: 60px;
	padding: 0 15px;	
}

.rates {
	width: 100%;
	height: 100%;
	background-color: rgba(58, 111, 148, 0.7);
    text-align: center;
    overflow: auto;
	padding: 30px 20px;
    position: relative;
    background: url("../img/mcc-rates.svg");
    background-size: cover;
}

.rates::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(58, 111, 148, 0.8);
}


#rates  {
    width: 100%;
	margin: 0;
    padding: 0;
    display: block;
    text-align: center;
    float: left;
}

/** HEADERS ******************************/
#rates li ul#headers {
    font-weight: bold;
    text-transform: uppercase;
	margin: 0;
}

#rates #headers li.slate {
    background: #d8d8d8;
    border-top-left-radius: 2em;
    border-top-right-radius: 2em;
}

/** TABLE ********************************/
#rates #table {
    background-color: #ececec;
}

#rates #table li.slate {
    background-color: #ececec !important;
}

#rates #table li.slate:last-child {
    border-bottom-left-radius: 2em;
    border-bottom-right-radius: 2em;
}

#rates #table li:nth-child(n+1) {
    background: #4d748c
}

#rates #table li:nth-child(n+4) {
    background: transparent
}

#rates #table li:nth-child(n+7) {
    background: #4d748c
}

#rates #table li:nth-child(n+10) {
    background: transparent
}

#rates #table li:nth-child(n+13) {
    background: #4d748c
}

#rates #table li:nth-child(n+16) {
    background: transparent
}

#rates #table li:nth-child(n+19) {
    background: #4d748c
}

#rates #table li:nth-child(n+21) {
    background: transparent
}


/** TERMS *******************************/
#rates li {
	float: none;
    color: #fff;
    font-size: 14px;
    background-image: none;
    padding-left: 0;
	list-style-type: none;
    margin: 0;
	padding: 0;
	background: none;
}

#rates li ul {
	padding: 0;
	clear: both
}

#rates li ul li {
	width: 33.33%;
	margin-right: 0;
    padding: 15px 10px;
    display: table-cell;
	font-size: 18px;
    float: left;
	list-style: none;
}


/** OUR RATES ****************************/
#rates li ul li:last-child {
    background: #eaeaea
}

#rates li ul li.slate {
    color: #3a6f8f;
    font-weight: bold;
    margin-left: 0;
}


/** CURRENT RATES ************************/
.currentRates {
	width: 100%;
    border: 2px solid #fff;
    border-radius: 5px;
    padding: 30px 30px 20px;
    text-align: center;
    margin-top: 20px;	
    float: left;
}

.currentRates p {
    width: 100%;
	color: #fff;
    font-size: 23px;
    vertical-align: top;
    line-height: 1.2;
    margin-bottom: 10px;
}

.currentRates p.smallPrint {
    font-size: 11px;
    padding-bottom: 20px;
}

.currentRates p.percentage {
	font-size: 32px;
}

.currentRates:first-child {
    margin-top: 0;
}


/** SMALL PRINT **************************/
.smallPrint {
    font-size: 12px;
    margin-top: 10px;
    text-align: right;
}
/**********************************************************************************************************************************************************************************************/







/*
	-------------------------------------------
		ABOUT US
	-------------------------------------------
*/
.about-image {
	background-image: url('../img/about-us.jpg');
}


/**********************************************************************************************************************************************************************************************/








/*
	-------------------------------------------
		BLOG
	-------------------------------------------
*/

#blog-nav {
	margin-top: 20px;
}

#blog-nav .blog-link {
	margin: 0 10px; 	
	padding: 12px 85px;
}

#blog-nav .blog-link:first-child {
	margin-left: 0;
}

#blog-nav .blog-link:last-child {
	margin-right: 0;
	float: right;	
}

body.blog, body.blog_post {
	background-image: url('../img/waves.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.blog.section {
    display: block;
	padding: 40px 30px 60px;
}

.blog.section h4 {
	color: #999;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1.2em;
}

.blog.section h4{ 
	font-weight:100; 
	font-size:14px;
}

.blog.section .ta-r{ 
	min-height:35px
}

.header-btns {
	top: 35%;
	position: fixed;
	z-index: 99999;
}

.request-button {
    left: -10px;
   	padding: 20px 24px 20px 46px;
    background-color: #ef4135;
    border-radius: 2%;
    height: 162px;
    width: 50px;
	color: #fff;
}

.request-button:hover {
	background-color: #b73129;
	color: #ffcac7;
	text-decoration: none;
	transition: all 0.6s;
}

.request-button  p {
	width: 145px;
	text-transform: uppercase;
	font-size: 18px;
	transform: rotate(90deg);
	transform-origin: left top 0;
}

.header-btns a:hover {
	text-decoration: none;
}

a .social {
	margin-top: 5px;
    left: 0;
	background-color: #ef4135;
	color: #fff;
	padding: 20px 25px;
}

a .social:hover {
	background-color: #b73129;
	color: #ffcac7;
	transition: all 0.6s;
}

.facebook {
	padding: 20px 23px !important;
	text-align: center;
}

/**********************************************************************************************************************************************************************************************/







/*
	-------------------------------------------
		BLOG POST
	-------------------------------------------
*/

.blog_post .ta-r {
	border-top: 1px solid #ececec;
    margin-top: 30px;
}


.blog_post .red-pill {
	margin-top: 25px;	
}

/**********************************************************************************************************************************************************************************************/






/*
	-------------------------------------------
		MORTGAGE TYPES
	-------------------------------------------
*/
.increase-borrowed-image {
	background-image: url(../mortgage-types/increase-amount-borrowed.jpg);
}

.early-renewal-image {
	background-image: url(../mortgage-types/early-renewal.jpg);
}

.negotiation-lender-image {
	background-image: url(../mortgage-types/negotiation-current-lender.jpg);
}

.transfering-lender-image {
	background-image: url(../mortgage-types/transfering-lender.jpg);
}

.shopping-best-image {
	background-image: url(../mortgage-types/shopping-best-mortgage.jpg);
}

.renew .renew-image {
	background-image: url(../mortgage-types/renew.jpg);
}

.private-mortgages-image {
	background-image: url(../mortgage-types/private-mortgages.jpg);
}

.second-mortgages-image {
	background-image: url(../mortgage-types/second-mortgages.jpg);
}

.commercial-image, .commercial-mortgages-image {
	background-image: url(../mortgage-types/commercial-mortgages.jpg);
}

.income-issues-image {
	background-image: url(../mortgage-types/income-issues.jpg);
}

.other-mortgages-image {
	background-image: url(../mortgage-types/other-mortgages.jpg);
}

.credit-issues-image {
	background-image: url(../mortgage-types/credit-issues.jpg);
}

.portability-property-image {
	background-image: url(../mortgage-types/new-property.jpg);
}

.lines-credit-image {
	background-image: url(../mortgage-types/line-of-credit.jpg);
}

.debt-consolidation-image {
	background-image: url(../mortgage-types/debt-consolidation.jpg);
}

.refinance-image {
	background-image: url(../mortgage-types/refinance.jpg) !important;
}

.repeat-buyers-image {
	background-image: url(../mortgage-types/repeat-buyers.jpg);
}

.vacation-home-image {
	background-image: url(../mortgage-types/vacation-home.jpg);
}

.investment-properties-image {
	background-image: url(../mortgage-types/investment-properties.jpg);
}

.multi-residential-image {
	background-image: url(../mortgage-types/multi-residential.jpg);
}

body.buying-property .buying-property-image {
	background-image: url(../mortgage-types/buying-property.jpg);
}

.first-time-buyer-one-image {
	background-image: url(../mortgage-types/first-time-buyer-one.jpg);
}

.first-time-buyer-two-image {
	background-image: url(../mortgage-types/first-time-buyer-two.jpg);
}

.first-time-buyer-three-image {
	background-image: url(../mortgage-types/first-time-buyer-three.jpg);
}

.first-time-buyer-four-image {
	background-image: url(../mortgage-types/first-time-buyer-four.jpg);
}

.first-time-buyer-five-image {
	background-image: url(../mortgage-types/first-time-buyer-five.jpg);
}

.first-time-buyer-six-image {
	background-image: url(../mortgage-types/first-time-buyer-six.jpg);
}

.construction-financing-one-image {
	background-image: url(../mortgage-types/construction-financing-one.jpg);
}

.construction-financing-two-image {
	background-image: url(../mortgage-types/construction-financing-two.jpg);
}

.construction-financing-three-image {
	background-image: url(../mortgage-types/construction-financing-three.jpg);
}

.construction-financing-four-image {
	background-image: url(../mortgage-types/construction-financing-four.jpg);
}

.construction-financing-five-image {
	background-image: url(../mortgage-types/construction-financing-five.jpg);
}

.construction-financing-six-image {
	background-image: url(../mortgage-types/construction-financing-six.jpg);
}

.home-improvement-one-image {
	background-image: url(../mortgage-types/home-improvement-one.jpg);
}

.home-improvement-two-image {
	background-image: url(../mortgage-types/home-improvement-two.jpg);
}

.home-improvement-three-image {
	background-image: url(../mortgage-types/home-improvement-three.jpg);
}

.relase-equity-one-image {
	background-image: url(../mortgage-types/release-equity-one.jpg);
}

.relase-equity-two-image {
	background-image: url(../mortgage-types/release-equity-two.jpg);
}

/**********************************************************************************************************************************************************************************************/









/*
	-------------------------------------------
		BUILDER FAQ & HOME BUYING FAQ
	-------------------------------------------
*/

.panel {
	margin: 15px 0px;
	margin-bottom: 15px !important;
}
/**********************************************************************************************************************************************************************************************/









/*
	-------------------------------------------
		JOIN OUR TEAM
	-------------------------------------------
*/
.join-image {
	background-image: url(../img/join-our-team.jpg);
}
/**********************************************************************************************************************************************************************************************/











/*
	-------------------------------------------
		PROFILE
	-------------------------------------------
*/
#main .profilePic {  
	width: 150px; 
 	height: 150px;
	margin: 0 auto 30px;
	margin-top: -75px;
	float: none;
	overflow:hidden; 
}

body.profile {
	background: url(../img/waves.svg) no-repeat bottom;
	background-size: cover;
}

#main .profile {
	margin-top: 65px;
	border: 1px solid #e7e7e7; 
	padding: 0 50px 30px;
    box-shadow: 2px 2px 30px #eaeaea;
	background-color: #fff;
}

.profile h2 {
	margin-bottom: 5px;
}
/**********************************************************************************************************************************************************************************************/






/*
	-------------------------------------------
		LINK TO THIS SITE
	-------------------------------------------
*/

body.link-to {
	background: url(../img/waves.svg) no-repeat bottom;
	background-size: cover;
}

.link-to.section {
	background-color: #fff;
	border: 1px solid #E7E7E7;
	box-shadow: 2px 2px 30px #c9c9c9;
	padding: 40px 30px;
}

.link-to.section .ta-c {
	
}

.link-to.section img {
	margin: 20px 0;
}

.link-to.section h2 {
	margin-bottom: 5px;
}

.link-to h4 {
	margin-bottom: 5px;
}

.link-to pre {
	padding: 20px 30px 30px;
	font-size: 13px;
	color: #666;
	border: 1px solid #CCC;
	overflow: auto;
	background: #fafafa;
}

pre code {
	white-space: pre-line;
}

/**********************************************************************************************************************************************************************************************/









/*
	-------------------------------------------
		RESOURCES
	-------------------------------------------
*/
.resources-one-image {
	background-image: url('../img/resources-1.jpg');
}

.resources-two-image {
	background-image: url('../img/resources-2.jpg');
}

/**********************************************************************************************************************************************************************************************/









/*
	-------------------------------------------
		COMMERCIAL & LEASING
	-------------------------------------------
*/

.commercial-leasing-image {
	background-image: url('../img/leasing.jpg');
}


.logos {
	margin-right: 30px;
	width: 150px;
}

.logos img {
	margin-bottom: 30px;
	display: block;
}

/**********************************************************************************************************************************************************************************************/









/*
	-------------------------------------------
		WHY MORTGAGE CENTRE 
	-------------------------------------------
*/

.why-mortgage-image {
	background-image: url('../img/why-mortgage-centre.jpg');
}

/**********************************************************************************************************************************************************************************************/



/*
	-------------------------------------------
		CHIP
	-------------------------------------------
*/

body.chip .chip-image {
	background-image: url('../img/chip.jpg');
}


.cta-chip {
    width: 100%;
    padding: 50px 15px;
    background: #ef4135;
}

.cta-chip p {
    width: 100% !important;
    color: #fff;
    font-size: 22px;
    margin-bottom: 0!important;
}

.cta-chip .col-md-8, .cta-chip .col-md-4 {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.cta-chip .col-md-4 {
    padding-left: 15px;
}

.chip-image {
	background-image: url(../img/chip.jpg);
}

.cta-chip .bluePill {
    margin-top: 0;
    text-align: center;
	font-size: 18px;
}

.bluePill {
	background: #3a6f8f !important;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    padding: 15px 20px;
    float: left;
}

.bluePill:hover {
    background: #315e79 !important;
    color: #c1e8ff;
    text-decoration: none;
	-webkit-transition: all .7s ease-in-out;
    -moz-transition: all .7s ease-in-out;
    -o-transition: all .7s ease-in-out;
    transition: all .7s ease-in-out;
}

/**********************************************************************************************************************************************************************************************/







/*
	-------------------------------------------
		MORTGAGE CALCULATOR
	-------------------------------------------
*/

.row.calculators {
	margin-top: 40px;
}

.icon-calculator {
    width: 100%;
    height: 175px;
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
}

.calculators a {
	text-align: center;
	font-size: 14px;
	padding: 20px;
	margin: 10px 0;
	min-height: 305px;
	background-color: #fefefe;
	border: 1px solid #e7e7e7;
	color: #3a6f8f;
	font-weight: 400;
	display: block;
	box-shadow: 2px 2px 30px #eaeaea;
	position: relative;
}

.calculators a::before {
    content: "";
    position: absolute;
    opacity: 0.7;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../img/waves.svg) no-repeat;
    background-size: 550%;
    background-position: 21% 90%;
}


.calculators a:hover {
	text-decoration: none;
	box-shadow: 2px 2px 30px #ccc;
}
.calculators p {
	font-size: 14px;
	margin-bottom: 5px;
}

.icon-calculator, .calculators p {
	position: relative;
}

.icon-calculator.mortgage-loan {
	background-image: url(../img/Mortgage_Loan_Calculator_blue.svg);
}

.icon-calculator.rent-vs-buy {
	background-image: url(../img/Rent_vs_Buy_blue.svg);
}

.icon-calculator.mortgage-payoff {
	background-image: url(../img/Mortgage_Payoff_blue.svg);
}

.icon-calculator.mortgage-qualifier {
	background-image: url(../img/Mortgage_Qualifier_blue.svg);
}

.icon-calculator.amortization-calculator {
	background-image: url(../img/Amortization_Calculator_blue.svg);
}

.icon-calculator.interest-savings {
	background-image: url(../img/Refinance_Interest_Savings_blue.svg);
}

/**********************************************************************************************************************************************************************************************/







/*
	-------------------------------------------
		MORTGAGE GLOSSARY
	-------------------------------------------
*/

.icon-calculator.interest-savings {
	background-image: url(../img/Refinance_Interest_Savings_blue.svg);
}

body.mortgage-glossary .box {
	min-height: 210px;
	margin: 10px 0;
}

body.mortgage-glossary .box::before {
    content: "";
    position: absolute;
    opacity: 0.6;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../img/waves.svg) no-repeat center 60%;
    background-size: cover;
}

.mortgage-glossary-two-image {
	background-image: url(../mortgage-types/release-equity-two.jpg);
}

/**********************************************************************************************************************************************************************************************/








/*
	-------------------------------------------
		ABOUT MORTGAGE TYPES
	-------------------------------------------
*/

.box {
	padding: 30px;
	border: 1px solid #e7e7e7;
	background-color: #fff;
    box-shadow: 2px 2px 30px #eaeaea;
	position: relative;
}

.box h4, .box p {
	position: relative;
}

.types-of-mortages .box::before {
	content: "";
    position: absolute;
    opacity: 0.6;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../img/waves.svg) no-repeat center 60%;
    background-size: cover;
}

.types-of-mortages .box {
	margin-top: 30px;
	min-height: 272px;
	text-align: center;
}

.mortgage-interest-rates .box .col-xs-8 {
	padding: 30px;
}

.mortgage-interest-rates .box .col-xs-4::before {
	content: "";
    position: absolute;
    opacity: 0.6;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../img/waves.svg) no-repeat;
    background-size: 450%;
    background-position: bottom;
}

.mortgage-interest-rates .box .col-xs-4 {
	position: relative;
}

.mortgage-interest-rates .box {
	display: inline-block;
	padding: 0;
	margin-top: 30px;
}

.tab-panel {
	display: inline-block;
	box-shadow: 2px 2px 30px #eaeaea;
}

.tab-panel .col-sm-3, .tab-panel .col-sm-9 {
	border: 1px solid #e7e7e7;
	min-height: 415px;
	padding: 0;
}

.tab-panel .col-sm-3::before {
	content: "";
    position: absolute;
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../img/waves.svg) no-repeat;
    background-size: 450%;
    background-position: bottom;
}

.tab-panel .col-sm-9 {
	padding: 30px;
	border-left: 0;
}

.nav-pills {
	margin: 0;
}

.nav-pills li {
	margin: 0;
	border-bottom: 1px solid #e7e7e7;
}

.nav-pills h5 {
	text-transform:capitalize;
	color: #3a6f8f;
	margin: 10px 0;
	font-size: 16px;
}

.nav-pills>li+li {
	margin-top: 0;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
	background-color: transparent;
}

.nav-pills>li:after.active {
  width: 0; 
  height: 0; 
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent; 
  border-right:10px solid blue; 
}

.icon-rate {
	width: 65%;
	height: 65%;
	padding: 20px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -85px 0 0 -55px;
}

.variable-rate {
	background: url('../img/variable-rate.svg') no-repeat;
}

.fixed-rate {
	background: url('../img/fixed-rate.svg') no-repeat;
}

.high-ratio-image {
	background: url('../img/high-ratio.jpg') no-repeat;
}


.testimonials-sidebar, .owl-carousel, .owl-stage-outer, .owl-stage, .owl-item {
	width: 100%;
	height: 100%;
}

.owl-item .item {
	border: 1px solid #e7e7e7;
	border-top: 5px solid #ef4135;
	box-shadow: 2px 2px 30px #eaeaea;
	height: 100%;
	padding: 30px;
	position: relative;
	text-align: center;
}


.owl-item .item h4, .owl-item .item p {
	position: relative;
}

.owl-item .item p {
	font-style: italic;
}

.owl-item .item::before {
	content: "";
    position: absolute;
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../img/waves.svg) no-repeat;
    background-size: 450%;
    background-position: bottom;
}

.item .profilePic {
	float: none;
	position: relative;
	margin: -90px auto 20px;
}


/**********************************************************************************************************************************************************************************************/








/*
	-------------------------------------------
		COMMERCIAL & LEASING
	-------------------------------------------
*/

.testimonials-box, .testimonials-box h4, .testimonials-box p {
	position: relative;
}

.testimonials-box {
	padding: 30px;
	text-align: center;
	border: 1px solid #e7e7e7;
	box-shadow: 2px 2px 30px #eaeaea;
	min-height: 250px;
}

.testimonials-box::before {
	content: "";
    position: absolute;
    opacity: 0.5;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: url(../img/waves.svg) no-repeat;
    background-size: 450%;
    background-position: bottom;
}

/**********************************************************************************************************************************************************************************************/







/*
	-------------------------------------------
		SITEMAP
	-------------------------------------------
*/

.page-content ul.sitemap li {
    padding: 0 0 10px 0;
    font-size: 16px
}

.page-content ul.sitemap li ul {
    margin-top: 5px
}

.page-content ul.sitemap li ul li {
    list-style: none
}

.page-content ul.sitemap li ul li ul li {
    list-style: circle;
    padding: 0 0 5px 0
}

/**********************************************************************************************************************************************************************************************/







/*
	-------------------------------------------
		FOOTER
	-------------------------------------------
*/


.footer-top {
	background: #3b6d8d;
	font-size: 18px;
	font-weight: 500;
	padding: 25px 0;
	text-align: center;
}

.footer-top ul {
	padding: 0;
}
.footer-top a {
	color: #fff;
	text-transform: uppercase;
	margin-right: 30px;
}
.footer-bottom {
	background: #315e79;
	color:#fff;
	font-size: 12px;
	font-weight: 400;
	text-align: center;
	padding: 25px 0;
}

.footer-bottom p {
	margin-bottom: 0;
}

#twitter-panel .twtr-hd, #twitter-panel .twtr-ft { display: none; }

#twitter-panel .twtr-widget .twtr-tweet-wrap {
	padding: 0;
}

#twitter-panel .twtr-widget .twtr-tweet {
	margin: 0 0 15px;
	padding-bottom: 5px;
}

#twitter-panel em {
	margin-top: 10px;
	line-height: 14px;
}

#twitter-panel p {
	margin: 0 0 10px;
}

#twitter-panel div {
	color: #013599;
}

#twitter-panel iframe {
	width: 100%;
}

#form-msg-container {
    box-sizing: border-box;
    z-index: 10000000;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: none;
}

#form-msg {
    margin-top: 20px;
    font-size: 14px;
}

#form-msg ul {
    margin: 0;
}

#form-msg ul li {
    margin: 0;
    font-size: 12px;
}

/**********************************************************************************************************************************************************************************************/








/*
	-------------------------------------------
		MODAL
	-------------------------------------------
*/

.modal {
	z-index: 9992;
}

.modal-dialog {
	padding-top: 12%;	
}

.modal-content {
	border: 1px solid #e7e7e7;
	box-shadow: none;
	display: block;
	margin: 0 auto;
}

.modal-header {
	border-bottom: 0;
}

.modal-backdrop {
	z-index: 9991;
	background-color: #666;
}

.modal .red-pill {
	margin-top: 10px;
}

body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom {
	margin-right: 0;
}

.datepicker-days .active {
	background: #ef4135;
	border-radius: 5px;
	color: #fff;
}


/**********************************************************************************************************************************************************************************************/








/*
	-------------------------------------------
		APP BUTTONS
	-------------------------------------------
*/

#app-buttons {
	width: 100%;
    height: 45px;
    float: right;
    margin-top: 3px;
    padding-left: 10px;
    border-left: 1px solid #326180;
}

#app-buttons a div {
	width: 95px;
    height: 45px;
    margin: 0 5px;
    background-repeat: no-repeat;
    background-position: center;
    float: left;
}

a.google-btn>div {
	background-image: url(../img/google.svg);
}

a.apple-btn>div {
	background-image: url(../img/apple.svg);
}



/**********************************************************************************************************************************************************************************************/











/*
	-------------------------------------------
		SOCIAL
	-------------------------------------------
*/
section.social {
	padding-top: 0;
	background-color: #404045;
}

.social-box {
	width: auto !important;
	height: 100%;
	min-height: 150px;
	max-height: 700px;
	position: relative;
	border: 1px solid #e7e7e7;
    background-color: #fff;
    padding: 30px;
    margin: 125px 0 10px;
}

.social-box a {
	display: inherit;
    height: 100%;
}

.social-box-pic { 
	float: none;
	background-color: #3a6f8f;
    width: 125px;
    overflow: hidden;
    margin: -95px auto 20px;
    height: 125px;
    border-radius: 50%;
    background-size: 100% !important;
    background-repeat: no-repeat !important;
    background-position: top center !important;
    box-shadow: inset 0 0 0 6px rgba(255,255,255,0.3), 0 1px 2px rgba(0,0,0,0.1);
    -webkit-transition: all 0.6s ease-in-out;
    -moz-transition: all 0.6s ease-in-out;
    -o-transition: all 0.6s ease-in-out;
    -ms-transition: all 0.6s ease-in-out;
    transition: all 0.6s ease-in-out;
    text-align: center;
}

.social-box-pic i {
	color: #fff !important;
	margin-top: 35px;
}

.social-box-pic:hover {
	box-shadow: inset 0 0 0 0px rgba(255,255,255,0.3);
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    -ms-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
}

.social-panel {
	width: 100%;
	height: 90%;
	overflow-y: hidden;
}

/**********************************************************************************************************************************************************************************************/











/*
	-------------------------------------------
		RESPONSIVE
	-------------------------------------------
*/
@media(min-width:1199px){
	.home-payoff {
    font-size: 19px
	}

	.slider-h1 {
		font-size: 23px;
	}

	.navbar-inverse .navbar-nav>li>a {
		font-size: 15px;
	}	
}

@media(max-width:1199px){
	#app-buttons a div {
		width: 75px;
	}

	.home-payoff {
		font-size: 19px
	}

	.slider-h1 {
		font-size: 21px;
	}

	.rate-text {
		width: 20%
	}

	.home-payoff {
		font-size: 16px
	}

	.rates .home-payoff {
		font-size: 14px
	}

	.rates .red-pill {
		padding: 6px 10px;
		font-size: 18px
	}

	.navbar-inverse .navbar-nav>li>a {
		font-size: 10px;
	}
	
	body.mortgage-glossary .box {
		min-height: 230px;
	}
	
	.banner {
		padding: 85px 0;
	}
	
	.custaheaderhero, .custaheadermain {
		margin-top: 480px !important;
	}
}


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

	#app-buttons a div {
		width: 55px;
	}

	.navbar-inverse .navbar-nav>li>a {
    	font-size: 9px;
	}

	.nav>li>a {
		padding: 15px 8px;
	}
	
	#logo {
		width: 260px;
    	height: 65px;
		margin-top: 0;
	}
	
	.brokerInfo {
		width: 100%;
	}
	
	.brokerInfo .visible-sm, .brokerInfo .hidden-xs {
		width: 50%;
		float: left;
	}
	
	.brokerInfo .hidden-xs { 
		text-align: right;
	}
	
	.home-slider {
		margin-top: 174px; 
	}
	
	#contacts .brokerInfo p.franchise_name {
		text-align: left;
	}
	
	.header-btns {
		width: 45px;
	}
	
	.request-button {
		width: 45px;
		padding: 20px 10px 0px 35px;
	}
	
	a .social, .facebook {
		padding: 14px !important;
	}
	
	.request-a-call .small-print {
		display: block;
		padding: 35px 0 20px;
		text-align: center;
	}
	
	.slider-content .home-payoff {
		font-size: 26px;
	}
	
	.mortgage-types .image {
		background-position: center;
	}
	
	.mortgage-types .col-md-4:nth-child(odd) .cta {
		height: 215px;
	}
	
	.cta-content p {
		font-size : 16px;
	}
	
	.calculators-home a {
		padding: 15px;
	}
	
	.calculators-home::before {
		background-position: 35% 92%;
	}
	
	.news .btn-more {
		display: block;
	}
	
	.map {
		margin-top: 50px;
	}
	
	.sidebar {
		margin-top: 50px;
		text-align: center;
	}
	
	.footer-top {
		font-size: 14px;
		padding: 20px 0;
	}
	
	.footer-bottom p {
		font-size: 12px;
	}
	
	
	#main {
		margin: 174px 0 0;
	}
	
	.banner {
		padding: 65px 0 45px;
	}
	
	.banner h1 {
		font-size: 30px;
	}
	
	.testimonials-box {
		margin-bottom: 40px;
		min-height: 140px;
	}
	
	.currentRates {
		padding: 30px 20px 20px;
	}
	
	.rates {
		background-position: right;
	}
	
	.box {
		margin: 20px 0;
	}
	
	.icon-calculator {
		background-size: 65%;
	}
	
	.testimonials-sidebar {
		margin-top: 100px;
	}
	
	.types-of-mortages .box {
		min-height: 150px;
	}
	
	.icon-rate {
		top: 55%;
    	left: 55%;
	}
	
	.newsletter-bar input {
		margin: 10px 0;
	}
	
	.newsletter-bar h3 {
		text-align: center;	
	}
	
	.social-box-pic { 
		width: 100px;
		margin: -85px auto 20px;
		height: 100px;

	}

	.social-box-pic i {
		margin-top: 25px;
	}
	
	.span2.unstyled {
		padding: 0 0 0 20px;
	}
	
	.custom-banner {
		height: 215px;
	}
	
	.custaheaderhero, .custaheadermain {
		margin-top: 400px !important;
	}
	
}


@media(min-width:768px){
.navbar-nav {
		float: left;
	}
}


@media only screen and (max-width: 767px) {
	
	header, header.affix {
		position: relative
	}
	
	.home-slider-content .tab-pane {
		background-attachment: inherit;
	}
	
	.charity-btn{
		height: 73px;
	}
	
	header .profilePic {
		float: none;
		margin: 0 auto 10px;
	}
	
	header.affix #logo {
	    width: 243px;
		margin: 0 auto;
	}
	
	header.affix .profilePic {
		width: 95px;
		height: 95px;
		margin-top: 0;
		margin-bottom: 10px;
	}

	.main-nav {
		width: 100%;
	}

	header .position {
		font-size: 14px;
	}

	#app-buttons {
	    width: 200px;
	    margin: 0 auto;
	    border: none;
	    float: none;
	    padding: 0;
	    position: relative;
	    bottom: 0;
	}

	#app-buttons a div {
 		width: 90px;
 		height: 40px;
	}

	a.google-btn>div {
		background-image: url(../img/google-blue.svg);
	}

	a.apple-btn>div {
		background-image: url(../img/apple-blue.svg);
	}

	.navbar-inverse .navbar-nav>li>a {
    	font-size: 13px;
	}
	
	.home-slider {
		margin-top: 0;
	}
	
	#contacts, 
	.container.header-info { 
		margin: 0 auto 0 auto; 
		text-align:center
	}

	.mobile_header{ 
		text-align:center; 
		clear:both
	}
	
	.mobile_header h2 {
		margin-bottom: 0;
	}
	
	.mobile_header p{ 
		text-align:center;
	}
	
	#logo{ 
		width:243px; 
		margin: 0 auto; 
		float:none; 
		display:block
	}
	
	.page-content p{ 
		font-size:14px; 
		line-height:1.2
	}
	
	.page-content h3 { 
		font-size:19px
	}
	
	.sidebar{ 
		display:none
	}
	
	.page-content h4 { 
		font-weight:300
	}	
	
	.currentRates:first-child {
    	margin-top: 25px;
	}
	
	#main {
		margin: 0;
	}
	
	.tab-panel .col-sm-3, .tab-panel .col-sm-9 {
		min-height: 0;
	}
	
	.link-to.section {
		margin: 0 20px 20px;
	}
	
	#main .profile {
		margin: 65px 15px 0;
	}
	
	.smallPrint {
		text-align: center;
	}
	
	body.mortgage-calculators .icon-calculator {
    	background-size: 30%;
	}
	
	.yamm .yamm-content a {
		margin-left: 0 !important;
	}
	
	.navbar-nav .open .dropdown-menu {
		background-color: #fff;
		text-align: center;
	}
	
	.charity-bar h3 {
		margin-bottom :20px;
		text-align: center;
	}
	
	.cta-chip p {
		text-align: center;
		margin-bottom: 20px !important;
	}
	
	body.mortgage-glossary .box {
		margin: 50px 0;
	}
	
	.custaheaderhero, .custaheadermain {
		margin-top: 0 !important;
	}
}




@media(max-width:720px){
	.rate-text {
		width: 20%
	}

	.red-pill {
		padding: 6px 20px;
		font-size: 18px
	}

	.box {
		border-left: 0;
		border-right: 0;
	}

	.col-md-4.privacy {
		margin: 10px 0
	}

	.dropdown-menu li a {
		text-align: center;
		font-weight: 100
	}

	.dropdown-menu li a:hover {
		background: #fff;
		color: #ef4136;
	}

	.yamm .yamm-content {
		padding: 0
	}

	.yamm .yamm-content a {
		padding: 10px 0;
		margin: 0
	}

	.yamm .yamm-content ul,
	.yamm .yamm-content ul li {
		padding: 0;
		margin: 0
	}

	.dropdown-menu li a strong {
		font-weight: 100
	}
}

@media(min-width:720px){
	.dropdown-menu.mortgages { 
		width:500px!important
	}
}
	
@media(max-width:600px){
	
	.home-slider{ 
		height: 50vh;
	}
	
	.map {
		height: 260px;
	}
	
	.footer-bottom p {
    	font-size: 8px;
	}
	
	.box .col-xs-4 {
		display: none;
	}
	
	.box .col-xs-8 {
		width: 100%;
	}
	
	.calculators-home a {
		min-height: 210px;
	}
	
	.newsletter-bar h3 {
		font-size: 16px;	
	}
	
	.custom-banner {
		height: 110px;
	}

}

/**********************************************************************************************************************************************************************************************/