/* BASIC STRUCTURE */

    body {
        margin: 0;
        padding: 0;
        text-align: center;
		background: url('../images/layout/footer-bg.jpg') repeat;
    }
    
    #page {
        width: 100%;
        padding: 0 0 30px 0;
        text-align: center;
		background: url('../images/layout/body-bg.jpg') repeat;
		border-bottom: 1px solid #720c02;
		border-top: 1px solid #045f8e;
    }
    
/* END BASIC STRUCTURE */    

/* HEADER */

	#header-wrap {
        background: #daf1ff url('../images/header-backgrounds/rotate.php') no-repeat center;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #fefeff;
	}

    #header {
        padding: 0;
        margin: 0 auto;
        width: 960px;
        height: 200px;
        color: white;
        text-align: left;
    }
    
    #header-logo {
    	float: left;
    	margin: 40px 0 0 10px;
    }
    
    #header-graphic {
    	float: right;
    	margin: 10px 40px 0 0;
    }
    
    #nav-wrap {
    	background: url('../images/layout/nav-bg.png') repeat;
    	padding: 10px 0;
    }

	#nav-wrap ul {
		width: 960px;
		margin: 0 auto;
		list-style: none;
		
	}
	
	#nav-wrap ul li {
		float: left;
		font-size: 1.2em;
		margin: 0 0 0 5px;
		padding: 0 0 0 5px;
		border-left: 1px solid white;
		line-height: .8em;
	}
	
	#nav-wrap ul li:first-child {
		margin-left: 15px;
		padding-left: 0;
		border: none;
	}
	
    #nav-wrap a,
    #nav-wrap a:link,
    #nav-wrap a:active {
        color: #fff;
    }
    #nav-wrap a:visited {
        color: #fff;
    }
    #nav-wrap a:hover {
        text-decoration: none;
        color: #d9f2ff;
    }
    
/* END HEADER */


/* MAIN CONTENT */
    
    #content {
        position: relative;
        width: 960px;
        
        margin: 0 auto 0 auto;
        padding: 0;
        
        text-align: left;
    }
    
    #main {
        float: left;
        width: 560px;
        padding: 30px;
        display: inline;
		background: #fff;
        margin: 30px 0 0 10px;
        border: 1px solid #cacaca;
        -webkit-border-radius: 15px;
		-moz-border-radius: 15px;
		border-radius: 15px;
    }
    
    
/* END MAIN CONTENT */
    

/* SUB */  
  
    #sub {
        float: right;
        width: 296px;
        display: inline;
      
        margin: -85px 0px 0 0;
    }
    
    #sub ul {
    	background: url('../images/layout/dept-list-middle-sub.jpg') repeat-y;
    	margin: 0;
    	padding: 0 25px;
    	list-style: none;
    }
    
    #sub ul li {
    	margin: 0;
    	font-size: 1.2em;
    	line-height: 1.4em;
    }


/* FOOTER */

	#footer-wrap {
		width: 100%;
		border-top: 1px solid #e9e8e8;
	}

    #footer {
        color: white;
        text-align: left;
        width: 960px;
        margin: 0 auto;
        padding: 20px 0;
    }
    
    #footer #subscribe {
    	float: left;
    	margin: 0 20px 0 10px;
    }
    
    #footer-info {
    	float: left;
    	
    }
    
    #footer ul {
    	list-style: none;
    	margin: 0;
    }
    
    #footer li {
    	float: left;
    	font-weight: bold;
    	font-size: .9em;
    	line-height: .9em;
    	margin: 0 0 0 5px;
    	padding: 0 0 0 5px;
    	border-left: 2px solid white;
    }
    
     #footer li:first-child {
     	padding: 0;
     	margin: 0;
     	border: none;
     }
     
     #footer li:nth-child(2) {
     	border: none;
     }
    
	#footer a,
    #footer a:link,
    #footer a:active {
        color: #fff;
    }
    #footer a:visited {
        color: #fff;
    }
    #footer a:hover {
        text-decoration: none;
        color: #d9f2ff;
    }

	#footer p {
		clear: both;
		margin: 0;
		float: left;
		font-size: .9em;
	}
    
    
   /*  DIRECTORY PAGES  */
	
	.page-directory #main { /* directory listing pages */
		padding: 0;
		width: 620px;
	}
	
	#directory-main-page { /* default directory page */
	 padding: 30px;
	}

	#directory-category h1 { /* temp styles until the red bg works out... */
		padding: 30px 30px 0px 30px;
	}

/*	
	#directory-category h1 {
    	font-size: 1.2em;
    	line-height: 1.2em;
    	font-weight: 500;
    	width: auto;
    	height: 39px;
    	padding: 0;
    	margin: 0;
    	color: white;
    	color: black;
    }
    

    #directory-category h1 span {
    	background: url('../images/layout/header-middle.png') repeat-x;
    	height: 39px;
    }
    
    #directory-category h1:after {
    	content: url('../images/layout/header-right.png');
    }

	 #directory-category h1:before {
    	content: url('../images/layout/header-left.png');
    }
*/

    table#directory {
    	 border-spacing:0;
  		border-collapse:collapse;
    }
    
	table#directory td {
    	border-bottom: 2px solid #b8d9e9;
    	margin: 0;
    	padding: 15px;
    }
    
    #directory .sponsor-image {
    	width: 230px;
    }
    
    