/*
 *  layout.css: CSS document layout for aibelsoftware.com
 *  Some materials in this have been developed from code available 
 *  on the web (uncredited).
 *  Copyright: 2009, 2010, Jonathan Aibel. 
*/


#doc {
    min-width: 750px; 
    margin: 0; 
	margin-top:-8px;
	padding-top:8px;
    text-align: left;
    background: #ffffff url(images/gradient_large3.jpg) repeat-x;
    border-left: 2px dotted gray;
    border-right: 2px dotted gray;
}

#body {
    text-align:center;
    min-width: 600px; 
    padding:0;
	font-family: Garamond,Georgia, sans-serif;
}

#content {
    margin-bottom:1em;
	margin-left:.5em;
	margin-right:.5em;
    text-align:left;
}

#top, #bottom {
    background-image: url(images/purple_hex3.jpg); 
    margin: 0;
    height: 32px;
}

#header {
    margin-top: .5em;
    vertical-align: middle;
}

	/* Header styles */
    #header table {
        margin: auto;
		font-size: 1.4em;
		letter-spacing: .15em;
        text-align: center;
	}

	#header .title {
        background-image: url(images/circle_grid2.jpg); 
        height: 6px;  
        width: 7.5em;  
		padding: .5em; 
		line-height: 24px;
		font-size: 2em;
		font-weight: bold;
		letter-spacing: .01em;
        text-align: center; 
	}

	#header a {
		text-decoration: none;
        text-shadow: -0.03em -0.03em 0.6em white, 
                      0.03em  0.03em 0.6em white;
		color: midnightblue;
	}

#subtitle {
    background: #ffffff url(images/gradient_medium3.jpg) repeat-x;
    margin: 0;
}

    #subtitle table {
        margin: auto;
		font-size: 1.4em;
		letter-spacing: .15em;
        text-align: center;
	}

	#subtitle a {
		text-decoration: none;
        text-shadow: -0.03em -0.03em 0.6em white, 
                      0.03em  0.03em 0.6em white;
		color: black;
	}


#main {
/*    background: #99c; */
    max-width: 1000px; 
    background: #f4f4ff url(images/gradient_medium3.jpg) repeat-x; 
    margin-right: 4px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: .5em;
    padding-bottom:.5em;
    /* border-left: 1px solid black; */
	font-family: Georgia, sans-serif;
}

	#main p {
		padding-top: 3px;
		line-height: 1.2;
	}

	#main li {
		padding-left: 50px;
		text-indent: -40px;
	}

    #main table {
		width: 99%;
        border-left: 1px solid black;
        border-right: 1px solid black;
        border-collapse: collapse;
    } 

    #main td {
		font-size: 90%; 
        border-left: 1px dotted black;
        border-right: 1px dotted black;
        padding-left: 8px;
        padding-right: 8px;
    }

#head {
		padding-left: 1px;
		font-size: 120%; 
		font-weight: bold; 
}

/**
 * !FIX?
 * 99% for safari; 100% is too large
 */
select, input, textarea {font:99% arial,helvetica,clean,sans-serif;}

#nav {
/*    background: #f4f4ff url(images/gradient_small3.jpg) repeat-x; */
    background-color: #b9bfdf;
    margin: 0;
    width: 100%;
/*	height: 1.3em; */
}

#spacer {
    border-top: 1px solid black;
	height: 0.3em; 
    border-bottom: 1px solid black;
    margin-top:1em; 
}

    #nav ul {
        margin-left: -10;
        border-top: 1px dotted;
        border-bottom: 1px dotted;
        text-shadow: -0.03em -0.03em 0.6em white, 
                      0.03em  0.03em 0.6em white;
        list-style-type: none;
        text-align: center;
        vertical-align: center;
        height: 1.6em;
    }

    #nav ul li {
        display: inline;
        padding-left: .1em;
        padding-right: .1em;
    } 

	#nav a {
			 line-height: 1.1em;
		     font-weight: bold;
/*			 border-left: .4em solid #a9afef; */
			 text-decoration: none;
             color: midnightblue;
             padding: .15em .5em .15em .2em;
	 }

	#nav a:hover {
     border-color: midnightblue;
     background-color: #a9afef;
	 text-decoration: underline;
/*	 color: black; */
     /* border: 1px solid gray; */
     }

	#nav a.active {
	 background: gray;
	 color: white;
     text-shadow: none;
	}

	#nav a.submenu {
	 background: none;
     padding-top: 2px;
     line-height: 1.0;
	}

.rt {
    text-align: right;
}

/* self clear floated parent containers */
#bd:after{
content:"."; display:block; height:0; clear:both; visibility:hidden;}

#bd {zoom:1;} /* IE */
   
#footer:after {
	border-top: thin dotted; 
    font-size:65%; 
    font-family:"Trebuchet MS",sans-serif; clear:both; 
    font-style: italic; 
    text-align: right; 
    color: #111133; 
    content: "Aug. 15, 2012. Copyright © 2012, Jonathan Aibel."
}


#bottom_nav {
    border-top: 1px solid black;
}

#bottom_nav li {
    list-style-type: none;
    display: inline;
} 

#bottom_nav a {
	 text-align: center;
	 text-decoration: none;
        color: midnightblue;
}

.headshot {
    float: right;
    width: 160px;
}

.headshot img {
    width: 100%;
}

.quote {
	text-align: center;
    	font-style: bold; 
	font-family: "Hoefler Text", "MS Serif", serif;
    font-size:1.5em; 
}

.attribution {
	text-align: right;
	font-family: Garamond,Georgia, sans-serif;
    font-size:.8em; 
}

.contact {
	white-space: pre-line;
	margin-left:2em;
	margin-bottom:2em;
}
