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


/** 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";
}

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

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

h2.heading, .main-copy .match h2:first-of-type {
	margin: 10px 0 20px 0;
    padding-bottom: 10px;
    line-height: 1.3;
    border-bottom: solid 1px #3a6f8f;
    text-transform: none;
}


h3, .main-copy .match h4:first-of-type {
    color: #3a6f8f;
    font-weight: 100;
    line-height: 1.4
}

h3.sub-heading, .main-copy .match h4:first-of-type {
	margin-bottom: 30px;
}

.main-copy .match h4:first-of-type {
	font-size: 24px;
}

h4 {
	color: #3a6f8f
}


/** TEXT ***********************************/

.red {
	color:#ef4135;
}

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

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

p.smallText.right{ 
	text-align:right
}


/** 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;
}


/** LISTS **********************************/
ol {
    padding: 0 0 0 15px
}

li {
    font-size: 18px;
	margin-bottom: 5px;
}

ol li {
    list-style: decimal;
    margin-bottom: 20px;
    padding-left: 10px
}


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

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


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





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


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

body.custaheader #main {
	margin: 0;
}

section.interior-page {
	padding: 0;
}

.main-copy {
	padding: 40px 30px 60px;
}

.main-copy .row {
	margin-top: 40px;
	margin-bottom: 40px;
}

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

section {
	padding: 75px 0; 
}

.section {
	margin: 0 0 50px;
}

.right {
	text-align: right;
}

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.content, nav #nav-wrap {
	margin: 0 auto;
	width: 1000px;
}

.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
}

div > .grecaptcha-badge {
	bottom: 130px !important;
}


/** BANNERS *******************************/
.banner {
	background-color: #ececec;
    padding: 113px 0;
	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: #c7c7c7;
    background: -moz-linear-gradient(45deg, #3a3a3a 0%, #c7c7c7 100%);
    background: -webkit-linear-gradient(45deg, #3a3a3a 0%,#c7c7c7 100%);
    background: linear-gradient(45deg, #3a3a3a 0%,#c7c7c7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3a3a3a', endColorstr='#c7c7c7',GradientType=1 );
	opacity: .6;
}

.banner h1 {
	text-transform: uppercase;
    color: #fff;
    font-size: 52px;
    padding-left: 15px;
    text-shadow: 2px 2px 8px #3a3a3a;
	position: relative;
}



.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');
}

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

.chip-banner {
	background-image: url('../banners/chip-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%;
}

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

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


/** 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;
}

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

.middle-name {
	display: none;
}


/** SIDEBAR ******************************/
.sidebar {
    height: 100%;
    padding-top: 40px;
    background: url(../img/secondNav.jpg) top left no-repeat;
    background-position: top left -50px;
    display: block;
}

.sidebar ul, .sidebar h3 {
	width: 85%;
}

.sidebar nav {
	padding: 0 15px;
}

.sidebar nav ul {
	list-style-type: none;
	width: 100%;
}

.sidebar nav li {
	margin-bottom: 2px;
}

.sidebar nav .panel-body ul li {
	margin-bottom: 2px;
}

.sidebar .panel-group .panel+.panel {
	margin-top: 0;
}

.sidebar nav .panel-body ul li a {
	padding: 2px 5%;
}

.sidebar .panel-group {
	margin-bottom: 0;
}

.sidebar nav a {
	width: 85%;
	color: #3a6f8f;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    text-decoration: none;
	padding: 10px 5%;
    display: block;
    text-transform: uppercase;
    font-size: 16px;
}

.sidebar nav a.active, .sidebar nav a:focus, .sidebar nav a:hover {
	background: #e0e5e8;
    transition: all 0.6s;
}

.sidebar .red-pill {
	margin: 20px 15px;
}

.sidebar .panel-heading {
	background-color: transparent;
	padding: 0;
	border: none;
}

.sidebar .panel-default {
	border: none;
	box-shadow: none;
}

.sidebar .panel-default>.panel-heading+.panel-collapse .panel-body {
	border: none;
	padding: 0 15px;
}

.sidebar .panel {
	margin: 0;
	margin-bottom: 0 !important;
	background-color: transparent;
}

.sidebar .contact-info, .sidebar .office {
	padding: 15px 15px 0
}

.sidebar .addThisBox {
	margin-top: 15px;
	margin-left: 20px;
}

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












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

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

header #header-top {
	padding: 5px 0;
	background: #BBB;
	text-align: right;
	font-size: 0.875em;
	color: #FFF;
	min-width: 1000px;
}

#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;
}

.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;
}

.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;
    font-weight: 500;
	margin-bottom: 10px;
}

.brokerInfo {
    margin-top: 15px;
    float: right;
}

.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.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;
}

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

.profilePic-container {
	float: right;
    max-width: 125px;
}

.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 #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 .navbar{
	margin: 7px 0 2px !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;
}

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 {
    margin-bottom: 10px;
    -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: 7px 15px;
    -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;
}


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

.main-nav {
	width: 82%;
}

.sidebar-nav {

}

header nav #nav {
	margin: 0;
	padding: 0;
	float: right;
	position: relative;
	right: 50%;
}

header nav #nav li {
	margin: 0 20px;
	padding: 1px;
	float: left;
	position: relative;
	left: 50%;
}

header nav #nav li:hover {
	padding: 0 0 1px;
	background: #FFF;
	border: 1px solid #013599;
	border-bottom: none;
	position: relative;
	top: 1px;
	transition: all 0.6s;
}

.fr header nav #nav li {
	margin: 0 5px;
}

header nav #nav li:hover a {
	padding: 14px 10px 13px;
	color: #013599;
	text-decoration: none;
}

header nav .sub {
	margin: 0;
	padding: 5px 0 0;
	position: absolute;
	top: 44px;
	left: -1px;
	border: 1px solid #013599;
	border-top: none;
	background: #FFF;
	display: none;
	z-index: 100;
}

header nav li:hover .sub {
	display: block;
}

header nav #nav .sub li {
	margin: 0;
	padding: 0;
	position: static;
	border: none;
	float: none;
}

header nav #nav .sub li a {
	margin: 0;
	padding: 10px 10px;
	font-family: Helvetica, Arial, sans-serif;
	border: none;
	font-size: 1.4em;
	white-space: nowrap;
}

header nav #nav .sub li a:hover {
	color: #FFF;
	background: #BBB;
	transition: all 0.6s;
}

header nav a.active {
	color: #FFCC4E;
}

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

.nav .caret {
	display:none
}

.navbar {
	margin: 20px 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{ }
.nav>li>a {
	font-weight:300;
	color:#fff;
	text-transform:uppercase;
	border-radius:0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	
}

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

.nav .dropdown-menu ul {
	margin: 0;
}

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

.nav .dropdown-menu li a:hover, 
.nav .dropdown-menu li a.active {
	text-decoration:none; 
	background: #ecf2f6; 
	color: #3a6f8f; 
	border-radius: 50px;
}

.navbar-inverse {
	background-color: #fff;
	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: #ecf2f6;
    color: #3a6f8f;
	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: #ecf2f6;
    color: #3a6f8f;
	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 {
	margin: 0 3px;
	color: #3a6f8f;
	font-size: 16px;
	font-weight: 500; 
	border-radius: 50px;
	transition: all 0.6s;
}

.navbar-inverse .navbar-nav>li>a:hover{
	background: #ecf2f6;
    color: #3a6f8f;
}
.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;
}

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

.nav .dropdown-menu {
	z-index: 999;
	margin: 0 30px;
    -webkit-border-radius: 0px 0px 7px 7px;
    -moz-border-radius: 0px 0px 7px 7px;
    -ms-border-radius: 0px 0px 7px 7px;
    -o-border-radius: 0px 0px 7px 7px;
    border-radius: 0px 0px 7px 7px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    position: absolute;
    width: 97%;
    border-top: 1px solid #e4ecf1;
    border-left: 1px solid #e4ecf1;
    border-right: 1px solid #e4ecf1;
    border-bottom: 1px solid #e4ecf1;
	top: 70px !important;
    left: 0 !important;
}

.nav .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;
}


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

.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: 13px 5px;
	line-height: 1.6em;
	background: #b73129;
}

.agent-info-pop .btn:hover {
	color: #ffcac7;
	-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;
}

.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;
}


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










/*
	-------------------------------------------
		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;
	-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;
}

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

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

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

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

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

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











/*
	-------------------------------------------
		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: 30px 20px;
	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;
}

body.index .header-btns {
	display: none;
}


/** HERO IMAGE ****************************/
.home-hero {
	height: 100vh;
	margin-top: 200px; 
	background-image: url('../slider/apply-now-slide.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	background-color: #ececec;
    background-position: top;
    background-attachment: fixed;
    overflow: hidden;
}

body.custaheader .home-hero {
	margin-top: 0;
}

.hero-copy {
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
	padding: 100px 0 0 100px;
	animation-duration: 4s;
    animation-delay: 0.5s;
    -webkit-animation-duration: 4s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.hero-copy h1 {
	font-size: 45px;
	color: #fff;
	line-height: 1.3em;
	text-transform: capitalize;
    text-shadow: 2px 2px 8px #3a3a3a;
}

.hero-copy a {
	font-size: 25px;
	margin: 20px 0 65px;
    padding: 10px 45px;
    animation-duration: 4s;
    animation-delay: 1.5s;
    -webkit-animation-duration: 4s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

.home-hero .request-a-call {
    width: 375px;
    height: 100%;
    padding: 30px;
    float: right;
    position: relative;
    background-color: rgba(58, 111, 148, 0.7);
}

.center-box {
    position: absolute;
    top: 50%;
    right: 30px;
    left: 30px;
    transform: translateY(-50%);
}

.home-hero .request-a-call h2 {
	color: #fff;
	margin-top: 45px;
}

.home-hero .request-a-call p {
	color: #fff;
}

.home-hero .request-panel {
	background-color: transparent;
	padding: 15px 0;
}

.home-hero .request-panel .red-pill {
	width: 100%;
}

.home-hero .request-foot {
	color: #fff;
	margin: 5px 0 20px;
}


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

.charity-bar {
	padding: 30px;
	background-color: #ef4135;
	position: relative;
}

.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 h3 {
	margin: 0;
	color: #fff;
	margin-top: 10px;
}

.charity-btn {
	width: 100%;
	height: 50px;
	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;
}

/** INTRODUCTION ***************************/

.intro {
	text-align: center;
    margin-top: 50px;
}

.intro h2 {
    font-size: 30px;
}

.intro p {
    font-size: 22px;
}


/** CTA ************************************/

.cta {
    text-align: center;
    padding-top: 0;
	margin: 40px 0 0;
}

.cta .stock {
    width: 100%;
    height: 350px;
	background-color: #ececec;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
	text-decoration: none;
}

.image-cta {
	position: relative;
	width: 100%;
}

.image-cta .overlay {
	background: rgba(48,99,133,0.8);
	bottom: 0;
	left: 0;
	right: 100%;
	overflow: hidden;
	width: 0;
	height: 100%;
	transition: .5s ease;
	display: table;
	opacity: 0;
}

.image-cta:hover .overlay {
	width: 100%;
  	right: 0;
	opacity: 1;
}

.cta h2 {
    color: #666;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px
}

.image-cta a:hover {
	text-decoration: none !important;
}

.overlay .fa-link {
	color: #fff;
	text-align: center;
	display: table-cell;
	vertical-align: middle;
	text-decoration: none !important;
	border: none;
}

a.more {
    background: url(../img/learnMore.svg) center no-repeat;
    text-align: center;
    padding: 0;
    height: 60px;
    margin: 0;
    font-weight: 500;
    clear: both;
    width: 100%;
    display: inline-block;
    line-height: 60px;
}

a.more:hover {
    text-decoration: none;
    font-weight: bold;
	-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;
}


/** NEWSLETTER *****************************/
section.newsletter {
	padding: 0;
}

.newsletter-bar {
	width: 100%;
	height: auto;
	padding: 30px;
	margin-top: 20px;
	background-color: #3a6f8f;
}

.newsletter-bar h3 {
	color: #fff;
	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-size: 18px;
	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;	
}



/** NEWS SECTION **************************/

.news {
	position: relative;
	padding: 75px 15px;
	border-top: 1px solid #e7e7e7; 
	border-bottom: 1px solid #e7e7e7;
	background-image: url(../img/waves.svg);
	background-size: cover; 
	background-position: bottom center;
	background-repeat: no-repeat;
}

.news-feed .post:first-child {
	margin-top: 10px;
}

.news-feed .post {
	margin: 20px 0;
	padding: 30px;
	border: 1px solid #ececec;
	background-color: #fff;
}

.news .red-pill {
	width: 100%;
	padding: 20px 35px;
    font-size: 20px;
    border-radius: 50px;
}

/** SIDE PROFILE **************************/
.side-profile {
	height: 90%;
    min-height: 565px;
    margin: 10px 0 10px;
    padding: 30px;
    border: 1px solid #ececec;
    background-color: #fff;
}


.side-profile .profilePic-container {
	width: 180px;
    max-width: 180px;
    margin: 0 auto;
    float: none;
}

.side-profile .profilePic {
    width: 150px;
    height: 150px;
    margin: -105px auto 0;
	float: none;
    border: 5px solid #fff;
    border-radius: 50%;
}


.side-profile .brokerInfo .address span, .side-profile .brokerInfo .contactInfo a {
    float: right;
}

.side-profile .brokerInfo .address p {
	border-top: 1px solid #ececec;
}

.side-profile .brokerInfo .address p, .side-profile .brokerInfo .contactInfo p {
    border-bottom: 1px solid #ececec;
    padding: 20px 0px;
}

.side-profile .name-position {
	text-align: center;
}

.side-profile .brokerInfo .name-position {
    text-align: center;
    margin-bottom: 30px;
}

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







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


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







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

/** STRUCTURE ****************************/
.rates-container {
	margin: 0;
}

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

.rates {
	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:last-child {
	margin-right: 0;
	float: right;	
}

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

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

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

.blog-box {
	border-bottom: 1px solid #e7e7e7;
}

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

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;
	border-bottom: 1px solid #ececec;
    margin-top: 40px;
	display: flex;
}


.blog_post .red-pill {
	margin: 30px 0;	
}

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






/*
	-------------------------------------------
		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);
}
/**********************************************************************************************************************************************************************************************/








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

.blueBG {
    border-top: 1px solid #ececec;
    padding: 40px 15px;
    margin: 0;
	display: inline-table;
    background: url(../img/waves.svg) no-repeat bottom;
    background-size: cover;
}

.advantage-image {
	background-image: url(../cta/cta-broker.jpg);
}

.why-us-image {
	background-image: url(../cta/cta-why-us.jpg);
}

.useful-tools-image {
	background-image: url(../cta/cta-tools.jpg);
}

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









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

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

.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');
}

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








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

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

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







/*
	-------------------------------------------
		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: 185px;
	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
	-------------------------------------------
*/


.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;
	text-align: left;
}

.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(even) .cta {
	height: 515px;
	margin: 15px;
}

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


.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;
}

.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 p {
	font-style: italic;
    line-height: 1.7em;
}

.testimonials-box p.author_name {
	font-style: normal;
    font-weight: bold;
}

.testimonials-box {
	margin: 20px 0;
    padding: 40px 40px 15px;
    border: 1px solid #ececec;
    background: url(../img/testimonial.svg) no-repeat;
    background-size: cover;
    background-position: center;
}

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









/*
	-------------------------------------------
		LENDERS & ASSOCIATIONS
	-------------------------------------------
*/

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

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

ul.lenders, ul.lendersSecond {
	width: 100%;
	list-style-type: none;
    padding: 30px 0;
	margin-left: -15px;
    margin-right: -15px;
    display: inline-block;
}

.lenders li, .lendersSecond li {
    float: left;
    margin: 15px;
    border: 1px solid #ececec;
    padding: 15px;
    width: 30.33%;
    text-align: center;
    height: 275px;
    overflow: hidden;
}

.lendersSecond li {
	width: 22%;
	height: 175px;
}

.lenders img, .lendersSecond img {
	width: 100%;
	height: 100%;
}

body.lenders-and-associations h2.clear30 {
	display: inline-block;
    width: 100%;
    margin-top: 40px;
}

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











/*
	-------------------------------------------
		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;
}

.applybutton {
    width: 75px;
    height: 75px;
    bottom: 20px;
    right: 20px;
    position: fixed;
    z-index: 99999;
    background: #ef4135;
    border-radius: 50px;
    text-align: center;
    padding-top: 23px;
    color: #fff;
    box-shadow: 1px 2px 15px #535353;
}

.applybutton:hover, .applybutton:focus {
	background: #b73129;
    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;
}

.zopim {
	left: 10px !important;
	right: 0!important;
}

#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;
}

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









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

.cta-chip {
    width: 100%;
    padding: 50px 15px 100px;
    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;
}

body.chip .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;
}

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








/*
	-------------------------------------------
		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-body {	
    padding: 0 20px;
}

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

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

.bootstrap-datetimepicker-widget {
	border-radius: 0px 0px 7px 7px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border: 1px solid #e4ecf1;
}

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

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









/*
	-------------------------------------------
		SOCIAL
	-------------------------------------------
*/
section.social {
	background-color: #3b5c73;
}

.social-box {
	width: auto !important;
	height: 100%;
	min-height: 150px;
	max-height: 700px;
	position: relative;
	border: 1px solid #ececec;
    background-color: #fff;
    padding: 30px;
    margin: 125px 15px 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: scroll;
}

#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%;
}

#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;
}


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









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

#app-buttons {
	width: 100%;
    height: 45px;
    float: right;
    border-left: 1px solid #ececec;
    margin-top: 5px;
    padding-left: 5px;
	    -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;
}

#app-buttons a div {
	width: 89px;
    height: 45px;
    margin: 0 5px;
    background-repeat: no-repeat;
    background-position: center;
    float: left;
	    -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;
}

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

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


.affix #app-buttons a div {
	height: 30px;
	-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;
}
.affix #app-buttons{
	height: 30px;
	-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;
}


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








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

@media only screen and (max-width: 1800px) {
	.sidebar {
		background-position: top left -100px;
	}
}

@media only screen and (max-width: 1550px) {
	.hero-copy h1 {
		font-size: 40px;
	}
	
	section {
    	padding: 50px 0;
	}
	
	.intro {
		margin-top: 30px;
	}
	
	.intro p {
    	font-size: 20px;
	}
	
	.row.cta {
		margin-top: 30px;
	}
	
	.sidebar {
		background-position: top left -150px;
	}
	
	.cta .stock {
		height: 300px;
	}
	
	.types-of-mortages .box {
		min-height: 370px;
	}
	
	.lenders li {
		width: 29.33%;	
	}
	
	.lendersSecond li {
    	width: 30%;
	}
	
}

@media only screen and (min-width: 1670px) {
	#app-buttons a div {
    	width: 110px;
    	height: 45px;
	}

	.affix #app-buttons a div {
		width: 110px;
		height: 34px;
	}
}

@media only screen and (min-width: 1500px) {
	.main-nav {
		width: 86%;
	}
}

@media only screen and (min-width: 1390px) {
	.main-nav {
		width: 85%;
	}
}

@media only screen and (min-width: 1305px) {
	.main-nav {
		width: 84%;
	}
}

@media only screen and (max-width: 1350px) {
	.sidebar {
		background-position: top left -180px;
	}
	
	.newsletter-bar h3 {
    	font-size: 22px;
	}
}

@media only screen and (max-width: 1200px) {
	
	p, li {
   	 	font-size: 16px;
	}

	.navbar-nav {
		padding-top: 7px;
	}

	.main-nav {
		width: 77%;
	}

	.sidebar-nav {
		width: 23%;
	}


	.affix #app-buttons {
		margin-top: 12px;
	}

	#app-buttons {
	
	}

	#app-buttons a div {
    
	}

	.navbar-inverse .navbar-nav>li>a {
		margin: 0 3px;
	}

	.navbar-nav>li>a {
    	padding: 10px !important;

	}
	
	.nav .dropdown-menu {
		top: 61px !important;
	}

	#main {
    	margin: 200px 0 0;
	}
	
	.banner {
		padding: 60px 0;
	}
	
	.navbar {
		margin: 9px 0 10px;
	}
	
	.navbar-inverse .navbar-nav>li>a {
		font-size: 13px;
	}
	
	.hero-copy h1 {
    	font-size: 30px;
	}
	
	.hero-copy {
		padding: 100px 0 0 40px;
	}
	
	.side-profile {
		padding: 30px 15px;
	}
	
	.sidebar {
		background-position: top left -145px;
	}
	
	.sidebar nav a {
		width: 70%;
	}
	
	.cta .stock {
		height: 250px;
	}
	
	.newsletter-bar h3 {
    	font-size: 18px;
	}
	
	.lenders li {
		width: 28.33%;	
		height: 150px;
	}
	
	.lendersSecond li {
    	width: 29%;
		height: 150px;
	}

}


@media only screen and (max-width: 1045px) {
.main-nav {
		width: 79%;
	}
}


@media only screen and (max-width: 1050px) {
	
	#app-buttons {
		margin-top: 15px;
		height: 25px;
	}

	#app-buttons a div, .affix #app-buttons a div {
    	width: 65px;
    	height: 25px;
   		margin: 0 3px;
	}

	.affix #app-buttons {
		margin-top: 15px;
		height: 25px;
	}
	
	.charity-btn {
		height: 73px;
	}
	
}


@media only screen and (max-width: 990px) {
	
	header .brokerInfo p {
    	font-size: 11px;
	}
	
	#logo {
		margin-top: 20px;
		width: 260px;
    	height: 65px;
	}
	
	.intro p {
    	font-size: 16px;
	}

	.main-nav {
		width: 82%;
	}

	.sidebar-nav {
		width: 18%;
	}

	#app-buttons {
		margin-top: 10px;
		height: 25px;
	}

	#app-buttons a div, .affix #app-buttons a div {
    	width: 65px;
    	height: 25px;
   		margin: 0 3px;
	}

	.affix #app-buttons {
		margin-top: 7px;
		height: 25px;
	}

	.navbar-nav>li>a {
    	padding: 5px 10px !important;
	}
	
	.navbar {
		margin: 10px 0;
	}
	
	.brokerInfo {
		width: 100%;
	}
	
	.brokerInfo p {
		font-size: 15px;
	}
	
	header.affix .brokerInfo p.name {
		font-size: 18px;
	}
	
	.header-info p.franchise_name {
		display: inline-block;
		font-size: 14px;
		margin-left: 70px;
	}
	
	#contacts .brokerInfo p.franchise_name {
		text-align: left;
	}
	
	.header-btns {
		width: 45px;
	}
	
	.charity-btn {
		height: 73px;
	}

	
	.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: 185px 0 0;
	}
		
	.banner {
		padding: 30px 0;
	}
	
	.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%;
	}
	
	.navbar-inverse .navbar-nav>li>a {
		font-size: 10px;
		margin: 0 2px;
	}
	
	.sidebar {
		display: none;
	}
	
	.cta .stock {
    	height: 200px;		
	}
	
	#rates li ul li {
		padding: 10px;
	}
	
	.hero-copy h1 {
    	font-size: 30px;
	}
	
	.navbar-nav>li>a {
    	padding-top: 10px;
    	padding-bottom: 10px;
	}
	
	.home-hero {
		height: 100vh;
		margin-top: 160px;
	}
	
	.hero-copy a {
    	font-size: 20px;
	} 
	
	.row.main-area {
		padding-left: 15px;
		padding-right: 15px;
	}
	
	.side-profile, .side-profile .social {
		display: flow-root;
	}
	
	.side-profile {
		margin-top: 200px;
	}
	
	.mortgage-types .col-md-4:nth-child(even) .cta {
    	height: 215px;
    	margin: 15px 0;
	}
	
	.nav>li>a {
		padding: 10px 5px;
	}
	
	.nav .dropdown-menu {
    	top: 51px !important;
		margin: 0 13px;
	}
	
	.nav .dropdown-menu li {
		font-size: 14px;
	}
	
	.newsletter-bar input { 
		margin: 10px 0;	
	}
	
	.newsletter-bar h3 {
		text-align: center;
		font-size: 24px;
	}
	
	.lenders li {
		width: 28.33%;
		height: 200px;
	} 
	
	.lendersSecond li {
		width: 29%;
	}
	
	.cta-chip {
		padding: 50px 15px;
	}
	
	.cta-chip p {
		text-align: center;
		margin-bottom: 30px !important;
	}
	
	body.mortgage-glossary .box {
		margin: 50px 0;
	}
	
}


@media only screen and (max-width: 875px) {
	.affix #app-buttons {
		margin-top: 10px;
	}

	#app-buttons a div, .affix #app-buttons a div {
    	width: 55px;
    	height: 25px;
	}
}





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


@media only screen and (max-width: 767px) {
	
	header, header.affix {
		position: relative
	}
	
	header .profilePic {
		float: none;
		margin: 0 auto 10px;
	}

	header.affix .navbar {
		margin: 10px 0 0 !important;
	}
	
	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%;
	}

	#app-buttons, .affix #app-buttons {
		width: 200px;
		float: none;
		margin: 0 auto;
		border: none;
	}

	#app-buttons a div, .affix #app-buttons a div {
    	width: 90px;
    	height: 40px;
	}
	
	.navbar-inverse .navbar-nav>li>a {
    	font-size: 14px;
	}

	.yamm .yamm-content a {
		padding: 5px;
	}
	
	.home-slider {
		margin-top: 0;
	}
	
	#contacts, 
	.container.header-info { 
		margin: 0 auto 0 auto; 
		text-align:center
	}

	.mobile_header{ 
		text-align:center; 
		clear:both
	}
	
	.charity-btn {
		margin: 10px;
		height: 50px;
	}

	
	.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;
	}
	
	.navbar-inverse {
		background-color: #ef4135;
	}
	
	.navbar {
		margin: 10px 0 0;
	 	padding: 5px 0;
	}
	
	.home-hero .request-a-call {
		display: none;
	}
	
	.home-hero {
		height: 60vh;
		margin-top: 0;
	}
	
	
	.hero-copy {
    	padding: 50px 0 0 40px;
	}
	
	.cta .stock {
    	height: 400px;
	}
	
	.row.cta .col-sm-4, .blueBG .col-sm-4 {
		margin: 20px 0;
	}
	
	section.cta {
		padding-bottom: 0;
	}
	
	.yamm .nav {
		background-color: #fff;
		padding: 15px;
	}
	
	.nav .dropdown-menu, .nav .dropdown-menu  ul {
		padding: 0;
	}
	
	.nav .dropdown-menu li {
		text-align: center;
	}
	
	.newsletter-bar h3 {
    	font-size: 20px;
	}
	
	.social-box-pic { 
		width: 100px;
		margin: -85px auto 20px;
		height: 100px;

	}

	.social-box-pic i {
		margin-top: 25px;
	}
}




@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
	}

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

	.nav .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
	}

	.nav .dropdown-menu li a strong {
		font-weight: 100
	}
	
	.lenders li, .lendersSecond li {
		width: 100%;
		height: 400px;
	} 
}

@media(min-width:720px){
	.nav .dropdown-menu.mortgages { 
		width:500px!important
	}
}
	
@media(max-width:600px){
	
	.home-slider{ 
		display:none
	}
	
	.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;
	}
	
	.cta .stock {
 	   height: 250px;
	}
	
	.banner h1 {
    	font-size: 24px;
	}

	.newsletter-bar h3 {
    	font-size: 17px;
	}
	
	.lenders li, .lendersSecond li {
		height: 200px;
	} 

}

@media(max-width:500px){

	#rates li ul li {
		font-size: 14px;
	}
	
}

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