body {
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	padding: 0;
	color: #343434;
}

a { text-decoration: none; color: #09496f; outline: none; }
a:hover { color: #730051; text-decoration: underline; }
p { font-size: 16px; line-height: 24px; font-family: 'Montserrat', sans-serif;}

#dmg_layout_internal h4 {
    color: #f2a41a;
    font: 600 18px/28px 'Montserrat', sans-serif;
    margin: 0 0 7px;
    text-transform: capitalize;
    word-spacing: -1px;
    letter-spacing: 1px;
}

.clearBoth {clear: both;}

.dmg_layout_intwrapper {position: relative; max-width: 1260px; margin: 0px auto;}

#eighty-one-red-bar {
	display: none;
}

#dmg_layout_internal-page .content-wrapper {
	padding: 10px 0 30px;
}

#dmg_layout_internal-page .content-header {
	margin-top: 0 !important;
}

.primary-bg {background: #005F83; color: #FFFFFF;}
.secondary-bg {background: #F0B323; color: #FFFFFF;}

.dmg_internal_subarea_dwell .primary-bg {background: #2064A3; color: #FFFFFF;}
.dmg_internal_subarea_dwell .secondary-bg {background: #00A9E0; color: #FFFFFF;}

.dmg_internal_subarea_ahm .primary-bg {background: #3EB1C8; color: #FFFFFF;}
.dmg_internal_subarea_ahm .secondary-bg {background: #F0B323; color: #FFFFFF;}

#dmg_layout_internal-page .slanted-content-wrapper:before {top: -1px;}


#dmg_layout_internal-page.dmg_internal_subarea_ahm .loan-types-desc h2 {
	color: #53565A !important;
}

.dmg_internal_subarea_ahm .content-button.button-primary {
    margin-top: 20px;
    border: 2px solid #3EB1C8;
    color: #3EB1C8;
}

.dmg_internal_subarea_ahm .content-button:hover {
    background: #3EB1C8;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

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

#dmg_layout_header {position: relative; z-index: 100; width: 100%; background: #ffffff;}

#dmg_layout_internal {
	margin-top: 0;
}

#dmg_layout_logo {
	float: left;
}

.two-header-logos img, #dmg_layout_logo.two-header-logos img {
    max-width: 220px;
    max-height: 60px;
}

#dmg_layout_logo img {
	margin: 30px 10px;
	cursor: pointer;
    max-width: 300px;
    width: 100%;
}

#dmg_layout_logo .dwell-logo {
	max-width: 240px;
}

#dmg_layout_logo2 {
    height: 90px;
    display: flex;
    align-items: center;
}

#dmg_layout_logo2 img {
    margin-left: 10px;
	cursor: pointer;
}

#dmg_layout_logo .dmg_layout_logo_florida {
	margin: 10px;	
	width: 230px;
	height: auto;
}

#dmg_layout_logo .dmg_layout_ahm {
	margin: 10px;
	width: 300px;
	height: auto;
}

#dmg_layout_logo a {
	cursor: pointer;
}

#dmg_layout_nav-holder {
    float: none;
    position: relative;
    top: 50px;
}

#dmg_layout_navSection {
	float: right;
	width: calc(100% - 380px);
}

.apply-button {
	width: 210px;
	height: 61px;
	background: #830065;
	border: 1px solid #FFFFFF;
	line-height: 61px;
	text-align: center;
	color: #FFFFFF;
	font-size: 21px;
	font-weight: bold;
	display: block;
	box-sizing: border-box;
}

.apply-button:hover {
	width: 210px;
	height: 61px;
	background: #f6b21f;
	color: #FFFFFF;
}


#ahm-lo .apply-button {
	background: #3EB1C8;
}

.apply-button:hover {
	text-decoration: none;
}

#ahm-lo .apply-button:hover {
	background: #f6b21f;
	color: #FFFFFF;
}

#ahm-lo #dmg_layout_topLinks a.topLink_login {
	background: #3EB1C8;
}

#ahm-lo #dmg_layout_topLinks a.topLink_login:hover {
	background: #f6b21f !important;
}



#dwell-lo .apply-button {
	background: #00A9E0;
}

.apply-button:hover {
	text-decoration: none;
}

#dwell-lo .apply-button:hover {
	background: #2064A3;
	color: #FFFFFF;
}

#dwell-lo #dmg_layout_topLinks a.topLink_login {
	background: #00A9E0;
}

#dwell-lo #dmg_layout_topLinks a.topLink_login:hover {
	background: #2064A3 !important;
}




/* == Desktop
============================================================================ */
@media only screen and (min-width: 1160px) {
	#dmg_advanced_nav #dmg_nav_top > li:last-child > a {
		color: #FFFFFF;
	}
	
	#dmg_nav_top > li:last-child > a {
		border-radius: 10px;
		background: #830065;
		color: #FFFFFF !important;
	}

	#dwell-lo #dmg_nav_top > li:last-child > a {
		background: #00A9E0;
	}
	
	#ahm-lo #dmg_nav_top > li:last-child > a {
		background: #3EB1C8;
	}

}

/* == Phone
============================================================================ */
@media only screen and (max-width: 600px) {
	#dmg_layout_internal-page .testimonial-title-internal {
		font-size: 40px;
	}
	

}




#dmg_layout_topLinks {
	float: right;
	background-color: #f4f4f4;
}

#dmg_layout_topLinks a {
	padding: 5px;
	color: #005c83;
	text-transform: uppercase;
	font-size: 12px;
	background: #f4f4f4;
}

#dmg_layout_topLinks a:hover {
	color: #1a1818;
	text-decoration: none;
}

#dmg_layout_topLinks a.topLink_login {
    background: #852065;
    color: #FFFFFF;
}

#dmg_layout_topLinks a.topLink_login:hover {
    background: #f6b21f !important;
    color: #FFFFFF;
}

#dmg_layout_topLinks .fa {
	color: #cbcbcb;
	font-size: 16px;
}

#dwell-lo #dmg_layout_topLinks a.topLink_login {
    background: #00A9E0;
    color: #FFFFFF;
}
#dwell-lo #dmg_layout_topLinks a.topLink_login:hover {
    background: #231F20;
}

#dmg_layout_agentInfo {
	
}

/*========== Agent Info Styles ==========*/

#dmg_layout_agentInfo {
	background-color: #f2a41a;
	position: relative;
	width: 100%;
	padding: 30px;
	box-sizing: border-box;
	overflow: hidden;
}

#dmg_layout_agentInfo:before {
	content: "";
	position: absolute;
	background-color: rgba(0,0,0,.6);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

#dmg_layout_agentInfoWrapper {
	float: left;
	width: calc(100% - 280px);
}

.photoWrapper {
    overflow: hidden;
    /* border-radius: 50%; */
    display: block;
    width: 150px;
    /* height: 150px; */
    /* border: 3px solid #f2a41a; */
    margin: auto;
    float: left;
}

#dwell-lo .photoWrapper,
#dwell-lo .photoWrapperSm {
    border-color: #00b2ef
}

.photoWrapper img {
    margin-top: -10px;
}

#dmg_layout_agentContact {
	float: left;
	min-height: 150px;
	border-left: 1px solid rgba(255,255,255,.3);
	padding-left: 30px;
	color: #ffffff;
	box-sizing: border-box;
	width: calc(100% - 190px);
}

#dmg_layout_agentContact h1 {
	margin: 0;
	padding: 0;
	font-size: 36px;
	line-height: 42px;
    color: #fff;
}

#dmg_layout_agentContact h2 {
	margin: 0;
	padding: 5px 0;
	font-size: 24px;
	line-height: 30px;
	font-weight: 300;
    color: #fff;
}

#dmg_layout_agentContact h3 {
	margin: 0;
	padding: 5px 0;
	font-size: 18px;
	line-height: 24px;
	font-weight: 300;
    color: #fff;
}

#dmg_layout_agentContact a,
#dmg_layout_agentContact a:link {
	color: #ffffff !important;	
}

#dmg_layout_agentInfoButtons {
	float: right;
	width: 250px;
}

#dmg_layout_agentInfoButtons img {
    max-width: 210px;
    margin-top: 5px;
}

.button-border {
    border: 1px solid #fff;
    box-sizing: border-box;
}

#dmg_layout_agentInfoButtons img:hover {
    filter: brightness(0.9);
}

.agent-info-button {
	background-color: #f2a41b;
	display: block;
	color: #ffffff;
	text-transform: uppercase;
	font-size: 18px;
	line-height: 24px;
	text-align: center;
	border: 2px solid #ffffff;
	padding: 8px;
	box-sizing: border-box;
	margin-bottom: 10px;
}

.agent-info-button:hover {
	background-color: #d18d15;
	text-decoration: none;
	transition: background-color .5s;
}

#dwell-lo .agent-info-button {
	background: #00A9E0;
}

#dwell-lo .agent-info-button:hover {
	background: #231F20;
}


#dmg_layout_agentInfoButtons .applyNow {
	background-image: url(/images/layout/applynowButton.png);
	background-color: transparent;
	text-align: left;
	border: none;
	height: 73px;
	padding: 27px 0px 20px 65px;
	font-weight: bold;
	font-size: 21px;
}

#dwell-lo #dmg_layout_agentInfoButtons .applyNow {
	background-image: url(/images/layout/dwell-apply-button.png);
	background-color: transparent;
	text-align: left;
	border: none;
	height: 91px;
	padding: 0;
	margin-bottom: 0;
	font-weight: bold;
	font-size: 0;
}

#dwell-lo #dmg_layout_agentInfoButtons .applyNow:hover {
	background-image: url(/images/layout/dwell-apply-button.png);
	filter: grayscale(1);
	background-color: transparent;
}

#dmg_layout_agentInfoButtons a.applyNow:hover {
	background-image: url(/images/layout/applynowButtonHover.png);
	background-color: transparent;
	transition: background-image .5s;
}

.why-dwell-disclaimer {
	margin-bottom: 120px;
}

/*========== Agent Info Styles ==========*/

#agent_bio, .testimonial_tree_wrap {
	padding: 40px 30px;
}

#agent_bio h4, .testimonial_tree_wrap h4 {
	font-size: 48px;
	color: #094970;
	line-height: 48px;
	margin: 0;
	padding: 0;
	text-align: center;
}

.testimonial_tree_wrap {
	border-top: 1px solid #efefef;
}

#TestimonialTree_Widget_28726 {
	margin-top: 40px;
}

/*========== Loan Type Styles ==========*/

#right_loan {
	background-color: #094970;
}

#right_loan h1 {
	color: #ffffff;
	font-size: 60px;
	line-height: 60px;
	text-align: center;
	font-weight: 200;
	margin: 0;
	padding: 40px 0;
	text-transform: uppercase;
}

#right_loan h1 span {
	font-weight: 400;
}

#dmg_layout_internal .loan-title {
	margin: 0 0 7px;
}

/*===== Partners page changes =====*/
#dmg_layout_agentInfo + .dmg_layout_promo-box {
	border-top: 2px solid #FFFFFF;
}

#dmg_layout_slideshow {width: 100%; height: 675px; margin: 0; float: left; position: relative;}
#dmg_layout_slideshow_images {position:relative; display:block; margin:0px; padding:0px; width:100%; height:675px; overflow:hidden;}
#dmg_layout_slideshow_images li {width: 100%; height: 675px; background-repeat: no-repeat; background-size: cover; background-position: center center; position:absolute; display:block; list-style-type:none; margin:0px; padding:0px; background-color:#FFFFFF;}
#dmg_layout_slideshow_images li img{display:block; background-color:#FFFFFF;}

#slogan_wrapper {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: auto;
    height: 675px;
    table-layout: fixed;
}

#slogan_wrapper {
    height: 550px;
}


#dmg_layout_slogan {
    vertical-align: middle;
    width: 100%;
    max-width: 1260px;
    padding: 10px;
    box-sizing: border-box;
    color: #ffffff;
    font-size: 72px;
    line-height: 72px;
    font-weight: 200;
    text-shadow: 2px 2px 10px rgba(0,0,0,.8);
}

.below_intrior_wrapper {
    width: 100%;
    max-width: 1260px;
    margin: auto;
}

#homepage_cta {
	background-color: #f2a41b;
	text-align: center;
}

#homepage_cta .below_intrior_wrapper {
	background-image: url(/shared/fs/0608/company/Redesign2018/fleurBY.gif);
	background-repeat: no-repeat;
	background-position: center 100px;
	padding: 170px 10px 75px 10px;
	box-sizing: border-box;
}

#homepage_cta h2 span {
	display: block;
	font-weight: 400;
}

#homepage_cta a {
    display: block;
    color: #ffffff;
    border: 2px solid #ffffff;
    text-transform: uppercase;
    font-size: 21px;
    line-height: 28px;
    padding: 10px;
    box-sizing: border-box;
    max-width: 340px;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

#homepage_cta a:hover {
	background-color: #d18d15;
	text-decoration: none;
	transition: background-color .5s;
}

#homepage_cta h2 {
	margin: 36px 0 10px;
    color: #ffffff;
    font-size: 48px;
    line-height: 48px;
	font-weight: 200;
	text-transform: none;
}

#dmg_layout_slogan .subheading {
    display: block;
    font-weight: 400;
}

#mortgage_types .fa {
	margin: 0 auto 8px;
	font-size: 72px;
	text-align: center;
	display: block;
	color: #09496F;
}

#mortgage_types p {text-align: center;}

#mortgage_types li {
	min-height: 245px;
}
 
#mortgage_types li:nth-of-type(4),
#mortgage_types li:nth-of-type(5),
#mortgage_types li:nth-of-type(6) {border-bottom: 0;}

#mortgage_types li:nth-of-type(2) .fa,
#mortgage_types li:nth-of-type(4) .fa,
#mortgage_types li:nth-of-type(6) .fa {color: #f2a41b}

.dmg_layout_promo-box,
#dmg_layout_slideshow,
#dmg_layout_slideshow_images,
#dmg_layout_slideshow_images li {
	height: 550px;
}

#slogan_wrapper {
	height: 550px;
}

.content-wrapper.id1449714 {
	padding: 0 10px;
}

/* == Phone
============================================================================ */
@media only screen and (max-width: 585px) {
	#mortgage_types li:nth-of-type(4), #mortgage_types li:nth-of-type(5) {
		border-bottom: 1px solid #e5e5e5;
	}
	

}

/*===== Loan Type Blocks =====*/

#mortgage_types {
	padding: 80px 0;
}

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

#mortgage_types li {
	display: block;
	float: left;
	width: 33.3%;
	vertical-align: top;
	padding: 30px;
	margin: 0;
	min-height: 335px;
	box-sizing: border-box;
	border-left: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;
}

#mortgage_types li:nth-child(1),
#mortgage_types li:nth-child(4),
#mortgage_types li:nth-child(7) {
	border-left: none;
}

#mortgage_types li:nth-child(7),
#mortgage_types li:nth-child(8),
#mortgage_types li:nth-child(9) {
	border-bottom: none;
}

#mortgage_types li img {
	padding-bottom: 5px;
}

#mortgage_types li h4 {
	color: #09496f;
	font-size: 24px;
	line-height: 30px;
	text-transform: uppercase;
	padding: 10px 0;
	margin: 0;
	font-weight: 200;
}

#mortgage_types li p {
	font-size: 16px;
	color: #1a1818;
	margin: 0;
	padding: 0;
}

/*===== Footer Styles ======*/
#dmg_layout_footer {
    clear: both;
}

#dmg_layout_contact {
	background-color: #000000;
	width: 100%;
}

#dmg_layout_contact .dmg_layout_holder {
	padding: 25px 10px;
	width: 100%;
	max-width: 1260px;
	box-sizing: border-box;
	margin: auto;
}

.dmg_layout_tel {
	float: left;
	color: #ffffff;
	font-size: 30px;
	line-height: 30px;
	vertical-align: middle;
}

#dmg_layout_social {
	float: right;
	font-size: 30px;
	line-height: 30px;
	vertical-align: middle;
}

#dmg_layout_social a {
	color: #a3a3a3;
}

#dmg_layout_social a:hover {
	color: #f2a31a;
	text-decoration: none;
}

/*===== Footer Affiliate Logos =====*/

#dmg_layout_affilliate .dmg_layout_holder,
.dmg_layout_bottom-footer .dmg_layout_holder {
	padding: 25px 10px;
	width: 100%;
	max-width: 1260px;
	box-sizing: border-box;
	margin: auto;
}

#dmg_layout_affilliateGroup1 {
	float: left;
}

#dmg_layout_affilliateGroup2 {
	float: right;
	line-height: 99px;
}

#dmg_layout_affilliateGroup2 img {
	line-height: 99px;
	vertical-align: middle;
}

#dmg_layout_affilliateGroup2 > a:nth-child(2) {
	margin: 0 20px;
}

#dwell-lo .gayborhood-link,
#dwell-lo .neighborhood-champion-link,
#dwell-lo .close-img {
	display: none;
}

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

.dmg_layout_bottom-footer{margin-bottom: 75px;}

#dmg_layout_disclaimer {
	border-top: 1px solid #e5e5e5;
	text-align: left;
	font-size: 12px;
	line-height: 18px;
	padding-top: 40px;
}

#dmg_layout_disclaimer p {
	font-size: 12px;
	line-height: 18px;
	padding: 0;
	margin: 0;
}

.state_license {
	text-align: left !important;
	font-size: 12px;
}

#dmg_layout_disclaimer a {
	color: #094970;
	text-transform: uppercase;
	font-size: 14px;
}

#dmg_layout_disclaimer #dmg_shared_copyright_links {
	list-style-type: none;
	margin: 0 0 20px 0;
	padding: 0;
}

#dmg_layout_disclaimer #dmg_shared_copyright_links li {
	display: inline-block;
	
}

#dmg_layout_disclaimer #dmg_shared_copyright_links li:before {
	content: "•";
	padding: 0 5px;
	line-height: 17px;
    vertical-align: top;
}

#dmg_layout_disclaimer #dmg_shared_copyright_links li:first-child:before {
	display: none;
}

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

#dmg_layout_attachedFooter {
	background-color: #eeeeee;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 500;
}

.photoWrapperSm {
	position: absolute;
    overflow: hidden;
    border-radius: 50%;
    display: block;
    width: 100px;
    height: 100px;
    border: 3px solid #f2a41a;
    margin:  0 20px 0 0;
    float: left;
    bottom: 5px;
}

.photoWrapperSm img {
    margin-top: -10px;
    width: 100px;
    height: auto;
}

#attFooter_name {
	font-size: 18px;
	line-height: 24px;
	vertical-align: middle;
	font-weight: 600;
	float: left;
	padding: 20px 0 20px 130px;
	
}

#attFooter_phone {
	font-size: 16px;
	line-height: 24px;
	vertical-align: middle;
	float: left;
	padding: 20px 0 20px 130px;
}

#attFooter_email {
	font-size: 16px;
	line-height: 24px;
	vertical-align: middle;
	float: left;
	padding: 20px 0 20px 130px;
}

#attFooter_phone .fa,
#attFooter_email .fa {
	color: #c5c5c5;
	padding-right: 5px;
	font-size: 21px;
	line-height: 24px;
	vertical-align: middle;
}

/*===== Interior Pages =====*/

#dmg_contact_wrapper {

    width: 100%;
    max-width: 1260px !important;
    margin: 0 auto;

}

/* == PHONE LANDSCAPE & PORTRAIT
============================================================================ */

@media only screen and (max-width: 1100px) {
    #mortgage_types li {
    		min-height: 365px;
    }

    .two-header-logos img, #dmg_layout_logo.two-header-logos img {
        max-width: 190px;
        max-height: 50px;
    }
}


@media only screen and (max-width: 1000px) {
    #mortgage_types li {
    		min-height: 375px;
    }
}

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

	#dmg_layout_navSection {
		background-color: #f4f4f4;
		float: none;
		width: 100%;
	}

    #dmg_layout_logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width:100%;
    }
	
    #dmg_layout_logo.two-header-logos {
        width: 50%;
        float: left;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        height: 80px;
    }

    #dmg_layout_logo2 {
        width: 50%;
        float: left;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 80px;
    }

    #dmg_layout_logo.two-header-logos img,
    #dmg_layout_logo2 img {
        margin: 0 10px;
    }
    
    #dmg_layout_nav-holder {
        float: none;
        position: relative;
        top: 0px;
    }
    
    #dmg_layout_topLinks {
    		float: left;
    }
    
    #attFooter_name {
	    float: none;
	    padding: 20px 0 0px 130px;
    }
    
    #attFooter_phone {
	    padding: 10px 0 10px 130px;
	}
	
	#attFooter_email {
	    padding: 5px 0 10px 20px;
	}
    
}	

@media only screen and (max-width: 930px) {
    #mortgage_types li {
    		min-height: 430px;
    }
}


/* == PHONE LANDSCAPE & PORTRAIT
============================================================================ */
@media only screen and (max-width: 810px) {
	#mortgage_types li {
    		min-height: 460px;
    }
}

@media only screen and (max-width: 800px) {
	
	    #dmg_layout_affilliateGroup1,
    #dmg_layout_affilliateGroup2 {
        	float: none;
        	text-align: center;
    }
	
	
}


@media only screen and (max-width: 768px) {
	    
    #mortgage_types li {
        	width: 50%;
        	min-height: 360px;
    }
    
    #mortgage_types li:nth-child(3),
    #mortgage_types li:nth-child(5),
    #mortgage_types li:nth-child(7) {
    		border-left: none;
    }
    
    #mortgage_types li:nth-child(4) {
   	 		border-left: 1px solid #e5e5e5;
    }
    
    #mortgage_types li:nth-child(7),
    #mortgage_types li:nth-child(8) {
    		border-bottom: 1px solid #e5e5e5;
    }
    
    #mortgage_types {
    		padding: 50px 0;
    }
    
    .photoWrapper {
    		float: none;
    		margin: 0 auto 20px auto;
    }
    
    #dmg_layout_agentContact {
    		border-left: none;
    }
    
    #dmg_layout_agentInfoWrapper {
		float: none;
		width: 100%;
	}
	
	#dmg_layout_agentContact {
		float: none;
		width: 100%;
		padding-left: 0;
		text-align: center;
	}

	#dmg_layout_agentInfoButtons {
	    float: none;
	    margin: auto;
	}
	
}

@media only screen and (max-width: 650px) {
	
    #dmg_layout_affilliateGroup1,
    #dmg_layout_affilliateGroup2 {
        	float: none;
        	text-align: center;
    }
    
	#mortgage_types li {
        	min-height: 410px;
    }
        
    #dmg_layout_affilliateGroup2 img {
    		max-width: 100%;
    		height: auto;
    }
    
   #attFooter_name {
	    float: none;
	    padding: 20px 0 10px 130px;
    }
    
    #attFooter_phone {
	    padding: 0px 0 5px 130px;
	    float: none;
	}
	
	#attFooter_email {
	    padding: 0px 0 10px 130px;
	    float: none;
	}

    
    
    

}

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

	#mortgage_types li {
        	min-height: auto;
        	width: 100%;
        	border-left: none;
    }

}	

/* == PHONE LANDSCAPE & PORTRAIT
============================================================================ */
@media only screen and (max-width: 480px) {
	
	.topLink_calc, .topLink_login {
		display: none;
	}
	
	#dmg_layout_contact .dmg_layout_holder {
		text-align: center;
	}
	
	.dmg_layout_tel {
        	float: none;
        	width: 100%;
        	text-align: center;
        	margin-bottom: 10px;
        	display: block;
    }
    
    #dmg_layout_social {
        	float: none;
        width: 100%;
    }
    
   #dmg_layout_affilliateGroup2 > a:nth-child(2) {
    		margin: 0 10px;
    }
    
    #dmg_layout_disclaimer {
    	text-align: center;
    }
    
    #dmg_layout_disclaimer a {
    	font-size: 12px;
    }
    
    #dmg_layout_disclaimer ul {
    		text-align: center;
    }
    
    .photoWrapperSm {
    		width: 75px;
    		height: 75px;
    		margin: 0 10px;
    }
    
    .photoWrapperSm img {
    		width: 75px;
    }
    
    #dmg_layout_attachedFooter i {
    		display: none;
    }
    
    #attFooter_name {
	    padding: 10px 0 3px 110px;
    }
    
    #attFooter_phone {
	    padding: 0px 0 3px 110px;
	    float: none;
	}
	
	#attFooter_email {
	    padding: 0px 0 5px 110px;
	    float: none;
	}


    #dmg_layout_logo,
    #dmg_layout_logo2 {
        width: 100%;
        float: none;
        justify-content: center;
        height: auto;
    }

    #dmg_layout_logo img,
    #dmg_layout_logo2 img {
        margin: 10px auto;
    }
    

}	

.mortgage-wallet-large {
	display: none !important;
}

.dmg_payment_results .dmg_detail_ppm {
	background: #005F83 !important;
}

p.dmg_detail_ppm {
    margin: 0 0 10px !important;
    padding: 15px 5px !important;
}

a {
    text-decoration: none;
    color: #09496f;
    outline: none;
}

.contact.content-header {
	margin-top: 0;
}

.company-contact-wrapper {
	margin-top: 0 !important;
}

.content-button.button-primary {
    margin-top: 20px;
    border: 2px solid #005F83;
    color: #005F83;
}

.alignCenter {
    text-align: center;
}

/* == Mobile Responsive Menu
============================================================================ */
#dmg_advanced_nav {height: 2000px;}
#dmg_advanced_nav label { padding:0 0.25em; font:3.125em/1.375em Arial }
#dmg_advanced_nav .sub-nav .toggle { font:2em/2em Arial; top:0;}
#dmg_advanced_nav label:hover { color:#ccc }
#main-nav-check, #dmg_advanced_nav .sub-nav-check { position:absolute; top:-9999px; left:-9999px }
.toggle {margin: 6px 10px 0 0; position:relative; cursor:pointer; color:#005c83; font-size: 36px; float: right; clear: right;}
#dmg_layout_nav-holder .toggle { 6px 10px 0 0 !important;}
#dmg_advanced_nav > .toggle {height: 65px; font-size: 36px;}
#dmg_advanced_nav .toggle {margin: 0; position:absolute; top: 55px; right:20px; cursor:pointer; color:#fff; font-size: 66px; float: none;}
#dmg_advanced_nav .toggle {position:absolute; top: 0; right:0; cursor:pointer; color:#fff; font-size: 66px; line-height: 1em;}
#dmg_advanced_nav, #dmg_advanced_nav .sub-nav { position:absolute; top:0; bottom:0; width:13.75em; background: #222; z-index:9999; right:-13.75em; -webkit-transform:translate(0,0); -ms-transform:translate(0,0); transform:translate(0,0); transition:transform .25s ease;}
#dmg_advanced_nav ul { background:#222; line-height:2.75em; text-decoration:none; padding:0; list-style:none; margin-top:4.0625em; border-top: 1px solid #444; text-align: right;}
#dmg_advanced_nav li { border-bottom:1px solid #444 }
#dmg_advanced_nav li a { display:block; font-size:0.875em; padding-left: 1.5em; padding-right: 45px; color:#fff; text-decoration:none; text-align: left;}
#dmg_advanced_nav li a:hover, #dmg_advanced_nav .toggle-sub:hover { background:#333 }
#dmg_advanced_nav ul ul ul li a {text-align: left;}
#dmg_advanced_nav .sub-nav { margin-top:-1px }
#dmg_advanced_nav .sub-heading {margin-top:4.0625em; color:#999; border-top: 1px solid #444444; text-align: center; }
#dmg_advanced_nav .sub-heading span {width: 160px; padding: 8px 10px; line-height: 1.125em; display: table-cell; text-align: left;}
#dmg_advanced_nav .sub-nav .sub-heading .toggle {display: table-cell; vertical-align: middle; position: relative; line-height: 1em;}
#dmg_advanced_nav .toggle-sub span {width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 8px solid #FFFFFF; display: inline-block;}
#dmg_advanced_nav .toggle-sub { font:bold 1em/2.75em Arial; color:#fff; background:#222; margin-top:-2.75em; width:2.25em; border-left:1px solid #444; cursor:pointer; text-align:center;}
#main-nav-check:checked + #dmg_advanced_nav,
#dmg_advanced_nav .sub-nav-check:checked + [id$="_sub"] /* matches all elements with id ending "-sub" */ { 
	-webkit-transform:translate(-13.75em,0); -ms-transform:translate(-13.75em,0); transform:translate(-13.75em,0);
}

#dmg_advanced_nav li {width: 100%; display: table; border-collapse: collapse;}
#dmg_advanced_nav li a {width: 82%; padding: 0 10px; display: table-cell; line-height: 1.25em; height: 40px; vertical-align: middle; box-sizing: border-box;}
#dmg_advanced_nav label {display: table-cell; vertical-align: middle; margin-top: 0;}
#dmg_advanced_nav .toggle-sub {width: 18%; margin-top: 0;}

	

/* == Desktop Responsive Menu Overrides
============================================================================ */
@media ( min-width:1160px ) {
	#dmg_layout_nav {height: 0;}
	.toggle {display: none;}
	#dmg_advanced_nav li {width: auto; display: block; border-collapse: collapse;}
	#dmg_advanced_nav li a {width: auto; display: block; box-sizing: border-box;}
	
	#dmg_advanced_nav {width: 100%; max-width: 960px; margin: 0 auto 5px; clear: both; position: relative;} 
	#dmg_advanced_nav, #dmg_advanced_nav .sub-nav { -webkit-transform:translate(0,0) !important; -ms-transform:translate(0,0) !important; transform:translate(0,0) !important }
	#dmg_advanced_nav, #dmg_advanced_nav .sub-nav { position:absolute; top:0; bottom:0; width:13.75em;z-index:9999; right: auto }
	#dmg_advanced_nav .sub-nav .sub-nav {border-left: 1px solid #ffffff;}
	#dmg_advanced_nav label, #dmg_advanced_nav .sub-nav, #dmg_advanced_nav .sub-heading{ display:none }
	#dmg_advanced_nav li a {font-size: 16px;}
	#dmg_advanced_nav #dmg_nav_top ul li a {background: #ffffff; color: #1a1818;}
	#dmg_advanced_nav #dmg_nav_top ul li a:hover, #dmg_advanced_nav #dmg_nav_top ul li:hover > a, #dmg_advanced_nav .toggle-sub:hover {background: #1a1818; color: #ffffff;}
	#dmg_advanced_nav #dmg_nav_top > li > a {height: 40px; padding: 0 10px; font-size: 16px; color: #1a1818; line-height: 40px; text-align: center; box-sizing: border-box;}
	#dmg_advanced_nav #dmg_nav_top > li > a:hover, #dmg_advanced_nav #dmg_nav_top > li:hover > a {color: #f6b21f; background: transparent}
	#dmg_advanced_nav #dmg_nav_top > li:last-child > a:hover, #dmg_advanced_nav #dmg_nav_top > li:last-child:hover > a {background: #f6b21f; color: #FFFFFF}

	#dwell-lo #dmg_advanced_nav #dmg_nav_top > li > a:hover, #dwell-lo #dmg_advanced_nav #dmg_nav_top > li:hover > a {color: #f6b21f; background: transparent;}

	#dwell-lo #dmg_advanced_nav #dmg_nav_top > li:last-child > a:hover, #dwell-lo #dmg_advanced_nav #dmg_nav_top > li:last-child:hover > a {background: #2064A3; color: #FFFFFF}

	


	#dmg_advanced_nav #dmg_nav_top > li > .toggle-sub {float: right; display: none;}
	#dmg_advanced_nav {width:100%; left: auto; bottom: auto; height: 0;}
	#dmg_advanced_nav .toggle-sub { display:inline-block; margin-top:-3.25em; margin-right:0.25em; border: 0; border-left:0; float: none; background:transparent}
	#dmg_advanced_nav ul ul .toggle-sub {background: #ffffff; height: 100%; margin-top:0; margin-right:0; padding: 0 1em; display: table-cell; height: 100%; vertical-align: middle;}
	#dmg_advanced_nav ul li:hover > label { color:#ccc }
	#dmg_advanced_nav .dmg_nav_wrapper > ul {background: none; border: 0; position:relative; z-index:1; margin-top: 0; top: 0; right:0; margin-bottom: 0; line-height: 1em; display:inline-table; border-right:0; font-size: 14px; float: right;}
	#dmg_advanced_nav .dmg_nav_wrapper > ul > li {border-bottom: 0; text-align: center;}
	#dmg_advanced_nav li {border: 0;}
	#dmg_advanced_nav .dmg_nav_wrapper > ul > li > .toggle-sub {font: bold 1em/1em Arial; margin-top: -22px; width: 1.125em; margin-right: .5em;}
	#dmg_advanced_nav ul:after { content:""; clear:both; display:block }
	#dmg_advanced_nav ul li { float:left; position:relative; text-align:left; display: table; height: 100%;}
	#dmg_advanced_nav ul li a {padding:0.5em 3.75em 0.5em 1.5em; width: 100%}
	#dmg_advanced_nav ul li a:only-child { padding-right:1.5em }
	#dmg_advanced_nav ul li:hover > a { background:#333; transition:background-color .25s ease }
	#dmg_advanced_nav ul li:hover > label {background: #1a1818; transition:background-color .25s ease }
	#dmg_advanced_nav ul li:hover > ul { display:block }
	#dmg_advanced_nav ul ul {position:absolute; left:0; margin-left:-1px; border-top: 0;}
	#dmg_advanced_nav ul ul li { float:inherit; width:13.75em; }
	#dmg_advanced_nav ul ul li a { padding: 7px 5px; display: table-cell; vertical-align: middle; line-height: 1.5em;}
	#dmg_advanced_nav ul ul li a:after { right:0.375em; margin-top:-1.6875em; -webkit-transform:none; -ms-transform:none; transform:none }
	#dmg_advanced_nav ul .sub-nav {top:auto; bottom:auto; left:auto; width:auto; margin-top:0; -webkit-transform:none !important; -ms-transform:none !important; transform:none !important; box-shadow: 3px 3px 8px #333333;}	
	#dmg_advanced_nav ul ul .sub-nav { float:left; top:0; left: 192px; margin-left:0; margin-top:-1px }
	#dmg_advanced_nav ul .fly-left ul { left:-13.75em; margin-left:-2px }
	#dmg_advanced_nav ul .fly-left ul li { float:none }
	#dmg_advanced_nav ul .fly-left .toggle-sub { right:auto; left:0.5em; left:0.375em; padding-bottom:1px; border-right:1px solid #444; -webkit-transform:rotate(-180deg); -ms-transform:rotate(-180deg); transform:rotate(-180deg) }
	#dmg_nav_top > li > .toggle-sub span {width: 0; height: 0; margin: 4px 0 0; border-top: 8px solid #FFFFFF; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 0; display: inline-block;}

		#dmg_nav_top ul li:first-child {border-bottom: 1px solid #ffffff;}
	#dmg_nav_top ul li + li {border-top: 1px solid #ffffff; border-bottom: 1px solid #ffffff;}
	#dmg_nav_top ul .sub-heading + li {border-top: 0;}
	#dmg_nav_top ul li:last-child {border-bottom: 0;}
		
}

/*===== Calculator Stuff =====*/

h1 {
	max-width: 1280px;

margin: auto;

width: 100%;
margin-top: 20px;
}

.dmg_payment_content {
	max-width: 1280px;

margin: auto;

width: 100%;	
margin-bottom: 20px;
}
#calculator_frame {
	background-color: #efefef;
	padding: 80px 10px;
}

#calculator_frame h2.calcultor_title {
	color: #094970;
	font-size: 48px;
	line-height: 60px;
	text-align: center;
	font-weight: 300;
	text-transform: uppercase;
}

#calculator_frame h2.calcultor_title span {
	font-weight: 400;
	}

.dmg_payment_flex {

    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;

}

.dmg_payment_calc {

    width: 49%;

}


.mort_item i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

.dmg_payment_form {
    padding: 40px;
    background: #EFEFEF;
    box-sizing: border-box;
    width: 49%;
}

.dmg_payment_results .dmg_detail_ppm {
	font-size: 30px !important;
    line-height: 30px !important;
    color: #f2a41a;
}

.MonthlyPayment_wrapper {
	font-size: 24px;
    line-height: 30px;
}

.dmg_chart_legend > span {
	font-size: 18px;
    line-height: 36px;
    display: block;

}

.dmg_mortgage_item {

    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    padding-bottom: 15px;

}

.dmg_payment_form label {

    width: 130px;
    height: 36px;
    font-size: 16px;
    line-height: 36px;
    display: inline-block;

}

.mortgage_item_bg {

    background: #FFFFFF;
    border: 1px solid #d4d4d4;
    flex: 2;
    box-sizing: border-box;

}

.dmg_payment_form {

    padding: 40px;
    background: #e0e0e0;
    box-sizing: border-box;

}
.dmg_payment_form {

    width: 49%;

}

.dmg_payment_form input[type="text"] {

    width: 90px;
    height: 34px;
    line-height: 34px;
    padding: 0 0 0 5px;
    border: 0;
    box-sizing: border-box;

}

.mort_desc {

    height: 34px;
    line-height: 34px;
    padding-right: 5px;
    font-size: 14px;
    color: #888888;
    float: right;

}

.dmg_payment_form #mortdownpaymentrate_responsive {

    width: 30px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    border: 0;
    float: left;

}

.mortgage_item_bg.two_fields input[type="text"] {

    height: 36px;
    line-height: 36px;
    border: 1px solid #d4d4d4;

}

.mortdownpaymentrate_bg {

    background: #FFFFFF;
    height: 36px;
    line-height: 36px;
    padding-right: 5px;
    border: 1px solid #d4d4d4;
    box-sizing: border-box;
    float: right;

}


.mortgage_item_bg.two_fields {

    background: none;
    border: 0;
    display: flex;
    flex-flow: row wrap;

}

#mortdownpayment_responsive {
	margin-right: 12px;
	width: calc(100% - 65px);
}

.dmg_payment_form button {
	display: block;
	color: #ffffff;
	text-transform: uppercase;
	font-size: 21px;
	line-height: 48px;
	width: 100%;
	text-align: center;
	margin-top: 30px;
	margin-left: auto;
	margin-right: auto;
	background-color: #005c83;
	border: none;
	font-family: 'Montserrat', sans-serif;
}

.dmg_payment_form button:hover {
	background-color: #003b54;
}

.highcharts-background {
	fill: transparent !important;
}

/*
.highcharts-color-0 {
	fill: #f2a41a;
}
*/

@media screen and (max-width: 768px) {
	.dmg_payment_flex {

	    flex-flow: column;
	
	}
	
	.dmg_payment_form {

    padding: 10px;

}

.dmg_payment_calc,
.dmg_payment_form {

    width: 100%;

}
	
}

