/*
This is the base stylesheet for the Windermere Matrix
All styles begin here, then are overwritten below by more specific themes or whatnot.
*/

@-webkit-viewport{width:device-width}
@-moz-viewport{width:device-width}
@-ms-viewport{width:device-width}
@-o-viewport{width:device-width}
@viewport{width:device-width}

*{
    padding: 0px;
    margin: 0px;
}


a{
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    line-height: normal;
	font-family:VegurRegular,arial,helvetica,sans-serif;
}
h1 { font-size: 2em; }
h2 { font-size: 1.75em; }
h3 { font-size: 1.42em; }
h4 { font-size: 1em; }
h5 { font-size: 0.83em; }
h6 { font-size: 0.67em; }

ul{
    list-style: none;
}
body{
    font-size: .75em;
    font-family: arial, helvetica, sans-serif;
    line-height: 1.5em;
}
div.background{
    height: 100%;
    width: 100%;
    background-color: #f1f1f1;
    position: fixed;
    z-index: -10000;
}

input, textarea {
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
-ms-transition: border linear 0.2s, box-shadow linear 0.2s;
-o-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
}

input[type="radio"], input[type="checkbox"]{
    background-color: transparent;
    border: none;
}

input[type="text"]{
    padding: 3px;
}

strong{
    font-weight: bold;
}
div.wrapper{
    margin: auto auto 20px auto;
	height: auto !important;
	background-position:0 0 !important;
    -moz-box-shadow: 0px 0px 6px #888;
    -webkit-box-shadow: 0px 0px 6px #888;
    box-shadow: 0px 0px 6px #888;
}

div#devStamp{
    background-color: #eee;
    padding: 8px;
    border: 1px solid navy;
    position: fixed;
    left: 0px;
    width: 140px;
    z-index: 9999;
}

a{
    color: #213b79;
}

p{
    margin-bottom: 12px;
}

input[type="text"]{
    color: #080808;
}

h2.page-title {
    margin-bottom: 20px;
}

h2.entry-title{
    /*font-size:*/
}
div.page{
    background-color: white;
    margin: 0px 1px 12px;
}

div.submenu {
  word-wrap: break-word;
}

/*div.menu a, div.submenu a {*/
    /*text-decoration: none;*/
    /*padding: 8px;*/
/*}*/

.italic{
    font-style: italic;
}


input.button
{
        background: url("/wp-content/plugins/matrix/images/personality_button_gradient.png") repeat-x #033e75;
        border: 0px;
        color: white;
        font-size: 1.5em;
        padding: 3px 28px;
		cursor: pointer;
        -moz-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
        -webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
        box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
        filter: progid:DXImageTransform.Microsoft.Shadow(Color='#969696', Direction=145, Strength=4);
        -ms-filter:"progid:DXImageTransform.Microsoft.shadow(Color='#969696', Direction=145, Strength=4)";
}


/******************** bullets and numbers for lists in custom areas only ********************/

div.agentcustomarea ul,
div#mxWordpressRender ul,
div.mx-blogpage-entries ul
{
	margin-left: 1.5em;
}

div.agentcustomarea ul li,
div#mxWordpressRender ul li,
div.mx-blogpage-entries ul li
{
	list-style: disc outside none;
}

div.agentcustomarea ol,
div#mxWordpressRender ol,
div.mx-blogpage-entries ol
{
	margin-left: 1.5em;
}

div.agentcustomarea ol li,
div#mxWordpressRender ol li,
div.mx-blogpage-entries ol li
{
	list-style: decimal outside none;
}


/******************** clear these elements ********************/
div.footer:after,
div.footer >div:after,
div.header:after,
div.wrapper:after{
    content: ".";
    display: block;
    clear: both;
    height: 0px;
    visibility: hidden;
}

div.image{
    overflow: hidden;
}

/************************** Menu Default Styles **************************/

div.menu li{
	line-height: normal;
}

div.menu a{
    text-decoration: none;
    color: #213b79;
}

div.menu a:hover{
	text-decoration: none;
    color: #213b79;
}

div.menu p{
    margin-bottom: 12px;
}

div.menu h1 { 
	font-size: 2em; 
    line-height: normal;
	font-family:VegurRegular,arial,helvetica,sans-serif;
}
div.menu h2 { 
	font-size: 1.75em; 
    line-height: normal;
	font-family:VegurRegular,arial,helvetica,sans-serif;
}
div.menu h3 { 
	font-size: 1.42em; 
    line-height: normal;
	font-family:VegurRegular,arial,helvetica,sans-serif;
}
div.menu h4 { 
	font-size: 1em; 
    line-height: normal;
	font-family:VegurRegular,arial,helvetica,sans-serif;
}
div.menu h5 { 
	font-size: 0.83em; 
    line-height: normal;
	font-family:VegurRegular,arial,helvetica,sans-serif;
}
div.menu h6 { 
	font-size: 0.67em; 
    line-height: normal;
	font-family:VegurRegular,arial,helvetica,sans-serif;
}

div.menu ul{
    list-style: none;
}


/************************** The Header **********************************/

div.header h1{
    white-space: nowrap;
    overflow: hidden;
}

div.header h1,
div.header h2,
div.header h3,
div.header h4,
div.header h5,
div.header h6{
    font-weight: normal;
    line-height: normal;
}

div.header p{
    white-space: nowrap;
    overflow: hidden;
    font-family: inherit;
    margin-bottom: 12px;
}

div.header li{
	line-height: normal;
}

div.header a{
    text-decoration: none;
    color: #213b79;
}

div.header a:hover{
	text-decoration: none;
    color: #213b79;
}

div.header h1 { 
	font-size: 2em; 
    line-height: normal;
	font-family:VegurRegular,arial,helvetica,sans-serif;
}
div.header h2 { 
	font-size: 1.75em; 
    line-height: normal;
	font-family:VegurRegular,arial,helvetica,sans-serif;
}
div.header h3 { 
	font-size: 1.42em; 
    line-height: normal;
	font-family:VegurRegular,arial,helvetica,sans-serif;
}
div.header h4 { 
	font-size: 1em; 
    line-height: normal;
	font-family:VegurRegular,arial,helvetica,sans-serif;
}
div.header h5 { 
	font-size: 0.83em; 
    line-height: normal;
	font-family:VegurRegular,arial,helvetica,sans-serif;
}
div.header h6 { 
	font-size: 0.67em; 
    line-height: normal;
	font-family:VegurRegular,arial,helvetica,sans-serif;
}

div.header ul{
    list-style: none;
}


div.header.blue,
div.header.blue a,
div.header.blue h1,
div.header.blue p
{
    color: #0F2B5B !important;
}

div.header.blue a:hover {
	color: #000000 !important;
}


div.header.black,
div.header.black a,
div.header.black h1,
div.header.black p
{
    color: #000000 !important;
}

div.header.black a:hover {
	color: #666666 !important;
}


div.header.white,
div.header.white a,
div.header.white h1,
div.header.white p
{
    color: #FFFFFF !important;
}

div.header.white a:hover {
	color: #EEEEE0 !important;
}


div.header.grey,
div.header.grey a,
div.header.grey h1,
div.header.grey p
{
    color: #999999 !important;
}

div.header.grey a:hover {
	color: #828282 !important;
}

div#headerOfficeContainer {
  padding: 0;
  margin: 0;
  height: auto;
  overflow: hidden;
}

div#headerOfficeName {
  display: block;
  height: 20px;
  font-size: 12px;
  font-weight: bold;
  text-align: right;
  padding: 4px 10px 0 0;
  overflow: hidden;
}

div#usernameDiv {
	display: block;
}
	
div#usernameDiv > div {
	display: none;
	position: relative;
	width: 120px;
	margin-right: auto;
	margin-left: auto;
	line-height: 3em;
}

div#usernameDiv li, div#usernameDiv:hover li {
	line-height: 3em;
}

div#usernameDiv:hover > div{
	display: block;
	z-index: 99999;
}

div#usernameDiv ul {
	background-color: #ffffff;
    border: 1px solid black;
    -khtml-border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px; /* optional rounded corners for browsers that support it */
	-moz-box-shadow: 3px 3px 4px #333;
	-webkit-box-shadow: 3px 3px 4px #333;
	box-shadow: 3px 3px 4px #333;
	margin-bottom: 6px;
	overflow: hidden;
}

div#usernameDiv li:hover {
    background-color: #C2C3C4;
}

div#usernameDiv a {
	color: #0F2B5B;
	font-weight: normal;
	text-align: center;
}
div#usernameDiv #userLinks ul#userLinkList li a {
    color: #333333 !important;
}
div#usernameDiv #userLinks ul#userLinkList li:hover a {
    color: #000000 !important;
}
/********************************* End of the Header ******************/

/**********************************  The Footer ***********************/

div.footer,
div.footer >div {
    clear: both;
    color: #666666;
}

div.footer{
        background: url("/wp-content/plugins/matrix/images/footer_background.png ") repeat #fff;
        padding: 0 33px;
		height:193px;
}
div.footer input[type="text"]{
    color: #666;
    border-radius: 2px 2px 2px 2px;
	-moz-box-shadow: inset 0 0 5px 2px #ccc;
	-webkit-box-shadow: inset 0 0 5px 2px #ccc;
	box-shadow: inset 0 0 5px 2px #ccc;
}
div.footer a{
    color: #053d78;
}
div.footer div#row1{
    border-bottom: 1px solid #ededed;
}
div.footer div#row2{
    border-top: 1px solid #ededed;
}
div.footer div#footerLogo{
    width: 125px;
    height: 43px;
    position: relative;
    top: 12px;
    cursor: pointer;
}
div.footer div#row3 > div{
    float: left;
}
div.footer div#eohImage{
    height: 18px;
    margin-left: 8px;
    padding: 0;
    width: 26px;
    position: relative;
    top: -2px;
}

form#newsletterForm strong{
    display: block;
    float: left;
    left: -6px;
    position: relative;
    top: 8px;
}
form#newsletterForm input#newsletterEmail{
    padding: 3px;
    width: 131px;
    height:1.5em;
    border-radius: 2px 2px 2px 2px;
    position:relative;
    top:-1px;
    *top:0px; /* IE7 only */
}

div.footer form#newsletterForm input.button {
    font-size:1.2em;
    height:26px;
    *top:3px;
    position:relative;
}

/* contact me form */
.form-row { margin-bottom:10px; }
.form-row.agentinfo { margin-bottom:20px; }
.form-row.group { margin-bottom:32px; }
.form-row label {float:left; width:100px; text-align:right; margin-right:20px; }
.form-row span { font-weight:bold; }

.form-row .contact_me_input { width:180px; }
.form-row textarea.contact_me_input {  
	height:92px; 
	width:232px; 
	resize: both; 
	padding: 3px; 
}

form#contactme p.charsRemaining {
	margin-left: 126px;
	font-style: italic;
}

form#contactme span.charsRemaining {
	margin-left: 2px;
	font-style: italic;
}

#newsletterEmail + input + .button{
    height: 24px;
    vertical-align: middle;
    padding: 0px 6px;
    position: relative;
    top: -1px;
    color: white;
}

div.footer div#row1{
    margin-bottom: 1px;
    padding: .1em;
}
div.footer div#row1 div.image{
    padding: 6px;
}

div.footer div#row1 a{
    display: block;
    float: left;
    margin: 24px;

}
div.footer div#row1 a#footerLogoLink{
    display: block;
    float: left;
    margin: 0;

}
div.footer div#row1 div.right{
    margin: 14px;
}
div.footer div#row1 div{
    vertical-align: middle
}

div.footer div#row1 div.left div{
    float: left;
}

div.footer div#row1 div.image{
    float: left;
}
div.footer span div.image{
    display: inline;
    position: relative;
    top: 4px;
    margin-left: 4px;
}
div.footer div#row2, div#row3{
    padding:  4px 0 0 0;
    margin-bottom:12px;
}




/********************************* End of the Footer ******************/



div#row2 div.social{
    float: right;
}
div#row2 div.social strong{
    position: relative;
    top: 4px;
    float: left;
    width: auto;
    display: block;
}
div#row2 div.social a{
    margin: 0 0 0 4px;
}



    /*********************** Begin About An Agent  ****************/
    div.aboutanagent img{
        /*float: left;*/
        /*margin-right: 4px;*/
    }
    div.aboutanagent > div{
        float: left;
        width: 190px;
    }
    
    div.aboutanagent a {
	  word-wrap: break-word;
    } 

    div.aboutanagent.largeOnLeft > div.mxImageResizeWrapper{
        padding-right: 10px;
    }

    div.aboutanagent.largeOnLeft div.phones{
        clear: both;
    }
    div.aboutanagent.largeOnLeft div.phones div{
        float: left;
    }
    div.aboutanagent.largeOnLeft div.phones div.label{
        clear: left;
        width: 60px;
    }

    div.followme strong{
        float: left;
        display: block;
        margin-right: 12px;
        width: 40px;
        font-weight: bold;
        line-height:1.2em;
    }
    div.followme a{
        padding-right: 8px;
    }
    div.aboutanagent div.followme{
        clear: left;
        padding-top: 12px;
    }
    div.aboutanagent div.followme h4{
        font-weight: bold;
    }

    div.aboutanagent div.followme a img {
        /*padding: 0 2px;*/
    }

    div.agentcustomarea{
        overflow: hidden;
    }

    div.agentcustomarea h1{
/*        font-weight: bold;*/
        font-size: 1.66667em;
    }

	.work_with_agent_button {
	  background: #333; /* for non-css3 browsers */
	  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#666666', endColorstr='#333333'); /* for IE */
	  background: -webkit-gradient(linear, left top, left bottom, from(#666), to(#333)); /* for webkit browsers */
	  background: -moz-linear-gradient(top,  #666,  #333); /* for firefox 3.6+ */
	  -moz-border-radius: 5px;
	  border-radius: 5px;
      color: #FFFFFF;
	  font-size: 12px;
	  padding: 5px;
	  width: 100px;
      cursor: pointer;
	}

  #error_message {
	  position:absolute;
	  top:0;
	  left:0;
	  z-index:2000;
	  display:none;
	  background-color:#FFFFFF;
	  border:5px solid #ddd;
	  max-width:300px;
	  line-height:200%;
	  font-size:12px;
	  padding:20px;
  }


	div.agentProfile div.work_with_agent {
		margin-top: 15px;
	}

    /*********************** end of About An Agent  ****************/

    /*********************** search by loaction ********************/


    div.searchbylocation h4{
        float: left;
        font-size: 1em;
        padding: 2px;
        font-weight: normal;
    }


    div.searchbylocation input#searchString{
        margin-bottom: 6px;
        background: url("/wp-content/plugins/matrix/images/search_magnify.png ") no-repeat #fff  3px 4px;
        padding-left: 24px;
     }
    div.searchbylocation select{
        border: 0px;
        padding: 0px;
    }
    div.searchbylocation input.button{
        margin-left: 16px;
    }

    div.searchbylocation > div{
        margin-bottom: 8px;
    }
    div.searchbylocation > div.searchType{
        padding-top: 12px;
    }

	.grey_text {
		color: #a7a7a7 !important;
	}

	.dark_text {
		color: #000 !important;
	}

    /*******************   Begin Have a Question Area *****************************/

    div.haveaquestion div {
        margin: 8px;
        padding: 12px;
        height: 143px;
    }
    div.haveaquestion div input[type="text"] {
        width: 46%;
        padding: 3px;
        margin-bottom: 4px;
    }
    div.haveaquestion div textarea{
        padding: 3px;
        width: 99%;
		resize: none;
    }
    div.haveaquestion div input.button{
        float: right;
    }
/************************end of homepage ****************************/




/************************* profile links ***********************/
div.agentProfile{
    float: left;
}
div.agentProfile a{
    font-size: 1em;
}
div.agentProfile div.singleProfile{
    border-top: 2px solid #DDDDDD;
    /*clear: both;*/
    padding-bottom: 15px;
    padding-top: 18px;
}
div.agentProfile div.singleProfile:first-child{
    border-top: 0 none;
}
div.agentProfile div.singleProfile > div:first-child > div:first-child{
    padding-right: 20px;
}
div.agentProfile h2,
div.agentProfile h3{
    font-size: 1.09090909090909em;
    font-weight: bold;
}
div.agentProfile div.top{
    padding-bottom: 5px;
}
div.agentProfile h3{
    padding: 8px 0;
}

div.agentProfile div.singleProfile div.contactinfo > * {
    padding-bottom: 12px;
}
div.agentProfile div.blockofcontent{
    padding-top: 20px;
}
div.agentProfile div.singleProfile > div{
    /*clear: both;*/
}
div.agentProfile div.singleProfile div.top > div{
    float: left;
}
div.agentProfile div.singleProfile div.contactinfo > div{
    clear: both;
}
div.agentProfile div.singleProfile div.labeledinfo div.info div{
    float: left;
}
div.agentProfile div.singleProfile div.labeledinfo div.info div.label{
    width: 60px;
}
div.agentProfile div.singleProfile div.labeledinfo div.info{
	clear:both;
}
div.agentProfile div.contentbody{
    /*float: left;*/
}
div.agentProfile div.contentbody > div{

}


/************************* usefullinks ***********************/

div.usefullinks h2{
    display: none;
}

div.usefullinks ul > li > ul> li >a  {
    position: relative;
    top: -.4em;
}

div.usefullinks-title {
	height: auto;
	margin-bottom: 4px;
}

div.usefullinks-title h3 {
	margin-bottom: 0px;
}



/************************* testimonial page ***********************/

div.testimonial h3{
    font-size: 1em;
    font-weight: bold;
}

div.singleTestimonial:after{
    content: ".";
    display: block;
    clear: both;
    height: 0px;
    visibility: hidden;
}
div.testimonial{
    margin: 0 24px;
}
div.testimonialsList{
   margin: 0;
   padding: 0;
   float: left;	
   width: 100%;
}
div.testimonialsList div:first-child{
    border: 0 none;
}
div.testimonial div.singleTestimonialImage{
    margin-right:20px;
}
div.testimonial hr{
    clear: both;
}
div.testimonialsList hr{
    clear: both;
}
div.singleTestimonial{
    clear: both;
    padding: 12px;

}

div.singleTestimonial div.singleTestimonialImage{
    float: left;
}
/******************************************************************/


/**********************start listings page*****************************/

div.agentProfile div.singleProfile div.top > div.right{
    float: right;
}
div.agentProfile div.singleProfile div.contentbody {
	padding-top:20px;
	clear:both;
}
div.agentProfile div.singleProfile div.profile-followme {
	padding-top:12px;
}
div.singlelisting{
/*    clear: left;*/
}
div.singlelisting > *{
    float: left;
}
div.agentProfile div.top{
    width: 100%;
}
div.singlelisting > *{
    margin: 20px;
}
div.singlelisting h2,
div.singlelisting h3{
    font-size: 1.1666666667em;
}
div.singlelisting > a.imgtooverlay {
    max-width: 400px;
}
div.singlelisting h3{
    color: black;
    font-weight: bold
}
div.singlelisting td{
    padding: 1px 4px 0px 0px;
}
div.singlelisting td.divider{
    padding: 0px 12px 0px 0px;
}
div.singlelisting div.listingDetails {
    width: 300px;
}
div.singlelisting div.address{
    padding: 8px 0px;
}
div.singlelisting div.subdued{
    color: #666;
    padding: 4px 0;
}
div.singlelisting strong{
    font-weight: bold;
}
div.singlelisting.grayback{
    background-color: #eee;
}

div.singlelisting div.listingDetailsSubRight {
	float: right;
	width: 140px;
}

div.singlelisting a.LinkToDetails {
        background: url("/wp-content/plugins/matrix/images/personality_button_gradient.png") repeat-x #033e75;
        border: 0px;
        color: white;
        font-size: 1em;
        padding: 4px 8px;
        position: relative;
        left: 0px;
        text-align: center;
        float: right;
        width: 120px;
		cursor: pointer;
        -moz-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
        -webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
        box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
        filter: progid:DXImageTransform.Microsoft.Shadow(Color='#969696', Direction=145, Strength=4);
        -ms-filter:"progid:DXImageTransform.Microsoft.shadow(Color='#969696', Direction=145, Strength=4)";
}

div.singlelisting ul.singlelisting_share_actions {
    list-style: none outside none;
    margin-top: 6px;
    white-space: nowrap;
}

div.singlelisting ul.singlelisting_share_actions.Sold {
    display: none;
}

div.singlelisting ul.singlelisting_share_actions li {
	cursor: pointer;
	height: 22px;
    width: 22px;
    display: list-item;
    float: left;	
}
	
div.singlelisting ul.singlelisting_share_actions .make-favorite {
	background: url("/wp-content/plugins/matrix/images/icon_heart.png") no-repeat scroll center center transparent;
	margin-left: 8px;
	margin-right: 22px;
}

div.singlelisting ul.singlelisting_share_actions .make-favorite:hover {
	background: url("/wp-content/plugins/matrix/images/icon_heart_over.png") no-repeat scroll center center transparent;
	margin-left: 8px;
	margin-right: 22px;
	cursor: pointer;
}

div.singlelisting ul.singlelisting_share_actions .is-favorite {
	background: url("/wp-content/plugins/matrix/images/icon_heart_over.png") no-repeat scroll center center transparent;
	margin-left: 8px;
	margin-right: 22px;
}

div.singlelisting ul.singlelisting_share_actions .is-favorite:hover {
	background: url("/wp-content/plugins/matrix/images/icon_heart.png") no-repeat scroll center center transparent;
	margin-left: 8px;
	margin-right: 22px;
	cursor: pointer;
}

div.singlelisting ul.singlelisting_share_actions .email_friend {
	background: url("/wp-content/plugins/matrix/images/icon_envelope.png") no-repeat scroll center center transparent;
	margin-left: 4px;
	margin-right: 22px;
}

div.singlelisting ul.singlelisting_share_actions .email_friend:hover {
	background: url("/wp-content/plugins/matrix/images/icon_envelope_over.png") no-repeat scroll center center transparent;
	margin-left: 4px;
	margin-right: 22px;
	cursor: pointer;
}

div.singlelisting ul.singlelisting_share_actions .photo_gallery {
	background: url("/wp-content/plugins/matrix/images/icn_photo_gallery_rest.png") no-repeat scroll center center transparent;
	margin-left: 4px;
	margin-right: 0px;
	position: relative;
}

div.singlelisting ul.singlelisting_share_actions .photo_gallery:hover {
	background: url("/wp-content/plugins/matrix/images/icn_photo_gallery.png") no-repeat scroll center center transparent;
	margin-left: 4px;
	margin-right: 0px;
	position: relative;
	cursor: pointer;
}

div.singlelisting ul.singlelisting_share_actions .photo_gallery a {
	height: 22px;
    width: 22px;
    position: absolute;
    top: 0;
    left: 0;
}

div.singlelisting ul.singlelisting_share_actions .photo_gallery a h3 {
    display: none;
}

div.singlelisting div.listingDetails a span.openhouse-icon-true {
    width: 60px;
    height: 30px;
    display: block;
    float:right;
    background: url("/wp-content/plugins/matrix/images/OpenHouseIcon.png") no-repeat scroll center center transparent;
}

div.listings div.singlelisting img#builder-logo {
    max-width: 100px;
    max-height: 50px;
}
/*div.listings div.singlelisting img {*/
    /*width:227px;*/
    /*height:150px;*/
/*}*/

div#listingspage div.singlelisting a.LinkToDetails:hover{
    text-decoration: none;
}
/********************** end listings page **************************/

/************************ modify the basic page ***********************/

div.mainbody{
	word-wrap: break-word;
	z-index: 1;
}

div.pageContent{
    background-color: white;
    margin: 6px;
    padding: 14px 27px;
    padding: 4px 20px 20px 20px;
    /*padding: 4px 20px 60px 20px;*/
    word-wrap: break-word;
}
div#searchPage div.pageContent {
  min-height: 0;
  padding: 0 !important;
}
/******************* beginning of wordpress defined styles****************************/


.aligncenter, div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignleft {
    float: left;
    margin: 4px 6px 4px 0px;
}
.alignright {
    float: right;
    margin: 4px 0px 4px 6px;
}
.wp-caption {
    background-color: #f3f3f3;
    border: 1px solid #ddd;
    -khtml-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px; /* optional rounded corners for browsers that support it */
/*    margin: 10px; */
    padding-top: 4px;
    text-align: center;
}
.wp-caption img {
    border: 0 none;
    margin: 0;
    padding: 0;
}
.wp-caption img.alignleft {
    margin: 2px 5px 5px 5px;
}
.wp-caption img.alignright {
    margin: 2px 5px 5px 5px;
}
.wp-caption img.aligncenter {
    margin: 2px auto 5px auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    color: #000000;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}


/**** This style exists to force elements (like buttons) to
 * appear as the button-like look of the wordpress links */
.wpLinkStyle{
    line-height: 15px !important;
    padding: 3px 10px !important;
    white-space: nowrap !important;
text-shadow: 0 1px 0 #FFFFFF !important;
    -moz-border-radius: 11px 11px 11px 11px !important;
    -moz-box-sizing: content-box !important;
    border-style: solid !important;
    border-width: 1px !important;
    cursor: pointer !important;
    font-size: 11px !important;
    text-decoration: none !important;
}


/******************* end of wordpress defined styles ****************************/

.blog-entry p{
    margin: 0 0 12px 0;
}
.blog-entry, .type-post
{
    margin-bottom: 2em;
    padding-bottom: 0.4em;
    border-bottom: 1px solid;
}

.mx-blogpage-entries .navigation div
{
    display: inline;
    margin: 0.4em;
}

div.mx-blogpage-rssLinks{
    float: right;
    padding-top: 10px;
}

.mx-blogpage-entryWrapper{
	width:100%;
    margin-top: 20px;
	overflow-x: hidden;
}

.mx-blog-entries li{
    margin-bottom: 1.2em;
}

.mx-blog-view-all{
    float: right;
}
.mx-blogpage-entries #nav-above
{
    margin-bottom: 1em;
}

.mx-blogpage-entries #nav-below
{
    margin-top: 1em;
}

/* Custom Area */

div.agentcustomareatext {
    padding: 12px;
}

div.subbody div.agentcustomareatext {
    padding: 0 12px 12px 12px;
}

.custom-area-sibling {
    display: none;
}

.mxSocialBar {
	float:right;
	margin:10px 0 10px 10px;
}
/************************** Buy & Sell **********************************/
#buysell li{
  list-style:disc inside none;
}
#buysell img{
  margin-right:10px;
}
#buysell p{
  margin-top:10px;
}
#buysell h2{
  font-weight:bold;
}
/********************************* End of Buy & Sell ******************/

/************************** Comment List **********************************/
h3#comments {
	clear:both;
	padding-top:20px;
}
ol.commentlist {
	padding-bottom:15px;
	margin-bottom:20px;
	border-bottom:1px solid #cccccc;
}
ol.commentlist li {
	position:relative;
	margin-top:15px;
	padding:15px 0 0 48px;
	border-top:1px solid #cccccc;
}
ol.commentlist .avatar {
	position: absolute;
    left:0;
    top:15px;
}
ol.commentlist cite {
	font-weight:bold;
}
ol.commentlist .comment-awaiting-moderation {
	color:#666666;
}
ol.commentlist ul.children {
	margin-top:10px;
}
form#commentform input#submit
{
	background: url("/wp-content/plugins/matrix/images/personality_button_gradient.png") repeat-x #033e75;
	border: 0px;
	color: white;
	font-size: 1.2em;
	padding: 3px 14px;
	cursor: pointer;
	-moz-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
	box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5);
	filter: progid:DXImageTransform.Microsoft.Shadow(Color='#969696', Direction=145, Strength=4);
	-ms-filter:"progid:DXImageTransform.Microsoft.shadow(Color='#969696', Direction=145, Strength=4)";
}
form#commentform textarea#comment
{
    padding: 3px;
    width: 100%;
}
div#respond {
	clear:both;
	padding-top:25px;
}
.entry-content img.alignleft {
	margin: 2px 5px 5px 5px;
}
.entry-content img.alignright {
	margin: 2px 5px 5px 5px;
}
.entry-content img.aligncenter {
	margin: 2px auto 5px auto;
}
.entry-content:before,
.entry-content:after {
    display: table;
    content: " ";
}
.entry-content:after {
    clear: both;
}

/****************** Financial Calculator Override ***************/
div#fin_calc_menu_div a {
	cursor: pointer;
}


/*************** Helper bubble message styles *******************/
#loading_icon_container {
	background:url("/wp-content/plugins/matrix/images/trans_ajax.png");
	height:400px;
	width:400px;
	position:absolute;
	display:none;
	z-index:3000;
	top: 0px;
	left: 0px;
}

#loading_icon {
	background:url("/wp-content/plugins/matrix/images/ajax_icon.gif") no-repeat center center;
	min-height:100%;
}

#loading_map_over {
	position:absolute;
	top:0;
	left:0;
	z-index:1900;
	width: 500px;
	height: 500px;
	display:none;
	background-color:#FFFFFF;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
	filter: alpha(opacity=60);
	-moz-opacity:0.6;
	-khtml-opacity: 0.6;
	opacity: 0.6;
}

#loading_message {
	position:absolute;
	top:0;
	left:0;
	z-index:2000;
	display:none;
	background-color:#FFFFFF;
	border:5px solid #ddd;
	max-width:300px;
	line-height:200%;
	font-size:12px;
	padding:20px;
}

.loading_message_loader {
	background: url("/wp-content/plugins/matrix/images/ajax_icon_small.gif") no-repeat 10px center;
	padding-left: 36px !important;
}

.shadow {
	-moz-box-shadow:3px 3px 4px #000;
	-webkit-box-shadow:3px 3px 4px #000;
	box-shadow:3px 3px 4px #000;
	-ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
	filter:progid:DXImageTransform.Microsoft.Shadow(Strength=4,Direction=135,Color='#000000');
}


/******************** Search page defaul styles ******************/
/**** TODO: Remove these styles ****/
div#wms_search p, div#wms_search label{
	color: #333;
}

div#searchWrapper{
    word-wrap: normal;
}

div#searchWrapper input, div#searchWrapper select{
    padding: 4px;
}

div#searchWrapper input[type="checkbox"],
div#searchWrapper input[type="radio"]{
    padding: 0;
}

/******************** Pagination styles ******************/

.pagination{
	float: right;
    padding: 2px;
}

.pagination ul{
    margin: 0;
    padding: 0;
    text-align: left; /*Set to "right" to right align pagination interface*/
    font-size: 1em;
}

.pagination li{
    list-style-type: none;
    display: inline;
    padding-bottom: 1px;
}

.pagination a, .pagination a:visited{
    padding: 0 5px;
    border: 1px solid #9aafe5;
    text-decoration: none; 
    color: #2e6ab1;
    margin: 0 2px;
}

.pagination a:hover, .pagination a:active{
    border: 1px solid #2b66a5;
    color: #000;
    background-color: #999; /*#FFFF80;*/
}

.pagination a.currentpage{
    background-color: #2e6ab1;
    color: #FFF !important;
    border-color: #2b66a5;
    font-weight: bold;
    cursor: default;
}

.pagination a.disablelink, .pagination a.disablelink:hover{
    background-color: white;
    cursor: default;
    color: #929292;
    border-color: #929292;
    font-weight: normal !important;
}

.pagination a.prevnext{
    font-weight: bold;
}

/******************** Tipsy ******************/
/* Replaced with new styles 12/11/2011
.tipsy { padding: 5px; font-size: 10px; opacity: 0.8; filter: alpha(opacity=80); background-repeat: no-repeat;  background-image: url(/wp-content/plugins/listings/images/tipsy.gif); }
.tipsy-inner { padding: 5px 8px 4px 8px; background-color: black; color: white; max-width: 200px; text-align: center; }
.tipsy-inner { -moz-border-radius:3px; -webkit-border-radius:3px; }
.tipsy-north { background-position: top center; }
.tipsy-south { background-position: bottom center; }
.tipsy-east { background-position: right center; }
.tipsy-west { background-position: left center; }
*/

.tipsy { font-size: 10px; position: absolute; padding: 5px; z-index: 100000; }
.tipsy-inner { background-color: #000; color: #FFF; max-width: 200px; padding: 5px 8px 4px 8px; text-align: center; }

/* Rounded corners */
.tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }

/* Uncomment for shadow */
/*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/

.tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; }

/* Rules to colour arrows */
.tipsy-arrow-n { border-bottom-color: #000; }
.tipsy-arrow-s { border-top-color: #000; }
.tipsy-arrow-e { border-left-color: #000; }
.tipsy-arrow-w { border-right-color: #000; }

.tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;}
.tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none;  border-left-color: transparent; border-right-color: transparent;}
.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none;  border-left-color: transparent; border-right-color: transparent; }
.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none;  border-left-color: transparent; border-right-color: transparent; }
.tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; }
.tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; }
.tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; }



/* CSS Styles that are needed by jScrollPane for it to operate correctly. */

.jspScrollable {
	outline: 0;
}
.jspContainer {
    overflow: hidden;
    position: relative;
}
.jspPane {
    position: absolute;
    left: 0;
}
.jspVerticalBar {
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 4px;
    border-radius: 10px 10px 10px 10px;
}
.jspHorizontalBar {
    bottom: 0;
    height: 16px;
    left: 0;
    position: absolute;
    width: 100%;
    border-radius: 10px 10px 10px 10px;
}
.jspVerticalBar *, 
.jspHorizontalBar * {
    margin: 0;
    padding: 0;
}
.jspCap {
    display: none;
}
.jspHorizontalBar .jspCap {
    float: left;
}
.jspTrack {
    position: relative;
}
.jspDrag {
    cursor: pointer;
    left: 0;
    position: relative;
    top: 0;
}
.jspHorizontalBar .jspTrack, 
.jspHorizontalBar .jspDrag {
    float: left;
    height: 100%;
}

.jspCorner {
    background: none repeat scroll 0 0 #EEEEF4;
    float: left;
    height: 100%;
}
* html .jspCorner {
    margin: 0 -3px 0 0;
}

.jspHorizontalBar, 
.jspVerticalBar, 
.jspTrack {
    /* background-color is defined in palette */
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0 0;
}
.jspDrag {
    /* background-color is defined in palette */	
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0 0;
    border-radius: 10px 10px 10px 10px;
}
.jspTrack .jspActive, 
.jspTrack .jspHover, 
.jspDrag:hover {
    /* background-color is defined in palette */
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0 0;
}
.jspArrow {
    /* background-color is defined in palette */
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    cursor: pointer;
    display: block;
/*    background-image: url("/wp-content/plugins/matrix/images/ui-icons_222222_256x240.png") no-repeat scroll 0 0 transparent; */
    text-indent: -20000px;
}
.jspArrow.jspDisabled {
    /* background-color is defined in palette */
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    cursor: default;
}
.jspVerticalBar .jspArrow {
    height: 4px;
}
.jspHorizontalBar .jspArrow {
    float: left;
    height: 100%;
    width: 16px;
}
.jspVerticalBar .jspArrow:focus {
    outline: medium none;
}
.jspVerticalBar > .jspActive, 
.jspArrow:hover {
    /* background-color is defined in palette */
/*    background-image: url("/wp-content/plugins/matrix/images/ui-icons_cd0a0a_256x240.png");*/
}
.jspVerticalBar > .jspDisabled, 
.jspVerticalBar > .jspDisabled:hover, 
.jspHorizontalBar > .jspDisabled, 
.jspHorizontalBar > .jspDisabled:hover {
    /* background-color is defined in palette */
/*    background-image: url("/wp-content/plugins/matrix/images/ui-icons_888888_256x240.png") transparent;*/
}

.jspArrow.jspArrowUp {
/*    background-position: -3px -3px !important;*/
    border-radius: 10px 10px 0px 0px;
    height: 4px;
}
.jspArrow.jspArrowDown {
/*    background-position: -67px -3px !important;*/
    border-radius: 0px 0px 10px 10px;
    height: 4px;
}
.jspArrowLeft {
/*    background-position: -96px 0 !important; */
    border-radius: 10px 10px 10px 10px;
}
.jspArrowRight {
/*    background-position: -32px 0 !important; */
    border-radius: 10px 10px 10px 10px;
}

/* ColorBox style customization */

#colorbox, #colorbox #cboxWrapper,
#innerColorbox,
#innerColorbox #cboxWrapper,
#wms_email_listing,
#wms_email_listing_contents,
#wms_email_contact,
#wms_email_contact_contents{
  overflow: visible !important;
}
#colorbox #cboxClose, #innerColorbox #cboxClose {
  top: -16px !important;
  right: -16px !important;
  width: 32px !important;
  height: 32px !important;
  background: url('images/modal_close_blue.png') no-repeat top center !important;
  border: 0;
}
#colorbox_modal_content .cboxSearch {
  text-align:center; 
  font-size: 18px; 
  line-height: 24px; 
  color: #666666;
  padding: 0;
  margin-top: 22px;
}
#colorbox:focus,
#cboxWrapper:focus,
#cboxContent:focus,
#cboxLoadedContent:focus,
#cboxClose:focus {
  outline: 0;
}

/* FancyBox style customization */
.fancybox-close {
  background: url('images/modal_close_blue_white.png') no-repeat top center !important;
}

.fancybox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 8040;
}