
/*===== Homepage Adjustments =====*/

/* Pinned Header Styles */
#dmg_layout_innerHeader.header_float {background: #011a3c; box-shadow: 0 0 10px #000000;}


#dmg_layout_innerHeader.header_float #dmg_layout_bottomBar::before {
    display: none;
}

/* Quick Search Animation */
/*
@keyframes qsearch-fadein {
  0% {
    opacity: 0;
  }
  
  
  100% {
    opacity: 1;
  }
}
*/

#dmg_layout_mainSubHeadline {
	font-weight: 300;
	}
/*
#dmg_layout_mainHeadline, #dmg_layout_mainSubHeadline, .dmg_layout_search-block {
	animation-delay: 2s;
	animation: qsearch-fadein 3s ease-in-out both;
	animation-play-state: paused;
}
#dmg_layout_mainHeadline.animate, #dmg_layout_mainSubHeadline.animate, .dmg_layout_search-block.animate {
	animation-play-state: running;	
}
*/

@media screen and (max-width: 940px) {
	#dmg_layout_nav-holder #dmg_advanced_nav li a {
		font-size: 18px;
	}
	
	#dmg_advanced_nav li a .fa {
	    margin-right: 10px;
	}
	
	#dmg_advanced_nav .accordion .sub-nav li a {
		padding-left: 25px;
	}
}



#dmg_layout_slideshow_images li {
		filter: grayscale(70%);
	}

#dmg_layout_slogan img {	
	width: 120px;
	height: auto;
	display: block;
	text-align: center;
	margin: 0 auto 10px auto;
}

#dmg_layout_slogan {
	outline-style: solid;
	outline-color: rgba(0,0,0,.15);
	outline-offset: -28px;
	outline-width: 1px;
}

#dmg_layout_main #dmg_layout_slogan .dmg_layout_holder {
 	padding-left: 60px;
 	padding-right: 60px;
}

#dmg_layout_customOne {
	background-attachment: fixed;
}

/*	
#dmg_layout_slogan {
	border: 88px solid #ffffff;
	border-image-source: url(/shared/fs/0720/company/border2.png);
	border-image-slice: 88;
    background-size: auto;
	background-position: center bottom;
}

#dmg_layout_main #dmg_layout_slogan .dmg_layout_holder {
 	padding-left: 0px;
 	padding-right: 0px;
}*/

/* Bottom Bar Commercial */

#dmg_layout_bottom_content img {
    float: right;
    border-left: 1px solid rgba(0,0,0,.4);
    margin-left: 10px;
    margin-top: 10px;
    max-height: 30px;
}

#dmg_layout_bottom_content a {
	font-size: 24px;
	padding: 5px;
}

.dmg_layout_bottomTitle {
	color: #666666;
}

.dmg_layout_bottomText {
	display: none;
} 

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


@media screen and (max-width: 960px) {
	
	#dmg_layout_bottom_content a {
	    text-align: right;
	    padding: 10px 15px;
	}
	
}

@media screen and (max-width: 730px) {
	
	#dmg_layout_bottom_content img {
	    padding: 0 0 0 10px;
	    max-height: 30px;
	
	}
	
	#dmg_layout_bottom_content .dmg_layout_bottomTitle {
	    font-size: 21px;
	    line-height: 30px;
	}
	
}

@media screen and (max-width: 480px) {
	
	#dmg_layout_bottom_content img {
	    padding: 8px 0 8px 10px;
	    max-height: 25px;
	}
	
	#dmg_layout_bottom_content img {
	    float: none;
	    border-left: none;
	    padding: 0;
	    margin-left: auto;
	    margin-right: auto;
	}


}
/* homepage Area Boxes */

#dmg_layout_customOne .dmg_layout_holder {
	/*padding: 0;*/
	max-width: 100%;
	text-align: center;
}

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

#dmg_layout_customOne li {
    width: 25%;
    float: left;
    display: inline;
    position: relative;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    line-height: 0;
    word-wrap: normal;
}

#dmg_layout_customOne a {
	text-decoration: none;
}

#dmg_layout_customOne .dmg_layout_homepageBoxInfo {
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    transition: color 1s;
    color: #00285d;
    font-size: 21px;
    line-height: 28px;
    opacity: .8;
    text-align: left;
}

#dmg_layout_customOne img {
    max-width: 100%;
    height: auto;
    z-index: 1;
    -webkit-filter: grayscale(.8);
  	filter: grayscale(.8);
  	transition: filter .5s;
}

#dmg_layout_customOne a:hover .dmg_layout_homepageBoxInfo {
	opacity: 1;
	text-decoration: none;
}

#dmg_layout_customOne a:hover img {
	-webkit-filter: grayscale(0);
  	filter: grayscale(0);
  	transition: filter .5s;
}

#dmg_layout_bfAVM, #dmg_layout_welcome {
	background-attachment: fixed;
	
	}
	
#dmg_layout_bfAVM:before, #dmg_layout_welcome:before {
	width: 100%;
	border: 88px solid #ffffff;
	border-image-source: url(/shared/fs/0720/company/border2White.png);
	border-image-slice: 88;
	box-sizing: border-box;
	
}
	
#dmg_layout_main #dmg_layout_bfAVM .dmg_layout_holder,
#dmg_layout_main #dmg_layout_welcome .dmg_layout_holder {
 	padding-left: 70px;
 	padding-right: 70px;
}

/* Homepage Market Stats */

#dmg_layout_customFile {
	background-color: #011a3c;	
}

#dmg_layout_customFile .dmg_layout_holder {
	max-width: 100%;
}

#dmg_layout_customFileContents h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    line-height: 60px;
    color: #ffffff;
    font-weight: 300;
    padding: 10px 0;
    margin: 0;
    text-align: center;
}

#dmg_layout_customFileContents h3 {
	font-size: 36px;
    line-height: 48px;
	color: #ffffff;
	padding: 10px 0;
    margin: 0;
    text-align: center;
}

.dmg_layout_indMarket {
	width: 25%;
	text-align: center;
	float: left;
	padding: 0 20px;
	box-sizing: border-box;
}

#dmg_layout_customFile .dmg_layout_holder #dmg_layout_customFileContents {
    max-width: 100%;
    font-size: 18px;
}

#dmg_layout_customFile .dmg_layout_holder #dmg_layout_customFileContents h4 {
	font-size: 30px;
    line-height: 36px;
	color: #ffffff;
	font-family: 'Playfair Display', serif;
	font-weight: 300;
	padding: 10px 0 0 0;
    margin: 0;
}

#dmg_layout_customFile .dmg_layout_holder #dmg_layout_customFileContents div div {
	width: 35%;
	display: inline-block;
	color: #ffffff;
}

#dmg_layout_customFile .dmg_layout_holder #dmg_layout_customFileContents div span {
	font-weight: bold;
	display: block;
	margin: 10px 0 0 0;
	font-size: 24px;
}

#dmg_layout_customFile .dmg_layout_holder #dmg_layout_customFileContents div div:nth-child(odd) {
	margin-right: 15%;
}

#dmg_layout_customFile .dmg_layout_holder #dmg_layout_customFileContents div div:nth-child(even) {
	margin-left: 15%;
}

#dmg_layout_customTwoContents #standardContent {
	float: left;
	width: 30%;
	margin-right: 10%;
}

#dmg_layout_customTwoContents #standardContent img {
	width: 100%;
	max-width: 400px;
	height: auto;
}

#dmg_layout_customTwoContents #standardPhotos {
	float: right;
	width: 60%;
}

#dmg_layout_customTwoContents #standardMainPhoto {
	float: left;
	margin-right: 20px;
	display: block;
	width: calc(68.65% - 20px);
	height: auto;
}

#dmg_layout_customTwoContents #standardSecondaryPhotos {
	float: left;
	width: 31.35%;
}

#dmg_layout_customTwoContents #standardSecondaryPhotos img {
	width: 100%;
	height: auto;
}

#dmg_layout_customTwoContents #standardSecondaryPhotos img:nth-child(1) { 
	margin-bottom: 20px;
}

#dmg_layout_customTwoContents #standardContent a {
	background-color: #308555;
	display: block;
	width: 100%;
	max-width: 400px;
	color: #ffffff;
	font-size: 42px;
	padding: 20px;
	box-sizing: border-box;
	text-transform: uppercase;
	text-align: center;
	margin: 10px 0;
}

#dmg_layout_customTwoContents #standardContent a:hover {
	text-decoration: none;
	background-color: #184f30;
}

#dmg_layout_customTwoContents #standardContent p {
	font-size: 24px;
}
/*====== Internal Background Styles ====== */

.dmg_layout_internal_background {
	background-image: url('/shared/fs/0720/company/interiorBg/Interior1.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top;
	background-attachment: fixed;
	width: 100%;
	z-index: 0;
}

.dmg_layout_internal_background #dmg_layout_bottomBar::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 120px;
    background: -webkit-linear-gradient(rgba(0,0,0,.4), transparent);
    background: -o-linear-gradient(rgba(0,0,0,.4), transparent);
    background: -moz-linear-gradient(rgba(0,0,0,.4), transparent);
    background: linear-gradient(rgba(0,0,0,.4), transparent);
    z-index: -10;
    pointer-events: none;
}

#dmg_layout_internal  {
	position: relative;
	margin-top: 100px;
}

#dmg_mapsearch_table #dmg_layout_internal {
	position: static;
}

#dmg_mapsearch_table .dmg_results_search {
    position: relative;
}

#dmg_mapsearch_table .dmg_map_sidebar {
	background-color: #ffffff;
}

#dmg_layout_header.dmg_internal_mapsearch {
	position: relative;
	
}

#dmg_layout_internal #dmg_results_wrapper .dmg_results_title, 
#dmg_layout_internal.dmg_internal_area_customContent h1,
#dmg_layout_internal.dmg_internal_area_contact h1,
#dmg_layout_internal.dmg_internal_area_myaccount h1,
#dmg_layout_internal.dmg_internal_area_agents h1 {
	color: #00285d;
	background-color: #ffffff;
	width: 100%;
	padding: 0;
	box-sizing: border-box;
	text-align: left;
	margin: 0 0 20px 0;
	font-size: 42px;
	line-height: 50px;
	font-weight: 300;
}

.dmg_internal_seoarea_listingDetailPage #dmg_layout_header,
.dmg_internal_subarea_mapsearch #dmg_layout_header {
	position: relative;
}

#dmg_layout_internal.dmg_internal_seoarea_listingDetailPage {
    margin-top: 20px;
}

#dmg_layout_wrapper.dmg_internal_subarea_detail {
	background: transparent;
	background-image: url('/shared/fs/0720/company/interiorBg/Interior1.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top;
	background-attachment: fixed;
	width: 100%;
}

#dmg_layout_internal-page div.my-home-value h2 {
	color: #ffffff;
	margin-top: 100px;
}

#dmg_layout_internal-page div.my-home-value #mainContent {
    background-image: none;
}

#dmg_layout_internal-page div.my-home-value #mainContent #dmg_layout_quickSearch {
    margin: 150px auto;
}

#dmg_layout_internal-page div.my-home-value .widthContainer {
    padding: 40px 10px 0 10px;
}

/*====== End Internal Background Styles ====== */

/*====== Sidebar Styles ====== */

#dmg_layout_internal-page .dmg_column_content {
    padding-right: 60px;
}
#dmg_layout_internal-page .dmg_column_sidebar {
    max-width: 330px;
}

.dmg_column_sidebar .dmg_custom_form {
    background: transparent;
    padding: 0;
}

.dmg_column_sidebar .dmg_custom_form li {
    font-size: 18px;
}

.dmg_custom_form_bg .custom_form_submit {
	background-color: #00285d !important;
	width: 100%;
	text-transform: uppercase;
	font-family: 'Open Sans Condensed', sans-serif;
	height: 45px;
}

.dmg_custom_form_bg .custom_form_submit:hover {
	background-color: #cc3433 !important;
	transition: background .5s;
}

#dmg_layout_internal-page .dmg_custom_form_bg {
	padding: 30px;
}

#dmg_layout_internal-page .dmg_column_sidebar .dmg_custom_form li + li {
    margin-top: 3px;
}

.dmg_column_sidebar #dmg_sidebar_nav .top_level_sidenav {
	text-align: left;
}

.dmg_column_sidebar #dmg_sidebar_nav {
	padding: 0;
}

.dmg_column_sidebar #dmg_sidebar_nav a {
padding: 10px 20px;	
	}
	
#dmg_layout_internal-page #dmg_sidebar_nav a:hover {
	background-color: #00285d;
	color: #ffffff;
}

#dmg_layout_internal-page #dmg_sidebar_nav .active_link {
	background-color: #00285d;
	color: #ffffff;
}

/*====== END Sidebar Styles ====== */

/*====== Internal Content Styles ====== */

.dmg_layout_internal_photo {
	display: none;
}

#dmg_layout_internal h2 {
	font-size: 30px;
	line-height: 36px;
	font-weight: normal;
}

#dmg_layout_internal h3 {
	font-size: 24px;
	line-height: 30px;
	font-weight: normal;
}

#dmg_layout_internal-page p {
	font-size: 18px;
	line-height: 30px;
}

#dmg_layout_internal-page a:hover {
	text-decoration: none;
}

#dmg_layout_internal-page .dmg_internal_area_customContent li {
	font-size: 18px;
	line-height: 30px;
	padding: 5px 0;
}

.dmg_internal_seoarea_listingDetailPage #dmg_layout_internal-page, .dmg_internal_seoarea_cityLandingPage  #dmg_layout_internal-page {
	padding: 0;
}

#dmg_mlp_wrapper #dmg_mlp_header, #dmg-wiid-3.dmg_lp_wdgt_featured_homes h2, .dmp_lp_wdgt_mhf_signup {
		background-color: #00285d;
	}
	
#dmg_mlp_wrapper .dmg_lp_wdgt_market_info h2,
#dmg_mlp_wrapper .dmg_lp_wdgt_quick_search h2,
#dmg_layout_internal .dmp_lp_wdgt_related_pages_container h2,
#dmg_layout_internal .related_cols h3,
#dmg_layout_internal .dmp_lp_wdgt_market_links h2 {
		color: #00285d;
	}
	
.dmg_wdgt_qsearch_links_wrapper .dmg_quick_search_submit  {
		background-color: #00285d;	
	}
	
.dmg_wdgt_qsearch_links_wrapper .dmg_quick_search_submit:hover {
		background-color: #cc3433;	
	}
	
.dmp_lp_wdgt_mhf_submit {
		background-color: #cc3433;	
	}
	
.dmp_lp_wdgt_mhf_submit:hover {
		background-color: #000000;	
	}
	
.dmg_content_fullPhoto {
	width: 100%;
	height: auto;
	margin-top: -15px;
}

.dmg_content_inlinePhoto {
	max-width: 100%;
	height: auto;
}

.dmg_content_rightPhotoNoBorder {
	float: right;
	max-width: 300px;
	height: auto;
	margin-left: 50px;
}

.dmg_content_contentQuestion a {
	background: #00285d;	
	color: #ffffff;
	display: block;
	position: absolute;
	right: 0;
	top: 10px;
	padding: 10px;
}

.dmg_content_contentQuestion h2, .dmg_content_contentQuestion p {
	width: calc(100% - 200px);
}

.dmg_content_contentQuestion a:hover {
	background: #cc3433;
	transition: background .5s;
}

.dmg_content_contentQuestion a:after {
	content: "\f054";
	font-family: 'FontAwesome';
	padding-left: 10px;
	font-weight: 300;
	float: right;
}

.dmg_content_contentQuestion {
	content: "";
	clear: both;
	display: block;
	position: relative;
}

#dmg_layout_internal-page p.dmg_content_firstPara {
	font-size: 26px;
	line-height: 30px;
	width: 70%;
}

#dmg_layout_internal-page p a {
	font-weight: 600;
}

	
/*====== End Internal Content Styles ====== */

/*====== Community Pages ====== */
.community_page {display: flex; flex-flow: row wrap; justify-content: center;}
.community_page .banner {width: 100%; margin-bottom: 20px;}
.community_page .banner img {width: 100%; height: auto;}
.community_page .community_content {flex: 1 1; padding-right: 25px;}
.community_page .community_content .image_box {margin-bottom: 10px; text-align: center; height: auto;}
.community_page .community_content .image_box br {display: none;}
.community_page .community_content .image_box img {max-width: 700px; margin: 0 auto 5px; display: block;}
.community_page .community_column {flex: 0 0 400px;}
.community_page .community_column img {width: 100%; height: auto; margin: 0 auto; display: block;}


/*====== End Community Page Styles ====== */


/*====== Random Content Styles ====== */
/*
#dmg_agent_office_wrap .dmg_agent_letter {
	background-color: #00285d;
	color: #ffffff;
}

#dmg_agent_office_wrap .dmg_agent_letter:hover {
	background-color: #005a68;
}

#dmg_agent_office_wrap button.dmg_agent_search_submit {
    background: #00285d;
}

#dmg_agent_office_wrap .dmg_agent_search_submit:hover {
	background-color: #005a68;
}
*/


#dmg_layout_internal #dmg_dynamic_office h1 {
    color: #005a68;
    background-color: transparent;
    width: 100%;
    padding: 0;
    text-align: left;
}

#dmg_layout_internal  #dmg_layout_agents_wrapper h2 {
    color: #005a68;
    border-bottom: 1px solid #c1c1c1;
}

/*
#dmg_layout_internal  #dmg_layout_office_links a {
	background: #005a68;
}
*/

#dmg_layout_internal #dmg_contact_wrapper, 
#dmg_layout_internal #dmg_mhf_register_wrapper, 
#dmg_layout_internal #dmg_layout_vma_wrapper, 
#dmg_layout_internal #dmg_layout_vma_wrapper #dmg_layout_vma_desc {
	max-width: 1280px;
	}
		
.id1410556 #dmg_layout_internal-page > ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.id1410556 #dmg_layout_internal-page > ul li {
	width: 30.66%;
	float: left;
	margin: 0px 2% 40px 2%;
	box-sizing: border-box;
	text-align: left;
	font-size: 24px;
	text-transform: uppercase;
	position: relative;
}

.id1410556 #dmg_layout_internal-page > ul li:nth-child(3n + 1) {
	margin-left: 0px;
}


.id1410556 #dmg_layout_internal-page > ul li:nth-child(3n) {
	margin-right: 0px;
}

.id1410556 #dmg_layout_internal-page > ul li img {
	width: 100%;
	height: auto;
	padding-bottom: 5px;
}

.id1410556 #dmg_layout_internal-page ul:after {
	content: "";
	display: block;
	clear: both;
}

.id1410556 #dmg_layout_internal-page > ul li a img {
	filter: grayscale(100%);
}

.id1410556 #dmg_layout_internal-page > ul li a:hover img {
	filter: grayscale(0%);
	transition: filter 1s;
}

/*

.id1410556 #dmg_layout_internal-page > ul li a span {
	position: absolute;
	width: 100%;
	padding: 15px;
	box-sizing: border-box;
	bottom: 0;
	left: 0;
	background-color: rgba(0,40,93,.8);
	color: #ffffff;
}

.id1410556 #dmg_layout_internal-page > ul li a:hover span {
	background-color: rgba(204,52,51,.8);
	color: #ffffff;
	transition: background 1s;
}*/

.dmg_layout_contentButton:hover {
	color: #cc3433;
}

.dmg_layout_contentButton:after {
	content: "\f054";
	font-family: 'FontAwesome';
	padding-left: 10px;
	font-weight: 300;
}

.dmg_layout_resourceButtons {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

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

#dmg_layout_internal-page .dmg_layout_resourceButtons li {
	display: inline-block;
	width: 30%;
	margin-right: 2%;
	margin-bottom: 20px;
	background: #efefef;
	padding: 20px 10px;
	box-sizing: border-box;
	text-align: center;
	vertical-align: top;
	min-height: 280px;
}

#dmg_layout_internal-page .dmg_layout_resourceButtonsShort li {
	min-height: auto;
	font-weight: bold;
	font-size: 21px;
	line-height: 28px;
}

.dmg_layout_resourceButtons strong {
	display: block;
}

.dmg_layout_resourceButtons a {
	color: #00285d;
	text-transform: uppercase;
	box-sizing: border-box;
	text-align: center;
	display: block;
}

.dmg_layout_resourceButtons a:before {
	font-family: 'FontAwesome';
	font-weight: 300;
	display: block;
	font-size: 48px;
	margin: 10px 0;
}

.autoInsurance:before {
	content: "\f1b9";
}

.homeInsurance:before {
	content: "\f015";
}

.businessInsurance:before {
	content: "\f0b1";
}

.lifeInsurance:before {
	content: "\f1cd";
}

.umbrellaInsurance:before {
	content: "\f0e9";
}

.residentialButton:before {
	content: "\f015";
}

.commercialButton:before {
	content: "\f1ad";
}

.propMangeButton:before {
	content: "\f084";
}

.financialButton:before {
	content: "\f155";
}

.insuranceButton:before {
	content: "\f0e9";
}

.leadersButton:before {
	content: "\f0c0";
}

.dmg_layout_executives div {
	width: 50%;
	float: left;
	margin-bottom: 20px;
}

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

.dmg_layout_executives img {
	float: left;
	margin-right: 20px;
	
}

.dmg_layout_executives p {
	float: left;
	margin: 0;
	padding: 0;
	width: calc(100% - 160px);
}

.dmg_layout_borderTop {
	border-top: 1px solid #efefef;
	padding: 30px 0;
}

.news-column-left {
	float: left;
	width: 65%;
}

.news-column-right {
	float: right;
	width: 30%;
	text-align: center;
}

.news-column-right img {
	max-width: 100%;
	height: auto;
	display: block;
	float: none !important;
	margin: auto;
}

.dmg_layout_commSupportList {
	-webkit-column-count: 2; /* Chrome, Safari, Opera */
-moz-column-count: 2; /* Firefox */
column-count: 2;
}
	
.dmg_layout_commSupportList p {
	margin: 0;
	padding: 0;
}
/*====== End Random Content Styles ====== */

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

	#dmg_layout_internal-page .dmg_layout_resourceButtons li {
		min-height: 340px;
	}
	
	#dmg_layout_internal-page .dmg_layout_resourceButtonsShort li {
		min-height: auto;
	}

}

@media screen and (max-width: 1060px) {
	
	#dmg_layout_customOne li {
	    width: 50%;
	}
	
	#dmg_layout_internal-page .dmg_layout_resourceButtons li {
		width: 47%;
		min-height: 300px;
	}
	
	#dmg_layout_internal-page .dmg_layout_resourceButtonsShort li {
		min-height: auto;
	}
	
	.dmg_layout_executives div {
		width: 100%;
	}
	

}

@media screen and (max-width: 940px) {
	.dmg_layout_indMarket {
		width: 50%;
		margin-top: 30px;
	}
	
	#dmg_layout_internal-page p.dmg_content_firstPara {
		font-size: 24px;
		line-height: 30px;
		width: 100%;
	}
	
	#dmg_layout_customTwoContents #standardMainPhoto {
		margin-right: 10px;
		width: calc(68.65% - 10px);
	}
	
	#dmg_layout_customTwoContents #standardSecondaryPhotos img:nth-child(1) {
	    margin-bottom: 10px;
	}
	
}

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

	#dmg_layout_internal-page {
	    padding: 20px;
	}
	
	#dmg_layout_internal #dmg_results_wrapper .dmg_results_title, 
	#dmg_layout_internal.dmg_internal_area_customContent h1,
	#dmg_layout_internal.dmg_internal_area_contact h1,
	#dmg_layout_internal.dmg_internal_area_myaccount h1,
	#dmg_layout_internal.dmg_internal_area_agents h1 {
		font-size: 36px;
		line-height: 42px;
	}
	
	#dmg_layout_internal-page .dmg_column_sidebar {
	    margin: auto;
	}
	
	#dmg_layout_internal-page .dmg_column_content {
	    padding-right: 0px;
	}
	
	.id1410556 #dmg_layout_internal-page > ul li {
	width: 48%;
	margin: 0px 0 40px 0;
	}
	
	.id1410556 #dmg_layout_internal-page > ul li:nth-child(odd) {
		margin-left: 0px;
		margin-right: 2%;
	}
	
	.id1410556 #dmg_layout_internal-page > ul li:nth-child(even) {
		margin-right: 0px;
		margin-left: 2%;
	}
	
	.news-column-left {
		float: none;
		width: 100%;
	}
	
	.news-column-right {
		float: none;
		width: 100%;
		text-align: center;
	}
	
	.dmg_layout_commSupportList {
	-webkit-column-count: 1; /* Chrome, Safari, Opera */
-moz-column-count: 1; /* Firefox */
column-count: 1;
}

	#dmg_layout_customTwoContents #standardContent, #dmg_layout_customTwoContents #standardPhotos {
	    float: none;
	    width: 100%;
	}
		
}

@media screen and (max-width: 560px) {
	#dmg_layout_slogan h1, #dmg_layout_slogan h2 {
	    font-size: 36px;
	    line-height: 48px;
	}
	
	/*
	#dmg_layout_slogan {
	    border: 70px solid #ffffff;
		border-image-source: url(/shared/fs/0720/company/border2.png);
		border-image-slice: 88;
	}

	#dmg_layout_main #dmg_layout_slogan .dmg_layout_holder {
	 	padding: 0;
	}*/
	
	#dmg_layout_welcome:before,
	#dmg_layout_bfAVM:before {
	    outline-offset: -20px;
	}

	#dmg_layout_main #dmg_layout_welcome .dmg_layout_holder,
	#dmg_layout_main #dmg_layout_bfAVM .dmg_layout_holder {
	 	padding-left: 60px;
	 	padding-right: 60px;
	}
	
	#dmg_layout_customOne li {
	    width: 100%;
	}
	
	.dmg_layout_indMarket {
		width: 100%;
	}
	
	#dmg_layout_internal-page {
	    padding: 20px;
	    display: block;
	}
	
	.dmg_content_contentQuestion h2, .dmg_content_contentQuestion p {
		width: 100%;
	}
	
	.dmg_content_contentQuestion a {
		position: relative;
		right: 0;
		top: 0px;
		padding: 10px;
		width: auto;
		max-width: 200px;
	}
	
	.dmg_content_rightPhotoNoBorder {
		float: none;
		margin: auto;
		max-width: 100%;
		height: auto;
		display: block;
	}
	
}

@media screen and (max-width: 490px) {
	#dmg_layout_internal-page .dmg_layout_resourceButtons li {
		width: 100%;
		min-height: auto;
		margin-right: 0;
	}
	
	#dmg_layout_internal-page .dmg_layout_resourceButtonsShort li {
		min-height: auto;
	}
}

@media screen and (max-width: 420px) {
	
	.id1410556 #dmg_layout_internal-page > ul li {
		width: 100%;
		margin: 0px 0 40px 0;
	}
	
	.id1410556 #dmg_layout_internal-page > ul li:nth-child(odd) {
		margin-right: 0;
	}
	
	.id1410556 #dmg_layout_internal-page > ul li:nth-child(even) {
		margin-left: 0;
	}
	
}
