p, h1, h2, h3, h4, h5, h6, img, div, span, form, fieldset, label, legend {margin: 0px; padding: 0px; border: 0px; font-size: 1em;}

ol, ul, dl { margin: 0 0 0 2.5em; padding: 0; }
legend { display: none; }
li:hover { visibility:visible }

h1 { font-family: Arial, Helvetica, sans-serif; font-size: 1.3em; color: #005BAF; }

/* Font sizes - 2.2em=22px | 2em=20px | 1.8em=18px | 1.6em=16px
                     1.4em=14px | 1.2em=12px | 1em=10px | .8em = 8px */

/*========General========*/
a:link { color: #003366; text-decoration:none; }
a:visited { color: #003366; text-decoration:none; }
a:hover { color: #0063be; }
a:active { color: #0063be; }

.clearBoth { clear: both; }
.clearLeft { clear: left; }
.clearRight { clear: right; }
.floatLeft { float: left; }
.floatRight { float: right; }

.alignCenter { text-align: center; }
.alignLeft { text-align: left; }
.alignRight { text-align: right; }
.ImageFloat { float: right; padding: 3px; border: 1px solid black; margin: 5px; }

.textRight { text-align: right; }
strong { font-weight: bold; }
body { width: 100%; margin: 0 auto; padding: 0; }

/*========Header========*/
#dmg_layout_headerBG { width: 100%; height: 126px; background: url(/shared/images/templates/2401/headerBG.jpg) repeat-x; }
#dmg_layout_headerContent { width: 960px; height: 126px; margin: 0 auto; }
.dmg_layout_agent_photo { float: left; margin: 10px 0 0 0; }
.dmg_layout_agent_photo img { width: 65px; height: 98px; padding: 3px; background: #ffffff; -webkit-box-shadow:  0px 0px 2px 1px #222222; box-shadow:  0px 0px 2px 1px #222222; }
#dmg_layout_namePhone { float: left; width: 375px; height: 126px; }
.dmg_layout_agentName { float: left; width: 375px; margin: 21px 0 0 15px; font-family: "Times New Roman", Times, serif; font-size: 1em; color: #ffffff; font-weight: bold; text-shadow: 2px 2px 3px #222222; filter: dropshadow(color=#000000, offx=2, offy=2); }
.dmg_layout_realtorTitle { color: #0063be; }
#dmg_layout_agentPhone { float: left; margin: 6px 0 0 14px; padding: 4px 10px 2px 10px; height: 19px; background: #222222; font-size: .9em; -webkit-border-radius: 4px; border-radius: 4px; behavior: url(/shared/htc/PIE.php); position: relative; }
#dmg_layout_agentPhone img { margin: 0 0 0 12px; }
.dmg_layout_topPhone { float: left; font-family: Arial, Helvetica, sans-serif; font-size: .95em; color: #ffffff; }
#dmg_layout_social { float: left; clear: left; margin: 7px 0 0 14px; }
#dmg_layout_social img {width: 28px; height: 28px; padding: 0 7px 0 0; }

.dmg_layout_socialBottom {margin-top: 5px; overflow:hidden:}
#dmg_layout_footer .dmg_layout_socialBottom img { border: none; padding: 0 7px 0 0; width: 22px; height: 23px; -webkit-box-shadow: none; box-shadow: none; background: none; }

/*========Homefinder========*/
#dmg_layout_homefinderBG { float: right; width: 480px; padding: 0 0 0 10px; height: 35px; margin: 10px 0 0 0; -webkit-border-radius: 4px; border-radius: 4px; background: #121212; behavior: url(/shared/htc/PIE.php); position: relative; }

#dmg_layout_mhf h1 { display: none; }

/*========Homefinder Buttons========*/
#dmg_layout_mhf .myHomeFinderLinksCreateAccount, #dmg_layout_mhf  .myHomeFinderLinksLogIn:hover { float: right; width: 80px; height: 35px; vertical-align: middle; margin: 0 0 0 0; color: #FFFFFF; font-size: 1em; text-align: center; text-decoration: none; display: inline-block;
background: #414141; font-family: Arial, Helvetica, sans-serif; font-size: .9em; line-height: 35px; }
#dmg_layout_mhf  .myHomeFinderLinksLogIn, #dmg_layout_mhf  .myHomeFinderLinksCreateAccount:hover { float: right; width: 80px; height: 35px; vertical-align: middle; margin: 0 0 0 0; color: #FFFFFF; font-size: 1em; text-align: center; text-decoration: none; display: inline-block;
background: #272727; font-family: Arial, Helvetica, sans-serif; font-size: .9em; line-height: 35px; }
.port { float: left; display: inline-block; padding: 9px 5px 0; }
a.port:link { color: white; font-family: Verdana,Arial,Helvetica,Geneva,Swiss,SunSans-Regular; font-size: 10px; text-decoration: underline; }
.dmg_homefinder_middlecontent { float: left; display: inline-block; margin: 10px 0 0 5px; font-family: Arial, Helvetica, sans-serif; font-size: .8em; color: #ffffff; }
#MPusername { font: 12px arial; width: 170px; margin: 5px 0; }
#MPpassword { font: 12px arial; width: 170px; margin: 5px 0; }
.alphacube_message { font: 12px arial; margin: 0 auto; padding-bottom: 10px; text-align: center; width: 220px; }
.alphacube_buttons { text-align: center; width: 100%; }
.alphacube_buttons input { margin: 3px; width: 20%; }
.login_label { margin: 5px 0 0 0; }

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

/*========MHF Modal========*/
.alphacube_buttons input {background: #004299; color: #FFFFFF; margin: 0 5px;}
#login_title { font-family: 'Lato', sans-serif; font-size: 1.4em; font-style: italic; font-weight: 100; color: #00429b; margin: 0 0 5px 0; }

/*========Logo========*/
#dmg_layout_logo { float: right; margin: 6px 0 0 0; background: url(/shared/images/templates/2401/logoBg.png) no-repeat; }

/*========Navigation========*/
#dmg_layout_navBG { width: 100%; height: 38px; background: url(/shared/images/templates/2401/navBG.png) repeat-x; border-top: solid 1px #ffffff; border-bottom: solid 1px #ffffff; }
#dmg_layout_nav { width: 960px; height: 39px; margin: 0 auto; }

#dmg_layout_nav ul { margin: 0; padding: 0; list-style: none; position: relative; z-index: 300000; }
#dmg_layout_nav li { float: left; position: relative; }
#dmg_layout_nav a { font-family: Arial, Helvetica, sans-serif; display: block; margin: 11px 15px 10px; color: #FFFFFF; font-size: .85em; text-transform: uppercase; }
#dmg_layout_nav a:hover { text-decoration:none; color: #FFFFFF; }

#dmg_layout_nav li ul { display: block; margin: 0 0 0 5px; padding: 0; background: #ffffff; left: -999em; position: absolute; width: 10em; z-index: 2000; }

#dmg_layout_nav li ul ul { margin: -37px 0 0 10em; }
#dmg_layout_nav li ul li  { background: #ffffff; float: none; color: #141414; } /*Menu background*/
#dmg_layout_nav li ul a:hover { color: #141414; } /*Hover color of text link in menus*/
#dmg_layout_nav li:hover ul ul, #dmg_layout_nav li.sfhover ul ul { left: -999em; }
#dmg_layout_nav li:hover ul, #dmg_layout_nav li li:hover ul, #dmg_layout_nav li.sfhover ul, #dmg_layout_nav li li.sfhover ul { left: auto; }

#dmg_layout_nav ul li ul { border: solid 1px #40403f; }
#dmg_layout_nav ul li ul li { border-bottom: solid 1px #cccccc; }
#dmg_layout_nav ul li ul li a { color: #141414; margin: 0; padding: 10px 5px; text-align: center; }
#dmg_layout_nav ul li ul li a:hover { background: #005CB1; color: #ffffff; }

.dmg_nav_expand { background:url(/shared/images/templates/2401/arrowOut.png) no-repeat 145px center; }
#dmg_layout_nav .dmg_nav_expand:hover { background: #005CB1 url(/shared/images/templates/2401/arrowOutH.png) no-repeat 145px center;  }

/*========Center========*/
#dmg_layout_centerBG { padding: 28px 0 0 0; width: 100%; height: 334px; background: url(/shared/images/templates/2401/centerBG.png) repeat-x; }
#dmg_layout_centerImage { width: 956px; height: 297px; border: solid 3px #898989; margin: 0 auto; background: url(/shared/images/templates/2401/centerImage.jpg) no-repeat; }

#dmg_layout_contentSection #mainContainer { width: 955px; }

/*========Property Search========*/
#dmg_layout_pSearchBG { float: right; width: 284px; height: 260px; margin: 16px 17px 0 0; background: url(/shared/images/templates/2401/psBG.png) repeat; border: solid 3px #ffffff; }
.dmg_layout_psHeading { margin: 20px 0 0 0; color: #003366; font-family: "Times New Roman", Times, serif; font-size: 1.5em; }
#dmg_layout_search{ width: 270px; margin: 0 0 0 12px; height: 240px;}
#dmg_layout_search .dmg_layout_searchLink { float: right; font-family: Arial, Helvetica, sans-serif; text-align: left; margin: 1px 0 0 0; font-size: 0.7em; color: #003783; width: 130px; }
#dmg_layout_search a { color: #003366; font-weight: bold; }
#dmg_layout_search a:hover { color: #0063BE; text-decoration: none; }
#dmg_layout_search .dmg_layout_searchLink span:hover{ color: #a3224c; }
#dmg_layout_qsearch_term{ font-size: 0.75em; margin: 4px 0; padding: 3px 2px;  width: 254px; color: #0A335E; font-style: italic; border: 1px solid #00419B; background: #eef3f8; }
#dmg_layout_search ul{ list-style: none; margin: 0; padding: 0; }
#dmg_layout_search li{ float: left; margin: 2px 10px 3px 0; width: 125px; }
#dmg_layout_search select{}
.dmg_layout_searchShot{ width:115px!important;}
.dmg_layout_price{width:115px!important}
#dmg_layout_propertyType{width: 260px!important;}
#dmg_layout_search .chzn-container {color: #00429B!important; font-size: .8em!important; font-weight: normal!important; width: 270px;}
#dmg_layout_search .chzn-single {height: 25px; -webkit-border-radius: 0px; -moz-border-radius: 0px;border-radius: 0px;}
#dmg_layout_search .chzn-container-single .chzn-single div{background: #eef3f8; /* for non-css3 browsers */}
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#004299', endColorstr='#1e384a'); /* for IE */
background: -webkit-gradient(linear, left top, left bottom, from(#004299), to(#1e384a)); /* for webkit browsers */
background: -moz-linear-gradient(top,  #cccccc,  #004299); /* for firefox 3.6+ */  -webkit-border-radius: 0px; -moz-border-radius: 0px;border-radius: 0px;}
#dmg_layout_search .chzn-container-single .chzn-single div b{ background: url("/shared/images/templates/2401/chosen-sprite.png") no-repeat 0 1px;}
#dmg_layout_search .chzn-container-single .chzn-single{border: 1px solid #003366;}
#dmg_layout_search .chzn-results li {width: 150px; margin-bottom: 3px; margin-right: 0; padding: 3px 4px; font-family: Arial, san-serif; float: none;}
#dmg_layout_search .chzn-container-single .chzn-search input {position: absolute; left: -9000px;}
.dmg_layout_searhBtn { clear: both; float: left; margin: 4px 0 0 0; }

/*========Slogan========*/
#dmg_layout_sloganBG { float: left; margin: 205px 0 0 -3px; background: url(/shared/images/templates/2401/sloganBG.png) repeat-x; overflow: auto; }
.dmg_layout_slogan { padding: 8px 15px; color: #ffffff; font-family: "Times New Roman", Times, serif; font-size: 1.5em; text-shadow: 2px 2px 3px #222222; filter: dropshadow(color=#000000, offx=2, offy=2); }

/*========New Search Results Size and Colors========*/
#dmg_layout_contentSection #dmg_results_wrapper { padding: 0 15px; min-width: 930px; }

#dmg_layout_contentSection #dmg_results_wrapper .dmg_results_blueText { color: #005BAF; }
#dmg_layout_contentSection #dmg_results_wrapper .dmg_search_grayBtnOn { background: url("/shared/search/version-00/images/buttonGradientOn.png") repeat-x scroll center top #005BAF; }
#dmg_layout_contentSection #dmg_results_wrapper .dmg_search_grayBtn:hover { background: url("/shared/search/version-00/images/buttonGradientOn.png") repeat-x scroll center top #959592; }

#dmg_layout_contentSection #dmg_results_wrapper #dmg_results_sortView { background: none repeat scroll 0 0 #959592; border-bottom: 5px solid #005BAF; }
#dmg_layout_contentSection #dmg_results_refineResults h2 { background: url("/shared/search/version-00/images/headerGradient.png") repeat-x scroll 0 0 #005BAF; }

#dmg_layout_contentSection #dmg_results_wrapper .dmg_results_price { background: url("/shared/search/version-00/images/headerGradient.png") repeat-x scroll center bottom #005BAF; }

#dmg_layout_contentSection #dmg_results_wrapper .dmg_results_listing { background: url("/shared/search/version-00/images/bg.png") repeat-x scroll 0 0 #959592; border: 1px solid #005BAF; }

#dmg_layout_contentSection .dmg_results_numberPhotos { background: url("/shared/search/version-00/images/viewPhotos.png") repeat-x scroll center bottom #005BAF; }

#dmg_layout_contentSection #dmg_results_wrapper .dmg_search_color1Btn { background: url("/shared/search/version-00/images/buttonGradient.png") repeat-x scroll center bottom #959592; }
#dmg_layout_contentSection #dmg_results_wrapper .dmg_search_color1Btn:hover { color: #005BAF; }

#dmg_layout_contentSection #dmg_results_wrapper .dmg_search_color2Btn { background: url("/shared/search/version-00/images/buttonGradient.png") repeat-x scroll center bottom #005BAF; }
#dmg_layout_contentSection #dmg_results_wrapper .dmg_search_color2Btn:hover { color: #959592; }

#dmg_layout_contentSection div#divLoading { background: url("/shared/search/version-00/images/buttonGradient.png") repeat-x scroll center bottom #005BAF; }

#dmg_layout_contentSection #dmg_results_wrapper #dmg_results_refineResults h2 { background: url("/shared/search/version-00/images/buttonGradient.png") repeat-x scroll center bottom #005BAF; }

/*========Content Area========*/
#dmg_layout_contentFeatured { width: 960px; height: auto; margin: 0 auto; padding: 20px 0 25px 0; overflow: auto; }
.dmg_layout_about { float: left; width: 600px; padding: 40px 0; min-height: 400px; }
#dmg_layout_aboutHeading { width: 550px; display: block; border-bottom: solid 1px #cccccc; font-family: Arial, Helvetica, sans-serif; font-size: 1.8em; color: #0063be; font-weight: 100; }
.dmg_layout_contentText { font-family: Arial, Helvetica, sans-serif; font-size: .9em; color: #2b2b2b; line-height: 23px; margin: 10px 0 0 0; }

.dmg_layout_about p { font-family: Arial, Helvetica, sans-serif; font-size: .85em; color: #2b2b2b; line-height: 23px; margin: 0 0 10px 0; }

/*========Featured Homes========*/
#dmg_layout_featuredBG { float: right; width: 306px; background: url(/shared/images/templates/2401/featuredBG.png) repeat-x; border: solid 2px #ebebeb; margin: 40px 0 0 0; }
#dmg_layout_featuredBG h2 { color: #003366; font-family: "Times New Roman", Times, serif; font-size: 1.5em; font-weight: normal; margin: 10px 0 0 20px; }
.divFeatListing { width: 265px; height: 105px; margin: 10px 0 10px 20px; }
.divFeatListing div {width: 125px; margin-top: 6px; font-size: 14px; float: left;}
.divFeatListing img {width: 120px; height: 94px; margin-right: 5px; float: left; padding: 3px; background: #ffffff; -webkit-box-shadow:  0px 0px 2px 1px #dddddd; box-shadow:  0px 0px 2px 1px #dddddd; behavior: url(/shared/htc/PIE.php); position: relative; }
#fhInfoAddress { float: left; width: 125px; font-family: Arial, Helvetica, sans-serif; font-size: 1em; color: #106dc2;}

.divFeatListing a {font-family: Arial, Helvetica, sans-serif; font-size: .8em; color: #106dc2; margin: 0 0 0 6px; text-decoration: none; font-weight: bold; }
.divFeatListing a:hover { text-decoration: none; }
 
/*
#dmg_layout_featuredBG { float: right; width: 306px; background: url(/shared/images/templates/2401/featuredBG.png) repeat-x; border: solid 2px #ebebeb; margin: 40px 0 0 0; }
#dmg_layout_featHeading { color: #003366; font-family: "Times New Roman", Times, serif; font-size: 1.5em; margin: 10px 0 0 20px; }
#dmg_layout_fhome { width: 265px; height: 105px; margin: 10px 0 10px 20px; }
#dmg_layout_fhome img { width: 120px; height: 94px; float: left; padding: 3px; background: #ffffff; -webkit-box-shadow:  0px 0px 2px 1px #dddddd; box-shadow:  0px 0px 2px 1px #dddddd; behavior: url(/shared/htc/PIE.php); position: relative; }
.dmg_layout_priceCity { float: left; width: 118px; font-family: Arial, Helvetica, sans-serif; font-size: 1em; color: #106dc2; margin: 0 0 0 6px; }
.dmg_layout_bedBath { float: left; width: 118px; font-family: Arial, Helvetica, sans-serif; font-size: .85em; color: #000000; margin: 3px 0 3px 6px; }
#dmg_layout_fhome a { float: left; font-family: Arial, Helvetica, sans-serif; font-size: .8em; color: #106dc2; margin: 0 0 0 6px; text-decoration: underline; font-weight: bold; }
#dmg_layout_fhome a:hover { text-decoration: none; }
*/

#dmg_layout_contentFeatured .dmg_agent_listing p {line-height: 1.375em;}

/*========My Links========*/
#dmg_layout_myLinks { clear: right; float: right; width: 310px; height: auto; margin: 20px 0 30px 0; }
#dmg_layout_linkHeading { color: #003366; font-family: "Times New Roman", Times, serif; font-size: 1.5em; display: block; border-bottom: solid 1px #e0e0e0; }
.dmg_layout_linkContent { font-family: Arial, Helvetica, sans-serif; font-size: .85em; color: #464646; margin: 10px 0; line-height: 22px; }
#dmg_layout_myLinks a { font-family: Arial, Helvetica, sans-serif; font-size: .85em; text-decoration: underline; }
#dmg_layout_myLinks a:hover { text-decoration: none; }

/*========Footer========*/
#dmg_layout_footerBG { width: 100%; height: 156px; background: url(/shared/images/templates/2401/footerBG.jpg) repeat-x; }
#dmg_layout_footer { width: 960px; height: auto; margin: 0 auto; }
#dmg_layout_footer img { width: 80px; height: 117px; padding: 3px; background: #ffffff; -webkit-box-shadow:  0px 0px 2px 1px #222222; box-shadow:  0px 0px 2px 1px #222222; }
.dmg_layout_agent_photo_footer { float: left; margin: 17px 0 0 0; }
.dmg_layout_footerHeading { font-family: "Times New Roman", Times, serif; font-size: 1.05em; color: #ffffff; font-weight: 100; }
.dmg_layout_contactItem { font-family: Arial, Helvetica, sans-serif; color: #ffffff; font-size: 1em; font-weight: 100; padding: 0 0 1px 0; }
.dmg_layout_contactItem a { color: #ffffff; text-decoration: underline; }
.dmg_layout_contactItem a:hover { text-decoration: none; }
#dmg_layout_contactInfo { float: left; width: 300px; margin: 17px 0 0 10px; font-size: 20px;}
#dmg_layout_browseLinks { float: right; width: 340px; height: 123px; margin: 17px 0 0 10px; overflow: hidden; }
#dmg_layout_browseLinks ul { float: left; width: 148px; list-style: none; text-align: left; font-family: Arial, Helvetica, sans-serif; font-size: .8em; line-height: 21px; margin: 0px 0 0 0; }
#dmg_layout_browseLinks a { color: #ffffff; text-decoration: none; }
#dmg_layout_browseLinks a:hover { text-decoration: underline; }
#dmg_layout_largeLogo { float: left; width: 295px; height: 123px; margin: 17px 0 0 10px; }
#dmg_layout_largeLogo img { background: none; border: none; width: auto; height: auto; -webkit-box-shadow: none; box-shadow: none; }

/*========Disclaimer========*/
#dmg_layout_disclaimer { clear: both;  margin: 20px auto 20px; width: 960px; font-size: .7em; line-height: 12px; }
#dmg_layout_disclaimer a { color: #003783; font-weight: bold; text-decoration: none; }
#dmg_layout_disclaimer a:hover { color: #910039; text-decoration: underline; }
#dmg_layout_disclaimer img { float: left; }

/*========Listings Search========*/
.search_types_step { line-height: 26px; }
#dmg_layout_contentSection #searchtypes { border-bottom: 1px solid #0057A8; font-family: Verdana,Arial,Helvetica,sans-serif; margin: 0 0 5px 0; padding: 0 0 26px; }
#dmg_layout_contentSection #searchtypes a { background: none repeat scroll 0 0 #0057A8; border: 0 none; color: #FFFFFF; display: block; margin: 0 10px 0 0; padding: 6px 12px; }
#dmg_layout_contentSection #searchtypes a:hover { background: #525252; }

/*========Contact Us========*/
#dmg_contact_left { float: left; width: 300px; }
#dmg_contact_right { float: right; }
#dmg_contact_left .dmg_contact_itemImage { padding-right: 15px; }
.dmg_contact_item ul { font-family: Arial, Helvetica, sans-serif; }

/*========Shared Copyright========*/
.dmg_shared_copyright { clear: both; }

/*========SEO Pages========*/
#dmg_optimize_content { overflow: auto; }
.right-column .page-body-sections h3 { color: #005BAF !important; }

/*========Testimonials========*/
/*
.dmg_layout_about .dmg_layout_testimonial .testimonial-content { color: #2B2B2B; font-family: Arial, Helvetica, sans-serif; font-size: .85em; line-height: 20px; margin: 0 0 10px; }
.dmg_layout_about .dmg_layout_testimonial .morelink { color: #2B2B2B; font-family: Arial, Helvetica, sans-serif; font-size: 1em; line-height: 20px; margin: 0 0 10px; }
.dmg_layout_about .dmg_layout_testimonial .testimonial-content a { color: #005BAF;; }
.dmg_layout_about .dmg_layout_testimonial .testimonial-content a:hover { color: #959592; text-decoration: underline; }

.dmg_layout_testIntro { width: 490px; margin: 5px 0; font-family: Arial, Helvetica, sans-serif; font-size: .9em; }

#formtestimonial { width: 450px; background: #F2F2F2; padding: 20px; }
#form { border: solid 1px #DFDFDF; border-right: solid 1px #DFDFDF; border-left: solid 1px #DFDFDF; border-bottom: none; padding: 10px; background: #F9F9F9; }
form#formtestimonial label.label { font-family: Arial, Helvetica, sans-serif; font-size: .8em; }
.require { font-family: Arial, Helvetica, sans-serif; font-size: .8em; color: #006EBC; }
#form label { font-family: Arial, Helvetica, sans-serif; font-size: .8em; }

.recaptchatable { border-top: none; width: 450px; background: #F9F9F9; }

.dmg_layout_subtitle {color: #ffffff; padding-left: 15px;}
*/

#dmg_layout_featured_wrapper {width: 306px; padding: 15px; margin-bottom: 20px; background: #FFFFFF url('/shared/images/templates/2406/featured-bg.png') bottom repeat-x; border: 2px solid #DDDDDD; overflow: hidden;}
#dmg_layout_featured_wrapper h2 {margin-bottom: 8px; font-size: 1.75em; font-weight: normal; color: <?php echo($color01Pal['Basetext'] == "#0F0F0F" ? ($color06Pal['Basetext'] == "#0F0F0F" ? "#3D3D3D" : $Color06) : $Color01); ?>;}
#dmg_layout_featured_wrapper div {width: 336px; margin-bottom: 15px; line-height: 1.5em; float: left; clear: left;}
#dmg_layout_featured_wrapper div img {margin-right: 5px; padding: 2px; border: 1px solid #E5E5E5; float: left;}