﻿body
{
    background: #ffffff url('../Images/top-bg.jpg') repeat-x top left;
    font-size: .70em;
    font-family: Verdana, Geneva, sans-serif;
    line-height: 1.3;
    -webkit-text-size-adjust: none;
}

table a {
    color: #000000;
    padding: 2px 0;
}

input {
    padding: 0;
    margin: 0;
    font-size: 1.1em;
}

textarea {
    font-size: 1.3em;
}

p {
    padding: 10px 15px;
}

ul { 
    list-style-type: disc;
    margin: 10px 0;
    padding: 0;
}

ul li {
    margin: 3px 0 3px 23px;
    padding: 0;
}

/* Forms */
form ul {
    list-style: none;
    color: #333333;
}

form ul li {
    clear: both;
}

form textarea {
    width: 400px;
    height: 150px;
}

form .formitem {
    padding: 1px;
    margin: 1px;

}

form .formitem.textarea label {
    padding-top: 3px;
    vertical-align: top;
}

form .formitem label {
    display: inline-block;
    width: 110px;
    margin-right: 5px;
    text-align: right;
}

form .formitem label.inline {
    width: auto;
}

form .formitem.checkbox {
    margin-left: 120px;
}

form .formbuttons {
    margin: 10px 0;
    text-align: center;
}

form fieldset legend {
    font-size: 1.1em;
    font-weight: bold;
    padding: 0 0 10px 0;
}

/* Headers */
h1 {
    font-size: 190%;
}

h2 {
    font-size: 1.3em; color: #053b79;
    margin: 10px 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

h4 {
    font-size: 120%;
}

h5 {
    padding: 5px 15px;
    font-size: 1em;
    font-weight: bold;
}

h6 {
    display: inline;
    margin-right: 5px;
    font-size: 1em;
    font-weight: bold;
}

dl {
    margin: 10px 20px;
}

dt {
    font-size: 100%;
    font-weight: bold;
}

dd {
    margin: 3px 0 5px 30px;
}

/* Input Controls */

.newwaytextbox {
    padding: 1px;
    border: solid 1px #809fbe;
}

.newwaybutton {
    margin: 0;
    padding: 0 2px;
    background: url('../Images/button_bg.jpg') repeat-x;
    border: double 3px #0099ff;
}

/* Clearing Floats */
.clear:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clear { display: inline-table; }
* html, .clear { height: 1%; }
.clear { display: block; }

#pageframe {
    width: 884px;
    margin: 0 auto;
    padding: 9px 11px 30px 11px;
    background-color: #7ba0bb;
    border: solid 1px #053b79;
}

#page {
    background-color: #e9e9e9;
    border: solid 1px #053b79;
}

#maincontent {
    margin-top: 5px;
    padding-bottom: 25px;
    background: url('../Images/body_bg.jpg') repeat-y;
}

#navcolumn {
    float: left;
    width: 198px;
    min-height: 50px;
    height: auto !important;
    height: 50px;
    border-top: solid 1px #053b79;
}

#maincolumn {
    float: left;
    width: 653px;
    min-height: 500px;
    height: auto !important;
    height: 500px;
    padding: 0 10px;
    
}

/* Header **************************************************************************************/
#header {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 148px;
}

#header h1 {
    height: 148px;
    margin: 0;
    padding: 0;
    text-indent: -9999px;
}

.newwayheader {
    background: url('../Images/newway-header.jpg') no-repeat 0 0;
}

.newwayheader2 {
    background: url('../Images/newway-header.jpg') no-repeat 0 -148px;
}

.newwayheader3 {
    background: url('../Images/newway-header.jpg') no-repeat 0 -296px;
}

.newwayheader4 {
    background: url('../Images/newway-header.jpg') no-repeat 0 -444px;
}

/* Footer **************************************************************************************/
#footer {
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
}

#footer a {
    color: #333333;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

#footernavigation {
    font-size: 1.1em;
    text-align: center;
}

#footernavigation ul {
    margin: 5px 0 10px 0;
    list-style: none;
}

#footernavigation ul li {
    display: inline;
}

/* Navigation Bar *******************************************************************************/
#navigationbar {
    height: 45px;
    padding: 1px;
    background-color: #dfbd51;
}


#navigationbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#navigationbar ul li {
    float: left;
    margin: 0;
    margin: 0 0 0 5px !important;
    margin: 0 2px 0 2px;
    padding: 0;
}

#navigationbar a {
    display: block;
}



/* Navigation Bar - Home Link */
#navigationbar #homelink {
    width: 194px;
    height: 44px;
    background: url('../Images/navmenu.png') no-repeat 0 0;
    text-indent: -9999px;
}

#navigationbar #homelink:hover {
    background: url('../Images/navmenu.png') no-repeat 0 -44px;
}

/* Navigation Bar - Featured Listings Link */
#navigationbar #featuredlink {
    width: 169px;
    height: 44px;
    background: url('../Images/navmenu.png') no-repeat -195px 0;
    text-indent: -9999px;
}

#navigationbar #featuredlink:hover {
    background: url('../Images/navmenu.png') no-repeat -195px -44px;
}

/* Navigation Bar - Our Listings Link */
#navigationbar #ourlistingslink {
    width: 164px;
    height: 44px;
    background: url('../Images/navmenu.png') no-repeat -365px 0;
    text-indent: -9999px;
}

#navigationbar #ourlistingslink:hover {
    background: url('../Images/navmenu.png') no-repeat -365px -44px;
}

/* Navigation Bar - Search All Listings Link */
#navigationbar #searchalllink {
    width: 165px;
    height: 44px;
    background: url('../Images/navmenu.png') no-repeat -530px 0;
    text-indent: -9999px;
}

#navigationbar #searchalllink:hover {
    background: url('../Images/navmenu.png') no-repeat -530px -44px;
}

/* Navigation Bar - Community Info Link */
#navigationbar #communityinfolink {
    width: 158px;
    height: 44px;
    background: url('../Images/navmenu.png') no-repeat -696px 0;
    text-indent: -9999px;
}

#navigationbar #communityinfolink:hover {
    background: url('../Images/navmenu.png') no-repeat -696px -44px;

}

/* Side Menu ********************************************************************************/
.sidemenu {
    font-size: 1.1em;
}

.sidemenu a {
    color: #000000;
    font-weight: bold;
    text-decoration: none;
}

.sidemenu a:hover {
    text-decoration: underline;
}

.sidecontent {
    margin: 0 0 15px 0;
}

.sidecontent .contentbody {
    margin: 3px 10px;
}

/* MLS Search Control ************************************************************************/
#mlssearch h4 {
    width: 198px;
    height: 75px;
    margin: 0;
    padding: 0;
    background: url('../Images/quicksearch.jpg') no-repeat;
    text-indent: -9999px;
}

#mlssearch .newwaybutton {
    font-size: 90%;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    text-decoration: underline;
}

#mlssearch .newwaytextbox {
    width: 110px;
}

/* About Us Page */
#aboutus .photos {
    margin-top: 15px;
}

#aboutus .photo {
    float: left;
    width: 49%;
    text-align: center;
}

/* Contact Us Page */

#newwayaddresses {
    margin-bottom: 30px;
}

.newwayaddress { 
    float: left; 
    margin: 0;
    width: 33%;
    text-align: center;
}

#contactusform {
    clear: both;
}

#contactusform p {
    padding-top: 0;
}

#contactusform fieldset {
    padding: 10px 0;
    margin: 10px !important;
    margin: 10px 5px 10px 5px;
}

#contactusform fieldset legend {
    width: 100% !important;
    width: 95%;
    padding: 2px 5px;
    background-color: #e7cb6f;
    font-weight: bold;
}

#contactusform .formitem {
    margin: 3px 0 3px 30px;
}

#contactusform label {
    float: left;
    display: block;
    width: 120px;
    font-weight: bold;
}

#contactusform input {

}

#contactusform textarea {
    width: 350px;
    height: 100px;
}

#contactusform .buttonpane {
    text-align: center;
}

/* Listing Search Page */
#searchpage form ul {
    margin: 0;
    padding: 0 10px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;  
    background-color: #f7f7f7;
}

#searchpage form ul li {
    padding: 7px 0;
    margin: 0;
    border-top: solid 1px #cccccc;
}

#searchpage form ul li.first {
    border: none;
}

#searchpage form ul li.checkbox {
    width: 130px;
}

#searchpage form input {
    font-size: .9em;
}

#searchpage form select {
    margin: 0;
    font-size: .9em;
}

#searchpage form label {
    margin: 0;
    padding: 0;
}

#searchpage form h6 {
    display: block;
    float: left;
    margin: 1px 0 0 10px;
    padding: 0;
    width: 90px;
}

#searchpage form fieldset {
    margin: 0;
    padding: 0;
}

#searchpage form fieldset fieldset {
    margin: 0;
    padding: 0;
    border: none;
}

#searchpage form fieldset fieldset legend {
    margin: 0 0 0 15px;
    padding: 0;
    font-size: 1em;
}

#searchpage form ul li ul {
    float: left;
    padding: 0;
    margin: 0;
}

#searchpage form ul li ul li {
    float: left;
    margin: 0 10px;
    padding: 0;
    border: none;
}

#searchpage form ul li ul li.alt {
    clear: none;
}

#searchpage form fieldset fieldset ul {
    margin: 0 0 0 105px;
}

#searchpage form fieldset fieldset ul li {
    width: 130px;
}

#searchpage form .buttonpane {
    text-align: center;
    margin: 5px 0;
}

/* Meet Our Agents Page */

.agentdisplay {
    padding: 10px 0;
}

.agentdisplay p {
    padding: 3px 0 7px 0;
}

.agentheader {
    float: left;
    width: 210px;
    text-align: center;
}

.agentinfo {
    float: left;
    width: 443px;

}

.agentdesc {
    clear: both;
}
 
.agentphone 
{
    float: left;
    width: 170px;
    height: 25px;
    line-height: 25px;
    color: #053b79;
}

.agenticon {
    float: right;
    width: 90px;
    margin: 0;
    padding: 0;
    text-align: left;
}

.agenticon a {
    margin: 0 5px;
}


/**********************************************************************
    Listings
***********************************************************************/

/* Listing Items */
.listingitem {
    font-size: .9em; 
    background-color: #f7f7f7;  
    padding: 4px 4px; 
    border-bottom: solid 1px #597d9e;  
    color: #333333;
}

.listingitem ul {
    list-style: none;
    margin: 20px 0 0 0;
    padding: 0;
}

.listingitem li {
    margin: 3px 0;
    padding: 0;
}

.listingitem li.main {
    clear: both;
    float: left;
}

.listingitem li.alt {
    margin-left: 12em;
    padding: 3px 0 0 0;
}

.listingitem .titlebar { 
    float: left; 
    width: 504px; 
    margin-left: 2px;
 }
 
.listingitem h5 { 
    font-size: 1.2em; 
    margin: 0 0 0 0; 
    padding: 2px 3px; 
    color: #ffffff; 
    text-decoration: none; 
    background: #7f9fbe;
}

.listingitem h5 a { 
    color: #ffffff; 
    text-decoration: none;
}

.listingitem h5 a:hover { 
    text-decoration: underline;
}

.listingitem .listingitemimage { 
    float: left; 
    width: 133px; 
    height: 100px; 
    margin-right: 2px; 
    background-color: #ffffff; 
    border: solid 1px #597d9e; 
    text-align: center; 
}

.listingitem .listingiteminformation {
    float: left;
    height: 83px;
    position: relative;
    padding: 0 5px;
}

.listingitem .listingprice h6 { 
    display: block; 
    margin: 0;
}

.listingitem .listingprice { 
    float: right; 
    margin: 3px 0 0 0; 
    padding: 0 3px; 
    width: 90px; 
    height: 78px; 
    border-left: solid 1px #cccccc; 
    text-align: right;
    position: relative;
}

.listingitem .listingprice .price {
    font-size: 1.1em; 
    font-weight: bold; 
    padding: 3px 0 0 0; 
    color: #333333;
}

.listingitem .mlsnumber { 
    float: left; 
    font-size: .9em; 
    margin: 0; 
    color: #666666;
}

.listingitem .agent {
    width: 388px;
    padding: 2px 0;
    margin: 0;
    position: absolute;
    bottom: 0;
}

.listingitem .agent .name {
    float: left;
}

.listingitem .agent .phone {
    float: right;
}

/* Listing Detail Page */
#listingdetail h2 {
    margin-bottom: 0;
}

.listing {
    margin-top: 10px;
}

.listing ul {
    float: left;
    margin: 0 0 10px 10px;
    list-style: none;
}

.listing ul li {
    width: 190px;
    margin: 7px 0;
}

.listing ul li h6 {
    display: block;
    text-align: right;
    float: left;
    width: 90px;
}

.listing h4 {
    clear: both;
    margin: 15px 0 5px 0;
}

.listing p {
    padding: 5px 15px;
}

.listing li.alt {
    float: left;
}

.listing h4 
{
    color: #053b79;
    border-bottom: solid 1px #053b79;
    margin: 0 0 5px 0;
    padding: 0;
}

.listing h5 {
    margin: 0 0 5px 15px;
    padding: 0;
}

.listing .listingimages 
{
    margin: 0 0 10px 0;
}   

.listing .listingimagemain 
{
    float: left;
    display: table;
    width: 385px;
    height: 285px;
    text-align: center;
    margin: 0 10px 0 0;
    border: solid 2px #053b79;
}

.listing .listingimagemain div 
{
    display: table-cell;
    vertical-align: middle;
}

.listing .listingimagesall
{
    float: left;
    padding: 5px;
    width: 244px;
    background-color:  #f4f4f4;
}

.listing .gallerythumb
{
    display: block;
    float: left;
    width: 55px;
    height: 42px;
    margin: 2px 2px 2px 2px;
    border: solid 1px #7f9fbe;
}

.listing .gallerythumb.selected
{
    margin: 1px;
    border: solid 2px #053b79;
}    

.listing .gallerythumb img
{
    width: 55px;
    height: 42px;
}


/* Mini Listing Item Control */

.minilistingitem {
    float: left;
    width: 37%;
    margin: 5px 40px !important;
    margin: 5px 20px;
    border: solid 1px #597d9e;

}

.minilistingitem .listingiteminformation {
    margin: 0;
}

.minilistingitem .listingitemimage {
    clear: both;
    float: left;
    margin: 0 10px 5px 0;
    background-color: #f7f7f7;
    border: solid 1px #597d9e;
}

.minilistingitem .listingitembody
{
    padding: 2px 5px;
}

.minilistingitem .listingprice
{
    clear: both;
}

.minilistingitem  ul {
    list-style: none;
    margin-top: 0;
}

.minilistingitem h5 {
    margin: 0;
    padding: 2px;
    background-color: #7ba0bb;
    border-bottom: solid 1px #597d9e;
}

.minilistingitem h5 a {
    color: #ffffff;
    text-decoration: none;
}

.minilistingitem h5 a:hover {
    text-decoration: underline;
}

/* Listings */

.listheader 
{
    clear: both;
    padding: 2px 5px;
    margin: 2px 0 0 0;
    color: #ffffff;
    background-color: #597d9e;
    border-top: solid 1px #053b79;
    border-left: solid 1px #053b79;
    border-right: solid 1px #053b79;
}

.listingitems
{
    clear: both;
    margin: 0 0 4px 0;
    border-top: solid 1px #053b79;
    border-left: solid 1px #053b79;
    border-right: solid 1px #053b79;
    background-color: #ffffff;
}

.listheader .itemsperpage
{
    float: left;
}
.listheader .sortby
{
    float: right;
}

.listheader select
{
    font-size: 1em;
    text-align: left;
}

/* Grid */

.grid {
    width: 100%;
    border-collapse: collapse;
    border: solid 1px #a0a0a0;
}

.grid th {
    text-align: left;
}

.grid tr {
    border: solid 1px #a0a0a0;
}

.grid th, .grid td {
    height: 16px;
    padding: 1px;
    vertical-align: middle;
}

/* Agents Grid */

.grid#agentgrid .actionheader, .grid#agentgrid .actioncolumn {
    width: 80px;
    text-align: center;
}

.grid#agentgrid .nameheader, .grid#agentgrid .namecolumn {
    width: 200px;
}

.grid#agentgrid .titleheader, .grid#agentgrid .titlecolumn {

}

.grid#agentgrid .activeheader, .grid#agentgrid .activecolumn {
    width: 80px;
    text-align: center;
}

/* Pager */

.pager 
{
    margin: 0;
    font-size: .8em;
    text-align: center;
}

.pager a {
    display: inline-block;
    padding: 2px 4px 3px 4px;
    margin: 0 2px 0 0;
    color: #053b79;
    background-color: #f4f4f4;
    border: solid 1px #597d9e;
    text-decoration: none;
}

.pager a:hover {
    background-color: #e5ebf0;
    text-decoration: underline;
}

.pager a.current {
    color: #f4f4f4;
    background-color: #7f9fbe;
}

.pager span
{
    display: inline-block;
    padding: 9px 2px 0 2px;
    margin: 0;
}

.pager span.nextprev 
{
    display: inline-block;
    padding: 2px 4px 3px 4px;
    margin: 0 2px 0 0;
    color: #999999;
    background-color: #f4f4f4;
    border: solid 1px #7f9fbe;
    text-decoration: none;
}

/* Tabs */
.tabs { }

.tabs ul.tabnavigation {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    list-style: none;
    margin: 0 20px 5px 20px;
    padding: 2px 5px;
    background-color: #053b79;
}

.tabs ul.tabnavigation li {
    float: left;
    margin: 0 2px;
    padding: 0;

}

.tabs ul.tabnavigation li a {
    
    display: block;
    padding: 4px 7px;
    margin: 0 2px 0 0;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

.tabs ul.tabnavigation li a:hover {

}

.tabs ul.tabnavigation li a.selected {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;  
    color: #ffffff;
    background-color: #829dbc;
}

.tabs .tabcontainer {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    margin: 0 20px;
    padding:  5px 15px;
}

/* Message Boxes */

.warningbox {
    padding: 5px 5px 5px 40px;
    background: #ffeeee url('../Images/Warning.png') no-repeat 5px 50%;
    border: solid 1px #ff0000;
}

.successbox {
    margin-bottom: 5px;
    padding: 5px;
    background-color: #ccffcc;
    border: solid 1px #00cc33;
    text-align: center;
}

.validation-summary-errors, .field-validation-error {
    color: #cc0000;
}

.input-validation-error
{
    padding: 2px;
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

/* Helpers */
.centertext {
    text-align: center !important;
}

