/* Global Resetting */
html{
	width: 100%;
	height: 100%;
	background-color: #383431;
}
body {
	width: 100%;
	height: 100%;
	/* reset font-sizes to 1em == 10px */
	font-size: 62.5%;
	margin: 0; padding: 0;
	background-color: #383431;
}
* {
	font-size: 1em;
	font-family: Arial,Helvetica,sans-serif;
}
a img{
	border: 0; margin: 0;
}
.clear{
	clear:both;
}
.right { float: right; }
.left { float: left; }
.hidden { display: none; }
#container {
	width: 780px;
	margin: 0 auto;
	text-align: left;
	background: url('/chaseshuswap/images/Riley_webslice4.jpg') top left repeat-y;
}
#banner {
	height: 108px;
	background: url('/chaseshuswap/images/generic_header.jpg');
}
div.flash { height: 132px !important; padding: 0; background: url('/chaseshuswap/images/Riley_homeheader.jpg') top right no-repeat !important; }
div.residential-listings { background: url('/chaseshuswap/images/RESIDENTIAL_header.jpg') top right no-repeat !important; }
div.shuswap-waterfront-properties { background: url('/chaseshuswap/images/waterfront_header.jpg') top right no-repeat !important; }
div.rural-recreational { background: url('/chaseshuswap/images/RURAL_header.jpg') top right no-repeat !important; }
div.lots-acreages { background: url('/chaseshuswap/images/ACREAGE_header.jpg') top right no-repeat !important; }
div.comm-development { background: url('/chaseshuswap/images/COMMERCIAL_header.jpg') top right no-repeat !important; }
div.the-shuswap-region { background: url('/chaseshuswap/images/REGION_header.jpg') top right no-repeat !important; }
div.team { background: url('/chaseshuswap/images/CONTACT_header.jpg') top right no-repeat !important; }
div.real-estate-information { background: url('/chaseshuswap/images/REALESTATE_header.jpg') top right no-repeat !important; }
#right_pane {
	width: 620px;
  	margin-left: 160px;
}
#Content {
	padding: 15px 0 15px 15px;
	width: 605px; 
	float: left;
	background-color: #FFF;
}
#Content p {
	padding-right: 10px;
}
#left_pane {
	width: 160px;
	height: 500px;
    padding-bottom: 5px;
    float: left;
}
#left_pane a {
	margin: 4px 3px 10px 10px;
    text-align: right;
    display: block;
}
#left_pane ul {
	list-style: none;
	margin: 0; padding: 0;
}
#left_pane li {
	width: 150px;
	height: 21px;
	padding-right: 10px;	
	text-align: right;
}
#left_pane li a {
	text-decoration: none;
	font-size: 1.3em;
	color: #ADA68E;
	margin: 0;
}
#left_pane li a:hover {
	text-decoration: underline;
	color: white;
}
#left_pane li.section a { color: white; }
#left_pane li.section a:hover { text-decoration: none; }
#left_pane ul#address {
	list-style: none;
	font-size: 1.2em;
	margin-left: 10px;
    margin-top: 10px;  
    margin-right: 5px; 
    color: white;
}
#left_pane ul li.address_title {
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 0;
	display: block;
}
#left_pane ul#address li { 
	margin: 0; padding: 0;
	height: auto;
	text-align: center !important; 
}
#left_pane p span.address_street,
#left_pane p span.address_box,
#left_pane p span.address_city,
#left_pane p span.address_phone1,
#left_pane p span.address_phone2 {
	display: block;
}
#Footer {
	display: block;
	padding-top: 5px;
	float: clear;
	background-color: #383431;
	margin-left: 160px;
	text-align: center;
	color: #FFF;
}
#Footer a { 
	color: #ADA68E;
}
#listingTitle {
    text-transform: capitalize;
    font-size: 1.3em;
    font-family: Verdana;
    margin: 0;
}
#listingTitle span {
    color: black;
    font-weight: normal;
}
#tab_group {
	position: relative;
    margin: 0; padding: 0;
}
#tab_group ul#tabs {
    list-style-type: none;
    margin: 0; padding: 0;
    float: right;
}
#tab_group .tab {
	position: relative;
    left: -6px;
	display: block;
    clear: right;
	width: 68px;
	height: 57px;
    margin-bottom: -8px;
    border-left: 1px solid black;
    text-indent: -9999px;
    background-position: -70px 0;
    background-repeat: no-repeat;
}
#tab_group .tab a { 
	display: block;
	width: 68px;
	height: 57px;
}
#mainDescription_tab { background: url('/chaseshuswap/images/descr_tab.gif'); z-index: 10; }
#mainDescription_tab.current a { background: url('/chaseshuswap/images/descr_tab.gif'); }
#details_tab { background-image: url('/chaseshuswap/images/detail_tab.gif'); z-index: 9;}
#details_tab.current a{ background-image: url('/chaseshuswap/images/detail_tab.gif'); }
#map_tab { background-image: url('/chaseshuswap/images/map_tab.gif'); z-index: 8; }
#map_tab.current a{ background-image: url('/chaseshuswap/images/map_tab.gif'); }
#calculator_tab { background-image: url('/chaseshuswap/images/calc_tab.gif'); z-index: 7; }
#calculator_tab.current a{ background-image: url('/chaseshuswap/images/calc_tab.gif'); }
#contact_tab { background-image: url('/chaseshuswap/images/contact_tab.gif'); z-index: 6; }
#contact_tab.current a{ background-image: url('/chaseshuswap/images/contact_tab.gif'); }

#tab_group .content {
    float: left;
    width: 520px;
    border: 1px solid black;
    border-bottom: none;
    border-left: none;
    padding: 10px 10px 0 0;
}
#tab_group #tabs .current {
    border: none;
    z-index: 20 !important;
}
#tabs #printBtn a {
    display: block;
    text-align: center;
    width: 65px;
    height: 83px;
    position: relative;
    left: 1px;
    margin-top: 10px;
    background: url('/chaseshuswap/images/print_short.gif') 0 0 no-repeat;
    border: none;
    text-indent: -9000px;
}
#tabs #emailBtn a {
    display: block;
    text-align: center;
    width: 65px;
    height: 44px;
    position: relative;
    left: 1px;
    margin-top: 4px;
    background: url('/chaseshuswap/images/friend2.gif') 0 0 no-repeat;
    border: none;
    text-indent: -9000px;
}
.TabData {
    display: none;
}
#ImageGallery {
    width: 340px;
    float: left;
    margin-right: 5px;
}
#ViewPort {
    height: 260px;
    width: 340px;
    margin-bottom: 5px;
}
#ContentHolder p.mainDescription {
	float: right; width: 120px; margin-top: 0; padding: 0;
}
#ContentHolder p.address { font-weight: bold; margin-top: 0;}
div#MortgageCalc {
	width: 300px;
	float: left;
}
#MortgageCalc form, #MortgageCalc form td {
	width: 300px;
}
#MortgageCalcResults {
	float: right;
	width: 200px;
}
#MortgageCalcResults td {
	white-space: nowrap;
}
#MortgageCalc .label, #MortgageCalc .styledInput {
    text-align: right;
}
#MortgageCalc td {
    text-align: left;
}
#MortgageCalc .styledInput {
    width: 105px;
    background-color: #ebe8df;
    border: 1px solid black;
    text-align: right;
}
#MortgageCalc .extra_padding {
	padding-right: 5px;
	width: 100px;
}
#prop {
    position: relative;
    float: right;
    width: 1px;
    height: 370px;
}
#contactForm {
	float: left;
}
#contactForm .label {
	text-align: right;
	padding-right: 5px;
}
#contactForm .phone_number input {
	width: 30px;
}
.date {
	z-index: 10;
	font-size: 1.2em;
	margin-top: 94px;
	font-weight: bold !important;
	padding-right: 5px;
	text-align: right;
	float: right;
}
a#archive_control, a#archive_control:visited { float: left; padding-left: 10px; color: #000; text-decoration: none; }
a#archive_control:hover { text-decoration: underline; }

body.home .date { margin-top: -10px; }
body.home #Content {
	background: none;
	border: none;
	width: 603px;
	color: white;
}
body.home #container {
	background-image: url('/chaseshuswap/images/riley_background_home.jpg');
}
/*
IMPORTANT:
Essential styles to ensure accessibility for tabs
*/
@media projection, screen { /* use class for showing/hiding tab content, so that visibility can be better controlled in different media types... */
    .tabs-hide {
        display: none;
    }
}
@media print { /* maintain accessibility by overriding inline style used by animations... */
    .fragment {
        display: block !important;
        height: auto !important;
        opacity: 1 !important;
    }
    .anchors {
        display: none;
    }
}

/*
TAB STYLES:
Some more styles, not important for making tabs work, just for the look of it...
*/
.anchors {
    list-style: none;
    margin: 0;
    padding: 0 0 1px;
}
.anchors:after { /* clearing without presentational markup, IE gets extra treatment */
    display: block;
    clear: both;
    content: " ";
}
.anchors li {
    float: left;
    margin: 0 1px 0 0;
}
.anchors a {
    display: block;
    position: relative;
    top: 1px;
    border: 1px solid #eaeaea;
    border-bottom: 0;
    z-index: 2;
    padding: 2px 9px 1px;
    color: #000;
    text-decoration: none;
    background-color: #EBE8DF;
}
.fragment { margin: 0; border: 1px solid #EBE8DF; border-bottom: none; width: 575px; padding: 5px 10px 0 10px;}
.fragment ul { margin-left: 25px; margin-top: 10px;} 
.anchors .tabs-selected a {
    padding-bottom: 2px;
    font-weight: bold;
}
.anchors a:focus, .anchors a:active {
    outline: none; /* @ Firefox 1.5, remove ugly dotted border */
}
.anchors .on a, .anchors a:hover, .anchors a:focus, .anchors a:active,
.fragment {
    background: #FFF;
}
.anchors .on a:link, .anchors .on a:visited, .anchors .on a:link { /* @ Opera, use pseudo classes otherwise it confuses cursor... */
    cursor: text;
}
.anchors a:hover, .anchors a:focus, .anchors a:active {
    cursor: pointer;
}
.anchors .tabs-disabled {
    opacity: .4;
}
.anchors .tabs-disabled a:hover, .anchors .tabs-disabled a:focus, .anchors .tabs-disabled a:active {
    background: transparent;
}
