/* Some properties are defined in environment.rb and dynamically included here. */  

body {
   margin: 0;
   margin-bottom: 25px;
   padding: 0;
   background-color: #f0f0f0;
   font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
   font-size: 13px;
   color: #333;
 }
 
body.AspectResearchAssociates {
 	background-color: #BAB0A6;
}
body.AspectProgramming {
 	background-color: #A7DAFE;
}
body.PolyglotProgramming {
 	background-color: #9EAF4B;
}
body.Contract4J {
 	background-color: #C8C3B8;
}
body.DeanWampler {
 	background-color: #AD9792;
}

div.logo {
  float: left;
  background-repeat: no-repeat;
  background-position: top left;
  border-left: 1px solid #aaa;
  margin: 5px;
  margin-top: 0px;
  margin-bottom: 0px;
  height: 125px;
}
div.logo-right-pad {
  float: right;
  background-position: top left;
  border-right: 1px solid #aaa;
  margin: 5px;
  margin-top: 0px;
  margin-bottom: 0px;
  height: 125px;
}

 .title,h1,h2,h3,h4,h5,h6 {
     font-family: "Book Antiqua", "Palatino Linotype", "Palatino", "Georgia", "Times", "Times New Roman", serif;
 }
 
 h1 {
   font-size: 24px;
   color: #220;
 }

a { 
  text-decoration: none;
}
:link, :visited {
  color: #032A31;
  font-weight: bold;
}
:link:hover, :visited:hover {
  background-color: #aca;
  color: black;
  text-decoration: none;
}
:link:focus, :visited:focus, :link:active, :visited:active {
  background-color: #C2E9C5;
  color: black;
  text-decoration: none;
}
 
 #page {
   margin: 5px;
   margin-top: 0px;
   padding-top: 0px;
 }
 
 #content {
   float: left;
   background-color: #eed;
   border: 1px solid #aaa;
   padding: 5px;
   padding-top: 0px;
   margin: 5px;
   margin-top: 0px;
   width: 75%;
/*   width: 475px;*/
 }
 
 #sidebar {
   font-family: Optima;
   float: right;
   padding: 5px;
   width: 20%;
   height: 100%;
/*   width: 150px;*/
 }

 #ads-sidebar {
   clear: both;
	 padding-top: 15px;
 }
 
 #ads-footer {
     clear: both;
	 font-size: 12px;
	 text-align: center;
     padding: 25px;
/*     width: 475px;*/
	 padding-top: 15px;
 }
 
 #copyright {
     border-top: 1px solid #ccc;
     margin-top: 15px;
     padding-top: 15px;
	 color: #444;
	 text-align: left;
	 font-size: 10px;
 }
 
 #footnote {
     border-top: 0px solid #ccc;
     margin-top: 10px;
     padding-top: 5px;
	 color: #444;
	 text-align: left;
	 font-size: 10px;
 }
 

 #header, #about, #main {
   padding-left: 10px;
   padding-right: 10px;
 }

#about {
	float: left;
}

div.debug {
  width: 100%;
}

img.site-logo {
  
}

div.my-book-covers { 
  float: right; 
  margin: 10px; 
  margin-right: 0px; 
}
img.my-book-covers { 
  border: 1px solid #8E2472;
}

div.ieeecfp {
  /*border: 1px solid #aaa;
  background-color: #FEE;*/
}

/* For "get glue" book widget */
#smartLinkListProgScala-thumb{
width:150px !important;
}

#misc-rails-logos {
  float: left;
  padding: 5px;
/*  width: 475px;*/
}
#logo-rails-conf-attendee {
  background-image: url("/images/railsconf-attendee.png");
  background-repeat: no-repeat;
  background-position: top center;
  border: 0px solid #88a;
  width:  100px;
  height: 54px;
}
#logo-rails {
  background-image: url("/images/rails2.png");
  background-repeat: no-repeat;
  background-position: top center;
  border: 0px solid #88a;
	width:  50px;
  height: 64px;
}

 #header {
   /*height: 80px;*/
	 text-align: left;
 }
 #header h1, #header h2 {
   margin-top: 20px;
  }
 #header h2 {
   color: #888;
   font-weight: normal;
   font-size: 16px;
 }
 
 .page-first-letter {
		color: #642;
		font-weight: bold;
		font-size: 24px;
 }

 .keyword {  /* used for highlighting terminology */
		color:#642;
		font-weight: bold;
		font-style: normal;
 }

 #about h3 {
   margin: 0;
   margin-bottom: 10px;
   font-size: 14px;
 }
 
 #about-content {
	 float: left;
   background-color: #ffd;
   border: 1px solid #fc0;
   margin-left: -11px;
 }
 #about-content table {
   margin-top: 10px;
   margin-bottom: 10px;
   font-size: 11px;
   border-collapse: collapse;
 }
 #about-content td {
   padding: 10px;
   padding-top: 3px;
   padding-bottom: 3px;
 }
 #about-content td.name  {color: #555}
 #about-content td.value {color: #000}
 
 #about-content.failure {
   background-color: #fcc;
   border: 1px solid #f00;
 }
 #about-content.failure p {
   margin: 0;
   padding: 10px;
 }
 
 
 #main {
   border-top: 1px solid #ccc;
   margin-top: 5px;
   padding-top: 0px;
 }
 #main h1 {
   margin: 0;
   font-size: 20px;
 }
 #main h2 {
   margin: 0;
   font-size: 16px;
   font-weight: bold;
   color: #333;
   margin-bottom: 15px;
 }
 #main ol {
   margin-left: 0;
   padding-left: 0;
 }
 #main li {
   font-size: 12px;
   color: #444;
   margin-bottom: 15px;
 }
 #main li h2 {
   margin: 0;
   font-weight: normal;
   font-size: 12px;
   color: #333;
 }
 #main li p {
   color: #555;
   font-size: 12px;
 }
 
 .description p {
	padding-left: 15px;
	margin-right: 15px;
	font-style: italic;
 }

 #search {
   margin: 0;
   padding-top: 10px;
   padding-bottom: 10px;
   font-size: 11px;
 }
 #search input {
   font-size: 11px;
   margin: 2px;
 }
 #search-text {width: 170px}
 
 
 #sidebar h3 {
   font-size: 16px;
   margin-top: 10px;
   border-top: 1px solid #ccc;
 }
 #sidebar ul {
   margin-left: 0;
   padding-left: 0;
   font-size: 14px;
   padding-bottom: 10px;
 }
 #sidebar li {
   list-style-type: none;
 }
 #sidebar ul.links li {
   margin-bottom: 3px;
 }
 
#info, #notice, #warning, #error {
	padding: 1em;
	margin-bottom: 2em;
	background-color: #f0f0f0;
}
#info {
	border: 2px solid blue;
}
#notice {
	border: 2px solid green;
}
#warning {
	border: 2px solid orange;
}
#error {
	border: 2px solid red;
}

h4 {
	font-size: 12px;
	font-weight: bold;
}
h5, h6 {
	font-size: 12px;
	font-style: italic;
	font-weight: bold;
}

img {
	border: 0px solid grey;
}