img, div { behavior: url("/App_Themes/SandCity/iepngfix.htc"); }

body
{
    background: #9e7c5d;
    background-image:url(images/sc-bg.jpg);
	background-repeat:repeat-x;
	background-position:top;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}
.sandcitystyle .mainSCContainer {
    border:1px solid #000000;    
    width: 753px;
    background: #FFFFFF;
    text-align: left;
    margin-right: auto;
    margin-left: auto;
    padding-bottom:20px;
    min-height: 525px;
    padding-bottom:20px;
    overflow: hidden;
        
}
.sandcitystyle #header {
    width: 753px;
}

.sandcitystyle #footer { 
	padding-top:8px;
    text-align: center; /* this overrides the text-align: center on the body element.*/
    width: 753px;
    margin-right: auto;
    margin-left: auto; 
   
} 
.sandcitystyle #navmenu {
	width: 100%;
} 
.mainContent {
    position:relative;
    top:13px;
    padding-top:0px;
    margin-top:0px;
	margin-left:15px;	
	margin-right:15px;
	padding:5px;
    overflow:visible;
    overflow-x:auto;
}
.sideContent {
    width: 200px; /* top and bottom padding create visual space within this div */
    background-color: #FFFFFF;
    border-left: solid 1px #f2f2f2;
    padding-left: 7px;
    padding-right: 5px;
    margin-left:5px;
    margin-top:8px;
    overflow:visible;
    overflow-x:auto;
}
.sideTableDiv td
{
    padding: 0px 0px 5px 10px;
}

.sandcitystyle #sidebar1 h3, .sandcitystyle #sidebar1 p, .sandcitystyle #sideContent p, .sandcitystyle #sideContent h3 {
	margin-left: 5px; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 5px;	
}

#news {
	float: left;
	height: auto;
	width: 360px;
	border:1px solid #666666;
}
#events {
	float: right;
	height: auto;
	width: 360px;
	border:1px solid #666666;
}	
.sandcitystyle #pageID {
	background-color: #f2f2f2;
	height: 10px;
	width: 749px;
	margin-left:12px;
	
} 
.sandcitystyle #footer p {
	margin: 0; 
	/* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	
	 /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	font-family: Arial, Helvetica, sans-serif;
	color:#FFFFFF;
	font-size: 9pt;	
	text-align: center;
	} 
.sandcitystyle #footer a {
	font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #FFFFFF;
    text-decoration: none;
	}
.sandcitystyle #footer a:active {
	font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #FFFFFF;
    text-decoration: none;
	}
.sandcitystyle #footer a:hover {
	font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #FFFFFF;
    text-decoration: underline;
	}		

/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
	
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float. Use this to separate footer from the container otherwise the container will not push the footer down.*/
	clear:both;
    height:0;
    line-height: 0px;
}

div#headerElements {
    position: absolute;
    margin-right:auto;
    margin-left:auto;
    width:753px;
    height:179px;    
}

div#search {
    position: absolute;
    bottom: 30px;
    width: 260px;
    float: right;
    right:2px;
   
}
div#randomImage {
    top: 5px;
    right:10px;
    margin-top:5px; /* atribute is intrepreted by IE closer to FF, Opera and Chrome not much but closer */
    position: absolute;    
    width: 275px;
    height: 26px;    
    color: #ffffff;
    padding-top: 1px;
    float: right; 
    
}

.businessContainer { 
	width: 30em;  /* this width will create a container that will fit in an 800px browser window if text is left at browser default font sizes */
	background: #FFFFFF;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 1px solid #000000;
	text-align: left; /* this overrides the text-align: center on the body element. */
}
.businessSidebarMenu {
	float: left; 
	width: 13em; /* since this element is floated, a width must be given */
	background: #EbEbEb; /* the background color will be displayed for the length of the content in the column, but no further */
	padding-top: 3px; /* top and bottom padding create visual space within this div */
	padding-bottom:10px;
	font-size:10px;
	line-height:0.9em;
	font-family: Arial, Helvetica, sans-serif;
}
.businessContent {
 	margin: 0 1.5em 0 13em; /* the right margin can be given in ems or pixels. It creates the space down the right side of the page. */
}
.businessRowBorders 
{
     border: #cccccc 1px solid;
}
.businessTable 
{
      border-LEFT-COLOR: #cccccc;
      border-BOTTOM-COLOR: #cccccc;
      width: 550px;
      border-TOP-COLOR: #cccccc;
      border-COLLAPSE: collapse;
      border-RIGHT-COLOR: #cccccc;
      border:1px;
}
td 
{
    vertical-align:top;
}
p 
{
    font-family: Arial, helvetica, Sans-Serif;
    font-size: 12px;
    color: #333333;
}

