/**
 * Determines base styles for the site
 *
 * This stylesheet contains the overall font and layout rules for the site.
 * Rules within this stylesheet should affect every page of the site. If a rule
 * only applies to a particular page, it should probably go in the
 * page-specific stylesheet instead.
 *
 * @author    Jason Lengstorf
 * @copyright    2009 Ennui Design
 * @license    http://www.opensource.org/licenses/mit-license.html MIT License
 */

/*
 ******************************************************************************
 * GENERAL RESET
 ******************************************************************************
 */
html,body,div,h1,h2,h3,h4,h5,h6,p,ul,ol,li,span,a,form,fieldset,legend,input,
textarea,select,img,object,table,tr,td,article,section,nav,video,aside {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: left;
    background: transparent;
}

ul,ol {
    list-style: none;
}

/*
 ******************************************************************************
 * FONT SETTINGS
 ******************************************************************************
 */
@font-face {
    font-family: 'BlazingItalic';
    src: url(BlazingItalic-webfont.eot);
    src: local('BlazingItalic'), local('Blazing Italic'),
        url(BlazingItalic-webfont.ttf) format('truetype');
}

a:link,a:visited,a:active,a:hover {
    color: #00F;
}

h1,h2,h3,h4,h5,h6,p,input,textarea,select,label,ul,li,a,span,legend {
    line-height: 18px;
}

h1,h1 a,h2,h2 a,h3,h3 a,h4,h5,h6,p,legend {
    font-family: verdana, arial, sans-serif;
    margin-bottom: 18px;
    letter-spacing: -.05em;
}

h2,h2 a:link,h2 a:visited,h2 a:active,h2 a:hover,h3,h3 a:link,h3 a:visited,
h3 a:active,h3 a:hover,h4,h5,h6,legend {
    font-family: 'BlazingItalic', verdana, arial, sans-serif;
    font-weight: 100;
    letter-spacing: .02em;
    margin: 18px 0 9px;
    color: #424237;
}

p,input,textarea,select,label,li,a {
    font-family: verdana, arial, sans-serif;
    font-size: 12px;
    letter-spacing: .04em;
    color: #424237;
}

h2,h2 a:link,h2 a:visited,h2 a:active,h2 a:hover {
    font-size: 36px;
    line-height: 48px;
    text-decoration: none;
    font-weight: normal;
}

h3,h4,h5,h6,aside h2 {
    letter-spacing: .05em;
}

h3,h3 a:link,h3 a:visited,h3 a:active,h3 a:hover,legend,aside h2 {
    font-size: 30px;
    line-height: 36px;
}

h3 a {
    text-decoration: none;
}

h4,aside h3 {
    font-size: 24px;
    line-height: 36px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}

/*
 ******************************************************************************
 * GENERAL LAYOUT BOX MODEL
 ******************************************************************************
 */
html {
    background: #181913;
}

body {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 18px;
}

div,section,header,aside {
    display: block;
    position: relative;
}

header {
    position: relative;
    width: 100%;
    height: 147px;
    margin: 0 auto;
    z-index: 2;
    background: url(/assets/images/dmt_header-bg.jpg) left bottom repeat-x;
}

#header_title {
    display: none;
}

#content {
    padding: 0;
    background-color: transparent;
    text-align: center;
}

/*
 ******************************************************************************
 * MENU STYLE
 ******************************************************************************
 */
nav {
    display: block;
    height: 147px;
    width: 1076px;
    margin:0 auto;
    z-index: 2;
    background: url(/assets/images/dmt_header.jpg) center bottom no-repeat;
}

nav ul {
    text-align: center;
}

nav li {
    display: inline-block;
    margin: 0 4px 0 0;
    padding: 0 8px;
    text-transform: uppercase;
    background: url(/assets/images/dmt_menu-off-left.png) left bottom no-repeat;
    vertical-align: bottom;
}

nav li:hover,nav li.selected {
    background: url(/assets/images/dmt_menu-on-left.png) left bottom no-repeat;
}

nav li.home-badge:hover,nav li.home-badge.selected {
    background: url(/assets/images/dmt_home-badge.jpg) left bottom no-repeat;
}

nav .home-btn {
    width: 25px;
    height: 147px;
    margin: 0;
    background: url(/assets/images/dmt_menu-home-off.png) left bottom no-repeat;
}

nav .home-btn.selected,nav .home-btn:hover {
    background: url(/assets/images/dmt_menu-home-on.png) left bottom no-repeat;
}

nav .home-badge {
    width: 288px;
    height: 147px;
    background: url(/assets/images/dmt_home-badge.jpg) left bottom no-repeat;
}

nav a:link,nav a:visited,nav a:active,nav a:hover {
    display: block;
    width: 100%;
    height: 100%;
    padding: 10px 7px 6px 6px;
    color: #B8B499;
    font-family: verdana, tahoma, sans-serif;
    font-size: 10px;
    text-decoration: none;
    background: url(/assets/images/dmt_menu-off-main.png) right bottom no-repeat;
}

nav a:hover,nav li.selected a, nav li.parent a {
    background: url(/assets/images/dmt_menu-on-main.png) right bottom no-repeat;
    text-decoration: none;
}

.home-btn a:link,.home-btn a:visited,.home-btn a:active,.home-btn a:hover,
.home-badge a:link,.home-badge a:visited,.home-badge a:active,.home-badge a:hover {
    display: block;
    width: 100%;
    height: 100%;
    text-indent: -100px;
    overflow: hidden;
    background: transparent;
}

/*
 ******************************************************************************
 * CONTENT STYLE
 ******************************************************************************
 */
.entrydisplay,aside {
    display: inline-block;
    vertical-align: top;
    margin: 0 16px 0;
    padding: 36px 36px 0;
}

.entrydisplay {
    width: 960px;
}

.entrydisplay article {
    background: #b2ae86;
    display: block;
    margin: 0 0 30px;
    padding: 0 20px 20px;
}

.entrydisplay ul,.entrydisplay ol {
    margin: 0 40px 18px;
}

.entrydisplay ul {
    list-style: disc;
}

.entrydisplay ol {
    list-style: decimal;
}

.entrydisplay li {
    margin-bottom: 9px;
    margin-left: 18px;
}

blockquote {
    margin: 0 40px 18px;
    padding: 15px 15px 1px;
}

input,select,textarea {
    border: 1px solid #000;
    padding: 2px;
    background: #FFF;
}

.clearfix {
    display: block;
    clear: both;
}

#home {
    position: relative;
    width: 1000px;
    height: 523px;
    background: url(/assets/images/dmt_home-main.jpg) top center no-repeat;
}

#home article {
    background: transparent;
}

#home h2 {
    position: absolute;
    top: 100px;
    padding: 15px;
    background: url(/assets/images/dmt_blue-fill.png);
    background: rgba(41, 79, 115, .67);
    font: normal 48px/1em 'adobe garamond pro', 'adobe garamond', garamond, 'Hoefler Text', 'Times New Roman', Times, serif;
    letter-spacing: .04em;
    color: #F7EAC1;
    text-shadow: 1px 1px 4px rgba(0,0,0,.25);
}

#listings article {
    text-align: center;
}

.listing {
    display: inline-block;
    width: 280px;
    margin: 0 0 4px;
    padding: 30px 10px 10px;
    border: 1px solid #545246;
    text-align: center;
    -moz-box-shadow: 1px 1px 4px rgba(0,0,0,.35);
    -webkit-box-shadow: 1px 1px 4px rgba(0,0,0,.35);
    box-shadow: 1px 1px 4px rgba(0,0,0,.35);
    vertical-align: top;
}

#listings h3,#listings h3 a {
    display: block;
    font: bold 16px/18px verdana, arial, sans-serif;
    text-align: center;
}

.listing a,.listing img {
    display: inline;
}

.thumbbox li {
    list-style: none;
    display: inline-block;
    margin: 5px;
    padding: 0;
}

#company article {
    background: #b2ae86 url(/assets/images/dmt_about-image.jpg) top right no-repeat;
    padding-right: 473px;
}

#featured {
    position: absolute;
    top: 13px;
    left: 145px;
    display: block;
    width: 256px;
    height: 21px;
    padding: 6px 0;
    background: url(/assets/images/dmt_featured-listing.png);
    text-align: center;
    color: #F7EAC1;
    text-decoration: none;
    font: italic 18px/1em 'adobe garamond pro', 'adobe garamond', garamond, georgia, serif;
}

#ranch:link,#ranch:visited,#ranch:active,#ranch:hover {
    position: absolute;
    top: 13px;
    right: 96px;
    width: 147px;
    height: 20px;
    padding: 5px 0;
    text-align: center;
    background: url(/assets/images/dmt_blue-fill.png);
    background: rgba(41, 79, 115, .67);
    -moz-border-radius: 0 0 0 10px;
    -webkit-border-radius: 0 0 0 10px;
    border-radius: 0 0 0 10px;
    color: #E4DCBF;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 10px;
}

#explore {
    position: relative;
    height:579px;
}

#mls-frame {
    width:1000px;
    height:549px;
    margin: 0 auto;
    border:0;
}

#contact {
    text-align: center;
    vertical-align: top;
}

#contact .info {
    display: inline-block;
    width: 300px;
}

#contact form {
    display: inline-block;
    width: 600px;
}

#contact legend {
    display: none;
}

/*
 ******************************************************************************
 * PAGINATION
 ******************************************************************************
 */
#pagination {
	display: block;
	clear: left;
	text-align: center;
}

#pagination li {
	display: inline-block;
    vertical-align: top;
	width: 20px;
	margin: 0;
	background: #D8EEFA;
	border: 1px solid #80A3B7;
	text-align: center;
	font-size: 10px;
}

#pagination li a,#pagination li.off {
	display: inline-block;
	width: 20px;
	padding: 3px 0 2px;
	color: #004E79;
	text-decoration: none;
	text-align: center;
}

#pagination li.selected {
	background: #004E79;
	color: #D8EEFA;
}

#pagination li:hover {
	background: #80A3B7;
	border-color: #004E79;
}

#pagination li:hover a,#pagination li.selected:hover a {
	color: #004E79;
}

#pagination li.selected a {
	color: #D8EEFA;
}

/*
 ******************************************************************************
 * SIDEBAR STYLE
 ******************************************************************************
 */
aside {
    width: 210px;
}

/*
 ******************************************************************************
 * FOOTER STYLE
 ******************************************************************************
 */
footer {
    clear: both;
    display: block;
    width: 100%;
    padding: 0 0 4px;
    background: url(/assets/images/dmt_footer-bg.jpg) top center repeat-x;
}

.credits {
    padding-top: 80px;
    text-align: center;
    font-size: 11px;
    text-transform: uppercase;
    color: #83816E;
    background: url(/assets/images/dmt_footer.jpg) top center no-repeat;
}

.credits a {
    text-decoration: none;
    color: #83816E;
}
