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

#dmg_layout_internal {width: 100%; max-width: 1260px; padding: 0 10px; box-sizing: border-box; box-shadow: none;}
.dmg_layout_internal_background {background: #FFFFFF;}
#dmg_layout_internal-page {padding: 10px 0;}

#dmg_layout_wrapper {
	/* overflow: visible; */
}

#dmg_dynamic_office_wrapper {
    max-width: 1280px;
    margin: 30px auto;
	padding: 0 5px;
	overflow: hidden;
	box-sizing: border-box;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}

#dmg_dynamic_office_wrapper h1 {
	width: 100%;
}


.dmg_layout_internal_background #dmg_layout_header {
	background: #FFFFFF;
}

.id1153322 #dmg_layout_internal-page,
.idPrivacy #dmg_layout_internal-page {
    max-width: 1024px;
    margin: 20px auto;
}

.idPrivacy font {
    font-family: inherit;
    font-size: 16px;
    line-height: 1.375em;
}

.idPrivacy li {
    margin-bottom: 12px;
}

.cursive-font {
	font-family: "zooja-pro", cursive;
}

.montserrat {
	font-family: 'Montserrat', sans-serif;
} 

.apply-button-wrapper.atf-appply a{background:#f4b120;}
.apply-button-wrapper.apply-now.atf-appply a:hover{background:#005f84; border: 2px solid #005f84;}

.service-no-icon .service-link, #apply-list a, .service-no-icon span, .refinace-submit{background: #005f84; border-radius: 0; border-top: 1px solid #FFFFFF;}

.apply-button-wrapper a.active-button {
	border-radius: 10px 10px 0 0;
}

.service-no-icon .service-link:hover, #apply-list a:hover{background:#f4b120;}

.service-back{background:#571745;color: #fff;}


.videoWrapper {
    position: relative;
    padding-bottom: 50.0%;
    padding-top: 25px;
    height: 0;
    margin: 0 auto 20px auto;
}

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

.fa-book:before {
    content: "\f02d";
}

.content_col1 {
	width: 55%;
	float: left;
}

.content_col2 {
	width: 40%;
	float: right;
}

#dmg_layout_hero {
	width: 100%;
	height: 550px;
	display: table;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	text-align: center;
	background-color: #efefef;
}

#dmg_layout_hero.dmg_layout_heroDisclaimer,
#dmg_layout_hero.dmg_layout_heroPrivacy {
    height: 280px;
    background: #005F83;
}

#dmg_layout_hero.dmg_layout_heroBlog {
    height: 108px;
}

.dmg_layout_heroAbout {
	background-image: url(/images/layout/about-hero.jpeg);
}

#dmg_layout_hero.dmg_layout_heroContact {
	background: transparent;
    height: 130px;
}

.dmg_layout_heroDispute {
	background-image: url(/shared/fs/0608/company/Redesign2018/InteriorBanner3.jpg);
}

#dmg_layout_hero.dmg_layout_heroLoanOfficers {
	background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(/images/layout/redesign/lender-bg3.jpg);
    /* background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url(/shared/images/predesigns/bg-large/backyard-of-house-280222.jpg); */
    background-position: 100% 50%;
}

.dmg_layout_heroDefault {
	background-image: url(/shared/fs/0608/company/Redesign2018/InteriorBanner5.jpg);
}

.dmg_layout_heroCareers {
	background-image: url(/shared/fs/0608/company/Redesign2018/InteriorBanner6.jpg);
}

.dmg_layout_heroRenovation {
	background-image: url(/shared/fs/0608/company/Redesign2018/renovationHeader.png);
}

#dmg_layout_hero.dmg_layout_heroNone {
	display: none;
}

#dwell-lo .dmg_contact_item.dmg_contact_OfficeLocation {
	display: none;
}


#dmg_layout_internal.dmg_internal_area_contactus {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.dmg_internal_area_contactus .company-contact-banner {
    height: 110px;
}

.dmg_internal_area_contactus .company-contact-wrapper {
    margin: 20px auto 0;
}

#dmg_layout_internal.dmg_internal_area_contactus .company-contact-title {
    margin: 37px 0 60px;
}

#dmg_layout_internal .company-flex-item.company-info {
    padding: 20px 20px 0 0;
}

/*===== Custom Button Colors =====*/
.dmg_internal_subarea_dwell .apply-button-wrapper.apply-now.atf-appply a {
	background: #00A9E0;
	border: 2px solid #00A9E0;
}

.dmg_internal_subarea_dwell .apply-button-wrapper.apply-now.atf-appply a:hover {
	background: #2064A3;
	border: 2px solid #2064A3;
}

.dmg_internal_subarea_dwell .app-button {
	background: #00A9E0;
	border: 2px solid #00A9E0;
}

.dmg_internal_subarea_dwell .app-button {
	background: #00A9E0;
	border: 2px solid #00A9E0;
}

.dmg_internal_subarea_dwell .app-button:hover {
	background: #2064A3;
	border: 2px solid #2064A3;
}

.dmg_internal_subarea_dwell .advantage-body .apply-button {
	background: #00A9E0 !important;
}

.dmg_internal_subarea_dwell .advantage-body .apply-button:hover {
	background: #2064A3 !important;
	border: 2px solid #2064A3;
}

.dmg_internal_subarea_dwell .refinance-button {
	background: #00A9E0 !important;
}

.dmg_internal_subarea_dwell .refinance-button:hover {
	background: #2064A3 !important;
}

.dmg_internal_subarea_ahm .apply-button-wrapper.apply-now.atf-appply a {
	background: #3EB1C8;
	border: 2px solid #3EB1C8;
}

.dmg_internal_subarea_ahm .apply-button-wrapper.apply-now.atf-appply a:hover {
	background: #F0B323;
	border: 2px solid #F0B323;
}

.dmg_internal_subarea_ahm .app-button {
	background: #3EB1C8;
	border: 2px solid #3EB1C8;
}

.dmg_internal_subarea_ahm .app-button {
	background: #3EB1C8;
	border: 2px solid #3EB1C8;
}

.dmg_internal_subarea_ahm .app-button:hover {
	background: #F0B323;
	border: 2px solid #F0B323;
}

.dmg_internal_subarea_ahm .advantage-body .apply-button {
	background: #3EB1C8 !important;
}

.dmg_internal_subarea_ahm .advantage-body .apply-button:hover {
	background: #F0B323 !important;
	border: 2px solid #F0B323;
}

.dmg_internal_subarea_ahm .refinance-button {
	background: #3EB1C8 !important;
}

.dmg_internal_subarea_ahm .refinance-button:hover {
	background: #F0B323 !important;
}



/*===== Interior Content =====*/

#dmg_layout_internal h1 {
	font-size: 38px;
	line-height: 38px;
	margin-bottom: 10px;
}

#dmg_layout_internal h2 {
	font-size: 28px;
	line-height: 28px;
	margin-top: 40px;
    margin-bottom: 10px;
    color: #232323;
}

#dmg_layout_internal p {
	font-size: 16px;
	line-height: 24px;
}

.dmg_internal_area_customContent p {
	margin: 0;
	padding: 0 0 20px 0;
	
}

.dmg_internal_area_customContent p strong {
	font-weight: 600;
}

#dmg_layout_internal #dmg_contact_wrapper {
    max-width: 12400px;
}

/*===== Offices =====*/
.office-wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}
.office-wrapper h2 {
    width: 100%;
}

.column_office {
    width: 100%;
    max-width: 266px;
    font-size: 16px;
    line-height: 24px;
    page-break-inside: avoid;
    min-height: 230px;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-flow: column;
    background: #f6f6f6;
    margin: 0 15px;
    margin-bottom: 30px;
    font-feature-settings: 'lnum' 1;
}

.column_office h3 a {
	font-size: 24px;
	line-height: 24px;
	margin: 0 auto 10px auto;
}

.dmg_office_button {
	display: block;
	border: 2px solid #09496f;
	width: 100%;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 36px;
	text-align: center;
	max-width: 270px;
	margin: 10px auto 10px auto;
}

.dmg_office_button:hover {
    background-color: #09496f;
    color: #ffffff;
    text-decoration: none;
}

.office_byState {
	margin-bottom: 60px;
	display: none;
	clear: both;
}

#dmg_layout_internal .office_byState h3 {
	font-size: 24px;
}

@media only screen and (max-width: 768px) {
    .office-wrapper {
        justify-content: center;
    }
}

#dmg_layout_internal .lender-wrapper h2{color:#09496f;}

/* add state to show office/agent block */
#state_AL:checked ~ .state_AL,
#state_AZ:checked ~ .state_AZ,
#state_CA:checked ~ .state_CA,
#state_CO:checked ~ .state_CO,
#state_FL:checked ~ .state_FL,
#state_GA:checked ~ .state_GA,
#state_ID:checked ~ .state_ID,
#state_KY:checked ~ .state_KY,
#state_LA:checked ~ .state_LA,
#state_MD:checked ~ .state_MD,
#state_MO:checked ~ .state_MO,
#state_NJ:checked ~ .state_NJ,
#state_NC:checked ~ .state_NC,
#state_OH:checked ~ .state_OH,
#state_PA:checked ~ .state_PA,
#state_SC:checked ~ .state_SC,
#state_TN:checked ~ .state_TN,
#state_TX:checked ~ .state_TX,
#state_UT:checked ~ .state_UT,
#state_VA:checked ~ .state_VA,
#state_WA:checked ~ .state_WA,
#state_WV:checked ~ .state_WV {
	display: block;
}


.office_label h3:after {
	content: "\f054";
	font-family: FontAwesome;
	font-size: 24px;
	color: #ebebeb;
	line-height: 50px;
	vertical-align: middle;
	padding-left: 10px;
}

.state_checkbox:checked + .office_label h3:after {
	content: "\f078";
}

.state_checkbox {
	display: none;
}

#dmg_layout_internal-page .office_label {
	text-align: center;
}

#dmg_layout_internal-page .office_label h3 {
	color: #09496f;
	line-height: 50px !important;
	vertical-align: middle;
	margin: 0;
	padding: 0;
	font-size: 24px;
}

.office_label:after {
	content: "";
	display: block;
	clear: both;
}

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

#dmg_contact_left .dmg_contact_OfficeLocation h3 {
	color: #09496f;
	margin: 0;
	padding: 0;
}

#dmg_contact_left .dmg_contact_OfficeLocation li {
	font-size: 16px !important;
	line-height: 24px;
}

#dmg_contact_left .dmg_contact_OfficeLocation li.tollfree strong,
#dmg_contact_left .dmg_contact_OfficeLocation li.telephone strong {
	text-transform: uppercase;
	margin-right: 5px;
}

.office_byState {
	text-align: center;
}

#dmg_lo_search {
	background-color: #f6f6f6;
	padding: 20px;
}

#dmg_lo_search form {
	width: 100%;
}

#dmg_lo_search ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-flow: row wrap;
	width: 100%;
}

#dmg_lo_search li {
	width: calc(50% - 110px);
	
}

#dmg_lo_search li:last-child {
	width: 210px;
}

#dmg_lo_search input {
	border: 0;
	margin-top: 3px;
	height: 40px;
	width: 100%;
	box-sizing: border-box;
	
}

#dmg_lo_search button {
	display: block;
	color: #ffffff;
	background-color: #005F83;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 40px;
	width: 210px;
	text-align: center;
	border: 0;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
}

#dmg_lo_search button:hover {
	background-color: #03314f;
}

#dmg_lo_search label {
	font-size: 16px;
	width: 100px;
	display: block;
}

#dmg_agent_search_wrapper {
	display: none;
	
}

/*===== Agent Rosters=====*/

.agent_wrapper, .agent_wrapper_connect {
    width: 100%;
    max-width: 240px;
    display: inline-block;
    text-align: center;
    margin: 0px 0 20px;
    font-size: 18px;
    line-height: 24px;
    vertical-align: top;
    font-weight: 300;
}

.agent_wrapper_connect {
	width: 24.5%;
}

.agent_wrapper img,
.agent_wrapper_connect img {
    display: block;
}

.loName {
    display: block;
    font-size: 21px;
    line-height: 24px;
    margin: 10px 0;
    font-weight: bold;
}

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

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

/* #dwell-lo .photoWrapper,
#dwell-lo .photoWrapperSm {
	border: 3px solid #00A9E0;
} */

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

/* .agent_wrapper a:hover .photoWrapper {
    border: 3px solid #005F83;
} */

/*===== Home Purchase Content =====*/

#dmg_layout_internal.id1458684,
#dmg_layout_internal.id1458709,
#dmg_layout_internal.id1458935,
#dmg_layout_internal.id1461219,
#dmg_layout_internal.id2158415,
#dmg_layout_internal.dmg_internal_area_refinance {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

#dmg_layout_internal.id1458684 .dmg_layout_intwrapper,
#dmg_layout_internal.id1458709 .dmg_layout_intwrapper,
#dmg_layout_internal.id1458935 .dmg_layout_intwrapper,
#dmg_layout_internal.id1458935 .dmg_layout_intwrapper,
#dmg_layout_internal.id2158415 .dmg_layout_intwrapper {
    position: relative;
    max-width: 1260px;
    margin: 0px auto;
}

#loanHomePurchase #loanGetStarted {
	background: #f2a41a;
	background: -webkit-linear-gradient(#f2a41a, #dc9e1a);
	background: -o-linear-gradient(#f2a41a, #dc9e1a);
	background: -moz-linear-gradient(#f2a41a, #dc9e1a);
	background: linear-gradient(#f2a41a, #dc9e1a);
}

#loanRefinance #loanGetStarted {
	background: #f2a41a;
	background: -webkit-linear-gradient(#f2a41a, #66034b);
	background: -o-linear-gradient(#f2a41a, #66034b);
	background: -moz-linear-gradient(#f2a41a, #66034b);
	background: linear-gradient(#f2a41a, #66034b);
}

#loanRenovation #loanGetStarted {
	background: #005F83;
	background: -webkit-linear-gradient(#005F83, #052b42);
	background: -o-linear-gradient(#005F83, #052b42);
	background: -moz-linear-gradient(#005F83, #052b42);
	background: linear-gradient(#005F83, #052b42);
}

#loanReverse #loanGetStarted {
	background: #f2a41a;
	background: -webkit-linear-gradient(#f2a41a, #dc9e1a);
	background: -o-linear-gradient(#f2a41a, #dc9e1a);
	background: -moz-linear-gradient(#f2a41a, #dc9e1a);
	background: linear-gradient(#f2a41a, #dc9e1a);
}

#loanGetStarted {
	text-align: center;
	color: #ffffff;
	padding: 50px 0;
}

#loanGetStarted h1 {
	color: #ffffff;
	font-size: 72px;
	line-height: 75px;
}

#loanGetStarted a {
    display: block;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 21px;
    line-height: 48px;
    width: 210px;
    text-align: center;
    margin: 30px auto 0 auto;
    text-shadow: none;
    border: 2px solid #ffffff;
}

#loanHomePurchase #loanGetStarted a {
    background-color: #005c83;
}

#loanHomePurchase #loanGetStarted a:hover {
    background-color: #00435f;
    text-decoration: none;
}

#loanRefinance #loanGetStarted a {
    background-color: #f6b220;
}

#loanRefinance #loanGetStarted a:hover {
    background-color: #dc9e1a;
    text-decoration: none;
}

#loanRenovation #loanGetStarted a {
    background-color: #f6b220;}

#loanRenovation #loanGetStarted a:hover {
    background-color: #dc9e1a;
    text-decoration: none;
}

#loanThreeAcross {
    padding: 30px 10px;
    margin:0;
	background-color: #f2a41a;    
}

#loanThreeAcross:after {
	content: "";
	display: block;
	clear: both;
}

#loanThreeAcross img {
	max-width: 100%;
	height: auto;
	margin: 0 auto 40px auto;
	display: block;
}

.loanThreeAcrossItem {
	width: 30.3%;
	height: 250px;
	float: left;
	margin: 0 1.5%;
	text-align: center;
	border: 2px solid #efefef;
	padding: 30px;
	box-sizing: border-box;
	position: relative;
	min-height: 205px;
}


.loanThreeAcrossItem h3 {
	color: #005c83;
	font-size: 36px;
	margin-bottom: 40px;
}

.loanThreeAcrossItem h3:after {
	content: "";
	position: absolute;
	background-color: #efefef;
	height: 2px;
	width: 90px;
	left: 50%;
	margin-left: -45px;
	top: 110px;
}

.loanThreeAcrossItem p {
	margin: 0;
	padding: 0;
    font-size: 18px;
    color: #fff;
}

#loanRefinance #loanIconSection {
	background-color: #f2a41a;
}

#loanHomePurchase #loanIconSection {
	background-color: #dc9e1a;
}

#loanRenovation #loanIconSection {
	background: #005F83;
}

#loanReverse #loanIconSection {
	background-color: #dc9e1a;
}


#loanIconSection {
	padding: 80px 10px;
}

#loanIconSection h2 {
	text-align: center;
	color: #ffffff;
	font-size: 48px;
	line-height: 55px;
	font-weight: 300;
	text-transform: uppercase;
}

#loanIconSection p {
	color: #ffffff;
}

#loanIconSection h2 span {
	font-weight: 400;
}

#loanHomePurchase .loanIconSectionItem {
	width: 20%;
}

#loanRefinance .loanIconSectionItem {
	width: 25%;
}

#loanReverse .loanIconSectionItem {
	width: 25%;
}


.loanIconSectionItem {
	color: #ffffff;
	float: left;
	text-align: center;
	font-size: 24px;
	line-height: 30px;
	padding: 0 10px;
	box-sizing: border-box;
}

.loanIconSectionItem em {
	display: block;
	font-size: 30px;
	margin-bottom: 10px;
	margin-top: 10px;
}

#loanIconSection .dmg_layout_intwrapper:after {
	content: "";
	display: block;
	clear: both;
}

.refinance-loan-wrapper {
	background: #f2f2f2;
}

form, fieldset {
    margin: 0;
    padding: 0;
    border-style: none;
}

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

#dmg_layout_internal .refinance-loan-wrapper h2,
.refinance-loan-wrapper h2 {
    color: #1a1818;
    font-size: 60px;
    line-height: 60px;
    text-align: center;
    font-weight: 200;
    margin: 0;
    padding: 40px 0;
    text-transform: uppercase;

}

.refinance-loan-wrapper h2 span {
    font-weight: 400;
}

.refinance-form {
	width: 100%;
	max-width: 1260px;
	margin: 0 auto;
}

.refinance-form legend {
	display: none;
}

.refinance-form-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-evenly;
}

.refinance-form-list li {
	width: 20%;
	padding: 0 5px;
	margin-bottom: 12px;
	box-sizing: border-box;
}

.refinance-form-list .full-width {
	width: 100%;
	margin-top: 6px;
}

.refinance-form input[type="text"] {
	width: 100%;
	height: 34px;
	line-height: 34px;
	padding: 0 0 0 5px;
	font-size: 20px;
	box-sizing: border-box;
}

.refinace-submit {
	display: block;
    color: #ffffff;
    background-color: #005c83;
    text-transform: uppercase;
    font-size: 15px;
    line-height: 48px;
    width: 300px;
    text-align: center;
    margin: 0 auto;
    border: 0;
    cursor: pointer;
}

.refinace-submit:hover {
	background: #333333;
}

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

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


#right_loan {
	background-color: #005F83;
}

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

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

#right_loan {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

#dmg_layout_internal.id2158415 .service__header{color:#000;}

.refinance-success {
	width: 100%;
	max-width: 960px;
	margin: 30px auto;
}

/* == Phone
============================================================================ */
@media only screen and (max-width: 625px) {
	.refinance-form {
		max-width: 300px;
	}

	.refinance-form-list {
		flex-flow: column;
	}

	.refinance-form-list li {
		width: 100%;
	}

	#dmg_layout_internal .refinance-loan-wrapper h2 {
		font-size: 32px;
		margin-bottom: 10px;
		padding-bottom: 0;
	}
	

}


#loanPhoto {
	background-repeat: no-repeat;
	background-size: cover;
	height: 400px;
	font-size: 0px;
}

#loanRenovation #loanPhoto {
	background-image: url(/shared/fs/0608/company/Redesign2018/renovationHeader.png);
}
#loanRenovation #dmg_layout_hero{background-position: bottom;}

@media only screen and (max-width: 1400px) {
	#loanRenovation #dmg_layout_hero{height: 400px;}
}

#loanReverse #loanPhoto {
	background-image: url(/shared/fs/0608/company/Redesign2018/reverseMortgage.jpg);
}


/*===== Partners page changes =====*/
#dmg_layout_internal.id2158464,
#dmg_layout_internal.id1596746 {
	max-width: 100%;
	padding: 0;
	margin: -300px 0 0;
}

#dmg_layout_internal.id2158464 #dmg_layout_internal-page,
#dmg_layout_internal.id1596746 #dmg_layout_internal-page
 {padding: 0;} 

.id2158464 #homepage_cta h2 ,
.id1596746 #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;
}

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

#dmg_layout_internal.id2158464 #mortgage_types p,
#dmg_layout_internal.id1596746 #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;} */

#dmg_layout_internal.id2158464 #mortgage_types li:nth-of-type(2) .fa,
#dmg_layout_internal.id1596746 #mortgage_types li:nth-of-type(2) .fa,
#dmg_layout_internal.id2158464 #mortgage_types li:nth-of-type(4) .fa,
#dmg_layout_internal.id1596746 #mortgage_types li:nth-of-type(4) .fa,
#dmg_layout_internal.id2158464 #mortgage_types li:nth-of-type(6) .fa,
#dmg_layout_internal.id1596746 #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: 1100px;
	margin-top: 108px;
}

#slogan_wrapper {
	height: 1100px;
}

.special-button a {
    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: 20px;
    line-height: 24px;
    width: 250px;
    background-repeat: no-repeat;
    margin: 15px auto 0;
    display: block;
    color: #ffffff;
    text-transform: uppercase;
    box-sizing: border-box;
}

.special-button a:hover {
    text-decoration:none;
    filter: brightness(.9);
}


/*===== Contact page changes =====*/

.dmg_contact_localNumber:before {
	content: "Local:";
	font-weight: bold;
}

.dmg_contact_localNumber strong {
	display: none;
	
}

#dmg_contact_service_of_interest,
.dmg_contact_formSubTitle {
	display: none;
}

@media screen and (min-width: 1300px) {

	#dmg_advanced_nav ul ul li {
	    width: 14.75em;
	}
    
}

@media screen and (max-width: 950px) {
	
.agent_wrapper_connect {
	width: 33%;
}

#loanHomePurchase .loanIconSectionItem,
#loanReverse .loanIconSectionItem  {
		width: 50%;
		min-height: 200px;
		text-align: center;
		margin: auto;
	}

}

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

	.loanThreeAcrossItem {
		width: 100%;
		margin: 20px 0 0 0;
		min-height: auto;
	}
	
	#loanRefinance .loanIconSectionItem {
		width: 50%;
		min-height: 200px;
	}
	

}

@media screen and (max-width: 768px) {
	
	#dmg_layout_hero {
		height: 170px;
	}

    #dmg_layout_hero.dmg_layout_heroBlog {
        height: 134px;
    }
	
	.content_col1, .content_col2 {
		width: 100%;
		float: none;
	}
	
}

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

	.column_office {
		width: 100%;
	}
	
	.agent_wrapper_connect {
		width: 50%;
	}
	
	#dmg_lo_search li {
	    width: 100%;
		margin-top: 20px;
	}
	
	
}

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

	.column_office {
		margin-right: 0;
		width: 100%;
		float: none;
		min-height: auto;
	}
	
	#loanRefinance .loanIconSectionItem,
	#loanReverse .loanIconSectionItem {
		width: 100%;
		min-height: auto;
		margin-bottom: 20px;
	}

}

@media screen and (max-width: 420px) {
	
	.agent_wrapper_connect {
		width: 100%;
	}
	
	#loanHomePurchase .loanIconSectionItem {
		width: 100%;
		min-height: auto;
	}
	
}

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

#calculator_frame {
	background-color: #efefef;
	padding: 80px 10px;
}

#calculator_frame h2.calcultor_title {
	color: #005F83;
	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 a {
    background: transparent !important;
}

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

.dmg_payment_form a {
    margin-top: 0px;
}

.dmg_payment_form button:hover,
.dmg_payment_form a:hover {
	background-color: #003b54;
    text-decoration: none;
}
*/

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


#dmg_layout_hero.mortgagecalc {
	height: 130px;
    background: transparent;
}

#dmg_layout_internal #calc-header {
	margin-bottom: 30px;
}

.mortgage-calculator {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 5px;
    box-sizing: border-box;;
}

.mortgage-calculator .dmg_payment_form {
    width: 40%;
	padding: 0;
    background: #FFFFFF;
}

.mortgage-calculator .dmg_payment_calc {
	width: 53%;
	background: #f2f2f2;
}

.mortgage-calculator .dmg_payment_form label {
    width: 100%;
    height: auto;
	margin-bottom: 4px;
    font-size: 18px;
    line-height: 1em;
    display: block;
}

.mortgage-calculator .dmg_payment_form input[type="text"] {
	width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 0 0 5px;
    border: 0;
    box-sizing: border-box;
	flex: 1;
}

.mortgage-calculator .mortdownpaymentrate_bg {
    height: 40px;
    line-height: 40px;
}

#mortdownpayment_responsive {
	border: 1px solid #d4d4d4;
}

.dmg_payment_form #mortdownpaymentrate_responsive {
	height: 38px;
    line-height: 38px;
}

.mortgage-calculator .mortgage_item_bg {
	display: flex;
}

.mortgage-calculator .mort_desc {
    height: 40px;
    line-height: 40px;
}

.mortgage-wallet {
	max-width: 94%;
	height: auto;
	margin: 0 auto;
}

.mortgage-wallet-large {
	width: 100%;
	max-width: 900px;
	height: auto;
	margin: 0 auto 30px;
	display: block;
}

.dmg_chart_legend {
	text-align: center;
}

#dmg_layout_internal p.dmg_detail_ppm {
	margin: 0 0 10px;
	padding: 15px 5px;
	background: #e5e5e5;
}

@media screen and (max-width: 960px) {
	#dmg_layout_internal #calc-header {
		text-align: center;
	}
	
	.dmg_payment_flex {
		flex-flow: column;
	}
	
	.dmg_payment_calc,
	.dmg_payment_form {
		width: 100%;
	}

	.mortgage-calculator .dmg_payment_calc,
	.mortgage-calculator .dmg_payment_form {
		width: 100%;
		max-width: 650px;
		margin: 0 auto;
	}
	
	.mortgage-calculator .dmg_payment_calc {
		margin-top: 20px;
	}
}

/* #right_loan {
	background-color: #89898a;
} */

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

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

#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 {
	color: #ffffff;
	font-size: 48px;
	line-height: 48px;
	font-weight: 200;
}

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


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

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

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


/* mortgage boxes */
<?php /* 
#mortgage_types {
	padding: 60px 0;
}

#mortgage_types ul {
	list-style-type: none;
	margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

#mortgage_types li {
    display: block;
    float: left;
    width: 100%;
    display: flex;
    padding: 20px;
    /* min-height: 290px; *./
    box-sizing: border-box;
    max-width: 290px;
    flex-flow: column;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid #e2e2e2;
    margin: 10px;
}

/* #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: 22px;
	line-height: 28px;
	text-transform: uppercase;
	padding: 10px 0;
	margin: 0;
    font-weight: 200;
    text-align: center;
}

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

#mortgage_types a {
	display: block;
	text-align: center;
	font-size: 30px;
	line-height: 42px;
    color: #000;
    font-weight: 300;
}

#mortgage_types a:hover {
	text-decoration: none;
}

#mortgage_types a span {
	display: block;
	color: #ffffff;
	background-color: #005F83;
	text-transform: uppercase;
	font-size: 19px;
	line-height: 45px;
	width: 210px;
	text-align: center;
	margin-top: 30px;
	margin-left: auto;
	margin-right: auto;
}


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

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

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

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

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

	#mortgage_types li.connectMessage {
		width: 100%;
	}
}

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

@media only screen and (max-width: 585px) {
	#mortgage_types li {
        min-height: auto;
        width: 100%;
        max-width: 100%;
}
}
 */ ?>





.homepage-content-blocks {
    padding: 60px 20px;
}

.content-block-wrapper {
    max-width: 1260px;
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
}

.content-block-wrapper .block-item {
    display: flex;
    flex-flow: column;
    padding: 20px;
    margin: 10px;
    width: calc(33.33% - 20px);
    box-sizing: border-box;
}

.content-block-wrapper .block-item h4 {
    margin: 20px 0 10px;
    font-size: 20px;
}

.content-block-wrapper .block-item p {
    margin-top: 0;
    margin-bottom: 15px;
}

.content-block-wrapper .block-item img {
    height: auto;
    display: block;
    width: 100%;
}

.content-block-wrapper .block-item .block-btn {
    display: block;
    color: #ffffff;
    background-color: #005F83;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 38px;
    width: 100%;
    max-width: 150px;
    text-align: center;
}

.content-block-wrapper .block-item .block-btn:hover {
    background-color: #06324e;
    text-decoration: none;
}

@media only screen and (max-width: 900px) {
    .content-block-wrapper .block-item {
        padding: 0;
        max-width: 500px;
        margin: 0 0 40px;
        width: 100%;

    }
}



.homepage-box-wrapper {
    max-width: 1260px;
    margin: auto;
    display: flex;
    padding: 60px 20px 45px;
    box-sizing: border-box;
    justify-content: center;
    flex-flow: row wrap;
    border-bottom: 1px solid #e2e2e2;
}

.homepage-boxes .box {
    border: 1px solid #dddddd;
    background: #ffffff;
    padding: 35px;
    margin: 0;
    color: #777777;
    border-radius: 2px;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    margin: 0 15px 15px;
}

.homepage-boxes .box i {
    color: #005F83;
    font-size: 52px;
    margin: 0px 0px 20px 0px;
    font-weight: 300;
}

.homepage-boxes .box h4 {
    font-size: 20px;
    font-weight: initial;
    color: #000;
    margin: 0 0 20px;
}

.homepage-boxes .box a {
    display: block;
    background-color: transparent;
    color: #005F83;
    border: 2px solid #005F83;
    font-size: 17px;
    line-height: 30px;
    text-align: center;
    text-shadow: none;
    font-weight: bold;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.homepage-boxes .box a:hover {
    background-color: #005F83;
    color: #fff;
    text-decoration: none;
}




.homepage-link {
    max-width: 1260px;
    box-sizing: border-box;
    padding: 60px 20px 70px;
    margin: auto;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-content: center;
    text-align: center;
}

.homepage-link h3 {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: bold;
}

.homepage-link a {
    display: block;
    background-color: transparent;
    color: #fff;
    background-color: #005F83;
    border: 2px solid #005F83;
    font-size: 17px;
    line-height: 30px;
    text-align: center;
    text-shadow: none;
    font-weight: bold;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    max-width: 260px;
    margin: auto;
}

.homepage-link a:hover {
    color: #005F83;
    background-color: #fff;
    text-decoration: none;
}


/* ============================================================================
===== ADVANTAGE
============================================================================ */
#dmg_layout_internal, #dmg_layout_internal-page {
    max-width: 100%;
    padding: 0;
    margin: 0;
    min-height: initial;
}

.content-header {
    min-height: 600px;
    margin-top: 108px;
}

.d-flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.content-header .flex-item-half {
    height: 600px;
    box-sizing: border-box;
}

.flex-item-half {
    width: 50%;
}

.header-photo-wrap {
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

[data-aos="slide-left"],
[data-aos="slide-right"],
[data-aos="fade-in"] {
  visibility: hidden;
  opacity: 0;
}

[data-aos="slide-left"].aos-animate,
[data-aos="slide-right"].aos-animate,
[data-aos="fade-in"].aos-animate {
    visibility: visible;
    opacity: 1;
}

.header-body {
    padding: 0 5px;
    display: flex;
}

#dmg_layout_internal .header-body h1 {
    margin: auto 0;
    color: #333333;
    font-size: 72px;
    line-height: 1em;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    word-spacing: -1px;
    letter-spacing: 1px;
}

.loan-types-wrapper {
    max-width: 1200px;
    margin: 80px auto;
}

.loan-type {
    width: 33.3333%;
    padding: 0 25px;
    margin-bottom: 30px;
    box-sizing: border-box;
}

#dmg_layout_internal .loan-title {
    color: #333333;
    font-size: 24px;
    line-height: 1em;
    font-family: 'Montserrat', sans-serif;
}

.testimonial-wrapper a.TT_AddTestimonialLink, .testimonial-wrapper a.TT_AddTestimonialLink:visited,
.testimonial-wrapper a.TT_viewAllLink, .testimonial-wrapper a.TT_viewAllLink:visited {
    background-color: #005F83 !important;
}

.testimonial-wrapper a.TT_AddTestimonialLink:hover, .testimonial-wrapper a.TT_viewAllLink:hover {
    background-color: #333333 !important;
}

.loan-desc p {
    margin: 0;
}

.slanted-content-wrapper {
    min-height: 400px;
    position: relative;
}

.slanted-content-image,
.slanted-content-body {
    width: 50%;
    box-sizing: border-box;
}

.slanted-content-body {
    padding: 80px 5%;
    display: flex;
}
.slanted-content-body + .slanted-content-body {
    padding: 150px 5% 80px;
    display: flex;
}

#dmg_layout_internal .slanted-content-body h2 {
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: bold;
    line-height: 1em;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

#dmg_layout_internal .slanted-content-body p {
    font-size: 18px;
}

.content-button {
    width: 230px;
    height: 70px;
    margin: 0 10px 20px;
    border: 2px solid #f0b323;
    border-radius: 10px;
    color: #f0b323;
    line-height: 70px;
    text-align: center;
    font-size: 26px;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
}

.content-button:hover {
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    text-decoration: none;
    
}

.advantage-body .apply-button {
    color: #fff;
    border: 0;
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 24px;
    line-height: 65px;
    text-align: left;
    margin-right: 10px;
    text-shadow: none;
    margin-bottom: 15px;
    font-weight: normal;
    padding: 0 20px;
    width: auto;
    min-height: 65px;
    display: inline-block;
    flex-flow: column;
    justify-content: center;
    background: #830065 !important;
    border: 2px solid #830065;
    box-sizing: border-box;
}

.advantage-body .apply-button:hover {
    background: #005F83 !important;
    text-decoration: none;
}


.content-button-nav {
	border-radius: 10px;
    margin-left: 20px;
    background: #830065;
    color: #FFFFFF;
    height: 40px;
    padding: 0 10px;
    margin-top: 10px;
    font-size: 20px;
    color: #FFFFFF;
    line-height: 40px;
    text-align: center;
    box-sizing: border-box;
    display: inline-block;
    font-weight: bold;
}


.content-button-nav:hover {
    text-decoration: none;
    background: #005F83;
    color: #FFFFFF;
}

.content-vcenter {
    margin: auto;
}

.slanted-content-image {
    background: #f0b323;
    padding: 100px 0;
    display: flex;
}

.slanted-content-image img {
    max-width: 100%;
    height: auto;
    margin: auto;
    display: block;
}

.slanted-content-wrapper:before {
    content: "";
    width: 100%;
    height: 100px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    left: 0;
    clip-path: polygon(
    0 0, /* left top */
    100% 0, /* right top */ 
    100% 100%, /* right bottom */
    0 5% /* left bottom */
  );
}

.slanted-content-wrapper:after {
    content: "";
    width: 100%;
    height: 100px;
    background: #FFFFFF;
    position: absolute;
    bottom: -1px;
    left: 0;
    clip-path: polygon(
    0 0, /* left top */
    100% 95%, /* right top */ 
    100% 100%, /* right bottom */
    0 100% /* left bottom */
  );
}

.content-wrapper {
    padding: 40px 5px;
}

.content-maxwidth {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    text-align: center;
}

#dmg_layout_internal .content-title {
    color: #1a1818;
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: bold;
    line-height: 1em;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

#dmg_layout_internal .content-maxwidth p {
    font-size: 18px;
}

.advantage-wrapper {
    margin-top: 100px;
}
.advantage-maxwidth {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 5px;
    box-sizing: border-box;
}

.advantage-body {
    width: 60%;
    padding-right: 80px;
    padding-left: 20px;
    flex: 1;
}

.advantage-bullets {
    width: 40%;
}

.advantage-bullet {
    width: 120px;
}

.advantage-bullet img {
    display: inline-block;
    vertical-align: middle;
}

.icon-checkmark {
    margin-right: 10px;
}

.advantage-item {
    margin-bottom: 50px;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: flex-start;
}

.advantage-description {
    flex: 1;
}

#dmg_layout_internal .advantage-description  p {
    margin: 0;
    padding-left: 20px;
    flex: 1;
    box-sizing: border-box;
}


#dmg_layout_internal .advantage-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: bold;
    line-height: 1em;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* == Desktop
============================================================================ */
@media only screen and (max-width: 1070px) {

    .header-body {
        padding: 100px 20px;
    }
}

/* == Desktop
============================================================================ */
@media only screen and (max-width: 970px) {
    .header-body {
        width: 100%;
        padding: 0 5px;
        display: flex;
    }

    .header-photo-wrap {
        display: none;
    }

    .content-header.advantage {
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        background-image :url('/images/layout/advantage-header-full.jpg')
    }

    .content-header.contact {
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        background-image :url('/images/layout/contact-header-full.jpg')
    }

    #dmg_layout_internal .header-body h1 {
        margin: auto;
        color: #FFFFFF !important;
        text-shadow: 0 0 6px #333333;
    }

}

/* == Tablet
============================================================================ */
@media only screen and (max-width: 870px) {
    .advantage-maxwidth {
        flex-flow: column;
    }

    .advantage-body {
        width: 100%;
        padding: 0 0 0 20px;
    }

    .advantage-bullets {
        width: 100%;
        max-width: 500px;
        margin: 30px auto 0;
    }
    

}

/* == Phone
============================================================================ */
@media only screen and (max-width: 600px) {
    .advantage-wrapper {
        margin-top: 30px;
    }


    #dmg_layout_internal .header-body h1 {
        font-size: 60px;
    }

    #dmg_layout_internal .advantage-body h2 {
        font-size: 36px;
    }

}

/* == Phone
============================================================================ */
@media only screen and (max-width: 320px) {
    #dmg_layout_internal .header-body h1 {
        font-size: 48px;
    }

    #dmg_layout_internal .advantage-body h2 {
        font-size: 28px;
    }

}

/* ============================================================================
===== END ADVANTAGE
============================================================================ */



/* ============================================================================
===== HOME LOANS
============================================================================ */
#dmg_layout_internal, #dmg_layout_internal-page {
    max-width: 100%;
    padding: 0;
    margin: 0;
    min-height: initial;
}

.content-header {
    min-height: 600px;
    margin-top: 108px;
}

.d-flex {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.content-header .flex-item-half {
    height: 600px;
    box-sizing: border-box;
}

.flex-item-half {
    width: 50%;
}

.header-photo-wrap {
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
}

[data-aos="slide-left"],
[data-aos="slide-right"] {
  visibility: hidden;
  opacity: 0;
}

[data-aos="slide-left"].aos-animate,
[data-aos="slide-right"].aos-animate {
    visibility: visible;
    opacity: 1;
}

.header-body {
    padding: 100px;
}

#dmg_layout_internal .header-body h1 {
    color: #333333;
    font-size: 72px;
    line-height: 1em;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    word-spacing: -1px;
    letter-spacing: 1px;
}

.loan-types-wrapper {
    max-width: 1200px;
    margin: 80px auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.loan-types-desc {
    padding-left: 20px;
    flex: 1;
}

#dmg_layout_internal .loan-types-desc h2 {
    color: #005F83;
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: bold;
    line-height: 1em;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.title-cursive {
    color: #f4b120;
    font-size: 72px;
    text-transform: none;
    display: block;
    transform: rotate(-6deg);
    line-height: 1em;
    font-family: "zooja-pro", cursive;
    margin-bottom: 20px;
    margin-left: -20px;
    font-weight: 300;
}

.loan-types-wrapper {
    padding: 0 5px;
}

.loan-types-list {
    max-width: 560px;
}

.loan-type {
    width: 33.3333%;
    min-width: 280px;
    padding: 0 25px;
    margin-bottom: 30px;
    box-sizing: border-box;
    position: relative;
}

#dmg_layout_internal .loan-title {
    color: #333333;
    font-size: 24px;
    line-height: 1em;
    font-family: 'Montserrat', sans-serif;
}

.loan-desc {
    padding-bottom: 10px;
}

.loan-desc p {
    margin: 0;
}

.loan-divider {
    width: calc(100% - 50px); 
    margin: 0 auto;
    padding-top: 10px;
    border-bottom: 3px dashed #CCCCCC;
    position: absolute;
    bottom: 0;
    left: 25px;
}

.loan-divider.mobile-only {
    display: none;
}

.slanted-content-wrapper {
    min-height: 400px;
    position: relative;
}

.slanted-content-image,
.slanted-content-body {
    width: 50%;
    box-sizing: border-box;
}

.slanted-content-body {
    padding: 80px 5%;
    display: flex;
}
.slanted-content-body + .slanted-content-body {
    padding: 150px 5% 80px;
    display: flex;
}

#dmg_layout_internal .slanted-content-body h2 {
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: bold;
    line-height: 1em;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

#dmg_layout_internal .slanted-content-body p {
    font-size: 18px;
}

.content-button {
    width: 230px;
    height: 70px;
    margin: 0 10px 20px;
    border: 2px solid #f0b323;
    border-radius: 10px;
    color: #f0b323;
    line-height: 70px;
    text-align: center;
    font-size: 26px;
    display: inline-block;
    box-sizing: border-box;
    vertical-align: top;
}

.content-button:hover {
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    text-decoration: none;
}

.content-vcenter {
    margin: auto;
}

.slanted-content-image {
    background: #f0b323;
    padding: 100px 0;
    display: flex;
}

.slanted-content-image img {
    max-width: 100%;
    height: auto;
    margin: auto;
    display: block;
}

.slanted-content-wrapper:before {
    content: "";
    width: 100%;
    height: 100px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    left: 0;
    clip-path: polygon(
    0 0, /* left top */
    100% 0, /* right top */ 
    100% 100%, /* right bottom */
    0 5% /* left bottom */
  );
}

.slanted-content-wrapper:after {
    content: "";
    width: 100%;
    height: 100px;
    background: #FFFFFF;
    position: absolute;
    bottom: -1px;
    left: 0;
    clip-path: polygon(
    0 0, /* left top */
    100% 95%, /* right top */ 
    100% 100%, /* right bottom */
    0 100% /* left bottom */
  );
}

.content-wrapper {
    padding: 40px 5px;
}

.content-maxwidth {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    text-align: center;
}

#dmg_layout_internal .content-title {
    color: #1a1818;
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: bold;
    line-height: 1em;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

#dmg_layout_internal .content-maxwidth p {
    font-size: 18px;
}

.testimonial-content-header-internal {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-cursive-internal {
    color: #f4b120;
    font-size: 72px;
    text-transform: none;
    display: block;
    transform: rotate(-6deg);
    line-height: 1em;
    font-family: "zooja-pro", cursive;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 300;
    margin-left: 130px;
}

.testimonial-title-internal {
    color: #005F83;
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: bold;
    line-height: 1em;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.advantage-header {
    color: #005F83 !important;
}

.dmg_internal_subarea_dwell .advantage-header {
    color: #2064A3 !important;
}

#dmg_layout_internal.dmg_internal_subarea_dwell .loan-types-desc h2 {
    color: #2064A3 !important;
}

.dmg_internal_subarea_dwell .testimonial-title-internal {
    color: #2064A3 !important;
}

.dmg_internal_subarea_dwell .title-blue {
    color: #2064A3 !important;
}


.dmg_internal_subarea_ahm .advantage-header {
    color: #53565A !important;
}

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

.dmg_internal_subarea_ahm .testimonial-title-internal {
    color: #53565A !important;
}

.dmg_internal_subarea_ahm .title-blue {
    color: #53565A !important;
}



.advantage-cursive {
    color: #f4b120;
    font-size: 78px;
    text-transform: none;
    display: block;
    transform: rotate(-5deg);
    line-height: 1em;
    font-family: "zooja-pro", cursive;
    margin-top: -30px;
    margin-bottom: 24px;
    margin-left: -20px;
    text-align: left;
    display: block;
    font-weight: 300;
}

.title-blue {
    color: #005F83 !important;
}

.lo-cursive {
    color: #f4b120;
    font-size: 78px;
    text-transform: none;
    display: block;
    transform: rotate(-5deg);
    line-height: 1em;
    font-family: "zooja-pro", cursive;
    margin-top: -30px;
    margin-bottom: 5px;
    margin-left: -20px;
    text-align: left;
    display: block;
    font-weight: 300;
}

/* == Desktop
============================================================================ */
@media only screen and (min-width: 1600px) {
    .advantage .header-body {
        padding: 100px 100px 100px 200px;
    }
}

/* == Desktop
============================================================================ */
@media only screen and (max-width: 1070px) {

    .header-body {
        padding: 100px 20px;
    }

    #dmg_layout_internal .slanted-content-body h2 {
        font-size: 48px;
    }
}

/* == Desktop
============================================================================ */
@media only screen and (max-width: 970px) {
.header-body {
    width: 100%;
    padding: 0 5px;
    display: flex;
}

.header-photo-wrap {
    display: none;
}

.content-header {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-image :url('/images/layout/home-loans-header-full.jpg')
}

#dmg_layout_internal .header-body h1 {
    margin: auto;
    color: #FFFFFF !important;
    text-shadow: 0 0 6px #333333;
}

.loan-types-wrapper {
    flex-flow: column
}

.loan-types-list {
    margin-top: 30px;
    max-width: 100%;
}

}

/* == Tablet
============================================================================ */
@media only screen and (max-width: 870px) {
    .advantage-maxwidth {
        flex-flow: column;
    }

    .advantage-body {
        width: 100%;
        padding: 0 0 0 20px;
    }

    .advantage-bullets {
        width: 100%;
        max-width: 500px;
        margin: 30px auto 0;
    }

    .slanted-content-wrapper:before,
    .slanted-content-wrapper:after {
        display: none;
    }

    .slanted-content.d-flex {
        flex-flow: column;
    }

    .slanted-content-image, .slanted-content-body {
        width: 100%;
    }

    .slanted-content-image {
        padding: 20px;
    }

    .slanted-content-image img {
        max-width: 280px;
    }

    .slanted-content-body + .slanted-content-body {
        padding: 80px 5%;
    }
}

/* == Phone
============================================================================ */
@media only screen and (max-width: 600px) {
    .loan-types-wrapper {
        margin-top: 30px;
    }

    .loan-types-list {
        flex-flow: column;
    }

    .loan-type {
        width: 100%;
        max-width: 100%;
    }

    .loan-divider.mobile-only {
        display: block;
    }

    .advantage-wrapper {
        margin-top: 30px;
    }


    #dmg_layout_internal .header-body h1 {
        font-size: 60px;
        padding-left: 20px;
    }

    #dmg_layout_internal .advantage-body h2 { 
        font-size: 36px;
    }

    #dmg_layout_internal .loan-types-desc h2 { 
        font-size: 48px;
    }

    

}

/* == Phone
============================================================================ */
@media only screen and (max-width: 320px) {
    #dmg_layout_internal .header-body h1 {
        font-size: 48px;
    }

    #dmg_layout_internal .advantage-body h2 {
        font-size: 28px;
    }

    #dmg_layout_internal .slanted-content-body h2 {
        font-size: 36px;
    }

    #dmg_layout_internal .content-title {
        font-size: 36px;
    }
}


/* ============================================================================
===== END HOME LOANS
============================================================================ */




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

#mortgage_types {
    padding: 60px 0 30px;
}

#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: 280px;
	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;
    max-height: 50px;
}

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

#mortgage_types a {
	display: block;
	text-align: center;
	font-size: 30px;
	line-height: 42px;
	color: #000;
}

#mortgage_types a:hover {
	text-decoration: none;
}

#mortgage_types a span {
    display: block;
    color: #ffffff;
    background-color: #005F83;
    text-transform: uppercase;
    font-size: 21px;
    line-height: 48px;
    width: 210px;
    text-align: center;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

#mortgage_types a:hover span {
    background-color: #06324e;
}





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


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

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


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


/* == Tablet Landscape
============================================================================ */
@media only screen and (max-width: 768px) {
	

	
	#vf_welcome_text h3 {
    		font-size: 48px;
    		line-height: 48px;
    }
    
    #vf_welcome_text p {
    		font-size: 18px;
    		line-height: 24px;
    }
    
    #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;
    }
    
    #mortgage_types li:last-of-type {
        width: 100%;
    }


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

	#slogan_wrapper {
		height: 600px;
	}
	
}

/* == Tablet Landscape
============================================================================ */
@media only screen and (max-width: 650px) {

	#mortgage_types li {
        	min-height: 410px;
    }

}	

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

	#mortgage_types li {
        	min-height: auto;
            width: 100%;
            max-width: 100%;
    }

}	




.services__grid {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 50px 10px;
}

.services__grid.reno{flex-flow:row wrap;align-items: center;max-width: 1260px;margin: auto;}
.service {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 13px;
    box-sizing: border-box;
    width: 100%;
    max-width: 320px;
    height: 250px;
    perspective: 1000px;
}



@media only screen and (min-width: 1057px) {
	.service.half{max-width:495px;}	
}

.service__icon.fa {
    font-size: 38px;
    font-weight: 300;
    color: #678237;
}

.service__icon {
    max-width: 70px;
    max-height: 50px;
    display: block;
}

.service p {
    margin-top: 0;
    text-align: left;
    font-size: 17px;
    line-height: 20px;
	margin-bottom: 10px;
	font-weight: 900;
}

.service ul {
    padding: 0 0 0 20px;
    margin: 0;
}

.service li {
    text-align: left;
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 19px;

}

.service__header {
    font-weight: 300;
    margin: 20px 0 0;
	font-size: 20px;
	font-weight: 900;
}

.service-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-flip:hover .service-inner {
    transform: rotateY(180deg);
}

.service-front, .service-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: 20px 20px 5px #bbbbbb;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
}

.service-back {
    transform: rotateY(180deg);
}

.service-back{overflow: scroll;justify-content: flex-start;background: #571745;
color: #fff;width: 100%;height: 100%;}

.service-no-icon a {
    display: block;
    text-align: center;
    font-size: 24px;
    line-height: 31px;
    color: #000;
}

.service-no-icon span {
    display: block;
    color: #ffffff;
    background-color: #005F83;
    text-transform: uppercase;
    font-size: 21px;
    line-height: 45px;
    width: 200px;
    text-align: center;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
}

.service-no-icon a:hover {
    text-decoration: none;
}

.service-no-icon a:hover span {
    background-color: #06324e;
}

/* .service-home-icon {
    background-image: url(/images/layout/redesign/house-with-cloud2.png);
    background-position: center;
    background-size: cover;
}

.service-home-icon span {
    margin-top: 70px;
    margin-bottom: 10px;
    background-color: #38b0c9;
} */


#dmg_contact_form .company-contact-submit{background:#f2a41a;}

/* agent contact page =============== */
.content-wrapper.id #dmg_contact_wrapper .dmg_column_wrapper{display:flex;flex-flow:column;}
#dmg_contact_left.dmg_agent_left{max-width:900px;margin:auto;}
.content-wrapper.id #dmg_contact_wrapper #dmg_contact_right{width:100%; display:block;max-width:700px;margin:auto;}

.content-wrapper.id .box.apply{display:none;}
.box-wrapper .box h2{font-size: 24px;font-weight: initial;color: #fff;margin: 0 0 10px;line-height: 36px;}

a#privacypolicy {
    display: block;
    position: relative;
    top: -120px;
    visibility: hidden;
}