/* COLORS -
primary = #006325 light green
secondary = #1d442c dark green
tertiary = #EFEFEF
*
* font-family: 'Merriweather', serif;
*/

/* CSS Reset Changes */

html {height: 100%; background: #3b3b3b url('/images/layout5/site-bg.jpg') center 145px no-repeat; background-size: 100% auto;}


body {height: 100%; font-size: 100%; margin: 0 auto; font-family: 'Source Sans Pro',Arial, Helvetica, sans-serif;}

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

/* Fonts -  1.375em = 22px / 1.25em = 20px / 1.125em = 18px / 1em = 16px 
.875em = 14px / .75em = 12px / .687em = 11px / .625em = 10px */

h1, h2, h3, h4, h5, h6 {}

.dmg_layout_container {width: 960px; margin: 0 auto; padding: 0;}


/* == Header ==================== */
header {height: 105px; background: #FFFFFF;}
.dmg_layout_logo {width: 167px; height: 80px; margin: 12px 0 0 0; border: 0; float: left;}


/* == Homefinder ==================== */
.dmg_layout_mhf {margin: 8px 0 0 0; float: right;}
.dmg_layout_mhf a {padding: 0 4px; text-decoration: none; display: inline-block;}
.dmg_homefinder_middlecontent {display: inline-block;}
.dmg_layout_phone {margin: 5px 5px 0 0; padding-right: 5px; float: right; clear: right}


.dmg_layout_slogan {margin: 10px 0 0 0; color: #2e6e37; font-size: 22px; font-family: 'Merriweather', serif; float: right; clear: right;}

/* == Navigation ==================== */
nav {width: 100%; height: 40px; background: #1d442c; box-shadow: 0 0 6px #333333; z-index: 1000; position: relative}
nav ul {list-style: none; margin: 0; padding: 0; font-family: 'Merriweather', serif; font-size: 14px;}
#dmg_top_nav {width: 960px; margin: 0 auto; text-align:justify}
#dmg_top_nav > li {display: inline-block;}
#dmg_top_nav:after{content: ''; display: inline-block; width: 100%;}
#dmg_top_nav > li a:link, #dmg_top_nav > li a:visited, #dmg_top_nav > li a:active {padding: 0 8px; color: #FFFFFF; line-height: 40px; vertical-align: middle; text-decoration: none; display: block;}
#dmg_top_nav > li a:hover, #dmg_top_nav > li:hover {background: #006325}


nav li ul {min-width: 180px; display: block; margin: 0; padding: 0; background: #006325; position: absolute; left: -999em; box-shadow: 3px 3px 4px #333333; z-index: 10; clear: both;}
nav li ul ul { margin: -38px 0 0 180px; border-left: 1px solid #595959;}
nav li ul li  { background: #006325; float: none; color: #FFFFFF; display: block;} /*Menu background*/
nav li ul li a:link, nav li ul li a:visited, nav li ul li a:active {padding: 0 5px; color: #FFFFFF; display: block; line-height: 30px !important; box-shadow: inset 0 0 6px #004f1e; }
#dmg_top_nav li ul li a:hover {background: #009e3b; box-shadow: none;}
#dmg_top_nav li ul li:hover {background: #009e3b; color: #FFFFFF; } /*Hover color of text link in menus*/

nav li:hover ul ul { left: -999em; }
nav li:hover ul, nav li li:hover ul { left: auto;}

nav ul li ul li:first-child {border-bottom: 1px solid #004f1e;}
nav ul li ul li + li {border-top: 1px solid #00772c; border-bottom: 1px solid #004f1e;}
nav ul li ul li:last-child {border-bottom: 0;}

#dmg_layout_homepage {width: 960px; margin: 30px auto; background: #FFFFFF; box-shadow: 0 0 12px #000000;}


/* == Qsearch ==================== */
#dmg_layout_qsearch {width: 360px; height: 360px; padding: 20px 30px; background: #000000; background: url(/images/layout5/qsearch-bg.png) repeat; box-sizing: border-box; position: absolute; top: 50px; right: 40px; z-index: 500;}
#dmg_layout_qsearch h2 {margin-bottom: 20px; font-family: 'Merriweather', serif; font-size: 24px; color: #a5986e; font-weight: normal;}
#dmg_layout_qsearch ul {list-style: none; margin: 0; padding: 0;}
#dmg_layout_qsearch li {margin: 0 0 20px 0; float: left;}
#dmg_layout_qsearch_term {width: 295px; height: 26px; padding: 0 0 0 5px; color: #006225; line-height: 26px; vertical-align: middle; border: 0;}
#dmg_layout_qsearch select {height: 26px;}

#dmg_layout_qstype {width: 300px;}
#dmg_layout_qsminprice, #dmg_layout_qsmaxprice, #dmg_layout_qsbeds, #dmg_layout_qsbaths {width: 140px;}

.dmg_qsearch_button {width: 300px; padding: 0 10px; height: 40px; background: #006225; font-family: 'Merriweather', serif; font-size: 22px; line-height: 44px; vertical-align: middle; color: #ecead1; text-align: left; border: 0;}
.dmg_qsearch_button:hover {background: #1d442c}
.dmg_qsearch_button span {width: 39px; height: 27px; margin-top: 7px; background: url(/images/layout5/qsearch-arrows.png) no-repeat; display: inline-block; float: right;}
.dmg_qsearch_advanced {font-size: 14px; color: #938d66; text-align: center; display: block;}
.dmg_qsearch_advanced a:link, .dmg_qsearch_advanced a:visited, .dmg_qsearch_advanced a:active {color: #938d66}
.dmg_qsearch_advanced a:hover {color: #006325}

#dmg_layout_qsearch .chzn-container {font-size: .75em; color: #383838; font-family: Arial, Helvetica, san-serif;}
#dmg_layout_qsearch .chzn-single {height: 25px; padding-left: 3px; -webkit-border-radius: 0px; -moz-border-radius: 0px; border-radius: 0px; border: 1px solid #4e4e4e;}
#dmg_layout_qsearch .chzn-results li {line-height: 100%; margin-bottom: 3px; margin-right: 0; padding: 4px; float: none;}
#dmg_layout_qsearch .chzn-container-single .chzn-search input {position: absolute; left: -9000px;}
#dmg_layout_qsearch .chzn-container-single .chzn-drop {border: 1px solid #4e4e4e; border-top: 0; z-index: 900;}

#dmg_layout_qsearch .chzn-container-single .chzn-single div {background: #706e65; border-left: 0; border-radius: 0;}
#dmg_layout_qsearch .chzn-container-single .chzn-single div b {background: url('/images/layout5/chosen-sprite.png') no-repeat 0 1px;}

/* == Homepage ==================== */
.dmg_homepage_body {padding: 40px; overflow:hidden;}
.dmg_button_link:link, .dmg_button_link:visited,.dmg_button_link:active {width: 205px; height: 60px; padding: 2px; margin: 0 0 40px 0; background: #1d442c; font-family: 'Merriweather', serif; text-decoration: none; color: #ecead1; text-align: center; display: block; box-sizing: border-box; float: left;}
.dmg_button_link + .dmg_button_link {margin-left: 14px;}
.dmg_button_link span {border: 1px solid #a6c084; background: #006225; line-height: 54px; vertical-align: middle; box-shadow: inset 0 0 6px #333333; display: block; box-sizing: border-box;}
.dmg_button_link:hover span {background: #1d442c; color: #FFFFFF}

.dmg_homepage_welcome {width: 640px; float: left;}
.dmg_homepage_welcome h2 {color: #006325; font-size: 30px; font-weight: 600;}
.dmg_homepage_welcome img {width: 640px; height: 225px; border: 0; margin: 20px 0;}
.dmg_homepage_welcome .dmg_welcome_subtitle {font-size: 20px; margin: 0;}
.dmg_homepage_welcome p {margin-bottom: 12px; font-size: 14px; line-height: 1.5em;}

.dmg_homepage_browse {width: 215px; font-size: 14px; float:right;}
.dmg_homepage_browse ul {list-style: none; margin: 0; padding: 0;}
.dmg_homepage_browse li {margin-bottom: 5px;}
.dmg_homepage_browse h3 {margin: 0 0 10px 0; color: #006325; font-size: 18px; font-weight: normal; line-height: 1.375em;}
.dmg_homepage_browse a:link, .dmg_homepage_browse a:visited,.dmg_homepage_browse a:active {color: #000000; text-decoration: none;}
.dmg_homepage_browse a:hover {color: #006325; text-decoration: underline;}


/* == Internal ==================== */
.dmg_layout_detail #dmg_layout_internal {padding: 15px 7px}
#dmg_layout_internal {width: 944px; min-height: 510px; padding: 70px 7px 15px; margin: 30px auto; background: #FFFFFF; color: #333333; font-size: .875em; box-shadow: 0 0 12px #000000; overflow: hidden; position: relative;}
#dmg_internal_body {width: 640px; float: left;}
#dmg_internal_body.dmg_internal_full {width: 944px;}
#dmg_layout_internal h1 {color: #006325; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #CCCCCC; font-size: 2em; font-weight: bold}
#dmg_layout_internal h2 {color: #1d442c; margin-bottom: 8px; font-size: 1.5em; }
#dmg_layout_internal h3 {color: #627E55; margin-bottom: 6px; font-size: 1.125em; }

#dmg_internal_body h1:nth-of-type(1) {
width: 944px;
position: absolute;
top: 10px;
left: 7px;
}

#dmg_detail_detail_one .dmg_detail_header h1 {width: 690px; padding: 0; position: relative; top: 0; left: 0 }

#dmg_sub_menus {width: 240px; margin: 0 0 0 20px; float: right;}
#dmg_sub_menus ul {list-style: none; margin: 0; padding: 0;}
#dmg_sub_menus li {margin: 0;}
#dmg_sub_menus li + li {border-top: 1px solid #cccccc}
#dmg_sub_menus a {padding: 0 5px; height: 34px; line-height: 34px; vertical-align: middle; display: block;}
#dmg_sub_menus a:link, #dmg_sub_menus a:visited, #dmg_sub_menus a:active {text-decoration: none;}
#dmg_sub_menus a:hover, #dmg_sub_menus a.active_link  {background: #EFEFEF;}
#dmg_sub_menus a.active_link  {font-weight: bold;}

.dmg_internal_custom p {line-height: 1.5em; padding-bottom: 8px;}
.dmg_internal_custom li {margin-bottom: 6px;}

.dmg_layout_internal_photo {padding: 5px; border: 1px solid #006325; float: right;}
#dmg_layout_internal form table td {text-align: left;}


.column li {margin-bottom: 8px;}

img.floatright {float: right; border: 1px solid #999999; padding: 4px; margin: 0px 0px 20px 20px;}
img.floatleft {float: left; border: 1px solid #999999; padding: 4px; margin: 20px 20px 20px 0px;}
img.floatright2 {float: right; border: 1px solid #999999; padding: 4px;}
img.floatleft2 {float: left; border: 1px solid #999999; padding: 4px;}
.leftphoto {margin: 0 auto; padding: 4px; border: solid 1px #BAC3B7; background-color: #ffffff; display: block;}

.parks_info {width: 275px; float: left; margin: 0 25px 10px 0;}
.clear {clear: both; margin: 10px 0;}
.clear2 {clear: both;}


#agent_search {
	width: 160px;
	padding: 20px;
	background: #FFFFFF url(/images/layout/agentsearch_bg.gif) repeat-x top;
	border: solid 1px #BAC3B7;
	position: absolute;
	}

/* == Footer ==================== */
#dmg_layout_footer {background: #cfc4aa;}
.dmg_foooter_contacts {width: 960px; height: 105px; margin: 0 auto; padding: 30px 0;}
.dmg_footer_logo {margin-right: 20px; float: left;}
.dmg_footer_office {margin-right: 20px; float:left; font-size: 14px; line-height: 1.5em;}
.dmg_footer_office strong {font-size: 16px; color: #006225; font-weight: normal; display: block;}
#dmg_layout_social {float: left;}
#dmg_layout_social img {width: 30px; height: 30px; border: 0; margin-right: 8px; float: left;}


.dmg_layout_disclaimer {padding: 20px 0; background: #e7e1d4; font-size: 14px; overflow: hidden;}
.dmg_layout_associations {width: 62px; height: 30px; margin-right: 10px; background: url('/images/layout5/associations.png') no-repeat; float: left;}
.dmg_layout_associations a {width: 31px; height: 30px;display: block; float: left;}
.dmg_layout_disclaimer ul {margin: 0; padding: 0; list-style: none;}
.dmg_layout_disclaimer li {float: left; margin-right: 15px;}


.dmg_best_award {float: right;}
.dmg_leading_logo {margin-right: 15px; float: right;}


/*== MHF Modal ===================== */
#login_title {color: #006325; font-weight: bold; font-size: 1.5em; margin-bottom: 12px; padding-left: 22px; width: 400px;}
.login_label {width: 160px; margin-bottom: 8px; padding-right: 0.5em; line-height: 20px; vertical-align: middle; text-align: right; display: block; float: left;}
.login_input {margin-bottom: 8px; float: left;}
.alphacube_buttons input {background: #1d442c; color: #FFFFFF; margin: 0 5px;}

/*== Slideshow   ================ */
#dmg_layout_slideshow {width: 960px; height: 467px; position: relative;}
#dmg_layout_slideshow_images {position:relative; display:block; margin:0px; padding:0px; width:960px; height:467px; overflow:hidden;}
#dmg_layout_slideshow_images li {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;}


/* == Carousel ==================== */
.carousel {
    overflow: hidden;
    height: 246px; background: #1d442c;
}

#dmg_layout_carousel_title {color: #020169; font-size: 1.375em; font-weight: normal; margin: 15px 0 4px 25px;}

.carousel .dmg_layout_carousel_inner {
	width: 2500px;
}

.carousel .dmg_layout_carousel_middle {
    margin: 15px 0 0 0;
    overflow: hidden;
}

#dmg_layout_featured_carousel {
	height: 216px; background: #1d442c;
	padding: 15px 0;
}

#dmg_layout_featured_carousel .dmg_layout_carousel_middle {
    width: 811px;
    height: 222px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}


#dmg_layout_featured_carousel .dmg_layout_carousel_inner div {
	width: 186px;
	height: 222px;
	margin-right: 22px;
    color: #FFFFFF;
    font-size: 14px;
    float: left;
    float:left;
	position:relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.dmg_layout_box a strong {margin-bottom: 2px; font-size: 16px; color: #938d66; text-decoration: none; font-weight: normal; display: block;}

.dmg_layout_carousel_inner img {width: 180px; height: 135px; margin: 0 0 3px 0; border: 1px solid #a4986e}
.dmg_layout_carousel_inner span {width: 162px; padding: 3px; background: url(/images/layout/black-trans.png) repeat; color: #FFF; font-size: .75em; display: inline-block; position: absolute; left: 0; bottom: 7px; z-index: 5;}

#dmg_layout_featured_carousel a.carousel-control {
    float: left;
    width: 23px;
    height: 42px;
    margin-top: 50px;
    margin-left: 15px;
    margin-right: 16px;
}




#dmg_layout_featured_carousel a.next {margin-right: 15px; float: right;}

#dmg_layout_featured_carousel a {color: #FFFFFF; display: inline-block; text-decoration: none; position: relative;}
#dmg_layout_featured_carousel a:hover {color: #000;}

#dmg_layout_featured_carousel .hide_control {visibility: hidden;}

#dmg_layout_featured_carousel .carousel-control {width: 23px; height: 42px; background-image: url('/images/layout5/carousel-sprite.png'); background-repeat: no-repeat; display: block;}

#dmg_layout_featured_carousel .carousel-control.next {background-position: -25px 0;}
#dmg_layout_featured_carousel .carousel-control.next:hover {background-position: -25px -42px;}
#dmg_layout_featured_carousel .carousel-control.prev:hover {background-position: 0 -42px;}

/* == General ==================== */
a:link, a:active, a:visited {color: #006325;}
a:hover {color: #1d442c; text-decoration:none;}

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

.floatRight {float: right !important;}

.alignCenter {text-align: center;}
.alignLeft {text-align: left;}
.alignRight {text-align: right;}
