/** HTML ELEMENTS **/
body {font-size:12px; line-height: 20px; margin:0; padding:0; font-family:Lucida Sans,Tahoma,Sans Serif; color: #000000; background-color: #FFFFFF;}
a  {color:#1b509e; text-decoration:none;}
a:hover {text-decoration:underline;}
a img {border:none;}
ul {margin:0; padding:0;}
/** END HTML ELEMENTS **/
/** CUSTOM CLASSES **/
.addthis_button {}
.books {background-color:#EEE; width:300px; height:250px; margin-top:20px; margin-bottom:15px;}
.center {text-align:center;}
.right {text-align:right;}
ul.cheatsheets {list-style-type:none; margin:5px 0;clear:right;}
  .cheatsheets li {border-bottom:1px solid #DDD; min-height:100px; padding:10px 5px;}
  .cheatsheets li.first {border-top:1px solid #DDD;}
  .cheatsheets li img {float:left; display:inline; margin-right:20px; background-color:#EEE; border:1px solid #BBB;}
  .cheatsheets li h2 {margin:0 0 7px 0; padding:0;}
  .cheatsheets h2 a {color:black;}
.clear {clear:left;}
.col {float:left; width:22%; margin-left:1.5%; margin-right:1.5%;}
table.directory {border:none; margin:20px 0; font-size:14px; line-height:22px;}
  .directory th {font-weight:normal; font-style:italic; width: 180px; text-align:right; vertical-align:top; padding-right:20px;}
  .directory td {vertical-align:top; padding-bottom:10px;}
  .directory a {padding:2px 5px;}
  .directory a:hover {text-decoration:none; background-color:#1b509e; color:white; -moz-border-radius:3px; -webkit-border-radius:3px;}
.icon {vertical-align:middle; margin-right:10px;}
.indent {margin-left:20px; width:90%;}
.italic {font-style:italic}
.no_label {margin-left:70px;}
ul.pages {float:right; list-style-type:none;clear:right;}
  .pages li {display:inline;}
  .pages li.current {border:1px solid #1b509e; padding:2px 5px; color:white; background-color:#1b509e; font-weight:bold;}
  .pages a {text-decoration:none; padding:2px 5px; color:#737373; border:1px solid #737373; font-weight:bold;}
  .pages a:hover {color:white; background-color:#737373;}
.results {color:#737373; font-size:11px; margin-top:5px; margin-bottom:0;}
.search_bar {float:right; padding:10px 15px; margin-bottom:10px; background-color: #E7E7E7; border:1px solid #CCC; -moz-border-radius-bottomleft:7px; -moz-border-radius-bottomright:7px; -webkit-border-bottom-left-radius:7px; -webkit-border-bottom-right-radius:7px;}
.search_bar input#topsearch {width:200px;}
.sponsors {list-style-type:none; text-align:center; margin-top:25px;}
  .sponsors li {float:left; margin:8px;}
  .sponsors a {display:block; border:1px solid #737373; padding:3px; width:125px; height:125px;}
  .sponsors a img {}
.top_links {float:right; clear:right; margin:5px 10px 0 0;}
.related_tags {text-indent:-60px; margin-left:60px;}
.related_sort_container {margin:0; padding:0; margin-bottom:10px;}
.nobr {white-space: nowrap}
/** END CUSTOM CLASSES **/
/** CUSTOM IDS **/
#atffc {display: none;}
#container {width:1024px; margin:0 auto;}
#header {text-align:left; margin-bottom:35px; padding:0 0 10px 10px; background-color:#FFFFFF; border-bottom:8px solid #1b509e;}
#logo {margin-top: 10px;}
#right_sidebar {float:right; display:block; width:300px; padding:0 12px; font-size:12px;color:#000000;text-align:left; margin-top:35px;}
#main_content {font-size:12px; color:#000000; text-align:left; padding:0 5px 0 10px; margin-right:324px; background-color:#FFFFFF;overflow-y:auto; margin-top:-15px;}
#footer {clear:both; text-align:left; color:#737373; margin-top:45px; margin-bottom:30px; padding:5px; background-color:#FFFFFF; border-top:1px solid #737373; font-size:11px;}
  #footer ul {list-style-type:none; margin:0 auto; padding:0; border-top:1px dotted #EEE;}
  #footer li {margin:0; padding:0; border-bottom:1px dotted #EEE;}
  #footer li a {display:block; padding:3px; width:100%; }
  #footer li a:hover {background-color:#EEE; text-decoration:none;}
/**#main_search div {margin:50px 0 150px 90px;}**/
#main_search div {margin:50px 0 100px 0px; background-color:#F3F3F3; padding:25px 0 25px 90px; border-top:1px solid #1b509e; border-bottom:1px solid #1b509e;}
#main_search .error {margin-bottom:5px; color:red;}
#main_search .searchbox {margin-right:15px;}
#suggest ul {width:80%; margin:50px auto 0 auto;}
#suggest ul {list-style-type:none;}
#suggest li {margin-bottom:15px;}
#suggest label {float:left; width:50px; padding-right:20px; text-align:right; font-weight:bold;}
#sort div {float:right; text-align:right; margin-bottom:10px;}
/** END CUSTOM IDS **/

/** AMAZON ADS **/
.amazon,.amazon-empty {background-color:#FFEFC6;}
.amazon table {width:100%; margin-top:3px;}
.amazon td {text-align:center;}
.amazon .bookcover {padding:0; margin:0; float:none; height:110px;}
.cheatsheets li.amazon-empty {min-height:20px;}
.amazon p, .amazon-empty p {text-align:center;}
.amazon p {margin:-5px 0 0 5px;}
.amazon-empty p {text-align:center; margin:0; padding:0;}
/** END AMAZON ADS **/

/** Permalink & Detail page styles **/
#detail h1 {margin-bottom:0;}
#detail ul.cheatsheets li {padding-left:215px; line-height:2.0em;}
#detail ul.cheatsheets li img {margin-left:-205px; margin-top:.6em;}
.label {font-style:italic;}
a.permalink {float:right; color:#999; padding:0 5px; -moz-border-radius:3px; -webkit-border-radius:3px;}
a.permalink:hover {background-color:#1b509e; color:white; text-decoration:none;}

/** About page styles **/
.TOC {border:1px solid #999; padding:8px 0 5px 0; margin-top:30px; -moz-border-radius:3px; -webkit-border-radius:3px; color:#999;}
.TOC h3 {color:#999; margin:-19px 0 10px 20px; z-index:1; background-color:white; width:135px; text-align:center;}
.TOC table {border-collapse:collapse:}
.TOC ol {margin-top:0; margin-bottom:0;}
.TOC td {vertical-align:top;}
#about #main_content ul {margin-left:40px;}
#about h2 {margin-top:30px;}
em {font-weight:bold;}

.donate {margin-top:20px; text-align:center; padding-right:25px;}
.donate_button {margin-left:35px;}
.comment_count {float:right}
.existing, .spam {border:1px solid #444; background-color:#eee; color:red; padding:25px; margin-top:25px;}
.existing h2, .spam h2 {color:#444; margin-top:0;}
ul.errorlist li {border:1px solid red; color:red; font-weight:bold; padding:3px 10px; margin-left:-50px;}
.invisible {display: none;}

